var nav = new Array("oxbridge", "capabilities", "turnaround", "supplychain", "technology", "investment", "associate", "clients", "enquiry", "employment");

function preload_images() {
	for (tmp=0; tmp<nav.length; tmp++) {
		eval(nav[tmp] + '_icon_on = new Image()');
		eval(nav[tmp] + '_icon_on.src = "images/nav_icon_' + nav[tmp] + '_on.gif"');
		eval(nav[tmp] + '_text_on = new Image()');
		eval(nav[tmp] + '_text_on.src = "images/nav_text_' + nav[tmp] + '_on.gif"');
	}
}

function nav_on(item) {
	navicon = "nav_icon_" + item;
	navtext = "nav_text_" + item;
	document.images[navicon].src = "images/" + navicon + "_on.gif";
	document.images[navtext].src = "images/" + navtext + "_on.gif";
}

function nav_off(item) {
	navicon = "nav_icon_" + item;
	navtext = "nav_text_" + item;
	document.images[navicon].src = "images/" + navicon + "_off.gif";
	document.images[navtext].src = "images/" + navtext + "_off.gif";
}

preload_images();