// v1.01 last update by Andrew & Slava on nov 11 2003 
function doZoom(what,height,width) {
	width = width+16;
	cf = 1.2;
	sWidth = screen.width;
	sHeight = screen.height;
	mWidth = Math.round(sWidth/cf);
	mHeight = Math.round(sHeight/cf);

	if (width > mWidth) { width = mWidth; }
	if (height > mHeight) { height = mHeight; }

	wOffset = Math.round((sWidth-width)/2)-8;
	hOffset = Math.round((sHeight-height)/2)-36;

	str = "left="+wOffset+",top="+hOffset+",width="+width+",height="+height+",scrollbars=auto,resize=no";
	var imgWin= window.open(what,"imgWin",str,true);
	
	imgWin.focus();
}


