// JavaScript Document
function showdiv(divnum,divbefor,id){
	for(i=1;i<=divnum;i++){
		try{
			if(i==divbefor){
				document.getElementById(id+i).style.display="inline";
			}else{
				document.getElementById(id+i).style.display="none";
			}
		}catch(e){ }
	}
}
function menuFix() {
	var sfEls = document.getElementById("k_menu").getElementsByTagName("li");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
		this.className+=(this.className.length>0? " ": "") + "sfhover";
		}
		sfEls[i].onMouseDown=function() {
		this.className+=(this.className.length>0? " ": "") + "sfhover";
		}
		sfEls[i].onMouseUp=function() {
		this.className+=(this.className.length>0? " ": "") + "sfhover";
		}
		sfEls[i].onmouseout=function() {
		this.className=this.className.replace(new RegExp("( ?|^)sfhover\\b"), 

"");
		}
	}
}

