if (TransMenu.isSupported()) {
var ms = new TransMenuSet(TransMenu.direction.down, 0,0, TransMenu.reference.bottomLeft);

var menuABOUT = ms.addMenu(document.getElementById("menuABOUT"));

    /*IMPORTANT: the extra item/variable "0" is not supported in the transmenujs used here to support it for blank page have to change code*/
	menuABOUT.addItem("Corporate Overview", "About_Corporate.html", "0");
	menuABOUT.addItem("Leadership", "About_Leadership.html", "0");
	menuABOUT.addItem("Prequalification/Certification", "About_Certifications.html", "0");
	menuABOUT.addItem("Service Brochures", "About_Brochures.html", "0");
	menuABOUT.addItem("Locations", "About_Locations.html", "0");
	menuABOUT.addItem("How to Contact Us", "Contacts.html", "0");
	
	
	
		//For additionalsubmenu
	
//		var submenu0 = menuABOUT.addMenu(menuABOUT.items[4]);
//		submenu0.addItem("KSE – Newark, NJ", "About_Locations_NJ.html", "");
//		submenu0.addItem("KSE – New York City, NY", "About_Locations_NY.html", "");
//		submenu0.addItem("KSE – Phidelphia, PA", "About_Locations_PA.html", "");
//		submenu0.addItem("KSE – Smithville, NJ", "About_Locations_SM.html", "");

	
	
var menuSER = ms.addMenu(document.getElementById("menuSER"));
	menuSER.addItem("Civil Engineering", "Ser_Civil.html", "0");
	menuSER.addItem("Structural Engineering", "Ser_Structural.html", "0");
	menuSER.addItem("Condition Inspection", "Ser_Condition.html", "0");
	menuSER.addItem("Survey & Mapping", "Ser_Survey.html", "0");
	menuSER.addItem("GIS / Asset Management", "Ser_Gis.html", "0");
	menuSER.addItem("Traffic / Transportation Engineering", "Ser_Traffic.html", "0");
	menuSER.addItem("Landscape Architectural Services", "Ser_Landscape.html", "0");
	menuSER.addItem("Roadway / Site Lighting", "Ser_Lighting.html", "0");
	menuSER.addItem("Geotechnical Engineering", "Ser_Geotech.html", "0");
	menuSER.addItem("Construction Inspection & Management", "Ser_Construction.html", "0");
	menuSER.addItem("CADD Conversion & 3D Animation", "Ser_Cadd.html", "0");
	menuSER.addItem("Design / Build", "Ser_Design-Build.html", "0");
	
var menuMAR = ms.addMenu(document.getElementById("menuMAR"));
	menuMAR.addItem("Roads & Bridges", "Mar_Roads.html", "0");
	menuMAR.addItem("Transportation Hubs and Facilities", "Mar_Transport.html", "0");
	menuMAR.addItem("Rail/Transit Facilities", "Mar_Rail.html", "0");
	menuMAR.addItem("Ports & Commerce Facilities", "Mar_Port.html", "0");
	menuMAR.addItem("Parking Facilities", "Mar_Parking.html", "0");
	menuMAR.addItem("K thru 12 Facilities", "Mar_Kthru.html", "0");
	menuMAR.addItem("Higher Education Facilities", "Mar_Education.html", "0");
	menuMAR.addItem("Healthcare Facilities", "Mar_Health.html", "0");
	menuMAR.addItem("Laboratories & Science Facilities", "Mar_Science.html", "0");	
	menuMAR.addItem("Residential and Housing Development", "Mar_Residence.html", "0");	
	menuMAR.addItem("Sports / Entertainment Complex", "Mar_Sports.html", "0");	
	menuMAR.addItem("Retail & Commercial Development", "Mar_Retail.html", "0");	
	menuMAR.addItem("BRAC (Base Realignment & Closure)", "Mar_BRAC.html", "0");	

var menuCAR = ms.addMenu(document.getElementById("menuCAR"));
	menuCAR.addItem("Corporate Culture", "Career_Corporate.html", "0");
	menuCAR.addItem("Employee Benefits", "Career_Benefits.html", "0");
	menuCAR.addItem("Current Openings", "Career_Openings.html", "0");
	menuCAR.addItem("Submit Resume", "Career_Resume.html", "0");
	
var menuNEWS = ms.addMenu(document.getElementById("menuNEWS"));
	menuNEWS.addItem("KSE in the News", "News_KSEnews.html", "0");
	menuNEWS.addItem("Awards & Achievements", "News_Awards.html", "0");
	menuNEWS.addItem("Clients", "News_Clients.html", "0");
	menuNEWS.addItem("Resource Library", "under_cons.html", "0");
	
var menuLOGIN = ms.addMenu(document.getElementById("menuLOGIN"));
    /*User created for target blank page also transblank class is created in transmenu.css*/
    menuLOGIN.addItem("<span class='transblank'><a href='ftp://ftp.kseng.com/' target='_blank'>Client Login (Ftp Site)</a></span>", "#");
	menuLOGIN.addItem("Employee Corner", "under_cons.html", "0");
	menuLOGIN.addItem("<span class='transblank'><a href='http://mail.kseng.com/exchange/' target='_blank'>Outlook Webmail</a></span>", "#");
	menuLOGIN.addItem("<span class='transblank'><a href='http://infocus.kseng.com/infocus/' target='_blank'>InFocus Login</a></span>", "#");
	
	
	




function init() {
if (TransMenu.isSupported()) {
TransMenu.initialize();

//The menus which has no child menu 

document.getElementById("menuHOME").onmouseover = function() {ms.hideCurrent();this.className = "hover";}
document.getElementById("menuHOME").onmouseout = function() { this.className = ""; }
document.getElementById("menuCON").onmouseover = function() {ms.hideCurrent();this.className = "hover";}
document.getElementById("menuCON").onmouseout = function() { this.className = ""; }


//The menus which has child menu

 menuLOGIN.onactivate = function() {document.getElementById("menuLOGIN").className = "hover"; };
 menuLOGIN.ondeactivate = function() {document.getElementById("menuLOGIN").className = ""; };
 menuNEWS.onactivate = function() {document.getElementById("menuNEWS").className = "hover"; };
 menuNEWS.ondeactivate = function() {document.getElementById("menuNEWS").className = ""; };
 menuCAR.onactivate = function() {document.getElementById("menuCAR").className = "hover"; };
 menuCAR.ondeactivate = function() {document.getElementById("menuCAR").className = ""; };
 menuABOUT.onactivate = function() {document.getElementById("menuABOUT").className = "hover"; };
 menuABOUT.ondeactivate = function() {document.getElementById("menuABOUT").className = ""; };
 menuSER.onactivate = function() {document.getElementById("menuSER").className = "hover"; };
 menuSER.ondeactivate = function() {document.getElementById("menuSER").className = ""; };
 menuMAR.onactivate = function() {document.getElementById("menuMAR").className = "hover"; };
 menuMAR.ondeactivate = function() {document.getElementById("menuMAR").className = ""; };

}}



TransMenu.dingbatSize = 0;
TransMenu.spacerGif = "images_transmenu/x.gif";				// path to a transparent spacer gif
TransMenu.dingbatOn = "images_transmenu/submenu-on.gif";   	// path to the active sub menu dingbat
TransMenu.dingbatOff = "images_transmenu/submenu-off.gif"; 	// path to the inactive sub menu dingbat
TransMenu.sub_indicator = true;
TransMenu.menuPadding = 0;				// padding between menu border and items grid
TransMenu.itemPadding = 0;				// additional padding around each item CONTROLS RIGHT of Submenu ITEM icon
TransMenu.shadowSize = 0;				// size of shadow under menu
TransMenu.shadowOffset = 3;				// distance shadow should be offset from leading edge
TransMenu.shadowColor = "";			// color of shadow (transparency is set in CSS)
TransMenu.shadowPng = "";				// a PNG graphic to serve as the shadow for mac IE5
TransMenu.backgroundColor = "#3a6383";  // color of the background (transparency set in CSS) //important backgrouncolor of ver menu block it is needed to control opacity
TransMenu.backgroundPng = "";			// a PNG graphic to server as the background for mac IE5
TransMenu.hideDelay = 400;				// number of milliseconds to wait before hiding a menu
TransMenu.slideTime = 400;				// number of milliseconds it takes to open and close a menu
TransMenu.selecthack = 0;



TransMenu.renderAll();
if ( typeof window.addEventListener != "undefined" )
window.addEventListener( "load", init, false );
else if ( typeof window.attachEvent != "undefined" ) {
window.attachEvent( "onload", init);
}else{
if ( window.onload != null ) {
var oldOnload = window.onload;
window.onload = function ( e ) {
oldOnload( e );
init();
}
}else
window.onload = init();
}
}
