
function vi(path)
{
	var screenheight = screen.height; 
	var screenwidth = screen.width;

	var height = screenheight-75;
	var width = screenwidth-75;

	var voffset = ((screenheight - height) / 2) - 30;
	var hoffset = (screenwidth - width) / 2;

	var url = "img.php?path=" + path;	
	var settings = 'height=' + height + ',width=' + width + 
		',toolbar=no,scrollbars=yes,left=' + hoffset + ',top=' + voffset;
	
	window.open(url, 'image',settings);
}

