function rollover(imgid, filename)

{

	img = document.getElementById(imgid);

	img.src = filename;

}



function popupWindow(pageURL, windowName, w, h, features)

{

	var winl = (screen.width - w) / 2;

	var wint = (screen.height - h) / 2;

	winprops = 'width='+w+',height='+h+',top='+wint+',left='+winl+','+features

	

	var popupWindow = window.open( pageURL ,windowName,winprops);

	popupWindow.focus();

}

// Error window for the 'News Release' form
function windowNewsletter() {
  var xsize = 350;
  var ysize = 150;
  var x = (screen.width - xsize) / 2;
  var y = (screen.height - ysize) / 2;

  var misc_win = window.open('','newsletterwin','left='+x+',top='+y+',width='+xsize+',height='+ysize+',scrollbars=no,status=no,resizable=yes');
  misc_win.focus();
}



function openPrinterFriendly()
{
	url = document.location.href;
	popupWindow('/phprint.php?page='+url, 'print', 780, 500, 'scrollbars=yes,toolbar=yes');
}
