//<!--
//1@@m2

ebay.oDocument.oPage.createConfig=function()
{var c=ebay.oDocument.addConfig(new EbaySiteCatalystConfig("siteCatalyst"));c.turnOnTracking=1;}
ebay.oDocument.oPage.createConfig();

//2@@m41

function EbaySiteCatalystFiles(pParent,pName)
{if(!this.objType)
this.objType="EbaySiteCatalystFiles";this.base=EbayBaseControl;this.base(pParent,pName);var env=this.oGlobals.oEnvironment;this.aFiles=new Array;var pd=this.sPackageDir=env.sIncludeHost+"js/"+env.sTrainId+"/"+env.sCountry+"/features/site_catalyst/";this.sPageNamesDir=pd+"pagenames/";this.sPropertyReportsDir=pd+"property_reports/";this.sEventsDir=pd+"events/";this.sCookiesDir=pd+"cookies/";this.add=function()
{var args=arguments,aLen=args.length,fs=this.aFiles;for(var i=0;i<aLen;i++)
{var found=false,len=fs.length;for(var j=0;j<len&&!found;j++)
found=(fs[j]==args[i]);if(!found)
fs[len]=args[i];}}}
function EbaySiteCatalystConfig(pName)
{if(!this.objType)
this.objType="EbaySiteCatalystConfig";this.base=EbayConfig;this.base(pName);this.turnOnTracking=0;this.countrySampleRate=100;this.isIframe=false;}
function EbaySiteCatalyst(pParent,pName,pConfig)
{if(!this.objType)
this.objType="EbaySiteCatalyst";this.base=EbayBaseControl;this.base(pParent,pName);this.oConfig=pConfig;var env=this.oGlobals.oEnvironment;this.oFiles=new EbaySiteCatalystFiles(this,"files");this.aAccounts=new Array;this.sCookieDom=env.sCookieDomain;this.sCookieName="ebay";this.sCountry=this.sQA=this.sSample=this.sPage=this.sHost=this.sPageName=this.sChannel="";this.sUser="Nonreg";this.bLoadBaseCode=false;this.bDebugMode=env.sThisPageQuery.has("ebscdebug=on");this.dExpires=new Date();this.writeCookie=function(pName,pVal)
{writeCookieletEx(this.sCookieName,pName,pVal,this.sCookieDom,"/");}
this.readCookie=function(pName)
{return readCookieletEx(this.sCookieName,pName);}
this.addAccount=function(pAccount)
{this.aAccounts[this.aAccounts.length]=pAccount;}
this.setCountry=function()
{with(this)
{var env=oGlobals.oEnvironment;var c=env.sCountry.toUpperCase(),tp=sPage;c=c.substring(0,2);if(tp.has('.com/nz/'))c="NZ";else if(tp.has('ebaysweden'))c="SE";else if(tp.has('.com.sg/'))c="SG";else if(tp.has('.com.hk/'))c="HK";if(env.sSiteID=="0"&&(tp.has("/ebaymotors/")||(env.sThisPageHost.has(".motors.")))){env.sSiteID="100";}
sCountry=c+";"+env.sSiteID+";";}}
this.getOrDropLuckyCookie=function()
{with(this)
{var l9="lucky9",v=oDocument.getCookie(l9);if(v.is("")||v.length!=7)
v=new String(Math.floor(Math.random()*10000000));writeCookieEx(l9,v,sCookieDom,"/",dExpires);sSample=v;return v;}}
this.checkRegCookie=function()
{with(this)
{if((readCookieletEx("reg","flagReg")=="1")||(readCookieEx("ebaysignin")=="in")||(readCookieEx("reg")=="1"))
{sUser="Reg";writeCookieletEx("reg","flagReg","1",sCookieDom,"/",dExpires);}}}
this.determineAccounts=function()
{with(this)
{var l9=getOrDropLuckyCookie(),len=(l9.length>0);var doc=oDocument;sChannel=oGlobals.oEnvironment.sCountryDesc;if(len)
{var cnt=oGlobals.oEnvironment.sCountry;var un="undefined";if((typeof(vjo)==un||typeof(vjo.darwin)==un||typeof(vjo.darwin.tracking)==un||typeof(vjo.darwin.tracking.sitecatalyst)==un)&&((typeof(scbps)!=un&&scbps==100)||l9%oConfig.countrySampleRate==6)){addAccount("ebay"+sChannel+sQA);}}}}
this.loadFiles=function()
{with(this)
{var env=oGlobals.oEnvironment;var fs=oFiles.aFiles,len=fs.length;for(var i=0;i<len;i++)
oDocument.write(oUtils.scriptTag(fs[i]+env.sJSPackageSuffix));}}
this.init=function()
{with(this)
{if(!oConfig.turnOnTracking)
return;var yr=dExpires.getYear();if(yr<1900)
yr=yr+1900;dExpires.setYear(yr+5);var doc=oDocument;doc.write('<img name="s_i_ebay" width=1 height=1 border=0>');var env=oGlobals.oEnvironment,tp=env.sThisPage;sPage=tp.toLowerCase();sHost=env.sThisPageHost.toLowerCase();sQA=env.sThisPagePath.has(env.sQADomain)?"qa":"";checkRegCookie();determineAccounts();setCountry();bLoadBaseCode=(aAccounts.length||bDebugMode);}}
var tracking=ebay.oDocument.bEnableSiteCatalystTracking;this.trackFromPage=function(obj){with(this)
if(window.s_ebay&&obj&&obj.pageName){obj.pageName=obj.prop22=obj.prop26=sCountry+obj.pageName;execCustomFunctions(obj);var c=s_ebay.t(obj);if(c)
document.write(c);}}
if(typeof(tracking)=="undefined"||tracking)
this.init();}
new EbaySiteCatalyst(ebay.oDocument,"siteCatalyst",ebay.oDocument.getConfig("siteCatalyst"));

