//<!--
//1@@m5

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)
return this.eElem.innerText;else
return this.eElem.innerHTML;}
else
return"";}
function ebHTMLLayerSetValue(pVal,pIsText)
{if(this.eElem)
{if(pIsText)
this.eElem.innerText=pVal;else
this.eElem.innerHTML=pVal;}}

//2@@m11

function EbayRTM(pParent,pId,pDefUrl,pW,pH,pType)
{if(!this.objType)
this.objType="EbayRTM";this.base=EbayBaseControl;this.base(pParent,this.name);this.name="rtm_"+pId;this.config=new ebRTMConfig(pParent,pId,pDefUrl,pW,pH,pType);this.writeIFrame=ebWriteRTMFrame;}
function ebRTMConfig(pParent,pId,pDefUrl,pW,pH,pType)
{this.base=EbayConfig;this.base('rtm_'+pId);this.divname="rtm_div_"+pId;this.id=pId;this.defUrl=pDefUrl;this.defAdUrl="";this.w=(pDefUrl==null?1:pW);if(this.w<=1)
this.w="100%";this.h=(pDefUrl==null?1:pH);this.type=pType||0;this.collapsed=pDefUrl==null||pW<=1||pH<=1?true:false;this.setIFContent=ebSetIFRTMContent;this.getIFHTML=ebGetIFRTMHTML;}
function ebWriteRTMFrame()
{var cfg=this.config,f,d=this.oDocument,xsrc=this.oGlobals.oEnvironment.sPicsDir+'s.gif';f='<div id="'+cfg.divname+'"><img src="'+xsrc+'" height="'+cfg.h+'" width="'+cfg.w+'" border="0"></div>'
+'<img src="'+xsrc+'" height="1" width="1" border="0">';d.write(f);var l=new EbayHTMLLayer(ebay.oDocument.oPage,cfg.divname);l.bind();}
function ebGetIFRTMHTML(pUrl)
{with(this)
{var f='<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no"'
+' id="'+name+'"'+' name="'+name+'"'+' src="'+pUrl+'"'
+' width="'+w+'" height="'+h+'"></iframe>';return f;}}
function ebSetIFRTMContent(pUrl)
{var d=ebay.oDocument,ifUrl="",cType=0,oP=d.oPage;if(typeof(oP.controls[this.divname])!='undefined')
{var aUrlType=ebGetRTMUrlNType(pUrl);var ifUrl=aUrlType[0],cType=aUrlType[1];if(cType==0)
{oP.controls[this.divname].setValue(this.getIFHTML(ifUrl));}
else if(cType==1)
{this.type=cType;oP.controls[this.divname].setValue(ifUrl);}}}
function ebGetRTMUrlNType(pUrl)
{var retArray=new Array("",0);if(pUrl&&pUrl.indexOf('*t*')!=-1)
retArray=pUrl.split('*t*');else if(typeof(pUrl)!='undefined')
retArray[0]=pUrl;return retArray;}
function EbayRTMInfo(pParent,pId)
{if(!this.objType)
this.objType="EbayRTMInfo";this.name="rtminfo_"+pId;this.iId=pId;this.w=null;this.h=null;this.base=EbayBaseControl;this.base(pParent,this.name);this.isRtm=false;this.isDoubleClick=false;this.isDefaultPlacement=false;this.isContentPlaced=false;}

//3@@m1

