//<!--
//1@@m52

function Is()
{var t=true,agt=navigator.userAgent.toLowerCase(),vInd=0;this.major=parseInt(navigator.appVersion);this.webTV=this.opera=this.nav=this.ie=this.firefox=this.safari=false;if(agt.indexOf("webtv")!=-1)
{this.webTV=t;vInd=agt.indexOf("webtv/")+6;}
else if(agt.indexOf("firefox")!=-1)
{this.firefox=true;vInd=agt.lastIndexOf("firefox")+7;}
else if(agt.indexOf("safari")!=-1)
{this.safari=t;vInd=agt.lastIndexOf("safari")+7;}
else if(agt.indexOf("opera")!=-1)
{this.opera=t;vInd=agt.lastIndexOf("opera")+6;}
else if(navigator.appName=="Netscape")
{this.nav=t;vInd=agt.lastIndexOf("/")+1;}
else if(agt.indexOf("msie")!=-1)
{this.ie=t;vInd=agt.indexOf("msie")+4;}
this.ver=parseInt(agt.substring(vInd));this.win=(agt.indexOf("win")!=-1);this.winXP=(this.win&&(agt.indexOf("windows nt 5.1;")!=-1));this.mac=(agt.indexOf("mac")!=-1);this.macppc=(this.mac&&((agt.indexOf("ppc")!=-1)||(agt.indexOf("powerpc")!=-1)));this.xpSp2=(agt.indexOf("sv1")!=-1);}
if(typeof(is)=="undefined")
is=new Is();var country="us",countryDomain=".ebay.com/",countryDesc="US",countryDoubleByte=false;var countries=[[".ebay.com.au/",".com.au/","au","Australia"],[".ebay.at/",".at/","at","AT"],[".befr.ebay.be/",".befr.","befr","Belgium"],[".benl.ebay.be/",".benl.","benl","Belgium"],[".ebay.ca/",".ca/","ca","Canada"],[".cafr.ebay.ca/",".cafr.","cafr","FrenchCanada"],[".ebay.ch/",".ch/","ch","CH"],[".ebay.es/",".es/","es","Spain"],[".es.ebay.com/",".es.","es","Spain"],[".ebay.fr/",".fr/","fr","France"],[".ebay.de/",".de/","de","Germany"],[".ebay.it/",".it/","it","Italy"],[".ebay.in/",".in/","in","India"],[".ebay.nl/",".nl/","nl","Netherlands"],[".ebay.com.sg/",".sg/","sg","Singapore"],[".tw.ebay.com/",".tw.","tw","Taiwan"],[".ebay.com.cn/",".cn.","cn","China"],[".ebay.com.hk/",".hk.","hk","Hong Kong"],[".ebay.co.uk/",".co.uk/","uk","UK"],[".ebay.pl/",".pl/","pl","PL"],[".ebay.com/",".","us","US"]];var cbc=false,brow=false,atc=false,cbf=false,dot='.',and='&',qstn='?',eql='=',or="||";var http="http://",www="www",httpwww=http+www,https="https://",cgi="cgi",scgi="s"+cgi,jsExt=dot+"js";var tclExt=dot+"tcl",com="com",dotCom=dot+com,scriptOpen='<SC'+'RIPT SRC="',scriptClose='"></SC'+'RIPT>';var ebStr="ebay",ebDom=dot+ebStr,ebInclude="include",qaDom=dot+"qa"+dot,thisPage=location.href.toLowerCase(),lastPage="";if(history.length>1)
lastPage=document.referrer.toLowerCase();var thisPageURL,thisPageURI,lastPageURL,lastPageURI,qaMachineName="",includeDir="",cobrandDir="",countryCobrandDir="",picsDir="pics.ebaystatic.com/aw/pics/",countryIncludeDir="",includeHost;if(!includeHost)
includeHost=http+ebInclude+ebDom+dotCom+"/";var ebHTSch="ht"+eql,ebSID="s_partnerid",ebSIDSch=ebSID+eql,ebCID="co_partnerid",ebCIDSch=ebCID+eql,seoAOpen=' | <a href="',seoFontOpen='<font color="#0000CC">',seoFontClose='</font></a>',seoCookIn="in";globals=true;