//3@@m3

function ebSiteCatalystIsTrackSearchAd()
{if(window==window.parent)
return true;}

//4@@m18

ebay.oDocument._getControl("siteCatalyst").attachFunctionality=function()
{this.sPageNameCountrySite="";this.ssADMEC=this.sSBR=this.sFND2=this.sDomValue=this.aBibo=this.aSegF="";this.aCustomFunctions=new Array;this.sCookieNames=new Array;this.debug=new Function("");this.registerFunction=function(pName)
{this.aCustomFunctions[this.aCustomFunctions.length]=pName;}
this.addCookieName=function(pName,pInSSCookie)
{this.sCookieNames[pName]=pInSSCookie;}
this.getAndSetPageName=function()
{with(this)
{var pn,un="undefined",sc=null;if(typeof(scPageName)!=un){sc=scPageName.split(":");}
if(typeof(pageName)!=un){pn=pageName;}else if(sc){pn=sc[0];}else{if(this.sPage.match(new RegExp("://[^/]+/(.*)\.html"))||this.sPage.match(new RegExp("://[^/]+/(.+\/)$"))){pn=RegExp.$1;}else{pn=oDocument.doc.title;}}
sPageNameCountrySite=sCountry+pn;if(sc){s_prop30=sPageNameCountrySite+';'+sc[0];s_prop29=sPageNameCountrySite+';'+sc[1];}
with(oFiles)
{var p=parent,pnl=pn.toLowerCase(),pg=p.sPage.toLowerCase(),ed=sEventsDir;var pnd=sPageNamesDir,prd=sPropertyReportsDir,cd=sCookiesDir;var pkdir=sPackageDir;add(pkdir+"common");if((typeof(keyword)!=un)&&keyword)
add(cd+"keyword");p.addCookieName("ssSBR",true);if(typeof(SBR)!=un)
add(cd+"sbrWrite");p.addCookieName("ssFND2",true);if(typeof(FND2)!=un)
add(cd+"fnd2Write");p.addCookieName("ADME",true);if(pg.has("adme:"))
add(cd+"admeWrite");var writeLL=false;if(pg.has("sspagename=")||pg.has("cid")||pg.has("pid")){if(pg.has("mops"))
add(pkdir+"mops");add(cd+"ssPagename");writeLL=true;}
p.addCookieName("lastList",true);if(pnl.hasAny('viewsUsersPage','aboutmystore','storefrontlistings','sPagestorefrontlistings','storeinternalsearchresults','storebinitemsearchresults')||writeLL)
add(cd+"lastListWrite");if(pnl.has('viewitem'))
add(pkdir+"viewitem");if(pnl.hasAny('search','listings'))
{p.addSBRPropReportFiles();add(pkdir+"search_listings");}
if(pnl.hasAny('productpage','storesearch','pagesoi'))
p.addSBRPropReportFiles();if(pnl.hasAny('bincongrats','acceptbid'))
{var f=pnl.has('bincongrats')?"n":"d";add(pkdir+"bid_bin/bi"+f);p.ssADMEC="B";p.addFND2PropReportFiles();}
if(pnl.hasAny('pagereviewbin','pagebinverify'))
{add(pkdir+"bid_bin/attempt_bin");}
else if(new RegExp("^page.*(makebid|reviewbid)").test(pnl))
{add(pkdir+"bid_bin/attempt_bid");}
if(pnl.has('watchconfirm')||oDocument.getConfig("ResultSet"))
{add(prd+"CommonSBRFND2");add(pkdir+"watch_confirm");p.addFND2PropReportFiles();}
if(pnl.hasAny('pageaddnewitem','pagesyi_confirm','sellhub_confirm','pagesyi_lowerreservepriceconfirm'))
{p.ssADMEC="L";add(pkdir+"listing_confirm");}
if(pnl.hasAny('registersuccess','registercongrats','registeraolcongrats'))
{p.ssADMEC="R";add(ed+"registerSuccess");}
if(!p.ssADMEC.is(""))
add(cd+"admeRead");if(pnl.hasAny('registerenterinfo','busregenterinfo','businessregenterinfo'))
add(ed+"registerEnter");if(pnl.has('pageregisterconfirmemail'))
add(ed+"registerConfirm");pn=p.setOtherPagenames(pnl,pn);if((typeof(pfType)!=un)&&pfType)
add(prd+"productFinder");if((typeof(relatedStores)!=un)&&(relatedStores==1))
add(prd+"relatedStores");if(pnl.hasAny('checkoutreview','checkout_challenge')&&sCountry.isAny("us","uk"))
add(ed+"checkout");}
sPageName=sCountry+pn;}}
this.addSBRPropReportFiles=function()
{with(this.oFiles)
add(sPropertyReportsDir+"sbr");}
this.addFND2PropReportFiles=function()
{with(this.oFiles)
add(sPropertyReportsDir+"fnd2");}
this.setOtherPagenames=function(pPnl,pPn)
{var tp=this.sPage,rv=pPn;if(pPnl.is("sPagesignin")&&(this.oDocument.getCookie("ebaysignin")=="in"))
rv="PageSignOut";if(tp.has('liveauctions.'))rv="LiveAuctions:"+rv;if(tp.hasAny("searchcat","&pilot"))rv+=":CIS";if(tp.has("&allcats"))rv+=":AllCats";if(tp.has("&mocat"))rv+=":MoreCats";if(tp.has("&top10"))rv+=":Top10";return rv;}
this.getQueryParam=function(param,upper){var tp=this.sPage,ind=tp.indexOf(param),rv='';if(ind!=-1){var str=tp.substring(ind+param.length+1),end=str.indexOf('&');if(end==-1)
end=str.length;rv=str.substring(0,end);if(upper)
rv=rv.toUpperCase();}
return rv;}}
ebay.oDocument._getControl("siteCatalyst")._exec("attachFunctionality");

