jQuery.extend(jQuery.easing,{easeOutBounce:function(e,f,a,h,g){if((f/=g)<(1/2.75)){return h*(7.5625*f*f)+a}else{if(f<(2/2.75)){return h*(7.5625*(f-=(1.5/2.75))*f+0.75)+a}else{if(f<(2.5/2.75)){return h*(7.5625*(f-=(2.25/2.75))*f+0.9375)+a}else{return h*(7.5625*(f-=(2.625/2.75))*f+0.984375)+a}}}}});jQuery(function(d){var n=["images/one_show.png",362,72];var l=["images/two_show.png",324,72];var k=["images/three_show.png",324,72];var j=["images/one_show.png",215,72];var h=["images/one_show.png",195,112];var q=1000;var b=300;var p="easeOutBounce";d("#hot-pocket-wrapper").append("<div id='hot-pocket-reflection'></div><div id='hot-pocket-fader'></div>");r("#hp-one",n);r("#hp-two",l);r("#hp-three",k);r("#hp-four",j);r("#hp-five",h);function r(t,u){d(t).css("background-image","url("+u[0]+")");d(t+" .text").css("margin-top",u[2]+"px").css("height",230-u[2]+"px");d("#hot-pocket-reflection").append("<div class='reflection' id='"+t.substr(1)+"-r'></div>");d("#hot-pocket-reflection "+t+"-r").css("background-image","url("+u[0]+")");d(t+" a.hp-button").css("background-image","url("+u[0]+")").css("width",u[1]+"px");d("#hot-pocket-fader").append("<div class='fader' id='"+t.substr(1)+"-f'></div>");d("#hot-pocket-fader "+t+"-f").css("background-image","url("+u[0]+")").fadeOut(0)}var f=0;var o=false;var s=false;var e=true;d("#hp-one").animate({height:"300px"},0);a();function c(t){if(t!=f&&o!=true&&s!=true){o=true;m(f);if(!t){f++;if(f==6){f=1}t=f}f=t;g(t)}}function m(t){slideWord=i(t);t="#hp-"+slideWord;d("#hot-pocket-fader "+t+"-f").css("z-index","4").fadeOut(b);d("#hot-pocket .hp").css("z-index","4");d("#hot-pocket-reflection "+t+"-r").animate({height:"0"},q/3,p);d("#hot-pocket").animate({height:"300px"},q,function(){d("#hot-pocket "+t).animate({height:"0"},0)});d("#hot-pocket-nav a").removeClass("active")}function g(t){slideWord=i(t);t="#hp-"+slideWord;d(t).css("z-index","5");d("#hot-pocket-reflection "+t+"-r").animate({height:"49px"},q,p);d(t).animate({height:"300px"},q,p,function(){d("#hot-pocket-fader "+t+"-f").css("z-index","6").fadeIn(500,function(){o=false})});d("#hot-pocket-nav li."+slideWord+" a").addClass("active")}function i(t){if(t==1){return"one"}else{if(t==2){return"two"}else{if(t==3){return"three"}else{if(t==4){return"four"}else{return"five"}}}}}d("#hot-pocket-nav a").bind("click",function(){s=false;c(d(this).attr("href").substr(1));return false});d("#hot-pocket").bind("mouseover",function(){s=true});d("#hot-pocket").bind("mouseout",function(){s=false});d("#hot-pocket-nav").bind("mouseover",function(){s=true});d("#hot-pocket-nav").bind("mouseout",function(){s=false});function a(){c();setTimeout(function(){a()},8000)}});
