//<!--
var browser=navigator.appName + " " + navigator.appVersion;

function openInfoWindow (infoPage,ttl,scrollbars,wdth,hght)
   {
   if (browser.substring(0, 8)=="Netscape")
      {
		  var scroll;
		  if (scrollbars.toLowerCase()=="yes")
		  {
			scroll = ",SCROLLBARS";
		  }
		  else
		  {
			scroll = "";
		  }
      var newWind=window.open(infoPage,ttl,'width=' + wdth + ',height=' + hght + scroll);
      if (newWind.closed){
	  	if (newWind.opener == null)
         { newWind.opener = window; }
      	else
         {
         if (browser.substring(0, 12)=="Netscape 3.0")
            newWind.focus();
         if (browser.substring(0, 12)=="Netscape 2.0")
            newWind.document.forms[0].display.focus();
		  }
		}
	  else {newWind.focus()}
      }
   else
      {
      var newWind=window.open(infoPage,ttl,'toolbar=no,location=no,status=no,menubar=no,resizable=no,scrollbars=' + scrollbars + ',width=' + wdth + ',height=' + hght);
	if (newWind.closed){
      if (newWind.opener == null)
         { newWind.opener = window; }
      }
	else {newWind.focus()}  
    }
}
//   sample url
//   <a href="javascript:openInfoWindow('/modules/blood/popups/page.htm','My Popup','yes','400','400')">link text</a>
//-->