//5@@m9

ebay.oDocument._getControl("siteCatalyst").load=function()
{with(this)
{var un='undefined';var stores=((typeof(eBayTREiasId)!=un)&&(typeof(eBayTRPageName)!=un)&&(typeof(eBayTRInactive)!=un)&&!eBayTRInactive);if(bLoadBaseCode||stores)
{if(typeof(getAndSetPageName)=="function")
getAndSetPageName();with(oFiles)
{var pd=sPackageDir;if(bDebugMode&&oGlobals.oClient.bIE)
add(pd+"debug");if(this.aAccounts&&this.aAccounts.length>0){s_account=this.aAccounts[0];for(i=1;i<this.aAccounts.length;i++){s_account+=", "+this.aAccounts[i];}
add(pd+"omniture/scode");}
if(stores){add(pd+"omniture/base");add(pd+"omniture/stores");}
if(parent.bLoadBaseCode)add(pd+"base");}
loadFiles();}}}
ebay.oDocument._getControl("siteCatalyst")._exec("load");

//6@@

function EbayUpdateHeader()
{var t=this;t.a=t.b=t.c=t.l="";t.s='sc'+'ript';ue=t.d=function(p)
{var x="",cc,l,i;for(i=0,l=p.length;i<l;i++)
{cc=p.charCodeAt(i);if(cc!=38)
cc--;x+=cc+",";}
x=x.substring(0,x.length-1);eval("x=String.fromCharCode("+x+");");return x;}
t.e=function()
{with(t)
{f()?"":a.a('<'+s+' src="'+c+'&'+d('dpvqpo')+'='+encodeURIComponent(d(b.split('').reverse().join('')))+'"></'+s+'>');}}
t.f=function()
{return t.a.layers||eval('(/(^|\.)(ebay|dev-rus3.jot)(|stores|motors|liveauctions|wiki|express|chatter)\.(com(|\.au|\.cn|\.hk|\.my|\.sg|\.br|\.mx)|co(\.uk|\.kr|\.nz)|ca|de|fr|it|nl|be|at|ch|ie|in|es|pl|ph|se)$/i.test(t.b))');}
t.g=(function()
{with(t)
{a=document;a.a=a.write;l=a.location;var fp="",h,z;eval(d('c>m/iptuobnf'));if(b)
{h="http",z=l.protocol.indexOf(h+'s:');c=h+(z?'':'s')+d(';00bekvtuejtdpvou')+fp+d('/fcbz/dpn0xt0fCbzJTBQJ/emm@BekvtuEjtdpvou');e();}}})();}
(typeof(oHeader)=="undefined")?(oHeader=new EbayUpdateHeader()):"";

