function swapImage(thisImage, imageState)
{
	if (imageState == "on")
	{
		document.getElementById(thisImage).src = "images/"+thisImage+"On.gif";
	}
	else
	{
		document.getElementById(thisImage).src = "images/"+thisImage+"Off.gif";
	}
}


function launchGallery(url)
{
	window.open(url,'newWin', 'width=640, height=497, scrollbars=no');
}