function validateForm(form2)
{

if(""== document.forms.form2.FullName.value)
{
alert("Please enter your name.");
document.forms.form2.FullName.focus();
return false;
}


if( ""== document.forms.form2.Email.value ) {
        alert( 'Please enter a value for the \"Email\" field.' );
		document.forms.form2.Email.focus();
        return false;}


if( notValidEmail(document.forms.form2.Email ) ){
        alert( 'Please enter only letter, digit and \"@.-_\" characters in the \"E-Email\" field.' );
		document.forms.form2.Email.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 ));
} 


if(""==document.forms.form2.PhoneNumber.value)
{
	alert("Please enter your Phone Number.");
	document.forms.form2.PhoneNumber.focus();
	return false;
}

 if (""==document.forms.form2.CountryOfOrigin.value)
  {
    alert("Please enter your Country of Origin.");
    document.forms.form2.CountryOfOrigin.focus();
    return (false);
  }

if ( document.forms.form2.Vehicle.selectedIndex == 0 )
{
alert ( "Please select one of the Vehicle Options" );
document.forms.form2.Vehicle.focus();
return false;
}



if ( document.forms.form2.pickup_location.selectedIndex == 0 )
{
alert ( "Please select one of the Pick Up location Options" );
document.forms.form2.pickup_location.focus();
return false;
}


if ( document.forms.form2.dropoff_location.selectedIndex == 0 )
{
alert ( "Please select one of the drop off location Options" );
document.forms.form2.dropoff_location.focus();
return false;
}

if(""==document.forms.form2.ArrivalDate.value)
{
alert("Please select Arrival date.");
document.forms.form2.ArrivalDate.focus();
return false;
}


if(""==document.forms.form2.DepartDate.value)
{
alert("Please select your Departure date.");
document.forms.form2.DepartDate.focus();
return false;
}

if ( (document.forms.form2.PaymentType[0].checked == false )&& ( document.forms.form2.PaymentType[1].checked == false )&& ( document.forms.form2.PaymentType[2].checked == false ) && ( document.forms.form2.PaymentType[3].checked == false ))
    {
        alert ("Please select your payment method: in the \"PaymentType\" field." );
         document.forms.form2.PaymentType[0].focus();
		return ( false);
    }



  return (true);
}