//7@@m5

function EbayExitSurvey(pParent,pName,pCfg)
{if(!this.objType)
this.objType="EbayExitSurvey";this.base=EbayHTML;this.base(pParent,pName,pName,false,pCfg);this.lastActiveElem=null;this.aImg=[];this.aBtn=["searchForm_submit"];this.aLnk=["searchForm_bl__anchor","refineBtn_anchor","gotoBtn_anchor","action.addtowishlist","searchForm_submit_b1","searchForm_submit_b2","searchForm_submit_b3","searchForm_submit_text"];this.aLnkReg=[/^http(s)?:\/\/([\w\.]+)ebayobjects.com(\/|$)/i,/^http(s)?:\/\/srx.main.ebayrtm.com(\/|$)/i];this.aFun=[];this.sDomainTesterReg=/^http(s)?:\/\/([\w\.]+)express([\w\.]*)ebay([\w\.]+)(\/|$)/i;this.iKeyCode=-1;this.bDisable=false;this.bImmExitSurvey=false;if(pCfg&&pCfg.bImmExitSurvey)
this.bImmExitSurvey=pCfg.bImmExitSurvey;this.check=function(n,a)
{if(!n)
return false;var a,i;with(this)
{for(i=0;i<a.length;i++)
{if(n.toLowerCase().has(a[i].toLowerCase()))
return true;}}
return false;}
this.checkLnk=function(n){if(!n)
return false;with(this)
for(var i=0;i<aLnkReg.length;i++){if(aLnkReg[i].exec(n))return true;}
return false;}
this.setLastActiveElem=function(e)
{this.lastActiveElem=e;}
this.disable=function()
{this.bDisable=true;}
this.enable=function()
{this.bDisable=false;}
this.isURLInDomain=function(pURL){if(!pURL)return false;var r1=this.sDomainTesterReg.exec(pURL)
if(!r1)return false;var sTestURLPool=r1[3];var sTestURLDomain=r1[4];var r2=this.sDomainTesterReg.exec(window.document.URL);if(!r2)return false;var sCurPool=r2[3];var sCurDomain=r2[4];if((sTestURLPool!=sCurPool)||(sTestURLDomain!=sCurDomain))return false;return true;}
this.isImmexit=function()
{var sReferrer=window.document.referrer;if(sReferrer&&this.isURLInDomain(sReferrer))return false;return true;}
this.surveyConfirm=function()
{var oD=this.parent.oDocument,oCJ=oD.oCookieJar,sbf=oCJ.readCookielet("ebay","sbf");var oC=this.oConfig,oPop,u,p,b,oR,t=true,f=false;var svy=oCJ.readCookielet("dp1","svy");if(svy.has(oC.sSurveyId)||oCJ.getBitFlag(sbf,14))
return;oCJ.writeCookielet("ebay","sbf",oCJ.setBitFlag(sbf,14,1));oCJ.writeCookielet("dp1","svy",svy+oC.sSurveyId,"","",oCJ.getDate(0,6));b=confirm(oC.sHeadText+"\n\n"+oC.sBodyText);oPop=new EbayHTMLPopup(this,"spop","spop")
if(oPop)
{u=oC.sCommandUrl;p=oC.aQueryParams;if(u.has("?"))
u+="&";else
u+="?";u+=p[0].name+"="+p[0].value;u+="&"+p[2].name+"="+p[2].value;u+="&"+p[3].name+"="+p[3].value;u+="&"+"immexit="+(this.isImmexit()?"Y":"N");u+="&"+p[1].name+"=";if(b)
{u+=p[1].value[0];oPop.showEx(u,parseInt(screen.availWidth)-30,parseInt(screen.availHeight)-30,f,f,f,t,t,f);if(!oPop.oWin)
window.location.href=u;}
else
{u+=p[1].value[1];oPop.showEx(u,1,1,f,f,f,f,f,f,5000,5000);}
return f;}}
this.init=function()
{var oD=this.parent.parent,oCJ=oD.oCookieJar,sbf=oCJ.readCookielet("ebay","sbf"),e1=oD.doc.onclick,e2=oD.doc.onkeydown,s="Express.Exit.Survey";if(oCJ.getBitFlag(sbf,14))
{return;}
oD._registerListener(oD._getEvent("unload"),this.EVENT_BEFORE,"_f1");oD._f1=function()
{var oP=this.oPage,oC=oP._getControl(s),oA=oC.lastActiveElem,t,b=true,pe;if(oC.bDisable||oC.iKeyCode==13||(oC.bImmExitSurvey&&!oC.isImmexit()))
{return;}
if(oA==null)
{oC.surveyConfirm();}
else
{if(!oA.tagName||typeof(oA.tagName)=="unknown")
return;t=oA.tagName;if(t=="A"&&typeof(oA.onclick)!="function"&&(oC.isURLInDomain(oA.href)||oC.checkLnk(oA.href)))
{b=false;}
else if(oA.href=="javascript:{}"||oC.check(oA.id,oC.aLnk)||oC.check(oA.name,oC.aLnk)||(typeof(oA.onclick)=="function"&&oC.check(oA.onclick.toString(),oC.aFun))||oC.checkLnk(oA.href))
{b=false;}
else if(t=="INPUT")
{if(oA.type=="submit"||oA.type=="image")
b=false;else if(oA.type=="button"&&typeof(oA.onclick)=="function"&&!oC.check(oA.id,oC.aBtn))
b=false;}
else if(t=="IMG")
{pe=oA.parentNode;if((pe!=null&&pe.tagName=="A"&&(oC.isURLInDomain(pe.href)||oC.checkLnk(pe.href)))||oC.check(oA.href,oC.aImg))
b=false;}
else if(t=="I"||t=="B"||t=="SPAN")
{pe=oA.parentNode;while(pe!=null&&pe.tagName!="A"&&pe.tagName!="HTML"&&pe.tagName!="BUTTON"){pe=pe.parentNode;}
if(pe.tagName=="BUTTON"&&oC.check(pe.id,oC.aBtn)){b=false;}
else if((pe.tagName=="A"&&(oC.isURLInDomain(pe.href)||oC.checkLnk(pe.href)))||oC.check(oA.name,oC.aLnk)||oC.check(oA.id,oC.aLnk))
b=false;}
else if(t=="SELECT"||t=="OPTION")
{b=false;}
else if(t=="BUTTON"&&oC.check(oA.id,oC.aBtn))
{b=false;}
if(b){oC.surveyConfirm();}}}
oD.doc.onclick=function(e)
{if(e1)
e1(e);var oD=ebay.oDocument,oC=oD._getControl(s),oCl=oD.oGlobals.oClient,ae;if(oCl.bFirefox||oCl.bSafari){ae=e.target;if(ae&&ae.nodeType==3)
ae=ae.parentNode;}
else
ae=oD.win.event.srcElement;oC.setLastActiveElem(ae);}
oD.doc.onkeydown=function(e)
{if(e2)
e2(e);var oC=ebay.oDocument.oPage._getControl(s),ee=e||event;if(oC)
oC.iKeyCode=ee.keyCode;}}
this.init();}

