// JavaScript Document
<!--
// validateMercedes.js
// Yoshimi Yokoyama
// 11/05/06
// standalone file to validate Mercedes fields
//------ make sure user enters a name (textbox) ---------------
function submitIt()
{
   //----make sure user enter a e-mail(textbox)----
  if (document.form1.txtEmailAddress.value == "")  // if field is empty
  {
    alert("Please, type your E-mail address.");  // display an error message
    document.form1.txtEmailAddress.select();  // select the textbox
    document.form1.txtEmailAddress.focus();  // and set the focus there
    return false; // return error condition
  } 
}

//-------------------------------------------------------------
//-->