var OnOff = new Array();
OnOff[0] = 'off';
OnOff[1] = 'onn';

//Preload nav button images//
if (document.images) //if browser can do image swaps
	{
	var thePath		= 'graphics/keys/';
	var keys		= new Object();
	keys.allof = new Image();
	keys.aboun = new Image();
	keys.shown = new Image();
	keys.techn = new Image();
	keys.vocan = new Image();
	keys.presn = new Image();
	keys.movin = new Image();
	keys.photn = new Image();
	keys.cochn = new Image();
	keys.burgn = new Image();
	keys.contn = new Image();
	keys.homen = new Image();
	keys.vovrn = new Image();
	keys.tvshn = new Image();

	keys.allof.src = thePath + 'allof.gif';
	keys.aboun.src = thePath + 'aboun.gif';
	keys.shown.src = thePath + 'shown.gif';
	keys.techn.src = thePath + 'techn.gif';
	keys.vocan.src = thePath + 'vocan.gif';
	keys.presn.src = thePath + 'presn.gif';
	keys.movin.src = thePath + 'movin.gif';
	keys.photn.src = thePath + 'photn.gif';
	keys.cochn.src = thePath + 'cochn.gif';
	keys.burgn.src = thePath + 'burgn.gif';
	keys.contn.src = thePath + 'contn.gif';
	keys.homen.src = thePath + 'homen.gif';
	keys.vovrn.src = thePath + 'vovrn.gif';
	keys.tvshn.src = thePath + 'tvshn.gif';
	}
function swapKeys(theKeys)
	{
	if (document.images) document.images['allof'].src=eval('keys.' + theKeys + '.src');
	}
function keysOff()
	{
	if (document.images) document.images['allof'].src=keys.allof.src
	}

