//<!--
//1@@m1
<!--
ebayBustFrames();

//2@@m2

function popWindow(u,n,o,x,y){var s=o+',width='+x+',height='+y
window.open(u,n,s)}
var popWinJS=1;

//3@@m10

function BrowserIs(){var agt=navigator.userAgent.toLowerCase();this.major=parseInt(navigator.appVersion);this.nav=((agt.indexOf('mozilla')!=-1)&&((agt.indexOf('spoofer')==-1)&&(agt.indexOf('compatible')==-1)));this.nav4up=this.nav&&(this.major>=4);this.ie=(agt.indexOf("msie")!=-1);this.ie3up=this.ie&&(this.major>=3);this.eBayJSnotN3=(this.nav4up||this.ie3up);}
function WriteSearchCookie(name,value,domain,path,expires,secure){writeCookieEx(name,value,domain,path,expires,secure);}
function isSearchCookieSet(){var name="ebay";var cookie_list=' '+document.cookie,cookie_key=' '+name+'=',cookie_offs=(document.cookie?cookie_list.indexOf(cookie_key):-1);return(cookie_offs>=0)?true:false;}
var loc=(document.location.href.split("/"))[2];var d=loc.split(".");var domain="."+d[d.length-2]+"."+d[d.length-1];var is=new BrowserIs();if((is.ie||is.nav)&&(is.major>=4)&&isSearchCookieSet()==false){var o=ebay.oDocument.oCookieJar;if(o)
{o.addCookielet("ebay","js",1);o.addCookielet("ebay","d","js/1");o.write("ebay");}}

//4@@m1

String.prototype.hasAllInArray=function(pArray)
{var l=pArray.length;for(var i=0;i<l;i++)
{if(!this.hasArg(pArray[i]))
return false;}
return true;}

//5@@m11

