if(typeof (vjo)=="undefined"){
vjo={};
}
vjo.global=this;
vjo.createPkg=function(_1){
var _2=_1.split("."),len=_2.length;
var _3=this.global;
for(var i=0;i<len-1&&_3&&_2[i];i++){
_3=(_3[_2[i]])?_3[_2[i]]:_3[_2[i]]={};
}
return {pkg:_3,className:(len>0)?_2[len-1]:""};
};
vjo.needs=function(){
};
vjo.needsLib=function(){
};
vjo.type=function(_5){
var _6=function(){
if(this.base){
this.base.parent=this;
}
if(this.constructs){
var rv=this.constructs.apply(this,arguments);
if(rv){
return rv;
}
}
};
_6.props=function(_8){
for(var i in _8){
if(i!="props"&&i!="protos"&&i!="inherits"&&i!="prototype"&&i!="inits"&&i!="satisfies"&&i!="satisfiers"){
_6[i]=_8[i];
}
}
return _6;
};
function createBaseMethod(_a,_b,_c){
_a.prototype.base[_c]=function(){
var _d=this.parent,supBase=(_b.prototype&&_b.prototype.base)?_b.prototype.base[_c]:null,curBase;
if(supBase){
curBase=_d.base[_c];
_d.base[_c]=supBase;
}
var _e=(this.parent)?this.parent:this;
var rv=_b.prototype[_c].apply(_e,arguments);
if(curBase){
_d.base[_c]=curBase;
}
return rv;
};
}
_6.protos=function(obj,_11){
for(var i in obj){
if(i!="base"&&(!_11||i!="constructs")){
if(_11&&_11.prototype&&_11.prototype[i]&&typeof obj[i]=="function"){
createBaseMethod(_6,_11,i);
}
if((!_11&&!_6.prototype[i])&&_6.prototype.base&&_6.prototype.base[i]){
_6.prototype[i]=function(){
_6.prototype.base[i].apply(this,arguments);
};
}else{
if(!(_11&&_6.prototype[i])){
_6.prototype[i]=obj[i];
}
}
}
}
return _6;
};
function createBase(clz,_14){
return (function(){
var _15=_14.prototype.base||_14,constructs=this.constructs,curBase=this.base;
if(_14.prototype.constructs&&constructs){
this.constructs=_14.prototype.constructs;
}
this.base=function(){
_15.apply(this,arguments);
};
_14.apply(this,arguments);
if(constructs){
this.constructs=constructs;
}
this.base=curBase;
});
}
_6.inherits=function(_16){
var _17=vjo.createPkg(_16);
var _18=_17.pkg[_17.className];
_6.prototype.base=createBase(_6,_18);
_6.protos(_18.prototype,_18);
_6.props(_18);
return _6;
};
_6.singleton=function(){
return _6;
};
_6.inits=function(_19){
var _1a=vjo.createPkg(_5);
if(typeof _1a.pkg[_1a.className]=="function"){
_19.call(this);
}
return _6;
};
_6.satisfies=function(_1b){
return _6;
};
_6.satisfiers=function(_1c){
return _6;
};
_6.makeFinal=function(){
return _6;
};
var _1d=vjo.createPkg(_5);
return (_1d.pkg[_1d.className])?_6:(_1d.pkg[_1d.className]=_6);
};

vjo.type("vjo.Registry").singleton().protos({constructs:function(){
this.controls=[];
},put:function(_1e,_1f){
return this.controls[_1e]=_1f;
},get:function(_20){
return this.controls[_20];
},dump:function(){
var _21=this.controls;
var _22="controls on page:\n";
for(var i in _21){
_22+="key = "+i;
_22+="controlName = "+_21[i].objtype;
_22+="\n";
}
return _22;
}}).inits(function(){
vjo.Registry=new vjo.Registry();
});

vjo.type("vjo.dsf.Event").protos({constructs:function(src,_25,_26){
this.src=src;
this.eventType=_25;
this.nativeEvent=_26;
}});

vjo.needs("vjo.dsf.Event");
vjo.type("vjo.dsf.EventDispatcher").singleton().protos({constructs:function(){
this.eventHandlers={};
this.nativeEventHandlers={};
this.fCustomLoad={};
},process:function(_27,_28){
var _29=this.eventHandlers[_27];
if(!_29){
return true;
}
var _2a=_29[_28.eventType];
if(!_2a){
return true;
}
var _2b=true;
for(var i=0;i<_2a.length;i++){
var _2d=_2a[i].handle(_28);
if(_2d&&_2d.objType=="dsf_Message"){
if(vjo.dsf.ServiceEngine&&vjo.dsf.ServiceEngine.handleRequest(_2d)===false){
_2b=false;
}
}else{
if(_2d===false){
_2b=false;
}
}
}
return _2b;
},register:function(id,_2f,_30){
var _31=this.eventHandlers[id];
if(!_31){
_31=this.eventHandlers[id]={};
}
if(!_31[_2f]){
_31[_2f]=[];
}
var len=_31[_2f].length;
_31[_2f][len]=_30;
},isRegistered:function(id,_34){
var _35=this.eventHandlers[id];
return (_35&&_35[_34]&&_35[_34].length>0)?true:false;
},registerNative:function(_36,_37,_38){
var id=(_36==window)?"body":_36.id;
var _3a=this.nativeEventHandlers[id];
if(!_3a){
_3a=this.nativeEventHandlers[id]={};
}
if(!_3a[_37]){
_3a[_37]=[];
}
var len=_3a[_37].length;
_3a[_37][len]=_38;
},add:function(id,_3d,_3e){
if(!id||!_3d||!_3e){
return this;
}else{
if(typeof _3e=="function"){
var _3f=_3e;
var obj={handle:function(){
return _3f.apply(this,arguments);
}};
_3e=obj;
}else{
if(!_3e.handle){
return this;
}
}
}
var b=this.isRegistered(id,_3d);
this.register(id,_3d,_3e);
if(!b){
this.bind(id,_3d);
}
return this;
},addEventListener:function(_42,_43,_44,_45,_46){
var scp=_45||vjo.global;
var _48=function(_49){
var ev=window.event||_49;
var rv=_44.call(scp,ev);
if(rv===false){
vjo.dsf.EventDispatcher.stopEvent(ev);
}
return rv;
};
if(window.addEventListener){
_42.addEventListener(_43,_48,_46||false);
this.registerNative(_42,_43,_48);
return _48;
}else{
if(window.attachEvent){
_42.attachEvent("on"+_43,_48);
this.registerNative(_42,_43,_48);
return _48;
}
}
_42["on"+_43]=_44;
return false;
},bind:function(id,_4d){
var _4e=document.getElementById(id);
if(id=="body"||_4e==document.body){
_4e=document.body;
if(_4d=="load"||_4d=="unload"){
var rv=this.addEventListener(window,_4d,function(){
var oED=vjo.dsf.EventDispatcher;
if(typeof oED.fCustomLoad[_4d]=="function"){
oED.fCustomLoad[_4d]();
}
oED[_4d]("body");
oED.detachHandlers("body",_4d);
oED.fCustomLoad={};
});
if(rv===false){
if(_4e.vjLoadSet){
return this;
}else{
_4e.vjLoadSet=true;
var _51=window["on"+_4d]||"";
if(_51){
this.fCustomLoad[_4d]=_51;
}
}
}
return this;
}
}
if(_4e){
this.addEventListener(_4e,_4d,function(_52){
return vjo.dsf.EventDispatcher[_4d](this,_52||window.event);
},_4e);
}
},reBind:function(){
var eH=this.eventHandlers;
var nEH=this.nativeEventHandlers;
for(var id in eH){
for(var _56 in eH[id]){
if(!this.hasBinding(id,_56)){
this.bind(id,_56);
}
}
}
},hasBinding:function(id,_58){
var nEH=this.nativeEventHandlers;
if(nEH[id]&&nEH[id][_58]){
var aH=nEH[id][_58],len=aH.length,rv=false;
for(var i=0;i<len;i++){
var str=aH[i].toString();
if(str&&str.indexOf("vjo.dsf.EventDispatcher")!=-1){
return true;
}
}
}
return false;
},removeEventListener:function(_5d,_5e,_5f){
if(!_5d||!_5e){
return;
}
if(window.addEventListener){
_5d.removeEventListener(_5e,_5f,false);
}else{
if(window.attachEvent){
_5d.detachEvent("on"+_5e,_5f);
}else{
_5d["on"+_5e]=null;
}
}
},detachNativeHandlers:function(_60,_61){
var _62=this.nativeEventHandlers[_60.id];
if(_62&&_62[_61]){
var h=_62[_61];
for(var i=0;i<h.length;i++){
this.removeEventListener(_60,_61,_62[_61][i]);
}
_62[_61]=[];
}
},detachHandlers:function(id,_66){
var _67=id;
if(!this.eventHandlers[_67]){
return;
}
this.eventHandlers[_67][_66]=[];
var _68=document.getElementById(id);
if(id=="body"){
_68=window;
}
if(_68){
this.detachNativeHandlers(_68,_66);
}
},stopEvent:function(evt){
this.stopPropagation(evt);
this.preventDefault(evt);
},stopPropagation:function(evt){
if(evt.stopPropagation){
evt.stopPropagation();
}else{
evt.cancelBubble=true;
}
},preventDefault:function(evt){
if(evt.preventDefault){
evt.preventDefault();
}else{
evt.returnValue=false;
}
},target:function(_6c){
var _6d=vjo.darwin.domain.finding.common.browser.DHTMLEvent;
return _6d.resolveTextNode((_6c.target)?_6c.target:_6c.srcElement);
},relatedTarget:function(_6e){
var _6f=vjo.darwin.domain.finding.common.browser.DHTMLEvent;
if(_6e.relatedTarget){
return _6f.resolveTextNode(_6e.relatedTarget);
}else{
if((_6e.type=="mouseover")&&_6e.fromElement){
return _6f.resolveTextNode(_6e.fromElement);
}else{
if((_6e.type=="mouseout")&&_6e.toElement){
return _6f.resolveTextNode(_6e.toElement);
}else{
return null;
}
}
}
},resolveTextNode:function(_70){
return (_70&&(_70.nodeType==3))?_70.parentNode:_70;
},cleanUp:function(){
var _71=this.nativeEventHandlers;
for(var id in _71){
for(var ev in _71[id]){
this.detachHandlers(id,ev);
}
}
},getId:function(src,id){
var _76=id;
if(_76===null||!_76){
_76=src.id;
}
return _76;
},getBodyId:function(src,id){
var _79=this.getId(src,id);
if(!_79||src==document.body){
_79="body";
}
return _79;
},load:function(src,_7b){
var id=this.getBodyId(src);
var rv=this.process(id,new vjo.dsf.Event(src,"load",_7b));
if(id==="body"){
this.detachHandlers("body","load");
}
return rv;
},unload:function(src,_7f){
return this.process(this.getBodyId(src),new vjo.dsf.Event(src,"unload",_7f));
},change:function(src,_81){
return this.process(this.getId(src),new vjo.dsf.Event(src,"change",_81));
},submit:function(src,_83){
return this.process(this.getId(src),new vjo.dsf.Event(src,"submit",_83));
},reset:function(src,_85){
return this.process(this.getId(src),new vjo.dsf.Event(src,"reset",_85));
},select:function(src,_87){
return this.process(this.getId(src),new vjo.dsf.Event(src,"select",_87));
},blur:function(src,_89){
return this.process(this.getId(src),new vjo.dsf.Event(src,"blur",_89));
},focus:function(src,_8b){
return this.process(this.getId(src),new vjo.dsf.Event(src,"focus",_8b));
},keydown:function(src,_8d){
return this.process(this.getBodyId(src),new vjo.dsf.Event(src,"keydown",_8d));
},keypress:function(src,_8f){
return this.process(this.getBodyId(src),new vjo.dsf.Event(src,"keypress",_8f));
},keyup:function(src,_91){
return this.process(this.getBodyId(src),new vjo.dsf.Event(src,"keyup",_91));
},click:function(src,_93){
return this.process(this.getBodyId(src),new vjo.dsf.Event(src,"click",_93));
},dblclick:function(src,_95){
return this.process(this.getBodyId(src),new vjo.dsf.Event(src,"dblclick",_95));
},mousedown:function(src,_97){
return this.process(this.getBodyId(src),new vjo.dsf.Event(src,"mousedown",_97));
},mousemove:function(src,_99){
return this.process(this.getBodyId(src),new vjo.dsf.Event(src,"mousemove",_99));
},mouseout:function(src,_9b){
return this.process(this.getBodyId(src),new vjo.dsf.Event(src,"mouseout",_9b));
},mouseover:function(src,_9d){
return this.process(this.getBodyId(src),new vjo.dsf.Event(src,"mouseover",_9d));
},mouseup:function(src,_9f){
return this.process(this.getBodyId(src),new vjo.dsf.Event(src,"mouseup",_9f));
}}).inits(function(){
vjo.dsf.EventDispatcher=new vjo.dsf.EventDispatcher();
vjo.dsf.EventDispatcher.addEventListener(window,"unload",function(){
vjo.dsf.EventDispatcher.cleanUp();
});
});

