function check_f(f){
	if(f.First_Name.value < 1){
		alert("Please enter your First Name");
		if(document.all){
			f.First_Name.style.background = "#ffd000";
		}
		f.First_Name.focus();
		return (false);
	}

	if(f.Last_Name.value < 1){
		alert("Please enter your Last Name");
		if(document.all){
			f.Last_Name.style.background = "#ffd000";
		}
		f.Last_Name.focus();
		return (false);
	}

	if(!check(f.submit_by.value)){
		alert("Please enter a valid e-mail address");
		if(document.all){
			f.submit_by.style.background = "#ffd000";
		}
		f.submit_by.focus();
		return (false);
	}

	
}

function check(e) {
	ok = "1234567890qwertyuiop[]asdfghjklzxcvbnm.@-_QWERTYUIOPASDFGHJKLZXCVBNM";
	for(h=0; h < e.length ;h++){
		if(ok.indexOf(e.charAt(h))<0){ 
			return (false);
		}		
	} 
	if (document.images) {
		re = /(@.*@)|(\.\.)|(^\.)|(^@)|(@$)|(\.$)|(@\.)/;
		re_two = /^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,3}|[0-9]{1,3})(\]?)$/;
		if (!e.match(re) && e.match(re_two)){
			return (-1);		
		} 
	}
}
