function setHeight() { if(!document.all) { document.getElementById("tblExpand").style.height = window.innerHeight - 231; } }