//2@@m27

function EbayCookie(name,value,domain,path,expires,secure,isCookielet)
{if(!this.objType)
this.objType="EbayCookie";if(typeof(EBayObject)=="function")
{this.base=EBayObject;this.base(null,name);}
else
{this.parent=null;this.name=name;}
this.value=value;this.value=value||"";if(typeof(thisPageURL)!="undefined"&&domain==null)
{if(!thisPageURL.contains(qaDom))
{this.domain=countryDomain.substring(0,countryDomain.length-1);d=this.domain;if(d.contains("es.ebay.")||d.contains("tw.ebay."))
{this.domain=".ebay.com";}
if(d.contains("befr.ebay.")||d.contains("benl.ebay."))
{this.domain=".ebay.be";}}
else
{this.domain=".ebay.com";}}
else
{this.domain=domain;}
this.path=path?path:"/";this.secure=secure;this.isCookielet=isCookielet;this.cookielets=new Array();this.expires=expires;this.parseCookie=EbayParseCookie;this.addCookielet=EbayAddCookieLet;this.read=EbayReadCookie;this.set=EbaySetCookie;this.getCookielet=EbayGetCookielet;}
function EbayCookielet(name,value,expi)
{this.name=name;this.value=value?value:'';expi=expi?expi:'';var d=expi;if(typeof(expi)=="object")
{this.expirationDate=expi;y=d.getUTCFullYear();if(y<1900)
{y=y+1900;}
expi=Date.UTC(y,d.getUTCMonth(),d.getUTCDate());}
if(isNaN(expi)&&!expi=="")
{expi=d.hex2Dec();this.expirationDecBy1000=expi;expi=expi*1000;this.expirationDate=new Date(expi);this.expirationDec=expi;this.expirationHex=this.expirationDecBy1000.dec2Hex();}
else
{this.expirationDec=expi;this.expirationDecBy1000=Math.floor(expi/1000);this.expirationHex=this.expirationDecBy1000.dec2Hex();}}
function EbayGetCookielet(name)
{var c=this.cookielets[name],v="";if(c)v=c.value;return v;}
function EbayParseCookie(start)
{var mycookielets=new Array();var strCookielets="";if(start)
{var input=this.value;mycookielets=input.split("^");for(i in mycookielets)
{var x=mycookielets[i].split("=");if(x[0]!=""&&x[1]!="")
{var outVal=x[1],len=x.length;for(var j=2;j<len;j++)
{outVal+="="+x[j];}
this.addCookielet(x[0],outVal);}}}
else
{strCookielets="^";var cl=this.cookielets;for(i in cl)
{if(cl[i])
strCookielets+=cl[i].name+"="+cl[i].value+"^";}
this.value=strCookielets;}}
function EbayReadCookie()
{var cookie_list=' '+document.cookie,cookie_key=' '+this.name+'=',cookie_offs=(document.cookie?cookie_list.indexOf(cookie_key):-1);if(cookie_offs>=0)
{var cookie_val=cookie_list.substring(cookie_offs+cookie_key.length),cookie_end=cookie_val.indexOf(';');if(this.name!="dp1")
this.value=decodeURIComponent(cookie_end<0?cookie_val:cookie_val.substring(0,cookie_end));else
this.value=cookie_end<0?cookie_val:cookie_val.substring(0,cookie_end);if(this.isCookielet)
{this.parseCookie(true);}}}
function EbaySetCookie()
{with(this)
{if(isCookielet)
{parseCookie(false);}
if((isNaN(value)&&value.length<4000)||(value+'').length<4000)
{document.cookie=(name?name+'=':'')+(value?encodeURIComponent(value):'')+(domain?'; domain='+domain:'')+(path?'; path='+path:'')+(expires?'; expires='+expires.toGMTString():'')+(secure?'; secure='+encodeURIComponent(secure):'');}
else
{if(isQA)
alert("ERROR: Cookie data could not be set over 4kb.");}}}
function EbayAddCookieLet(name,value,expiration)
{this.cookielets[name]=new EbayCookielet(name,value,expiration);}
function EbayOldWriteCookie(name,value,domain,path,expires,secure)
{if(expires=='yes')
{expires=new Date("Jan 02, 2004 12:00:00 GMT");}
else if(expires=='delete')
{expires=new Date("May, 01 1999 12:00:00 GMT");}
var x=new EbayCookie(name,value,domain,path,expires,secure,false);x.set();}
window.WriteCookie=EbayOldWriteCookie;function EbayOldWrite2YearCookie(name,value,domain,path,expires,secure)
{var x;if(!expires)
{var offset=2;now=new Date();year=now.getYear();now.setYear(year+offset);expires=now.valueOf();}
x=new EbayCookie(name,value,domain,path,expires,secure,false);}
window.Write2YearCookie=EbayOldWrite2YearCookie;function EbayOldReadCookie(name)
{var x=new EbayCookie(name);x.read();return x.value;}
window.ReadCookie=EbayOldReadCookie;function EbayOldReadMultiCookie(cook,cooklet)
{var x=new EbayCookie(cook,null,null,null,null,null,true);x.read();return x.getCookielet(cooklet);}
window.readMultiCookie=EbayOldReadMultiCookie;function EbayOldWriteMultiCookie(name,cooklet,value,domain,path,expires)
{var x=new EbayCookie(name,null,domain,path,expires,null,true);x.read();x.addCookielet(cooklet,value);x.set();}
window.writeMultiCookie=EbayOldWriteMultiCookie;function EbayOldDeleteCookie(name,domain,path)
{var expireDate=new Date(1);var x=new EbayCookie(name,null,domain,path,expireDate,null,false);x.set();}
window.DeleteCookie=EbayOldDeleteCookie;function EbayDPCookie(name,value,domain,path,expires,secure,isCookielet)
{this.base=EbayCookie;this.base(name,value,domain,path,expires,secure,isCookielet);this.parseCookie=EbayDPParseCookie;this.set=EbaySetDPCookie;this.getCookieletObj=EbayGetCookieletObj;this.isCookielet=true;if(!expires)
{var offset=2;now=new Date();year=now.getUTCFullYear();if(year<1900)
{year=1900+year;}
now.setUTCFullYear(year+offset);this.expires=now;}
else
{this.expires=expires;}}
function EbaySetDPCookie()
{with(this)
{if(isCookielet)
{parseCookie(false);}
if((isNaN(value)&&value.length<4000)||(value+'').length<4000)
{document.cookie=(name?name+'=':'')+(value?value:'')+(domain?'; domain='+domain:'')+(path?'; path='+path:'')+(expires?'; expires='+expires.toGMTString():'')+(secure?'; secure='+encodeURIComponent(secure):'');}
else
{if(isQA)
alert("ERROR: Cookie data could not be set over 4kb = cookie length = "+value.length);}}}
function EbayGetCookieletObj(name)
{var c=this.cookielets[name];return c;}
function EbayReadDPCookielet(cook,cooklet)
{var x=new EbayDPCookie(cook,null,null,null,null,null,true);x.read();return x.getCookielet(cooklet);}
function EbayDPWriteMultiCookie(name,cooklet,value,domain,path,expires)
{var today=(new Date()).getTime();var defexp=new Date(today+(YEAR*1))
var x=new EbayDPCookie(name,null,domain,path,defexp,null,true);x.read();x.addCookielet(cooklet,value,expires);x.set();}
function EbayDPParseCookie(start)
{var mycookielets=new Array();var strCookielets="";if(start)
{var input=this.value;input=input.substring(1,input.length);mycookielets=input.split("^");for(i in mycookielets)
{c=mycookielets[i];expi=c.substring(c.length-8,c.length);c=c.substring(0,c.length-8);var x=c.split("/");if(x[0]!=""&&x[1]!="")
{var outVal=decodeURIComponent(c.substring(c.indexOf("/")+1,c.length));this.addCookielet(x[0],outVal,expi);}}}
else
{strCookielets="";var today=new Date();var cl=this.cookielets;for(i in cl)
{if(cl[i])
{var timeToExpire=cl[i].expirationDate-today;if(timeToExpire>0)
strCookielets+=cl[i].name+"/"+encodeURIComponent(cl[i].value)+cl[i].expirationHex+"^";}}
if(strCookielets!="")
{this.value="b"+strCookielets;}
else
{this.value="";}}}
var sConvCookieList="recent_vi,ebaysignin,keepmesignin,item_list,back_to_list,reg,p,etfc,history_item";var sNewMapping="recent_vi=ebay,lvmn^ebaysignin=ebay,sin^reg=dp1,reg^p=dp1,p^etfc=dp1,etfc^keepmesignin=dp1,kms^ItemList=ebay,wl^BackToList=s,BIBO_BACK_TO_LIST";var aNewMapping;var aModes;var COMPAT="10";var CONVER="01";var STRICT="00";function writeCookieEx(c,v,d,p,e,s)
{var m=getMode(c);if(m==STRICT||m==CONVER)
{e=new Date(e);writeCookieletEx(getDest(c,false),getDest(c,true),v,d,p,e);}
else
{EbayOldWriteCookie(c,v,d,p,e,s);}}
function readCookieEx(c)
{var m=getMode(c);var v=nv="";v=EbayOldReadCookie(c);nv=readCookieletEx(getDest(c,false),getDest(c,true));if(m==COMPAT)
{v=v?v:nv;}
else if(m==CONVER)
{v=nv?nv:v;}
else if(m==STRICT)
{v=nv;}
if(c=="dp1")
v=decodeURIComponent(v);return v;}
function getDest(n,bCL,sM)
{sM=sNewMapping;if(!aNewMapping)
{aNewMapping=getSets(sM);}
if(aNewMapping[n])
return bCL?aNewMapping[n][1]:aNewMapping[n][0];return"";}
function getSets(p)
{var a=new Array();var ma=p.split("^");for(i in ma)
{var t=ma[i].split("=");if(t[0]!=""&&t[1]!="")
{a[t[0]]=t[1].split(",");}}
return a;}
function readCookieletEx(c,cl)
{var m=getMode(c);var v;if(m==STRICT||m==CONVER)
{var nc=getDest(c,false);var ncl=getDest(c,true);v=getCookieletValue(nc,ncl);v=pareseReg(c,cl,nc,ncl,v);}
else
{v=getCookieletValue(c,cl);}
return v;}
function getCookieletValue(c,cl)
{var cls;if(c=="dp1")
cls="EbayDPCookie";else
cls="EbayCookie";var co=eval("new "+cls+"(c, null, null, '/', null, null, true)");co.read();v=co.getCookielet(cl);return v?v:"";}
function writeCookieletEx(c,cl,v,d,p,e)
{var cls;var m=getMode(c);if(m==STRICT||m==CONVER)
{nc=getDest(c,false);ncl=getDest(c,true);nv=readCookieletEx(nc,ncl);v=buildReg(c,cl,nc,ncl,v,nv);c=nc;cl=ncl;}
if(c=="dp1")
cls="EbayDPCookie";else
cls="EbayCookie";var co=eval("new "+cls+"(c, null, d, p, null, null, true)");co.read();co.addCookielet(cl,v,e);co.set();}
function getMode(c)
{if(!aModes)
fillModes()
t=aModes[c];return(t?t:"");}
function fillModes()
{var h=EbayOldReadMultiCookie("ebay","cv");cL=sConvCookieList.split(",");aModes=new Array();for(i in cL)
{aModes[cL[i]]=(h=="0")?STRICT:"";}
if(h&&h!="0")
{if(h.indexOf(".")!=-1)
{a=h.split(".");for(i in a)
{b=a[i].hex2Dec().toString(2)+b;}}
else
{b=h.hex2Dec().toString(2);}
i=0;l=b.length;for(o in aModes)
{j=l-(2*(i+1));f=b.substring(j,j+2).toString(10);f=(!f)?STRICT:f;aModes[o]=(f.length==1)?"0"+f:f;i++;}}}
function deleteCookieEx(c,d,p)
{writeCookieEx(c,null,d,p,new Date(1),false);}
function pareseReg(c,cl,nc,ncl,v)
{if(c=="reg")
{if(v.indexOf("=")!=-1&&v.indexOf("^")!=-1)
{var a=getSets(v);if(a[cl])
return a[cl][0];}
return"";}
else
return v;}
function buildReg(c,cl,nc,ncl,v,nv)
{if(c!="reg")
return v;var r="";if(nv.indexOf("=")!=-1&&nv.indexOf("^")!=1)
{var a=getSets(nv);if(!a[cl])
a[cl]=new Array();a[cl][0]=v;for(var m in a)
{r+=m+"="+a[m][0]+"^";}}
else
{r=cl+"="+v+"^";}
return"^"+r;}
window.WriteCookie=writeCookieEx;window.ReadCookie=readCookieEx;window.readMultiCookie=EbayReadDPCookielet=readCookieletEx;window.writeMultiCookie=writeCookieletEx;window.DeleteCookie=deleteCookieEx;window.Write2YearCookie=function(c,v,d,p,e,s)
{if(!e)
{td=new Date();y=td.getYear();td.setYear(y+2);e=td.valueOf();}
writeCookieEx(c,v,d,p,e,s)}
var CookieDomain=".ebay.com";var thisHost=location.hostname.toLowerCase();if(thisHost.indexOf(".ebay")>0)
CookieDomain=thisHost.substring(thisHost.indexOf(".ebay"));

