
vjo.ctype("vjo.darwin.core.encoding.Enc").needs("vjo.dsf.Enc","").inits(function(){if(vjo.darwin.core.encoding.Enc.loaded){return;}
vjo.darwin.core.encoding.Enc.loaded=true;var vjoDecodeURI=window.decodeURI;window.decodeURI=function(str){try{return vjoDecodeURI(str);}catch(e){return unescape(str);}};var vjoDecodeURIComponent=window.decodeURIComponent;window.decodeURIComponent=function(str){try{return vjoDecodeURIComponent(str);}catch(e){return unescape(str);}};}).endType();

vjo.ctype("vjo.darwin.core.dynamicmenu.Show").needs("vjo.dsf.utils.JsLoader").satisfies("vjo.dsf.common.IJsHandler").protos({constructs:function(_1){this.id=_1;},handle:function(_2){var _3=vjo.Registry.get(this.id),url=_3.getHandlerSource(),handler=_3.getHandler();if(url!==null&&typeof(window[handler])=="undefined"){this.vj$.JsLoader.load(url,_3.setup,_3);}else{_3.setup();}}}).endType();

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

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

vjo.ctype("vjo.darwin.core.dynamicmenu.DynamicMenu").needs(["vjo.dsf.document.Element","vjo.dsf.document.Positioning","vjo.dsf.document.Shim","vjo.dsf.utils.Object","vjo.dsf.client.Browser","vjo.darwin.core.dynamicmenu.Show","vjo.darwin.core.dynamicmenu.Hide","vjo.darwin.core.dynamicmenu.Stay"]).protos({constructs:function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b,_c,_d,_e,_f,_10,_11,_12,_13,_14){this.iMouseOutTimer=null;this.iMouseOverTimer=null;this.iLeftPadding=_b;this.iTopPadding=_c;this.iRightPadding=_d;this.sAnchorId=_1;this.sContainerLayerId=_2;this.sContentLayerId=_3;this.iMouseOutDelay=_4;this.iMouseOverDelay=_5;this.iHighResDocWidth=_6;this.iLowResDocWidth=_7;this.iHighResColumns=_8;this.iMediumResColumns=_9;this.iLowResColumns=_a;this.sHandler=_e;this.sCollName=_f;this.sWidth=_10;this.sAnchorMouseOverClass=_11;this.sAnchorMouseOutClass=_12;this.iframeShim=null;this.sHTML=null;this.oAnchor=null;this.sTemplate=null;this.sAnchorText=_13;this.sDomain=_14;this.sHandlerSource=null;if(this.sAnchorId=="Help"){this.iLeftPadding-=5;}
if(window.location.href.hasAny(".it.",".ebay.it")&&this.sAnchorId=="BrowseCategories"){this.sHandler="get_BrowseCategories_menu";}
this.oCobrand=null;},setHandlerSource:function(url){if(url){this.sHandlerSource=url;}},getHandlerSource:function(){return this.sHandlerSource;},getHandler:function(){return this.sHandler;},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;var _19=0;var _1a=false;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;if(oA.parentNode&&oA.parentNode.id&&oA.parentNode.id.has("item")){oA=oA.parentNode;}
iT=P.getOffsetTop(oA)+(oA.offsetHeight);iWW=P.getClientWidth();if(typeof(iWW)=="undefined"){iWW=800;}
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&&!lh.has("motors.")&&!lh.hasAny("shop.","local.","catalog.")){E.promoteToBody(sContainerLayerId);}
sHTML=getMenuHtml(noc);if(sHTML==null){return;}
oL.innerHTML=sHTML;}
iLW=oL.offsetWidth;var _1b=GetContainerDiv(),cw,bRA=false;if(sAnchorId=="Help"){bRA=true;}
if(_1b&&B.bIE&&!lh.hasAny("community","education")){cw=_1b.offsetWidth+P.getOffsetLeft(_1b);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.hasAll("pages.","ebaymotors")){}else{if(lh.hasAny("/buy/")){iAL=P.getOffsetLeft(oA);}else{if(lh.hasAny("pages.",".html",".shtml","cgi.","tools.ebay.de","neighborhoods.","themenwelten.","neighbourhoods.","motors.ebay.co.uk","motors.uk.","ebaymotors.at","motors.at.","motors.ebay.de","motors.de.")){iAL=P.getOffsetLeft(oA);}else{if(lh.hasAny("annonces.")&&!(B.bIE&&B.iVer==6)){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);}else{if(typeof(pageName)!="undefined"&&pageName=="HomePagePortal"){iAL=P.getOffsetLeft(oA);}}}}}}}}}}}
var _1d=E.get("2tabPopularProducts");if(_1d&&B.bIE){iAL=P.getOffsetLeft(oA);}
var _1e=false;if(lh.hasAny(".fr.","ebay.fr")&&sAnchorId=="Community"){_1e=true;}
if(!_1e&&((((iWW-iAL-iLW)<=10)&&iWW>iLW)||(iWW<(P.getOffsetLeft(oA)+iAW+iLW))||bRA||bE)){_19=iAW-iLW;iL=iAL+iAW-iLW;}else{iL=iAL;}
if(_1e){iL-=5;}
if(sAnchorId=="Buy"||sAnchorId=="BrowseCategories"){_1a=true;}
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;}else{if(!lh.has("motors.shop.")&&B.bIE){if(lh.has("shop.")){if(sAnchorId=="BrowseCategories"){iL+=5;}}else{if(lh.hasAny("catalog.")){iL+=15;iT-=2;}}}else{if(lh.has("hub.motors.")&&B.bIE&&B.iVer>6){iL-=8;}}}}}}}}
if(bF){oL.style.left=(iL>=0)?(iL-1)+"px":"14px";oL.style.top=(iT)+"px";if((typeof(this.vj$.DynamicMenu.bUnified)!="undefined"&&this.vj$.DynamicMenu.bUnified)||lh.has("deals.")||lh.has("stores.")||lh.has("contact")||lh.has("catalog.")||(lh.has("resolutioncenter.")&&B.bIE&&B.iVer>6)){oL.style.position="absolute";var p1=P.getOffsetLeft(document.getElementById(sAnchorId));oL.style.left=(p1+_19+this.iLeftPadding)+"px";E.promoteToBody(oL.id);}
oL.style.zIndex="1000";if(lh.has("motors")||sAnchorId=="BrowseCategories"&&!lh.has("myworld")){iframeShim=this.add(oL,12);}else{iframeShim=this.add(oL);}}else{if(B.bIE){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(vj$.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){vj$.Shim.remove(E.get(sContainerLayerId),iframeShim);}}},clear:function(){clearTimeout(this.iMouseOutTimer);},sortByValue:function(_23,_24){if(_23.value.has("Everything")){return 1;}else{if(_24.value.has("Everything")){return-1;}else{return _23.value<_24.value?-1:(_23.value>_24.value?1:0);}}},getMenuHtml:function(_25){with(this){var i,j,c,n,h,ipc,html,sTemp=".paradise.qa.ebay.com",sTemp2=".qa.ebay.com",u,ff,ll,sTemp3=".no-pool-name.qa.ebay.com";var E=vj$.Element;var lh=window.location.href;var _29=window[sHandler];if(!_29){return;}
var _2a=_29(),items=_2a[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/_25);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<_25;j++){h+="<td nowrap>";n=i+(j)*ipc;c=items[n];if(c){if(typeof(c.url)!="undefined"){u=c.url;if(sDomain){if(c.url.indexOf(sTemp)!=-1){u=c.url.replace(sTemp,sDomain);}else{if(c.url.indexOf(sTemp3)!=-1){u=c.url.replace(sTemp3,sDomain);}else{if(c.url.indexOf(sTemp2)!=-1){u=c.url.replace(sTemp2,sDomain);}}}}
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);}
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;var _2e=false;if(e.offsetParent){l=e.offsetLeft;while(e=e.offsetParent){if(!_2e){_2e=e.innerHTML.has("snav");}
if(!e.id.toLowerCase().has("maincontent")&&!e.className.has("pagecontainer")){l+=e.offsetLeft;}
if(((e.className.is("pnav")||_2e)&&ex)&&e.offsetLeft!=0&&(!lh.hasAny("signin.","shop.","community","sitemap","/help/","/education/","blogs","feedback","my"))){return l;}else{if((e.className.is("pnav")||_2e)&&e.offsetLeft!=0&&oCl.bFirefox&&lh.has(".hk")&&(!lh.has("community")&&!bH)){return l;}else{if((e.className.is("pnav")||_2e)&&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(_30){var lh=window.location.href;if(!lh.has("sandbox.")){return _30;}
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;}
var lc=(_30.substring(_30.length)!="/")?"/":"";if(cf&&typeof(cf.cobrandURL)!=u){return cf.cobrandURL(_30+lc);}else{if(typeof(vjo.darwin.core.cobrand)!=u&&typeof(vjo.darwin.core.cobrand.EbaySandbox)!=u){return vjo.darwin.core.cobrand.EbaySandbox.cobrandURL(_30);}}
return _30;},add:function(_34,_35,_36){var f,p="px",w,h,s,S=vjo.dsf.document.Shim;if(vjo.dsf.client.Browser.bIE){w=_34.offsetWidth;h=_34.offsetHeight;w+=_35?_35:0;h+=_36?_36: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";}
_34.appendChild(f);return f;}},replaceJSONDataHandler:function(_38,_39){if(_38!=null){this.sHandler=_38;}
if(_39!=null){this.sDomain=_39;}}}).props({setUnifiedPosition:function(){this.bUnified=true;}}).endType();

vjo.ctype("vjo.darwin.core.ebayheader.playground.Playground").needs(["vjo.dsf.typeextensions.string.Comparison","vjo.dsf.cookie.VjCookieJar","vjo.dsf.document.Element"]).protos({constructs:function(_1,_2){this.sLayerId=_1;this.sHandle=_2;},show:function(){var _3=vjo.dsf.cookie.VjCookieJar,sbf=_3.readCookie("ebay","sbf"),pcon=_3.getBitFlag(sbf,24),l,h,lid=this.sLayerId,E=this.vj$.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);}}}).endType();

vjo.ctype("vjo.darwin.core.ebayheader.timezone.TimeZone").needs("vjo.dsf.cookie.VjCookieJar").props({init:function(){this.vj$.VjCookieJar.writeCookielet("dp1","tzo",new Date().getTimezoneOffset().dec2Hex());}}).inits(function(){vjo.darwin.core.ebayheader.timezone.TimeZone.init();}).endType();

function get_Sell_menu(){return{"items":[{"value":"<a href=\"http://annonces.ebay.fr/sell\">Vendre</a>"},{"value":"<a href=\"http://pages.ebay.fr/education/commencer-a-vendre.html\">Comment vendre?</a>"},{"value":"<a href=\"http://pages.ebay.fr/livraison/index.html\">Livraison</a>"},{"value":"<a href=\"http://pages.ebay.fr/outils-vendeurs/index.html\">Outils de vente</a>"},{"value":"<a href=\"http://pages.ebay.fr/professionnels/index.html\">Espace Professionnels</a>"}]};}
function get_MyEbay_menu(){return{"items":[{"value":"<a href=\"http://my.ebay.fr/ws/eBayISAPI.dll?MyEbay&amp;gbh=1&amp;CurrentPage=MyeBaySummary&amp;ssPageName=STRK:ME:LNLK\">R\xe9capitulatif</a>"},{"value":"<a href=\"http://my.ebay.fr/ws/eBayISAPI.dll?MyEbay&amp;gbh=1&amp;CurrentPage=MyeBayWatching\">Affaires \xe0 suivre</a>"},{"value":"<a href=\"http://my.ebay.fr/ws/eBayISAPI.dll?MyEbay&amp;gbh=1&amp;CurrentPage=MyeBayBidding\">Ench\xe8res en cours</a>"},{"value":"<a href=\"http://my.ebay.fr/ws/eBayISAPI.dll?MyEbay&amp;gbh=1&amp;CurrentPage=MyeBayWon\">Objets achet\xe9s</a>"},{"value":"<a href=\"http://my.ebay.fr/ws/eBayISAPI.dll?MyEbay&amp;gbh=1&amp;CurrentPage=MyeBayAllSelling&amp;ssPageName=STRK:ME:LNLK\">Mes ventes</a>"},{"value":"<a href=\"http://my.ebay.fr/ws/eBayISAPI.dll?MyEbay&amp;gbh=1&amp;CurrentPage=MyeBayAllFavorites\">Recherches favorites</a>"},{"value":"<a href=\"http://my.ebay.fr/ws/eBayISAPI.dll?MyEbay&amp;gbh=1&amp;ssPageName=STRK:ME:LNLK&amp;CurrentPage=MyeBayMyMessages\">Messages</a>"}]};}
function get_Community_menu(){return{"items":[{"value":"<a href=\"http://pages.ebay.fr/communaute/\">Communaut\xe9</a>"},{"value":"<a href=\"http://actualites.ebay.fr/\">Actualit\xe9s eBay</a>"},{"value":"<a href=\"http://pages.ebay.fr/community/chat/index.html\">Forums de discussion</a>"},{"value":"<a href=\"http://myworld.ebay.fr/\">Mon Monde eBay</a>"},{"value":"<a href=\"http://blogs.ebay.fr/\">Blogs eBay</a>"}]};}
function get_Help_menu(){return{"items":[{"value":"<a href=\"http://pages.ebay.fr/help\">Aide d\u2019eBay</a>"},{"value":"<a href=\"http://annonces-aide.ebay.fr\">Petites Annonces</a>"},{"value":"<a href=\"http://pages.ebay.fr/sitemap.html\">Plan du site</a>"},{"value":"<a href=\"http://pages.ebay.fr/questions-reponses/index.html\">Questions et R\xe9ponses</a>"},{"value":"<a href=\"http://pages.ebay.fr/education/index.html\">eBay expliqu\xe9</a>"},{"value":"<a href=\"http://pages.ebay.fr/la-securite-sur-ebay/index.html\">Espace S\xe9curit\xe9</a>"},{"value":"<a href=\"http://pages.ebay.fr/help/sell/fees.html\">Frais eBay</a>"},{"value":"<a href=\"http://pages.ebay.fr/help/contact_us/_base/index.html\">Nous contacter</a>"}]};}

vjo.ctype("vjo.darwin.core.ebayheader.searchbar.SearchBar").needs(["vjo.dsf.client.Browser","vjo.dsf.typeextensions.string.Trim","vjo.dsf.document.Element","vjo.dsf.EventDispatcher","vjo.dsf.utils.Handlers","vjo.dsf.cookie.VjCookieJar","vjo.dsf.utils.Bit"]).protos({E:vjo.dsf.document.Element,D:vjo.dsf.EventDispatcher,H:vjo.dsf.utils.Handlers,constructs:function(_1){var i,j,t=this,m=_1,radio,option;t.radioIds=new Array("all_gh","auctions_gh","classifieds_gh");t.iNames=new Array("_nkw","_nkw","kw");t.cNames=new Array("fl1","_sacat","fl1");t.iBoxId=m.searchInputBoxId;t.cId=m.categoryId;t.aoes=m.classifiedsItems;t.showA=m.isShowAllEay;t.selA=m.isSelectAllEbay;t.cs=m.classifiedsItems;t.allA=m.allOfFranceAction;t.aucA=m.auctionAction;t.cA=m.classifiedsAction;t.isHome=m.isHome;t.selValue=m.selectedCategoryValue;t.so=m.searchOption;t.sib=t.E.get(t.iBoxId);t.cat=t.E.get(t.cId);t.formId=m.formId;t.selRadioFromServer=0;if(t.cat){t.aucs=new Array(t.cat.options.length);for(i=0;i<t.cat.options.length;i++){option=t.cat.options[i];t.aucs[i]=new Object();t.aucs[i].id=option.value;t.aucs[i].title=option.text;}
t.IeOptionDisabler(t.cId);}
if(t.radioIds){for(i=0;i<t.radioIds.length;i++){radio=t.E.get(t.radioIds[i]);if(radio){t.D.addEventListener(radio,"click",this.optionRadioEvt,this);}}}
if(t.so==="ALL"){t.selRadioFromServer=0;}else{if(t.so==="CLASSIFIEDS"){t.selRadioFromServer=2;}else{t.selRadioFromServer=1;}}
j=0;if(t.isHome=="true"){if(t.showA=="true"&&t.selA=="true"){j=1;}else{j=t.getSearchOptionFromCookie();}}
if(j===0){j=t.selRadioFromServer+1;}
if(t.radioIds&&j>=1&&j<=3){j=j-1;radio=t.E.get(t.radioIds[j]);if(radio){t.changeCategory(t.radioIds[j]);}else{t.resetCategory(1);}}},optionRadioEvt:function(_3){var t=this,target;if(_3.target){target=_3.target;}else{if(_3.srcElement){target=_3.srcElement;}}
if(target&&target.id){t.changeCategory(target.id);}},resetCategory:function(i){var j,v,act,t=this,radio,items,target,forms,ghForm,msg,selectedOption;msg=t.H.newMsg("activateAutoComplete");if(i==1){msg.activated=true;}else{msg.activated=false;}
t.H.handle(msg);if(t.cat){if(i===0){items=t.aoes;}else{if(i===1){items=t.aucs;}else{if(i===2){items=t.cs;}}}
while(t.cat.options.length>0){t.cat.remove(t.cat.options[0]);}
if(items){selectedOption=0;var _7=false;for(j=0;j<items.length;j++){var _8=new Option(items[j].title,items[j].id);if(items[j].title.indexOf("-------")!=-1){_8.disabled="disable";}
if(i===t.selRadioFromServer&&t.selValue==items[j].id&&!_7){selectedOption=j;_7=true;}
t.cat.options.add(_8);}
if(i===2||i===0){t.cat.options[selectedOption].selected=true;}}}
forms=document.forms;for(j=0;j<forms.length;j++){if(forms[j].name==t.formId){ghForm=forms[j];break;}}
if(ghForm){act="";if(t.sib){t.sib.name=t.iNames[i];}
if(t.cat){t.cat.name=t.cNames[i];}
if(i===0){act=t.allA;}else{if(i===1){act=t.aucA;}else{if(i===2){act=t.cA;}}}
ghForm.action=act;}
if(t.isHome=="true"){t.writeToCookie(i+1);}},changeCategory:function(id){var i,j,v,act,t=this,radio,items,target,forms,ghForm,msg;for(i=0;i<t.radioIds.length;i++){radio=t.E.get(t.radioIds[i]);if(radio){if(id==t.radioIds[i]){radio.checked=true;t.resetCategory(i);}else{radio.checked=false;}}}},getSearchOptionFromCookie:function(){var CJ,pbf,val,BIT;CJ=vjo.dsf.cookie.VjCookieJar;BIT=vjo.dsf.utils.Bit;pbf=CJ.readCookie("dp1","pbf");val=BIT.getMulti(pbf,45,2);return val;},writeToCookie:function(_c){var CJ,pbf,val,BIT,nVal;CJ=vjo.dsf.cookie.VjCookieJar;BIT=vjo.dsf.utils.Bit;pbf=CJ.readCookie("dp1","pbf");val=BIT.getMulti(pbf,45,2);nVal=_c;pbf=BIT.setMulti(pbf,45,2,nVal);CJ.writeCookielet("dp1","pbf",pbf);},IeOptionDisabler:function(_e){if(vjo.dsf.client.Browser.bIE){var sl=vjo.dsf.document.Element.get(_e);if(sl){var idx;sl.onchange=function(){idx=this.selectedIndex=(this.options[this.selectedIndex].disabled)?idx:this.selectedIndex;};sl.onfocus=function(){idx=this.selectedIndex;};}}}}).props({init:function(_11){new vjo.darwin.core.ebayheader.searchbar.SearchBar(_11);}}).endType();

vjo.ctype("vjo.darwin.core.ebayheader.dashbar.DashBar").props({addClz:function(id,_2){var e=document.getElementById(id);e.className=e.className+" "+_2;},removeClz:function(id,_5){var e=document.getElementById(id);e.className=e.className.replace(_5,"");}}).endType();

vjo.ctype("vjo.darwin.core.ebayheader.rtm.GlobalHeaderRtmDec").endType();if(typeof(_oGlobalNavRTMInfo)=="undefined"){_oGlobalNavRTMInfo={};_oGlobalNavRTMInfo.aRTMPlacementData=[];}

vjo.ctype("vjo.dsf.typeextensions.string.Decode").endType();String.prototype.decodeBase64=function(){var rv=this,len=rv.length,ret="",i=0;if(len===0){return ret;}
var _2,chr2,chr3="";var _3,enc2,enc3,enc4="";var _4="ABCDEFGHIJKLMNOPQRSTUVWXYZ"+"abcdefghijklmnopqrstuvwxyz"+"0123456789+/=*";var _5=new RegExp("[^A-Za-z0-9+/=*]");if(_5.exec(rv)){return;}
do{_3=_4.indexOf(rv.charAt(i++));enc2=_4.indexOf(rv.charAt(i++));enc3=_4.indexOf(rv.charAt(i++));enc4=_4.indexOf(rv.charAt(i++));_2=(_3<<2)|(enc2>>4);chr2=((enc2&15)<<4)|(enc3>>2);chr3=((enc3&3)<<6)|enc4;ret+=String.fromCharCode(_2);if(!(enc3>=64)){ret+=String.fromCharCode(chr2);}
if(!(enc4>=64)){ret+=String.fromCharCode(chr3);}
_2=chr2=chr3=_3=enc2=enc3=enc4="";}while(i<len);return ret;};String.prototype.decodeUTF8=function(){var s=this,len=s.length;var rs="";var i=0;var c=0,c1=0,c2=0;while(i<len){c=s.charCodeAt(i);if(c<128){rs+=String.fromCharCode(c);i++;}else{if((c>191)&&(c<224)){c2=s.charCodeAt(i+1);rs+=String.fromCharCode(((c&31)<<6)|(c2&63));i+=2;}else{c2=s.charCodeAt(i+1);c3=s.charCodeAt(i+2);rs+=String.fromCharCode(((c&15)<<12)|((c2&63)<<6)|(c3&63));i+=3;}}}
return rs;};

vjo.ctype("vjo.darwin.core.ebayheader.rtm.GlobalHeaderRtmCall").needs(["vjo.dsf.typeextensions.string.Decode","vjo.dsf.cookie.VjCookieJar","vjo.dsf.utils.Object"]).props({iTimer:null,submitRTMCall:function(_1){var un="undefined",lh=window.location.href;if(!lh.hasAny("catalog.")&&(lh.hasAny("offer.")||!(typeof(ebay)!=un&&typeof(ebay.oDocument)!=un&&ebay.oDocument._getControl("rtm")))&&!(typeof(vjo)!=un&&typeof(vjo.dsf)!=un&&typeof(vjo.dsf.ServiceEngine)!=un&&typeof(vjo.dsf.ServiceEngine.inProcHdl)!=un&&typeof(vjo.dsf.ServiceEngine.inProcHdl.svcHdls)!=un&&typeof(vjo.dsf.ServiceEngine.inProcHdl.svcHdls.RTM_CALLBACK_SERVICE)!=un)&&typeof(_oGlobalNavRTMInfo)!==un&&!(typeof(rtm)!=un)){if(_oGlobalNavRTMInfo.aRTMPlacementData.length>0){this.iTimer=window.setInterval(this.vj$.Object.hitch(this,"init"),1);}}else{if(_oGlobalNavRTMInfo.aRTMPlacementData.length>0){if(lh.hasAny("shop.","icatalog.","catalog.")&&!lh.hasAny("hub.")){this.init();}}}},getUid:function(){var _3=this.vj$.VjCookieJar.readCookie("dp1","u1p"),u1pDecoded;if(_3){u1pDecoded=_3.decodeBase64().decodeUTF8();}
return u1pDecoded;},getGuid:function(){return this.vj$.VjCookieJar.readCookie("ebay","sgj");},hasUid:function(_4){if(_4){return true;}
if(this.getUid().has("@@__@@__@@")){return false;}
return true;},init:function(){if(typeof(vjo.darwin.core.rtm)=="undefined"){return;}
if(this.iTimer!=null){window.clearInterval(this.iTimer);}
var _5=_oGlobalNavRTMInfo.aRTMPlacementData,data,widths=[],htmlIds=[],heights=[],pids=[],dblclkUrls=[],defaultUrls=[],url;for(i=0;i<_5.length;i++){data=_5[i];widths[i]=data.maxWidth;htmlIds[i]=data.htmlId;heights[i]=data.maxHeight;pids[i]=data.pid;dblclkUrls[i]="";defaultUrls[i]="";url=data.rtmUrl+"?RtmCmd&a=json"+(this.hasUid(data.userId)?("&l="+(data.userId?data.userId:this.getUid())):"")+"&g="+(data.gUid?data.gUid:this.getGuid())+"&ord="+data.ord+((data.oid)?"&i="+data.oid:"");}
url+="&p="+pids.join(":");_oGlobalNavRTMInfo.sRTMUrl=url;if(_5.length>0){var _6=new vjo.darwin.core.rtm.RTMInit({"url":url,"widths":widths,"htmlIds":htmlIds,"heights":heights,"pids":pids,"dblclkUrls":dblclkUrls,"defaultUrls":defaultUrls});_6.invoke({});}}}).endType();
(function () {
var _r = vjo.Registry;
_r.put('FooterTrackingCompSpecGenerator_0',new vjo.darwin.tracking.enabler.TrackingModuleEnabler("_trksid", "_trkparms", "m40;", ";")); })();
function FooterTrk(){ return {handle:function (event){ (function(){
var _d=vjo.dsf.EventDispatcher;
var _r=vjo.Registry;
_d.add('glbfooter','click',function(event) { this.handle(event); },_r._FooterTrackingCompSpecGenerator_0);})();  }};};
vjo.dsf.EventDispatcher.add('body','load', new FooterTrk());
(function () {
var _r = vjo.Registry;
function $o0(p0,p1,p10,p13){return new vjo.darwin.core.dynamicmenu.DynamicMenu(p0,p1,"dynMenuCtr",75,250,900,800,1,1,1,p10,0,0,p13,"items","","hovered","","","");};_r.put('SellMenu',$o0("Sell","Sell-menu",0,"get_Sell_menu")); _r.put('MyEbayMenu',$o0("MyEbay","MyEbay-menu",0,"get_MyEbay_menu")); _r.put('CommunityMenu',$o0("Community","Community-menu",5,"get_Community_menu")); _r.put('HelpMenu',$o0("Help","Help-menu",10,"get_Help_menu")); })();
function NavMenuBind(){ return {handle:function (event){ (function(){
var _d=vjo.dsf.EventDispatcher;
var _r=vjo.Registry;
_r.put('ClassifiedTopNavResourceSpec_1', new vjo.darwin.core.dynamicmenu.Hide("SellMenu")); _r.put('ClassifiedTopNavResourceSpec_2', new vjo.darwin.core.dynamicmenu.Stay("SellMenu")); _r.put('ClassifiedTopNavResourceSpec_3', new vjo.darwin.core.dynamicmenu.Show("SellMenu")); _r.put('ClassifiedTopNavResourceSpec_4', new vjo.darwin.core.dynamicmenu.Hide("SellMenu")); _r.put('ClassifiedTopNavResourceSpec_6', new vjo.darwin.core.dynamicmenu.Hide("MyEbayMenu")); _r.put('ClassifiedTopNavResourceSpec_7', new vjo.darwin.core.dynamicmenu.Stay("MyEbayMenu")); _r.put('ClassifiedTopNavResourceSpec_8', new vjo.darwin.core.dynamicmenu.Show("MyEbayMenu")); _r.put('ClassifiedTopNavResourceSpec_9', new vjo.darwin.core.dynamicmenu.Hide("MyEbayMenu")); _r.put('ClassifiedTopNavResourceSpec_11', new vjo.darwin.core.dynamicmenu.Hide("CommunityMenu")); _r.put('ClassifiedTopNavResourceSpec_12', new vjo.darwin.core.dynamicmenu.Stay("CommunityMenu")); _r.put('ClassifiedTopNavResourceSpec_13', new vjo.darwin.core.dynamicmenu.Show("CommunityMenu")); _r.put('ClassifiedTopNavResourceSpec_14', new vjo.darwin.core.dynamicmenu.Hide("CommunityMenu")); _r.put('ClassifiedTopNavResourceSpec_16', new vjo.darwin.core.dynamicmenu.Hide("HelpMenu")); _r.put('ClassifiedTopNavResourceSpec_17', new vjo.darwin.core.dynamicmenu.Stay("HelpMenu")); _r.put('ClassifiedTopNavResourceSpec_18', new vjo.darwin.core.dynamicmenu.Show("HelpMenu")); _r.put('ClassifiedTopNavResourceSpec_19', new vjo.darwin.core.dynamicmenu.Hide("HelpMenu")); _d.add('Sell-menu','mouseout',_r.get('ClassifiedTopNavResourceSpec_1'));_d.add('Sell-menu','mouseover',_r.get('ClassifiedTopNavResourceSpec_2'));_d.add('Sell','mouseover',_r.get('ClassifiedTopNavResourceSpec_3'));_d.add('Sell','mouseout',_r.get('ClassifiedTopNavResourceSpec_4'));_d.add('MyEbay-menu','mouseout',_r.get('ClassifiedTopNavResourceSpec_6'));_d.add('MyEbay-menu','mouseover',_r.get('ClassifiedTopNavResourceSpec_7'));_d.add('MyEbay','mouseover',_r.get('ClassifiedTopNavResourceSpec_8'));_d.add('MyEbay','mouseout',_r.get('ClassifiedTopNavResourceSpec_9'));_d.add('Community-menu','mouseout',_r.get('ClassifiedTopNavResourceSpec_11'));_d.add('Community-menu','mouseover',_r.get('ClassifiedTopNavResourceSpec_12'));
_d.add('Community','mouseover',_r.get('ClassifiedTopNavResourceSpec_13'));_d.add('Community','mouseout',_r.get('ClassifiedTopNavResourceSpec_14'));_d.add('Help-menu','mouseout',_r.get('ClassifiedTopNavResourceSpec_16'));_d.add('Help-menu','mouseover',_r.get('ClassifiedTopNavResourceSpec_17'));_d.add('Help','mouseover',_r.get('ClassifiedTopNavResourceSpec_18'));_d.add('Help','mouseout',_r.get('ClassifiedTopNavResourceSpec_19'));})();  }};};
vjo.dsf.EventDispatcher.add('body','load', new NavMenuBind());
(function () {
var _r = vjo.Registry;
function $o0(){return new vjo.darwin.tracking.enabler.TrackingModuleEnabler("_trksid","_trkparms","m38;",";");};_r.put('HeaderTrackingCompSpecGenerator_0',$o0()); _r.put('HeaderTrackingCompSpecGenerator_1',$o0()); })();
function HeaderTrk(){ return {handle:function (event){ (function(){
var _d=vjo.dsf.EventDispatcher;
var _r=vjo.Registry;
function $0(){return function(event){return this.handle(event);};};_d.add('BrowseCategories-menu','click',$0(),_r._HeaderTrackingCompSpecGenerator_0);_d.add('gnheader','click',$0(),_r._HeaderTrackingCompSpecGenerator_1);_d.add('body','click',function(event){ vjo.darwin.tracking.enabler.TrackingEnabler.copySIDToCookie(event, "_trksid", "_sp", "_trkparms");  });})();  }};};
vjo.dsf.EventDispatcher.add('body','load', new HeaderTrk());

function DashBar(){ return {handle:function (event){ (function(){
var _d=vjo.dsf.EventDispatcher;
var _r=vjo.Registry;
function $0(p0,p1){return function(event){return this.addClz(p0,p1);};};function $1(p0,p1){return function(event){return this.removeClz(p0,p1);};};_d.add('immoId','mouseover',$0("immoId","cDomain"),vjo.darwin.core.ebayheader.dashbar.DashBar);_d.add('immoId','mouseout',$1("immoId","cDomain"),vjo.darwin.core.ebayheader.dashbar.DashBar);_d.add('classicId','mouseover',$0("classicId","cDomain"),vjo.darwin.core.ebayheader.dashbar.DashBar);_d.add('classicId','mouseout',$1("classicId","cDomain"),vjo.darwin.core.ebayheader.dashbar.DashBar);_d.add('autoId','mouseover',$0("autoId","cDomain"),vjo.darwin.core.ebayheader.dashbar.DashBar);_d.add('autoId','mouseout',$1("autoId","cDomain"),vjo.darwin.core.ebayheader.dashbar.DashBar);_d.add('classifiedId','mouseover',$0("classifiedId","cDomain"),vjo.darwin.core.ebayheader.dashbar.DashBar);_d.add('classifiedId','mouseout',$1("classifiedId","cDomain"),vjo.darwin.core.ebayheader.dashbar.DashBar);_d.add('ebayFrId','mouseover',$0("ebayFrId","cDomainAccueil"),vjo.darwin.core.ebayheader.dashbar.DashBar);_d.add('ebayFrId','mouseout',$1("ebayFrId","cDomainAccueil"),vjo.darwin.core.ebayheader.dashbar.DashBar);
})();  }};};
vjo.dsf.EventDispatcher.add('body','load', new DashBar());

// fr_FR/e639cfi/GH-LIGER_Classified_e639cfi10349983_1_fr_FR
// b=10349983