function check(e){
	if(document.images){
		re = /(@.*@)|(\.\.)|(^\.)|(^@)|(@$)|(\.$)|(@\.)/;
		re_two = /^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/;
		if(!e.match(re) && e.match(re_two)){
			return(-1);	
		}
	}
}


	function ged(noDays){
		var today = new Date();
		var expr = new Date(today.getTime() + noDays*24*60*60*1000);
		return  expr.toGMTString();
	}
	
	function checkF(f){
	
	if(!check(f.email.value)){
		alert("Invalid email address detected.");
		f.email.style.background = "#FFFF00";
		f.email.focus();
		return (false);
	}
	
	document.cookie = "uls90=1; path=/; expires=" + ged(90);
	
	}

