var strCompleteURL = window.location.href.toLowerCase();
var strPathName = window.location.pathname.toLowerCase();
var strQueryString = strCompleteURL.substr(strCompleteURL.indexOf("?")+1);
	/* alert(strPathName); */
if ( (strPathName == "/root/catalog.asp") || (strPathName == "/root/package.asp") )
{
	document.write("<style type='text/css'>ul#navMain li#navProducts a {color: #ffcc00;}</style>"); 
}
if (strPathName =="/virusinfo/default.asp")
{
	document.write("<style type='text/css'>ul#navMain li#navVirus a {color: #ffcc00;}</style>"); 
}

/* if (strPathName =="/root/register.asp")
{
	document.write("<style type='text/css'>#globalnav, #aboutmcafee, #contactus, #global-search, #purchaseFlow, #nav-segment, #nav-personal{display: none!important;}#navProducts, #navVirus, #navStore, #navSupport, #navDownloads{visibility: hidden !important}</style>"); 
} */

if (strPathName == "/root/support.asp")
{
	document.write("<style type='text/css'>ul#navMain li#navSupport a {color: #ffcc00;}</style>"); 
}
if (strPathName == "/root/login.asp")
{
	document.write("<style type='text/css'>ul#navMain li#navLogin a {color: #ffcc00;}</style>"); 
}
if (strPathName == "/root/basket.asp")
{
	document.write("<style type='text/css'>ul#navMain li#navCart a {color: #ffcc00;}</style>"); 
}
if (strPathName == "/root/myaccount.asp")
{
	document.write("<style type='text/css'>ul#navMain li#navAccount a {color: #ffcc00;}</style>"); 
}
if (strPathName == "/root/myaccountinfo.asp")
{
	document.write("<style type='text/css'>ul#navMain li#navAccount a {color: #ffcc00;}</style>"); 
}
if (strPathName == "/root/changeprofileinfo.asp")
{
	document.write("<style type='text/css'>ul#navMain li#navAccount a {color: #ffcc00;}</style>"); 
}
if (strPathName == "/root/accounthistorydetails.asp")
{
	document.write("<style type='text/css'>ul#navMain li#navAccount a {color: #ffcc00;}</style>"); 
}
if (strCompleteURL.substring(0,15) == "http://download")
{
	document.write("<style type='text/css'>ul#navMain li#navDownloads a {color: #ffcc00;}</style>"); 
}
if (strCompleteURL.substring(0,15) == "http://dispatch")
{
	document.write("<style type='text/css'>ul#navMain li#navVirus a {color: #ffcc00;}</style>"); 
}