//Sets the content container's height

function setContentHeight(){
	docHeight = document.getElementById("main").clientHeight;
	//alert(docHeight);
	contentHeight = document.getElementById("content").clientHeight;
	//alert(contentHeight);
	//alert(document.documentElement.clientHeight);
	if(window.innerHeight){
		windHeight = window.innerHeight;
	}else if (document.body.clientHeight){
		windHeight = document.documentElement.clientHeight;
	}else{
		windHeight = document.body.clientHeight;
	}
	//alert(docHeight-windHeight);
	if((docHeight-windHeight) < 0){
		contentHeight = document.getElementById("content").clientHeight + (windHeight-docHeight);
		//alert(contentHeight);
		document.getElementById("content").style.height =  contentHeight + "px";
	}
}