function checking()
{
	var pattern=/^([a-zA-Z0-9_.-])+@([a-zA-Z0-9_.-])+\.([a-zA-Z])+([a-zA-Z])+/;
	var emailid=document.signup1.email.value; 

	if(document.signup1.name.value=="")
	{
		//alert("Name cannot be blank");
		document.getElementById("yname").innerHTML = "Name cannot be blank!!";
		document.signup1.name.focus();
		return false;
	}
	/**/
	if(document.signup1.email.value=="")
	{
		//alert("Email id cannot be blank");
		document.getElementById("emailid").innerHTML = "Email id cannot be blank!!";
		document.signup1.email.focus();
		return false;
	}
	if(!pattern.test(emailid))
	{
		//alert("Email id is not valid ");
		document.getElementById("emailid").innerHTML = "Email id is not Valid!!";
		document.signup1.email.focus();
		return false;
	}
   if(document.signup1.user_id.value=="")
	{
		//alert("User Id cannot be blank");
		document.getElementById("userid").innerHTML = "User Id cannot be blank!!";
		document.signup1.user_id.focus();
		return false;
	}
		
	if(document.signup1.pass.value=="")
	{
		//alert("Password cannot be blank");
		document.getElementById("password").innerHTML = "Password cannot be blank!!";
		document.signup1.pass.focus();
		return false;
	}
  if(document.signup1.con_pass.value=="")
	{
		//alert("Confirm password cannot be blank");
		document.getElementById("conpass").innerHTML = "Confirm Password cannot be blank!!";
		document.signup1.con_pass.focus();
		return false;
	}
	if(document.signup1.pass.value!=document.signup1.con_pass.value)
	{
		//alert("Password and Confirm password must be same");
		document.getElementById("conpass").innerHTML = "Password and Confirm Password are not same!!";
		document.signup1.con_pass.focus();
		return false;
		
	}

	

	return true;
}