//Get the path of the page.
var sPath = window.location.pathname;
//var sPage = sPath.substring(sPath.lastIndexOf('\\') + 1);
//Get the name of the page from the path. 
var sPage = sPath.substring(sPath.lastIndexOf('/') + 1);

var menuStr;

menuStr =  "Type:Bar,,Arial,8,FFFFFF,1B3C78,Arial,8,FFFFFF,000000,C0D0F0,0007EE,,1,1,2,,,,0,0,6,{},{}\n"

menuStr += "Panel=MainBar\n"
//Change of color for home on navbar when entered into that page
if (sPage == "index.html")
{
	menuStr += "<b><font color=#FFFF00>Home</font></b>^index.html\n"
}
else 
{
	menuStr += "<b>Home</b>^index.html\n"
}

menuStr += "&nbsp;|&nbsp;\n"

//Change of color for analystinsight on navbar when entered into that page
if (sPage == "aboutcs.html")
{
	menuStr += "<b><font color=#FFFF00>About TCS</font></b>^aboutcs.html\n"
}
else
{
	menuStr += "<b>About TCS</b>^aboutcs.html\n"
}

menuStr += "&nbsp;|&nbsp;\n"

//Change of color for visionary research on navbar when entered into that page
if ((sPage == "tcservices.html")||(sPage == "conpensation_con_services.html")||(sPage == "marketsurveys.html"))
{
  menuStr += "<b><font color=#FFFF00>Services</font></b>^tcservices.html^SubMenu2\n"
}
else
{
	menuStr += "<b>Services</b>^tcservices.html^SubMenu2\n"
}

menuStr += "&nbsp;|&nbsp;\n"

//Change of color for visionary research on navbar when entered into that page
if ((sPage == "aboutpace.html")||(sPage == "onlineprodtour.html")||(sPage == "features.html")||(sPage == "watsetsupapart.html")||(sPage == "sysrequirements.html")||(sPage == "casestudy.html")||(sPage == "costsavings.html")||(sPage == "inforequest.html")||(sPage == "abtourfees.html")||(sPage == "faq.html")||(sPage == "questionsuasking.html")||(sPage == "brochure.html"))
{
  menuStr += "<b><font color=#FFFF00>About PACE&trade;</font></b>^aboutpace.html^SubMenu3\n"
}
else
{
	menuStr += "<b>About PACE</b>&trade;^aboutpace.html^SubMenu3\n"
}


menuStr += "&nbsp;|&nbsp;\n"
//Change of color for Knowledge and experience on navbar when entered into that page
if (sPage == "newsletter.html")
{
  menuStr += "<b><font color=#FFFF00>Newsletter Signup</font></b>^newsletter.html\n"
}
else
{
	menuStr += "<b>Newsletter Signup</b>^newsletter.html\n"
}
menuStr += "&nbsp;|&nbsp;\n"

//Change of color for news and events on navbar when entered into that page
if (sPage == "freedownloads.html") 
{
  menuStr += "<b><font color=#FFFF00>Free downloads</font></b>^freedownloads.html\n"
}
else
{
	menuStr += "<b>Free downloads</b>^freedownloads.html\n"
}
menuStr += "&nbsp;|&nbsp;\n"
//Change of color for about the institute on navbar when entered into that page
if (sPage == "whatclientsay.html")
{
  menuStr += "<b><font color=#FFFF00>What our clients have to say</font></b>^whatclientsay.html\n"
}
else
{
	menuStr += "<b>What our clients have to say</b>^whatclientsay.html\n"
}

menuStr += "&nbsp;|&nbsp;\n"

//Change of color for home on navbar when entered into that page
if (sPage == "contactus.html")
{
	menuStr += "<b><font color=#FFFF00>Contact Us</font></b>^contactus.html\n"
}
else 
{
	menuStr += "<b>Contact Us</b>^contactus.html\n"
}

menuStr += "Type:Vertical,,Arial,8,1B3C78,000000,Arial,8,FFFFFF,C0D0F0,FFFFFF,0007EE,111111,0,1,4,,,,10,0,0,{},{}\n"
menuStr += "Panel=SubMenu2\n"
menuStr += "<b>Compensation Consulting Services</b>^conpensation_con_services.html\n"
menuStr += "<b>Compensation Market Surveys</b>^marketsurveys.html\n"
menuStr += "<b>Performance Management Software</b>^aboutpace.html\n"


menuStr += "Type:Vertical,,Arial,8,1B3C78,000000,Arial,8,FFFFFF,C0D0F0,FFFFFF,0007EE,111111,0,1,4,,,,10,0,0,{},{}\n"
menuStr += "Panel=SubMenu3\n"
menuStr += "<b>Online Product Tour</b>^onlineprodtour.html\n"
menuStr += "<b>Features</b>^features.html\n",
menuStr += "<b>PACE&trade; Services - What Sets Us Apart</b>^watsetsupapart.html\n",
menuStr += "<b>System Requirements</b>^sysrequirements.html\n",
menuStr += "<b>Case Studies</b>^casestudy.html\n",
menuStr += "<b>Cost Savings</b>^costsavings.html\n",
menuStr += "<b>Information Request</b>^inforequest.html\n",
menuStr += "<b>Brochure</b>^brochure.html\n",
menuStr += "<b>About Our Fees</b>^abtourfees.html\n",
menuStr += "<b>Frequently Asked Questions (FAQ)</b>^faq.html\n",
menuStr += "<b>Questions You Should Be Asking</b>^questionsuasking.html\n"


//menuStr += "Type:Vertical,,Arial,8,000000,000000,Arial,8,FFFFFF,D9ECE7,FFFFFF,0007EE,111111,1,1,2,,,,10,0,0,{},{}\n"
//menuStr += "Panel=SubMenu4\n"
//menuStr += "<b>.</b>^\n"


//menuStr += "Type:Vertical,,Arial,8,000000,000000,Arial,8,FFFFFF,D9ECE7,FFFFFF,0007EE,111111,1,1,2,,,,10,0,0,{},{}\n"
//menuStr += "Panel=SubMenu5\n"
//menuStr += "<b>.</b>^\n"

//menuStr += "Type:Vertical,,Arial,8,000000,000000,Arial,8,FFFFFF,D9ECE7,FFFFFF,0007EE,111111,1,1,2,,,,10,0,0,{},{}\n"
//menuStr += "Panel=SubMenu6\n"
//menuStr += "<b>.</b>^\n"

/* End of ASP generated script */