vjo.needs("vjo.dsf.typeextensions.string.Comparison");
String.prototype.replaceToken=function(_a0,_a1,_a2){
var rv=_a0;
while(rv.has(_a1)){
rv=rv.replace(_a1,_a2);
}
return rv;
};
String.prototype.replaceTokensEx=function(_a4){
var rv=this,re,tkn,a=arguments,l=a.length;
for(var i=1;i<l+1;i++){
rv=this.replaceToken(rv,_a4.replace("n",(i)),a[i]);
}
return rv;
};
String.prototype.replaceTokens=function(){
var rv=this,re,tkn,a=arguments,l=a.length;
for(var i=0;i<l;i++){
rv=this.replaceToken(rv,"<#"+(i+1)+"#>",a[i]);
}
return rv;
};

String.prototype.has=function(_a9){
return (this.indexOf(_a9)!=-1);
};
String.prototype.hasArg=function(_aa){
var a=_aa,rv=false;
if(typeof (a)=="string"){
rv=this.has(a);
}else{
var aL=a.length;
for(var j=0;j<aL&&!rv;j++){
rv=this.has(a[j]);
}
}
return rv;
};
String.prototype.hasAny=function(){
var a=arguments,l=a.length,rv=false;
for(var i=0;i<l&&!rv;i++){
rv=this.hasArg(a[i]);
}
return rv;
};
String.prototype.hasAll=function(){
var a=arguments,l=a.length;
for(var i=0;i<l;i++){
if(!this.hasArg(a[i])){
return false;
}
}
return true;
};
String.prototype.is=function(s){
return (this==s);
};
String.prototype.isAny=function(){
var a=arguments,l=a.length,rv=false,aL;
for(var i=0;i<l&&!rv;i++){
if(typeof (a[i])=="string"){
rv=(this==a[i]);
}else{
aL=a[i].length;
for(var j=0;j<aL&&!rv;j++){
rv=(this==a[i][j]);
}
}
}
return rv;
};

vjo.type("vjo.dsf.document.Element").props({get:function(_b6){
var d=document,e=null;
if(d.getElementById){
e=d.getElementById(_b6);
}
if(!e&&d.all){
e=d.all[_b6];
}
return e;
},toggleHideShow:function(_b8,_b9){
var e=this.get(_b8),s,d,u="undefined";
if(e){
s=e.style;
d=s.display;
if(typeof (_b9)===u){
_b9=(d===""||d==="block")?false:true;
}
s.display=(_b9)?"block":"none";
}
},promoteToBody:function(_bb){
var e=this.get(_bb),b=document.body;
if(e&&b&&e.parentNode){
e.parentNode.removeChild(e);
b.appendChild(e);
}
},toggleVisibility:function(_bd,_be){
var e=this.get(_bd),v,s,u="undefined";
if(e){
s=e.style;
v=s.visibility;
if(typeof (_be)===u){
_be=(v==="")?false:true;
}
s.visibility=(_be)?"":"hidden";
}
},enable:function(_c0,_c1){
var e=this.get(_c0);
if(e){
e.disabled=!_c1;
}
},left:function(_c3,_c4){
return this.setLTWH(_c3,_c4,"Left");
},top:function(_c5,_c6){
return this.setLTWH(_c5,_c6,"Top");
},width:function(_c7,_c8){
return this.setLTWH(_c7,_c8,"Width");
},height:function(_c9,_ca){
return this.setLTWH(_c9,_ca,"Height");
},setLTWH:function(_cb,_cc,_cd){
var e=this.get(_cb);
if(e){
if((_cc!=null)&&!isNaN(parseInt(_cc))){
e.style[_cd.toLowerCase()]=_cc;
}
return e["offset"+_cd];
}
},createElement:function(_cf){
return document.standardCreateElement?document.standardCreateElement(_cf):document.createElement(_cf);
},containsElement:function(_d0,_d1){
while((_d1!=null)&&(_d1!=_d0)&&(_d1.parentNode!=null)){
_d1=_d1.parentNode;
}
return (_d1==_d0);
},getElementByTagClass:function(_d2,tag,_d4){
var _d5=_d2.getElementsByTagName(tag);
for(var ndx=0;((ndx<_d5.length)&&(_d5[ndx].className.match(_d4)==null));ndx++){
}
return (ndx<_d5.length)?_d5[ndx]:null;
},getElementsByTagClass:function(_d7,tag,_d9){
var _da=new Array();
var _db=_d7.getElementsByTagName(tag);
for(var ndx=0;(ndx<_db.length);ndx++){
if(_db[ndx].className.match(_d9)){
_da.push(_db[ndx]);
}
}
return _da;
}});

String.prototype.hex2Dec=function(){
return parseInt(this,16);
};

Number.prototype.dec2Hex=function(){
return parseInt(this,10).toString(16);
};

