// JavaScript Document
<!--
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 checkF(f){
	
		if(f.fullname.value.length < 1){
			f.fullname.focus();
			alert("Please enter your first name");
			return (false);
		}
	
	if(f.address.value.length < 1){
			f.address.focus();
			alert("Please enter your address");
			return (false);
		}
		
	if(f.city.value.length < 1){
			f.city.focus();
			alert("Please enter your city");
			return (false);
		}
		
	if(f.state.value.length < 1){
			f.state.focus();
			alert("Please enter your state");
			return (false);
		}	
		
	if(f.zip.value.length < 1){
			f.zip.focus();
			alert("Please enter your zip code");
			return (false);
		}
	
	if(f.email.value.length < 1){
		f.email.focus();
		alert("Please enter your e-mail address");
		return (false);
	
		}
		
		if(f.phone.value.length < 1){
			f.phone.focus();
			alert("Please enter your phone number");
			return (false);
		}
		
		if(f.agerange.value.length < 1){
			f.agerange.focus();
			alert("Please Select an age range");
			return (false);
		}
		
		if(f.yearsfromretire.value.length < 1){
			f.yearsfromretire.focus();
			alert("Please Select the approximate amount of time until you retire");
			return (false);
		}	

	
		if(f.planningprocess.value.length < 1){
			f.planningprocess.focus();
			alert("Please indicate where you are in the retirement planning process");
			return (false);
		}
		
}
// -->