function EbayBACException(pParent,pString,pFullString)
{if(!this.objType)
this.objType="EbayBACException";this.base=EbayObject;this.base(pParent,"BAC Exception");this.sString=pString;this.sFullString=pFullString;}
function EbayBlockActiveContent(pParent,pName,pCfg)
{if(!this.objType)
this.objType="EbayBlockActiveContent";this.base=EbayBaseControl;this.base(pParent,pName);this.sDocWrite='';this.aExceptions=[];this.iVersion=0;this.oConfig=pCfg||null;this.aAllowed=pCfg.aCustomStrings||["blockActiveContent","EbayBlockActiveContent","open\\s*\\(","createPopup\\s*\\(","ookie\\s*\\(","\\.\\s*cookie","\\.\\s*location\\s*[=.]","replace\\s*\\(","onerror","<iframe","<ilayer","<frameset","eval\\s*\\(","standardWrite","standardCreateElement","writePersonalHeader"];var ih=ebay.oGlobals.oEnvironment.sIncludeHost;this.aAllowedTags=pCfg.aTags||[["script","src",ih],["base","href"],["meta","refresh"],["frame","src",ih]];this.aAllowedElements=pCfg.aElements||["frame","script","layer"];this.addException=function(pStr,pFullString)
{with(this)
aExceptions[aExceptions.length]=new EbayBACException(this,pStr,pFullString);}
this.hasBlockedString=function(pStr)
{var b=this.aAllowed,len=b.length,rv=false,re;pStr=pStr.toLowerCase();for(var i=0;i<len&&!rv;i++)
{re=new RegExp(b[i].toLowerCase());rv=re.test(pStr);}
return rv;}
this.checkTagAndAttribute=function(pStr,pData)
{var tagRegExp=new RegExp("<"+pData[0]+"\\s");var attrRegExp=new RegExp("\\s*"+pData[1]+"\\s*="),attrInd;var str=tstr=pStr,tagInd=str.search(tagRegExp),exInd,qInd,bInd,rv=false;while(tagInd>-1)
{str=str.substr(tagInd+1);attrInd=str.search(attrRegExp);exInd=pData[2]?str.indexOf(pData[2],attrInd):-1;bInd=str.indexOf('>');if(attrInd>bInd)
{qInd=tstr.indexOf('\"');while((attrInd>bInd)&&(bInd!=-1)&&(qInd!=-1)&&(qInd<attrInd))
{tstr=tstr.substr(qInd+1);qInd=tstr.indexOf('\"');bInd=tstr.indexOf('>');}}
if(bInd==-1)
bInd=str.length;tagInd=str.search(tagRegExp);if((attrInd>-1)&&(bInd>attrInd)&&((exInd==-1)||(exInd>bInd)))
{rv=true;tagInd=-1;}}
return rv;}
this.hasTagAndAttribute=function(pStr)
{var ta=this.aAllowedTags;var rv=false,len=ta.length;for(var i=0;i<len&&!rv;i++)
rv=this.checkTagAndAttribute(pStr,ta[i]);return rv;}
this.blockString=function(pStr)
{with(this)
{var s=sDocWrite+pStr;var rv=(hasBlockedString(s)||hasTagAndAttribute(s));if(!rv)
{var a=oConfig.aFixedStrings||["<","<s","<sc","<scr","<scri","<scrip"];for(var i=0;i<a.length;i++)
{if(pStr.toLowerCase()==(a[i]))
return true;}}
sDocWrite+=rv?'':pStr;return rv;}}
this.doDocWrite=function(pStr,pWriteln)
{var ctl=ebay.oDocument._getControl("blockActiveContent");var fdws=ctl.sDocWrite;if(window.event)ctl.addException(pStr);else if(ctl.blockString(pStr))ctl.addException(pStr,fdws+pStr);else if(pWriteln)document.standardWriteln(pStr);else document.standardWrite(pStr);}
document.standardWrite=document.write;this.documentWrite=function(pStr)
{ebay.oDocument._getControl("blockActiveContent").doDocWrite(pStr);}
document.standardWriteln=document.writeln;this.documentWriteln=function(pStr)
{ebay.oDocument._getControl("blockActiveContent").doDocWrite(pStr,true);}
document.standardCreateElement=document.createElement;this.createElement=function(pStr)
{var ctl=ebay.oDocument._getControl("blockActiveContent"),b=ctl.aAllowedElements,tmp='pStr.hasAny(';for(var i=0;i<b.length;i++)
tmp+=(i<b.length-1)?'b['+i+'],':'b['+i+']';if(eval(tmp+')'))
ctl.addException(pStr,"document.createElement");else
return document.standardCreateElement(pStr);}}
ebay.oDocument.createBlockActiveContent=function()
{var g=this.parent.oGlobals,cl=g.oClient,e=g.oEnvironment,cfg=ebay.oDocument.getBACConfig(),v=cfg.iBACVersion,path="";if(!(cl.bMac&&cl.bIE))
{var c=new EbayBlockActiveContent(this,"blockActiveContent",cfg);if(typeof(v)!='undefined'&&(v!=c.iVersion))
{path=e.sIncludeDir+"features/block_active_content/filter_"+v+".js";var tag='<sc'+'ript src="'+path+'"> </sc'+'ript>';this.write(tag);}
document.write=c.documentWrite;document.writeln=c.documentWriteln;document.createElement=c.createElement;}
this._registerListener(this._getEvent("load"),this.EVENT_AFTER,"checkBlockActiveContent");}
ebay.oDocument.getBACConfig=function()
{var s="ViewItem.BlockActiveContent";var c=ebay.oDocument.getConfig(s)||new EbayConfig(s);return c;}
ebay.oDocument.checkBlockActiveContent=function()
{var aa=[],ee,ss,ih,ct,oD=this.doc,i,j,k,tt=["div","span"],cfg=this.getBACConfig(),aLayerStrings=cfg.aLayerStrings||[[["href","mailto:"],["position: absolute;","z-index: 1;"]]];for(var j=0;j<tt.length;j++)
{t=tt[j];if(oD.getElementsByTagName)
aa=oD.getElementsByTagName(t);else if(oD.all)
aa=oD.all;for(i=0;i<aa.length;i++)
{ee=aa[i];if(ee.tagName.toLowerCase()==t.toLowerCase())
{ih=ee.innerHTML;if(ih)
{ih=ih.toLowerCase();ct=ee.style.cssText.toLowerCase();for(k=0;k<aLayerStrings.length;k++)
{var a=aLayerStrings[k];if(ih.hasAllInArray(a[0])&&ct.hasAllInArray(a[1]))
{ee.innerHTML='<img src="http://pics.ebaystatic.com/aw/pics/s.gif" id="imgBlockActiveContent">';break;}}}}}}}
ebay.oDocument.createBlockActiveContent();

