<!--

function setColor(el, bg) {
  if (el.style) el.style.backgroundColor = bg;
}

function checkInput(orderform) {
  var bgBad = "#FBFDD7";
  var bgGood = "white";
  var valid = true;
  
  
 
  
  if (orderform.txtfname.value == "") {
    valid = false;
    setColor(orderform.txtfname, bgBad);
  } else {
    setColor(orderform.txtfname, bgGood);
  }
  
  if (orderform.txtlname.value == "") {
    valid = false;
    setColor(orderform.txtlname, bgBad);
  } else {
    setColor(orderform.txtlname, bgGood);
  }
     
       if (orderform.txtemail.value == "") {
    valid = false;
    setColor(orderform.txtemail, bgBad);
  } else {
    setColor(orderform.txtemail, bgGood);
  }
 

       if (orderform.txtphone.value == "") {
    valid = false;
    setColor(orderform.txtphone, bgBad);
  } else {
    setColor(orderform.txtphone, bgGood);
  }

       if (orderform.txthowhear.value == "") {
    valid = false;
    setColor(orderform.txthowhear, bgBad);
  } else {
    setColor(orderform.txthowhear, bgGood);
  }


if (!valid) alert("Please fill in the highlight fields. ");
  return valid;
}

// -->


