function reqvalidate(which)
{
	var itsok=true;
	if (document.images) {
		for (i=0;i<which.length;i++) {
			var tempobj=which.elements[i];
			if (tempobj.name.substring(0,4)=="req_") {
				if (((tempobj.type=="text"||tempobj.type=="textarea")&&
					tempobj.value=='')||(tempobj.type.toString().charAt(0)=="s"&&
					tempobj.selectedIndex==0)) {
					itsok=false;
					tempobj.focus();
					break;
				}
			}
		}
	}
	if (!itsok) {
		shortFieldName=tempobj.name.substring(4,30).toUpperCase();
		alert("Please enter the "+shortFieldName+".");
		return false;
	}
	else
	return true;
}


function validate()
{
 if(document.feedbackform.firstName.value.length==0)
      {
        alert('Please select firstName')
        document.feedbackform.firstName.focus();
        return false;
         }
  if(document.feedbackform.lastName.value.length==0)
    {
      alert('Please enter the lastName');
      document.feedbackform.lastName.focus();
      return false;
    }
      if(document.feedbackform.email.value.length==0)
    {
      alert('Please enter the email');
      document.feedbackform.email.focus();
      return false;
    }
    if(document.feedbackform.comments.value.length==0)
    {
      alert('Please enter the comments');
      document.feedbackform.comments.focus();
      return false;
     }
  }



