<!--

// Check contact form for errors
function contactForm()
{
	var form = document.forms[0];
	var error = "";
	
	if(form.frmContactAuth.value == "")
		error += "Name\n";
		
	if(form.frmContactEm.value == "")
		error += "E-mail Address\n";

	if(form.frmContactComms.value == "")
		error += "Comments\n";
	
	if(error != "")
	{
		alert("The following fields don't appear to be filled out correctly:\n\n\n\n" + error + "\n\n\n\nPlease check these fields and then click the 'Send Contact Form' button.\n\n\n\n");
		return false;
	}
	else
		return true;
}

//-->

function dontBugMe() {
	em1 = "&#109;&#097;&#105;&#108;&#116;&#111;&#058;";
	em2 = "&#99;&#111;&#110;&#116;&#97;&#99;&#116;";
	em3 = "&#64;";
	em4 = "&#115;&#116;&#111;&#103;&#109;&#97;&#46;&#99;&#111;&#109;";
	
	outputEm = '<a href="' + em1 + em2 + em3 + em4 + '">' + em2 + em3 + em4 + '</a>';
	return outputEm;
} 
 // -->
 
