function start() { /// The Standards Compliant Way .. recommended. divel=document.getElementById("myElement"); if (is_ie) { theTop = document.body.clientHeight-93; } else if (is_nav7up) { theTop = window.innerHeight-93; } else if (is_moz) { theTop = window.innerHeight-93; } else { theTop = window.innerHeight-93; } divel.style.height=(theTop)+"px"; }