
var winW = 1024;
var winH = 600;
function setHeight(objId) {
	if (parseInt(navigator.appVersion) > 3) {
		if (navigator.appName == "Netscape") {
			winW = window.innerWidth - 16;
			winH = window.innerHeight - 16;
		} else {
			if (navigator.appName.indexOf("Microsoft") != -1) {
				winW = document.body.offsetWidth - 20;
				winH = document.body.offsetHeight - 20;
			}
		}
	}
//	if(winH>800){
	document.getElementById(objId).style.height = winH * 0.1;
//	}else{
//		document.getElementById(objId).style.height=20;
//	}
	//alert("Display Width: " + winW + " Display Height: " + winH); 
}
function updateDisplaySize() {
	if (parseInt(navigator.appVersion) > 3) {
		if (navigator.appName == "Netscape") {
			winW = window.innerWidth - 16;
			winH = window.innerHeight - 16;
		} else {
			if (navigator.appName.indexOf("Microsoft") != -1) {
				winW = document.body.offsetWidth - 20;
				winH = document.body.offsetHeight - 20;
			}
		}
	}
	document.getElementById("mainTableInThisPage").style.height = winH - 65;

				//alert("Display Width: " + winW + " Display Height: " + winH); 
}

