// JavaScript Document

     function openCloseSubmenu(obj, classTs)
     {
     
        var parent = obj.parentNode;
        if(!document.all)
        {
           var lis = parent.getElementsByClassName(classTs);
           if(lis[0]!=null)
           {
              lis[0].style.display = lis[0].style.display=='block'?'none':'block';    
              obj.href="javascript:return false;";
              return false;
           }
        }
        else
        {
           for (var i=0; i<parent.childNodes.length; i++)
           {
             var node = parent.childNodes[i];
             if (node.nodeName=='UL' && node.className.indexOf(classTs)>=0)
             {
               node.style.display = node.style.display=='block'?'none':'block';
               return false;
             }
           }
        }
        
     } 

     function openBack(startid, stopid)
     {
       var obj = document.getElementById(startid);
       if(startid=='') return false;
       
       obj.innerHTML = "<b>" + obj.innerHTML+'</b>';
       
       do
       {
         var parent = obj.parentNode;         
         parent.style.display = "block";
         obj = parent;
         
       }
       while (parent!=null && parent.id!=stopid);
       
     }

startList = function() {
    if (document.all&&document.getElementById) {
         navRoot = document.getElementById("topNav");
         for (i=0; i<navRoot.childNodes.length; i++)
         {
            node = navRoot.childNodes[i];
            if (node.nodeName=="LI")
            {
             node.onmouseover=function() {
             this.className+=" over";
            }

            node.onmouseout=function()
               {
                  this.className=this.className.replace(" over", "");
               }
            }
}
}
}
window.onload=startList;
