

function openNewWindow(URLtoOpen, windowName, windowFeatures)
{newWindow=window.open(URLtoOpen, windowName, windowFeatures);}

function Start(URL, WIDTH, HEIGHT) {
windowprops = "left=50,top=50,width=" + WIDTH + ",height=" + HEIGHT;
preview = window.open(URL, "preview", windowprops);
if (closetime) setTimeout("preview.close();", closetime*1000);
}

function doPopup() { 
url = "./outreach/fair.html"; 
width = 500;  // width of window in pixels 
height = 250; // height of window in pixels 
delay = 0;    // time in seconds before popup opens 
timer = setTimeout('Start(url, width, height)', delay*1000); 
}

function changeScrollbarColor(C) {
if (document.all) {
document.body.style.scrollbarBaseColor = C;
   }
}

function openDir( form ) { 
	var newIndex = form.fieldname.selectedIndex; 
	if ( newIndex == 0 ) { 
		alert( "Please select a location!" ); 
	} else { 
		cururl = form.fieldname.options[ newIndex ].value; 
		window.location.assign( cururl ); 
	} 
} 



