var arrCSS=[ ["","webapp/comm/css/yhbbs.css"], ["grass","webapp/comm/css/yhbbs1.css"], ["grass","webapp/comm/css/yhbbs3.css"], ["grass","webapp/comm/css/yhbbs4.css"], ["grass","webapp/comm/css/yhbbs5.css"], "" ]; // *** function to replace href="#" *** function v(){ return; } // *** Cookies *** function writeCookie(name, value) { exp = new Date(); exp.setTime(exp.getTime() + (86400 * 1000 * 30)); document.cookie = name + "=" + escape(value) + "; expires=" + exp.toGMTString() + "; path=/"; } function readCookie(name) { var search; search = name + "="; offset = document.cookie.indexOf(search); if (offset != -1) { offset += search.length; end = document.cookie.indexOf(";", offset); if (end == -1){ end = document.cookie.length; } return unescape(document.cookie.substring(offset, end)); }else{ return ""; } } function writeCSS(){ for(var i=0;i'); } setStyleSheet(readCookie("stylesheet")); } function setStyleSheet(strCSS){ var objs=document.getElementsByTagName("link"); var intFound=0; for(var i=0;i-1&&objs[i].title){ objs[i].disabled = true; if(objs[i].title==strCSS) intFound=i; } } objs[intFound].disabled = false; writeCookie("stylesheet",objs[intFound].title); } writeCSS(); setStyleSheet(readCookie("stylesheet")); // menu function MM_showHideLayers() { //v6.0 var i,p,v,obj,args=MM_showHideLayers.arguments; for (i=0;i<(args.length-2);i+=3){ if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2]; if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; } obj.visibility=v; } } } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p); } if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i