function fillScreen(){
	mainBodyHeight = bodyDivHeight();
	mainColHeight = mainColHeight();
	winH = windowHeight(); 			// This returns the screen heigth
	heightNeeded=winH-110; 			// We need to substract the top height + 1 (border)
	maxVal = Math.max(mainBodyHeight, mainColHeight, heightNeeded);
	
	// debug
	// alert("Client height Needed: "+heightNeeded+" - "+"mainBody height: "+mainBodyHeight+" - "+"mainCol Height: "+mainColHeight+" - MaxVal: "+maxVal);

	if( typeof( window.innerWidth ) != 'number' ) { //Explorer doesn't recognize minHeight
		document.getElementById('maincol').style.height=maxVal+5+'px'; //So, we use height (and explroer bug)
	}
	document.getElementById('maincol').style.minHeight=maxVal+5+'px'; //For every other browser, we use minHeight
}

function windowHeight(){
	var alto= 0;
	if( typeof( window.innerWidth ) == 'number' ) {
		alto= window.innerHeight;
	} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		alto= document.documentElement.clientHeight;
	} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		alto= document.body.clientHeight;
	}
	return alto;
}

function bodyDivHeight(){
	var divh = document.getElementById('mainBody').offsetHeight;
	return divh;
}

function mainColHeight(){
	var divh = document.getElementById('maincol').offsetHeight;
	return divh;
}