    var openListSetup = new Array();
    var highlightForeSetup;
    var highlightBackSetup;
    function addToOpenSetup (item) {
        for (var i = 0; i < openListSetup.length; i++) {
            if (openListSetup[i] == null) {
                openListSetup[i] = item;    
                updateCookiesSetup();
                return;     
            }
        }
        openListSetup[openListSetup.length] = item;
        updateCookiesSetup();
    }
    
    function removeFromOpenSetup (item) {   
        for (var i = 0; i < openListSetup.length; i++) {
            if (openListSetup[i] == item) {
                openListSetup[i] = null;            
            }
        }
        updateCookiesSetup();
    }

    function updateCookiesSetup() {
        var stringlist = "";
        for (var i = 0; i < openListSetup.length; i++) {
            if (openListSetup[i] != null) {
                stringlist = stringlist + openListSetup[i] + ":";
            }
        }
                
        SetCookieSetup("setupopen", stringlist, null, "/");     
    }
    
    function toggleSetup(item) {
       var obj=document.getElementById(item + "_child");
       if (obj != null) {
           visible=(obj.style.display!="none")
           var key=document.getElementById(item + "_icon");
           if (visible) {
             obj.style.display="none";
             key.innerHTML="<IMG BORDER=0 width=\"15\" height=\"17\" align=\"texttop\" SRC=\"/img/setup_plus.gif\">";
             removeFromOpenSetup (item);
           } 
           else {
              obj.style.display="block";
              key.innerHTML="<IMG BORDER=0 width=\"15\" height=\"17\" align=\"texttop\" SRC=\"/img/setup_minus.gif\">";
              addToOpenSetup(item);
           }
       }
    }

    function expandSetup(item) {
       var obj=document.getElementById(item + "_child");
       if (obj != null) {
           visible=(obj.style.display!="none")
           var key=document.getElementById(item + "_icon");
           if (!visible) {
              obj.style.display="block";
              key.innerHTML="<IMG BORDER=0 width=\"15\" height=\"17\" align=\"texttop\" SRC=\"/img/setup_minus.gif\">";
           }
       }
    }

    function getCookieValSetup(offset) {
        var endstr = document.cookie.indexOf (";", offset);
        if (endstr == -1)
            endstr = document.cookie.length;
        return unescape(document.cookie.substring(offset, endstr));
    }

    function GetCookieSetup (name) {  

        var arg = name + "=";  
        var alen = arg.length;  
        var clen = document.cookie.length;  
        var i = 0;  

        while (i < clen) {    
            var j = i + alen;    
            if (document.cookie.substring(i, j) == arg)      
                return getCookieValSetup (j);    
            i = document.cookie.indexOf(" ", i) + 1;    
            if (i == 0) break;   
        }  
        return null;
    }


    function SetCookieSetup (name, value) {  
        var argv = SetCookieSetup.arguments;  
        var argc = SetCookieSetup.arguments.length;  
        var expires = (argc > 2) ? argv[2] : null;  
        var path = (argc > 3) ? argv[3] : null;  
        var domain = (argc > 4) ? argv[4] : null;  
        var secure = (argc > 5) ? argv[5] : false;  

        document.cookie = name + "=" + value + 
            ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + 
            ((path == null) ? "" : ("; path=" + path)) +  
            ((domain == null) ? "" : ("; domain=" + domain)) +    
            ((secure == true) ? "; secure" : "");
        }

    function DeleteCookieSetup (name) {  
    
        var cval = GetCookieSetup("setupopen");
        if (cval == null) {
            return;
        }
    
        var exp = new Date(); 
        exp.setTime(exp.getTime() - 1);

        SetCookieSetup("setupopen", "", exp, "/");
    }

