ulm_ie=!window.showHelp; ulm_opera=window.opera; ulm_mlevel=0; ulm_mac=navigator.userAgent.indexOf("Mac")+1; cc3=new Object(); cc4=new Object(); cc0=document.getElementsByTagName("UL"); for(mi=0;mi-1){ cc1=cc1.substring(5); cc2=new window["tmenudata"+cc1]; cc3["img"+cc1]=new Image(); cc3["img"+cc1].src=cc2.plus_image; cc4["img"+cc1]=new Image(); cc4["img"+cc1].src=cc2.minus_image; cc5_CreateMenu(cc0[mi].childNodes,cc1+"_",cc2,cc1); //cc6_CreateStyle(cc1,cc2); cc0[mi].style.display="block"; } } }; function cc5_CreateMenu(cc9,cc10,cc2,cc11){ eval("cc8=new Array("+cc2.pm_width_height+")"); this.cc7=0; for(this.li=0;this.liulm_mlevel) ulm_mlevel=this.level; cc9[this.li].style.cursor="default"; this.cc12=false; this.cc13=cc9[this.li].childNodes; for(this.ti=0;this.ti1) this.cname="ctmsubhover"; if(this.level>1) this.cc13[this.ti].onmouseover=function(){this.className="ctmsubhover";}; else this.cc13[this.ti].onmouseover=function(){this.className="ctmmainhover";}; this.cc13[this.ti].onmouseout=function(){this.className="";}; } } if(!this.cc12){ if(cc2.document_image){ create_images(cc2,cc11,cc2.icon_width_height,cc2.document_image,cc9[this.li]); } else if(1==0) { this.cc15=document.createElement("div"); this.cc15.style.display="inline"; if(ulm_ie) this.cc15.style.width=cc2.imgage_gap+cc8[0]+"px"; else this.cc15.style.paddingLeft=cc2.imgage_gap+cc8[0]+"px"; cc9[this.li].insertBefore(this.cc15,cc9[this.li].firstChild); }; } this.cc7++; } } }; function create_images(cc2,cc11,iwh,iname,liobj){ eval("tary=new Array("+iwh+")"); this.cc15=document.createElement("div"); this.cc15.style.display="inline"; this.cc15.style.paddingLeft=cc2.imgage_gap+"px"; liobj.insertBefore(this.cc15,liobj.firstChild); this.fi=document.createElement("IMG"); this.fi.setAttribute("width",tary[0]); this.fi.setAttribute("height",tary[1]); this.fi.setAttribute("cc2_id",cc11); this.fi.className="plusminus"; this.fi.src=iname; this.fi.style.verticalAlign="middle"; this.fi.onclick=cc16; liobj.insertBefore(this.fi,liobj.firstChild); }; function cc16(){ cc18=this.getAttribute("cc2_id"); cc17=this.parentNode.getElementsByTagName("UL"); if(parseInt(this.parentNode.getAttribute("expanded"))){ this.parentNode.setAttribute("expanded",0); cc17[0].style.display="none"; this.parentNode.firstChild.src=cc3["img"+cc18].src; } else { this.parentNode.setAttribute("expanded",1); cc17[0].style.display="block"; this.parentNode.firstChild.src=cc4["img"+cc18].src; } }; function cc6_CreateStyle(id,cc2){ np_refix="#tmenu"+id; cc20=""); alert(cc20); };