
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();

// fr_FR/e637i/Finding_ShowItems_e637i10177164_6_fr_FR
// b=10177164