function d(a,b){function c(){}c.prototype=b.prototype;a.m=b.prototype;a.prototype=new c};function e(){this._data={}};function f(){this.g={}};function g(a){this.g={};this.h=a}d(g,f);function h(a,b,c){this.k=b;this.h=a;this.l=c}
function j(a,b){switch(b){case "ads":a.i.init();break;case "blog":$("article a").each(function(){$(this).attr("href").match(/^http\:\/\/www.leanmeanfightingmachine\.co\.uk\/|^..\/|^.\//)?$(this).removeAttr("target"):$(this).attr("target","_blank")});$("#show-more-authors").bind("click",function(i){i.preventDefault();i.stopPropagation();$(".more-authors").slideToggle("normal")})}a.j.init();if($.browser.msie){var c="ie"+parseInt($.browser.version,10);$("body").addClass(c)}}
h.prototype.i={init:function(){var a=this;$(".showAd").each(function(b){if(b==0){b=$(this).attr("href").substr(1);a.e(b)}});$(".showAd").bind("click",function(b){b.preventDefault();b.stopPropagation();b=$(this).attr("href").substr(1);a.e(b)})},b:-1,f:0,e:function(a){var b=this;if(b.b!=a){b.f=1;$(".showAd").each(function(){var c=$(this);c.parent().removeClass("current");$(this).attr("href").substr(1)==a&&c.parent().addClass("current")});$("#adHolder").attr({src:ads[a]},function(){b.f=0})}this.b=a}};
h.prototype.j={d:0,a:false,init:function(){var a=this;if(!navigator.userAgent.match(/Android/i)&&!navigator.userAgent.match(/webOS/i)&&!navigator.userAgent.match(/iPhone/i)&&!navigator.userAgent.match(/iPod/i)){this.d=$("footer").outerHeight();this.c();$(window).resize(function(){a.c()})}},c:function(){var a=$("html").height()+(this.a==true?this.d:0);if($(window).height()>=a){$("footer").css({position:"fixed",bottom:"0px"});this.a=true}else{$("footer").css({position:"",bottom:""});this.a=false}}};function k(a){$(document).ready(function(){typeof window.console!="undefined"&&window.console.log("DEBUG:","document.ready :: "+a);var b;b=new e;j(new h(b,new g(b),{}),a)})}var l="lmfm.site.App".split("."),m=this;!(l[0]in m)&&m.execScript&&m.execScript("var "+l[0]);for(var n;l.length&&(n=l.shift());)if(!l.length&&k!==undefined)m[n]=k;else m=m[n]?m[n]:m[n]={};

