// RFI Form Validation Script
function checkForm_contact(rfi)
{
	
	if(rfi.Name.value=="Type your name")
	{
		alert("Please Enter Your Name!") ;
		rfi.Name.focus() ;
		rfi.Name.value==""
		return false;
	}
	
	
	if(rfi.Email.value=="")
	{
		alert("Please Enter Your Email ID!") ;
		rfi.Email.focus() ;
		return false;
	}
	
		if (!rfi.Email.value.match(/^[\w\.\-]+@([\w\-]+\.)+[a-zA-Z]+$/))
		{
			alert("Please enter a valid E-mail ID!");
			rfi.Email.focus();
			rfi.Email.value="";
			return false;
		}
		
	if(rfi.Message.value=="Type your Queries")
	{
		alert("Please Enter Your Queries!") ;
		rfi.Message.focus() ;
		rfi.Message.value==""
		return false;
	}
	/*   Captcha javascript code start here */
	
	var show_msg_con= jcap_con();
	if(show_msg_con=='fail')
	{
		 alert("ERROR: Enter the code as it is shown.");
		 return false;
	}
	
	/*   Captcha javascript code end here */
	
		
SendEmailData(rfi); 
	return false ;
}

