	
$(function(){$(".box:last").addClass("expanded");document.currentBox=$(".box:first")
document.animating=false;$(".accordian img").hover(function(){$(this).css('cursor','pointer');},function(){$(this).css('cursor','default');});$(".box").hoverIntent({over:enterBox,timeout:200,out:exitBox});function enterBox(){clearTimeout(document.accordianTimer);if(document.animating){return false;}
document.animating=true;var $box=$(this);$(".expanded").stop().animate({width:"189px"},{duration:400,queue:false,complete:function(){$(this).removeClass("expanded");}});$box.stop().animate({width:"370px"},{duration:400,queue:false,complete:function(){document.currentBox=$(this).hasClass('box-last')?$(".box:first"):$(this).next();$(this).addClass("expanded");document.animating=false;}});}
function exitBox(){document.accordianTimer=setTimeout(expandBox,3000);}
function expandBox(){if(document.animating){return false;}
document.animating=true;var $box=document.currentBox;$(".expanded").stop().animate({width:"189px"},{duration:400,queue:false,complete:function(){$(this).removeClass("expanded");}});$box.stop().animate({width:"370px"},{duration:400,queue:false,complete:function(){$(this).addClass("expanded");document.animating=false;}});document.currentBox=$box.hasClass('box-last')?$(".box:first"):$box.next();document.accordianTimer=setTimeout(expandBox,3000);}
document.accordianTimer=setTimeout(expandBox,3000);});