function dB(){this.by=new Array();this.cr=new Array();this.div=null;this.fd=null;this.x=0;this.y=0;this.eS();};dB.prototype.eS=function(){this.div=document.createElement("div");this.div.style.position="absolute";this.fd=document.createElement("ul");this.div.appendChild(this.fd);};dB.prototype.aA=function(e){this.hide();};dB.prototype.cT=function(item,ao){if(!ao||ao==this.iP.length){this.by.push(item);this.fd.appendChild(item.getItem());item.aB(this);}else if(ao<this.iP.length){var lO=this.by.childNodes[ao];this.by.splice(ao,1,item);this.fd.insertBefore(item.getItem(),lO);item.aB(this);}};dB.prototype.kl=function(item){var ao=this.dT(this.by,item);if(ao>=0){by[ao].en(this);this.by.splice(ao,1);var bi=this.fd.childNodes;this.fd.removeChild(bi[ao]);}};dB.prototype.jJ=function(bR){this.cr.push(bR);};dB.prototype.it=function(bR){var ao=this.dT(this.cr,bR);if(ao>=0){this.cr.splice(ao,1,bR);}};dB.prototype.dT=function(list,item){var ao= -1;for(var i=0;i<list.length;i++){if(list[i]==item){ao=i;break;}}return ao;};dB.prototype.jx=function(kK){this.div.className=kK.className;};dB.prototype.show=function(x,y){if(x){this.div.style.left=x+"px";this.x=x;}if(y){this.div.style.top=y+"px";this.y=y;}this.div.style.visibility="visible";};dB.prototype.hide=function(){this.div.style.visibility="hidden";};function hc(){};hc.prototype.kJ=function(e){};function iS(source){this.source=source;};iS.prototype.lI=function(){return this.source;};function aH(text,icon){this.item=null;this.text=null;this.icon=null;this.aP=new Array();this.eS(text,icon);};aH.prototype.hide=function(){this.item.style.display='none';};aH.prototype.show=function(){this.item.style.display='inline';};aH.prototype.eS=function(text,icon){this.item=document.createElement("li");if(icon){var ja=document.createElement("img");ja.style.border=0;ja.src=icon;this.item.appendChild(ja);}if(text){var jv=document.createElement("a");jv.href="javascript:void(0)";jv.innerHTML=text;var lG=this;jv.onclick=function(e){var bz=new Object();bz.source=lG;lG.hF(bz);};this.item.appendChild(jv);}};aH.prototype.getItem=function(){return this.item;};aH.prototype.aB=function(cL){this.aP.push(cL);};aH.prototype.en=function(cL){var ao=this.dT(this.aP,bR);if(ao>=0){this.aP.splice(ao,1,cL);}};aH.prototype.dT=function(list,item){var ao= -1;for(var i=0;i<list.length;i++){if(list[i]==item){ao=i;break;}}return ao;};aH.prototype.hF=function(e){for(var i=0;i<this.aP.length;i++){this.aP[i].aA(e);}};aH.prototype.mp=function(){return this.text;};aH.prototype.kj=function(){return this.icon;};aH.prototype.jx=function(io){this.item.style.className=io.className;};function bt(){};bt.prototype.aA=function(e){};function dU(R){this.R=R;this.cR=false;this.ci=false;var cI=this;J.t(this.R,"contextmenu",function(e){if(!e||e==null){e=window.event;}if(typeof e=="undefined"){e=window.event;}var ek=R;var left=0;var top=0;while(ek!=null&&ek!=document.body){if(ek.offsetLeft){left+=ek.offsetLeft;}if(ek.offsetTop){top+=ek.offsetTop;}ek=ek.offsetParent;};cI.show(((e.pageX)?e.pageX:e.clientX+document.body.scrollLeft)-left,((e.pageY)?e.pageY:e.clientY+document.body.scrollTop)-top);cI.ci=true;J.t(document,"mousedown",fo);J.cancelBubble(e);});function fo(){if(cI.ci&& !cI.cR){cI.cR=true;cI.ci=false;cI.hide();J.cd(document,"mousedown",fo);}};J.t(this.div,"mouseover",function(e){cI.cR=true;});J.t(this.div,"mouseout",function(e){cI.cR=false;});this.div.style.zIndex=10;this.R.appendChild(this.div);};dU.prototype=new dB();dU.prototype.aA=function(e){this.hide();this.ci=false;} 