window.onload=function(){
if(!NiftyCheck())
    return;
RoundedBottom("ul.menulist#listMenuRoot ul li","transparent","#268bc9");
/*
RoundedBottom("ul.menulist li ul li#bottom","transparent","#268bc9");
RoundedBottom("ul.menulist li ul li#bottom2","transparent","#268bc9");
RoundedBottom("ul.menulist li ul li#bottom3","transparent","#268bc9");
RoundedBottom("ul.menulist li ul li#bottom4","transparent","#268bc9");
RoundedBottom("ul.menulist li ul li#bottom5","transparent","#268bc9");
*/
}
function over(who){
document.getElementById(who).style.visibility='visible';
document.getElementById(who).style.zIndex = z++;}
function out(who){
document.getElementById(who).style.visibility='hidden';
}

			function menu(id) {
				var state = document.getElementById(id).style.display;
				if (state == 'none') {
					document.getElementById(id).style.display = 'block';
				} else {
					document.getElementById(id).style.display = 'none';
				}
				return false;
			} 
			
			

//sfHover = function() {
//	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
//	for (var i=0; i<sfEls.length; i++) {
//		sfEls[i].onmouseover=function() {
//			this.className+=" sfhover";
//		}
//		sfEls[i].onmouseout=function() {
//			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
//		}
//	}
//}
//
//if (window.attachEvent) window.attachEvent("onload", sfHover);

			function toggle(id,img) {
				var state = document.getElementById(id).style.display;
				if (state == 'none') {
					document.getElementById(id).style.display = 'block';
					document.getElementById(img).src = 'images/minus.gif';
				} else {
					document.getElementById(id).style.display = 'none';
					document.getElementById(img).src = 'images/plus.gif';
				}
				return false;
			} 
