
vjo.ctype("vjo.darwin.core.ebayheader.rover.FooterRover").needs("vjo.dsf.cookie.VjCookieJar").needs("vjo.dsf.assembly.VjClientAssemblerRequest").props({VA:vjo.dsf.assembly.VjClientAssembler,command:null,roverService:function(_1){if(document.location.protocol.has("https:")){return;}
this.command=_1;if(!_1){return;}
if(!this.isCookieValid()){return;}
vjo.dsf.EventDispatcher.addEventListener(window,"load",this.sendRequest,this);},sendRequest:function(){var _2=new vjo.dsf.assembly.VjClientAssemblerRequest(this.command,this.handleResponse,this,"cb",false);this.VA.load(_2);},isCookieValid:function(){var _3=vjo.dsf.cookie.VjCookieJar.readCookie("dp1","idm");if(!_3){return true;}else{return false;}},handleResponse:function(_4){if(_4&&_4.length>1){var _5=_4.length-1;for(var i=0;i<_5;i++){this.createImage(_4[i]);}
this.setCookieExpiration(_4[_5]);}},createImage:function(_7){if(_7&&_7.length>1){var _8=document.createElement("IMG");_8.width="1";_8.height="1";_8.src=_7;_8.alt="";document.body.appendChild(_8);}},setCookieExpiration:function(_9){if(typeof _9=="number"&&_9>0){vjo.dsf.cookie.VjCookieJar.writeCookielet("dp1","idm","1",_9/86400,"");}}}).endType();

vjo.ctype("vjo.ebay.ebox.vault.share.Share").protos({onShareClick:function(_1){var _2=800,height=800;return onShareClick(_1,height,_2);},onShareClick:function(_3,_4,_5){var _6=Math.round((screen.height-_4)/2);var _7=Math.round((screen.width-_5)/2);var _8=["location=no","menubar=no","status=no","resizable=yes","scrollbars=yes"];_8=_8.concat("top="+_6,"left="+_7,"width="+_5,"height="+_4);window.open(_3,"Share",_8.join(","));return false;}}).endType();

vjo.ctype("vjo.ebay.ebox.vault.share.Facebook").needs("vjo.dsf.Element","E").protos({constructs:function(_1){if(document.getElementById("fb-root")){window.fbAsyncInit=function(){FB.init({appId:"134887416561890",status:true,cookie:true,xfbml:true});};(function(){var e=document.createElement("script");e.type="text/javascript";e.src="http://connect.facebook.net/en_US/all.js";if(_1==="de_DE"){e.src="http://connect.facebook.net/de_DE/all.js";}else{if(_1==="en_GB"){e.src="http://connect.facebook.net/en_GB/all.js";}}
e.async=true;document.getElementById("fb-root").appendChild(e);}());}}}).endType();

// en_US/21/fashiondeals_Common_2114350305_3a_en_US
// b=14350305
