(function(){var _1=typeof vjo!="undefined";if(_1)return;vjo={ctype:function(_2){return new vjo.Type(_2)},itype:function(_3){return new vjo.Type(_3)},type:function(_4){var _5=window;var names=_4.split(".");var num=names.length;for(var _6=0;_6<num&&_5;_6++)_5=_5[names[_6]];return _5},path:function(_7){var _8=window;var names=_7.split(".");var _9=0;for(var num=names.length;(_7=names[_9])&&_9<num;_9++)_8=_8[_7]=_8[_7]?_8[_7]:{};return _8},create:function(_a){var _b=window;var names=_a.split(".");var _c=
0;for(var num=names.length-1;(_a=names[_c])&&_c<num;_c++)_b=_b[_a]=_b[_a]?_b[_a]:{};var _d=function(){try{for(var _e=this.base;_e;_e=_e.base)_e.ctx$=this;this.constructs.apply(this,arguments)}catch(except){vjo.except(this,except)}};vjo.extend(_d,{vj$:{meta:{name:names.join("."),needs:{},props:{},protos:{}}}});_d.vj$[_a]=_d;if(!vjo.type(_d.vj$.meta.name))_b[_a]=_d;vjo.extend(_d.prototype,{constructs:function(){}});vjo.extend(_d.prototype,{vj$:_d.vj$});_d.toString=function(){return this.vj$.meta.name};
_d.prototype.toString=function(){return this.vj$.meta.name.concat("@",this.oid)};return _d},except:function(_f,_10){vjo.log("except",_10.name,_10.message,_f)},extend:function(_11,_12){for(var _13 in _12)_11[_13]=_12[_13]},get:function(id){return document.getElementById(id)},log:function(){},px:function(_15){return _15+"px"}};vjo.Type=function(_16){var _17=this;_17.type=vjo.create(_16);_17.meta=_17.type.vj$.meta};vjo.extend(vjo.Type.prototype,{needs:function(_18,_19){var _1a=_18.constructor==Array?
_18:[_18];for(var key in _1a){var _1c=_1a[key];var name=_19?_19:_1c.split(".").pop();this.type.vj$[name]=this.meta.needs[name]=vjo.type(_1c)}return this},func:function(_1d,_1e){if(typeof _1d=="function")_1d["name$"]=_1e},props:function(_1f){vjo.extend(this.type,_1f);vjo.extend(this.meta.props,_1f);for(var _20 in _1f)this.func(_1f[_20],_20);return this},protos:function(_21){vjo.extend(this.type.prototype,_21);vjo.extend(this.meta.protos,_21);for(var _22 in _21)this.func(_21[_22],_22);return this},
proto:function(_23,_24){return function(){_24.apply(_23.ctx$,arguments)}},base:function(_25){var _26=function(){var _27=this.base;this.base=_27.base;_27.constructs.apply(this,arguments);this.base=_27};var _28=this;var meta=_25.vj$.meta;var protos=meta.protos;if(meta.base)vjo.extend(_26,{base:_28.base(meta.base)});vjo.extend(_28.type.prototype,protos);for(var _29 in protos){var _2a=protos[_29];if(typeof _2a=="function")_26[_29]=_28.proto(_26,_2a,_2a["name$"]=_29)}_26.vj$=_25.vj$;return _26},inherits:function(_2b){var _2c=
this;var _2d=vjo.type(_2b);var _2e=_2d.vj$.meta;vjo.extend(_2c.type.vj$.meta,{base:_2d});vjo.extend(_2c.type.vj$,_2e.needs);vjo.extend(_2c.meta.needs,_2e.needs);vjo.extend(_2c.type,_2e.props);vjo.extend(_2c.meta.props,_2e.props);vjo.extend(_2c.type.prototype,{base:_2c.base(_2d)});return _2c},satisfies:function(_2f){return this},singleton:function(){return this},inits:function(_30){this.meta.inits=_30;return this},endType:function(){var _31=this.meta.inits;if(_31)_31.apply(this.type);return this}});
vjo.needs=function(){};vjo.hitch=function(_32,_33){return function(){_33.apply(_32,arguments)}};vjo.getType=function(_34){return vjo.type(_34)};vjo.isDefined=function(_35){return typeof _35!=="undefined"};vjo.isUndefined=function(_36){return typeof _36==="undefined"};vjo.browserTop=function(){return window.innerHeight?window.screenY+(window.outerHeight-window.innerHeight):window.screenTop};vjo.browserLeft=function(){return window.innerWidth?window.screenX+(window.outerWidth-window.innerWidth):window.screenLeft};
vjo.clientTop=function(){var _37=document;var elem=_37.documentElement;return elem?elem.clientTop:_37.body.clientTop};vjo.clientLeft=function(){var _38=document;var elem=_38.documentElement;return elem?elem.clientLeft:_38.body.clientLeft};vjo.clientWidth=function(){var _39=window;var docu=document;var elem=docu.documentElement;if(elem&&_39.innerWidth)return Math.min(elem.clientWidth,_39.innerWidth);else if(elem&&elem.clientWidth)return elem.clientWidth;else if(_39.innerWidth)return _39.innerWidth;
else if(docu.body.clientWidth)return docu.body.clientWidth;return docu.body.offsetWidth};vjo.clientHeight=function(){var _3a=window;var docu=document;var elem=docu.documentElement;if(elem&&_3a.innerHeight)return Math.min(elem.clientHeight,_3a.innerHeight);else if(elem&&elem.clientHeight)return elem.clientHeight;else if(_3a.innerHeight)return _3a.innerHeight;else if(docu.body.clientHeight)return docu.body.clientHeight;return docu.body.offsetHeight};vjo.scrollTop=function(){var _3b=window;var docu=
document;var elem=docu.documentElement;if(_3b.pageYOffset!=null)return _3b.pageYOffset;return elem?Math.max(elem.scrollTop,docu.body.scrollTop):docu.body.scrollTop};vjo.scrollLeft=function(){var _3c=window;var docu=document;var elem=docu.documentElement;if(_3c.pageXOffset!=null)return _3c.pageXOffset;return elem?Math.max(elem.scrollLeft,docu.body.scrollLeft):docu.body.scrollLeft};vjo.scrollWidth=function(){var _3d=document;var elem=_3d.documentElement;if(elem)return elem.scrollWidth;return Math.max(_3d.body.scrollWidth,
_3d.body.offsetWidth)};vjo.scrollHeight=function(){var _3e=document;var elem=_3e.documentElement;if(elem)return elem.scrollHeight;return Math.max(_3e.body.scrollHeight,_3e.body.offsetHeight)};if(window.ActiveXObject)vjo.ActiveXVersion=function(_3f){var ndx=0;for(var num=_3f.length;ndx<num;ndx++)try{new ActiveXObject(_3f[ndx]);return _3f[ndx]}catch(except){}}}).apply(this);
vjo.ctype("vjo.dsf.Message").protos({objType:"dsf_Message",trspType:"",svcId:"",request:null,response:null,status:null,svcConfig:null,stok:"",pId:"",constructs:function(_1,_2){var a=arguments;var l=a.length;if(l==1)this.svcId=_1;else if(l==2){this.svcId=_1+"."+_2;this.svcName=_1;this.opName=_2}this.rawRequest=this.trace="";this.clientContext={};this.trspType="InProc";this.returnData=true;this.v="0";this.headers=null}}).endType();
vjo.ctype("vjo.darwin.domain.jaguar.page.PageServiceHandler").needs("vjo.dsf.Message").protos({constructs:function(_1,_2,_3,_4,_5){var _6=this;_6.scope=_1,_6.listener=_2;_6.service=_3;_6.global=_5;_6.elem=vjo.reg.register(_1,_4)},handle:function(_7){try{var _8=this;var elem=_8.elem?vjo.get(_8.elem.id):_8;if(elem)vjo.log("service","dispatch service",_8);if(elem)return _8.listener.apply(_8.scope,arguments);else window.setTimeout(_8.remove,0)}catch(except){vjo.log("except",except.name,except.message,
this)}}}).inits(function(){this.prototype.toString=function(){var _9=this;var listener=_9.listener;var name=listener.name$?listener.name$:"&lt;anonymous&gt;";return _9.service.toString().concat(" ",_9.scope,".",name)}}).endType();
vjo.ctype("vjo.darwin.domain.jaguar.page.PageServiceEngine").needs("vjo.darwin.domain.jaguar.page.PageServiceHandler").protos({constructs:function(){var _1=vjo.svc=this;_1.requests={};_1.responses={};_1.handlers={global:{requests:{},responses:{}},local:{requests:{},responses:{}}}},services:function(_2,_3){return _3[_2.oid]?_3[_2.oid]:_3[_2.oid]={}},addReqtHandler:function(_4,_5,_6,_7,_8){var _9=this;_5=new _9.vj$.PageServiceHandler(_4,_5,_6,_7,_8);_5.remove=function(){vjo.svc.removeReqtHandler(_5)};
_9.addHandler(_9.services(_4,_9.requests),_5);_9.addHandler(_9.handlers[_8?"global":"local"].requests,_5);vjo.log("service","register request",_5)},addRespHandler:function(_a,_b,_c,_d,_e){var _f=this;_b=new _f.vj$.PageServiceHandler(_a,_b,_c,_d,_e);_b.remove=function(){vjo.svc.removeRespHandler(_b)};_f.addHandler(_f.services(_a,_f.responses),_b);_f.addHandler(_f.handlers[_e?"global":"local"].responses,_b);vjo.log("service","register response",_b)},addHandler:function(_10,_11){var _12=_11.global?"Global":
_11.service;var _13=_10[_12]?_10[_12]:_10[_12]=[];_13.push(_11)},removeReqtHandler:function(_14){var _15=this;var scope=_14.scope;var _16=_14.global?"Global":_14.service;var _17=_15.requests[scope.oid];if(_17==null)return;if(_17[_16])_15.removeHandler(_17,_16,_14);var _18=_15.handlers[_14.global?"global":"local"].requests;if(_18[_16])_15.removeHandler(_18,_16,_14);vjo.log("service","remove request",_14);for(_16 in _17)return;delete _15.requests[scope.oid]},removeRespHandler:function(_19){var _1a=
this;var scope=_19.scope;var _1b=_19.global?"Global":_19.service;var _1c=_1a.responses[scope.oid];if(_1c==null)return;if(_1c[_1b])_1a.removeHandler(_1c,_1b,_19);var _1d=_1a.handlers[_19.global?"global":"local"].responses;if(_1d[_1b])_1a.removeHandler(_1d,_1b,_19);vjo.log("service","remove response",_19);for(_1b in _1c)return;delete _1a.responses[scope.oid]},remove:function(_1e){var _1f=this;var _20=_1f.requests[_1e.oid];if(_20)for(var _21 in _20){var _22=_20[_21];for(var idx=_22.length;idx>0;idx--)_1f.removeReqtHandler(_22[idx-
1])}var _23=_1f.responses[_1e.oid];if(_23)for(_21 in _23){_22=_23[_21];for(idx=_22.length;idx>0;idx--)_1f.removeRespHandler(_22[idx-1])}},removeHandler:function(_24,_25,_26){var _27=_24[_25];for(var idx=_27.length;idx>0;idx--)if(_27[idx-1]===_26){_27.splice(idx-1,1);break}if(_27.length<=0)delete _24[_25]},sendRequest:function(_28,_29){var msg=new vjo.dsf.Message(_28);if(_29)vjo.extend(msg,_29);return this.handleRequest(msg)},handleRequest:function(msg){var _2c=this;_2c.dispatchLocalHandlers(_2c.handlers.local.requests[msg.svcId],
msg);_2c.dispatchGlobalHandlers(_2c.handlers.global.requests["Global"],msg);return msg.returnData},sendResponse:function(_2d,_2e){var msg=new vjo.dsf.Message(_2d);if(_2e)vjo.extend(msg,_2e);return this.handleResponse(msg)},handleResponse:function(msg){var _31=this;_31.dispatchLocalHandlers(_31.handlers.local.responses[msg.svcId],msg);_31.dispatchGlobalHandlers(_31.handlers.global.responses["Global"],msg);return msg.returnData},dispatchLocalHandlers:function(_32,msg){var idx=0;for(var len=_32?_32.length:
0;idx<len;idx++)_32[idx].handle(msg)},dispatchGlobalHandlers:function(_35,msg){var idx=0;var service=msg.svcId;for(var len=_35?_35.length:0;idx<len;idx++){var _38=_35[idx];var dispatch=service.match(_38.service);if(dispatch)_38.handle(msg)}}}).inits(function(){new this.vj$.PageServiceEngine}).endType();
vjo.ctype("vjo.darwin.domain.jaguar.page.PageEventHandler").protos({constructs:function(_1,_2,_3,_4){this.scope=_1;this.elem=_2;this.type=_3;this.func=_4},dispatch:function(_5){try{vjo.log("event","dispatch event",this);return this.func.call(this.scope,_5)}catch(except){vjo.log("except",except.name,except.message,this)}}}).inits(function(){this.prototype.toString=function(){var _6=this;var scope=_6.scope;var type=_6.type;var elem=_6.elem;var _7=elem===window?"window":elem.id?elem.id:scope.eid;var _8=
_6.func;var name=_8.name$?_8.name$:"&lt;anonymous&gt;";return type.concat(" ",_7," ",scope).concat(".",name)}}).endType();
vjo.ctype("vjo.darwin.domain.jaguar.page.PageEventDispatcher").needs("vjo.darwin.domain.jaguar.page.PageEventHandler").protos({constructs:function(){var _1=vjo.evt=this;_1.elems={};_1.handlers={}},attach:function(_2,_3,_4,_5){var _6=this;if(!_2||!_3)return false;else if(!_4||!_5)return false;else if(!_2.eid)vjo.reg.register(_2,_3);var _7=_2.oid;var handlers=_6.handlers[_7]?_6.handlers[_7]:_6.handlers[_7]={};handlers=handlers[_4]?handlers[_4]:handlers[_4]=[];var _8=new _6.vj$.PageEventHandler(_2,_3,
_4,_5);var _9=function(_a){return _6.dispatchEvent(_a,_8)};_6.addHandler(_8);vjo.log("event","attach event",_8);handlers.push(_8);_8.dispatcher=_9;return _6.addListener(_3,_4,_9)},detach:function(_b,_c,_d,_e){var _f=this;var oid=_b.oid;var _10=_f.handlers[oid];if(_10==null)return;if(_d)_f.detachType(oid,_c,_d,_e);else for(_d in _10)_f.detachType(oid,_c,_d,_e);for(_d in _f.handlers[oid])return;delete _f.handlers[oid]},addHandler:function(_11){var _12=this;var eid=vjo.reg.getEid(_11.elem);var type=
_11.type;var _14=_12.elems[eid]?_12.elems[eid]:_12.elems[eid]={};_14=_14[type]?_14[type]:_14[type]=[];_14.push(_11)},detachType:function(oid,_16,_17,_18){var _19=this;var handlers=_19.handlers[oid][_17];if(handlers==null)return;_19.detachHandlers(handlers,_16,_18);if(_19.handlers[oid][_17].length<=0)delete _19.handlers[oid][_17]},detachHandlers:function(_1a,_1b,_1c){var idx=_1a.length;for(var self=this;idx>0;idx--){var _1e=_1a[idx-1];if(_1b&&_1e.elem!==_1b)continue;else if(_1c&&_1e.func!==_1c)continue;
vjo.log("event","detach event",_1e);self.detachHandler(_1e);_1a.splice(idx-1,1)}},detachHandler:function(_1f){var _20=this;var eid=vjo.reg.getEid(_1f.elem);var type=_1f.type;var handlers=_20.elems[eid];_20.removeListener(_1f.elem,type,_1f.dispatcher);if(!handlers||!(handlers=handlers[type]))return;for(var idx=handlers.length;idx>0;idx--)if(handlers[idx-1]===_1f){handlers.splice(idx-1,1);break}if(handlers.length<=0)delete _20.elems[eid][type];for(type in _20.elems[eid])return;delete _20.elems[eid]},
dispatchEvent:function(_23,_24){var _25=_24.dispatch(_23);if(_25===false)this.stopEvent(_23);if(typeof _25!=="undefined")return _25},fireEvent:function(_26,_27){var _28=this;var eid=vjo.reg.getEid(_26);var handlers=_28.elems[eid];if(!handlers||!(handlers=handlers[_27]))return;var _29={type:_27,target:_26,custom:true};var idx=0;for(var len=handlers.length;idx<len;idx++)_28.dispatchEvent(_29,handlers[idx])},stopEvent:function(_2b){this.stopDefault(_2b);this.stopPropagation(_2b)},target:function(_2c){return _2c.target?
this.eventNode(_2c.target):_2c.srcElement},related:function(_2d){if(_2d.relatedTarget)return this.eventNode(_2d.relatedTarget);else if(_2d.type==="mouseover"&&_2d.fromElement)return _2d.fromElement;else if(_2d.type==="mouseout"&&_2d.toElement)return _2d.toElement;else return null},eventNode:function(_2e){return _2e&&_2e.nodeType==3?_2e.parentNode:_2e},eventTop:function(_2f){if(_2f.pageY!=null)return _2f.pageY;var _30=document;var elem=_30.documentElement;if(elem)return _2f.clientY+Math.max(elem.scrollTop,
_30.body.scrollTop);return _2f.clientY+_30.body.scrollTop},eventLeft:function(_31){if(_31.pageX!=null)return _31.pageX;var _32=document;var elem=_32.documentElement;if(elem)return _31.clientX+Math.max(elem.scrollLeft,_32.body.scrollLeft);return _31.clientX+_32.body.scrollLeft}}).inits(function(){if(window.addEventListener){this.prototype.addListener=function(_33,_34,_35){return _33.addEventListener(_34,_35,false)};this.prototype.removeListener=function(_36,_37,_38){_36.removeEventListener(_37,_38,
false)};this.prototype.stopDefault=function(_39){if(!_39.custom)_39.preventDefault()};this.prototype.stopPropagation=function(_3a){if(!_3a.custom)_3a.stopPropagation()}}else if(window.attachEvent){this.prototype.addListener=function(_3b,_3c,_3d){return _3b.attachEvent("on"+_3c,_3d)};this.prototype.removeListener=function(_3e,_3f,_40){_3e.detachEvent("on"+_3f,_40)};this.prototype.stopDefault=function(_41){if(!_41.custom)_41.returnValue=false};this.prototype.stopPropagation=function(_42){if(!_42.custom)_42.cancelBubble=
true}}else{this.prototype.addListener=function(_43,_44,_45){return false};this.prototype.removeListener=function(_46,_47,_48){};this.prototype.stopDefault=function(_49){};this.prototype.stopPropagation=function(_4a){}}new this.vj$.PageEventDispatcher}).endType();
vjo.ctype("vjo.darwin.domain.jaguar.page.PageRegistry").protos({constructs:function(){var _1=vjo.reg=this;_1.eidx=1;_1.oidx=1;_1.objects={};vjo.reg.register(_1,document.body);vjo.evt.attach(_1,window,"unload",_1.unload)},unload:function(){for(var _2 in this.objects)this.unloadObject(this.objects[_2])},update:function(){for(var _3 in this.objects)this.updateObject(this.objects[_3])},getOid:function(){return new String(this.oidx++)},getEid:function(_4){if(_4===window)return"window";else return _4.id?
_4.id:_4.id="e".concat(this.eidx++)},register:function(_5,_6){var _7=this;if(_5&&_5.eid)return vjo.get(_5.eid);else if(_5)_5.oid=_7.getOid();else return _7.registerExcept("registry object is undefined");var _8=typeof _6=="string"?vjo.get(_6):_6;if(!_8)return _7.registerExcept("registry element is undefined",_5);_7.objects[_5.oid]=_5;_5.eid=_7.getEid(_8);vjo.log("registry","register",_5.eid,_5);return _8},registerExcept:function(_9,_a){vjo.log("except",_9,_a);return null},updateObject:function(_b){var _c=
vjo.get(_b.eid);if(!_c)this.unloadObject(_b)},unloadObject:function(_d){vjo.log("registry","unload",_d.eid,_d);if(_d.destroy)_d.destroy();vjo.evt.detach(_d);vjo.svc.remove(_d);delete this.objects[_d.oid]}}).inits(function(){new this.vj$.PageRegistry}).endType();
vjo.ctype("vjo.dsf.utils.HexToDecimal").props({hex2Dec:function(_1){return parseInt(_1,16)}}).endType();
vjo.ctype("vjo.dsf.utils.DecimalToHex").props({dec2Hex:function(_1){return parseInt(_1,10).toString(16)}}).endType();
vjo.ctype("vjo.dsf.cookie.VjCookieJar").needs(["vjo.dsf.utils.HexToDecimal","vjo.dsf.utils.DecimalToHex"]).props({Default_Cookie_Format:{COOKIELET_DELIMITER:"^",NAME_VALUE_DELIMITER:"/",escapedValue:true},DP_Cookie_Format:{COOKIELET_DELIMITER:"^",NAME_VALUE_DELIMITER:"/",bUseExp:true,startDelim:"b"},Session_Cookie_Format:{COOKIELET_DELIMITER:"^",NAME_VALUE_DELIMITER:"=",escapedValue:true,startDelim:"^"},DS_Cookie_Format:{COOKIELET_DELIMITER:"^",NAME_VALUE_DELIMITER:"/"},sPath:"/",aConversionMap:{reg:["dp1",
"reg"],recent_vi:["ebay","lvmn"],ebaysignin:["ebay","sin"],p:["dp1","p"],etfc:["dp1","etfc"],keepmesignin:["dp1","kms"],ItemList:["ebay","wl"],BackToList:["s","BIBO_BACK_TO_LIST"]},aFormatMap:{},sCOMPAT:"10",sCONVER:"01",sSTRICT:"00",sModesCookie:"ebay",sModesCookielet:"cv",readCookie:function(_1,_2){var rv=this.readCookieObj(_1,_2).value;return rv?decodeURIComponent(rv):""},createDefaultCookieBean:function(_4,_5){var _6={};_6.name=_4;_6.cookieletname=_5;_6.value="";_6.maxage=0;_6.rawcookievalue=
"";_6.mode="";return _6},readCookieObj:function(_7,_8){var _9=this.createDefaultCookieBean(_7,_8);this.update();this.checkConversionMap(_9);_9.rawcookievalue=this.aCookies[_9.name];if(!_9.name||!_9.rawcookievalue)_9.value="";else if(!_9.cookieletname)this.readCookieInternal(_9);else this.readCookieletInternal(_9);return typeof _9!="undefined"?_9:""},checkConversionMap:function(_a){var _b=this.aConversionMap[_a.name];if(_b){_a.mode=this.getMode(_a.name);_a.name=_b[0];_a.cookieletname=_b[1]}},readCookieInternal:function(_c){_c.value=
_c.rawcookievalue;return _c},readCookieletInternal:function(_d){var _e=this.getCookielet(_d.name,_d.cookieletname,_d.rawcookievalue);var _f=this.getFormat(_d.name);if(_e&&_f.bUseExp){var _10=_e;_e=_e.substring(0,_e.length-8);if(_10.length>8)_d.maxage=_10.substring(_10.length-8)}_d.value=_e;if(_d.mode==this.sCOMPAT)_d.value=_d.rawcookievalue;return _d},readMultiLineCookie:function(_11,_12){if(!_11||!_12)return"";var val;var r="";var _15=this.aConversionMap[_11];if(_15)val=this.readCookieObj(_15[0],
_15[1]).value||"";if(val)r=this.getCookielet(_11,_12,val)||"";return typeof r!="undefined"?r:""},writeCookie:function(_16,_17,_18){var _19=this.aConversionMap[_16];if(_19){this.writeCookielet(_19[0],_19[1],_17,_18);return}var _1a=this.getFormat(_16);if(_17&&_1a.escapedValue)_17=encodeURIComponent(_17);this.writeRawCookie(_16,_17,_18)},writeRawCookie:function(_1b,_1c,_1d){if(_1b&&_1c!==undefined)if(isNaN(_1c)&&_1c.length<4E3||(_1c+"").length<4E3){if(typeof _1d=="number")_1d=this.getExpDate(_1d);var _1e=
_1d?new Date(_1d):new Date(this.getExpDate(730));var _1f=this.getFormat(_1b);var _20=this.sCookieDomain;var dd=document.domain;if(dd.indexOf(_20)==-1){var _22=dd.indexOf(".ebay.");if(_22>0)this.sCookieDomain=dd.substring(_22)}if(document.cookie)document.cookie=_1b+"="+(_1c||"")+(_1d||_1f.bUseExp?"; expires="+_1e.toGMTString():"")+"; domain="+this.sCookieDomain+"; path="+this.sPath}},writeCookieEx:function(_23,_24,_25){this.writeCookie(_23,_24,this.getExpDate(_25))},writeCookielet:function(_26,_27,
_28,_29,_2a){if(_26&&_27){this.update();var _2b=this.getFormat(_26);if(_2b.bUseExp&&_28){if(typeof _29=="number")_29=this.getExpDate(_29);var _2c=_29?new Date(_29):new Date(this.getExpDate(730));var _2d=Date.UTC(_2c.getUTCFullYear(),_2c.getUTCMonth(),_2c.getUTCDate(),_2c.getUTCHours(),_2c.getUTCMinutes(),_2c.getUTCSeconds());_2d=Math.floor(_2d/1E3);_28+=this.vj$.DecimalToHex.dec2Hex(_2d)}var val=this.createCookieValue(_26,_27,_28);this.writeRawCookie(_26,val,_2a)}},writeMultiLineCookie:function(_2f,
_30,_31,_32,_33){this.update();var val=this.createCookieValue(_2f,_30,_31);if(val){var _35=this.aConversionMap[_2f];if(_35)this.writeCookielet(_35[0],_35[1],val,_32,_33)}},getBitFlagOldVersion:function(_36,_37){var dec=parseInt(_36,10);var b=dec.toString(2);var r=dec?b.charAt(b.length-_37-1):"";return r=="1"?1:0},setBitFlagOldVersion:function(_3a,_3b,_3c){var b="";var p;var i;var e;var l;_3a=parseInt(_3a+"",10);if(_3a)b=_3a.toString(2);l=b.length;if(l<_3b){e=_3b-l;for(i=0;i<=e;i++)b="0"+b}p=b.length-
_3b-1;return parseInt(b.substring(0,p)+_3c+b.substring(p+1),2)},getBitFlag:function(_3e,_3f){if(_3e!=null&&_3e.length>0&&_3e.charAt(0)=="#"){var _40=_3e.length;var q=_3f%4;var _42=Math.floor(_3f/4)+1;var _43=_40-_42;var _44=parseInt(_3e.substring(_43,_43+1),16);var _45=1<<q;return(_44&_45)==_45?1:0}else return this.getBitFlagOldVersion(_3e,_3f)},setBitFlag:function(_46,_47,_48){if(_46!=null&&_46.length>0&&_46.charAt(0)=="#"){var _49=_46.length;var q=_47%4;var _4b=Math.floor(_47/4)+1;if(_49<=_4b){if(_48!=
1)return _46;var _4c=_4b-_49+1;for(var _4d=_46.substring(1,_49);_4c>0;){_4d="0"+_4d;_4c--}_46="#"+_4d;_49=_46.length}var _4e=_49-_4b;var _4f=parseInt(_46.substring(_4e,_4e+1),16);var _50=1<<q;if(_48==1)_4f|=_50;else _4f&=~_50;_46=_46.substring(0,_4e)+_4f.toString(16)+_46.substring(_4e+1,_49);return _46}else{if(_47>31)return _46;return this.setBitFlagOldVersion(_46,_47,_48)}},createCookieValue:function(_51,_52,_53){var _54=this.aConversionMap[_51];var format=this.getFormat(_51);var mode=this.getMode(_51);
var val;if(_54&&(mode==this.sSTRICT||mode==this.sCONVER))val=this.readCookieObj(_54[0],_54[1]).value||"";else val=this.aCookies[_51]||"";if(format){var _55=this.getCookieletArray(val,format);_55[_52]=_53;var str="";for(var i in _55)if(_55[i])str+=i+format.NAME_VALUE_DELIMITER+_55[i]+format.COOKIELET_DELIMITER;if(str&&format.startDelim)str=format.startDelim+str;val=str;if(format.escapedValue)val=encodeURIComponent(val)}return val},update:function(){var aC=document.cookie.split("; ");this.aCookies=
{};for(var i=0;i<aC.length;i++){var sC=aC[i].split("=");var _5b=this.getFormat(sC[0]);var cv=sC[1];var sd=_5b.startDelim;if(sd&&cv&&cv.indexOf(sd)===0)sC[1]=cv.substring(sd.length,cv.length);this.aCookies[sC[0]]=sC[1]}},getCookielet:function(_5c,_5d,_5e){var _5f=this.getFormat(_5c);var _60=this.getCookieletArray(_5e,_5f);return _60[_5d]||""},getFormat:function(_61){return this.aFormatMap[_61]||vjo.dsf.cookie.VjCookieJar.Default_Cookie_Format},getCookieletArray:function(_62,_63){var rv=[];var val=
_62||"";if(_63.escapedValue)val=decodeURIComponent(val);var a=val.split(_63.COOKIELET_DELIMITER);for(var i=0;i<a.length;i++){var idx=a[i].indexOf(_63.NAME_VALUE_DELIMITER);if(idx>0)rv[a[i].substring(0,idx)]=a[i].substring(idx+1)}return rv},getExpDate:function(_68){var _69;if(typeof _68=="number"&&_68>=0){var d=new Date;d.setTime(d.getTime()+_68*24*60*60*1E3);_69=d.toGMTString()}return _69},getMode:function(_6b){var h=this.readCookieObj(this.sModesCookie,this.sModesCookielet).value;var b;if(!(_6b in
this.aConversionMap))return null;if(!h)return"";if(h===0)return this.sSTRICT;if(h&&h!="0"){if(h.indexOf(".")!=-1){var a=h.split(".");for(var i=0;i<a.length;i++)b=this.vj$.HexToDecimal.hex2Dec(a[i]).toString(2)+b}else b=this.vj$.HexToDecimal.hex2Dec(h).toString(2);i=0;var l=b.length;var j;for(var o in this.aConversionMap){j=l-2*(i+1);var f=b.substring(j,j+2).toString(10);f=!f?this.sSTRICT:f;if(_6b==o)return f.length==1?"0"+f:f;i++}return null}}}).inits(function(){var vCJ=vjo.dsf.cookie.VjCookieJar;
vCJ.aFormatMap={r:vCJ.Default_Cookie_Format,dp1:vCJ.DP_Cookie_Format,npii:vCJ.DP_Cookie_Format,ebay:vCJ.Session_Cookie_Format,reg:vCJ.Session_Cookie_Format,apcCookies:this.Session_Cookie_Format,ds2:vCJ.DS_Cookie_Format}}).endType();
vjo.ctype("vjo.darwin.domain.jaguar.page.PageTracker").needs("vjo.dsf.cookie.VjCookieJar").protos({sizes:{p:4,c:1,m:3,l:3},start:{p:1,c:5,m:6,l:9},constructs:function(_1){var _2=this;_2.cfg=_1;_2.body=vjo.reg.register(_2,document.body);vjo.evt.attach(_2,_2.body,"click",_2.onBody);vjo.evt.attach(_2,_2.body,"mousedown",_2.onMouse);_2.image=document.body.appendChild(new Image);_2.image.style.display="none";vjo.svc.addReqtHandler(_2,_2.onClick,"PageTracker.Click");vjo.svc.addReqtHandler(_2,_2.onTrack,
"PageTracker.Track");vjo.svc.addReqtHandler(_2,_2.onRover,"PageTracker.Rover");var _3=vjo.type("vjo.darwin.tracking.enabler.TrackingEnabler");if(_3)_3.copySIDToCookie=function(){};vjo.pid=_1.pid},link:function(_4){var _5=_4.tagName&&_4.tagName.match(/^a$/i);return _5?_4.href.match(/_trksid=|_lk=/):null},target:function(_6){return _6.tagName?_6:vjo.evt.target(_6)},attrib:function(_7,_8){return _7&&_7.getAttribute?_7.getAttribute(_8):null},click:function(_9){var _a=this;var target=_a.target(_9);for(var rank=
null;target&&!(rank=_a.attrib(target,"r"));)target=target.parentNode;if(_a.rank=rank)_a.vj$.VjCookieJar.writeCookielet("ebay","ssjs",_a.rank);for(target=_a.target(_9);target;target=target.parentNode)if(_a.attrib(target,"_sp"))return _a.clickElement(target);else if(_a.link(target))return _a.clickLink(target);_a.track(_a.cfg.pid)},clickLink:function(_b){var _c=vjo.utl.getUriBuilder(_b.href);return this.track(_c.params["_trksid"]||this.cfg.pid,_c.params["_lk"])},clickElement:function(_d){var _e=this;
var trkinfo=_e.attrib(_d,"_sp");if(trkinfo)_e.track(trkinfo.split(";")[0])},track:function(_f,_10){var _11=this;var terms=_f.split(".");var linkKey="l";if(!_f.match(/p\d*/))terms.push(_11.cfg.pid);var _12=_11.vj$.VjCookieJar.readCookie("ds2","sotr");var _13=_11.chars(_12&&_12.charAt(0)=="b"?_12:"bzzzzzzzzzzz");var _14=false;var idx=0;for(var len=terms.length;idx<len;idx++){var _16=terms[idx].match(/([pcml])(\d*)/);if(_16==null)continue;var key=_16[1];var value=_16[2];_11.addValue(key,value,_13);if(key==
linkKey)_14=true}if(!_14&&_10)_11.addValue(linkKey,_10,_13);idx=0;len=_13.length;for(_12="";idx<len;)_12=_12.concat(_13[idx++]);_11.vj$.VjCookieJar.writeCookielet("ds2","sotr",_12);vjo.log("debug","track",_f,_12,"rank",_11.rank?_11.rank:"-")},addValue:function(key,_19,_1a){var _1b=this;var _1c=_1b.sizes[key];var start=_1b.start[key];var _1d=_1b.chars(_1b.encode(_19,_1c));for(var sdx=0;sdx<_1c;sdx++)_1a[start+sdx]=_1d[sdx]},chars:function(_1f){var idx=0;var len=_1f.length;for(var chars=[];idx<len;)chars.push(_1f.charAt(idx++));
return chars},encode:function(num,_22){return vjo.darwin.tracking.enabler.TrackingEnablerUtil.enc(num).concat("zzzz").substring(0,_22)},onBody:function(_23){this.click(_23)},onMouse:function(_24){var _25=this;_25.vj$.VjCookieJar.writeCookielet("ebay","psi",_25.cfg.psi);vjo.evt.detach(_25,_25.body,"mousedown",_25.onMouse);vjo.log("debug","psi",_25.cfg.psi)},onClick:function(msg){var _27=msg.click;if(_27)this.click(_27)},onTrack:function(msg){var _29=msg.trksid;if(_29)this.track(_29)},onRover:function(msg){var _2b=
this;var href=vjo.utl.getUriBuilder(_2b.cfg.rover.concat(msg.href));href.params["trknvp"]=href.encodeParams(msg.params);href.params["ts"]=(new Date).valueOf().toString();_2b.image.src=href.getUri();vjo.log("debug",msg.href,href.params["trknvp"])}}).props({click:function(_2c){vjo.svc.sendRequest("PageTracker.Click",{click:_2c})},track:function(_2d){vjo.svc.sendRequest("PageTracker.Track",{trksid:_2d})},rover:function(_2e){vjo.svc.sendRequest("PageTracker.Rover",{href:"/roverclk/0/0/9",params:_2e})},
impress:function(imp,_30){vjo.svc.sendRequest("PageTracker.Rover",{href:"/roverimp/0/0/9/?imp=".concat(imp),params:_30})}}).inits(function(){vjo.trk=this}).endType();
vjo.ctype("vjo.darwin.domain.jaguar.page.PageRtmHandler").protos({constructs:function(_1){var _2=this;_2.cfg=_1;vjo.reg.register(_2,document.body);vjo.log("debug","PageRtmHandler",_1.mode);vjo.evt.attach(_2,window,"load",_2.onLoad);if(_1.mode==2)vjo.evt.attach(_2,document.body,"load",_2.onRequest);else if(_1.mode==3)vjo.evt.attach(_2,window,"load",_2.onRequest);vjo.svc.addReqtHandler(_2,_2.onComplete,"RTM_COMPLETE")},onLoad:function(_3){var _4=this;_4.loaded=true;vjo.log("debug","PageRtmHandler onLoad");
if(_4.complete)_4.onPublish()},onRequest:function(_5){vjo.log("debug","PageRtmHandler onRequest");vjo.svc.sendRequest("RTM_REQUEST_ADS")},onComplete:function(_6){var _7=this;_7.complete=true;vjo.log("debug","PageRtmHandler onComplete",_7.cfg.pids);if(_7.loaded)_7.onPublish()},onPublish:function(){vjo.log("debug","PageRtmHandler onPublish",this.cfg.pids);vjo.svc.sendRequest("RTM_LOAD_PIDS",{pids:this.cfg.pids});vjo.svc.sendRequest("RTM_PUBLISHED")}}).endType();
vjo.ctype("vjo.dsf.Json").endType();
if(!this.JSON)JSON=function(){function f(n){return n<10?"0"+n:n}function quote(string){escapeable.lastIndex=0;return escapeable.test(string)?'"'+string.replace(escapeable,function(a){var c=meta[a];if(typeof c==="string")return c;return"\\u"+("0000"+(+a.charCodeAt(0)).toString(16)).slice(-4)})+'"':'"'+string+'"'}function str(key,holder){var i;var k;var v;var length;var mind=gap;var partial;var value=holder[key];if(value&&typeof value==="object"&&typeof value.toJSON==="function")value=value.toJSON(key);
if(typeof rep==="function")value=rep.call(holder,key,value);switch(typeof value){case "string":return quote(value);case "number":return isFinite(value)?String(value):"null";case "boolean":case "null":return String(value);case "object":if(!value)return"null";gap+=indent;partial=[];if(typeof value.length==="number"&&!value.propertyIsEnumerable("length")){length=value.length;for(i=0;i<length;i+=1)partial[i]=str(i,value)||"null";v=partial.length===0?"[]":gap?"[\n"+gap+partial.join(",\n"+gap)+"\n"+mind+
"]":"["+partial.join(",")+"]";gap=mind;return v}if(rep&&typeof rep==="object"){length=rep.length;for(i=0;i<length;i+=1){k=rep[i];if(typeof k==="string"){v=str(k,value,rep);if(v)partial.push(quote(k)+(gap?": ":":")+v)}}}else for(k in value)if(Object.hasOwnProperty.call(value,k)){v=str(k,value,rep);if(v)partial.push(quote(k)+(gap?": ":":")+v)}v=partial.length===0?"{}":gap?"{\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"}":"{"+partial.join(",")+"}";gap=mind;return v}}Date.prototype.toJSON=function(key){return this.getUTCFullYear()+
"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z"};var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;var escapeable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;var gap;var indent;var meta={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};
var rep;return{stringify:function(value,replacer,space){var i;gap="";indent="";if(typeof space==="number")for(i=0;i<space;i+=1)indent+=" ";else if(typeof space==="string")indent=space;rep=replacer;if(replacer&&typeof replacer!=="function"&&(typeof replacer!=="object"||typeof replacer.length!=="number"))throw new Error("JSON.stringify");return str("",{"":value})},parse:function(text,reviver){function walk(holder,key){var k;var v;var value=holder[key];if(value&&typeof value==="object")for(k in value)if(Object.hasOwnProperty.call(value,
k)){v=walk(value,k);if(v!==undefined)value[k]=v;else delete value[k]}return reviver.call(holder,key,value)}var j;cx.lastIndex=0;if(cx.test(text))text=text.replace(cx,function(a){return"\\u"+("0000"+(+a.charCodeAt(0)).toString(16)).slice(-4)});if(/^[\],:{}\s]*$/.test(text.replace(/\\["\\\/bfnrtu]/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){j=eval("("+text+")");return typeof reviver==="function"?walk({"":j},""):j}throw new SyntaxError("JSON.parse");
}}}();
vjo.ctype("vjo.dsf.utils.Object").props({hitch:function(_1,_2){var _3;if(typeof _2=="string")_3=_1[_2];else _3=_2;return function(){return _3.apply(_1,arguments)}},extend:function(_4,_5){function inheritance(){}inheritance.prototype=_5.prototype;_4.prototype=new inheritance;_4.prototype.constructor=_4;_4.baseConstructor=_5;_4.superClass=_5.prototype}}).endType();
vjo.ctype("vjo.dsf.Enc").props({unescape:vjo.NEEDS_IMPL,decodeURI:vjo.NEEDS_IMPL,decodeURIComponent:vjo.NEEDS_IMPL,encodeURIComponent:vjo.NEEDS_IMPL,encodeURI:vjo.NEEDS_IMPL}).inits(function(){vjo.dsf.Enc.unescape=window.unescape;vjo.dsf.Enc.decodeURI=window.decodeURI;vjo.dsf.Enc.decodeURIComponent=window.decodeURIComponent;vjo.dsf.Enc.encodeURIComponent=window.encodeURIComponent;vjo.dsf.Enc.encodeURI=window.encodeURI}).endType();
vjo.ctype("vjo.dsf.utils.UriBuilder").needs("vjo.dsf.Enc").props({meta:function(_1,_2){var _3=document.getElementsByTagName("meta");for(var _4=0;_4<_3.length;_4++)if(_3[_4].getAttribute(_1)==_2)return _3[_4];return null}}).protos({constructs:function(_5,_6){this.parse(_5,_6)},parse:function(_7,_8){this.uri=_7;this.params=new Object;var _9=this.uri.match(this.uriMatch);if(_9==null)return;this.protocol=this.match(_9,2);this.host=this.match(_9,3);this.port=this.match(_9,5);this.href=this.match(_9,6);
this.query=this.match(_9,8);if(_8)this.decodeSeo();if(this.href.match(/eBayISAPI.dll/i))this.parseIsapi(this.query);else this.parseQuery(this.query);this.href=this.decodeUri(this.href);this.hash=this.match(_9,10)},match:function(_a,_b){return _a.length>_b&&_a[_b]?_a[_b]:""},parseQuery:function(_c){this.decodeParams(_c)},parseIsapi:function(_d){var _e=_d?_d.split("&"):new Array;this.isapi=_e.shift();this.query=_e.join("&");this.decodeParams(this.query)},appendParam:function(_f,_10,_11){_11=_11?_11:
this.params;if(_11[_f]==null)_11[_f]=_10;else if(typeof _11[_f]=="object")_11[_f].push(_10);else _11[_f]=new Array(_11[_f],_10)},appendParams:function(_12){for(var _13 in _12){var _14=_12[_13];if(typeof _14!="object")this.appendParam(_13,_14);else for(var idx=0;idx<_14.length;idx++)this.appendParam(_13,_14[idx])}},decodeParams:function(_16){var _17=_16?_16.split("&"):new Array;for(var idx=0;idx<_17.length;idx++){var _19=_17[idx].split("=");var name=this.decodeParam(_19[0]);var _1a=_19.length>1?this.decodeParam(_19[1].replace(/\+/g,
"%20")):"";this.appendParam(name,_1a)}},encodeParams:function(_1b){var _1c=new Array;_1b=_1b?_1b:this.params;for(var _1d in _1b)if(typeof _1b[_1d]!="object")_1c.push(this.encodeParam(_1d).concat("=",this.encodeParam(_1b[_1d])));else for(var idx=0;idx<_1b[_1d].length;idx++)_1c.push(this.encodeParam(_1d).concat("=",this.encodeParam(_1b[_1d][idx])));return _1c.join("&")},decodeSeo:function(){var _1f=this.href.match(/(.*)_W0QQ(.*)/);if(_1f==null)return;this.href=_1f[1];var _20=_1f[2].split("QQ");for(var idx=
0;idx<_20.length;idx++){var _22=_20[idx].split("Z");var _23=this.decodeParam(_22[0].replace(this.seoParam,"%$1"));var _24=_22.length>1?this.decodeParam(_22[1].replace(this.seoParam,"%$1")):"";this.appendParam(_23,_24)}},decodeForm:function(_25){var _26=new Object;var _27=_25.elements;for(var idx=0;idx<_27.length;idx++){var _29=_27[idx];if(_29.disabled)continue;var _2a=_29.type;var name=_29.name;var _2b=_29.value;if(_2a.match(/text|hidden|textarea|password|file/))this.appendParam(name,_2b,_26);else if(_2a.match(/radio|checkbox/)&&
_29.checked)this.appendParam(name,_2b,_26);else if(_2a.match(/select-one|select-multiple/))this.appendSelect(_29,_26)}return _26},appendSelect:function(_2c,_2d){var _2e=_2c.options;for(var idx=0;idx<_2e.length;idx++)if(_2e[idx].selected)this.appendParam(_2c.name,_2e[idx].value,_2d)},getUri:function(){var uri=this.protocol?this.protocol.concat("://"):"";if(this.host)uri=uri.concat(this.host);if(this.port)uri=uri.concat(":",this.port);if(this.href)uri=uri.concat(this.encodeUri(this.href));if(this.isapi)uri=
uri.concat("?",this.isapi);var _31=this.encodeParams(this.params);if(_31)uri=uri.concat(this.isapi?"&":"?",_31);if(this.hash)uri=uri.concat("#",this.hash);return this.uri=uri}}).inits(function(){var _32=vjo.dsf.utils.UriBuilder.meta("http-equiv","Content-Type")||vjo.dsf.utils.UriBuilder.meta("httpEquiv","Content-Type");var _33=_32?_32.getAttribute("content"):null;this.prototype.encodeUri=_33&&_33.match(/utf/gi)?vjo.dsf.Enc.encodeURI:window.escape;this.prototype.decodeUri=_33&&_33.match(/utf/gi)?vjo.dsf.Enc.decodeURI:
window.unescape;this.prototype.encodeParam=_33&&_33.match(/utf/gi)?vjo.dsf.Enc.encodeURIComponent:window.escape;this.prototype.decodeParam=_33&&_33.match(/utf/gi)?vjo.dsf.Enc.decodeURIComponent:window.unescape;this.prototype.uriMatch=new RegExp("(([^:]*)://([^:/?]*)(:([0-9]+))?)?([^?#]*)([?]([^#]*))?(#(.*))?");this.prototype.seoParam=new RegExp("Q([0-9a-fA-F][0-9a-fA-F])","g")}).endType();
vjo.ctype("vjo.dsf.client.Browser").props({init:function(){function has(_2,_3){return _2.indexOf(_3)!=-1}this.bFirefox=this.bWebTV=this.bOpera=this.bNav=this.bIE=this.bSafari=this.bWin=this.bMac=this.bMacppc=this.bMactel=this.bActiveXSupported=this.bWinXp=this.bXpSp2=this.bAOL=this.bVista=false;this.bChrome=false;this.iVer=this.fVer=-1;this.fMinorVer=0;this.aMimeTypes=null;var nv=navigator;var agt=nv.userAgent.toLowerCase();var i=0;var ver;with(this){if(has(agt,"webtv")){bWebTV=true;i=agt.indexOf("webtv/")+
6}else if(has(agt,"firefox")){bFirefox=true;i=agt.lastIndexOf("firefox")+8}else if(has(agt,"chrome")){bChrome=true;i=agt.indexOf("chrome")+7}else if(has(agt,"safari")){bSafari=true;i=agt.lastIndexOf("safari")+7}else if(typeof window.opera!="undefined"){bOpera=true;i=agt.lastIndexOf("opera")+6}else if(nv.appName=="Netscape"){bNav=true;i=agt.lastIndexOf("/")+1}else if(has(agt,"msie")){bIE=true;i=agt.indexOf("msie")+4;if(has(agt,"aol")||has(agt,"america online"))bAOL=true}ver=bOpera?window.opera.version():
agt.substring(i);iVer=parseInt(ver);fVer=parseFloat(ver);fMinorVer=fVer-iVer;bWin=has(agt,"win");bWinXp=bWin&&has(agt,"windows nt 5.1");bVista=bWin&&has(agt,"windows nt 6.0");bXpSp2=bWinXp&&has(agt,"sv1");bMac=has(agt,"mac");bMacppc=bMac&&(has(agt,"ppc")||has(agt,"powerpc"));bMactel=bMac&&has(agt,"intel");aMimeTypes=nv.mimeTypes;bActiveXSupported=!(bMac||bMacppc)&&typeof ActiveXObject=="function"}}}).inits(function(){this.init()}).endType();
vjo.ctype("vjo.darwin.domain.jaguar.page.PageUtils").needs(["vjo.dsf.Json","vjo.dsf.utils.Object","vjo.dsf.utils.UriBuilder","vjo.dsf.client.Browser","vjo.dsf.cookie.VjCookieJar"]).props({reload:function(_1){var _2=this.vj$.Browser.bIE;if(!_2){document.location.href=_1;return false}var _3=document.body.appendChild(document.createElement("a"));vjo.evt.attach(this,_3,"click",this.stop);_3.href=_1;_3.click();return false},stop:function(_4){vjo.evt.stopPropagation(_4)},replace:function(_5){var _6=this.getUriBuilder(_5);
var _7=_6.params["hash"];_6.hash=_7?_7:"";delete _6.params["hash"];_6.params["_adr"]="1";this.reload(_6.getUri())},serialize:function(_8){try{return JSON.stringify(_8?_8:{})}catch(except){return"{}"}},deserialize:function(_9){try{return _9?JSON.parse(_9):{}}catch(except){return{}}},cloneObject:function(_a){return this.deserialize(this.serialize(_a))},setTimeout:function(_b,_c,_d){return window.setTimeout(function(){_c.call(_b)},_d)},setInterval:function(_e,_f,_10){return window.setInterval(function(){_f.call(_e)},
_10)},getHash:function(_11){_11=_11.match("(#)?(.*)")[2];return encodeURIComponent(decodeURIComponent(_11))},getState:function(_12){_12=_12.match("(#)?(.*)")[2];if(_12.match(/^(%7B.*%7D|{%.*})$/))return this.decodeState(_12);else if(_12.match(/^{.*}$/))return this.deserialize(_12);else return null},decodeState:function(_13){return this.deserialize(decodeURIComponent(_13))},encodeState:function(_14){return encodeURIComponent(this.serialize(_14))},getTag:function(_15,tag,_17){var _18=_15.getElementsByTagName(tag);
_17=_17?_17:"";var ndx=0;for(var num=_18.length;ndx<num&&!_18[ndx].className.match(_17);ndx++);return ndx<num?_18[ndx]:null},getTags:function(_1a,tag,_1c){var _1d=[];var elems=_1a.getElementsByTagName(tag);_1c=_1c?_1c:"";var ndx=0;for(var num=elems.length;ndx<num&&(_1a=elems[ndx]);ndx++)if(_1a.className.match(_1c))_1d.push(_1a);return _1d},getAncestor:function(_1f,tag,_21){for(;_1f&&_1f.tagName&&!_1f.tagName.match(tag)&&!_1f.className.match(_21);)_1f=_1f.parentNode;return _1f&&_1f.tagName&&_1f.className.match(_21)?
_1f:null},offsetTop:function(_22,_23){for(var _24=0;_22&&_22!==_23;_22=_22.offsetParent)_24+=_22.offsetTop;return _24},offsetLeft:function(_25,_26){for(var _27=0;_25&&_25!==_26;_25=_25.offsetParent)_27+=_25.offsetLeft;return _27},create:function(tag,_29){var _2a=document.createElement(tag);if(_29)_2a.className=_29;return _2a},contains:function(_2b,_2c){for(;_2c&&_2c!=_2b&&_2c.parentNode;)_2c=_2c.parentNode;return _2c==_2b},text:function(_2d){return _2d.textContent?_2d.textContent:_2d.innerText},trim:function(_2e){return _2e?
_2e.replace(/(^\s*)|(\s*$)/g,""):""},getBaseUri:function(_2f,_30){var uri=this.getUriBuilder(_2f,_30);uri.host="";uri.protocol="";uri.port="";uri.hash="";return uri},getUriBuilder:function(uri,_33){return new this.vj$.UriBuilder(uri,_33)}}).inits(function(){vjo.utl=this;if(document.all)this.style=function(_34,_35){return _34.currentStyle[_35.replace(/(-[a-z])/g,function($1){return $1.substring(1).toUpperCase()})]};else if(window.getComputedStyle)this.style=function(_37,_38){return window.getComputedStyle(_37,
null).getPropertyValue(_38)};else this.style=function(_39,_3a){return null}}).endType();
vjo.ctype("vjo.darwin.domain.jaguar.page.V4DomainRequest").needs(["vjo.dsf.client.Browser","vjo.dsf.Message"]).props({callbacks:[],sCallbackName:"callback",sPreId:"xdr_",sPreExtId:"xdr_ext_",iCount:0,bUseIframe:navigator.userAgent.indexOf("Firefox")>0,bodyLoaded:false,onLoad:function(){this.bodyLoaded=true},getReqDiv:function(){return document.getElementsByTagName(this.bodyLoaded?"body":"head")[0]},send:function(_1){if(!document.createElement||!_1)return;var _2="";var eid="";var rdm="_vrdm="+(new Date).getTime();
if(typeof _1=="string"){_2=_1;eid=this.sPreExtId+this.iCount++}else if(_1.objType=="dsf_Message"&&_1.svcConfig){var cb=this.createCallback(_1);eid=this.sPreId+this.callbacks[this.callbacks.length-1];_2=_1.svcConfig.url+"&callback="+cb}var _4=null;var doc;doc=document;var _5=this.createElement("script");_5.async=true;_5.defer=true;_5.id=eid;_5.type="text/javascript";var _6=true;if(arguments.length>1)_6=arguments[1];if(_6)_2=_2+(_2.indexOf("?")==-1?"?":"&")+rdm;_5.src=_2;if(window.jsRel&&"clu"==window.jsRel.type&&
!(vjo.dsf.client.Browser.bFirefox||vjo.dsf.client.Browser.bChrome)){var _7=this;window.setTimeout(function(){_7.getReqDiv().appendChild(_5)},0)}else if(!this.bodyLoaded&&window.jsRel&&window.jsRel.mrcowl){var _8=this;vjo.evt.attach(_8,window,"load",function(){_8.getReqDiv().appendChild(_5)})}else this.getReqDiv().appendChild(_5);return eid},createCallback:function(_9){var _a=this.callbacks.length;var name=this.sCallbackName+_a;var eid=this.sPreId+name;this.callbacks[_a]=name;this[name]=function(_b){vjo.dsf.XDomainRequest.loaded(eid);
_9.response=_b;vjo.dsf.ServiceEngine.handleResponse(_9)};var _c="";var rv=(_c?_c+".":"")+"vjo.dsf.XDomainRequest."+name;return rv},loaded:function(_d){var e=document.getElementById(_d);if(e!==null)e.parentNode.removeChild(e)},createElement:function(_f){return typeof createElementV4!="undefined"?createElementV4(_f):document.createElement(_f)}}).protos({handleRequest:function(_10,_11){vjo.dsf.XDomainRequest.send(_10)}}).inits(function(){if(vjo.alias)vjo.alias(this,"vjo.dsf.XDomainRequest");else{vjo.ctype("vjo.dsf.XDomainRequest").endType();
vjo.dsf.XDomainRequest=this}vjo.reg.register(this,document.body);vjo.evt.attach(this,window,"load",this.onLoad)}).endType();
vjo.ctype("vjo.darwin.domain.jaguar.page.V4ServiceEngine").needs("vjo.darwin.domain.jaguar.page.PageServiceEngine").props({handler:function(_1,_2){var _3=_1[_2];if(typeof _3=="function")return _1;var _4=this;var func=_1;_1={};_1[_2]=function(){func.apply(_4,arguments)};return _1},register:function(_5,_6,_7){var _8=vjo.dsf.ServiceEngine;switch(_5){case 0:_8.registerSvcHdl(_6,_7);break;case 1:_8.registerSvcReqtHdl(_6,_7);break;case 2:_8.registerGlbReqtHdl(_6);break;case 3:_8.registerTrspReqtHdl(_6,
_7);break;case 4:_8.registerSvcRespHdl(_6,_7);break;case 5:_8.registerGlbRespHdl(_6);break;case 6:_8.registerTrspRespHdl(_6,_7);break}},registerSvcHdl:function(_9,_a){_a=this.handler(_a,"invoke");vjo.svc.addReqtHandler(_a,_a.invoke,_9,document.body)},registerSvcReqtHdl:function(_b,_c){_c=this.handler(_c,"handleRequest");vjo.svc.addReqtHandler(_c,_c.handleRequest,_b,document.body)},registerGlbReqtHdl:function(_d){_d=this.handler(_d,"handleRequest");vjo.svc.addReqtHandler(_d,_d.handleRequest,"",document.body,
true)},registerTrspReqtHdl:function(_e,_f){_f=this.handler(_f,"handleRequest");vjo.svc.addReqtHandler(_f,_f.handleRequest,_e,document.body)},registerSvcRespHdl:function(_10,_11){_11=this.handler(_11,"handleResponse");vjo.svc.addRespHandler(_11,_11.handleResponse,_10,document.body)},registerGblRespHdl:function(_12){_12=this.handler(_12,"handleResponse");vjo.svc.addRespHandler(_12,_12.handleResponse,"",document.body,true)},registerTrspRespHdl:function(_13,_14){_14=this.handler(_14,"handleResponse");
vjo.svc.addRespHandler(_14,_14.handleResponse,_13,document.body)},handleRequest:function(_15){vjo.svc.handleRequest(_15);vjo.svc.handleResponse(_15);return _15.returnData},handleResponse:function(_16){return vjo.svc.handleResponse(_16)}}).inits(function(){if(vjo.alias)vjo.alias(this,"vjo.dsf.ServiceEngine");else{vjo.ctype("vjo.dsf.ServiceEngine").endType();vjo.dsf.ServiceEngine=this}vjo.reg.register(this,document.body)}).endType();
vjo.ctype("vjo.darwin.domain.jaguar.page.V4EventDispatcher").needs("vjo.darwin.domain.jaguar.page.PageEventDispatcher").props({get:function(_1){if(_1=="body")return document.body;else if(typeof _1=="string")return vjo.get(_1);else return _1},add:function(_2,_3,_4,_5){var _6=this;_5=_5||_6;_2=_6.get(_2);if(typeof _4.handle=="function")return this.addEventHandler(_2,_3,_4.handle,_4);else return this.addEventHandler(_2,_3,_4,_5)},addEventHandler:function(_7,_8,_9,_a){var _b=this;_a=_a||_b;_7=_b.get(_7);
var _c=function(_d){return _b.dispatchEventHandler(_d,_a,_9,_7)};_c.handler=_9;return vjo.evt.attach(_a!==window?_a:this,_7,_8,_c)},dispatchEventHandler:function(_e,_f,_10,_11){var _12=_10.call(_f,new this.event(_11,_e.type,_e));if(_12&&_12.objType&&_12.objType.match(/dsf_Message/))_12=vjo.svc.handleRequest(_12);if(vjo.isDefined(_12))return _12},addEventListener:function(_13,_14,_15,_16){var _17=this;_16=_16||_17;_13=_17.get(_13);var _18=function(_19){return _17.dispatchEventListener(_19,_16,_15)};
_18.handler=_15;return vjo.evt.attach(_16!==window?_16:this,_13,_14,_18)},removeEventListener:function(_1a,_1b,_1c){this.detachHandler(_1a,_1b,_1c)},dispatchEventListener:function(_1d,_1e,_1f){var _20=_1f.call(_1e,_1d);if(_20&&_20.objType&&_20.objType.match(/dsf_Message/))_20=vjo.svc.handleRequest(_20);if(vjo.isDefined(_20))return _20},detachHandler:function(_21,_22,_23){var _24=this;_21=_24.get(_21);if(_21==null)return;var eid=vjo.reg.getEid(_21);var handlers=vjo.evt.elems[eid];if(!handlers||_22&&
!handlers[_22])return;handlers=handlers[_22];for(var idx=handlers.length;idx>0;idx--)if(handlers[idx-1].func.handler==_23)_24.detachElementHandler(_21,handlers[idx-1])},detachHandlers:function(_27,_28){var _29=this;_27=_29.get(_27);if(_27==null)return;var eid=vjo.reg.getEid(_27);var handlers=vjo.evt.elems[eid];if(!handlers||_28&&!handlers[_28])return;if(_28)_29.detachElementHandlers(_27,handlers[_28]);else for(_28 in handlers)_29.detachElementHandlers(_27,handlers[_28])},detachElementHandlers:function(_2b,
_2c){for(var idx=_2c.length;idx>0;idx--)this.detachElementHandler(_2b,_2c[idx-1])},detachElementHandler:function(_2e,_2f){if(_2f.elem==_2e)vjo.evt.detachHandler(_2f)},detachNativeHandlers:function(_30,_31){this.detachHandlers(_30,_31)},unregister:function(id,_33){var _34=id=="body"?document.body:vjo.get(id);if(_34)this.detachHandlers(_34,_33)},reBind:function(){},event:function(src,_36,_37){this.src=src;this.eventType=_36;this.nativeEvent=_37},target:function(_38){return vjo.evt.target(_38)},relatedTarget:function(_39){return vjo.evt.related(_39)},
stopEvent:function(_3a){vjo.evt.stopEvent(_3a)},stopPropagation:function(_3b){vjo.evt.stopPropagation(_3b)},preventDefault:function(_3c){vjo.evt.stopDefault(_3c)},load:function(_3d,_3e){if(this.loaded&&!_3e)return;else this.loaded=true;vjo.evt.fireEvent(_3d,"load");this.detachHandlers(_3d,"load")}}).inits(function(){if(vjo.alias)vjo.alias(this,"vjo.dsf.EventDispatcher");else{vjo.ctype("vjo.dsf.EventDispatcher").endType();vjo.dsf.EventDispatcher=this}this.nativeEventHandlers=vjo.evt.elems;vjo.reg.register(this,
document.body)}).endType();
vjo.ctype("vjo.dsf.Element").props({get:function(_1){return document.getElementById(_1)},toggleHideShow:function(_2,_3){var e=this.get(_2);var s;var d;var u="undefined";if(e){s=e.style;d=s.display;if(typeof _3===u)_3=d===""||d==="block"?false:true;e.bIsShown=_3;s.display=_3?"block":"none"}},promoteToBody:function(_5){var e=this.get(_5);var b=document.body;if(e&&b&&e.parentNode&&e.parentNode!==b){e.parentNode.removeChild(e);b.appendChild(e)}},toggleVisibility:function(_7,_8){var e=this.get(_7);var v;
var s;var u="undefined";if(e){s=e.style;v=s.visibility;if(typeof _8===u)_8=v===""?false:true;e.bIsVisible=_8;s.visibility=_8?"":"hidden"}},enable:function(_a,_b){var e=this.get(_a);if(e)e.disabled=!_b},left:function(_d,_e){return this.setLTWH(_d,_e,"Left")},top:function(_f,_10){return this.setLTWH(_f,_10,"Top")},width:function(_11,_12){return this.setLTWH(_11,_12,"Width")},height:function(_13,_14){return this.setLTWH(_13,_14,"Height")},setLTWH:function(_15,_16,_17){var e=this.get(_15);if(e){if(_16!=
null&&!isNaN(parseInt(_16)))e.style[_17.toLowerCase()]=_16;return e["offset"+_17]}},createElement:function(_19){return document.standardCreateElement?document.standardCreateElement(_19):document.createElement(_19)},containsElement:function(_1a,_1b){for(;_1b!=null&&_1b!=_1a&&_1b.parentNode!=null;)_1b=_1b.parentNode;return _1b==_1a},getElementByTagClass:function(_1c,tag,_1e){var _1f=_1c.getElementsByTagName(tag);for(var ndx=0;ndx<_1f.length&&_1f[ndx].className.match(_1e)==null;ndx++);return ndx<_1f.length?
_1f[ndx]:null},getElementsByTagClass:function(_21,tag,_23){var _24=new Array;var _25=_21.getElementsByTagName(tag);for(var ndx=0;ndx<_25.length;ndx++)if(_25[ndx].className.match(_23))_24.push(_25[ndx]);return _24},toggleHideShowRow:function(_27,_28){var e=this.get(_27);var ua=navigator.userAgent.toLowerCase();var s;var d;var u="undefined";var p=ua.indexOf("firefox")!=-1?"table-row":"block";if(e){s=e.style;d=s.display;if(typeof _28===u)_28=d===""||d===p?false:true;e.bIsShown=_28;s.display=_28?p:"none"}}}).endType();
vjo.ctype("vjo.dsf.error.Error").protos({constructs:function(_1,_2,_3){this.message=_1;this.url=_2;this.lineNumber=_3;this.userAgent=navigator.userAgent}}).endType();
vjo.ctype("vjo.dsf.error.ErrorHandlerManager").needs("vjo.dsf.error.Error").props({dsfErrors:[],handlers:[],add:function(_1,_2,_3){this.dsfErrors[this.dsfErrors.length]=new vjo.dsf.error.Error(_1,_2,_3);return true},convertErrorTo:function(_4){var _5=_4?"<br>":"\n";var _6=_4?"<html><title>":"";var _7=_4?"</title><body>":_5;var _8=_4?"</body></html>":"";var _9=_4?"<h2>":"";var _a=_4?"</h2>"+_5:_5;var _b=_4?"<b>":"";var _c=_4?"</b>":"";var _d=_6+"V4 JS Errors"+_7;_d+=_9+"Total number of errors = "+
this.dsfErrors.length+_a;for(var i=0;i<this.dsfErrors.length;i++){_d+=_b+"Message: "+_c+this.dsfErrors[i].message;_d+=_5;_d+=_b+"URL :"+_c+this.dsfErrors[i].url;_d+=_5;_d+=_b+"Line Number :"+_c+this.dsfErrors[i].lineNumber;_d+=_5;_d+=_b+"User Agent :"+_c+this.dsfErrors[i].userAgent;_d+=_5;_d+=_5}_d+=_8;return _d},toHTML:function(){return this.convertErrorTo(true)},toText:function(){return this.convertErrorTo(false)},show:function(){var _f=window.open("","V4JSErrors","height=500,width=500,menubar=no,status=no,scrollbars=yes");
if(window.focus)_f.focus();_f.document.write(this.toHTML());_f.document.close()},register:function(_10){if(!_10)return this;if(typeof _10!="object")return this;this.handlers[this.handlers.length]=_10;return _10},clear:function(){this.handlers.length=0},process:function(_11,_12,_13){for(var i=0;i<this.handlers.length;i++)this.handlers[i].handle(_11,_12,_13)},enableOnError:function(_15,_16){if(typeof _15=="undefined")_15=true;window.onerror=function(_17,url,_19){var _1a=_16?true:false;_17=_1a?vjo.dsf.error.ErrorHandlerManager.stackTrace():
_17;vjo.dsf.error.ErrorHandlerManager.process(_17,url,_19);return _15}},stackTrace:function(){var msg;var err=this.errorObj();if(err.stack)msg=this.stackTraceByError(err);else msg=this.stackTraceByCallee(arguments.callee);return msg},errorObj:function(){try{var err=$undefined$<<1}catch(e){return e}},stackTraceByError:function(e){var _1f=e.stack.split("\n");_1f[0]=_1f[1]="";return _1f.join().substring(2)},stackTraceByCallee:function(_20){var _21="?";var fnRE=/function\s*([\w\-$]+)?\s*\(/i;var stack=
[];var j=0;var fn;var args;var _22=10;for(_20=_20.caller;_20&&stack.length<_22;){fn=fnRE.test(_20.toString())?RegExp.$1||_21:_21;if(fn==_21&&_20._name)fn=_20._name;args=Array.prototype.slice.call(_20["arguments"]);stack[j++]=fn+"("+this.argumentsAsString(args)+")";_20=_20.caller}return stack},argumentsAsString:function(_23){for(var i=0;i<_23.length;++i){var arg=_23[i];if(arg===undefined)_23[i]="undefined";else if(arg===null)_23[i]="null";else if(arg.constructor)if(arg.constructor===Array)if(arg.length<
3)_23[i]="["+this.argumentsAsString(arg)+"]";else _23[i]="["+this.argumentsAsString(Array.prototype.slice.call(arg,0,1))+"..."+this.argumentsAsString(Array.prototype.slice.call(arg,-1))+"]";else if(arg.constructor===Object)_23[i]="#object";else if(arg.constructor===Function)_23[i]="#function";else if(arg.constructor===String)_23[i]='"'+arg+'"'}return _23.join(",")}}).endType();
vjo.ctype("vjo.dsf.error.DefaultErrorHandler").needs("vjo.dsf.error.ErrorHandlerManager","M").protos({constructs:function(){},handle:function(_1,_2,_3){this.vj$.M.add(_1,_2,_3)}}).endType();
vjo.ctype("vjo.dsf.utils.Handlers").needs(["vjo.dsf.EventDispatcher","vjo.dsf.Message","vjo.dsf.ServiceEngine"]).props({ED:vjo.dsf.EventDispatcher,SE:vjo.dsf.ServiceEngine,attachEvt:function(_1,_2,_3,_4){return this.ED.addEventListener(_1,_2,_3,_4)},detachEvt:function(_5,_6,_7){this.ED.removeEventListener(_5,_6,_7);return true},newMsg:function(_8){return new vjo.dsf.Message(_8)},handle:function(_9){this.SE.handleRequest(_9)},createHdl:function(_a,_b,_c){var _d=_a;var hdl={};hdl[_c]=function(){_b.apply(_d,
arguments)};return hdl},attachSvc:function(_e,_f,_10){var t=this;var hdl=t.createHdl(_10,_f,"invoke");if(t.SE&&hdl)t.SE.registerSvcHdl(_e,hdl)},attachSvcReqt:function(_12,_13,_14){var t=this;var hdl=t.createHdl(_14,_13,"handleRequest");if(t.SE&&hdl)t.SE.registerSvcReqtHdl(_12,hdl)},attachSvcResp:function(_16,_17,_18){var t=this;var hdl=t.createHdl(_18,_17,"handleResponse");if(t.SE&&hdl)t.SE.registerSvcRespHdl(_16,hdl)},resetSvc:function(_1a){this.SE.inProcHdl.svcHdls[_1a]=[]},resetSvcReqt:function(_1b){this.SE.svcReqtHdls[_1b]=
[]},resetSvcResp:function(_1c){this.SE.svcRespHdls[_1c]=[]}}).endType();
vjo.itype("vjo.dsf.common.IJsHandler").protos({handle:function(_1){}}).endType();
vjo.ctype("vjo.darwin.domain.jaguar.SvcConfig").protos({objType:null,url:null,method:null,reqtMarshalling:null,respMarshalling:null,async:true,timeout:0,operationName:null,typeMappingClassName:null,constructs:function(_1,_2){this.objType="dsf_SvcConfig";this.svcType=null;this.url=_2;this.method=_1;this.reqtMarshalling="raw";this.respMarshalling="raw";this.async=true;this.timeout=0}}).inits(function(){if(!vjo.dsf.SvcConfig)vjo.dsf.SvcConfig=vjo.darwin.domain.jaguar.SvcConfig}).endType();
vjo.ctype("vjo.darwin.domain.jaguar.ServiceRegistry").props({t:[],b:[],getBinding:function(_1){return this.b[_1]},getTransport:function(_2){return this.t[_2]},registerBinding:function(_3,_4){var _5=false;if(_3&&_4){this.b[_3]=_4;_5=true}return _5},registerTransport:function(_6,_7){var _8=false;if(_6&&_7)if(null==this.t[_6]){this.t[_6]=_7;_8=true}return _8}}).inits(function(){if(!vjo.dsf.ServiceRegistry)vjo.dsf.ServiceRegistry=vjo.darwin.domain.jaguar.ServiceRegistry;if(!vjo.dsf.utils.Handlers){vjo.dsf.utils.Handlers=
vjo.dsf.EventDispatcher;var _9=vjo.dsf.utils.Handlers;_9.attachEvt=_9.addEventListener;_9.detachEvt=_9.removeEventListener}}).endType();
vjo.ctype("vjo.darwin.tracking.impression.Manager").needs(["vjo.dsf.cookie.VjCookieJar","vjo.dsf.EventDispatcher"]).protos({constructs:function(_1){if(!_1)return;var R=vjo.Registry;var id="_pim";var t=R.get(id);if(!t){t=this;t.vj$.EventDispatcher.add("body","mousedown",t.onMouseDown,t);R.put(id,t)}t.sID=_1},onMouseDown:function(){this.vj$.VjCookieJar.writeCookielet("ebay","psi",this.sID)}}).endType();
vjo.ctype("vjo.dsf.utils.URL").props({addArg:function(_1,_2,_3){if(_1==null||_1==undefined)return null;if(_1.indexOf("?")<0){_1+="?"+_2+"="+_3;return _1}var _4=this.getArgPairIfExists(_1,_2);if(_4!==null)_1=_1.replace(_4,_2+"="+_3);else _1+="&"+_2+"="+_3;return _1},getArg:function(_5,_6){if(_5==null||_5==undefined)return null;if(_5.indexOf("?")<0)return null;var _7=this.getArgPairIfExists(_5,_6);if(_7!==null)return _7.substring(_7.indexOf("=")+1);return null},getArgPairIfExists:function(_8,_9){var _a=
_8.indexOf("?");if(_a<0)return null;var _b=_8;var _c;for(var _d;_a>=0;){_b=_b.substring(_a+1);_c=_b;_a=_b.indexOf("&");if(_a>=0)_c=_b.substring(0,_a);_d=_c.substring(0,_c.indexOf("="));if(_d==_9)return _c}return null}}).endType();
vjo.ctype("vjo.dsf.document.Positioning").props({getScrollLeftTop:function(){var d=document;var rv=[0,0];var db=d.body;var 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;for(var l=0;e;){l+=e.offsetLeft;e=e.offsetParent}return l},getOffsetTop:function(_4){var e=_4;for(var t=0;e;){t+=e.offsetTop;e=e.offsetParent}return t},getClientWidth:function(){var s=self;var d=document;var de=d.documentElement;
var 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;var d=document;var de=d.documentElement;var 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";var evt=window.event||_8;var xOff=typeof screenLeft!=u?screenLeft:screenX;var yOff=typeof screenTop!=u?screenTop:screenY+(outerHeight-innerHeight)-
25;return[evt.screenX-xOff,evt.screenY-yOff]}}).endType();
vjo.ctype("vjo.dsf.utils.SiteSpeed").needs(["vjo.dsf.EventDispatcher","vjo.dsf.utils.URL","vjo.dsf.document.Positioning","vjo.dsf.error.ErrorHandlerManager","vjo.dsf.cookie.VjCookieJar"]).props({params:{},pload:function(){var _1=this.vj$.VjCookieJar;var sbf=_1.readCookie("ebay","sbf");_1.writeCookielet("ebay","sbf",_1.setBitFlag(sbf,20,1))},punload:function(){this.vj$.VjCookieJar.writeCookielet("ds2","ssts",(new Date).getTime())},addParam:function(_2,_3){if(_2&&_3)this.params[_2]=_3},getParams:function(){var rv=
"";for(var k in this.params)rv+="&"+k+"="+this.params[k];return rv},getParam:function(_6){return this.params[_6]},updateLoad:function(){if(typeof oGaugeInfo!="undefined"&&oGaugeInfo.ld===true){var g=oGaugeInfo;var ct=(new Date).getTime();g.wt=ct;g.ex3=ct;g.ct21=ct-g.iST}}}).inits(function(){ed=vjo.dsf.EventDispatcher;ed.addEventListener(window,"load",this.pload,this);ed.addEventListener(window,"beforeunload",this.punload,this)}).endType();
vjo.ctype("vjo.dsf.client.ActiveX").needs("vjo.dsf.client.Browser","B").props({isLibLoaded:function(_1){return this.vj$.B.bActiveXSupported&&this.isLoaded(_1)},isLoaded:function(_2){try{new ActiveXObject(_2);return true}catch(err){}return false}}).endType();
vjo.ctype("vjo.dsf.utils.Bit").needs("vjo.dsf.cookie.VjCookieJar").props({CJ:vjo.dsf.cookie.VjCookieJar,getMulti:function(_1,_2,_3){var r="";var i;var CJ=this.CJ;for(i=0;i<_3;i++)r=CJ.getBitFlag(_1,_2+i)+r;return parseInt(r,2)},setMulti:function(_5,_6,_7,_8){var i=0;var CJ=this.CJ;var v;var l;var e;v=_8.toString(2).substring(0,_7);l=v.length;if(l<_7){e=_7-l;for(var j=0;j<e;j++)v="0"+v;l=l+e}for(i=0;i<l;i++)_5=CJ.setBitFlag(_5,_6+i,v.substring(l-i-1,l-i));return _5}}).endType();
vjo.ctype("vjo.dsf.flash.Version").needs(["vjo.dsf.client.Browser","vjo.dsf.client.ActiveX","vjo.dsf.utils.Bit","vjo.dsf.cookie.VjCookieJar"]).props({versions:[10,9],get:function(){var t=this;var B=t.vj$.Browser;var v=0;var vs=t.versions;var i;var A=t.vj$.ActiveX;var cv;cv=t.rw(false);if(cv)return cv==1?0:cv;if(B.bIE&&B.bWin&&!B.bOpera)for(i=0;i<vs.length;i++){if(A.isLibLoaded("ShockwaveFlash.ShockwaveFlash."+vs[i])){v=vs[i];break}}else{var n=navigator;var pd;var id;var swf="Shockwave Flash";if(n.plugins[swf]){pd=
n.plugins[swf].description;id=pd.indexOf("Flash")+5;v=parseInt(pd.substr(id,pd.length))}if(B.bWebTV)v=3}t.rw(true,v);return v},rw:function(_3,_4){var t=this;var n=t.vj$;var C=n.VjCookieJar;var B=n.Bit;var cl=C.readCookie("ebay","sbf");if(!_3)return B.getMulti(cl,40,5);else if(_3){_4=_4==0?1:_4;C.writeCookielet("ebay","sbf",B.setMulti(cl,40,5,_4))}}}).endType();
vjo.ctype("vjo.dsf.utils.JsLoader").props({queue:[],pending:null,DEFAULT_TYPE:"text/javascript",load:function(_1,_2,_3,_4){this.fetch(_1,_2,_3,_4?_4:this.DEFAULT_TYPE)},loadText:function(_5){if(_5){var t=this;var _7=t.getHead();var stag=t.createScript();stag.type=t.DEFAULT_TYPE;stag.text=_5;_7.appendChild(stag)}},getHead:function(){return document.getElementsByTagName("head")[0]},createScript:function(){return document.createElement("script")},fetch:function(_8,_9,_a,_b){var _c={url:_8,callback:_9,
scope:_a};var head;var stag;var t=this;if(t.pending){t.queue.push(_c);return}this.pending=_c;head=t.getHead();stag=t.createScript();stag.onload=stag.onreadystatechange=function(){if(!this.readyState||this.readyState=="loaded"||this.readyState=="complete"){t.oncomplete();stag.onload=stag.onreadystatechange=null;head.removeChild(stag)}};stag.type=_b;stag.async=true;stag.defer=true;stag.src=_8;head.appendChild(stag)},oncomplete:function(){var t=this;var o=t.pending;if(o.callback)o.callback.call(o.scope||
window);t.pending=null;if(t.queue.length>0){var _f=this.queue.shift();t.load(_f.url,_f.callback,_f.scope)}}}).endType();
vjo.ctype("vjo.dsf.utils.CssLoader").props({load:function(_1){var d=document;if(d.createStyleSheet)d.createStyleSheet(_1);else{var _3=this.getHead();var style=d.createElement("link");style.rel="stylesheet";style.type="text/css";style.href=_1;_3.appendChild(style)}},getHead:function(){return document.getElementsByTagName("head")[0]},loadText:function(_4){var d=document;var style=d.createElement("style");style.type="text/css";if(style.styleSheet)style.styleSheet.cssText=_4;else style.appendChild(d.createTextNode(_4));
this.getHead().appendChild(style)}}).endType();
vjo.ctype("vjo.Registry").props({controls:[],put:function(_1,_2){this.controls[_1]=_2;if(this.isKeyValid(_1))this["_"+_1]=this.controls[_1];return this.controls[_1]},get:function(_3){return this.controls[_3]},dump:function(){var _4=this.controls;var _5="controls on page:\n";for(var i in _4){_5+="key = "+i;_5+="controlName = "+_4[i].objtype;_5+="\n"}return _5},isKeyValid:function(_7){if(typeof _7!="string")return false;return/^([a-zA-Z0-9_$]+)$/.test(_7)}}).endType();
vjo.ctype("vjo.darwin.core.rtm.RTM").needs(["vjo.dsf.utils.SiteSpeed","vjo.dsf.cookie.VjCookieJar","vjo.dsf.client.Browser","vjo.dsf.EventDispatcher","vjo.dsf.flash.Version","vjo.dsf.utils.JsLoader","vjo.dsf.utils.CssLoader","vjo.Registry","vjo.dsf.Message","vjo.dsf.Element","vjo.dsf.document.Positioning"]).protos({json:null,ads:{},aEvCon:{},bTimedOut:false,oTimeoutId:null,iTIMEOUT:3E3,bRespRet:false,bb:false,promos:new Object,response:null,bodyLoadedTime:0,bPromoScript:false,bPromoStyle:false,hasPromo:false,
ssGaugeVectors:{},hasReportAd:false,ReportAd:null,hasExpAds:false,ExpAd:null,hasAdSurvey:false,AdSurvey:null,E:vjo.dsf.Element,S:vjo.dsf.ServiceEngine,constructs:function(_1){var t=this;vjo.Registry.put("GlobalRtmInstance",t);vjo.dsf.EventDispatcher.add("body","load",t.render,t);t.S.registerSvcReqtHdl("RTM_LOAD_PIDS",t);t.json=_1;t.loadAds()},loadAds:function(){var t=this;var b=t.json;var i;var id;var ad;var n=b.pids.length;var as=b.hasSurvey;var ct=b.contentTypes;var dc=b.delayedContent;var ed=b.expandDirections;
var te=b.triggerEvent;for(i=0;i<n;i++){id=b.pids[i];ad={};t.ads[id]=ad;ad.id=id;ad.type=ct?ct[i]:null;ad.content="";if(dc&&dc[i])ad.content=dc[i];if(!ad.content)ad.type="";ad.width=b.widths[i];ad.height=b.heights[i];ad.triggerEvent=te?te[i]:null;ad.defaultURL=b.defaultUrls[i];ad.htmlID=b.htmlIds[i];if(ed&&ed[i]){ad.expand=ed[i];ad.maxExpandWidth=b.maxExpandWidths[i];ad.maxExpandHeight=b.maxExpandHeights[i];ad.st=b.expandSecurityTokens[i];ad.allowExpandOnPageLoad=b.allowExpandOnPageLoad[i];t.hasExpAds=
true}if(as&&as[i])t.hasAdSurvey=true;ad.showPH=b.showPH?b.showPH[i]:null;ad.dblclkURL=b.dblclkUrls[i]}},mergeAds:function(_5){var t=this;var i;var a;var ad;var id;var n=_5.length;var j;var m;var s;var l;for(i=0;i<n;i++){a=_5[i];id=a.id?a.id:a.pid;if(id){ad=t.ads[id];if(!ad){ad={};ad.id=id;t.ads[id]=ad}ad.type=a.type;ad.content=a.content?a.content:"";if(!ad.content)ad.type="";ad.width=a.width;ad.height=a.height;if(a.pid)ad.htmlID=a.htmlId;if(ad.content.indexOf("openReportAd")>0)t.hasReportAd=true;
if(a.expand){ad.expand=a.expand;ad.maxWidth=a.maxWidth;ad.maxHeight=a.maxHeight;ad.st=a.st;ad.allowExpandOnLoad=a.allowExpandOnLoad;t.hasExpAds=true}if(a.adSurvey)t.hasAdSurvey=true}else if(a.JSMetaData){l=t.vj$.JsLoader;m=a.JSMetaData;s=m.JSURLs;for(j in s)l.load(s[j]);s=m.EventHandlers;for(j in s)l.loadText(s[j])}else if(a.CSSMetaData){s=a.CSSMetaData.CSSURLs;for(j in s)t.vj$.CssLoader.load(s[j])}}},handleRequest:function(_7){var t=this;var m=_7;var x;var n=m.pids.length;var id;if(t.bb&&!m.fL)return;
t.loadExtJS();for(x=0;x<n;x++){id=m.pids[x];ad=t.ads[id];ad.triggerEvent=0;t.loadAd(ad)}},loadExtJS:function(){var t=this;var b=t.json;var l=t.vj$.JsLoader;if(t.hasReportAd&&!t.ReportAd)l.load(b.reportAdJsUrl);if(t.hasExpAds&&!t.ExpAd)l.load(b.expJsUrl);if(t.hasAdSurvey&&!t.AdSurvey)l.load(b.adSurveyJsUrl)},getFlashVersion:function(){return this.vj$.Version.get()},getEncodingType:function(){return"UTF-8"},setInlineContent:function(_a){var t=this;var id;var ad;var c;var m;if(t.TimedOut())return;t.hidePromos(t.promos);
t.mergeAds(_a);t.loadExtJS();for(id in t.ads){ad=t.ads[id];if(!t.bb&&ad.triggerEvent==1)t.aEvCon[id]=ad.content;else t.loadAd(ad)}if(typeof oGaugeInfo!="undefined"){c=(new Date).getTime()-oGaugeInfo.iST;vjo.dsf.utils.SiteSpeed.addParam("ctrc",c)}t.sendComplete(1);if(t.hasPromo){m=new vjo.dsf.Message("PROMO_COMPLETE");m.vjPromoClientObject=t;t.S.handleRequest(m)}},sendComplete:function(s){var m=new vjo.dsf.Message("RTM_COMPLETE");m.status=s;m.vjRTMObject=this;this.S.handleRequest(m)},TimedOut:function(){var t=
this;t.bRespRet=true;if(t.bTimedOut)return true;if(t.oTimeoutId)window.clearTimeout(t.oTimeoutId);return false},promoAd:function(_f){var t=this;var map=_f.content.data.map;var parts=0;var id="-1";var _11=false;var p;var m;var v;var s;var c;for(p in map){m=p.match(/ME([0-9]+)(.*)/);if(m){parts++;id=_f.id}}v=map.VisualPreview;if(v)t.loadVisualPreview(v);s=map.Style;if(s&&!t.bPromoStyle){t.loadStyle(s);t.bPromoStyle=true}for(p in map){m=p.match(/ME([0-9]+)(.*)/);if(m){c=t.loadPromo(_f.id,m[2],map[p],
parts>1);if(c)_11=true}}s=map.Script;if(s&&!t.bPromoScript)t.bPromoScript=t.loadScript(s);if(_11){c=t.E.get(t.ads[id].htmlID);if(c&&!c.length)c.style.display="block"}else t.noAd(_f)},loadVisualPreview:function(_12){var d=this.E.get("VisualPreviewContent");if(d==null){d=document.createElement("div");d.name="VisualPreviewContent";document.body.appendChild(d)}d.innerHTML=_12},loadStyle:function(_14){this.vj$.CssLoader.loadText(_14)},loadPromo:function(id,_16,_17,_18){var t=this;var hid;var ad=t.ads[id];
if(_18)hid=t.json.merchPrefix+id+_16;else hid=ad.htmlID;var e=t.E.get(hid);if(ad.loaded)return true;if(e&&!e.length){ad.loaded=true;var d=document.createElement("div");d.innerHTML=_17;e.appendChild(d);return true}return false},hidePromos:function(_1c){var p;var c;for(p in _1c){c=this.E.get(p);if(c!=null)c.style.display="none"}},loadScript:function(_1f){with(window)try{eval(_1f);return true}catch(e){}return false},popUnderAd:function(ad){var s="height="+ad.height;s+=",width="+ad.width;s+=",menubars=no,scrollbars=no'";
var id="p_u_"+ad.id;var a=window.open("",id,s);if(a){a.blur();a.document.open();a.document.write(ad.content);a.document.close()}},dcAd:function(ad){var t=this;if(!ad)return;var e=t.E.get(ad.htmlID);var u=ad.dblclkURL;if(!u||ad.loaded)return;if(e&&!e.length){ad.loaded=true;if(ad.content)u+=ad.content+";";u+="ord="+(new Date).getTime();e.innerHTML=t.createIFrame(ad.id,u,ad.width,ad.height);e.style.display="block"}},noAd:function(ad){var t=this;var e=t.E.get(ad.htmlID);var u=ad.defaultURL;if(ad.loaded)return;
if(e&&!e.length){ad.loaded=true;if(!u||u=="collapse"||u==""){e.style.height="0px";e.style.display="none"}else e.innerHTML=t.createIFrame(ad.id,u,ad.width,ad.height)}},htmlAd:function(ad){var t=this;var w=ad.width;var h=ad.height;var ex=ad.expand;var ifr;w=t.adjustDim(w);h=t.adjustDim(h);var e=t.E.get(ad.htmlID);if(ad.loaded)return;if(e&&!e.length){ad.loaded=true;s=e.style;t.processDim(s,ex,w,h);e.innerHTML=ad.content;if(ex){ifr=t.E.get("rtm_iframe_"+ad.id);if(ifr){if(w=="auto"){w=ifr.width;s.width=
w+"px"}if(h=="auto"){h=ifr.height;s.height=h+"px"}}}ad.width=w;ad.height=h;s.display="block";t.executeScripts(ad.content)}},adjustDim:function(v){if(v=="-1"||v=="9999")v="auto";return v},processDim:function(s,ex,w,h){if(w)s.width=w.match(/auto|\%/)?w:w+"px";if(h)s.height=h.match(/auto|\%/)?h:h+"px";if(w!="auto"&&h!="auto")if(ex)s.textAlign="left";else s.overflow="hidden"},executeScripts:function(_31){var m;for(var re=/<script\b[\s\S]*?>([\s\S]*?)<\/script>/ig;m=re.exec(_31);)this.vj$.JsLoader.loadText(m[1])},
formAd:function(ad){var t=this;var w=ad.width;var h=ad.height;var f;w=t.adjustDim(w);h=t.adjustDim(h);var e=t.E.get(ad.htmlID);if(ad.loaded)return;if(e&&!e.length){ad.loaded=true;s=e.style;t.processDim(s,false,w,h);e.innerHTML=t.createIFrame(ad.id,"","100%","");f=t.E.get("ifrm_"+ad.id);s.display="block";f.doc=null;if(f.contentDocument)f.doc=f.contentDocument;else if(f.contentWindow)f.doc=f.contentWindow.document;else if(f.document)f.doc=f.document;if(f.doc==null)throw"RTM002";f.doc.open();try{f.doc.write(ad.content)}finally{f.doc.close()}}},
createIFrame:function(id,u,w,h){return'<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no"'+' id="ifrm_'+id+'" name="ifrm_'+id+'" src="'+u+'"'+' width="'+w+'" height="'+h+'"></iframe>'},processGlobalNavPids:function(_3b){var s="";var i;var a;var n;var t=this;var o=t.vj$;var b=t.json;var isOnScroll;var isOnLoadAndScroll;var j=o.VjCookieJar;var pbf=j.readCookie("dp1","pbf");var _3f=j.getBitFlag(pbf,75);if(typeof _oGlobalNavRTMInfo!="undefined"){a=_oGlobalNavRTMInfo.aRTMPlacementData;
n=a.length;for(i=0;i<n;i++){isOnScroll=a[i].renderOnScroll;isOnLoadAndScroll=a[i].renderOnLoadAndScroll;isOnLoadAndScrollSiteSpeed=a[i].renderOnLoadAndScrollSiteSpeed;if(_3b){if(s&&!isOnScroll&&(!isOnLoadAndScroll||_3f))s+=":";if(isOnScroll)b.onScrollPids.push(a[i].pid);else if(isOnLoadAndScroll&&!_3f){b.onLoadAndScrollPids.push(a[i].pid);if(isOnLoadAndScrollSiteSpeed)b.onLoadAndScrollSiteSpeedPids.push(a[i].pid)}else s+=a[i].pid}else{if(s)s+=":";s+="0"}}if(_3b)this.mergeAds(a)}return s},setTimeOut:function(){var t=
this;if(!t.bRespRet){var _41=function(){t.processTimeOut()};t.oTimeoutId=window.setTimeout(_41,t.iTIMEOUT)}},processTimeOut:function(){var t=this;var id;var ad;var b=t.json;t.bTimedOut=true;for(id in t.ads){ad=t.ads[id];var e=t.E.get(ad.htmlID);var du=ad.defaultURL;if(ad.loaded||e&&e.innerHTML.length)continue;if(e&&!e.length){ad.loaded=true;if(!du||du=="collapse"||du==""){e.style.height="0px";e.style.display="none"}else e.innerHTML=t.createIFrame(ad.id,du,ad.width,ad.height)}}if(Math.random()<0.05){var u=
b.url;var i=u.indexOf("&");u=u.substring(0,i);u=u+"&p="+b.pids.join(":")+"&ite=2&to="+t.iTIMEOUT;u=u.replace("RtmCmd","RtmIt");t.vj$.JsLoader.load(u)}window.clearTimeout(t.oTimeoutId);t.sendComplete(0)},getClientWidth:function(){return this.vj$.Positioning.getClientWidth()},getClientHeight:function(){return this.vj$.Positioning.getClientHeight()},popUp:function(tl,u,w,h,st,tb,sb,l,t,lo,r,m){var s="";s+=w!=null?",width="+w:"";s+=h!=null?",height="+h:"";s+=l!=null?",screenX="+l+",left="+l:"";s+=t!=
null?",screenY="+t+",top="+t:"";s+=",toolbar="+(tb?"1":"0");s+=",location="+(lo?"1":"0");s+=",status="+(st?"1":"0");s+=",scrollbars="+(sb?"1":"0");s+=",resizable="+(r?"1":"0");s+=",menubar="+(m?"1":"0");if(s.length>0)s=s.substring(1);window.open(u,tl,s);return false},getSegment:function(_52){var j=this.vj$.VjCookieJar;var e=j.readCookie("etfc");var r=j.readCookie("reg");var s=j.readCookie("ebay","sin");var c;var n;if(e=="0"){n="3";c="E"}else if(e=="1"){n="4";c="C"}else if(e=="2"){n="5";c="D"}else if(e==
""&&r!=""&&r!=";"||s=="in"||e=="5"){n="2";c="B"}else{n="1";c="A"}return _52?c:n},getCIDCookie:function(){var j=this.vj$.VjCookieJar;var c=j.readCookie("npii","cguid");if(c!="undefined"&&c!="")return c},openReportAd:function(e,u,dt,sc,cc,clc,ah,at,rc,rcd,ip,sl,el,lid){var t=this;var r=t.ReportAd;var s;if(r==null){r=new vjo.darwin.core.rtm.ReportAd(dt,sc,cc,clc,rc,rcd,u,ip,sl,el,lid);t.ReportAd=r}if(r){r.init(ah,at);r.open(e);r.setReportAdLinkId(lid)}},yahooAdBckGrnd:function(_64){var f=this.E.get(_64);
f.style.visibility="visible";f.parentNode.style.backgroundColor="transparent"},storeResponse:function(_66){var t=this;var c=_66;var qp;var i;t.response=c;t.mergeAds(c);if(t.bodyLoadedTime>0||t.vj$.Browser.bIE)t.setInlineContent(c)},render:function(){var t=this;var r=t.response;if(r)t.setInlineContent(r);t.bodyLoadedTime=(new Date).getTime()},loadAd:function(ad){var t=this;if(ad.type=="doubleclick")t.dcAd(ad);else if(ad.type=="html")t.htmlAd(ad);else if(ad.type=="popUnder")t.popUnderAd(ad);else if(ad.type==
"promo"){t.hasPromo=true;t.promoAd(ad)}else if(ad.type=="htmlform")t.formAd(ad);else{var b=t.json;var s=b.onScrollPids;var ls=b.onLoadAndScrollPids;var i;if(s)for(i=0;i<s.length;i++)if(ad.id==s[i])return;if(ls)for(i=0;i<ls.length;i++)if(ad.id==ls[i])return;t.noAd(ad)}},renderPromos:function(_6c){},getPids:function(_6d){var p="";var l=_6d.length;for(i=0;i<l;i++){p+=_6d[i];if(i!=l-1)p+=":"}return p},timer:function(_6f,_70,_71){var t=this;var c=(new Date).getTime()-oGaugeInfo.iST;var m=_71;var v=t.ssGaugeVectors;
var i;var a=[];v[m]=v[m]||{};v[m].t=_70;if(_6f)v[m].e=c;else v[m].s=c;for(i in v)if(v[i].t==_70)a.push(i+"|"+v[i].s+"|"+(v[i].e||""));vjo.dsf.utils.SiteSpeed.addParam("ctr"+_70+"v",a.join(","))}}).props({siteCatalyst:function(_73,_74,p,_76){var esc=vjo.darwin.tracking.sitecatalyst;if(esc){var _78="Search";var loc="North";if(p==188||p==570)_78="Browse";if(p==569||p==570)loc="Sky";var s=esc.EbaySiteCatalyst.s;s.linkTrackVars="prop27";s.linkTrackEvents="None";s.prop27=_74+":"+_78+":"+p+":"+_76;if(_73){s.linkTrackVars=
"prop28";s.prop28=s.prop27;s.prop27=null}s.tl(true,"o","RTM "+loc+" Ad")}}}).endType();
vjo.ctype("vjo.darwin.core.rtm.RTMHelper").props({R:null,setRtm:function(r){if(r)this.R=r},render:function(_2){var t=this;if(t.R)t.R.renderPromos(_2)},onMessage:function(_4,_5,_6){return this.R.ExpAd.onMessage(_4,_5,_6)}}).endType();
vjo.ctype("vjo.dsf.assembly.VjClientAssemblerRequest").protos({constructs:function(_1,_2,_3,_4,_5){this.sUrl=_1;this.fCallback=_2;this.oScope=_3||window;this.sCallbackParam=_4;var b=_5;if(typeof b=="undefined")b=true;this.bSendResponseOnLoad=b}}).endType();
vjo.ctype("vjo.dsf.assembly.VjClientAssembler").needs(["vjo.dsf.EventDispatcher","vjo.dsf.ServiceEngine","vjo.dsf.assembly.VjClientAssemblerRequest"]).props({load:function(_1){var m=_1;var url=m.sUrl||"";var name=this.generateCallback(m);var ver="";var cb=(ver?ver+".":"")+"vjo.dsf.assembly.VjClientAssembler."+name;if(m&&m.objType=="dsf_Message"){url=m.svcConfig.url+"?";url+=vjo.dsf.Service.generateReqParams(m)+"&callback="+cb}else if(m.sCallbackParam)url=url+"&"+m.sCallbackParam+"="+cb;return vjo.dsf.XDomainRequest.send(url)},
generateCallback:function(_3){var m=_3;var _5=this.aCallbacks.length;var _6=this.sPreCallback+_5;this.aCallbacks[_5]=_6;this.aModels[_6]=m;this[_6]=function(){if(this.loaded[_6]===true)return;this.loaded[_6]=true;if(this.bBodyLoaded||!m.bSendResponseOnLoad)if(m.objType=="dsf_Message"){m.response=arguments[0];vjo.dsf.ServiceEngine.handleResponse(m)}else m.fCallback.apply(m.oScope,arguments);else{if(m.objType=="dsf_Message"){this.aResponses[_6]=arguments[0];m.response=this.aResponses[_6]}else this.aResponses[_6]=
arguments;if(this.bBodyLoaded)this.assemble()}};return _6},assemble:function(){this.bBodyLoaded=true;if(this.bLock){setTimeout("vjo.dsf.assembly.VjClientAssembler.assemble()",1E3);return}this.bLock=true;try{for(var _7 in this.aResponses){this.loaded[_7]=true;var m=this.aModels[_7];if(this.aResponses[_7]!=null)if(m.objType=="dsf_Message")vjo.dsf.ServiceEngine.handleResponse(m);else m.fCallback.apply(m.oScope,this.aResponses[_7]);this.aResponses[_7]=null}}finally{this.bLock=false}}}).inits(function(){this.aCallbacks=
[];this.aResponses={};this.aModels={};this.sPreCallback="_callback";this.bBodyLoaded=false;this.bLock=false;this.loaded={};this.vj$.EventDispatcher.addEventListener(window,"load",function(){vjo.dsf.assembly.VjClientAssembler.assemble()})}).endType();
vjo.ctype("vjo.darwin.core.utils.WindowDimension").props({getBrowserDimension:function(){var s=self;var d=document;var de=d.documentElement;if(s.innerHeight)return[s.innerWidth,s.innerHeight];else if(de&&de.clientHeight)return[de.clientWidth,de.clientHeight];return[d.body.clientWidth,d.body.clientHeight]},getScrollXY:function(){var _4=0;var scrOfY=0;var scrOfH=0;var scrOfW=0;var d=document.documentElement||document.body;if(typeof window.pageYOffset=="number")return[window.pageXOffset,window.pageYOffset,
document.height,document.width];else if(d)return[d.scrollLeft,d.scrollTop,d.scrollHeight,d.scrollWidth];return[_4,scrOfY,scrOfH,scrOfW]},getOffsetPosition:function(_5){var e=_5;var l=0;var t=0;var z=0;var tz;var h=e.offsetHeight;for(var w=e.offsetWidth;e;){l+=e.offsetLeft;t+=e.offsetTop;if(e.style){tz=parseInt(e.style.zIndex,10);z=!isNaN(tz)&&tz>z?tz:z}e=e.offsetParent}return[l,t,z,h,w]}}).endType();
vjo.ctype("vjo.darwin.core.rtm.RTMOnDemand").needs(["vjo.darwin.core.utils.WindowDimension","vjo.dsf.Message","vjo.dsf.EventDispatcher","vjo.dsf.Element","vjo.dsf.ServiceEngine"]).props({isWinLoaded:false,isRenderedS:false,isRenderedLS:false,sVPids:null,lsVPids:null,onScroll:function(_1){var t=this;if(!t.isRenderedLS&&t.isWinLoaded&&_1.json.onLoadAndScrollPids&&_1.json.onLoadAndScrollPids.length>0)t.lsVPids=t.getVisiblePlacements(_1,_1.json.onLoadAndScrollPids,1E3);if(!t.isRenderedLS&&t.isWinLoaded&&
t.lsVPids&&t.lsVPids.length>0)t.callRtmForOnLoadAndScroll();if(!t.isRenderedS&&_1.json.onScrollPids&&_1.json.onScrollPids.length>0)t.sVPids=t.getVisiblePlacements(_1,_1.json.onScrollPids,0);if(!t.isRenderedS&&t.sVPids&&t.sVPids.length>0)t.callRtmForOnScroll()},onLoad:function(_3){var t=this;window.setTimeout(function(){t.loadHandler(_3)},0)},onLoadOld:function(_5){var t=this;t.loadHandler(_5)},loadHandler:function(_7){var t=this;t.isWinLoaded=true;if(!t.isRenderedLS&&_7.json.onLoadAndScrollPids&&
_7.json.onLoadAndScrollPids.length>0)t.lsVPids=t.getVisiblePlacements(_7,_7.json.onLoadAndScrollPids,0);if(!t.isRenderedLS&&t.lsVPids&&t.lsVPids.length>0)t.callRtmForOnLoadAndScroll()},callRtmForOnScroll:function(){var t=this;if(t.sVPids&&t.sVPids.length>0){t.callRtm(t.sVPids);t.isRenderedS=true}},callRtmForOnLoadAndScroll:function(){var t=this;if(t.lsVPids&&t.lsVPids.length>0){t.callRtm(t.lsVPids);t.isRenderedLS=true}},callRtm:function(_b){if(_b&&_b.length>0){var _c=new vjo.dsf.Message("RTM_CALLBACK_SERVICE");
_c.pIds=_b;vjo.dsf.ServiceEngine.handleRequest(_c)}},getVisiblePlacements:function(_d,_e,_f){var t=this;var P=vjo.darwin.core.utils.WindowDimension;var scrollTop=P.getScrollXY()[1];var bean=_d.json;var len=_e.length;var rtmPfx="rtm_html_";for(var i=0;i<len;i++){var pid=_e[i];var pidId=rtmPfx+pid;var _13=vjo.dsf.Element.get(pidId);var threshold=bean.th&&bean.th[pidId]?+bean.th[pidId]:_f;var windowHeight=P.getBrowserDimension()[1];var offsetTop=P.getOffsetPosition(_13)[1];if(offsetTop<=scrollTop+windowHeight+
threshold)return _e}return null}}).endType();
vjo.itype("vjo.dsf.common.IJsServiceHandler").protos({invoke:function(_1){}}).endType();
vjo.ctype("vjo.darwin.core.rtm.RTMInit").needs("vjo.dsf.utils.URL","U").needs("vjo.dsf.EventDispatcher","ED").needs("vjo.darwin.core.rtm.RTM","R").needs("vjo.darwin.core.rtm.RTMHelper","H").needs("vjo.dsf.assembly.VjClientAssembler","V").needs("vjo.darwin.core.rtm.RTMOnDemand","D").needs("vjo.dsf.cookie.VjCookieJar").satisfies("vjo.dsf.common.IJsServiceHandler").protos({R:null,constructs:function(_1){var t=this;var o=t.vj$;var r=t.vj$.D;t.R=new o.R(_1);o.H.setRtm(t.R);var b=t.R.json;var s=b.onScrollPids;
var ls=b.onLoadAndScrollPids;var ss=b.onLoadAndScrollSiteSpeedPids;t.gp=t.R.processGlobalNavPids(true);t.ge=t.R.processGlobalNavPids(false);if(s&&s.length>0||ls&&ls.length>0){o.ED.addEventListener(window,"scroll",function(){r.onScroll(t.R)},window);if(ss&&ss.length>0)o.ED.addEventListener(window,"load",function(){r.onLoad(t.R)},window);else o.ED.addEventListener(window,"load",function(){r.onLoadOld(t.R)},window)}o.ED.addEventListener(window,"beforeunload",t.setBBCookielet,t);vjo.dsf.ServiceEngine.registerSvcReqtHdl("RTM_REQUEST_ADS",
t)},setBBCookielet:function(_4,_5){var t=this;var o=t.vj$;var j=o.VjCookieJar;var c=j.readCookie("ebay","sbf");var bb=c?j.getBitFlag(c,20):0;j.writeCookielet("ebay","sbf",j.setBitFlag(c,20,1));if(!_5&&typeof _4=="boolean")_5=_4;if(_5)return bb},invoke:function(_8){var t=this;var o=t.vj$;var r=t.R;var b=r.json;var u=b.url;var s="";var U=o.U;var c;var j=o.VjCookieJar;var gp=t.gp;var ge=t.ge;var _b=j.readCookie("dp1","pbf");var _c=j.getBitFlag(_b,75);s+="&e=USC:"+r.getSegment(false);var p=U.getArg(u,
"p");var ph=U.getArg(u,"ph");var ev=U.getArg(u,"ev");if(gp){if(p!=null&&p.indexOf(gp)==-1){u=u.replace("p="+p,"p="+p+(p?":":"")+gp);if(ph)u=u.replace("ph="+ph,"ph="+ph+":"+ge);if(ev)u=u.replace("ev="+ev,"ev="+ev+":"+ge)}if(typeof _oGlobalNavRTMInfo!="undefined")_oGlobalNavRTMInfo.aRTMPlacementData=[]}s+="&z="+r.getFlashVersion();s+="&bw="+r.getClientWidth();s+="&bh="+r.getClientHeight();c=r.getCIDCookie();s+="&cg="+(c?c:(new Date).getTime());s+="&enc="+r.getEncodingType();s+="&v=4";s+="&rnc=1";if(_c){s+=
"&e="+"hideFooter:true";s+="&di="+"1650:1651"}u+=s;b.url=u;if(b.fetchUrl)b.fetchUrl+=s;if(_8.pIds){u=u.replace("p="+p,"p="+r.getPids(_8.pIds));b.url=u;if(_8.callback)t.onSend(_8.callback);else t.onSend()}else{if(!b.onload)t.onSend();else o.ED.addEventListener(window,"load",t.onLoad,t);o.ED.addEventListener(window,"load",r.setTimeOut,r);_8.returnData=false}},onLoad:function(){var t=this;window.setTimeout(function(){t.onSend()},0)},handleRequest:function(_f){this.R.setTimeOut();this.onSend(null,true)},
onSend:function(h,ra){var t=this;var r=t.R;var b=r.json;var u=b.url;var s="";var bb;var f=r.storeResponse;var dd=document.domain||"";f=h?h:f;if(typeof oGaugeInfo!="undefined"){s+="&ss=1";bb=oGaugeInfo.bf}else bb=t.setBBCookielet(true);if(dd.indexOf("pages.")==0)bb=0;r.bb=bb;if(bb)s+="&bb=1";u+=s;b.url=u;if(b.mode=="1"&&!bb){if(b.fetchUrl)b.fetchUrl+=s;u=b.fetchUrl}if(b.suppressRtmCmd&&(!ra||!bb))u="";if(u){var req=new vjo.dsf.assembly.VjClientAssemblerRequest(u,f,r,"cb",false);t.vj$.V.load(req)}else{r.sendComplete(1);
r.TimedOut()}}}).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;var 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.domain.finding.ecm.FindingRTMHelper").needs("vjo.dsf.Element").props({removeClass:function(id){var _2=vjo.dsf.Element.get(id);if(_2)_2.className=""},openWindow:function(_3){var _4=730;var _5=560;var _6="height="+_4+",width="+_5+",toolbar=0,location=0,status=0,scrollbars=1,resizable=0,menubar=0";return window.open(_3,"WhatsThisYahooGraphicalPopUp",_6,true)}}).endType();
vjo.ctype("vjo.darwin.domain.jaguar.page.PageId").protos({constructs:function(id){var _2=this;_2.elem=vjo.reg.register(_2,id);vjo.evt.attach(_2,window,"load",_2.onLoad);vjo.svc.addRespHandler(_2,_2.onAjax,_2.binding=/^Ajax\./,null,true)},onLoad:function(_3){var _4=this.getTransaction();if(_4)this.updateTransaction(_4)},onAjax:function(_5){var _6=_5.request;var _7=_6.getResponseHeader("Set-Title");if(_7)this.setTitle(_7);var _8=_6.getResponseHeader("Transaction");if(_8)this.updateTransaction(_8)},
setTitle:function(_9){document.title=_9},getTransaction:function(){var _a=document.body.childNodes;var _b=0;for(var num=_a.length;_b<num;_b++){var _c=_a[_b];var type=_c.nodeType;if(type==8&&_c.data.match(/RlogId/))return _c.data}return null},updateTransaction:function(_d){var _e=this;var params=_e.decodeTransaction(_d);if(params["RlogId"]==null)return;_e.elem.style.display="block";_e.elem.innerHTML="Page ID: ".concat(params["RlogId"])},decodeTransaction:function(_f){var _10=_f.split(",");var params=
[];var ndx=0;for(var num=_10.length;ndx<num;ndx++){var _12=_10[ndx].split(" ");if(_12[0].match(/RhasErr/))params["RhasErr"]=true;else if(_12.length<2)params["Host"]=_12[0];else params[_12[0]]=unescape(_12[1])}return params}}).endType();
vjo.ctype("vjo.darwin.domain.jaguar.page.PageLayout").needs(["vjo.dsf.client.Browser","vjo.dsf.cookie.VjCookieJar"]).protos({constructs:function(_1){var _2=this;_2.cfg=_1;_2.layouts=_1.layouts;_2.cur=_2.layouts[_1.currentLayout];_2.head=vjo.get("ff-head");_2.body=vjo.get("ff-body");_2.left=vjo.get("ff-left");_2.right=vjo.get("ff-right");_2.center=vjo.get("ff-center");_2.content=vjo.get("CenterPanel");vjo.reg.register(_2,document.body);vjo.evt.attach(_2,window,"load",_2.onLoad);vjo.evt.attach(_2,window,
"resize",_2.onResize);vjo.svc.addReqtHandler(_2,_2.getLayout,"Page.Layout");vjo.svc.addReqtHandler(_2,_2.onPublished,"RTM_PUBLISHED")},onPublished:function(_3){var _4=this;var right=_4.right.offsetHeight;if(right<=0)return;_4.right.style.width="";right=_4.right.offsetWidth;_4.center.style.marginRight=vjo.px(right+15);_4.onResize()},onLoad:function(_5){with(this){if(vj$.VjCookieJar.readCookie("ebay","pbf"))vj$.VjCookieJar.writeCookielet("ebay","pbf",null);onResize(_5)}},onResize:function(_6){this.computeLayout(vjo.clientWidth()-
30)},getLayout:function(_7){_7.returnData=this.cur},setLayout:function(_8){with(this){var _9=vj$.VjCookieJar.readCookie(cfg.cookieName,cfg.cookieletName);var _a=0;var bits=_8.key;for(var num=cfg.cookieBits.length;_a<num;_a++,bits>>=1)_9=vj$.VjCookieJar.setBitFlag(_9,cfg.cookieBits[_a],bits&1);vj$.VjCookieJar.writeCookielet(cfg.cookieName,cfg.cookieletName,_9)}},computeLayout:function(_b){with(this){for(var _c=layouts.length-1;_c&&_b<layouts[_c].minWidth;_c--);if(layouts[_c]!=cur)setLayout(cur=layouts[_c]);
if(true)return;var _d=document.body.className.match(cur.name);if(_d==null)document.body.className="sz".concat(cur.name);_b=_b>cfg.maxPxLayout?vjo.px(cfg.maxPxLayout):"auto";if(!_d||_b!=cur.width)updateWidth(cur.width=_b)}},updateWidth:function(_e){with(this){body.style.width=_e;body.style.maxWidth="";var _f=content.scrollWidth>content.offsetWidth;if(_f)resizeContent(content.scrollWidth);vjo.svc.sendRequest("PageLayout.Change",{layout:cur});vjo.log("debug","PageLayout.Change",cur.name,cur.width)}},
resizeContent:function(_10){with(this){var _11=parseInt(vjo.utl.style(center,"margin-left"));var _12=parseInt(vjo.utl.style(center,"margin-right"));body.style.width=body.style.maxWidth=vjo.px(_11+_10+_12);content.scrollTop=0;content.scrollLeft=0}}}).endType();
vjo.ctype("vjo.darwin.domain.jaguar.common.browser.WindowUtils").props({scrollTo:function(_1,_2,_3,_4){if(!_1)return false;var _5=vjo.get(_1);if(_5){if(!_2)_2=0;if(!_3)_3=0;window.scrollTo(vjo.utl.offsetLeft(_5)+_2,vjo.utl.offsetTop(_5)+_3)}else if(!_4)window.scrollTo(0,0);return true},scrollToTopRS:function(){var _6="CentralArea";var _7=-10;if(window.pageID&&window.pageID.match(/PDPX/)){_6="pdpTabs";_7=0}var _8=vjo.get(_6);if(_8&&_8.style.display!="none")this.scrollTo(_6,0,_7)}}).endType();
vjo.ctype("vjo.darwin.domain.jaguar.ajax.AjaxLink").needs("vjo.darwin.domain.jaguar.common.browser.WindowUtils").props({WindowUtils:vjo.darwin.domain.jaguar.common.browser.WindowUtils,onClick:function(_1,_2,_3,_4,_5){vjo.evt.stopPropagation(_1);for(var _6=vjo.evt.target(_1);_6&&_6.tagName.match(/^a$/i)==null;)_6=_6.parentNode;if(_6==null)return false;vjo.ajx.sendRequest("Page",_6.href,_2,_3);if(_5)this.WindowUtils.scrollTo(_5,0,0,true);else if(_4)window.scrollTo(0,0);return false}}).inits(function(){window.onClick=
this.onClick}).endType();
vjo.ctype("vjo.darwin.domain.jaguar.navigation.NavigationObject").needs("vjo.darwin.domain.jaguar.page.PageUtils").protos({constructs:function(_1){this.parent=_1},buildErrors:function(_2,_3){this.error=[];this.errors=_3||vjo.utl.getTag(this.form,"div","asf-e");var _4=0;for(var length=_2.length;_4<length;_4++)this.errors.appendChild(this.error[_2[_4].id]=_2[_4])},clearErrors:function(){if(this.errors){this.errors.style.display="none";var _5=this.errors.childNodes;var _6=0;for(var length=_5.length;_6<
length;_6++)_5[_6].style.display="none"}},showError:function(_7){if(this.errors)this.errors.style.display="block";var _8=this.error[_7];if(_8)_8.style.display="block";return false},hideError:function(_9){if(this.error){var _a=this.error[_9];if(_a)_a.style.display="none";return false}return true},buildMessages:function(_b){this.message=[];var _c=0;for(var length=_b.length;_c<length;_c++)this.message[_b[_c].id]=_b[_c]},getMessage:function(_d){var _e=this.message[_d];return _e?_e.cloneNode(true):null},
decodeParams:function(_f,_10){this.clearParams(_f,_10);this.appendParams(_f,_10)},clearParams:function(_11,_12){var _13=_12.elements;var idx=0;for(var length=_13.length;idx<length;idx++){var _15=_13[idx].name;delete _11.params[_13[idx].name];delete _11.params["_"+_15];if(_15.charAt(0)=="_")delete _11.params[_15.slice(1)]}},appendParams:function(_16,_17){var _18=_16.decodeForm(_17);for(var _19 in _18)this.appendParam(_16,_19,_18[_19]);return _16},appendParam:function(_1a,_1b,_1c){_1a.appendParam(_1b,
_1c);var _1d=_1a.params[_1b];_1a.params[_1b]=typeof _1d=="object"?_1d.join("|"):_1d}}).endType();
vjo.ctype("vjo.darwin.domain.jaguar.ajax.AjaxEvent").protos({constructs:function(id,_2,_3){this.elem=vjo.reg.register(this,id);vjo.evt.attach(this,this.elem,_2,new Function("event",_3))}}).endType();
vjo.ctype("vjo.darwin.domain.jaguar.ajax.AjaxMessage").protos({constructs:function(_1,_2,_3){var _4=this;_4.elem=vjo.reg.register(_4,_1);_4.parent=vjo.get(_2);_4.ovly=vjo.Registry.get(_3);vjo.svc.addReqtHandler(_4,_4.hideError,"Page.Ajax.Request");vjo.svc.addReqtHandler(_4,_4.showError,"Page.Ajax.Error");vjo.svc.addReqtHandler(_4,_4.showOvly,"Generic.Ajax.Error")},hideError:function(_5){this.elem.style.display="none";this.parent.style.display=""},showError:function(_6){var _7=this;_7.elem.style.display=
"";_7.parent.style.display="none";_7.parent.parentNode.appendChild(_7.elem)},showOvly:function(){vjo.svc.sendRequest(this.ovly.m.OSN+this.ovly.sId)}}).endType();
vjo.ctype("vjo.darwin.domain.jaguar.ajax.AjaxThrobber").protos({constructs:function(id,_2,_3,_4){var _5=this;_5.name=_2;_5.index=_3;_5.opacity=_4;_5.disabled=[];_5.elem=vjo.reg.register(_5,id);_5.mask=vjo.utl.getTag(_5.elem,"div","ajax-mask");_5.throbber=vjo.utl.getTag(_5.elem,"img");vjo.svc.addReqtHandler(_5,_5.onShow,_5.name.concat(".Mask.Show"));vjo.svc.addReqtHandler(_5,_5.onHide,_5.name.concat(".Mask.Hide"))},promote:function(){var _6=this;var parent=_6.mask.parentNode;if(parent!==document.body)_6.mask=
document.body.appendChild(_6.mask)},showMask:function(_7,_8){var _9=this;_9.promote();_9.enableSelects();_9.disableSelects();_9.mask.style.display="block";_9.mask.style.zIndex=_7;_9.mask.style.opacity=_8/100;_9.mask.style.filter="alpha(opacity="+_8+")";_9.mask.style.width=vjo.px(vjo.scrollWidth());_9.mask.style.height=vjo.px(vjo.scrollHeight())},hideMask:function(){var _a=this;_a.enableSelects();_a.mask.style.display="none";_a.mask.style.width=vjo.px(0);_a.mask.style.height=vjo.px(0)},disableSelects:function(){var _b=
this;_b.disabled=[];var _c=vjo.utl.getTags(document.body,"select");var _d=0;for(var length=_c.length;_d<length;_d++){var _e=_c[_d];if(_e.disabled||_b.form&&_e.form===_b.form)continue;_e.disabled=true;_b.disabled.push(_e)}},enableSelects:function(){var _f=this;selects=_f.disabled;var idx=0;for(var length=selects.length;idx<length;idx++)selects[idx].disabled=false;_f.disabled=[]},showThrobber:function(){var _11=this;var img=vjo.utl.getTag(_11.elem,"img");if(img)img.src=img.getAttribute("xrc");_11.elem.style.display=
"block";var _13=_11.elem.parentNode.offsetWidth;var _14=_11.elem.parentNode.offsetHeight;_11.elem.style.width=vjo.px(_13);_11.elem.style.height=vjo.px(_14);_11.throbber.style.top="50%";_11.throbber.style.left="50%"},onShow:function(_15){var _16=this;_16.form=_15.form;var _17=_15.index?_15.index:_16.index;var _18=_15.opacity?_15.opacity:_16.opacity;if(_15.mask)_16.showMask(_17,_18);if(_15.throbber)_16.showThrobber()},onHide:function(_19){if(_19.mask)this.hideMask();this.elem.style.display="none"}}).props({show:function(_1a,
_1b,_1c,_1d,_1e,_1f){vjo.svc.sendRequest(_1a.concat(".Mask.Show"),{form:_1b,throbber:_1c,mask:_1d,index:_1e,opacity:_1f})},hide:function(_20,_21){vjo.svc.sendRequest(_20.concat(".Mask.Hide"),{mask:_21})}}).endType();
vjo.ctype("vjo.darwin.domain.jaguar.ajax.AjaxLocalTransport").protos({constructs:function(_1){this.request=_1},send:function(){var _2={nodes:[],styles:[],scripts:[],objects:{}};this.request.responseText=vjo.utl.serialize(_2);this.request.onReady(200)}}).endType();
vjo.ctype("vjo.darwin.domain.jaguar.ajax.AjaxDefaultTransport").protos({constructs:function(_1){this.request=_1},send:function(){var _2=this;var request=_2.request;_2.transfer=_2.getTransferObject();_2.transfer.open(request.method,request.uri.getUri(),request.async,request.user,request.pass);for(var _3 in request.requestHeaders)_2.transfer.setRequestHeader(_3,request.requestHeaders[_3]);if(request.async)_2.transfer.onreadystatechange=function(){_2.onChange()};if(request.async&&request.timeout)_2.timer=
window.setTimeout(function(){_2.onTimeout()},request.timeout);_2.transfer.send(request.requestText);if(!request.async)_2.onReady(_2.transfer.status)},onChange:function(){var _4=this;var readyState=_4.transfer.readyState;if(readyState==4)_4.onReady(_4.transfer.status)},onTimeout:function(){var _5=this;_5.transfer.abort();_5.transfer=null;if(_5.request.retries-- >1)return _5.send();_5.request.onReady(408)},onReady:function(_6){var _7=this;window.clearTimeout(_7.timer);_7.request.responseText=_7.transfer.responseText;
_7.request.setResponseHeaders(_7.getResponseHeaders());_7.transfer=null;_7.request.onReady(_6)},getResponseHeaders:function(){var _8={};var _9=this.transfer.getAllResponseHeaders();var _a=_9?_9.split(/\n|\r\n/):[];var _b=0;for(var num=_a.length;_b<num;_b++){var _c=_a[_b].match(/([^:]+):\s*(.*)/);if(_c==null)continue;var _d=_c[1];var value=_c[2];if(_8[_d]==null)_8[_d]=value;else if(typeof _8[_d]==="object")_8[_d].push(value);else _8[_d]=[_8[_d],value]}return _8}}).inits(function(){if(window.XMLHttpRequest)this.prototype.getTransferObject=
function(){return new window.XMLHttpRequest};else if(window.ActiveXObject){var _e=vjo.ActiveXVersion(["Msxml2.XMLHTTP.6.0","Msxml2.XMLHTTP.4.0","Msxml2.XMLHTTP.3.0","Msxml2.XMLHTTP","Microsoft.XMLHTTP"]);this.prototype.getTransferObject=function(){return new ActiveXObject(_e)}}}).endType();
vjo.ctype("vjo.darwin.domain.jaguar.ajax.AjaxDynamicTransport").protos({constructs:function(_1){this.request=_1},send:function(){var _2=this;var request=_2.request;var func=request.listener;if(func)request.uri.params["_jid"]=request.href;if(window.isFindingDS2)request.uri.params["_ds"]="1";else request.uri.params["_jgr"]="1";_2.vj$.AjaxDynamicTransport.requests[request.href]=request;_2.script=document.body.appendChild(document.createElement("script"));_2.script.type="text/javascript";_2.script.charset=
"utf-8";if(request.timeout)_2.timer=vjo.utl.setTimeout(_2,function(){_2.onTimeout()},request.timeout);var _3=navigator.userAgent.match(/MSIE/);if(_3)vjo.evt.attach(_2,_2.script,"readystatechange",_2.onChange);else vjo.evt.attach(_2,_2.script,"load",_2.onLoad);vjo.utl.setTimeout(_2,function(){_2.script.src=request.uri.getUri()},0)},onTimeout:function(){var _4=this;_4.script.parentNode.removeChild(_4.script);delete _4.vj$.AjaxDynamicTransport.requests[_4.request.href];return _4.request.retries-- >1?
_4.send():_4.onReady(408)},onChange:function(_5){if(this.script.readyState.match(/loaded/))this.onLoad(_5)},onLoad:function(_6){this.onReady(200)},onReady:function(_7){var _8=this;window.clearTimeout(_8.timer);var _9=_8.script.parentNode;if(_9)_9.removeChild(_8.script);vjo.evt.detach(_8,_8.script);delete _8.vj$.AjaxDynamicTransport.requests[_8.request.href];_8.request.onReady(_7)}}).props({requests:{},load:function(id,_b,_c){var _d=this.requests[id];if(_d==null)return;_d.responseObject=_b;_d.setResponseHeaders(_c)}}).inits(function(){if(!vjo.darwin.transitional){var _e=
{};var _f={};_e.ajax=_f;vjo.darwin.transitional=_e;_f.AjaxDynamicTransport=vjo.darwin.domain.jaguar.ajax.AjaxDynamicTransport}}).endType();
vjo.ctype("vjo.darwin.domain.jaguar.ajax.AjaxRequest").needs(["vjo.darwin.domain.jaguar.ajax.AjaxLocalTransport","vjo.darwin.domain.jaguar.ajax.AjaxDefaultTransport","vjo.darwin.domain.jaguar.ajax.AjaxDynamicTransport"]).protos({constructs:function(_1,_2,_3,_4,_5,_6){var _7=this;_7.requestHeaders={};_7.responseHeaders={};_7.name=_1;_7.user=_5;_7.pass=_6;_7.noErrorMsg=false;_7.uri=vjo.utl.getUriBuilder(_7.href=_2);if(window.jsRel)_7.uri.appendParam("_"+window.jsRel.type,window.jsRel.ver);else _7.uri.appendParam("_jgr",
"1");_7.async=vjo.isDefined(_4)?_4:true;_7.method=vjo.isDefined(_3)?_3:"GET"},send:function(_8,_9,_a,_b,_c){var _d=this;_d.scope=_8;_d.listener=_9;_d.func=_9;_d.requestText=_a;_d.timeout=vjo.isDefined(_b)?_b:1E4;_d.retries=vjo.isDefined(_c)?_c:3;if(_d.local)_d.transport=new _d.vj$.AjaxLocalTransport(_d);else if(_d.getTargetHost(_d.uri).match(_d.host))_d.transport=new _d.vj$.AjaxDefaultTransport(_d);else _d.transport=new _d.vj$.AjaxDynamicTransport(_d);_d.transport.send()},onReady:function(_e){var _f=
this;_f.status=_e;_f.error=_e!=200;if(_f.func)_f.func.apply(_f.scope,[_f])},deserialize:function(){var _10=this;_10.responseObject=_10.responseObject?_10.responseObject:vjo.utl.deserialize(_10.responseText);if(_10.responseObject==null)_10.responseObject={};return _10.responseObject},getTargetHost:function(uri){var _12=uri.host;var port=uri.port;return port?_12.concat(":",port):_12},getResponse:function(){return this.deserialize()},getRequestHeader:function(_13){return this.requestHeaders[_13]},getRequestHeaders:function(){return this.requestHeaders},
setRequestHeader:function(_14,_15){this.requestHeaders[_14]=_15},setRequestHeaders:function(_16){this.requestHeaders=_16},getResponseHeader:function(_17){return this.responseHeaders[_17]},getResponseHeaders:function(){return this.responseHeaders},setResponseHeaders:function(_18){this.responseHeaders=_18}}).inits(function(){var _19=document.location.host.replace(/\./g,"\\.");this.prototype.host=new RegExp("^$|^".concat(_19,"$"),"i")}).endType();
vjo.ctype("vjo.darwin.domain.jaguar.ajax.AjaxScript").needs("vjo.dsf.client.Browser").props({AjaxScripts:{},addScripts:function(_1){var _2=this;var scripts=vjo.utl.getTags(document.body,"script");var _3=0;for(var num=scripts.length;_3<num;_3++)_2.addScript(scripts[_3])},addScript:function(_4){var _5=this;var file=_5.getFile(_4.src);return file?_5.AjaxScripts[file]=_4:null},getScript:function(_6){var _7=this;var file=_7.getFile(_6);return file?_7.AjaxScripts[file]:null},getFile:function(_8){if(!_8)return null;
var _9=_8.indexOf("#")==-1?"/":"#";var _a=_8.substring(_8.lastIndexOf(_9)+1);return _a?_a.replace(/_(e[0-9a-zA-Z_.]+)/,""):null},evalScript:function(_b){try{eval(_b)}catch(except){vjo.log("except",except,this)}}}).protos({constructs:function(_c){var _d=this;_d.scope=_c;_d.safari=_d.vj$.Browser.bSafari;_d.explorer=_d.vj$.Browser.bIE},load:function(_e,_f){var _10=this;_10.scripts=_e;_10.loaded=0;_10.listener=_f;_10.nextScript();return _10},nextScript:function(){for(var _11=this;_11.loaded<_11.scripts.length;)if(_11.vj$.AjaxScript.getScript(_11.scripts[_11.loaded].src))_11.loaded++;
else if(_11.scripts[_11.loaded].text)_11.vj$.AjaxScript.evalScript(_11.scripts[_11.loaded++].text);else if(_11.scripts[_11.loaded].src)return _11.loadScript(_11.scripts[_11.loaded++]);else _11.loaded++;if(_11.listener)_11.listener.apply(_11.scope,[_11])},loadScript:function(_12){var _13=this;_13.script=_12,href=vjo.utl.getUriBuilder(_12.src);if(_13.safari&&_13.vj$.Browser.fVer<525.28)href.appendParam("_ts",(new Date).valueOf().toString());if(_13.script.tagName)_13.elem=_13.script;else _13.elem=document.body.appendChild(document.createElement("script"));
if(_13.explorer)vjo.evt.attach(_13,_13.elem,"readystatechange",_13.onChange);else vjo.evt.attach(_13,_13.elem,"load",_13.onLoad);_13.elem.type=_12.type;_13.elem.src=href.getUri()},onChange:function(_14){var _15=this;var state=_15.elem.readyState;if(state.match(/loaded/))_15.onLoad(_14)},onLoad:function(_16){var _17=this;_17.vj$.AjaxScript.addScript(_17.script);vjo.evt.detach(_17,_17.elem);_17.nextScript()}}).inits(function(){this.addScripts();vjo.reg.register(this,document.body);vjo.evt.attach(this,
window,"load",this.addScripts)}).endType();
vjo.ctype("vjo.darwin.domain.jaguar.ajax.AjaxStyle").needs("vjo.dsf.client.Browser").props({AjaxLinks:{},addLinks:function(_1){var _2=this;var links=vjo.utl.getTags(document,"link");var _3=0;for(var num=links.length;_3<num;_3++)_2.addLink(links[_3])},addLink:function(_4){var _5=this;var file=_5.getFile(_4.href);return file?_5.AjaxLinks[file]=_4:null},getLink:function(_6){var _7=this;var file=_7.getFile(_6);return file?_7.AjaxLinks[file]:null},getFile:function(_8){if(!_8)return null;var _9=_8.indexOf("#")==
-1?"/":"#";var _a=_8.substring(_8.lastIndexOf(_9)+1);return _a?_a.replace(/_(e[0-9a-zA-Z_.]+)/,""):null},loadRules:function(_b){var _c=vjo.utl.getTag(document,"head");var _d=this;var style=_c.appendChild(document.createElement("style"));style.setAttribute("type","text/css");if(style.styleSheet)style.styleSheet.cssText=_b;else style.appendChild(document.createTextNode(_b))},loadStyles:function(_e){(new this.vj$.AjaxStyle(this)).load(_e)}}).protos({constructs:function(_f){var _10=this;_10.scope=_f;
_10.safari=_10.vj$.Browser.bSafari;_10.explorer=_10.vj$.Browser.bIE;_10.head=vjo.utl.getTag(document,"head")},load:function(_11,_12){var _13=this;_13.styles=_11;_13.loaded=0;_13.listener=_12;_13.nextStyle();return _13},nextStyle:function(){for(var _14=this;_14.loaded<_14.styles.length;)if(_14.vj$.AjaxStyle.getLink(_14.styles[_14.loaded].href))_14.loaded++;else if(_14.styles[_14.loaded].rules)_14.vj$.AjaxStyle.loadRules(_14.styles[_14.loaded++].rules);else if(_14.styles[_14.loaded].href)return _14.loadStyle(_14.styles[_14.loaded++]);
else _14.loaded++;if(_14.listener)_14.listener.apply(_14.scope)},loadStyle:function(_15){var _16=this;_16.style=_15;href=vjo.utl.getUriBuilder(_15.href);if(_16.safari&&_16.vj$.Browser.fVer<525.28)href.appendParam("_ts",(new Date).valueOf().toString());var _17=_16.head.appendChild(document.createElement("link"));_17.type=_15.type;_17.rel=_15.rel;_17.href=href.getUri();_16.elem=_17;_16.retries=_16.safari?200:20;_16.onload=function(){_16.onLoad()};_16.onready=function(){_16.onReady()};if(_16.explorer)vjo.evt.attach(_16,
_17,"load",_16.onLoad);else window.setTimeout(_16.onload,50)},onLoad:function(){var _18=this;styleSheets=document.styleSheets;var ndx=0;for(var num=styleSheets.length;ndx<num;ndx++){var _1a=styleSheets[ndx];var href=_1a.href;if(href&&_18.elem.href.indexOf(href)>=0)return window.setTimeout(_18.onready,!_18.explorer?500:0)}if(_18.retries--)return window.setTimeout(_18.onload,50);else window.setTimeout(_18.onready,0)},onReady:function(){var _1b=this;var elem=_1b.elem;_1b.vj$.AjaxStyle.addLink(elem);
vjo.evt.detach(_1b,elem);this.nextStyle()}}).inits(function(){this.addLinks();vjo.reg.register(this,document.body);vjo.evt.attach(this,window,"load",this.addLinks)}).endType();
vjo.ctype("vjo.darwin.domain.jaguar.ajax.AjaxResponse").needs(["vjo.darwin.domain.jaguar.ajax.AjaxScript","vjo.darwin.domain.jaguar.ajax.AjaxStyle"]).protos({constructs:function(_1,_2,_3){this.request=_1;this.scope=_2;this.func=_3},load:function(_4,_5,_6){this.request.send(this,this.onLoad,_4,_5,_6);return this},onLoad:function(_7){this.error=_7.error;this.status=_7.status;if(this.error)this.onError();else this.process()},onError:function(){vjo.svc.sendRequest("Generic.Ajax.Error");if(this.func)this.func.apply(this.scope,
[this])},process:function(){var _8=this;var redirect=_8.request.getResponseHeader("Redirect");if(redirect)return vjo.utl.reload(redirect);_8.response=_8.request.deserialize();if(!_8.response.objects)return _8.func?_8.onDone():null;_8.nodes=_8.response.nodes;_8.styles=_8.response.styles;_8.objects=_8.response.objects;_8.scripts=_8.response.scripts;_8.processNodes();_8.processStyles();return _8},processNodes:function(){var _9=this;var loader=document.createElement("div");var _a=0;for(var num=_9.nodes.length;_a<
num;_a++){loader.innerHTML=_9.nodes[_a];var _b=loader.firstChild;if(_b==null)continue;var _c=_b.id?vjo.get(_b.id):null;if(_c)_c.parentNode.replaceChild(_b,_c);else document.body.appendChild(_b)}},processStyles:function(){(new this.vj$.AjaxStyle(this)).load(this.styles,this.onStylesLoaded)},onStylesLoaded:function(){this.processObjects();this.processScripts()},processObjects:function(){var _d=this;var service=["Ajax",_d.request.name].join(".");vjo.svc.sendResponse(service,{request:_d.request,response:_d.objects});
vjo.reg.update()},processScripts:function(){(new this.vj$.AjaxScript(this)).load(this.scripts,this.onDone)},onDone:function(){var _e=this;vjo.svc.sendRequest(_e.request.name.concat(".Complete"));if(_e.func)_e.func.apply(_e.scope,[_e]);vjo.dsf.EventDispatcher.load(document.body,true)},getObject:function(_f){return this.objects?this.objects[_f]:null}}).endType();
vjo.ctype("vjo.darwin.domain.jaguar.ajax.AjaxUtils").needs(["vjo.darwin.domain.jaguar.page.PageUtils","vjo.darwin.domain.jaguar.ajax.AjaxRequest","vjo.darwin.domain.jaguar.ajax.AjaxResponse"]).props({getRequest:function(_1,_2,_3,_4,_5,_6){return new this.vj$.AjaxRequest(_1,_2,_3,_4,_5,_6)},getResponse:function(_7,_8,_9){return new this.vj$.AjaxResponse(_7,_8,_9)},getManager:function(_a){var _b=vjo.darwin.domain.jaguar.ajax.AjaxManager;return _b&&_b.isEnabled&&_b.isEnabled(_a)?_b:null},addAjaxHandler:function(_c,
_d,_e,_f,_10){var _11=_e.split(".");_e=["Ajax",_11[0]].join(".");vjo.svc.addRespHandler(_c,_d,_e,_f,_10)},sendAjaxRequest:function(_12,_13,_14,_15){var _16=this.getManager(_12);if(_16==null)return vjo.utl.reload(_13);return _16.sendRequest(_12,_13,_14,_15)},getAjaxResponse:function(_17,_18){var _19=_17.response;var bindings=_18.split(".");var ndx=1;for(var num=bindings.length;_19&&ndx<num;ndx++)_19=_19[bindings[ndx]];return _19},getUriBuilder:function(uri,_1c){return vjo.utl.getUriBuilder(uri,_1c)},
registerObject:function(_1d,_1e){return vjo.reg.register(_1d,_1e)},addEventHandler:function(_1f,_20,_21,_22,_23){return vjo.evt.attach(_1f,_20,_21,_22,_23)},removeEventHandlers:function(_24,_25,_26,_27,_28){return vjo.evt.detach(_24,_25,_26,_27,_28)},addRequestHandler:function(_29,_2a,_2b,_2c,_2d){return vjo.svc.addReqtHandler(_29,_2a,_2b,_2c,_2d)},removeRequestHandler:function(_2e){vjo.svc.removeReqtHandler(_2e)},addResponseHandler:function(_2f,_30,_31,_32,_33){return vjo.svc.addRespHandler(_2f,
_30,_31,_32,_33)},removeResponseHandler:function(_34){vjo.svc.removeRespHandler(_34)}}).inits(function(){if(vjo.alias)vjo.alias(vjo.ajx=this,"vjo.darwin.transitional.ajax.AjaxUtils");else{vjo.ajx=this;vjo.path("vjo.darwin.transitional.ajax");vjo.darwin.transitional.ajax.AjaxUtils=this}}).endType();
vjo.ctype("vjo.darwin.domain.jaguar.ajax.AjaxManager").needs("vjo.darwin.domain.jaguar.ajax.AjaxUtils").needs("vjo.darwin.domain.jaguar.ajax.AjaxThrobber").protos({constructs:function(_1){var _2=this;_2.state={};_2.requests={};_2.cfg=_1;_2.capacity=_1.capacity;_2.explorer=navigator.userAgent.indexOf("MSIE")>=0;_2.host=new RegExp(document.location.host.replace(/\./g,"\\."),"i");_2.site=new RegExp("^$|".concat(document.domain.match(/ebay.*|$^/)[0],"$"),"i");_2.home=vjo.utl.getBaseUri(document.location.href,
false);_2.page=vjo.utl.getBaseUri(document.location.href,true);_2.layout=_2.getLayout();var _3=_2.home.getUri();for(var _4 in _2.cfg.states){var _5=_2.cfg.states[_4];_5.onload=_5.onload?_5.onload:_3;_5.onback=_5.onback?_5.onback:_3;_2.state[_4]=_5.onload;if(_5.onload!=_3)_2.sendRequest(_4,_2.state[_4],false,false,true)}vjo.reg.register(_2,document.body);vjo.evt.attach(_2,window,"load",_2.onload);vjo.darwin.domain.jaguar.ajax.AjaxManager=_2},replace:function(_6){var _7=this;var href=vjo.utl.getUriBuilder(_6);
if(!href.host.match(_7.site))return vjo.utl.reload(_7.home.getUri());var _8=href.params["hash"];href.hash=_8?_8:"";delete href.params["hash"];href.params["_adr"]="1";document.location.replace(href.getUri())},onload:function(_9){var _a=this;_a.iframe=vjo.get(_a.cfg.frameId);if(_a.iframe&&_a.explorer)_a.loadFrame();window.setTimeout(function(){_a.startTicker()},0)},loadFrame:function(){var _b=this;var frame=_b.iframe.contentWindow.document;if(!frame.body.innerText)_b.pushFrame(document.location.href);
vjo.evt.attach(_b,_b.iframe,"load",_b.onFrame)},pushFrame:function(_c){var _d=document.title?document.title:_c;var _e="<scr"+'ipt type="text/javascript">';_e+='document.title = "'+_d+'";';_e+='document.write("'+_c+'");';_e+="</scr"+"ipt>";var _f=this.iframe.contentWindow.document;_f.open();_f.write(_e);_f.close()},onFrame:function(_10){var _11=this.iframe.contentWindow.document;var _12=vjo.utl.getUriBuilder(_11.body.innerText);if(_12.hash==this.page.hash)return;this.sendChanges(document.location.hash=
this.page.hash=_12.hash)},loadCache:function(){var _13=this;_13.cache.value=_13.cache.value.replace(/^\s*/g,"");_13.store=_13.cache.value?_13.cache.value.split("\n"):[];var idx=0;for(var length=_13.store.length;idx<length;idx++){var _15=_13.store[idx].indexOf(":");var key=_13.store[idx].substring(0,_15);if(_13.requests[key])continue;var _17=_13.store[idx].substring(_15+1);var _18=key.substring(0,_15=key.indexOf("."));var _19=vjo.utl.decodeState(key.substring(_15+1));var _1a=vjo.ajx.getRequest(_18,
_19);_1a.responseText=_17;_13.cacheRequest(_13.requests[key]=_1a)}},writeCache:function(_1b,key){var _1d=this;if(_1d.loaded)_1b.cached=true;else return _1b;var _1e=_1d.store.length;if(_1e>=_1d.capacity)_1d.purgeCache();_1d.store.push([key,_1b.responseText].join(":"));if(!_1d.explorer)_1d.cache.value=_1d.store.join("\n");return _1b},purgeCache:function(){var _1f=this.store.shift();var _20=_1f.indexOf(":");var key=_1f.substring(0,_20);var _22=this.requests[key];if(_22)delete this.requests[key]},clearCache:function(){this.requests=
{};this.store=[];if(this.cache)this.cache.value=""},startTicker:function(){var _23=this;_23.loaded=true;_23.layout=_23.getLayout();_23.cache=vjo.get(_23.cfg.cacheId);if(_23.cache)_23.loadCache();for(var key in _23.requests){var _25=_23.requests[key];if(!_25.cached)_23.sendResponse(_25,false)}var _26=vjo.utl.getHash(document.location.hash);_23.sendChanges(_26?_26:vjo.utl.encodeState(_23.state));window.setInterval(function(){_23.onTicker()},50)},onTicker:function(){var _27=this;var href=vjo.utl.getUriBuilder(document.location.href);
if(href.hash==_27.page.hash)return;_27.sendChanges(_27.page.hash=href.hash)},isEnabled:function(_28){return this.cfg.states[_28]},addState:function(_29,_2a){this.cfg.states[_29]=_2a},getState:function(_2b){var _2c=_2b?this.state[_2b]:this.state;return vjo.utl.cloneObject(_2c)},saveState:function(_2d,_2e,_2f){this.state[_2d]=_2e;if(_2f)this.pushState()},pushState:function(){var _30=this;var hash=vjo.utl.encodeState(_30.state);if(hash==_30.page.hash)return;document.location.hash=_30.page.hash=hash;
if(_30.explorer)_30.pushFrame(document.location.href)},getLayout:function(){return vjo.svc.sendRequest("Page.Layout")},sendChanges:function(_31){var _32=_31.match(/^item(.*)/i);if(_32)return;var _33=this;var state=_31?vjo.utl.getState(_31):{};if(state==null&&_33.state["Page"]!==_33.home.getUri())state={};if(state)for(var _34 in _33.cfg.states)_33.sendChange(_34,state[_34])},sendChange:function(_35,_36){var _37=this;if(_36&&_36==_37.state[_35])return;else _37.state[_35]=_36?_36:_37.cfg.states[_35].onback;
var uri=vjo.utl.getBaseUri(_37.state[_35]);var _39=_37.getRequest(_35,uri.getUri());if(_39)_37.sendResponse(_39,false);else _37.sendRequest(_35,uri.getUri(),false)},getKey:function(_3a,_3b){var key=[_3a,vjo.utl.encodeState(_3b)].join(".");return key},startThrobber:function(_3d){if(_3d.throbber=this.loaded)this.vj$.AjaxThrobber.show(_3d.name,null,false,true)},stopThrobber:function(_3e){if(_3e.throbber)this.vj$.AjaxThrobber.hide(_3e.name,true)},cacheRequest:function(_3f){if(_3f.cached)return _3f;var _40=
this;var key=[_3f.name,vjo.utl.encodeState(_3f.href)].join(".");if(_40.requests[key])_40.removeRequest(key);_40.requests[key]=_3f;_40.writeCache(_3f,key);return _3f},getRequest:function(_41,_42){return this.requests[this.getKey(_41,_42)]},removeRequest:function(key){var _44=this;delete _44.requests[key];_44.store=[];for(key in _44.requests)_44.store.push([key,_44.requests[key].responseText].join(":"))},sendRequest:function(_45,_46,_47,_48,_49){var _4a=this;var state=_4a.cfg.states[_45];if(state==
null)return vjo.utl.reload(_46);var _4b=vjo.utl.getUriBuilder(_46,true);var uri=vjo.utl.getUriBuilder(_46,false);if(uri.match(_4a.host))uri=vjo.utl.getBaseUri(_46);if(!uri.host.match(_4a.site))return vjo.utl.reload(_4a.home.getUri());else if(_4b.params["LH_Complete"]!=_4a.page.params["LH_Complete"])return vjo.utl.reload(_46);var _4d=_4a.getLayout();var changed=_4d!==_4a.layout;if(changed)return vjo.utl.reload(_46,_4a.layout=_4d);var _4e=_4a.getRequest(_45,uri.getUri());if(_4e&&_4e.pending)return _4e;
else if(_4e)return _4a.sendResponse(_4e,_47);_4e=vjo.ajx.getRequest(_45,uri.getUri());_4e.local=state.local;_4e.push=_47;_4e.cache=vjo.isDefined(_48)?_48:true;_4e.uri=_4a.appendStateParams(state.paramList,_4e.uri);_4e.noErrorMsg=_49;_4e.send(_4a,_4a.onAjaxResponse,null,_4a.cfg.timeout,3);_4a.startThrobber(_4e);return _4e},onAjaxResponse:function(_4f){if(_4f.error){this.stopThrobber(_4f);return this.onAjaxError(_4f)}vjo.svc.sendRequest(_4f.name.concat(".Ajax.Request"));if(this.loaded)this.sendResponse(_4f,
_4f.push);else this.cacheRequest(_4f)},onAjaxError:function(_50){vjo.svc.sendRequest(_50.name.concat(".Ajax.Error"))},sendResponse:function(_51,_52){var _53=vjo.ajx.getResponse(_51).process();if(_53==null){this.stopThrobber(_51);return this.onAjaxError(_51)}if(_51.getResponseHeader("Redirect")==null)this.stopThrobber(_51);if(_51.cache)this.cacheRequest(_51);if(_52)this.saveState(_51.name,_51.href,true);return _51},appendStateParams:function(_54,uri){for(var key in _54)uri.params[key]=_54[key];uri.params["_ts"]=
(new Date).valueOf().toString();if(uri.host!==document.domain)uri.appendParam("_pdomain",document.domain);return uri}}).endType();
vjo.ctype("vjo.darwin.domain.jaguar.ajax.AjaxSnippet").protos({constructs:function(_1,_2,_3){var _4=this;_4.elem=vjo.reg.register(_4,_2);if(_4.elem==null)return;_4.container=vjo.get(_1);if(_4.container==null)_4.container=_4.elem;_4.loader=document.createElement("div");vjo.ajx.addAjaxHandler(_4,_4.onAjaxResponse,_4.binding=_3)},load:function(_5){var _6=this;_6.loader.innerHTML=_5;var _7=_6.loader.firstChild;if(_7==null)return;_7.id=_6.elem.id;_6.elem.parentNode.replaceChild(_7,_6.elem);if(_6.container===
_6.elem)_6.container=_7;_6.elem=_7;_6.elem.className=_7.className;if(_6.container!==_6.elem)_6.container.style.display="";var _8=vjo.utl.getTags(_6.elem,"script");var _9=0;for(var len=_8.length;_9<len;_9++)eval(_8[_9].text)},show:function(_a){this.container.style.display=_a?"":"none";if(_a==false)this.elem.innerHTML=""},onAjaxResponse:function(_b){var _c=this;var response=vjo.ajx.getAjaxResponse(_b,_c.binding);vjo.log("snippet",_c,response!==null?typeof response:null);if(vjo.isUndefined(response))return;
if(response&&_c.elem)_c.load(response);else if(_c.container)_c.show(response!=null)}}).inits(function(){this.prototype.toString=function(){return this.vj$.meta.name.concat("@",this.oid).concat(".",this.binding)}}).endType();
vjo.ctype("vjo.darwin.core.utils.ImageResizer").needs("vjo.dsf.Element","E").needs("vjo.dsf.Message","M").needs("vjo.dsf.ServiceEngine","S").needs("vjo.dsf.EventDispatcher","ED").needs("vjo.dsf.client.Browser").props({BL:"block",NO:"none",placeImg:function(_1,_2,lh,eh){this.addEvents(_1,lh,eh,true);if(_2&&_2!=null)_1.src=_2},setImg:function(_5,_6,_7,_8,_9){var t=this;var ind=_8.getAttribute("index");var ioSrc=_5&&_5.src?_5.src.toLowerCase():null;var _b=decodeURIComponent(ind);if(_5.height==0||ind&&
_b.toLowerCase()!=decodeURIComponent(ioSrc))return;if(_9&&_9.style&&_6<_5.width)t.resizeSpan(_9);else t.resizeImg(_5,_6,_7,_8);_8.src=_5.src;_8.alt=_5.alt},resizeImg:function(_c,_d,_e,_f){var P="px";var t=this;var st=_f.style;var err=_c.getAttribute("err");var ratio=1;if(err)return;var ht=_c.naturalHeight||_c.height;var wd=_c.naturalWidth||_c.width;var ratioW;var ratioH;if(wd>_d||ht>_e){ratioW=_d/wd;ratioH=_e/ht;ratio=ratioW>ratioH?ratioH:ratioW}st.width=wd*ratio+P;st.height=ht*ratio+P},lHandler:function(_12,
src,_14,piW,piH,_17,_18,_19,_1a,_1b){return function(){var t=this;var o=t.vj$;_12.setAttribute("load","1");if(_12.height==0){_12.setAttribute("err","er");if(_1b)_14.src=_1b;t.showHide(_17,t.NO,_18,t.BL)}else t.showHide(_17,t.NO,_18,t.NO);t.setImg(_12,piW,piH,_14,_1a);t.addEvents(_12,null,null,false);if(_19){var msg=new o.M(_19);msg.request=_19;o.S.handleRequest(msg)}}},eHandler:function(_1e,_1f,_20,_21,_22,_23){return function(){var t=this;t.showHide(_1f,t.NO,_20,t.BL);if(!_20)if(_22){_21.src=_22;
if(_23)_21.className=_23}_1e.setAttribute("err","er");t.addEvents(_1e,null,null,false)}},resizeSpan:function(_25){_25.style.display=_25?"none":"inline-block"},loadImages:function(iOA,src,piW,piH,psE,_2b,_2c,_2d,_2e,_2f,_30,_31,_32,_33){var t=this;var o=t.vj$;var iA=iOA[src];var imgTag=o.E.get(psE);if(!imgTag)return;_33=_33||"";if(!_2b&&imgTag&&imgTag.naturalWidth!=0&&_2c&&!vjo.dsf.client.Browser.bIE){t.resizeImg(imgTag,piW,piH,imgTag);return}if(_2d)t.showHide(_2d,t.BL,_2e,t.NO);if(!iA||_2b||iA&&iA.getAttribute("load")==
"0"){var img=new Image;img.setAttribute("load","0");iOA[src]=img;img.id="no"+psE;img.alt=_33;t.placeImg(img,src,t.lHandler(img,src,imgTag,piW,piH,_2d,_2e,_2f,_32,_30),t.eHandler(img,_2d,_2e,imgTag,_30,_31));return}var err=iA.getAttribute("err");if(err){t.showHide(_2d,t.NO,_2e,t.BL);if(_30){imgTag.src=_30;imgTag.alt=img.alt}return}if(_2c)t.resizeImg(iA,piW,piH,imgTag);else t.setImg(iA,piW,piH,imgTag);t.showHide(_2d,t.NO,_2e,t.NO)},showHide:function(_37,_38,_39,_3a){if(_39)_39.style.display=_3a;if(_37)_37.style.display=
_38},addEvents:function(obj,_3c,_3d,_3e){var t=this;var d=t.vj$.ED;var eType=["load","error"];if(_3e){d.addEventListener(obj,eType[0],_3c,t);d.addEventListener(obj,eType[1],_3d,t)}else{d.detachNativeHandlers(obj,eType[0]);d.detachNativeHandlers(obj,eType[1])}}}).endType();
vjo.ctype("vjo.darwin.core.utils.ImageLoader").needs("vjo.dsf.EventDispatcher","ED").needs("vjo.dsf.client.Browser").props({iA:[],placeImg:function(_1,_2,lh,eh){this.addEvents(true,_1,lh,eh);_1.src=_2},setImg:function(_5,_6,_7,_8){var t=this;var ind=_8.getAttribute("index");var status;if(ind&&ind!=_5.src||!_8)return;status=t.resizeImg(_5,_6,_7,_8);var op=vjo.getType("vjo.darwin.core.utils.OpacityUtil");if(op)setTimeout(function(){op.opacity(_8,0,100,1E3)},10);if(_8.src!=_5.src)_8.src=_5.src;return status},
resizeImg:function(_b,_c,_d,_e){var P="px";var t=this;var st=_e.style;var ratio=1;if(_b.getAttribute("err"))return 0;var ht=_b.naturalHeight||_b.height;var wd=_b.naturalWidth||_b.width;var ratioW;var ratioH;if(wd>_c||ht>_d){ratioW=_c/wd;ratioH=_d/ht;ratio=ratioW>ratioH?ratioH:ratioW}if(!_e.getAttribute("cust")){st.width=wd*ratio+P;st.height=ht*ratio+P}return ht*wd},afterLoad:function(_11,_12){var t=this;var O=_12[0];var s=_12[4];var e=_12[5];_11?_11=t.setImg(O,_12[1],_12[2],_12[3]):O.setAttribute("err",
"er");t.addEvents(false,O);_11>0?s?s():"":e?e():""},callFunc:function(_14,_15){var t=this;return function(){t.afterLoad(_14,_15)}},loadImages:function(src,piW,piH,_1a,_1b,_1c,_1d,_1e){var t=this;var o=t.vj$;var A=t.iA;var I=A[src];var args;if(_1a&&typeof _1a!="object");args=[I,piW,piH,_1a,_1d,_1e];if(I||!_1b&&_1a&&_1a.naturalWidth!=0&&_1c&&!vjo.dsf.client.Browser.bIE){args[0]=I&&!_1c?I:_1a;t.afterLoad(true,args)}if(!I||_1b){args[0]=A[src]=I=new Image;I.id="I"+A.length;I.setAttribute("cust","c");t.placeImg(I,
src,t.callFunc(true,args),t.callFunc(false,args))}},addEvents:function(_20,obj,_22,_23){var t=this;var d=t.vj$.ED;var l="load";var e="error";if(obj.getAttribute("cust"))if(_20){d.addEventListener(obj,l,_22,t);d.addEventListener(obj,e,_23,t)}else{d.detachNativeHandlers(obj,l);d.detachNativeHandlers(obj,e)}}}).endType();
vjo.ctype("vjo.darwin.core.imagecontainer.ImageContainer").needs("vjo.dsf.Element","E").needs("vjo.dsf.Message","M").needs("vjo.dsf.ServiceEngine","S").needs("vjo.darwin.core.utils.ImageResizer","IR").protos({m:null,preImg:null,constructs:function(_1){var t=this;t.m=_1;t.preImg=[];t.setText(t.m.thrbId,t.m.thrbText);t.setText(t.m.errId,t.m.errText);t.loadImage(t)},setImgDt:function(ob){var v=this.m;v.imgData=ob},setText:function(id,_6){var t=this;var o=t.vj$;var E=o.E;if(id){var _8=E.get(id);if(_8){var _9=
_8.getElementsByTagName("SPAN")[0];if(_9)_9.innerHTML=_6}}},clickedImgServiceHandler:function(){var t=this;var o=t.vj$;var msg=new o.M(t.m.clkSrvId);msg.clientContext=t.m.clkLstrKey;o.S.handleRequest(msg);return true},loadImage:function(tt){var t=this;var o=t.vj$;var IR=o.IR;if(!IR)return;var m=t.m;var E=o.E;var thrObj=E.get(m.thrbId);var errObj=E.get(m.errId);var _e=null;if(!m.reszOnLd){var _f=E.get(m.imgId);if(_f){var p=_f.parentNode;var c=p.childNodes;if(c&&c[0]&&c[0].innerHTML==undefined)_e=c[1];
else _e=c[0]}}IR.loadImages(t.preImg,m.imgData.src,m.width,m.height,m.imgId,true,false,thrObj,errObj,m.loadSvcId,null,null,_e,m.imgData.alt)}}).endType();
vjo.ctype("vjo.dsf.document.Shim").needs("vjo.dsf.client.Browser").props({add:function(_1,_2,_3){var f;var p="px";var w;var h;var 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.darwin.comp.base.Base").needs("vjo.dsf.EventDispatcher","ED").props({bodyLoaded:false}).inits(function(){this.vj$.ED.add("body","load",function(){if(!this.bodyLoaded)this.bodyLoaded=true},this)}).endType();
vjo.ctype("vjo.darwin.comp.utils.EventUtils").needs("vjo.dsf.EventDispatcher","ED").needs("vjo.darwin.comp.base.Base","B").needs("vjo.Registry","R").props({reg:{},add:function(_1,id,_3,_4,_5){var rv=this.vj$.ED.add(id,_3,_4,_5);if(id!="body")this.register(_1,id,_3);return rv},register:function(_7,id,_9){if(!_7||!id)return;this.reg[_7]=this.reg[_7]||{};var _a;var _b=this.reg[_7];if(!_b[_9])_b[_9]=[];_b[_9].push(id)},unRegister:function(_c,_d){var _e=this.reg[_c];if(_e){_e=_d?[_e[_d]]:_e;for(var _f in _e){var _10=
_e[_f];for(var idx in _10)this.vj$.ED.detachHandlers(_10[idx],_d||_f)}}},callInit:function(elm,_13,_14){var _15=_13?_13.type:null;if(_15=="mouseover")elm.onmouseover=null;else if(_15=="focus")elm.onfocus=null;var obj=this.vj$.R.get(_14);if(obj)obj.init()},callOnLoad:function(_17){var t=this;var f=function(){var i=0;for(var l=_17.length;i<l;i++){var _1a=t.vj$.R.get(_17[i]);if(_1a&&_1a.onLoad)_1a.onLoad()}};if(t.vj$.B.bodyLoaded)f();else t.add(null,"body","load",f,t)}}).inits(function(){vjo.dsf.EventDispatcher.addEventListener(window,
"unload",function(){vjo.darwin.comp.utils.EventUtils.reg=null})}).endType();
vjo.ctype("vjo.darwin.comp.utils.ServiceUtils").needs("vjo.dsf.ServiceEngine","SE").needs("vjo.dsf.Message","M").props({reg:[],rgSv:function(_1,_2,_3){this.vj$.SE.registerSvcHdl(_2,_3);this.register(_2,_1)},rgSvRsp:function(_4,_5,_6){this.vj$.SE.registerSvcRespHdl(_5,_6);this.register(_5,_4)},sndM:function(_7,_8){return this.vj$.SE.handleRequest(typeof _7=="object"?_7:this.gM(_7,_8))},gM:function(_9,_a){var _b=new this.vj$.M(_9);_b.clientContext=_a;return _b},register:function(_c,_d){if(!_d||!_c)return;
var SE=vjo.darwin.comp.utils.ServiceUtils;var _f;if(!SE.reg[_c]){_f=[];SE.reg[_c]=_f}else _f=SE.reg[_c];_f.push(_d)},unRegister:function(_10){var _11=this.reg[_10];if(_11){var i=0;for(var l=_11.length;i<l;i++)delete vjo.dsf.ServiceEngine.inProcHdl.svcHdls[_11[i]]}}}).endType();
vjo.ctype("vjo.darwin.comp.overlaypanel.OverlayAccessibilityUtil").needs("vjo.dsf.Element").needs("vjo.darwin.comp.utils.EventUtils").needs("vjo.darwin.comp.utils.ServiceUtils","SE").props({E:vjo.dsf.Element,EU:vjo.darwin.comp.utils.EventUtils,SE:vjo.darwin.comp.utils.ServiceUtils,createAnchors:function(OP){var t=this;var O=OP;var I=O.cmpId;var inWr=t.E.get(I+"olp-pad");var tp=t.E.get(I+"_tpDiv");O.sA=t.E.get(O.i.sa);O.eA=t.E.get(O.i.ea);if(O.sA&&O.eA){if(O.f.TS){O.fTd.appendChild(O.sA);O.lTd.appendChild(O.eA)}else if(inWr){inWr.insertBefore(O.sA,
tp);inWr.appendChild(O.eA)}t.EU.add(O.cmpId,O.eA.id,"focus",function(){t.hide(O)},O)}var _5=t.E.get(O.i.cb);if(_5)t.SE.rgSv(O.cmpId,O.i.cb+"_cBSv",function(){t.hide(O)},O)},hide:function(O){var t=this;try{if(O.nfe||O.refE){O.skip=true;(O.nfe||O.refE).focus()}if(O.Open)O.close()}catch(e){O.skip=false}O.skip=false}}).endType();
vjo.ctype("vjo.darwin.comp.overlaypanel.OverlayPanel").needs("vjo.dsf.client.Browser","B").needs("vjo.dsf.Element","E").needs("vjo.dsf.document.Shim","S").needs("vjo.darwin.comp.utils.EventUtils","EU").needs("vjo.dsf.EventDispatcher","EV").needs("vjo.darwin.comp.utils.ServiceUtils","SE").needs("vjo.Registry","R").needs("vjo.darwin.comp.overlaypanel.OverlayAccessibilityUtil","OU").protos({aId:null,sA:null,eA:null,skip:false,nfe:null,cntDiv:null,lTd:null,fTd:null,constructs:function(_1,_2){var t=this;
var J=t.vj$;var B;var p=_2;var M1=_1;var E=J.E;var I=p.id;t.cmpId=p.id;t.OID=p.OId;t.J=J;t.m=p;t.m1=_1;t.Open=false;t.cusPos=null;t.cW=p.CW;t.mst=-1;t.st=null;t.fCall=false;t.getS();t.dmProps();t.mW=t.m1.MW;t.nfe=J.E.get(M1.NFEI);var f1=function(m){if(!t.olp)t.create();t.open(m)};var f2=function(m){t.close(m)};J.SE.rgSv(t.cmpId,t.i.o+p.id,f1);J.SE.rgSv(t.cmpId,t.i.c+p.id,f2)},rePos:function(t){if(!t)t=this;if(t.Open&&(t.refE||t.f.SIC))t.posPanel(t.olp,t.refE)},open:function(_8){var t=this;if(t.m1.AT&&
t.skip){t.skip=false;return}var f=function(){t.olp.style.visibility="visible";t.Open=true;t.refE=t.J.E.get(_8.sAnchorId);t.posPanel(t.olp,t.J.E.get(_8.sAnchorId));if(t.sA&&t.olp.offsetWidth>0)try{t.sA.focus()}catch(ex){}t.J.SE.sndM(t.i.po+t.cmpId)};if(t.f.HM){var _b=t.J.SE.gM(t.m1.MCO);_b.containerId=t.sId;t.J.SE.sndM(_b)}!t.fCall?t.regEvt():"";t.ST(t.cntDiv,t.m.CH);clearTimeout(t.st);t.st=setTimeout(f,t.od||0)},create:function(){var t=this;var p=t.m;var _d;var _e;var _f;var st;var _11;var c2;var cnt;
if(t.f.TS)_d=t.os=="2"?t.CE("table","ov-w ov-sm"):t.CE("table","ov-w "+(t.m.opt.CN||""));else _d=t.os=="2"?t.CD("ov-w ov-sm"):t.CD("ov-w "+(t.m.opt.CN||""));_d.id=p.id;_d.style.position="absolute";_e=t.CE("b","");_f=t.CE("i","");if(t.f.TS){_d.cellSpacing="0";_d.cellPadding="0";var _14=t.CE("tbody","");var _15=t.CE("tr","");var _16=t.CE("td","ov-t");_15.appendChild(_16).appendChild(_e).appendChild(_f);_14.appendChild(_15);t.fTd=_16}else{var _17=t.CD("ov-fl");_17.id=t.m.id+"olp-pad";_d.appendChild(_17);
var _18=t.CD("ov-t");_18.id=t.cmpId+"_tpDiv";_17.appendChild(_18).appendChild(_e).appendChild(_f)}st=["20","15","10"];_11=t.f.PO?t.CD("ov-cnt ov-p"+st[t.os]):t.CD("ov-cnt ov-p0");t.ST(_11,p.CH,p.CW);_11.id="cntw"+p.id;c2=t.CD("ov-c2");cnt=t.J.E.get(t.m.cnId);var b=t.CE("b","");var i=t.CE("i","");if(t.f.TS){var _1a=t.CE("tr","");var _1b=t.CE("td","ov-c1");_1a.appendChild(_1b).appendChild(c2).appendChild(_11);_14.appendChild(_1a);var _1c=t.CE("tr","");var _1d=t.CE("td","ov-b");t.lTd=_1d;var _1e=t.cmpId+
"last";i.id=_1e;_1c.appendChild(_1d).appendChild(b).appendChild(i);_14.appendChild(_1c);_d.appendChild(_14)}else{var d5=t.CD("ov-b");var _20=t.CD("ov-c1");_17.appendChild(_20).appendChild(c2).appendChild(_11);_17.appendChild(t.CE("u","ov-clr"));_17.appendChild(d5).appendChild(b).appendChild(i)}_11.appendChild(cnt);if(t.f.cbtn){var _21;if(t.os==0)_21=t.CE("a","ov-cl");else _21=t.CE("a","ov-cl-m");var _22=t.CE("b","g-hdn");_22.innerHTML=t.m1.cbTxt;_21.id=t.i.cb;_21.href="javascript:;";if(_22)_21.appendChild(_22);
_11.appendChild(_21)}if(t.f.ptr){var ptr=t.CE("b","");ptr.id=t.i.arrId;_11.appendChild(ptr)}if(t.f.p2b)document.body.appendChild(_d);else{var cmp=t.vj$.E.get(t.OID);cmp.parentNode.insertBefore(_d,cmp)}var _25=function(msg){if(t.m1.AT){msg=t.J.SE.gM(t.i.cb+"_cBSv");msg.clsBtn=true}t.close(msg)};if(t.f.cbtn)t.vj$.EU.add(t.cmpId,t.i.cb,"click",function(msg){_25(msg)},t);t.olp=_d;if(t.f.DG||t.f.HD){var js=t.vj$.R.get(t.i.djs);if(js)js.regDrag()}if(t.m1.AT)t.J.OU.createAnchors(t);if(t.f.COM){var fin=function(){t.onMin()};
t.vj$.EU.add(t.cmpId,t.m.id,"mouseover",function(){t.setMState(1)},t);t.vj$.EU.add(t.cmpId,t.m.id,"mouseout",function(){t.setMState(0)},t);t.vj$.EU.add(t.cmpId,t.cmpId,"mouseover",fin,t);t.vj$.EU.add(t.cmpId,t.m.id,"mouseout",function(e){t.onMout(e)},t)}var _2b=t.vj$.E.get(t.m.OId);_2b.style.display="none"},dmProps:function(){var t=this;t.mp=t.m.opt;if(t.mp.JS);if(!t.mp.VF)t.mp.VF=0;if(!t.mp.HF)t.mp.HF=0;t.ha=t.mp.HA;t.va=t.mp.VA;t.cd=t.mp.CD;t.od=t.mp.OD;t.vns=t.mp.VNS;t.os=t.mp.OS;var num=t.m.m1;
t.f={};t.f.srbl=t.i2B(num,0);t.f.cbtn=t.i2B(num,1);t.f.COM=t.i2B(num,2);t.f.COB=t.i2B(num,3);t.f.STK=t.i2B(num,4);t.f.DG=t.i2B(num,5);t.f.SIC=t.i2B(num,6);t.f.HM=t.i2B(num,7);t.f.ptr=t.i2B(num,8);t.f.CL=t.i2B(num,9);t.f.p2b=t.i2B(num,10);t.f.CAT=t.i2B(num,11);t.f.HD=t.i2B(num,12);t.f.PO=t.i2B(num,13);t.f.FX=t.i2B(num,14);t.f.TS=t.i2B(num,15);t.f.COT=t.i2B(num,16)},getS:function(){var t=this;var M1=t.m1;var s=M1.suffixes;t.i={};t.i.o=s[0];t.i.c=s[1];t.i.po=s[2];t.i.pc=s[3];t.i.cb=t.cmpId+s[4];t.i.djs=
t.cmpId+s[5];t.i.arrId=t.m.id+"arid";t.i.sa=t.cmpId+s[6];t.i.ea=t.cmpId+s[7]},CD:function(cls){var t=this;return t.CE("div",cls)},CE:function(elm,cls){var e=document.createElement(elm);if(cls!="")e.className=cls;return e},ST:function(elm,ht,wd,vis){if(!elm)return;if(typeof ht!="undefined")elm.style.height=ht==0?"auto":ht+"px";if(typeof wd!="undefined")elm.style.width=wd==0?"auto":wd+"px";if(this.mW>0)elm.style.maxWidth=this.mW+"px";if(vis)elm.style.visibility=vis;return elm},i2B:function(num,idx){var val=
num.toString(2);var l=val.length-1;var ds=idx-l<0?-(idx-l):idx-l;if(idx>=val.length)return false;return val.charAt(ds)==1},posPanel:function(olp,_3d){var u="px";var t=this;var m=t.m;var fl1=t.J.E.get("olp-pad");var _40=t.J.E.get("cntw"+t.m.id);var h=vjo.Registry.get(t.mp.JS);if(!h)return;var p=h.position(t.olp,_3d,t.ha,t.va,t.cmpId,t.f.srbl,t.mp.SH,t.mp.HF,t.mp.VF,t.f.SIC,null,t.f.HM,t.m.z,t.m.mz,_40,t.vns,t.f.CAT,t.f.FX)},close:function(_43){var t=this;var f=function(){if(!t.olp)return;var s=t.olp.style;
s.visibility="hidden";s.left="-9999px";t.Open=false;t.ST(t.cntDiv,0);var _46=_43&&_43.isRetire;if(!_46){t.J.SE.sndM(t.i.pc+t.cmpId);if(t.f.HM)t.J.SE.sndM(t.m1.MCI)}if(_43&&_43.clsBtn)t.J.SE.sndM(t.i.cb+"_cBSv")};if(t.f.COT)clearTimeout(t.st);t.J.SE.sndM("PRC"+t.cmpId);clearTimeout(t.ct);t.ct=setTimeout(f,_43&&_43.ignDelay?0:t.cd)},setMState:function(_47){this.mst=_47},onMout:function(evt){var t=this;var e=evt.nativeEvent;var pEle=e.toElement||e.relatedTarget;if(!t.f.COM||t.olp&&t.J.E.containsElement(t.olp,
pEle))return;t.close()},onMin:function(){if(this.f.COM)clearTimeout(this.ct)},onResize:function(t){if(!t)t=this;if(t.Open&&(t.refE||t.f.SIC))t.posPanel(t.olp,t.refE)},regEvt:function(){var t=this;var rF=function(){t.onResize(t)};if(!t.f.STK&&!t.f.FX){t.rgEH("resize",rF);t.rgEH("scroll",rF)}var f1=function(e){if(!t.Open)return;var el=e.nativeEvent.srcElement||e.nativeEvent.target;if(!t.f.COB)return;for(;el;){if(el.id==t.cmpId||t.refE&&t.refE.id==el.id)return;el=el.parentNode}t.close()};t.vj$.EU.add(t.cmpId,
"body","click",f1,t);t.fCall=true},rgEH:function(evt,hnd){this.J.EV.addEventListener(window,evt,hnd,window)}}).props({olps:[],olpMsg:function(_51,_52,cnt,_54,ho,_56){var o=this.vj$.SE;var m=o.gM(_51);m.sAnchorId=_52;if(cnt)m.cnt=cnt;if(_54)m.model=_54;if(ho!=null)m.ho=ho;if(_56!=null)m.ignDelay=_56;o.sndM(m)},closeOverlays:function(_58){var olp=vjo.darwin.comp.overlaypanel.OverlayPanel;for(var i=0;i<olp.olps.length;i++)if(olp.olps[i]&&(!_58||olp.olps[i].f.COB))olp.olps[i].close()},sendMessage:function(_5b,
_5c){this.olpMsg(_5b,_5c.anchorId,_5c.cnt,_5c)},registerEvent:function(_5d,_5e,_5f,_60,_61){var t=this;var handler=vjo.dsf.EventDispatcher;var f1=function(){t.sendMessage(_5e,_5d)};var f2=function(){t.sendMessage(_5f,_5d)};handler.add(_5d.anchorId,_60,f1,t);handler.add(_5d.anchorId,_61,f2,t)}}).endType();
vjo.ctype("vjo.darwin.comp.utils.WindowDimension").props({D:undefined,getBrowserDimension:function(){var s=self;var d=document;var de=d.documentElement;if(s.innerHeight)return[s.innerWidth,s.innerHeight];else if(de&&de.clientHeight)return[de.clientWidth,de.clientHeight];return[d.body.clientWidth,d.body.clientHeight]},getScrollXY:function(){var _4=0;var scrOfY=0;var scrOfH=0;var scrOfW=0;var d=document.documentElement||document.body;if(typeof window.pageYOffset=="number")return[window.pageXOffset,
window.pageYOffset,document.height,document.width];else if(d)return[d.scrollLeft,d.scrollTop,d.scrollHeight,d.scrollWidth];return[_4,scrOfY,scrOfH,scrOfW]},getOffsetPosition:function(_5){if(!_5)return;var e=_5;var l=0;var t=0;var z=0;var tz;var h=e.offsetHeight;for(var w=e.offsetWidth;e;){l+=e.offsetLeft;t+=e.offsetTop;if(e.style){tz=parseInt(e.style.zIndex,10);z=!isNaN(tz)&&tz>z?tz:z}e=e.offsetParent}return[l,t,z,h,w]}}).endType();
vjo.ctype("vjo.darwin.comp.overlaypanel.ZIndexUtil").props({getNewZIndex:function(_1,_2,_3,_4){if(!_3&&!_4)return 0;var z=_1==false?_2:_3;z=_4&&_4>=z?_4:z;return z+10}}).endType();
vjo.ctype("vjo.darwin.comp.overlaypanel.harrow.OverlayPanelWithHArrow").needs("vjo.darwin.comp.utils.WindowDimension").needs("vjo.dsf.Element","E").needs("vjo.darwin.comp.overlaypanel.ZIndexUtil","ZU").needs("vjo.dsf.client.Browser","B").protos({st:null,yof:0,aHW:null,pP:null,ar:null,preX:null,preY:null,IE:null,constructs:function(_1,_2){var t=this;t.m=_1;var E=t.E=t.vj$.E;t.bbl=_2;t.st=t.m.styles;t.yof=t.m.yof;t.aHW=t.m.arH;t.pP=t.m.pointPos;t.arrId=t.m.arrId;t.preX;t.preY;var b=t.vj$.B;t.IE=b.bIE&&
b.iVer<=6;t.aH=t.m.arH;t.aW=t.m.arW;t.os=t.m.OS},W:vjo.darwin.comp.utils.WindowDimension,position:function(_6,_7,_8,_9,_a,_b,_c,_d,_e,_f,CID,HM,zid,_13,oc,vns,CAT){var t=this;var tp="top";var b="bottom";var r="right";var l="left";var u="px";var ocS=oc.style;var id=_a;_b=_b;_c=_c;var z=0;var _18=10;var aHW=parseInt(t.aHW);var hof=_d;var aH=parseInt(t.aH);var aW=parseInt(t.aW);var yof=-aH;var xof=-aW;var P=t.P;var olpS=_6.style;var iW=_6.offsetWidth;var iH=_6.offsetHeight;var iZ=0;var W=t.W;var wD=
W.getBrowserDimension();var aS=W.getScrollXY();var _1f;var _20;t.ar=t.vj$.E.get(t.arrId);if(!t.ar){t.ar=document.createElement("div");t.ar.style.display="none"}if(_7){var rH=_7.offsetHeight;var pP=t.pP=="CENTER"?rH/2:t.pP=="TOP"?0:rH;var rW=_7.offsetWidth;var oP=W.getOffsetPosition(_7);var rX=oP[0];var rY=oP[1]+pP;var x=rX-aS[0];var y=rY-aS[1];var aX=0;var aY=0;var vAl=b;var hAl;hof=hof+rW-xof;if(iH<wD[1]-y+aH&&_9=="a"||_9=="b"){_20=rY+yof;if(t.bbl)olpS.marginTop="-4px"}else if(iH<y&&_9=="a"||_9==
"tp"){_20=rY-iH-yof;if(t.bbl)olpS.marginTop="-16px";vAl=tp}else{_20=(y<wD[1]/2?y-30:y-iH+_18+30)+aS[1];if(t.bbl){_20=_20=rY+yof;olpS.marginTop="-1px"}}iW=_6.offsetWidth;rW=_7.offsetWidth;rX=oP[0];var arS=t.ar.style;arS.display="";if(iW+_18+hof<wD[0]-x&&_8=="a"||_8=="l"){_1f=rX+hof;if(t.bbl)olpS.marginLeft="-24px";hAl=l}else if(iW+_18+hof<x&&_8=="a"||_8=="r"){_1f=rX+rW-iW-hof+20;if(t.bbl)olpS.marginLeft="22px";hAl=r}else if(t.bbl){_1f=rX+hof;olpS.marginLeft="-22px";hAl=l}else{_1f=(wD[0]-iW)/2+aS[0];
if(vns!=-1)_20=vns==0?rY+rH:rY-iH-10;arS.display="none"}iZ=oP[2]?oP[2]:iZ}var tY=t.gAP(_1f,_20,iW,iH,rX,rY,pP,rH,hAl,vAl);t.ar.className=t.gAS(hAl,vAl,t.st);arS.zIndex="999";if(vAl==tp)_20=_20-_e;else _20=_20+_e;if(_6.offsetParent){var _26=W.getOffsetPosition(_6.offsetParent);if(_26){_1f=_1f-_26[0];_20=_20-_26[1]}}olpS.left=_1f+u;olpS.top=_20+u;z=t.vj$.ZU.getNewZIndex(HM,zid,_13,iZ);olpS.zIndex=z;if(_9!="b")if(_20<0){var _27=arS.top;var itp=parseInt(_27.replace("px",""));arS.top=itp+_20+"px";olpS.top=
"0"}return[_1f,_20,iW,iH,hAl,vAl,z]},gAP:function(oX,oY,oW,oH,rX,rY,pP,rH,hAl,vAl){var t=this;var a=t.ar.style;var yof=t.yof;var u="px";var la=17;var ra=30;var ta=22;var oldaW=t.aW;if(t.aH<44&&!t.bbl){la=13;ta=16;ra=26}if(t.bbl){la=22;ra=29}a.position="absolute";a.top=(rY-oY>oH/2?-5:0)+(rY-oY-ta)+u;if(t.bbl)a.top=(vAl=="top"?+12:0)+(rY-oY-ta)+u;if(rX<oX){a.left=-la+u;a.right=""}else{if(!t.bbl)t.aW=t.aH<44?27:31;if(t.bbl)a.top=(vAl=="top"?+11:0)+(rY-oY-ta)+u;a.right=-ra+u;a.left=""}if(!t.bbl){a.height=
t.aH+u;a.width=t.aW+u}t.aW=oldaW},gAS:function(hAl,vAl,st){var _37=hAl=="left";if(vAl=="top")return _37?st[1]:st[3];else return _37?st[0]:st[2]}}).endType();

