function showimage(img, width, height)
{
	if(BrowserDetect.browser == "Explorer" && BrowserDetect.version < 7)
	{
		window.open(img,0,"width=" + (width + 32) + ",height=" + (height + 32));
	}
	else
	{
		h = height + 32;
		document.getElementById('imagebox').src = img;
		document.getElementById('overlay').style.visibility = "visible";
	}
}

function hideimage()
{
	document.getElementById('overlay').style.visibility = "hidden";
	document.getElementById('imagebox').src = "gallery/blank.png";
}
