function submitInfoForm(txtFieldId){
	var txtField = document.getElementById(txtFieldId);
	
	if(trim(txtField.value) == ""){
		alert("Please provide an Email Address");
	}else{
		document.location.href="/contact.php?email=" + txtField.value;	
	}
}

function trim(str){
	s = str.replace(/^(\s)*/, '');
	s = s.replace(/(\s)*$/, '');
	return s;
}