if (document.images) {
	aboutOff = new Image(); aboutOff.src="/rwa/images/nav/about.gif";
	aboutOn = new Image(); aboutOn.src="/rwa/images/nav/aboutOn.gif";
	eventsOff = new Image(); eventsOff.src="/rwa/images/nav/events.gif";
	eventsOn = new Image(); eventsOn.src="/rwa/images/nav/eventsOn.gif";
	programsOff = new Image(); programsOff.src="/rwa/images/nav/programs.gif";
	programsOn = new Image(); programsOn.src="/rwa/images/nav/programsOn.gif";
	newsOff = new Image(); newsOff.src="/rwa/images/nav/news.gif";
	newsOn = new Image(); newsOn.src="/rwa/images/nav/newsOn.gif";
	educatedOff = new Image(); educatedOff.src="/rwa/images/nav/educated.gif";
	educatedOn = new Image(); educatedOn.src="/rwa/images/nav/educatedOn.gif";
}


function img_act(img) {
	if (document.images) {
	imgOn = eval(img + "On.src");
	document [img].src = imgOn;
	}
}

function img_inact(img) {
	if (document.images) {
	imgOff = eval(img + "Off.src");
	document [img].src = imgOff;
	}
}

var popupWindow = null;

function popup(url, features, width, height, x, y)
{
	if(popupWindow != null && !popupWindow.closed)
		popupWindow.close();
	
	popupWindow = window.open(url, "popupWindow", features+",width="+width+",height="+height+",screenX="+x+",screenY="+y+",left="+x+",top="+y);
	
	return popupWindow;
}

