// JavaScript Document

function copyright() {

<!-- Begin
today = new Date();
year = today.getYear();
if (year < 2000)    
year = year + 1900; 
document.write(year);
// End -->
		
} 


function checkForm() {

var problem = 'No';
	if (document.contact.realname.value.length <= 1) {
		alert ("Please enter your Name.");
		return false;	
	}
	
	
	if (document.contact.email.value==""){alert("Please enter your E-Mail Address");document.contact.email.focus();return false;
	}
	
	if (document.contact.email.value!=""){var atPresent1 = document.contact.email.value.indexOf("@",0);var atPresent2 = document.contact.email.value.indexOf(".",0);
	if (atPresent1 < 1 || atPresent2 < 1)	{alert("The e-mail address you supplied does not seem to be valid. Please enter it again.");document.contact.email.focus();
	return false;}}
	
	if (document.contact.Phone.value.length <= 6) {
		alert ("Please enter your Telephone Number");
		return false;	
	}
	if (document.contact.Message.value==""){alert("Please enter your Message");document.contact.Message.focus();return false;
	}
	
	if (document.contact.Message.value!="")
	{
	var atPresent3 = document.contact.Message.value.indexOf("google",0);
	var atPresent4 = document.contact.Message.value.indexOf("Google",0);
	var atPresent5 = document.contact.Message.value.indexOf("GOOGLE",0);
	var atPresent6 = document.contact.Message.value.indexOf("rank",0);
	var atPresent7 = document.contact.Message.value.indexOf("engine",0);
	var atPresent8 = document.contact.Message.value.indexOf("Engine",0);
	var atPresent9 = document.contact.Message.value.indexOf("optimization",0);
	var atPresent10 = document.contact.Message.value.indexOf("penalized",0);
	var atPresent11 = document.contact.Message.value.indexOf("increase traffic",0);
	
	if (atPresent3 != -1 || atPresent4 != -1 || atPresent5 != -1 || atPresent6 != -1 || atPresent7 != -1 || atPresent8 != -1 || atPresent9 != -1 || atPresent10 != -1 || atPresent11 != -1)	{alert("We're not interested in Search Engine Optimization. Please try a real message.");document.contact.Message.focus();
	return false;
	}
	}
		
} 
