function tech_validate(whichForm){

var themessage = "The required information is incomplete or contains errors:\t\t\t\t\t\n\n";

if(whichForm.name.value==""){
	themessage = themessage + "\tPlease enter your name.\n";
}

if (!(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(whichForm.email.value))){
	themessage = themessage + "\tPlease enter a valid email address.\n";
}


if(whichForm.phone.value==""){
	themessage = themessage + "\tPlease enter your phone number.\n";
}

if(whichForm.platform.selectedIndex==0){
	themessage = themessage + "\tPlease select a platform.\n";
}

if(whichForm.os.selectedIndex==0){
	themessage = themessage + "\tPlease select an operating system.\n";
}

if(whichForm.browser.selectedIndex==0){
	themessage = themessage + "\tPlease select a browser type and version.\n";
}

if (document.techsupport.platform.selectedIndex==5 && document.techsupport.platform_other.value=="" || document.techsupport.os.selectedIndex==11 && document.techsupport.os_other.value=="" || document.techsupport.browser.selectedIndex==11 && document.techsupport.browser_other.value=="" || document.techsupport.isp.selectedIndex==5 && document.techsupport.isp_other.value=="") 
   {
   	themessage = themessage + "\tPlease specify other.\n";
}

if(whichForm.description.value==""){
	themessage = themessage + "\tPlease enter a description of the problem.\n";
		}

//alert if fields are empty and cancel form submit
if (themessage == "The required information is incomplete or contains errors:\t\t\t\t\t\n\n") {
return true;
}
else {
alert(themessage);
return false;
   }
}


