как-то так, работает:
<script language="javascript"><!--
var i=0;
function resize() {
if (navigator.appName == 'Netscape') i=40;
if (document.images[0]) window.resizeTo(document.images[0].width +30, document.images[0].height+60-i);
self.focus();
}
//--></script>
</head>
<body bgcolor="#F4F7FE" onload="resize();">
<img src="..." border="0" alt="..." title="..." width="[U]511[/U]" height="[U]511[/U]" />