/* FORM VALIDATION SCRIPT FOR GREGKAVANAGH.COM  */

function checkifvalid(){
if (window.document.contact.Name.value=="")
{alert("Please Enter Your Name");
window.document.contact.Name.focus();
return false;
}
if (window.document.contact.Email.value=="")
{alert("Please Enter An Email Address");
window.document.contact.Email.focus();
return false;
}
if (window.document.contact.Company.value=="")
{alert("Please Enter Your Company Name");
window.document.contact.Company.focus();
return false;
}
if (window.document.contact.Comments.value=="")
{alert("You Must Enter Something In The Comments Field.");
window.document.contact.Comments.focus();
return false;
}
return true;
}


