function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function doNothing() {
	void(0);
}


function checkEmailEmpl() {
		var problem = 'No'
		
		if (document.emailform.phone.value.length <= 0) {
			document.emailform.phone.value = "** Phone **"
			document.emailform.phone.focus()
			problem = 'Yes'	
		} else if (document.emailform.phone.value == "** Phone **") {
		    document.emailform.phone.value = "** Phone **"
			document.emailform.phone.focus()
			problem = 'Yes'
		}
		
		if (document.emailform.zip.value.length <= 0) {
			document.emailform.zip.value = "** Zip **"
			document.emailform.zip.focus()
			problem = 'Yes'	
		} else if (document.emailform.zip.value == "** Zip **") {
		    document.emailform.zip.value = "** Zip **"
			document.emailform.zip.focus()
			problem = 'Yes'
		}
		
		if (document.emailform.state.value.length <= 0) {
			document.emailform.state.value = "** State **"
			document.emailform.state.focus()
			problem = 'Yes'	
		} else if (document.emailform.state.value == "** State **") {
		    document.emailform.state.value = "** State **"
			document.emailform.state.focus()
			problem = 'Yes'
		}
		
		if (document.emailform.city.value.length <= 0) {
			document.emailform.city.value = "** City **"
			document.emailform.city.focus()
			problem = 'Yes'	
		} else if (document.emailform.city.value == "** City **") {
		    document.emailform.city.value = "** City **"
			document.emailform.city.focus()
			problem = 'Yes'
		}
		
		if (document.emailform.address.value.length <= 0) {
			document.emailform.address.value = "** Address **"
			document.emailform.address.focus()
			problem = 'Yes'	
		} else if (document.emailform.address.value == "** Address **") {
		    document.emailform.address.value = "** Address **"
			document.emailform.address.focus()
			problem = 'Yes'
		}
		
		if (document.emailform.lname.value.length <= 0) {
			document.emailform.lname.value = "** Last Name **"
			document.emailform.lname.focus()
			problem = 'Yes'	
		} else if (document.emailform.lname.value == "** Last Name **") {
		    document.emailform.lname.value = "** Last Name **"
			document.emailform.lname.focus()
			problem = 'Yes'
		}
		
		if (document.emailform.fname.value.length <= 0) {
			document.emailform.fname.value = "** First Name **"
			document.emailform.fname.focus()
			problem = 'Yes'	
		} else if (document.emailform.fname.value == "** First Name **") {
		    document.emailform.fname.value = "** First Name **"
			document.emailform.fname.focus()
			problem = 'Yes'
		}

		if (document.emailform.email2.value.length <= 0) {
			document.emailform.email2.value = "** Email **"
			document.emailform.email2.focus()
			problem = 'Yes'	
		} else if (document.emailform.email2.value == "** Email **") {
		    document.emailform.email2.value = "** Email **"
			document.emailform.email2.focus()
			problem = 'Yes'
		}
		
		if (document.emailform.email.value.length <= 0) {
			document.emailform.email.value = "** Email **"
			document.emailform.email.focus()
			problem = 'Yes'	
		} else if (document.emailform.email.value == "** Email **") {
		    document.emailform.email.value = "** Email **"
			document.emailform.email.focus() 
			problem = 'Yes'
		}		
		
	
		
		if (document.emailform.email.value != document.emailform.email2.value) {
			problem = 'Email'	
			document.emailform.email.focus()
		}
		
		
		if (problem == 'No') {
			return true
		} else if (problem == 'Yes') { 
			alert ("Please be sure to complete all require fields.")
			return false
		} else if (problem == 'Email') {
		    alert ("The e-mail confirmation does not match. Please double check the e-mail fields.")
			return false
		}
	}
	
	
function checkEmailGen() {
		var problem = 'No'
		
		
		if (document.emailform.lname.value.length <= 0) {
			document.emailform.lname.value = "** Last Name **"
			document.emailform.lname.focus()
			problem = 'Yes'	
		} else if (document.emailform.lname.value == "** Last Name **") {
		    document.emailform.lname.value = "** Last Name **"
			document.emailform.lname.focus()
			problem = 'Yes'
		}
		
		if (document.emailform.fname.value.length <= 0) {
			document.emailform.fname.value = "** First Name **"
			document.emailform.fname.focus()
			problem = 'Yes'	
		} else if (document.emailform.fname.value == "** First Name **") {
		    document.emailform.fname.value = "** First Name **"
			document.emailform.fname.focus()
			problem = 'Yes'
		}

		if (document.emailform.email2.value.length <= 0) {
			document.emailform.email2.value = "** Email **"
			document.emailform.email2.focus()
			problem = 'Yes'	
		} else if (document.emailform.email2.value == "** Email **") {
		    document.emailform.email2.value = "** Email **"
			document.emailform.email2.focus()
			problem = 'Yes'
		}
		
		if (document.emailform.email.value.length <= 0) {
			document.emailform.email.value = "** Email **"
			document.emailform.email.focus()
			problem = 'Yes'	
		} else if (document.emailform.email.value == "** Email **") {
		    document.emailform.email.value = "** Email **"
			document.emailform.email.focus() 
			problem = 'Yes'
		}		
		
	
		
		if (document.emailform.email.value != document.emailform.email2.value) {
			problem = 'Email'	
			document.emailform.email.focus()
		}
		
		
		if (problem == 'No') {
			return true
		} else if (problem == 'Yes') { 
			alert ("Please be sure to complete all require fields.")
			return false
		} else if (problem == 'Email') {
		    alert ("The e-mail confirmation does not match. Please double check the e-mail fields.")
			return false
		}
	}
