// JavaScript Document
function checkForm() 
{
missinginfo = "";
if(document.form1.fname.value == "") {
missinginfo += "\n     -  Name";
}
/*
if(document.form1.title.value == "") {
missinginfo += "\n     -  Title";
}

if(document.form1.company.value == "") {
missinginfo += "\n     -  Company";
}

if(document.form1.phone.value == "") {
missinginfo += "\n     -  Phone";
}

*/
if ((document.form1.email.value == "") || 
(document.form1.email.value.indexOf('@') == -1) || 
(document.form1.email.value.indexOf('.') == -1)) {
missinginfo += "\n     -  Email";
}

/*
if(document.form1.message.value == "") {
missinginfo += "\n     -  Comments";
}
*/
if (missinginfo != "") {

missinginfo ="_____________________________\n" +
"There is some error in fields:\n" +
missinginfo + "\n_____________________________" +
"\nPlease correct and submit again!";
alert(missinginfo);
return false;
}
else return true;
}

/* ---------------- Auto Copyright--------------------- */

function sCopyright()
{
	var d = new Date()
	wYear=d.getFullYear();
	document.writeln(wYear)
}