var persisteduls=new Object() var ddtreemenu=new Object() ddtreemenu.closefolder="http://gosun168.tw-1.net/i36c/vip2k15/gosun168/green168xoops//modules/tadnews/menu/closed.gif" //set image path to "closed" folder image ddtreemenu.openfolder="http://gosun168.tw-1.net/i36c/vip2k15/gosun168/green168xoops//modules/tadnews/menu/open.gif" //set image path to "open" folder image //////////No need to edit beyond here/////////////////////////// ddtreemenu.createTree=function(treeid, enablepersist, persistdays){ var ultags=document.getElementById(treeid).getElementsByTagName("ul") if (typeof persisteduls[treeid]=="undefined") persisteduls[treeid]=(enablepersist==true && ddtreemenu.getCookie(treeid)!="")? ddtreemenu.getCookie(treeid).split(",") : "" for (var i=0; i