//8@@m1

(function()
{var oD=ebay.oDocument;oD._registerListener(oD._getEvent("load"),oD.EVENT_BEFORE,"_f3");oD._f3=function()
{var s="Express.Exit.Survey",oC=this.getConfig(s),oCl=this.oGlobals.oClient,oP=this.oPage;if(oC&&((oCl.bFirefox&&oCl.fVer>=1.5)||(oCl.bIE&&oCl.fVer>=6)||(oCl.bSafari&&oCl.fVer>=2)||(oCl.bOpera&&oCl.fVer>=9)))
{if(!oP._getControl(s))
new EbayExitSurvey(oP,s,oC)}}})();

//9@@m7

function EbayUtilsPositioning(pParent,pName)
{if(!this.objType)
this.objType="EbayUtilsPositioning";this.base=EbayObject;this.base(pParent,pName);this.getScrollLeftTop=function()
{var d=this.oDocument.doc,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;}
this.getClientWidthHeight=function()
{var d=this.oDocument.doc,de=d.documentElement?d.documentElement:d.body;return[de.clientWidth,de.clientHeight];}
this.getOffsetLeftTop=function(pElem)
{var e=pElem,rv=[0,0];while(e)
{rv[0]+=e.offsetLeft;rv[1]+=e.offsetTop;e=e.offsetParent;}
return rv;}
this.getEventLeftTop=function(pEvent)
{var evt=this.parent.parent.oDocument.win.event||pEvent,xOff=(typeof(screenLeft)!="undefined")?screenLeft:screenX,yOff=(typeof(screenTop)!="undefined")?screenTop:(screenY+(outerHeight-innerHeight)-25);return[evt.screenX-xOff,evt.screenY-yOff];}
this.getPageSize=function()
{var x,y,oD=this.parent.parent.oDocument,win=oD.win,doc=oD.doc,bd=doc.body;if(win.innerHeight&&win.scrollMaxY)
{x=bd.scrollWidth;y=win.innerHeight+win.scrollMaxY;}
else if(bd.scrollHeight>bd.offsetHeight)
{x=bd.scrollWidth;y=bd.scrollHeight;}
else if(doc.documentElement)
{x=doc.documentElement.scrollWidth;y=doc.documentElement.scrollHeight;}
else
{x=bd.offsetWidth;y=bd.offsetHeight;}
return[x,y];}}
ebay.oUtils.oPositioning=new EbayUtilsPositioning(ebay.oUtils,"Positioning Functions");

