<!-- FIND-A-PHYSICIAN CHECKFIELDS SCRIPT //-->
function checkfields()
	  {
	  	form = document.search_form
	  	var pattern1 = /\d{5}/
	
      	if (form.ZIPCode.value == ""){
        	alert("Please enter a 5 digit ZIP Code.");
        	return false;
      	}
      	else if (pattern1.test(form.ZIPCode.value)==false){
        	alert("Please enter a 5 digit ZIP Code.");
        	return false;
      	}
      	else {
	  		form.target = "_blank";
        	return true;
		}          	
      }

<!-- NAV IMAGE ROLLOVER SCRIPT //-->
function fsButton(n,y)
     {
     if (document.getElementById)
          {
          var button = document.getElementById("c"+n);
          button.style.backgroundPosition="0px "+y+"px";
          }
     }
	 
function fsButton2(n,y)
     {
     if (document.getElementById)
          {
          var button = document.getElementById("p"+n);
          button.style.backgroundPosition="0px "+y+"px";
          }
     }
	 
function fsButton3(n,y)
     {
     if (document.getElementById)
          {
          var button = document.getElementById("r"+n);
          button.style.backgroundPosition="0px "+y+"px";
          }
     }

function fsButton4(n,y)
     {
     if (document.getElementById)
          {
          var button = document.getElementById("hp"+n);
          button.style.backgroundPosition="0px "+y+"px";
          }
     }
	 
<!-- POP-UP SCRIPT //--> 
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

<!-- COMPATRE TREATMENTS CENTERED POP-UP SCRIPT //-->
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+screen.height+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

<!-- FORWARD TO A FRIEND CENTERED POP-UP SCRIPT //-->
function NewWindow2(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+w+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}