/////////////////////////////////////////
function checkValues(obj){
		if(obj.fname.value==""){
			obj.fname.focus();
			alert("הקלד שם פרטי");
			return false;
		}
		if(obj.sname.value==""){
			obj.sname.focus();
			alert("הקלד שם משפחה");
			return false;
		}
		if(obj.address.value==""){
			obj.address.focus();
			alert("הקלד כתובת");
			return false;
		}
		if(obj.mob.value==""){
			obj.mob.focus();
			alert("הקלד נייד");
			return false;
		}
		
		if(obj.email.value==""){
			obj.email.focus();
			alert("הקלד דוא''ל");
			return false;
		}

		var ml=obj.email.value;
		if(ml.indexOf("@")==-1){
		alert("דוא''ל לא תקין");
		obj.email.focus();
		return false;
		}
	
		if(ml.indexOf(".")==-1){
		alert("דוא''ל לא תקין");
		obj.email.focus();
		return false;
		}
	return true;	
}
/////////////////////////////////////////
