String.prototype.has=function(pStr){
return (this.indexOf(pStr)!=-1);
};
String.prototype.hasArg=function(pArg){
var a=pArg,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;
};
String.prototype.hex2Dec=function(){
return parseInt(this,16);
};
Number.prototype.dec2Hex=function(){
return parseInt(this,10).toString(16);
};
VjDateUtils={};
VjDateUtils.getTimeZoneDate=function(_c58,date){
_c58=_c58?_c58:0;
d=date?date:new Date();
var _c5a=d.getTime();
var _c5b=d.getTimezoneOffset()*60000;
var utc=_c5a+_c5b;
return new Date(utc+(3600000*_c58));
};
if(typeof VjCookieJar=="undefined"){
VjCookieJar={aCookies:{},sCookieDomain:".ebay.com"};
}
VjCookieJar.Default_Cookie_Format={"COOKIELET_DELIMITER":"^","NAME_VALUE_DELIMITER":"/","escapedValue":true};
VjCookieJar.DP_Cookie_Format={"COOKIELET_DELIMITER":"^","NAME_VALUE_DELIMITER":"/","bUseExp":true,"startDelim":"b"};
VjCookieJar.Session_Cookie_Format={"COOKIELET_DELIMITER":"^","NAME_VALUE_DELIMITER":"=","escapedValue":true,"startDelim":"^"};
VjCookieJar.DS_Cookie_Format={"COOKIELET_DELIMITER":"^","NAME_VALUE_DELIMITER":"/"};
VjCookieJar.sPath="/";
VjCookieJar.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"]};
VjCookieJar.aFormatMap={"r":VjCookieJar.Default_Cookie_Format,"dp1":VjCookieJar.DP_Cookie_Format,"npii":VjCookieJar.DP_Cookie_Format,"ebay":VjCookieJar.Session_Cookie_Format,"reg":VjCookieJar.Session_Cookie_Format,"apcCookies":VjCookieJar.Session_Cookie_Format,"ds2":VjCookieJar.DS_Cookie_Format};
VjCookieJar.sCOMPAT="10";
VjCookieJar.sCONVER="01";
VjCookieJar.sSTRICT="00";
VjCookieJar.sModesCookie="ebay";
VjCookieJar.sModesCookielet="cv";
VjCookieJar.readCookie=function(_c5d,_c5e){
var rv=this.readCookieObj(_c5d,_c5e).value;
return (rv)?unescape(rv):"";
};
VjCookieJar.createDefaultCookieBean=function(_c60,_c61){
var _c62={};
_c62.name=_c60;
_c62.cookieletname=_c61;
_c62.value="";
_c62.maxage=0;
_c62.rawcookievalue="";
_c62.mode="";
return _c62;
};
VjCookieJar.readCookieObj=function(_c63,_c64){
var _c65=this.createDefaultCookieBean(_c63,_c64);
this.update();
this.checkConversionMap(_c65);
_c65.rawcookievalue=this.aCookies[_c65.name];
if(!_c65.name||!_c65.rawcookievalue){
_c65.value="";
}else{
if(!_c65.cookieletname){
this.readCookieInternal(_c65);
}else{
this.readCookieletInternal(_c65);
}
}
return (typeof (_c65)!="undefined")?_c65:"";
};
VjCookieJar.checkConversionMap=function(_c66){
var cmap=this.aConversionMap[_c66.name];
if(cmap){
_c66.mode=this.getMode(_c66.name);
_c66.name=cmap[0];
_c66.cookieletname=cmap[1];
}
};
VjCookieJar.readCookieInternal=function(_c68){
_c68.value=_c68.rawcookievalue;
return _c68;
};
VjCookieJar.readCookieletInternal=function(_c69){
var clet=this.getCookielet(_c69.name,_c69.cookieletname,_c69.rawcookievalue);
var _c6b=this.getFormat(_c69.name);
if(clet&&_c6b.bUseExp){
clet=clet.substring(0,clet.length-8);
}
_c69.value=clet;
if(_c69.mode==this.sCOMPAT){
_c69.value=_c69.rawcookievalue;
}
return _c69;
};
VjCookieJar.readMultiLineCookie=function(_c6c,_c6d){
if(!_c6c||!_c6d){
return "";
}
var val,r="";
var cmap=this.aConversionMap[_c6c];
if(cmap){
val=this.readCookieObj(cmap[0],cmap[1]).value||"";
}
if(val){
r=this.getCookielet(_c6c,_c6d,val)||"";
}
return (typeof (r)!="undefined")?r:"";
};
VjCookieJar.writeCookie=function(_c70,_c71,_c72){
var cmap=this.aConversionMap[_c70];
if(cmap){
this.writeCookielet(cmap[0],cmap[1],_c71,_c72);
return;
}
var _c74=this.getFormat(_c70);
if(_c71&&_c74.escapedValue){
_c71=escape(_c71);
}
this.writeRawCookie(_c70,_c71,_c72);
};
VjCookieJar.writeRawCookie=function(_c75,_c76,_c77){
if(_c75&&(_c76!==undefined)){
if((isNaN(_c76)&&_c76.length<4000)||(_c76+"").length<4000){
if(typeof _c77=="number"){
_c77=this.getExpDate(_c77);
}
var _c78=_c77?new Date(_c77):new Date(this.getExpDate(730));
var _c79=this.getFormat(_c75);
var _c7a=this.sCookieDomain;
var dd=document.domain;
if(!dd.has(_c7a)){
var _c7c=dd.indexOf(".ebay.");
if(_c7c>0){
this.sCookieDomain=dd.substring(_c7c);
}
}
if(document.cookie){
document.cookie=_c75+"="+(_c76||"")+((_c77||_c79.bUseExp)?"; expires="+_c78.toGMTString():"")+"; domain="+this.sCookieDomain+"; path="+this.sPath;
}
}
}
};
VjCookieJar.writeCookieEx=function(_c7d,_c7e,_c7f){
this.writeCookie(_c7d,_c7e,this.getExpDate(_c7f));
};
VjCookieJar.writeCookielet=function(_c80,_c81,_c82,_c83,_c84){
if(_c80&&_c81){
this.update();
var _c85=this.getFormat(_c80);
if(_c85.bUseExp&&_c82){
if(typeof _c83=="number"){
_c83=this.getExpDate(_c83);
}
var _c86=_c83?new Date(_c83):new Date(this.getExpDate(730));
var _c87=Date.UTC(_c86.getUTCFullYear(),_c86.getUTCMonth(),_c86.getUTCDate());
_c87=Math.floor(_c87/1000);
_c82+=_c87.dec2Hex();
}
var val=this.createCookieValue(_c80,_c81,_c82);
this.writeRawCookie(_c80,val,_c84);
}
};
VjCookieJar.writeMultiLineCookie=function(_c89,_c8a,_c8b,_c8c,_c8d){
this.update();
var val=this.createCookieValue(_c89,_c8a,_c8b);
if(val){
var cmap=this.aConversionMap[_c89];
if(cmap){
this.writeCookielet(cmap[0],cmap[1],val,_c8c,_c8d);
}
}
};
VjCookieJar.getBitFlag=function(_c90,_c91){
_c90=parseInt(_c90,10);
var b=_c90.toString(2),r=_c90?b.charAt(b.length-_c91-1):"";
return (r=="1")?1:0;
};
VjCookieJar.setBitFlag=function(_c93,_c94,_c95){
var b="",p,i,e,l;
_c93=parseInt(_c93,10);
if(_c93){
b=_c93.toString(2);
}
l=b.length;
if(l<_c94){
e=_c94-l;
for(i=0;i<=e;i++){
b="0"+b;
}
}
p=b.length-_c94-1;
return parseInt(b.substring(0,p)+_c95+b.substring(p+1),2);
};
VjCookieJar.createCookieValue=function(_c97,_c98,_c99){
var cmap=this.aConversionMap[_c97],format=this.getFormat(_c97),mode=this.getMode(_c97),val;
if(cmap&&(mode==this.sSTRICT||mode==this.sCONVER)){
val=this.readCookieObj(cmap[0],cmap[1]).value||"";
}else{
val=this.aCookies[_c97]||"";
}
if(format){
var clts=this.getCookieletArray(val,format);
clts[_c98]=_c99;
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;
};
VjCookieJar.update=function(){
var aC=document.cookie.split("; ");
this.aCookies={};
for(var i=0;i<aC.length;i++){
var sC=aC[i].split("=");
var _ca1=this.getFormat(sC[0]),cv=sC[1],sd=_ca1.startDelim;
if(sd&&cv&&cv.indexOf(sd)==0){
sC[1]=cv.substring(sd.length,cv.length);
}
this.aCookies[sC[0]]=sC[1];
}
};
VjCookieJar.getCookielet=function(_ca2,_ca3,_ca4){
var _ca5=this.getFormat(_ca2);
var clts=this.getCookieletArray(_ca4,_ca5);
return clts[_ca3]||"";
};
VjCookieJar.getFormat=function(_ca7){
return this.aFormatMap[_ca7]||VjCookieJar.Default_Cookie_Format;
};
VjCookieJar.getCookieletArray=function(_ca8,_ca9){
var rv=[],val=_ca8||"";
if(_ca9.escapedValue){
val=unescape(val);
}
var a=val.split(_ca9.COOKIELET_DELIMITER);
for(var i=0;i<a.length;i++){
var idx=a[i].indexOf(_ca9.NAME_VALUE_DELIMITER);
if(idx>0){
rv[a[i].substring(0,idx)]=a[i].substring(idx+1);
}
}
return rv;
};
VjCookieJar.getExpDate=function(_cae){
var _caf;
if(typeof _cae=="number"&&_cae>=0){
var d=new Date();
d.setTime(d.getTime()+(_cae*24*60*60*1000));
_caf=d.toGMTString();
}
return _caf;
};
VjCookieJar.getMode=function(_cb1){
var h=this.readCookieObj(this.sModesCookie,this.sModesCookielet).value,b;
if(!(_cb1 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(_cb1==o){
return (f.length==1)?"0"+f:f;
}
i++;
}
return null;
}
};
VjUtils={};
VjUtils.isString=function(wh){
return (typeof wh=="string");
};
VjUtils.hitch=function(_cb6,_cb7){
var fcn;
if(VjUtils.isString(_cb7)){
fcn=_cb6[_cb7];
}else{
fcn=_cb7;
}
return function(){
return fcn.apply(_cb6,arguments);
};
};
VjUtils.extend=function(_cb9,_cba){
function inheritance(){
}
inheritance.prototype=_cba.prototype;
_cb9.prototype=new inheritance();
_cb9.prototype.constructor=_cb9;
_cb9.baseConstructor=_cba;
_cb9.superClass=_cba.prototype;
};
VjWindowUtils={};
VjWindowUtils.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;
};
VjWindowUtils.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;
};
VjWindowUtils.getScrollXY=function(){
var _cc1=0,scrOfY=0;
if(typeof (window.pageYOffset)=="number"){
scrOfY=window.pageYOffset;
_cc1=window.pageXOffset;
}else{
if(document.body&&(document.body.scrollLeft||document.body.scrollTop)){
scrOfY=document.body.scrollTop;
_cc1=document.body.scrollLeft;
}else{
if(document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)){
scrOfY=document.documentElement.scrollTop;
_cc1=document.documentElement.scrollLeft;
}
}
}
return [_cc1,scrOfY];
};
function ExpressHandler(){
}
ExpressHandler.prototype.handle=function(_cc2){
oRegistry.get("expressCompId").init();
};
var VjClient={};
VjClient.getBrowserObj=function(){
this.bFirefox=this.bWebTV=this.bOpera=this.bNav=this.bIE=this.bSafari=this.bWin=this.bMac=this.bMacppc=this.bActiveXLibLoaded=this.bActiveXSupported=this.bWinXp=this.bXpSp2=this.bAOL=false;
this.init=function(){
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=agt.substring(i);
iVer=parseInt(ver);
fVer=parseFloat(ver);
fMinorVer=fVer-iVer;
bWin=agt.has("win");
bWinXp=(bWin&&agt.has("windows nt 5.1"));
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&&(typeof (ActiveXObject)=="function"));
}
};
this.init();
return this;
};
function BtaHandler(){
}
BtaHandler.prototype.handle=function(_cc4){
oRegistry.get("bta").onRefresh();
};
function DynamicMenu(_cc5,_cc6,_cc7,_cc8,_cc9,_cca,_ccb,_ccc,_ccd,_cce,_ccf,_cd0,_cd1,_cd2,_cd3,_cd4,_cd5,_cd6,_cd7,_cd8){
this.iMouseOutTimer=null;
this.iMouseOverTimer=null;
this.iLeftPadding=_ccf;
this.iTopPadding=_cd0;
this.iRightPadding=_cd1;
this.sAnchorId=_cc5;
this.sContainerLayerId=_cc6;
this.sContentLayerId=_cc7;
this.iMouseOutDelay=_cc8;
this.iMouseOverDelay=_cc9;
this.iHighResDocWidth=_cca;
this.iLowResDocWidth=_ccb;
this.iHighResColumns=_ccc;
this.iMediumResColumns=_ccd;
this.iLowResColumns=_cce;
this.sHandler=_cd2;
this.sCollName=_cd3;
this.sWidth=_cd4;
this.sAnchorMouseOverClass=_cd5;
this.sAnchorMouseOutClass=_cd6;
this.iframeShim=null;
this.sHTML=null;
this.oAnchor=null;
this.sTemplate=null;
this.sAnchorText=_cd7;
this.sDomain=_cd8;
this.getAnchor=function(){
with(this){
if(oAnchor==null){
var oCl=VjClient.getBrowserObj(),a=getElementById(sAnchorId),t=sAnchorText;
if(t){
(oCl.bFirefox)?a.textContent=t:a.innerText=t;
}
oAnchor=a;
}
return oAnchor;
}
};
if(this.sAnchorId=="Help"){
this.iLeftPadding-=5;
}
}
DynamicMenu.prototype.showDynamicMenu=function(){
var oL,oA,iL,iT,iWW,noc,iAL,iAW,iLW,op,oSI,bF=false,t,lh=window.location.href,agt=navigator.userAgent.toLowerCase();
with(this){
clearMouseOutTimer();
if(sTemplate==null){
t=getElementById(sContentLayerId);
if(t){
sTemplate=t.innerHTML;
}
}
oL=getElementById(sContainerLayerId);
op=oL.offsetParent;
oA=getAnchor();
iAL=DynamicMenuGetOffsetLeft(oA);
iAW=oA.offsetWidth;
iT=getOffsetTop(oA)+(oA.offsetHeight)+iTopPadding;
iWW=VjWindowUtils.getBrowserWindowWidth();
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;
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&&document.all&&!lh.hasAny("community","education")){
cw=oCon.offsetWidth;
if((iAL+iLW)>cw){
bRA=true;
}
}
if(lh.has("securitycenter")&&lh.has(".hk")){
iAL=getOffsetLeft(oA);
}else{
if(lh.has("wantitnow")&&lh.has(".in")&&document.all){
iAL=getOffsetLeft(oA);
}else{
if(lh.hasAny("feedback.","announce.")&&document.all&&!lh.has(".hk")){
iAL=getOffsetLeft(oA);
}else{
if(lh.hasAny("securitycentre","contact_ebay")&&lh.has(".au")){
iAL=getOffsetLeft(oA);
}
}
}
}
var _cdc=getElementById("2tabPopularProducts");
if(_cdc&&document.all){
iAL=getOffsetLeft(oA);
}
if((((iWW-iAL-iLW)<=10)&&iWW>iLW)||(iWW<(getOffsetLeft(oA)+iAW+iLW))||bRA){
iL=iAL+iAW-iLW;
}else{
iL=iAL;
}
if(sAnchorId=="Buy"||sAnchorId=="Sell"){
iL=iAL;
}
iL+=iLeftPadding;
if(lh.has("securitycentre")&&lh.has(".sg")&&document.all){
iL+=10;
}else{
if(lh.has("feedback")&&lh.has(".hk")&&agt.has("firefox")){
iL+=7;
}else{
if(lh.has("my.")&&agt.has("firefox")){
iL-=7;
}else{
if(lh.has("myworld")&&document.all){
iL+=10;
}
}
}
}
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=addLayerShim(oL,12);
}else{
iframeShim=addLayerShim(oL);
}
}else{
if(agt.hasAny("msie","firefox")){
oL.appendChild(iframeShim);
}
}
oSI=getElementById(sContainerLayerId+"-spacer");
if(oSI&&bF){
oSI.width=iLW-12;
}
iMouseOverTimer=setTimeout(VjUtils.hitch(this,"show"),iMouseOverDelay);
}
};
DynamicMenu.prototype.show=function(){
var oA;
with(this){
oA=getAnchor();
if(oA){
oA.className=sAnchorMouseOverClass;
}
toggleVisibility(sContainerLayerId,true);
}
};
DynamicMenu.prototype.startMouseOutTimer=function(){
with(this){
clearTimeout(iMouseOverTimer);
iMouseOutTimer=setTimeout(VjUtils.hitch(this,"close"),iMouseOutDelay);
}
};
DynamicMenu.prototype.close=function(){
var oA;
with(this){
oA=getAnchor();
if(oA){
oA.className=sAnchorMouseOutClass;
}
toggleVisibility(sContainerLayerId,false);
if(iframeShim){
removeLayerShim(getElementById(sContainerLayerId),iframeShim);
}
}
};
DynamicMenu.prototype.clearMouseOutTimer=function(){
clearTimeout(this.iMouseOutTimer);
};
DynamicMenu.prototype.getMenuHtml=function(_cdf){
with(this){
var i,j,c,n,h,ipc,html,img="",si,sTemp=".paradise.qa.ebay.com";
si="<img src='http://pics.ebaystatic.com/aw/pics/s.gif' height='1' width='1'  border='0' ";
var _ce1=window[sHandler];
if(!_ce1){
return;
}
var data=_ce1(),items=data[sCollName],l=items.length;
ipc=Math.ceil(l/_cdf);
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<_cdf;j++){
h+="<td nowrap>";
if(i==0){
h+=si+"><br/>";
img=si+" id='"+sContainerLayerId+"-spacer'>";
}
n=i+(j)*ipc;
c=items[n];
if(c){
if(typeof (c.url)!="undefined"){
h+="<a href='"+(sDomain?c.url.replace(sTemp,sDomain):c.url)+"'>";
h+=c.value;
h+="</a>";
}else{
h+=c.value;
}
}else{
h+="&nbsp;";
}
h+="</td>";
}
h+="</tr>";
}
h+="</table>";
html=h;
if(sTemplate){
html=sTemplate.replace("##1##",h).replace("##2##",img);
}
return html;
}
};
function DynamicMenuMouseOutHandler(psId){
this.id=psId;
}
DynamicMenuMouseOutHandler.prototype.handle=function(_ce4){
oRegistry.get(this.id).startMouseOutTimer();
};
function DynamicMenuClearMouseOutHandler(psId){
this.id=psId;
}
DynamicMenuClearMouseOutHandler.prototype.handle=function(_ce6){
oRegistry.get(this.id).clearMouseOutTimer();
};
function DynamicShowMenuHandler(psId){
this.id=psId;
}
DynamicShowMenuHandler.prototype.handle=function(_ce8){
oRegistry.get(this.id).showDynamicMenu();
};
function DynamicMenuGetOffsetLeft(e){
var l=0,oCl=VjClient.getBrowserObj(),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;
}
function GetContainerDiv(){
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];
}
}
}
DynamicMenu.prototype.addLayerShim=function(node,_cee,_cef){
var agt=navigator.userAgent.toLowerCase();
if(agt.indexOf("msie")==-1&&agt.indexOf("firefox")==-1){
return;
}
var w=node.offsetWidth,h=node.offsetHeight;
w+=_cee?_cee:0;
h+=_cef?_cef:0;
var _cf2=document.createElement("IFRAME");
_cf2.style.width=w+"px";
_cf2.style.height=h+"px";
_cf2.style.filter="chroma(color='white')";
_cf2.frameBorder=0;
_cf2.style.position="absolute";
_cf2.style.left="0px";
_cf2.style.top="0px";
_cf2.style.zIndex="-1";
_cf2.style.filter="Alpha(Opacity=\"0\")";
node.appendChild(_cf2);
return _cf2;
};
DynamicMenu.prototype.removeLayerShim=function(_cf3,_cf4){
var agt=navigator.userAgent.toLowerCase();
if(agt.indexOf("msie")==-1&&agt.indexOf("firefox")==-1){
return;
}
if(_cf4&&_cf4.parentElement){
_cf3.removeChild(_cf4);
}
};
function getOffsetTop(elm){
var _cf7=elm.offsetTop;
var _cf8=elm.offsetParent;
while(_cf8!==null){
_cf7+=_cf8.offsetTop;
_cf8=_cf8.offsetParent;
}
return _cf7;
}
function getOffsetLeft(elm){
var _cfa=elm.offsetLeft;
var _cfb=elm.offsetParent;
while(_cfb!==null){
_cfa+=_cfb.offsetLeft;
_cfb=_cfb.offsetParent;
}
return _cfa;
}
var VjLayerUtils={};
VjLayerUtils.matchColumnHeight=function(_cfc,_cfd,_cfe){
var px="px";
var _d00=document.getElementById(_cfc);
var _d01=_d00.offsetHeight;
var _d02=Math.max(_d01,_cfd);
for(var i=0;i<_cfe.length;i++){
document.getElementById(_cfe[i]).style.height=_d02+px;
}
};
VjLayerUtils.addLayerShim=function(node){
var agt=navigator.userAgent.toLowerCase();
if(agt.indexOf("msie")==-1&&agt.indexOf("firefox")==-1){
return;
}
var _d06=document.createElement("IFRAME");
_d06.style.width=node.offsetWidth+"px";
_d06.style.height=node.offsetHeight+"px";
_d06.style.filter="chroma(color='white')";
_d06.frameBorder=0;
_d06.style.position="absolute";
_d06.style.left="0px";
_d06.style.top="0px";
_d06.style.zIndex="-1";
_d06.style.filter="Alpha(Opacity=\"0\")";
node.appendChild(_d06);
return _d06;
};
VjLayerUtils.removeLayerShim=function(_d07,_d08){
var agt=navigator.userAgent.toLowerCase();
if(agt.indexOf("msie")==-1&&agt.indexOf("firefox")==-1){
return;
}
if(_d08&&_d08.parentElement){
_d07.removeChild(_d08);
}
};
String.prototype.has=function(pStr){
return (this.indexOf(pStr)!=-1);
};
String.prototype.hasArg=function(pArg){
var a=pArg,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;
};
function Playground(_d17,_d18){
this.sLayerId=_d17;
this.sHandle=_d18;
}
Playground.prototype.show=function(){
var oCJ=VjCookieJar,sbf=oCJ.readCookie("ebay","sbf"),pcon=oCJ.getBitFlag(sbf,24),l,h;
var lid=this.sLayerId;
if(pcon){
l=getElementById(lid);
h=window[this.sHandle];
if(h&&l){
l.innerHTML=h();
toggleHideShow(lid,true);
}
}else{
toggleHideShow(lid,false);
}
};
function getElementById(pId){
var elem=null;
var doc=window.document;
if(doc.getElementById){
elem=doc.getElementById(pId);
}else{
if(doc.all){
elem=doc.all(pId);
}
}
return elem;
}
function toggleHideShow(_d1e,show){
var elem=getElementById(_d1e);
if(elem===null){
return;
}
var vis=elem.style.display;
if(show===undefined){
elem.style.display=(vis==="")?"none":"block";
}else{
elem.style.display=(show)?"block":"none";
}
}
if(typeof VjCookieJar=="undefined"){
VjCookieJar={aCookies:{},sCookieDomain:".ebay.com"};
}
VjCookieJar.Default_Cookie_Format={"COOKIELET_DELIMITER":"^","NAME_VALUE_DELIMITER":"/","escapedValue":true};
VjCookieJar.DP_Cookie_Format={"COOKIELET_DELIMITER":"^","NAME_VALUE_DELIMITER":"/","bUseExp":true,"startDelim":"b"};
VjCookieJar.Session_Cookie_Format={"COOKIELET_DELIMITER":"^","NAME_VALUE_DELIMITER":"=","escapedValue":true,"startDelim":"^"};
VjCookieJar.DS_Cookie_Format={"COOKIELET_DELIMITER":"^","NAME_VALUE_DELIMITER":"/"};
VjCookieJar.sPath="/";
VjCookieJar.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"]};
VjCookieJar.aFormatMap={"r":VjCookieJar.Default_Cookie_Format,"dp1":VjCookieJar.DP_Cookie_Format,"npii":VjCookieJar.DP_Cookie_Format,"ebay":VjCookieJar.Session_Cookie_Format,"reg":VjCookieJar.Session_Cookie_Format,"apcCookies":VjCookieJar.Session_Cookie_Format,"ds2":VjCookieJar.DS_Cookie_Format};
VjCookieJar.sCOMPAT="10";
VjCookieJar.sCONVER="01";
VjCookieJar.sSTRICT="00";
VjCookieJar.sModesCookie="ebay";
VjCookieJar.sModesCookielet="cv";
VjCookieJar.readCookie=function(_d22,_d23){
var rv=this.readCookieObj(_d22,_d23).value;
return (rv)?unescape(rv):"";
};
VjCookieJar.createDefaultCookieBean=function(_d25,_d26){
var _d27={};
_d27.name=_d25;
_d27.cookieletname=_d26;
_d27.value="";
_d27.maxage=0;
_d27.rawcookievalue="";
_d27.mode="";
return _d27;
};
VjCookieJar.readCookieObj=function(_d28,_d29){
var _d2a=this.createDefaultCookieBean(_d28,_d29);
this.update();
this.checkConversionMap(_d2a);
_d2a.rawcookievalue=this.aCookies[_d2a.name];
if(!_d2a.name||!_d2a.rawcookievalue){
_d2a.value="";
}else{
if(!_d2a.cookieletname){
this.readCookieInternal(_d2a);
}else{
this.readCookieletInternal(_d2a);
}
}
return (typeof (_d2a)!="undefined")?_d2a:"";
};
VjCookieJar.checkConversionMap=function(_d2b){
var cmap=this.aConversionMap[_d2b.name];
if(cmap){
_d2b.mode=this.getMode(_d2b.name);
_d2b.name=cmap[0];
_d2b.cookieletname=cmap[1];
}
};
VjCookieJar.readCookieInternal=function(_d2d){
_d2d.value=_d2d.rawcookievalue;
return _d2d;
};
VjCookieJar.readCookieletInternal=function(_d2e){
var clet=this.getCookielet(_d2e.name,_d2e.cookieletname,_d2e.rawcookievalue);
var _d30=this.getFormat(_d2e.name);
if(clet&&_d30.bUseExp){
clet=clet.substring(0,clet.length-8);
}
_d2e.value=clet;
if(_d2e.mode==this.sCOMPAT){
_d2e.value=_d2e.rawcookievalue;
}
return _d2e;
};
VjCookieJar.readMultiLineCookie=function(_d31,_d32){
if(!_d31||!_d32){
return "";
}
var val,r="";
var cmap=this.aConversionMap[_d31];
if(cmap){
val=this.readCookieObj(cmap[0],cmap[1]).value||"";
}
if(val){
r=this.getCookielet(_d31,_d32,val)||"";
}
return (typeof (r)!="undefined")?r:"";
};
VjCookieJar.writeCookie=function(_d35,_d36,_d37){
var cmap=this.aConversionMap[_d35];
if(cmap){
this.writeCookielet(cmap[0],cmap[1],_d36,_d37);
return;
}
var _d39=this.getFormat(_d35);
if(_d36&&_d39.escapedValue){
_d36=escape(_d36);
}
this.writeRawCookie(_d35,_d36,_d37);
};
VjCookieJar.writeRawCookie=function(_d3a,_d3b,_d3c){
if(_d3a&&(_d3b!==undefined)){
if((isNaN(_d3b)&&_d3b.length<4000)||(_d3b+"").length<4000){
if(typeof _d3c=="number"){
_d3c=this.getExpDate(_d3c);
}
var _d3d=_d3c?new Date(_d3c):new Date(this.getExpDate(730));
var _d3e=this.getFormat(_d3a);
var _d3f=this.sCookieDomain;
var dd=document.domain;
if(!dd.has(_d3f)){
var _d41=dd.indexOf(".ebay.");
if(_d41>0){
this.sCookieDomain=dd.substring(_d41);
}
}
if(document.cookie){
document.cookie=_d3a+"="+(_d3b||"")+((_d3c||_d3e.bUseExp)?"; expires="+_d3d.toGMTString():"")+"; domain="+this.sCookieDomain+"; path="+this.sPath;
}
}
}
};
VjCookieJar.writeCookieEx=function(_d42,_d43,_d44){
this.writeCookie(_d42,_d43,this.getExpDate(_d44));
};
VjCookieJar.writeCookielet=function(_d45,_d46,_d47,_d48,_d49){
if(_d45&&_d46){
this.update();
var _d4a=this.getFormat(_d45);
if(_d4a.bUseExp&&_d47){
if(typeof _d48=="number"){
_d48=this.getExpDate(_d48);
}
var _d4b=_d48?new Date(_d48):new Date(this.getExpDate(730));
var _d4c=Date.UTC(_d4b.getUTCFullYear(),_d4b.getUTCMonth(),_d4b.getUTCDate());
_d4c=Math.floor(_d4c/1000);
_d47+=_d4c.dec2Hex();
}
var val=this.createCookieValue(_d45,_d46,_d47);
this.writeRawCookie(_d45,val,_d49);
}
};
VjCookieJar.writeMultiLineCookie=function(_d4e,_d4f,_d50,_d51,_d52){
this.update();
var val=this.createCookieValue(_d4e,_d4f,_d50);
if(val){
var cmap=this.aConversionMap[_d4e];
if(cmap){
this.writeCookielet(cmap[0],cmap[1],val,_d51,_d52);
}
}
};
VjCookieJar.getBitFlag=function(_d55,_d56){
_d55=parseInt(_d55,10);
var b=_d55.toString(2),r=_d55?b.charAt(b.length-_d56-1):"";
return (r=="1")?1:0;
};
VjCookieJar.setBitFlag=function(_d58,_d59,_d5a){
var b="",p,i,e,l;
_d58=parseInt(_d58,10);
if(_d58){
b=_d58.toString(2);
}
l=b.length;
if(l<_d59){
e=_d59-l;
for(i=0;i<=e;i++){
b="0"+b;
}
}
p=b.length-_d59-1;
return parseInt(b.substring(0,p)+_d5a+b.substring(p+1),2);
};
VjCookieJar.createCookieValue=function(_d5c,_d5d,_d5e){
var cmap=this.aConversionMap[_d5c],format=this.getFormat(_d5c),mode=this.getMode(_d5c),val;
if(cmap&&(mode==this.sSTRICT||mode==this.sCONVER)){
val=this.readCookieObj(cmap[0],cmap[1]).value||"";
}else{
val=this.aCookies[_d5c]||"";
}
if(format){
var clts=this.getCookieletArray(val,format);
clts[_d5d]=_d5e;
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;
};
VjCookieJar.update=function(){
var aC=document.cookie.split("; ");
this.aCookies={};
for(var i=0;i<aC.length;i++){
var sC=aC[i].split("=");
var _d66=this.getFormat(sC[0]),cv=sC[1],sd=_d66.startDelim;
if(sd&&cv&&cv.indexOf(sd)==0){
sC[1]=cv.substring(sd.length,cv.length);
}
this.aCookies[sC[0]]=sC[1];
}
};
VjCookieJar.getCookielet=function(_d67,_d68,_d69){
var _d6a=this.getFormat(_d67);
var clts=this.getCookieletArray(_d69,_d6a);
return clts[_d68]||"";
};
VjCookieJar.getFormat=function(_d6c){
return this.aFormatMap[_d6c]||VjCookieJar.Default_Cookie_Format;
};
VjCookieJar.getCookieletArray=function(_d6d,_d6e){
var rv=[],val=_d6d||"";
if(_d6e.escapedValue){
val=unescape(val);
}
var a=val.split(_d6e.COOKIELET_DELIMITER);
for(var i=0;i<a.length;i++){
var idx=a[i].indexOf(_d6e.NAME_VALUE_DELIMITER);
if(idx>0){
rv[a[i].substring(0,idx)]=a[i].substring(idx+1);
}
}
return rv;
};
VjCookieJar.getExpDate=function(_d73){
var _d74;
if(typeof _d73=="number"&&_d73>=0){
var d=new Date();
d.setTime(d.getTime()+(_d73*24*60*60*1000));
_d74=d.toGMTString();
}
return _d74;
};
VjCookieJar.getMode=function(_d76){
var h=this.readCookieObj(this.sModesCookie,this.sModesCookielet).value,b;
if(!(_d76 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(_d76==o){
return (f.length==1)?"0"+f:f;
}
i++;
}
return null;
}
};
VjURL={};
VjURL.addArg=function(_d7a,_d7b,_d7c){
if(_d7a==null||_d7a==undefined){
return null;
}
if(_d7a.indexOf("?")<0){
_d7a+="?"+_d7b+"="+_d7c;
return _d7a;
}
var _d7d=this.getArgPairIfExists(_d7a,_d7b);
if(_d7d!==null){
_d7a.replace(_d7d,_d7b+"="+_d7c);
}else{
_d7a+="&"+_d7b+"="+_d7c;
}
return _d7a;
};
VjURL.getArg=function(_d7e,_d7f){
if(_d7e==null||_d7e==undefined){
return null;
}
if(_d7e.indexOf("?")<0){
return null;
}
var _d80=this.getArgPairIfExists(_d7e,_d7f);
if(_d80!==null){
return _d80.substring(_d80.indexOf("=")+1);
}
return null;
};
VjURL.getArgPairIfExists=function(_d81,_d82){
var _d83=_d81.indexOf("?");
if(_d83<0){
return null;
}
var _d84=_d81;
var _d85,argName;
while(_d83>=0){
_d84=_d84.substring(_d83+1);
_d85=_d84;
_d83=_d84.indexOf("&");
if(_d83>=0){
_d85=_d84.substring(0,_d83);
}
argName=_d85.substring(0,_d85.indexOf("="));
if(argName==_d82){
return _d85;
}
}
return null;
};
function TrackingModuleEnabler(_d86,_d87){
this.sCid=_d86;
this.sCidParms=_d87;
}
TrackingModuleEnabler.prototype.rewriteUrl=function(_d88){
if(_d88.nativeEvent==null||_d88.nativeEvent==undefined){
return;
}
var elem=_d88.nativeEvent.srcElement||_d88.nativeEvent.target;
if(elem==null||elem==undefined){
return;
}
elem=this.getAnchor(elem);
if(this.sCidParms&&elem){
elem.href=VjURL.addArg(elem.href,this.sCid,this.sCidParms);
}
};
TrackingModuleEnabler.prototype.handle=function(_d8a){
this.rewriteUrl(_d8a);
};
TrackingModuleEnabler.prototype.getAnchor=function(_d8b){
var e=_d8b;
if(e&&e.tagName){
if(!e.tagName.is("A")){
e=this.getAnchor(e.parentNode);
}
return e;
}
};
var dsf_debug=true;
function dsf_EventDispatcher(){
this.eventHandlers=Object();
this.fCustomLoad={};
}
dsf_EventDispatcher.prototype.process=function(_d8d,_d8e){
var _d8f=this.eventHandlers[_d8d];
if(!_d8f){
return true;
}
var _d90=_d8f[_d8e.eventType];
if(!_d90){
return true;
}
var _d91=true;
for(var i=0;i<_d90.length;i++){
var _d93=_d90[i].handle(_d8e);
if(_d93&&_d93.objType=="dsf_Message"){
if(typeof (svcEngine)!="undefined"&&svcEngine.handleRequest(_d93)===false){
_d91=false;
}
}else{
if(_d93===false){
_d91=false;
}
}
}
return _d91;
};
dsf_EventDispatcher.prototype.register=function(id,_d95,_d96){
var _d97=id;
if(!this.eventHandlers[_d97]){
this.eventHandlers[_d97]=[];
}
var _d98=this.eventHandlers[_d97];
if(!_d98[_d95]){
_d98[_d95]=[];
}
var _d99=_d98[_d95];
_d99[_d99.length]=_d96;
};
dsf_EventDispatcher.prototype.attachHandlerToElement=function(id,_d9b,_d9c){
eventDispatcher.register(id,_d9b,_d9c);
var _d9d=document.getElementById(id);
if(id=="body"){
_d9d=document.body;
if(_d9b=="onload"||_d9b=="onunload"){
if(_d9d.vjLoadSet){
return this;
}else{
_d9d.vjLoadSet=true;
var _d9e=window[_d9b]||"";
if(_d9e){
this.fCustomLoad[_d9b]=_d9e;
}
}
window[_d9b]=function(){
if(typeof eventDispatcher.fCustomLoad[_d9b]=="function"){
eventDispatcher.fCustomLoad[_d9b]();
}
eventDispatcher[_d9b](document.body);
eventDispatcher.fCustomLoad={};
};
return this;
}
}
if(_d9d){
_d9d[_d9b]=function(_d9f){
return eventDispatcher[_d9b](this,_d9f||window.event);
};
}
return this;
};
dsf_EventDispatcher.prototype.detachHandlers=function(id,_da1){
var _da2=id;
if(!this.eventHandlers[_da2]){
return;
}
var _da3=this.eventHandlers[_da2];
if(_da3[_da1]){
_da3[_da1]=[];
}
var _da4=document.getElementById(id);
if(id=="body"){
_da4=document.body;
if(_da1=="onload"||_da1=="onunload"||_da1=="onclick"){
window[_da1]=null;
}
}
if(_da4){
_da4[_da1]=null;
}
};
function dsf_Event(src,_da6,_da7){
this.src=src;
this.eventType=_da6;
this.nativeEvent=_da7;
}
function dsf_SvcConfig(_da8,url){
this.url=url;
this.method=_da8;
this.reqtMarshalling="raw";
this.respMarshalling="raw";
}
function dsf_Message(_daa){
this.objType="dsf_Message";
this.svcId=_daa;
this.request;
this.response;
this.clientContext;
this.trspType="InProc";
this.status;
this.svcConfig;
this.returnData=true;
this.trace="";
}
dsf_EventDispatcher.prototype.getId=function(src,id){
var _dad=id;
if(_dad===null||!_dad){
_dad=src.id;
}
return _dad;
};
dsf_EventDispatcher.prototype.getBodyId=function(src,id){
var _db0=this.getId(src,id);
if(!_db0){
_db0="body";
}
return _db0;
};
dsf_EventDispatcher.prototype.onload=function(src,_db2){
return this.process(this.getBodyId(src),new dsf_Event(src,"onload",_db2));
};
dsf_EventDispatcher.prototype.onunload=function(src,_db4){
return this.process(this.getBodyId(src),new dsf_Event(src,"onunload",_db4));
};
dsf_EventDispatcher.prototype.onchange=function(src,_db6){
return this.process(this.getId(src),new dsf_Event(src,"onchange",_db6));
};
dsf_EventDispatcher.prototype.onsubmit=function(src,_db8){
return this.process(this.getId(src),new dsf_Event(src,"onsubmit",_db8));
};
dsf_EventDispatcher.prototype.onreset=function(src,_dba){
return this.process(this.getId(src),new dsf_Event(src,"onreset",_dba));
};
dsf_EventDispatcher.prototype.onselect=function(src,_dbc){
return this.process(this.getId(src),new dsf_Event(src,"onselect",_dbc));
};
dsf_EventDispatcher.prototype.onblur=function(src,_dbe){
return this.process(this.getId(src),new dsf_Event(src,"onblur",_dbe));
};
dsf_EventDispatcher.prototype.onfocus=function(src,_dc0){
return this.process(this.getId(src),new dsf_Event(src,"onfocus",_dc0));
};
dsf_EventDispatcher.prototype.onkeydown=function(src,_dc2){
return this.process(this.getBodyId(src),new dsf_Event(src,"onkeydown",_dc2));
};
dsf_EventDispatcher.prototype.onkeypress=function(src,_dc4){
return this.process(this.getBodyId(src),new dsf_Event(src,"onkeypress",_dc4));
};
dsf_EventDispatcher.prototype.onkeyup=function(src,_dc6){
return this.process(this.getBodyId(src),new dsf_Event(src,"onkeyup",_dc6));
};
dsf_EventDispatcher.prototype.onclick=function(src,_dc8){
return this.process(this.getBodyId(src),new dsf_Event(src,"onclick",_dc8));
};
dsf_EventDispatcher.prototype.ondblclick=function(src,_dca){
return this.process(this.getBodyId(src),new dsf_Event(src,"ondblclick",_dca));
};
dsf_EventDispatcher.prototype.onmousedown=function(src,_dcc){
return this.process(this.getBodyId(src),new dsf_Event(src,"onmousedown",_dcc));
};
dsf_EventDispatcher.prototype.onmousemove=function(src,_dce){
return this.process(this.getBodyId(src),new dsf_Event(src,"onmousemove",_dce));
};
dsf_EventDispatcher.prototype.onmouseout=function(src,_dd0){
return this.process(this.getBodyId(src),new dsf_Event(src,"onmouseout",_dd0));
};
dsf_EventDispatcher.prototype.onmouseover=function(src,_dd2){
return this.process(this.getBodyId(src),new dsf_Event(src,"onmouseover",_dd2));
};
dsf_EventDispatcher.prototype.onmouseup=function(src,_dd4){
return this.process(this.getBodyId(src),new dsf_Event(src,"onmouseup",_dd4));
};
function dsf_EventHandler(_dd5){
this.eventTypes=_dd5;
this.srcId="";
}
dsf_EventHandler.prototype.handle=function(_dd6){
if(this.handleEvent===null){
alert("all derived event handlers need to have a handleEvent method");
}
var _dd7=this.handleEvent(_dd6);
if(_dd7===null){
return true;
}
};
dsf_EventHandler.prototype.attachTo=function(id){
eventDispatcher.register(this,id);
var _dd9=this.eventTypes;
var _dda=document.getElementById(id);
for(var i=0;i<_dd9.length;i++){
var _ddc=_dd9[i];
if(_dda[_ddc]!==null){
continue;
}
_dda[_ddc]=function(){
return eventDispatcher[_ddc](this);
};
}
return this;
};
var eventDispatcher;
if(typeof (eventDispatcher)=="undefined"){
eventDispatcher=new dsf_EventDispatcher();
}
function FooterTrk(){
}
FooterTrk.prototype.handle=function(_ddd){
eventDispatcher.attachHandlerToElement("glbfooter","onclick",new TrackingModuleEnabler("_trksid","m40"));
};
function VjComponentRegistry(){
this.controls=[];
}
VjComponentRegistry.prototype.put=function(_dde,_ddf){
this.controls[_dde]=_ddf;
};
VjComponentRegistry.prototype.get=function(_de0){
return this.controls[_de0];
};
VjComponentRegistry.prototype.dump=function(){
var _de1=this.controls;
var _de2="controls on page:\n";
for(var i in _de1){
_de2+="key = "+i;
_de2+="controlName = "+_de1[i].objtype;
_de2+="\n";
}
return _de2;
};
var oRegistry;
if(typeof (oRegistry)=="undefined"){
oRegistry=new VjComponentRegistry();
}
function get_Buy_menu(){
return {"items":[{"value":"<a href=\"http://pages.ebay.ch/help/buy/questions/buy-item.html\">Zum ersten Mal kaufen</a>"},{"value":"<a href=\"http://training.ebay.ch/online-training/content_manager/page.php?ID=7759&amp;dbc=2b0513ee5c564f664d6fb7aaa221644a&amp;flagType=7115&amp;flagID=7215&amp;resetClickPath=1\">Alles zum Thema Kaufen</a>"},{"value":"<a href=\"http://pages.ebay.ch/help/find/questions/find-items.html\">Richtig suchen</a>"},{"value":"<a href=\"http://pages.ebay.ch/securitycenter/index.html\">Sicherheitsportal</a>"}]};
}
function get_Sell_menu(){
return {"items":[{"value":"<a href=\"http://pages.ebay.ch/verkaeuferportal/erstverkauf.html\">Zum ersten Mal verkaufen</a>"},{"value":"<a href=\"http://pages.ebay.ch/123_verkaeufer/\">Grundlagen f\xfcr das Verkaufen</a>"},{"value":"<a href=\"http://pages.ebay.ch/zollcenter/index.html\">Zollcenter</a>"},{"value":"<a href=\"http://pages.ebay.ch/versandcenter/index.html\">Versandcenter</a>"},{"value":"<a href=\"http://pages.ebay.ch/help/sell/fees.html\">Geb\xfchren\xfcbersicht</a>"}]};
}
function get_MyEbay_menu(){
return {"items":[{"value":"<a href=\"http://my.ebay.ch/ws/eBayISAPI.dll?MyEbay&amp;CurrentPage=MyeBayAllBuying\">Kaufen</a>"},{"value":"<a href=\"http://my.ebay.ch/ws/eBayISAPI.dll?MyEbay&amp;CurrentPage=MyeBayAllSelling&amp;ShowNormalSelling=true&amp;smGHR=true\">Verkaufen</a>"},{"value":"<a href=\"http://my.ebay.ch/ws/eBayISAPI.dll?MyEbay&amp;CurrentPage=MyeBayMyMessages\">Meine Nachrichten</a>"}]};
}
function get_Community_menu(){
return {"items":[{"value":"<a href=\"http://www2.ebay.com/aw/marketing-ch.shtml\">eBay-News</a>"},{"value":"<a href=\"http://pages.ebay.ch/community/chat/index.html\">Diskussions- und Hilfeforen</a>"},{"value":"<a href=\"http://pages.ebay.ch/fragen/index.html\">Kontakt</a>"}]};
}
function get_Help_menu(){
return {"items":[{"value":"<a href=\"http://pages.ebay.ch/help/index.html\">Hilfeseiten</a>"},{"value":"<a href=\"http://pages.ebay.ch/training/index.html\">Trainingsportal</a>"},{"value":"<a href=\"http://pages.ebay.ch/securitycenter/index.html\">Sicherheitsportal</a>"},{"value":"<a href=\"http://pages.ebay.ch/fragen/index.html\">Kontakt</a>"}]};
}
function NavMenuBind(){
}
NavMenuBind.prototype.handle=function(_de4){
eventDispatcher.attachHandlerToElement("Buy-menu","onmouseout",new DynamicMenuMouseOutHandler("BuyMenu"));
eventDispatcher.attachHandlerToElement("Buy-menu","onmouseover",new DynamicMenuClearMouseOutHandler("BuyMenu"));
eventDispatcher.attachHandlerToElement("Buy","onmouseover",new DynamicShowMenuHandler("BuyMenu"));
eventDispatcher.attachHandlerToElement("Buy","onmouseout",new DynamicMenuMouseOutHandler("BuyMenu"));
eventDispatcher.attachHandlerToElement("Sell-menu","onmouseout",new DynamicMenuMouseOutHandler("SellMenu"));
eventDispatcher.attachHandlerToElement("Sell-menu","onmouseover",new DynamicMenuClearMouseOutHandler("SellMenu"));
eventDispatcher.attachHandlerToElement("Sell","onmouseover",new DynamicShowMenuHandler("SellMenu"));
eventDispatcher.attachHandlerToElement("Sell","onmouseout",new DynamicMenuMouseOutHandler("SellMenu"));
eventDispatcher.attachHandlerToElement("MyEbay-menu","onmouseout",new DynamicMenuMouseOutHandler("MyEbayMenu"));
eventDispatcher.attachHandlerToElement("MyEbay-menu","onmouseover",new DynamicMenuClearMouseOutHandler("MyEbayMenu"));
eventDispatcher.attachHandlerToElement("MyEbay","onmouseover",new DynamicShowMenuHandler("MyEbayMenu"));
eventDispatcher.attachHandlerToElement("MyEbay","onmouseout",new DynamicMenuMouseOutHandler("MyEbayMenu"));
eventDispatcher.attachHandlerToElement("Community-menu","onmouseout",new DynamicMenuMouseOutHandler("CommunityMenu"));
eventDispatcher.attachHandlerToElement("Community-menu","onmouseover",new DynamicMenuClearMouseOutHandler("CommunityMenu"));
eventDispatcher.attachHandlerToElement("Community","onmouseover",new DynamicShowMenuHandler("CommunityMenu"));
eventDispatcher.attachHandlerToElement("Community","onmouseout",new DynamicMenuMouseOutHandler("CommunityMenu"));
eventDispatcher.attachHandlerToElement("Help-menu","onmouseout",new DynamicMenuMouseOutHandler("HelpMenu"));
eventDispatcher.attachHandlerToElement("Help-menu","onmouseover",new DynamicMenuClearMouseOutHandler("HelpMenu"));
eventDispatcher.attachHandlerToElement("Help","onmouseover",new DynamicShowMenuHandler("HelpMenu"));
eventDispatcher.attachHandlerToElement("Help","onmouseout",new DynamicMenuMouseOutHandler("HelpMenu"));
};
function SecNavMenuBind(){
}
SecNavMenuBind.prototype.handle=function(_de5){
eventDispatcher.attachHandlerToElement("BrowseCategories-menu","onmouseout",new DynamicMenuMouseOutHandler("BrowseCategoriesMenu"));
eventDispatcher.attachHandlerToElement("BrowseCategories-menu","onmouseover",new DynamicMenuClearMouseOutHandler("BrowseCategoriesMenu"));
eventDispatcher.attachHandlerToElement("BrowseCategories","onmouseover",new DynamicShowMenuHandler("BrowseCategoriesMenu"));
eventDispatcher.attachHandlerToElement("BrowseCategories","onmouseout",new DynamicMenuMouseOutHandler("BrowseCategoriesMenu"));
};
function DynamicDropdown(_de6,_de7,_de8,_de9){
this.sDropdownId=_de6;
this.sHandler=_de7;
this.sCollName=_de8;
this.iCondNo=_de9;
}
DynamicDropdown.prototype.fill=function(){
var e,h,d,col,i,l,c,b=false;
with(this){
e=getElementById(sDropdownId);
if(e){
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];
createOption(e,c.id,c.value);
}
}
}
}
};
DynamicDropdown.prototype.createOption=function(_deb,_dec,_ded){
var e=_deb;
if(e){
var o=new Option(_ded,_dec,false,false),os;
os=e.options;
os[os.length]=o;
}
};
function DynDropHandler_category0(){
}
DynDropHandler_category0.prototype.handle=function(_df0){
oRegistry.get("category0").fill();
};
eventDispatcher.attachHandlerToElement("body","onload",new DynDropHandler_category0());
function HeaderTrk(){
}
HeaderTrk.prototype.handle=function(_df1){
eventDispatcher.attachHandlerToElement("BrowseCategories-menu","onclick",new TrackingModuleEnabler("_trksid","m37"));
eventDispatcher.attachHandlerToElement("gnheader","onclick",new TrackingModuleEnabler("_trksid","m37"));
};
function VjGreetingsServerOnClick(pUrl,_df3){
var elem=_df3.srcElement||_df3.target;
if(elem){
elem.href=VjURL.addArg(pUrl,"ru",escape(document.location.href));
}
}
function getElementById(pId){
var elem=null;
var doc=window.document;
if(doc.getElementById){
elem=doc.getElementById(pId);
}else{
if(doc.all){
elem=doc.all(pId);
}
}
return elem;
}
String.prototype.replaceToken=function(pStr,_df9,_dfa){
var rv=pStr;
while(rv.has(_df9)){
rv=rv.replace(_df9,_dfa);
}
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.replaceTokensEx=function(_dfe){
var rv=this,re,tkn,a=arguments,l=a.length;
for(var i=1;i<l+1;i++){
rv=this.replaceToken(rv,_dfe.replace("n",(i)),a[i]);
}
return rv;
};
String.prototype.has=function(pStr){
return (this.indexOf(pStr)!=-1);
};
String.prototype.hasArg=function(pArg){
var a=pArg,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;
};
function toggleHideShow(_e0e,show){
var elem=getElementById(_e0e);
if(elem===null){
return;
}
var vis=elem.style.display;
if(show===undefined){
elem.style.display=(vis==="")?"none":"block";
}else{
elem.style.display=(show)?"block":"none";
}
}
function ExpressCrossLinking(_e12,_e13,_e14,_e15,_e16,_e17,_e18){
this.sLayerId=_e12;
this.sCloseAnchorId=_e13;
this.sCartCountText=_e14;
this.aHostCoutryId=_e15;
this.aHostCountryDomain=_e16;
this.aHideOnParams=_e17;
this.sHtmlProvider=_e18;
}
ExpressCrossLinking.prototype.getHost=function(){
var oCJ=VjCookieJar,df=document.referrer,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();
};
ExpressCrossLinking.prototype.compareHost=function(_e1b,_e1c){
var sh1=_e1b.toLowerCase(),sh2=_e1c.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);
};
ExpressCrossLinking.prototype.hideOnParams=function(){
if(this.aHideOnParams){
var _e1e=this.aHideOnParams;
var iLen=_e1e.length;
for(var i=0;i<iLen;i++){
if(document.location.href.has(_e1e[i])){
return true;
}
}
}
return false;
};
ExpressCrossLinking.prototype.init=function(){
if(this.hideOnParams()){
return;
}
var oD=document,oCJ=VjCookieJar,sh="",l=this.sLayerId;
if(sh=this.getHost()){
var oL=getElementById(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){
var _e23=window[this.sHtmlProvider];
if(!_e23){
return;
}
oL.innerHTML=_e23().replaceTokensEx("##n##",sh,sc);
toggleHideShow(l,true);
var oCL=getElementById(this.sCloseAnchorId);
if(oCL){
oCL.onclick=VjUtils.hitch(this,"close");
}
}
}
};
ExpressCrossLinking.prototype.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;
};
ExpressCrossLinking.prototype.close=function(){
toggleHideShow(this.sLayerId,false);
VjCookieJar.writeCookielet("ebay","ecs","-1");
return false;
};
oRegistry.put("expressCompId",new ExpressCrossLinking("divCrossLink","b_close","(##1##)",new Array("0","1","77","3"),new Array("ebay.com","ebay.com","ebay.de","ebay.co.uk"),new Array("from=R44","fromZR44"),"get_expCrossLink_data"));
eventDispatcher.attachHandlerToElement("body","onload",new ExpressHandler());
function get_expCrossLink_data(){
return "<table class=\"clTable\" align=\"center\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#EDF9FF\"><tr valign=\"middle\"><td width=\"36\" class=\"clCell\"><img src=\"http://pics.ebaystatic.com/aw/pics/ch/icon/iconInfo_16x16.gif\" height=\"16\" width=\"16\" align=\"middle\"></td><td width=\"80%\" nowrap=\"nowrap\" class=\"clMsg\">Sie haben eBay Express verlassen.</td><td align=\"left\" nowrap=\"nowrap\"><a href=\"http://www.express.##1##/\">Zur\xfcck zu eBay Express</a><span class=\"clSep\">|</span><img src=\"http://pics.ebaystatic.com/aw/pics/express/icons/iconCart_15x10.gif\" height=\"10\" width=\"15\" align=\"bottom\" alt=\"\"><a href=\"http://cart.express.##1##/ws/eBayISAPI.dll?ExpressCart&amp;action.view=&amp;from=Header\">Warenkorb##2##</a></td><td width=\"135\" nowrap=\"nowrap\" class=\"clLogo\"><img src=\"http://pics.ebaystatic.com/aw/pics/ch/express/logos/logoExpress_95x39.gif\" height=\"39\" width=\"95\" align=\"top\" alt=\"\"></td><td nowrap=\"nowrap\" width=\"26\" align=\"left\"><a href=\"#1\" id=\"b_close\"><img src=\"http://pics.ebaystatic.com/aw/pics/buttons/btnExpressClose.gif\" height=\"16\" width=\"16\" align=\"middle\" border=\"0\" alt=\"\"></a></td></tr></table>";
}
var VjActiveX={};
VjActiveX.init=function(){
var oC=VjClient.getBrowserObj();
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>");
}
};
VjActiveX.isLibLoaded=function(_e2a){
var oC=VjClient.getBrowserObj();
return oC.bIE&&!oC.bMac&&vbCheckActiveXControl(_e2a);
};
VjActiveX.init();
var VjEbayToolbarDetect={};
VjEbayToolbarDetect.isEnabled=function(){
var V1="eBayToolbar.Helper",V2="eBayToolbarCommLib.IWebEvent.1";
with(this){
var oC=VjClient.getBrowserObj(),oAx=VjActiveX;
return (!(oC.bMac||oC.bMacppc)||!oC.bIE)&&(oAx.isLibLoaded(V1)||oAx.isLibLoaded(V2));
}
};
VjUtils={};
VjUtils.isString=function(wh){
return (typeof wh=="string");
};
VjUtils.hitch=function(_e2f,_e30){
var fcn;
if(VjUtils.isString(_e30)){
fcn=_e2f[_e30];
}else{
fcn=_e30;
}
return function(){
return fcn.apply(_e2f,arguments);
};
};
VjUtils.extend=function(_e32,_e33){
function inheritance(){
}
inheritance.prototype=_e33.prototype;
_e32.prototype=new inheritance();
_e32.prototype.constructor=_e32;
_e32.baseConstructor=_e33;
_e32.superClass=_e33.prototype;
};
function BuyerTransactionAlert(pId,_e35,_e36,_e37,_e38,_e39,_e3a,_e3b,_e3c,_e3d,_e3e){
this.sId=pId;
this.iPollingInterval=_e35;
this.iMaxHits=_e36;
this.iHitTimeout=_e37;
this.iServerHits=0;
this.sLastCookieletValue="";
this.sServerUrl=_e38;
this.sImgServer=_e39+"/";
this.sViewItemUrl=_e3a;
this.aAlertInfo=[["h:h:alt:2",_e3c,"icon/iconOutbid_16x16.gif"],["h:h:alt:3",_e3b,"icon/iconWatchB_16x16.gif"],["h:h:alt:4",_e3c,"icon/iconOutbid_16x16.gif"],["h:h:alt:5",_e3d,"icon/iconchanceBlu_16x16.gif"],["h:h:alt:tcr",_e3e,"icon/iconMailBlue_16x16.gif"]];
var c,oC=VjClient.getBrowserObj();
if((oC.bNav&&oC.iVer<7)||(oC.bOpera&&(oC.iVer+oC.fMinorVer)<0.5)||(oC.bIE&&oC.iVer<5)){
return;
}
c=VjCookieJar.readCookie("ebaysignin");
if(!c||!c.is("in")){
return;
}
c=VjCookieJar.readCookie("dp1","a1p");
if(c&&c.length>0&&parseInt(c)>0){
return;
}
if(VjEbayToolbarDetect.isEnabled()){
return;
}
}
BuyerTransactionAlert.prototype.setValue=function(pVal,_e41){
var oL=this.oL;
if(oL){
if(pVal.is("")&&!oL.ctrld){
return;
}
if(_e41){
if(VjClient.getBrowserObj().bFirefox){
oL.textContent=pVal;
}else{
oL.innerText=pVal;
}
}else{
oL.innerHTML=pVal;
}
oL.ctrld=1;
}
};
BuyerTransactionAlert.prototype.onRefresh=function(){
if(!this.oL){
this.oL=getElementById(this.sId);
}
if(!this.oL){
return;
}
var c=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(VjUtils.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 _e4a=cfg[at-1],imgSrv=this.sImgServer;
var _e4b=imgSrv+"s.gif";
var _e4c="<img src=\""+_e4b+"\" width=\"10\" height=\"16\" style=\"vertical-align:middle\">|<img src=\""+_e4b+"\" width=\"10\" height=\"16\" style=\"vertical-align:middle\">";
_e4c+="<img src=\""+imgSrv+_e4a[2]+"?t\" style=\"vertical-align:middle\"><img src=\""+_e4b+"\" width=\"5\" height=\"16\" style=\"vertical-align:middle\">";
var url=this.sViewItemUrl+"&item="+ii;
_e4c+="<a href=\""+url+"&ssPageName="+_e4a[0]+"\">"+_e4a[1]+"</a>";
this.setValue(_e4c);
this.sLastCookieletValue=c;
}
this.fireRefreshEvent();
};
BuyerTransactionAlert.prototype.fireRefreshEvent=function(_e4e){
if(!_e4e){
_e4e=this.iPollingInterval;
}
window.setTimeout(VjUtils.hitch(this,this.onRefresh),_e4e*1000);
};
BuyerTransactionAlert.prototype.onCookieExpire=function(){
var _e4f=VjCookieJar.readCookie("ebaysignin");
if(!_e4f.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("");
VjCookieJar.writeCookielet("ebay","a2p","1111111101111111111.");
}
};
function toggleVisibility(_e51,show){
var elem=getElementById(_e51);
if(elem===null){
return;
}
var vis=elem.style.visibility;
if(show===undefined){
elem.style.visibility=(vis==="")?"hidden":"";
}else{
elem.style.visibility=(show)?"":"hidden";
}
}
eventDispatcher.attachHandlerToElement("body","onload",new FooterTrk());
oRegistry.put("BuyMenu",new DynamicMenu("Buy","Buy-menu","dynMenuCtr",75,250,900,800,1,1,1,5,1,0,"get_Buy_menu","items","","","","",""));
oRegistry.put("SellMenu",new DynamicMenu("Sell","Sell-menu","dynMenuCtr",75,250,900,800,1,1,1,1,1,0,"get_Sell_menu","items","","","","",""));
oRegistry.put("MyEbayMenu",new DynamicMenu("MyEbay","MyEbay-menu","dynMenuCtr",75,250,900,800,1,1,1,1,1,0,"get_MyEbay_menu","items","","","","",""));
oRegistry.put("CommunityMenu",new DynamicMenu("Community","Community-menu","dynMenuCtr",75,250,900,800,1,1,1,1,1,0,"get_Community_menu","items","","","","",""));
oRegistry.put("HelpMenu",new DynamicMenu("Help","Help-menu","dynMenuCtr",75,250,900,800,1,1,1,1,1,0,"get_Help_menu","items","","","","",""));
eventDispatcher.attachHandlerToElement("body","onload",new NavMenuBind());
oRegistry.put("BrowseCategoriesMenu",new DynamicMenu("BrowseCategories","BrowseCategories-menu","dynMenuCtr",75,250,900,800,3,3,3,-10,7,0,"getBrowseCategoriesData","items","100%","","","",".ebay.com"));
eventDispatcher.attachHandlerToElement("body","onload",new SecNavMenuBind());
oRegistry.put("category0",new DynamicDropdown("category0","getBrowseCategoriesData","items",1));
eventDispatcher.attachHandlerToElement("body","onload",new HeaderTrk());

// de_CH/e515i/GlobalNav_Ebay_e515i4752523_1_de_CH
// b=4752523