vjo.needs("vjo.dsf.typeextensions.string.Comparison");
vjo.needs("vjo.dsf.typeextensions.string.HexToDecimal");
vjo.needs("vjo.dsf.typeextensions.number.DecimalToHex");
vjo.type("vjo.dsf.cookie.VjCookieJar").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(_dd,_de){
var rv=this.readCookieObj(_dd,_de).value;
return (rv)?unescape(rv):"";
},createDefaultCookieBean:function(_e0,_e1){
var _e2={};
_e2.name=_e0;
_e2.cookieletname=_e1;
_e2.value="";
_e2.maxage=0;
_e2.rawcookievalue="";
_e2.mode="";
return _e2;
},readCookieObj:function(_e3,_e4){
var _e5=this.createDefaultCookieBean(_e3,_e4);
this.update();
this.checkConversionMap(_e5);
_e5.rawcookievalue=this.aCookies[_e5.name];
if(!_e5.name||!_e5.rawcookievalue){
_e5.value="";
}else{
if(!_e5.cookieletname){
this.readCookieInternal(_e5);
}else{
this.readCookieletInternal(_e5);
}
}
return (typeof (_e5)!="undefined")?_e5:"";
},checkConversionMap:function(_e6){
var _e7=this.aConversionMap[_e6.name];
if(_e7){
_e6.mode=this.getMode(_e6.name);
_e6.name=_e7[0];
_e6.cookieletname=_e7[1];
}
},readCookieInternal:function(_e8){
_e8.value=_e8.rawcookievalue;
return _e8;
},readCookieletInternal:function(_e9){
var _ea=this.getCookielet(_e9.name,_e9.cookieletname,_e9.rawcookievalue);
var _eb=this.getFormat(_e9.name);
if(_ea&&_eb.bUseExp){
var _ec=_ea;
_ea=_ea.substring(0,_ea.length-8);
if(_ec.length>8){
_e9.maxage=_ec.substring(_ec.length-8);
}
}
_e9.value=_ea;
if(_e9.mode==this.sCOMPAT){
_e9.value=_e9.rawcookievalue;
}
return _e9;
},readMultiLineCookie:function(_ed,_ee){
if(!_ed||!_ee){
return "";
}
var val,r="";
var _f0=this.aConversionMap[_ed];
if(_f0){
val=this.readCookieObj(_f0[0],_f0[1]).value||"";
}
if(val){
r=this.getCookielet(_ed,_ee,val)||"";
}
return (typeof (r)!="undefined")?r:"";
},writeCookie:function(_f1,_f2,_f3){
var _f4=this.aConversionMap[_f1];
if(_f4){
this.writeCookielet(_f4[0],_f4[1],_f2,_f3);
return;
}
var _f5=this.getFormat(_f1);
if(_f2&&_f5.escapedValue){
_f2=escape(_f2);
}
this.writeRawCookie(_f1,_f2,_f3);
},writeRawCookie:function(_f6,_f7,_f8){
if(_f6&&(_f7!==undefined)){
if((isNaN(_f7)&&_f7.length<4000)||(_f7+"").length<4000){
if(typeof _f8=="number"){
_f8=this.getExpDate(_f8);
}
var _f9=_f8?new Date(_f8):new Date(this.getExpDate(730));
var _fa=this.getFormat(_f6);
var _fb=this.sCookieDomain;
var dd=document.domain;
if(!dd.has(_fb)){
var _fd=dd.indexOf(".ebay.");
if(_fd>0){
this.sCookieDomain=dd.substring(_fd);
}
}
if(document.cookie){
document.cookie=_f6+"="+(_f7||"")+((_f8||_fa.bUseExp)?"; expires="+_f9.toGMTString():"")+"; domain="+this.sCookieDomain+"; path="+this.sPath;
}
}
}
},writeCookieEx:function(_fe,_ff,_100){
this.writeCookie(_fe,_ff,this.getExpDate(_100));
},writeCookielet:function(_101,_102,_103,_104,_105){
if(_101&&_102){
this.update();
var _106=this.getFormat(_101);
if(_106.bUseExp&&_103){
if(typeof _104=="number"){
_104=this.getExpDate(_104);
}
var _107=_104?new Date(_104):new Date(this.getExpDate(730));
var _108=Date.UTC(_107.getUTCFullYear(),_107.getUTCMonth(),_107.getUTCDate());
_108=Math.floor(_108/1000);
_103+=_108.dec2Hex();
}
var val=this.createCookieValue(_101,_102,_103);
this.writeRawCookie(_101,val,_105);
}
},writeMultiLineCookie:function(_10a,_10b,_10c,_10d,_10e){
this.update();
var val=this.createCookieValue(_10a,_10b,_10c);
if(val){
var cmap=this.aConversionMap[_10a];
if(cmap){
this.writeCookielet(cmap[0],cmap[1],val,_10d,_10e);
}
}
},getBitFlag:function(_111,_112){
_111=parseInt(_111,10);
var b=_111.toString(2),r=_111?b.charAt(b.length-_112-1):"";
return (r=="1")?1:0;
},setBitFlag:function(_114,_115,_116){
var b="",p,i,e,l;
_114=parseInt(_114,10);
if(_114){
b=_114.toString(2);
}
l=b.length;
if(l<_115){
e=_115-l;
for(i=0;i<=e;i++){
b="0"+b;
}
}
p=b.length-_115-1;
return parseInt(b.substring(0,p)+_116+b.substring(p+1),2);
},createCookieValue:function(_118,_119,_11a){
var cmap=this.aConversionMap[_118],format=this.getFormat(_118),mode=this.getMode(_118),val;
if(cmap&&(mode==this.sSTRICT||mode==this.sCONVER)){
val=this.readCookieObj(cmap[0],cmap[1]).value||"";
}else{
val=this.aCookies[_118]||"";
}
if(format){
var clts=this.getCookieletArray(val,format);
clts[_119]=_11a;
var str="";
for(var i in clts){
if(clts[i]){
str+=i+format.NAME_VALUE_DELIMITER+clts[i]+format.COOKIELET_DELIMITER;
}
}
if(str&&format.startDelim){
str=format.startDelim+str;
}
val=str;
if(format.escapedValue){
val=escape(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 _122=this.getFormat(sC[0]),cv=sC[1],sd=_122.startDelim;
if(sd&&cv&&cv.indexOf(sd)===0){
sC[1]=cv.substring(sd.length,cv.length);
}
this.aCookies[sC[0]]=sC[1];
}
},getCookielet:function(_123,_124,_125){
var _126=this.getFormat(_123);
var clts=this.getCookieletArray(_125,_126);
return clts[_124]||"";
},getFormat:function(_128){
return this.aFormatMap[_128]||vjo.dsf.cookie.VjCookieJar.Default_Cookie_Format;
},getCookieletArray:function(_129,_12a){
var rv=[],val=_129||"";
if(_12a.escapedValue){
val=unescape(val);
}
var a=val.split(_12a.COOKIELET_DELIMITER);
for(var i=0;i<a.length;i++){
var idx=a[i].indexOf(_12a.NAME_VALUE_DELIMITER);
if(idx>0){
rv[a[i].substring(0,idx)]=a[i].substring(idx+1);
}
}
return rv;
},getExpDate:function(_12f){
var _130;
if(typeof _12f=="number"&&_12f>=0){
var d=new Date();
d.setTime(d.getTime()+(_12f*24*60*60*1000));
_130=d.toGMTString();
}
return _130;
},getMode:function(_132){
var h=this.readCookieObj(this.sModesCookie,this.sModesCookielet).value,b;
if(!(_132 in this.aConversionMap)){
return null;
}
if(!h){
return "";
}
if(h===0){
return this.sSTRICT;
}
if(h&&h!="0"){
if(h.has(".")){
var a=h.split(".");
for(i=0;i<a.length;i++){
b=a[i].hex2Dec().toString(2)+b;
}
}else{
b=h.hex2Dec().toString(2);
}
i=0;
var l=b.length,j;
for(o in this.aConversionMap){
j=l-(2*(i+1));
f=b.substring(j,j+2).toString(10);
f=(!f)?this.sSTRICT:f;
if(_132==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};
});

vjo.type("vjo.dsf.utils.Object").props({hitch:function(_137,_138){
var fcn;
if(typeof _138=="string"){
fcn=_137[_138];
}else{
fcn=_138;
}
return function(){
return fcn.apply(_137,arguments);
};
},extend:function(_13a,_13b){
function inheritance(){
}
inheritance.prototype=_13b.prototype;
_13a.prototype=new inheritance();
_13a.prototype.constructor=_13a;
_13a.baseConstructor=_13b;
_13a.superClass=_13b.prototype;
}});

vjo.needs("vjo.dsf.typeextensions.string.TokenReplacement");
vjo.needs("vjo.dsf.typeextensions.string.Comparison");
vjo.needs("vjo.dsf.document.Element");
vjo.needs("vjo.dsf.cookie.VjCookieJar");
vjo.needs("vjo.dsf.utils.Object");
vjo.type("vjo.darwin.core.express.ExpressCrossLinking").protos({constructs:function(_13c,_13d,_13e,_13f,_140,_141,_142){
this.sLayerId=_13c;
this.sCloseAnchorId=_13d;
this.sCartCountText=_13e;
this.aHostCoutryId=_13f;
this.aHostCountryDomain=_140;
this.aHideOnParams=_141;
this.sHtmlProvider=_142;
this.sReferrer=document.referrer;
},getHost:function(){
var oCJ=vjo.dsf.cookie.VjCookieJar,df=this.sReferrer,sid=oCJ.readCookie("ebay","ecs")||"",rv="",i;
if(sid=="-1"){
return rv;
}
if(sid){
rv=this.getHostById(sid);
}else{
if((i=df.indexOf(".express."))!=-1){
df=df.substring(i+9).toLowerCase();
var f=df.indexOf("/");
if(f>0){
df=df.substring(0,f);
}
for(i in this.aHostCountryDomain){
if(this.compareHost(this.aHostCountryDomain[i],df)){
rv=this.aHostCountryDomain[i];
oCJ.writeCookielet("ebay","ecs",this.aHostCoutryId[i]);
break;
}
}
}
}
return rv.toLowerCase();
},compareHost:function(_145,_146){
var sh1=_145.toLowerCase(),sh2=_146.toLowerCase();
if(sh1.indexOf(".")==0){
sh1=sh1.substring(1);
}
if(sh2.indexOf(".")==0){
sh2=sh2.substring(1);
}
sh1=sh1.replace("/","");
sh2=sh2.replace("/","");
return (sh1==sh2);
},hideOnParams:function(){
if(this.aHideOnParams){
var _148=this.aHideOnParams;
var iLen=_148.length;
for(var i=0;i<iLen;i++){
if(document.location.href.has(_148[i])){
return true;
}
}
}
return false;
},init:function(){
if(this.hideOnParams()){
return;
}
var oD=document,oCJ=vjo.dsf.cookie.VjCookieJar,sh="",l=this.sLayerId,E=vjo.dsf.document.Element;
if(sh=this.getHost()){
var oL=E.get(l),ct=oCJ.readCookie("dp1","exc")||"",sc="",lh=oD.location.host;
ct=ct.split(".")[2];
lh=lh.substring(lh.indexOf(".")+1);
if(ct&&ct!="0"&&this.compareHost(lh,sh)){
sc=this.sCartCountText.replaceTokensEx("##n##",ct);
}
if(oL){
oL.innerHTML=this.sHtmlProvider.replaceTokensEx("##n##",sh,sc);
E.toggleHideShow(l,true);
var oCL=E.get(this.sCloseAnchorId);
if(oCL){
oCL.onclick=vjo.dsf.utils.Object.hitch(this,"close");
}
}
}
},getHostById:function(psId){
var ids=this.aHostCoutryId,i,ind=-1,o="";
for(i=0;i<ids.length;i++){
if(psId==ids[i]){
ind=i;
break;
}
}
if(ind!=-1){
o=this.aHostCountryDomain[ind];
}
return o;
},close:function(){
vjo.dsf.document.Element.toggleHideShow(this.sLayerId,false);
vjo.dsf.cookie.VjCookieJar.writeCookielet("ebay","ecs","-1");
return false;
}});

vjo.needs("vjo.dsf.typeextensions.string.Comparison");
vjo.type("vjo.dsf.client.Browser").props({init:function(){
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.iVer=this.fVer=-1;
this.fMinorVer=0;
this.aMimeTypes=null;
var nv=navigator,agt=nv.userAgent.toLowerCase(),i=0,ver;
with(this){
if(agt.has("webtv")){
bWebTV=true;
i=agt.indexOf("webtv/")+6;
}else{
if(agt.has("firefox")){
bFirefox=true;
i=agt.lastIndexOf("firefox")+8;
}else{
if(agt.has("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.is("Netscape")){
bNav=true;
i=agt.lastIndexOf("/")+1;
}else{
if(agt.has("msie")){
bIE=true;
i=agt.indexOf("msie")+4;
if(agt.has("aol")||agt.has("america online")){
bAOL=true;
}
}
}
}
}
}
}
ver=bOpera?window.opera.version():agt.substring(i);
iVer=parseInt(ver);
fVer=parseFloat(ver);
fMinorVer=fVer-iVer;
bWin=agt.has("win");
bWinXp=(bWin&&agt.has("windows nt 5.1"));
bVista=(bWin&&agt.has("windows nt 6.0"));
bXpSp2=(bWinXp&&agt.has("sv1"));
bMac=agt.has("mac");
bMacppc=(bMac&&agt.hasAny("ppc","powerpc"));
bMactel=(bMac&&agt.has("intel"));
aMimeTypes=nv.mimeTypes;
bActiveXSupported=(!(bMac||bMacppc)&&(typeof (ActiveXObject)=="function"));
}
}}).inits(function(){
vjo.dsf.client.Browser.init();
});

vjo.needs("vjo.dsf.client.Browser");
vjo.type("vjo.dsf.client.ActiveX").props({init:function(){
var oC=vjo.dsf.client.Browser;
if(oC.bIE){
var d=document;
dw=function(s){
d.writeln(s);
};
dw("<scr"+"ipt language=\"vbscript\" type=\"text/vbscript\">");
dw("\tFunction vbCheckActiveXControl (pActXName)");
dw("\t\taX = false");
dw("\t\ton error resume next");
dw("\t\taX = IsObject(CreateObject(pActXName))");
dw("\t\tvbCheckActiveXControl = aX");
dw("End Function");
dw("</scr"+"ipt>");
}
},isLibLoaded:function(_154){
var oC=vjo.dsf.client.Browser;
return oC.bActiveXSupported&&vbCheckActiveXControl(_154);
}}).inits(function(){
vjo.dsf.client.ActiveX.init();
});

vjo.needs("vjo.dsf.client.ActiveX");
vjo.type("vjo.darwin.core.ebaytoolbar.VjEbayToolbarDetect").props({isEnabled:function(){
var V1="eBayToolbar.Helper",V2="eBayToolbarCommLib.IWebEvent.1";
with(this){
var oAx=vjo.dsf.client.ActiveX;
return (oAx.isLibLoaded(V1)||oAx.isLibLoaded(V2));
}
}});

vjo.needs("vjo.dsf.cookie.VjCookieJar");
vjo.needs("vjo.dsf.typeextensions.string.Comparison");
vjo.needs("vjo.dsf.client.Browser");
vjo.needs("vjo.dsf.document.Element");
vjo.needs("vjo.dsf.utils.Object");
vjo.needs("vjo.darwin.core.ebaytoolbar.VjEbayToolbarDetect");
vjo.type("vjo.darwin.core.bta.BuyerTransactionAlert").protos({constructs:function(pId,_159,_15a,_15b,_15c,_15d,_15e,_15f,_160,_161,_162){
this.sId=pId;
this.iPollingInterval=_159;
this.iMaxHits=_15a;
this.iHitTimeout=_15b;
this.iServerHits=0;
this.sLastCookieletValue="";
this.sServerUrl=_15c;
if(document.location.protocol.has("https")){
_15d=_15d.replace("http://pics.","https://securepics.");
}
this.sImgServer=_15d+"/";
this.sViewItemUrl=_15e;
this.aAlertInfo=[["h:h:alt:2",_160,"icon/iconOutbid_16x16.gif"],["h:h:alt:3",_15f,"icon/iconWatchB_16x16.gif"],["h:h:alt:4",_160,"icon/iconOutbid_16x16.gif"],["h:h:alt:5",_161,"icon/iconchanceBlu_16x16.gif"],["h:h:alt:tcr",_162,"icon/iconMailBlue_16x16.gif"]];
var c,oC=vjo.dsf.client.Browser,oCJ=vjo.dsf.cookie.VjCookieJar;
if((oC.bNav&&oC.iVer<7)||(oC.bOpera&&(oC.iVer+oC.fMinorVer)<0.5)||(oC.bIE&&oC.iVer<5)){
return;
}
c=oCJ.readCookie("ebaysignin");
if(!c||!c.is("in")){
return;
}
c=oCJ.readCookie("dp1","a1p");
if(c&&c.length>0&&parseInt(c)>0){
return;
}
if(vjo.darwin.core.ebaytoolbar.VjEbayToolbarDetect.isEnabled()){
return;
}
},setValue:function(pVal,_165){
var oL=this.oL;
if(oL){
if(pVal.is("")&&!oL.ctrld){
return;
}
if(_165){
if(vjo.dsf.client.Browser.bFirefox){
oL.textContent=pVal;
}else{
oL.innerText=pVal;
}
}else{
oL.innerHTML=pVal;
}
oL.ctrld=1;
}
},onRefresh:function(){
var E=vjo.dsf.document.Element;
if(!this.oL){
this.oL=E.get(this.sId);
}
if(!this.oL){
return;
}
var c=vjo.dsf.cookie.VjCookieJar.readCookie("ebay","a2p");
if(!c){
this.onCookieExpire();
return;
}
var at=parseInt(c.charAt(8));
if(isNaN(at)){
return;
}
if(at==0){
this.setValue("");
return;
}
var nrt=parseInt(c.substring(0,8),16)*1000;
if(isNaN(nrt)){
return;
}
var ct=new Date();
ct=ct.getTime();
if(at==6||at==9){
if(!c.is(this.sLastCookieletValue)){
this.iServerHits=0;
}
this.setValue("");
this.sLastCookieletValue=c;
var t=(nrt>ct)?parseInt((nrt-ct)/1000):this.iPollingInterval;
window.setTimeout(vjo.dsf.utils.Object.hitch(this,this.onCookieExpire),t*1000);
return;
}
if(ct>=nrt){
this.onCookieExpire();
return;
}
this.iServerHits=0;
var cfg=this.aAlertInfo;
if(at<0&&at>=cfg.length){
return;
}
var ii=c.substring(9,c.lastIndexOf("."));
if(!c.is(this.sLastCookieletValue)){
var _16f=cfg[at-1],imgSrv=this.sImgServer;
var _170=imgSrv+"s.gif";
var _171="<img src=\""+_170+"\" width=\"10\" height=\"16\" style=\"vertical-align:middle\">|<img src=\""+_170+"\" width=\"10\" height=\"16\" style=\"vertical-align:middle\">";
_171+="<img src=\""+imgSrv+_16f[2]+"?t\" style=\"vertical-align:middle\"><img src=\""+_170+"\" width=\"5\" height=\"16\" style=\"vertical-align:middle\">";
var url=this.sViewItemUrl+"&item="+ii;
_171+="<a href=\""+url+"&ssPageName="+_16f[0]+"\">"+_16f[1]+"</a>";
this.setValue(_171);
this.sLastCookieletValue=c;
}
this.fireRefreshEvent();
},fireRefreshEvent:function(_173){
if(!_173){
_173=this.iPollingInterval;
}
window.setTimeout(vjo.dsf.utils.Object.hitch(this,this.onRefresh),_173*1000);
},onCookieExpire:function(){
var oCJ=vjo.dsf.cookie.VjCookieJar,signin=oCJ.readCookie("ebaysignin");
if(!signin.has("in")){
return;
}
if(document.location.href.has("https:")){
return;
}
if(this.iServerHits<this.iMaxHits){
this.iServerHits++;
var ct=new Date();
ct=ct.getTime();
this.setValue("<img height=\"1\" width=\"1\" src=\""+this.sServerUrl+"&clientTime="+ct+"\" style=\"visibility:hidden;vertical-align:middle\">");
this.fireRefreshEvent(this.iHitTimeout);
}else{
this.setValue("");
oCJ.writeCookielet("ebay","a2p","1111111101111111111.");
}
}});

vjo.type("vjo.dsf.document.Positioning").props({getScrollLeftTop:function(){
var d=document,rv=[0,0],db=d.body,de=d.documentElement;
if(db){
rv[0]+=db.scrollLeft;
rv[1]+=db.scrollTop;
}
if(de){
rv[0]+=de.scrollLeft;
rv[1]+=de.scrollTop;
}
return rv;
},getOffsetLeft:function(_177){
var e=_177,l=0;
while(e){
l+=e.offsetLeft;
e=e.offsetParent;
}
return l;
},getOffsetTop:function(_179){
var e=_179,t=0;
while(e){
t+=e.offsetTop;
e=e.offsetParent;
}
return t;
},getClientWidth:function(){
var s=self,d=document,de=d.documentElement,w;
if(s.innerWidth){
w=s.innerWidth;
}else{
if(de&&de.clientWidth){
w=de.clientWidth;
}else{
w=d.body.clientWidth;
}
}
return w;
},getClientHeight:function(){
var s=self,d=document,de=d.documentElement,h;
if(s.innerHeight){
h=s.innerHeight;
}else{
if(de&&de.clientHeight){
h=de.clientHeight;
}else{
h=d.body.clientHeight;
}
}
return h;
},getEventLeftTop:function(_17d){
var u="undefined",evt=window.event||_17d,xOff=(typeof (screenLeft)!=u)?screenLeft:screenX,yOff=(typeof (screenTop)!=u)?screenTop:(screenY+(outerHeight-innerHeight)-25);
return [evt.screenX-xOff,evt.screenY-yOff];
}});

vjo.needs("vjo.dsf.client.Browser");
vjo.type("vjo.dsf.document.Shim").props({add:function(_17f,_180,_181){
var f,p="px",w,h,s;
if(this.check()){
w=_17f.offsetWidth;
h=_17f.offsetHeight;
w+=_180?_180:0;
h+=_181?_181: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\")";
_17f.appendChild(f);
return f;
}
},remove:function(_183,_184){
if(this.check()){
if(_184&&_184.parentElement){
_183.removeChild(_184);
}
}
},check:function(){
var B=vjo.dsf.client.Browser;
return (B.bIE||B.bFirefox);
}});

vjo.type("vjo.darwin.core.dynamicmenu.Show").satisfies("vjo.dsf.common.IJsHandler").protos({constructs:function(psId){
this.id=psId;
},handle:function(_187){
vjo.Registry.get(this.id).setup();
}});

vjo.type("vjo.darwin.core.dynamicmenu.Hide").satisfies("vjo.dsf.common.IJsHandler").protos({constructs:function(psId){
this.id=psId;
},handle:function(evt){
vjo.Registry.get(this.id).hide();
}});

vjo.type("vjo.darwin.core.dynamicmenu.Stay").satisfies("vjo.dsf.common.IJsHandler").protos({constructs:function(psId){
this.id=psId;
},handle:function(_18b){
vjo.Registry.get(this.id).clear();
}});

vjo.needs("vjo.dsf.document.Element");
vjo.needs("vjo.dsf.document.Positioning");
vjo.needs("vjo.dsf.document.Shim");
vjo.needs("vjo.dsf.utils.Object");
vjo.needs("vjo.dsf.client.Browser");
vjo.needs("vjo.darwin.core.dynamicmenu.Show");
vjo.needs("vjo.darwin.core.dynamicmenu.Hide");
vjo.needs("vjo.darwin.core.dynamicmenu.Stay");
vjo.type("vjo.darwin.core.dynamicmenu.DynamicMenu").protos({constructs:function(_18c,_18d,_18e,_18f,_190,_191,_192,_193,_194,_195,_196,_197,_198,_199,_19a,_19b,_19c,_19d,_19e,_19f){
this.iMouseOutTimer=null;
this.iMouseOverTimer=null;
this.iLeftPadding=_196;
this.iTopPadding=_197;
this.iRightPadding=_198;
this.sAnchorId=_18c;
this.sContainerLayerId=_18d;
this.sContentLayerId=_18e;
this.iMouseOutDelay=_18f;
this.iMouseOverDelay=_190;
this.iHighResDocWidth=_191;
this.iLowResDocWidth=_192;
this.iHighResColumns=_193;
this.iMediumResColumns=_194;
this.iLowResColumns=_195;
this.sHandler=_199;
this.sCollName=_19a;
this.sWidth=_19b;
this.sAnchorMouseOverClass=_19c;
this.sAnchorMouseOutClass=_19d;
this.iframeShim=null;
this.sHTML=null;
this.oAnchor=null;
this.sTemplate=null;
this.sAnchorText=_19e;
this.sDomain=_19f;
if(this.sAnchorId=="Help"){
this.iLeftPadding-=5;
}
this.oCobrand=null;
},setup:function(){
var oL,oA,iL,iT,iWW,noc,iAL,iAW,iLW,op,oSI,bF=false,t,lh=window.location.href;
var vd=vjo.dsf,D=vd.document,E=D.Element,P=D.Positioning,S=D.Shim,B=vd.client.Browser;
var O=vd.utils.Object;
with(this){
clear();
if(sTemplate==null){
t=E.get(sContentLayerId);
if(t){
sTemplate=t.innerHTML;
}
}
oL=E.get(sContainerLayerId);
if(oL){
op=oL.offsetParent;
}
oA=E.get(sAnchorId);
iAL=DynamicMenuGetOffsetLeft(oA);
iAW=oA.offsetWidth;
iT=P.getOffsetTop(oA)+(oA.offsetHeight)+iTopPadding;
iWW=P.getClientWidth();
if(iWW>iHighResDocWidth){
noc=iHighResColumns;
}else{
if(iWW>iLowResDocWidth&&iWW<=iHighResDocWidth){
noc=iMediumResColumns;
}else{
if(iWW<=iLowResDocWidth){
noc=iLowResColumns;
}else{
noc=5;
}
}
}
if(sHTML==null){
bF=true;
if(B.bFirefox){
E.promoteToBody(sContainerLayerId);
}
sHTML=getMenuHtml(noc);
if(sHTML==null){
return;
}
oL.innerHTML=sHTML;
}
iLW=oL.offsetWidth;
var oCon=GetContainerDiv(),cw,bRA=false;
if(sAnchorId=="Help"){
bRA=true;
}
if(oCon&&B.bIE&&!lh.hasAny("community","education")){
cw=oCon.offsetWidth;
if((iAL+iLW)>cw){
bRA=true;
}
}
var bE=(sAnchorId=="EbxBrowseCategories")?true:false;
if(lh.hasAny("securitycenter","payments.")&&lh.has(".hk")){
iAL=P.getOffsetLeft(oA);
}else{
if(lh.hasAny("securitycentre","contact_ebay")&&lh.has(".au")){
iAL=P.getOffsetLeft(oA);
}else{
if((typeof (pageName)!="undefined")?pageName.has("CCHP_"):false){
iAL=P.getOffsetLeft(oA);
}else{
if(lh.hasAny("/buy/")){
iAL=P.getOffsetLeft(oA);
}else{
if(lh.hasAny("pages.",".html",".shtml","cgi.","tools.ebay.de","neighborhoods.","themenwelten.","neighbourhoods.")){
iAL=P.getOffsetLeft(oA);
}else{
if(typeof (bCenterAlignedPage)!="undefined"&&bCenterAlignedPage){
iAL=P.getOffsetLeft(oA);
}else{
if(bE&&((typeof (pageName)!="undefined")?pageName.has("KP_HomePage"):false)){
iAL=P.getOffsetLeft(oA);
}else{
if(sAnchorId=="StoreBrowseCats"&&lh.has("stores.")){
iAL=P.getOffsetLeft(oA);
}
}
}
}
}
}
}
}
var _1a5=E.get("2tabPopularProducts");
if(_1a5&&B.bIE){
iAL=P.getOffsetLeft(oA);
}
if((((iWW-iAL-iLW)<=10)&&iWW>iLW)||(iWW<(vjo.dsf.document.Positioning.getOffsetLeft(oA)+iAW+iLW))||bRA||bE){
iL=iAL+iAW-iLW;
}else{
iL=iAL;
}
if(sAnchorId=="Buy"||sAnchorId=="Sell"||sAnchorId=="MyEbay"||sAnchorId=="OV"){
iL=iAL;
}
iL+=iLeftPadding;
if(lh.has("securitycentre")&&lh.has(".sg")&&B.bIE){
iL+=10;
}else{
if(lh.has("feedback")&&lh.has(".hk")&&B.bFirefox){
iL+=7;
}else{
if(lh.has("my.")&&B.bFirefox){
iL-=7;
}else{
if(lh.has("myworld")&&B.bIE){
iL+=10;
}else{
if(bE){
var sn=E.get("dynamicmenu-snavW");
iT=P.getOffsetTop(sn)+(sn.offsetHeight)+iTopPadding;
if(B.bFirefox){
iL+=2;
}
if(B.bIE&&((typeof (pageName)!="undefined")?pageName.has("KP_HomePage"):false)){
iL-=9;
}
}else{
if(lh.has("search.")&&sAnchorId=="BrowseCategories"&&B.bIE&&B.iVer==7){
iL+=22;
iT-=2;
}
}
}
}
}
}
if(iL>=0){
oL.style.left=(iL-1)+"px";
}
oL.style.top=(iT)+"px";
oL.style.zIndex="1000";
if(bF){
if(lh.has("motors")||sAnchorId=="BrowseCategories"&&!lh.has("myworld")){
iframeShim=this.add(oL,12);
}else{
iframeShim=this.add(oL);
}
}else{
if(B.bIE||B.bFirefox){
oL.appendChild(iframeShim);
}
}
oSI=E.get(sContainerLayerId+"-spacer");
if(oSI&&bF){
oSI.width=iLW-12;
}
iMouseOverTimer=setTimeout(O.hitch(this,"show"),iMouseOverDelay);
}
},show:function(){
var oA,E=vjo.dsf.document.Element;
with(this){
oA=E.get(sAnchorId);
if(oA){
oA.className=sAnchorMouseOverClass;
}
E.toggleVisibility(sContainerLayerId,true);
}
},hide:function(){
with(this){
clearTimeout(iMouseOverTimer);
iMouseOutTimer=setTimeout(vjo.dsf.utils.Object.hitch(this,"close"),iMouseOutDelay);
}
},close:function(){
var oA,E=vjo.dsf.document.Element;
with(this){
oA=E.get(sAnchorId);
if(oA){
oA.className=sAnchorMouseOutClass;
}
E.toggleVisibility(sContainerLayerId,false);
if(iframeShim){
vjo.dsf.document.Shim.remove(E.get(sContainerLayerId),iframeShim);
}
}
},clear:function(){
clearTimeout(this.iMouseOutTimer);
},sortByValue:function(var1,var2){
if(var1.value.has("Everything")){
return 1;
}else{
if(var2.value.has("Everything")){
return -1;
}else{
return var1.value<var2.value?-1:(var1.value>var2.value?1:0);
}
}
},getMenuHtml:function(_1ab){
with(this){
var i,j,c,n,h,ipc,html,img="",si,sTemp=".paradise.qa.ebay.com",u,ff,ll;
var E=vjo.dsf.document.Element;
var lh=window.location.href;
si="<img src='";
if(document.location.protocol.has("https")){
si+="https://secure";
}else{
si+="http://";
}
si+="pics.ebaystatic.com/aw/pics/s.gif' height='1' width='1'  border='0' ";
var _1af=window[sHandler];
if(!_1af){
return;
}
var data=_1af(),items=data[sCollName],l=items.length;
if(sAnchorId=="BrowseCategories"&&lh.has("ebay.com/")){
for(i=0;i<l;i++){
if(items[i].value.has("eBay Motors")){
items[i].value="Cars, Boats, Vehicles & Parts";
items[i].url="http://www.motors.ebay.com";
items.sort(sortByValue);
break;
}
}
}
ipc=Math.ceil(l/_1ab);
h="<table bgcolor='white' border='0' cellpadding='0' cellspacing='0'";
if(this.sWidth!=""){
h+=" width='"+sWidth+"'";
}
h+=">";
for(i=0;i<ipc;i++){
h+="<tr>";
for(j=0;j<_1ab;j++){
h+="<td nowrap>";
if(i==0&&!E.get("EbxBrowseCategories-menu")){
h+=si+"><br/>";
img=si+" id='"+sContainerLayerId+"-spacer'>";
}
n=i+(j)*ipc;
c=items[n];
if(c){
if(typeof (c.url)!="undefined"){
u=sDomain?c.url.replace(sTemp,sDomain):c.url;
u=cobrandUrl(u);
h+="<a href='"+u+"'>";
h+=c.value;
h+="</a>";
}else{
u=c.value;
ff=u.indexOf("href=\"");
if(ff==-1){
h+=u;
}else{
ff+=6;
ll=u.lastIndexOf("\"");
u=u.substr(ff,ll-ff);
h+=c.value.substr(0,ff)+cobrandUrl(u)+c.value.substr(ll);
}
}
}else{
h+="&nbsp;";
}
h+="</td>";
}
h+="</tr>";
}
h+="</table>";
html=h;
if(sTemplate){
html=sTemplate.replace("##1##",h).replace("##2##",img);
}
return html;
}
},DynamicMenuGetOffsetLeft:function(e){
var l=0,oCl=vjo.dsf.client.Browser,ex=(oCl.bIE||oCl.bSafari),lh=window.location.href;
var bH=(typeof (isHomepage)!="undefined")?isHomepage:false;
if(e.offsetParent){
l=e.offsetLeft;
while(e=e.offsetParent){
if(!e.id.toLowerCase().has("maincontent")&&!e.className.has("pagecontainer")){
l+=e.offsetLeft;
}
if(((e.className.is("pnav")||e.innerHTML.has("snav"))&&ex)&&e.offsetLeft!=0&&(!lh.hasAny("community","sitemap","/help/","/education/","blogs","feedback"))){
return l;
}else{
if((e.className.is("pnav")||e.innerHTML.has("snav"))&&e.offsetLeft!=0&&oCl.bFirefox&&lh.has(".hk")&&(!lh.has("community")&&!bH)){
return l;
}else{
if((e.className.is("pnav")||e.innerHTML.has("snav"))&&e.offsetLeft!=0&&oCl.bIE&&lh.has(".au")&&lh.hasAny("/help/")){
return l;
}
}
}
}
}
return l;
},GetContainerDiv:function(){
var d=document,aa,i,l;
if(d.getElementsByTagName){
aa=d.getElementsByTagName("div");
}else{
if(d.all){
aa=d.all;
}
}
l=aa.length;
for(i=0;i<l;i++){
if(aa[i].className=="gbhdr"){
return aa[i];
}
}
},cobrandUrl:function(_1b5){
var u="undefined",cc,cf;
if(this.oCobrand==null&&typeof (ebay)!=u&&typeof (ebay.oDocument)!=u){
cc=ebay.oDocument._getControl("cobrandCollection");
if(cc){
cf=cc._getControl("cobrandFunctions");
this.oCobrand=cf;
}
}else{
cf=this.oCobrand;
}
if(cf&&typeof (cf.cobrandURL)!=u){
return cf.cobrandURL(_1b5);
}
return _1b5;
},add:function(_1b7,_1b8,_1b9){
var f,p="px",w,h,s,S=vjo.dsf.document.Shim;
if(S.check()){
w=_1b7.offsetWidth;
h=_1b7.offsetHeight;
w+=_1b8?_1b8:0;
h+=_1b9?_1b9: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.has("https")){
f.src="https://securepics.ebaystatic.com/aw/pics/s.gif";
}
_1b7.appendChild(f);
return f;
}
}});

vjo.needs("vjo.dsf.typeextensions.string.Comparison");
vjo.needs("vjo.dsf.cookie.VjCookieJar");
vjo.needs("vjo.dsf.document.Element");
vjo.type("vjo.darwin.core.ebayheader.playground.Playground").protos({constructs:function(_1bb,_1bc){
this.sLayerId=_1bb;
this.sHandle=_1bc;
},show:function(){
var oCJ=vjo.dsf.cookie.VjCookieJar,sbf=oCJ.readCookie("ebay","sbf"),pcon=oCJ.getBitFlag(sbf,24),l,h;
var lid=this.sLayerId,E=vjo.dsf.document.Element;
if(pcon){
l=E.get(lid);
h=window[this.sHandle];
if(h&&l){
l.innerHTML=h();
E.toggleHideShow(lid,true);
}
}else{
E.toggleHideShow(lid,false);
}
}});

function getPlaygroundHtml(){ return "<div class=\"playgrnd\"><span class=\"g-nav caption\"><img src=\"http://pics.ebaystatic.com/aw/pics/feedback/playground/imgbouncingball.gif\" height=\"16\" width=\"20\"><a href=\"http://playground.ebay.com/?enterPlayground=true\">You're on the Playground</a><span class=\"pipe\"> | </span></span><span class=\"g-nav\"><a href=\"http://playground.ebay.com/FAQs\">About the Playground</a><span class=\"pipe\"> | </span><a href=\"http://survey.ebay.com/survey/ebay/eby07042\">Give us your opinion</a><span class=\"pipe\"> | </span><a href=\"http://playground.ebay.com/?enterEbay=true\">Go to the regular eBay site</a></span></div>";}

vjo.type("vjo.dsf.utils.URL").props({addArg:function(_1bf,_1c0,_1c1){
if(_1bf==null||_1bf==undefined){
return null;
}
if(_1bf.indexOf("?")<0){
_1bf+="?"+_1c0+"="+_1c1;
return _1bf;
}
var _1c2=this.getArgPairIfExists(_1bf,_1c0);
if(_1c2!==null){
_1bf.replace(_1c2,_1c0+"="+_1c1);
}else{
_1bf+="&"+_1c0+"="+_1c1;
}
return _1bf;
},getArg:function(_1c3,_1c4){
if(_1c3==null||_1c3==undefined){
return null;
}
if(_1c3.indexOf("?")<0){
return null;
}
var _1c5=this.getArgPairIfExists(_1c3,_1c4);
if(_1c5!==null){
return _1c5.substring(_1c5.indexOf("=")+1);
}
return null;
},getArgPairIfExists:function(_1c6,_1c7){
var _1c8=_1c6.indexOf("?");
if(_1c8<0){
return null;
}
var _1c9=_1c6;
var _1ca,argName;
while(_1c8>=0){
_1c9=_1c9.substring(_1c8+1);
_1ca=_1c9;
_1c8=_1c9.indexOf("&");
if(_1c8>=0){
_1ca=_1c9.substring(0,_1c8);
}
argName=_1ca.substring(0,_1ca.indexOf("="));
if(argName==_1c7){
return _1ca;
}
}
return null;
}});

vjo.needs("vjo.dsf.utils.URL");
vjo.needs("vjo.dsf.typeextensions.string.Comparison");
vjo.type("vjo.darwin.tracking.enabler.TrackingModuleEnabler").satisfies("vjo.dsf.common.IJsHandler").protos({constructs:function(_1cb,_1cc){
this.sCid=_1cb;
this.sCidParms=_1cc;
},rewriteUrl:function(_1cd){
if(_1cd.nativeEvent==null||_1cd.nativeEvent==undefined){
return;
}
var elem=_1cd.nativeEvent.srcElement||_1cd.nativeEvent.target;
if(elem==null||elem==undefined){
return;
}
elem=this.getAnchor(elem);
if(this.sCidParms&&elem){
elem.href=vjo.dsf.utils.URL.addArg(elem.href,this.sCid,this.sCidParms);
}
},getAnchor:function(_1cf){
var e=_1cf;
if(e&&e.tagName){
if(!e.tagName.is("A")){
e=this.getAnchor(e.parentNode);
}
return e;
}
},handle:function(_1d1){
this.rewriteUrl(_1d1);
}});

vjo.type("vjo.dsf.SvcConfig").protos({constructs:function(_1d2,url){
this.url=url;
this.method=_1d2;
this.reqtMarshalling="raw";
this.respMarshalling="raw";
}});

vjo.type("vjo.dsf.Message").protos({constructs:function(_1d4){
this.objType="dsf_Message";
this.svcId=_1d4;
this.request;
this.response;
this.clientContext;
this.trspType="InProc";
this.status;
this.svcConfig;
this.returnData=true;
this.trace="";
}});

function FooterTrk() { 	return { handle : function (event) { var _d = vjo.dsf.EventDispatcher;
_d.add('glbfooter','click',new vjo.darwin.tracking.enabler.TrackingModuleEnabler('_trksid', 'm40'));
  } }; }

function get_Buy_menu(){
return {"items":[{"value":"<a href=\"http://hub.ebay.com/buy\">Browse Categories</a>"},{"value":"<a href=\"http://www.ebayuniversity.com/gotraining/First_Time_Bidding_And_Buying\">Help with bidding &amp; buying</a>"},{"value":"<a href=\"http://pages.ebay.com/buy/tools.html\">Buyer Tools</a>"},{"value":"<a href=\"http://reviews.ebay.com/\">Reviews &amp; Guides</a>"}]};
}
function get_Sell_menu(){
return {"items":[{"value":"<a href=\"http://sell.ebay.com/sell\">Sell an item</a>"},{"value":"<a href=\"http://pages.ebay.com/sellercentral/newsellers.html\">Getting started</a>"},{"value":"<a href=\"http://pages.ebay.com/sellercentral/whatwouldyousell/what_to_sell_house.html\">What to sell</a>"},{"value":"<a href=\"http://pages.ebay.com/sell/tools.html\">Seller tools &amp; eBay Stores</a>"},{"value":"<a href=\"http://pages.ebay.com/services/buyandsell/shipping.html\">Shipping center</a>"}]};
}
function get_MyEbay_menu(){
return {"items":[{"value":"<a href=\"http://my.ebay.com/ws/eBayISAPI.dll?MyEbay&amp;gbh=1&amp;smGHR=true\">Summary</a>"},{"value":"<a href=\"http://my.ebay.com/ws/eBayISAPI.dll?MyEbay&amp;gbh=1&amp;CurrentPage=MyeBayWatching\">Watching</a>"},{"value":"<a href=\"http://my.ebay.com/ws/eBayISAPI.dll?MyEbay&amp;gbh=1&amp;CurrentPage=MyeBayBidding\">Bidding</a>"},{"value":"<a href=\"http://my.ebay.com/ws/eBayISAPI.dll?MyEbay&amp;gbh=1&amp;CurrentPage=MyeBaySelling&amp;smGHR=true\">Selling</a>"},{"value":"<a href=\"http://my.ebay.com/ws/eBayISAPI.dll?MyEbay&amp;gbh=1&amp;CurrentPage=MyeBayAllFavorites\">Favorites</a>"}]};
}
function get_Community_menu(){
return {"items":[{"value":"<a href=\"http://www2.ebay.com/aw/marketing.shtml\">News</a>"},{"value":"<a href=\"http://pages.ebay.com/community/answercenter/index.html\">Answer Center</a>"},{"value":"<a href=\"http://pages.ebay.com/community/boards/index.html\">Workshops/Discussion Forums</a>"},{"value":"<a href=\"http://myworld.ebay.com/\">My World</a>"},{"value":"<a href=\"http://blogs.ebay.com/\">eBay Blogs</a>"},{"value":"<a href=\"http://groups.ebay.com/index.jspa?categoryID=1&amp;redirected=1\">Groups</a>"},{"value":"<a href=\"http://pages.ebay.com/givingworks/index.html\">eBay Giving Works</a>"}]};
}
function get_Help_menu(){
return {"items":[{"value":"<a href=\"http://pages.ebay.com/help/index.html\">Help Topics</a>"},{"value":"<a href=\"http://pages.ebay.com/education/index.html\">Learning Center</a>"},{"value":"<a href=\"http://pages.ebay.com/securitycenter/index.html\">Security &amp; Resolution Center</a>"},{"value":"<a href=\"http://pages.ebay.com/university/index.html\">eBay University</a>"},{"value":"<a href=\"http://pages.ebay.com/help/contact_us/_base/index.html\">Contact Us</a>"}]};
}


function NavMenuBind() { 	return { handle : function (event) { var _d = vjo.dsf.EventDispatcher;
_d.add('Buy-menu','mouseout',new vjo.darwin.core.dynamicmenu.Hide('BuyMenu'));
_d.add('Buy-menu','mouseover',new vjo.darwin.core.dynamicmenu.Stay('BuyMenu'));
_d.add('Buy','mouseover',new vjo.darwin.core.dynamicmenu.Show('BuyMenu'));
_d.add('Buy','mouseout',new vjo.darwin.core.dynamicmenu.Hide('BuyMenu'));
_d.add('Sell-menu','mouseout',new vjo.darwin.core.dynamicmenu.Hide('SellMenu'));
_d.add('Sell-menu','mouseover',new vjo.darwin.core.dynamicmenu.Stay('SellMenu'));
_d.add('Sell','mouseover',new vjo.darwin.core.dynamicmenu.Show('SellMenu'));
_d.add('Sell','mouseout',new vjo.darwin.core.dynamicmenu.Hide('SellMenu'));
_d.add('MyEbay-menu','mouseout',new vjo.darwin.core.dynamicmenu.Hide('MyEbayMenu'));
_d.add('MyEbay-menu','mouseover',new vjo.darwin.core.dynamicmenu.Stay('MyEbayMenu'));
_d.add('MyEbay','mouseover',new vjo.darwin.core.dynamicmenu.Show('MyEbayMenu'));
_d.add('MyEbay','mouseout',new vjo.darwin.core.dynamicmenu.Hide('MyEbayMenu'));
_d.add('Community-menu','mouseout',new vjo.darwin.core.dynamicmenu.Hide('CommunityMenu'));
_d.add('Community-menu','mouseover',new vjo.darwin.core.dynamicmenu.Stay('CommunityMenu'));
_d.add('Community','mouseover',new vjo.darwin.core.dynamicmenu.Show('CommunityMenu'));
_d.add('Community','mouseout',new vjo.darwin.core.dynamicmenu.Hide('CommunityMenu'));
_d.add('Help-menu','mouseout',new vjo.darwin.core.dynamicmenu.Hide('HelpMenu'));
_d.add('Help-menu','mouseover',new vjo.darwin.core.dynamicmenu.Stay('HelpMenu'));
_d.add('Help','mouseover',new vjo.darwin.core.dynamicmenu.Show('HelpMenu'));
_d.add('Help','mouseout',new vjo.darwin.core.dynamicmenu.Hide('HelpMenu'));
  } }; }
function SecNavMenuBind() { 	return { handle : function (event) { var _d = vjo.dsf.EventDispatcher;
_d.add('BrowseCategories-menu','mouseout',new vjo.darwin.core.dynamicmenu.Hide('BrowseCategoriesMenu'));
_d.add('BrowseCategories-menu','mouseover',new vjo.darwin.core.dynamicmenu.Stay('BrowseCategoriesMenu'));
_d.add('BrowseCategories','mouseover',new vjo.darwin.core.dynamicmenu.Show('BrowseCategoriesMenu'));
_d.add('BrowseCategories','mouseout',new vjo.darwin.core.dynamicmenu.Hide('BrowseCategoriesMenu'));
  } }; }
vjo.needs("vjo.dsf.document.Element");
vjo.type("vjo.dsf.document.Select").props({addOption:function(_1fe,_1ff,_200){
var e=_1fe;
if(e){
var o=new Option(_200,_1ff,false,false),os;
os=e.options;
os[os.length]=o;
}
}});

vjo.needs("vjo.dsf.document.Element");
vjo.needs("vjo.dsf.document.Select");
vjo.type("vjo.darwin.core.dynamicdropdown.DynamicDropdown").protos({constructs:function(_203,_204,_205,_206){
this.sDropdownId=_203;
this.sHandler=_204;
this.sCollName=_205;
this.iCondNo=_206;
},fill:function(){
var e,h,d,col,i,l,c,D=vjo.dsf.document,E=D.Element,S=D.Select;
with(this){
e=E.get(sDropdownId);
if(e&&typeof (e.length)!="undefined"){
e=e[0];
}
if(e&&e.options){
if(iCondNo==-1||e.options.length<=iCondNo){
h=window[sHandler];
if(!h){
return;
}
d=h(),col=d[sCollName],l=col.length;
for(i=0;i<l;i++){
c=col[i];
S.addOption(e,c.id,c.value);
}
}
}
}
}});


(function(){var _d = vjo.dsf.EventDispatcher;
_d.add('body','load',function(event) { return vjo.Registry.get('category0').fill(); });
})();
function HeaderTrk() { 	return { handle : function (event) { var _d = vjo.dsf.EventDispatcher;
_d.add('BrowseCategories-menu','click',new vjo.darwin.tracking.enabler.TrackingModuleEnabler('_trksid', 'm37'));
_d.add('gnheader','click',new vjo.darwin.tracking.enabler.TrackingModuleEnabler('_trksid', 'm37'));
  } }; }
vjo.needs("vjo.dsf.utils.URL");
vjo.type("vjo.darwin.core.greetings.VjGreetingsServer").props({handleClick:function(pUrl,_209){
var elem=_209.srcElement||_209.target;
if(elem){
elem.href=vjo.dsf.utils.URL.addArg(pUrl,"ru",escape(document.location.href));
}
}});

/* compspec addJsCompRegistration*/ 
vjo.Registry.put('FooterTrackingCompSpecGenerator_0', new vjo.darwin.tracking.enabler.TrackingModuleEnabler('_trksid', 'm40'));
/* end comp spec*/

vjo.dsf.EventDispatcher.add('body','load', new FooterTrk());
/* compspec addJsCompRegistration*/ 
vjo.Registry.put('BuyMenu', new vjo.darwin.core.dynamicmenu.DynamicMenu('Buy', 'Buy-menu', 'dynMenuCtr', 75, 250, 900, 800, 1, 1, 1, 5, 1, 0, 'get_Buy_menu', 'items', '', 'hovered', '', '', ''));vjo.Registry.put('CorePrimaryNavResourceSpec_1', new vjo.darwin.core.dynamicmenu.Hide('BuyMenu'));vjo.Registry.put('CorePrimaryNavResourceSpec_2', new vjo.darwin.core.dynamicmenu.Stay('BuyMenu'));vjo.Registry.put('CorePrimaryNavResourceSpec_3', new vjo.darwin.core.dynamicmenu.Show('BuyMenu'));vjo.Registry.put('CorePrimaryNavResourceSpec_4', new vjo.darwin.core.dynamicmenu.Hide('BuyMenu'));vjo.Registry.put('SellMenu', new vjo.darwin.core.dynamicmenu.DynamicMenu('Sell', 'Sell-menu', 'dynMenuCtr', 75, 250, 900, 800, 1, 1, 1, 1, 1, 0, 'get_Sell_menu', 'items', '', 'hovered', '', '', ''));vjo.Registry.put('CorePrimaryNavResourceSpec_6', new vjo.darwin.core.dynamicmenu.Hide('SellMenu'));vjo.Registry.put('CorePrimaryNavResourceSpec_7', new vjo.darwin.core.dynamicmenu.Stay('SellMenu'));vjo.Registry.put('CorePrimaryNavResourceSpec_8', new vjo.darwin.core.dynamicmenu.Show('SellMenu'));vjo.Registry.put('CorePrimaryNavResourceSpec_9', new vjo.darwin.core.dynamicmenu.Hide('SellMenu'));vjo.Registry.put('MyEbayMenu', new vjo.darwin.core.dynamicmenu.DynamicMenu('MyEbay', 'MyEbay-menu', 'dynMenuCtr', 75, 250, 900, 800, 1, 1, 1, 1, 1, 0, 'get_MyEbay_menu', 'items', '', 'hovered', '', '', ''));vjo.Registry.put('CorePrimaryNavResourceSpec_11', new vjo.darwin.core.dynamicmenu.Hide('MyEbayMenu'));vjo.Registry.put('CorePrimaryNavResourceSpec_12', new vjo.darwin.core.dynamicmenu.Stay('MyEbayMenu'));vjo.Registry.put('CorePrimaryNavResourceSpec_13', new vjo.darwin.core.dynamicmenu.Show('MyEbayMenu'));vjo.Registry.put('CorePrimaryNavResourceSpec_14', new vjo.darwin.core.dynamicmenu.Hide('MyEbayMenu'));vjo.Registry.put('CommunityMenu', new vjo.darwin.core.dynamicmenu.DynamicMenu('Community', 'Community-menu', 'dynMenuCtr', 75, 250, 900, 800, 1, 1, 1, 1, 1, 0, 'get_Community_menu', 'items', '', 'hovered', '', '', ''));vjo.Registry.put('CorePrimaryNavResourceSpec_16', new vjo.darwin.core.dynamicmenu.Hide('CommunityMenu'));vjo.Registry.put('CorePrimaryNavResourceSpec_17', new vjo.darwin.core.dynamicmenu.Stay('CommunityMenu'));vjo.Registry.put('CorePrimaryNavResourceSpec_18', new vjo.darwin.core.dynamicmenu.Show('CommunityMenu'));vjo.Registry.put('CorePrimaryNavResourceSpec_19', new vjo.darwin.core.dynamicmenu.Hide('CommunityMenu'));vjo.Registry.put('HelpMenu', new vjo.darwin.core.dynamicmenu.DynamicMenu('Help', 'Help-menu', 'dynMenuCtr', 75, 250, 900, 800, 1, 1, 1, 1, 1, 0, 'get_Help_menu', 'items', '', 'hovered', '', '', ''));vjo.Registry.put('CorePrimaryNavResourceSpec_21', new vjo.darwin.core.dynamicmenu.Hide('HelpMenu'));vjo.Registry.put('CorePrimaryNavResourceSpec_22', new vjo.darwin.core.dynamicmenu.Stay('HelpMenu'));vjo.Registry.put('CorePrimaryNavResourceSpec_23', new vjo.darwin.core.dynamicmenu.Show('HelpMenu'));vjo.Registry.put('CorePrimaryNavResourceSpec_24', new vjo.darwin.core.dynamicmenu.Hide('HelpMenu'));
/* end comp spec*/

vjo.dsf.EventDispatcher.add('body','load', new NavMenuBind());
/* compspec addJsCompRegistration*/ 
vjo.Registry.put('BrowseCategoriesMenu', new vjo.darwin.core.dynamicmenu.DynamicMenu('BrowseCategories', 'BrowseCategories-menu', 'dynMenuCtr', 75, 250, 900, 800, 3, 3, 3, -10, 7, 0, 'getBrowseCategoriesData', 'items', '100%', 'hovered', '', '', '.ebay.com'));vjo.Registry.put('CoreSecondaryNavResourceSpec_1', new vjo.darwin.core.dynamicmenu.Hide('BrowseCategoriesMenu'));vjo.Registry.put('CoreSecondaryNavResourceSpec_2', new vjo.darwin.core.dynamicmenu.Stay('BrowseCategoriesMenu'));vjo.Registry.put('CoreSecondaryNavResourceSpec_3', new vjo.darwin.core.dynamicmenu.Show('BrowseCategoriesMenu'));vjo.Registry.put('CoreSecondaryNavResourceSpec_4', new vjo.darwin.core.dynamicmenu.Hide('BrowseCategoriesMenu'));
/* end comp spec*/

vjo.dsf.EventDispatcher.add('body','load', new SecNavMenuBind());
/* compspec addJsCompRegistration*/ 
vjo.Registry.put('category0', new vjo.darwin.core.dynamicdropdown.DynamicDropdown('category0', 'getBrowseCategoriesData', 'items', 1));
/* end comp spec*/

/* compspec addJsCompRegistration*/ 
vjo.Registry.put('HeaderTrackingCompSpecGenerator_0', new vjo.darwin.tracking.enabler.TrackingModuleEnabler('_trksid', 'm37'));vjo.Registry.put('HeaderTrackingCompSpecGenerator_1', new vjo.darwin.tracking.enabler.TrackingModuleEnabler('_trksid', 'm37'));
/* end comp spec*/

vjo.dsf.EventDispatcher.add('body','load', new HeaderTrk());

// en_US/e531/GlobalNavVjo23_Ebay_e5315406115_1_en_US
// b=5406115