function valregister()
{
	
	if(IsBlank('frm','sports_id')){
		alert('Please select Sports Name');
		document.getElementById("sports_id").focus();
		return false;
	}
/*	if(IsBlank('frm','postion_id')){
		alert('Please select Position');
		document.getElementById("postion_id").focus();
		return false;
	} */
	if(IsBlank('frm','athletes_name')){
		alert('Please enter your Name');
		document.getElementById("athletes_name").focus();
		return false;
	}
	if(IsBlank('frm','height')){
		alert('Please enter your Height');
		document.getElementById("height").focus();
		return false;
	}
	if(IsBlank('frm','weight')){
		alert('Please enter your weight');
		document.getElementById("weight").focus();
		return false;
	}
	if(IsBlank('frm','age')){
		alert('Please enter your Age');
		document.getElementById("age").focus();
		return false;
	}
	if(IsBlank('frm','date_of_birth')){
		alert('Please enter your Date of Birth');
		document.getElementById("date_of_birth").focus();
		return false;
	}
	if(IsBlank('frm','high_school_name')){
		alert('Please enter your High School Name');
		document.getElementById("high_school_name").focus();
		return false;
	}
	
    if(IsBlank('frm','high_school_address')){
		alert('Please enter your High School Address');
		document.getElementById("high_school_address").focus();
		return false;
	}
	if(IsBlank('frm','city')){
		alert('Please enter your City');
		document.getElementById("city").focus();
		return false;
	}
	if(IsBlank('frm','state')){
		alert('Please enter your State');
		document.getElementById("state").focus();
		return false;
	}
	if(IsBlank('frm','high_school_coach')){
		alert('Please enter your High School Coach Name');
		document.getElementById("high_school_coach").focus();
		return false;
	}
	if(IsBlank('frm','high_school_team_name')){
		alert('Please enter your High School Team Name');
		document.getElementById("high_school_team_name").focus();
		return false;
	}
	if(IsBlank('frm','user_name')){
		alert('Please enter your User Name');
		document.getElementById("user_name").focus();
		return false;
	}
	if(IsBlank('frm','password')){
		alert('Please enter your password');
		document.getElementById("password").focus();
		return false;
	}
	if(IsBlank('frm','email')){
		alert('Please enter your email address');
		document.getElementById("email").focus();
		return false;
	}
	
	if(document.getElementById("email_vali").value=='Y'){
		alert("User name is not available. Please choose another user name");
		document.getElementById("user_name").focus();
		return false;
	}
/*	if(IsBlank1('register_frm_page','lastname')){
		alert("Please enter a last name");
		document.getElementById("lastname").focus();
		return false;
	}
	if(IsEmail1('register_frm_page','email')){
		alert("Please enter a valid Email");
		document.getElementById("email").focus();
		return false;
	}
	if(document.getElementById("email_vali").value=='Y'){
		alert("Email is not available. Please choose another email");
		document.getElementById("email").focus();
		return false;
	}
	if(IsBlank1('register_frm_page','password')){
		alert("Please enter a valid Password");
		document.getElementById("password").focus();
		return false;
	}
	if(IsBlank1('register_frm_page','password_2')){
		alert("Please enter a valid Confirm Password");
		document.getElementById("password_2").focus();
		return false;
	}
	if(document.getElementById("password").value!=document.getElementById("password_2").value){
		alert("Password and Confirm Password are not same");
		document.getElementById("password_2").focus();
		return false;
	}
	if(document.getElementById("cap_hidden").value=='N'){
		alert("Please enter correct confirmation code");
		document.getElementById("txtCaptcha").focus();
		return false;
	} */
	
	return true;
}