function openbrwin(theurl,windowname,specs){
	window.open(theurl,windowname,specs);
}


function printIt() { 
  //function to print current page
  window.print(); 
}

<!-- Begin
function checkEmail(myfield) {
if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(myfield.value)){
return true;
}
alert("Invalid E-mail Address! Please re-enter.")
return false;
}
//  End -->



function validatecontactus(which) {
ff1=which.dbtfname;
ff2=which.dbtaddress;
ff3=which.dbtcity;
ff4=which.dbtstates;
ff5=which.dbtzip;
ff6=which.dbtphone;
ff7=which.dbtemail;

if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(ff7.value)){

if (ff1.value=='') {
alert('Please enter your name.')
ff1.focus();
return false;
}
if (ff2.value=='') {
alert('Please enter your address.')
ff2.focus();
return false;
}
if (ff3.value=='') {
alert('Please enter your city.')
ff3.focus();
return false;
}
if (ff4.value=='') {
alert('Please enter your state.')
ff4.focus();
return false;
}
if (ff5.value=='') {
alert('Please enter your zip.')
ff5.focus();
return false;
}
if (ff6.value=='') {
alert('Please enter your phone number.')
ff6.focus();
return false;
}

return (true);
}

alert("Invalid E-mail Address! Please re-enter.")
return false;
}

