﻿
	function setscreen() {
		var windowWidth = 0;
		if (typeof(window.innerWidth) == 'number') {
			windowWidth = window.innerWidth;
		}
		else {
			if (document.documentElement && document.documentElement.clientWidth) {
				windowWidth = document.documentElement.clientWidth;
			}
			else {
				if (document.body && document.body.clientWidth) {
					windowWidth = document.body.clientWidth;
				}
			}
		}
		var windowHeight = 0;
		if (typeof(window.innerHeight) == 'number') {
			windowHeight = window.innerHeight;
		}
		else {
			if (document.documentElement && document.documentElement.clientHeight) {
				windowHeight = document.documentElement.clientHeight;
			}
			else {
				if (document.body && document.body.clientHeight) {
					windowHeight = document.body.clientHeight;
				}
			}
		}
		if (windowHeight<720) {
			document.getElementById('bodyOuter').style.top='0px';
			document.getElementById('bodyOuter').style.marginTop='53px';
		} else {
			document.getElementById('bodyOuter').style.top='50%';
			document.getElementById('bodyOuter').style.marginTop='-290px';
		}
		if (windowWidth<900) {
			document.getElementById('bodyOuter').style.left='3px';
			document.getElementById('bodyOuter').style.marginLeft='0px';
		} else {
			document.getElementById('bodyOuter').style.left='50%';
			document.getElementById('bodyOuter').style.marginLeft='-450px';
		}
		document.getElementById('bodyOuter').style.display='block';

		 
}


