here's a generic, cross browser reload/resize trap, which must be in the BODY section
Code:
<script language="javascript">
var agt = navigator.userAgent.toLowerCase();
function nsReload() { window.location.reload(); }
function resizeReload() {
if (window.opera||(agt.indexOf("konqueror")!=-1)) {
var newBW=window.innerWidth;
var newBH=window.innerHeight;
if(newBW==oldBW&&newBH==oldBH){ setTimeout("resizeReload()",100); }
else { window.location.reload(); }
}
else if (document.layers) {
if (agt.indexOf("win")!=-1) { setTimeout("window.onresize=nsReload", 500); }
else { window.onresize=nsReload; }
}
}
if(window.opera||(agt.indexOf("konqueror")!=-1)){
var oldBW=window.innerWidth;
var oldBH=window.innerHeight;
resizeReload();
}
else if (document.layers) { resizeReload(); }
else { window.onresize=new Function("window.location.reload()"); }
</script>