function resizeApp(){//用于自适应高度处理
	var bodyHeight  = getWindowHeight();
	var bodyWidth  = getWindowWidth();
	if( bodyHeight - 164> 0){
		try{
		document.getElementById("lefttable").style.height = bodyHeight - 164 + "px" ;
		}catch(ex){}
	}
	if( bodyHeight - 164> 0){
		try{
		document.getElementById("left").style.height = bodyHeight - 164 + "px" ;
		}catch(ex){}
	}
	if( bodyHeight - 68> 0){
		try{
		document.getElementById("mid").style.height = bodyHeight - 68 + "px" ;
		}catch(ex){}
	}
	if( bodyHeight - 68> 0){
		try{
		document.getElementById("map").style.height = bodyHeight - 68 + "px" ;
		}catch(ex){}
	}

}

function getWindowHeight() {//获取页面显示区域高度
	if (window.self && self.innerHeight) {
		return self.innerHeight;
	}
	if (document.documentElement && document.documentElement.clientHeight) {
		return document.documentElement.clientHeight;
	}
	return 0;
}

function getWindowWidth() {//获取页面显示区域宽度
	if (window.self && self.innerWidth) {
		return self.innerWidth;
	}
	if (document.documentElement && document.documentElement.clientWidth) {
		return document.documentElement.clientWidth;
	}
	return 0;
}

