// usage: <SCRIPT language="Javascript1.2" src="/common/toolkit.js">Script loading or script error, upgrade to JavaScript 1.2</SCRIPT>

function popWin(URL,features) {
// possible features: (comma delimited) 
//   numeric: width height
//   yes/no: titlebar menubar resizable locationbar personalbar=no   
//   ex: <A href="javascript:popWin('','width=735,height=450,titlebar=no,menubar=no,resizable=yes,locationbar=no,personalbar=no');" class=nodecoration></A>
   var newWin = open(URL,'_new',features);
   newWin.close();
   var newWin = open(URL,'_new',features);
   return false;
}

function BrowserOK () {
   if (navigator.appName == "Netscape") {
      if (navigator.appVersion.substring(0, 1) >= 5) {
         return true; }
   } else if (navigator.appName == "Microsoft Internet Explorer") {
      if (navigator.appVersion.substring(0, 1) >= 4.0) {
         return true; }
   } else {
      return false;
   }
}


function toggle(divId) {
if (document.getElementById(divId).style.display == null) document.getElementById(divId).style.display = "";
document.getElementById(divId).style.display == "" ? document.getElementById(divId).style.display = "none" : document.getElementById(divId).style.display = "";
return false;
}
