<!--function validate_tech (tech){    if (tech.Contact.value == "") {    alert( "Please enter your name." );    tech.Contact.focus();    return false ;  } if (tech.ContactCompany.value == "") {    alert( "Please enter your company." );    tech.ContactCompany.focus();    return false ;  } if (tech.Country.selectedIndex == 0) {    alert( "Please enter your country." );    tech.Country.focus();    return false ;  }     if (tech.State.selectedIndex == 0) {    alert( "Please enter your state or province." );    tech.State.focus();    return false ;  } if (tech.Zip.value == "") {    alert( "Please enter your zip code." );    tech.Zip.focus();    return false ;  } if (tech.ContactEmail.value == "") {    alert( "Please enter a valid email address." );    tech.ContactEmail.focus();    return false ;  }      /* checks for valid w_email field */	var expillegalChars = /^.+@.+\..{2,3}$/	if(!expillegalChars.test(tech.ContactEmail.value)) {		tech.ContactEmail.focus();		alert("Please enter a valid e-mail address.");		return false;	}           if (tech.ContactPhone.value == "") {    alert( "Please enter a valid phone number." );    tech.ContactPhone.focus();    return false ;  }    /* checks for valid w_phone field */	var strStripped = tech.ContactPhone.value.replace(/[\(\)\.\-\ ]/g, '');	if (isNaN(parseInt(strStripped))) {		tech.ContactPhone.focus();		alert("Please enter a valid phone number.");		return false;	}     if (tech.category_w.selectedIndex == 0) {    alert( "Please enter a category." );    tech.category_w.focus();    return false ;  } if (tech.Application.value == "") {    alert( "Please enter your specific application." );    tech.Application.focus();    return false ;  }   return true ;}//-->