// useful functions
function menuHandler()
{
var URL =
document.menu.site.options[document.menu.site.selectedIndex].value;
window.location.href = URL;
}
function CheckEmail(form)
{
var apos = form.Email.value.indexOf("@");
var dpos = form.Email.value.indexOf(".");
var epos = form.Email.value.indexOf("]");
var fpos = form.Email.value.indexOf("[");     

if (form.Email.value  == "") 
	{ 
	alert("Please enter your Email address.") ;
	form.Email.focus() ;	
	return false ;
	}

if (apos <= 0 || dpos <= 0 || epos > 0 || fpos > 0 )
	{
	alert(form.Email.value + "is not a valid email address, please check.") ;
	form.Email.focus() ;	
	return false;
	}
if (dpos+1 >= form.Email.value.length)
	{
	alert("Your Email address can't end with a dot!") ;
	form.Email.focus() ;	
	return false;
	}
	// ok
	return true;
										  }
