// JavaScript Document

function setSubLm(m,n){
 var tli=document.getElementById("sublm"+m).getElementsByTagName("li");
 for(i=0;i<tli.length;i++){
  mli = document.getElementById("lmnr"+m+i);
  mli.style.display=i==n?"block":"none";
 }
}
function setTab(m,n){
 var tli=document.getElementById("menu"+m).getElementsByTagName("li");
 var mli;
 for(i=0;i<tli.length;i++){
 	var tmp = "nowMenu logo"+m+n;
  tli[i].className=i==n?tmp:"subMenu";
  mli = document.getElementById("nr"+m+i);
  mli.style.display=i==n?"block":"none";
 }
}
function showLi(n){
 var tli=document.getElementById("showLi").getElementsByTagName("ul");
 var mli;
 for(i=0;i<tli.length;i++){
  tli[i].className=i==n?"showLi":"";
 }	
}
	function showInLine(){
		var show = document.getElementById("show");
		show.setAttribute("href","/css/showInLine.css");
	}
	function showInBlock(){
		var show = document.getElementById("show");
		show.setAttribute("href","/css/showInBlock.css");
	}
	function showInWord(){
		var show = document.getElementById("show");
		show.setAttribute("href","/css/showInWord.css");
	}
	function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}