/*********************************************************************** * * Menu workaround for Netliance search functionality.  * 05/11/2006 - Marcel Ray / Buck & Pulleyn * * Moved all original in-line DHTML content to be written by JavaScript. *   ***********************************************************************/// Writes out the necessary DHTML for the slideOutMenusfunction writeNavMenu (){		var navMenusAr = [];		// About Us Menu	navMenusAr["menu1"] = [		{ url: "http://www.pcoreelectric.com/about/index.asp" , label: "Overview" } , 		{ url: "http://www.pcoreelectric.com/about/contact.asp" , label: "Contact Us" } 	];	// Products Menu	navMenusAr["menu2"] = [		{ url: "http://www.pcoreelectric.com/products/index.asp" , label: "Overview" } , 		{ url: "http://www.pcoreelectric.com/products/prcbushings.asp" , label: "15kV-69kV PRC Bushings" } , 		{ url: "http://www.pcoreelectric.com/products/pocbushings.asp" , label: "25kV-500kV POC Bushings" } , 		{ url: "http://www.pcoreelectric.com/products/pocbushings.asp#115" , label: "115kV-500kV POC Series II Bushings" } , 		{ url: "http://www.pcoreelectric.com/products/gsutransformerbushings.asp" , label: "GSU Transformer Bushings" } , 		{ url: "http://www.pcoreelectric.com/products/quicklinkbushings.asp" , label: "Quick Link Bushings" } , 		{ url: "http://www.pcoreelectric.com/products/pcoretestterminals.asp" , label: "PCORE Test Terminals" } , 		{ url: "http://www.pcoreelectric.com/products/bushingRepairService.asp" , label: "Bushing Repair Service" } ,		{ url: "http://www.pcoreelectric.com/products/timeline.asp" , label: "Historical Bushing Timeline" }	];	// Support Menu	navMenusAr["menu3"] = [		{ url: "http://www.pcoreelectric.com/support/index.asp" , label: "Overview" } , 		{ url: "http://www.pcoreelectric.com/support/faqs.asp" , label: "FAQs" } , 		{ url: "http://www.pcoreelectric.com/support/links.asp" , label: "Links" } , 		{ url: "http://www.pcoreelectric.com/support/downloadableDocs.asp" , label: "Downloadable Documents" } , 		{ url: "http://www.pcoreelectric.com/about/contact.asp" , label: "Contact Us" }	];	// Quick Tools Menu	navMenusAr["menu4"] = [		{ url: "http://www.pcoreelectric.com/tools/crossReference.asp" , label: "Bushing Cross Reference" } , 		{ url: "http://www.pcoreelectric.com/tools/searchPCOREBushings.asp" , label: "PCORE Bushing Catalog # Search" } , 		{ url: "http://www.pcoreelectric.com/tools/savingscalculator.asp" , label: "Test Terminal Calculator" } , 		{ url: "http://www.pcoreelectric.com/tools/testTerminalDB.asp" , label: "Test Terminal Database" } , 		{ url: "http://www.pcoreelectric.com/tools/catNoSuffixes.asp" , label: "Catalog Number Suffixes" } , 		{ url: "http://www.pcoreelectric.com/tools/testReports.asp" , label: "Certified Test Reports" } , 		{ url: "http://www.pcoreelectric.com/about/salesRepLocator.asp" , label: "Sales Rep Locator" }	];	// News & Articles Menu	navMenusAr["menu5"] = [		{ url: "http://www.pcoreelectric.com/news/index.asp" , label: "Overview" }	];	// Home Menu	navMenusAr["menu6"] = [	];		// Iterate through menu array and add to HTML variable to dump afterwards	var html = "";	for ( var menuId in navMenusAr )	{		html += '<div id="' + menuId + 'Container">\n';		html += '	<div id="' + menuId + 'Content" class="menu">\n';		html += '		<div class="menuItems">\n';				for ( var i = 0 ; i < navMenusAr[ menuId ].length ; i++ )		{			html += '			<a href="' + navMenusAr[ menuId ][ i ].url + '">' + navMenusAr[ menuId ][ i ].label + '</a>\n';		}		html += '		</div>\n';		html += '	</div>\n';		html += '</div>\n';	}		// Write HTML	document.write( html );	}