$(document).ready(function(){$(".promo .show-all, .promo .heading-more").hide();$(".show-all,.heading-more","#promo1").show();$(".heading","#promo1").hide();$("#promo1").addClass("active");$(".hot-picks-inner .promo .heading").click(function(){$(this).parents(".hot-picks-inner").find(".active .show-all").slideUp();$(this).parents(".promo").addClass("active");$(this).parents(".promo").find(".show-all").slideDown("slow");$(this).parents(".promo").find(".heading-more").show();$(this).parents(".hot-picks-inner").find(".heading").show();$(this).hide()});$(".hot-picks-inner .promo .heading a").click(function(){$(this).parents(".heading").click();return false})});$(function(){var a=".left-col .pager .pages";$("#slideshow").cycle({delay:2000,speed:250,pause:true,pager:a,pagerAnchorBuilder:function(c,b){return'<a id="page'+(c+1)+'" class="page'+(c+1)+' pageOff" href="#" title="Slide '+(c+1)+'"></a>'},before:function(e,d,c,b){allPagesOff();setTimeout(function(){$(a+" a").each(function(){DD_belatedPNG.applyVML(this)})},1)},pagerClick:function(b,c){thisPageOn(b,c)}});$("#slideshow").append($(".left-col .pager"));$(".left-col .pager").show()});function allPagesOff(){$(".left-col .pager .pages").find("a").each(function(a){$(this).removeClass("pageOn");$(this).addClass("pageOff")})}function thisPageOn(a,b){allPagesOff();var c=".left-col .pager .pages .page"+a;$(c).removeClass("pageOff");$(c).addClass("pageOn")};
