<!--

function checkreq(form) {
       var errors = "";
	   
	   for (i=0;i<form.length;i++) {
	        var element = form.elements[i];
			if (element.name == "carType") 
			{
	            if (element.type.toString().charAt(0)=="s" && element.selectedIndex==0) {
                     errors = errors + "Please select a car type.\n";
                }
	        }
            
       }
	   for (i=0;i<form.length;i++) {
	        var element = form.elements[i];

            if (element.name == "pickupLocation") 
			{
	            if (element.type.toString().charAt(0)=="s" && element.selectedIndex==0) {
                     errors = errors + "Please select a pickup location.\n";
                }
	        }
			if (element.name == "dropoffLocation") 
			{
	            if (element.type.toString().charAt(0)=="s" && element.selectedIndex==0) {
                     errors = errors + "Please select a drop off location.\n";
                }
	        }
       }
	   

	   
       if (errors) {
           alert(errors);
           return false;
       }else{
           return true;
       }
   }


// STOP HIDING FROM OTHER BROWSERS -->
