var menuMgr = new NlsMenuManager("mgr");
  menuMgr.defaultEffect="fade";
  menuMgr.flowOverFormElement=true;
  
  var menuProd=menuMgr.createMenu("product");
  menuProd.showIcon = true	;
  menuProd.dropShadow("none");
  
  var menuByServ=menuMgr.createMenu("menubyserv");
  menuByServ.showIcon = false;
  menuByServ.dropShadow("none");
  menuByServ.addItem("1", "Campaign Design", "campaign_design.html");
  menuByServ.addItem("2", "Promotion Marcomm", "promotion_marcomm.html");
  menuByServ.addItem("3", "Event Management", "event_management.html");
  menuByServ.addItem("4", "Constituent Management", "constituent_management.html");
  menuByServ.addItem("5", "Wrap-up", "");
  
  var menuByAudience=menuMgr.createMenu("menubyaudience");
  menuByAudience.showIcon = false;
  menuByAudience.dropShadow("none");
  menuByAudience.addItem("1", "Celebrity&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;", "celebrity.html");
  menuByAudience.addItem("2", "NPO", "npo.html");
  menuByAudience.addItem("3", "Brand", "brand.html");
  menuByAudience.addItem("4", "Agency", "agency.html");
  
  var menuServices = menuMgr.createMenu("services");
  menuServices.showIcon = false;
  menuServices.dropShadow("none");
  menuServices.addItem("1", "By Audience", "services_byaudience.html");
  menuServices.addItem("2", "By Service Group", "services_bygroup.html");
 // menuServices.addSubmenu("1", "menubyaudience", false, null, null, [0, 0]);
 // menuServices.addSubmenu("2", "menubyserv", false, null, null, [0, 0]);
  
  var menuAbout = menuMgr.createMenu("about");
  menuAbout.showIcon = false;
  menuAbout.dropShadow("none");
//  menuAbout.addItem("1", "Kompolt Team", "about_team.html");
//  menuAbout.addItem("2", "Kompolt Difference", "about_difference.html");
//  menuAbout.addItem("3", "Keys to Success", "about_keys.html");
//  menuAbout.addItem("4", "Kompolt Press", "about_kompolt_press.html");
  
  var menuClients = menuMgr.createMenu("clients");
  menuClients.showIcon = false;
  menuClients.dropShadow("none");
  menuClients.addItem("1", "Case Studies", "cs13_ukbenz.html");
  menuClients.addItem("2", "Testimonials", "clients_testimonials.html");
//  menuClients.addItem("3", "Press &amp; News&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;", "clients_news.html");
  menuClients.addItem("4", "Client List", "clients_bragwall_brands.html");
  
  var menuAuctions = menuMgr.createMenu("auctions");
  menuAuctions.showIcon = false;
  menuAuctions.dropShadow("none");
  menuAuctions.addItem("1", "Current", "auctions.html");
  menuAuctions.addItem("2", "Upcoming&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;", "auctions_upcoming.html");
//  menuAuctions.addItem("3", "Past", "auctions_past.html");
  
  var menuBar = menuMgr.createMenubar("menubar");
  menuBar.stlprf="horz_";
  menuBar.orient = "H";
  menuBar.showIcon = true;
  menuBar.showSubIcon = false;
  menuBar.dropShadow("none");
