function submitForm(myForm){
  
    var myError="";
    if(stripSpaces(myForm.first_name.value).length==0)
          myError+="Please enter your first name!\n";
    if(stripSpaces(myForm.last_name.value).length==0)
          myError+="Please enter your last name!\n";
    if(stripSpaces(myForm.street_address.value).length==0)
          myError+="Please enter your street address!\n";
    if(stripSpaces(myForm.zip.value).length==0)
          myError+="Please enter your zip!\n";
    if(stripSpaces(myForm.email.value).length==0)
          myError+="Please enter your email address!\n";
    if(stripSpaces(myForm.dob_mm.value).length==0)
          myError+="Please enter your month of birth in mm format!\n";
    if(stripSpaces(myForm.dob_dd.value).length==0)
          myError+="Please enter your date of birth in dd format!\n";
    if(stripSpaces(myForm.dob_yyyy.value).length==0)
          myError+="Please enter your year of birth in yyyy format!\n";
    if(myError!="")
          alert(myError);
    else{
          window.location="http://www.insurance.com/quotes/auto.aspx?cp=1604&CustomerSource=Wisconsin&insured=Y&first_name=" + myForm.first_name.value + "&last_name=" + myForm.last_name.value + "&street_address=" + myForm.street_address.value + "&zip=" + myForm.zip.value + "&EmailAddress=" + myForm.email.value + "&dob=" + myForm.dob_mm.value + "/" + myForm.dob_dd.value + "/" + myForm.dob_yyyy.value;
          //window.location=escape(myURI);
    }
}
