/*
PLEASE NOTE: 
We have noticed a bug in Windows XP versions of Netscape 6 which causes the ALT-text to appear on mouseover.  This bug seems to be specific to XP NS6+, and as of version 6.2.3, no fix has been found.  
*/

var navPrefix = pathtoroot + "images/tnav_";
var imageOnSuffix = "_on.gif";
var imageOffSuffix = "_off.gif";

// rollover functions
function nav_act(target) {
	if (document.images)
		document[target].src = (navPrefix + target + imageOnSuffix);
}

function nav_inact(target) {
	if (document.images)
		document[target].src = (navPrefix + target + imageOffSuffix);
}

function makeArray() { 
	var args = makeArray.arguments;
    	for (var i = 0; i < args.length; i++) {	this[i] = args[i]; }
	this.length = args.length;
}
var navNames = new makeArray(
		"home",
		"store",
		"storehome",
		"customer",
		"glossary",
		"profile",
		"login"
	);

// preload gifs
if (document.images) {
	var i;
	var imagesOn = new Array();
	for ( i=0 ; i<navNames.length ; i++ ) {
		imagesOn[i] = new Image();
		imagesOn[i].src = (navPrefix + navNames[i] + imageOnSuffix);
		
	}
}

