$(document).ready(function() {

	$("#hp-actu div.mod_newslist").easySlider({
		prevId: 'prevBtn',
		prevText: '<< Pr&eacute;c&eacute;dent',
		nextId: 'nextBtn',	
		nextText: 'Suivant >>',
		controlsShow: true,
		speed: 1000,
		pause: 7000,
		auto: false, 
		continuous: true
	});	

	$("#header img").click(function(){
		window.location= "index.html"; return false;
	});

	$("#depregcom img").click(function(){
		window.location= "qui-fait-quoi.html"; return false;
	});

	$("body.home div.reactions").click(function(){
		window.location= "reactions-a-chaud.html"; return false;
	});

	$("body.home div.photojour").click(function(){
		window.location= "photos.html"; return false;
	});
	
	$(".nav_left ul.level_1 > li a, .nav_right ul.level_1 > li a").prepend("&#155; "); 
	$("#footer ul.level_1 > li").prepend(" | ");
	$("#footer ul.level_1 > li.first").prepend(" "); 
	
	
	$("div.nav_right h1").addClass('tit_letter');
        $("div.nav_right h1:first").removeClass('tit_letter').addClass('tit_people');
});
$(function(){
	// TAILLE COLONNES
	var $elskzh = $("#left, #main, #right").equalizeCols();
	var $elskzh = $("#main_left, #main_right").equalizeCols();
	
	$.superbox();
});

$.superbox.settings = {
	boxId: "superbox", // Id attribute of the "superbox" element
	boxClasses: "", // Class of the "superbox" element
	overlayOpacity: .8, // Background opaqueness
	boxWidth: "600", // Default width of the box
	boxHeight: "400", // Default height of the box
	loadTxt: "Loading...", // Loading text
	closeTxt: "Fermer", // "Close" button text
	prevTxt: "Precedent", // "Previous" button text
	nextTxt: "Suivant" // "Next" button text
};