// Dynamicly Size Things
function stretch() {
var f = document;
var stretchElement = f.getElementById("postBody");
var optionHeight = 5;
var winHeight = f.documentElement.offsetHeight;
var winWidth = "";
if (window.innerHeight) {
winHeight = window.innerHeight
} else if (document.documentElement && document.documentElement.clientHeight) {
winHeight = document.documentElement.clientHeight
} else if (document.body) {
winHeight = document.body.clientHeight
}
var toolHeight = f.getElementById("toolbar").offsetHeight;
var headerHeight = f.getElementById("header").offsetHeight;
var otherHeight = f.getElementById("otherFields").offsetHeight;
var fullHeight = winHeight-toolHeight-headerHeight-otherHeight-optionHeight;
stretchElement.style.height = fullHeight + "px";
// Set onload Focus
document.stuffform.title.focus();
// Debug
//alert("fullHeight: " + fullHeight + "\n\nwinHeight: " + winHeight + "\ntoolHeight: " + toolHeight + "\nheaderHeight" + headerHeight);
}