mas um belo dia resolvo mudar a página de lugar (no meu hd mesmo! peguei ela dum lugar e botei dentro duma pasta)
<html><head>etc etc...
<script type="text/javascript">
var ie = /msie/i.test(navigator.userAgent);
var ieBox = ie && (document.compatMode == null || document.compatMode == "BackCompat");
function checkSize() {
var canvasEl = ieBox ? document.body : document.documentElement;
var w = window.innerWidth || canvasEl.clientWidth;
var h = window.innerHeight || canvasEl.clientHeight;
document.getElementById("principal").style.height = Math.max(0, h - 125) + "px";
}
window.onload = checkSize;
window.onresize = checkSize;
</script>
</head><body><table>etc etc
....... aki tem umas coisas do site (nada com javascript) .........
<iframe src="principal.htm" scrolling="auto" frameborder="0" ID="principal" width="100%"></iframe>
</table>
</body>
</html>
Qualé o problema nu script? ele funcionava perfeito antes!