/*  Code by Gildas P. / www.gildasp.fr  */  
function activeMenu(index){
	 	$('#header input').each(function(){
		$(this).removeClass('active');
	});
	$('#header input[name="'+index+'"]').addClass('active');
};
function loadPage(index){
	activeMenu(index);
	 	$.get('pages/'+index+'.php', function(data){
	
		 		 		$('#page').fadeOut('slow', function(){
			$('#page').html(data);
			$('#page').fadeIn('slow');
		});
	});
};


