startList = function() {

if (document.getElementById) {
	navRoot = document.getElementById("nav_r");
	for (i=0; i<navRoot.childNodes.length; i++) {
		node = navRoot.childNodes[i];
		if (node.nodeName=="LI") {
		node.onclick=function() {
		
this.className = (this.className == "on") ? "off" : "on";

			}
   		}
  	}
 }
}
window.onload=startList;
