//<!-- hide this script from non-javascript-enabled browsers
var imgDir = "../images/";
var imgSuffix = ".gif";

// Preloads images from a list of button names.
function imgLoad() {
	this.length = imgLoad.arguments.length;
	for (var i = 0; i < this.length; i++) {
		var imgName = imgLoad.arguments[i];
		eval(imgName + '_on = new Image();');
		eval(imgName + '_on.src = "' + imgDir + imgName + '_on' + imgSuffix + '";');
		eval(imgName + '_off = new Image();');
		eval(imgName + '_off.src = "' + imgDir + imgName + '_off' + imgSuffix + '";');
	}
}

// Switches image names in the document.
function rollOver(imgName, whichName) {
	var switchName = eval(imgName + '_' + whichName);
	document [imgName].src = switchName.src;
}

// Load the rollover images into memory
var buttonNames = new imgLoad("nav_guardrail", "nav_civilconstruct", "nav_fence", "nav_highwaysigns", "nav_metalfabric");
//-->
