  // Browser Sniff section
      var isOP = (navigator.userAgent.indexOf("Opera") >= 0) ? 1 : 0;
      var isIE = ((navigator.userAgent.indexOf("MSIE") > 0)&&(!isOP)) ? 1 : 0;
      var isIE4 = ((navigator.userAgent.indexOf("MSIE 4") > 0)&&(!isOP)) ? 1 : 0;
      var isIE5 = ((navigator.userAgent.indexOf("MSIE 5") > 0)&&(!isOP)) ? 1 : 0;
      var isIE55 = ((navigator.userAgent.indexOf("MSIE 5.5") > 0)&&(!isOP)) ? 1 : 0;
      var isIE6 = ((navigator.userAgent.indexOf("MSIE 6") > 0)&&(!isOP)) ? 1 : 0;
      var isNS = ((navigator.appName == "Netscape")&&(!isOP)) ? 1 : 0;
      var isNS4 = ((parseInt(navigator.appVersion) == 4)&&(isNS)&&(!isOP)) ? 1 : 0;
      var isNS6 = ((navigator.userAgent.indexOf("Gecko") > 0)&&(!isOP)) ? 1 : 0;
      var isOP4 = ((parseInt(navigator.appVersion) >= 4)&&(isOP)) ? 1 : 0;
      var isDOM = (document.getElementById) ? 1 : 0;
      var isDT = (document.compatMode == "CSS1Compat") ? 1 : 0;

      function getobject(objid){
        // Find the object
        if (isNS4) { return eval('document.' + objid); }
        else if (isDOM) { return document.getElementById(objid); }
        else if ((isIE4)||(isIE5)) { return document.all[objid]; }
        return;
      }

      function menuToggle(themenu){
        if ((isDOM)&&(!isOP)){
          mnuid = getobject(themenu);
          if (mnuid.style.display=='none'){ mnuid.style.display = ''; }
          else { mnuid.style.display = 'none'; };
        }
      }

     arrow3 = new Image (10,11);
     arrow3.src = "arrow3.gif";
     arrow4 = new Image (10,11);
     arrow4.src = "arrow4.gif";

     function imageToggle(imgid){
      if (document.images[imgid].src == arrow3.src){
         chgImage(imgid,'arrow4');
       }
       else {
         chgImage(imgid,'arrow3');
       }
     }

     function chgImage(imgid,imgnew){
        if (navigator.appVersion.substring(0,1) >= 3)
        document.images[imgid].src=eval(imgnew + ".src");
      }
      
      function getobjectHeight(obj){
  var tempdiv = getobject(obj);
  var divHeight = 0;
  if (isNS4) { divHeight = tempdiv.clip.height; }
  else if (isDOM) { divHeight = tempdiv.offsetHeight; }
  else if (isIE) { divHeight = tempdiv.style.pixelHeight; }
  return divHeight;
}

      function setobjectHeight(obj, divHeight){
  var tempdiv = getobject(obj);
  if (isNS4) {  tempdiv.clip.height = divHeight; }
  else if (isDOM) { tempdiv.style.height = divHeight + "px"; }
  else if (isIE) { tempdiv.style.pixelHeight = divHeight; }
}


      function domenu(theobject){
        if (isDOM) {
       imageToggle(theobject.id);
       theobject = theobject.id.substring(0,theobject.id.length-3);
       menuToggle(theobject);
          if (getobjectHeight("bodyText") < getobjectHeight("lSideBar")) {
            setobjectHeight("bodyText", getobjectHeight("lSideBar"))
          }
        }
      }
      
      function defaultmenu(themenu){
                                   	 if (isDOM) {
        themenu = getobject(themenu+"img");
        domenu(themenu);
                                     }
      }
