// image rollover script
if (document.images) {
	var str="http://www.cfed.org/images/nav/";
	var nameImage=new Array('home','focus','think','question','act','about','newsroom','newsroom_2','login','logout');
	var offImage=new Array();
	var onImage=new Array();
	for (i=0;i<10;i++){
		offImage[i]=new Image();
		offImage[i].src=str+nameImage[i]+"_off.gif";
		onImage[i]=new Image();
		onImage[i].src=str+nameImage[i]+"_on.gif";
		}
	}
	
// image swapping
function on(name,file) {
		if (document.images) obj=eval(document.images[name]);
		if (obj) obj.src=onImage[file].src;
		}
	
function off(name,file) {
		if (document.images) obj=eval(document.images[name]);
		if (obj) obj.src=offImage[file].src;
		}

function iconKey() {
	url = 'icons_key.html';
	h=230;
	w=550;
	if (screen) {
	leftPos = (screen.width / 2) - (w / 2);
	topPos = (screen.height / 2) - (h / 2);
	}
	newWindow = window.open(''+url+'','key','width='+w+',height='+h+',top='+topPos+',left='+leftPos+',location=0,directories=0,status=no,menuBar=no,scrollBars=no,resizable=no');
	newWindow.focus();
}

