$(function(){	/**	 *  Popup ouverture des promotions:	 *      => non-IE	 */	a = $(".lien-thick").find("a").addClass("thickbox");	$(".lien-thick .thickbox").each(function()	{		a = $(this).attr("href");		a = a.split("/");		long = a.length-1;		nom = a[long];		href = "spip.php?page=popup&article=" + nom + "&lang=fr&height=500&width=400";		$(this).attr("href",href);	});	start_tickbox();		/**	 *  Popup ouverture des promotions:	 *      => non-IE	 *  @see http://www.w3schools.com/jsref/met_win_open.asp	 */    $('a.ie-new-window').click(function(){        window.open( this.href, '', 'width=750, height=600, menubar=no, resizable=yes, scrollbars=yes' );        return false;    });            //      Classes CSS        //      Footer    $('.box-croissmoi-footer .croissmoi-inner-box.footer-count').each( function( i ) {        $(this).addClass( 'box-' + ( i + 1 ));    });        //      Zone principale    var nb_promos_principales = $('.croissmoi-body-inner-wrap-promos-exclusives .box-inside a img').length;    $('.croissmoi-body-inner-wrap-promos-exclusives .box-inside').each( function( i ) {        $(this).addClass( 'promo' + ( i + 1 )).addClass( 'total-' + nb_promos_principales );    });    });/** *  header  menu */$(function(){    $(".menu-titre").hover(      function () {		$(this).find(".normal").css("display","none");		$(this).find(".hover").css("display","block");      },       function () {		$(this).find(".normal").css("display","block");		$(this).find(".hover").css("display","none");      }    );});/** *  spip_out */$(function(){    // mise en place du target blank pour les liens hors du site    $(".spip_out").attr("target","_blank");    $(".spip_out").each(function(){      title =  "(nouvelle fenetre)";      if($(this).attr("title")) title = $(this).attr("title") + " (nouvelle fenetre)";     $(this).attr("title",title);    });});/** *  hauteur block */$(function(){	$(".membres-box .bg").css("height",$(".inscrit-box").height()-53);});
