// Omniture Vendor Specific File
// Desc: Used to store a single vendors information.
// Vendor: Legacy.com
/////////////////////////////////////////////////////////////////////////////

// Vendor Specific Variables
mistats.pagename        = "Vendor: Legacy.com: ";
mistats.msr             = mistats.bizunit + "|" + mistats.pubname + "|" + "TP-LGY";
mistats.channel         = "Vendor: Legacy";
mistats.contentsource   = mistats.sitename + " : " + "Legacy";
mistats.pagelevel       = "Vendor";

// Taxonomic Variables
mistats.taxonomy        = "News|Local|||";
mistats.altcategories   = "People, Regional";
mistats.keywords        = "";

// New Legacy Code Ticket# 727-7430049  3/24/09  JJ
var url = window.location.pathname;

// Check for Obits
if(url.match(/obituaries/i)) {
    mistats.pagename += "Obituaries";
    mistats.taxonomy = "News|Local|ObitsDeaths||";
}
else if (url.match(/celebrations/i)) {
    mistats.pagename += "Celebrations";
    mistats.taxonomy = "Lifestyle|FamilyRelationships|||";
}
else if (url.match(/deathnotices/i)) {
    mistats.pagename += "Death Notices";
    mistats.taxonomy = "News|Local|ObitsDeaths||";
}
else if (url.match(/publicnotices/i)) {
    mistats.pagename += "Public Notices";
    mistats.taxonomy = "News|Local|||";
}
else if (url.match(/pets/i)) {
    mistats.pagename += "Pets";
    mistats.taxonomy = "Lifestyle|Pets|||";
}
else {
    mistats.pagename += "Other";
    mistats.taxonomy = "News|Local|||";
} 
