var home0
var home1
var home2
var solutions0
var solutions1
var solutions2
var insights0
var insights1
var insights2
var newsroom0
var newsroom1
var newsroom2
var customer0
var customer1
var customer2
var about0
var about1
var about2
var sales0
var sales1
var sales2
var salessub0
var salessub1
var salessub2
var piers0
var piers1
var piers2
var journal0
var journal1
var journal2

{
	home0=new Image();
	home0.src="images/nav-home-off.jpg";
	home1=new Image();
	home1.src="images/nav-home-on.jpg";
	home2=new Image();
	home2.src="images/nav-home-select.jpg";    
	
	solutions0=new Image();
	solutions0.src="images/nav-solutions-off.jpg";
	solutions1=new Image();
	solutions1.src="images/nav-solutions-on.jpg";
	solutions2=new Image();
	solutions2.src="images/nav-solutions-select.jpg";   
	
	insights0=new Image();
	insights0.src="images/nav-insights-off.jpg";
	insights1=new Image();
	insights1.src="images/nav-insights-on.jpg";
	insights2=new Image();
	insights2.src="images/nav-insights-select.jpg";   
	
	newsroom0=new Image();
	newsroom0.src="images/nav-newsroom-off.jpg";
	newsroom1=new Image();
	newsroom1.src="images/nav-newsroom-on.jpg";
	newsroom2=new Image();
	newsroom2.src="images/nav-newsroom-select.jpg"; 
	
	customer0=new Image();
	customer0.src="images/nav-customer-off.jpg";
	customer1=new Image();
	customer1.src="images/nav-customer-on.jpg";
	customer2=new Image();
	customer2.src="images/nav-customer-select.jpg";   
	
	about0=new Image();
	about0.src="images/nav-about-off.jpg";
	about1=new Image();
	about1.src="images/nav-about-on.jpg";
	about2=new Image();
	about2.src="images/nav-about-select.jpg";   
	
	sales0=new Image();
	sales0.src="images/nav-sales-off.jpg";
	sales1=new Image();
	sales1.src="images/nav-sales-on.jpg";
	sales2=new Image();
	sales2.src="images/nav-sales-select.jpg";   
	
	salessub0=new Image();
	salessub0.src="images/nav-sales-sub-off.jpg";
	salessub1=new Image();
	salessub1.src="images/nav-sales-sub-on.jpg";
	salessub2=new Image();
	salessub2.src="images/nav-sales-sub-select.jpg";   
	
	piers0=new Image();
	piers0.src="images/hdr-r-piers-off.jpg";
	piers1=new Image();
	piers1.src="images/hdr-r-piers-on.jpg";
	piers2=new Image();
	piers2.src="images/hdr-r-piers-select.jpg";   
	
	journal0=new Image();
	journal0.src="images/hdr-r-journal-off.jpg";
	journal1=new Image();
	journal1.src="images/hdr-r-journal-on.jpg";
	journal2=new Image();
	journal2.src="images/hdr-r-journal-select.jpg";   
}


// rollover functions

function imgOn(imgName) {
	if (document.images) {
		if (document.images[imgName].src != eval(imgName + '2.src')) {
			document.images[imgName].src = eval(imgName + '1.src');
		}
	}
}

function imgOff(imgName) {
	if (document.images) {
		if (document.images[imgName].src != eval(imgName + '2.src')) {
			document.images[imgName].src = eval(imgName + '0.src');
		}
	}
}

function imgSelect(imgName) {
	if (document.images) {
		document.images[imgName].src = eval(imgName + '2.src');
	}
}


// dropdown menus

function drOn(liName) {
	if (document.getElementById) {	
		if (document.getElementById(liName).className != 'dr-select') {
			document.getElementById(liName).className = 'dr-on';
		}
	}
}

function drOff(liName) {
	if (document.getElementById) {	
		if (document.getElementById(liName).className != 'dr-select') {
			document.getElementById(liName).className = 'dr-off';
		}
	}
}

function drSelect(liName) {
	if (document.getElementById) {	
		document.getElementById(liName).className = 'dr-select';
	}
}

function dr1On(liName) {
	if (document.getElementById) {	
		if (document.getElementById(liName).className != 'dr1-select') {
			document.getElementById(liName).className = 'dr1-on';
		}
	}
}

function dr1Off(liName) {
	if (document.getElementById) {	
		if (document.getElementById(liName).className != 'dr1-select') {
			document.getElementById(liName).className = 'dr1-off';
		}
	}
}

function dr1Select(liName) {
	if (document.getElementById) {	
		document.getElementById(liName).className = 'dr1-select';
	}
}

function showMenu(menuName) {
	if (document.getElementById) {	
		document.getElementById(menuName).style.display = 'block';
	}
}

function hideMenu(menuName) {
	if (document.getElementById) {	
		document.getElementById(menuName).style.display = 'none';
	}
}


// home callout switch

function showPiers() {
	if (document.getElementById) {	
		document.getElementById('r-piers').style.display = 'block';
		document.getElementById('r-journal').style.display = 'none';
		if (document.images) {
			document.images['piers'].src = piers2.src;
			document.images['journal'].src = journal0.src;
		}
	}
}

function showJournal() {
	if (document.getElementById) {	
		document.getElementById('r-journal').style.display = 'block';
		document.getElementById('r-piers').style.display = 'none';
		if (document.images) {
			document.images['journal'].src = journal2.src;
			document.images['piers'].src = piers0.src;
		}
	}
}