String.prototype.decodeBase64=function()
{var rv=this,len=rv.length,ret="",i=0;var chr1,chr2,chr3="";var enc1,enc2,enc3,enc4="";var aChar="ABCDEFGHIJKLMNOPQRSTUVWXYZ"+"abcdefghijklmnopqrstuvwxyz"+"0123456789+/=*";var test=new RegExp("[^A-Za-z0-9+/=*]");if(test.exec(rv)){return;}
do{enc1=aChar.indexOf(rv.charAt(i++));enc2=aChar.indexOf(rv.charAt(i++));enc3=aChar.indexOf(rv.charAt(i++));enc4=aChar.indexOf(rv.charAt(i++));chr1=(enc1<<2)|(enc2>>4);chr2=((enc2&15)<<4)|(enc3>>2);chr3=((enc3&3)<<6)|enc4;ret+=String.fromCharCode(chr1);if(!(enc3>=64))
ret+=String.fromCharCode(chr2);if(!(enc4>=64))
ret+=String.fromCharCode(chr3);chr1=chr2=chr3=enc1=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=c1=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;}

//4@@m32

if(typeof(oAdManager)=="undefined")
var oAdManager=new EbayAdManager();function EbayRTMPlacement(pParent,pName)
{if(!this.objType)
this.objType="EbayRTMPlacement";this.base=EbayBaseControl;this.base(pParent,pName);this.rtms=new Array;this.rtminfos=new Array;this.bPlacementsLoaded=false;this.bOnAfterLoadExec=false;this.bDomainUnknown=false;this.register=ebRegisterRTM;this.delimiter="*t*";this.timeoutID=0;this.rdUrl="";this.sIframeName="rtm";this.bFrameNonDowngraded=false;this.appendUrl=ebAppendUrl;this.writePlacement=ebWriteRTMPlacement;this.getRTMContent=ebGetRTMContent;this.setRTMContent=ebSetRTMContent;this.clearPlacements=ebClearRTMPlacements;this.getAdUrl=ebGetRTMAdUrl;this.getUserStr=ebGetRTMUserString;this.loadPlacements=ebLoadPlacements;this.execPageAfterLoad=ebExecPageAfterLoad;this.setRTMInlineTimeout=ebSetRTMInlineTimeout;this.writeInlinePlacement=ebWriteRTMInlinePlacement;this.setRTMInlineContent=ebSetRTMInlineContent;this.setLoadedDoubleClicks=ebSetLoadedDoubleClicks;this.writeContent=ebWriteContent;this.writeAllContents=ebWriteAllContents;this.writeIframe=ebEbayRTMPlacementWriteIframe;this.downgradeDomain=ebRTMDowngradeDomain;this.downgradeDomain();this.collectPids=function()
{var ret="",len=this.rtms.length;if(len>0)
{ret="&p=";for(var i=0;i<len;i++)
ret+=this.rtms[i].id+(i<len-1?":":"");}
return ret;}
this.rdPage=function()
{if(!this.rdUrl.is(''))
document.location.replace(this.rdUrl)}}
function ebWriteRTMPlacement(pId,pAdCfg,pDefUrl,pType)
{if(document.layers)
return;var c=pAdCfg||new EbayConfig(),defAdUrl='';if(c.objType.hasAny("EbayAdConfig","EbayAdTableConfig"))
defAdUrl=this.getAdUrl(c);pDefUrl=pDefUrl?pDefUrl:defAdUrl;var w=c.ifWidth||c.width;var h=c.ifHeight||c.height;var p=new EbayRTM(this,pId,pDefUrl,w,h,pType);p.config.defAdUrl=defAdUrl;this.register(p.config);p.writeIFrame();}
function ebGetRTMAdUrl(pCfg)
{var defAd=new EbayAd(ebay,pCfg.name,pCfg,oAdManager);defAd.setCountryGlobals=setAdCountryGlobals;defAd.setCountryLocals=setAdCountryLocals;defAd.setCountryGlobals(defAd.globals);defAd.globals.resetGlobals();defAd.setCountryLocals(defAd.config);return defAd.globals.iframeUrl+pCfg.getAdParamString(defAd.globals,defAd.ord);}
function ebSetRTMContent(pUrlArr,pSizeArr)
{var oC=this.oDocument.oPage.oConfig;if(oC.disableRTM)
return;window.clearTimeout(this.timeoutID);var aRTMs=this.rtms,un='undefined';if(aRTMs.length>0)
{for(i=0;i<aRTMs.length;i++)
{var isdc=(pUrlArr[i]!=-1&&pUrlArr[i].indexOf(';')==0)?true:false;if(pUrlArr[i]==-1&&!document.layers)
pUrlArr[i]=aRTMs[i].defUrl;else if(isdc)
{var sz=";sz";if(pUrlArr[i].length==1)
pUrlArr[i]=aRTMs[i].defAdUrl;else if(aRTMs[i].defAdUrl.indexOf(sz)!=-1)
pUrlArr[i]=aRTMs[i].defAdUrl.replace(sz,pUrlArr[i]+sz)}
if(!isdc&&typeof(pSizeArr[i])!=un&&pSizeArr[i]!=-1)
{if(pSizeArr[i].indexOf(":")!=-1)
{var rSize=pSizeArr[i].split(":");aRTMs[i].w=(rSize[0]==-1)?"100%":rSize[0];aRTMs[i].h=rSize[1];}}
aRTMs[i].setIFContent(pUrlArr[i]+'');}}}
function ebClearRTMPlacements()
{with(this)
{if(rtms.length>0&&!document.layers)
for(var i=0;i<rtms.length;i++)
rtms[i].setIFContent('*t*1');}}
function ebGetRTMContent(pCfg)
{if(document.layers)
return;var oC=ebay.oDocument.oPage.oConfig;if(oC.disableRTM)
{this.clearPlacements();return;}
if(pCfg)
{var path,rHost,id,u,timeout=0,un='undefined';if(!pCfg.rtmEngineHost)
return;if(this.rtms.length==0)
return;if(typeof(pCfg.timeout)!=un)
timeout=pCfg.timeout;path=pCfg.rtmEngineHost+this.collectPids();path+=(pCfg.params)?pCfg.params:"";path+=this.getUserStr(pCfg);var d=this.oDocument,g=this.oGlobals,u=this.oUtils;path+=this.appendUrl(pCfg);this.rdUrl=(typeof(pCfg.rdUrl)!=un)?pCfg.rdUrl:"";var sTimout="",timeout=1500;if(!this.rdUrl.is("")&&timeout>0)
sTimeout="document.location.replace('"+this.rdUrl+"')";else
{var rtmArr="";for(var i=0;i<this.rtms.length;i++)
rtmArr+="-1,";rtmArr=(rtmArr!="")?rtmArr.substr(0,rtmArr.length-1):"";sTimeout="ebay.oDocument._getControl('rtm').setRTMContent(["+
rtmArr+"],["+rtmArr+"])";}
this.timeoutID=window.setTimeout(sTimeout,timeout);d.write(u.scriptTag(path));}}
function ebAppendUrl(pCfg)
{var path="";if(pCfg.rtmContextData)
path+="&c="+pCfg.rtmContextData;path+=(pCfg.params)?pCfg.params:"";if(pCfg.guid&&pCfg.guid!="")
path+="&g="+pCfg.guid;var oF=ebay.oDocument._getControl("flash");if(oF)
{var iFlashVersion=oF.getVersion();var oCl=this.oGlobals.oClient;if((iFlashVersion!="undefined")&&!oCl.bMac)
path+=(iFlashVersion>0)?"&z=1":"&z=0";}
path+="&ord=";if(pCfg.ord&&pCfg.ord!="")
path+=pCfg.ord;else
path+=(new Date()).getTime();return path;}
function ebGetRTMUserString(pCfg)
{var s='',qs=document.location.search,qi=qs.indexOf("i="),un='undefined';if(!pCfg)
return s;with(pCfg)
{if(typeof userId!=un&&userId)
s='&i='+userId;else if(qi!=-1)
{var ci=qs.indexOf(";");if(ci!=-1)
s='&i='+qs.substring(qi+2,ci);else
s='&i='+qs.substring(qi+2);}
else if(typeof login!=un&&login)
s='&l='+login;else if(typeof(u1p)!=un&&u1p)
{var u1pd=u1p.decodeBase64().decodeUTF8();if(!u1pd.has('@@__@@__@@'))
s='&l='+u1pd;}}
return s;}
function ebRegisterRTM(pRTM)
{if(pRTM)
{var r=this.rtms.length;this.rtms[r]=pRTM;}}
function ebLoadPlacements(oC)
{if(document.layers)
return;if(!oC)
return;if(!oC.srtmEngineHost)
return;var i=0,aP=oC.aPids;for(i;i<aP.length;i++)
{var oRTMInfo=new EbayRTMInfo(this,aP[i]);this.rtminfos[i]=oRTMInfo;}
var sRtmUrl=oC.srtmEngineHost+"&p="+aP.join(":")+this.getUserStr(oC)+this.appendUrl(oC);var oIfrm=eval("this.oDocument.win.frames['"+this.sIframeName+"']");var u=this.oUtils;if(sRtmUrl.has("a=inline1"))
{this.oDocument.write(u.scriptTag(sRtmUrl));}
else if(typeof(oIfrm)!="undefined"&&typeof(oIfrm.document)!="unknown")
{if(this.bFrameNonDowngraded)
oIfrm.document.open();oIfrm.document.write(u.scriptTag(sRtmUrl));oIfrm.document.close();}
else
this.bDomainUnknown=true;var sTimeout="ebay.oDocument._getControl('rtm').setRTMInlineTimeout()",timeout=1500;this.timeoutID=window.setTimeout(sTimeout,timeout);var oD=this.parent.oDocument,oP=oD.oPage;this._registerListener(oD._getEvent("load"),oP.EVENT_AFTER,"execPageAfterLoad");}
function ebSetRTMInlineTimeout()
{if(this.bOnAfterLoadExec)
{var rtmArr1=[],rtmArr2=[],s=(this.bDomainUnknown)?";":"-1";for(var i=0;i<this.rtminfos.length;i++)
{rtmArr1[i]=s;rtmArr2[i]="-1";}
this.setRTMInlineContent(rtmArr1,rtmArr2);}
else
{var sTimeout="ebay.oDocument._getControl('rtm').setRTMInlineTimeout()";var timeout=1500;this.timeoutID=window.setTimeout(sTimeout,timeout);}}
function ebWriteRTMInlinePlacement(pId,pAdCfg,pDefUrl,pType)
{if(document.layers)
return;this.writePlacement(pId,pAdCfg,pDefUrl,pType);if(this.bPlacementsLoaded)
this.writeAllContents();}
function ebExecPageAfterLoad()
{this.bOnAfterLoadExec=true;if(this.bPlacementsLoaded)
this.writeAllContents();}
function ebWriteAllContents()
{var aRTMs=this.rtms,aRTMInfos=this.rtminfos,i=0;for(i;i<aRTMInfos.length;i++)
{if(!aRTMInfos[i].isContentPlaced)
{for(var j=0;j<aRTMs.length;j++)
{if(aRTMInfos[i].iId==aRTMs[j].id)
{var oDiv=this.oDocument._getControl(aRTMs[j].divname)
if(oDiv&&oDiv.eElem)
{this.writeContent(aRTMs[j],aRTMInfos[i]);aRTMInfos[i].isContentPlaced=true;}
break;}}}}}
function ebWriteContent(pRTM,pRTMInfo)
{if(pRTMInfo.isRtm)
{var oL=this.oDocument._getControl(pRTM.divname);if(pRTMInfo.w&&pRTMInfo.h)
{var oLStyle=oL.eElem.style;oLStyle.height=pRTMInfo.h+"px";oLStyle.width=pRTMInfo.w+"px";}
oL.setValue(pRTMInfo.sContent);}
else
{if(pRTMInfo.w)
pRTM.w=pRTMInfo.w;if(pRTMInfo.h)
pRTM.h=pRTMInfo.h;if(pRTMInfo.isDoubleClick)
this.setLoadedDoubleClicks(pRTM,pRTMInfo);else
{pRTM.setIFContent(pRTM.defUrl+'');}}}
function ebSetLoadedDoubleClicks(pRTM,pRTMInfo)
{var sz=";sz";if(pRTMInfo.sAdContent.length==1)
pRTM.defAdUrl=pRTM.defAdUrl;else if(pRTM.defAdUrl.indexOf(sz)!=-1)
pRTM.defAdUrl=pRTM.defAdUrl.replace(sz,pRTMInfo.sAdContent+sz);pRTM.setIFContent(pRTM.defAdUrl+'');}
function ebSetRTMInlineContent(pContentArr,pSizeArr)
{var oC=this.oDocument.oPage.oConfig;if(oC.disableRTM)
return;window.clearTimeout(this.timeoutID);var aRTMs=this.rtms,aRTMInfos=this.rtminfos,un='undefined',i=0;if(aRTMInfos.length>0)
{for(i=0;i<aRTMInfos.length;i++)
{var isdc=(pContentArr[i]!=-1&&pContentArr[i].indexOf(';')==0)?true:false;if(pContentArr[i]==-1&&!document.layers)
{aRTMInfos[i].isDefaultPlacement=true;}
else if(isdc)
{aRTMInfos[i].isDoubleClick=true;aRTMInfos[i].sAdContent=pContentArr[i];}
else
{aRTMInfos[i].sContent=pContentArr[i];aRTMInfos[i].isRtm=true;}
if(!isdc&&typeof(pSizeArr[i])!=un&&pSizeArr[i]!=-1)
{if(pSizeArr[i].indexOf(":")!=-1)
{var rSize=pSizeArr[i].split(":");aRTMInfos[i].w=(rSize[0]==-1)?"100%":rSize[0];aRTMInfos[i].h=rSize[1];}}}}
this.bPlacementsLoaded=true;this.writeAllContents();}
function ebEbayRTMPlacementWriteIframe()
{var f='<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width="1" height="1" scrolling="no" id="'+this.sIframeName+'" name="'+this.sIframeName+'"></iframe>';this.oDocument.doc.write(f);}
function ebRTMDowngradeDomain()
{var oIfrm=eval("this.oDocument.win.frames['"+this.sIframeName+"']");var b=this.oDocument.oPage.oConfig.bNoRTMDowngrade;if(b||typeof(oIfrm)=="undefined"||typeof(oIfrm.document)=="unknown")
{this.bFrameNonDowngraded=true;return;}
this.sIframeName="rtm_data_frame";this.writeIframe();oIfrm=eval("this.oDocument.win.frames['"+this.sIframeName+"']");var dd=document.domain,i=dd.indexOf(".ebay."),dd=dd.substring(i+1);var sIfrm_downgrade_domain='<scr'+'ipt language=javascript>document.domain="'+dd+'";</scr'+'ipt>';oIfrm.document.open();oIfrm.document.write(sIfrm_downgrade_domain);}
new EbayRTMPlacement(ebay.oDocument.oPage,"rtm");

//5@@m2

function EbayHTMLActiveX(pParent,pName,pDisabled,pCfg)
{if(!this.objType)
this.objType="EbayHTMLActiveX";this.base=EbayHTML;this.base(pParent,pName,pName,pDisabled,pCfg);this.getElem=ebHTMLActiveXGetElem;}
function ebHTMLActiveXGetElem(pName)
{return this.oDocument.doc.getElementById(pName);}

//6@@m1

function EbayHTMLActiveXWriter(pParent,pName)
{if(!this.objType)
this.objType="EbayHTMLActiveXWriter";this.base=EbayHTMLActiveX;this.base(pParent,pName);this.sID="";this.sName="";this.iWidth=0;this.iHeight=0;this.sClassID="";this.sCodeBase="";this.sType="";this.sPluginsPage="";this.aParams=[];this.aNestedText=[];this.addParam=function(pName,pValue)
{this.aParams[pName]=pValue;}
this.addNestedText=function(pText)
{this.aNestedText[this.aNestedText.length]=pText;}
this.writeObject=function()
{var str="<object ";str+="id='"+this.sID+"' ";str+="name='"+this.sName+"' ";str+="width='"+this.iWidth+"' ";str+="height='"+this.iHeight+"' ";str+="codebase='"+this.sCodeBase+"' ";str+="classid='"+this.sClassID+"' ";str+=">";for(var i in this.aParams)
{this.addNestedText("<param name='"+i+"' value='"+this.aParams[i]+"'>");}
for(var i=0;i<this.aNestedText.length;i++)
{str+=this.aNestedText[i];}
str+="</object>";return str;}
this.clearParam=function(pName)
{this.aParams[pName]=null;}
this.clearNestedText=function()
{this.aNestedText=[];}}

//7@@m1

function EbayHTMLFlashWriter(pParent,pName)
{if(!this.objType)
this.objType="EbayHTMLFlashWriter";this.base=EbayHTMLActiveXWriter;this.base(pParent,pName);this.aFlashVars=[];this.addFlashVar=function(pName,pValue)
{this.aFlashVars[pName]=pValue;}
this.writeFlash=function()
{var fv="";for(var i in this.aFlashVars)
{fv+=i+"="+this.aFlashVars[i]+"&";}
this.addParam("flashvars",fv);var embed="<EMBED";embed+=" src='"+this.aParams["movie"]+"'";embed+=" width='"+this.iWidth+"'";embed+=" height='"+this.iHeight+"'";embed+=" flashvars='"+fv+"'";embed+=" scale='"+this.aParams["scale"]+"'";embed+=" salign='"+this.aParams["salign"]+"'";embed+=" menu='"+this.aParams["menu"]+"'";embed+=" type='"+this.sType+"'";embed+=" pluginspage='"+this.sPluginsPage+"'";embed+=" wmode='"+this.aParams["wmode"]+"'";embed+="></embed>";this.addNestedText(embed);var text=this.writeObject();this.clearParam("flashvars");this.clearNestedText();return text;}}

//8@@m6

function EbayHTMLFlash(pParent,pName)
{if(!this.objType)
this.objType="EbayHTMLFlash";this.base=EbayBaseControl;this.base(pParent,pName);this.oFlashWriterConfig=[];this.oFlashModule=[];this.oRTM=null;this.bUseRTM=false;this.bRTMReady=false;this.aSeg=[];this.aConfigNames=[];this.addModule=function(pConfig)
{var unique=pConfig.sName+""+Math.ceil(Math.random()*1000000000);this.oFlashModule[pConfig.sName]=unique;pConfig.sUniqueName=unique;}
this.registerRTM=function()
{var o=this.oRTM=this.parent._getControl('rtm');if(o)
{o.setRTMInlineContentBase=this.oRTM.setRTMInlineContent;o.setRTMInlineContent=function(pContent,pSize)
{this.setRTMInlineContentBase(pContent,pSize);var o=this.oDocument._getControl('flash');o.bRTMReady=true;o.aSegs=pContent||[];o.loadAllOnDemand();}}}
this.write=function(pConfig)
{if(!this.oRTM)
this.registerRTM();var c=pConfig;this.addModule(c);if(c.objType=="EbayFlashModuleConfig")
{var dc=this.oDocument.getConfig("Common.Flash.DoubleClick.UrlData");if(typeof(dc)!="undefined")
{if(typeof(dc.iOrd)=="undefined")
dc.iOrd=Math.ceil(Math.random()*100000000);}
if(c.sExecuteOn=="rtm-response")
{if(this.bRTMReady)
{var aS=this.aSegs;if(aS.length)
{var seg=aS[this.aConfigNames.length];c.sSeg=(seg!=-1&&seg.indexOf(';')==0)?aS[this.aConfigNames.length]:"";}
c.sExecuteOn="inline";}
else
this.aConfigNames[this.aConfigNames.length]=c.sName;}
if(c.sExecuteOn=="inline")
{var str,f=this.getFlashWriter(c,dc);str=f.writeFlash();if(c.bWindowMode)
{str='<div style="height:'+c.iMinHeight+'px"><div style="position:absolute; z-index:1">'+str;str+="</div></div>";}
this.parent.write(str);}
else
{this.oFlashWriterConfig[c.sName]=c;this.parent.write("<div style='width:"+c.iWidth+"' id='"+c.sName+"_placeholder'></div>");}}}
this.loadAllOnDemand=function()
{var l=this.aConfigNames.length,name,aC=this.oFlashWriterConfig,bAllLoaded=true,slen=this.aSegs.length;for(var i=0;i<l;i++)
{name=this.aConfigNames[i];if(name&&aC[name])
{var seg=this.aSegs[i]||-1;aC[name].sSeg=(slen&&seg!=-1&&seg.indexOf(';')==0)?seg:"";this.loadOnDemand(name);}
else
bAllLoaded=false;}}
this.getFlashWriter=function(pConfig,pDc)
{var dc=pDc,f=new EbayHTMLFlashWriter(this,pConfig.sName);with(pConfig)
{f.sID=sName;f.sName=sName;f.iWidth=iWidth;f.iHeight=iHeight;if(bWindowMode&&!ebay.oGlobals.oClient.bIE)
{f.iHeight=iMinHeight;}
f.sClassID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000";f.sCodeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab";f.sType="application/x-shockwave-flash";f.sPluginsPage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash";f.addParam("movie",sSWF);f.addParam("wmode",bWindowMode?"transparent":"");f.addParam("scale",sScale);f.addParam("salign",sSAlign);f.addParam("menu",false);f.addFlashVar("xmlFile",sXMLFile);f.addFlashVar("movieid",sName);f.addFlashVar("initialSize",iInitialSize);f.addFlashVar("config",sXMLFile);f.addFlashVar("name",sName);f.addFlashVar("uniqueName",sUniqueName);f.addFlashVar("width",iWidth);f.addFlashVar("height",iHeight);if(typeof(sRendererPath)!="undefined")
f.addFlashVar("fvRenderer",sRendererPath);f.addFlashVar("fvIncludePath",this.oGlobals.oEnvironment.sIncludeHost);f.addFlashVar("fvPicsPath",this.oGlobals.oEnvironment.sPicsDir);f.addFlashVar("fvComponentPath",this.oGlobals.oEnvironment.sIncludeHost+"aw/pics/flash/");f.addFlashVar("fvConfig",sXMLFile);f.addFlashVar("fvName",sName);f.addFlashVar("fvUniqueName",sUniqueName);f.addFlashVar("fvWidth",iWidth);f.addFlashVar("fvHeight",iHeight);if(typeof(sCurrentSiteId)!="undefined")
f.addFlashVar("fvCurrentSiteId",sCurrentSiteId);if(typeof(sTargetSiteId)!="undefined")
f.addFlashVar("fvTargetSiteId",sTargetSiteId);if(dc)
{if(dc.sDomain.lastIndexOf("/")==dc.sDomain.length-1)
dc.sDomain=dc.sDomain.substring(0,dc.sDomain.length-1);f.addFlashVar("dclk_Domain",dc.sDomain);f.addFlashVar("dclk_DartSite",dc.sDartSite);f.addFlashVar("dclk_AdSize",sAdSize);f.addFlashVar("dclk_Tile",sTile);f.addFlashVar("dclk_Ord",dc.iOrd);f.addFlashVar("dclk_Seg",sSeg);}}
return f;}
this.loadOnDemand=function(pName)
{var c=this.oFlashWriterConfig[pName]
if(typeof(c)=='undefined')
return;var str,f=this.getFlashWriter(c,this.oDocument.getConfig("Common.Flash.DoubleClick.UrlData"));str=f.writeFlash();if(c.bWindowMode)
{str='<div style="height:'+c.iMinHeight+'px"><div style="position:absolute; z-index:1">'+str;str+="</div></div>";}
var placeholder=new EbayHTMLLayer(this,pName+"_placeholder");placeholder.bind();if(placeholder.eElem)
placeholder.setValue(str);}
this.notify=function(pMod,pFunc,pParam)
{var notifySrc=this.oGlobals.oEnvironment.sIncludeHost+'aw/pics/flash/global/notify/dist/notify.swf';var div=new EbayHTMLLayer(this,"EbayHTMLFlash_notify_div");div.bind();div.setValue("<embed src='"+notifySrc+"' FlashVars='mod="+pMod+"&func="+pFunc+"&param="+pParam+"' width='0' height='0' type='application/x-shockwave-flash'></embed>");}
this.getVersion=function()
{var fv=0,cl=this.oGlobals.oClient;if(cl.bIE&&cl.bWin&&!cl.bOpera)
{for(var i=3;i<10;i++)
{if(detectAX("ShockwaveFlash.ShockwaveFlash."+i))
fv=i;}}
else
{if(navigator.plugins["Shockwave Flash"])
{var pd=navigator.plugins["Shockwave Flash"].description;fv=parseInt(pd.charAt(pd.indexOf(".")-1));}
if(cl.bWebTV)fv=3;}
return fv;}
this.init=function()
{var d=this.parent,cl=this.oGlobals.oClient;d.write("<div id='EbayHTMLFlash_notify_div'></div>");if(cl.bIE&&cl.bWin&&!cl.bOpera)
{var s='<scr'+'ipt language="vbscript" type="text/vbscript">\n';s+='Function detectAX(pAXName)\n';s+='  on error resume next\n';s+='  detectAX = False\n';s+='  detectAX = IsObject(CreateObject(pAXName))\n';s+='End Function\n';s+='</scr'+'ipt>';d.write(s);}}
this.init();}
function EbayFlashModuleConfig(pName)
{this.objType="EbayFlashModuleConfig";this.sName=pName;this.sUniqueName="";this.sMod="";this.iWidth=0;this.iHeight=0;this.iMinHeight=0;this.sSWF="";this.sExecuteOn="inline";this.bWindowMode=false;this.sFlashVars="";this.sScale="noscale";this.sSAlign="lt";this.sXMLFile="";this.iInitialSize=0;this.sAdSize="";this.sTile="";this.sSeg="";}
new EbayHTMLFlash(ebay.oDocument,"flash");
// b=2333523 -->
