// JavaScript Document

function CheckForm( theform )
		{
			var cMissingFields = false;
			var strFields = "";
	
			if( theform.name.value == '' ){
				cMissingFields = true;
				strFields += "     Your name\n";
			}
			if( theform.email.value == '' ){
				cMissingFields = true;
				strFields += "     Your email address\n";
			}	
			if( theform.message.value == '' ){
				cMissingFields = true;
				strFields += "     Your message\n";
			}			
			if( cMissingFields ) {
				alert( "I'm sorry, but you must complete the following field(s) before continuing:\n\n" + strFields );
				return false;
			}
			if (confirm("You entered \""+theform.email.value+"\" as your email address. Please click OK to confirm\n this is correct (and submit the form), otherwise click CANCEL."))
			return true
			else{
			theform.email.focus()
			return false
			}
			return true;
		}
