//jsglobals.js

function galleryWindow(which)	{
alert("triggered : " + which);
}

if(document.images)	{
//nav mouseovers


}

function on(which)	{
	if(document.images)	{
		thisOne = "nav_" + which;
		document[which].src = eval(which + "_on.src;");
						}
					}
					
function off(which)	{
	if(document.images)	{
		thisOne = "nav_" + which;
		document[which].src = eval(which + "_off.src;");
						}
					}	

function printWin(which)	{
		//which is the path of the requesting file, same as REQUEST_URI
		var params="toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=500,height=550,dependent";
		//next line hard-coded to avoid NN4 errors
		var requestVer = "http://www.oregonartscommission.org/php-bin/printver.php?r=" + which;
		//var requestVer = "http://oac.squishymedia.com/php-bin/printver.php?r=" + which;
		newWin = window.open(requestVer, '', params);
					}