function validationcontact()
	{
		function alphanumeric(alphane)
		{
			var numaric = alphane;
			for(var j=0; j<numaric.length; j++)
				{
				  var alphaa = numaric.charAt(j);
				  var hh = alphaa.charCodeAt(0);
				  if((hh > 64 && hh<91) || (hh > 96 && hh<123))
				  {
				  }
				else	{
					return false;
				  }
				}
		 return true;
		}
		
		function is_numeric(value)
		{
			var numaric = value;
			for(var j=0; j<numaric.length; j++)
			{
				var value = numaric.charAt(j);
				var hh = value.charCodeAt(0);
				if(hh > 47 && hh<58)
				{
				}
				else
				{
					return false;
				}
			}
			 return true;
		}
		
		if((document.frmContactUs.txt_Name.value == ""))
		{
			alert("Please enter your name");
			document.frmContactUs.txt_Name.focus();
			return false;
		}
		else
		{
			if(alphanumeric(document.frmContactUs.txt_Name.value)==false)
			{
			alert("Name should be in alphabets");
			document.frmContactUs.txt_Name.focus();
			return false;
			}
		}	
	
		if((document.frmContactUs.txt_Email.value == "") || (document.frmContactUs.txt_Email.value == "enter email id here"))
		{
			alert("Please enter your email address");		
			document.frmContactUs.txt_Email.focus();	
			return false;
		}
		else
		{
			if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(document.frmContactUs.txt_Email.value))
			
			{
				
			}
			else
			{
				alert("Enter valid email address")
				return (false);
			}
		}
		
		if((document.frmContactUs.txtPhone.value == ""))
		{
			alert("Please enter your home phone number");
			document.frmContactUs.txtPhone.focus();
			return false;	
		}
		else
		{
			if(is_numeric(document.frmContactUs.txtPhone.value)==false)
			{
			alert("Please enter valid home phone number");
			document.frmContactUs.txtPhone.focus();
			return false;
			}
		}	
		
		if(document.frmContactUs.txtComment.value == "")
		{
			alert("Please enter your inquiry or comments");
			document.frmContactUs.txtComment.focus();
			return false;
		}
 }


function validationfreereport()
	{
		function alphanumeric(alphane)
		{
			var numaric = alphane;
			for(var j=0; j<numaric.length; j++)
				{
				  var alphaa = numaric.charAt(j);
				  var hh = alphaa.charCodeAt(0);
				  if((hh > 64 && hh<91) || (hh > 96 && hh<123))
				  {
				  }
				else	{
					return false;
				  }
				}
		 return true;
		}
		
		if((document.frmFreeFegshuireport.txtNameR.value == ""))
		{
			alert("Please enter your name");
			document.frmFreeFegshuireport.txtNameR.focus();
			return false;
		}
		else
		{
			if(alphanumeric(document.frmFreeFegshuireport.txtNameR.value)==false)
			{
			alert("Name should be in alphabets");
			document.frmFreeFegshuireport.txtNameR.focus();
			return false;
			}
		}	
	
		if((document.frmFreeFegshuireport.txtEmailR.value == "") || (document.frmFreeFegshuireport.txtEmailR.value == "enter email id here"))
		{
			alert("Please enter your email address");		
			document.frmFreeFegshuireport.txtEmailR.focus();	
			return false;
		}
		else
		{
			if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(document.frmFreeFegshuireport.txtEmailR.value))
			
			{
				
			}
			else
			{
				alert("Enter valid email address")
				return (false);
			}
		}
		
		if(document.frmFreeFegshuireport.security_code.value == "")
		{
			alert("Please enter image varification code");
			document.frmFreeFegshuireport.security_code.focus();
			return false;
		}
		
 }

function validationinformation1()
	{
		function alphanumeric(alphane)
		{
			var numaric = alphane;
			for(var j=0; j<numaric.length; j++)
				{
				  var alphaa = numaric.charAt(j);
				  var hh = alphaa.charCodeAt(0);
				  if((hh > 64 && hh<91) || (hh > 96 && hh<123))
				  {
				  }
				else	{
					return false;
				  }
				}
		 return true;
		}
		
		if((document.frmFreeFegshuiinformation.txtNameI.value == ""))
		{
			alert("Please enter your name");
			document.frmFreeFegshuiinformation.txtNameI.focus();
			return false;
		}
		else
		{
			if(alphanumeric(document.frmFreeFegshuiinformation.txtNameI.value)==false)
			{
			alert("Name should be in alphabets");
			document.frmFreeFegshuiinformation.txtNameI.focus();
			return false;
			}
		}	
	
		if((document.frmFreeFegshuiinformation.txtEmailI.value == "") || (document.frmFreeFegshuiinformation.txtEmailI.value == "enter email id here"))
		{
			alert("Please enter your email address");		
			document.frmFreeFegshuiinformation.txtEmailI.focus();	
			return false;
		}
		else
		{
			if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(document.frmFreeFegshuiinformation.txtEmailI.value))
			
			{
				
			}
			else
			{
				alert("Enter valid email address")
				return (false);
			}
		}
		
		if(document.frmFreeFegshuiinformation.security_code.value == "")
		{
			alert("Please enter image varification code");
			document.frmFreeFegshuiinformation.security_code.focus();
			return false;
		}
		
 }

function validationsignup()
	{
		function alphanumeric(alphane)
		{
			var numaric = alphane;
			for(var j=0; j<numaric.length; j++)
				{
				  var alphaa = numaric.charAt(j);
				  var hh = alphaa.charCodeAt(0);
				  if((hh > 64 && hh<91) || (hh > 96 && hh<123))
				  {
				  }
				else	{
					return false;
				  }
				}
		 return true;
		}
		
		if((document.frmSignUp.txtName.value == ""))
		{
			alert("Please enter your name");
			document.frmSignUp.txtName.focus();
			return false;
		}
		else
		{
			if(alphanumeric(document.frmSignUp.txtName.value)==false)
			{
			alert("Name should be in alphabets");
			document.frmSignUp.txtName.focus();
			return false;
			}
		}	
	
		if((document.frmSignUp.txtEmail.value == "") || (document.frmSignUp.txtEmail.value == "enter email id here"))
		{
			alert("Please enter your email address");		
			document.frmSignUp.txtEmail.focus();	
			return false;
		}
		else
		{
			if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(document.frmSignUp.txtEmail.value))
			
			{
				
			}
			else
			{
				alert("Enter valid email address")
				return (false);
			}
		}
		
 }

