function formCheck(formobj){

var check_InDate=parseInt(document.car.in_year.value+document.car.in_month.value+document.car.in_day.value);

var check_OutDate=parseInt(document.car.out_year.value+document.car.out_month.value+document.car.out_day.value);

var logic_In=parseInt(document.car.logic_in.value);

var logic_Out=parseInt(document.car.logic_out.value);	 



	 if (document.car.title.value == 'null') {

     alert ("Your Title?");

	 document.car.title.focus();

	 return false;

     }



	if (document.car.name.value.length == 0) {

       alert ("Your Full Name?");

     	document.car.name.focus();

		return false;

	}



  	if (document.car.email.value.length == 0) {

     alert ("Your Email?");

	document.car.email.focus();

  	 return false;

     }



	var x = document.car.email.value;

	var filter  = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;

	if (!filter.test(x)){

		alert ("It is not a valid email!!!");

		document.car.email.focus();

		 return false;

		}



	if (document.car.phone.value.length == 0) {

    alert ("Your Phone Number pls!!!");

    document.car.phone.focus();

    return false;

     }



	 if (document.car.country.value == 'Country') {

     alert ("Your Country");

     document.car.country.focus();

     return false;

     }

     	 

	if(check_InDate<logic_In){

    alert ("Pick-up date is wrong!!!");

    document.car.in_day.focus();

    return false;

     }



	if (document.car.pt.value == 'null') {

     alert ("Pickup Time - Hour");

     document.car.pt.focus();

     return false;

     }

	

	if (document.car.pm.value == 'null') {

     alert ("Pickup Time - Minute");

     document.car.pm.focus();

     return false;

     }

	if (document.car.pl.value == 'null') {

     alert ("Please choose a Pick-up Location");

     document.car.pl.focus();

     return false;

     }

	 if(check_OutDate<logic_Out){

     alert ("Drop-off date is wrong!!!!");

     document.car.out_day.focus();

     return false;

     }



   	 if(check_OutDate<check_InDate){

     alert ("Please recheck dates.. it seems siktir lannn!!!");

     document.car.out_day.focus();

     return false;

     } 

	if (document.car.dt.value == 'null') {

     alert ("Drop-off Time - Hour");

     document.car.dt.focus();

     return false;

     }

	

	if (document.car.dm.value == 'null') {

     alert ("Drop-off Time - Minute");

     document.car.dm.focus();

     return false;

     }

	if (document.car.dl.value == 'null') {

     alert ("Drop-off Location");

     document.car.dl.focus();

     return false;

     }

	 if (document.car.group.value == 'null') {

     alert ("Please choose a car group");

     document.car.group.focus();

     return false;

     }

	if (document.car.people.value == 'null') {

     alert ("How many people are you?");

     document.car.people.focus();

     return false;

     }



return true;



}