function CheckValidation(frm)
{
	
	
	if(checkBlank(frm.txt_ymail,"Your E-Mail")==false)
		return false;
	if(ValidateEmail(frm.txt_ymail)==false)
		return false;
	
	
	return true;
}

function Validation(frm)
{
	if(checkBlank(frm.EmailAlt,"Name of Email Alert")==false)
		return false;
	if(checkBlank(frm.txt_fname,"First Name")==false)
		return false;
	if(checkBlank(frm.txt_lname,"Last Name")==false)
		return false;
	if(checkBlank(frm.txt_email,"E-Mail")==false)
		return false;
	if(checkBlank(frm.re_email,"Confirm-Email")==false)
		return false;
	if(ValidateEmail(frm.txt_email)==false)
		return false;
	if(ValidateEmail(frm.re_email)==false)
		return false;	
	if(checkBlank(frm.txt_pass,"Password")==false)
		return false;
	if(checkBlank(frm.txt_cpass,"Confirm Password")==false)
		return false;
	if((frm.txt_pass.value==frm.txt_cpass.value) && (frm.txt_email.value==frm.re_email.value))
	{
		return true;
	}
	else
	{
		alert("Confirmation entries should be same!");
		return false;
	}
	return true;
}