/*
  menuBar.addItem("1", "", "", ["images/about.gif","images/about_over.gif"], true, null, null);
  menuBar.addItem("2", "", "", ["images/services.gif","images/services_over.gif"], true, null, null);
  menuBar.addItem("3", "", "", ["images/clients.gif","images/clients_over.gif"], true, null, null);
  menuBar.addItem("4", "", "", ["images/auctions.gif","images/auctions_over.gif"], true, null, null);
  menuBar.addItem("5", "", "", ["images/contact.gif","images/contact_over.gif"], true, null, null);
  menuBar.addSubmenu("1", "about", false, null, null, [0, 0]);
  menuBar.addSubmenu("2", "services", false, null, null, [0, 0]);
  menuBar.addSubmenu("3", "clients", false, null, null, [0, 0]);
  menuBar.addSubmenu("4", "auctions", false, null, null, [0, 0]);
*/
	var category = this.pageCategoryID;
	
	if (category != null ) {  // be sure var exists
		if (category =='about'){
		  menuBar.addItem("1", "", "about.html", ["images/about_on.gif","images/about_on.gif"], true, null, null);
		} else {
		  menuBar.addItem("1", "", "about.html", ["images/about.gif","images/about_over.gif"], true, null, null);
		}

		if (category =='services'){
		  menuBar.addItem("2", "", "services.html", ["images/services_on.gif","images/services_on.gif"], true, null, null);
		} else {
		  menuBar.addItem("2", "", "services.html", ["images/services.gif","images/services_over.gif"], true, null, null);
		}

		if (category =='clients'){
		  menuBar.addItem("3", "", "clients.html", ["images/clients_on.gif","images/clients_on.gif"], true, null, null);
		} else {
		  menuBar.addItem("3", "", "clients.html", ["images/clients.gif","images/clients_over.gif"], true, null, null);
		}

		if (category =='auctions'){
		  menuBar.addItem("4", "", "auctions.html", ["images/auctions_on.gif","images/auctions_on.gif"], true, null, null);
		} else {
		  menuBar.addItem("4", "", "auctions.html", ["images/auctions.gif","images/auctions_over.gif"], true, null, null);
		}

		if (category =='contact'){
		  menuBar.addItem("5", "", "contact.html", ["images/contact_on.gif","images/contact_on.gif"], true, null, null);
		} else {
		  menuBar.addItem("5", "", "contact.html", ["images/contact.gif","images/contact_over.gif"], true, null, null);
		}
	} else {
		  menuBar.addItem("1", "", "about.html", ["images/about.gif","images/about.gif"], true, null, null);
		  menuBar.addItem("2", "", "services.html", ["images/services.gif","images/services_over.gif"], true, null, null);
		  menuBar.addItem("3", "", "clients.html", ["images/clients.gif","images/clients_over.gif"], true, null, null);
		  menuBar.addItem("4", "", "auctions.html", ["images/auctions.gif","images/auctions_over.gif"], true, null, null);
		  menuBar.addItem("5", "", "contact.html", ["images/contact.gif","images/contact_over.gif"], true, null, null);
	}
	
menuBar.addSubmenu("1", "about", false, null, null, [0, 0]);
//menuBar.addSubmenu("2", "services", false, null, null, [0, 0]);
menuBar.addSubmenu("3", "clients", false, null, null, [0, 0]);
menuBar.addSubmenu("4", "auctions", false, null, null, [0, 0]);

	function makeTrans(){
		if ($('actmn_about')) {
			new Effect.Opacity("actmn_about", {duration:0.5, from:1.0, to:0.8});
		}

		if ($('actmn_product')) {
			new Effect.Opacity("actmn_product", {duration:0.5, from:1.0, to:0.8});
		}

		if ($('actmn_menubyserv')) {
			new Effect.Opacity("actmn_menubyserv", {duration:0.5, from:1.0, to:0.8});
		}

		if ($('actmn_menubyaudience')) {
			new Effect.Opacity("actmn_menubyaudience", {duration:0.5, from:1.0, to:0.8});
		}

		if ($('actmn_services')) {
			new Effect.Opacity("actmn_services", {duration:0.5, from:1.0, to:0.8});
		}

		if ($('actmn_clients')) {
			new Effect.Opacity("actmn_clients", {duration:0.5, from:1.0, to:0.8});
		}

		if ($('actmn_auctions')) {
			new Effect.Opacity("actmn_auctions", {duration:0.5, from:1.0, to:0.8});
		}
	}