<!--

var ReturnValue ='';
var SelectSize=0;
var msg

 function main_page(){
    location.href="index.htm";
  }
  
   function CheckForm(){
                var subStr = "";
                
                if (document.Form2.elements[1].value == ""){
                        subStr = subStr + "Application, ";
                }
                if (document.Form2.elements[2].value == ""){
                        subStr = subStr + "First Name, ";
                }

                if (document.Form2.elements[3].value == ""){
                        subStr = subStr + "Last Name, ";
                }

              if (document.Form2.elements[4].value == ""){
                        subStr = subStr + "Email, ";
                }
             if (document.Form2.elements[7].value == ""){
                        subStr = subStr + "Phone, ";
                }
                if (document.Form2.elements[9].value == ""){
                        subStr = subStr + "Address, ";
                }

                if (document.Form2.elements[10].value == ""){
                        subStr = subStr + "City, ";
                }

                if (document.Form2.elements[11].selectedIndex == 0){
                        if (document.Form2.elements[11].selectedIndex == 0){
                                subStr = subStr + "State, ";
                        }
                }

                if (document.Form2.elements[12].value == ""){
                        subStr = subStr + "Zip, ";
                }

                if (document.Form2.elements[13].value == ""){
                        subStr = subStr + "Country, ";
                }
                var M=document.Form2.elements['Mailing']; 
                if (!M[0].checked && !M[1].checked) subStr = subStr + "Mailing  ";


		if (subStr != "") {

                        messStr="The following fields are required:\n ";
                        endStr="\n Please enter the requested information.";
                        alert(messStr + subStr + endStr);
                        return false;

		}
		
	          
                 if (document.Form2.Recipient.value == "")
		       { 
		          alert("Mail will not be sent ");
		          return false;
		           }
			return true;

                }

function badEmail(theEmail) 
{
 var sEmail = "" + theEmail;
 if (sEmail.indexOf('@') == -1) return true;
 if (sEmail.indexOf('.') == -1) return true; 
}

// -->




