<!-- hide
// Begin Version Detection
isDOM  = (document.getElementById);
isNS4  = (document.layers);
isIE   = (document.all);
isIE4  = (isIE && !isDOM);
isMac  = (navigator.appVersion.indexOf("Mac") != -1);
isIE4M = (isIE4 && isMac);
isIE5M = isDOM && isIE && isMac;
isIE5W = isDOM && isIE && !isMac;
isNS6 =  isDOM && (navigator.vendor == ("Netscape6") || navigator.product == ("Gecko"));
// End Version Detection

// ===== Global Variables =====
g_ImgExpanded = "ln_arrowright.html";
g_ImgCollapsed = "ln_arrowright.html";
g_SectionCount = 16;
g_IsHomepage = true;
g_TimeOut = 0;

// ===== Constants =====
IMG_PREFIX = "sectionarrow";

// Menu related functions
if (isIE) { coll = "all."; styleObj = ".style"; collb = ""; }
if (isNS6) { coll = "getElementById('"; styleObj = ".style"; collb = "')"; }

function getObject(obj) {
  var myObj;
  myObj = eval("document." + coll + obj + collb + styleObj);
  return myObj;
}

function getObject2(obj) {
  var myObj;
  myObj = eval("document." + coll + obj);
  return myObj;
}

function toggle(obj) {
  if (!(isIE || isNS6)) return;
  var myObj = getObject("section" + obj); 
  if (myObj.display == "none") { 
      myObj.display = "";
      document.images[IMG_PREFIX + obj].src = g_ImgCollapsed;
  } else { 
      myObj.display = "none"; 
      document.images[IMG_PREFIX + obj].src = g_ImgCollapsed;
  } 
}

function toggleBG(obj, flg) {
  if (!isIE) return;
  if (isIE4) return;  // IE4 has iframe flicker
  var myObj1 = getObject2("lnElem1" + obj);
  var myObj2 = getObject2("lnElem2" + obj);
  var myObj3 = getObject2("lnElem3" + obj);
  var myObj4 = getObject2("lnElem4" + obj);
  var myObj5 = getObject2("lnElem5" + obj);
  if (flg == "on") { 
      myObj1.className='leftNavBgOn';
      myObj2.className='leftNavBgOn'; 
      myObj3.className='leftNavBgOn'; 
      myObj4.className='leftNavHdrOn'; 
      myObj5.className='leftNavBgOn';
  } else {
      myObj1.className='leftNavBg'; 
      myObj2.className='leftNavBg'; 
      myObj3.className='leftNavBg'; 
      myObj4.className='leftNavHdr'; 
  }
}

function InitLNav() {
  if (!(isIE || isNS6)) return;

  // set up alt text
  for (var i=1; i<=g_SectionCount; i++) { 
    document.images[IMG_PREFIX + i].alt = "click to show / hide"; 
    var tmpObj = getObject2("lnElem4" + i);
    tmpObj.title = "click to show / hide";
  } 

  // set arrows to collapse style
  if (!g_IsHomepage) for (var i=1; i<=g_SectionCount; i++) { if (isIE) document.images[IMG_PREFIX + i].src = g_ImgCollapsed; } 
}

// end hide -->



