// begin layer script
 //if explorer (4.x)
 if (document.all) {
		layerRef='document.all'
		styleRef='.style.'
 }
 //else if netscape (4.x)
 else if (document.layers) {
	//alert(navigator.appName)
		layerRef='window.document.layers'
		styleRef='.'
	}
 else{
	// location.href="not4x.html"
 }

 function show(elem){
 //check for netscape 6.0 (as follows)
 if(navigator.appVersion.indexOf('5.0') != -1 && !(document.layers)){
	//alert(navigator.appName)
	document.getElementById(elem).style.visibility="visible"
 } else {
     eval(layerRef+'["' + elem + '"]'+styleRef+'visibility="visible"') ;
	return true;
   }
 }
 function hide(elem){
 //check for netscape 6.0 (as follows)
 if(navigator.appVersion.indexOf('5.0') != -1 && !(document.layers)){
	document.getElementById(elem).style.visibility="hidden"
 } else {
     eval(layerRef+'["' + elem + '"]'+styleRef+'visibility="hidden"') ;
	return false;
   }
 }
 //end layer script



 function showNewsletterSignUp(){
	document.getElementById('newsletterSignUpDiv').style.visibility='visible';
	document.getElementById('newsletterSignUpDivTop').style.visibility='visible';
	hideNavigation('all');
 }
 function hideNewsletterSignUp(){
	document.getElementById('newsletterSignUpDiv').style.visibility='hidden';
	document.getElementById('newsletterSignUpDivTop').style.visibility='hidden';
	hideNavigation('all');
 }

 function showNav(theNav){
	if(document.getElementById) {
		document.getElementById(theNav+'Nav').className='mainNavItem' + theNav + 'On';
		document.getElementById(theNav+'SubNav').style.visibility ='visible';
		document.getElementById(theNav+'SubNavTop').style.visibility ='visible';
	}
 }
 function hideNav(theNav){
	if(document.getElementById) {
		document.getElementById(theNav+'Nav').className='mainNavItem' + theNav;
		document.getElementById(theNav+'SubNav').style.visibility ='hidden';
		document.getElementById(theNav+'SubNavTop').style.visibility ='hidden';

	}
 }
 function hideNavigation(theNav,activeRollOver){
	if(theNav!="AboutUs" && activeSection != "AboutUs"){
		hideNav('AboutUs');
	}
	if(theNav!="BusinessGroups" && activeSection != "BusinessGroups"){
		hideNav('BusinessGroups');
	}
	if(theNav!="ExpertSolutions" && activeSection != "ExpertSolutions"){
		hideNav('ExpertSolutions');
	}
	if(theNav!="IndustrySolutions" && activeSection != "IndustrySolutions"){
		hideNav('IndustrySolutions');
	}
	if(theNav!="ResourceLibrary" && activeSection != "ResourceLibrary"){
		hideNav('ResourceLibrary');
	}
	if(theNav!="all" && (!activeRollOver)){
		if(activeSection != ""){
			document.getElementById(activeSection+'SubNavLinks').style.display ='none';
			//document.getElementById(activeSection+'SubNavTop').style.margin='-33px 0px 0px -10px';
		}
	}
	if(activeSection != "none" && activeSection != ""){
		if(theNav!="all" && theNav == activeSection){
			if(activeSection != ""){
				if(activeRollOver){
					document.getElementById(theNav+'SubNavLinks').style.display ='block';
					//document.getElementById(activeSection+'SubNavTop').style.margin='-33px 0px 28px -10px';
				}
			}
		}
	}
 }
 function showActiveNavigation(){
	document.getElementById(activeSection+'Nav').className='mainNavItem' + activeSection + 'On';
	document.getElementById(activeSection+'SubNav').style.visibility ='visible';
	document.getElementById(activeSection+'SubNavLinks').style.display ='none';
	document.getElementById(activeSection+'SubNavTop').style.visibility ='visible';
 }