function openDetails(uri, width, height)
{
	var screenx = window.innerWidth / 2;
	if (screenx > 100) screenx -= 100;
	var screeny = window.innerHeight / 2; 
	if (screeny > 100) screeny -= 100;
	window.open(uri, "Details", "width=" + width + ",height=" + height
	                 + ",screenX=" + screenx + ",screenY=" + screeny + ",resizable=yes"); 
}
