function checkValidTaxId
(theElement, theElementName) {             
              var vTaxId = theElement.value;  
              if (vTaxId.length > 0){    
                var xmlhttp;    
                if (window.XMLHttpRequest)  //Non IE Browser
                  xmlhttp = new XMLHttpRequest();
                else  //IE Browser
                  xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
                var url = "fmhutil.pkg_validate.p_validate_ssn?iSSN="+vTaxId;
                xmlhttp.open("POST", url, false);
                xmlhttp.send(null);
                var app = xmlhttp.responseText.split("\n");
     
                if (app[0]=="F"){
                  alert("The SSN does not appear to be valid.");
                  setTimeout(function(){document.getElementById(theElement.id).focus()}, 2);
                  document.getElementById(theElement.id).select();
                  return false;
                }
              }
              return true;
            }
