function checkField(field){
  if(field=="other"){
    tField = document.getElementById(field);
    iField = document.getElementById("otherinput");
    if(iField.value!=""){
      tField.checked=true;
    } else {
      tField.checked=false;
    }
  }
  if(field=="email"){
    tField=document.getElementById(field);
    email=tField.value;
    aEmail=email.split('@');
    if(aEmail[1]){
      bEmail=aEmail[1].split('.');
      if(aEmail[0]&&bEmail[0]&&bEmail[1]){
        tField.style.backgroundColor="white";
      } else {
        tField.style.backgroundColor="yellow";
      }
    } else {
      tField.style.backgroundColor="yellow";
    }
  }
  else {
    tField = document.getElementById(field);
    if(tField.value != ""){
      tField.style.backgroundColor="white";
    } else {
      tField.style.backgroundColor="yellow";
    }
  }
}
//-->
