function clickHandler() {
  var targetId, srcElement, targetElement ;
  el = window.event.srcElement;
  if (el.className == "Outline") {
     targetId = el.id + "d" ;
     targetElement = document.all(targetId) ;
     if (targetElement.style.display == "none") {
        targetElement.style.display = "" ;
        el.src = "../images/open.gif"
        document.cookie= el.id + "=1" ;
     } else {
        targetElement.style.display = "none" ;
        el.src = "../images/closed.gif" ;
        document.cookie= el.id + "=0"
     }
  }
}
function getonme() {
   el = event.srcElement ;
   if (el.getAttribute("litUp1") != null) {
      el.className = "onme1" ;
   }
   if (el.getAttribute("litUp2") != null) {
      el.className = "onme2" ;
   }
   if (el.getAttribute("litUp2a") != null) {
      el.className = "onme2a" ;
   }
   if (el.getAttribute("litUp3") != null) {
      el.className = "onme3" ;
   }
    if (el.getAttribute("litUp3a") != null) {
      el.className = "onme3a" ;
   }
   if (el.getAttribute("litUp4") != null) {
      el.className = "onme4" ;
   }
   if (el.getAttribute("litUp5") != null) {
      el.className = "onme5" ;
   }
   if (el.getAttribute("litUp6") != null) {
      el.className = "onme6" ;
   }
}
function getoffme() {
   el = event.srcElement ;
   if (el.getAttribute("litUp1") != null) {
       el.className = "offme1";
   }
   if (el.getAttribute("litUp2") != null) {
       el.className = "offme2";
   }
   if (el.getAttribute("litUp2a") != null) {
       el.className = "offme2a";
   }
   if (el.getAttribute("litUp3") != null) {
       el.className = "offme3";
   }
   if (el.getAttribute("litUp3a") != null) {
       el.className = "offme3a";
   }
   if (el.getAttribute("litUp4") != null) {
       el.className = "offme4";
   }
   if (el.getAttribute("litUp5") != null) {
       el.className = "offme5";
   }
   if (el.getAttribute("litUp6") != null) {
       el.className = "offme6";
   }
}

function LTrim(sString) {
while (sString.substring(0,1) == ' ')
	{
	sString = sString.substring(1, sString.length);
	}
return sString;
}

function RTrim(sString) {
while (sString.substring(sString.length-1, sString.length) == ' ')
	{
	sString = sString.substring(0,sString.length-1);
	}
return sString;
}

function Trim(sString) {
while (sString.substring(0,1) == ' ')
	{
	sString = sString.substring(1, sString.length);
	}
while (sString.substring(sString.length-1, sString.length) == ' ')
	{
	sString = sString.substring(0,sString.length-1);
	}
return sString;
}

document.onclick = clickHandler ;
document.onmouseover = getonme ;
document.onmouseout = getoffme ;


