function new_win_view(f,xx,yy,title){
myWin=open('','displayWindow','width='+(xx+0)+',height='+(yy+0)+',status=no,toolbar=no,menubar=no,resizable=yes,scrollbars=no');
myWin.document.open();
myWin.document.write('<html xmlns="http://www.w3.org/1999/xhtml"><head><title>'+title+'</title></head>');
myWin.document.write('<body style="background:white; margin:0 0 0 0; padding:0 0 0 0;">');
myWin.document.write("<img src='"+f+"' width='"+xx+"' height='"+yy+"' hspace='0' vspace='0' border='0' alt='"+title+"' />");
myWin.document.write('</body></html>');
myWin.document.close();
//myWin.resizeTo(xx+45,yy+35);
myWin.focus();}

function ow(f, w, h, target){
	if ( !target ) target = '_blank';
	x = ( screen.width - w ) / 2;
	y = ( screen.height - h ) / 2;

	myWin=open(f, target, "left="+x+",top="+y+",width="+w+",height="+h+",status=yes,toolbar=no,menubar=no,resizable=yes,scrollbars=yes");
	myWin.focus();	
	return false;
}
function owf(f, w, h, target){
	ow(f, w, h, target);
}
