// JavaScript Document
function fche()
{
	missinginfo = "";
	
if (document.cform.name.value=="")
	{
missinginfo += "\n     -  Name";
document.cform.name.focus();
	}

if (document.cform.email.value=="")
	{
missinginfo += "\n     -  Email";
document.cform.email.focus();
	}
if (document.cform.phone.value=="")
	{
missinginfo += "\n     -  Phone No";
document.cform.phone.focus();
	}	
if (document.cform.address.value=="")
	{
missinginfo += "\n     -  Address";
document.cform.address.focus();
	}	
if (document.cform.need.value=="")
	{
missinginfo += "\n     -  Your comments field is empty";
document.cform.need.focus();
	}	
	
else if(document.cform.email.value.indexOf("@")<3)
{
missinginfo += "\n     - Sorry. The Email address seems wrong. Please check the prefix and '@' sign.";
}
else if((document.cform.email.value.indexOf(".")<5))
{
missinginfo += "\n     - Sorry. The Email address seems wrong. (It should include a .com.edu,.net,.org,.gov,.mil, etc.)";
}

if (missinginfo != "") {
missinginfo ="_____________________________\n" +
"Please fill in the follwoing fields :\n" +
missinginfo + "\n_____________________________" ;
alert(missinginfo);
return false;
}
else 
	{
		return true;
	}
}


function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=500,left = 272,top = 144');");
}


function popUp1(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=400,left = 272,top = 144');");
}
