// Submit a Comment GOLDLINE before Submit
function checkCommentGl(){
	if(document.comment.customms1.checked && document.comment.customtext7.value==''){
		alert('Some required information was missing from the form.\n If you would like a response from a representative,\nplease include your Email Address.');
		document.comment.customtext7.focus();
		return false;
	}
	if(document.comment.customtext0.value=='') { 
		alert('Some required information was missing from the form.\n Please include your First Name.');
		document.comment.customtext0.focus();
		return false;
	}
	if(document.comment.customtext1.value=='') { 
		alert('Some required information was missing from the form.\n Please include your Last Name.');
		document.comment.customtext1.focus();
		return false;
	}
	if(document.comment.customlongtext0.value=='') { 
		alert('Some required information was missing from the form.\n Please include your Comment.');
		return false;
	}
	if(document.comment.customtext6.value=='') { 
		alert('Some required information was missing from the form.\n Please include your Zip Code.');
		document.comment.customtext6.focus();
		return false;
	}
	if(document.comment.customtext6.value!='') {
		str=document.comment.customtext6.value;
		re=/\b.{5}\b/;
		if(!str.match(re)){
			alert('Some required information was missing from the form.\n Your Zip Code must be 5 digits long.');
			document.comment.customtext6.focus();
			return false;
		}
	}
	document.comment.submit();
}

// MINI Register for GOLDLINE before Submit
function checkGlRegister(){
	if(document.miniregister.customtext0.value=='') { 
		alert('Some required information was missing from the form.\n Please include your First Name.');
		document.miniregister.customtext0.focus();
		return false;
	}
	if(document.miniregister.customtext8.value=='') { 
		alert('Some required information was missing from the form.\n Please include your Last Name.');
		document.miniregister.customtext8.focus();
		return false;
	}
	if(document.miniregister.email0.value=='') { 
		alert('Some required information was missing from the form.\n Please include your Email Address.');
		document.miniregister.email0.focus();
		return false;
	}
	document.miniregister.submit();
}

// Submit a Comment Check before Submit (SPANISH)
function checkCommentEsp(){
	document.comment.submit();
}

// Register for Newsletter Check before Submit (SPANISH)
function checkRegisterEsp(){ 
	document.bigregister.submit();
}

// Register for Newsletter Check before Submit
function checkIFT(){
	if(document.bigift.varchar000.value=='') { 
		alert('Some required information was missing from the form.\n Please include your First Name.');
		document.bigift.varchar000.focus();
		return false;
	}
	if(document.bigift.varchar008.value=='') { 
		alert('Some required information was missing from the form.\n Please include your Last Name.');
		document.bigift.varchar008.focus();
		return false;
	}
	if(document.bigift.varchar072.value=='') { 
		alert('Some required information was missing from the form.\n Please include your Email Address.');
		document.bigift.varchar072.focus();
		return false;
	}
	if(document.bigift.varchar002.value=='') { 
		alert('Some required information was missing from the form.\n Please include your Address.');
		document.bigift.varchar002.focus();
		return false;
	}
	if(document.bigift.varchar004.value=='') { 
		alert('Some required information was missing from the form.\n Please include your City.');
		document.bigift.varchar004.focus();
		return false;
	}
	if(document.bigift.varchar005.value=='') { 
		alert('Some required information was missing from the form.\n Please include your Zip.');
		document.bigift.varchar005.focus();
		return false;
	}
	document.bigift.submit();
}

