/* Likno Drop-Down Menu Trees Library for LOCALHOST */
/* Copyright (c) Likno Software 2004-2007 (likno.com) */
/* Version 1.62 */

// The present javascript code (library) is property of Likno Software and is licensed for use in your local environment only (LOCALHOST) for testing purposes. A domain-specific license needs to be purchased for the library to function in a domain (eg:www.mysite.com).
// Any unauthorized use, reverse-engineering, alteration, transmission, transformation, facsimile, or copying of any means (electronic or not) is strictly prohibited and will be prosecuted.
// *Removal of the present copyright notice is strictly prohibited*


Object.prototype.extn=function(osp) {for (spr in osp) this[spr]=osp[spr];}; 
Object.prototype.adp=function(snm,vv) {this[snm]=vv; 
var sfnm=snm.charAt(0).toUpperCase()+snm.substring(1,snm.length); 
this["get"+sfnm]=function() {return this[snm]}; this["set"+sfnm]=function(vnv) {this[snm]=vnv;};}; 


var agt=navigator.userAgent.toLowerCase(); var agv=navigator.appVersion; var is_ie=((agt.indexOf("msie") != -1) && (agt.indexOf("opera")==-1)); var is_gecko=(agt.indexOf("gecko") != -1); var is_opera=(agt.indexOf("opera") != -1); var is_konq=(agt.indexOf("konqueror") != -1); var is_safari=(agt.indexOf("safari") != -1); var ie7=(is_ie?(parseFloat(agv.substring(agv.indexOf("MSIE")+5,agv.indexOf("MSIE")+8))>=7):0); 
var pID; 
var LiknoTrees=new Array(); 
function lPos() {var $f=1; for (var i=0;i<LiknoTrees.length;i++) {var obj=document.getElementById(LiknoTrees[i].getAttachedTo()); if(obj && LiknoTrees[i].getCssCreated()) LiknoTrees[i].drawTree(); else $f=0;} if ($f) clearInterval(pID);} function saveTreeState() {for (var i=0;i<LiknoTrees.length;i++) {if(LiknoTrees[i]) LiknoTrees[i].saveTreeState();}} window.onbeforeunload=saveTreeState; window.onunload=saveTreeState; 
function LiknoTreeElement(a30,a31,a32,vsbl) {this.adp("iid",""); this.adp("v02",""); this.adp("parent",null); this.adp("nextLeaf",null); this.adp("prevLeaf",null); this.adp("content",a30); this.adp("link",a31); this.adp("target",a32); this.adp("jscriptCommand",""); this.adp("statusbarText",""); this.adp("vsbl",vsbl); this.adp("iconFormat","gif"); this.adp("subtreeClosedIcon",new Array("","","")); this.adp("subtreeOpenIcon",new Array("","","")); this.adp("leafIcon",new Array("","","")); this.adp("v16",false); this.adp("classnames",new Array("de","mo","se")); this.adp("leaves",new Array()); this.adp("v28",16); this.adp("isExpanded",false); this.adp("isSelected",false); this.adp("isMouseOver",false); this.adp("depth",0); this.adp("v24","000"); this.adp("data",new Array()); this.adp("tooltip",""); this.adp("isSelectable",true); 
this.cpt=function(lf) {if(lf && typeof(lf)==typeof(this)) for(value in this) lf[value]=this[value];}; this.compareTo=function(lf) {if(lf && typeof(lf)==typeof(this)) {var a01=this.getRoot(); var odn=a01.getSortOnData(); var a02=(a01.getSortAscending() ? -1 : 1); if(odn>=0 && odn<this.getData().length && odn<lf.getData().length) {var a03=this.getData()[odn]; var a04=lf.getData()[odn]; return a02*(a03>a04 ? 1 : (a03==a04 ? 0 : -1));} else {var cns=this.getContent(); cns=cns.replace(/<\S[^>]*>/g,""); var lfcns=lf.getContent(); lfcns=lfcns.replace(/<\S[^>]*>/g,""); return a02*(cns>lfcns ? 1 : (cns==lfcns ? 0 : -1));}} return -1;}; this.getLeaf=function(nbr) {if(nbr<this.leaves.length) return this.leaves[nbr]; else return null;}; this.rcli=function() {var a05=this.getRoot(); var a06=a05.getIid(); var dpt=this.getDepth(); a08=this; a07=new Array(dpt); while(dpt>1) {a08=a08.getParent(); a07[dpt-1]=a08; dpt=a08.getDepth();} for(var i=1; i<a07.length; i++) {a08=a07[i]; a06+="_"+a08.getLeafPos();} if(this.getParent()) for(var i=0; i<this.getParent().getLeaves().length; i++) if(this.getParent().getLeaf(i)==this) a06+="_"+i; this.setIid(a06);}; this.f01=function() {this.rcli(); var lvs=this.getLeaves().length; for(var i=0; i<lvs; i++) {var lf=this.getLeaf(i); lf.f01();}}; this.draw=function() {var a05=this.getRoot(),a09=a05.getIid(),c2d=new Array(),pngie=(this.iconFormat=="png" && is_ie)?1:0,dpt=this.depth,a08=this,a07=new Array(dpt); while(dpt>1) {a08=a08.parent; a07[dpt-1]=a08; dpt=a08.depth;} var lfi=this.getIid(); var hght=this.getV28(); c2d[c2d.length]="<span id='"+lfi+"' "+(this.tooltip ? "title='"+this.tooltip+"' " : "")+"tabindex='-1' class='ldmt"+a09+"spn' style='display:"+(this.vsbl ? "block" : "none")+"; -moz-outline-style:none;'>"; var a10=" alt='' width='"+hght+"' height='"+hght+"' border='0' align='middle'"; for(var i=1,lr=a07.length; i<lr; i++) {a08=a07[i]; if(a08.hasSiblingBelow()) {switch (pngie) {case 1:
var icst=" style=\"width:"+hght+"px; height:"+hght+"px; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+a05.gID()+a05.getPl5()+"',sizingMethod='scale'); -moz-box-sizing:border-box; vertical-align:top;\""; var icsr=a05.gID()+"spacer.png"; break; case 0:
var icst=" style=\" vertical-align:top;\""; var icsr=a05.gID()+a05.pl5; break;} c2d[c2d.length]="<img src='"+icsr+"'"+a10+icst+">";} else {switch (pngie) {case 0:
c2d[c2d.length]="<img src='"+a05.gID()+a05.p20+"'"+a10+">"; break; case 1:
c2d[c2d.length]="<img src='"+a05.gID()+"spacer.png"+"'"+a10+" style=\"width:"+hght+"px; height:"+hght+"px; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+a05.gID()+a05.getP20()+"',sizingMethod='scale'); -moz-box-sizing:border-box; vertical-align:top;\">"; break;}}} if(this.hasChildren()) {if(this.hasVisibleChildren()) var a11="a05.gID()+a05.getPm"; else var a11="a05.gID()+a05.getPp"; tgst="style='cursor:pointer;cursor:hand;-moz-box-sizing:border-box;border:0;width:"+hght+"px;height:"+hght+"px;overflow:hidden;vertical-align:top;'"; if(this.hasSiblingAbove() || (this.getLeafPos()==0 && this.getDepth()>0)) {if(this.getLeafPos()==0 && this.getDepth()==1) {if(this.hasSiblingBelow()) {this.setV24("011"); var icsr=eval(a11+"3()");} else {this.setV24("010"); var icsr=eval(a11+"2()");}} else if(this.hasSiblingBelow()) {this.setV24("111"); var icsr=eval(a11+"4()");} else {this.setV24("110"); var icsr=eval(a11+"1()");}} else {if(this.hasSiblingBelow()) {this.setV24("011"); var icsr=eval(a11+"3()");} else {this.setV24("010"); var icsr=eval(a11+"2()");}} if(pngie) {var icst=" style=\"width:"+hght+"px; height:"+hght+"px; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+icsr+"',sizingMethod='scale'); -moz-box-sizing:border-box;\""; icsr=a05.gID()+"spacer.png";} else var icst=""; c2d[c2d.length]="<img id='"+lfi+"_branch' src='"+icsr+"'"+a10+icst+" onclick=\"LiknoTrees["+a05.getTreeNbr()+"].toggleBranch('"+lfi+"');\" "+tgst+" >";} else {if(this.hasSiblingAbove() || (this.getLeafPos()==0 && this.getDepth()>0)) {if(this.getLeafPos()==0 && this.getDepth()==1) {this.setV24("011"); var icsr=a05.gID()+a05.getPl3();} else if(this.hasSiblingBelow()) {this.setV24("111"); var icsr=a05.gID()+a05.getPl4();} else {this.setV24("110"); var icsr=a05.gID()+a05.getPl1();} var icst=""; if(pngie) {var icst=" style=\"width:"+hght+"px; height:"+hght+"px; border:0; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+icsr+"',sizingMethod='scale'); vertical-align:top;\""; icsr=a05.gID()+"spacer.png";} else var icst=" style=\"vertical-align:top;\""; c2d[c2d.length]="<img id='"+lfi+"_branch' src='"+icsr+"'"+a10+icst+">";} else {c2d[c2d.length]="<img id='"+lfi+"_branch' src='"+a05.gID()+a05.getP20()+"'"+a10+">"; if((this.hasSiblingAbove() || (this.getLeafPos()==0 && this.getDepth()>0)) && this.hasSiblingBelow()) this.setV24("111"); else this.setV24("110");}} if(pngie) {var icsr=a05.gID()+"spacer.png"; var icst=" style=\"width:"+hght+"px; height:"+hght+"px; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+(this.hasChildren() ? this.gsic() : this.gic())+"',sizingMethod='scale'); -moz-box-sizing:border-box; vertical-align:top;\"";} else {var icsr=this.hasChildren() ? this.gsic() : this.gic(); var icst=" style=\"vertical-align:top;\"";} c2d[c2d.length]="<img id='"+lfi+"_icon' src='"+icsr+"'"+a10+icst+">"; var a12="ldmt"+a09+(this.getIsSelected() ? this.getClassnames()[2] : (this.getIsMouseOver() ? this.getClassnames()[1] : this.getClassnames()[0])); c2d[c2d.length]="<span id='"+lfi+"_content' style='oveflow:visible;word-wrap:normal;margin:0;"+(is_gecko || is_opera ? "height:"+hght+"px; line-height:"+hght+"px;" : "")+" vertical-align:top; -moz-box-sizing:border-box;' class='"+a12+"' ondblclick=\"LiknoTrees["+a05.getTreeNbr()+"].toggleBranch('"+lfi+"');\" onclick=\"LiknoTrees["+a05.getTreeNbr()+"].clickBranch('"+lfi+"',event);\" onmouseover=\"LiknoTrees["+a05.getTreeNbr()+"].movbr('"+lfi+"');\" onmouseout=\"LiknoTrees["+a05.getTreeNbr()+"].moubr('"+lfi+"');\" onselectstart=\"return false;\">"+this.getContent()+"</span>\n"; var lvs=this.getLeaves().length; 
for(var i=0; i<lvs; i++) {c2d[c2d.length]=this.getLeaf(i).draw();} c2d[c2d.length]="</span>\n"; return c2d.join("");}; this.hsln=function() {if(this.getLink()) return 1; return 0;}; this.setCustomLeafIcons=function(lficn,lficnm,lficns) {if(lficn) {if(lficnm) {if(lficns) this.setLeafIcon(new Array(lficn,lficnm,lficns)); else this.setLeafIcon(new Array(lficn,lficnm,""));} else this.setLeafIcon(new Array(lficn,"",""));} this.setV16(true);}; this.setCustomBranchIcons=function(exicn,clicn,exicnm,clicnm,exicns,clicns) {if(exicn) {if(exicnm) {if(exicns) this.setSubtreeOpenIcon(new Array(exicn,exicnm,exicns)); else this.setSubtreeOpenIcon(new Array(exicn,exicnm,""));} else this.setSubtreeOpenIcon(new Array(exicn,"",""));} if(clicn) {if(clicnm) {if(clicns) this.setSubtreeClosedIcon(new Array(clicn,clicnm,clicns)); else this.setSubtreeClosedIcon(new Array(clicn,clicnm,""));} else this.setSubtreeClosedIcon(new Array(clicn,"",""));} this.setV16(true);}; this.gic=function() {var icim=""; if(this.getIsSelected() && this.getLeafIcon()[2]) icim=this.getLeafIcon()[2]; else if(this.getIsMouseOver() && this.getLeafIcon()[1]) icim=this.getLeafIcon()[1]; else icim=this.getLeafIcon()[0]; if(this.getV16()) return icim; else return this.getRoot().gID()+icim;}; this.gsic=function() {var icim=""; if(this.getIsExpanded() && this.hasVisibleChildren()) {if(this.getIsSelected() && this.getSubtreeOpenIcon()[2]) icim=this.getSubtreeOpenIcon()[2]; else if(this.getIsMouseOver() && this.getSubtreeOpenIcon()[1]) icim=this.getSubtreeOpenIcon()[1]; else icim=this.getSubtreeOpenIcon()[0];} else {if(this.getIsSelected() && this.getSubtreeClosedIcon()[2]) icim=this.getSubtreeClosedIcon()[2]; else if(this.getIsMouseOver() && this.getSubtreeClosedIcon()[1]) icim=this.getSubtreeClosedIcon()[1]; else icim=this.getSubtreeClosedIcon()[0];} if(this.getV16()) return icim; else return this.getRoot().gID()+icim;}; this.setContentStyles=function(a13) {var a14=document.getElementById(this.getIid()+"_content"); this.copyStylesToElement(a13,a14);}; this.copyStylesToElement=function(a13,a15) {if(a15) {var st=a13; while(st.length>0) {var a16=st.indexOf(":"); var a17=st.indexOf(";",a16); var a19=st.substring(0,a16); var sr1=a19; var sr2=""; var ncn=0; while(a19.length>0) {var a18=a19.indexOf("-"); if(a18>0) {sr1=a19.substring(0,a18); if(ncn>0) sr1=sr1.charAt(0).toUpperCase()+sr1.substring(1); sr2+=sr1; a19=a19.substring(a18+1); ncn++;} else if(ncn>0) {sr2+=a19.charAt(0).toUpperCase()+a19.substring(1); a19="";} else break;} if(sr2.length>0) a19=sr2; 
var a20=st.substring(a16+1,a17); a15.style[a19]=a20; st=st.substring(a17+2);}}}; this.getRoot=function() {var a01=this; while(a01 && a01.depth>0) a01=a01.parent; return a01;}; this.hasChildren=function() {if(this.leaves.length>0) return 1; return 0;}; this.hasVisibleChildren=function() {var lvs=this.leaves.length; for(var i=0; i<lvs; i++) {lf=this.getLeaf(i); if(lf.vsbl) return 1;} return 0;}; this.hasVisibleSiblingAbove=function() {if(this.getVisibleSiblingAbove()) return 1; return 0;}; this.hasVisibleSiblingBelow=function() {if(this.getVisibleSiblingBelow()) return 1; return 0;}; this.getVisibleSiblingAbove=function() {var nps=this.getLeafPos(); while(nps>0) {lf=this.getParent().getLeaf(--nps); if(lf.vsbl) return lf;} return null;}; this.getVisibleSiblingBelow=function() {if(this.depth>0) {var nps=this.getLeafPos(); a21=this.getParent().getLeaves().length; while(nps<a21-1) {lf=this.getParent().getLeaf(++nps); if(lf.getVsbl()) return lf;} return null;} else return null;}; this.hasSiblingAbove=function() {if(this.depth>0 && this.getLeafPos()>0) return 1; return 0;}; this.hasSiblingBelow=function() {if(this.depth>0 && this.getLeafPos()<this.parent.leaves.length-1) return 1; return 0;}; this.isSibling=function(lf) {return (this.getParent()==lf.getParent());}; this.findLeafByText=function(a22,a23,a24,a25) {var a26=null; if((a25 && this.getVsbl()) || !a25) {if(a23) {if(a24) {if(this.getContent()==a22) a26=this;} else {var re=new RegExp("^.*"+a22+".*$","i"); if(this.getContent().match(re)) a26=this;}} else {var re=new RegExp("^.*"+a22+".*$",(a24 ? "" : "i")); if(this.getContent().match(re)) a26=this;}} if(!a26) {var lvs=this.getLeaves().length; if(lvs>0) {for(var i=0; i<lvs; i++) {var lf=this.getLeaf(i); if(a25) {if(lf.getVsbl()) a26=lf.findLeafByText(a22,a23,a24,a25); if(a26) break;} else {a26=lf.findLeafByText(a22,a23,a24,a25); if(a26) break;}}}} return a26;}; this.findNextVisibleNode=function() {if(this.getVsbl()) {if(this.hasVisibleChildren()) {var lvs=this.getLeaves().length; for(var i=0; i<lvs; i++) {var lf=this.getLeaves()[i]; if(lf.getVsbl()) return lf;}} else {var lf=this.getVisibleSiblingBelow(); if(lf) return lf; else {trc=new Array(); trc[0]=this; var par=this.getParent(); var ncn=1; while(par) {trc[ncn]=par; var lvs=par.getLeaves().length; for(var i=trc[ncn-1].getLeafPos(); i<lvs; i++) {var lf=par.getLeaves()[i]; var btr=false; for(var k=0; k<trc.length; k++) {if(lf==trc[k]) {btr=true; break;}} if(!btr && !this.isSibling(lf)) return lf;} par=par.getParent(); ncn++;} return null;}}} return null;}; this.findPrevVisibleNode=function() {if(this.getVsbl() && !(this.getLeafPos()==0 && this.getDepth()==1)) {var lf=this.getVisibleSiblingAbove(); if(lf) {while(lf.hasVisibleChildren()) {var a27=lf.getLeaves().length-1; var lfch=lf.getLeaf(a27); while(!lfch.getVsbl()) lfch=lf.getLeaf(--a27); if(lfch.hasVisibleChildren()) lf=lfch; else return lfch;} return lf;} else {var par=this.getParent(); if(par) return par;}} return null;}; this.getLeafPos=function() {var strId=this.iid; return parseInt(strId.substring(strId.lastIndexOf("_")+1));}; this.addLeaf=function(a28) {if(a28.vsbl) this.isExpanded=true; var nId=this.leaves.length; var tree_id=this.v02; a28.v02=tree_id; a28.depth=this.depth+1; a28.iid=(a28.depth>0 ? this.iid+"_"+nId : tree_id+"_"+nId); var a29=this.getRoot().iconFormat; a28.iconFormat=a29; a28.subtreeClosedIcon=new Array("subtree_closed."+a29,"subtree_closed_mo."+a29,"subtree_closed_s."+a29); a28.subtreeOpenIcon=new Array("subtree_open."+a29,"subtree_open_mo."+a29,"subtree_open_s."+a29); if(!a28.v16) a28.leafIcon=new Array("leaf."+a29,"leaf_mo."+a29,"leaf_s."+a29); this.leaves[nId]=a28; return a28;}; this.addLeafWithParams=function(a30,a31,a32,vsbl,a34,hght) {var nlf=new LiknoTreeElement(a30,a31,a32,vsbl); nlf.setParent(this); var a01=this.getRoot(); if (a31) if (a31.search("://")<0 && a31.substring(0,7)!="mailto:" && a31.substring(0,1)!="/") a31=a01.tP+"/"+a31; nlf.setLink(a31); if(a34) {nlf.setLeafIcon(new Array(a34,"","")); nlf.setV16(true);} nlf.v28=((hght)?hght:a01.p21); if(arguments.length<=6) this.classnames=new Array(a01.cssClasses[0][0],a01.cssClasses[1][0],a01.cssClasses[2][0]); else if(arguments.length==9) this.classnames=new Array(arguments[6],arguments[7],arguments[8]); return this.addLeaf(nlf);}; this.insertLeafAfter=function(nlf) {var a70=this.getParent(); 
if(nlf.getVsbl()) a70.setIsExpanded(true); nlf.setV02(this.getV02()); nlf.setDepth(this.getDepth()); var a29=this.getRoot().getIconFormat(); nlf.setIconFormat(a29); nlf.setSubtreeClosedIcon(new Array("subtree_closed."+a29,"subtree_closed_mo."+a29,"subtree_closed_s."+a29)); nlf.setSubtreeOpenIcon(new Array("subtree_open."+a29,"subtree_open_mo."+a29,"subtree_open_s."+a29)); if(!nlf.getV16()) nlf.setLeafIcon(new Array("leaf."+a29,"leaf_mo."+a29,"leaf_s."+a29)); 
var a35=a70.getLeaves(); var a36=new Array(); var nps=this.getLeafPos(); var lvs=a35.length; for(i=0; i<=nps; i++) a36[i]=a35[i]; a36[nps+1]=nlf; for(i=nps+1; i<lvs; i++) a36[i+1]=a35[i]; a70.setLeaves(a36); a70.f01(); 
return nlf;}; this.insertLeafWithParamsAfter=function(a30,a31,a32,vsbl,a34,hght) {nlf=new LiknoTreeElement(); nlf.setParent(this.getParent()); nlf.setContent(a30); nlf.setLink(a31); nlf.setTarget(a32); nlf.setVsbl(vsbl); if(a34) {nlf.setLeafIcon(new Array(a34,"","")); nlf.setV16(true);} var a01=this.getRoot(); if(hght) nlf.setV28(hght); else nlf.setV28(a01.getP21()); if(arguments.length<=6) this.setClassnames(new Array(a01.getCssClasses()[0][0],a01.getCssClasses()[1][0],a01.getCssClasses()[2][0])); else if(arguments.length==9) this.setClassnames(new Array(arguments[6],arguments[7],arguments[8])); return this.insertLeafAfter(nlf);}; this.rsmo=function() {this.setIsMouseOver(false); this.useClass(this.getIsSelected() ? 2 : 0); this.changeIcon();}; this.resetSelected=function() {this.setIsSelected(false); this.useClass(0); this.changeIcon(); var a05=this.getRoot(); for(var i=0; i<a05.getSelection().length; i++) if(a05.getSelection()[i]==this) a05.getSelection().splice(i,1);}; this.clearSelection=function() {var lvs=this.getLeaves().length; for(var i=0; i<lvs; i++) {var lf=this.getLeaf(i); if(lf.hasChildren()) lf.clearSelection(); lf.resetSelected();}}; this.changeIcon=function() {icim=document.getElementById(this.getIid()+"_icon"); if(icim) {var bse=this.getIsSelected(); var bmo=this.getIsMouseOver(); var icsr; if(this.hasChildren()) {if(this.getIsExpanded()) icsr=bse ? (this.getSubtreeOpenIcon()[2] ? this.getSubtreeOpenIcon()[2] : this.getSubtreeOpenIcon()[0]) :
(bmo ? (this.getSubtreeOpenIcon()[1] ? this.getSubtreeOpenIcon()[1] : this.getSubtreeOpenIcon()[0]) :
this.getSubtreeOpenIcon()[0]); else icsr=bse ? (this.getSubtreeClosedIcon()[2] ? this.getSubtreeClosedIcon()[2] : this.getSubtreeClosedIcon()[0]) :
(bmo ? (this.getSubtreeClosedIcon()[1] ? this.getSubtreeClosedIcon()[1] : this.getSubtreeClosedIcon()[0]) :
this.getSubtreeClosedIcon()[0]);} else icsr=bse ? (this.getLeafIcon()[2] ? this.getLeafIcon()[2] : this.getLeafIcon()[0]) :
(bmo ? (this.getLeafIcon()[1] ? this.getLeafIcon()[1] : this.getLeafIcon()[0]) :
this.getLeafIcon()[0]); if(this.getIconFormat()=="png" && is_ie) {icim.src=this.getRoot().gID()+"spacer.png"; icim.style.Width=this.getV28()+"px"; icim.style.Height=this.getV28()+"px"; icim.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+(this.getV16() ? icsr : this.getRoot().gID()+icsr)+"',sizingMethod='scale');"; icim.filters.item("DXImageTransform.Microsoft.AlphaImageLoader").enabled=true;} else icim.src=(this.getV16() ? icsr : this.getRoot().gID()+icsr);}}; this.chbri=function(bex) {var icim=document.getElementById(this.getIid()+"_branch"); if(icim) {var icsr; var a05=this.getRoot(); if(this.hasChildren()) {if(this.getV24()=="110") icsr=a05.gID()+(bex ? a05.getPp1() : a05.getPm1()); else if(this.getV24()=="111") icsr=a05.gID()+(bex ? a05.getPp4() : a05.getPm4()); else if(this.getV24()=="011") icsr=a05.gID()+(bex ? a05.getPp3() : a05.getPm3()); else if(this.getV24()=="010") icsr=a05.gID()+(bex ? a05.getPp2() : a05.getPm2());} else {if(this.getV24()=="110") icsr=a05.gID()+a05.getPl1(); else if(this.getV24()=="111") icsr=a05.gID()+a05.getPl4();} if(this.getIconFormat()=="png" && is_ie) {icim.src=this.getRoot().gID()+"spacer.png"; icim.style.Width=this.getV28()+"px"; icim.style.Height=this.getV28()+"px"; icim.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+icsr+"',sizingMethod='scale');"; icim.filters.item("DXImageTransform.Microsoft.AlphaImageLoader").enabled=true;} else icim.src=icsr;}}; this.useClass=function(a38) {var lfsp=document.getElementById(this.getIid()+"_content"); if(lfsp) {var a09=this.getRoot().getIid(); var lfi=this.getIid(); lfsp.className="ldmt"+a09+this.getClassnames()[a38];}}; this.sortBranch=function(a73,rec) {var lvs=this.getLeaves().length; if(lvs>0) {var a05=this.getRoot(); this.getLeaves().sort(a05.compareLeaves); for(var i=0; i<lvs; i++) this.getLeaf(i).f01(); if(rec) {for(var i=0; i<lvs; i++) this.getLeaf(i).sortBranch(a73,true);} return true;} else return false;}; this.saveState=function(a38) {var a37=a38.branchCount % 31; if(a38.branchCount==0) a38.numbers[0]=(this.getIsExpanded() ? 1 : 0); else if(a37==0) a38.numbers[a38.numbers.length]=(this.getIsExpanded() ? 1 : 0); else a38.numbers[a38.numbers.length-1] |= (this.getIsExpanded() ? Math.pow(2,a37) : 0); a38.branchCount++; var lvs=this.getLeaves().length; for(var i=0; i<lvs; i++) if(this.getLeaf(i).hasChildren()) this.getLeaf(i).saveState(a38);}; this.loadState=function(a38) {var a37=a38.branchCount % 31; var a39=Math.floor(a38.branchCount / 31); var a05=this.getRoot(); if(a38.numbers[a39] & Math.pow(2,a37)) {if(!this.getIsExpanded()) a05.toggleBranch(this.getIid());} else {if(this.getIsExpanded()) a05.toggleBranch(this.getIid());} a38.branchCount++; var lvs=this.getLeaves().length; for(var i=0; i<lvs; i++) if(this.getLeaf(i).hasChildren()) this.getLeaf(i).loadState(a38);}; this.clth=function() {var hght=this.getVsbl() ? this.getV28() : 0; var lvsn=this.getLeaves().length; if(lvsn>0 && this.getIsExpanded()) {for(var i=0; i<lvsn; i++) hght+=this.getLeaf(i).clth();} return hght;}; this.cltw=function() {if(this.getVsbl() || this.getDepth()==0) {var wdt=this.getV28(); var wdt_span=0; if(this.getDepth()>0) wdt_span=document.getElementById(this.getIid()+"_content").offsetWidth; if(this.hasVisibleChildren()) {var lvsn=this.getLeaves().length; var width=0; var a41=((this.getDepth()+1)*wdt)+wdt_span; for(var i=0; i<lvsn; i++) {width=this.getLeaf(i).cltw(); if(width>a41) a41=width;} return a41;} else return (((this.getDepth()+1)*wdt)+wdt_span);} else return 0;}; this.setClassnamesR=function(a42,a43,a44) {var lvsn=this.getLeaves().length; for(var i=0; i<lvsn; i++) this.getLeaf(i).setClassnamesR(a42,a43,a44); this.setClassnames(new Array(a42,a43,a44));}; this.enableFx=function() {var lfsp=document.getElementById(this.getIid()); if(lfsp) {var a05=this.getRoot(); var hght=this.clth()+"px"; lfsp.style.height=hght; switch(a05.getMenuFx()) {case "fade" :
lfsp.style.filter="progid:DXImageTransform.Microsoft.Fade(overlap=1,duration=1);"; lfsp.filters.item("DXImageTransform.Microsoft.Fade").enabled=true; break; case "inset" :
lfsp.style.filter="progid:DXImageTransform.Microsoft.Inset(duration=1);"; lfsp.filters.item("DXImageTransform.Microsoft.Inset").enabled=true; break; case "wipe" :
lfsp.style.filter="progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=0,motion='forward',duration=1);"; lfsp.filters.item("DXImageTransform.Microsoft.Wipe").enabled=true; break; case "dissolve" :
lfsp.style.filter="progid:DXImageTransform.Microsoft.RandomDissolve(duration=1);"; lfsp.filters.item("DXImageTransform.Microsoft.RandomDissolve").enabled=true; break; case "stretch" :
lfsp.style.filter="progid:DXImageTransform.Microsoft.Stretch(stretchStyle='push',duration=1);"; lfsp.filters.item("DXImageTransform.Microsoft.Stretch").enabled=true; break;}} var lvsn=this.getLeaves().length; for(var i=0; i<lvsn; i++) {var lf=this.getLeaf(i); if(lf.hasChildren()) lf.enableFx();}};}; 
function LiknoTreeRoot(a09,a51,x,y,w,h,a52,vsbl,v29,a53) {this.extn(new LiknoTreeElement()); this.adp("attachedTo",a51); this.adp("offsetX",x); this.adp("offsetY",y); this.adp("boxWidth",w); this.adp("boxHeight",h); this.adp("horzScroll",true); this.adp("imagesDir","images/ldmt/16x16/default/"); this.adp("v29","font-family:Tahoma,Arial,sans-serif; font-size:7px; overflow:visible; padding:0; margin:0;"); this.adp("pp1","plus_ne."+a53); this.adp("pp2","plus_e."+a53); this.adp("pp3","plus_es."+a53); this.adp("pp4","plus_nes."+a53); this.adp("pm1","minus_ne."+a53); this.adp("pm2","minus_e."+a53); this.adp("pm3","minus_es."+a53); this.adp("pm4","minus_nes."+a53); this.adp("pl3","line_es."+a53); this.adp("pl1","line_ne."+a53); this.adp("pl4","line_nes."+a53); this.adp("pl5","line_ns."+a53); this.adp("p20","empty."+a53); this.adp("p21",a52); this.adp("p22",vsbl); this.adp("treeNbr",LiknoTrees.length); this.adp("multiSelect",false); this.adp("useCtrl",true); this.adp("allowFolderSelect",true); this.adp("toggleSelected",true); this.adp("selectedId",""); this.adp("mouseoverId",""); this.adp("contextmenuId",""); this.adp("autoCollapse",false); this.adp("sortOnData",-1); this.adp("sortAscending",true); this.adp("cssCreated",false); this.adp("selection",new Array()); this.adp("isStatusbarDirty",false); this.adp("prevStatusbarText",""); this.adp("clickToExpand",false); this.adp("menuFx",false); this.adp("hasContextMenu",false); this.adp("cssClasses",new Array()); this.adp("p40","c8a7586a1cd8c935d0e41b671fd3c72acca7487f"); this.adp("p41","a4c83b0b70b0a646"); 
this.setIid(a09); this.setVsbl(vsbl); this.setV28(a52); if(v29) this.setV29(v29); this.setIconFormat(a53); 
var $mp=document.location,$xt=""; var $mp=$mp.protocol+"//"+$mp.host+$mp.pathname; while ($mp.search(/\\/)>-1) $mp=$mp.replace("\\","/"); $mp=$mp.substring(0,$mp.lastIndexOf("/")+1); var e=document.getElementsByTagName("SCRIPT"); for (var i=0;i<e.length;i++){if (e[i].src){if (e[i].src.indexOf(this.getIid()+".js")!=-1){$xt=e[i].src.split("/");if ($xt[$xt.length-1]==this.getIid()+".js"){$xt=e[i].src.substring(0,e[i].src.length-this.getIid().length-3);if (e[i].src.indexOf("://")!=-1){$mp=$xt;}else{$mp+=$xt;}}}}} var $MP=$mp.substring(0,$mp.length-1); while ($MP.search("'")>-1) {$MP=$MP.replace("'","&#39;");} while ($MP.search(/\)/)>-1) {$MP=$MP.replace(/\)/,"%29");} 
this.tP=$MP; LiknoTrees[this.getTreeNbr()]=this; 
this.gID=function() {return this.tP+"/"+this.getImagesDir();} 
this.drawTree=function() {this.clearSelection(); if(!this.getCssCreated()) this.createStylesheet(); var obj=document.getElementById(this.getAttachedTo()); if(obj && this.getCssCreated()) {var a54=new Array(); 
var bw=this.getBoxWidth(); var bh=this.getBoxHeight(); a54[a54.length]="<div id='"+this.getIid()+"' tabindex='0' accesskey='"+(this.getTreeNbr()+1)+"' style='"+this.getV29()+" position:absolute; white-space:nowrap; overflow-x:"+(this.getHorzScroll() ? "auto" : "hidden")+"; overflow-y:auto; "+(bh>0 || bw>0 ? "overflow:auto;" : "")+" left:"+this.getOffsetX()+"px; top:"+this.getOffsetY()+"px; "+(bw>0 ? "width:"+bw+"px; " : "width:auto; ")+(bh>0 ? "height:"+bh+"px; " : "height:auto; ")+"-moz-box-sizing:border-box;' onclick=\"LiknoTrees["+this.getTreeNbr()+"].setActive();\" onkeydown=\"return LiknoTrees["+this.getTreeNbr()+"].keypressed(event);\">\n"; var lvs=this.getLeaves().length; for(var i=0; i<lvs; i++) {var lf=this.getLeaf(i); a54[a54.length]=lf.draw();} a54[a54.length]="</div>\n"; obj.innerHTML=a54.join(""); if(is_ie && this.getMenuFx()) {var lvs=this.getLeaves().length; for(var i=0; i<lvs; i++) {var lf=this.getLeaf(i); if(lf.hasChildren()) lf.enableFx();}} if(is_ie && !ie7 && this.getBoxWidth()==0) obj.style.width=this.cltw()+'px'; 
if(this.getHasContextMenu()) {var a55=document.getElementById(this.getIid()); a55.oncontextmenu=LiknoTrees[this.getTreeNbr()].showContextMenu; a55.onmouseover=LiknoTrees[this.getTreeNbr()].treeHideContextMenu; a55.onclick=LiknoTrees[this.getTreeNbr()].treeHideContextMenu; var a56=document.getElementById("ldmt"+this.getIid()+"menu"); a56.onmouseout=LiknoTrees[this.getTreeNbr()].hideContextMenu; a56.onclick=LiknoTrees[this.getTreeNbr()].hideContextMenu;} if (this.lTS) this.loadTreeState(); this.fNs=1;} else {clearInterval(pID); pID=setInterval("lPos()",50);}}; this.createStylesheet=function() {var a09=this.getIid(); var cssClasses=this.getCssClasses(); var a58=new Array(); a58[0]=".ldmt"+a09+"spn {font-size:7px; padding:0; margin:0; border:0; overflow:hidden; "+(is_gecko || is_opera ? "vertical-align:middle; line-height:"+this.getV28()+"px;" : "vertical-align:top;")+" word-wrap:normal; white-space:nowrap; width:auto; -moz-box-sizing:border-box;} \n"; for(var i=0; i<cssClasses.length; i++) a58[i+1]=".ldmt"+a09+cssClasses[i][0]+" {"+cssClasses[i][1]+"} \n"; var a67=a09+"_css"; if(this.f02()) {if(document.createStyleSheet) {var a59=document.styleSheets; var a60=-1; for(i=0; i<a59.length; i++) {var rules=a59[i].rules; var a62=rules.length; var j=0; while(j<a62) {if(rules[j].selectorText.substr(0,a09.length+5)==".ldmt"+a09) {a60=i; a59[i].removeRule(j);a61= a59[i].rules; a62=rules.length; j=0;} else j++;}} if(a60 >0) {for(var i=0; i<a58.length; i++) {var a63=a58[i].indexOf("{"); var a64=a58[i].substring(0,a63-1); var v29=a58[i].substring(a63+1); v29=v29.substring(0,v29.lastIndexOf("}")); a59[a60].addRule(a64,v29);} this.setCssCreated(true);} else {var a66=document.createStyleSheet(); for(var i=0; i<a58.length; i++) {var a63=a58[i].indexOf("{"); var a64=a58[i].substring(0,a63-1); var v29=a58[i].substring(a63+1); v29=v29.substring(0,v29.lastIndexOf("}")); a66.addRule(a64,v29);} this.setCssCreated(true);}} else {var a66=document.getElementById(a67); if(a66) {var a70=a66.parentNode; a70.removeChild(a66);} a66=document.createElement("style"); if(a66) {a66.id=a67; document.getElementsByTagName("head")[0].appendChild(a66); if(typeof a66.innerHTML=="string" && !is_konq && !is_safari) {a66.innerHTML=""; for(var i=0; i<a58.length; i++) a66.innerHTML+=a58[i];} else {a66.innerText=""; for(var i=0; i<a58.length; i++) a66.innerText+=a58[i];} this.setCssCreated(true);}}}}; this.f02=function() {var a01=this.getRoot(); var a45=document.location.href; var a16=a45.indexOf(String.fromCharCode(58)); var a46=a45.substring(0,a16).substring(0,4); 
if(a46==this.a89("ccbc4f7b")) {var a17=a45.indexOf(String.fromCharCode(47),a16+3); if(a17>0) var a47=a45.substring(a16+3,a17); else var a47=a45.substring(a16+3); a47=a47.split(String.fromCharCode(58))[0]; if(a47==this.a89("0806040403050a1f10") || this.cKc(a47)) return true; else return false;} return true;}; this.cKc=function ($s) {var a90=String.fromCharCode(119),cK=new Array(); a90+=a90+a90; cK=this.a89(this.getP40()).split(", "); if($s.substring(0,3)==a90) if (!isNaN($s.substring(3,4)) && $s.substring(4,5)==String.fromCharCode(46)) $s=$s.substring(5); a90+=String.fromCharCode(46); if($s.substring(0,4)==a90) $s=$s.substring(4); for (d=0;d<cK.length;d++) if ($s==cK[d]) return true; return false;}; this.a89=function(str) {var a01=this.getRoot(); var p41=a01.getP41(); var k=0; var a48=''; for(i=0; i<str.length; i+=2) {var a49=eval("0x"+str.charAt(i)+str.charAt(i+1)+";"); var a50=eval("0x"+p41.charAt(k)+p41.charAt(k+1)+";"); a48+=String.fromCharCode(a49 ^ a50); k+=2; if(k>=p41.length) k=0;} return a48;}; this.addClass=function(name,v29) {var cssClasses=this.getCssClasses(); var found=false; var S=v29.toLowerCase(); var p1=S.indexOf("cursor"); if (p1>-1) {p1=p1+6; while (S.charAt(p1)==" ") p1++; if (S.charAt(p1)==":") found=true;} if (!found) v29+="cursor:default;"; found=false; for(i=0; i<cssClasses.length; i++) if(cssClasses[i][0]==name) {cssClasses[i][1]=v29; found=true; break;} if(!found) cssClasses[cssClasses.length]=new Array(name,v29);}; this.getLeafById=function(lf,lfi) {if(lf) {if(lf.getIid()==lfi) return lf; else {var lvs=lf.getLeaves().length; for(var i=0; i<lvs; i++) {a68=this.getLeafById(lf.getLeaf(i),lfi); if(a68) return a68;} return null;}} else return null;}; this.toggleBranch=function(bri) {var brn=this.getLeafById(this,bri); var brndv=document.getElementById(bri); if(brn && brndv && brn.hasChildren()) {var lvs=brn.getLeaves().length; if(brn.getIsExpanded()) {if(is_ie && this.getMenuFx() && brndv.filters[0]) brndv.filters[0].Apply(); brn.setIsExpanded(false); brn.changeIcon(); brn.chbri(true); for(var i=0; i<lvs; i++) {brn.getLeaf(i).setVsbl(false); var a69=document.getElementById(brn.getLeaf(i).getIid()); if(a69) a69.style.display="none";} brndv.style.height=brn.getV28()+'px'; var a70=brn.getParent(); while(a70 && a70.getDepth()>0) {var prdv=document.getElementById(a70.getIid()); prdv.style.height=a70.clth()+'px'; a70=a70.getParent();} this.rctw(); if(is_ie && this.getMenuFx() && brndv.filters[0]) brndv.filters[0].Play();} else {if(is_ie && this.getMenuFx() && brndv.filters[0]) brndv.style.visibility="hidden"; brn.setIsExpanded(true); brn.changeIcon(); brn.chbri(false); for(var i=0; i<lvs; i++) {brn.getLeaf(i).setVsbl(true); var a69=document.getElementById(brn.getLeaf(i).getIid()); if(a69) a69.style.display="block";} for(var i=0; i<lvs; i++) brn.getLeaf(i).chbri(!brn.getLeaf(i).getIsExpanded()); brndv.style.height=brn.clth()+'px'; var a70=brn.getParent(); while(a70 && a70.getDepth()>0) {var prdv=document.getElementById(a70.getIid()); prdv.style.height=a70.clth()+'px'; a70=a70.getParent();} this.rctw(); if(is_ie && this.getMenuFx() && brndv.filters[0]) {brndv.filters[0].Apply(); brndv.style.visibility="visible"; brndv.filters[0].Play();}}}}; this.selectBranch=function(bri) {if(this.fNs) {brn=this.getLeafById(this,bri); if(brn && brn.getIsSelectable()) {if(!(brn.hasChildren() && !this.getAllowFolderSelect())) {if(!this.getMultiSelect() && this.getSelectedId()) {prlfs=this.getLeafById(this,this.getSelectedId()); if(prlfs) prlfs.resetSelected();} if(brn.getIsMouseOver()) brn.rsmo(); if(this.getToggleSelected() && brn.getIsSelected()) brn.resetSelected(); else {brn.setIsSelected(true); brn.useClass(2); brn.changeIcon(); this.setSelectedId(bri); var sel=this.getSelection(); sel[sel.length]=brn; this.setSelection(sel);}}}} else {setTimeout("LiknoTrees["+this.getRoot().getTreeNbr()+"].selectBranch('"+bri+"');",50);}}; this.clickBranch=function(bri,evt) {if(this.getMultiSelect() && this.getUseCtrl()) {if(window.event) {if(window.event.ctrlKey) this.selectBranch(bri); else {while(this.getSelection().length>0) this.getSelection()[0].resetSelected(); this.selectBranch(bri);}} else {if(evt.ctrlKey) this.selectBranch(bri); else {while(this.getSelection().length>0) this.getSelection()[0].resetSelected(); this.selectBranch(bri);}} brn=this.getLeafById(this,bri); if(brn.getJscriptCommand()) {eval(brn.getJscriptCommand());}} else {brn=this.getLeafById(this,bri); if(this.getClickToExpand()) {if(this.getAutoCollapse() && !brn.getIsExpanded()) {var a21=brn.getParent().getLeaves().length; for(var i=0; i<a21; i++) {var a71=brn.getParent().getLeaf(i); if(a71 != brn && a71.getIsExpanded()) this.toggleBranch(a71.getIid());}} if(brn && brn.hasChildren()) this.toggleBranch(bri);} if(brn.getJscriptCommand()) {eval(brn.getJscriptCommand());} if(brn.getLink()) {if(brn.getTarget()) {if (brn.getTarget()=="_blank") setTimeout("window.open('"+brn.getLink()+"');",100); else if (brn.getTarget()=="_top") window.top.location=brn.getLink(); else window.top.frames[brn.getTarget()].location=brn.getLink();} else document.location.href=brn.getLink();} this.selectBranch(bri);}}; this.movbr=function(bri) {brn=this.getLeafById(this,bri); if(brn && !brn.getIsSelected()) {if(this.getMouseoverId()) {prevleafmouseover=this.getLeafById(this,this.getMouseoverId()); if(prevleafmouseover) prevleafmouseover.rsmo();} brn.setIsMouseOver(true); brn.useClass(1); brn.changeIcon(); this.setMouseoverId(bri); if(brn.getStatusbarText()) {this.setPrevStatusbarText(window.status); window.status=brn.getStatusbarText(); this.setIsStatusbarDirty(true);}}}; this.moubr=function(bri) {brn=this.getLeafById(this,bri); if(brn) {brn.rsmo(); this.setMouseoverId(""); if(this.getIsStatusbarDirty()) {window.status=this.getPrevStatusbarText(); this.setIsStatusbarDirty(false);}}}; this.setActive=function() {var a55=document.getElementById(this.getIid()); if(a55 && a55.focus) a55.focus();}; this.keypressed=function(evt) {var p41=evt ? evt.keyCode : event.keyCode; if(p41) {var brn=null; bri=this.getSelectedId(); if(bri) brn=this.getLeafById(this,bri); else brn=this; switch(p41) {case 37:
if(bri && brn.getIsExpanded()) this.toggleBranch(bri); break; case 38:
lf=brn.findPrevVisibleNode(); if(!this.getAllowFolderSelect()) {while(lf && lf.hasChildren()) lf=lf.findPrevVisibleNode();} if(lf) {if(this.getMultiSelect()) this.clearSelection(); this.selectBranch(lf.getIid());} break; case 39:
if(bri && !brn.getIsExpanded()) this.toggleBranch(bri); break; case 40:
if(brn==this) lf=this.getLeaf(0); else lf=brn.findNextVisibleNode(); if(!this.getAllowFolderSelect()) {while(lf && lf.hasChildren()) lf=lf.findNextVisibleNode();} if(lf) {if(this.getMultiSelect()) this.clearSelection(); this.selectBranch(lf.getIid());} break; default:
return true; break;} var a72=document.getElementById(this.getIid()); if(a72 && a72.focus) a72.focus(); return false;}}; this.sortBranchId=function(bri,a73,a74,a75) {this.setSortOnData(a73); this.setSortAscending(a75); brn=this.getLeafById(this,bri); if(brn) {var bSorted=brn.sortBranch(a73,a74); if(bSorted) this.drawTree();}}; this.compareLeaves=function(a76,a77) {return a76.compareTo(a77);}; this.saveTreeState=function() {var a38=new Object(); a38.branchCount=0; a38.numbers=new Array(); var lvs=this.getLeaves().length; for(var i=0; i<lvs; i++) {var lf=this.getLeaf(i); if(lf.hasChildren()) lf.saveState(a38);} var ymy=""; for(var i=0; i<a38.numbers.length; i++) ymy+=a38.numbers[i].toString()+"-"; ymy=ymy.substr(0,ymy.length-1); var a78=1; var a79=new Date(); a79.setTime(a79.getTime()+(a78*24*60*60*1000)); var a80="; expires="+a79.toGMTString(); document.cookie="ldmt"+this.getTreeNbr()+"_state= ; expires=-1; path=/"; document.cookie="ldmt"+this.getTreeNbr()+"_state="+ymy+a80+"; path=/";}; this.loadTreeState=function() {if(document.getElementById(this.getAttachedTo()) && this.getCssCreated()) {var cknm="ldmt"+this.getTreeNbr()+"_state"; var expr=new RegExp(escape(cknm)+"=([^;]+)"); if(expr.test(document.cookie+";")) {expr.exec(document.cookie+";"); var ymy=unescape(RegExp.$1); var a38=new Object(); a38.branchCount=0; a38.numbers=ymy.split("-"); for(var i=0; i<a38.numbers.length; i++) a38.numbers[i]=parseInt(a38.numbers[i]); var lvs=this.getLeaves().length; for(var i=0; i<lvs; i++) {var lf=this.getLeaf(i); if(lf.hasChildren()) lf.loadState(a38);} return true;} else return false;} else {this.lTS=1;}}; this.rctw=function() {var a86=this.getBoxWidth(); if(a86==0 || is_gecko) {var a81=parseInt(document.getElementById(this.getIid()).style.padding); var border=parseInt(document.getElementById(this.getIid()).style.borderWidth.replace(/px/,"")); var totalWidth=this.cltw()+2*border+(a81 ? 2*a81 : 0); if(a86==0) document.getElementById(this.getIid()).style.width=totalWidth+"px"; var lvs=this.getLeaves().length; for(var i=0; i<lvs; i++) {var lf=this.getLeaf(i); var lfsp=document.getElementById(lf.getIid()); lfsp.style.width=Math.max(lf.cltw(),a86-(a81 ? (a81*2)+2 : 0))+"px";}}}; this.rcth=function() {var a87=this.getBoxHeight(); if(a87==0) {document.getElementById(this.getIid()).style.height=this.clth()+"px"; var lvs=this.getLeaves().length; for(var i=0; i<lvs; i++) {var lf=this.getLeaf(i); var lfsp=document.getElementById(lf.getIid()); lfsp.style.height=lf.clth()+"px";}}}; this.addContextMenu=function(a85) {if(a85) {var a83=a85.length; if(a83>0 && a83 % 2==0) {var a82="ldmt"+this.getIid()+"menu"; if(document.getElementById(a82)) return; var a56=document.createElement("div"); a56.id=a82; document.body.appendChild(a56); this.copyStylesToElement(this.getV29(),a56); a56.style.position="absolute"; a56.style.padding=0; a56.style.margin=0; a56.style.display="none"; if(is_ie) {a56.style.filter="progid:DXImageTransform.Microsoft.Shadow(color=#666666,direction=135,strength=3)";} var a84="<table border='0' cellspacing='2' cellpadding='0'>\n"; for(i=0; i<a83; i+=2) {a84+="<tr><td align='left' class='ldmt"+this.getIid()+"de' onclick=\""+a85[i+1]+"\" onmouseover=\"this.className='ldmt"+this.getIid()+"se'\" onmouseout=\"this.className='ldmt"+this.getIid()+"de'\">"+a85[i]+"</td></tr>\n";} a84+="</table>"; a56.innerHTML=a84; 
var a55=document.getElementById(this.getIid()); a55.oncontextmenu=LiknoTrees[this.getTreeNbr()].showContextMenu; a55.onmouseover=LiknoTrees[this.getTreeNbr()].treeHideContextMenu; a55.onclick=LiknoTrees[this.getTreeNbr()].treeHideContextMenu; a56.onmouseout=LiknoTrees[this.getTreeNbr()].hideContextMenu; a56.onclick=LiknoTrees[this.getTreeNbr()].hideContextMenu; 
this.setHasContextMenu(true);}}}; this.showContextMenu=function(evt) {var a05=null; for(i=0; i<LiknoTrees.length; i++) if(LiknoTrees[i].getIid()==this.id) {a05=LiknoTrees[i]; break;} evt=(evt) ? evt : ((window.event) ? window.event : ""); var tg=evt.target ? evt.target : evt.srcElement; var tgid=tg.id.substr(0,tg.id.lastIndexOf('_')); var seid=a05.getSelectedId(); var seel=seid ? document.getElementById(seid) : null; var moid=a05.getMouseoverId(); var moel=moid ? document.getElementById(moid) : null; while((tgid.length==0 || (tgid != seid && tgid != moid)) && tg.parentNode != null) {tg=tg.parentNode; if(tg.id) {if(tg.id==a05.getIid()) break; var nps=tg.id.lastIndexOf('_'); if(tg.id.substr(nps+1)=="content") {tgid=tg.id.substr(0,nps); break;}} else tgid="";} if((seel && seid==tgid) || (moel && moid==tgid)) {a05.setContextmenuId(tgid); var a56=document.getElementById("ldmt"+this.id+"menu"); if(a56) {a56.style.left=(evt ? evt.clientX : event.clientX)+document.body.scrollLeft-4; a56.style.top=(evt ? evt.clientY : event.clientY)+document.body.scrollTop-4; a56.style.display="block"; return false;}} else a05.setContextmenuId("");}; this.hideContextMenu=function(evt) {var a88=false; var etype=(evt ? evt.type : event.type); if(etype=="click") a88=true; else {var x1=parseInt(this.style.left); var y1=parseInt(this.style.top); var x2=x1+this.offsetWidth; var y2=y1+this.offsetHeight; var mouseX=(evt ? evt.clientX : event.clientX); var mouseY=(evt ? evt.clientY : event.clientY); if(mouseX<x1 || mouseX>x2 || mouseY<y1 || mouseY>y2) a88=true;} if(a88) this.style.display="none";}; this.treeHideContextMenu=function(evt) {var a56=document.getElementById("ldmt"+this.id+"menu"); if(a56) {var x1=parseInt(a56.style.left); var y1=parseInt(a56.style.top); var x2=x1+a56.offsetWidth; var y2=y1+a56.offsetHeight; var mouseX=(evt ? evt.clientX : event.clientX); var mouseY=(evt ? evt.clientY : event.clientY); if(mouseX<x1 || mouseX>x2 || mouseY<y1 || mouseY>y2) a56.style.display="none";}}; this.deleteNode=function(lf) {var lvs=lf.getLeaves().length; for(var i=0; i<lvs; i++) {var a68=lf.getLeaf(0); this.deleteNode(a68);} var a70=lf.getParent(); var a35=a70.getLeaves(); var a36=new Array(); var nps=lf.getLeafPos(); var lvs=a35.length; for(i=0; i<nps; i++) a36[i]=a35[i]; for(i=nps; i<lvs-1; i++) a36[i]=a35[i+1]; a70.setLeaves(a36); a70.f01(); delete lf;}; this.addClass("de","font-family:Tahoma,Arial,sans-serif; font-size:11px; color:black; background-color:transparent; a22-decoration:none; font-weight:normal; padding:0px 4px 2px 4px;"); this.addClass("mo","font-family:Tahoma,Arial,sans-serif; font-size:11px; a22-decoration:underline; color:blue; padding:0px 4px 2px 4px;"); this.addClass("se","font-family:Tahoma,Arial,sans-serif; font-size:11px; color:white; background-color:#0a246a; padding:0px 4px 2px 4px;");}; 