//3@@m89

String.prototype.contains=function(pWanted){return(this.indexOf(pWanted)!=-1);}
String.prototype.containsAny=function(){var args=arguments,len=args.length,rv=false;for(var i=0;i<len&&!rv;i++)
rv=(this.indexOf(args[i])!=-1);return rv;}
String.prototype.containsAll=function(){var args=arguments,len=args.length;for(var i=0;i<len;i++)
{if(this.indexOf(args[i])==-1)
return false;}
return true;}
String.prototype.is=function(s){return(this==s);}
String.prototype.isAny=function(){var args=arguments,len=args.length,rv=false;for(var i=0;i<len&&!rv;i++)
rv=(this==args[i]);return rv;}
Number.prototype.dec2Hex=function(){return parseInt(this,10).toString(16)}
String.prototype.hex2Dec=function(){return parseInt(this,16);}
String.prototype.replaceTokens=function()
{var value=this,re,token,len=arguments.length;for(var i=0;i<len;i++)
{token="<#"+(i+1)+"#>";re=new RegExp(token,"gi");if(value.indexOf(token)!=-1)
{value=value.replace(re,arguments[i])}}
return value;}
function ebayStringContains(pSource,pWanted)
{return(pSource.indexOf(pWanted)!=-1);}
window.stringContains=ebayStringContains;function ebayEvalParameters(pStr)
{var str=location.search;if(pStr)
str=pStr;var ps=str.substr(1).split("&"),len=ps.length;for(var i=0;i<len;i++)
{var p=decodeURIComponent(ps[i]).split("=");if(country.isAny("tw","cn","hk"))
p=ps[i].split("=");if(p[1])
{var eStr=p[0]+"=";if((p[1]=="true")||(p[1]=="false")||(p[1]=="null"))
eStr+=p[1]+";";else
{var tmp="",len2=p[1].length;for(var j=0;j<len2;j++)
{if(p[1].charAt(j)=="'")
tmp+="\\'";else if(p[1].charAt(j)=="+")
tmp+=" ";else
tmp+=p[1].charAt(j);}
p[1]=tmp;eStr+="'"+p[1]+"';";}
eval(eStr);}}}
function ebayUpdateLocationVars()
{var qInd=thisPage.indexOf(qstn);if(qInd==-1)
{thisPageURL=thisPage;thisPageURI="";}
else
{thisPageURL=thisPage.substring(0,qInd);thisPageURI=thisPage.substring(qInd);}
qInd=lastPage.indexOf(qstn);if(qInd==-1)
{lastPageURL=lastPage;lastPageURI="";}
else
{lastPageURL=lastPage.substring(0,qInd);lastPageURI=lastPage.substring(qInd);}
var qaCountryDomain=countryDomain,c;country="";for(var i=0;i<countries.length&&(country=="");i++)
{c="."+countries[i][2]+".";if(thisPageURL.containsAny(c,countries[i][0],countries[i][1]))
{countryDomain=countries[i][0];country=countries[i][2];countryDesc=countries[i][3];qaCountryDomain=(c==".us.")?".":c;}}
var isSecure=false;var isQA=thisPageURL.contains(qaDom);if(thisPageURL.indexOf(https)==0)
{isSecure=true;ebInclude="secure"+ebInclude;picsDir="secure"+picsDir;}
if(isQA)
{var qaInd=includeHost.indexOf(qaDom);var dotInd=includeHost.lastIndexOf(dot,qaInd-1)+1;if(dotInd!=0)
qaMachineName=includeHost.substring(dotInd,qaInd);countryDomain=(qaMachineName=="")?"":qaCountryDomain;countryDomain+=qaMachineName+qaDom+ebStr+dotCom+"/";}
var protocol=thisPageURL.substring(0,thisPageURL.indexOf("://")+3);if(!protocol.isAny(http,https))
protocol=http;picsDir=protocol+picsDir;includeDir=protocol+ebInclude+dot;if(isQA)
{if(qaMachineName!="")
includeDir+=qaMachineName+dot;includeDir+="qa"+dot;}
includeDir+=ebStr+"static"+dotCom+"/aw/pics/";cobrandDir=includeDir+"js/cobrand/";countryIncludeDir=includeDir+country+"/js/";countryCobrandDir=countryIncludeDir+"cobrand/";includeDir+="js/";countryDoubleByte=country.isAny("tw","cn","hk");}
function ebayDowngradeDomain()
{var eInd=document.domain.indexOf(ebDom+dot);if(eInd!=-1)
document.domain=new String(document.domain).substr(eInd+1);}
function ebayShowPopupWindow(url,name,width,height,toolbar,location,status,scrollbars,resizable,menubar,left,top,customprops)
{var props="";if(width)props+=",width="+width;if(height)props+=",height="+height;if(toolbar)props+=",toolbar="+toolbar;if(location)props+=",location="+location;if(status)props+=",status="+status;if(scrollbars)props+=",scrollbars="+scrollbars;if(resizable)props+=",resizable="+resizable;if(menubar)props+=",menubar="+menubar;if(left)props+=",screenX="+left+",left="+left;if(top)props+=",screenY="+top+",top="+top;if(customprops)props+=","+customprops;if(props!="")props=props.substring(1);var w=window.open(url,name,props);if(!is.opera&&w&&!w.closed)w.focus();return w;}
function ebaySignInOut(signin,signout,sspagesignin,sspagesignout)
{if(typeof(readCookieEx)!='undefined')
{var url=http+'signin'+countryDomain+'/ws2/eBayISAPI.dll?SignIn';url+='&ssPageName=';var ssp=sspagesignin,sign=signin;if((readCookieEx("ebaysignin")==seoCookIn)||(readCookieEx("keepmesignin")==seoCookIn))
{ssp=sspagesignout;sign=signout;}
var str=seoAOpen+url+ssp+'">'+seoFontOpen+sign;document.write(str+seoFontClose);}}
window.eBaySignInOut=ebaySignInOut;function ebayRegister(text,sspage)
{if(typeof(readCookieEx)!='undefined')
{if((readCookieEx("ebaysignin")!=seoCookIn)||(readCookieEx("keepmesignin")!=seoCookIn))
{var str=seoAOpen+http+'cgi1'+countryDomain+'/aw-cgi/eBayISAPI.dll?SignIn';str+='?RegisterShow&ssPageName="'+sspage+'">'+seoFontOpen;document.write(str+text+seoFontClose);}}}
window.eBayRegister=ebayRegister;function ebayGetUnencodedHost(pURL)
{var dl=document.location,tp=decodeURIComponent(dl);if(tp.contains("_W0QQ"))
{if(tp.split("/").length==4)
{tp=tp.replace(/_W0QQ/,"?");tp=tp.replace(/Z/g,"=");tp=tp.replace(/Q3A/g,":");tp=tp.replace(/Q3a/g,":");tp=tp.replace(/Q3B/g,";");tp=tp.replace(/Q3b/g,";");tp=tp.replace(/QQ/g,"&");}}
return tp;}
function ebayHelpLoadStrings()
{if(typeof(ebay)=="undefined")
{var p=countryIncludeDir.replace("/aw/pics/"+country,"")+"v/"+country+"/features/help/";document.write(scriptOpen+p+"help_strings.js"+scriptClose);}
else
{var oE=ebay.oGlobals.oEnvironment,s=oE.sIncludeHost+"js/"+oE.sTrainId+"/"+oE.sCountry+"/features/help/help_strings"+oE.sJSPackageSuffix;document.write(ebay.oUtils.scriptTag(s));}}
function ebayLoadStandardStyleSheet()
{var s='ebay';if(country.isAny('cn'))
{if(typeof(nodefaultcss)!="undefined")
s+='-nodefault';s+='-mb';}
else if((typeof(nodefaultcss)!="undefined")||thisPageURL.containsAny("forums.","chatboards","answercenter","http://vi.","http://ivi."))
s+='-nodefault';if(country.isAny('tw'))
s+='-tw';else if(is.nav||is.firefox||(document.compatMode&&document.compatMode!="BackCompat"&&thisPageURL.containsAny("forums.","chatboards")))
s+='-ns';if(typeof(ebay)=="undefined")
{document.write('<link rel="stylesheet" type="text/css" href="'+includeHost+'css/v/'+country+"/legacy/"+s+'.css"/>');}
else
{var oE=ebay.oGlobals.oEnvironment;document.write('<link rel="stylesheet" type="text/css" href="'+oE.sCSSPackagesDir+"legacy/"+s+oE.sCSSPackageSuffix+'"/>');}}
var globals;if(globals)
{ebayUpdateLocationVars();var noload=((typeof(noStandardCSS)!="undefined")&&noStandardCSS);if(!noload)ebayLoadStandardStyleSheet();if(thisPageURL.contains("/help/"))
ebayHelpLoadStrings();}
function ebayBustFrames(){var t=top.location;var w=window.location;if(t!=w)
t.replace(w);}
window.bustFrames=ebayBustFrames;(function()
{if(typeof(oHeaderCheck)=="undefined"&&typeof(oHeader)=="undefined")
{var d=document,l=document.location,pro=l.protocol;var fp="";if(pro.indexOf("http")==-1)
pro="http:";ip=pro+"//";if(pro=='https:')ip+="secure";ip+='include'+fp+'.ebaystatic.com/';if(d.getElementById||d.all)
{d.write('<sc'+'ript language="javascript" src="'+ip+'js/v/us/wt/base.js"></sc'+'ript>');window.oHeaderCheck=true;}}})();

