            jQuery(function() {
                var current = 1;
                
                var iterate		= function(){
                    var i = parseInt(current+1);
                    var lis = jQuery('#rotmenu').children('li').size();
                    if(i>lis) i = 1;
                    display(jQuery('#rotmenu li:nth-child('+i+')'));
                }
                display(jQuery('#rotmenu li:first'));
                var slidetime = setInterval(iterate,5000);
				
                jQuery('#rotmenu li').bind('click',function(e){
                    clearTimeout(slidetime);
                    display(jQuery(this));
                    e.preventDefault();
                });
				
                function display(elem){
                    var jQuerythis 	= elem;
                    var repeat 	= false;
                    if(current == parseInt(jQuerythis.index() + 1))
                        repeat = true;
					
                    if(!repeat)
                        jQuerythis.parent().find('li:nth-child('+current+') a').stop(true,true).animate({'marginRight':'-20px'},300,function(){
                            jQuery(this).animate({'opacity':'0.7'},700);
                        });
					
                    current = parseInt(jQuerythis.index() + 1);
					
                    var elem = jQuery('a',jQuerythis);
                    
                        elem.stop(true,true).animate({'marginRight':'0px','opacity':'1.0'},300);
					
                    var info_elem = elem.next();
                    jQuery('#rot1 .heading').animate({'left':'-420px'}, 500,'easeOutCirc',function(){
                        jQuery('h1',jQuery(this)).html(info_elem.find('.info_heading').html());
                        jQuery(this).animate({'left':'0px'},400,'easeInOutQuad');
                    });
					
                    jQuery('#rot1 .description').animate({'bottom':'-270px'},500,'easeOutCirc',function(){
                        jQuery('p',jQuery(this)).html(info_elem.find('.info_description').html());
                        jQuery(this).animate({'bottom':'0px'},400,'easeInOutQuad');
                    })
                    jQuery('#rot1').prepend(
                    jQuery('<img/>',{
                        style	:	'opacity:0',
                        className : 'bg'
                    }).load(
                    function(){
                        jQuery(this).animate({'opacity':'1'},600);
                        jQuery('#rot1 img:first').next().animate({'opacity':'0'},700,function(){
                            jQuery(this).remove();
                        });
                    }
                ).attr('src',info_elem.find('.info_image').html()).attr('width','800')
                );
                }
            });
