function myHandleChange() {  		document.forms[0].action = "?";		document.forms[0].submit();}function checkvalid_reg(){		    document.getElementById("Submit").disabled = true;		document.frmMaster.name.focus();		var comp_phone_name = new Array("vPhone1", "vPhone2", "vPhone3");		var phone_of_name = new Array("vPhoneOf1", "vPhoneOf2", "vPhoneOf3");		var phone_cel_name = new Array("vPhoneCel1", "vPhoneCel2", "vPhoneCel3");		var comp_fax_name = new Array("vFax1", "vFax2", "vFax3");		if(!check_validation("textfield", "name", "Please Enter First Name.") ||			!check_validation("letter", "name", "Please Enter First Name In Valid Format.") ||			!check_validation("letter", "Initial", "Please Enter Initial In Valid Format.") ||			!check_validation("textfield", "lname", "Please Enter Last Name.") ||			!check_validation("letter", "lname", "Please Enter Last Name In Valid Format.") ||			!check_validation("textfield", "vAddress", "Please Enter Address.") ||			!check_validation("textfield", "vCity", "Please Enter the City.") ||			!check_validation("letter", "vCity", "Please Enter City In Valid Format.") ||			!check_validation("combobox", "iStateId", "State. For non-US inquiries please select the Non-US option.") ||			!check_validation("combobox", "iCountryId", "Country.")) {								document.getElementById("Submit").disabled = false;				return false;		}				//VALIDATION ACORDING TO THE COUNTRY SELECTION		if(document.getElementById("iCountryId").value == "us"){			//ZIP CODE			if(!check_validation("combobox", "iStateId", "State") ||				!check_validation("textfield", "vZip", "Please Enter Zip Code.") ||								!check_validation("number", "vZip", "Please Enter Zip Code In Valid Format.")) {				document.getElementById("Submit").disabled = false;				return false;			}			if(document.getElementById("vZip").value.length != 5) {				alert("The zip code is incomplete");				document.getElementById("vZip").focus();				document.getElementById("Submit").disabled = false;				return false;			}		}				if(!check_validation("phone", comp_phone_name, "required") ||			!check_validation("phone", phone_of_name, "normal") ||			!check_validation("phone", phone_cel_name, "normal") ||			!check_validation("phone", comp_fax_name, "normal") ||			!check_validation("textfield", "email", "Please Enter Email.") ||			!check_validation( "email", "email", "Please enter the email in valid format.") ||			!check_validation("textfield", "confirmEmail", "Please Enter Email Confirmation.") ||			!check_validation( "email", "confirmEmail", "Please enter the email confirmation in valid format.")) {						document.getElementById("Submit").disabled = false;			return false;		}						//BOTH EMAIL & CONFIRMATION =		if(document.frmMaster.email.value != document.frmMaster.confirmEmail.value)		{			alert("No Matching Emails");			document.frmMaster.email.focus();			document.getElementById("Submit").disabled = false;			return false;					}				if(!check_validation("combobox", "iReferredID", "Reference") ||			!check_validation("combobox", "TypeOfHome", "Type Of Home")) {			document.getElementById("Submit").disabled = false;			return false;		}			document.frmMaster.submit();	}//end checkvalid()