		 
var oBanner, oNavigationBanner, oNavigationFooter, oContent;

function fOpenWindow(sURL) {
	window.open(sURL, "", "resizable,scrollbars,menubar,toolbar,status,addressbar", true);
}
 
function fResize() {
	var sWidth;
	
	if (is.ie) {
		sScrollCorrection = 5;
	} else {
		sScrollCorrection = 25;
	}
	
	sWidth = getWindowWidth() - sScrollCorrection;
	
	if (sWidth > 600) {
		sWidth = 600;	
	}
	
	oBanner.sizeTo(sWidth, 0);
	oBanner.show();
	
	oNavigationBanner.sizeTo(sWidth, 0);
	oNavigationBanner.show();
	
	oNavigationFooter.sizeTo(sWidth, 0);
	oNavigationFooter.show();
	
	oContent.sizeTo(sWidth, 0);
	oContent.show();
}

function fInitPage() {
	oBanner = document.getElementById("banner").cbe;
	oNavigationBanner = document.getElementById("navigationBanner").cbe;
	oNavigationFooter = document.getElementById("navigationFooter").cbe;
	oContent = document.getElementById("content").cbe;
	
	fResize(); 
} 

window.onresize = fResize;

