if (TransMenu.isSupported()) {
	var ms = new TransMenuSet(TransMenu.direction.down, 1, 0, TransMenu.reference.bottomLeft);
	var menu2 = ms.addMenu(document.getElementById("menuSectors"));
	menu2.addItem("Facilities", "location='http://www.newcenturysoftware.com/sectors/facilities.html'");
	menu2.addItem("Gas Distribution", "location='http://www.newcenturysoftware.com/sectors/gas_distribution.html'");
	menu2.addItem("Gas Transmission Pipelines", "location='http://www.newcenturysoftware.com/sectors/gas_transmission_pipelines.html'");
	menu2.addItem("Gathering Lines", "location='http://www.newcenturysoftware.com/sectors/gathering_lines.html'");
	menu2.addItem("Hazardous Liquid Pipelines", "location='http://www.newcenturysoftware.com/sectors/hazardous_liquid_pipelines.html'");
	menu2.addItem("New Construction", "location='http://www.newcenturysoftware.com/sectors/new_construction.html'");
	menu2.addItem("Offshore Lines", "location='http://www.newcenturysoftware.com/sectors/offshore_lines.html'");
	menu2.addItem("Production Lines", "location='http://www.newcenturysoftware.com/sectors/production_lines.html'");

	//==================================================================================================
	var menu3 = ms.addMenu(document.getElementById("menuProducts"));
	menu3.addItem("Centerline Browser", "location='http://www.newcenturysoftware.com/products/centerline_browser.html'");
	menu3.addItem("Deep Sea Viewer", "location='http://www.newcenturysoftware.com/products/deep_sea_viewer.html'");
	menu3.addItem("Facility Manager", "location='http://www.newcenturysoftware.com/products/facility_manager.html'");
	menu3.addItem("Facility Manager WebEdit", "location='http://www.newcenturysoftware.com/products/facility_manager_webedit.html'");
	menu3.addItem("Gas HCA Analyst", "location='http://www.newcenturysoftware.com/products/gas_hca_analyst.html'");
	menu3.addItem("GPS DataLoader", "location='http://www.newcenturysoftware.com/products/gps_dataloader.html'");
	menu3.addItem("iAlign", "location='http://www.newcenturysoftware.com/products/ialign.html'");
	menu3.addItem("RouteLoad Express", "location='http://www.newcenturysoftware.com/products/routeload_express.html'");
	menu3.addItem("SheetCutter", "location='http://www.newcenturysoftware.com/products/sheetcutter.html'");
	menu3.addItem("SheetCutter Server", "location='http://www.newcenturysoftware.com/products/sheetcutter_server.html'");
	menu3.addItem("Spatial Risk Analyst", "location='http://www.newcenturysoftware.com/products/spatial_risk_analyst.html'");
	menu3.addItem("SpatialSynchronizer", "location='http://www.newcenturysoftware.com/products/spatialsynchronizer.html'");
	menu3.addItem("Spill Impact Analyst", "location='http://www.newcenturysoftware.com/products/spill_impact_analyst.html'");
	menu3.addItem("TemplateDesigner", "location='http://www.newcenturysoftware.com/products/templatedesigner.html'");

	//==================================================================================================
	var menu4 = ms.addMenu(document.getElementById("menuServices"));
	menu4.addItem("Custom Applications", "location='http://www.newcenturysoftware.com/solutions/custom_applications.html'");
	menu4.addItem("Data Conversion", "location='http://www.newcenturysoftware.com/services/data_conversion.html'");
	menu4.addItem("Data Loading", "location='http://www.newcenturysoftware.com/services/data_loading.html'");
	menu4.addItem("Data Model Consulting", "location='http://www.newcenturysoftware.com/services/data_model_consulting.html'");
	menu4.addItem("Data Profiling and Cleansing", "location='http://www.newcenturysoftware.com/services/data_profiling_and_cleansing.html'");
	menu4.addItem("Enterprise GIS Implementation", "location='http://www.newcenturysoftware.com/solutions/enterprise_gis_implementation.html'");
	menu4.addItem("Facility Spill Analysis", "location='http://www.newcenturysoftware.com/services/facility_spill_analysis.html'");
	menu4.addItem("Field Services", "location='http://www.newcenturysoftware.com/services/field_services.html'");
	menu4.addItem("Hosted GIS Services", "location='http://www.newcenturysoftware.com/services/hosted_services.html'");
	menu4.addItem("Integrity Management", "location='http://www.newcenturysoftware.com/services/integrity_management.html'");
	menu4.addItem("Map & Alignment Sheet Generation", "location='http://www.newcenturysoftware.com/services/map_alignment_sheet_generation.html'");
	menu4.addItem("Mapping Services", "location='http://www.newcenturysoftware.com/services/mapping_services.html'");
	menu4.addItem("Risk Assessment", "location='http://www.newcenturysoftware.com/services/risk_assessment.html'");
	menu4.addItem("Template Design", "location='http://www.newcenturysoftware.com/services/template_design.html'");
	menu4.addItem("Training", "location='http://www.newcenturysoftware.com/services/training.html'");

	//==================================================================================================
	var menu5 = ms.addMenu(document.getElementById("menuAbout"));
	menu5.addItem("Careers", "location='http://www.newcenturysoftware.com/about/careers.html'");
	menu5.addItem("Contact", "location='http://www.newcenturysoftware.com/about/contact.html'");
	menu5.addItem("Downloads", "location='http://www.newcenturysoftware.com/download/index.html'");
	menu5.addItem("Management Team", "location='http://www.newcenturysoftware.com/about/management_team.html'");
	menu5.addItem("News & Events", "location='http://www.newcenturysoftware.com/news/index.html'");
	menu5.addItem("Partners", "location='http://www.newcenturysoftware.com/about/partners.html'");
	menu5.addItem("Request Info", "location='http://www.newcenturysoftware.com/about/request_info.html'");
	menu5.addItem("Support", "location='http://www.newcenturysoftware.com/about/client_support.html'");
	menu5.addItem("Why Choose NCS", "location='http://www.newcenturysoftware.com/about/why_choose.html'");

	//==================================================================================================
							
	TransMenu.renderAll();
}
function menuinit() {
	if (TransMenu.isSupported()) {
		TransMenu.initialize();
		
		menu2.onactivate = function() { document.getElementById("menuSectors").className = "hover"; };
		menu2.ondeactivate = function() { document.getElementById("menuSectors").className = ""; };
		
		menu3.onactivate = function() { document.getElementById("menuProducts").className = "hover"; };
		menu3.ondeactivate = function() { document.getElementById("menuProducts").className = ""; };
		
		menu4.onactivate = function() { document.getElementById("menuServices").className = "hover"; };
		menu4.ondeactivate = function() { document.getElementById("menuServices").className = ""; };
		
		menu5.onactivate = function() { document.getElementById("menuAbout").className = "hover"; };
		menu5.ondeactivate = function() { document.getElementById("menuAbout").className = ""; };
		
	}
}