
<!--	// hiding

//generate random quote number - 2 digits long
function geturl(){
	//generate random number from 1 to 12 to select email photo
	var rannum = Math.floor(Math.random() * 12) + 1;
	var img_name = "images/em" + rannum + ".gif";
	document.mailme.em_image.src = img_name;
	document.mailme.em_check.value = rannum;
}

//check email data
function emailit(){
	var validity = true;
	if (document.mailme.name.value == ""){
		alert('Please enter your name.');
		document.mailme.name.focus();
		validity = false;
	 } else if (document.mailme.email.value == ""){
		alert('Please enter your email address.');
		document.mailme.email.focus();
		validity = false;
	 } else if (document.mailme.verify.value == ""){
		alert('Please enter your email verification address.');
		document.mailme.verify.focus();
		validity = false;
	 } else if (document.mailme.email.value != document.mailme.verify.value){
		alert('Your email address and verification do not match!');
		document.mailme.email.focus();
		validity = false;
	 } else if (document.mailme.new_message.value == ""){
		alert('Please enter your message.');
		document.mailme.new_message.focus();
		validity = false;
	} else if ((document.mailme.em_check.value == "1") && (document.mailme.chktext.value != "M48D7F")){
		alert('Please enter the text shown in the black area.');
		document.mailme.chktext.focus();
		validity = false;
	} else if ((document.mailme.em_check.value == "2") && (document.mailme.chktext.value != "KF84BD")){
		alert('Please enter the text shown in the black area.');
		document.mailme.chktext.focus();
		validity = false;
	} else if ((document.mailme.em_check.value == "3")&& (document.mailme.chktext.value != "3JD7C4")){
		alert('Please enter the text shown in the black area.');
		document.mailme.chktext.focus();
		validity = false;
	} else if ((document.mailme.em_check.value == "4") && (document.mailme.chktext.value != "3FMNC7")){
		alert('Please enter the text shown in the black area.');
		document.mailme.chktext.focus();
		validity = false;
	} else if ((document.mailme.em_check.value == "5") && (document.mailme.chktext.value != "84BSTF")){
		alert('Please enter the text shown in the black area.');
		document.mailme.chktext.focus();
		validity = false;
	} else if ((document.mailme.em_check.value == "6") && (document.mailme.chktext.value != "H4NS62")){
		alert('Please enter the text shown in the black area.');
		document.mailme.chktext.focus();
		validity = false;
	} else if ((document.mailme.em_check.value == "7") && (document.mailme.chktext.value != "L7D93N")){
		alert('Please enter the text shown in the black area.');
		document.mailme.chktext.focus();
		validity = false;
	} else if ((document.mailme.em_check.value == "8") && (document.mailme.chktext.value != "KD492C")){
		alert('Please enter the text shown in the black area.');
		document.mailme.chktext.focus();
		validity = false;
	} else if ((document.mailme.em_check.value == "9") && (document.mailme.chktext.value != "XG649G")){
		alert('Please enter the text shown in the black area.');
		document.mailme.chktext.focus();
		validity = false;
	} else if ((document.mailme.em_check.value == "10") && (document.mailme.chktext.value != "Y8FS76")){
		alert('Please enter the text shown in the black area.');
		document.mailme.chktext.focus();
		validity = false;
	} else if ((document.mailme.em_check.value == "11") && (document.mailme.chktext.value != "A8F369")){
		alert('Please enter the text shown in the black area.');
		document.mailme.chktext.focus();
		validity = false;
	} else if ((document.mailme.em_check.value == "12") && (document.mailme.chktext.value != "NH39J5")){
		alert('Please enter the text shown in the black area.');
		document.mailme.chktext.focus();
		validity = false;
	}
	if (validity) {
		document.mailme.submit();
	}
}

// end mask -->
