rootURLIR = "http://ir.motive.com" //"http://phx.corporate-ir.net/preview"; //http://ir.motive.com

var solutions="class=\"first\"";
var solutionsimg = "solutions";
var partners="";
var partnersimg = "partners";
var customers="";
var customersimg = "customers";
var newsevents="class=\"last\"";
var newseventsimg = "newsevents";
var aboutmotive="";
var aboutmotiveimg = "aboutus";

switch (section)
{
case "solutions":
  solutions="class=\"selected first\"";
  solutionsimg = "solutions_on";
  break
case "partners":
  partners="class=\"selected\"";
  partnersimg = "partners_on";
  break
case "customers":
  customers="class=\"selected\"";
  customersimg = "customers_on";
  break
case "newsevents":
  newsevents="class=\"selected last\"";
  newseventsimg="newsevents_on";
  break
case "aboutus":
  aboutmotive="class=\"selected\"";
  aboutmotiveimg = "aboutus_on";
  break
}

var topNav = "" +
"<ul id=\"navmenu\">"+
"  <li>"+
"	<a title=\"Solutions\" href=\"" + rootURL + "/solutions/solutions.asp\" " + solutions + " hbxrootmenuid=\"//Our Portfolio\" hbxrootmenuorientation=\"down\" name=\"&amp;lid=//Our Portfolio\"><img src=\"" + rootURL + "/images/ENG/nav/" + solutionsimg + ".gif\" alt=\"Solutions\"></a>"+
"  	<ul>"+
"  		<li><a href=\"" + rootURL + "/solutions/solutions.asp\" name=\"&amp;lid=//Solutions//Overview\">Overview</a></li>		"+
"  		<li><a  class=\"parent\"  hbxrootmenuid=\"//Solutions//Digital Home Management\" hbxrootmenuorientation=\"right\" name=\"&amp;lid=//Solutions//Digital Home Management\">Digital Home Management</a>	"+
"			 <ul class=\"larger\">"+
"  			<li><a href=\"" + rootURL + "/solutions/accessnetwork/accessnetwork.asp\" name=\"&amp;lid=//Solutions//Access Network Management \">Access Network Management</a></li>		"+
"  			<li><a href=\"" + rootURL + "/solutions/broadbandsa/broadbandsa.asp\" name=\"&amp;lid=//Solutions//Broadband Services Activation \">Broadband Services Activation</a></li>		"+
"  			<li><a href=\"" + rootURL + "/solutions/broadbandsc/broadbandsc.asp\" name=\"&amp;lid=//Solutions//Broadband Services Care \">Broadband Services Care</a></li>		"+
"  			<li><a href=\"" + rootURL + "/solutions/homenetworking/homenetworking.asp\" name=\"&amp;lid=//Solutions//Home Networking\">Home Network Management</a></li>		"+
"  			<li><a href=\"" + rootURL + "/solutions/homeservice/homeservice.asp\" name=\"&amp;lid=//Solutions//Home Service\">Home Service Management</a></li>		"+
"  			<li><a href=\"" + rootURL + "/solutions/hsi/hsi.asp\" name=\"&amp;lid=//Solutions//HSI ServiceView\">HSI ServiceView</a></li>		"+
"  			<li><a href=\"" + rootURL + "/solutions/iptv/iptv.asp\" name=\"&amp;lid=//Solutions//IPTV Service Assurance\">IPTV ServiceView</a></li>		"+
"  			<li><a href=\"" + rootURL + "/solutions/voIP/voIP.asp\" name=\"&amp;lid=//Solutions//VoIP\">VoIP ServiceView</a></li>		"+
"	      	</ul></li>"+
"  		<li><a  class=\"parent\"   hbxrootmenuid=\"//Solutions//Mobile Broadband Management\" hbxrootmenuorientation=\"right\" name=\"&amp;lid=//Solutions//Mobile Broadband Management\">Mobile Service Management</a>		"+
"			 <ul class=\"larger\">"+
"	      		<li><a href=\"" + rootURL + "/solutions/msm/msm.asp\" name=\"&amp;lid=//Solutions//Mobile Service Management//Service View\">Mobile Broadband ServiceView</a></li>		      "+
"	      		<li><a href=\"" + rootURL + "/solutions/devicecare/devicecare.asp\" name=\"&amp;lid=//Solutions//Mobile Service Management//Device Care\">Mobile Device Management</a></li>		      "+
"	      		<li><a href=\"" + rootURL + "/solutions/fdm/fdm.asp\" name=\"&amp;lid=//Solutions//Mobile Service Management//fdm\">Femtocell Device Management</a></li>		      "+
"	      	</ul></li>"+
"  		<li><a href=\"" + rootURL + "/solutions/standardstechtalk/standardstechtalk.asp\" name=\"&amp;lid=//Solutions//Standards: Tech Talk\">Standards: Tech Talk</a></li>		"+
"  		<li><a href=\"" + rootURL + "/solutions/cec/cec.asp\" name=\"&amp;lid=//Solutions//Customer Experience Center\">Customer Experience Center</a></li>		"+
"  	</ul>"+
"  </li>"+
"  <li><a title=\"Customers\" href=\"" + rootURL + "/customers/customers.asp\" " + customers + " hbxrootmenuid=\"//Customers\" hbxrootmenuorientation=\"down\" name=\"&amp;lid=//Customers\"><img src=\"" + rootURL + "/images/ENG/nav/" + customersimg + ".gif\" alt=\"Customers\"></a>"+
"    <ul>		      "+
"  		<li><a href=\"" + rootURL + "/customers/customers.asp\" name=\"&amp;lid=//Customers//Overview\">Overview</a></li>		"+
"      <li><a href=\"" + rootURL + "/customers/motivecustomercouncil/motivecustomercouncil.asp\" name=\"&amp;lid=//Customers//Motive Customer Council\">Motive Customer Council</a></li>		        "+
"    </ul>"+
"  </li>		"+
"  <li><a style=\"width:127px;\" title=\"Partner Network\" href=\"" + rootURL + "/partners/partners.asp\" " + partners + " hbxrootmenuid=\"//Partner Network\" hbxrootmenuorientation=\"down\" name=\"&amp;lid=//Partner Network\"><img src=\"" + rootURL + "/images/ENG/nav/" + partnersimg + ".gif\" alt=\"Partner Network\"></a>"+
"    <ul  >		      "+
"  		<li><a href=\"" + rootURL + "/partners/partners.asp\" name=\"&amp;lid=//Partner Network//Overview\">Overview</a></li>		"+
"  		<li><a href=\"" + rootURL + "/partners/cpe/motivesmartverificationprogram.asp\"  class=\"parent\"  hbxrootmenuid=\"//Partner Network//MotiveSmart Verification Program\" hbxrootmenuorientation=\"right\" name=\"&amp;lid=//Partner Network//MotiveSmart Verification Program\">MotiveSmart Verification</a>" +
"	      <ul class=\"larger\">"+
"	      	<li><a href=\"" + rootURL + "/partners/cpe/motivesmartverificationprogram.asp\" name=\"&amp;lid=//Partner Network//CPE\">CPE</a></li>		      "+
"	      	<li><a href=\"" + rootURL + "/partners/cpe/mobiledevices.asp\" name=\"&amp;lid=//Partner Network//CPE//Mobile Devices\">Mobile Devices</a></li>		      "+
"	      </ul>"+
"      </li>"+
"      <li><a href=\"" + rootURL + "/partners/industryalliances/industryalliances.asp\" name=\"&amp;lid=//Industry Alliances\">Industry Alliances</a></li>"+
"    </ul>"+
"  </li>"+
"  <li><a style=\"width:105px;\" title=\"About Us\" href=\"" + rootURL + "/aboutmotive/aboutmotive.asp\" " + aboutmotive + " hbxrootmenuid=\"//About Motive\" hbxrootmenuorientation=\"down\" name=\"&amp;lid=//About Motive\"><img src=\"" + rootURL + "/images/ENG/nav/" + aboutmotiveimg + ".gif\" alt=\"About Us\"></a>"+
"  	<ul class=\"smaller\">"+
"  		<li><a class=\"smaller\" href=\"" + rootURL + "/aboutmotive/aboutmotive.asp\" name=\"&amp;lid=//About Motive//Overview\">Overview</a></li>		"+
"  		<li><a class=\"smaller\" href=\"" + rootURL + "/aboutmotive/corporateinformation/factsataglance.asp\">Facts at a Glance</a></li>"+
"  		<li><a class=\"smaller\" href='/aboutmotive/IRProductGroupProfile.asp\' name=\"&amp;lid=//About Motive//Investor Relations\">Investor Relations</a></li>"+
"  		<li><a class=\"smaller\" href=\"" + rootURL + "/aboutmotive/careers/careers.asp\" name=\"&amp;lid=//About Motive//Careers\">Careers</a></li>"+
"  		<li><a class=\"smaller\" href=\"" + rootURL + "/aboutmotive/contact/contact.asp\" name=\"&amp;lid=//About Motive//Contact\">Contact</a></li>"+
"  	</ul>"+
"  </li>		"+
"  <li><a title=\"News and Events\" href=\"" + rootURL + "/newsevents/newsevents.asp\" " + newsevents + " hbxrootmenuid=\"//News and Events\" hbxrootmenuorientation=\"down\" name=\"&amp;lid=//News and Events\"><img src=\"" + rootURL + "/images/ENG/nav/" + newseventsimg + ".gif\" alt=\"News and Events\"></a>"+
"  	<ul class=\"smaller\">"+
"      <li><a class=\"smaller\" href=\"" + rootURL + "/newsevents/pressreleases/pressreleases.asp\" name=\"&amp;lid=//News and Events//Press Releases\">Press Releases</a></li>"+
"      <li><a class=\"smaller\" href=\"" + rootURL + "/newsevents/events/events.asp\" name=\"&amp;lid=//News and Events//Events\">Events</a></li>		     "+
"      <li><a class=\"smaller\" href=\"" + rootURL + "/newsevents/coverage/coverage.asp\" name=\"&amp;lid=//News and Events//Coverage\">Coverage</a></li>		     "+
"      <li><a class=\"smaller\" href=\"" + rootURL + "/newsevents/presskit/presskit.asp\" name=\"&amp;lid=//News and Events//Press Kit\">Press Kit</a></li>"+
"      <li><a class=\"smaller\" href=\"" + rootURL + "/newsevents/prcontacts/prcontacts.asp\" name=\"&amp;lid=//News and Events//PR Contacts\">PR Contacts</a></li>"+
"    </ul>"+
"  </li>"+
"</ul>";

//document.write(topNav);
