function navPreLoad(path){
	//preLoad(path + 'images/topnav/home_on.gif',path + 'images/topnav/company_on.gif',path + 'images/topnav/collections_on.gif',path + 'images/topnav/locations_on.gif',path + 'images/topnav/foothealth_on.gif',path + 'images/topnav/contact_on.gif');
}
function preLoad(){ 
	var args = preLoad.arguments;
	document.imageArray = new Array(args.length);

	for(var i=0; i<args.length; i++) {
		document.imageArray[i] = new Image;
		document.imageArray[i].src = args[i];
	}
}
function swapImg(inImage, t){
	if (t == 1){
		inImage.src = inImage.src.slice(0,inImage.src.length-4) + '_on.gif';
	}
	else {
		inImage.src = inImage.src.slice(0,inImage.src.length-7) + '.gif';
	}
}
function swapImageColor(sku, prod_name){
	document.images['ProdImage'].src = '../prod_images/large/' + sku + '.jpg';
	ProdSku = sku; 
	ProdName = prod_name;
}
function openWin(url) {
	var height = 525;
	var width = 420;
	var scroll = 1;
	var wleft = (screen.width - width-20) / 2;
	var wtop = (screen.height - height) / 2;
	window.open(url,'holewin','fullscreen=0,scrollbars='+scroll+',height='+height+',width='+width+',top='+wtop+',left='+wleft+'');
}

function openProductLargeWindow(URL,WinName){
	NewWindow = window.open(URL,WinName,'scrollbars=yes,resizable=yes,toolbar=no,location=no,status=no,menubar=yes,width=540,height=425');
	NewWindow.focus();
}

function openSizeChartWindow(URL,WinName){
	NewWindow = window.open(URL,WinName,'scrollbars=yes,resizable=yes,toolbar=no,location=no,status=no,menubar=no,width=540,height=550')
	NewWindow.focus()
}