function doOnResize()
{
	window.location.href = window.location.href;
}

function doOnLoad()
{
	oPage = new clsContainer( "Page" );
	oPage.setWidth( 760 );
	oPage.setAlign( "Center" );
	oPage.setup();
	
	oPage.addComponent( "Header" );
	oPage.Header.setWidth( 760 );
	oPage.Header.setMargin( "Bottom" , 20 );
	oPage.Header.display();
	
	oPage.addContainer( "Main" );
	oPage.Main.setIncreaseContainerY( false );
	
		oPage.Main.addComponent( "LeftCenter" );
		oPage.Main.LeftCenter.setWidth( 540 );
		oPage.Main.LeftCenter.setX( 20 );
		oPage.Main.LeftCenter.display();
		
		oPage.Main.addContainer( "MainColumns" );
		
			oPage.Main.MainColumns.addComponent( "Left" );
			oPage.Main.MainColumns.Left.setIncreaseContainerY( false );
			oPage.Main.MainColumns.Left.setWidth( 200 );
			oPage.Main.MainColumns.Left.setX( 20 );
			oPage.Main.MainColumns.Left.display();
			
			oPage.Main.MainColumns.addComponent( "Center" );
			oPage.Main.MainColumns.Center.setIncreaseContainerY( true );
			oPage.Main.MainColumns.Center.setX( 240 );
			oPage.Main.MainColumns.Center.setWidth( 320 );
			oPage.Main.MainColumns.Center.display();
		
		oPage.Main.MainColumns.display();
	
	oPage.Main.display();
	
	oPage.addComponent( "Right" );
	oPage.Right.setX( 580 );
	oPage.Right.setWidth( 160 );
	oPage.Right.display();
	
	oPage.addComponent( "Footer" );
	oPage.Footer.setWidth( 760 );
	oPage.Footer.display();
}

window.onload = doOnLoad;
window.onresize = doOnResize;