var persisteduls=new Object() var ddtreemenu=new Object() ddtreemenu.closefolder="http://www.wetland.org.tw/modules/tadnews/menu/closed.gif" //set image path to "closed" folder image ddtreemenu.openfolder="http://www.wetland.org.tw/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