$(document).ready(function(){$(".home-feature-cover-wrap").click(function(event){$(".feature-1").animate({left:'34px',zindex:'50',bottom:'20px',width:'180px'},700,'swing',function(){$(this).removeClass('feature-1').addClass('feature-2');});$(".feature-2").animate({width:'265px',left:'174px',zindex:'60',bottom:'-2px'},700,'swing',function(){$(this).removeClass('feature-2').addClass('feature-3');var $newDesc=$('#feature-desc-'+$(this).attr('rel'));$newDesc.fadeIn('1000');});$(".feature-3").animate({left:'720px',bottom:'20px',width:'180px'},700,'swing',function(){$(this).removeClass('feature-3').addClass('feature-4');});$(".feature-4").animate({zindex:'10',bottom:'38px',width:'135px',left:'826px'},700,'swing',function(){$(this).removeClass('feature-4').addClass('feature-5');});$(".feature-5").css({zindex:'1'}).animate({left:'+=40px',bottom:'+=8px',width:'110px',opacity:'0'},250,'swing',function(){$(".feature-5").css({left:'-36px'}).animate({bottom:'38px',width:'135px',opacity:'1',left:'-26px'},350,'swing',function(){});$(this).removeClass('feature-5').addClass('feature-1');});$("#home-feature-desc > div").fadeOut();});});
