
vjo.ctype("vjo.darwin.domain.finding.promo.PromoAjaxEnabler").needs("vjo.darwin.domain.finding.ajax.AjaxUtils").props({AjaxUtils:vjo.darwin.domain.finding.ajax.AjaxUtils,addAjaxHandler:function(){this.AjaxUtils.addAjaxHandler(this,this.onAjaxPage,"Page.promoRequest",document.body);},onAjaxPage:function(_1){var _2=_1.response.promoRequest;var _3=vjo.Registry.get("PromoClient");if((_2!=null)&&(_2.url!=this.request.url)){_3.loadRequest(_2);}}}).endType();

vjo.ctype("vjo.darwin.domain.finding.singleformattabs.SingleFormatTabs").needs(["vjo.darwin.core.pageleveltab.TabProperties","vjo.darwin.domain.finding.ajax.AjaxUtils"]).protos({AjaxUtils:vjo.darwin.domain.finding.ajax.AjaxUtils,constructs:function(id,_2){this.element=this.AjaxUtils.registerObject(this,id);this.model=_2;this.selected=_2.selected;},onClick:function(_3,_4){var _5=this.model.urls[_4];if(_5){this.AjaxUtils.sendRequest("Page",_5,true);}
return false;}}).endType();

vjo.ctype("vjo.darwin.core.roundedcornerpanel3.VjRoundedCornerPanel3Message").needs("vjo.dsf.utils.Object").needs("vjo.dsf.Message").inherits("vjo.dsf.Message").protos({constructs:function(_1,_2){this.base.call(this,_1);this.request={};this.sElemId=_2;this.response={};this.changeType="";this.cssClz="";this.secindx=0;},setElemId:function(_3){this.sElemId=_3;},getElemId:function(){return this.sElemId;}}).endType();

vjo.ctype("vjo.darwin.core.roundedcornerpanel3.VjRoundedCornerPanel3EvtHandlers").needs("vjo.dsf.Message").needs("vjo.darwin.core.roundedcornerpanel3.VjRoundedCornerPanel3Message").props({handleHeaderChange:function(_1,_2,_3){var _4=new vjo.darwin.core.roundedcornerpanel3.VjRoundedCornerPanel3Message(_1,_2);_4.changeType="HEADER_CHANGE";_4.cssClz=_3;return _4;},handleFooterChange:function(_5,_6,_7){var _8=new vjo.darwin.core.roundedcornerpanel3.VjRoundedCornerPanel3Message(_5,_6);_8.changeType="FOOTER_CHANGE";_8.cssClz=_7;return _8;},handleShowHideContent:function(_9,_a){var _b=new vjo.darwin.core.roundedcornerpanel3.VjRoundedCornerPanel3Message(_9,_a);_b.changeType="SHOW_HIDE_CONTENT";return _b;}}).endType();

vjo.ctype("vjo.darwin.core.roundedcornerpanel3.VjRoundedCornerPanel3SvcHandler").needs("vjo.dsf.Message").needs("vjo.dsf.document.Element","E").protos({constructs:function(_1){this.sRoundedCornerPanel3JsCompId=_1;},invoke:function(_2){var E=this.vj$.E;if(_2.changeType==="HEADER_CHANGE"){var _4=E.get(_2.sElemId+"h");_4.className=_2.cssClz;this.setBorderToAnchor(_2.sElemId,_2.cssClz);}else{if(_2.changeType==="FOOTER_CHANGE"){var _5=E.get(_2.sElemId),bClzName=_2.cssClz,clz=_5.className;if(bClzName==""){_5.className=clz.replace("c-sgf","");}else{_5.className+=" "+bClzName;}}else{if(_2.changeType==="SHOW_HIDE_CONTENT"){var _6=E.get(_2.sElemId+"_c"),tab=E.get(_2.sElemId);clsName=tab.className;if(_6.style.display=="none"){_6.style.display="";if(clsName.indexOf("c-sgfx")>-1){clsName=clsName.replace("c-sgfx","");}}else{_6.style.display="none";clsName+=" c-sgfx";}
tab.className=clsName;}}}},setBorderToAnchor:function(_7,_8){var E=this.vj$.E,ancGR=E.get(_7+"_c-gr");ancBL=E.get(_7+"_c-bl");ancRD=E.get(_7+"_c-rd");ancYL=E.get(_7+"_c-yl");ancGY=E.get(_7+"_c-gy");if(ancGR!==null){if(_8==="c-gr"){ancGR.className="r3-gr-bdr";}else{ancGR.className="";}}
if(ancBL!==null){if(_8==="c-bl"){ancBL.className="r3-bl-bdr";}else{ancBL.className="";}}
if(ancRD!==null){if(_8==="c-rd"){ancRD.className="r3-rd-bdr";}else{ancRD.className="";}}
if(ancYL!==null){if(_8==="c-yl"){ancYL.className="r3-yl-bdr";}else{ancYL.className="";}}
if(ancGY!==null){if(_8==="c-gy"){ancGY.className="r3-gy-bdr";}else{ancGY.className="";}}}}).endType();

