Validation not working in Firefox / mac's?, working properly in IE on a PC

Hi Experts,

I am working with a web application which is constructed using ASP.NET 1.1 and Oracle as the backend. The issue I am facing here is the validation is not working properly in IE & Mac's. Some of the users are using Mac's & Firefox. They sent me the screen shot, and in that I can see eventhough the value is entered in a field, still it is prompting the user that "a value is required."

Can anybody help me on this?

Thanks
Dil.
dileepavAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Michel PlungjanIT ExpertCommented:
How can we possibly help?

No code, no error message from the console - we are good but not magicians ;)

Please post "view-source" html including any necessary script files (upload or paste into the "code" field

Thanks
0
dileepavAuthor Commented:
by the by did you understand what is the issue, PFA to understand more.

Thanks
Dil
issue-exp-exc.JPG
0
dileepavAuthor Commented:
Copied the code into the CODE field - mplungjan, ee ZA

<%@ Register TagPrefix="MyHeader" TagName="Header" Src="ucHeader.ascx" %>
<%@ Register TagPrefix="MyFooter" TagName="Footer" Src="ucFooter.ascx" %>
<%@ Page language="c#" Codebehind="RequestForm.aspx.cs" SmartNavigation="false" AutoEventWireup="false" Inherits="SMF.RequestForm" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
      <HEAD>
            <title>Request Form</title>
            <!-- added by Cyrene V. Jacob for Masking -->
            <script language="javascript" type="text/javascript">

   //function to load the value from the asp text control to the shown text field
   function loadNum(tdElem, where){
   //alert(tdElem.childNodes[0].getAttribute("readonly"));
    if(tdElem.childNodes[0].getAttribute("readonly") == true){
        document.getElementById("txt" + where + "Dummy").setAttribute("disabled", "disabled");
    }
      document.getElementById("txt" + where + "Dummy").setAttribute("value",tdElem.childNodes[0].getAttribute("value"));
      
   }

//////////////////////////////////////////////////////
    function maskBACNum(inpElem, tdElem)
   {
       _inpElemBACNum = inpElem;//global element
       _strOriginalBACNum = _inpElemBACNum.getAttribute("value");//global variable
       //var last4 = _strOriginalBACNum.slice(_strOriginalBACNum.length-4, _strOriginalBACNum.length); Commented by Dileep on April-10-2010
       //var strTemp = ""; Commented by Dileep on April-10-2010
      
      //alert(_strOriginal);      

       //for(var i=0; i<_strOriginalBACNum.length-4;i++)//Commented by Dileep on April-10-2010
        //{ Commented by Dileep on April-10-2010
            //alert(strOriginal + " :: " + last4);
            //strTemp += 'X'; Commented by Dileep on April-10-2010
        //} Commented by Dileep on April-10-2010
        // var newString = strTemp + last4; Commented by Dileep on April-10-2010
        var newString = _strOriginalBACNum;
        _inpElemBACNum.setAttribute("value", newString);
        //if the server input is readonly so should the HTML input dummy be!
        if(tdElem.childNodes[0].getAttribute("readonly")== true){
            _inpElemBACNum.setAttribute("disabled", "disabled");  
        }
        var OK2Go;
        //this is for the IE bug...Microsoft and Bill Gates Suck!!!
       
        if(document.all){
            _inpElemBACNum.onclick = function() {
               
                OK2Go = confirm("Do you want to Edit this value? If yes, click OK to continue. You will however, lose the existing value and will have to enter a new value.");
                if(OK2Go)_inpElemBACNum.value ="";
                //onblur fires here
                tdElem.childNodes[0].setAttribute("value", _strOriginalBACNum);
               
            }
        }
        else{
            OK2Go = confirm("Do you want to Edit this value? If yes, click OK to continue. You will however, lose the existing value and will have to enter a new value.");
                if(OK2Go)_inpElemBACNum.setAttribute("value", "");
                 tdElem.childNodes[0].setAttribute("value", _strOriginalBACNum);
        }
   }

/////////////////////////////////////////////////////

   function maskRegNum(inpElem, tdElem)
   {
       _inpElemTaxRegNum = inpElem;//global element
       _strOriginalRegNum = _inpElemTaxRegNum.getAttribute("value");//global variable
       var last4 = _strOriginalRegNum.slice(_strOriginalRegNum.length-4, _strOriginalRegNum.length);
       var strTemp = "";
      
      //alert(_strOriginal);      

       for(var i=0; i<_strOriginalRegNum.length-4;i++)
        {
            //alert(strOriginal + " :: " + last4);
            strTemp += 'X';
        }
        var newString = strTemp + last4;
        _inpElemTaxRegNum.setAttribute("value", newString);
        //if the server input is readonly so should this be!
        if(tdElem.childNodes[0].getAttribute("readonly") == true){
            _inpElemTaxRegNum.setAttribute("disabled", "disabled");
        }
        var OK2Go;
        //this is for the IE bug...Microsoft and Bill Gates Suck!!!
       
         if(document.all){
           if(_inpElemTaxRegNum.value.length > 0){
            _inpElemTaxRegNum.onclick = function() {
               
                OK2Go = confirm("Do you want to Edit this value? If yes, click OK to continue. You will however, lose the existing value and will have to enter a new value.");
                if(OK2Go)_inpElemTaxRegNum.value ="";
                //onblur fires here
                tdElem.childNodes[0].setAttribute("value", _strOriginalRegNum);
               
            }
          }
        }
        else{
           if(_inpElemTaxRegNum.value.length > 0){
            OK2Go = confirm("Do you want to Edit this value? If yes, click OK to continue. You will however, lose the existing value and will have to enter a new value.");
                if(OK2Go)_inpElemTaxRegNum.setAttribute("value", "");
                 tdElem.childNodes[0].setAttribute("value", _strOriginalRegNum);
          }
        }
   }
   
   //////////////////////////////////////////////////////////////////////////////////
   function maskNum(tdElem)
   {
       var inpElem = tdElem.childNodes[0];
       var inpVal = inpElem.getAttribute("value");
       //alert(inpVal);
       //return false;
       
       var last4 = inpVal.slice(inpVal.length-4, inpVal.length);
       var strTemp = "";
      
      //alert(_strOriginal);      

       for(var i=0; i<inpVal.length-4;i++)
        {
            //alert(strOriginal + " :: " + last4);
            strTemp += 'X';
        }
        var newString = strTemp + last4;
        inpElem.setAttribute("value", newString);
       
   }
   //////////////////////////////////////////////////////////////////////////////////
   
   function changeSubmit(tdElem){
        var inpElem = tdElem.childNodes[0];
        var strOnClickOrig = inpElem.getAttribute("onclick");
        inpElem.onclick = function (){
            _inpElemTaxRegNum.value = _strOriginal;
        };
        var newOnClick = "_inpElemTaxRegNum.value = _strOriginal;";
   }
   
   function updateTaxRegNum(newRegNumber, tdElem){
        var inpTaxRegNum = tdElem.childNodes[0];
        //alert(_inpElemTaxRegNum.getAttribute("value"));
        inpTaxRegNum.setAttribute("value", newRegNumber);
          _strOriginalRegNum = newRegNumber;
          //mask the new number as well!
          //maskRegNum(_inpElemTaxRegNum, tdElem); commented by Dileep on april-11-2010
   }
   
   //Added by Cyrene V. Jacob to get Querystring values
   function getQueryStr(ji) {
            var hu = window.location.search.substring(1);
            var gy = hu.split("&");
            for (i=0;i<gy.length;i++) {
                  var ft = gy[i].split("=");
                  if (ft[0] == ji) {
                        return ft[1];
                  }
            }
      }
      
      function isOUCoreUS(){
      
            var oid = getQueryStr('oid');
            if(oid == "54"){
                  return true;
            }
            else{
                  return false;
            }
      
      }
      
      function setAWTFlag(selCountry, oid, whereTo){
            //alert("setAWTFlag...isOUCoreUS=" + isOUCoreUS + " selCountry=" + selCountry + " oid=" + oid + " whereTo=" + whereTo);//only for US CORE....
            //if(oid == "54"){
            //alert(_tdAWTrlbl.childNodes.length);
            if(isOUCoreUS){
      
            //if country selected is US and oid=54
                  if(selCountry == "US"){
                  //tdAWT should be unchecked and tdAWTGrp should be reset
                        //'whereTo' is 0 when a new site is being created and 1 when site details are edited
                        if(whereTo == "0"){
                              _tdAWT.childNodes[0].setAttribute("checked", false);
                              _tdAWT.childNodes[0].setAttribute("disabled", "disabled");
                  
                              _tdAWTGrp.childNodes[0].selectedIndex = 0;
                              _tdAWTGrp.childNodes[0].setAttribute("disabled", "disabled");
                        
                              _tdAWTlbl.childNodes[0].innerHTML = "Allow WithHolding Tax:";
                              _tdAWTGrplbl.childNodes[0].innerHTML = "WithHolding Tax Group:";
                        }
                        else{
                              
                              //whereTo = "1"
                              _tdAWTr.childNodes[0].setAttribute("checked", false);
                              _tdAWTr.childNodes[0].setAttribute("disabled", "disabled");
                  
                              _tdAWTrGrp.childNodes[0].selectedIndex = 0;
                              _tdAWTrGrp.childNodes[0].setAttribute("disabled", "disabled");
                              
                              _tdAWTrlbl.childNodes[0].innerHTML = "Allow WithHolding Tax:";
                              _tdAWTrGrplbl.childNodes[0].innerHTML = "WithHolding Tax Group:";
      
                        }
                  }
                  else{
                        if(whereTo == "0"){//get the tdAWTlbl
                              _tdAWTlbl.childNodes[0].innerHTML = '<FONT COLOR="#ffff66" style="FONT-WEIGHT: bold">Required -&nbsp;</FONT>Allow WithHolding Tax:';
                              _tdAWTGrplbl.childNodes[0].innerHTML = '<FONT COLOR="#ffff66" style="FONT-WEIGHT: bold">Required -&nbsp;</FONT>WithHolding Tax Group:';
                        
                              _tdAWT.childNodes[0].removeAttribute("disabled");
                              _tdAWTGrp.childNodes[0].removeAttribute("disabled");
                        }
                        else{
                              _tdAWTrlbl.childNodes[0].innerHTML = '<FONT COLOR="#ff0000" style="FONT-WEIGHT: bold">Required -&nbsp;</FONT>Allow WithHolding Tax:';
                              _tdAWTrGrplbl.childNodes[0].innerHTML = '<FONT COLOR="#ff0000" style="FONT-WEIGHT: bold">Required -&nbsp;</FONT>WithHolding Tax Group:';
                        
                              _tdAWTr.childNodes[0].removeAttribute("disabled");
                              _tdAWTrGrp.childNodes[0].removeAttribute("disabled");
                        }
            
                  }
            }
      }
      
      function validateAWT(inpEl, whereTo){
      //alert("validateAWT(" + inpEl + "," + whereTo + ")");
      
            if(whereTo == "0"){
                  var selCountry = _selElCountry.options[_selElCountry.selectedIndex].value;
            }
            else{
                  var selCountry = _selElCountryr.options[_selElCountryr.selectedIndex].value;
            }
            //alert(selCountry + " :: " + _oid);
            if(selCountry != "US" && _oid == "54"){
                  //check to see if the AWTflag is checked and
                  //the AWT Group is selected
                  if(whereTo == "0"){
                        if(_tdAWT.childNodes[0].checked ==0 || _tdAWTGrp.childNodes[0].selectedIndex == 0){
                              alert("The AWT Flag must be checked and a Withold Tax Group selected.");
                              if(_tdAWT.childNodes[0].checked ==0){
                                    _tdAWT.style.border = "1px solid red";
                              }
                              else{
                                    _tdAWT.style.border = "";
                              }
                              if(_tdAWTGrp.childNodes[0].selectedIndex == 0) {
                                    _tdAWTGrp.style.border = "1px solid red";
                              }
                              else{
                                    _tdAWTGrp.style.border = "";
                              }
                        }
                        else{
                  
                        //alert("Good to Go!");
                        //call the _aspButton submit.
                        _aspBtn.click();
                        //if (typeof(Page_ClientValidate) == 'function') Page_ClientValidate();
                        //aspBtn is made visible and the input btn is hidden
                        //_aspBtn.style.display = "";
                        //inpEl.style.display = "none";
                        }
                  }
                  else{
                        //alert("Here we go! whereTo = " + whereTo);
                  
                        if(_tdAWTr.childNodes[0].checked ==0 || _tdAWTrGrp.childNodes[0].selectedIndex == 0){
                              alert("The AWT Flag must be checked and a Withold Tax Group selected.");
                              if(_tdAWTr.childNodes[0].checked ==0){
                                    _tdAWTr.style.border = "1px solid red";
                              }
                              else{
                                    _tdAWTr.style.border = "";
                              }
                              if(_tdAWTrGrp.childNodes[0].selectedIndex == 0) {
                                    _tdAWTrGrp.style.border = "1px solid red";
                              }
                              else{
                                    _tdAWTrGrp.style.border = "";
                              }
                        }
                        else{
                              //alert("Good to go?!");
                              _aspBtnr.click();
                        
                        }
                  
                  }
                  
            }
            else{
            
                  if(whereTo == "0"){
                  
                        _aspBtn.click();
                  
                  }
                  
                  else{
                  
                        _aspBtnr.click();
                  
                  }
            
            
            }
            
            
      }
            </script>
      </HEAD>
      <BODY onmousedown="PutPositions()" onclick="PutPositions()" vLink="blue" aLink="purple"
            link="blue" bgColor="white" onload="ScrollWindow()">
            <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
            <meta content="C#" name="CODE_LANGUAGE">
            <meta content="JavaScript" name="vs_defaultClientScript">
            <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
            <style>BODY { FONT-SIZE: 12px; COLOR: black; FONT-FAMILY: verdana }
      TD { FONT-SIZE: 11px; FONT-FAMILY: verdana }
      .textbox { FONT-SIZE: 11px; FONT-FAMILY: verdana }
      .button { FONT-WEIGHT: bold; FONT-SIZE: 12px; COLOR: white; FONT-FAMILY: verdana }
      H3 { MARGIN-TOP: 3px; FONT-SIZE: 18px; MARGIN-BOTTOM: 3px; FONT-FAMILY: verdana }
      H4 { MARGIN-TOP: 3px; FONT-SIZE: 16px; MARGIN-BOTTOM: 3px; FONT-FAMILY: verdana }
      H5 { MARGIN-TOP: 3px; FONT-SIZE: 14px; MARGIN-BOTTOM: 3px; FONT-FAMILY: verdana }
      UL { MARGIN-TOP: 3px; MARGIN-BOTTOM: 3px }
      A { COLOR: blue; TEXT-DECORATION: underline }
      A:hover { COLOR: red; TEXT-DECORATION: none }
      .hidden { DISPLAY: none }
            </style>
            <script language="jscript" type="text/jscript">
   function doSetFocus() {
    try {
     document.RequestForm.txt1.focus();
    } catch (e) {}
   }
   function PutPositions() {
    document.RequestForm.WindowXPos.value = document.body.scrollLeft;
    document.RequestForm.WindowYPos.value = document.body.scrollTop;
   }
   function ScrollWindow() {
    window.scrollTo(document.RequestForm.WindowXPos.value,
      document.RequestForm.WindowYPos.value);
   }
   function confirm_CtryCurrChange(_type)
      {
      if (document.RequestForm.BankInfoFlag.value == 'BANKENTRY')
      {
            if (confirm("You will lose all Bank/Branch data entered if you change the " + _type + ". Do you want to continue?")==true)
            {
                  return true;
            }
            else
            {
                  document.RequestForm.submit()
                  return false;
          }
      }
      else
            return true;
      }
      function alert_EntityCurChange(_type)
      {
      if (document.RequestForm.BankAccountFlag.value == 'BANKACCTENTRY')      
      {
            alert('You cannot change ' + _type + ' while Adding or Editing a Bank Account!');
            document.RequestForm.submit()
            return false;
      }
      }
            </script>
            <script language="JavaScript">      
      function CheckIsEU(sender, args)
    {
      if (document.RequestForm.isEU.value == '1')
            {
            args.IsValid = false;
            }
        else
         {
         args.IsValid = true;
         }
    }
    function POPayIsCheck(sender, args)
    {
      if (document.RequestForm.isPOPaySite.value == '')
            {
              args.IsValid = false;
            }
        else
         {
                 args.IsValid = true;
         }
    }
            </script>
            <form id="RequestForm" method="post" runat="server">
                  <BLOCKQUOTE dir="ltr" style="MARGIN-RIGHT: 0px">
                        <P><input id="WindowXPos" type="hidden" name="WindowXPos" runat="server"> <input id="WindowYPos" type="hidden" name="WindowYPos" runat="server">
                              <input id="BankInfoFlag" type="hidden" name="BankInfoFlag" runat="server"> <input id="BankAccountFlag" type="hidden" name="BankAccountFlag" runat="server">
                              <input id="isEU" type="hidden" name="IsEU" runat="server"> <input id="isPOPaySite" type="hidden" name="isPOPaySite" runat="server">
                              <input id="Bank_location" type="hidden" name="Bank_location" runat="server"><input id="hdnExceptionFlag" type="hidden" name="hdnExceptionFlag" runat="server">
                              <input id="hdnDefaultTerms" type="hidden" name="hdnDefaultTerms" runat="server"><input id="hdnExceptionStatus" type="hidden" name="hdnExceptionStatus" runat="server">
                              <input id="hdnEnableRouting" type="hidden" name="hdnEnableRouting" runat="server">
                        </P>
                  </BLOCKQUOTE>
                  <asp:validationsummary id="Validationsummary1" runat="server" ShowMessageBox="true" EnableClientScript="true"
                        ShowSummary="false" DisplayMode="BulletList" HeaderText="Your request to ADD or SAVE failed! Please make the following corrections:"></asp:validationsummary>
                  <table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
                        <tr>
                              <td width="100%" height="10%"><MYHEADER:HEADER id="header1" runat="server"></MYHEADER:HEADER></td>
                        </tr>
                        <tr>
                              <td vAlign="top" height="75%">
                                    <TABLE cellSpacing="4" cellPadding="0" width="100%" border="0">
                                          <tr>
                                                <td><asp:panel id="pnlReqHead" Runat="server" Visible="true">
                                                            <TABLE cellSpacing="4" cellPadding="0" width="100%" border="0">
                                                                  <TR>
                                                                        <TD style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; FONT-STYLE: italic; HEIGHT: 25px" vAlign="bottom"
                                                                              colSpan="2">Request Information:
                                                                        </TD>
                                                                  </TR>
                                                                  <TR>
                                                                        <TD width="100%" colSpan="2">
                                                                              <HR>
                                                                        </TD>
                                                                  </TR>
                                                                  <TR>
                                                                        <TD align="right" width="30%"><FONT style="FONT-WEIGHT: bold" color="red">(System
                                                                                    Generated)&nbsp;&nbsp;</FONT>Request#:
                                                                        </TD>
                                                                        <TD width="70%">
                                                                              <asp:textbox id="txtReqNum" Runat="server" Width="150" Font-Name="Verdana" Font-Size="8" ReadOnly="True"></asp:textbox></TD>
                                                                  </TR>
                                                                  <TR>
                                                                        <TD align="right"><FONT style="FONT-WEIGHT: bold" color="red">(System
                                                                                    Generated)&nbsp;&nbsp;</FONT>Request Date:
                                                                        </TD>
                                                                        <TD>
                                                                              <asp:textbox id="txtReqDate" Runat="server" Width="150" ReadOnly="True"></asp:textbox></TD>
                                                                  </TR>
                                                                  <TR>
                                                                        <TD align="right">Requestor:
                                                                        </TD>
                                                                        <TD>
                                                                              <asp:textbox id="txtRequestor" Runat="server" Width="150" ReadOnly="True"></asp:textbox></TD>
                                                                  </TR>
                                                                  <TR>
                                                                        <TD align="right"><FONT style="FONT-WEIGHT: bold" color="red">Required -&nbsp;</FONT>Operating
                                                                              Unit:
                                                                        </TD>
                                                                        <TD>
                                                                              <asp:dropdownlist id="drpOU" Runat="server" Width="300"></asp:dropdownlist>
                                                                              <asp:textbox id="txtOUError" Runat="server" Width="250" ReadOnly="true" BorderStyle="None" BackColor="White"
                                                                                    ForeColor="Red" Font-Bold="True"></asp:textbox></TD>
                                                                  </TR>
                                                                  <TR>
                                                                        <TD align="right">Needed By Date:
                                                                        </TD>
                                                                        <TD>
                                                                              <asp:textbox id="txtProdDate" Runat="server" Width="150" ReadOnly="True"></asp:textbox>
                                                                              <asp:imagebutton id="imgbtnProdDate" Runat="server" ImageUrl="images/Cal.bmp"></asp:imagebutton>
                                                                              <asp:textbox id="txtError" Runat="server" Width="150" ReadOnly="true" BorderStyle="None" BackColor="White"
                                                                                    ForeColor="Red" Font-Bold="True"></asp:textbox></TD>
                                                                  </TR>
                                                                  <TR>
                                                                        <TD vAlign="top" align="right" width="15%">Note:</TD>
                                                                        <TD width="85%">
                                                                              <asp:textbox id="txtNote" Runat="server" Width="100%" Height="75" TextMode="MultiLine"></asp:textbox></TD>
                                                                  </TR>
                                                                  <TR height="35">
                                                                        <TD></TD>
                                                                        <TD vAlign="bottom" align="right" width="100%" colSpan="2">
                                                                              <asp:button id="btnAddSupp" Runat="server" Width="150px" Font-Size="Larger" BackColor="DarkKhaki"
                                                                                    ForeColor="White" Font-Bold="True" Height="25" Text="Add New Supplier" Font-Names="Verdana"></asp:button>&nbsp;&nbsp;
                                                                              <asp:button id="btnEditSupp" Runat="server" Width="150px" Font-Size="Larger" BackColor="DarkKhaki"
                                                                                    ForeColor="White" Font-Bold="True" Height="25" Text="Edit Supplier" Font-Names="Verdana"></asp:button>&nbsp;&nbsp;
                                                                              <asp:button id="btnAddBank" Visible="false" Runat="server" Width="150px" Font-Size="Larger"
                                                                                    BackColor="DarkKhaki" ForeColor="White" Font-Bold="True" Height="25" Text="Add New Bank"
                                                                                    Font-Names="Verdana"></asp:button>&nbsp;&nbsp;
                                                                              <asp:button id="btnEditBank" Visible="false" Runat="server" Width="150px" Font-Size="Larger"
                                                                                    BackColor="DarkKhaki" ForeColor="White" Font-Bold="True" Height="25" Text="Edit Bank" Font-Names="Verdana"></asp:button></TD>
                                                                  </TR>
                                                            </TABLE>
                                                      </asp:panel><asp:panel id="pnlViewSupp" Runat="server" Visible="false">
                                                            <TABLE cellSpacing="4" cellPadding="0" width="100%" border="0">
                                                                  <TR>
                                                                        <TD style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; FONT-STYLE: italic; HEIGHT: 25px" vAlign="bottom"
                                                                              colSpan="3">View Supplier Details:
                                                                        </TD>
                                                                  </TR>
                                                                  <TR>
                                                                        <TD width="100%" colSpan="3">
                                                                              <HR>
                                                                        </TD>
                                                                  </TR>
                                                                  <TR>
                                                                        <TD height="25"></TD>
                                                                  </TR>
                                                                  <TR>
                                                                        <TD align="right" width="30%"><FONT style="FONT-WEIGHT: bold" color="red">Required
                                                                                    -&nbsp;</FONT>Please Select an Operating Unit:
                                                                        </TD>
                                                                        <TD width="40%">
                                                                              <asp:dropdownlist id="drpOUListView" Runat="server" Width="300"></asp:dropdownlist></TD>
                                                                        <TD width="30%">
                                                                              <asp:textbox id="txtOUError2" Runat="server" Width="250" ReadOnly="true" BorderStyle="None" BackColor="White"
                                                                                    ForeColor="Red" Font-Bold="True"></asp:textbox></TD>
                                                                  </TR>
                                                                  <TR>
                                                                        <TD height="25"></TD>
                                                                  </TR>
                                                                  <TR>
                                                                        <TD colSpan="2"></TD>
                                                                        <TD align="left">
                                                                              <asp:button id="btnViewSuppStep2" Runat="server" Width="150px" Font-Size="Larger" BackColor="DarkKhaki"
                                                                                    ForeColor="White" Font-Bold="True" Height="25" Text="Continue" Font-Names="Verdana"></asp:button></TD>
                                                                  </TR>
                                                            </TABLE>
                                                      </asp:panel></td>
                                          </tr>
                                          <tr>
                                                <td><asp:panel id="pnlSupplier" Runat="server" Visible="false">
                                                            <TABLE cellSpacing="4" cellPadding="0" width="100%" border="0">
                                                                  <TR>
                                                                        <TD style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; FONT-STYLE: italic; HEIGHT: 25px" vAlign="bottom"
                                                                              width="100%" colSpan="3">Supplier Information:&nbsp;
                                                                              <asp:Label id="lblSuppValid" Runat="server" Font-Name="VERDANA" ForeColor="RED" Font-Italic="True"></asp:Label></TD>
                                                                  </TR>
                                                                  <TR>
                                                                        <TD width="100%" colSpan="3">
                                                                              <HR>
                                                                        </TD>
                                                                  </TR>
                                                                  <TR bgColor="navy" height="20">
                                                                        <TD width="30%"></TD>
                                                                        <TD style="FONT-WEIGHT: bold; COLOR: white; TEXT-ALIGN: center" width="35%">Current
                                                                              Information
                                                                        </TD>
                                                                        <TD style="FONT-WEIGHT: bold; COLOR: white; TEXT-ALIGN: center" width="35%">Request
                                                                              Value
                                                                        </TD>
                                                                  </TR>
                                                                  <TR>
                                                                        <TD align="right"></TD>
                                                                        <TD>
                                                                              <asp:textbox id="txtVendorID" Visible="false" Runat="server" Width="100%" ReadOnly="false" BorderStyle="solid"
                                                                                    BorderWidth="1px" BorderColor="gray"></asp:textbox></TD>
                                                                        <TD>
                                                                              <asp:textbox id="txtVendorIDr" Visible="false" Runat="server" Width="100%" readonly="True"></asp:textbox></TD>
                                                                  </TR>
                                                                  <TR>
                                                                        <TD align="right">
                                                                              <asp:label id="lblSuppName" Runat="server" Width="100%" Font-Name="Verdana" Font-Size="9" text="Supplier Name:"></asp:label></TD>
                                                                        <TD>
                                                                              <asp:textbox id="txtSuppName" Runat="server" Width="100%" ReadOnly="true" BorderStyle="solid"
                                                                                    BorderWidth="1px" BorderColor="gray"></asp:textbox></TD>
                                                                        <TD>
                                                                              <asp:textbox id="txtSuppNamer" Runat="server" Width="100%"></asp:textbox></TD>
                                                                  </TR>
                                                                  <TR>
                                                                        <TD align="right">
                                                                              <asp:label id="lblSuppNum" Runat="server" Width="100%" Font-Name="Verdana" Font-Size="9" text="Supplier Number:"></asp:label></TD>
                                                                        <TD>
                                                                              <asp:textbox id="txtSuppNum" Runat="server" Width="100%" ReadOnly="true" BorderStyle="solid"
                                                                                    BorderWidth="1px" BorderColor="gray"></asp:textbox></TD>
                                                                        <TD>
                                                                              <asp:textbox id="txtSuppNumr" Runat="server" Width="100%" ReadOnly="true"></asp:textbox></TD>
                                                                  </TR>
                                                                  <TR>
                                                                        <TD></TD>
                                                                        <TD></TD>
                                                                        <TD>
                                                                              <asp:label id="lblVTypeErr" Visible="False" Runat="server" Width="100%" Font-Name="Verdana"
                                                                                    Font-Size="9" ForeColor="red" Font-Bold="True" text="Supplier Type must be: 'REPORTABLE FOR 1099'!"></asp:label></TD>
                                                                  </TR>
                                                                  <TR>
                                                                        <TD align="right">
                                                                              <asp:label id="lblSuppType" Runat="server" Width="100%" Font-Name="Verdana" Font-Size="9" text="Supplier Type:"></asp:label></TD>
                                                                        <TD>
                                                                              <asp:textbox id="txtType" Runat="server" Width="100%" ReadOnly="true" BorderStyle="solid" BorderWidth="1px"
                                                                                    BorderColor="gray"></asp:textbox></TD>
                                                                        <TD>
                                                                              <asp:DropDownList id="drpVendorTyper" Runat="server" Width="100%"></asp:DropDownList></TD>
                                                                  </TR>
                                                                  <TR>
                                                                        <TD></TD>
                                                                        <TD></TD>
                                                                        <TD>
                                                                              <asp:label id="lblTaxFedErr" Visible="False" Runat="server" Width="100%" Font-Name="Verdana"
                                                                                    Font-Size="9" ForeColor="red" Font-Bold="True" text="Federal must be checked for ALL 1099 Reportable Suppliers"></asp:label></TD>
                                                                  </TR>
                                                                  <TR>
                                                                        <TD align="right">
                                                                              <asp:label id="lblTaxFed" Runat="server" Width="100%" Font-Name="Verdana" Font-Size="9" text="<B>Reportable - </B>Federal:"></asp:label></TD>
                                                                        <TD>
                                                                              <asp:checkbox id="chkTaxFed" Runat="server" Enabled="False"></asp:checkbox></TD>
                                                                        <TD>
                                                                              <asp:checkbox id="chkTaxFedr" Runat="server"></asp:checkbox></TD>
                                                                  </TR>
                                                                  <TR>
                                                                        <TD></TD>
                                                                        <TD></TD>
                                                                        <TD>
                                                                              <asp:RequiredFieldValidator id="rfvSSN" Runat="server" Font-Name="verdana" Font-Bold="true" ControlToValidate="txtTaxIDr"
                                                                                    ErrorMessage="<font size=2>Tax ID/SS# is Required!</font>" enabled="false" Display="Dynamic"></asp:RequiredFieldValidator></TD>
                                                                  </TR>
                                                                  <TR>
                                                                        <TD align="right"></TD>
                                                                        <TD></TD>
                                                                        <TD>
                                                                              <asp:label id="lblTaxIDErr" Visible="False" Runat="server" Width="100%" Font-Name="Verdana"
                                                                                    Font-Size="9" ForeColor="red" Font-Bold="True" text="SS# is Required!"></asp:label></TD>
                                                                  </TR>
                                                                  <TR>
                                                                        <TD align="right">
                                                                              <asp:label id="lblTaxID" Runat="server" Width="100%" Font-Name="Verdana" Font-Size="9" text="<B>Reportable - </B>Tax ID/SS#:"></asp:label></TD>
                                                                        <TD id="tdTaxID">
                                                                              <asp:textbox id="txtTaxID" Runat="server" Width="100%" ReadOnly="true" BorderStyle="solid" BorderWidth="1px"
                                                                                    BorderColor="gray"></asp:textbox></TD>
                                                                        <TD id="tdTaxIDr">
                                                                              <asp:textbox id="txtTaxIDr" Runat="server" Width="100%" CssClass="hidden"></asp:textbox><INPUT id="txtTaxIDNumDummy" onblur="updateTaxRegNum(this.value, this.parentNode);" type="text"
                                                                                    runat="server" width="100%">
                                                                        </TD> <!--Masking project - Added by Cyrene V. Jacob tdTaxID and tdTaxRegNum--> <!-- added javascript by Cyrene V. Jacob for the masking project -->  <!--SCRIPT type="text/javascript">loadNum(document.getElementById("tdTaxIDr"), "TaxIDNum"); maskRegNum(document.getElementById("txtTaxIDNumDummy"), document.getElementById("tdTaxIDr"));maskNum(document.getElementById("tdTaxID"));</SCRIPT--></TR>
                                                                  <TR>
                                                                        <TD align="right">
                                                                              <asp:label id="lblTaxType" Runat="server" Width="100%" Font-Name="Verdana" Font-Size="9" text="<B>Reportable - </B>Income Tax Type:"></asp:label></TD>
                                                                        <TD>
                                                                              <asp:textbox id="txtTaxType" Runat="server" Width="100%" ReadOnly="true" BorderStyle="solid"
                                                                                    BorderWidth="1px" BorderColor="gray"></asp:textbox></TD>
                                                                        <TD>
                                                                              <asp:DropDownList id="drpTaxTyper" Runat="server" Width="100%"></asp:DropDownList></TD>
                                                                  </TR>
                                                                  <TR>
                                                                        <TD align="right">
                                                                              <asp:label id="lblTaxRptName" Runat="server" Width="100%" Font-Name="Verdana" text="Reporting Name:"></asp:label></TD>
                                                                        <TD>
                                                                              <asp:textbox id="txtTaxRptName" Runat="server" Width="100%" ReadOnly="true" BorderStyle="solid"
                                                                                    BorderWidth="1px" BorderColor="gray"></asp:textbox></TD>
                                                                        <TD>
                                                                              <asp:textbox id="txtTaxRptNamer" Runat="server" Width="100%"></asp:textbox></TD>
                                                                  </TR>
                                                                  <TR>
                                                                        <TD align="right">
                                                                              <asp:label id="lblOrgType" Runat="server" Width="100%" Font-Name="Verdana" Font-Size="9" text="Organization Type:"></asp:label></TD>
                                                                        <TD>
                                                                              <asp:textbox id="txtOrgType" Runat="server" Width="100%" ReadOnly="true" BorderStyle="solid"
                                                                                    BorderWidth="1px" BorderColor="gray"></asp:textbox></TD>
                                                                        <TD>
                                                                              <asp:DropDownList id="drpOrgTyper" Runat="server" Width="100%"></asp:DropDownList></TD>
                                                                  </TR>
                                                                  <TR>
                                                                        <TD align="right">
                                                                              <asp:label id="lblKonstSym" Runat="server" Width="100%" Font-Name="Verdana" text="<B>(CZ/SK only)</B> Konstantni Symbol:"></asp:label></TD>
                                                                        <TD>
                                                                              <asp:textbox id="txtKonstSym" Runat="server" Width="100%" ReadOnly="true" BorderStyle="solid"
                                                                                    BorderWidth="1px" BorderColor="gray"></asp:textbox></TD>
                                                                        <TD>
                                                                              <asp:textbox id="txtKonstSymr" Runat="server" Width="100%"></asp:textbox></TD>
                                                                  </TR>
                                                                  <TR>
                                                                        <TD align="right">
                                                                              <asp:label id="lblVendInactive" Runat="server" Width="100%" Font-Name="Verdana" Font-Size="9"
                                                                                    text="Re-Activate Vendor:"></asp:label></TD>
                                                                        <TD>
                                                                              <asp:checkbox id="chkVendInactive" Visible="False" Runat="server" Enabled="False"></asp:checkbox></TD>
                                                                        <TD>
                                                                              <asp:checkbox id="chkVendInactiver" Runat="server" AutoPostBack="True"></asp:checkbox></TD>
                                                                  </TR>
                                                                  <TR>
                                                                        <TD align="right">
                                                                        <TD></TD>
                                                                        <TD><!--      Inserted by Cyrene V. Jacob for the AWT project.                  --> <!--      This textbox had originally the attribute Visible="false"      -->
                                                                              <asp:textbox id="txtShowAWT" Visible="false" Runat="server" Width="100%"></asp:textbox></TD>
                                                                  </TR>
                                                                  <TR>
                                                                        <TD colSpan="3"><A name="SiteHeader"></A></TD>
                                                                  </TR>
                                                                  <TR>
                                                                        <TD colSpan="3">
                                                                              <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
                                                                                    <TR>
                                                                                          <TD style="FONT-WEIGHT: bold; FONT-SIZE: 11pt; COLOR: navy; FONT-STYLE: normal; BACKGROUND-COLOR: whitesmoke; TEXT-ALIGN: left"
                                                                                                align="left" width="25%">Supplier Addresses(Sites)
                                                                                          </TD>
                                                                                          <TD style="FONT-WEIGHT: bold; COLOR: blue; BACKGROUND-COLOR: whitesmoke" align="right"
                                                                                                width="75%">
                                                                                                <asp:LinkButton id="lnkAddNewSite" Runat="server" Font-Size="9" Font-Bold="True" CausesValidation="false">Add New Site</asp:LinkButton>&nbsp;</TD>
                                                                                    </TR>
                                                                              </TABLE>
                                                                        </TD>
                                                                  </TR>
                                                                  <TR>
                                                                        <TD colSpan="3" height="10"></TD>
                                                                  <TR>
                                                                        <TD style="TEXT-ALIGN: center" colSpan="3">
                                                                              <asp:datagrid id="dgrdSites" runat="server" Width="100%" Font-Size="12px" BorderStyle="Solid"
                                                                                    BorderWidth="2" BorderColor="lightgrey" AutoGenerateColumns="false" ShowHeader="false" Datakeyfield="ID"
                                                                                    HeaderStyle-ForeColor="black" HeaderStyle-Font-Bold="true" ShowFooter="false" HeaderStyle-BorderStyle="None">
                                                                                    <AlternatingItemStyle BackColor="lavender"></AlternatingItemStyle>
                                                                                    <HeaderStyle Font-Bold="True" ForeColor="Black" BorderStyle="None" BackColor="Beige"></HeaderStyle>
                                                                                    <Columns>
                                                                                          <asp:TemplateColumn headertext="Sites">
                                                                                                <ItemTemplate>
                                                                                                      <table width="100%">
                                                                                                            <tr>
                                                                                                                  <td width="30%" align="left" style="FONT-WEIGHT: bold">Site Name:
                                                                                                                  </td>
                                                                                                                  <td width="55%" align="left" style="FONT-WEIGHT: bold; COLOR: navy"><%# DataBinder.Eval(Container.DataItem, "o_VSName" ) %>
                                                                                                                  </td>
                                                                                                                  <td align="right" width="15%" style="FONT-WEIGHT: bold; FONT-SIZE: 7pt; COLOR: red; FONT-FAMILY: verdana"><%# DataBinder.Eval(Container.DataItem, "o_VSChg" ) %>
                                                                                                                  </td>
                                                                                                            </tr>
                                                                                                            <tr>
                                                                                                                  <td align="left" style="FONT-WEIGHT: bold">Address:
                                                                                                                  </td>
                                                                                                                  <td align="left" colspan="2"><%# DataBinder.Eval(Container.DataItem, "o_VSAddr" ) %>
                                                                                                                  </td>
                                                                                                            </tr>
                                                                                                            <tr>
                                                                                                                  <td align="left" style="FONT-WEIGHT: bold"><font color="red">Inactive Date:</font>
                                                                                                                  </td>
                                                                                                                  <td align="left" colspan="2" style="FONT-SIZE: 7pt; COLOR: red; FONT-FAMILY: verdana"><%# DataBinder.Eval(Container.DataItem, "o_VSInactiveDate" ) %>
                                                                                                                  </td>
                                                                                                            </tr>
                                                                                                            <tr>
                                                                                                                  <td align="left">
                                                                                                                        <asp:LinkButton ID="lnkEditSite" CommandName="Edit" CausesValidation="false" Runat="server">View Site Details</asp:LinkButton>
                                                                                                                  </td>
                                                                                                                  <td align="left" colspan="2" style="FONT-WEIGHT: bold; FONT-SIZE: 8pt; COLOR: red; FONT-STYLE: italic"><%# DataBinder.Eval(Container.DataItem, "o_VSVal" ) %>
                                                                                                                  </td>
                                                                                                            </tr>
                                                                                                            <tr>
                                                                                                                  <td align="left" style="FONT-WEIGHT: bold">
                                                                                                                  </td>
                                                                                                                  <td align="left" colspan="2" style="FONT-WEIGHT: bold; FONT-SIZE: 8pt; COLOR: red; FONT-STYLE: italic"><%# DataBinder.Eval(Container.DataItem, "o_VSBAVal" ) %>
                                                                                                                  </td>
                                                                                                            </tr>
                                                                                                      </table>
                                                                                                </ItemTemplate>
                                                                                                <EditItemTemplate>
                                                                                                      <A name="EditSite"></A>
                                                                                                      <TABLE cellSpacing="4" cellPadding="0" width="100%" border="0" bgcolor="AliceBlue" style="BORDER-RIGHT: 3px inset; BORDER-TOP: 3px inset; FONT-WEIGHT: bold; BORDER-LEFT: 3px inset; COLOR: navy">
                                                                                                            <TR>
                                                                                                                  <TD style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; FONT-STYLE: italic; HEIGHT: 25px" vAlign="bottom"
                                                                                                                        width="100%" colSpan="2">Supplier Sites Information:
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD width="100%" colSpan="3">
                                                                                                                        <asp:textbox Width="100%" id="txtSiteGenMsgErrR" Font-Name="Verdana" Font-Size="9" BorderStyle="None"
                                                                                                                              Visible="False" BackColor="#ffff66" Runat="server" ForeColor="red" Font-Bold="True"></asp:textbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD width="100%" colSpan="3">
                                                                                                                        <HR>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <TR bgColor="navy" height="20">
                                                                                                                  <TD width="30%"></TD>
                                                                                                                  <TD style="FONT-WEIGHT: bold; COLOR: white; TEXT-ALIGN: center" width="35%">Current
                                                                                                                        Information
                                                                                                                  </TD>
                                                                                                                  <TD style="FONT-WEIGHT: bold; COLOR: white; TEXT-ALIGN: center" width="35%">Request
                                                                                                                        Value
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtSiteID" Runat="server" Width="100%" BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem,"o_SiteID") %>' Visible="false">
                                                                                                                        </asp:textbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtSiteIDr" Runat="server" Width="100%" readonly=True Text='<%#DataBinder.Eval(Container.DataItem,"o_VSID") %>' Visible="false">
                                                                                                                        </asp:textbox></TD>
                                                                                                            </TR>
                                                                                                            <tr>
                                                                                                                  <td>
                                                                                                                  <td>
                                                                                                                  <td>
                                                                                                                        <asp:CompareValidator ID="cvEntityr" Runat="server" ControlToValidate="drpEntityr" Type="String" Operator="NotEqual"
                                                                                                                              ValueToCompare="-1" ErrorMessage="<font size=2>You MUST select an 'Entity'!</font>" Display="Dynamic"></asp:CompareValidator>
                                                                                                                  </td>
                                                                                                            </tr>
                                                                                                            <TR>
                                                                                                                  <!-- Modified byb Cyrene V. Jacob for INC80357.-->
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblEntityr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Entity of Site:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtEntity" Runat="server" Width="100%" BorderStyle="solid" BorderWidth="1px"
                                                                                                                              BorderColor="gray" ReadOnly="true"></asp:textbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:DropDownList ID="drpEntityr" Runat="server" Width="100%" DataSource='<%# BindDropDownListByOU("RetrieveEntityByOU") %>' DataValueField="SEG1" DataTextField="ENTITY_NAME">
                                                                                                                        </asp:DropDownList>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <tr>
                                                                                                                  <td>
                                                                                                                  </td>
                                                                                                                  <td></td>
                                                                                                                  <td>
                                                                                                                        <asp:RequiredFieldValidator ControlToValidate="txtNamer" ErrorMessage="<font size=2>You MUST enter a Site Name!</font>"
                                                                                                                              Display="Dynamic" runat="server" ID="rfvSiteNamer" /></td>
                                                                                                            </tr>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblSiteNamer" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                              text="Name:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtName" Runat="server" Width="100%" BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSName") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtNamer" Runat="server" MaxLength=15 Width="100%" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSName_r") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblAddr1r" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Address1:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtAddr1" Runat="server" Width="100%" BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSAddr1") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtAddr1r" Runat="server" Width="100%" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSAddr1_r") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblAddr2r" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Address2:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtAddr2" Runat="server" Width="100%" BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSAddr2") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtAddr2r" Runat="server" Width="100%" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSAddr2_r") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblAddr3r" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Address3:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtAddr3" Runat="server" Width="100%" BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSAddr3") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtAddr3r" Runat="server" Width="100%" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSAddr3_r") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblAddr4r" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Address4:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtAddr4" Runat="server" Width="100%" BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSAddr4") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtAddr4r" Runat="server" Width="100%" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSAddr4_r") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblCityr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="City:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtCity" Runat="server" Width="100%" BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSCity") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtCityr" Runat="server" Width="100%" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSCity_r") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblStater" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="State:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtState" Runat="server" Width="100%" BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSState") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtStater" Runat="server" Width="100%" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSState_r") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblZipr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Postal Code:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtZip" Runat="server" Width="100%" BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSZip") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtZipr" Runat="server" Width="100%" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSZip_r") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblProvincer" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                              text="Province:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtProvince" Runat="server" Width="100%" BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSProvince") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtProvincer" Runat="server" Width="100%" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSProvince_r") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                            </TR>
                                                                                                            <!-- This is modified by Cyrene V. Jacob for the AWT Project-->
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblCountryr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Country:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtCountry" Runat="server" Width="100%" BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSCountry") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                                  <TD id="tdCountryr">
                                                                                                                        <asp:DropDownList ID="drpCountryr" Runat="server" Width="100%" DataSource='<%# BindDropDownList("RetrieveCountries") %>' DataValueField="territory_code" DataTextField="territory_short_name">
                                                                                                                        </asp:DropDownList>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <script language="javascript" type="text/javascript">
                                                                                                            
                                                                                                            //added by Cyrene V. Jacob for the AWT project...
                                                                                                            //get the ID of the DDL
                                                                                                            var tdCountry = document.getElementById("tdCountryr");
                                                                                                            //the country select element and OU...global variables
                                                                                                            _selElCountryr = tdCountry.childNodes[0];
                                                                                                            _oid = getQueryStr('oid');
                                                                                                            
                                                                                                            //add a script at clientside for this...
                                                                                                            _selElCountryr.onchange=function(){
                                                                                                                //global variables _selCountry and _oid
                                                                                                                  _selCountryr = _selElCountryr.options[_selElCountryr.selectedIndex].value;
                                                                                                                  
                                                                                                                  //alert(_selCountryr + " " + _oid);
                                                                                                                  setAWTFlag(_selCountryr, _oid, "1");
                                                                                                                  
                                                                                                            }
                                                                                                            //disable the AWT checkbox
                                                                                                            //and the Tax option DDL
                                                                                                            
                                                                                                            </script>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblFaxArear" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Fax Area Code:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtFaxArea" Runat="server" Width="100%" BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSFaxArea") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtFaxArear" Runat="server" Width="100%" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSFaxArea_r") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblFaxNumr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Fax Number:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtFaxNum" Runat="server" Width="100%" BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSFax") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtFaxNumr" Runat="server" Width="100%" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSFax_r") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                  </TD>
                                                                                                                  <TD colspan="2">
                                                                                                                        <asp:CustomValidator runat="server" id="custPOPayCheckr" ControlToValidate="drpOffTaxNamer" ClientValidationFunction="POPayIsCheck"
                                                                                                                              Display="Dynamic" ErrorMessage="<font size=2>You MUST choose at least one: (Pay Site) or (Purchasing Site)</font>"></asp:CustomValidator>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblPaySiter" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Pay Site:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:checkbox id="chkPaySite" Enabled="False" Runat="server"></asp:checkbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:checkbox id="chkPaySiter" AutoPostBack="true" Runat="server"></asp:checkbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblPOSiter" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Purchasing Site:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:checkbox id="chkPOSite" Enabled="False" Runat="server"></asp:checkbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:checkbox id="chkPOSiter" AutoPostBack="true" Runat="server"></asp:checkbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblDistSetr" Visible="False" Width="100%" Font-Name="Verdana" Font-Size="9"
                                                                                                                              Runat="server" text="Distribution Set:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtDistSet" Visible=False Runat="server" Width="100%" BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSDistSet") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:DropDownList ID="drpDistSetr" Visible=False Runat="server" Width="100%" DataSource='<%# BindDropDownListByOU("RetrieveDistributionSet") %>' DataValueField="dsID" DataTextField="dsName">
                                                                                                                        </asp:DropDownList>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblLiabilityAcctr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                              text="Liability Account:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtLiabilityAcct" Runat="server" Width="100%" BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSLiabilityAcct") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtLiabilityAcctr" Runat="server" Width="100%" BackColor=Gainsboro ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSLiabilityAcct_r") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblPrePayAcctr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                              text="PrePayment Account:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtPrePayAcct" Runat="server" Width="100%" BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSPrePayAcct") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtPrePayAcctr" Runat="server" Width="100%" BackColor=Gainsboro ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSPrePayAcct_r") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblTaxNamer" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Invoice Tax Name:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtTaxName" Runat="server" Width="100%" BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSVatCode") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:DropDownList ID="drpTaxNamer" Runat="server" AutoPostBack=True Width="100%" DataSource='<%# BindDropDownList4TaxName("RetrieveTaxName","VAT") %>' DataValueField="taxName" DataTextField="taxName2">
                                                                                                                        </asp:DropDownList></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                  </TD>
                                                                                                                  <TD colspan="2">
                                                                                                                        <asp:CustomValidator runat="server" id="custCheckIsEUr" ControlToValidate="drpOffTaxNamer" ClientValidationFunction="CheckIsEU"
                                                                                                                              Display="Dynamic" ErrorMessage="<font size=2>You MUST select an 'OffSet Tax!</font>"></asp:CustomValidator>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblOffTaxNamer" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                              text="Offset Tax Name:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtOffTaxName" Runat="server" Width="100%" BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSOffVatCode") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:DropDownList ID="drpOffTaxNamer" AutoPostBack=true Runat="server" Width="100%" DataSource='<%# BindDropDownList4TaxName("RetrieveTaxName","OFFSET") %>' DataValueField="taxName" DataTextField="taxName2">
                                                                                                                        </asp:DropDownList></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblTaxRptr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Tax Reporting Site:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:checkbox id="chkTaxRpt" Enabled="False" Runat="server"></asp:checkbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:checkbox id="chkTaxRptr" Runat="server"></asp:checkbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD id="tdAWTrlbl" align="right">
                                                                                                                        <asp:label id="lblAllowWTr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Allow WithHolding Tax:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:checkbox id="chkAllowAWT" Enabled="False" Runat="server"></asp:checkbox>
                                                                                                                  </TD>
                                                                                                                  <TD id="tdAWTr">
                                                                                                                        <asp:checkbox id="chkAllowAWTr" Runat="server" AutoPostBack="true"></asp:checkbox></TD>
                                                                                                            </TR>
                                                                                                            <!-- added by Cyrene V. Jacob for the AWT project: 'Edit' Site-->
                                                                                                            <TR>
                                                                                                                  <TD id="tdAWTrGrplbl" align="right">
                                                                                                                        <asp:label id="lblAWTNamer" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Allow Witholding Tax Group:"></asp:label>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtAWTName" Runat="server" Width="100%" BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSAWT") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                                  <TD id="tdAWTrGrp">
                                                                                                                        <asp:DropDownList ID="drpAWTNamer" Runat="server" Width="100%" DataSource='<%# BindDropDownList("RetrieveAWTGroups") %>' DataValueField="GroupID" DataTextField="GroupName">
                                                                                                                        </asp:DropDownList></TD>
                                                                                                            </TR>
                                                                                                            <script language="javascript">
                                                                                                            /*
                                                                                                            //global variables to hold the flag checkbox and group
                                                                                                            _tdAWTr = document.getElementById("tdAWTr");
                                                                                                            _tdAWTrGrp = document.getElementById("tdAWTrGrp");
                                                                                                            //alert(document.getElementById("tdAWTrlbl").nodeName);
                                                                                                            _tdAWTrlbl = document.getElementById("tdAWTrlbl");
                                                                                                            
                                                                                                            _tdAWTrGrplbl = document.getElementById("tdAWTrGrplbl");
                                                                                                            */
                                                                                                            </script>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblReqNumr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Tax Registration Number:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD id="tdRegNum">
                                                                                                                        <asp:textbox id="txtRegNum" Runat="server" Width="100%" BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSVatReg") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                                  <TD id="tdRegNumr">
                                                                                                                        <asp:textbox id="txtRegNumr" EnableViewState="false" Runat="server" Width="100%" Text='<%# DataBinder.Eval(Container.DataItem,"o_VSVatReg_r") %>'>
                                                                                                                        </asp:textbox>
                                                                                                                        <!--input id="txtTaxRegNumDummy" type="text" width="100%" value='' onblur="updateTaxRegNum(this.value, this.parentNode);" /-->
                                                                                                                  </TD>
                                                                                                                  <!-- added javascript by Cyrene V. Jacob for the masking project -->
                                                                                                                  <!--script type="text/javascript">loadNum(document.getElementById("tdRegNumr"), "TaxRegNum"); maskRegNum(document.getElementById("txtTaxRegNumDummy"), document.getElementById("tdRegNumr"));</script-->
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblFreightr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Freight Terms:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtFreight" Runat="server" Width="100%" BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSFreight") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:DropDownList ID="drpFreightr" Runat="server" Width="100%" DataSource='<%# BindDropDownList("RetrieveFreightTerms") %>' DataValueField="CODE" DataTextField="TERMNAME">
                                                                                                                        </asp:DropDownList></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblShipTor" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Ship-To Location:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtShipTo" Runat="server" Width="100%" BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSShipTo") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:DropDownList ID="drpShipTor" Runat="server" Width="100%" DataSource='<%# BindDropDownList("RetrieveShipToLoc") %>' DataValueField="LocID" DataTextField="LocCode">
                                                                                                                        </asp:DropDownList></TD>
                                                                                                            </TR>
                                                                                                            <tr>
                                                                                                                  <td>
                                                                                                                  </td>
                                                                                                                  <td>
                                                                                                                  </td>
                                                                                                                  <td>
                                                                                                                        <asp:CompareValidator ID="cvDrpSuppPmtTypr" Runat="server" ControlToValidate="drpSuppPmttypr" Type="String"
                                                                                                                              Operator="NotEqual" ValueToCompare="NONE" ErrorMessage="<font size=2>You <u>MUST SELECT</u> a 'Supplier Payment Type'!</font>"
                                                                                                                              Display="Dynamic" ForeColor="red"></asp:CompareValidator>
                                                                                                                  </td>
                                                                                                            </tr>
                                                                                                            <tr>
                                                                                                                  <td align="right">
                                                                                                                  </td>
                                                                                                                  <td colspan="2" align="right">
                                                                                                                        <asp:Label ID="lblSuppPmtTypErrorr" Runat="server" Font-Name="Verdana" Font-Size="9" Font-Bold="true"
                                                                                                                              ForeColor="red" text="This Vendor Payment Type Selection is not 'Supplier with Discounted Terms'"
                                                                                                                              Visible="false"></asp:Label>
                                                                                                                  </td>
                                                                                                            </tr>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblflexval" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Vendor Category:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD id="tdTxtFlexVal">
                                                                                                                        <asp:textbox id="txtflexval" Runat="server" Width="100%" BorderStyle="solid" BorderWidth="1px"
                                                                                                                              BorderColor="gray" ReadOnly="true" Text=""></asp:textbox>
                                                                                                                        <!--'<%#DataBinder.Eval(Container.DataItem,"o_FlexValue_r") %>'-->
                                                                                                                  </TD>
                                                                                                                  <TD id="tdDdFlexVal">
                                                                                                                        <asp:DropDownList ID="ddflexval" AutoPostBack="True" Runat="server" Width="100%" DataSource='<%# BindDropDownList("RetrieveFlexValues") %>' DataValueField="FlexValueId" DataTextField="FlexValueName">
                                                                                                                        </asp:DropDownList>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <tr>
                                                                                                                  <td></td>
                                                                                                                  <td></td>
                                                                                                                  <td><input id="hdnFlexId" type="hidden" value='<%# DataBinder.Eval(Container.DataItem,"o_FlexValue_r") %>'/></td>
                                                                                                            </tr>
                                                                                                            <script language="javascript">
                                                                                                            
                                                                                                                 var inpFlexId = document.getElementById("hdnFlexId").value;
                                                                                                                 //alert(inpFlexId);
                                                                                                                 //use this to set the value on the form
                                                                                                                 //call the function to get the FlexValue
                                                                                                                 
                                                                                                                 //the td that contains the input
                                                                                                                 var tdFlexVal = document.getElementById("tdTxtFlexVal");
                                                                                                                 //the text input in question
                                                                                                                 var txtflexval = tdFlexVal.childNodes[0];
                                                                                                                 //set the value to the one returned
                                                                                                                 //alert(txtflexval.nodeName);
                                                                                                            
                                                                                                            </script>
                                                                                                            <tr>
                                                                                                                  <td>
                                                                                                                  </td>
                                                                                                                  <td>
                                                                                                                  </td>
                                                                                                                  <td>
                                                                                                                        <asp:CompareValidator ID="cvFlexValue" Runat="server" ControlToValidate="ddflexval" Type="String" Operator="NotEqual"
                                                                                                                              ValueToCompare="NONE" ErrorMessage="<font size=2>You <u>MUST SELECT</u> a 'Vendor Category'!</font>"
                                                                                                                              Display="Dynamic" ForeColor="red"></asp:CompareValidator>
                                                                                                                  </td>
                                                                                                            </tr>
                                                                                                            <script language="javascript">
                                                                                                                /*
                                                                                                                  The above DD should have a datasource
                                                                                                                <asp:DropDownList ID="ddflexval" DataSource='<%# BindDropDownList("RetrieveFlexValues") %>' DataValueField="FlexValueId" DataTextField="FlexValueName">
                                                                                                                */
                                                                                                                  /*****************************************************/
                                                                                                                  /*added by Cyrene V. Jacob for the Flex Value project*/
                                                                                                                  _tdFlexValTxt = document.getElementById("tdTxtFlexVal");
                                                                                                                  _tdFlexValDd = document.getElementById("tdDdFlexVal");
                                                                                                                  //alert(_tdFlexValTxt.nextSibling.nodeName + ":" + _tdFlexValDd.nextSibling.nodeName);
                                                                                                            </script>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblSuppPmtTypr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                              text="Supplier Classification:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtSuppPmtTyp" Runat="server" Width="100%" BorderStyle="solid" BorderWidth="1px"
                                                                                                                              BorderColor="gray" ReadOnly="true" Text=""></asp:textbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:DropDownList ID="drpSuppPmtTypr" AutoPostBack=true Runat="server" Width="100%" DataSource='<%# BindDropDownList("RetrieveSupplierPaymentTypes") %>' DataValueField="PaymentTypeID" DataTextField="PaymentTypeName">
                                                                                                                        </asp:DropDownList>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <tr>
                                                                                                                  <td></td>
                                                                                                                  <td></td>
                                                                                                                  <td align="left">
                                                                                                                        <asp:CompareValidator ID="cvDrpTermsr" Type="String" Operator="NotEqual" ValueToCompare="NONE" Display="Dynamic"
                                                                                                                              BackColor="aliceblue" ControlToValidate="drpTermsr" Font-Size="9" ForeColor="red" ErrorMessage="You <u>MUST SELECT</u> a Payment Term!"
                                                                                                                              Runat="server"></asp:CompareValidator></td>
                                                                                                            </tr>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblTermsr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Payment Terms:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtTerms" Runat="server" Width="100%" BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSTerm") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:DropDownList ID="drpTermsr" AutoPostBack=true Runat="server" Width="100%" DataSource='<%# BindDropDownList("RetrieveTerms") %>' DataValueField="termID" DataTextField="termName" >
                                                                                                                        </asp:DropDownList>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <tr>
                                                                                                                  <td colspan="3">
                                                                                                                        <asp:Panel ID="pnlTermJustr" Runat="server" Visible="false" Width="100%">
                                                                                                                              <TABLE cellSpacing="4" cellPadding="0" width="100%" border="0" bgcolor="AliceBlue" style="FONT-WEIGHT: bold; COLOR: navy">
                                                                                                                                    <tr>
                                                                                                                                          <td></td>
                                                                                                                                          <td align="left">
                                                                                                                                                <asp:RequiredFieldValidator ControlToValidate="txtTermJustr" ErrorMessage="" ForeColor="red" Font-Size="9" runat="server"
                                                                                                                                                      ID="reqTermJustr" />
                                                                                                                                          </td>
                                                                                                                                    </tr>
                                                                                                                                    <tr>
                                                                                                                                          <td></td>
                                                                                                                                          <TD align="left" colspan="1" height="25" valign="bottom">
                                                                                                                                                <asp:label id="lblTermsJustMessgr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                      ForeColor="aliceblue" BackColor="Navy" text="EXCEPTION -- The Selected <U>PAYMENT TERM DOES NOT COMPLY</u> with Global Supplier Term policy and will need Local/Business Unit CFO approval, along with Corporate CFO approval."
                                                                                                                                                      Font-Bold="true"></asp:label>
                                                                                                                                          </TD>
                                                                                                                                    </tr>
                                                                                                                                    <tr>
                                                                                                                                          <td width="20%" align="right">
                                                                                                                                                <asp:label id="lblTermJustr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                      ForeColor="aliceblue" BackColor="Navy" text="Enter Payment Justification:"></asp:label></td>
                                                                                                                                          <td width="80%">
                                                                                                                                                <asp:textbox id="txtTermJustr" Runat="server" Width="100%" Height=50 TextMode=MultiLine Text='<%#DataBinder.Eval(Container.DataItem,"o_VSTermJust_r") %>'>
                                                                                                                                                </asp:textbox>
                                                                                                                                          </td>
                                                                                                                                    </tr>
                                                                                                                                    <tr>
                                                                                                                                          <td width="20%">
                                                                                                                                          </td>
                                                                                                                                          <td width="80%">
                                                                                                                                                <asp:CompareValidator ID="cvCFOr" Runat="server" ControlToValidate="drpCFOr" Type="String" Operator="NotEqual"
                                                                                                                                                      ValueToCompare="NONE" Width="100%" ErrorMessage="<font size=2>You MUST SELECT a CFO to Review this Exception!</font>"
                                                                                                                                                      Display="Dynamic" Font-Size="9" ForeColor="red" Text="<u>You MUST SELECT a CFO</u> to Review this Exception!"></asp:CompareValidator>
                                                                                                                                          </td>
                                                                                                                                    </tr>
                                                                                                                                    <tr>
                                                                                                                                          <td align="right" width="20%">
                                                                                                                                                <asp:Label ID="lblCFOr" ForeColor="aliceblue" Font-Bold="True" Width="100%" BackColor="navy"
                                                                                                                                                      Font-Name="Verdana" Font-Size="9" Runat="server" Text="Select a Local/Business Unit CFO to Review:"></asp:Label></td>
                                                                                                                                          <TD width="80%">
                                                                                                                                                <asp:DropDownList ID="drpCFOr" Runat="server" AutoPostBack="false" Width="25%"></asp:DropDownList>
                                                                                                                                          </TD>
                                                                                                                                    </tr>
                                                                                                                              </TABLE>
                                                                                                                        </asp:Panel>
                                                                                                                  </td>
                                                                                                            </tr>
                                                                                                            <TR>
                                                                                                                  <td></td>
                                                                                                                  <TD align="left" colspan="2" height="25" valign="bottom">
                                                                                                                        <asp:label id="lblPayMethMsgr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                              ForeColor="Maroon" text="(For European Countries: EFT Payment Method and Banking Information are required. For US: Banking and Contact Information are required for EFT and WIRE payment methods.)"></asp:label>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblPayMethr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Payment Method:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtPayMeth" Runat="server" Width="100%" BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSPayMeth") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:DropDownList ID="drpPayMethr" Runat="server" Width="100%">
                                                                                                                              <asp:ListItem TEXT="---SELECT---" Value="NONE" />
                                                                                                                              <asp:ListItem Text="CHECK" Value="CHECK" />
                                                                                                                              <asp:ListItem Text="CLEARING" Value="CLEARING" />
                                                                                                                              <asp:ListItem TEXT="EFT" Value="EFT" />
                                                                                                                              <asp:ListItem TEXT="WIRE" Value="WIRE" />
                                                                                                                        </asp:DropDownList>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <tr>
                                                                                                                  <TD align="left" colspan="3" width="100%" height="10">
                                                                                                                  </TD>
                                                                                                            </tr>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblPayGroupr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                              text="Pay Group:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtPayGroup" Runat="server" Width="100%" BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSPayGrp") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:DropDownList ID="drpPayGroupr" Enabled=false BackColor=Gainsboro Runat="server" Width="100%" DataSource='<%# BindDropDownList("RetrievePayGroups") %>' DataValueField="lookup_code" DataTextField="displayed_field">
                                                                                                                        </asp:DropDownList></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblPayAloner" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                              text="Pay Alone Site:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:checkbox id="chkPayAlone" Enabled="False" Runat="server"></asp:checkbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:checkbox id="chkPayAloner" Enabled="False" Runat="server"></asp:checkbox></TD>
                                                                                                            </TR>
                                                                                                            <tr>
                                                                                                                  <td>
                                                                                                                  </td>
                                                                                                                  <td>
                                                                                                                  </td>
                                                                                                                  <td>
                                                                                                                        <asp:CompareValidator ID="cvPayCurr" Runat="server" ControlToValidate="drpPymtCurr" Type="String" Operator="NotEqual"
                                                                                                                              ValueToCompare="NONE" ErrorMessage="<font size=2>You MUST select a 'Payment Currency'!</font>" Display="Dynamic"></asp:CompareValidator>
                                                                                                                  </td>
                                                                                                            </tr>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblPymtCurr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Payment Currency:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtPymtCur" Runat="server" Width="100%" BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSPymtCur") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:DropDownList ID="drpPymtCurr" Runat="server" Width="100%" DataSource='<%# BindDropDownList("RetrieveCurrencyCode") %>' DataValueField="CURRVALUE" DataTextField="CURRTEXT">
                                                                                                                        </asp:DropDownList>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblInvCurr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Invoice Currency:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtInvCur" Runat="server" Width="100%" BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSInvCur") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:DropDownList ID="drpInvCurr" Runat="server" Width="100%" DataSource='<%# BindDropDownList("RetrieveCurrencyCode") %>' DataValueField="CURRVALUE" DataTextField="CURRTEXT">
                                                                                                                        </asp:DropDownList>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblRoyaltyr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Royalty Site:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:checkbox id="chkRoyalty" Enabled="False" Runat="server"></asp:checkbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:checkbox id="chkRoyaltyr" Runat="server"></asp:checkbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblSiteInactive" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                              text="Re-Activate Site:"></asp:label></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:checkbox id="chkSiteInactive" Visible="False" Runat="server" Enabled="False"></asp:checkbox></TD>
                                                                                                                  <TD>
                                                                                                                        <asp:checkbox id="chkSiteInactiver" Runat="server"></asp:checkbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblOB10r" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="The supplier has been informed and will be using OB10:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD valign="baseline">
                                                                                                                        <asp:checkbox id="chkOB10" Enabled="False" Runat="server"></asp:checkbox></TD>
                                                                                                                  <TD valign="baseline">
                                                                                                                        <asp:checkbox id="chkOB10r" Runat="server"></asp:checkbox>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <tr>
                                                                                                                  <td colspan="3" height="25">
                                                                                                                  </td>
                                                                                                            </tr>
                                                                                                            <TR>
                                                                                                                  <TD id="tdSubmit" align="right" width="100%" colSpan="3" height="50" valign="middle">
                                                                                                                        <!-- Inserted by Cyrene Jacobfor the AWT project add this for the AWT project-->
                                                                                                                        <!--input id="inpBtnSaveSite" type="button" style="color:White;background-color:DarkKhaki;font-family:Verdana;font-size:9pt;font-weight:bold;width:150px;"
                                                                                                                              value="Save Site Changes" onclick="validateAWT(this, '1');" /-->
                                                                                                                        <asp:Button id="btnSaveSite" Width="150px" Runat="server" BackColor="DarkKhaki" ForeColor="White"
                                                                                                                              Font-Bold="True" Font-Size="9" UseSubmitBehavior="true" Visible="False" Text="Save Site Changes"
                                                                                                                              Font-Names="Verdana"></asp:Button>&nbsp;&nbsp;
                                                                                                                        <asp:Button id="btnCancelSite" Width="150px" CausesValidation="False" Runat="server" BackColor="DarkKhaki"
                                                                                                                              ForeColor="White" Font-Bold="True" Font-Size="9" Text="Cancel Site Changes" Font-Names="Verdana"></asp:Button>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD width="100%" colSpan="3">
                                                                                                                        <HR>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <!-- ...inserted by Cyrene Jacob for the AWT project -->
                                                                                                            <script language="javascript" type="text/javascript">
                                                                                                            //global objects
                                                                                                            _inpBtnr = document.getElementById("inpBtnSaveSite");
                                                                                                            //alert(_inpBtnr.nextSibling.nextSibling.id);
                                                                                                            //var txtTmp = _inpBtn.nextSibling;
                                                                                                            _aspBtnr = _inpBtnr.nextSibling.nextSibling;
                                                                                                            
                                                                                                            
                                                                                                            if(isOUCoreUS){
                                                                                                                  //hide the asp:button
                                                                                                                  _aspBtnr.style.display = 'none';
                                                                                                                  
                                                                                                            
                                                                                                            }
                                                                                                            else{
                                                                                                                  //else hide the input button
                                                                                                                  _inpBtnr.style.display = 'none';
                                                                                                            }
                                                                                                            </script>
                                                                                                            <TR>
                                                                                                                  <td colspan="3">
                                                                                                                        <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                                                                                              <tr>
                                                                                                                                    <TD style="FONT-WEIGHT: bold; FONT-SIZE: 11pt; COLOR: navy; FONT-STYLE: normal; BACKGROUND-COLOR: whitesmoke; TEXT-ALIGN: left"
                                                                                                                                          align="left" width="25%">Contacts <a name="ContactHeader"></a>
                                                                                                                                    </TD>
                                                                                                                                    <TD style="BACKGROUND-COLOR: whitesmoke" align="right" width="75%">
                                                                                                                                          <asp:LinkButton ID="lnkAddNewContact" Font-Size="8" Font-Bold="True" CausesValidation="false" Runat="server">Add New Contact</asp:LinkButton></TD>
                                                                                                                              </tr>
                                                                                                                        </table>
                                                                                                                  </td>
                                                                                                            </TR>
                                                                                                            <tr>
                                                                                                                  <td width="100%" colspan="3">
                                                                                                                        <asp:Panel id="pnlCN" Runat="server" Width="100%">
                                                                                                                              <table width="100%">
                                                                                                                                    <TR>
                                                                                                                                          <TD style="TEXT-ALIGN: center">
                                                                                                                                                <asp:datagrid id="dgrdContacts" runat="server" Width="100%" Font-Size="12px" BorderStyle="Solid"
                                                                                                                                                      BorderColor="lightgrey" AutoGenerateColumns="false" ShowHeader="false" Datakeyfield="ID" HeaderStyle-ForeColor="White"
                                                                                                                                                      HeaderStyle-BackColor="SteelBlue" HeaderStyle-Font-Bold="true" BorderWidth="2" ItemStyle-Height="10">
                                                                                                                                                      <SelectedItemStyle Font-Bold="True" ForeColor="Black"></SelectedItemStyle>
                                                                                                                                                      <AlternatingItemStyle BackColor="lavender"></AlternatingItemStyle>
                                                                                                                                                      <ItemStyle BackColor="White"></ItemStyle>
                                                                                                                                                      <Columns>
                                                                                                                                                            <asp:TemplateColumn headertext="Contacts">
                                                                                                                                                                  <ItemTemplate>
                                                                                                                                                                        <table width="100%">
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td style="FONT-WEIGHT: bold; FONT-SIZE: 8pt; FONT-FAMILY: verdana; HEIGHT: 10px" width="20%">Contact
                                                                                                                                                                                          Name:
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td width="65%" style="FONT-SIZE: 8pt; FONT-FAMILY: verdana; HEIGHT: 15px; FONT-WEIGHT: bold; COLOR: navy"><%# DataBinder.Eval(Container.DataItem, "o_CNFName" ) %>&nbsp;<%# DataBinder.Eval(Container.DataItem, "o_CNLName" ) %>
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td width="15%" align="right" style="FONT-WEIGHT: bold; FONT-SIZE: 7pt; COLOR: red"><%# DataBinder.Eval(Container.DataItem, "o_CNChg" ) %>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td align="left">
                                                                                                                                                                                          <asp:LinkButton ID="lnkEditContact" CommandName="Edit" CausesValidation="false" Runat="server">View Contact Details</asp:LinkButton>
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td align="left" colspan="3" style="FONT-SIZE: 7pt; COLOR: red; FONT-STYLE: italic"><%# DataBinder.Eval(Container.DataItem, "o_CNVal" ) %>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                        </table>
                                                                                                                                                                  </ItemTemplate>
                                                                                                                                                                  <EditItemTemplate>
                                                                                                                                                                        <a name="EditContact"></a>
                                                                                                                                                                        <TABLE cellSpacing="4" cellPadding="0" width="100%" border="0" bgcolor="Whitesmoke" style="FONT-WEIGHT: bold; COLOR: navy">
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; FONT-STYLE: italic; HEIGHT: 25px" vAlign="bottom"
                                                                                                                                                                                          width="100%" colSpan="2">Contacts Information:
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD width="100%" colSpan="3">
                                                                                                                                                                                          <HR>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR bgColor="navy" height="20">
                                                                                                                                                                                    <TD width="30%"></TD>
                                                                                                                                                                                    <TD style="FONT-WEIGHT: bold; COLOR: white; TEXT-ALIGN: center" width="35%">Current
                                                                                                                                                                                          Information
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD style="FONT-WEIGHT: bold; COLOR: white; TEXT-ALIGN: center" width="35%">Request
                                                                                                                                                                                          Value
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtContactID" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_CNID") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Visible="false">
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtContactIDr" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_RDACNID_r") %>' Visible="false">
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblPrefixr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Prefix:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtPrefix" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_CNPrefix") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true">
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtPrefixr" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_CNPrefix_r") %>' >
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblFnamer" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="First Name:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtFName" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_CNFName") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true">
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtFNamer" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_CNFName_r") %>' >
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblLNamer" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Last Name:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtLName" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_CNLName") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true">
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtLNamer" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_CNLName_r") %>' >
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblCNArear" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Area Code:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtCNArea" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_CNArea") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true">
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtCNArear" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_CNArea_r") %>' >
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblCNPhoner" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Phone#:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtCNPhone" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"O_CNPhone") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true">
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtCNPhoner" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"O_CNPhone_r") %>' >
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblCNInactive" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                text="Re-Activate Contact:"></asp:label></TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:checkbox id="chkCNInactive" Visible="False" Runat="server" Enabled="False"></asp:checkbox></TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:checkbox id="chkCNInactiver" Runat="server"></asp:checkbox></TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td></td>
                                                                                                                                                                                    <td height="35" align="left" colspan="2" valign="bottom" width="100%">
                                                                                                                                                                                          <asp:label id="lblEmailMsgr" Width="100%" ForeColor="maroon" Font-Name="Verdana" Font-Size="9"
                                                                                                                                                                                                Runat="server" text="(To enable sending of PO and Remittance Advice via email, please provide an Email Address and Distribution Type)"></asp:label>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblEmailr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Email Address:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtEmail" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_Email") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true">
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtEmailr" Width="100%" AutoPostBack=True Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_Email_r") %>' >
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblDTyper" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Distribution Type:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtDType" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_DType") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true">
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:DropDownList ID="drpDTyper" Runat="server" Width="100%">
                                                                                                                                                                                                <asp:ListItem TEXT="---SELECT---" Value="NONE" />
                                                                                                                                                                                                <asp:ListItem Text="ACCOUNTS PAYABLE" Value="ACCOUNTS PAYABLE" />
                                                                                                                                                                                                <asp:ListItem Text="OPERATIONS" Value="OPERATIONS" />
                                                                                                                                                                                          </asp:DropDownList>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right" width="100%" colSpan="3" height="50" valign="middle">
                                                                                                                                                                                          <asp:Button id="btnSaveContact" CausesValidation="false" Width="175px" Runat="server" BackColor="DarkKhaki"
                                                                                                                                                                                                ForeColor="White" Font-Bold="True" Font-Size="9" Text="Save Contact Changes" Font-Names="Verdana"></asp:Button>&nbsp;&nbsp;
                                                                                                                                                                                          <asp:Button id="btnCancelContact" CausesValidation="False" Width="175px" Runat="server" BackColor="DarkKhaki"
                                                                                                                                                                                                ForeColor="White" Font-Bold="True" Font-Size="9" Text="Cancel Contact Changes" Font-Names="Verdana"></asp:Button>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD width="100%" colSpan="3">
                                                                                                                                                                                          <HR>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                        </TABLE>
                                                                                                                                                                  </EditItemTemplate>
                                                                                                                                                                  <FooterTemplate>
                                                                                                                                                                        <a name="NewContact"></a>
                                                                                                                                                                        <TABLE cellSpacing="4" cellPadding="0" width="100%" border="0" bgcolor="SteelBlue" style="FONT-WEIGHT: bold; COLOR: white">
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; FONT-STYLE: italic; HEIGHT: 25px" vAlign="bottom"
                                                                                                                                                                                          width="100%" colSpan="2">New Contacts Information:
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD width="100%" colSpan="2">
                                                                                                                                                                                          <HR>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right" width="20%">
                                                                                                                                                                                          <asp:label id="lblPrefixI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Prefix::"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD width="80%" colspan="3">
                                                                                                                                                                                          <asp:textbox id="txtPrefixrI" Width="100" Runat="server"></asp:textbox></TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblFNameI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="First Name:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtFNamerI" Width="50%" Runat="server"></asp:textbox></TD>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblLnameI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Last Name:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtLNamerI" Width="50%" Runat="server"></asp:textbox></TD>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblCNAreaI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Area Code:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtCNArearI" Width="50%" Runat="server"></asp:textbox>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblCNPhoneI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Phone#:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtCNPhonerI" Width="50%" Runat="server"></asp:textbox></TD>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td></td>
                                                                                                                                                                                    <td height="35" align="left" valign="bottom" width="100%">
                                                                                                                                                                                          <asp:label id="lblEmailMsgI" Width="100%" ForeColor="LightCyan" Font-Name="Verdana" Font-Size="9"
                                                                                                                                                                                                Runat="server" text="(To enable sending of PO and Remittance Advice via email, please provide an Email Address and Distribution Type)"></asp:label>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblEmailI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Email Address:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtEmailrI" Width="75%" Runat="server"></asp:textbox></TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblDTYpeI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Distribution Type:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:DropDownList ID="drpDTyperI" Runat="server" Width="75%">
                                                                                                                                                                                                <asp:ListItem TEXT="---SELECT---" Value="NONE" />
                                                                                                                                                                                                <asp:ListItem Text="ACCOUNTS PAYABLE" Value="ACCOUNTS PAYABLE" />
                                                                                                                                                                                                <asp:ListItem Text="OPERATIONS" Value="OPERATIONS" />
                                                                                                                                                                                          </asp:DropDownList>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right" width="100%" colSpan="6" height="50" valign="middle">
                                                                                                                                                                                          <asp:Button id="btnAddNewContact" Font-Size="9" CommandName="Insert" Width="175px" Runat="server"
                                                                                                                                                                                                CausesValidation="False" BackColor="lavender" ForeColor="Navy" Font-Bold="True" Text="Save Contact Changes"
                                                                                                                                                                                                Font-Names="Verdana"></asp:Button>&nbsp;&nbsp;
                                                                                                                                                                                          <asp:Button id="btnCanceNewContact" Font-Size="9" CommandName="Cancel" CausesValidation="False"
                                                                                                                                                                                                Width="175px" Runat="server" BackColor="lavender" ForeColor="Navy" Font-Bold="True" Text="Cancel Contact Changes"
                                                                                                                                                                                                Font-Names="Verdana"></asp:Button>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD width="100%" colSpan="2">
                                                                                                                                                                                          <HR>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                        </TABLE>
                                                                                                                                                                  </FooterTemplate>
                                                                                                                                                            </asp:TemplateColumn>
                                                                                                                                                      </Columns>
                                                                                                                                                </asp:datagrid>
                                                                                                                                          </TD>
                                                                                                                                    </TR>
                                                                                                                              </table>
                                                                                                                        </asp:Panel>
                                                                                                                  </td>
                                                                                                            </tr>
                                                                                                            <TR>
                                                                                                                  <TD width="100%" colSpan="3" height="50">
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <td colspan="3">
                                                                                                                        <table border="0" cellpadding="0" cellpadding="0" width="100%">
                                                                                                                              <tr>
                                                                                                                                    <TD style="FONT-WEIGHT: bold; FONT-SIZE: 11pt; COLOR: navy; FONT-STYLE: normal; BACKGROUND-COLOR: whitesmoke; TEXT-ALIGN: left"
                                                                                                                                          align="left" width="25%">Bank Accounts<a name="BankAcctHeader"></a>
                                                                                                                                    </TD>
                                                                                                                                    <TD style="BACKGROUND-COLOR: whitesmoke" align="right" width="75%">
                                                                                                                                          <asp:LinkButton ID="lnkAddNewBank" Font-Size="8" Font-Bold="True" CausesValidation="true" Runat="server">Add New Bank Account</asp:LinkButton></TD>
                                                                                                                              </tr>
                                                                                                                        </table>
                                                                                                                  </td>
                                                                                                            </TR>
                                                                                                            <tr>
                                                                                                                  <td width="100%" colspan="3">
                                                                                                                        <asp:Panel id="Panel1" Runat="server" Width="100%">
                                                                                                                              <table width="100%">
                                                                                                                                    <TR>
                                                                                                                                          <TD style="TEXT-ALIGN: center">
                                                                                                                                                <asp:datagrid id="dgrdBankAcct" runat="server" Width="100%" Font-Size="12px" BorderStyle="Solid"
                                                                                                                                                      BorderColor="lightgrey" AutoGenerateColumns="false" ShowHeader="false" Datakeyfield="ID" HeaderStyle-ForeColor="White"
                                                                                                                                                      HeaderStyle-BackColor="SteelBlue" HeaderStyle-Font-Bold="true" BorderWidth="2" ItemStyle-Height="10">
                                                                                                                                                      <SelectedItemStyle Font-Bold="True" ForeColor="Black"></SelectedItemStyle>
                                                                                                                                                      <AlternatingItemStyle BackColor="lavender"></AlternatingItemStyle>
                                                                                                                                                      <ItemStyle BackColor="White"></ItemStyle>
                                                                                                                                                      <Columns>
                                                                                                                                                            <asp:TemplateColumn headertext="Contacts">
                                                                                                                                                                  <ItemTemplate>
                                                                                                                                                                        <table width="100%">
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td width="20%" style="FONT-WEIGHT: bold; FONT-SIZE: 8pt; FONT-FAMILY: verdana; HEIGHT: 10px">Bank
                                                                                                                                                                                          Account Name:
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td width="65%" style="FONT-SIZE: 8pt; FONT-FAMILY: verdana; HEIGHT: 15px; FONT-WEIGHT: bold; COLOR: navy"><%# DataBinder.Eval(Container.DataItem, "o_BAName" ) %>
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td align="right" width="15%" style="FONT-WEIGHT: bold; FONT-SIZE: 7pt; COLOR: red">
                                                                                                                                                                                          <%# DataBinder.Eval(Container.DataItem, "o_BAChg" ) %>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td style="FONT-WEIGHT: bold; FONT-SIZE: 8pt; FONT-FAMILY: verdana; HEIGHT: 10px">Primary
                                                                                                                                                                                          Bank Account:
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td colspan="2" style="FONT-SIZE: 8pt; FONT-FAMILY: verdana; HEIGHT: 15px; FONT-WEIGHT: bold; COLOR: navy">
                                                                                                                                                                                          <asp:CheckBox BackColor=white ID=chkPri Runat=server Enabled=False Checked='<%# SetCheckBox(DataBinder.Eval(Container.DataItem, "o_BPriFlg_r" )) %>'>
                                                                                                                                                                                          </asp:CheckBox>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td align="left" style="FONT-WEIGHT: bold"><font color="red">Inactive Date:</font>
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td align="left" colspan="2" style="FONT-SIZE: 7pt; COLOR: red; FONT-FAMILY: verdana"><%# DataBinder.Eval(Container.DataItem, "o_BAEndDate" ) %>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td align="left">
                                                                                                                                                                                          <asp:LinkButton ID="lnkEditBankAcct" CommandName="Edit" CausesValidation="true" Runat="server">View Bank Account Details</asp:LinkButton>
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td align="left" colspan="2" style="FONT-SIZE: 7pt; COLOR: red; FONT-STYLE: italic"><%# DataBinder.Eval(Container.DataItem, "o_BAVal" ) %>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td align="left">
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td align="left" colspan="2" style="FONT-SIZE: 7pt; COLOR: red; FONT-STYLE: italic"><%# DataBinder.Eval(Container.DataItem, "o_BADup" ) %>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td align="left">
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td align="left" colspan="2" style="FONT-SIZE: 7pt; COLOR: red; FONT-STYLE: italic"><%# DataBinder.Eval(Container.DataItem, "o_BNew" ) %>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                        </table>
                                                                                                                                                                  </ItemTemplate>
                                                                                                                                                                  <EditItemTemplate>
                                                                                                                                                                        <a name="EditBankAcct"></a>
                                                                                                                                                                        <TABLE cellSpacing="4" cellPadding="0" width="100%" border="0" bgcolor="whitesmoke" style="FONT-WEIGHT: bold; COLOR: navy">
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; FONT-STYLE: italic; HEIGHT: 25px" vAlign="bottom"
                                                                                                                                                                                          width="100%" colSpan="3">Bank Accounts Information:
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td colSpan="3" width="100%">
                                                                                                                                                                                          <asp:label id="lblErrGeneralr" Font-Name="Verdana" Font-Size="9" Runat="server" ForeColor="red" text='<%# DataBinder.Eval(Container.DataItem, "o_BADup" ) %>'>
                                                                                                                                                                                          </asp:label>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td colSpan="3" width="100%">
                                                                                                                                                                                          <asp:label id="lblErrGeneralr2" Font-Name="Verdana" Font-Size="9" Runat="server" ForeColor="red" text='<%# DataBinder.Eval(Container.DataItem, "o_BNew" ) %>'>
                                                                                                                                                                                          </asp:label>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD width="100%" colSpan="3">
                                                                                                                                                                                          <HR>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR bgColor="navy" height="20">
                                                                                                                                                                                    <TD width="30%"></TD>
                                                                                                                                                                                    <TD style="FONT-WEIGHT: bold; COLOR: white; TEXT-ALIGN: center" width="35%">Current
                                                                                                                                                                                          Information
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD style="FONT-WEIGHT: bold; COLOR: white; TEXT-ALIGN: center" width="35%">Request
                                                                                                                                                                                          Value
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtBAUID" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_BAUID") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Visible="false">
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtBAUIDr" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_RDABAUID_r") %>' Visible="false">
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td>
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td>
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td>
                                                                                                                                                                                          <asp:CompareValidator ID="cvBankCountryr" Runat="server" ControlToValidate="drpBCountryr" Type="String"
                                                                                                                                                                                                Operator="NotEqual" ValueToCompare="NONE" ErrorMessage="<font color=#ffff66 size=2>You MUST select a 'Country of Bank'!</font>"
                                                                                                                                                                                                Display="None"></asp:CompareValidator>
                                                                                                                                                                                          <asp:label id="lblBCtryMsgr" Width="100%" ForeColor="Maroon" Font-Name="Verdana" Font-Size="9"
                                                                                                                                                                                                Runat="server" text="(You MUST select a Country of Bank)"></asp:label>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblBCountryr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                text="Country of Bank:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtBCountry" Width="100%" Runat="server" BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem, "o_BCountry") %>'>
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:DropDownList BackColor=Gainsboro Enabled=False ID="drpBCountryr" AutoPostBack=True Runat="server" Width="100%" DataSource='<%# BindDropDownList("RetrieveBankCountries") %>' DataValueField="territory_code" DataTextField="territory_short_name">
                                                                                                                                                                                          </asp:DropDownList></TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td>
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td>
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td>
                                                                                                                                                                                          <asp:CompareValidator ID="cvBankCurrr" Runat="server" ControlToValidate="drpBACurr" Type="String" Operator="NotEqual"
                                                                                                                                                                                                ValueToCompare="NONE" ErrorMessage="<font color=#ffff66 size=2>You MUST select a 'Bank Account Currency'!</font>"
                                                                                                                                                                                                Display="NONE"></asp:CompareValidator>
                                                                                                                                                                                          <asp:label id="lblBACurrMsgr" Width="100%" ForeColor="Maroon" Font-Name="Verdana" Font-Size="9"
                                                                                                                                                                                                Runat="server" text="(You MUST select a Bank Account Currency)"></asp:label>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblBACurr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Bank Account Currency:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtBACur" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_BACur") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true">
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:DropDownList ID="drpBACurr" BackColor=Gainsboro AutoPostBack=True enabled=false Runat="server" Width="100%" DataSource='<%# BindDropDownList("RetrieveCurrencyCode") %>' DataValueField="CURRVALUE" DataTextField="CURRTEXT">
                                                                                                                                                                                          </asp:DropDownList></TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <td>
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td>
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td align="center">
                                                                                                                                                                                          <asp:Button ID="btnBankEntryEdit" ForeColor="White" Enabled="false" Font-Bold="True" BackColor="DarkKhaki"
                                                                                                                                                                                                CommandName="EnterBankEdit" Runat="server" width="98%" Text="Click to Enter Banking Information"></asp:Button>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD width="100%" colSpan="3" height="15">
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD width="100%" colSpan="3">
                                                                                                                                                                                          <asp:Panel ID="pnlBankInfoEdit" Width="100%" Visible="true" Runat="server">
                                                                                                                                                                                                <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0" bgcolor="whitesmoke" style="FONT-WEIGHT: bold; COLOR: navy">
                                                                                                                                                                                                      <tr>
                                                                                                                                                                                                            <td colspan="2" width="100%"><hr>
                                                                                                                                                                                                            </td>
                                                                                                                                                                                                      </tr>
                                                                                                                                                                                                      <tr>
                                                                                                                                                                                                            <td colspan="2" width="100%" align="center">
                                                                                                                                                                                                                  <asp:label id="lblEnterBankInfoEdit" Width="100%" ForeColor="Maroon" Font-Name="Verdana" Font-Size="10"
                                                                                                                                                                                                                        Runat="server" text="Existing Bank Account cannot be modified. If this account is not longer valid, please inactivate it and create a New Bank Account."></asp:label>
                                                                                                                                                                                                                  <asp:Linkbutton id="lnkAddBankEdit" Visible="false" Runat="server" Font-Size="9" Font-Bold="True"
                                                                                                                                                                                                                        CommandName="AddBankEdit" Font-Names="Verdana" Text="Add New Bank"></asp:Linkbutton>
                                                                                                                                                                                                                  <asp:Linkbutton id="LnkBankListEdit" Visible="false" Runat="server" Font-Size="9" Font-Bold="True"
                                                                                                                                                                                                                        CommandName="BankListEdit" Font-Names="Verdana" Text="Bank List"></asp:Linkbutton>
                                                                                                                                                                                                            </td>
                                                                                                                                                                                                      </tr>
                                                                                                                                                                                                      <TR>
                                                                                                                                                                                                            <TD colspan="2" align="center">
                                                                                                                                                                                                                  <asp:Panel ID="pnlBankListEdit" Width="100%" Runat="server" Visible="false">
                                                                                                                                                                                                                        <TABLE cellSpacing="0" cellPadding="0" width="98%" border="0" style="FONT-WEIGHT: bold; COLOR: Navy">
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td colspan="3" height="25">
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td width="15%" align="left">
                                                                                                                                                                                                                                          <asp:label id="RecordCountEdit" runat="server" Font-Name="verdana" Font-Bold="True" Font-Size="9" />
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td width="60%" align="center">
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td width="25%" align="right">
                                                                                                                                                                                                                                          <asp:Label id="lblPageCountEdit" runat="server" Font-Name="verdana" Font-Bold="True" Font-Size="9" />
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td align="center" colspan="3">
                                                                                                                                                                                                                                          <asp:DataGrid ID="dgBankListEdit" AllowPaging="True" AllowCustomPaging="False" PagerStyle-Visible="False"
                                                                                                                                                                                                                                                AutoGenerateColumns="false" Width="100%" Font-Size="7px" BorderStyle="Solid" ShowHeader="True"
                                                                                                                                                                                                                                                DataKeyField="Bank_Branch_ID" BorderWidth="2px" Runat="server">
                                                                                                                                                                                                                                                <HeaderStyle ForeColor="white" Font-Bold="True" BackColor="sienna"></HeaderStyle>
                                                                                                                                                                                                                                                <SelectedItemStyle BackColor="Goldenrod" ForeColor="white" Font-Bold="true"></SelectedItemStyle>
                                                                                                                                                                                                                                                <ItemStyle BackColor="white"></ItemStyle>
                                                                                                                                                                                                                                                <AlternatingItemStyle BackColor="Seashell"></AlternatingItemStyle>
                                                                                                                                                                                                                                                <Columns>
                                                                                                                                                                                                                                                      <asp:TemplateColumn>
                                                                                                                                                                                                                                                            <HeaderTemplate>
                                                                                                                                                                                                                                                                  Bank Name
                                                                                                                                                                                                                                                            </HeaderTemplate>
                                                                                                                                                                                                                                                            <ItemTemplate>
                                                                                                                                                                                                                                                                  <asp:LinkButton CommandName="BankNameEdit" Text='<%# DataBinder.Eval(Container.DataItem, "Bank_Name")%>' runat=server ID="Linkbutton2"/>
                                                                                                                                                                                                                                                            </ItemTemplate>
                                                                                                                                                                                                                                                      </asp:TemplateColumn>
                                                                                                                                                                                                                                                      <asp:BoundColumn DataField="Bank_Branch_ID" HeaderText="Bank_Branch_ID" Visible="false"></asp:BoundColumn>
                                                                                                                                                                                                                                                      <asp:BoundColumn DataField="Bank_Name" HeaderText="Bank Name" Visible="false"></asp:BoundColumn>
                                                                                                                                                                                                                                                      <asp:BoundColumn DataField="Bank_Number" HeaderText="Bank Number" Visible="true"></asp:BoundColumn>
                                                                                                                                                                                                                                                      <asp:BoundColumn DataField="Branch_Name" HeaderText="Branch Name" Visible="true"></asp:BoundColumn>
                                                                                                                                                                                                                                                      <asp:BoundColumn DataField="Branch_Number" HeaderText="Branch/ABA Number" Visible="true"></asp:BoundColumn>
                                                                                                                                                                                                                                                      <asp:BoundColumn DataField="Branch_Type" HeaderText="Branch Type" Visible="true"></asp:BoundColumn>
                                                                                                                                                                                                                                                      <asp:BoundColumn DataField="Swift_Code" HeaderText="Swift Code" Visible="true"></asp:BoundColumn>
                                                                                                                                                                                                                                                </Columns>
                                                                                                                                                                                                                                          </asp:DataGrid>
                                                                                                                                                                                                                                          <asp:linkbutton Font-Size="9" Font-Bold="True" Font-Name="verdana" id="btnFirst" Text="<< 1st Page"
                                                                                                                                                                                                                                                CommandName="0_edit" runat="server" />
                                                                                                                                                                                                                                          <asp:linkbutton Font-Size="9" Font-Bold="True" Font-Name="verdana" id="btnPrev" Text="" CommandName="prev_edit"
                                                                                                                                                                                                                                                runat="server" />
                                                                                                                                                                                                                                          &nbsp;&nbsp;
                                                                                                                                                                                                                                          <asp:linkbutton Font-Size="9" Font-Bold="True" Font-Name="verdana" id="btnNext" Text="" CommandName="next_edit"
                                                                                                                                                                                                                                                runat="server" />
                                                                                                                                                                                                                                          <asp:linkbutton Font-Size="9" Font-Bold="True" Font-Name="verdana" id="btnLast" Text="Last Page >>"
                                                                                                                                                                                                                                                CommandName="last_edit" runat="server" />
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td colspan="3" height="15"></td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td width="15%" style="FONT-WEIGHT: bold; FONT-SIZE: 9pt; COLOR: NAVY; FONT-FAMILY: verdana"
                                                                                                                                                                                                                                          align="right">Search for a Bank:</td>
                                                                                                                                                                                                                                    <td width="60%" align="left">
                                                                                                                                                                                                                                          <asp:textbox id="txtSearchForR" Width="98%" Runat="server"></asp:textbox>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td width="25%" align="left">
                                                                                                                                                                                                                                          <asp:Button ID="btnSearchFor" CommandName="BankSearchr" Runat="server" Width="100" Text="Search"
                                                                                                                                                                                                                                                BackColor="DarkKhaki" ForeColor="White" Font-Bold="True"></asp:Button>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td colspan="3" height="15"></td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td colspan="3" width="100%"><hr>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                        </TABLE>
                                                                                                                                                                                                                  </asp:Panel>
                                                                                                                                                                                                            </TD>
                                                                                                                                                                                                      </TR>
                                                                                                                                                                                                      <tr>
                                                                                                                                                                                                            <TD colspan="2">
                                                                                                                                                                                                                  <asp:Panel ID="pnlBankFieldsEdit" Width="100%" Runat="server" Visible="true">
                                                                                                                                                                                                                        <TABLE cellSpacing="4" cellPadding="0" width="100%" border="0" style="FONT-WEIGHT: bold; COLOR: NAVY">
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right" width="30%">
                                                                                                                                                                                                                                          <asp:label id="lblBrIDr" Visible="false" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD width="35%">
                                                                                                                                                                                                                                          <asp:textbox id="Textbox1" Width="100%" Runat="server" Text="" BorderStyle="solid" BorderWidth="1px"
                                                                                                                                                                                                                                                BorderColor="gray" ReadOnly="true" Visible="false"></asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD width="35%">
                                                                                                                                                                                                                                          <asp:textbox id="txtBrIDr" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_BRid_r") %>' ReadOnly="true" BackColor="Gainsboro" Visible="false">
                                                                                                                                                                                                                                          </asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <TD align="right" width="30%">
                                                                                                                                                                                                                                          <asp:label id="lblRDBrID" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" Visible="false"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD width="35%">
                                                                                                                                                                                                                                          <asp:textbox id="Textbox2" Width="100%" Runat="server" Text="" BorderStyle="solid" BorderWidth="1px"
                                                                                                                                                                                                                                                BorderColor="gray" ReadOnly="true" Visible="false"></asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD width="35%">
                                                                                                                                                                                                                                          <asp:textbox id="txtRDBrIDr" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_RDBR_ID_R") %>' ReadOnly="True" BackColor="Gainsboro" Visible="false">
                                                                                                                                                                                                                                          </asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblBankNamer" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                                                                text="Bank Name:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtBankName" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_BName") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true">
                                                                                                                                                                                                                                          </asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtBankNamer" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_BName_r") %>' ReadOnly="true" BackColor="Gainsboro">
                                                                                                                                                                                                                                          </asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblBrNamer" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Branch Name:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtBrName" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_BBRName") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true">
                                                                                                                                                                                                                                          </asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtBrNamer" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_BBRName_r") %>' ReadOnly="true" BackColor="Gainsboro">
                                                                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblBankNumr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Bank Number:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="Textbox5" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_BNum") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true">
                                                                                                                                                                                                                                          </asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtBankNumr" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_BNum_r") %>' ReadOnly="true" BackColor="Gainsboro">
                                                                                                                                                                                                                                          </asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblBrNumr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Branch/ABA Number:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="Textbox6" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_BBRNum") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true">
                                                                                                                                                                                                                                          </asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtBrNumr" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_BBRNum_r") %>' ReadOnly="true" BackColor="Gainsboro">
                                                                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right" valign="top">
                                                                                                                                                                                                                                          <asp:label id="lblFreeTextr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                                                                text="Misc Bank Details:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="Textbox7" Width="100%" TextMode="MultiLine" Height="125" Runat="server" Text=""
                                                                                                                                                                                                                                                BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true"></asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                          <asp:textbox id="txtFreeTextr" TextMode="MultiLine" Height="125" Width="100%" Runat="server" ReadOnly="false" Text='<%#DataBinder.Eval(Container.DataItem,"o_FreeText_r") %>' BackColor="White">
                                                                                                                                                                                                                                          </asp:textbox>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblBRTyper" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Branch Type:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="Textbox8" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_BRType") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true">
                                                                                                                                                                                                                                          </asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtBRTyper" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_BRType_r") %>' ReadOnly="true" BackColor="Gainsboro">
                                                                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblSwift" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Swift Code:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="Textbox9" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_Swift") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true">
                                                                                                                                                                                                                                          </asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtSwiftr" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_Swift_r") %>' ReadOnly="true" BackColor="Gainsboro">
                                                                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblBANamer" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Name of Beneficiary:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtBAName" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_BAName") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true">
                                                                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtBANamer" BackColor=Gainsboro ReadOnly=true Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_BAName_r") %>' >
                                                                                                                                                                                                                                          </asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                          <asp:CustomValidator ID="custVal" ControlToValidate="txtBANumber" ErrorMessage="test" OnServerValidate="ServerValidate"></asp:CustomValidator>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                          <asp:label id="lblBANumErr" Visible="False" Width="100%" ForeColor="Red" Font-Name="Verdana"
                                                                                                                                                                                                                                                Font-Size="9" Runat="server" text="Invalid 3"></asp:label>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblBANumr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="1.Bank Account Number:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD id="tdBACNum">
                                                                                                                                                                                                                                          <asp:textbox id="txtBANum" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_BANum") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true">
                                                                                                                                                                                                                                          </asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <td id="tdBACNumr">
                                                                                                                                                                                                                                          <asp:textbox CssClass="hidden" id="txtBANumr" BackColor=Gainsboro Width="100%" ReadOnly="true" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_BANum_r") %>' >
                                                                                                                                                                                                                                          </asp:textbox>
                                                                                                                                                                                                                                          <input id="txtBACNumDummy" type="text" width="100%" value='' onblur="updateTaxRegNum(this.value, this.parentNode);" />
                                                                                                                                                                                                                                          <!-- modified/added by Cyrene V. Jacob for the masking requirement.-->
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <!-- added javascript by Cyrene V. Jacob for the masking project -->
                                                                                                                                                                                                                                    <script type="text/javascript">loadNum(document.getElementById("tdBACNumr"), "BACNum"); maskBACNum(document.getElementById("txtBACNumDummy"), document.getElementById("tdBACNumr"));maskNum(document.getElementById("tdBACNum"));</script>
                                                                                                                                                                                                                                    <!-- added by Cyrene V. Jacob on 14th April 2009 against #PVLW-7JURA9 raised by Sylwia Stalska-->
                                                                                                                                                                                                                                    <asp:RequiredFieldValidator ID="bACNumVal" runat="server" ErrorMessage="SMF Validation Error:: Bank Account Number is a Required field."
                                                                                                                                                                                                                                          ControlToValidate="txtBANumr"></asp:RequiredFieldValidator>
                                                                                                                                                                                                                                    <!--Required field validator added by Cyrene V. Jacob - June 29 2009 -->
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <tr height="20" valign="bottom">
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td colspan="2" align="left"><font color="Maroon" size="2">(Please include the country
                                                                                                                                                                                                                                                code at the beginning and enter without spaces)</font>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                          <asp:label id="lblIBANErr" Visible="False" Width="100%" ForeColor="Red" Font-Name="Verdana"
                                                                                                                                                                                                                                                Font-Size="9" Runat="server" text="Invalid IBAN Number"></asp:label>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblIBANr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="IBAN Number:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtIBAN" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_IBAN") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true">
                                                                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtIBANr" BackColor=Gainsboro ReadOnly=true Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_IBAN_r") %>' >
                                                                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblPriFlagr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Primary:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:checkbox id="chkPriFlag" Enabled="False" Runat="server"></asp:checkbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:checkbox id="chkPriFlagr" Runat="server"></asp:checkbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblInactivater" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                                                                text="Inactivate Bank Account:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:checkbox id="chkInactivate" Enabled="False" Visible="FALSE" Runat="server"></asp:checkbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:checkbox id="chkInactivater" Runat="server"></asp:checkbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblReactivater" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                                                                text="Re-Activate Bank Account:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:checkbox id="chkReactivate" Enabled="False" Visible="FALSE" Runat="server"></asp:checkbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:checkbox id="chkReactivater" Runat="server"></asp:checkbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <tr height="20" valign="bottom">
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td colspan="2" align="left"><font color="Maroon" size="2">(Check Digit is required for
                                                                                                                                                                                                                                                Spain, Portugal and France)</font>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                          <asp:label id="lblChkDigErr" Visible="False" Width="100%" ForeColor="Red" Font-Name="Verdana"
                                                                                                                                                                                                                                                Font-Size="9" Runat="server" text="Invalid Check Digit"></asp:label>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblChkDigitr" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                                                                text="Check Digit:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtChkDigit" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_ChkDigit") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true">
                                                                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtChkDigitr" BackColor=Gainsboro ReadOnly=true Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_ChkDigit_r") %>' >
                                                                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                        </TABLE>
                                                                                                                                                                                                                  </asp:Panel>
                                                                                                                                                                                                            </TD>
                                                                                                                                                                                                      </tr>
                                                                                                                                                                                                </TABLE>
                                                                                                                                                                                          </asp:Panel>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD width="100%" colSpan="3">
                                                                                                                                                                                          <HR>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right" width="100%" colSpan="3" height="50" valign="middle">
                                                                                                                                                                                          <asp:Button id="btnSaveBankChange" CausesValidation="true" Width="200px" Runat="server" BackColor="DarkKhaki"
                                                                                                                                                                                                ForeColor="White" Font-Bold="True" Font-Size="9" Text="Save Bank Account Changes" Font-Names="Verdana"></asp:Button>&nbsp;&nbsp;
                                                                                                                                                                                          <asp:Button id="btnCancelBankChanges" CausesValidation="False" Width="200px" Runat="server"
                                                                                                                                                                                                BackColor="DarkKhaki" ForeColor="White" Font-Bold="True" Font-Size="9" Text="Cancel Bank Account Changes"
                                                                                                                                                                                                Font-Names="Verdana"></asp:Button>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                        </TABLE>
                                                                                                                                                                  </EditItemTemplate>
                                                                                                                                                                  <FooterTemplate>
                                                                                                                                                                        <a name="NewBankAcct"></a>
                                                                                                                                                                        <TABLE cellSpacing="4" cellPadding="0" width="100%" border="0" bgcolor="SteelBlue" style="FONT-WEIGHT: bold; COLOR: white">
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; FONT-STYLE: italic; HEIGHT: 25px" vAlign="bottom"
                                                                                                                                                                                          width="100%" colSpan="2">New Bank Accounts Information:
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td colSpan="2" width="100%">
                                                                                                                                                                                          <asp:label id="lblErrGeneralI" Font-Name="Verdana" Font-Size="9" Runat="server" ForeColor="#ffff66"></asp:label>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD width="100%" colSpan="2">
                                                                                                                                                                                          <HR>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td></td>
                                                                                                                                                                                    <td>
                                                                                                                                                                                          <asp:CompareValidator ID="cvBankCountryI" Runat="server" ControlToValidate="drpBankCountryrI" Type="String"
                                                                                                                                                                                                Operator="NotEqual" ValueToCompare="NONE" ErrorMessage="<font color=#ffff66 size=2>You MUST select a 'Country of Bank'!</font>"
                                                                                                                                                                                                Display="None"></asp:CompareValidator>
                                                                                                                                                                                          <asp:label id="lblBCtryMsg" Width="100%" ForeColor="LightCyan" Font-Name="Verdana" Font-Size="9"
                                                                                                                                                                                                Runat="server" text="(You MUST select a Country of Bank)"></asp:label>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <TD align="right" width="30%">
                                                                                                                                                                                          <asp:label id="lblBankCountryI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                text="Please select Country of Bank:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD width="70%">
                                                                                                                                                                                          <asp:DropDownList ID="drpBankCountryrI" AutoPostBack=true Runat="server" Width="50%" DataSource='<%# BindDropDownList("RetrieveBankCountries") %>' DataValueField="territory_code" DataTextField="territory_short_name">
                                                                                                                                                                                          </asp:DropDownList>
                                                                                                                                                                                          <asp:label id="lblErrBankCountryI" Font-Name="Verdana" Font-Size="9" Runat="server" ForeColor="#ffff66"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td>
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td>
                                                                                                                                                                                          <asp:CompareValidator ID="cvBankCurrI" Runat="server" ControlToValidate="drpBankCurrI" Type="String" Operator="NotEqual"
                                                                                                                                                                                                ValueToCompare="NONE" ErrorMessage="<font color=#ffff66 size=2>You MUST select a 'Bank Account Currency'!</font>"
                                                                                                                                                                                                Display="NONE"></asp:CompareValidator>
                                                                                                                                                                                          <asp:label id="lblBACurrMsg" Width="100%" ForeColor="LightCyan" Font-Name="Verdana" Font-Size="9"
                                                                                                                                                                                                Runat="server" text="(You MUST select a Bank Account Currency)"></asp:label>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblBankCurI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Bank Account Currency:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:DropDownList ID="drpBankCurrI" AutoPostBack=True Runat="server" Width="50%" DataSource='<%# BindDropDownList("RetrieveCurrencyCode") %>' DataValueField="CURRVALUE" DataTextField="CURRTEXT">
                                                                                                                                                                                          </asp:DropDownList>
                                                                                                                                                                                          <asp:label id="lblErrBankCurI" Font-Name="Verdana" Font-Size="9" Runat="server" ForeColor="#ffff66"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td colspan="2" height="15">
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td>
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td>
                                                                                                                                                                                          <asp:Button ID="btnBankEntry" ForeColor="Navy" Font-Bold="True" BackColor="Lavender" CommandName="EnterBank"
                                                                                                                                                                                                Runat="server" width="50%" Text="Click to Enter Banking Information"></asp:Button>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td colspan="2" height="15">
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td colspan="2" width="100%">
                                                                                                                                                                                          <asp:Panel ID="pnlBankInfo" Width="100%" Visible="False" Runat="server">
                                                                                                                                                                                                <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0" bgcolor="SteelBlue" style="FONT-WEIGHT: bold; COLOR: white">
                                                                                                                                                                                                      <tr>
                                                                                                                                                                                                            <td colspan="2" width="100%"><hr>
                                                                                                                                                                                                            </td>
                                                                                                                                                                                                      </tr>
                                                                                                                                                                                                      <tr>
                                                                                                                                                                                                            <td colspan="2" width="100%" align="center">
                                                                                                                                                                                                                  <asp:label id="lblEnterBankInfo" Width="100%" ForeColor="LightCyan" Font-Name="Verdana" Font-Size="10"
                                                                                                                                                                                                                        Runat="server" text="Please enter Bank/Branch information for this Bank Account:"></asp:label>
                                                                                                                                                                                                                  <asp:Linkbutton id="lnkAddBank" Visible="false" Runat="server" Font-Size="9" Font-Bold="True" CommandName="AddBankNew"
                                                                                                                                                                                                                        Font-Names="Verdana" Text="Add New Bank"></asp:Linkbutton>
                                                                                                                                                                                                                  <asp:Linkbutton id="LnkBankList" Visible="false" Runat="server" Font-Size="9" Font-Bold="True" CommandName="BankListNew"
                                                                                                                                                                                                                        Font-Names="Verdana" Text="Bank List"></asp:Linkbutton>
                                                                                                                                                                                                            </td>
                                                                                                                                                                                                      </tr>
                                                                                                                                                                                                      <TR>
                                                                                                                                                                                                            <TD colspan="2" align="center">
                                                                                                                                                                                                                  <asp:Panel ID="pnlBankList" Width="100%" Runat="server" Visible="false">
                                                                                                                                                                                                                        <TABLE cellSpacing="0" cellPadding="0" width="98%" border="0" style="FONT-WEIGHT: bold; COLOR: white">
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td colspan="3" height="25">
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td width="15%" align="left">
                                                                                                                                                                                                                                          <asp:label id="RecordCount" runat="server" Font-Name="verdana" Font-Bold="True" Font-Size="9" />
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td width="60%">
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td width="25%" align="right">
                                                                                                                                                                                                                                          <asp:Label id="lblPageCount" runat="server" Font-Name="verdana" Font-Bold="True" Font-Size="9" />
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td align="center" colspan="3">
                                                                                                                                                                                                                                          <asp:datagrid id="dgrdBanks" runat="server" Width="100%" Font-Size="7" BorderStyle="Solid" BorderColor="lightgrey"
                                                                                                                                                                                                                                                AutoGenerateColumns="false" AllowPaging="True" AllowCustomPaging="False" PagerStyle-Visible="False"
                                                                                                                                                                                                                                                ShowFooter="false" ShowHeader="true" Datakeyfield="Bank_Branch_ID" HeaderStyle-ForeColor="White"
                                                                                                                                                                                                                                                SelectedItemStyle-BackColor="DarkKhaki" SelectedItemStyle-Font-Bold="True" SelectedItemStyle-ForeColor="White"
                                                                                                                                                                                                                                                HeaderStyle-BackColor="SteelBlue" HeaderStyle-Font-Bold="true" BorderWidth="2">
                                                                                                                                                                                                                                                <AlternatingItemStyle BackColor="lavender"></AlternatingItemStyle>
                                                                                                                                                                                                                                                <ItemStyle BackColor="White" Font-Names="verdana" Font-Size="7" Width="100"></ItemStyle>
                                                                                                                                                                                                                                                <Columns>
                                                                                                                                                                                                                                                      <asp:TemplateColumn>
                                                                                                                                                                                                                                                            <HeaderTemplate>
                                                                                                                                                                                                                                                                  Bank Name
                                                                                                                                                                                                                                                            </HeaderTemplate>
                                                                                                                                                                                                                                                            <ItemTemplate>
                                                                                                                                                                                                                                                                  <asp:LinkButton CommandName="BankName" Text='<%# DataBinder.Eval(Container.DataItem, "Bank_Name")%>' runat=server ID="Linkbutton1"/>
                                                                                                                                                                                                                                                            </ItemTemplate>
                                                                                                                                                                                                                                                      </asp:TemplateColumn>
                                                                                                                                                                                                                                                      <asp:BoundColumn DataField="Bank_Branch_ID" HeaderText="Bank_Branch_ID" Visible="false"></asp:BoundColumn>
                                                                                                                                                                                                                                                      <asp:BoundColumn DataField="Bank_Name" HeaderText="Bank Name" Visible="false"></asp:BoundColumn>
                                                                                                                                                                                                                                                      <asp:BoundColumn DataField="Bank_Number" HeaderText="Bank Number" Visible="true"></asp:BoundColumn>
                                                                                                                                                                                                                                                      <asp:BoundColumn DataField="Branch_Name" HeaderText="Branch Name" Visible="true"></asp:BoundColumn>
                                                                                                                                                                                                                                                      <asp:BoundColumn DataField="Branch_Number" HeaderText="Branch/ABA Number" Visible="true"></asp:BoundColumn>
                                                                                                                                                                                                                                                      <asp:BoundColumn DataField="Branch_Type" HeaderText="Branch Type" Visible="true"></asp:BoundColumn>
                                                                                                                                                                                                                                                      <asp:BoundColumn DataField="Swift_Code" HeaderText="Swift Code" Visible="true"></asp:BoundColumn>
                                                                                                                                                                                                                                                </Columns>
                                                                                                                                                                                                                                          </asp:datagrid>
                                                                                                                                                                                                                                          <asp:linkbutton Font-Size="9" Font-Bold="True" Font-Name="verdana" id="Firstbutton" Text="<< 1st Page"
                                                                                                                                                                                                                                                CommandName="0" runat="server" />
                                                                                                                                                                                                                                          <asp:linkbutton Font-Size="9" Font-Bold="True" Font-Name="verdana" id="Prevbutton" Text="" CommandName="prev"
                                                                                                                                                                                                                                                runat="server" />
                                                                                                                                                                                                                                          &nbsp;&nbsp;
                                                                                                                                                                                                                                          <asp:linkbutton Font-Size="9" Font-Bold="True" Font-Name="verdana" id="Nextbutton" Text="" CommandName="next"
                                                                                                                                                                                                                                                runat="server" />
                                                                                                                                                                                                                                          <asp:linkbutton Font-Size="9" Font-Bold="True" Font-Name="verdana" id="Lastbutton" Text="Last Page >>"
                                                                                                                                                                                                                                                CommandName="last" runat="server" />
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td colspan="2" height="15"></td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td width="15%" style="FONT-WEIGHT: bold; FONT-SIZE: 9pt; COLOR: white; FONT-FAMILY: verdana"
                                                                                                                                                                                                                                          align="right">Search for a Bank:</td>
                                                                                                                                                                                                                                    <td width="60%" align="left">
                                                                                                                                                                                                                                          <asp:textbox id="txtBankSearchI" Width="98%" Runat="server"></asp:textbox>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td width="25%" align="left">
                                                                                                                                                                                                                                          <asp:Button ID="btnBSearchI" CommandName="BankSearchI" Runat="server" Width="100" Text="Search"
                                                                                                                                                                                                                                                BackColor="lavender" ForeColor="Navy" Font-Bold="True"></asp:Button>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td colspan="3" height="15"></td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td colspan="3" width="100%"><hr>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                        </TABLE>
                                                                                                                                                                                                                  </asp:Panel>
                                                                                                                                                                                                            </TD>
                                                                                                                                                                                                      </TR>
                                                                                                                                                                                                      <tr>
                                                                                                                                                                                                            <TD colspan="2">
                                                                                                                                                                                                                  <asp:Panel ID="pnlBankFields" Width="100%" Runat="server" Visible="false">
                                                                                                                                                                                                                        <TABLE cellSpacing="4" cellPadding="0" width="100%" border="0" style="FONT-WEIGHT: bold; COLOR: white">
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right" width="15%">
                                                                                                                                                                                                                                          <asp:label id="lblBrIDI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" Visible="false"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD width="35%">
                                                                                                                                                                                                                                          <asp:textbox id="txtBrIDI" Width="50%" Runat="server" ReadOnly="True" BackColor="Gainsboro" Visible="false"></asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD align="right" width="15%">
                                                                                                                                                                                                                                          <asp:label id="lblBrIDrI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" Visible="false"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD width="35%">
                                                                                                                                                                                                                                          <asp:textbox id="txtBrIDrI" Width="50%" Runat="server" ReadOnly="true" BackColor="Gainsboro"
                                                                                                                                                                                                                                                Visible="false"></asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td colspan="4">
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblBankNameI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                                                                text="Bank Name:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtBankNamerI" Width="75%" Runat="server" ReadOnly="True" BackColor="Gainsboro"></asp:textbox>
                                                                                                                                                                                                                                          <asp:label id="lblErrBNameI" Font-Name="Verdana" Font-Size="9" Runat="server" ForeColor="#ffff66"></asp:label></TD>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblBrNameI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Branch Name:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtBrNamerI" Width="75%" Runat="server" ReadOnly="True" BackColor="Gainsboro"></asp:textbox>
                                                                                                                                                                                                                                          <asp:label id="lblErrBRNameI" Font-Name="Verdana" Font-Size="9" Runat="server" ForeColor="#ffff66"></asp:label></TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblBankNumI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Bank Number:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtBankNumrI" Width="75%" Runat="server" ReadOnly="True" BackColor="Gainsboro"></asp:textbox>
                                                                                                                                                                                                                                          <asp:label id="lblErrBankNumI" Font-Name="Verdana" Font-Size="9" Runat="server" ForeColor="#ffff66"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblBrNumI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Branch/ABA Number:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtBrNumrI" Width="75%" Runat="server" ReadOnly="True" BackColor="Gainsboro"></asp:textbox>
                                                                                                                                                                                                                                          <asp:label id="lblErrBrBNumI" Font-Name="Verdana" Font-Size="9" Runat="server" ForeColor="#ffff66"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right" valign="top">
                                                                                                                                                                                                                                          <asp:label id="lblFreeTextI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                                                                text="Misc Bank Details:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                          <asp:textbox id="txtFreeTextI" TextMode="MultiLine" Height="125" Width="100%" Runat="server"
                                                                                                                                                                                                                                                ReadOnly="false" BackColor="White"></asp:textbox>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td colspan="2" valign="top">
                                                                                                                                                                                                                                          <table cellSpacing="4" cellPadding="0" width="100%" border="0" style="FONT-WEIGHT: bold; COLOR: white">
                                                                                                                                                                                                                                                <tr>
                                                                                                                                                                                                                                                      <TD align="right" width="30%">
                                                                                                                                                                                                                                                            <asp:label id="lblBrTypeI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Branch Type:"></asp:label>
                                                                                                                                                                                                                                                      </TD>
                                                                                                                                                                                                                                                      <TD width="70%">
                                                                                                                                                                                                                                                            <asp:textbox id="txtBrTyperI" Width="75%" Runat="server" ReadOnly="True" BackColor="Gainsboro"></asp:textbox>
                                                                                                                                                                                                                                                            <asp:label id="lblErrBrTypeI" Font-Name="Verdana" Font-Size="9" Runat="server" ForeColor="#ffff66"></asp:label>
                                                                                                                                                                                                                                                      </TD>
                                                                                                                                                                                                                                                </tr>
                                                                                                                                                                                                                                                <tr>
                                                                                                                                                                                                                                                      <TD align="right" rowspan="4" valign="top">
                                                                                                                                                                                                                                                            <asp:label id="lblSwiftI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Swift Code:"></asp:label>
                                                                                                                                                                                                                                                      </TD>
                                                                                                                                                                                                                                                      <TD rowspan="4" valign="top">
                                                                                                                                                                                                                                                            <asp:textbox id="txtSwiftrI" Width="75%" Runat="server" ReadOnly="True" BackColor="Gainsboro"></asp:textbox>
                                                                                                                                                                                                                                                            <asp:label id="lblErrSwiftI" Font-Name="Verdana" Font-Size="9" Runat="server" ForeColor="#ffff66"></asp:label>
                                                                                                                                                                                                                                                      </TD>
                                                                                                                                                                                                                                                </tr>
                                                                                                                                                                                                                                          </table>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td colspan="4" height="15">
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblBANameI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Name of Beneficiary:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtBANamerI" Width="100%" Runat="server"></asp:textbox>
                                                                                                                                                                                                                                          <asp:label id="lblErrBANameI" Font-Name="Verdana" Font-Size="9" Runat="server" ForeColor="#ffff66"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblPriFlagI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Primary:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:checkbox id="chkPriFlagrI" Runat="server" Checked="true"></asp:checkbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td colspan="3">
                                                                                                                                                                                                                                          <asp:label id="lblErrBANumI" Font-Name="Verdana" Font-Size="9" Runat="server" ForeColor="#ffff66"></asp:label>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <FONT style="FONT-WEIGHT: bold" color="#ffff66">Required -&nbsp;</FONT>
                                                                                                                                                                                                                                          <asp:label id="lblBANumI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Account Number:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD id="tdBACNumrI" colspan="3">
                                                                                                                                                                                                                                          <asp:textbox id="txtBANumrI" Width="75%" Runat="server"></asp:textbox>
                                                                                                                                                                                                                                          <!-- added by Cyrene V. Jacob on 14th April 2009 against #PVLW-7JURA9 raised by Sylwia Stalska-->
                                                                                                                                                                                                                                          <asp:RequiredFieldValidator ID="bACNumVal" runat="server" ErrorMessage="Bank Account Number is a Required field."
                                                                                                                                                                                                                                                ControlToValidate="txtBANumrI"></asp:RequiredFieldValidator>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <tr height="20" valign="bottom">
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td colspan="3" align="left"><font color="#ffff66" size="2">(Please include the country
                                                                                                                                                                                                                                                code at the beginning and enter without spaces)</font>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td colspan="3">
                                                                                                                                                                                                                                          <asp:label id="lblErrIBANI" Font-Name="Verdana" Font-Size="9" Runat="server" ForeColor="#ffff66"></asp:label>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblIBANI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="IBAN Number:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD colspan="3">
                                                                                                                                                                                                                                          <asp:textbox id="txtIBANrI" Width="50%" Runat="server"></asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <tr height="25" valign="bottom">
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD colspan="3"><font color="#ffff66" size="2">(Check Digit is required for Spain,
                                                                                                                                                                                                                                                Portugal and France)</font>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblChkDigitI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                                                                text="Check Digit:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD colspan="3">
                                                                                                                                                                                                                                          <asp:textbox id="txtChkDigitrI" Width="75%" Runat="server"></asp:textbox>
                                                                                                                                                                                                                                          <asp:label id="lblErrChkDigitI" Font-Name="Verdana" Font-Size="9" Runat="server" ForeColor="#ffff66"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                        </TABLE>
                                                                                                                                                                                                                  </asp:Panel>
                                                                                                                                                                                                            </TD>
                                                                                                                                                                                                      </tr>
                                                                                                                                                                                                </TABLE>
                                                                                                                                                                                          </asp:Panel>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD width="100%" colSpan="2">
                                                                                                                                                                                          <HR>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right" width="100%" colSpan="6" height="50" valign="middle">
                                                                                                                                                                                          <asp:Button id="btnAddNewBankAcct" Font-Size="9" CommandName="Insert" Width="200px" Runat="server"
                                                                                                                                                                                                BackColor="lavender" ForeColor="Navy" Font-Bold="True" Text="Save Bank Account Changes"
                                                                                                                                                                                                CausesValidation="True" Font-Names="Verdana"></asp:Button>&nbsp;&nbsp;
                                                                                                                                                                                          <asp:Button id="btnCancelNewBankAcct" Font-Size="9" CommandName="Cancel" CausesValidation="False"
                                                                                                                                                                                                Width="200px" Runat="server" BackColor="lavender" ForeColor="Navy" Font-Bold="True" Text="Cancel Bank Account Changes"
                                                                                                                                                                                                Font-Names="Verdana"></asp:Button>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                        </TABLE>
                                                                                                                                                                  </FooterTemplate>
                                                                                                                                                            </asp:TemplateColumn>
                                                                                                                                                            <asp:BoundColumn DataField="o_Enddate" Visible="false"></asp:BoundColumn>
                                                                                                                                                            <asp:BoundColumn DataField="o_BPriFlg_r" Visible="false"></asp:BoundColumn>
                                                                                                                                                            <asp:BoundColumn DataField="o_BPriFlg" Visible="false"></asp:BoundColumn>
                                                                                                                                                            <asp:BoundColumn DataField="o_BACur_r" Visible="false"></asp:BoundColumn>
                                                                                                                                                            <asp:BoundColumn DataField="o_BACur" Visible="false"></asp:BoundColumn>
                                                                                                                                                      </Columns>
                                                                                                                                                </asp:datagrid>
                                                                                                                                          </TD>
                                                                                                                                    </TR>
                                                                                                                              </table>
                                                                                                                        </asp:Panel>
                                                                                                                  </td>
                                                                                                            </tr>
                                                                                                            <TR>
                                                                                                                  <TD width="100%" colSpan="3">
                                                                                                                        <HR>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                      </TABLE>
                                                                                                </EditItemTemplate>
                                                                                                <FooterTemplate>
                                                                                                      <a name="NewSite"></a>
                                                                                                      <TABLE cellSpacing="4" cellPadding="0" width="100%" border="0" bgcolor="#6699cc" style="BORDER-RIGHT: 3px inset; BORDER-TOP: 3px inset; FONT-WEIGHT: bold; BORDER-LEFT: 3px inset; COLOR: white">
                                                                                                            <TR>
                                                                                                                  <TD style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; FONT-STYLE: italic; HEIGHT: 25px" vAlign="bottom"
                                                                                                                        width="100%" colSpan="2">New Supplier Sites Information:
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD width="100%" colSpan="6">
                                                                                                                        <asp:textbox Width="100%" id="txtNewSiteGenErrMsg" Font-Name="Verdana" Font-Size="9" BorderStyle="None"
                                                                                                                              Visible="False" BackColor="Red" Runat="server" ForeColor="#ffff66" Font-Bold="True"></asp:textbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD width="100%" colSpan="6">
                                                                                                                        <HR>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <tr>
                                                                                                                  <td width="25%"></td>
                                                                                                                  <td colspan="5" width="75%">
                                                                                                                        <asp:textbox id="txtRVSID" Runat="server" Width="50%" Visible="false"></asp:textbox>
                                                                                                                  </td>
                                                                                                            </tr>
                                                                                                            <tr>
                                                                                                                  <td width="25%"></td>
                                                                                                                  <td colspan="5" width="75%">
                                                                                                                        <asp:CompareValidator ID="cvEntityI" Runat="server" ControlToValidate="drpEntityI" Type="String" Operator="NotEqual"
                                                                                                                              ValueToCompare="-1" ErrorMessage="<font color=#ffff66 size=2>You MUST select an 'Entity'!</font>"
                                                                                                                              Display="Dynamic"></asp:CompareValidator>
                                                                                                                  </td>
                                                                                                            </tr>
                                                                                                            <TR>
                                                                                                                  <!-- Modified by Cyrene V. Jacob 80357 -->
                                                                                                                  <TD align="right" width="25%">
                                                                                                                        <asp:label id="lblEntityI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Entity of Site:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD width="75%" colspan="5">
                                                                                                                        <asp:DropDownList ID="drpEntityI" Runat="server" Width="50%" DataSource='<%# BindDropDownListByOU("RetrieveEntityByOU") %>' DataValueField="SEG1" DataTextField="ENTITY_NAME">
                                                                                                                        </asp:DropDownList>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <tr>
                                                                                                                  <td>
                                                                                                                  </td>
                                                                                                                  <td colspan="5">
                                                                                                                        <asp:RequiredFieldValidator ControlToValidate="txtNamerI" ErrorMessage="<font color=#ffff66 size=2>You MUST enter a Site Name!</font>"
                                                                                                                              Display="Dynamic" runat="server" ID="rfvSiteName" /></td>
                                                                                                            </tr>
                                                                                                            <TR>
                                                                                                                  <TD align="right" width="25%">
                                                                                                                        <asp:label id="lblSiteNameI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                              text="Site Name:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD width="75%" colspan="5">
                                                                                                                        <asp:textbox id="txtNamerI" MaxLength=15 Runat="server" Width="50%" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSName_r") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblAddr1I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Address1:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD colspan="5">
                                                                                                                        <asp:textbox id="txtAddr1rI" Runat="server" Width="50%" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSAddr1_r") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblAddr2I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Address2:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD colspan="5">
                                                                                                                        <asp:textbox id="txtAddr2rI" Runat="server" Width="50%" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSAddr2_r") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblAddr3I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Address3:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD colspan="5">
                                                                                                                        <asp:textbox id="txtAddr3rI" Runat="server" Width="50%" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSAddr3_r") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblAddr4I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Address4:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD colspan="5">
                                                                                                                        <asp:textbox id="txtAddr4rI" Runat="server" Width="50%" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSAddr4_r") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblCityI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="City:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD width="20%">
                                                                                                                        <asp:textbox id="txtCityrI" Runat="server" Width="100%" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSCity_r") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblStateI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="State:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD>
                                                                                                                        <asp:textbox id="txtStaterI" Runat="server" Width="100%" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSState_r") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                                  <td></td>
                                                                                                                  <td></td>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblProvinceI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                              text="Province:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD width="15%">
                                                                                                                        <asp:textbox id="txtProvincerI" Runat="server" Width="100%" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSProvince_r") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblZipI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Postal Code:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD width="15%">
                                                                                                                        <asp:textbox id="txtZiprI" Runat="server" Width="100%" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSZip_r") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                                  <td></td>
                                                                                                                  <td></td>
                                                                                                            </TR>
                                                                                                            <!-- Modified by Cyrene V. Jacob for the AWT project. Country in question -->
                                                                                                            <tr id="trCountry">
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblCountryI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Country:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD colspan="5">
                                                                                                                        <asp:DropDownList ID="drpCountryrI" Runat="server" Width="50%" EnableViewState="True" DataSource='<%# BindDropDownList("RetrieveCountries") %>' DataValueField="territory_code" DataTextField="territory_short_name">
                                                                                                                        </asp:DropDownList>
                                                                                                                  </TD>
                                                                                                            </tr>
                                                                                                            <script language="javascript" type="text/javascript">
                                                                                                            
                                                                                                            //added by Cyrene V. Jacob for the AWT project...
                                                                                                            //get the ID of the DDL
                                                                                                            /*
                                                                                                            var trCountry = document.getElementById("trCountry");
                                                                                                            //the country select element and OU...global variables
                                                                                                            _selElCountry = trCountry.childNodes[1].childNodes[0];
                                                                                                            _oid = getQueryStr('oid');
                                                                                                            
                                                                                                            //add a script at clientside for this...
                                                                                                            _selElCountry.onchange=function(){
                                                                                                                //global variables _selCountry and _oid
                                                                                                                  _selCountry = _selElCountry.options[_selElCountry.selectedIndex].value;
                                                                                                                  
                                                                                                                  //alert(selCountry + " " + oid);
                                                                                                                  setAWTFlag(_selCountry, _oid, "0");
                                                                                                                  
                                                                                                            }
                                                                                                            //disable the AWT checkbox
                                                                                                            //and the Tax option DDL
                                                                                                            */
                                                                                                            </script>
                                                                                                            <tr>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblFaxAreaI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Fax Area Code:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD colspan="5">
                                                                                                                        <asp:textbox id="txtFaxArearI" Runat="server" Width="10%" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSFaxArea_r") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                            </tr>
                                                                                                            <tr>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblFaxNumI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Fax Number:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD colspan="5">
                                                                                                                        <asp:textbox id="txtFaxNumrI" Runat="server" Width="26%" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSFax_r") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                            </tr>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                  </TD>
                                                                                                                  <TD colspan="5">
                                                                                                                        <asp:CustomValidator runat="server" id="custPOPayCheck" ControlToValidate="drpOffTaxNamerI" ClientValidationFunction="POPayIsCheck"
                                                                                                                              Display="Dynamic" ErrorMessage="<font color=#ffff66 size=2>You MUST choose at least one: (Pay Site) or (Purchasing Site)!</font>"></asp:CustomValidator>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblPOSiteI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Purchasing Site:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD align="left" colspan="5">
                                                                                                                        <asp:checkbox id="chkPOSiterI" AutoPostBack="true" Runat="server"></asp:checkbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblPaySiteI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Pay Site:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD align="left" colspan="5">
                                                                                                                        <asp:checkbox id="chkPaySiterI" AutoPostBack="true" Runat="server"></asp:checkbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblDistSetI" Visible="False" Width="100%" Font-Name="Verdana" Font-Size="9"
                                                                                                                              Runat="server" text="Distribution Set:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD colspan="5">
                                                                                                                        <asp:DropDownList ID="drpDistSetrI" Visible=False Runat="server" Width="50%" DataSource='<%# BindDropDownListByOU("RetrieveDistributionSet") %>' DataValueField="dsID" DataTextField="dsName">
                                                                                                                        </asp:DropDownList>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblLiabilityAcctI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                              text="Liability Account:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD colspan="3">
                                                                                                                        <asp:textbox id="txtLiabilityAcctrI" BackColor=Gainsboro ReadOnly=true Runat="server" Width="100%" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSLiabilityAcct_r") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblPrePayAcctI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                              text="PrePayment Account:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD colspan="3">
                                                                                                                        <asp:textbox id="txtPrePayAcctrI" BackColor=Gainsboro ReadOnly=true Runat="server" Width="100%" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSPrePayAcct_r") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblTaxNameI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Invoice Tax Name:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD colspan="2">
                                                                                                                        <asp:DropDownList ID="drpTaxNamerI" AutoPostBack=True Runat="server" Width="100%" DataSource='<%# BindDropDownList4TaxName("RetrieveTaxName","VAT") %>' DataValueField="taxName" DataTextField="taxName2">
                                                                                                                        </asp:DropDownList></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                  </TD>
                                                                                                                  <TD colspan="2">
                                                                                                                        <asp:CustomValidator runat="server" id="custCheckIsEU" ControlToValidate="drpOffTaxNamerI" ClientValidationFunction="CheckIsEU"
                                                                                                                              Display="Dynamic" ErrorMessage="<font color=#ffff66 size=2>You MUST select an 'OffSet Tax!</font>"></asp:CustomValidator>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblOffTaxNameI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                              text="Offset Tax Name:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD colspan="2">
                                                                                                                        <asp:DropDownList ID="drpOffTaxNamerI" AutoPostBack=true Runat="server" Width="100%" DataSource='<%# BindDropDownList4TaxName("RetrieveTaxName","OFFSET") %>' DataValueField="taxName" DataTextField="taxName2">
                                                                                                                        </asp:DropDownList></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblRegNumI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Tax Registration Number:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD colspan="2">
                                                                                                                        <asp:textbox id="txtRegNumrI" Runat="server" Width="100%" Text='<%#DataBinder.Eval(Container.DataItem,"o_VSVatReg_r") %>'>
                                                                                                                        </asp:textbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblTaxRptI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Tax Reporting Site+:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD align="left" colspan="5">
                                                                                                                        <asp:checkbox id="chkTaxRptI" Runat="server" Checked="true"></asp:checkbox></TD>
                                                                                                            </TR>
                                                                                                            <!--      Modified by Cyrene V. Jacob            -->
                                                                                                            <!--      for the AWT project      'Add' a Site      -->
                                                                                                            <TR>
                                                                                                                  <TD id="tdAWTlbl" align="right">
                                                                                                                        <asp:label id="lblAllowAWTI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                              text="Allow WithHolding Tax:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD id="tdAWT" align="left" colspan="5">
                                                                                                                        <asp:checkbox id="chkAllowAWTrI" Runat="server" AutoPostBack="true"></asp:checkbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD id="tdAWTGrplbl" align="right">
                                                                                                                        <asp:label id="lblAWTNameI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="WithHolding Tax Group:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD id="tdAWTGrp" colspan="5">
                                                                                                                        <asp:DropDownList ID="drpAWTNamerI" Runat="server" Width="50%" DataSource='<%# BindDropDownList("RetrieveAWTGroups") %>' DataValueField="GroupID" DataTextField="GroupName">
                                                                                                                        </asp:DropDownList>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <script language="javascript">
                                                                                                            //global variables to hold the flag checkbox and group
                                                                                                            _tdAWT = document.getElementById("tdAWT");
                                                                                                            _tdAWTGrp = document.getElementById("tdAWTGrp");
                                                                                                            _tdAWTlbl = document.getElementById("tdAWTlbl");
                                                                                                            _tdAWTGrplbl = document.getElementById("tdAWTGrplbl");
                                                                                                            </script>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblFreightI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Freight Terms:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD colspan="5">
                                                                                                                        <asp:DropDownList ID="drpFreightrI" Runat="server" Width="50%" DataSource='<%# BindDropDownList("RetrieveFreightTerms") %>' DataValueField="CODE" DataTextField="TERMNAME">
                                                                                                                        </asp:DropDownList>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblShipToI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Ship-To Location:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD colspan="5">
                                                                                                                        <asp:DropDownList ID="drpShipTorI" Runat="server" Width="50%" DataSource='<%# BindDropDownList("RetrieveShipToLoc") %>' DataValueField="LocID" DataTextField="LocCode">
                                                                                                                        </asp:DropDownList>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <tr>
                                                                                                                  <td align="right">
                                                                                                                  </td>
                                                                                                                  <td colspan="5">
                                                                                                                        <asp:CompareValidator ID="cvDrpSuppPmtTypI" Runat="server" ControlToValidate="drpSuppPmtTypI" Type="String"
                                                                                                                              Operator="NotEqual" ValueToCompare="NONE" ErrorMessage="<font size=2>You <u>MUST SELECT</u> a 'Supplier Payment Type'!</font>"
                                                                                                                              Display="Dynamic" ForeColor="#ffff66"></asp:CompareValidator>
                                                                                                                  </td>
                                                                                                            </tr>
                                                                                                            <tr>
                                                                                                                  <td align="right">
                                                                                                                  </td>
                                                                                                                  <td colspan="5">
                                                                                                                        <asp:Label ID="lblSuppPmtTypErrorI" Runat="server" Font-Name="Verdana" Font-Size="9" Font-Bold="true"
                                                                                                                              ForeColor="#ffff66" text="The Vendor Payment Type Selection is not <u>Supplier with Discounted Terms</u>"
                                                                                                                              Visible="false"></asp:Label>
                                                                                                                  </td>
                                                                                                            </tr>
                                                                                                            <tr>
                                                                                                                  <td></td>
                                                                                                                  <td align="left" colspan="5">
                                                                                                                        <asp:CompareValidator ID="cvFlexValI" Type="String" Operator="NotEqual" ValueToCompare="NONE" Display="Dynamic"
                                                                                                                              ControlToValidate="drpFlexVal" Font-Size="9" ForeColor="#ffff66" ErrorMessage="You <u>MUST SELECT</u> a Vendor Category!"
                                                                                                                              Runat="server"></asp:CompareValidator></td>
                                                                                                            </tr>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblflexval2" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Vendor Category:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD colspan="5">
                                                                                                                        <asp:DropDownList ID="drpFlexVal" Runat="server" Width="60%" DataSource='<%# BindDropDownList("RetrieveFlexValues") %>' AutoPostBack="True" DataValueField="FlexValueId" DataTextField="FlexValueName">
                                                                                                                        </asp:DropDownList>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblSuppPmtTypI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                              text="Supplier Classification:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD colspan="5">
                                                                                                                        <asp:DropDownList ID="drpSuppPmtTypI" AutoPostBack=True Runat="server" Width="50%" DataSource='<%# BindDropDownList("RetrieveSupplierPaymentTypes") %>' DataValueField="PaymentTypeID" DataTextField="PaymentTypeName">
                                                                                                                        </asp:DropDownList>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <tr>
                                                                                                                  <td></td>
                                                                                                                  <td align="left" colspan="5">
                                                                                                                        <asp:CompareValidator ID="cvDrpTermsI" Type="String" Operator="NotEqual" ValueToCompare="NONE" Display="Dynamic"
                                                                                                                              ControlToValidate="drpTermsrI" Font-Size="9" ForeColor="#ffff66" ErrorMessage="You <u>MUST SELECT</u> a Payment Term!"
                                                                                                                              Runat="server"></asp:CompareValidator></td>
                                                                                                            </tr>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblTermsI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Payment Terms:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD colspan="5">
                                                                                                                        <asp:DropDownList ID="drpTermsrI" Runat="server" AutoPostBack=True Width="50%" DataSource='<%# BindDropDownList("RetrieveTerms") %>' DataValueField="termID" DataTextField="termName" Enabled=False>
                                                                                                                        </asp:DropDownList>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <tr>
                                                                                                                  <td colspan="6">
                                                                                                                        <asp:Panel ID="pnlTermJustI" Runat="server" Visible="False" Width="100%">
                                                                                                                              <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0" bgcolor="#6699cc" style="FONT-WEIGHT: bold; COLOR: white">
                                                                                                                                    <tr>
                                                                                                                                          <td></td>
                                                                                                                                          <td align="left">
                                                                                                                                                <asp:RequiredFieldValidator ControlToValidate="txtTermJustI" ErrorMessage="" runat="server" ID="rfvTermJustI"
                                                                                                                                                      Font-Bold="false" Font-Size="9" ForeColor="#ffff66"></asp:RequiredFieldValidator>
                                                                                                                                          </td>
                                                                                                                                    </tr>
                                                                                                                                    <tr>
                                                                                                                                          <td></td>
                                                                                                                                          <TD align="left" colspan="1" height="25" valign="bottom">
                                                                                                                                                <asp:label id="lblTermJustMessgI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                      ForeColor="blue" BackColor="#ffff66" text="EXCEPTION -- The <U>SELECTED PAYMENT TERM DOES NOT COMPLY</u> with Global Supplier Term policy and will need Local/Business Unit CFO approval, along with Corporate CFO approval."
                                                                                                                                                      Font-Bold="true"></asp:label>
                                                                                                                                          </TD>
                                                                                                                                    </tr>
                                                                                                                                    <tr>
                                                                                                                                          <TD align="right" width="25%">
                                                                                                                                                <asp:label id="lblTermJustI" ForeColor="blue" Font-Bold="True" Width="100%" Font-Name="Verdana"
                                                                                                                                                      Font-Size="9" Runat="server" text="Enter Payment Justification:" BackColor="#ffff66"></asp:label>
                                                                                                                                          </TD>
                                                                                                                                          <td width="75%">
                                                                                                                                                <asp:textbox id="txtTermJustI" Runat="server" Width="100%" Height="50" TextMode="MultiLine"></asp:textbox>
                                                                                                                                          </td>
                                                                                                                                    </tr>
                                                                                                                                    <tr>
                                                                                                                                          <td width="25%">
                                                                                                                                          </td>
                                                                                                                                          <td width="75%">
                                                                                                                                                <asp:CompareValidator ID="cvDrpCFOI" Runat="server" ControlToValidate="drpCFOI" Type="String" Operator="NotEqual"
                                                                                                                                                      ValueToCompare="NONE" ErrorMessage="<font size=2>You MUST SELECT a CFO to Review this Exception!</font>"
                                                                                                                                                      Display="Dynamic" Font-Size="9" ForeColor="#ffff66" Text="<u>You MUST SELECT a CFO</u> to Review this Exception!"></asp:CompareValidator>
                                                                                                                                          </td>
                                                                                                                                    </tr>
                                                                                                                                    <tr>
                                                                                                                                          <td align="right" width="25%">
                                                                                                                                                <asp:Label ID="lblCFOI" ForeColor="blue" Font-Bold="True" Width="100%" BackColor="#ffff66"
                                                                                                                                                      Font-Name="Verdana" Font-Size="9" Runat="server" Text="Select a Local/Business Unit CFO to Review:"></asp:Label></td>
                                                                                                                                          <TD width="75%">
                                                                                                                                                <asp:DropDownList ID="drpCFOI" Runat="server" Width="25%"></asp:DropDownList>
                                                                                                                                          </TD>
                                                                                                                                    </tr>
                                                                                                                              </TABLE>
                                                                                                                        </asp:Panel>
                                                                                                                  </td>
                                                                                                            </tr>
                                                                                                            <TR>
                                                                                                                  <td></td>
                                                                                                                  <TD align="left" colspan="5" height="25" valign="bottom">
                                                                                                                        <asp:label id="lblPayMethMsgI" Width="100%" Font-Name="Verdana" Font-Size="8" Runat="server"
                                                                                                                              Font-Bold="True" ForeColor="LightCyan" text="(For European Countries: EFT Payment Method and Banking Information are required. For US: Banking and Contact Information are required for EFT and WIRE payment methods.)"></asp:label>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblPayMethI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Payment Method:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD colspan="5">
                                                                                                                        <asp:DropDownList ID="drpPayMethrI" Runat="server" Width="50%">
                                                                                                                              <asp:ListItem TEXT="---SELECT---" Value="NONE" />
                                                                                                                              <asp:ListItem Text="CHECK" Value="CHECK" />
                                                                                                                              <asp:ListItem Text="CLEARING" Value="CLEARING" />
                                                                                                                              <asp:ListItem TEXT="EFT" Value="EFT" />
                                                                                                                              <asp:ListItem TEXT="WIRE" Value="WIRE" />
                                                                                                                        </asp:DropDownList>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <tr>
                                                                                                                  <TD align="left" colspan="5" height="10" valign="bottom">
                                                                                                            </tr>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblPayGroupI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                              text="Pay Group:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD colspan="2">
                                                                                                                        <asp:DropDownList ID="drpPayGroupI" BackColor=Gainsboro Enabled=false Runat="server" Width="100%" DataSource='<%# BindDropDownList("RetrievePayGroups") %>' DataValueField="lookup_code" DataTextField="displayed_field">
                                                                                                                        </asp:DropDownList></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblPayAloneI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                              text="Pay Alone Site:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD align="left" colspan="5">
                                                                                                                        <asp:checkbox id="chkPayAloneI" Enabled="False" Runat="server"></asp:checkbox></TD>
                                                                                                            </TR>
                                                                                                            <tr>
                                                                                                                  <td></td>
                                                                                                                  <td colspan="5">
                                                                                                                        <asp:CompareValidator ID="cvPayCurrI" Runat="server" ControlToValidate="drpPymtCurrI" Type="String" Operator="NotEqual"
                                                                                                                              ValueToCompare="NONE" ErrorMessage="<font color=#ffff66 size=2>You MUST select a 'Payment Currency'!</font>"
                                                                                                                              Display="Dynamic"></asp:CompareValidator>
                                                                                                                  </td>
                                                                                                            </tr>
                                                                                                            <tr>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblPymtCurI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Payment Currency:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD width="20%">
                                                                                                                        <asp:DropDownList ID="drpPymtCurrI" Runat="server" Width="100%" DataSource='<%# BindDropDownList("RetrieveCurrencyCode") %>' DataValueField="CURRVALUE" DataTextField="CURRTEXT">
                                                                                                                        </asp:DropDownList>
                                                                                                                  </TD>
                                                                                                                  <TD align="right" width="20%">
                                                                                                                        <asp:label id="lblInvCurI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Invoice Currency:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD width="20%">
                                                                                                                        <asp:DropDownList ID="drpInvCurrI" Runat="server" Width="100%" DataSource='<%# BindDropDownList("RetrieveCurrencyCode") %>' DataValueField="CURRVALUE" DataTextField="CURRTEXT">
                                                                                                                        </asp:DropDownList>
                                                                                                                  </TD>
                                                                                                            </tr>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblRoyaltyI" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Royalty Site:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD align="left" colspan="5">
                                                                                                                        <asp:checkbox id="chkRoyaltyI" Runat="server"></asp:checkbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right">
                                                                                                                        <asp:label id="lblOB10I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="The supplier has been informed and will be using OB10:"></asp:label>
                                                                                                                  </TD>
                                                                                                                  <TD align="left" colspan="5" valign="baseline">
                                                                                                                        <asp:checkbox id="chkOB10I" Runat="server"></asp:checkbox></TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD width="100%" colSpan="6">
                                                                                                                        <HR>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <TD align="right" width="100%" colSpan="6" height="50" valign="middle">
                                                                                                                        <!--Inserted by Cyrene V. Jacob for the AWT project. This button should not be visible if the oid is not 54 -->
                                                                                                                        <!--input id="inpBtnSaveNewSite" type="button" value="Save New Site*" onclick="validateAWT(this, '0');"
                                                                                                                              style="color:Navy;background-color:Lavender;font-family:Verdana;font-size:9pt;font-weight:bold;width:125px;" /-->
                                                                                                                        <asp:Button id="btnSaveNewSite" Font-Size="9" CommandName="Insert" Width="125px" Runat="server"
                                                                                                                              BackColor="lavender" ForeColor="Navy" Font-Bold="True" Text="Save New Site" Font-Names="Verdana"></asp:Button>&nbsp;&nbsp;
                                                                                                                        <asp:Button id="btnCancelNewSite" Font-Size="9" CommandName="Cancel" CausesValidation="False"
                                                                                                                              Width="125px" Runat="server" BackColor="lavender" ForeColor="Navy" Font-Bold="True" Text="Cancel New Site"
                                                                                                                              Font-Names="Verdana"></asp:Button>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <script language="javascript" type="text/javascript">
                                                                                                            //global objects...
                                                                                                            /*
                                                                                                            _inpBtn = document.getElementById("inpBtnSaveNewSite");
                                                                                                            //var txtTmp = _inpBtn.nextSibling;
                                                                                                            _aspBtn = _inpBtn.nextSibling;
                                                                                                            
                                                                                                            if(isOUCoreUS){
                                                                                                                  //hide the asp:button
                                                                                                                  _aspBtn.style.display = 'none';
                                                                                                                  //alert(_aspBtn.id);
                                                                                                                  //alert(aspBtn);
                                                                                                            
                                                                                                            }
                                                                                                            else{
                                                                                                                  //else hide the input button
                                                                                                                  _inpBtn.style.display = 'none';
                                                                                                            }
                                                                                                            
                                                                                                            */
                                                                                                            </script>
                                                                                                            <TR>
                                                                                                                  <TD width="100%" colSpan="6">
                                                                                                                        <HR>
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <td colspan="6">
                                                                                                                        <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                                                                                              <tr>
                                                                                                                                    <TD style="FONT-WEIGHT: bold; FONT-SIZE: 11pt; COLOR: navy; FONT-STYLE: normal; BACKGROUND-COLOR: whitesmoke; TEXT-ALIGN: left"
                                                                                                                                          align="left" width="25%">Contacts <a name="ContactHeader"></a>
                                                                                                                                    </TD>
                                                                                                                                    <TD style="BACKGROUND-COLOR: whitesmoke" align="right" width="75%">
                                                                                                                                          <asp:LinkButton ID="lnkAddNewContact_I" Font-Size="8" Font-Bold="True" CausesValidation="false"
                                                                                                                                                Runat="server">Add New Contact</asp:LinkButton></TD>
                                                                                                                              </tr>
                                                                                                                        </table>
                                                                                                                  </td>
                                                                                                            </TR>
                                                                                                            <tr>
                                                                                                                  <td width="100%" colspan="6">
                                                                                                                        <asp:Panel id="pnlCNI" Runat="server" Width="100%">
                                                                                                                              <table width="100%">
                                                                                                                                    <TR>
                                                                                                                                          <TD style="TEXT-ALIGN: center">
                                                                                                                                                <asp:datagrid id="dgrdContacts_I" runat="server" Width="100%" Font-Size="12px" BorderStyle="Solid"
                                                                                                                                                      BorderColor="lightgrey" AutoGenerateColumns="false" ShowHeader="false" Datakeyfield="ID" HeaderStyle-ForeColor="White"
                                                                                                                                                      HeaderStyle-BackColor="SteelBlue" HeaderStyle-Font-Bold="true" BorderWidth="0" ItemStyle-Height="10">
                                                                                                                                                      <SelectedItemStyle Font-Bold="True" ForeColor="Black"></SelectedItemStyle>
                                                                                                                                                      <AlternatingItemStyle BackColor="lavender"></AlternatingItemStyle>
                                                                                                                                                      <ItemStyle BackColor="White"></ItemStyle>
                                                                                                                                                      <Columns>
                                                                                                                                                            <asp:TemplateColumn headertext="Contacts">
                                                                                                                                                                  <ItemTemplate>
                                                                                                                                                                        <table width="100%">
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td style="FONT-WEIGHT: bold; FONT-SIZE: 8pt; FONT-FAMILY: verdana; HEIGHT: 10px" width="20%">Contact
                                                                                                                                                                                          Name:
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td width="65%" style="FONT-SIZE: 8pt; FONT-FAMILY: verdana; HEIGHT: 15px; FONT-WEIGHT: bold; COLOR: navy"><%# DataBinder.Eval(Container.DataItem, "o_CNFName" ) %>&nbsp;<%# DataBinder.Eval(Container.DataItem, "o_CNLName" ) %>
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td width="15%" align="right" style="FONT-WEIGHT: bold; FONT-SIZE: 7pt; COLOR: red"><%# DataBinder.Eval(Container.DataItem, "o_CNChg" ) %>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td align="left">
                                                                                                                                                                                          <asp:LinkButton ID="lnkEditContact_I" CommandName="Edit" CausesValidation="false" Runat="server">View Contact Details</asp:LinkButton>
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td align="left" colspan="3" style="FONT-SIZE: 7pt; COLOR: red; FONT-STYLE: italic"><%# DataBinder.Eval(Container.DataItem, "o_CNVal" ) %>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                        </table>
                                                                                                                                                                  </ItemTemplate>
                                                                                                                                                                  <EditItemTemplate>
                                                                                                                                                                        <a name="EditContact"></a>
                                                                                                                                                                        <TABLE cellSpacing="4" cellPadding="0" width="100%" border="0" bgcolor="AliceBlue" style="FONT-WEIGHT: bold; COLOR: navy">
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; FONT-STYLE: italic; HEIGHT: 25px" vAlign="bottom"
                                                                                                                                                                                          width="100%" colSpan="2">Contacts Information:
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD width="100%" colSpan="3">
                                                                                                                                                                                          <HR>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR bgColor="navy" height="20">
                                                                                                                                                                                    <TD width="20%"></TD>
                                                                                                                                                                                    <TD style="FONT-WEIGHT: bold; COLOR: white; TEXT-ALIGN: center" width="40%">Current
                                                                                                                                                                                          Information
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD style="FONT-WEIGHT: bold; COLOR: white; TEXT-ALIGN: center" width="40%">Request
                                                                                                                                                                                          Value
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtContactID_I" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_CNID") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Visible="false">
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtContactIDr_I" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_RDACNID_r") %>' Visible="false">
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblPrefixr_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                text="Prefix:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtPrefix_I" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_CNPrefix") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true">
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtPrefixr_I" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_CNPrefix_r") %>' >
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblFnamer_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="First Name:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtFName_I" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_CNFName") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true">
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtFNamer_I" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_CNFName_r") %>' >
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblLNamer_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Last Name:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtLName_I" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_CNLName") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true">
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtLNamer_I" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_CNLName_r") %>' >
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblCNArear_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                text="Area Code:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtCNArea_I" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_CNArea") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true">
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtCNArear_I" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_CNArea_r") %>' >
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblCNPhoner_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                text="Phone#:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtCNPhone_I" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"O_CNPhone") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true">
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtCNPhoner_I" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"O_CNPhone_r") %>' >
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblCNInactive_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                text="Re-Activate Contact:"></asp:label></TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:checkbox id="chkCNInactive_I" Visible="False" Runat="server" Enabled="False"></asp:checkbox></TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:checkbox id="chkCNInactiver_I" Runat="server"></asp:checkbox></TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td></td>
                                                                                                                                                                                    <td height="35" align="left" colspan="2" valign="bottom" width="100%">
                                                                                                                                                                                          <asp:label id="lblEmailMsgr_I" Width="100%" ForeColor="maroon" Font-Name="Verdana" Font-Size="9"
                                                                                                                                                                                                Runat="server" text="(To enable sending of PO and Remittance Advice via email, please provide an Email Address and Distribution Type)"></asp:label>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblEmailr_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Email Address:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtEmail_I" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_Email") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true">
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtEmailr_I" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_Email_r") %>' >
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblDTyper_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Distribution Type:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtDType_I" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_DType") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true">
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:DropDownList ID="drpDTyper_I" Runat="server" Width="100%">
                                                                                                                                                                                                <asp:ListItem TEXT="---SELECT---" Value="NONE" />
                                                                                                                                                                                                <asp:ListItem Text="ACCOUNTS PAYABLE" Value="ACCOUNTS PAYABLE" />
                                                                                                                                                                                                <asp:ListItem Text="OPERATIONS" Value="OPERATIONS" />
                                                                                                                                                                                          </asp:DropDownList>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right" width="100%" colSpan="3" height="50" valign="middle">
                                                                                                                                                                                          <asp:Button id="btnSaveContact_I" CausesValidation="False" Width="175px" Runat="server" BackColor="DarkKhaki"
                                                                                                                                                                                                ForeColor="White" Font-Bold="True" Font-Size="9" Text="Save Contact Changes" Font-Names="Verdana"></asp:Button>&nbsp;&nbsp;
                                                                                                                                                                                          <asp:Button id="btnCancelContact_I" CausesValidation="False" Width="175px" Runat="server" BackColor="DarkKhaki"
                                                                                                                                                                                                ForeColor="White" Font-Bold="True" Font-Size="9" Text="Cancel Contact Changes" Font-Names="Verdana"></asp:Button>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD width="100%" colSpan="3">
                                                                                                                                                                                          <HR>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                        </TABLE>
                                                                                                                                                                  </EditItemTemplate>
                                                                                                                                                                  <FooterTemplate>
                                                                                                                                                                        <a name="NewContact"></a>
                                                                                                                                                                        <TABLE cellSpacing="4" cellPadding="0" width="100%" border="0" bgcolor="#6699cc" style="FONT-WEIGHT: bold; COLOR: white">
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; FONT-STYLE: italic; HEIGHT: 25px" vAlign="bottom"
                                                                                                                                                                                          width="100%" colSpan="2">New Contacts Information:
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD width="100%" colSpan="2">
                                                                                                                                                                                          <HR>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right" width="20%">
                                                                                                                                                                                          <asp:label id="lblPrefixI_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                text="Prefix::"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD width="80%" colspan="3">
                                                                                                                                                                                          <asp:textbox id="txtPrefixrI_I" Width="100" Runat="server"></asp:textbox></TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblFNameI_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="First Name:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtFNamerI_I" Width="50%" Runat="server"></asp:textbox></TD>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblLnameI_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Last Name:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtLNamerI_I" Width="50%" Runat="server"></asp:textbox></TD>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblCNAreaI_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                text="Area Code:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtCNArearI_I" Width="50%" Runat="server"></asp:textbox>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblCNPhoneI_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                text="Phone#:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtCNPhonerI_I" Width="50%" Runat="server"></asp:textbox></TD>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td></td>
                                                                                                                                                                                    <td height="35" align="left" valign="bottom" width="100%">
                                                                                                                                                                                          <asp:label id="lblEmailMsgI_I" Width="100%" ForeColor="LightCyan" Font-Name="Verdana" Font-Size="9"
                                                                                                                                                                                                Runat="server" text="(To enable sending of PO and Remittance Advice via email, please provide an Email Address and Distribution Type)"></asp:label>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblEmailI_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Email Address:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtEmailrI_I" Width="75%" Runat="server"></asp:textbox></TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblDTYpeI_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Distribution Type:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:DropDownList ID="drpDTyperI_I" Runat="server" Width="75%">
                                                                                                                                                                                                <asp:ListItem TEXT="---SELECT---" Value="NONE" />
                                                                                                                                                                                                <asp:ListItem Text="ACCOUNTS PAYABLE" Value="ACCOUNTS PAYABLE" />
                                                                                                                                                                                                <asp:ListItem Text="OPERATIONS" Value="OPERATIONS" />
                                                                                                                                                                                          </asp:DropDownList>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right" width="100%" colSpan="6" height="50" valign="middle">
                                                                                                                                                                                          <asp:Button id="btnAddNewContact_I" Font-Size="9" CommandName="Insert" Width="175px" Runat="server"
                                                                                                                                                                                                CausesValidation="False" BackColor="lavender" ForeColor="Navy" Font-Bold="True" Text="Save Contact Changes"
                                                                                                                                                                                                Font-Names="Verdana"></asp:Button>&nbsp;&nbsp;
                                                                                                                                                                                          <asp:Button id="btnCanceNewContact_I" Font-Size="9" CommandName="Cancel" CausesValidation="False"
                                                                                                                                                                                                Width="175px" Runat="server" BackColor="lavender" ForeColor="Navy" Font-Bold="True" Text="Cancel Contact Changes"
                                                                                                                                                                                                Font-Names="Verdana"></asp:Button>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD width="100%" colSpan="2">
                                                                                                                                                                                          <HR>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                        </TABLE>
                                                                                                                                                                  </FooterTemplate>
                                                                                                                                                            </asp:TemplateColumn>
                                                                                                                                                      </Columns>
                                                                                                                                                </asp:datagrid>
                                                                                                                                          </TD>
                                                                                                                                    </TR>
                                                                                                                              </table>
                                                                                                                        </asp:Panel>
                                                                                                                  </td>
                                                                                                            </tr>
                                                                                                            <TR>
                                                                                                                  <TD width="100%" colSpan="6" height="50">
                                                                                                                  </TD>
                                                                                                            </TR>
                                                                                                            <TR>
                                                                                                                  <td colspan="6">
                                                                                                                        <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                                                                                              <tr>
                                                                                                                                    <TD style="FONT-WEIGHT: bold; FONT-SIZE: 11pt; COLOR: navy; FONT-STYLE: normal; BACKGROUND-COLOR: whitesmoke; TEXT-ALIGN: left"
                                                                                                                                          align="left" width="25%">Bank Accounts <a name="BankHeader"></a>
                                                                                                                                    </TD>
                                                                                                                                    <TD style="BACKGROUND-COLOR: whitesmoke" align="right" width="75%">
                                                                                                                                          <asp:LinkButton ID="lnkAddNewBank_I" Font-Size="8" Font-Bold="True" CausesValidation="false" Runat="server">Add New Bank Account</asp:LinkButton></TD>
                                                                                                                              </tr>
                                                                                                                        </table>
                                                                                                                  </td>
                                                                                                            </TR>
                                                                                                            <tr>
                                                                                                                  <td width="100%" colspan="6">
                                                                                                                        <asp:Panel id="Panel2" Runat="server" Width="100%">
                                                                                                                              <table width="100%">
                                                                                                                                    <TR>
                                                                                                                                          <TD style="TEXT-ALIGN: center">
                                                                                                                                                <asp:datagrid id="dgrdBankAcct_I" runat="server" Width="100%" Font-Size="12px" BorderStyle="Solid"
                                                                                                                                                      BorderColor="lightgrey" AutoGenerateColumns="false" ShowHeader="false" Datakeyfield="ID" HeaderStyle-ForeColor="White"
                                                                                                                                                      HeaderStyle-BackColor="SteelBlue" HeaderStyle-Font-Bold="true" BorderWidth="0" ItemStyle-Height="10">
                                                                                                                                                      <SelectedItemStyle Font-Bold="True" ForeColor="Black"></SelectedItemStyle>
                                                                                                                                                      <AlternatingItemStyle BackColor="lavender"></AlternatingItemStyle>
                                                                                                                                                      <ItemStyle BackColor="White"></ItemStyle>
                                                                                                                                                      <Columns>
                                                                                                                                                            <asp:TemplateColumn headertext="Contacts">
                                                                                                                                                                  <ItemTemplate>
                                                                                                                                                                        <table width="100%">
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td width="20%" style="FONT-WEIGHT: bold; FONT-SIZE: 8pt; FONT-FAMILY: verdana; HEIGHT: 10px">Bank
                                                                                                                                                                                          Account Name:
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td width="65%" style="FONT-SIZE: 8pt; FONT-FAMILY: verdana; HEIGHT: 15px; FONT-WEIGHT: bold; COLOR: navy"><%# DataBinder.Eval(Container.DataItem, "o_BAName" ) %>
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td align="right" width="15%" style="FONT-WEIGHT: bold; FONT-SIZE: 7pt; COLOR: red">
                                                                                                                                                                                          <%# DataBinder.Eval(Container.DataItem, "o_BAChg" ) %>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td style="FONT-WEIGHT: bold; FONT-SIZE: 8pt; FONT-FAMILY: verdana; HEIGHT: 10px">Primary
                                                                                                                                                                                          Bank Account:
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td colspan="2" style="FONT-SIZE: 8pt; FONT-FAMILY: verdana; HEIGHT: 15px; FONT-WEIGHT: bold; COLOR: navy">
                                                                                                                                                                                          <asp:CheckBox BackColor=white ID=chkPri_I Runat=server Enabled=False Checked='<%# SetCheckBox(DataBinder.Eval(Container.DataItem, "o_BPriFlg_r" )) %>'>
                                                                                                                                                                                          </asp:CheckBox>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td align="left" style="FONT-WEIGHT: bold"><font color="red">Inactive Date:</font>
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td align="left" colspan="2" style="FONT-SIZE: 7pt; COLOR: red; FONT-FAMILY: verdana"><%# DataBinder.Eval(Container.DataItem, "o_BAEndDate" ) %>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td align="left">
                                                                                                                                                                                          <asp:LinkButton ID="lnkEditBankAcct_I" CommandName="Edit" CausesValidation="true" Runat="server">View Bank Account Details</asp:LinkButton>
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td align="left" colspan="2" style="FONT-SIZE: 7pt; COLOR: red; FONT-STYLE: italic"><%# DataBinder.Eval(Container.DataItem, "o_BAVal" ) %>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                        </table>
                                                                                                                                                                  </ItemTemplate>
                                                                                                                                                                  <EditItemTemplate>
                                                                                                                                                                        <a name="EditBankAcct"></a>
                                                                                                                                                                        <TABLE cellSpacing="4" cellPadding="0" width="100%" border="0" bgcolor="AliceBlue" style="FONT-WEIGHT: bold; COLOR: navy">
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; FONT-STYLE: italic; HEIGHT: 25px" vAlign="bottom"
                                                                                                                                                                                          width="100%" colSpan="3">Bank Accounts Information:
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td colSpan="3" width="100%">
                                                                                                                                                                                          <asp:label id="lblErrGeneralr_I" Font-Name="Verdana" Font-Size="9" Runat="server" ForeColor="red"></asp:label>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD width="100%" colSpan="3">
                                                                                                                                                                                          <HR>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR bgColor="navy" height="20">
                                                                                                                                                                                    <TD width="30%"></TD>
                                                                                                                                                                                    <TD style="FONT-WEIGHT: bold; COLOR: white; TEXT-ALIGN: center" width="35%">Current
                                                                                                                                                                                          Information
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD style="FONT-WEIGHT: bold; COLOR: white; TEXT-ALIGN: center" width="35%">Request
                                                                                                                                                                                          Value
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtBAUID_I" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_BAUID") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Visible="false">
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtBAUIDr_I" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_RDABAUID_r") %>' Visible="false">
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td>
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td>
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td>
                                                                                                                                                                                          <asp:CompareValidator ID="cvBankCountryr_I" Runat="server" ControlToValidate="drpBCountryr_I" Type="String"
                                                                                                                                                                                                Operator="NotEqual" ValueToCompare="NONE" ErrorMessage="<font color=#ffff66 size=2>You MUST select a 'Country of Bank'!</font>"
                                                                                                                                                                                                Display="None"></asp:CompareValidator>
                                                                                                                                                                                          <asp:label id="lblBCtryMsgr_I" Width="100%" ForeColor="Maroon" Font-Name="Verdana" Font-Size="9"
                                                                                                                                                                                                Runat="server" text="(You MUST select a Country of Bank)"></asp:label>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblBCountryr_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                text="Country of Bank:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtBCountry_I" Width="100%" Runat="server" BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem, "o_BCountry") %>'>
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:DropDownList BackColor=Gainsboro Enabled=False ID="drpBCountryr_I" AutoPostBack=True Runat="server" Width="100%" DataSource='<%# BindDropDownList("RetrieveBankCountries") %>' DataValueField="territory_code" DataTextField="territory_short_name">
                                                                                                                                                                                          </asp:DropDownList></TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td>
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td>
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td>
                                                                                                                                                                                          <asp:CompareValidator ID="cvBankCurrr_I" Runat="server" ControlToValidate="drpBACurr_I" Type="String"
                                                                                                                                                                                                Operator="NotEqual" ValueToCompare="NONE" ErrorMessage="<font color=#ffff66 size=2>You MUST select a 'Bank Account Currency'!</font>"
                                                                                                                                                                                                Display="NONE"></asp:CompareValidator>
                                                                                                                                                                                          <asp:label id="lblBACurrMsgr_I" Width="100%" ForeColor="Maroon" Font-Name="Verdana" Font-Size="9"
                                                                                                                                                                                                Runat="server" text="(You MUST select a Bank Account Currency)"></asp:label>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblBACurr_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Bank Account Currency:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:textbox id="txtBACur_I" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_BACur") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true">
                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:DropDownList ID="drpBACurr_I" BackColor=Gainsboro AutoPostBack=True enabled=false Runat="server" Width="100%" DataSource='<%# BindDropDownList("RetrieveCurrencyCode") %>' DataValueField="CURRVALUE" DataTextField="CURRTEXT">
                                                                                                                                                                                          </asp:DropDownList></TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <td>
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td>
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td align="center">
                                                                                                                                                                                          <asp:Button ID="btnBankEntryEdit_I" ForeColor="White" Enabled="false" Font-Bold="True" BackColor="DarkKhaki"
                                                                                                                                                                                                CommandName="EnterBankEdit" Runat="server" width="98%" Text="Click to Enter Banking Information"></asp:Button>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD width="100%" colSpan="3" height="15">
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD width="100%" colSpan="3">
                                                                                                                                                                                          <asp:Panel ID="pnlBankInfoEdit_I" Width="100%" Visible="true" Runat="server">
                                                                                                                                                                                                <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0" bgcolor="Aliceblue" style="FONT-WEIGHT: bold; COLOR: navy">
                                                                                                                                                                                                      <tr>
                                                                                                                                                                                                            <td colspan="2" width="100%"><hr>
                                                                                                                                                                                                            </td>
                                                                                                                                                                                                      </tr>
                                                                                                                                                                                                      <tr>
                                                                                                                                                                                                            <td colspan="2" width="100%" align="center">
                                                                                                                                                                                                                  <asp:label id="lblEnterBankInfoEdit_I" Width="100%" ForeColor="Maroon" Font-Name="Verdana"
                                                                                                                                                                                                                        Font-Size="10" Runat="server" text="Existing Bank Account cannot be modified. If this account is not longer valid, please inactivate it and create a New Bank Account."></asp:label>
                                                                                                                                                                                                                  <asp:Linkbutton id="lnkAddBankEdit_I" Visible="false" Runat="server" Font-Size="9" Font-Bold="True"
                                                                                                                                                                                                                        CommandName="AddBankEdit" Font-Names="Verdana" Text="Add New Bank"></asp:Linkbutton>
                                                                                                                                                                                                                  <asp:Linkbutton id="LnkBankListEdit_I" Visible="false" Runat="server" Font-Size="9" Font-Bold="True"
                                                                                                                                                                                                                        CommandName="BankListEdit" Font-Names="Verdana" Text="Bank List"></asp:Linkbutton>
                                                                                                                                                                                                            </td>
                                                                                                                                                                                                      </tr>
                                                                                                                                                                                                      <TR>
                                                                                                                                                                                                            <TD colspan="2" align="center">
                                                                                                                                                                                                                  <asp:Panel ID="pnlBankListEdit_I" Width="100%" Runat="server" Visible="false">
                                                                                                                                                                                                                        <TABLE cellSpacing="0" cellPadding="0" width="98%" border="0" style="FONT-WEIGHT: bold; COLOR: Navy">
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td colspan="3" height="25">
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td width="15%" align="left">
                                                                                                                                                                                                                                          <asp:label id="RecordCountEdit_I" runat="server" Font-Name="verdana" Font-Bold="True" Font-Size="9" />
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td width="60%" align="center">
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td width="25%" align="right">
                                                                                                                                                                                                                                          <asp:Label id="lblPageCountEdit_I" runat="server" Font-Name="verdana" Font-Bold="True" Font-Size="9" />
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td align="center" colspan="3">
                                                                                                                                                                                                                                          <asp:DataGrid ID="dgBankListEdit_I" AllowPaging="True" AllowCustomPaging="False" PagerStyle-Visible="False"
                                                                                                                                                                                                                                                AutoGenerateColumns="false" Width="100%" Font-Size="7px" BorderStyle="Solid" ShowHeader="True"
                                                                                                                                                                                                                                                DataKeyField="Bank_Branch_ID" BorderWidth="2px" Runat="server">
                                                                                                                                                                                                                                                <HeaderStyle ForeColor="white" Font-Bold="True" BackColor="sienna"></HeaderStyle>
                                                                                                                                                                                                                                                <SelectedItemStyle BackColor="Goldenrod" ForeColor="white" Font-Bold="true"></SelectedItemStyle>
                                                                                                                                                                                                                                                <ItemStyle BackColor="white"></ItemStyle>
                                                                                                                                                                                                                                                <AlternatingItemStyle BackColor="Seashell"></AlternatingItemStyle>
                                                                                                                                                                                                                                                <Columns>
                                                                                                                                                                                                                                                      <asp:TemplateColumn>
                                                                                                                                                                                                                                                            <HeaderTemplate>
                                                                                                                                                                                                                                                                  Bank Name
                                                                                                                                                                                                                                                            </HeaderTemplate>
                                                                                                                                                                                                                                                            <ItemTemplate>
                                                                                                                                                                                                                                                                  <asp:LinkButton CommandName="BankNameEdit" Text='<%# DataBinder.Eval(Container.DataItem, "Bank_Name")%>' runat=server ID="Linkbutton2_I"/>
                                                                                                                                                                                                                                                            </ItemTemplate>
                                                                                                                                                                                                                                                      </asp:TemplateColumn>
                                                                                                                                                                                                                                                      <asp:BoundColumn DataField="Bank_Branch_ID" HeaderText="Bank_Branch_ID" Visible="false"></asp:BoundColumn>
                                                                                                                                                                                                                                                      <asp:BoundColumn DataField="Bank_Name" HeaderText="Bank Name" Visible="false"></asp:BoundColumn>
                                                                                                                                                                                                                                                      <asp:BoundColumn DataField="Bank_Number" HeaderText="Bank Number" Visible="true"></asp:BoundColumn>
                                                                                                                                                                                                                                                      <asp:BoundColumn DataField="Branch_Name" HeaderText="Branch Name" Visible="true"></asp:BoundColumn>
                                                                                                                                                                                                                                                      <asp:BoundColumn DataField="Branch_Number" HeaderText="Branch/ABA Number" Visible="true"></asp:BoundColumn>
                                                                                                                                                                                                                                                      <asp:BoundColumn DataField="Branch_Type" HeaderText="Branch Type" Visible="true"></asp:BoundColumn>
                                                                                                                                                                                                                                                      <asp:BoundColumn DataField="Swift_Code" HeaderText="Swift Code" Visible="true"></asp:BoundColumn>
                                                                                                                                                                                                                                                </Columns>
                                                                                                                                                                                                                                          </asp:DataGrid>
                                                                                                                                                                                                                                          <asp:linkbutton Font-Size="9" Font-Bold="True" Font-Name="verdana" id="btnFirst_I" Text="<< 1st Page"
                                                                                                                                                                                                                                                CommandName="0_edit" runat="server" />
                                                                                                                                                                                                                                          <asp:linkbutton Font-Size="9" Font-Bold="True" Font-Name="verdana" id="btnPrev_I" Text="" CommandName="prev_edit"
                                                                                                                                                                                                                                                runat="server" />
                                                                                                                                                                                                                                          &nbsp;&nbsp;
                                                                                                                                                                                                                                          <asp:linkbutton Font-Size="9" Font-Bold="True" Font-Name="verdana" id="btnNext_I" Text="" CommandName="next_edit"
                                                                                                                                                                                                                                                runat="server" />
                                                                                                                                                                                                                                          <asp:linkbutton Font-Size="9" Font-Bold="True" Font-Name="verdana" id="btnLast_I" Text="Last Page >>"
                                                                                                                                                                                                                                                CommandName="last_edit" runat="server" />
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td colspan="2" height="15"></td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td width="15%" style="FONT-WEIGHT: bold; FONT-SIZE: 9pt; COLOR: NAVY; FONT-FAMILY: verdana"
                                                                                                                                                                                                                                          align="right">Search for a Bank:</td>
                                                                                                                                                                                                                                    <td width="60%" align="left">
                                                                                                                                                                                                                                          <asp:textbox id="txtSearchForR_I" Width="98%" Runat="server"></asp:textbox>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td width="25%" align="left">
                                                                                                                                                                                                                                          <asp:Button ID="btnSearchFor_I" CommandName="BankSearchr" Runat="server" Width="100" Text="Search"
                                                                                                                                                                                                                                                BackColor="DarkKhaki" ForeColor="White" Font-Bold="True"></asp:Button>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td colspan="3" height="15"></td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td colspan="3" width="100%"><hr>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                        </TABLE>
                                                                                                                                                                                                                  </asp:Panel>
                                                                                                                                                                                                            </TD>
                                                                                                                                                                                                      </TR>
                                                                                                                                                                                                      <tr>
                                                                                                                                                                                                            <TD colspan="2">
                                                                                                                                                                                                                  <asp:Panel ID="pnlBankFieldsEdit_I" Width="100%" Runat="server" Visible="true">
                                                                                                                                                                                                                        <TABLE cellSpacing="4" cellPadding="0" width="100%" border="0" style="FONT-WEIGHT: bold; COLOR: NAVY">
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right" width="30%">
                                                                                                                                                                                                                                          <asp:label id="lblBrIDr_I" Visible="false" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD width="35%">
                                                                                                                                                                                                                                          <asp:textbox id="Textbox1_I" Width="100%" Runat="server" Text="" BorderStyle="solid" BorderWidth="1px"
                                                                                                                                                                                                                                                BorderColor="gray" ReadOnly="true" Visible="false"></asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD width="35%">
                                                                                                                                                                                                                                          <asp:textbox id="txtBrIDr_I" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_BRid_r") %>' ReadOnly="true" BackColor="Gainsboro" Visible="false">
                                                                                                                                                                                                                                          </asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <TD align="right" width="30%">
                                                                                                                                                                                                                                          <asp:label id="lblRDBrID_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" Visible="false"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD width="35%">
                                                                                                                                                                                                                                          <asp:textbox id="Textbox2_I" Width="100%" Runat="server" Text="" BorderStyle="solid" BorderWidth="1px"
                                                                                                                                                                                                                                                BorderColor="gray" ReadOnly="true" Visible="false"></asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD width="35%">
                                                                                                                                                                                                                                          <asp:textbox id="txtRDBrIDr_I" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_RDBR_ID_R") %>' ReadOnly="True" BackColor="Gainsboro" Visible="false">
                                                                                                                                                                                                                                          </asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblBankNamer_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                                                                text="Bank Name:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="Textbox3_I" Width="100%" Runat="server" Text="" BorderStyle="solid" BorderWidth="1px"
                                                                                                                                                                                                                                                BorderColor="gray" ReadOnly="true"></asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtBankNamer_I" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_BName_r") %>' ReadOnly="true" BackColor="Gainsboro">
                                                                                                                                                                                                                                          </asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblBrNamer_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                                                                text="Branch Name:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="Textbox4_I" Width="100%" Runat="server" Text="" BorderStyle="solid" BorderWidth="1px"
                                                                                                                                                                                                                                                BorderColor="gray" ReadOnly="true"></asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtBrNamer_I" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_BBRName_r") %>' ReadOnly="true" BackColor="Gainsboro">
                                                                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblBankNumr_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                                                                text="Bank Number:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="Textbox5_I" Width="100%" Runat="server" Text="" BorderStyle="solid" BorderWidth="1px"
                                                                                                                                                                                                                                                BorderColor="gray" ReadOnly="true"></asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtBankNumr_I" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_BNum_r") %>' ReadOnly="true" BackColor="Gainsboro">
                                                                                                                                                                                                                                          </asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblBrNumr_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Branch/ABA Number:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="Textbox6_I" Width="100%" Runat="server" Text="" BorderStyle="solid" BorderWidth="1px"
                                                                                                                                                                                                                                                BorderColor="gray" ReadOnly="true"></asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtBrNumr_I" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_BBRNum_r") %>' ReadOnly="true" BackColor="Gainsboro">
                                                                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right" valign="top">
                                                                                                                                                                                                                                          <asp:label id="lblFreeTextr_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                                                                text="Misc Bank Details:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="Textbox7_I" Width="100%" TextMode="MultiLine" Height="125" Runat="server" Text=""
                                                                                                                                                                                                                                                BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true"></asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                          <asp:textbox id="txtFreeTextr_I" TextMode="MultiLine" Height="125" Width="100%" Runat="server" ReadOnly="false" Text='<%#DataBinder.Eval(Container.DataItem,"o_FreeText_r") %>' BackColor="White">
                                                                                                                                                                                                                                          </asp:textbox>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblBRTyper_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                                                                text="Branch Type:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="Textbox8_I" Width="100%" Runat="server" Text="" BorderStyle="solid" BorderWidth="1px"
                                                                                                                                                                                                                                                BorderColor="gray" ReadOnly="true"></asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtBRTyper_I" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_BRType_r") %>' ReadOnly="true" BackColor="Gainsboro">
                                                                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblSwift_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Swift Code:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="Textbox9_I" Width="100%" Runat="server" Text="" BorderStyle="solid" BorderWidth="1px"
                                                                                                                                                                                                                                                BorderColor="gray" ReadOnly="true"></asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtSwiftr_I" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_Swift_r") %>' ReadOnly="true" BackColor="Gainsboro">
                                                                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblBANamer_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                                                                text="Name of Beneficiary:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtBAName_I" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_BAName") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true">
                                                                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtBANamer_I" BackColor=Gainsboro ReadOnly=true Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_BAName_r") %>' >
                                                                                                                                                                                                                                          </asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                          <asp:CustomValidator ID="custVal_I" ControlToValidate="txtBANumber_I" ErrorMessage="test" OnServerValidate="ServerValidate"></asp:CustomValidator>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                          <asp:label id="lblBANumErr_I" Visible="False" Width="100%" ForeColor="Red" Font-Name="Verdana"
                                                                                                                                                                                                                                                Font-Size="9" Runat="server" text="Invalid Bank Account Number"></asp:label>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblBANumr_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="2. Bank Account Number:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtBANum_I" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_BANum") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true">
                                                                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtBANumr_I" BackColor=Gainsboro ReadOnly=true Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_BANum_r") %>' >
                                                                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <tr height="20" valign="bottom">
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td colspan="2" align="left"><font color="Maroon" size="2">(Please include the country
                                                                                                                                                                                                                                                code at the beginning and enter without spaces)</font>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                          <asp:label id="lblIBANErr_I" Visible="False" Width="100%" ForeColor="Red" Font-Name="Verdana"
                                                                                                                                                                                                                                                Font-Size="9" Runat="server" text="Invalid IBAN Number"></asp:label>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblIBANr_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="IBAN Number:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtIBAN_I" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_IBAN") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true">
                                                                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtIBANr_I" BackColor=Gainsboro ReadOnly=true Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_IBAN_r") %>' >
                                                                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblPriFlagr_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                                                                text="Primary:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:checkbox id="chkPriFlag_I" Enabled="False" Runat="server"></asp:checkbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:checkbox id="chkPriFlagr_I" Runat="server"></asp:checkbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblInactivater_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                                                                text="Inactivate Bank Account:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:checkbox id="chkInactivate_I" Enabled="False" Visible="FALSE" Runat="server"></asp:checkbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:checkbox id="chkInactivater_I" Runat="server"></asp:checkbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblReactivater_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                                                                text="Re-Activate Bank Account:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:checkbox id="chkReactivate_I" Enabled="False" Visible="FALSE" Runat="server"></asp:checkbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:checkbox id="chkReactivater_I" Runat="server"></asp:checkbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <tr height="20" valign="bottom">
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td colspan="2" align="left"><font color="Maroon" size="2">(Check Digit is required for
                                                                                                                                                                                                                                                Spain, Portugal and France)</font>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                          <asp:label id="lblChkDigErr_I" Visible="False" Width="100%" ForeColor="Red" Font-Name="Verdana"
                                                                                                                                                                                                                                                Font-Size="9" Runat="server" text="Invalid Check Digit"></asp:label>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblChkDigitr_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                                                                text="Check Digit:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtChkDigit_I" Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_ChkDigit") %>' BorderStyle="solid" BorderWidth="1px" BorderColor="gray" ReadOnly="true">
                                                                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtChkDigitr_I" BackColor=Gainsboro ReadOnly=true Width="100%" Runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"o_ChkDigit_r") %>' >
                                                                                                                                                                                                                                          </asp:textbox></TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                        </TABLE>
                                                                                                                                                                                                                  </asp:Panel>
                                                                                                                                                                                                            </TD>
                                                                                                                                                                                                      </tr>
                                                                                                                                                                                                </TABLE>
                                                                                                                                                                                          </asp:Panel>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD width="100%" colSpan="3">
                                                                                                                                                                                          <HR>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD align="right" width="100%" colSpan="3" height="50" valign="middle">
                                                                                                                                                                                          <asp:Button id="btnSaveBankChange_I" CausesValidation="true" Width="200px" Runat="server" BackColor="DarkKhaki"
                                                                                                                                                                                                ForeColor="White" Font-Bold="True" Font-Size="9" Text="Save Bank Account Changes" Font-Names="Verdana"></asp:Button>&nbsp;&nbsp;
                                                                                                                                                                                          <asp:Button id="btnCancelBankChanges_I" CausesValidation="False" Width="200px" Runat="server"
                                                                                                                                                                                                BackColor="DarkKhaki" ForeColor="White" Font-Bold="True" Font-Size="9" Text="Cancel Bank Account Changes"
                                                                                                                                                                                                Font-Names="Verdana"></asp:Button>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                        </TABLE>
                                                                                                                                                                  </EditItemTemplate>
                                                                                                                                                                  <FooterTemplate>
                                                                                                                                                                        <a name="NewBankAcct"></a>
                                                                                                                                                                        <TABLE cellSpacing="4" cellPadding="0" width="100%" border="0" bgcolor="#6699cc" style="FONT-WEIGHT: bold; COLOR: white">
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; FONT-STYLE: italic; HEIGHT: 25px" vAlign="bottom"
                                                                                                                                                                                          width="100%" colSpan="2">New Bank Accounts Information:
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td colSpan="2" width="100%">
                                                                                                                                                                                          <asp:label id="lblErrGeneralI_I" Font-Name="Verdana" Font-Size="9" Runat="server" ForeColor="#ffff66"></asp:label>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <TR>
                                                                                                                                                                                    <TD width="100%" colSpan="2">
                                                                                                                                                                                          <HR>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </TR>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td></td>
                                                                                                                                                                                    <td>
                                                                                                                                                                                          <asp:CompareValidator ID="cvBankCountryI_I" Runat="server" ControlToValidate="drpBankCountryrI_I" Type="String"
                                                                                                                                                                                                Operator="NotEqual" ValueToCompare="NONE" ErrorMessage="<font color=#ffff66 size=2>You MUST select a 'Country of Bank'!</font>"
                                                                                                                                                                                                Display="None"></asp:CompareValidator>
                                                                                                                                                                                          <asp:label id="lblBCtryMsg_I" Width="100%" ForeColor="LightCyan" Font-Name="Verdana" Font-Size="9"
                                                                                                                                                                                                Runat="server" text="(You MUST select a Country of Bank)"></asp:label>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <TD align="right" width="30%">
                                                                                                                                                                                          <asp:label id="lblBankCountryI_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                text="Please select Country of Bank:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD width="70%">
                                                                                                                                                                                          <asp:DropDownList ID="drpBankCountryrI_I" AutoPostBack=true Runat="server" Width="50%" DataSource='<%# BindDropDownList("RetrieveBankCountries") %>' DataValueField="territory_code" DataTextField="territory_short_name">
                                                                                                                                                                                          </asp:DropDownList>
                                                                                                                                                                                          <asp:label id="lblErrBankCountryI_I" Font-Name="Verdana" Font-Size="9" Runat="server" ForeColor="#ffff66"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td>
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td>
                                                                                                                                                                                          <asp:CompareValidator ID="cvBankCurrI_I" Runat="server" ControlToValidate="drpBankCurrI_I" Type="String"
                                                                                                                                                                                                Operator="NotEqual" ValueToCompare="NONE" ErrorMessage="<font color=#ffff66 size=2>You MUST select a 'Bank Account Currency'!</font>"
                                                                                                                                                                                                Display="NONE"></asp:CompareValidator>
                                                                                                                                                                                          <asp:label id="lblBACurrMsg_I" Width="100%" ForeColor="LightCyan" Font-Name="Verdana" Font-Size="9"
                                                                                                                                                                                                Runat="server" text="(You MUST select a Bank Account Currency)"></asp:label>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                          <asp:label id="lblBankCurI_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                text="Bank Account Currency:"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                                    <TD>
                                                                                                                                                                                          <asp:DropDownList ID="drpBankCurrI_I" AutoPostBack=True Runat="server" Width="50%" DataSource='<%# BindDropDownList("RetrieveCurrencyCode") %>' DataValueField="CURRVALUE" DataTextField="CURRTEXT">
                                                                                                                                                                                          </asp:DropDownList>
                                                                                                                                                                                          <asp:label id="lblErrBankCurI_I" Font-Name="Verdana" Font-Size="9" Runat="server" ForeColor="#ffff66"></asp:label>
                                                                                                                                                                                    </TD>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td colspan="2" height="15">
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td>
                                                                                                                                                                                    </td>
                                                                                                                                                                                    <td>
                                                                                                                                                                                          <asp:Button ID="btnBankEntry_I" ForeColor="Navy" Font-Bold="True" BackColor="Lavender" CommandName="EnterBank"
                                                                                                                                                                                                Runat="server" width="50%" Text="Click to Enter Banking Information"></asp:Button>
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td colspan="2" height="15">
                                                                                                                                                                                    </td>
                                                                                                                                                                              </tr>
                                                                                                                                                                              <tr>
                                                                                                                                                                                    <td colspan="2" width="100%">
                                                                                                                                                                                          <asp:Panel ID="pnlBankInfo_I" Width="100%" Visible="False" Runat="server">
                                                                                                                                                                                                <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0" bgcolor="#6699cc" style="FONT-WEIGHT: bold; COLOR: white">
                                                                                                                                                                                                      <tr>
                                                                                                                                                                                                            <td colspan="2" width="100%"><hr>
                                                                                                                                                                                                            </td>
                                                                                                                                                                                                      </tr>
                                                                                                                                                                                                      <tr>
                                                                                                                                                                                                            <td colspan="2" width="100%" align="center">
                                                                                                                                                                                                                  <asp:label id="lblEnterBankInfo_I" Width="100%" ForeColor="LightCyan" Font-Name="Verdana" Font-Size="10"
                                                                                                                                                                                                                        Runat="server" text="Please enter Bank/Branch information for this Bank Account:"></asp:label>
                                                                                                                                                                                                                  <asp:Linkbutton id="lnkAddBank_I" Visible="false" Runat="server" Font-Size="9" Font-Bold="True"
                                                                                                                                                                                                                        CommandName="AddBankNew" Font-Names="Verdana" Text="Add New Bank"></asp:Linkbutton>
                                                                                                                                                                                                                  <asp:Linkbutton id="LnkBankList_I" Visible="false" Runat="server" Font-Size="9" Font-Bold="True"
                                                                                                                                                                                                                        CommandName="BankListNew" Font-Names="Verdana" Text="Bank List"></asp:Linkbutton>
                                                                                                                                                                                                            </td>
                                                                                                                                                                                                      </tr>
                                                                                                                                                                                                      <TR>
                                                                                                                                                                                                            <TD colspan="2" align="center">
                                                                                                                                                                                                                  <asp:Panel ID="pnlBankList_I" Width="100%" Runat="server" Visible="false">
                                                                                                                                                                                                                        <TABLE cellSpacing="0" cellPadding="0" width="98%" border="0" style="FONT-WEIGHT: bold; COLOR: white">
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td colspan="3" height="25">
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td width="15%" align="left">
                                                                                                                                                                                                                                          <asp:label id="RecordCount_I" runat="server" Font-Name="verdana" Font-Bold="True" Font-Size="9" />
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td width="60%">
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td width="25%" align="right">
                                                                                                                                                                                                                                          <asp:Label id="lblPageCount_I" runat="server" Font-Name="verdana" Font-Bold="True" Font-Size="9" />
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td align="center" colspan="3">
                                                                                                                                                                                                                                          <asp:datagrid id="dgrdBanks_I" runat="server" Width="100%" Font-Size="7" BorderStyle="Solid" BorderColor="lightgrey"
                                                                                                                                                                                                                                                AutoGenerateColumns="false" AllowPaging="True" AllowCustomPaging="False" PagerStyle-Visible="False"
                                                                                                                                                                                                                                                ShowFooter="false" ShowHeader="true" Datakeyfield="Bank_Branch_ID" HeaderStyle-ForeColor="White"
                                                                                                                                                                                                                                                SelectedItemStyle-BackColor="DarkKhaki" SelectedItemStyle-Font-Bold="True" SelectedItemStyle-ForeColor="White"
                                                                                                                                                                                                                                                HeaderStyle-BackColor="SteelBlue" HeaderStyle-Font-Bold="true" BorderWidth="2">
                                                                                                                                                                                                                                                <AlternatingItemStyle BackColor="lavender"></AlternatingItemStyle>
                                                                                                                                                                                                                                                <ItemStyle BackColor="White" Font-Names="verdana" Font-Size="7" Width="100"></ItemStyle>
                                                                                                                                                                                                                                                <Columns>
                                                                                                                                                                                                                                                      <asp:TemplateColumn>
                                                                                                                                                                                                                                                            <HeaderTemplate>
                                                                                                                                                                                                                                                                  Bank Name
                                                                                                                                                                                                                                                            </HeaderTemplate>
                                                                                                                                                                                                                                                            <ItemTemplate>
                                                                                                                                                                                                                                                                  <asp:LinkButton CommandName="BankName" Text='<%# DataBinder.Eval(Container.DataItem, "Bank_Name")%>' runat=server ID="Linkbutton1_I"/>
                                                                                                                                                                                                                                                            </ItemTemplate>
                                                                                                                                                                                                                                                      </asp:TemplateColumn>
                                                                                                                                                                                                                                                      <asp:BoundColumn DataField="Bank_Branch_ID" HeaderText="Bank_Branch_ID" Visible="false"></asp:BoundColumn>
                                                                                                                                                                                                                                                      <asp:BoundColumn DataField="Bank_Name" HeaderText="Bank Name" Visible="false"></asp:BoundColumn>
                                                                                                                                                                                                                                                      <asp:BoundColumn DataField="Bank_Number" HeaderText="Bank Number" Visible="true"></asp:BoundColumn>
                                                                                                                                                                                                                                                      <asp:BoundColumn DataField="Branch_Name" HeaderText="Branch Name" Visible="true"></asp:BoundColumn>
                                                                                                                                                                                                                                                      <asp:BoundColumn DataField="Branch_Number" HeaderText="Branch/ABA Number" Visible="true"></asp:BoundColumn>
                                                                                                                                                                                                                                                      <asp:BoundColumn DataField="Branch_Type" HeaderText="Branch Type" Visible="true"></asp:BoundColumn>
                                                                                                                                                                                                                                                      <asp:BoundColumn DataField="Swift_Code" HeaderText="Swift Code" Visible="true"></asp:BoundColumn>
                                                                                                                                                                                                                                                </Columns>
                                                                                                                                                                                                                                          </asp:datagrid>
                                                                                                                                                                                                                                          <asp:linkbutton Font-Size="9" Font-Bold="True" Font-Name="verdana" id="Firstbutton_I" Text="<< 1st Page"
                                                                                                                                                                                                                                                CommandName="0" runat="server" />
                                                                                                                                                                                                                                          <asp:linkbutton Font-Size="9" Font-Bold="True" Font-Name="verdana" id="Prevbutton_I" Text="" CommandName="prev"
                                                                                                                                                                                                                                                runat="server" />
                                                                                                                                                                                                                                          &nbsp;&nbsp;
                                                                                                                                                                                                                                          <asp:linkbutton Font-Size="9" Font-Bold="True" Font-Name="verdana" id="Nextbutton_I" Text="" CommandName="next"
                                                                                                                                                                                                                                                runat="server" />
                                                                                                                                                                                                                                          <asp:linkbutton Font-Size="9" Font-Bold="True" Font-Name="verdana" id="Lastbutton_I" Text="Last Page >>"
                                                                                                                                                                                                                                                CommandName="last" runat="server" />
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td colspan="2" height="15"></td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td width="15%" style="FONT-WEIGHT: bold; FONT-SIZE: 9pt; COLOR: white; FONT-FAMILY: verdana"
                                                                                                                                                                                                                                          align="right">Search for a Bank:</td>
                                                                                                                                                                                                                                    <td width="60%" align="left">
                                                                                                                                                                                                                                          <asp:textbox id="txtBankSearchI_I" Width="98%" Runat="server"></asp:textbox>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td width="25%" align="left">
                                                                                                                                                                                                                                          <asp:Button ID="btnBSearchI_I" CommandName="BankSearchI" Runat="server" Width="100" Text="Search"
                                                                                                                                                                                                                                                BackColor="lavender" ForeColor="Navy" Font-Bold="True"></asp:Button>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td colspan="3" height="15"></td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td colspan="3" width="100%"><hr>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                        </TABLE>
                                                                                                                                                                                                                  </asp:Panel>
                                                                                                                                                                                                            </TD>
                                                                                                                                                                                                      </TR>
                                                                                                                                                                                                      <tr>
                                                                                                                                                                                                            <TD colspan="2">
                                                                                                                                                                                                                  <asp:Panel ID="pnlBankFields_I" Width="100%" Runat="server" Visible="false">
                                                                                                                                                                                                                        <TABLE cellSpacing="4" cellPadding="0" width="100%" border="0" style="FONT-WEIGHT: bold; COLOR: white">
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right" width="15%">
                                                                                                                                                                                                                                          <asp:label id="lblBrIDI_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" Visible="false"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD width="35%">
                                                                                                                                                                                                                                          <asp:textbox id="txtBrIDI_I" Width="50%" Runat="server" ReadOnly="True" BackColor="Gainsboro"
                                                                                                                                                                                                                                                Visible="false"></asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD align="right" width="15%">
                                                                                                                                                                                                                                          <asp:label id="lblBrIDrI_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" Visible="false"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD width="35%">
                                                                                                                                                                                                                                          <asp:textbox id="txtBrIDrI_I" Width="50%" Runat="server" ReadOnly="True" BackColor="Gainsboro"
                                                                                                                                                                                                                                                Visible="false"></asp:textbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td colspan="4">
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblBankNameI_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                                                                text="Bank Name:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtBankNamerI_I" Width="75%" Runat="server" ReadOnly="True" BackColor="Gainsboro"></asp:textbox>
                                                                                                                                                                                                                                          <asp:label id="lblErrBNameI_I" Font-Name="Verdana" Font-Size="9" Runat="server" ForeColor="#ffff66"></asp:label></TD>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblBrNameI_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                                                                text="Branch Name:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtBrNamerI_I" Width="75%" Runat="server" ReadOnly="True" BackColor="Gainsboro"></asp:textbox>
                                                                                                                                                                                                                                          <asp:label id="lblErrBRNameI_I" Font-Name="Verdana" Font-Size="9" Runat="server" ForeColor="#ffff66"></asp:label></TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblBankNumI_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                                                                text="Bank Number:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtBankNumrI_I" Width="75%" Runat="server" ReadOnly="True" BackColor="Gainsboro"></asp:textbox>
                                                                                                                                                                                                                                          <asp:label id="lblErrBankNumI_I" Font-Name="Verdana" Font-Size="9" Runat="server" ForeColor="#ffff66"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblBrNumI_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Branch/ABA Number:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtBrNumrI_I" Width="75%" Runat="server" ReadOnly="True" BackColor="Gainsboro"></asp:textbox>
                                                                                                                                                                                                                                          <asp:label id="lblErrBrBNumI_I" Font-Name="Verdana" Font-Size="9" Runat="server" ForeColor="#ffff66"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right" valign="top">
                                                                                                                                                                                                                                          <asp:label id="lblFreeTextI_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                                                                text="Misc Bank Details:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                          <asp:textbox id="txtFreeTextI_I" TextMode="MultiLine" Height="125" Width="100%" Runat="server"
                                                                                                                                                                                                                                                ReadOnly="false" BackColor="White"></asp:textbox>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td colspan="2" valign="top">
                                                                                                                                                                                                                                          <table cellSpacing="4" cellPadding="0" width="100%" border="0" style="FONT-WEIGHT: bold; COLOR: white">
                                                                                                                                                                                                                                                <tr>
                                                                                                                                                                                                                                                      <TD align="right" width="30%">
                                                                                                                                                                                                                                                            <asp:label id="lblBrTypeI_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                                                                                  text="Branch Type:"></asp:label>
                                                                                                                                                                                                                                                      </TD>
                                                                                                                                                                                                                                                      <TD width="70%">
                                                                                                                                                                                                                                                            <asp:textbox id="txtBrTyperI_I" Width="75%" Runat="server" ReadOnly="True" BackColor="Gainsboro"></asp:textbox>
                                                                                                                                                                                                                                                            <asp:label id="lblErrBrTypeI_I" Font-Name="Verdana" Font-Size="9" Runat="server" ForeColor="#ffff66"></asp:label>
                                                                                                                                                                                                                                                      </TD>
                                                                                                                                                                                                                                                </tr>
                                                                                                                                                                                                                                                <tr>
                                                                                                                                                                                                                                                      <TD align="right" rowspan="4" valign="top">
                                                                                                                                                                                                                                                            <asp:label id="lblSwiftI_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Swift Code:"></asp:label>
                                                                                                                                                                                                                                                      </TD>
                                                                                                                                                                                                                                                      <TD rowspan="4" valign="top">
                                                                                                                                                                                                                                                            <asp:textbox id="txtSwiftrI_I" Width="75%" Runat="server" ReadOnly="True" BackColor="Gainsboro"></asp:textbox>
                                                                                                                                                                                                                                                            <asp:label id="lblErrSwiftI_I" Font-Name="Verdana" Font-Size="9" Runat="server" ForeColor="#ffff66"></asp:label>
                                                                                                                                                                                                                                                      </TD>
                                                                                                                                                                                                                                                </tr>
                                                                                                                                                                                                                                          </table>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td colspan="4" height="15">
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblBANameI_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                                                                text="Name of Beneficiary:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:textbox id="txtBANamerI_I" Width="100%" Runat="server"></asp:textbox>
                                                                                                                                                                                                                                          <asp:label id="lblErrBANameI_I" Font-Name="Verdana" Font-Size="9" Runat="server" ForeColor="#ffff66"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <asp:label id="lblPriFlagI_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server"
                                                                                                                                                                                                                                                text="Primary:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD>
                                                                                                                                                                                                                                          <asp:checkbox id="chkPriFlagrI_I" Runat="server" Checked="true"></asp:checkbox>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td colspan="3">
                                                                                                                                                                                                                                          <asp:label id="lblErrBANumI_I" Font-Name="Verdana" Font-Size="9" Runat="server" ForeColor="#ffff66"></asp:label>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <TR>
                                                                                                                                                                                                                                    <TD align="right">
                                                                                                                                                                                                                                          <!-- Modified by Cyrene V. Jacob -->
                                                                                                                                                                                                                                          <FONT style="FONT-WEIGHT: bold" color="#ffff66">Required -&nbsp;</FONT>
                                                                                                                                                                                                                                          <asp:label id="lblBANumI_I" Width="100%" Font-Name="Verdana" Font-Size="9" Runat="server" text="Account Number:"></asp:label>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                                    <TD id="tdBACNumrI_I" colspan="3">
                                                                                                                                                                                                                                          <asp:textbox id="txtBANumrI_I" Width="75%" Runat="server"></asp:textbox>
                                                                                                                                                                                                                                          <!-- added by Cyrene V. Jacob on 14th April 2009 against #PVLW-7JURA9 raised by Sylwia Stalska-->
                                                                                                                                                                                                                                          <asp:RequiredFieldValidator ID="bACNumVal" runat="server" ErrorMessage="Bank Account Number is a Required field."
                                                                                                                                                                                                                                                ControlToValidate="txtBANumrI_I"></asp:RequiredFieldValidator>
                                                                                                                                                                                                                                    </TD>
                                                                                                                                                                                                                              </TR>
                                                                                                                                                                                                                              <tr height="20" valign="bottom">
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td colspan="3" align="left"><font color="#ffff66" size="2">(Please include the country
                                                                                                                                                                                                                                                code at the beginning and enter without spaces)</font>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                              </tr>
                                                                                                                                                                                                                              <tr>
                                                                                                                                                                                                                                    <td>
                                                                                                                                                                                                                                    </td>
                                                                                                                                                                                                                                    <td colspan="3">
                                                                                                                                                                                                                                          <asp:label id="lblErrIBANI_I" Font-Name="Verdana" Font-Size="9" Runat="server" ForeColor="#ffff66"></asp:label>