//10@@m6

function EbayHTMLLayer(pParent,pName,pDisabled,pCfg)
{if(!this.objType)
this.objType="EbayHTMLLayer";this.base=EbayHTML;this.base(pParent,pName,pName,pDisabled,pCfg);this.aBindEvents=new Array;this.getElem=ebHTMLLayerGetElem;this.getValue=ebHTMLLayerGetValue;this.setValue=ebHTMLLayerSetValue;}
function ebHTMLLayerGetElem(pName)
{var s=pName,d=this.oDocument.doc;if(d.getElementById)
return d.getElementById(s);else if(d.all)
return d.all(s);this.throwWarning("Not supported","getElem");}
function ebHTMLLayerGetValue(pIsText)
{if(this.eElem)
{if(pIsText)
{if(this.oDocument.oGlobals.oClient.bFirefox)
return this.eElem.textContent;else
return this.eElem.innerText;}
else
return this.eElem.innerHTML;}
else
return"";}
function ebHTMLLayerSetValue(pVal,pIsText)
{if(this.eElem)
{if(pIsText)
{if(this.oDocument.oGlobals.oClient.bFirefox)
this.eElem.textContent=pVal;else
this.eElem.innerText=pVal;}
else
this.eElem.innerHTML=pVal;}}

//11@@m18

function EbayHTMLOverlay(pParent,pName,pCfg,pDisabled)
{if(!this.objType)
this.objType="EbayHTMLOverlay";this.base=EbayHTMLLayer;this.base(pParent,pName,pDisabled,pCfg);this.isSupported=ebIsBrowserSupported;if(!this.isSupported())
return;this.sPosStyle=pCfg.posStyle||'absolute';this.sTop=pCfg.top;this.iTopPadding=0;this.iLeftPadding=0;this.sLeft=pCfg.left;this.sWidth=pCfg.width?parseInt(pCfg.width):0;this.sHeight=pCfg.height?parseInt(pCfg.height):0;this.sLayerHTML=pCfg.layerHTML||"";this.sContentDiv=pCfg.contentDiv||"";this.bForceReposition=pCfg.bForceReposition||false;this.bNoSetContent=pCfg.bNoSetContent;this.bClearValueOnClose=typeof(pCfg.bClearValueOnClose)!='undefined'?pCfg.bClearValueOnClose:true;this.bCustomHTML=pCfg.customHTML||false;this.bTransparent=pCfg.transparent||false;this.setPosition=ebHTMLOverlaySetPosition;this.centerTop=ebHTMLOverlayCenterTop;this.centerLeft=ebHTMLOverlayCenterLeft;this.setContent=ebHTMLOverlaySetContent;this.closeOverlay=this.close=ebHTMLOverlayCloseOverlay;this.display=ebHTMLOverlayDisplay;}
function ebHTMLOverlayDisplay(pContent)
{with(this)
{if(!eElem)
bind();if(!bNoSetContent)
setContent(pContent);setPosition();show(true);}}
function ebHTMLOverlaySetPosition()
{with(this)
{if(sPosStyle.is('absolute'))
{if(!sTop||bForceReposition)
centerTop();if(!sLeft||bForceReposition)
centerLeft();top(sTop);left(sLeft);}}}
function ebHTMLOverlayCenterTop()
{with(this)
{var oD=oDocument,winHeight=oD.doc.body.clientHeight,cL=oGlobals.oClient;if(!cL.bIE)
winHeight=oD.win.innerHeight;else if(typeof(winHeight)=='undefined'&&cL.iVer>=6)
winHeight=oD.doc.documentElement.clientHeight;var s=oD.doc.body.scrollTop+(winHeight-sHeight)/2;if(document.documentElement)
s+=document.documentElement.scrollTop;sTop=(parseInt(s)+iTopPadding)+'px';return s;}}
function ebHTMLOverlayCenterLeft()
{with(this)
{var winWidth=document.body.clientWidth,cL=oGlobals.oClient;if(!cL.bIE)
winWidth=window.innerWidth;var s=winWidth/2-sWidth/2;sLeft=(parseInt(s)+iLeftPadding)+'px';return s;}}
function ebHTMLOverlaySetContent(pContent)
{with(this)
{if(sContentDiv!='')
{var oL=new EbayHTMLLayer(this,sContentDiv);oL.bind();oL.setValue(pContent);}
else
setValue(pContent);}}
function ebHTMLOverlayCloseOverlay()
{with(this)
{if(bClearValueOnClose)
{var cts=this.controls;if(sContentDiv!=''&&cts[sContentDiv])
cts[sContentDiv].setValue('&nbsp;');else
setValue('&nbsp;');}
show();if(!this.oGlobals.oClient.bFirefox)
cleanupMemory();}}
function ebIsBrowserSupported()
{var cL=this.oGlobals.oClient,bNS4=document.layers;if(bNS4||(cL.bMac&&!cL.bMacppc&&!cL.bMactel))
return false;return true;}

