clk_btn = '';
jQuery.noConflict();
jQuery(document).ready(function($){
	

	
	
	
	
/*Calculateur de peinture */	
	
	   var scntDiv = $('#p_scents');
        var i = $('#p_scents p').size() + 1;
	
	 	 $('#addscnt').live('click', function() {
		 
		    $('<p><label for="p_scnt_' + i +'" style="color: #1a1a1a;">Largeur du mur ' + i +' : </label> <input type="text" id="p_scnt_' + i +'" size="20" name="p_scnt_' + i +'" value=""  /> <a href="#" id="remScnt" class="ico remove">x</a></p>').appendTo(scntDiv);
			 i++;
			 return false;
			
		
		 
		 });
		 
		 
		 
		  $('#remScnt').live('click', function() { 
                if( i > 2 ) {
                        $(this).parents('p').remove();
                        i--;
                }
                return false;
	 
	 });
	 
	 
	 
	 $('a[href=#top]').click(function(){
        $('html, body').animate({scrollTop:0}, 'slow');
        return false;
    });

	$("a[href='#']").removeAttr("href").css("cursor","default");
	$('li:last-child').addClass('last');
	
	
	
	$("#modal").fancybox({
	    'padding'           : 0,
        'autoScale'     	: false,
        'transitionIn'		: 'none',
		'transitionOut'		: 'none'
	});
	
	
$('.slider').nivoSlider({ effect:'fade', controlNav:false,  directionNavHide:false});
	

	
	$('#filter').filterable({ 	animationSpeed: 1000, show: { opacity: 'show' },
    hide: { opacity: 'hide' } });
	 
	 /*
	 { 
	animationSpeed: 1000,
	show: { opacity: 'show' },
    hide: { opacity: 'hide' },
	}
	*/

	 
});


