function updateSize(){
	//update the size of the divs based on the window size
	element = document.getElementById('banner');
	width = 0;
	height = 0;
	customwidth = 794;
	//if IE, else Other
	if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)){
		width = document.documentElement.clientWidth;
		height = document.documentElement.clientHeight;
	}else{
		width = window.innerWidth;
		height = window.innerHeight;
	}
	//if too small, make innerwidth, else make 100%
	if(width<1022){
		element.style.width='1022px';
	}else{
		element.style.width=''; //using 100% causes a scrollbar issue
	}
	//position the cross: if small width, position with customwidth, if large position with customwidth+delta
	if(width<1022){
		document.body.style.backgroundPosition= customwidth +"px -70px";
	}else{
		customwidth += Math.floor((width-1022)/2);
		document.body.style.backgroundPosition= customwidth +"px -70px";
	}
	
	/* THIS WAS FOR ADMIN BAR
	customHeight = height-30;
	//update the position of the admin bar if it is enabled (ie: admin logged in)
	admin_bar = document.getElementById('adminBar');
	if(admin_bar != null){
		admin_bar.style.top=customHeight+'px';
	} */
}	