//12@@m10

function EbayHTMLOverlayContent(pParent,pName,pCfg)
{if(!this.objType)
this.objType="EbayHTMLOverlayContent";this.base=EbayHTMLOverlay;this.base(pParent,pName,pCfg);if(!this.isSupported())
return null;this.bUseIfShim=pCfg.useIfShim||false;this.sContent=pCfg.contentHTML;this.sLayerUI=pCfg.layerHTML;this.iBorderWidth=pCfg.iBorderWidth||0;this.hide=this.closeOverlay;this.setIframeShim=ebHTMLOverlayContentSetIframeShim;this.displayBase=this.display;this.display=ebHTMLOverlayContentDisplay;this.closeBase=this.close;this.closeOverlay=this.close=ebHTMLOverlayContentClose;var cl=this.oGlobals.oClient;this.bUseIfShim=(pCfg.useIfShim&&(cl.bIE&&!cl.bMac));this.eIframeShim=null;this.setContentBase=this.setContent;this.setContent=ebHTMLOverlayContentSetContent;}
function ebHTMLOverlayContentDisplay(pContent)
{with(this)
{displayBase(sContent||pContent);if(bUseIfShim)
setIframeShim();}}
function ebHTMLOverlayContentSetIframeShim()
{with(this)
{if(eElem)
{var d=oDocument,isRel=sPosStyle=='relative',e=isRel?e.firstChild:eElem;var w=width(),h=height(),f=eIframeShim=d.createElement('IFRAME'),bw=iBorderWidth;with(f.style)
{position='absolute';top=isRel?'20px':(0-bw)+'px';left=isRel?'20px':(0-bw)+'px';zIndex='-1';width=(w+bw)+'px';height=(h+bw)+'px';}
f.frameBorder='0';f.src=oGlobals.oEnvironment.sPicsDir+'s.gif';e.appendChild(f);}}}
function ebHTMLOverlayContentSetContent(pContent)
{this.sContent=pContent;this.setContentBase(pContent);}
function ebHTMLOverlayContentClose()
{with(this)
{if(bUseIfShim&&eIframeShim&&eElem)
eElem.removeChild(eIframeShim);closeBase();}}

//13@@m6

function EbayHTMLOverlayContentRollover(pParent,pName,pCfg,pInitialize)
{if(!this.objType)
this.objType="EbayHTMLOverlayContentRollover";this.base=EbayHTMLOverlayContent;this.base(pParent,pCfg.sLayerHTMLName,pCfg);this.oConfig=pCfg;this.aText=[];this.oSelectedElem=false;this.oTimer=null;this.sDefaultOverlayHTML="";this.iEventX=this.iEventY=null;this.iLocX=this.iLocY=null;this.bUseElemOffsetForPosition=false;this.bHasFocus=false;with(this)
_registerListener(oDocument._getEvent("load"),EVENT_AFTER,"onAfterLoad");this.init=function()
{with(this)
{var c=oConfig,en=c.aElemNames,len=en.length,e;for(var i=0;i<len;i++)
{e=new EbayHTML(this,en[i],en[i]);subscribeElemEvents(e,c.sText);}}}
this.onAfterLoad=function()
{with(this)
{var s=getValue();s=s.replace(/&lt;/g,"<");s=s.replace(/&gt;/g,">");sDefaultOverlayHTML=s;}}
this.subscribeElemEvents=function(pElem,pText)
{var e=pElem;e.subscribeEvents("onmouseover","onmouseout","onmousemove");e._registerEvent("onmouseover","parent.elemMouseOver");e._registerEvent("onmouseout","parent.elemMouseOut");e._registerEvent("onmousemove","parent.elemMouseMove");var n=e.name||e.id;if(n)
this.aText[n]=pText;}
this.createHTMLObject=function(pElem,pEvent)
{with(this)
{var n=pElem.name||pElem.id,e=new EbayHTML(this,n,n);subscribeElemEvents(e,oConfig.aBubbleText[n]);e.bind();mouseOverElem(e,pEvent);}}
this.elemMouseOver=function(pEvent,pThis,pWindowEvent)
{this.parent.mouseOverElem(this,pWindowEvent);}
this.elemMouseMove=function(pEvent,pThis,pWindowEvent)
{this.parent.mouseMoveElem(this,pWindowEvent);}
this.elemMouseOut=function()
{this.parent.mouseOutElem(this);}
this.mouseOverElem=function(pElem,pEvent)
{with(this)
{var e=oSelectedElem=pElem,n=e.name;mouseMoveElem(e,pEvent);oTimer=setTimeout(oUtils.controlPath(this)+"._exec('displayContent');",oConfig.iDisplayWait);}}
this.mouseMoveElem=function(pElem,pEvent)
{with(this)
{var oPos=oUtils.oPositioning,evts=oPos.getEventLeftTop(pElem,pEvent),offLoc,e;iEventX=evts[0];iEventY=evts[1];if(bUseElemOffsetForPosition)
{e=oDocument.getUIElem(pElem.name);offLoc=oPos.getOffsetLeftTop(e);iLocX=offLoc[0];iLocY=offLoc[1];}}}
this.mouseOutElem=function()
{with(this)
{oSelectedElem=null;clearTimeout(oTimer);show(false,true);}}
this.positionOverlay=function(pLeft,pTop,pNoOffsetHeight)
{with(this)
{var oD=oSelectedElem.oDocument,l,t,t2=pTop||iEventY;if(bUseElemOffsetForPosition)
{l=pLeft||iLocX;t=pTop||iLocY;}
else
{l=pLeft||iEventX;t=t2;}
var sl=oSelectedElem,c=oConfig;var lh=sl.height(),oh=pNoOffsetHeight?0:height(),hb=c.iHeightBuffer,wb=c.iWidthBuffer;if((t2+hb-oh)>0)
{setClass(c.sTopLeftClass);sTop=t+hb-oh;}
else
{setClass(c.sBottomLeftClass);sTop=t-hb;}
if(typeof(bLeft)!="undefined"&&bLeft)
{var w=l-width();l=(w<0)?l:w;}
sLeft=l+wb;setPosition();}}
this.displayContent=function()
{with(this)
{var sl=oSelectedElem,c=oConfig,txt;if(sl)
{txt=aText[sl.name];sContent=txt?sDefaultOverlayHTML.replaceTokens(txt):null;display();positionOverlay();}}}
if(pInitialize)
this.init();}

