hey, i can get this to work in netscape 7, how do i get it to work in IE?

PHP Code:
<script lanuage="javascript">
    ogWidth=window.innerWidth;
    ogHeight=window.innerHeight;

    function resizeIt() {
        if (window.innerWidth != <?=$imagewidthBig ?>|| window.innerHeight != <?=$tableHeight ?>) {
        window.innerWidth=<?=$imagewidthBig ?>;
        window.innerHeight=<?=$tableHeight ?>;
        alert(window.innerHeight);
        }
    }
</script>
the problem is with setting the window.innerHeight and window.innerWidth.