    // Set the browser varibles
    ie4=(document.all);
    ns4=(document.layers);
    ns6=document.getElementById;
    var activeID = "";
    var activeLink = "";
    var activeMenuID = "";
    var isDiv = new Array();

// This is for the top Navigation -- start --
    function toggleMenu(id,me){
      if(activeMenuID == id) return false;
      // positioning the element in the right spot
      setDiv(id);
      eval(id+'Div.style.top = (headerDiv.offsetHeight)+"px";');
      eval(id+'Div.style.left = (me.offsetLeft-2)+"px";')
      if(activeMenuID != "") hide(activeMenuID)
      activeMenuID = id;
      show(id);
    }
    function tjekHide(){
      // function that hide an 'open' level2container in the top Navigation
      if(activeMenuID == "") return;
      hide(activeMenuID);
      activeMenuID = "";
    }
// This is for the top Navigation -- end --

// This is for the products Navigation -- start --
    function showProdCat(id,me){
      if(activeID == id) return false;
      if(activeID != "") hide(activeID);
      show(id);
      setStyles(me);
      activeID = id;
      return false;
    }
    function setStyles(me){
      if(activeLink != "") {
        //activeLink.style.border = 'solid #E6E6E6 1px';
        //activeLink.style.backgroundColor = '#E6E6E6';
        activeLink.style.cursor = 'pointer';
        //if(activeLink.id != 'topContainer') activeLink.style.borderTopWidth = '0px';
      }
      me.style.cursor = 'default';
      //me.style.border = 'solid #999999 1px';
      //me.style.backgroundColor = '#CCCCCC';
      //if(me.id != 'topContainer') me.style.borderTopWidth = '0px';
      activeLink = me;
    }
// This is for the products Navigation -- end --

    // Show functions for non-pointer layer/objects
    function show(id) {
      if (ns4) document.layers[id].display = "block"
      else if(ns6) document.getElementById(id).style.display="block"
      else document.all[id].style.display = "block"
    }
    //Hide functions for non-pointer layer/objects
    function hide(id) {
      if (ns4) document.layers[id].display = "none"
      else if(ns6) document.getElementById(id).style.display="none"
      else document.all[id].style.display = "none"
    }


    function setDiv(id){
      if(isDiv[id]) return true;
      if (ns4){
        eval (id+'Div = document.layers["'+id+'"]') ;
        eval (id+'Div.style = '+id+'Div');
      }else if(ns6){
        eval(id+'Div = document.getElementById("'+id+'")');
      }else{
        eval(id+'Div = document.all["'+id+'"]');
      }
      isDiv[id] = true;
    }
    function init(){
      setDiv("header");
    }

//elicit0922

image_NO = new Image()
image_ACT = new Image()
image_NO.src = "media/bullets/plus.gif"
image_ACT.src = "media/bullets/minus.gif"


// Menu functions
var boolNS4 = navigator.appVersion.indexOf("Nav") > 0 && parseInt(navigator.appVersion) == 4;

function GetElement(strElement) {
if (document.getElementById) return (document.getElementById(strElement)) // IE5+, Netscape 6, Mozilla
else if (document.all) return (eval("document.all." + strElement)) //IE4
else if (document.layers) return (eval("document." + strElement)) //Netscape 4
else return (null) // Crap!
}

function toggleDesc(strProgramID) {
if(boolNS4) return false;
objCurrentLink = GetElement("UML"+strProgramID+"LINK");
objCurrentImage = GetElement("UML"+strProgramID+"IMG");
if (objCurrentLink.style.display=="none") {
objCurrentLink.style.display = "block"
objCurrentImage.src = image_ACT.src
}else {
objCurrentLink.style.display = "none"
objCurrentImage.src = image_NO.src
}
}

//elicit0922

    window.onload = init;