//4@@m2
<!--
function isItemNumber(){var form=document.searchform;if(Number(form.query.value)){if(Number(form.query.value)>'99999999'){window.location=form.cgiurl.value+'eBayISAPI.dll?ViewItem&item='+form.query.value;return false;}
else{return true;}}
else{return true;}}

//5@@m2

function popWindow(u,n,o,x,y){var s=o+',width='+x+',height='+y
window.open(u,n,s)}
var popWinJS=1;

//6@@m3

function isItemNumber(form){var val=parseInt(form.query.value);if(!isNaN(val)){if(Number(form.query.value)>'99999999'){window.location=form.cgiurl.value+'eBayISAPI.dll?ViewItem&item='+form.query.value;return false;}
else{return true;}}
else{return true;}}

//7@@m26

var cbc;var focusWin=((navigator.userAgent.toLowerCase().indexOf("msie")==-1)||(parseInt(navigator.appVersion)>=5));function openHelpWindow(pPath)
{document.location.href=pPath;return false;}
function openNonHelpWindow(pPath)
{var win=ebayShowPopupWindow(pPath,"third",400,620,1,1,1,1,1,1);if(focusWin)
win.focus();return false;}
function openContextualHelpWindow(pPath)
{if(!(is.mac&&is.ie))
{ebayDowngradeDomain();}
var w=440,h=500;var win=ebayShowPopupWindow(pPath,"helpwin",w,h,0,0,0,1,1,0,parseInt(screen.availWidth-450),"0");if((!win||win.closed)&&(typeof(ebHelpStrPopupBlocked)=="string"))
{if(typeof(ebay)!="undefined")
ebay.oDocument.messageBox(ebHelpStrPopupBlocked);else
alert(ebHelpStrPopupBlocked);}
return false;}
function openHelpWebTV(pPath)
{document.location.href=pPath;return false;}
if(navigator.appName.indexOf("WebTV")!=-1)
{window.openHelpWindow=window.openNonHelpWindow=window.openContextualHelpWindow=openHelpWebTV;}

