function ZoomPic(fname,fwidth,fheight) {
	fwidth +=10; fheight+=10;
	var new_window;
	var buffer = new Image(fwidth,fheight);
	buffer.src = (fname);	
	var window_dimensions = "width=" + fwidth + ",height=" + fheight + ",left=" + parseInt(screen.availWidth/2-fwidth/2) + ",top=" + parseInt(screen.availHeight/2-fheight/2) + ",scrollbars=yes,resizable=yes,status=yes,location=no,menubar=no,toolbar=no";
	new_window = window.open("","",window_dimensions);
	new_window.document.writeln('<html>');
	new_window.document.writeln('<head>');
	new_window.document.writeln('<title>'+fname+'<\/title>');
	new_window.document.writeln('<\/head>');
	new_window.document.writeln('<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">');
	new_window.document.writeln('<a href="javascript:void(0);" onclick="javascript:self.close();return true;" onmouseover="window.status=\'Copyright © 2004-2008 OOO СТАЛФОРМ Инжиниринг\';return true;" alt="Copyright © 2004-2008 OOO СТАЛФОРМ Инжиниринг" title="Copyright © 2004-2008 OOO СТАЛФОРМ Инжиниринг"><img src="' + buffer.src + '" border="0"><\/a>');
	new_window.document.writeln('<\/body>');
	new_window.document.writeln('<\/html>');
	new_window.document.close();
	new_window.document.title = 'СТАЛФОРМ Инжиниринг - Опалубочные системы';
}

