function validText(textBox){
	if(textBox.value==""){
		alert("Please enter the "+textBox.name);
		textBox.focus();
		return false;
	}
	return true;
}
function checkNumeric(number){
	numeric=/[a-z,A-Z,_]/;
	if(numeric.test(number.value)){
		alert("Please enter only numbers");
		number.value="";
		number.focus();
		return false;
	}
	return true;
}
function validSelect(sel){
	if(sel.selectedIndex<=0){
		alert("Please select a "+sel.name);
		sel.focus();
		return false;
	}	
	return true;
}
function validMail(mail){
	mailExpression=/^.+@.+\..+$/;
	if(!mailExpression.test(mail.value)){
		alert("This not a valid Email");
		mail.value="";
		mail.focus();
		return false;
	}
	return true;
}