vjo.ctype("vjo.dsf.document.Image").needs("vjo.dsf.Element").props({load:function(_1,_2){var e=vjo.dsf.Element.get(_1);if(e){e.src=_2;}},preload:function(_4){new Image().src=_4;},resize:function(_5,_6,_7){var d=document,e=d[_5]||d.images[_5],ow,oh,nw,nh,arw,arh,ar;if(e){ow=e.width;oh=e.height;arw=ow/_6;arh=oh/_7;ar=(arw>arh)?arw:arh;if(ar>=1){nw=ow/ar;nh=oh/ar;}else{nw=ow;nh=oh;}
e.width=nw;e.height=nh;}}}).endType();

vjo.ctype("vjo.darwin.domain.finding.component.rss.Rss").needs(["vjo.dsf.EventDispatcher","vjo.dsf.document.Element","vjo.dsf.document.Image"]).props({openWindow:function(_1){var _2=400;var _3=400;var _4=0;var _5=window.screen.width-_3;var _6="height="+_2+",width="+_3+",top="+_4+",left="+_5+",scrollbars=yes,resizable=no";return window.open(_1,"blank",_6,true);}}).protos({constructs:function(_7){var E=vjo.dsf.document.Element;this.model=_7;this.vED=vjo.dsf.EventDispatcher;this.eRssButton=E.get(this.model.rssButtonId);this.vED.addEventListener(this.eRssButton,"click",this.onClick,this);},onClick:function(_9){var _a=this;setTimeout(function(){_a.createTracking();},0);},createTracking:function(){var _b=new Date(),r=_b.getTime(),imgUrl=this.model.trackingUrl;if(imgUrl.indexOf("?")>0){imgUrl+="&"+r;}else{imgUrl+="?"+r;}
var i=new Image();document.getElementsByTagName("body")[0].appendChild(i);i.src=imgUrl;i.setAttribute("width","1");i.setAttribute("height","1");i.setAttribute("border","0");}}).endType();

vjo.ctype("vjo.darwin.domain.finding.verticalentrypoint.VerticalEntryPoint").needs("vjo.dsf.Element","E").needs("vjo.dsf.utils.Handlers","vh").protos({constructs:function(_1,_2,_3){var o=this.vj$;this.element=o.E.get(_1);this.origClass=this.element.className;this.anchorElem=o.E.get(_2);this.imgElem=null;this.url="";if(_3!==""){this.imgElem=o.E.get(_3);}
this.anchorElem=o.E.get(_2);if(this.anchorElem&&this.anchorElem.href!==""&&this.imgElem){this.url=this.anchorElem.href;o.vh.attachEvt(this.imgElem,"click",this.click,this);}
o.vh.attachEvt(this.element,"mouseover",this.mouseover,this);o.vh.attachEvt(this.element,"mouseout",this.mouseout,this);},mouseover:function(e){this.element.className+=" vepOvr";},mouseout:function(e){this.element.className=this.origClass;},click:function(e){document.location.href=this.url;}}).endType();

vjo.ctype("vjo.darwin.core.overlaypanel.VjOverlayPanelController").needs("vjo.dsf.utils.Timer").needs("vjo.dsf.utils.Handlers").protos({H:vjo.dsf.utils.Handlers,constructs:function(){var t=this,H=t.H;t.aOlps=[];t.sIsActivated=false;H.attachEvt(window,"resize",t.initResize,t);var _2=function(){t.initCloseOnMouseOut();};window.setTimeout(_2,500);t.openAtZIndex=5000;},registerOverlayPanel:function(_3){var t=this;t.aOlps[t.aOlps.length]=_3;},initCloseOnMouseOut:function(){var t=this;t.oCloseTimer=new vjo.dsf.utils.Timer(100);var _6=t.oCloseTimer;_6.onTick=function(){var i=0,arr=t.aOlps,len=arr.length;while(i<len){var _8=arr[i];if(_8.bCloseOnMouseOut){_8.tryCloseOnMouseOut();}
i++;}};_6.start();},zIndex:function(){var o=this.openAtZIndex;o+=1;return o;},requireResize:function(){this.sIsActivated=true;},forceResize:function(_a){var t=this,i=0;for(;i<t.aOlps.length;i++){var tO=t.aOlps[i];if(_a&&tO.sOverlayDivId==_a){tO.onResize();break;}else{tO.onResize();}}},initResize:function(){var t=this,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();var _e=t.oResizeTimer;_e.interval=500;_e.onTick=function(){var bA=t.sIsActivated;if(bA){for(var i=0;i<t.aOlps.length;i++){var tO=t.aOlps[i];if(tO.bAdjustSize&&tO.bPanelOpen){tO.onResize();}}
bA=false;}};_e.start();},resizeOlps:function(){var i=0,t=this;for(;i<t.aOlps.length;i++){var tO=t.aOlps[i];if(tO.bPanelOpen){tO.onResize();}}}}).inits(function(){vjo.darwin.core.overlaypanel.VjOverlayPanelController=new vjo.darwin.core.overlaypanel.VjOverlayPanelController();}).endType();

