var Layout=function(){var o="layouts/layout5/img/",e="layouts/layout5/css/",n=App.getResponsiveBreakpoint("md"),t=function(){var o=$(".page-content"),e=($(".copyright"),$("body"),App.getViewPort().height-$(".copyright").outerHeight()-$(".page-header").outerHeight()-50);o.css("min-height",e)},a=function(){$(window).scrollTop()>60?$("body").addClass("page-on-scroll"):$("body").removeClass("page-on-scroll")},i=function(){var o=function(){var o=$(window).scrollTop();o>100?$(".go2top").show():$(".go2top").hide()};o(),navigator.userAgent.match(/iPhone|iPad|iPod/i)?$(window).bind("touchend touchcancel touchleave",function(e){o()}):$(window).scroll(function(){o()}),$(".go2top").click(function(o){o.preventDefault(),$("html, body").animate({scrollTop:0},600)})},r=function(){$(".page-header .navbar-nav > .dropdown-fw, .page-header .navbar-nav > .more-dropdown, .page-header .navbar-nav > .dropdown > .dropdown-menu > .dropdown").click(function(o){if(App.getViewPort().width>n){if($(this).hasClass("more-dropdown")||$(this).hasClass("more-dropdown-sub"))return;o.stopPropagation()}else o.stopPropagation();var e=$(this).parent().find("> .dropdown");if(App.getViewPort().width=n&&"desktop"!==e.data("breakpoint")?(e.data("breakpoint","desktop"),$('[data-hover="extended-dropdown"]',e).not(".hover-initialized").each(function(){$(this).dropdownHover(),$(this).addClass("hover-initialized")})):o