		slideShow = function(nbSlide){
                var current = 1;
				//nbSlider set à 4 pour le moment
				nbSlide = 4;
                var iterate		= function(){
                    var i = parseInt(current+1);
                    var lis = J('#rotmenu').children('li').size();
                    if(i>lis) i = 1;
                    display(J('#rotmenu li:nth-child('+i+')'));
                };
				
				var inverse		= function(){
                    var i = parseInt(current-1);
                    var lis = J('#rotmenu').children('li').size();
                    if(i<1) i = nbSlide;
                    display(J('#rotmenu li:nth-child('+i+')'));
                };
                display(J('#rotmenu li:nth-child(1)'));
                var slidetime = setInterval(iterate,4500);
				
                J('#rotmenu li').bind('click',function(e){
                    display(J(this));
                    e.preventDefault();
                });
				
				/*J('a.next').bind('click',function(nxt){
                    iterate();
                    nxt.preventDefault();
                });
				
				J('a.prev').bind('click',function(prv){
                    inverse();
                    prv.preventDefault();
                });*/
                function display(elem){
                    var $this 	= elem;
                    var repeat 	= false;
                    if(current == parseInt($this.index() + 1))
                        repeat = true;
					
                    if(!repeat) /*!repeat = true; Donc repeat = false*/
                        $this.parent().find('li:nth-child('+current+') a').stop(true,true).animate({'marginRight':'0px'},300,function(){
                            J(this).find('img').attr('src', '../squelettes/images/puce_vide.gif');
							
                        });
					
                    current = parseInt($this.index() + 1);
					
                    var elem = J('a',$this);
                    
                        elem.stop(true,true).animate({'marginRight':'0px'},300,function(){
							J(this).find('img').attr('src','../squelettes/images/puce_pleine.gif');
						});
					
                    var info_elem = elem.next();
                    J('.overlay .heading').animate({'left':'-420px'}, 500,'easeOutCirc',function(){
                        J('span',J(this)).html(info_elem.find('.info_heading').html());
                        J(this).animate({'left':'0px'},400,'easeInOutQuad');
                    });
                    J('.overlay .description').animate({'bottom':'-270px'},500,'easeOutCirc',function(){
                        J('p',J(this)).html(info_elem.find('.info_description').html());
                        J(this).animate({'bottom':'0px'},400,'easeInOutQuad');
                    });
					J('#rot1').find('img').fadeOut(800).parent().remove();
                    J('#rot1').prepend('<a href="'+info_elem.find('.info_link').html()+'"><img src="/'+info_elem.find('.info_image').html()+'" alt="" /></a>').hide().fadeIn(700);
                }
				
		};
			
			
