// this script allows user interactivity with highlighting buttons
	window.onerror = null;
	romax=10;
	if(document.images) {
		navover = new Array(romax);
		navout = new Array(romax);
		for(var n=1;n<=romax-1;n++) {
			navover[n]=new Image(50,25);
			navout[n]=new Image(50,25);
		}
		for(var n=1;n<=romax-1;n++) {
			navover[n].src="../grafix/navs/nav"+n+"s.gif";
			navout[n].src="../grafix/navs/nav"+n+".gif";
		}
	}

	function navOn(i) {
		txt="";
		if(i==1) txt="About the Centre";
		if(i==2) txt="Learn about the Industry";
		if(i==3) txt="Services Provided";		
		if(i==4) txt="Career Opportunities";		
		if(i==5) txt="Courses";
		if(i==6) txt="Licensing";		
		if(i==7) txt="Latest News";		
		if(i==8) txt="On-line Booking";		
		if(i==9) txt="Partners / Supporters";		
		window.status = txt;
		if(document.images) {
			document.images["nav"+i].src=navover[i].src;
			if(document.embeds)
				if(document.embeds.openfolder)
					document.embeds["openfolder"].play(false);
		}
	}
	function navOff(i) {
		if(document.images) document.images["nav"+i].src=navout[i].src;
		window.status = "Transport Training Centre";
	}