function ViewImage(ifile,ix,iy)
	{
		for(var i=0; i<ifile.length; i++)
		{
			ifile= ifile.replace(' ', '%20');
			
		}
		var ititle = "-= Kattints és bezáródik =-" ;
		var win = window.open("","imageviewer","width="+ix+",height="+iy+",menubar=no,toolbar=no");
		win.document.open();
		win.document.write("<html><head><title>"+ifile+"</title>");
		win.document.write("</head><body onBlur=\"self.close()\" onClick=\"self.close()\">");
		win.document.write('<div style="position:absolute;width:'+ix+'px;height:'+iy+'px;left:0px;top:0px">');
		win.document.write("<img src="+ifile+"></div></body></html>");
		win.document.close();
	}