function checkRutin()
{
	emTxt=document.special.email.value
	if(!/^[\w\.-]+@[a-z0-9\.-]+\.[a-z]{2,4}$/.test(emTxt.toLowerCase()))
		return "email"+"@"+"Your e-mail";
	
	phTxt=document.special.phone.value
	if(phTxt.length>0) 
	{
		if(!/^[0-9-]{7,20}$/.test(phTxt)) 
			return "phone"+"@"+"Phone";	
	}
	
	if(!document.special.fname.value.length>0)
		return "fname"+"@"+"First name";	
		
	if(!document.special.lname.value.length>0) 
		return "lname"+"@"+"Last name";	
	
	if(document.special.country.selectedIndex==0)
		return "country"+"@"+"Country";	
	
	if(!document.special.messageBody.value.length>0) 
		return "messageBody"+"@"+"Special Request Or Inquiry";
	
	return true		
}
function formCheck()
{
	chekResalt=checkRutin()
	
	if(chekResalt==true)
	{
		return true;
	}
	else
	{
		alert("The \" "+chekResalt.split("@")[1]+" \" field contains an invalid information! \n\n\t     Please try again.")
		if(document.getElementById)
		{document.getElementById(chekResalt.split("@")[0]).focus()}
		else if(document.all)
		{document.all[chekResalt.split("@")[0]].focus()}
		else
		{eval("document.special."+chekResalt.split("@")[0]).focus()}
		return false;		
	}
}	


//***************************ONLOAD CHECK************************************//
	
function checkFocus()
{	
	if(location.hash!="")
	{
		if(document.getElementById)
		{	document.getElementById("email").focus();}
		else 
		{	document.special.email.focus();}
	}
}
