<!--
function alphatext(myobject)
	{
	var theThing=document.getElementById(myobject);  
  	theThing.style.color='';
	var itsvalue = theThing.value;
	for(var j=0; j<itsvalue.length; j++)
		{
		  var theCharacter = itsvalue.charAt(j);
		  var hh = theCharacter.charCodeAt(0);
		  if((hh > 47 && hh<58) || (hh > 64 && hh<91) || (hh > 96 && hh<123) || (hh > 43 && hh < 47) || (hh == 32) || (hh == 10) || (hh == 13) || (hh == 39) || (hh == 34))
			  {
			  }
			  else	{
			  theThing.style.color='red';
			  alert("Only allowed:\nletters, numbers, full stops, quotes and commas\nNo other characters - sorry!");
			  return false;
			  }
		}
	return true;
	}

function emailtest()
	{
	var errormessage = "";
	// name
	var theName = document.getElementById('name');
	theName.style.color="";
	if (theName.value == "")
		{
		errormessage = errormessage + "Please add your Name\n";
		}
	// email
	var theEmail = document.getElementById('email');
	theEmail.style.color="";
	if (theEmail.value == "")
		{
		errormessage = errormessage + "Please enter your Email address\n";
		}
	// any problems	
	if (errormessage != "")
		{
		window.alert(errormessage);
		return false;
		} 
	}

-->

