﻿// JScript File

startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("ustul");
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;

 function limover1() {
    //document.getElementById("anc1").style.backgroundImage="url(imgs/liOver2.jpg)";
    
    //document.getElementById("anc1").style.borderTop="1px #dddddd solid";
    document.getElementById("altul1").style.display="block";
    //document.getElementById("anc1").style.backgroundColor="#ffffff";
    document.getElementById("anc1").style.color="#ffffff";
    
    document.getElementById("altul2").style.display="none";
    document.getElementById("anc2").style.backgroundColor="transparent";
    document.getElementById("altul3").style.display="none";
    document.getElementById("anc3").style.backgroundColor="transparent";
    document.getElementById("altul4").style.display="none";
    document.getElementById("anc4").style.backgroundColor="transparent";
    }
    
 
    
 function limout1() {
    document.getElementById("anc1").style.backgroundImage="none";
    //document.getElementById("anc1").style.backgroundColor="transparent";
    //document.getElementById("anc1").style.color="#ffffff";
    //document.getElementById("altul1").style.display="block";}
    document.getElementById("altul1").style.display="none";
    document.getElementById("anc1").style.backgroundColor="transparent";
    document.getElementById("anc1").style.color="#ffffff";
    }
    
 function limover2() {
    //document.getElementById("anc2").style.backgroundImage="url(imgs/liOver2.jpg)";
    
    document.getElementById("altul1").style.display="none";
    document.getElementById("anc1").style.backgroundColor="transparent";
    
    document.getElementById("altul2").style.display="block";
    //document.getElementById("anc2").style.backgroundColor="#ffffff";
    document.getElementById("anc2").style.color="#ffffff";
    
    document.getElementById("altul3").style.display="none";
    document.getElementById("anc3").style.backgroundColor="transparent";
    document.getElementById("altul4").style.display="none";
    document.getElementById("anc4").style.backgroundColor="transparent";
    }
    
 
    
 function limout2() {
    document.getElementById("anc2").style.backgroundImage="none";
    //document.getElementById("anc1").style.backgroundColor="transparent";
    //document.getElementById("anc1").style.color="#ffffff";
    //document.getElementById("altul1").style.display="block";}
     document.getElementById("altul2").style.display="none";
    document.getElementById("anc2").style.backgroundColor="transparent";
    document.getElementById("anc2").style.color="#ffffff";
    }
 function limover3() {
    //document.getElementById("anc3").style.backgroundImage="url(imgs/liOver2.jpg)";
    
    document.getElementById("altul1").style.display="none";
    document.getElementById("anc1").style.backgroundColor="transparent";
    document.getElementById("altul2").style.display="none";
    document.getElementById("anc2").style.backgroundColor="transparent";
    
    document.getElementById("altul3").style.display="block";
    //document.getElementById("anc3").style.backgroundColor="#ffffff";
    document.getElementById("anc3").style.color="#ffffff";
    
    document.getElementById("altul4").style.display="none";
    document.getElementById("anc4").style.backgroundColor="transparent";
    }
    
  function limout3() {
    document.getElementById("anc3").style.backgroundImage="none";
    //document.getElementById("anc1").style.backgroundColor="transparent";
    //document.getElementById("anc1").style.color="#ffffff";
    //document.getElementById("altul1").style.display="block";}
     document.getElementById("altul3").style.display="none";
    document.getElementById("anc3").style.backgroundColor="transparent";
    document.getElementById("anc3").style.color="#ffffff";  
    }
    
  function limover4() {
    //document.getElementById("anc4").style.backgroundImage="url(imgs/liOver3.jpg)";
    
    document.getElementById("altul1").style.display="none";
    document.getElementById("anc1").style.backgroundColor="transparent";
    document.getElementById("altul2").style.display="none";
    document.getElementById("anc2").style.backgroundColor="transparent";
    document.getElementById("altul3").style.display="none";
    document.getElementById("anc3").style.backgroundColor="transparent";
    
    document.getElementById("altul4").style.display="block";
    //document.getElementById("anc4").style.backgroundColor="#ffffff";
    document.getElementById("anc4").style.color="#ffffff";
    }
    
  function limout4() {
    document.getElementById("anc4").style.backgroundImage="none";
    //document.getElementById("anc1").style.backgroundColor="transparent";
    //document.getElementById("anc1").style.color="#ffffff";
    //document.getElementById("altul1").style.display="block";}  
     document.getElementById("altul4").style.display="none";
    document.getElementById("anc4").style.backgroundColor="transparent";
    document.getElementById("anc4").style.color="#ffffff";
    }
    
    
  function limover5() {
    //document.getElementById("anc5").style.backgroundImage="url(imgs/liOver.jpg)";
    
    document.getElementById("altul1").style.display="none";
    document.getElementById("anc1").style.backgroundColor="transparent";
    document.getElementById("altul2").style.display="none";
    document.getElementById("anc2").style.backgroundColor="transparent";
    document.getElementById("altul3").style.display="none";
    document.getElementById("anc3").style.backgroundColor="transparent";
    
    document.getElementById("altul4").style.display="none";
    document.getElementById("anc4").style.backgroundColor="transparent";
    
    //document.getElementById("anc5").style.backgroundColor="#ffffff";
    document.getElementById("anc5").style.color="#ffffff";
    
    }
    
  function limout5() {
    document.getElementById("anc5").style.backgroundImage="none";
    //document.getElementById("anc1").style.backgroundColor="transparent";
    //document.getElementById("anc1").style.color="#ffffff";
    //document.getElementById("altul1").style.display="block";}  
    document.getElementById("anc5").style.backgroundColor="transparent";
    document.getElementById("anc5").style.color="#ffffff";
    }  