if(document.layers && !document.all){ 'Please update your browser';}
startList = function() {
	if (document.all&&document.getElementById) {
		var ul_array = document.getElementsByTagName("ul");
		for (i=0; i<ul_array.length; i++) {
			if(ul_array[i].className == 'sndd') {
				setList1(ul_array[i]);
			}
		}
		var ul_array = document.getElementsByTagName("ul");
		for (i=0; i<ul_array.length; i++) {
			if(ul_array[i].className == 'hover') {
				setList2(ul_array[i]);
			}
		}
	}
}
function setList1(list) {
	for (k=0; k<list.childNodes.length; k++) {
		node = list.childNodes[k];
		if (node.nodeName=="LI") {
			node.onmouseover=function() {
				this.className+=" over";
				var switcher = document.getElementById("switcher");
				if(switcher){switcher.style.visibility = "hidden";}
				var altswitcher = document.getElementById("altswitcher");
				if(altswitcher){altswitcher.style.visibility = "hidden";}
			}
			node.onmouseout=function() {
				this.className=this.className.replace(" over", "");
				var switcher = document.getElementById("switcher");
				if(switcher){switcher.style.visibility = "visible";}
				var altswitcher = document.getElementById("altswitcher");
				if(altswitcher){altswitcher.style.visibility = "visible";}
			}
		}
	}
}
function setList2(list) {
	for (k=0; k<list.childNodes.length; k++) {
		node = list.childNodes[k];
		if (node.nodeName=="LI") {
			node.onmouseover=function() {
				this.className+=" over";
			}
			node.onmouseout=function() {
				this.className=this.className.replace(" over", "");
			}
		}
	}
}
window.onload=startList;
