agent = navigator.userAgent
browserVer = 2
if (agent.substring (0,7) == "Mozilla")
{
	if (parseInt (agent.substring (8,9)) >= 4) {browserVer = 1;}
}


	npic1 = new Image;
	npic1.src = "images/nav_images/home_white.gif";
	npic1a = new Image;
	npic1a.src = "images/nav_images/home_grey.gif";
	
	npic2 = new Image;
	npic2.src = "images/nav_images/aboutus_white.gif";
	npic2a = new Image;
	npic2a.src = "images/nav_images/aboutus_grey.gif";
	
	npic3 = new Image;
	npic3.src = "images/nav_images/services_white1.gif";
	npic3a = new Image;
	npic3a.src = "images/nav_images/services_grey1.gif";
	
	npic4 = new Image;
	npic4.src = "images/nav_images/casestudies_white.gif";
	npic4a = new Image;
	npic4a.src = "images/nav_images/casestudies_grey.gif";
	
		
	npic6 = new Image;
	npic6.src = "images/nav_images/process_consulting_white.gif";
	npic6a = new Image;
	npic6a.src = "images/nav_images/process_consulting_grey.gif";	

	
	npic7 = new Image;
	npic7.src = "images/nav_images/change_management_white.gif";
	npic7a = new Image;
	npic7a.src = "images/nav_images/change_management_grey.gif";	
	
	npic8 = new Image;
	npic8.src = "images/nav_images/advisory_platform_white.gif";
	npic8a = new Image;
	npic8a.src = "images/nav_images/advisory_platform_grey.gif";	
	
	npic9 = new Image;
	npic9.src = "images/nav_images/off_adv_white.gif";
	npic9a = new Image;
	npic9a.src = "images/nav_images/off_adv_grey.gif";	
	
	
function hiLite(id,imgObjName) 
{
	//alert(imgObjName);
	//alert(id);
	if (browserVer == 1)
	{
		//alert(eval(imgObjName + ".src"));
		document.images[id].src = eval(imgObjName + ".src")
	}
}


/*menus script*/


/***********************************************
* Accordion Content script- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
* This notice must stay intact for legal use
***********************************************/

ddaccordion.init({
	headerclass: "expandable", //Shared CSS class name of headers group that are expandable
	contentclass: "categoryitems", //Shared CSS class name of contents group
	revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click", "clickgo", or "mouseover"
	mouseoverdelay: 100, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
	collapseprev: true, //Collapse previous content (so only one open at any time)? true/false 
	defaultexpanded: [], //index of content(s) open by default [index1, index2, etc]. [] denotes no content
	onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
	animatedefault: false, //Should contents open by default be animated into view?
	persiststate: true, //persist state of opened contents within browser session?
	toggleclass: ["", "openheader"], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
	togglehtml: ["prefix", "", ""], //Additional HTML added to the header when it's collapsed and expanded, respectively  ["position", "html1", "html2"] (see docs)
	animatespeed: "fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
	oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
		//do nothing
	},
	onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
		//do nothing
	}
})
