/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout)
*************************************/

var aboutuson = "";
if (document.mainMenu.pageID.value=="About_Us") {
  aboutuson = "_on";
}

//NOTE: webroot variable is in the mainnav.inc and mainnav_homepage.inc
oCMenu.makeMenu('top0','','About Us',webroot+'About_Us/','','100','27',webroot+'images/Navigation/aboutus'+aboutuson+'.gif',webroot+'images/Navigation/aboutus_on.gif')
  oCMenu.makeMenu('sub00','top0','Company Overview',webroot+'About_Us/','','124','')
//  oCMenu.makeMenu('sub01','top0','Executive Team',webroot+'About_Us/Exec_team.asp','','124','')
//  oCMenu.makeMenu('sub02','top0','Investors',webroot+'About_Us/Investors.asp','','124','')
//  oCMenu.makeMenu('sub03','top0','Board of Directors',webroot+'About_Us/Board.asp','','124','')
  oCMenu.makeMenu('sub04','top0','Employment',webroot+'About_Us/Employment/','','124','')
      oCMenu.makeMenu('subsub00','sub04','Positions Available',webroot+'About_Us/Employment/Positions.asp','','124','')
      oCMenu.makeMenu('subsub01','sub04','Benefits',webroot+'About_Us/Employment/Benefits.asp','','124','')
      oCMenu.makeMenu('subsub02','sub04','Culture',webroot+'About_Us/Employment/Culture.asp','','124','')

var productson = "";
if (document.mainMenu.pageID.value=="Products") {
  productson = "_on";
}
oCMenu.makeMenu('top1','','Products',webroot+'products/','','112','27',webroot+'images/Navigation/products'+productson+'.gif',webroot+'images/Navigation/products_on.gif')
  oCMenu.makeMenu('sub10','top1','Visual Net',webroot+'products/','','124','')
  oCMenu.makeMenu('sub11','top1','FAQ',webroot+'products/FAQ.asp','','124','')

    //oCMenu.makeMenu('subsub11_1','sub11','Interface','/aboutmake/careers.shtml','','124','')

    oCMenu.makeMenu('sub12','top1','Professional Services',webroot+'products/services.asp','','124','')
  oCMenu.makeMenu('sub13','top1','Customer Advisory Board',webroot+'products/customer_involvement.asp','','124','')

	
var customerson = "";
if (document.mainMenu.pageID.value=="Customers") {
  customerson = "_on";
}
oCMenu.makeMenu('top2','','Customers',webroot+'customers/','','118','27',webroot+'images/Navigation/customers'+customerson+'.gif',webroot+'images/Navigation/customers_on.gif')
  oCMenu.makeMenu('sub20','top2','Our Customers',webroot+'customers/','','124','')
        oCMenu.makeMenu('sub21','top2','Support',webroot+'customers/support.asp','','124','')


var partnerson = "";
if (document.mainMenu.pageID.value=="Partners") {
  partnerson = "_on";
}
oCMenu.makeMenu('top3','','Partners',webroot+'partners/','','106','27',webroot+'images/Navigation/partners'+partnerson+'.gif',webroot+'images/Navigation/partners_on.gif')
  oCMenu.makeMenu('sub30','top3','Overview',webroot+'partners/','','124','')		
  oCMenu.makeMenu('sub31','top3','Our Partners',webroot+'partners/Our_Partners/','','124','')	


var newson = "";
if (document.mainMenu.pageID.value=="Press") {
  newson = "_on";
}
oCMenu.makeMenu('top4','','News',webroot+'Press/','','81','27',webroot+'images/Navigation/news'+newson+'.gif',webroot+'images/Navigation/news_on.gif')
  oCMenu.makeMenu('sub40','top4','Press Releases',webroot+'Press/','','124','')
  oCMenu.makeMenu('sub41','top4','Press Archives',webroot+'Press/Archives/','','124','')
  oCMenu.makeMenu('sub42','top4','Media Coverage',webroot+'Press/In_The_News.asp','','124','')
  oCMenu.makeMenu('sub43','top4','Awards',webroot+'Press/Awards.asp','','124','')

var contacton = "";
if (document.mainMenu.pageID.value=="Contact") {
  contacton = "_on";
}
oCMenu.makeMenu('top5','','Contact',webroot+'contact/','','105','27',webroot+'images/Navigation/contact'+contacton+'.gif',webroot+'images/Navigation/contact_on.gif')
  oCMenu.makeMenu('sub50','top5','Contact Us',webroot+'contact/','','124','')
//  oCMenu.makeMenu('sub51','top5','Directions',webroot+'contact/directions.asp','','124','')
	
oCMenu.construct()
