//<!--
//1@@m10

function EbayHTMLAnchor(pParent,pName,pDisabled,pCfg)
{if(!this.objType)
this.objType="EbayHTMLAnchor";this.base=EbayHTML;this.base(pParent,pName,pName,pDisabled,pCfg);this.getElem=ebHTMLAnchorGetElem;this.enableBase=this.enable;this.enable=ebHTMLAnchorEnable;this.subscribeEvents("onclick");}
function ebHTMLAnchorGetElem(pName)
{var d=this.oDocument.doc,l=null;l=d.links[pName];if(l)return l;if(d.getElementById)
l=d.getElementById(pName);if(l)return l;if(d.all)
l=d.all[pName];if(l)return l;if(d.layers)
{var lyrs=d.layers;var len=lyrs.length;for(var i=0;i<len;i++)
{l=this.getElem(lyrs[i].document,pName);if(l)
return l;}}
for(var j=0;j<d.links.length;j++)
{l=d.links[j];if(typeof(l.name)=="undefined")
{if(l.onclick)
{var oc=l.onclick.toString();if(oc.indexOf("{#"+pName+"#}")!=-1)
return l;}}
else
{if(l.name==pName)
return l;}
l=null;}
return l;}
function ebHTMLAnchorEnable(pEnable)
{var cur=(pEnable)?"hand":"default";var el=this.eElem;if(el&&el.style)
{el.style.cursor=cur;el.style.color=pEnable?"":"gray";}
this.enableBase(pEnable);}
function setEbayLink(pS)
{return true;}

//2@@m2

ebay.oDocument.oPage.initShowHide=function()
{var oC=this.parent.getConfig('showHideConfig');if(oC)
{with(this)
{var aDivs=oC.aDivs;this.oCustomControls=[];this.sShowText=oC.sShowText;this.sHideText=oC.sHideText;this.oLeastNodes=[];this.sExceptionDiv=oC.aExceptionalDiv;this.sEnableClass=oC.sEnableClass;this.sDisableClass=oC.sDisableClass;for(var i=0;i<aDivs.length;i++)
oCustomControls[i]=new EbayCustomControl(this,i,aDivs[i][0],aDivs[i][1],aDivs[i][2]);if(oC.aLeastNodes)
{this.sMouseOverClr=oC.sMouseOverClr;this.sMouseOutClr=oC.sMouseOutClr;for(var i=0;i<oC.aLeastNodes.length;i++)
{this.oLeastNodes[i]=new EbayHTMLLayer(this,oC.aLeastNodes[i]);this.oLeastNodes[i].bind();this.oLeastNodes[i].subscribeEvents("onmouseover");this.oLeastNodes[i].subscribeEvents("onmouseout");this.oLeastNodes[i].onmouseover=function()
{this.eElem.style.backgroundColor=this.parent.sMouseOverClr;}
this.oLeastNodes[i].onmouseout=function()
{this.eElem.style.backgroundColor=this.parent.sMouseOutClr;}}}}}
function EbayCustomControl(pParent,pName,pTitleLyr,pSubTierLyr,pImglyr)
{if(!this.objType)
this.objType="EbayCustomControl";this.base=EbayBaseControl;this.base(pParent,pName);this.oTitleDiv=new EbayHTMLLayer(this,pTitleLyr);this.oSubTierDiv=new EbayHTMLLayer(this,pSubTierLyr);this.oImgDiv=new EbayHTMLLayer(this,pImglyr);this.oTitleDiv.bind();this.oSubTierDiv.bind();this.oImgDiv.bind();var p=this.parent;if(p.sExceptionDiv!=this.oSubTierDiv.name)
{this.oSubTierDiv.show(false);this.oTitleDiv.setClass(p.sDisableClass);this.oImgDiv.eElem.src=p.sHideText;}
else
{this.oTitleDiv.setClass(p.sEnableClass);this.oImgDiv.eElem.src=p.sShowText;}
this.oTitleDiv.subscribeEvents("onclick");this.oTitleDiv.onclick=function()
{var p=this.parent,pp=p.parent;if(p.oSubTierDiv.eElem.style.display=="none")
{p.oSubTierDiv.show(true);p.oImgDiv.eElem.src=pp.sShowText;this.setClass(pp.sEnableClass);}
else
{p.oSubTierDiv.show(false);p.oImgDiv.eElem.src=pp.sHideText;this.setClass(pp.sDisableClass);}}}}
ebay.oDocument.oPage.initMoreItems=function()
{var oC=this.parent.getConfig('showMoreItems');if(oC)
{this.oMoreItemControls=[];var aDivs=oC.aMoreItemsDiv;for(var i=0;i<aDivs.length;i++)
this.oMoreItemControls[i]=new EbayMoreItemsControl(this,i,aDivs[i][0],aDivs[i][1],aDivs[i][2]);}
function EbayMoreItemsControl(pParent,pName,pItemLyr,pMoreTxtLyr,pAnchor)
{if(!this.objType)
this.objType="EbayMoreItemsControl";this.base=EbayBaseControl;this.base(pParent,pName);this.oMoreItemsDiv=new EbayHTMLLayer(this,pItemLyr);this.oMoreLinkDiv=new EbayHTMLAnchor(this,pMoreTxtLyr);this.oAnchorID=new EbayHTMLAnchor(this,pAnchor);this.oMoreLinkDiv.bind();this.oMoreItemsDiv.bind();this.oAnchorID.bind();this.oMoreLinkDiv.show(true);this.oMoreItemsDiv.show(false);this.oAnchorID.onclick=function()
{this.parent.oMoreItemsDiv.show(true);this.parent.oMoreLinkDiv.show(false);}}}
// b=10633012 -->