var C4=C4||{};
C4.Controller=(function seriesLandingControllerInit(C){var B={enhanceEpisodeList:function A(){if(C.browser.mozilla&&C.browser.version>2){C("div#EpisodeList").find("p").css("height","4.5em").flowfit()
}C("div#EpisodeList").find("ul>li:odd").each(function(){var F=C(this),E=F.prev(":first").height();
if(F.height()<E){E++;
F.css("height",E+"px");
F.prev(":first").css("height",E+"px")
}F.addClass("odd")
})
}};
return{init:function D(){C4.OO.insistRequired({object:C,names:["flowfit","history","poshTabsLite","outerHtml"]},{object:C4.Brand.Views,names:["buildPocketsAndTabs","enhanceQuickLinks"]});
B.enhanceEpisodeList();
C4.Brand.Views.enhanceQuickLinks();
C4.Brand.Views.buildPocketsAndTabs();
C4.Brand.Views.enhanceSponsorship();
C4.Brand.Views.enhanceBrandPageAds();
C4.Brand.Views.enhanceJumpPointLinks();
C4.Brand.Views.enhanceEpisodeLinks(306)
},_set$:function(E){C=E
},_setViews:function(E){B=E
},_getViews:function(){return B
},_reset:(function(){var E=C,F=B;
return function(){C=E;
B=F
}
})()}
})(jQuery);