
vjo.ctype("vjo.dsf.document.Text").needs("vjo.dsf.Element").props({autoClear:function(_1){var o=vjo.dsf.Element.get(_1);if(o){if(o.defaultValue==o.value){o.value="";}}}}).endType();
vjo.ctype("vjo.dsf.window.utils.VjWindow").props({open:function(_1,_2,_3,_4,_5,_6,_7){if(_5){var _8=(window.screen.width-_6)/2;var _9=(window.screen.height-_7)/2;_3+=",left="+_8+",top="+_9;}
return window.open(_1,_2,_3,_4);},location:function(_a){document.location.href=_a;},alert:function(_b){window.alert(_b);},confirm:function(_c){return window.confirm(_c);}}).endType();
vjo.ctype("vjo.darwin.tracking.rover.Rover").needs("vjo.dsf.cookie.VjCookieJar").props({roverTrack:function(){var _1=new Date().getTime();var _2=vjo.darwin.tracking.rover.Rover.getClientOffset(_1);var _3=vjo.dsf.cookie.VjCookieJar.readCookieObj("npii","tpim");if(_3==null||_3.value==""){return;}
var _4=parseInt(_3.maxage,16)*1000;if(_4>0){var _5=_4-_1+_2;var _6=15552000000;if((_5>_6||_5<0)&&typeof(RoverSyncDropped)=="undefined"&&typeof(RoverNsCapable)=="undefined"){vjo.darwin.tracking.rover.Rover.dropRoverSyncImage();}}},dropRoverSyncImage:function(){if(typeof(RoverDomainBaseUrl)!=="undefined"&&RoverDomainBaseUrl.length>0){var im=document.createElement("img");im.width="1";im.height="1";im.src=RoverDomainBaseUrl+"/roversync/?rtpim=1&mpt="+new Date().getTime();document.body.appendChild(im);}},getClientOffset:function(_8){var _9;var _a=vjo.dsf.cookie.VjCookieJar.readCookie("ebay","cos");if(_a!==null&&_a.length>0){_9=parseInt(_a,16)*1000;}else{if(typeof(svrGMT)!=="undefined"){_9=_8-svrGMT;var _b=Math.round(_9/1000);if(!isNaN(_b)){vjo.dsf.cookie.VjCookieJar.writeCookielet("ebay","cos",_b.toString(16));}}}
if(isNaN(_9)){_9=1800000;}
return _9;}}).endType();
vjo.ctype("vjo.darwin.core.ebayheader.rover.FooterRover").needs("vjo.dsf.cookie.VjCookieJar").needs("vjo.dsf.assembly.VjClientAssemblerRequest").props({VA:vjo.dsf.assembly.VjClientAssembler,roverService:function(_1){if(document.location.protocol.has("https:")){return;}
this.command=_1;if(!_1){return;}
if(!this.isCookieValid()){return;}
vjo.dsf.EventDispatcher.addEventListener(window,"load",this.sendRequest,this);},sendRequest:function(){var _2=new vjo.dsf.assembly.VjClientAssemblerRequest(this.command,this.handleResponse,this,"cb",false);this.VA.load(_2);},isCookieValid:function(){var _3=vjo.dsf.cookie.VjCookieJar.readCookie("dp1","idm");if(!_3){return true;}else{return false;}},handleResponse:function(_4){if(_4&&_4.length>1){var _5=_4.length-1;for(i=0;i<_5;i++){this.createImage(_4[i]);}
this.setCookieExpiration(_4[_5]);}},createImage:function(_6){if(_6&&_6.length>1){var _7=document.createElement("IMG");_7.width="1";_7.height="1";_7.src=_6;document.body.appendChild(_7);}},setCookieExpiration:function(_8){if(typeof _8=="number"&&_8>0){vjo.dsf.cookie.VjCookieJar.writeCookielet("dp1","idm","1",_8/86400,"");}}}).endType();
vjo.ctype("vjo.dsf.document.Form").props({get:function(_1){var f=document.forms[_1];return f?f:null;},getElem:function(_3,_4){var f=this.get(_3),e;if(f){e=f.elements[_4];}
return e?e:null;},submit:function(_6){var f=this.get(_6);if(f){f.submit();}},setAction:function(_8,_9){this.setAttr(_8,"action",_9);},getAction:function(_a){return this.getAttr(_a,"action");},setTarget:function(_b,_c){this.setAttr(_b,"target",_c);},getTarget:function(_d){return this.getAttr(_d,"target");},setAttr:function(_e,_f,_10){var f=this.get(_e);if(f){eval("f."+_f.toLowerCase()+"=psAttrValue;");}},getAttr:function(_12,_13){var f=this.get(_12),v=null;if(f){v=eval("f."+_13.toLowerCase());}
return v;}}).endType();
vjo.ctype("vjo.darwin.component.common.actbutton.ActionButtonImgPreloader").needs("vjo.dsf.client.Browser").needs("vjo.dsf.EventDispatcher").props({preload:function(_1){if(!_1||!_1.length){return;}
var i=0;for(;i<_1.length;i++){if(!this.aLoaded[_1[i]]){if(!this.bPageLoaded){this.aLoaded[_1[i]]=true;}else{this.checkAndPreload(_1[i]);this.aLoaded[_1[i]]=true;}}}},preloadAll:function(){this.bPageLoaded=true;for(var _3 in this.aLoaded){this.checkAndPreload(_3);}},checkAndPreload:function(_4){if(typeof(_4)=="string"&&_4.match(/http.+/)){var _5=new Image();_5.src=_4;}},fixIE6ImgCaching:function(){var br=vjo.dsf.client.Browser;if(br.bIE&&br.iVer<7){var _7=function(){try{document.execCommand("BackgroundImageCache",false,true);}
catch(err){}};vjo.dsf.EventDispatcher.add("body","load",_7);}}}).inits(function(){this.aLoaded=[];this.bPageLoaded=false;var _8=vjo.hitch(this,this.preloadAll);vjo.dsf.EventDispatcher.add("body","load",_8);this.fixIE6ImgCaching();}).endType();
vjo.ctype("vjo.darwin.component.common.actbutton.ActionButton").needs("vjo.dsf.utils.Handlers").needs("vjo.dsf.Element").needs("vjo.dsf.document.Form").needs("vjo.darwin.component.common.actbutton.ActionButtonImgPreloader").protos({constructs:function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a){var t=this;t.E=vjo.dsf.Element;t.H=vjo.dsf.utils.Handlers;t.sCompId=_1+"Anc";t.sAncId=_1+"Lnk";t.sSubId=_1+"Sub";t.sNoScriptId=_1+"NoScript";t.sFormName=_2;t.bAnonymousForm=_3;t.sUrl=_4;t.iState=_5;t.bShowClicked=_6;t.aStateClzes=_7;t.bForceSubmit=_9;t.fMouseMoveEvtHandler="undefined";if(t.bShowClicked){vjo.darwin.component.common.actbutton.ActionButtonImgPreloader.preload(_8);}
t.initMe(_a);},initMe:function(_c){var t=this,ancBtn=t.E.get(t.sCompId),noScript=t.E.get(t.sNoScriptId);if(noScript&&noScript.style){noScript.style.display="none";}
if(ancBtn){t.switchClz();}
if(_c){var _e=t.E.get(t.sAncId);if(t.bShowClicked){t.H.attachEvt(_e,"mousedown",t.onClick,t);t.H.attachEvt(_e,"mouseup",t.clicked,t);t.H.attachEvt(_e,"keypress",t.onEnter,t);}else{t.H.attachEvt(_e,"click",t.clicked,t);}}},enable:function(_f){this.iState=0;this.switchClz();return false;},monitorMouseOut:function(_10){var t=this;if(2!=t.iState){var _12={x:t.eventLeft(_10),y:t.eventTop(_10)};var _13=t.getAncPos(t.sAncId);var _14={x:_13.x+t.E.get(t.sAncId).offsetWidth,y:_13.y+t.E.get(t.sAncId).offsetHeight};if(_12.x<_13.x||_12.x>_14.x||_12.y<_13.y||_12.y>_14.y){t.iState=0;t.switchClz();t.H.detachEvt(document.body,"mousemove",t.fMouseMoveEvtHandler);}
return false;}},isLeftClick:function(_15){if(window.event){if(window.event.button>1){return false;}}else{if(_15.nativeEvent){if(_15.nativeEvent.button>=1){return false;}}}
return true;},getAncPos:function(_16){var e=vjo.dsf.Element.get(_16),l=t=0;while(e){l+=e.offsetLeft;t+=e.offsetTop;e=e.offsetParent;}
return{x:l,y:t};},eventTop:function(_18){if(_18.pageY!=null){return _18.pageY;}else{if(document.documentElement&&document.documentElement.scrollTop){return _18.clientY+Math.max(document.documentElement.scrollTop,document.body.scrollTop);}else{return _18.clientY+document.body.scrollTop;}}},eventLeft:function(_19){if(_19.pageX!=null){return _19.pageX;}else{if(document.documentElement&&document.documentElement.scrollLeft){return _19.clientX+Math.max(document.documentElement.scrollLeft,document.body.scrollLeft);}else{return _19.clientX+document.body.scrollLeft;}}},onEnter:function(_1a){if(2!=this.iState){if(_1a.nativeEvent){if(_1a.nativeEvent.keyCode==13){this.onClick(_1a);return this.clicked(_1a);}}}},onClick:function(_1b){var t=this;if(!t.isLeftClick(_1b)){return false;}
if(2!=t.iState){t.iState=1;if(t.bShowClicked){t.switchClz();t.fMouseMoveEvtHandler=t.H.attachEvt(document.body,"mousemove",t.monitorMouseOut,t);}}
return false;},clicked:function(_1d){var t=this;if(!t.isLeftClick(_1d)){return false;}
if(2!=t.iState&&t.bForceSubmit){t.iState=0;t.switchClz();if(t.bShowClicked){t.H.detachEvt(document.body,"mousemove",t.fMouseMoveEvtHandler);}
if(t.bAnonymousForm){var _1f=t.E.get(t.sSubId);if(_1f){_1f.click();}}else{if(t.sFormName!="undefined"){var _20=t.E.get(t.sFormName);if(typeof(window.external)!="undefined"&&typeof(window.external)!="unknown"&&window.external!=null&&typeof(window.external.AutoCompleteSaveForm)!="undefined"&&typeof(window.external.AutoCompleteSaveForm)!="unknown"){window.external.AutoCompleteSaveForm(_20);}
vjo.dsf.document.Form.submit(t.sFormName);}else{if(t.sUrl){window.location=t.sUrl;}}}}
return false;},disable:function(_21){if(2!=this.iState){this.iState=2;this.switchClz();}
return false;},switchClz:function(){var dom=vjo.dsf.Element;var _23=dom.get(this.sCompId);if(_23){_23.className=this.aStateClzes[this.iState];this.displayCursor(dom.get(this.sAncId),"btnPointerCur");if(this.iState==0){_23.style.opacity="";_23.style.filter="";_23.style.zoom="1";if(this.sFormName){}else{var anc=dom.get(this.sAncId);anc.href=this.sUrl;}}else{if(this.iState==2){_23.style.opacity=".5";_23.style.filter="alpha(opacity=50)";_23.style.zoom="1";this.displayCursor(dom.get(this.sAncId),"btnDefCur");var btn=vjo.dsf.Element.get(this.sAncId);if(btn.tagName=="BUTTON"){btn.style.cursor="default";}
if(this.sFormName){}else{var anc=dom.get(this.sAncId);anc.href="#";}}}}},displayCursor:function(anc,_27){if(anc!==null){anc.className=_27;}}}).endType();
vjo.ctype("vjo.dsf.document.Positioning").props({getScrollLeftTop:function(){var d=document,rv=[0,0],db=d.body,de=d.documentElement;if(db){rv[0]+=db.scrollLeft;rv[1]+=db.scrollTop;}
if(de){rv[0]+=de.scrollLeft;rv[1]+=de.scrollTop;}
return rv;},getOffsetLeft:function(_2){var e=_2,l=0;while(e){l+=e.offsetLeft;e=e.offsetParent;}
return l;},getOffsetTop:function(_4){var e=_4,t=0;while(e){t+=e.offsetTop;e=e.offsetParent;}
return t;},getClientWidth:function(){var s=self,d=document,de=d.documentElement,w;if(s.innerWidth){w=s.innerWidth;}else{if(de&&de.clientWidth){w=de.clientWidth;}else{w=d.body.clientWidth;}}
return w;},getClientHeight:function(){var s=self,d=document,de=d.documentElement,h;if(s.innerHeight){h=s.innerHeight;}else{if(de&&de.clientHeight){h=de.clientHeight;}else{h=d.body.clientHeight;}}
return h;},getEventLeftTop:function(_8){var u="undefined",evt=window.event||_8,xOff=(typeof(screenLeft)!=u)?screenLeft:screenX,yOff=(typeof(screenTop)!=u)?screenTop:(screenY+(outerHeight-innerHeight)-25);return[evt.screenX-xOff,evt.screenY-yOff];}}).endType();
vjo.ctype("vjo.dsf.window.utils.VjWindowUtils").props({getBrowserWindowHeight:function(){var s=self;var d=document;var de=d.documentElement;if(s.innerHeight){return s.innerHeight;}else{if(de&&de.clientHeight){return de.clientHeight;}}
return d.body.clientHeight;},getBrowserWindowWidth:function(){var s=self;var d=document;var de=d.documentElement;if(s.innerWidth){return s.innerWidth;}else{if(de&&de.clientWidth){return de.clientWidth;}}
return d.body.clientWidth;},getScrollXY:function(){var _7=0,scrOfY=0;if(typeof(window.pageYOffset)=="number"){scrOfY=window.pageYOffset;_7=window.pageXOffset;}else{if(document.body&&(document.body.scrollLeft||document.body.scrollTop)){scrOfY=document.body.scrollTop;_7=document.body.scrollLeft;}else{if(document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)){scrOfY=document.documentElement.scrollTop;_7=document.documentElement.scrollLeft;}}}
return[_7,scrOfY];},toPixels:function(_8){return _8+"px";},scrollTop:function(){if(window.pageYOffset!=null){return window.pageYOffset;}
if(document.documentElement){return Math.max(document.documentElement.scrollTop,document.body.scrollTop);}else{return document.body.scrollTop;}},scrollLeft:function(){if(window.pageXOffset!=null){return window.pageXOffset;}
if(document.documentElement){return Math.max(document.documentElement.scrollLeft,document.body.scrollLeft);}else{return document.body.scrollLeft;}},scrollWidth:function(){if(document.documentElement){return document.documentElement.scrollWidth;}else{return Math.max(document.body.scrollWidth,document.body.offsetWidth);}},scrollHeight:function(){if(document.documentElement){return document.documentElement.scrollHeight;}else{return Math.max(document.body.scrollHeight,document.body.offsetHeight);}},clientTop:function(){if(document.documentElement){return document.documentElement.clientTop;}else{return document.body.clientTop;}},clientLeft:function(){if(document.documentElement){return document.documentElement.clientLeft;}else{return document.body.clientLeft;}},clientWidth:function(){var _9=document.documentElement;if(_9&&window.innerWidth){return Math.min(_9.clientWidth,window.innerWidth);}else{if(_9&&_9.clientWidth){return _9.clientWidth;}else{if(window.innerWidth){return window.innerWidth;}else{if(document.body.clientWidth){return document.body.clientWidth;}else{return document.body.offsetWidth;}}}}},clientHeight:function(){var _a=document.documentElement;if(_a&&window.innerHeight){return Math.min(_a.clientHeight,window.innerHeight);}else{if(_a&&_a.clientHeight){return _a.clientHeight;}else{if(window.innerHeight){return window.innerHeight;}else{if(document.body.clientHeight){return document.body.clientHeight;}else{return document.body.offsetHeight;}}}}},browserTop:function(){return(window.innerHeight)?window.screenY+(window.outerHeight-window.innerHeight):window.screenTop;},browserLeft:function(){return(window.innerWidth)?window.screenX+(window.outerWidth-window.innerWidth):window.screenLeft;},eventTop:function(_b){if(_b.pageY!=null){return _b.pageY;}
if(document.documentElement){return _b.clientY+Math.max(document.documentElement.scrollTop,document.body.scrollTop);}else{return _b.clientY+document.body.scrollTop;}},eventLeft:function(_c){if(_c.pageX!=null){return _c.pageX;}
if(document.documentElement){return _c.clientX+Math.max(document.documentElement.scrollLeft,document.body.scrollLeft);}else{return _c.clientX+document.body.scrollLeft;}},offsetTop:function(_d){var _e=(document.documentElement&&document.documentElement.clientTop)?document.documentElement.clientTop:0;for(var _f=0;(_d!=null);_d=_d.offsetParent){_f+=_d.offsetTop;}
return _f+_e;},offsetLeft:function(_10){var _11=(document.documentElement&&document.documentElement.clientLeft)?document.documentElement.clientLeft:0;for(var _12=0;(_10!=null);_10=_10.offsetParent){_12+=_10.offsetLeft;}
return _12+_11;},openWindow:function(url,_14,_15){var _16=new Array();var _17=vjo.dsf.window.utils.VjWindowUtils;_15.top=_17.browserTop()+Math.round((_17.clientHeight()-_15.height)/2)+25;_15.left=_17.browserLeft()+Math.round((_17.clientWidth()-_15.width)/2);for(var key in _15){_16.push(key.concat("=",_15[key]));}
return window.open(url,_14,_16.join(","),true);}}).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.bubble2.Bubble2").needs("vjo.dsf.Element").needs("vjo.dsf.ServiceEngine").needs("vjo.dsf.document.Positioning").needs("vjo.dsf.EventDispatcher").needs("vjo.dsf.client.Browser").needs("vjo.dsf.window.utils.VjWindowUtils").needs("vjo.darwin.core.overlaypanel.VjOverlayPanelMessage").protos({sOpenServiceName:null,sCloseServiceName:null,sOverlayPanelId:null,sOverlayPanelJsId:null,sOverlayDivId:null,sArrowBL:null,sArrowBR:null,sArrowTL:null,sArrowTR:null,sAnchorName:null,constructs:function(_1){this.sOpenServiceName=_1.openServiceName;this.sCloseServiceName=_1.closeServiceName;this.sOverlayPanelId=_1.overlayPanelDivId;this.sOverlayPanelJsId=_1.overlayPanelJsId;},openBubble2:function(_2,_3,_4){var _5=new vjo.dsf.Message(this.sOpenServiceName);_5.fSetNotchLocation=this.setNotchLocation;_5.oSetNotchLocationOverrider=this;_5.sAnchorId=_3;_5.bOver=_4||false;vjo.dsf.ServiceEngine.handleRequest(_5);},closeBubble2:function(){var _6=new vjo.darwin.core.overlaypanel.VjOverlayPanelMessage(this.sCloseServiceName);_6.bCheckState=true;vjo.dsf.ServiceEngine.handleRequest(_6);return false;},setNotchLocation:function(_7,_8,_9,_a){var _b=vjo.dsf.window.utils.VjWindowUtils;var _c=_9.offsetWidth;var _d=_9.offsetHeight;var _e=_b.getBrowserWindowWidth();var _f=_b.getBrowserWindowHeight();var _10=_b.getScrollXY();var px="px";var _12=vjo.dsf.Element.get(this.sOverlayDivId+"olparrow");var _13=_a.x-_10[0];var _14=_a.y-_10[1];var _15=vjo.dsf.Element.get(this.sAnchorName);var _16=_15.getElementsByTagName("img")[0];var _17=vjo.dsf.document.Positioning.getOffsetLeft(_16);_17-=_7.computeMarginAndBorder(_16,"left");var _18=vjo.dsf.document.Positioning.getOffsetTop(_16);var ox=_16.clientWidth/2;var oy=_16.clientHeight/2;var _1b=20;if(_15){_1b=_15.offsetHeight;}
var _1c=0,arrowWidth=0,arrowSpace=0;if(_12){_1c=15;arrowWidth=16;arrowSpace=12;}
if(_13>(_e-_c)&&_14<_d&&_14<(_f-_d)){_9.style.left=_17-_c+ox+arrowWidth+px;_9.style.top=_18+_1c+oy+px;_12.className=this.sArrowTR;}else{if((_13<_c||_13<_e-_c)&&_14<_d){_9.style.left=_17+ox-arrowSpace+px;_9.style.top=_18+_1c+oy+px;_12.className=this.sArrowTL;}else{if(_13>(_e-_c)&&_14>_d){var B=vjo.dsf.client.Browser;if(B.bIE&&B.fVer<7){_9.style.left=_17-_c+ox+arrowWidth+2+px;}else{_9.style.left=_17-_c+ox+arrowWidth+px;}
_9.style.top=_18-_d-_1c+oy+px;_12.className=this.sArrowBR;}else{_9.style.left=_17+ox-arrowSpace+px;_9.style.top=_18-_d-_1c+oy+px;_12.className=this.sArrowBL;}}}},computeMarginAndBorder:function(_1e,_1f){var _20=0,e=_1e,t=_1f,border=0;var B=vjo.dsf.client.Browser;if(B.bIE&&B.fVer<7){while(e){if(e.id!=""){var par=e;if(t=="left"){if(par.currentStyle.marginLeft){var _23=par.currentStyle.marginLeft;if(_23!="auto"){_20+=parseInt(_23.substr(0,_23.length-2));}}
if(par.currentStyle.borderLeftWidth){var _24=par.currentStyle.borderLeftWidth;if(_24!="medium"&&_24!="thin"&&_24!="thick"){border+=parseInt(_24.substr(0,_24.length-2));}}}else{if(t=="top"){if(par.currentStyle.marginTop){var _25=par.currentStyle.marginTop;if(_25!="auto"){_20+=parseInt(_25.substr(0,_25.length-2));}}
if(par.currentStyle.borderTopWidth){var _26=par.currentStyle.borderTopWidth;if(_26!="medium"&&_26!="thin"&&_26!="thick"){border+=parseInt(_26.substr(0,_26.length-2));}}}}}
e=e.offsetParent;}}
return _20+border;}}).endType();
vjo.ctype("vjo.dsf.document.Shim").needs("vjo.dsf.client.Browser").props({add:function(_1,_2,_3){var f,p="px",w,h,s;if(this.check()){w=_1.offsetWidth;h=_1.offsetHeight;w+=_2?_2:0;h+=_3?_3:0;f=document.createElement("IFRAME");s=f.style;s.width=w+p;s.height=h+p;s.filter="chroma(color='white')";f.frameBorder=0;s.position="absolute";s.left="0"+p;s.top="0"+p;s.zIndex="-1";s.filter="Alpha(Opacity=\"0\")";if(document.location.protocol=="https:"){f.src="https://securepics.ebaystatic.com/aw/pics/s.gif";}
_1.appendChild(f);return f;}
return null;},remove:function(_6,_7){if(this.check()){if(_7&&_7.parentNode){_7.parentNode.removeChild(_7);}}},check:function(){var B=vjo.dsf.client.Browser;return(B.bIE||B.bFirefox);}}).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").protos({H:vjo.dsf.utils.Handlers,aOlps:null,sIsActivated:false,oCloseTimer:null,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({sOverlayPanelJsCompId:null,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").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,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(){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,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,maskMsg=new t.M(t.sOpMaskServId),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,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 _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){for(var 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(var 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(var 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,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,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,W=t.W,olpS=olp.style,iX=_33.x,iY=_33.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 _35=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 _35=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((_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,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 _3d=_3b.nativeEvent;if(SR){_3d=_3b.nativeEvent||_3b;}
var _3e=W.eventTop(_3d),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,W=t.W;if(t.bMonitorDrag){var _42=window.event?window.event:_40;var _43=W.eventTop(_42),leftValue=W.eventLeft(_42);if(_43>=0&&leftValue>=0){t.top=_43;t.left=leftValue;}}},onMouseUp:function(_44){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(_4d){var t=this,tcnt=t.oTitlCntnr;if(!tcnt){tcnt=t.E.get(t.sOverlayDivId+"olpcontenttitle");}
if(tcnt){tcnt.innerHTML=_4d;}}}).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();
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,_e,t=this,c=t.cntr,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=[],lst=c.getElementsByTagName("select"),l=lst.length,j=0;for(;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("com.ebay.darwin.app.resolution.component.yourcases.SearchBar").protos({constructs:function(_1){this.model=_1;this.searchBoxComp=document.getElementById(this.model.searchBoxCompId);vjo.dsf.EventDispatcher.addEventListener(this.searchBoxComp,"focus",this.highlight,this);},highlight:function(){this.searchBoxComp.select();}}).endType();
vjo.ctype("vjo.darwin.core.dropdown.Dropdown").needs("vjo.dsf.Element").needs("vjo.dsf.utils.Handlers").needs("vjo.dsf.ServiceEngine").protos({E:vjo.dsf.Element,H:vjo.dsf.utils.Handlers,sDpdId:null,sTitle:null,sValue:null,bEnable:false,iWidth:0,sPdmCntId:null,sPdmJsId:null,saStateClzes:null,sDefImg:null,sDisImg:null,iSpread:false,sFldId:null,sTxtId:null,sArrId:null,sPanelId:null,sHiddenId:null,sLenTesterId:null,constructs:function(_1){var t=this,m=_1;t.sDpdId=m.dpdId;t.sTitle=m.initTitle;t.sValue=m.initValue;t.bEnable=m.enable;t.iWidth=m.width;t.sPdmCntId=m.pdmCntId;t.sPdmJsId=m.pdmJsId;t.saStateClzes=m.stateClzes;t.sDefImg=m.defImgPath;t.sDisImg=m.disImgPath;t.iSpread=m.spreadSmallPanel;t.init();},init:function(){var t=this,w=0;t.sFldId=t.sDpdId+"_fld";t.sTxtId=t.sDpdId+"_txt";t.sArrId=t.sDpdId+"_arr";t.sPanelId=t.sDpdId+"_pnl";t.sHiddenId=t.sDpdId+"_hdn";t.sLenTesterId=t.sDpdId+"_tst";var _4=t.E.get(t.sDpdId),fld=t.E.get(t.sFldId),tx=t.E.get(t.sTxtId),cnt=t.E.get(t.sPdmCntId),cntS=cnt.style;t.oDpd=_4;t.oTx=tx;tx.style.width="";if(fld&&cnt){w=t.iWidth;if(w<=0){cntS.visibility="visible";cntS.position=cntS.top=cntS.left="";t.iWidth=cnt.offsetWidth+10;}else{if(w<45&&w>0){t.iWidth=45;}}
fld.style.width=t.iWidth+"px";}
t.setTitle(t.sTitle);t.setValue(t.sValue);t.H.attachEvt(fld,"mouseover",t.onHover,t);t.H.attachEvt(fld,"mouseout",t.showDefault,t);t.H.attachEvt(fld,"mousedown",t.onActive,t);t.H.attachEvt(fld,"mouseup",t.showDefault,t);if(!t.bEnable){t.disable();}
_4.style.display="";if(t.iSpread){var _5=t.E.get(t.sPdmCntId),ow=_5.offsetWidth,vw=t.E.get(t.sFldId).offsetWidth;if((ow+20)<vw){var _6=t.E.getElementsByTagClass(_5,"li","pdm-item");for(var i=0;i<_6.length;i++){var as=_6[i].childNodes;for(var j=0;j<as.length;j++){if(as[j].style){as[j].style.width=(vw-20)+"px";}}}}}},isOverflow:function(_a,_b){var t=this,w=t.oLenTester;if(!w){w=t.oLenTester=document.createElement("span");var wS=w.style;w.id=t.sLenTesterId+"_t";wS.visibility="hidden";wS.position="absolute";wS.left="-1600px";t.E.get(t.sLenTesterId).appendChild(w);}
w.innerHTML=_b;var _e=w.offsetWidth>_a;return _e;},setTitle:function(_f){var t=this,f=t.oTx,w=t.iWidth-40,c="(...)",str="";if(!t.isOverflow(w,_f)){f.innerHTML=_f;}else{do{var l=_f.length,cl=c.length,ind=_f.charCodeAt(l-1)>255?3:2;if(l>1){_f=_f.substr(0,(l-ind));}else{if(cl>0){c=c.substr(0,(cl-2));}else{_f="&#160;";break;}}
str=_f+c;}while(str.length>0&&t.isOverflow(w,str));f.innerHTML=str;}},setValue:function(_12){var t=this,h=t.oHdn;if(!h){h=t.oHdn=t.E.get(t.sHiddenId);}
h.value=_12;},updateFld:function(_14,_15){var t=this;if(t.bEnable){t.setTitle(_14);t.setValue(_15);}},changeStyle:function(_17,_18){var t=this,d=t.oDpd,a=t.oArr;if(!a){a=t.oArr=t.E.get(t.sArrId);}
if(d&&a){d.className=_17;a.src=_18;}},showDefault:function(){var t=this;if(t.bEnable){t.changeStyle(t.saStateClzes[0],t.sDefImg);}},onHover:function(){var t=this;if(t.bEnable){t.changeStyle(t.saStateClzes[1],t.sDefImg);}},onActive:function(){var t=this;if(t.bEnable){t.changeStyle(t.saStateClzes[2],t.sDefImg);}},disable:function(){var t=this;t.bEnable=false;t.changeStyle(t.saStateClzes[3],t.sDisImg);},enable:function(){var t=this;t.bEnable=true;t.changeStyle(t.saStateClzes[0],t.sDisImg);},toggle:function(_1f){var t=this;if(t.bEnable){var h=t.oPdmJsRef;if(!h){h=t.oPdmJsRef=vjo.Registry.get(t.sPdmJsId);}
if(h){h.toggle(_1f,t.sFldId);}}
if(_1f.stopPropagation){_1f.stopPropagation();}else{_1f.cancelBubble=true;}}}).endType();
vjo.ctype("vjo.darwin.core.dropdown.DropdownItemClickSvcHandler").needs("vjo.dsf.Message").needs("vjo.Registry").protos({sCmpFldJsId:null,oFld:null,constructs:function(_1){this.sCmpFldJsId=_1;},handleRequest:function(_2){var t=this,fld=t.oFld;if(!fld){t.oFld=fld=vjo.Registry.get(t.sCmpFldJsId);}
fld.updateFld(_2.getItemTitle(),_2.getItemValue());return _2;}}).endType();
vjo.ctype("vjo.darwin.core.pulldownmenu.PulldownMenu").needs("vjo.dsf.Element").needs("vjo.dsf.ServiceEngine").needs("vjo.dsf.utils.Object").needs("vjo.darwin.core.overlaypanel.VjOverlayPanelMessage").needs("vjo.dsf.client.Browser").needs("vjo.dsf.window.utils.VjWindowUtils").protos({E:vjo.dsf.Element,sOpenServiceName:null,sCloseServiceName:null,sPostOpenServiceName:null,sPostCloseServiceName:null,sOlpId:null,sOlpJsId:null,sCntId:null,sCntPhId:null,bRightAlign:false,sScrollbarHeight:0,bForgive:false,bOpenUp:false,bOpened:false,bToggle:false,iOpDlay:0,iClsDlay:0,nClz:null,hClz:null,anchorId:null,oModel:null,constructs:function(_1){var t=this,m=_1;t.sOpenServiceName=m.openServiceName;t.sCloseServiceName=m.closeServiceName;t.sPostOpenServiceName=m.postOpenServiceName;t.sPostCloseServiceName=m.postCloseServiceName;t.sOlpId=m.olpId;t.sOlpJsId=m.olpJsId;t.sCntId=m.cntId;t.sCntPhId=m.cntPhId;t.bRightAlign=m.rightAlign;t.sScrollbarHeight=m.scrollbarHeight;t.bForgive=t.bOpenUp=t.bOpened=t.bToggle=false;t.iOpDlay=m.openDelay;t.iClsDlay=m.closeDelay;t.nClz=m.normalClz;t.hClz=m.hiddenClz;t.anchorId="";t.oModel=m;},toggle:function(_3,_4){var t=this,oOlp=t.E.get(t.sOlpId);if(oOlp.style.visibility=="visible"){t.bToggle=false;t.bForgive=false;t.disappear(_3);}else{t.bToggle=true;t.appear(_3,_4);}
var _6=_3.nativeEvent?_3.nativeEvent:window.event;if(_6.stopPropagation){_6.stopPropagation();}else{_6.cancelBubble=true;}},appear:function(_7,_8){var t=this;if(t.openTimer){window.clearTimeout(t.openTimer);}
if(t.closeTimer){window.clearTimeout(t.closeTimer);}
t.anchorId=_8;t.openTimer=(t.iOpDlay<=0)?t.openOlpPanel():window.setTimeout(vjo.hitch(t,this.openOlpPanel),t.iOpDlay);},openOlpPanel:function(){var t=this,SE=vjo.dsf.ServiceEngine,openMsg=new vjo.dsf.Message(t.sOpenServiceName);openMsg.fSetNotchLocation=t.setNotchLocation;openMsg.oSetNotchLocationOverrider=t;openMsg.sAnchorId=t.anchorId;t.anchorId="";if(t.bOpened){openMsg.bResetPosition=true;}
SE.handleRequest(openMsg);t.appendCnt();var _b=new vjo.dsf.Message(t.sPostOpenServiceName);_b.clientContext={up:t.bOpenUp};SE.handleRequest(_b);t.bOpened=true;t.bForgive=true;return false;},disappear:function(_c){var t=this;if(t.closeTimer){window.clearTimeout(t.closeTimer);}
if(t.openTimer){window.clearTimeout(t.openTimer);}
var fl=false;if(_c!==undefined){fl=true;}
t.bForgive=false;t.closeTimer=(t.iClsDlay<=0)?t.closeOlpPanelWithStateCheck(fl):window.setTimeout(vjo.hitch(t,this.closeOlpPanel),t.iClsDlay);},kill:function(){this.bForgive=false;this.disappear();},closeOlpPanelWithStateCheck:function(_f){this.innerCloseOlpPanel(_f);},innerCloseOlpPanel:function(_10){var t=this,oOlp=t.E.get(t.sOlpId);if(oOlp==null){return;}
t.bOpened=false;if(t.openTimer){window.clearTimeout(t.openTimer);t.openTimer=null;}
if(oOlp.style.visibility=="visible"){if(!t.bForgive){var _12=new vjo.darwin.core.overlaypanel.VjOverlayPanelMessage(t.sCloseServiceName);if(_10){_12.bCheckState=true;}else{_12.bCheckState=false;}
vjo.dsf.ServiceEngine.handleRequest(_12);}else{t.bForgive=false;}}},closeOlpPanel:function(){this.innerCloseOlpPanel(true);},forgive:function(_13){this.bForgive=true;},notifyOnClose:function(_14){vjo.dsf.ServiceEngine.handleRequest(new vjo.dsf.Message(this.sPostCloseServiceName));return false;},setNotchLocation:function(_15,_16,_17,_18){var WU=vjo.dsf.window.utils.VjWindowUtils,B=vjo.dsf.client.Browser,lh=window.location.href,width=_17.offsetWidth,height=_17.offsetHeight,olpS=_17.style,screenWidth=WU.clientWidth()-7,screenHeight=WU.getBrowserWindowHeight(),aScollLocation=WU.getScrollXY(),xLoc=_18.x-aScollLocation[0],yLoc=_18.y-aScollLocation[1],anch=vjo.dsf.Element.get(_16.sAnchorName),anchHeight=20,anchorWidth=0,shadowWidth=12,m=_15.oModel,topOffset=1+m.topOffset,leftOffset=m.leftOffset,px="px";if(anch){anchHeight=anch.offsetHeight;anchorWidth=anch.offsetWidth;}
if(B.bIE&&lh.has("feedback")){topOffset-=anch.offsetTop;leftOffset-=anch.offsetLeft;}
if(B.bIE&&lh.has("my")&&!_15.iPdmLeft){var nd=anch.parentNode,pa="";_15.iPdmLeft=0;while(nd.nodeName!="BODY"){if(nd.nodeName=="TD"){pa=nd.currentStyle.paddingLeft;pa=pa.substr(0,pa.lastIndexOf(px));_15.iPdmLeft+=parseInt(pa);}
nd=nd.parentNode;}}
leftOffset=_15.iPdmLeft?(leftOffset-_15.iPdmLeft):leftOffset;if(!_15.bRightAlign&&((xLoc+width)<screenWidth||width>screenWidth)){olpS.left=_18.x+leftOffset+px;if((yLoc+anchHeight+height)<screenHeight||height>screenHeight){olpS.top=_18.y+anchHeight+topOffset+px;_15.bOpenUp=false;}else{if(yLoc>height){olpS.top=_18.y-height-shadowWidth+topOffset+px;_15.bOpenUp=true;}else{olpS.top=_18.y+anchHeight+topOffset+px;_15.bOpenUp=false;}}}else{olpS.left=_18.x-width+anchorWidth+leftOffset+px;if((yLoc+anchHeight+height)<screenHeight||height>screenHeight){olpS.top=_18.y+anchHeight+topOffset+px;_15.bOpenUp=false;}else{if(yLoc>height){olpS.top=_18.y-height-shadowWidth+topOffset+px;_15.bOpenUp=true;}else{olpS.top=_18.y+anchHeight+topOffset+px;_15.bOpenUp=false;}}}},hide:function(e){e.className=this.hClz;},appendCnt:function(){var t=this,ph=t.E.get(t.sCntPhId),cnt=t.E.get(t.sCntId);if(ph&&cnt&&cnt.parentNode){while(ph.firstChild){var n=ph.firstChild;t.hide(n);ph.removeChild(n);document.body.appendChild(n);}
var _1e=cnt.style,w=cnt.offsetWidth;_1e.fontSize="1em";w=cnt.offsetWidth;t.showCnt(cnt);cnt.parentNode.removeChild(cnt);ph.appendChild(cnt);t.adjust(w);}},showCnt:function(e){e.className=this.nClz;},adjust:function(_20){var t=this,addWidth=10;if(t.sScrollbarHeight&&parseInt(t.sScrollbarHeight)>0){addWidth=30;}
if(!t.oOlpS){var _22=t.E.get(t.sOlpId);t.oOlpS=_22?_22.style:false;}
if(!t.oOlpJsRef){t.oOlpJsRef=vjo.Registry.get(t.sOlpJsId);}
if(t.oOlpS&&t.oOlpJsRef){t.oOlpS.width=(_20+addWidth)+"px";t.oOlpJsRef.render();}},closePanel:function(_23){if(_23.isCloseWhenClicked()){this.bForgive=false;this.disappear();}
return;},onMouseoutClose:function(_24){this.bForgive=false;this.disappear(_24);}}).endType();
vjo.ctype("vjo.darwin.core.pulldownmenu.PulldownMenuItemMsg").inherits("vjo.dsf.Message").protos({sItemTitle:null,sItemValue:null,bCloseWhenClicked:false,constructs:function(_1,_2){this.base.call(this,_1);this.sItemTitle="";this.sItemValue="";this.bCloseWhenClicked=false;},setItemTitle:function(_3){this.sItemTitle=_3;},getItemTitle:function(){return this.sItemTitle;},setItemValue:function(_4){this.sItemValue=_4;},getItemValue:function(){return this.sItemValue;},setCloseWhenClicked:function(_5){this.bCloseWhenClicked=_5;},isCloseWhenClicked:function(){return this.bCloseWhenClicked;}}).endType();
vjo.ctype("vjo.darwin.core.pulldownmenu.PulldownMenuItemEvtHandler").needs("vjo.dsf.Element").needs("vjo.dsf.Message").needs("vjo.darwin.core.pulldownmenu.PulldownMenuItemMsg").props({handleOnClickEvent:function(_1,_2,_3,_4){var _5=new vjo.darwin.core.pulldownmenu.PulldownMenuItemMsg(_1);_5.setItemTitle(_2);_5.setItemValue(_3);_5.setCloseWhenClicked(_4);return _5;},handleOnClickBoldSelected:function(id){var E=vjo.dsf.Element;var e=E.get(id);var lt=e.parentNode.childNodes;for(var i=0;i<lt.length;i++){var _b=lt[i].childNodes;for(var j=0;j<_b.length;j++){if(_b[j].className){_b[j].className="pdm-normal-enabled";}}}
var ec=e.childNodes;for(var k=0;k<ec.length;k++){if(ec[k].className){ec[k].className="pdm-bold-enabled";}}}}).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.dsf.utils.Css").needs("vjo.dsf.Element").props({apply:function(_1,_2){var e=vjo.dsf.Element.get(_1),c;if(e&&_2){c=this.createStyle(_2);if(c){e.appendChild(c);}}
return c;},createStyle:function(_4){var c=document.createElement("style"),t;c.type="text/css";if(_4){if(c.styleSheet){c.styleSheet.cssText=_4;}else{t=document.createTextNode(_4);c.appendChild(t);}}
return c;}}).endType();
vjo.ctype("vjo.dsf.utils.Ajax").needs(["vjo.dsf.EventDispatcher","vjo.dsf.Element","vjo.dsf.utils.Css"]).props({apply:function(_1,_2,_3,_4){var e=this.vj$.Element.get(_1);if(e){if(_2){e.innerHTML=_2;}
if(_4){this.vj$.Css.apply(_1,_4);}
if(_3){eval(_3);}}},cleanApply:function(_6,_7,_8,_9,_a){this.clean(_a);this.apply(_6,_7,_8,_9);},clean:function(_b){var m=_b,i,j,e;for(i in m){e=m[i];for(j=0;j<e.length;j++){this.vj$.EventDispatcher.detachHandlers(i,e[j]);}}}}).endType();
vjo.ctype("vjo.darwin.core.utils.ServiceUtils").needs("vjo.dsf.ServiceEngine","SE").needs("vjo.dsf.Message","M").props({rgSv:function(_1,_2){this.vj$.SE.registerSvcHdl(_1,_2);},rgSvRsp:function(_3,_4){this.vj$.SE.registerSvcRespHdl(_3,_4);},sndM:function(_5){this.vj$.SE.handleRequest(typeof(_5)=="object"?_5:this.gM(_5));},gM:function(_6){return new this.vj$.M(_6);}}).endType();
vjo.ctype("vjo.darwin.core.overlaypanel3.OverlayPanel").needs("vjo.dsf.client.Browser","B").needs("vjo.dsf.Element","E").needs("vjo.dsf.document.Shim","S").needs("vjo.dsf.EventDispatcher","EV").needs("vjo.darwin.core.utils.ServiceUtils","SE").protos({constructs:function(_1){var t=this,J=t.J=t.vj$,B,M=t.m=_1,E=J.E,I=t.sId=M.CId;t.Open=false;t.sJsId=M.CJId;t.cW=M.cW;t.minTries=0;t.maxTries=10;t.isPromoted=false;t.promote2bodyFunc=function(){if(t.minTries>=t.maxTries){return;}
var _3=document.documentElement.doScroll;try{if(_3){_3("left");}
t.J.E.promoteToBody(t.sId);t.isPromoted=true;}
catch(err){t.minTries++;setTimeout(t.promote2bodyFunc,200);}};t.rgEH("load",t.promote2bodyFunc);t.ct=null;t.st=null;t.mst=-1;t.refE=null;t.ifm=null;B=J.B;t.IE=B.bIE&&B.iVer<7;M.sOn=!t.IE;t.fCall=false;var f1=function(m){t.open(m);},f2=function(m){t.close(m);};t.cusPos=null;J.SE.rgSv(M.OSN+I,f1);J.SE.rgSv(M.CSN+I,f2);J.SE.rgSvRsp(M.CSN+"ALL",f2);J.SE.rgSv("ALL"+M.CSN,f2);},getCtr:function(t){if(!t.ctr){t.ctr=t.J.E.get(t.sId+"_olp_pad");}
var _8=t.ctr.parentNode;if(t.J.B.bSafari){if(_8){_8.style.height="100%";}}
return t.ctr;},getOlp:function(t){if(!t.oOlp){t.oOlp=t.J.E.get(t.sId);}
return t.oOlp;},setMdl:function(_a,_b){var t=this,m=t.m;m.CD=(_a["2"])?+_a["2"]:0;m.OD=(_a["3"])?+_a["3"]:0;m.ScrlH=(_a["7"])?+_a["7"]:0;m.HOF=(_a["9"])?+_a["9"]:0;m.VOF=(_a["10"])?+_a["10"]:0;var td=t.J.E.get(t.sId+"_olp_cnt");if(td){td.parentNode.height=(_a["20"])?+_a["20"]:"auto";}
var _e=t.J.E.get(t.sId);if(_e){_e.firstChild.width=(_a["21"])?+_a["21"]:0;}
var _f=parseInt(_a["22"]),th=vjo.getType("vjo.darwin.core.overlaypanel3.OverlayPanel");m.scrbl=(th.i2B(_f,0));var ce=t.J.E.get(t.sId+"_cbtn");if(ce){ce.style.display=(th.i2B(_f,1))?"inline":"none";}
m.ICOMO=(th.i2B(_f,2));m.COB=(th.i2B(_f,3));m.DRG=(th.i2B(_f,5));m.SIC=(th.i2B(_f,6));m.HM=(th.i2B(_f,7));var _11=parseInt(_a["23"]);m.HTSC=(th.i2B(_11,3));if(th.i2B(_f,4)||m.DRG||th.i2B(_11,0)){t.dU=vjo.getType("vjo.darwin.core.utils.DragUtils");if(th.i2B(_f,4)){t.dU=new t.dU(t.sId+"_ttl",t.sId);}else{if(th.i2B(_11,0)){t.dU=new t.dU(t.sId+"tid",t.sId);}else{t.dU=new t.dU(t.sId,t.sId);}}
t.dU.regDrag();}else{if(t.dU){t.dU.detachEvts();}}
var _12=(t.J.E.get(_b+"cnh"));if(_12){var ob=new Object();ob.cnt=_12;t.setCon(ob);}
var ttl=(t.J.E.get(t.sId+"_ttl"));var ttn=(t.J.E.get(_b+"_ttl"));if(ttl.firstChild){t.J.E.get(t.m.CHI).appendChild(ttl.firstChild);}
if(ttn&&ttl){ttl.appendChild(ttn);}
m.HJId=m.HJId.replace("njs","");if(!th.i2B(_11,1)){m.HJId=m.HJId+"njs";t.J.E.get(t.sId+"arid").style.display="none";}},setCon:function(msg){var _17=msg.cnt;if(!_17){return;}
var t=this,cnt=t.getCtr(t),cntC=cnt.childNodes,l=cntC.length,isStr=(typeof _17=="string");if(isStr){cnt.innerHTML=_17;}else{for(var i=0;i<l;i++){var s=cntC[i];if(s.innerHTML!=undefined){if(s.getAttribute("ex")!=null){continue;}
s.parentNode.removeChild(s);}}
cnt.appendChild(_17);}
t.posPanel(t.oOlp,t.refE);},onResize:function(t){if(!t){t=this;}
if(t.Open&&(t.refE||t.SIC)){t.posPanel(t.oOlp,t.refE);}},regEvt:function(){var t=this,rF=function(){t.onResize(t);};if(!t.m.STK){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.m.COB){return;}
while(el){if(el.id==t.sId||(t.refE&&t.refE.id==el.id)){return;}
el=el.parentNode;}
t.close();};t.J.EV.add("body","click",f1,t);t.fCall=true;},rgEH:function(evt,hnd){this.J.EV.addEventListener(window,evt,hnd,window);},setPositionHandler:function(_22){this.cusPos=_22;},open:function(_23){var t=this,cnt=t.getCtr(t),rid,mm;if(!t.isPromoted){t.promote2bodyFunc();}
t.getOlp(t);if(_23){rid=_23.sAnchorId,cnt=t.ctr;t.refE=t.J.E.get(rid),mm=_23.model;t.setCon(_23);(mm)?t.setVals(mm):"";if(_23.dspModel){t.setMdl(_23.dspModel,_23.cmpId);}
if(mm){if(mm.posHandler){t.cusPos=mm.posHandler;}
if(mm.VOF){t.m.VOF=mm.VOF;}
if(mm.HOF){t.m.HOF=mm.HOF;}}
if(_23.ho!=null){t.m.ICOMO=_23.ho;}}
(!t.fCall)?t.regEvt():"";if(t.ctr){t.ctr.scrollTop=0;}
if(t.m.ICOMO){clearTimeout(t.ct);}
var f=function(){if(!t.ifm&&t.oOlp&&t.IE){t.ifm=t.J.S.add(t.oOlp);}
var _26=t.J.E.get(rid);if(_26||t.m.SIC){t.posPanel(t.oOlp,_26);}else{t.oOlp.style.visibility="hidden";return;}
t.oOlp.style.visibility="visible";t.Open=true;t.J.SE.sndM(t.m.POSN+t.sId);var _27=t.J.SE.gM(t.m.MCO);_27.containerId=t.sId;if(t.m.HM){t.J.SE.sndM(_27);}};clearTimeout(t.st);t.st=setTimeout(f,t.m.OD);},setVals:function(m){var t=this,md=t.m;(m[4])?(md.scrbl=(m[4]=="true")?true:false):"";(m[5])?md.scrlH=parseInt(m[5]):0;(m[1])?md.HA=m[1]:"";(m[7])?md.VA=m[7]:"";var ce=t.J.E.get(t.sId+"_cbtn");if(ce){ce.style.display=(m[9]=="true")?"inline":"none";}
md.ICOMO=(m[12]=="true")?true:false;md.HOF=(m[10]!=null)?parseInt(m[10]):0;md.VOF=(m[11]!=null)?parseInt(m[11]):0;},posPanel:function(olp,_2c){var u="px",t=this,m=t.m,h=t.cusPos?t.cusPos:(vjo.Registry.get(m.HJId));if(!h){return;}
var p=h.position(olp,_2c,m.HA,m.VA,m);if(t.ifm){var _2f=t.ifm.style;_2f.top="0"+u;_2f.left="0"+u;_2f.width=p[2]+u;_2f.height=p[3]+u;}},setMState:function(_30){this.mst=_30;},onMout:function(){var t=this;var f=function(){if(t.mst===0&&t.m.ICOMO){t.mst=-1;t.close();}};setTimeout(f,50);},onMin:function(){if(this.m.ICOMO){clearTimeout(this.ct);}},close:function(_33){var t=this,f=function(){if(!t.oOlp){return;}
var s=t.oOlp.style;s.visibility="hidden";s.left="-1000px";t.Open=false;var _36=(_33&&_33.isRetire);if(!_36){t.J.SE.sndM(t.m.PCSN+t.sId);if(t.m.HM){t.J.SE.sndM(t.m.MCI);}}};clearTimeout(t.ct);t.ct=setTimeout(f,(_33&&_33.ignDelay)?0:t.m.CD);}}).props({olpMsg:function(_37,_38,cnt,_3a,ho,_3c){var o=this.vj$.SE,m=o.gM(_37);m.sAnchorId=_38;if(cnt){m.cnt=cnt;}
if(_3a){m.model=_3a;}
if(ho!=null){m.ho=ho;}
if(_3c!=null){m.ignDelay=_3c;}
o.sndM(m);},sendMessage:function(_3e,_3f){this.olpMsg(_3e,_3f.anchorId,_3f.cnt,_3f);},registerEvent:function(_40,_41,_42,_43,_44){var t=this,handler=vjo.dsf.EventDispatcher,f1=function(){t.sendMessage(_41,_40);};f2=function(){t.sendMessage(_42,_40);};handler.add(_40.anchorId,_43,f1,t);handler.add(_40.anchorId,_44,f2,t);},i2B:function(num,idx){var val=num.toString(2),l=val.length-1,ds=(idx-l)<0?-(idx-l):(idx-l);if(idx>=val.length){return false;}
return(val.charAt(ds)==1);}}).endType();
vjo.itype("vjo.dsf.common.IJsHandler").protos({handle:function(_1){}}).endType();
vjo.itype("vjo.dsf.common.IJsRespHandler").protos({handleResponse:function(_1){}}).endType();
vjo.ctype("vjo.darwin.app.dispute.UPIDispute").needs(["vjo.dsf.Element","vjo.dsf.ServiceEngine","vjo.dsf.EventDispatcher","vjo.dsf.utils.Ajax","vjo.darwin.core.overlaypanel3.OverlayPanel"]).satisfies("vjo.dsf.common.IJsHandler").satisfies("vjo.dsf.common.IJsRespHandler").protos({constructs:function(_1){with(this){sSvcId=_1;}},handle:function(_2,_3){with(this){var _4=new vjo.dsf.Message(sSvcId);_4.request=_3;vj$.ServiceEngine.handleRequest(_4);}},handleResponse:function(_5){var _6=_5.response.data;if(_6.turnOffUPIAsst){vjo.darwin.app.dispute.UPIDispute.hideDiv();}},bindJs:function(js,_8){this.vj$.Ajax.clean(_8);eval(js);}}).props({Mo:null,E:vjo.dsf.Element.get,x:new vjo.darwin.app.dispute.UPIDispute("UPI_AJAX_SERVICE"),callAddEvent:function(_9){with(this){Mo=_9;if(Mo.mode==1){addCloseEvents();}
if(Mo.mode==2){x.handle(null,"mode="+Mo.mode+"&disputeId="+Mo.disputeId);}}},hideDiv:function(){with(this){var _a=Mo.asstId;var _b=Mo.upiLinkId;var _c=Mo.upiCCaseId;var _d=Mo.pulldownid;var _e=Mo.cancelTrans;if(E(_a)&&E(_b)&&E(_e)){E(_a).style.display="none";E(_b).parentNode.parentNode.removeChild(E(_b).parentNode);E(_c).style.display="block";E(_e).parentNode.parentNode.removeChild(E(_e).parentNode);}}},addCloseEvents:function(){with(this){var _f=vjo.dsf.EventDispatcher;_f.add(Mo.closeBtnId,"click",closeBulletinOverlay,this);}},closeBulletinOverlay:function(){with(this){if(E(Mo.chkBtnId).checked){x.handle(null,"mode="+Mo.mode+"&siteId="+Mo.siteId);}
vjo.darwin.core.overlaypanel3.OverlayPanel.olpMsg(Mo.cpanelId,Mo.closeBtnId);}},lookUpSelect:function(_10){with(this){M=_10;selId=E(M.selectId);if(selId){sInd=selId.selectedIndex;if(sInd>=0){var a=selId.options[sInd].value;}}
var _12=referiFrame(M.IFrame);if(_12.forms[M.form2]){if(_12.getElementById(M.hiddenId)){_12.getElementById(M.hiddenId).value=a;}
_12.forms[M.form2].submit();}else{if(E(M.IFrame)){E(M.IFrame).src=M.BUrl+M.PTxt+M.FTxt+a;}}}},referiFrame:function(_13){with(this){var _14,_15=E(_13);if(_15.contentDocument){_14=_15.contentDocument;}else{if(_15.contentWindow){_14=_15.contentWindow.document;}}
return _14;}},continueBtn:function(_16){with(this){S=_16;ifrmId=S.IFrame;var rb=referiFrame(ifrmId).getElementsByName(S.lookRad),selVal=null;for(k=0;k<rb.length;k++){if(rb[k].checked){selVal=rb[k].value;var _18=rb[k].id.replace(S.radioCont,"");var str=S.bfrmUrl+"&"+S.openCTransId+"="+_18+"&"+S.openCItemId+"="+selVal+"&"+S.openCTransSub+"=true";window.location.href=str;}}
closeLookItUpOvl(S.lkCloseOvl,S.lookContBtn);}},closeLookItUpOvl:function(_1a,_1b){vjo.darwin.core.overlaypanel3.OverlayPanel.olpMsg(_1a,_1b);}}).endType();
// pl_PL/e653i/ResolutionV4App_ResolutionCenter_e653i10551504_6_pl_PL
// b=10551504