vjo.ctype("vjo.darwin.core.overlaypanel.VjOverlayPanelOpenSvcHandler").needs("vjo.dsf.Message").protos({constructs:function(_1){this.sOverlayPanelJsCompId=_1;},invoke:function(_2){var _3=vjo.Registry.get(this.sOverlayPanelJsCompId),mO=_2.bOver,LS=_2.leftOffset,TS=_2.topOffset,mL=_2.left,mT=_2.top,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.dsf.Message").protos({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.document.Element").needs("vjo.dsf.document.Positioning").needs("vjo.dsf.document.Shim").needs("vjo.dsf.utils.Handlers").needs("vjo.dsf.Message").needs("vjo.dsf.utils.Object").needs("vjo.dsf.utils.Timer").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.document.Element,S:vjo.dsf.document.Shim,O:vjo.dsf.utils.Object,M:vjo.dsf.Message,P:vjo.dsf.document.Positioning,W:vjo.dsf.window.utils.VjWindowUtils,constructs:function(_1){var t=this,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,H=t.H,open=new vjo.darwin.core.overlaypanel.VjOverlayPanelOpenSvcHandler(t.sJsId),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(){this.oCloseLink.style.textDecoration="none";},closeLinkMouseOver:function(){this.oCloseLink.style.textDecoration="underline";},promote2body:function(_c){var t=this;if(_c){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(_f){var t=this;if(t.bPromote2Body&&!t.bPromoted){t.promote2body(true);}
t.aAnchorCoor=_f?_f:false;t.openTimer=(t.iOpDlay<=0)?t.openOverlayPanel():window.setTimeout(t.O.hitch(t,"openOverlayPanel"),t.iOpDlay);},openOverlayPanel:function(){var t=this,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 _12=new t.M(t.sPostOpServId);if(openedInfo){_12.clientContext={x:openedInfo[0],y:openedInfo[1],w:openedInfo[2],h:openedInfo[3]};t.H.handle(_12);}}},openMask:function(){var t=this,maskMsg=new t.M(t.sOpMaskServId),cnt=t.oCntnt;try{maskMsg.clientContext={formName:cnt};}
catch(e){}
t.H.handle(maskMsg);},align:function(_14,_15,pad,_17){return _14+((_15=="right"||_15=="bottom")?pad:0)+((_15=="middle")?(pad/2):0)+_17;},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,E=t.E,B=t.B,P=t.P,W=t.W,anc=E.get(t.sAnchorName),coordinates={x:0,y:0},openedInfo=false,AC=t.aAnchorCoor,LS=t.getLeftOffset(),TS=t.getTopOffset(),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,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 _1f=e.get(t.sOlpId);var _20=e.getElementsByTagClass(_1f,"div","basOlp-scn");var _21=e.getElementsByTagClass(_1f,"div","basOlp-s");var _22=null;for(var idx=0;idx<_21.length;idx++){if(_21[idx].className==="basOlp-s"){_22=_21[idx];break;}}
var _24=e.getElementByTagClass(_1f,"div","basOlp-n");var _25=e.getElementByTagClass(_1f,"div","basOlp-ctent");if(t.pngalpha){for(var cdx=0;cdx<_20.length;cdx++){t.applyStyle(_20[cdx],t.gifs[1]);_20[cdx].style.filter="";}
var _27="progid:DXImageTransform.Microsoft.AlphaImageLoader(src=";_22.style.filter=_27+t.pngs[0]+", sizingMethod='scale')";_24.style.filter=_27+t.pngs[0]+", sizingMethod='scale')";_25.style.filter=_27+t.pngs[0]+", sizingMethod='scale')";_22.style.background="transparent";_24.style.background="transparent";_25.style.background="transparent";try{var _28="DXImageTransform.Microsoft.AlphaImageLoader";_22.filters[_28].enabled=true;_24.filters[_28].enabled=true;_25.filters[_28].enabled=true;}
catch(e){for(var cdx=0;cdx<_20.length;cdx++){t.applyStyle(_20[cdx],t.gifs[1]);_20[cdx].style.filter="";}
t.applyStyle(_22,t.gifs[0]);t.applyStyle(_24,t.gifs[0]);t.applyStyle(_25,t.gifs[0]);_22.style.filter="";_24.style.filter="";_25.style.filter="";}}else{if(t.pngnorm){t.applyStyle(_22,t.pngs[0]);t.applyStyle(_24,t.pngs[0]);t.applyStyle(_25,t.pngs[0]);for(var cdx=0;cdx<_20.length;cdx++){t.applyStyle(_20[cdx],t.pngs[1]);}}else{t.applyStyle(_22,t.gifs[0]);t.applyStyle(_24,t.gifs[0]);t.applyStyle(_25,t.gifs[0]);for(var cdx=0;cdx<_20.length;cdx++){t.applyStyle(_20[cdx],t.gifs[1]);}}}},applyStyle:function(_29,bkg){_29.style.backgroundImage="url("+bkg+")";},setAnchorName:function(_2b){this.sAnchorName=_2b;},setBubbleDivId:function(_2c){this.sOverlayDivId=_2c;},onClosePanel:function(_2d){var t=this,CD=t.iClsDlay;t.bCheckState=_2d;t.closeTimer=(CD<=0)?t.closePanel():window.setTimeout(t.O.hitch(t,"closePanel"),CD);},closePanel:function(){var t=this,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,_31){var t=this,W=t.W,olpS=olp.style,iX=_31.x,iY=_31.y,iW=olp.offsetWidth,iH=olp.offsetHeight,iScreenW=W.getBrowserWindowWidth(),iScreenH=W.getBrowserWindowHeight(),aScollLoc=W.getScrollXY(),iScrollX=aScollLoc[0],iScrollY=aScollLoc[1],arr=t.oArr;if(!t.bShownInCenter){if(t.pVt){var _33=iX-iScrollX,yLoc=iY-iScrollY,finalX=0,finalY=0,arrH=21,sAuto="auto",iAdj=5,bTop=true,bLeft=false,B=t.B,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{var _33=iX-iScrollX,yLoc=iY-iScrollY,arrH=arr?21:0,arrW=arr?21:0,arrS=arr?14:0,finalX=0,finalY=0,finalW=iW+arrW,finalH=iH,sAuto="auto",iAdj=0,bLeft=false;if((_33+iW+arrW)<iScreenW||iW>iScreenW||(t.sHAlgn&&t.sHAlgn!="middle")){finalX=iX+arrW;bLeft=true;}else{if((_33-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(_34,_35,_36,_37){if(_34){_34.className=_35;_34.style.top=_36;_34.style.bottom=_37;}},startDrag:function(_38){var t=this,P=t.P,W=t.W,olp=t.oOlp,SR=t.bSelfRegistry,H=t.H,db=document.body;if(!t.bMonitorDrag){t.bMonitorDrag=true;t.bDragged=true;var _3a=_38.nativeEvent;if(SR){_3a=_38.nativeEvent||_38;}
var _3b=W.eventTop(_3a),mouseX=W.eventLeft(_3a);t.initDx=P.getOffsetLeft(olp)-mouseX;t.initDy=P.getOffsetTop(olp)-_3b;t.top=t.iLastTop=_3b;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 _3c=_3a.target||_3a.srcElement;H.attachEvt(_3c,"mouseup",t.stopDrag,t);}},onMouseMove:function(_3d){var t=this,W=t.W;if(t.bMonitorDrag){var _3f=window.event?window.event:_3d;var _40=W.eventTop(_3f),leftValue=W.eventLeft(_3f);if(_40>=0&&leftValue>=0){t.top=_40;t.left=leftValue;}}},onMouseUp:function(_41){var t=this,H=t.H,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,P=t.P,W=t.W;if((t.left!=t.iLastLeft)||(t.top!=t.iLastTop)){var dx=t.left-t.iLastLeft,dy=t.top-t.iLastTop;t.iLastLeft=t.left;t.iLastTop=t.top;var olp=t.oOlp,olpS=olp.style,x=P.getOffsetLeft(olp),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,H=t.H,M=t.M,olp=t.oOlp,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(_4a){var t=this,tcnt=t.oTitlCntnr;if(!tcnt){tcnt=t.E.get(t.sOverlayDivId+"olpcontenttitle");}
if(tcnt){tcnt.innerHTML=_4a;}}}).endType();

vjo.ctype("vjo.darwin.core.overlaypanel.VjOverlayPanelMessage").needs("vjo.dsf.Message").inherits("vjo.dsf.Message").protos({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.dsf.Message").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,W=vjo.dsf.window.utils.VjWindowUtils,x=W.eventLeft(e),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();

// en_SG/e637i/Finding_SimilarItems_e637i10177164_6_en_SG
// b=10177164