//8@@m11

function Pop(path,ficenter,price){if(ficenter!=""){path=path+"?ficenter=1";if(price!=""){path=path+"&price="+price;}else{path=path+"&price=0";}
hw=window.open(path,"MonthlyPaymentCalc","height=400,width=375,status=no,toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=no,titlebar=no");}else{path=path+"?ficenter=";if(price!=""){path=path+"&price="+price;}else{path=path+"&price=0";}
hw=window.open(path,"MonthlyPaymentCalc","height=290,width=375,status=no,toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=no,titlebar=no");}
hw.focus();return false;}
function roundAmount(n){var s=""+Math.round(n*100)/100
var i=s.indexOf('.')
if(i<0)return s+".00"
var t=s.substring(0,i+1)+s.substring(i+1,i+3)
if(i+2==s.length)t+="0"
return t;}
function stripComma(target){if(null!=target)
{splitstring=target.split(",");if(null!=splitstring)
{target=splitstring[0];for(j=1;j<splitstring.length;j++)
{target+=splitstring[j];}}}
return target;}
function stripNonNumeric(pPrice)
{var tmp="",chr;for(var i=0;i<pPrice.length;i++)
{chr=pPrice.charAt(i);if((chr=='.')||!isNaN(parseInt(chr)))
tmp+=chr;}
return tmp;}
function GetYears(months){return months/12;}
function MonthlyPaymentCalc(){price=document.MonthlyPayment.price.value;price=stripComma(price);APR=stripNonNumeric(document.MonthlyPayment.APR.value);payment=document.MonthlyPayment.payment.value;payment=stripComma(payment);for(var i=0;i<document.MonthlyPayment.months.length;i++){if(document.MonthlyPayment.months[i].selected==true){months=document.MonthlyPayment.months[i].value;}}
APR=APR/100;temp1=(1+(APR/12));temp2=GetYears(months);temp3=Math.pow((temp1),-(temp2*12));if(price.indexOf(".")!=-1){_alert("Decimals should not be entered in the total price box");return false;}else if(payment.indexOf(".")!=-1){_alert("Decimals should not be entered in the down payment box");return false;}else{RemainingPayment=price-payment;if(RemainingPayment>0){EstMonthlyPayment=(RemainingPayment*APR)/(12*(1-temp3));EstMonthlyPayment=roundAmount(EstMonthlyPayment);}else{EstMonthlyPayment="0.00";}
document.MonthlyPayment.EstMonthlyPayment.value=EstMonthlyPayment;return false;}}
function _alert(str)
{if(typeof(ebay)!="undefined")
ebay.oDocument.messageBox(str);else
alert(str);}

//9@@m1

function handleSubmit(objName,theHost,siteID)
{if(!siteID)
siteID=0;var isV3=isEncodingEnabled();if(isV3)
{return encodeUrl(theHost,objName,siteID);}
else
{return true;}}
// b=14398900 -->
