wJ.extend({fitFooter:function(){$("#content").css({paddingBottom:$("#footer").outerHeight()})},fitMenu:function(){var a=$("a.callus");if(a.length){var c=a.position().left-12;$("#mmain").find("a").each(function(){var b=$(this),d=b.position().left;if(d+b.innerWidth()>c)return b.css({marginLeft:c+a.width()+24-d}),!1})}}});
wJ.ready(function(){wJ.isPhone||(wJ.hasParent?(wJ.fitFooter(),wJ.resize(function(){wJ.fitFooter()})):wJ.isTablet&&wJ.orientationchange(function(){setTimeout(function(){window.parent.wJ.fitFooter()},200)}),wJ.isTablet?window.parent.wJ.fitMenu():wJ.fitMenu())});
wJ.ready(function(){wJ.extReady('a',function(){$('#otop').wJslideShow();})});