function checkBrowserHeight() {
	if(navigator.appName.indexOf('Microsoft Internet Explorer')!=-1)
		var height = document.body.clientHeight - 40;
	else if(navigator.appName.indexOf('Opera')!=-1)
		var height = window.innerHeight - 40;
	else if(navigator.appName.indexOf('Netscape')!=-1)
		var height = window.innerHeight - 40;
	return height;
}

function checkBrowserWidth() {
	if(navigator.appName.indexOf('Microsoft Internet Explorer')!=-1)
		var width = document.body.clientWidth - 15;
	else if(navigator.appName.indexOf('Opera')!=-1)
		var width = window.innerWidth - 55;
	else if(navigator.appName.indexOf('Netscape')!=-1)
		var width = window.innerWidth - 31;
	return width;
}

function resetSize() {
	if(document.all) {
		//IE4
		document.all['setHeight'].style.height = checkBrowserHeight()
		document.all['setWidth'].style.width = checkBrowserWidth()
	}
	if(document.getElementById) {
		//All other browsers that support document.getElementById
		document.getElementById('setHeight').style.height = checkBrowserHeight()
		document.getElementById('setWidth').style.width = checkBrowserWidth()
	}
}