jQuery(function($) {
        
	$('#q').bind({
		focus : function(e) { if ($(this).val() === 'Rechercher…') $(this).val(''); },
		blur :  function(e) { if ($(this).val() === '') $(this).val('Rechercher…'); }
	}).val($(this).val() == '' ? 'Rechercher…' : $(this).val());
	
	var cpt_therm = $('#cpt_therm');
	var cpt_pv    = $('#cpt_pv');
	var cpt_therm_txt = $('#cpt_therm_txt');
	var cpt_pv_txt    = $('#cpt_pv_txt');
	
	cpt_therm_txt.data('html', cpt_therm_txt.html()).html("\u00A0");
	cpt_pv_txt.data('html', cpt_pv_txt.html()).html("\u00A0");
	
	cpt_pv.bind({
		mouseenter: function() { cpt_pv_txt.html(cpt_pv_txt.data('html')) },
		mouseleave: function() { cpt_pv_txt.html("\u00A0") }
	}).css('cursor', 'pointer');
	
	cpt_therm.bind({
		mouseenter: function() { cpt_therm_txt.html(cpt_therm_txt.data('html')) },
		mouseleave: function() { cpt_therm_txt.html("\u00A0") }
	}).css('cursor', 'pointer');
        
        $('p.confirm').css({cursor: "pointer"}).click(function() {
            $(this).fadeOut(800);
        });

	$('.lightbox').slimbox();
	
	$('.blog_item:even').css('clear', 'both');
})
