function openImage(img,pathKey,width,height)
{
	var path = new Array ("download/presseschau/");
	var currentPath = path[pathKey];

	ImageWindow = window.open('','Image','width='+width+',height='+height+',top=50,left=50,fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0');
	ImageWindow.location.href = 'openimg.php?img='+img+'&pathKey='+pathKey;
	ImageWindow.focus();
}