function picview(u, w, h, t)
{
	var x = (screen.availWidth-w) / 2;
	var y = (screen.availHeight-h) / 2;
	picwin = window.open("","picwin","width="+w+",height="+h+",left="+x+",top="+y);
	picwin.document.open();
	picwin.document.writeln('<html><title>'+t+'</title><body leftmargin="0" topmargin="0" marginheight="0" marginwidth="0">');
	picwin.document.writeln('<table width="'+w+'" cellpadding="0" cellspacing="0" border="0">');
	picwin.document.writeln('    <tr>');
	picwin.document.writeln('        <td>');
	picwin.document.writeln('            <img src="'+u+'" width="' + w + '" height="' + h + '" border=0>');
	picwin.document.writeln('        </td>');
	picwin.document.writeln('    </tr>');
	picwin.document.writeln('</table>');
	picwin.document.writeln('</body></html>');
	picwin.document.close();
	picwin.focus();
	picwin.onblur = function() {
		this.close();
	}
}

