
	function InitialPageSet(){
		var strSideBar = document.getElementById('SideBar');
		var strBodyArea = document.getElementById('BodyArea');
		if (!browsercheck()){
			}
		else{
			var strBodyHeight=strBodyArea.offsetHeight-12;
			var strSideBarHeight=strSideBar.offsetHeight-12;
			if(strBodyHeight < strSideBarHeight){
				document.getElementById('BodyArea').style.height=strSideBarHeight+'px';
				}
			else if(strBodyHeight > strSideBarHeight){
				document.getElementById('SideBar').style.height=strBodyHeight+'px';
				}
			
			}
		}
		
	function GetStyle(oEle, sProp){
		var p = 0;
		if(document.defaultView && document.defaultView.getComputedStyle){
			p = document.defaultView.getComputedStyle(oEle,'').getPropertyValue(sProp);
			}
		else if(oEle.currentStyle) {
			var a = sProp.split('-');
			sProp = a[0];
			for (var i=1; i<a.length; ++i) {
				c = a[i].charAt(0);
				sProp += a[i].replace(c, c.toUpperCase());
				}
			p = oEle.currentStyle[sProp];
			}
		if (sProp=="height"){
			if (p=="0px"){
				return 0;
				}
			else {
				return parseInt(p);
				}
			}
		else{
			return p;
			}
		}

