function validateForm() 
{
 var okSoFar=true
 with (document.request)
 {
  
<!-- First Name -->  
  
  if (txt_first.value=="" && okSoFar)
  {
    okSoFar=false
    alert("Please enter your First Name.")
    txt_first.focus()
  } 
  
<!-- Last Name --> 
  
  if (txt_last.value=="" && okSoFar)
  {
    okSoFar=false
    alert("Please enter your Last Name.")
    txt_last.focus()
  }
  

<!-- Email -->
  
  var foundAt = txt_email.value.indexOf("@",0)
  if (foundAt < 1 && okSoFar)
  {
    okSoFar = false
    alert ("Please enter a valid Email Address.")
    txt_email.focus()
  } 
  
  
<!-- Confirm Email -->
  
  var foundAt = txt_confirm_email.value.indexOf("@",0)
  if (foundAt < 1 && okSoFar)
  {
    okSoFar = false
    alert ("Please confirm Email Address.")
    txt_confirm_email.focus()
  }
  
<!-- Model Name --> 
  
  if (txt_model.value=="" && okSoFar)
  {
    okSoFar=false
    alert("Please enter a Model Name.")
    txt_model.focus()
  }
  
<!-- Serial Number --> 
  
  if (txt_serial.value=="" && okSoFar)
  {
    okSoFar=false
    alert("Please enter a Serial Number.")
    txt_serial.focus()
  }
  
<!-- Firmware Version --> 
  
  if (txt_firmware.value=="" && okSoFar)
  {
    okSoFar=false
    alert("Please enter the Firmware Version.")
    txt_firmware.focus()
  }
  
<!-- Subject --> 
  
  if (txt_subject.value=="" && okSoFar)
  {
    okSoFar=false
    alert("Please enter a Subject.")
    txt_subject.focus()
  }
  
<!-- Describe Issue --> 
  
  if (txt_description.value=="" && okSoFar)
  {
    okSoFar=false
    alert("Please describe the Issue.")
    txt_description.focus()
  }
 

<!-- Submit --> 
  
  if (okSoFar==true)  submit();
 }
}