function validate_form ( )
{
   valid = true;
   if ( document.forms['quote1'].realname.value == "" ) {
      alert ( "Please fill in the 'Your Name' box." );
      valid = false;
   }
   if (document.forms['quote1'].email.value == "") {
      alert ("You didn't enter an email address.");
      valid=false;
      }  
     if ( document.forms['quote1'].realcode.value != document.forms['quote1'].randnum.value ) {
      alert ( "Please enter displayed value." );
      valid = false;
   }
   return valid;
}
