// JavaScript Document

function MM_checkPlugin(plgIn, theURL, altURL, autoGo) { //v4.0
  var ok=false; document.MM_returnValue = false;
  with (navigator) if (appName.indexOf('Microsoft')==-1 || (plugins && plugins.length)) {
    ok=(plugins && plugins[plgIn]);
  } else if (appVersion.indexOf('3.1')==-1) { //not Netscape or Win3.1
    if (plgIn.indexOf("Flash")!=-1 && window.MM_flash!=null) ok=window.MM_flash;
    else if (plgIn.indexOf("Director")!=-1 && window.MM_dir!=null) ok=window.MM_dir;
    else ok=autoGo; }
  if (!ok) theURL=altURL; if (theURL) window.location=theURL;
}
function MM_changeProp(objId,x,theProp,theValue) { //v9.0
  var obj = null; with (document){ if (getElementById)
  obj = getElementById(objId); }
  if (obj){
    if (theValue == true || theValue == false)
      eval("obj.style."+theProp+"="+theValue);
    else eval("obj.style."+theProp+"='"+theValue+"'");
  }
}

function formval() {

if(document.getElementById("name").value == "") {
	document.getElementById("name").focus();
	alert("Please enter your name");
	return false;
}  
 
else if(document.getElementById("company").value == "") {
	document.getElementById("company").focus();
	alert("Please enter your company name");
	return false;
} 

else if(document.getElementById("email").value == "") {
	document.getElementById("email").focus();
	alert("Please enter your email");
	return false;
} 

else if(document.getElementById("tel").value == "") {
	document.getElementById("tel").focus();
	alert("Please enter your telephone number");
	return false;
}

return true;

}