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( "Center" );
	oPage.Center.setIncreaseContainerY( false );
	
		oPage.Center.addComponent( "LeftCenter" );
		oPage.Center.LeftCenter.setWidth( 540 );
		oPage.Center.LeftCenter.setX( 20 );
		//oPage.Center.LeftCenter.setMargin( "Bottom" , 20 );
		oPage.Center.LeftCenter.display();
		
		oPage.Center.addContainer( "LeftCenterColumns" );
		
			oPage.Center.LeftCenterColumns.addComponent( "LeftCenter1" );
			oPage.Center.LeftCenterColumns.LeftCenter1.setIncreaseContainerY( false );
			oPage.Center.LeftCenterColumns.LeftCenter1.setWidth( 166 );
			oPage.Center.LeftCenterColumns.LeftCenter1.setX( 20 );
			oPage.Center.LeftCenterColumns.LeftCenter1.display();
			
			oPage.Center.LeftCenterColumns.addComponent( "LeftCenter2" );
			oPage.Center.LeftCenterColumns.LeftCenter2.setIncreaseContainerY( false );
			oPage.Center.LeftCenterColumns.LeftCenter2.setX( 208 );
			oPage.Center.LeftCenterColumns.LeftCenter2.setWidth( 166 );
			oPage.Center.LeftCenterColumns.LeftCenter2.display();
			
			oPage.Center.LeftCenterColumns.addComponent( "LeftCenter3" );
			oPage.Center.LeftCenterColumns.LeftCenter3.setX( 392 );
			oPage.Center.LeftCenterColumns.LeftCenter3.setWidth( 166 );
			oPage.Center.LeftCenterColumns.LeftCenter3.display();
		
		oPage.Center.LeftCenterColumns.setChildsSameHeight();
		oPage.Center.LeftCenterColumns.display();
	
	oPage.Center.display();
	
	oPage.addComponent( "Right" );
	oPage.Right.setX( 580 );
	oPage.Right.setWidth( 160 );
	oPage.Right.display();
	
	oPage.addComponent( "Footer" );
	//oPage.Footer.setMargin( "Top" , 20 );
	oPage.Footer.setWidth( 760 );
	oPage.Footer.display();
}

window.onload = doOnLoad;
window.onresize = doOnResize;
