function validatebooking(form)
{
if(""==document.forms.form.FullName.value)
{
alert("Please enter your name.");
document.forms.form.FullName.focus();
return false;
}


if( notValidEmail( form.Email ) ){
        alert( 'You have not entered a valid Email' );
		document.forms.form.Email.focus();
        return false;}
		
if( notValidEmail( form.ConfirmEmail ) ){
        alert( 'You have not entered a valid Email Confirmation' );
		document.forms.form.ConfirmEmail.focus();
        return false;}





if (""==document.forms.form.SpamCheck.value  )
{
alert ( "Please enter the red number" );
document.forms.form.SpamCheck.focus();
return false;
}


function notValidEmail( str ){
    mailRE = new RegExp( );
    mailRE.compile( '^[\._a-z0-9-]+@[\.a-z0-9-]+[\.]{1}[a-z]{2,4}$', 'gi' );
    return !(mailRE.test( str.value ));
} 

}