//6@@m1

function resizeImage(image,dimension)
{if(document.layers){return false;}
var agt=navigator.userAgent.toLowerCase();if(agt.indexOf("mac")!=-1){if(agt.indexOf("msie")!=-1){var version=parseInt(agt.substring(agt.indexOf("msie")+4));if(version<=5){return false;}}}
if((image=="undefined")||(!image)){return false;}
if(dimension=="undefined"){dimension=96;}
var customImage=new Image();customImage.src=image.src;var imw=customImage.width;var imh=customImage.height;var rw=imw/dimension,rh=imh/dimension,ratio=(rw>rh)?rw:rh;if(ratio>=1)
{image.width=imw/ratio;image.height=imh/ratio;}
else
{image.width=imw;image.height=imh;}}

//7@@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;}}

//8@@m3

function EbayHTMLSlideShowTicker(pParent,pName,pDisabled,pCfg)
{if(!this.objType)
this.objType="EbayHTMLSlideShowTicker";this.base=EbayBaseControl;this.base(pParent,pName);this.oConfig=pCfg;this.sWidth=this.oConfig.sSliderWidth;this.sHeight=this.oConfig.sSliderHeight;this.iSlideSpeed=this.oConfig.iSlideSpeed;this.iCopySpeed=this.iSlideSpeed;this.sBgColor=this.oConfig.sSliderBgColor;this.iGap=this.oConfig.iSlideShowGap;this.aAnchorObjects=new Array();this.aImageObjects=new Array();this.iActualWidth=this.oConfig.iActualWidth;this.oDivContent1=new EbayHTMLLayer(this,this.oConfig.sDivContent1,false,this.oConfig);this.oDivContent1.subscribeEvents("onmouseover","onmouseout");this.oDivContent1.onmouseover=function(){this.parent.iCopySpeed=0;return false;}
this.oDivContent1.onmouseout=function(){this.parent.iCopySpeed=this.parent.iSlideSpeed;return false;}
this.oDivContent2=new EbayHTMLLayer(this,this.oConfig.sDivContent2,false,this.oConfig);this.oDivContent2.subscribeEvents("onmouseover","onmouseout");this.oDivContent2.onmouseover=function(){this.parent.iCopySpeed=0;return false;}
this.oDivContent2.onmouseout=function(){this.parent.iCopySpeed=this.parent.iSlideSpeed;return false;}
this.init=function(){this.oDivContent2.setStyle("left",this.iActualWidth+this.iGap+"px");}
this.slideLeft=function(){var content1=this.oDivContent1;var content2=this.oDivContent2;if(parseInt(content1.getStyle("left"))>(this.iActualWidth*(-1)+10))
content1.setStyle("left",(parseInt(content1.getStyle("left"))-this.iCopySpeed)+"px");else
content1.setStyle("left",(parseInt(content2.getStyle("left"))+this.iActualWidth+this.iGap)+"px");if(parseInt(content2.getStyle("left"))>(this.iActualWidth*(-1)+10))
content2.setStyle("left",(parseInt(content2.getStyle('left'))-this.iCopySpeed)+"px");else
content2.setStyle("left",(parseInt(content1.getStyle('left'))+this.iActualWidth+this.iGap)+"px");}}

//9@@m7

function doFindSortChange(select)
{sortURL=findSortArray[select.selectedIndex];if(typeof sortURL!="undefined"&&sortURL!=null&&sortURL!="")
{var form=select.form;if(form!=null)form.reset();window.location.href=sortURL;}}

//10@@m2

ebay.oDocument.oPage.aTickers=[];ebay.oDocument.oPage.onBeforeLoad=function()
{for(var e in this.oDocument.aConfigs)
{if(e.indexOf("Slide_Show_Ticker_Config")!=-1)
{var oConfig=this.oDocument.aConfigs[e];this.aTickers.push(new EbayHTMLSlideShowTicker(this,'ticker',false,oConfig));}}}
ebay.oDocument.oPage.onAfterLoad=function()
{for(var i=0;i<this.aTickers.length;i++)
{var ticker=this.aTickers[i];ticker.init();setInterval("ebay.oDocument.oPage.aTickers[ '"+i+"' ].slideLeft()",50);}}
// b=5966467 -->
