///////////////////////多级菜单关合/////////////////////////// var menubgcolor=""; //菜单背景颜色 var menutxtcolor="#000000"; //菜单文字颜色 var seltxtbgcolor="#0000ff"; //当前选择菜单文字背景颜色 var seltxtcolor="#ffffff"; //当前选择菜单文字颜色 var seltxtcolor2="#ffff00"; //当前选择子菜单文字颜色 var rumortargetframe="main"; //菜单目标框架名称 function expandit(obj0,obj1){ if(obj1.style.display=="none"){ obj1.style.display="inline"; obj0.all.tags('img')[0].src="images/open.gif"; } else{ obj1.style.display="none"; obj0.all.tags('img')[0].src="images/close.gif"; } } function expanditall(obj0,obj1){ if(obj1.style.display=="none"){ obj1.style.display="inline"; obj0.all.tags('img')[0].src="images/open.gif"; } else{ obj1.style.display="none"; obj0.all.tags('img')[0].src="images/close.gif"; } } ///////////////////////多级菜单链接/////////////////////////// function framego(obj,url){ if(url==""){ eval(rumortargetframe).location='images/back.gif'; return false; } var i; location.href=url; allspan=rumormenu.all.tags('span'); for(i=0;i"); for(i=0;imenunow){ folder+=1; document.write(" "); menunow+=1; } if(menuwant"); menunow-=1; } }; var fpsstrTemp = "" ; if (themenu.length >= 3) fpsstrTemp = "onclick=\"framego(this,'"+themenu[2]+"')\""; if(menu[i+1]!=null&&menu[i+1].split(",")[0]>menunow){ document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); // } // else{ // document.write(""+themenu[1]+""); // } } document.write("
"); document.write(""); } else{ document.write("
"); document.write(""); } // if(themenu[2]==null){ document.write(themenu[1]+"
"); while(menuwant>0){ document.write(""); menuwant-=1; }; //framego(rumormenu.all.tags('span')[0],menu[0].split(",")[2]); } /////////////////////执行部分//////////////////////////// try{ buildmenu(); }catch(e){}