function zoom(File,width,height) {

	w=window.open('','','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,copyhistory=0,20,20');



	img = new Image();

	img.src = File;

		

    var wid = width;

	var hei = height;		

	win_html = "<html>\n<head>\n<title>Zoom</title>\n<script language=\"javascript\" type=\"text/javascript\" src=\"../js/func.js\"></script>\n</head>\n<body marginwidth=\"0\" marginheight=\"0\" topmargin=\"0\" leftmargin=\"0\">\n<a href=\"javascript:window.close();\"><img src=\""+File+"\" width=\"100%\" height=\"100%\" border=\"0\"></a>\n</body>\n</html>";



	if(document.layers) {



		with(w.document) {

			open();

			clear();			

			write(win_html);			

			close();	

		}

	}



	if(document.all || document.getElementById || window.opera) {		

	

		wid=wid+10;hei=hei+30;

		w.document.write(win_html);

	}



	w.resizeTo(wid,hei);



	winx=(screen.width/2)-(wid/2);

	winy=(screen.height/2)-(hei/2);

	w.moveTo(winx,winy);

}
