// 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.bname1.value.length < 1){
			f.bname1.focus();
			alert("Please enter the bride's first name");
			return (false);
		}
		
		if(f.bname2.value.length < 1){
			f.bname2.focus();
			alert("Please enter the bride's last name");
			return (false);
		}
		
		if(f.gname1.value.length < 1){
			f.gname1.focus();
			alert("Please enter the groom's first name");
			return (false);
		}
		
		if(f.gname2.value.length < 1){
			f.gname2.focus();
			alert("Please enter the groom's last 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.zip.value.length < 1){
			f.zip.focus();
			alert("Please enter your Zip Code");
			return (false);
			
		}

		if(f.hphone.value.length < 1){
			f.hphone.focus();
			alert("Please enter your main phone number");
			return (false);
		
		}
		
		if(f.email.value.length < 1){
			f.email.focus();
			alert("Please enter your email address");
			return (false);
		
		}
		
		if(f.referred.value.length < 1){
			f.referred.focus();
			alert("Let us know who referred you.");
			return (false);
		
		}
	
}
// -->