// JavaScript Document

var contentHeight;
var headerHeight = 142;

if (navigator.appName == "Netscape") {	
	contentHeight = window.innerHeight;
	//alert(window.innerHeight);
} else {	
	contentHeight = document.documentElement.clientHeight;
	//alert(document.documentElement.clientHeight);
}
//alert(contentHeight);
document.getElementById('mainBlock').style.height = (contentHeight - headerHeight) + 'px';
