<!--

function MM_jumpMenu(targ,selObj,restore){ //v3.0

  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");

  if (restore) selObj.selectedIndex=0;

}

function clearDefault(el) {
  if (el.defaultValue==el.value) el.value = ""
}

function isFilled(elm) {
  if (elm.value =="" ||
      elm.value == null)
  return false;
  else return true;
}

function isReadyPostCode(form) {
  if (isFilled(form.tPostcode) == false) {
  alert("Please enter a Post Code...");
  form.tPostcode.focus();
  return false;
}
return true;
}

function isEmail(elm) {
  if (elm.value.indexOf("@") !="-1" &&
      elm.value.indexOf(".") !="-1" &&
      elm.value != "")
  return true;
  else return false;
}

function validate(form) {
  if (isEmail(form.tEmail) == false) {
  alert("Please enter a valid email address...");
  form.tEmail.focus();
  return false;
}
return true;
}

//-->
