This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | function YearInput(){ | |
| $HTMLCode = "<input type=\"text\" id=\"Year\" name=\"Year\" size=\"5\" maxlength=\"4\" value=\"Year\" onfocus=\"Focus('Year','Year')\" "; | |
| $HTMLCode .= "onkeyup=\"NoChrs('Year')\" onblur=\"Blur('Year','Year');\" /></td>".Chr(13); | |
| return $HTMLCode; | |
| } | |
| function DaySelect(){ | |
| $HTMLCode = "<select name=\"day\" id=\"day\">".Chr(13); | |
| for ($i=1;$i<32;$i++){ | |
| $HTMLCode .= "<option value=\"".$i."\">".$i."</option>".Chr(13); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | function StateSelect(){ | |
| $HTMLCode = "<select id=\"State\" name=\"State\">".Chr(13); | |
| $HTMLCode .= "<option value=\"AA\">Select...</option>".Chr(13); | |
| $HTMLCode .= "<optgroup label=\"United States\">".Chr(13); | |
| $HTMLCode .= "<option value=\"AL\">Alabama</option>".Chr(13); | |
| $HTMLCode .= "<option value=\"AK\">Alaska</option>".Chr(13); | |
| $HTMLCode .= "<option value=\"AZ\">Arizona</option>".Chr(13); | |
| $HTMLCode .= "<option value=\"AR\">Arkansas</option>".Chr(13); | |
| $HTMLCode .= "<option value=\"CA\">California</option>".Chr(13); | |
| $HTMLCode .= "<option value=\"CO\">Colorado</option>".Chr(13); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | function MonthSelect(){ | |
| $HTMLCode = "<select name=\"month\" id=\"month\">".Chr(13); | |
| $HTMLCode .= "<option value=\"01\">January</option>".Chr(13); | |
| $HTMLCode .= "<option value=\"02\">February</option>".Chr(13); | |
| $HTMLCode .= "<option value=\"03\">March</option>".Chr(13); | |
| $HTMLCode .= "<option value=\"04\">April</option>".Chr(13); | |
| $HTMLCode .= "<option value=\"05\">May</option>".Chr(13); | |
| $HTMLCode .= "<option value=\"06\">June</option>".Chr(13); | |
| $HTMLCode .= "<option value=\"07\">July</option>".Chr(13); | |
| $HTMLCode .= "<option value=\"08\">August</option>".Chr(13); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | function CountrySelect(){ | |
| $HTMLCode = "<select id=\"Country\" name=\"Country\">".Chr(13); | |
| $HTMLCode .= "<option value=\"US\">United States of America</option>".Chr(13); | |
| $HTMLCode .= "<option value=\"AF\">Afghanistan</option>".Chr(13); | |
| $HTMLCode .= "<option value=\"AL\">Albania</option>".Chr(13); | |
| $HTMLCode .= "<option value=\"DZ\">Algeria</option>".Chr(13); | |
| $HTMLCode .= "<option value=\"AS\">American Samoa</option>".Chr(13); | |
| $HTMLCode .= "<option value=\"AD\">Andorra</option>".Chr(13); | |
| $HTMLCode .= "<option value=\"AG\">Angola</option>".Chr(13); | |
| $HTMLCode .= "<option value=\"AI\">Anguilla</option>".Chr(13); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | function Focus2(){ | |
| HTMLCode = "<input type=\"password\" size=\"20\" id=\"mypassword\" name=\"mypassword\" "; | |
| HTMLCode += "onkeydown='javascript:if(event.keyCode==13){Login();}' onblur=\"Blur2()\" />"; | |
| document.getElementById("thepassword").innerHTML = HTMLCode; | |
| document.getElementById("mypassword").focus(); | |
| document.getElementById("mypassword").focus(); | |
| } | |
| function Blur2(){ | |
| if ((document.getElementById("mypassword").value == "") || (document.getElementById("mypassword").value == null)) { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | function Focus(TextboxName,TheValue){ | |
| if (document.getElementById(TextboxName).value == TheValue){ | |
| document.getElementById(TextboxName).value = ""; | |
| } } | |
| function Blur(TextboxName,TheValue){ | |
| if (document.getElementById(TextboxName).value == ""){ | |
| document.getElementById(TextboxName).value = TheValue; | |
| } } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | function FormatPhone(ThePhone){ | |
| if (ThePhone.length >= 9){ | |
| ThePhone = ThePhone.replace(/\(/gi,""); | |
| ThePhone = ThePhone.replace(/\)/gi,""); | |
| ThePhone = ThePhone.replace(/-/gi,""); | |
| ThePhone = ThePhone.replace(/\ /gi,""); | |
| return ThePhone; | |
| } else { | |
| return "invalid"; | |
| } } |