function validateForm() {
  var okSoFar=true 
  if (document.myForm.contact.value=="") {
    okSoFar=false
    alert("Please fill in the Contact Name field!")
    document.myForm.contact.focus()
  }
   if (document.myForm.comments.value=="") {
    okSoFar=false
    alert("Please fill in the Comments field!")
    document.myForm.comments.focus()
  }
if (document.myForm.email.value=="") {
    okSoFar=false
    alert("Please fill in the Email field!")
    document.myForm.email.focus()
  }
    if (okSoFar==true) {
    document.myForm.submit()
  }
}

function validateEstimate() {
  var okSoFar=true 
  if (document.myOrder.first_name.value=="") {
    okSoFar=false
    alert("Please fill in the First Name field!")
    document.myOrder.first_name.focus()
  }
  if (document.myOrder.last_name.value=="") {
    okSoFar=false
    alert("Please fill in the Last Name field!")
    document.myOrder.last_name.focus()
  }
if (document.myOrder.phone.value=="") {
    okSoFar=false
    alert("Please fill in the Phone field!")
    document.myOrder.phone.focus()
  }
    if (okSoFar==true) {
    document.myOrder.submit()
  }
}