I've been trying to make the button respond with the height of the div (500). Can anyone help.

<style>
#stuff {
height:500px;
color:#39C;
width:200px;
}
</style>
<script language="JavaScript">
function getHeight(){
var thisDiv = document.getElementById("stuff");
var thisHeight = thisDiv.getAttribute("height");
alert(thisHeight);
}
</script>

<div id="stuff" title="This is the stuff ID's title">
<h1>Get Attribute Example</h1>
<p>Rose India Technologies Pvt. Ltd. is a global services company.</p>
<input type="button" value=" Get Height " onclick="getHeight();">
</div>

Thanks!