<script type="text/javascript" language="JavaScript">
window.onload = function() {
var x,y;
if (self.innerHeight) {
x = self.innerWidth;
y = self.innerHeight;
} else if (document.documentElement && document.documentElement.clientHeight) {
x = document.documentElement.clientWidth;
y = document.documentElement.clientHeight;
} else if (document.body) {
x = document.body.clientWidth;
y = document.body.clientHeight;
}
document.getElementById('dv').style.height = y;
}
</SCRIPT>
<div style="width:500px;" id="dv">блаблабла</div>