<!-- Notice where script is placed

      
function VerifyInfo(form){
  if (ValidateHoodLocation(form)){  		   	   
    if (ValidateName(form)){
	  if (ValidateAddress1(form)){
	   if (ValidateCity(form)){
		if (ValidateState(form)){
	  	 if (ValidateZip(form)){
		 	if (ValidateEmail(form)){  
   		   	  if (ValidateFoundUs(form)){  		   	      		   	  
		 	   if (AskAgain(form)){  	    		   	   
			return true
       }}}}}}}}}
       			return false }
       
       
       
	function ValidateHoodLocation(which)
        {if (which.HoodLocation.value == "Null")
			{alert("Please Identify Your Hood Location.");
			 which.HoodLocation.focus()         // Set focus to the field that needs to be corrected
             return false;
                }else{
				return true; }}
       
	function ValidateName(which)
        {if (which.YourName.value == "")
			{alert("Please Enter Your Name.");
			 which.YourName.select()         // Set focus to the field that needs to be corrected
             return false;
                }else{
				return true; }}
				 	 
	function ValidateCompany(which)
        {if (which.CompanyName.value == "")
			{alert("Please Enter Your Company Name.");
			 which.CompanyName.select()         // Set focus to the field that needs to be corrected
             return false;
                }else{
				 	 return true;}}
		
	function ValidateAddress1(which)
        {if (which.Address1.value == "")
			{alert("Please Enter Your Street Address.");
			 which.Address1.select()         // Set focus to the field that needs to be corrected
      			 return false;
                }else{
				 	 return true;}}
		
	function ValidateCity(which)
        {if (which.City.value == "")
			{alert("Please Enter Your City.");
			 which.City.select()         // Set focus to the field that needs to be corrected
			 return false;
                }else{
				 	 return true;}}
		
	function ValidateState(which)
        {if (which.State.value == "")
			{alert("Please Enter Your State.");
			 which.State.select()         // Set focus to the field that needs to be corrected
			 return false;
                }else
        {if (which.State.value.length != 2)
			{alert("Please Enter 2 Characters for State.");
			 which.State.select()         // Set focus to the field that needs to be corrected
			 return false;
                }else{
		
		
				 	 return true;}}}
		
	function ValidateZip(which)

        {if (which.Zip.value == "")
			{alert("Please Enter Your 5 digit Zip Code.");
			 which.Zip.select()         // Set focus to the field that needs to be corrected
			 return false;
                }else
        {if (which.Zip.value.length != 5)
			{alert("Please Enter 5 Digits for Your Zip.");
			 which.Zip.select()         // Set focus to the field that needs to be corrected
			 return false;
                }else{
        
        // This code will ensure that only digits are allowed
        
        {var x=which.Zip.value
		var anum=/(^\d+$)|(^\d+\.\d+$)/
		if (anum.test(x))
		testresult=true
		else{
		testresult=false
		alert("Please Enter Digits ONLY for Your Zip Code")}
        which.Zip.select()         // Set focus to the field that needs to be corrected
		return (testresult)}}}}
	
		
	function ValidateArea(which){
			if (which.Area.value == ""){
			alert("Please Enter Your Area Code.");
			 which.Area.select()         // Set focus to the field that needs to be corrected
			 return false;
               }else{
        if (which.Area.value.length != 3)
			{alert("Please Enter 3 Digits for Your Area Code.");
			 which.Area.select()         // Set focus to the field that needs to be corrected
			 return false;
               }else{							                    
		
		// This code will ensure that only digits are allowed
		{var x=which.Area.value
		var anum=/(^\d+$)|(^\d+\.\d+$)/
		if (anum.test(x))
		testresult=true
		else{
		testresult=false
		alert("Please Enter Digits ONLY for Your Area Code")}
		which.Area.select()         // Set focus to the field that needs to be corrected
		return (testresult)}}}}
		
		
	function ValidatePhone3(which)
        {if (which.Phone3.value == "")
			{alert("Please Enter the last 3 digits of Your Phone Number Extension.");
			 which.Phone3.select()         // Set focus to the field that needs to be corrected
			 return false;
                }else
        {if (which.Phone3.value.length != 3)
			{alert("Please Enter 3 Digits for Your Phone Number Extension.");
			 which.Phone3.select()         // Set focus to the field that needs to be corrected
			 return false;
                }else{
        
        // This code will ensure that only digits are allowed
        {var x=which.Phone3.value
		var anum=/(^\d+$)|(^\d+\.\d+$)/
		if (anum.test(x))
		testresult=true
		else{
		testresult=false
		alert("Please Enter Digits ONLY for Your Phone Extension")}
		which.Phone3.select()         // Set focus to the field that needs to be corrected
		return (testresult)}}}}
						 	 
	function ValidatePhone4(which)
        {if (which.Phone4.value == "")
			{alert("Please Enter the last 4 digits of your phone's last 4 digits.");
			 which.Phone4.select()         // Set focus to the field that needs to be corrected
			 return false;
                }else
        {if (which.Phone4.value.length != 4)
			{alert("Please Enter 4 Digits for your phone's last 4 digits.");
			 which.Phone4.select()         // Set focus to the field that needs to be corrected
			 return false;
                }else{
             
        // This code will ensure that only digits are allowed
		{var x=which.Phone4.value
		var anum=/(^\d+$)|(^\d+\.\d+$)/
		if (anum.test(x))
		testresult=true
		else{
		testresult=false
		alert("Please Enter Digits ONLY for Your Phone's Last 4 Digits")}
		which.Phone4.select()         // Set focus to the field that needs to be corrected
		return (testresult)}}}}
                
						 	 
	function ValidateEmail(which)
		

		{if (which.Email.value == "")
			{alert("Please Enter Your Email Address");
			 which.Email.select()         // Set focus to the field that needs to be corrected
			 return false;
                }else{
        {var offset1 = which.Email.value.indexOf(" ")
         if(which.Email.value == "" || which.Email.value.indexOf('@', 2) == -1  || which.Email.value.indexOf('.', 3) == -1 || which.Email.value.length <= 9 || which.Email.value.indexOf(" ") != -1 )
        {alert("Please Enter a Valid E-Mail Address. For example, Smith@yahoo.com")
         which.Email.select()         // Set focus to the field that needs to be corrected
               return false;
				}else{
				return true; }}}}

				
	function AskAgain(which){		
			
			//Give the User a chance to confirm his password is correct
				if (confirm("You entered \""+which.Email.value+"\" as your email address. Is that correct?"))
				return true;
				else{
				which.Email.select()
				return false; }}
				

	function ValidateWebsite(which)
        {if (which.Website.value == "")
			{alert("Please Identify your website address. If you have no website, write NONE in text box");
			 which.Website.select()         // Set focus to the field that needs to be corrected
			 return false;
                }else{
				 	 return true;}}
				 	
	function ValidateIndustry(which)
        {if (which.cboIndustry.value == "Null")
			{alert("Please Select Your Industry.");
			 which.cboIndustry.focus()         // Set focus to the field that needs to be corrected
			 return false;
                }else{
				 	 return true;}}
				 	 
	function ValidateInterest(which)
        {if (which.cboInterest.value == "Null")
			{alert("Please Identify How Your Heard About Us");
			 which.cboInterest.focus()         // Set focus to the field that needs to be corrected
			 return false;
                }else{
				 	 return true;}}
				 	 
	function ValidateFoundUs(which)
        {if (which.HeardAboutUs.value == "Null")
			{alert("Please Identify How Your Found Our Website");
			 which.HeardAboutUs.focus()         // Set focus to the field that needs to be corrected
			 return false;
                }else{
				 	 return true;}}

	function ValidateRetrieveEmail(which)
        {if (which.cboRetrieveEmail.value == "Null")
			{alert("Please Identify How How You Receive Your Email");
			 which.cboRetrieveEmail.focus()         // Set focus to the field that needs to be corrected
			 return false;
                }else{
				 	 return true;}}


// -->