
vjo.ctype("vjo.darwin.domain.finding.pagesize.PageSizeChangeDetector").needs(["vjo.dsf.cookie.VjCookieJar","vjo.dsf.document.Positioning","vjo.dsf.utils.Handlers","vjo.dsf.client.Browser","vjo.darwin.domain.finding.ajax.AjaxUtils"]).protos({CookieJar:vjo.dsf.cookie.VjCookieJar,AjaxUtils:vjo.darwin.domain.finding.ajax.AjaxUtils,Handlers:vjo.dsf.utils.Handlers,constructs:function(_1){this.model=_1;this.explorer=(this.vj$.Browser.bIE&&(this.vj$.Browser.iVer<7));this.layout=_1.layouts[_1.currentLayout];this.curLayout=this.layout;this.container=document.getElementById(_1.pageContainer);this.centercontainer=document.getElementById(_1.centerContainer);this.rightWidth=0;this.AjaxUtils.registerObject(this,document.body);this.AjaxUtils.addEventHandler(this,window,"resize",this.onResize);this.Handlers.attachSvcReqt("ADD_RIGHT_COLUMN",this.onAddRightColumn,this);this.AjaxUtils.addRequestHandler(this,this.getLayout,"Page.Layout");this.onResize();},onResize:function(_2){with(this){var _3=vjo.dsf.document.Positioning.getClientWidth();if((_3<layout.minWidth)||(_3>layout.maxWidth)){setLayout(_3);}
if(container&&explorer){setWidth(curLayout,_3);}}},onAddRightColumn:function(_4){this.rightWidth=this.model.rightColumnWidth;this.onResize();},getLayout:function(_5){_5.layout=this.layout.key;},setLayout:function(_6){with(this.model){for(var _7=layouts.length-1;((_7>0)&&(_6<layouts[_7].minWidth));_7--){}
this.layout=(_7>=0)?layouts[_7]:layouts[defaultLayout];var _8=this.CookieJar.readCookie(cookieName,cookieletName).match(/(#)?([0-9a-f]*)/i);var _9="#".concat(_8[1]?_8[2]:parseInt(_8[2]?_8[2]:"0",10).toString(16));var _a=cookieBits.length;for(var _b=0,bits=this.layout.key;(_b<_a);_b++,bits>>=1){_9=this.CookieJar.setBitFlag(_9,cookieBits[_b],bits&1);}
this.CookieJar.writeCookielet(cookieName,cookieletName,_9);}},setWidth:function(_c,_d){with(this.model){var _e=(overrideMinWidth||(_c.minWidth==0))?minPxLayout:_c.minWidth;var _f=0;if(_d<_e){_f=_e;}else{if(_d>maxPxLayout){_f=maxPxLayout;}else{_f=(_d-30);}}
this.container.style.width=_f+"px";if(leftColumnWidth>0||this.rightWidth>0){this.centercontainer.style.width=(_f-leftColumnWidth-this.rightWidth-6)+"px";this.centercontainer.style.overflow="hidden";}}}}).endType();
vjo.ctype("vjo.darwin.domain.finding.page.PageRTMHandler").needs("vjo.dsf.ServiceEngine").props({style:"",elementId:"",rtmPlacementIds:[]}).protos({constructs:function(_1){var t=this;t.style=_1.style;t.elementId=_1.elementId;t.rtmPlacementIds=_1.rtmPlacementIds;vjo.dsf.ServiceEngine.registerSvcReqtHdl("RTM_COMPLETE",this);},handleRequest:function(_3){var t=this;var _5=_3.vjRTMObject.aContent;var _6=-1;var _7=t.rtmPlacementIds.length;for(i=0;i<_7;i++){var _8=_5.length;for(j=0;j<_8;j++){if(t.rtmPlacementIds[i]==parseInt(_5[j].id)&&_5[j].content!=""){_6=j;break;}}
if(_6>=0){break;}}
if(_6>=0){var _9=document.getElementById(t.elementId);if(_9!==null&&_9!="unknown"){_9.className+=" "+t.style;if(vjo.dsf.client.Browser.bIE){this.vj$.ServiceEngine.handleRequest(new vjo.dsf.Message("ADD_RIGHT_COLUMN"));}}}}}).endType();
vjo.ctype("vjo.darwin.core.pagination.Pagination").needs("vjo.dsf.Element").props({changeImg:function(_1,_2){var _3=vjo.dsf.Element.get(_2);_3.src=_1;}}).endType();
vjo.ctype("vjo.darwin.domain.finding.store.storesearchresultset.StoreSearchResultSet").needs("vjo.darwin.domain.finding.ajax.AjaxUtils").protos({AjaxUtils:vjo.darwin.domain.finding.ajax.AjaxUtils,constructs:function(id,_2){this.model=_2;this.element=this.AjaxUtils.registerObject(this,id);this.AjaxUtils.addRequestHandler(this,this.onPageRequest,"STORE_PAGINATION.PageRequest.V4");},onPageRequest:function(_3){var _4=this.AjaxUtils.getUriBuilder(this.model.baseUrl,true);_4.appendParam(this.model.pageParam,_3.page);this.AjaxUtils.reload(_4.getUri());}}).endType();
// nl_NL/e659i/Finding_StoreSearchByItem_e659i10789179_6_nl_NL
// b=10789179
