
function resizeAll() {
	var dispcont = document.getElementById('display-container');
	var logininner = document.getElementById('login-inner-div');
	var buffer = document.getElementById('buffer');
	var vertmenu = document.getElementById('vert-menu');
	var disptop = document.getElementById('display-content-top');
	var disptxtcnt = document.getElementById('displaytextcontainer');
	var disptext = document.getElementById('displaycontenttext');
	var arrowcont = document.getElementById('arrow-container');
	var arrowblock = document.getElementById('pos2_updwnDiv');
	var arrowspc = document.getElementById('arrow-spacer');
	logininner.style.visibility = "hidden";

	var myWidth = ( typeof( window.innerWidth ) == 'number' ) ? window.innerWidth : document.body.clientWidth;
	var myHeight = ( typeof( window.innerHeight ) == 'number' ) ? window.innerHeight : document.body.clientHeight;

	buffer.style.height = ( myHeight - vertmenu.offsetHeight - 320 ) + "px";
	dispcont.style.width = ( myWidth - 385 ) + "px";
////	disptxtcnt.style.height = ( myHeight - 250 - disptop.offsetHeight - 10 ) + "px";
	dispcont.style.height = ( myHeight - 250 ) + "px";
	arrowcont.style.height = ( myHeight - 250 ) + "px";
	arrowspc.style.height = ( dispcont.offsetHeight - 60 ) + "px";

	var agent = navigator.userAgent;
	if (agent.indexOf("MSIE") > -1) {
////		disptxtcnt.style.width = ( myWidth - 385 ) + "px";
		disptxtcnt.style.overflow = "auto";
		disptxtcnt.style.scrollbarFaceColor = "#fff";
		disptxtcnt.style.scrollbarBaseColor = "#fff";
        	disptxtcnt.style.scrollbarArrowColor = "#ccc";
        	disptxtcnt.style.scrollbarShadowColor = "#ddd";
        	disptxtcnt.style.scrollbarDarkshadowColor = "#ddd";
        	disptxtcnt.style.scrollbar3DlightColor = "#ddd";
        	disptxtcnt.style.scrollbarTrackColor = "#fff";
	}
	else if (agent.indexOf("Opera") > -1) {
////		disptxtcnt.style.width = ( myWidth - 385 ) + "px";
		arrowblock.style.visibility = (disptxtcnt.offsetHeight < disptext.offsetHeight) ? "visible" : "hidden";
	}
	else {
		arrowblock.style.visibility = (disptxtcnt.offsetHeight < disptext.offsetHeight) ? "visible" : "hidden";
	}
	logininner.style.visibility = "visible";
}
/*
<!--[if lte IE 7]>
<style>
#displaytextcontainer {
	overflow:auto;
	scrollbar-face-color: #fff;
	scrollbar-base-color: #fff;
        scrollbar-arrow-color: #ccc;
        scrollbar-shadow-color: #ccc;
        scrollbar-darkshadow-color: #ccc;
        scrollbar-3dlight-color: #ccc;
        scrollbar-track-color: #fff;
}
</style>
<![endif]-->
*/
