function getHeight(id) {
	var winH;
	if (self.innerHeight) { // all except Explorer
		winH = self.innerHeight;
	} else if (document.documentElement && document.documentElement.clientHeight) {
		// Explorer 6 Strict Mode
		winH = document.documentElement.clientHeight;
	} else if (document.body) { // other Explorers
		winH = document.body.clientHeight;
	}
	return winH;
} // getHeight

function adjustHeight(id, offset) {
	var winH = getHeight(id);
	var elm = document.getElementById(id);
	elm.style.height = winH + offset + "px";
} // adjustHeight

function adjustMinHeight(id, offset) {
	var winH = getHeight(id);
	var elm = document.getElementById(id);
	if (winH + offset > 0) {
		elm.style.minHeight = winH + offset + "px";
	}
} // adjustMinHeight