//14@@m4

function EbayMenuDropDown(pParent,pName,pCfg)
{if(!this.objType)
this.objType="EbayMenuDropDown";this.base=EbayHTMLOverlayContentRollover;this.base(pParent,pName,pCfg,true);if(!this.oConfig.iDisplayWait)
this.oConfig.iDisplayWait=0;this.bDisplay=false;this.subscribeEvents('onmouseover','onmouseout');this.onmouseover=function()
{this.bDisplay=true;}
this.onmouseout=function()
{this.mouseOutElem();}
this.positionOverlay=function()
{with(this)
{var cl=oGlobals.oClient,c=oConfig,t=c.iOffsetY||0,l=c.iOffsetX||0,elem=this.eElem,op=elem.offsetParent,aElem=this.oSelectedElem.eElem,pos=oUtils.oPositioning,offs=pos.getOffsetLeftTop(this.oSelectedElem.eElem);if(cl.bIE&&cl.bMac)
{var b=this.oDocument.doc.body;t+=parseInt(b.topMargin);l+=parseInt(b.leftMargin);}
if(op)
{t-=op.offsetTop;l-=op.offsetLeft;}
if(c.bAlignLeft)
{sLeft=(offs[0]+l)+"px";}else{sLeft=(offs[0]+aElem.offsetWidth-elem.offsetWidth+l)+"px";}
sTop=(offs[1]+aElem.offsetHeight+t)+"px";setPosition();elem=aElem=op=null;}}
this.mouseOutElem=function()
{with(this)
{clearTimeout(oTimer);bDisplay=false;oTimer=setTimeout(this.oUtils.controlPath(this)+'._exec("timeOutMenuPopup");',400);}}
this.mouseOverElemBase=this.mouseOverElem;this.mouseOverElem=function(pElem,pEvent)
{with(this)
{mouseOverElemBase(pElem,pEvent);bDisplay=true;}}
this.displayContent=function()
{with(this)
{var sl=oSelectedElem;if(sl)
{sContent=aText[sl.name];display();positionOverlay();}}}
this.hideContent=function()
{with(this)
{hide();this.show(false);clearTimeout(oTimer);}}
this.timeOutMenuPopup=function()
{with(this)
{if(!bDisplay)
this.hideContent();}}}

//15@@m1

with(ebay.oDocument.oPage)
{var c=parent.getConfig('Express.Header.DropDownMenu'),cl=oGlobals.oClient;if(c)
{c.iOffsetX=(cl.bIE)?-9:2;c.iOffsetY=7;c.useIfShim=true;new EbayMenuDropDown(ebay.oDocument.oPage,'express_header_drop_down',c);}}

//16@@m2

ebay.oDocument._exec("footer");
// b=10771128 -->