/*
 * Brita.com Registration Form Validation
 *	
 * Updated: 11/13/2008
 * 
 */

$brita.registration = {};

/*
 * checkRegistrationForm()
 *
 */
$brita.registration.checkRegistrationForm = function() {
	if ($('#sNameFirst').val() == '' || 
	    $('#sNameLast').val() == ''  ||
		$('#sAddress1').val() == ''  ||
		$('#sCity').val() == ''      ||
		$('#sState').val() == ''     ||
		$('#sZip').val() == ''
	) {
	   alert( "Please complete all required fields." );
	} else {
		$('#regForm').get(0).submit();
	}
}