var bV=parseInt(navigator.appVersion);
NS6=document.getElementById&&!document.all;
IE4=((document.all)&&(bV>=4))?true:false;
ver4 = (NS6 || IE4) ? true : false;


//Static code: document object initial settings.
with (document) {

  write("<STYLE TYPE='text/css'>");

  write(".left_nav_closed {display:block}");
  write(".left_nav_open {display:none}");
  write(".nav_hidden {display:none}");

  write(".on {display:none}");
  write(".off {display:inline}");

  write(".popup {display:none; position:absolute}");

  write("</STYLE>");

}

activeDiv = "";
firstInd = -1;

function initialize(activeTopSection, activeSubSection){

  if(activeTopSection != ""){
    expandDiv(activeTopSection);
  }

  if(activeSubSection != ""){
    document.getElementById(activeSubSection + ".on").style.display = "inline";
    document.getElementById(activeSubSection + ".off").style.display = "none";
  }

}        

function expandDiv(){return;}
//------------------------------------------------------
function expandDiv(el) 
//------------------------------------------------------
{
  if (!ver4) return;

  if (activeDiv != "") collapseDiv(activeDiv);

  document.getElementById("left_nav_open_" + el).style.display = "block";
  document.getElementById("left_nav_closed_" + el).style.display = "none";
  activeDiv = el;

}

function collapseDiv(){return;}
//------------------------------------------------------
function collapseDiv(el) 
//------------------------------------------------------
{
  if (!ver4) return;

  document.getElementById("left_nav_open_" + el).style.display = "none";
  document.getElementById("left_nav_closed_" + el).style.display = "block";
  activeDiv = "";
}
