vjo.ctype("vjo.darwin.domain.finding.promo.handlers.MercPlacementHandler").props({handleRequest:function(_1,id){var _3=_1.vjRTMObject.aContent;var _4=_3.length;for(var _5=0;_5<_4;_5++)if(_3[_5].id==id)this.showPlacement(_3[_5])},showPlacement:function(_6){var _7=document.getElementById("RTM"+_6.id);if(_7!=null)_7.style.display=_6.content.length>0?"block":"none"}}).endType();
vjo.ctype("vjo.darwin.domain.finding.tracking.FindingClickTracking").needs("vjo.darwin.transitional.ajax.AjaxUtils").needs("vjo.darwin.domain.finding.ajax.AjaxUtilsTracking").props({click:function(_1){try{var e=document.getElementById(_1);this.vj$.AjaxUtilsTracking.writeTrkCookie(e.getAttribute("_sp"),e.href);window.open(e.href,"_self")}catch(e$$0){}}}).inits(function(){window.trkClick=this.click}).endType();
vjo.ctype("vjo.darwin.comp.base.Base").needs("vjo.dsf.EventDispatcher","ED").props({bodyLoaded:false}).inits(function(){this.vj$.ED.add("body","load",function(){if(!this.bodyLoaded)this.bodyLoaded=true},this)}).endType();
vjo.ctype("vjo.darwin.comp.utils.EventUtils").needs("vjo.dsf.EventDispatcher","ED").needs("vjo.darwin.comp.base.Base","B").needs("vjo.Registry","R").props({reg:{},add:function(_1,id,_3,_4,_5){var rv=this.vj$.ED.add(id,_3,_4,_5);if(id!="body")this.register(_1,id,_3);return rv},register:function(_7,id,_9){if(!_7||!id)return;this.reg[_7]=this.reg[_7]||{};var _a;var _b=this.reg[_7];if(!_b[_9])_b[_9]=[];_b[_9].push(id)},unRegister:function(_c,_d){var _e=this.reg[_c];if(_e){_e=_d?[_e[_d]]:_e;for(var _f in _e){var _10=
_e[_f];for(var idx in _10)this.vj$.ED.detachHandlers(_10[idx],_d||_f)}}},callInit:function(elm,_13,_14){var _15=_13?_13.type:null;if(_15=="mouseover")elm.onmouseover=null;else if(_15=="focus")elm.onfocus=null;var obj=this.vj$.R.get(_14);if(obj)obj.init()},callOnLoad:function(_17){var t=this;var f=function(){var i=0;for(var l=_17.length;i<l;i++){var _1a=t.vj$.R.get(_17[i]);if(_1a&&_1a.onLoad)_1a.onLoad()}};if(t.vj$.B.bodyLoaded)f();else t.add(null,"body","load",f,t)}}).inits(function(){vjo.dsf.EventDispatcher.addEventListener(window,
"unload",function(){vjo.darwin.comp.utils.EventUtils.reg=null})}).endType();
vjo.ctype("vjo.darwin.comp.utils.ServiceUtils").needs("vjo.dsf.ServiceEngine","SE").needs("vjo.dsf.Message","M").props({reg:[],rgSv:function(_1,_2,_3){this.vj$.SE.registerSvcHdl(_2,_3);this.register(_2,_1)},rgSvRsp:function(_4,_5,_6){this.vj$.SE.registerSvcRespHdl(_5,_6);this.register(_5,_4)},sndM:function(_7,_8){return this.vj$.SE.handleRequest(typeof _7=="object"?_7:this.gM(_7,_8))},gM:function(_9,_a){var _b=new this.vj$.M(_9);_b.clientContext=_a;return _b},register:function(_c,_d){if(!_d||!_c)return;
var SE=vjo.darwin.comp.utils.ServiceUtils;var _f;if(!SE.reg[_c]){_f=[];SE.reg[_c]=_f}else _f=SE.reg[_c];_f.push(_d)},unRegister:function(_10){var _11=this.reg[_10];if(_11){var i=0;for(var l=_11.length;i<l;i++)delete vjo.dsf.ServiceEngine.inProcHdl.svcHdls[_11[i]]}}}).endType();
vjo.ctype("vjo.darwin.comp.overlaypanel.OverlayAccessibilityUtil").needs("vjo.dsf.Element").needs("vjo.darwin.comp.utils.EventUtils").needs("vjo.darwin.comp.utils.ServiceUtils","SE").props({E:vjo.dsf.Element,EU:vjo.darwin.comp.utils.EventUtils,SE:vjo.darwin.comp.utils.ServiceUtils,createAnchors:function(OP){var t=this;var O=OP;var I=O.cmpId;var inWr=t.E.get(I+"olp-pad");var tp=t.E.get(I+"_tpDiv");O.sA=t.E.get(O.i.sa);O.eA=t.E.get(O.i.ea);if(O.sA&&O.eA){if(O.f.TS){O.fTd.appendChild(O.sA);O.lTd.appendChild(O.eA)}else if(inWr){inWr.insertBefore(O.sA,
tp);inWr.appendChild(O.eA)}t.EU.add(O.cmpId,O.eA.id,"focus",function(){t.hide(O)},O)}var _5=t.E.get(O.i.cb);if(_5)t.SE.rgSv(O.cmpId,O.i.cb+"_cBSv",function(){t.hide(O)},O)},hide:function(O){var t=this;try{if(O.nfe||O.refE){O.skip=true;(O.nfe||O.refE).focus()}if(O.Open)O.close()}catch(e){O.skip=false}O.skip=false}}).endType();
vjo.ctype("vjo.darwin.comp.overlaypanel.OverlayPanel").needs("vjo.dsf.client.Browser","B").needs("vjo.dsf.Element","E").needs("vjo.dsf.document.Shim","S").needs("vjo.darwin.comp.utils.EventUtils","EU").needs("vjo.dsf.EventDispatcher","EV").needs("vjo.darwin.comp.utils.ServiceUtils","SE").needs("vjo.Registry","R").needs("vjo.darwin.comp.overlaypanel.OverlayAccessibilityUtil","OU").protos({aId:null,sA:null,eA:null,skip:false,nfe:null,cntDiv:null,lTd:null,fTd:null,constructs:function(_1,_2){var t=this;
var J=t.vj$;var B;var p=_2;var M1=_1;var E=J.E;var I=p.id;t.cmpId=p.id;t.OID=p.OId;t.J=J;t.m=p;t.m1=_1;t.Open=false;t.cusPos=null;t.cW=p.CW;t.mst=-1;t.st=null;t.fCall=false;t.getS();t.dmProps();t.mW=t.m1.MW;t.nfe=J.E.get(M1.NFEI);var f1=function(m){if(!t.olp)t.create();t.open(m)};var f2=function(m){t.close(m)};J.SE.rgSv(t.cmpId,t.i.o+p.id,f1);J.SE.rgSv(t.cmpId,t.i.c+p.id,f2)},rePos:function(t){if(!t)t=this;if(t.Open&&(t.refE||t.f.SIC))t.posPanel(t.olp,t.refE)},open:function(_8){var t=this;if(t.m1.AT&&
t.skip){t.skip=false;return}var f=function(){t.olp.style.visibility="visible";t.Open=true;t.refE=t.J.E.get(_8.sAnchorId);t.posPanel(t.olp,t.J.E.get(_8.sAnchorId));if(t.sA&&t.olp.offsetWidth>0)try{t.sA.focus()}catch(ex){}t.J.SE.sndM(t.i.po+t.cmpId)};if(t.f.HM){var _b=t.J.SE.gM(t.m1.MCO);_b.containerId=t.sId;t.J.SE.sndM(_b)}!t.fCall?t.regEvt():"";t.ST(t.cntDiv,t.m.CH);clearTimeout(t.st);t.st=setTimeout(f,t.od||0)},create:function(){var t=this;var p=t.m;var _d;var _e;var _f;var st;var _11;var c2;var cnt;
if(t.f.TS)_d=t.os=="2"?t.CE("table","ov-w ov-sm"):t.CE("table","ov-w "+(t.m.opt.CN||""));else _d=t.os=="2"?t.CD("ov-w ov-sm"):t.CD("ov-w "+(t.m.opt.CN||""));_d.id=p.id;_d.style.position="absolute";_e=t.CE("b","");_f=t.CE("i","");if(t.f.TS){_d.cellSpacing="0";_d.cellPadding="0";var _14=t.CE("tbody","");var _15=t.CE("tr","");var _16=t.CE("td","ov-t");_15.appendChild(_16).appendChild(_e).appendChild(_f);_14.appendChild(_15);t.fTd=_16}else{var _17=t.CD("ov-fl");_17.id=t.m.id+"olp-pad";_d.appendChild(_17);
var _18=t.CD("ov-t");_18.id=t.cmpId+"_tpDiv";_17.appendChild(_18).appendChild(_e).appendChild(_f)}st=["20","15","10"];_11=t.f.PO?t.CD("ov-cnt ov-p"+st[t.os]):t.CD("ov-cnt ov-p0");t.ST(_11,p.CH,p.CW);_11.id="cntw"+p.id;c2=t.CD("ov-c2");cnt=t.J.E.get(t.m.cnId);var b=t.CE("b","");var i=t.CE("i","");if(t.f.TS){var _1a=t.CE("tr","");var _1b=t.CE("td","ov-c1");_1a.appendChild(_1b).appendChild(c2).appendChild(_11);_14.appendChild(_1a);var _1c=t.CE("tr","");var _1d=t.CE("td","ov-b");t.lTd=_1d;var _1e=t.cmpId+
"last";i.id=_1e;_1c.appendChild(_1d).appendChild(b).appendChild(i);_14.appendChild(_1c);_d.appendChild(_14)}else{var d5=t.CD("ov-b");var _20=t.CD("ov-c1");_17.appendChild(_20).appendChild(c2).appendChild(_11);_17.appendChild(t.CE("u","ov-clr"));_17.appendChild(d5).appendChild(b).appendChild(i)}_11.appendChild(cnt);if(t.f.cbtn){var _21;if(t.os==0)_21=t.CE("a","ov-cl");else _21=t.CE("a","ov-cl-m");var _22=t.CE("b","g-hdn");_22.innerHTML=t.m1.cbTxt;_21.id=t.i.cb;_21.href="javascript:;";if(_22)_21.appendChild(_22);
_11.appendChild(_21)}if(t.f.ptr){var ptr=t.CE("b","");ptr.id=t.i.arrId;_11.appendChild(ptr)}if(t.f.p2b)document.body.appendChild(_d);else{var cmp=t.vj$.E.get(t.OID);cmp.parentNode.insertBefore(_d,cmp)}var _25=function(msg){if(t.m1.AT){msg=t.J.SE.gM(t.i.cb+"_cBSv");msg.clsBtn=true}t.close(msg)};if(t.f.cbtn)t.vj$.EU.add(t.cmpId,t.i.cb,"click",function(msg){_25(msg)},t);t.olp=_d;if(t.f.DG||t.f.HD){var js=t.vj$.R.get(t.i.djs);if(js)js.regDrag()}if(t.m1.AT)t.J.OU.createAnchors(t);if(t.f.COM){var fin=function(){t.onMin()};
t.vj$.EU.add(t.cmpId,t.m.id,"mouseover",function(){t.setMState(1)},t);t.vj$.EU.add(t.cmpId,t.m.id,"mouseout",function(){t.setMState(0)},t);t.vj$.EU.add(t.cmpId,t.cmpId,"mouseover",fin,t);t.vj$.EU.add(t.cmpId,t.m.id,"mouseout",function(e){t.onMout(e)},t)}var _2b=t.vj$.E.get(t.m.OId);_2b.style.display="none"},dmProps:function(){var t=this;t.mp=t.m.opt;if(t.mp.JS);if(!t.mp.VF)t.mp.VF=0;if(!t.mp.HF)t.mp.HF=0;t.ha=t.mp.HA;t.va=t.mp.VA;t.cd=t.mp.CD;t.od=t.mp.OD;t.vns=t.mp.VNS;t.os=t.mp.OS;var num=t.m.m1;
t.f={};t.f.srbl=t.i2B(num,0);t.f.cbtn=t.i2B(num,1);t.f.COM=t.i2B(num,2);t.f.COB=t.i2B(num,3);t.f.STK=t.i2B(num,4);t.f.DG=t.i2B(num,5);t.f.SIC=t.i2B(num,6);t.f.HM=t.i2B(num,7);t.f.ptr=t.i2B(num,8);t.f.CL=t.i2B(num,9);t.f.p2b=t.i2B(num,10);t.f.CAT=t.i2B(num,11);t.f.HD=t.i2B(num,12);t.f.PO=t.i2B(num,13);t.f.FX=t.i2B(num,14);t.f.TS=t.i2B(num,15);t.f.COT=t.i2B(num,16)},getS:function(){var t=this;var M1=t.m1;var s=M1.suffixes;t.i={};t.i.o=s[0];t.i.c=s[1];t.i.po=s[2];t.i.pc=s[3];t.i.cb=t.cmpId+s[4];t.i.djs=
t.cmpId+s[5];t.i.arrId=t.m.id+"arid";t.i.sa=t.cmpId+s[6];t.i.ea=t.cmpId+s[7]},CD:function(cls){var t=this;return t.CE("div",cls)},CE:function(elm,cls){var e=document.createElement(elm);if(cls!="")e.className=cls;return e},ST:function(elm,ht,wd,vis){if(!elm)return;if(typeof ht!="undefined")elm.style.height=ht==0?"auto":ht+"px";if(typeof wd!="undefined")elm.style.width=wd==0?"auto":wd+"px";if(this.mW>0)elm.style.maxWidth=this.mW+"px";if(vis)elm.style.visibility=vis;return elm},i2B:function(num,idx){var val=
num.toString(2);var l=val.length-1;var ds=idx-l<0?-(idx-l):idx-l;if(idx>=val.length)return false;return val.charAt(ds)==1},posPanel:function(olp,_3d){var u="px";var t=this;var m=t.m;var fl1=t.J.E.get("olp-pad");var _40=t.J.E.get("cntw"+t.m.id);var h=vjo.Registry.get(t.mp.JS);if(!h)return;var p=h.position(t.olp,_3d,t.ha,t.va,t.cmpId,t.f.srbl,t.mp.SH,t.mp.HF,t.mp.VF,t.f.SIC,null,t.f.HM,t.m.z,t.m.mz,_40,t.vns,t.f.CAT,t.f.FX)},close:function(_43){var t=this;var f=function(){if(!t.olp)return;var s=t.olp.style;
s.visibility="hidden";s.left="-9999px";t.Open=false;t.ST(t.cntDiv,0);var _46=_43&&_43.isRetire;if(!_46){t.J.SE.sndM(t.i.pc+t.cmpId);if(t.f.HM)t.J.SE.sndM(t.m1.MCI)}if(_43&&_43.clsBtn)t.J.SE.sndM(t.i.cb+"_cBSv")};if(t.f.COT)clearTimeout(t.st);t.J.SE.sndM("PRC"+t.cmpId);clearTimeout(t.ct);t.ct=setTimeout(f,_43&&_43.ignDelay?0:t.cd)},setMState:function(_47){this.mst=_47},onMout:function(evt){var t=this;var e=evt.nativeEvent;var pEle=e.toElement||e.relatedTarget;if(!t.f.COM||t.olp&&t.J.E.containsElement(t.olp,
pEle))return;t.close()},onMin:function(){if(this.f.COM)clearTimeout(this.ct)},onResize:function(t){if(!t)t=this;if(t.Open&&(t.refE||t.f.SIC))t.posPanel(t.olp,t.refE)},regEvt:function(){var t=this;var rF=function(){t.onResize(t)};if(!t.f.STK&&!t.f.FX){t.rgEH("resize",rF);t.rgEH("scroll",rF)}var f1=function(e){if(!t.Open)return;var el=e.nativeEvent.srcElement||e.nativeEvent.target;if(!t.f.COB)return;for(;el;){if(el.id==t.cmpId||t.refE&&t.refE.id==el.id)return;el=el.parentNode}t.close()};t.vj$.EU.add(t.cmpId,
"body","click",f1,t);t.fCall=true},rgEH:function(evt,hnd){this.J.EV.addEventListener(window,evt,hnd,window)}}).props({olps:[],olpMsg:function(_51,_52,cnt,_54,ho,_56){var o=this.vj$.SE;var m=o.gM(_51);m.sAnchorId=_52;if(cnt)m.cnt=cnt;if(_54)m.model=_54;if(ho!=null)m.ho=ho;if(_56!=null)m.ignDelay=_56;o.sndM(m)},closeOverlays:function(_58){var olp=vjo.darwin.comp.overlaypanel.OverlayPanel;for(var i=0;i<olp.olps.length;i++)if(olp.olps[i]&&(!_58||olp.olps[i].f.COB))olp.olps[i].close()},sendMessage:function(_5b,
_5c){this.olpMsg(_5b,_5c.anchorId,_5c.cnt,_5c)},registerEvent:function(_5d,_5e,_5f,_60,_61){var t=this;var handler=vjo.dsf.EventDispatcher;var f1=function(){t.sendMessage(_5e,_5d)};var f2=function(){t.sendMessage(_5f,_5d)};handler.add(_5d.anchorId,_60,f1,t);handler.add(_5d.anchorId,_61,f2,t)}}).endType();
vjo.ctype("vjo.darwin.comp.utils.WindowDimension").props({D:undefined,getBrowserDimension:function(){var s=self;var d=document;var de=d.documentElement;if(s.innerHeight)return[s.innerWidth,s.innerHeight];else if(de&&de.clientHeight)return[de.clientWidth,de.clientHeight];return[d.body.clientWidth,d.body.clientHeight]},getScrollXY:function(){var _4=0;var scrOfY=0;var scrOfH=0;var scrOfW=0;var d=document.documentElement||document.body;if(typeof window.pageYOffset=="number")return[window.pageXOffset,
window.pageYOffset,document.height,document.width];else if(d)return[d.scrollLeft,d.scrollTop,d.scrollHeight,d.scrollWidth];return[_4,scrOfY,scrOfH,scrOfW]},getOffsetPosition:function(_5){if(!_5)return;var e=_5;var l=0;var t=0;var z=0;var tz;var h=e.offsetHeight;for(var w=e.offsetWidth;e;){l+=e.offsetLeft;t+=e.offsetTop;if(e.style){tz=parseInt(e.style.zIndex,10);z=!isNaN(tz)&&tz>z?tz:z}e=e.offsetParent}return[l,t,z,h,w]}}).endType();
vjo.ctype("vjo.darwin.domain.finding.expandablepanel.ExpandablePanel").needs(["vjo.dsf.Element","vjo.dsf.utils.UriBuilder"]).props({steps:10,interval:20,heights:{},toggleExpand:function(_1){var _2=_1.id;var vE=vjo.dsf.Element;var _4=vE.get(_1.titleId);var _5=vE.get(_1.contentId);var ep=vjo.darwin.domain.finding.expandablepanel.ExpandablePanel;var _7=ep.heights;var _8=_7[_2];if(!_8){_8=_5.offsetHeight;_5.style.display="block";if(!_8){_8=_5.offsetHeight;_5.style.display="none"}_7[_2]=_8}ep.track(_1.trackingUrl);
ep.toggle(_4,_5,_8,ep.steps)},toggle:function(_9,_a,_b,_c,_d){if(!_d)_d=1;var _e=_9.className=="ep-tl-clps";var _f=_d/_c;if(!_e)_f=1-_f;var cs=_a.style;if(_e&&_d==1)cs.display="block";else if(!_e&&_d==_c)cs.display="none";cs.height=_f*_b+"px";cs.filter="alpha(opacity='"+_f*100+"')";cs.opacity=_f;if(_d==_c){_a.className=_e?"ep-ct-expd":"ep-ct-clps";_9.className=_e?"ep-tl-expd":"ep-tl-clps"}else{var ep=vjo.darwin.domain.finding.expandablepanel.ExpandablePanel;setTimeout(function(){ep.toggle(_9,_a,_b,
_c,_d+1)},ep.interval)}},track:function(_12){if(_12){var _13=new Date;var _14=document.createElement("img");var _15=new vjo.dsf.utils.UriBuilder(_12);_15.appendParam("time",_13.getTime());_14.src=_15.getUri()}}}).endType();
vjo.ctype("vjo.darwin.core.searchbox.EbaySearchBox").needs("vjo.dsf.Element").protos({textBoxId:null,buttonId:null,buttonInitiallyDisabled:false,constructs:function(_1,_2,_3){this.textBoxId=_1;this.buttonId=_2;this.buttonInitiallyDisabled=_3;if(this.buttonInitiallyDisabled)this.updateButton();return this},clearTextBox:function(){var _4=vjo.dsf.Element.get(this.textBoxId);var _5=vjo.dsf.Element.get(this.buttonId);if(_4.defaultValue==_4.value)_4.value=""},updateButton:function(){var _6=vjo.dsf.Element.get(this.buttonId);
var _7=vjo.dsf.Element.get(this.textBoxId);if(_6!==null&&_7!==null)if(this.buttonInitiallyDisabled&&_7.defaultValue==_7.value)_6.disabled=true;else _6.disabled=_7.value.replace(/\s/g,"").length<1}}).endType();
vjo.ctype("vjo.darwin.core.togglemoreresults.ToggleMoreResults").needs(["vjo.dsf.Element","vjo.dsf.EventDispatcher"]).protos({sShowDivId:null,sHideDivId:null,sToggleDiv:null,bIsToggleDivVisible:false,bIsScrolling:false,sShowAnchorId:null,sHideAnchorId:null,constructs:function(_1,_2,_3,_4,_5,_6,_7){this.sShowDivId=_1;this.sHideDivId=_2;this.sToggleDiv=_3;this.bIsToggleDivVisible=_4;this.bIsScrolling=_5;this.sShowAnchorId=_6;this.sHideAnchorId=_7},bind:function(){var _8=this;var eD=vjo.dsf.EventDispatcher;
var _a={};_a.handle=function(){_8.onclick()};if(this.sShowAnchorId){eD.detachHandlers(this.sShowAnchorId,"click");eD.add(this.sShowAnchorId,"click",_a)}if(this.sHideAnchorId){eD.detachHandlers(this.sHideAnchorId,"click");eD.add(this.sHideAnchorId,"click",_a)}},onclick:function(){var _b=vjo.dsf.Element;var _c=_b.get(this.sShowDivId);var _d=_b.get(this.sHideDivId);var _e=_b.get(this.sToggleDiv);var _f=this.findPos(_c);var _10;if(this.bIsToggleDivVisible===true){_e.style.display="none";_10=_d.innerHTML;
_d.innerHTML=_c.innerHTML;_c.innerHTML=_10;this.bIsToggleDivVisible=false;if(this.bIsScrolling){var _11=this.findPos(_c);window.scrollBy(0,_11[1]-_f[1])}}else{_e.style.display="block";_10=_d.innerHTML;_d.innerHTML=_c.innerHTML;_c.innerHTML=_10;this.bIsToggleDivVisible=true}this.bind()},findPos:function(obj){var _13=0;var _14=0;if(obj.offsetParent){_13=obj.offsetLeft;for(_14=obj.offsetTop;obj=obj.offsetParent;){_13+=obj.offsetLeft;_14+=obj.offsetTop}}return[_13,_14]}}).endType();
vjo.ctype("vjo.darwin.core.togglemoreresults.ToggleResults").needs("vjo.dsf.EventDispatcher").protos({show:null,hide:null,toggle:null,visible:false,scroll:false,constructs:function(_1,_2,_3,_4,_5){this.show=document.getElementById(_1);this.show.style.display=_4?"none":"";this.hide=document.getElementById(_2);this.hide.style.display=_4?"":"none";this.toggle=document.getElementById(_3);this.toggle.style.display=_4?"":"none";this.scroll=_5;vjo.dsf.EventDispatcher.addEventListener(this.show.getElementsByTagName("span")[0],
"click",this.onShow,this);vjo.dsf.EventDispatcher.addEventListener(this.hide.getElementsByTagName("span")[0],"click",this.onHide,this)},onShow:function(_6){this.show.style.display="none";this.hide.style.display="";this.toggle.style.display="";return false},onHide:function(_7){this.show.style.display="";this.hide.style.display="none";this.toggle.style.display="none";if(this.scroll)window.scrollTo(this.show.offsetLeft,this.show.offsetTop)}}).endType();
vjo.ctype("vjo.dsf.utils.Timer").protos({timer:null,isRunning:false,interval:null,onTick:function(){},onStart:null,onStop:null,constructs:function(_1){this.interval=_1},setInterval:function(ms){var t=this;if(t.isRunning)window.clearInterval(t.timer);t.interval=ms;if(t.isRunning)t.setInt()},start:function(){var t=this;if(typeof t.onStart=="function")t.onStart();t.isRunning=true;t.setInt()},stop:function(){var t=this;if(typeof t.onStop=="function")t.onStop();t.isRunning=false;window.clearInterval(t.timer)},
setInt:function(){var t=this;t.timer=window.setInterval(vjo.hitch(t,t.onTick),t.interval)}}).endType();
vjo.ctype("vjo.darwin.core.overlaypanel.VjOverlayPanelController").needs("vjo.dsf.utils.Timer").needs("vjo.dsf.utils.Handlers").props({H:vjo.dsf.utils.Handlers,aOlps:[],sIsActivated:false,oCloseTimer:null,openAtZIndex:5E3,registerOverlayPanel:function(_1){var t=this;t.aOlps[t.aOlps.length]=_1},initCloseOnMouseOut:function(){var t=this;t.oCloseTimer=new vjo.dsf.utils.Timer(100);var _4=t.oCloseTimer;_4.onTick=function(){var i=0;var arr=t.aOlps;for(var len=arr.length;i<len;){var _6=arr[i];if(_6.bCloseOnMouseOut)_6.tryCloseOnMouseOut();
i++}};_4.start()},zIndex:function(){var o=this.openAtZIndex;o+=1;return o},requireResize:function(){this.sIsActivated=true},forceResize:function(_8){var t=this;var i=0;for(var l=t.aOlps.length;i<l;i++){var tO=t.aOlps[i];if(_8&&tO.sOverlayDivId==_8){tO.onResize();break}else tO.onResize()}},initResize:function(){var t=this;var H=t.H;H.detachEvt(window,"resize",t.initResize);H.attachEvt(window,"resize",t.requireResize,t);t.requireResize();t.oResizeTimer=new vjo.dsf.utils.Timer(500);var _d=t.oResizeTimer;
_d.onTick=function(){var bA=t.sIsActivated;if(bA){var i=0;for(var l=t.aOlps.length;i<l;i++){var tO=t.aOlps[i];if(tO.bAdjustSize&&tO.bPanelOpen)tO.onResize()}bA=false}};_d.start()},resizeOlps:function(){var i=0;var t=this;for(var l=t.aOlps.length;i<l;i++){var tO=t.aOlps[i];if(tO.bPanelOpen)tO.onResize()}}}).inits(function(){var t=this;var H=t.H;t.aOlps=[];t.sIsActivated=false;H.attachEvt(window,"resize",t.initResize,t);var _15=function(){t.initCloseOnMouseOut()};window.setTimeout(_15,500);t.openAtZIndex=
5E3}).endType();
vjo.ctype("vjo.darwin.core.overlaypanel.VjOverlayPanelOpenSvcHandler").needs("vjo.Registry").protos({sOverlayPanelJsCompId:null,constructs:function(_1){this.sOverlayPanelJsCompId=_1},invoke:function(_2){var _3=vjo.Registry.get(this.sOverlayPanelJsCompId);var mO=_2.bOver;var LS=_2.leftOffset;var TS=_2.topOffset;var mL=_2.left;var mT=_2.top;var pAC=_3.aAnchorCoor;_3.fSetNotchLocation=_2.fSetNotchLocation;_3.oSetNotchLocationOverrider=_2.oSetNotchLocationOverrider;var _4=true;if(typeof mO!="undefined")_4=
mO;_3.bCloseOnMouseOut=_4;_3.setAnchorName(_2.sAnchorId);_3.iTmpLftOfset=LS?LS:0;_3.iTmpTopOfset=TS?TS:0;pAC=mL&&mT?{x:mL,y:mT}:false;if(_2.bResetPosition)_3.bPanelOpen=false;_3.onOpenOverlayPanel(pAC||false);_2.returnData=false;return _2}}).endType();
vjo.ctype("vjo.darwin.core.overlaypanel.VjOverlayPanelCloseSvcHandler").needs("vjo.Registry").protos({sOverlayPanelJsCompId:null,constructs:function(_1){this.sOverlayPanelJsCompId=_1},invoke:function(_2){var _3=vjo.Registry.get(this.sOverlayPanelJsCompId);_3.onClosePanel(_2.getCheckState?_2.getCheckState():false);return _2}}).endType();
vjo.ctype("vjo.darwin.core.overlaypanel.VjOverlayPanel").needs("vjo.dsf.client.Browser").needs("vjo.dsf.Element").needs("vjo.dsf.document.Positioning").needs("vjo.dsf.document.Shim").needs("vjo.dsf.utils.Handlers").needs("vjo.dsf.Message").needs("vjo.dsf.window.utils.VjWindowUtils").needs("vjo.darwin.core.overlaypanel.VjOverlayPanelController").needs("vjo.darwin.core.overlaypanel.VjOverlayPanelOpenSvcHandler").needs("vjo.darwin.core.overlaypanel.VjOverlayPanelCloseSvcHandler").inherits("vjo.dsf.utils.Timer").protos({H:vjo.dsf.utils.Handlers,
B:vjo.dsf.client.Browser,PC:vjo.darwin.core.overlaypanel.VjOverlayPanelController,E:vjo.dsf.Element,S:vjo.dsf.document.Shim,M:vjo.dsf.Message,P:vjo.dsf.document.Positioning,W:vjo.dsf.window.utils.VjWindowUtils,sOverlayDivId:null,sOlpId:null,oOlp:null,oCntnt:null,oShdw:null,oArr:null,pVt:null,sArrowVTL:null,sArrowVTR:null,sArrowVBL:null,sArrowVBR:null,sArrowTL:null,sArrowTR:null,sArrowBR:null,sArrowBL:null,iLastLeft:null,iLastTop:0,mouseState:0,initDx:0,top:0,left:0,iTmpLftOfset:0,iTmpTopOfset:0,iCnstLftOfset:null,
iCnstTopOfset:0,aAnchorCoor:false,sHAlgn:false,sVAlgn:false,iShdwOfset:0,iOpDlay:0,iClsDlay:0,bCloseOnMouseOut:false,bHasMask:false,ArrowVBR:null,sOpMaskServId:null,sClsMaskServId:null,sPostOpServId:null,sPostClsServId:null,bAdjustSize:false,fSetNotchLocation:false,closeByButton:false,bPanelOpen:false,bCheckState:false,oSetNotchLocationOverrider:false,sOpenServiceName:null,sCloseServiceName:null,bSelfRegistry:false,bPromote2Body:false,oWHeader:null,oCntn:null,oCntntBox:null,oCloseBtn:null,sJsId:null,
bHeaderDraggable:false,bDraggable:false,bHasCloseBtn:false,icmpWidth:0,sCmpOpacity:null,bMonitorDrag:false,sAnchorName:null,constructs:function(_1){var t=this;var E=t.E;t.sOverlayDivId=_1.overlayCompId;var _3=t.sOverlayDivId;t.sOlpId=_1.cmpWrapperId;t.oOlp=E.get(_3);t.oCntnt=E.get(_3+"olpcontent");t.oShdw=E.get(_3+"olpshadow");t.oArr=E.get(_3+"olparrow");t.pVt=_1.pointerVertical;t.sArrowVTL=_1.arrowVTL;t.sArrowVTR=_1.arrowVTR;t.sArrowVBL=_1.arrowVBL;t.sArrowVBR=_1.arrowVBR;t.sArrowTL=_1.arrowTL;t.sArrowTR=
_1.arrowTR;t.sArrowBR=_1.arrowBR;t.sArrowBL=_1.arrowBL;t.iLastLeft=t.iLastTop=t.mouseState=-1;t.initDx=t.initDy=t.top=t.left=t.iTmpLftOfset=t.iTmpTopOfset=0;t.bShownInCenter=_1.isShownInCenter;t.iCnstLftOfset=_1.leftOffset;t.iCnstTopOfset=_1.topOffset;t.aAnchorCoor=false;t.sHAlgn=_1.horizontalAlign||false;t.sVAlgn=_1.verticalAlign||false;t.iShdwOfset=_1.shadowOffset;t.iOpDlay=_1.openDelay;t.iClsDlay=_1.closeDelay;t.bCloseOnMouseOut=_1.isCloseOnMouseOut;t.bHasMask=_1.hasMask;t.sOpMaskServId=_1.openMaskServiceName;
t.sClsMaskServId=_1.closeMaskServiceName;t.sPostOpServId=_1.postOpenedServiceName;t.sPostClsServId=_1.postClosedServiceName;t.bAdjustSize=_1.adjustSize;t.fSetNotchLocation=t.oSetNotchLocationOverrider=t.closeByButton=t.bPanelOpen=t.bCheckState=false;t.sOpenServiceName="OPEN_OVERLAY_PANEL"+_3;t.sCloseServiceName="CLOSE_OVERLAY_PANEL"+_3;t.bSelfRegistry=_1.selfRegistry;t.bPromote2Body=_1.promote2Body;t.bPromoted=false;t.oWHeader=E.get(_3+"olpctnhd");t.oCntn=E.get(_3+"_cnt_n");t.oCntntBox=E.get(_3+"olpctnbox");
t.oCloseBtn=E.get(_3+"closebtn");t.oCloseLink=E.get(_3+"closelink");t.sJsId=_1.cmpJsId;t.bHeaderDraggable=_1.headerDraggable;t.bDraggable=_1.draggable;t.bHasCloseBtn=_1.hasCloseBtn;t.bHasCloseLink=_1.hasCloseText;t.icmpWidth=_1.cmpWidth;t.sCmpOpacity=_1.cmpOpacity;t.PC.registerOverlayPanel(t);var _4=E.get("IFrameOff");t.IfrOFF=false;if(_4)t.IfrOFF=_4.value;if(t.bSelfRegistry)t.init();if(t.bPromote2Body){var _5=function(){t.promote2body(true)};t.H.attachEvt(window,"load",_5,window)}t.strExt=".gif";
t.pngs=_1.pngImgs;t.gifs=_1.gifImgs;if(t.B.bIE&&t.B.bWin&&t.B.iVer>5&&t.B.iVer<=6){t.pngalpha=true;t.strExt=".png"}else if(t.B.bFirefox||t.B.bSafari||t.B.bNav||t.B.bIE&&t.B.bMac||t.B.bOpera&&t.B.bWin&&t.B.iVer>=6||t.B.bOpera&&t.B.iVer>=6||t.B.bOpera&&t.B.bMac&&t.B.iVer>=5||t.B.bWebTV||t.B.bIE&&t.B.bWin&&t.B.iVer>6){t.pngnorm=true;t.strExt=".png";if(!t.B.bSafari&&t.oIFrame)t.oIFrame.style.visibility="hidden"}},init:function(){var t=this;var H=t.H;var open=new vjo.darwin.core.overlaypanel.VjOverlayPanelOpenSvcHandler(t.sJsId);
var close=new vjo.darwin.core.overlaypanel.VjOverlayPanelCloseSvcHandler(t.sJsId);H.attachSvcReqt(t.sOpenServiceName,open.invoke,open);H.attachSvcReqt(t.sCloseServiceName,close.invoke,close);if(t.bDraggable&&!t.bHeaderDraggable&&t.oWHeader)H.attachEvt(t.oWHeader,"mousedown",t.startDrag,t);if(t.oOlp&&t.oOlp.firstChild){var sO=t.oOlp.firstChild;sO.setAttribute("style",t.sCmpOpacity)}if(t.bDraggable&&t.oWHeader&&t.oWHeader.firstChild){var ss=t.oWHeader.firstChild;t.setStyle(ss,"cursor","move")}if(t.bHeaderDraggable&&
t.oCntn){H.attachEvt(t.oCntn,"mousedown",t.startDrag,t);t.setStyle(t.oCntn,"cursor","move")}if(t.bCloseOnMouseOut&&t.oCntntBox){H.attachEvt(t.oCntntBox,"mouseover",t.panelMouseOver,t);H.attachEvt(t.oCntntBox,"mouseout",t.panelMouseOut,t)}if(t.bHasCloseBtn&&t.oCloseBtn)H.attachEvt(t.oCloseBtn,"click",t.onClosePanel,t);if(t.bHasCloseLink&&t.oCloseLink){H.attachEvt(t.oCloseLink,"click",t.onClosePanel,t);H.attachEvt(t.oCloseLink,"mouseover",t.closeLinkMouseOver,t);H.attachEvt(t.oCloseLink,"mouseout",
t.closeLinkMouseOut,t)}if(t.icmpWidth!==0&&t.oOlp)t.setStyle(t.oOlp,"width",t.icmpWidth+"PX")},setStyle:function(_9,_a,_b){_9.style[_a]=_b},closeLinkMouseOut:function(){var t=this;t.oCloseLink.style.textDecoration="none"},closeLinkMouseOver:function(){var t=this;t.oCloseLink.style.textDecoration="underline"},promote2body:function(_e){var t=this;if(_e){t.E.promoteToBody(t.sOlpId);t.bPromoted=true}},onResize:function(){var t=this;if(t.bPanelOpen){if(!t.bDragged)t.bPanelOpen=false;t.openOverlayPanel()}},
onOpenOverlayPanel:function(_11){var t=this;if(t.bPromote2Body&&!t.bPromoted)t.promote2body(true);t.aAnchorCoor=_11?_11:false;t.openTimer=t.iOpDlay<=0?t.openOverlayPanel():window.setTimeout(vjo.hitch(t,t.openOverlayPanel),t.iOpDlay)},openOverlayPanel:function(){var t=this;var openedInfo=false;if(t.openTimer){window.clearTimeout(t.openTimer);t.openTimer=null}if(!t.bPanelOpen){t.bPanelOpen=true;openedInfo=t.render();if(t.bHasMask)t.openMask();var _14=new t.M(t.sPostOpServId);if(openedInfo){_14.clientContext=
{x:openedInfo[0],y:openedInfo[1],w:openedInfo[2],h:openedInfo[3]};t.H.handle(_14)}}},openMask:function(){var t=this;var maskMsg=new t.M(t.sOpMaskServId);var cnt=t.oCntnt;try{maskMsg.clientContext={formName:cnt}}catch(e){}t.H.handle(maskMsg)},align:function(_16,_17,pad,_19){return _16+(_17=="right"||_17=="bottom"?pad:0)+(_17=="middle"?pad/2:0)+_19},getLeftOffset:function(){var t=this;return t.iCnstLftOfset+t.iTmpLftOfset},getTopOffset:function(){var t=this;return t.iCnstTopOfset+t.iTmpTopOfset},render:function(){var t=
this;var E=t.E;var B=t.B;var P=t.P;var W=t.W;var anc=E.get(t.sAnchorName);var coordinates={x:0,y:0};var openedInfo=false;var AC=t.aAnchorCoor;var LS=t.getLeftOffset();var TS=t.getTopOffset();var SS=t.iShdwOfset;if(!t.bShownInCenter)if(AC){coordinates.x=AC.x+LS;coordinates.y=AC.y+TS}else{coordinates.x=B.bIE&&B.fVer<7?P.getOffsetLeft(anc)+1:P.getOffsetLeft(anc);coordinates.y=P.getOffsetTop(anc);coordinates.x=t.align(coordinates.x,t.sHAlgn,anc?anc.offsetWidth:0,LS);coordinates.y=t.align(coordinates.y,
t.sVAlgn,anc?anc.offsetHeight:0,TS)}var olp=t.oOlp;var olpS=olp.style;if(olpS){olpS.visibility="visible";olpS.zIndex=t.PC.zIndex();if(olpS.zIndex===0)t.promote2body()}openedInfo=t.fSetNotchLocation?t.fSetNotchLocation(t.oSetNotchLocationOverrider,t,olp,coordinates):t.setNotchLocation(olp,coordinates);t.oShdw.style.height=W.toPixels(t.oCntnt.offsetHeight+2);if(t.oIFrame){var s=t.oIFrame.style;s.width=W.toPixels(olp.offsetWidth+SS);s.height=W.toPixels(olp.offsetHeight+SS+2)}else if(!t.IfrOFF&&t.B.bIE&&
t.B.iVer<=6)t.oIFrame=t.S.add(olp,SS,SS+2);t.changeImage();return openedInfo},changeImage:function(){var t=this;var e=vjo.dsf.Element;var _21=e.get(t.sOlpId);var _22=e.getElementsByTagClass(_21,"div","basOlp-scn");var _23=e.getElementsByTagClass(_21,"div","basOlp-s");var _24=null;for(var idx=0;idx<_23.length;idx++)if(_23[idx].className==="basOlp-s"){_24=_23[idx];break}var _26=e.getElementByTagClass(_21,"div","basOlp-n");var _27=e.getElementByTagClass(_21,"div","basOlp-ctent");if(t.pngalpha){for(var cdx=
0;cdx<_22.length;cdx++){t.applyStyle(_22[cdx],t.gifs[1]);_22[cdx].style.filter=""}var _29="progid:DXImageTransform.Microsoft.AlphaImageLoader(src=";_24.style.filter=_29+t.pngs[0]+", sizingMethod='scale')";_26.style.filter=_29+t.pngs[0]+", sizingMethod='scale')";_27.style.filter=_29+t.pngs[0]+", sizingMethod='scale')";_24.style.background="transparent";_26.style.background="transparent";_27.style.background="transparent";try{var _2a="DXImageTransform.Microsoft.AlphaImageLoader";_24.filters[_2a].enabled=
true;_26.filters[_2a].enabled=true;_27.filters[_2a].enabled=true}catch(e$$0){for(cdx=0;cdx<_22.length;cdx++){t.applyStyle(_22[cdx],t.gifs[1]);_22[cdx].style.filter=""}t.applyStyle(_24,t.gifs[0]);t.applyStyle(_26,t.gifs[0]);t.applyStyle(_27,t.gifs[0]);_24.style.filter="";_26.style.filter="";_27.style.filter=""}}else if(t.pngnorm){t.applyStyle(_24,t.pngs[0]);t.applyStyle(_26,t.pngs[0]);t.applyStyle(_27,t.pngs[0]);for(cdx=0;cdx<_22.length;cdx++)t.applyStyle(_22[cdx],t.pngs[1])}else{t.applyStyle(_24,
t.gifs[0]);t.applyStyle(_26,t.gifs[0]);t.applyStyle(_27,t.gifs[0]);for(cdx=0;cdx<_22.length;cdx++)t.applyStyle(_22[cdx],t.gifs[1])}},applyStyle:function(_2b,bkg){if(_2b&&bkg&&bkg!="")_2b.style.backgroundImage="url("+bkg+")"},setAnchorName:function(_2d){this.sAnchorName=_2d},setBubbleDivId:function(_2e){this.sOverlayDivId=_2e},onClosePanel:function(_2f){var t=this;var CD=t.iClsDlay;t.bCheckState=_2f;t.closeTimer=CD<=0?t.closePanel():window.setTimeout(vjo.hitch(t,t.closePanel),CD)},closePanel:function(){var t=
this;var cT=t.closeTimer;if(cT){window.clearTimeout(cT);cT=null}if(t.bCheckState&&t.mouseState==1){t.bCheckState=false;return}t.hidePanel();if(t.mouseState==1)t.closeByButton=true;t.bDragged=false},setNotchLocation:function(olp,_33){var t=this;var W=t.W;var olpS=olp.style;var iX=_33.x;var iY=_33.y;var iW=olp.offsetWidth;var iH=olp.offsetHeight;var iScreenW=W.getBrowserWindowWidth();var iScreenH=W.getBrowserWindowHeight();var aScollLoc=W.getScrollXY();var iScrollX=aScollLoc[0];var iScrollY=aScollLoc[1];
var arr=t.oArr;if(!t.bShownInCenter)if(t.pVt){var _35=iX-iScrollX;var yLoc=iY-iScrollY;var finalX=0;var finalY=0;var arrH=21;var sAuto="auto";var iAdj=5;var bTop=true;var bLeft=false;var B=t.B;var iGuard=1;if(!B.bIE)iAdj+=16;if(yLoc-iH-arrH<0){finalY=iY+arrH+iGuard;bTop=false}else finalY=iY-iH-arrH-iGuard;if(iX-iW/2<0)finalX=0;else if(iX+iW/2+iAdj>iScreenW){finalX=iScreenW-iW-iAdj;bLeft=true}else finalX=iX-iW/2;if(arr)arr.style.left=W.toPixels(iX-finalX-(bLeft?arr.offsetWidth+iGuard:-iGuard));if(bTop)t.setArrDivStyle(arr,
bLeft?t.sArrowVBL:t.sArrowVBR,sAuto,W.toPixels(-arrH));else t.setArrDivStyle(arr,bLeft?t.sArrowVTL:t.sArrowVTR,W.toPixels(-arrH),sAuto)}else{_35=iX-iScrollX;yLoc=iY-iScrollY;arrH=arr?21:0;var arrW=arr?21:0;var arrS=arr?14:0;finalX=0;finalY=0;var finalW=iW+arrW;var finalH=iH;sAuto="auto";iAdj=0;bLeft=false;if(_35+iW+arrW<iScreenW||iW>iScreenW||t.sHAlgn&&t.sHAlgn!="middle"){finalX=iX+arrW;bLeft=true}else if(_35-iW-arrW<0)finalX=iScreenW/2-iW/2+iScrollX+t.getLeftOffset();else finalX=iX-iW-arrW;if(yLoc+
iH<iScreenH){finalY=iY-arrS;t.setArrDivStyle(arr,bLeft?t.sArrowTL:t.sArrowTR,W.toPixels(arrS),sAuto)}else if(yLoc+arrS>iH){finalY=iY-iH+arrS;finalY-=t.getTopOffset()*2;t.setArrDivStyle(arr,bLeft?t.sArrowBL:t.sArrowBR,sAuto,W.toPixels(arrS))}else if(yLoc<iScreenH/2&&iH<iScreenH){iAdj=iY+iH-(iScrollY+iScreenH);finalY=iY-iAdj-arrS;t.setArrDivStyle(arr,bLeft?t.sArrowTL:t.sArrowTR,W.toPixels(arrS+iAdj),sAuto)}else{iAdj=iScrollY-(iY-iH+arrS);finalY=iScrollY;t.setArrDivStyle(arr,bLeft?t.sArrowBL:t.sArrowBR,
W.toPixels(yLoc-arrS),sAuto)}}else{finalX=iScreenW/2-iW/2+iScrollX+t.getLeftOffset();finalY=iScreenH/2-iH/2;finalY=finalY>0?finalY:0;finalY=finalY+iScrollY+t.getTopOffset()}olpS.left=W.toPixels(finalX);olpS.top=W.toPixels(finalY);return[finalX,finalY,finalW,finalH]},setArrDivStyle:function(_36,_37,_38,_39){var _3a=_36;if(_36){_3a.className=_37;_3a.style.top=_38;_3a.style.bottom=_39}},startDrag:function(_3b){var t=this;var P=t.P;var W=t.W;var olp=t.oOlp;var SR=t.bSelfRegistry;var H=t.H;var db=document.body;
if(!t.bMonitorDrag){t.bMonitorDrag=true;t.bDragged=true;var _3d=_3b.nativeEvent;if(SR)_3d=_3b.nativeEvent||_3b;var _3e=W.eventTop(_3d);var mouseX=W.eventLeft(_3d);t.initDx=P.getOffsetLeft(olp)-mouseX;t.initDy=P.getOffsetTop(olp)-_3e;t.top=t.iLastTop=_3e;t.left=t.iLastLeft=mouseX;t.fOnMouseMoveHdl=H.attachEvt(db,"mousemove",t.onMouseMove,t);t.fOnMouseUpHdl=H.attachEvt(db,"mouseup",t.onMouseUp,t);if(olp)olp.onselectstart=olp.onmousedown=function(){return false};t.interval=50;t.onTick=function(){t.monitorMouseDrag()};
t.start()}if(SR){var _3f=_3d.target||_3d.srcElement;H.attachEvt(_3f,"mouseup",t.stopDrag,t)}},onMouseMove:function(_40){var t=this;var W=t.W;if(t.bMonitorDrag){var _42=window.event?window.event:_40;var _43=W.eventTop(_42);var leftValue=W.eventLeft(_42);if(_43>=0&&leftValue>=0){t.top=_43;t.left=leftValue}}},onMouseUp:function(_44){var t=this;var H=t.H;var db=document.body;if(t.bMonitorDrag){H.detachEvt(db,"mousemove",t.fOnMouseMoveHdl);H.detachEvt(db,"mouseup",t.fOnMouseUpHdl);t.stopDrag()}},monitorMouseDrag:function(){if(this.bMonitorDrag){var t=
this;var P=t.P;var W=t.W;if(t.left!=t.iLastLeft||t.top!=t.iLastTop){var dx=t.left-t.iLastLeft;var dy=t.top-t.iLastTop;t.iLastLeft=t.left;t.iLastTop=t.top;var olp=t.oOlp;var olpS=olp.style;var x=P.getOffsetLeft(olp);var y=P.getOffsetTop(olp);olpS.left=W.toPixels(x+dx);olpS.top=W.toPixels(y+dy)}}},stopDrag:function(){var t=this;t.bMonitorDrag=false;var olp=t.oOlp;if(olp)olp.onselectstart=olp.onmousedown=null;t.stop()},panelMouseOver:function(){this.mouseState=1},panelMouseOut:function(){this.mouseState=
0},tryCloseOnMouseOut:function(){var t=this;if(t.mouseState===0){t.mouseState=-1;if(!t.closeByButton)t.onClosePanel();else{t.closeByButton=false;t.mouseState=-1}}},hidePanel:function(){var t=this;var H=t.H;var M=t.M;var olp=t.oOlp;var olpS=olp.style;olpS.visibility="hidden";olpS.left="-1600px";t.bPanelOpen=false;t.iTmpLftOfset=t.iTmpTopOfset=0;if(t.bHasMask)H.handle(new M(t.sClsMaskServId));if(t.sPostClsServId)H.handle(new M(t.sPostClsServId));if(t.oIFrame)if(!t.fCleanUp){t.fCleanUp=function(){t.S.remove(t.oOlp,
t.oIFrame);t.oIFrame=null};H.attachEvt(window,"unload",t.fCleanUp,t)}},setContentTitle:function(_4d){var t=this;var tcnt=t.oTitlCntnr;if(!tcnt)tcnt=t.E.get(t.sOverlayDivId+"olpcontenttitle");if(tcnt)tcnt.innerHTML=_4d}}).endType();
vjo.ctype("vjo.darwin.core.overlaypanel.VjOverlayPanelMessage").inherits("vjo.dsf.Message").protos({bCheckState:false,sAnchorId:null,sBubbleId:null,constructs:function(_1,_2){var t=this;t.base.call(t,_1);t.request=t.response={};t.sAnchorId=t.sBubbleId="";t.bCheckState=false},setBubbleId:function(_4){this.sBubbleId=_4},getBubbleId:function(){return this.sBubbleId},setAnchorId:function(_5){this.sAnchorId=_5},getAnchorId:function(){return this.sAnchorId},getCheckState:function(){return this.bCheckState}}).endType();
vjo.ctype("vjo.darwin.core.overlaypanel.VjOverlayPanelEvtHandlers").needs("vjo.darwin.core.overlaypanel.VjOverlayPanelMessage").needs("vjo.dsf.window.utils.VjWindowUtils").props({M:vjo.darwin.core.overlaypanel.VjOverlayPanelMessage,handleOpenEvent:function(_1,_2){var _3=new this.M(_1);_3.setAnchorId(_2);return _3},handleOpenEventXY:function(_4,x,y){var _7=new this.M(_4);_7.left=x;_7.top=y;_7.resetPosition=false;return _7},handleOpenEventByLoc:function(_8,_9){var e=_9.nativeEvent;var W=vjo.dsf.window.utils.VjWindowUtils;
var x=W.eventLeft(e);var y=W.eventTop(e);return this.handleOpenEventXY(_8,x,y)},handleCloseEvent:function(_b){var _c=new this.M(_b);return _c},handleCloseEventWithCheck:function(_d,_e){var _f=new this.M(_d);_f.bCheckState=_e;return _f}}).endType();
vjo.ctype("vjo.darwin.app.common.mask.MaskHandlers").props({openService:function(_1,_2){var _3=vjo.Registry.get(_1);if(_3)_3.show(_2.clientContext)},closeService:function(_4,_5){var _6=vjo.Registry.get(_4);if(_6)_6.hide()}}).endType();
vjo.ctype("vjo.darwin.app.common.mask.Mask").needs("vjo.dsf.window.utils.VjWindowUtils").needs("vjo.dsf.EventDispatcher").needs("vjo.dsf.utils.Timer").needs("vjo.darwin.app.common.mask.MaskHandlers").needs("vjo.dsf.client.Browser").protos({constructs:function(_1,_2,_3,_4){var t=this;t.eElem=document.getElementById(_1);t.iOpacity=_2?parseFloat(_2):0;t.showing=false;t.zIndex=100;t.sIsActivated=false;t.oTimer=false;t.ED=vjo.dsf.EventDispatcher;t.pngalpha=false;t.pngnorm=false;t.strExt=".gif";t.B=vjo.dsf.client.Browser;
t.png=_3;t.gif=_4;if(t.B.bIE&&t.B.iVer<=6)t.setDefaultBg(t.gif);else t.setDefaultBg(t.png)},show:function(_6){var t=this;if(t.showing)return;else t.showing=true;t.cntr=_6?_6.formName:"";t.zIndex=_6&&_6.overlayPanelIndex?_6.overlayPanelIndex:t.zIndex;t.render();t.disableSelects();t.startResizeListener()},render:function(){var t=this;t.WU=vjo.dsf.window.utils.VjWindowUtils;var _9=t.WU.scrollWidth();var _a=t.WU.scrollHeight();t.setStyle("display","block");t.setStyle("width",_9+"px");t.setStyle("height",
_a+"px");t.setStyle("zIndex",t.zIndex)},setDefaultBg:function(_b){this.setStyle("background","transparent url("+_b+") repeat left top")},hide:function(){var t=this;if(!t.showing)return;else t.showing=false;t.setStyle("display","none");t.setStyle("width","0");t.setStyle("height","0");t.enableSelects();t.stopResizeListener()},disableSelects:function(){var _d;var _e;var t=this;var c=t.cntr;var ids;t.disabledSelects=new Array;if(typeof c==="object")_d=t.getCntrSelects(c);else _d=t.getCntrSelects(document.forms[c]);
_e=document.body.getElementsByTagName("select");ids=_d.toString();for(var idx=0;idx<_e.length;idx++){var _11=_e[idx];if(_11.disabled)continue;if(ids.indexOf(_11.id+",")!==-1)continue;_11.disabled=true;t.disabledSelects.push(_11)}},getCntrSelects:function(c){if(!c)return[];var ids=[];var lst=c.getElementsByTagName("select");var l=lst.length;for(var j=0;j<l;j++)ids[j]=lst[j].id;ids[j]="";return ids},enableSelects:function(){var _14=this.disabledSelects;for(var idx=0;idx<_14.length;idx++)_14[idx].disabled=
false},setStyle:function(_16,_17){var e=this.eElem;if(!e||!e.style)return;e.style[_16]=_17},requireResize:function(){this.sIsActivated=true},startResizeListener:function(){var t=this;t.ED.addEventListener(window,"resize",t.requireResize,t);if(!t.oTimer){t.oTimer=new vjo.dsf.utils.Timer;t.oTimer.interval=500;t.oTimer.onTick=function(){if(t.sIsActivated){t.render();t.sIsActivated=false}}}t.oTimer.start()},stopResizeListener:function(){var t=this;t.ED.removeEventListener(window,"resize",t.requireResize,
t);if(t.oTimer)t.oTimer.stop()}}).endType();
vjo.ctype("vjo.darwin.domain.finding.searchutils.SearchUtils").needs("vjo.dsf.Element").props({selectLocation:function(_1){var pS=vjo.dsf.Element.get(_1);if(pS)location.href=pS.value}}).endType();

