//<!--
//\include\js\stats\_base\ssPageType.js@@\main\4

function ebSCOSetDefaultObjectProperties()
{this.pageNameCountrySite="";this.ssADMEC=this.biboArr=this.segFArr=this.SBR=this.FND2=this.domValue="";this.customFunctions=new Array;this.cookieNames=new Array;this.addCookieName=ebSCOAddCookieName;this.registerFunction=ebSCORegisterFunction;this.debug=new Function("");}
ebSCObject.setDefaultObjectProperties=ebSCOSetDefaultObjectProperties;function ebSCORegisterFunction(pName)
{this.customFunctions[this.customFunctions.length]=pName;eval("this."+pName+"="+pName+";");}
function ebSCOAddCookieName(pName,pInSSCookie)
{this.cookieNames[pName]=pInSSCookie;}
function ebSCOGetAndSetPageName()
{this.setDefaultObjectProperties();var pn=document.title,un="undefined";if((typeof(pageName)!=un)&&(pageName!="document.title"))
pn=pageName;this.pageNameCountrySite=this.country+pn;with(this.filesObj)
{var p=parent;var pnl=pn.toLowerCase(),pg=p.page,ed=eventsDir;var pnd=pageNamesDir,prd=propertyReportsDir,cd=cookiesDir;add(prd+"ssError");add(cd+"ssHomepageWrite",prd+"ssHomepage",cd+"ssHomepageRead");if((typeof(keyword)!=un)&&keyword)
add(cd+"ssKeyword");p.addCookieName("ssSBR",true);if(typeof(SBR)!=un)
add(cd+"ssSBRWrite");p.addCookieName("ssFND2",true);if(typeof(FND2)!=un)
add(cd+"ssFND2Write");add(featureDir+"bibo/ssBibo");p.addCookieName("ADME",true);if(pg.contains("adme:"))
add(cd+"ssADMEWrite");add(prd+"ssCommonSSPagename",prd+"ssSSPagename");if(pg.contains("sspagename="))
{if(pg.contains("mops"))
add(prd+"ssSSPagenameMOPs",cd+"ssSSPagenameMOPs");add(cd+"ssSSPagename");writeLL=true;}
p.addCookieName("lastList",true);if(pnl.containsAny('viewuserpage','aboutmystore','storefrontlistings','pagestorefrontlistings','storeinternalsearchresults','storebinitemsearchresults')||(typeof(writeLL)!=un))
add(cd+"ssLastListWrite");if(pnl.contains('viewitem'))
{add(pnd+"ssViewItem",prd+"ssViewItem",ed+"ssViewItem",cd+"ssSearchListingsViewItem");}
if(pnl.containsAny('search','listings'))
{this.addSBRPropReportFiles();add(prd+"ssSearchListings",cd+"ssSearchListingsViewItem");}
if(pnl.containsAny('productpage','storesearch','pageviewsellersotheritems'))
this.addSBRPropReportFiles();if(pnl.containsAny('bincongrats','acceptbid'))
{p.ssADMEC="B";add(prd+"ssViewItem",cd+"ssLastListRead",cd+"ssADMERead",ed+"ssCommonBinBidConfirm");var f="d";if(pnl.contains('bincongrats'))f="n";add(ed+"ssBi"+f+"Confirm");p.addFND2PropReportFiles();add(prd+"ssCommonSBRFND2",prd+"ssSBRBid");}
if((pnl=='pagemakebid')||(pnl=='pagebinverify'))
{add(ed+"ssCommonAttemptBinBid");var f="d";if(pnl=='pagebinverify')f="n";add(ed+"ssAttemptBi"+f);}
if(pnl.contains('watchconfirm'))
{add(ed+"ssWatchConfirm");p.addFND2PropReportFiles();}
if(pnl.containsAny('pageaddnewitem','pagesyi_confirm'))
{p.ssADMEC="L";add(ed+"ssListingConfirm",cd+"ssADMERead");}
if(pnl.containsAny('registersuccess','registercongrats','registeraolcongrats'))
{p.ssADMEC="R";add(ed+"ssRegisterSuccess");}
if(p.ssADMEC!="")
add(cd+"ssADMERead");if(pnl.contains('pageregisterenterinfo'))
add(ed+"ssRegisterEnter");if(pnl.contains('pageregisterconfirmemail'))
add(ed+"ssRegisterConfirm");pn=p.setOtherPagenames(pnl,pn);if((typeof(pfType)!=un)&&pfType)
add(prd+"ssProductFinder");if((typeof(relatedStores)!=un)&&(relatedStores==1))
add(prd+"ssRelatedStores");if((pnl.containsAny('checkoutreview','checkout_challenge'))&&(country=="us"||country=="uk"))
add(ed+"ssCheckout");}
this.pageName=this.country+pn;}
ebSCObject.getAndSetPageName=ebSCOGetAndSetPageName;function ebSCOAddSBRPropReportFiles()
{with(this.filesObj)
{var prd=propertyReportsDir;add(prd+"ssCommonSBRFND2",prd+"ssSBR");}}
ebSCObject.addSBRPropReportFiles=ebSCOAddSBRPropReportFiles;function ebSCOAddFND2PropReportFiles()
{with(this.filesObj)
{var prd=propertyReportsDir;add(prd+"ssCommonSBRFND2",prd+"ssFND2");}}
ebSCObject.addFND2PropReportFiles=ebSCOAddFND2PropReportFiles;function ebSCOSetOtherPagenames(pPnl,pPn)
{var tp=this.page,rv=pPn;if((pPnl=="pagesignin")&&(ReadCookie("ebaysignin")=="in"))rv="PageSignOut";if(tp.contains('liveauctions.'))rv="LiveAuctions:"+rv;if(tp.containsAny("searchcat","&pilot"))rv+=":CIS";if(tp.contains("&allcats"))rv+=":AllCats";if(tp.contains("&mocat"))rv+=":MoreCats";if(tp.contains("&top10"))rv+=":Top10";return rv;}
ebSCObject.setOtherPagenames=ebSCOSetOtherPagenames;
// -->

