function displayMsg(msgStr) {
  status=msgStr;
  document.returnValue = true;
}

function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}
function openNewWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function validate () {
    if (document.contact.Name.value == "") {
     alert("You must provide a contact name.");
     return false;
    }
	if (document.contact.Email.value == "") {
     alert("You must provide an email address.");
     return false;
    }
	if (document.contact.Subject.value == "" || document.contact.Subject.value == "Select One") {
     alert('You must select a subject.');
    }
	if (document.contact.Message.value == "") {
     alert("You must provide a message.");
     return false;
    }
    else
     return true;
   }
