/** 
* @alias oldPages02.js
* @projectDescription France 2 & France 3, versions 2.0
* @author	[FTVI] Guyllaume Doyer
*/


// ---------------------------------------------------------------------------------------------- \\
// Jquery init event
// ---------------------------------------------------------------------------------------------- \\

$(document).ready(function()
{
	fixLayout();
});


// ----------------------------------------------------- \\
// This function fixes some of the old pages content layout
// properties to fit to the new pages arch
// ----------------------------------------------------- \\
function fixLayout()
{

	var parentContainer = $("#oldPagesContent02");

	// Remove old breadcrumbs data
	$("#breadcrumbs", parentContainer).hide();

	// Change some css of the menu
	$("div#menu", parentContainer).slice(0,1).css({width: "auto", position: "static", left: "auto", top: "auto", float:"left", marginRight: "4px"});

	// Set width of the main tables of the page
	$("#eSiteContent", parentContainer).children("table").each(function()
	{
		$(this).css("width","675px");
		if ( $(this).attr("align") == "center" ) { $(this).attr("align","left"); }
	});
}