" + widgetText.replace("| |", "") + ""); } else { var el = $("#footersection div.widget-content"); if ($.trim(el.html()) == '') { $(".art-footer-default").show(); } } }; })(jQuery); var artFixPostHeaders = (function ($) { return function () { $("div.art-postmetadataheader").each(function (i) { if ($("div, h2", this).length == 0) $(this).css("display", "none"); }); }; })(jQuery); jQuery(function () { artFixPostHeaders(); }); var artHeaderWidget = (function ($) { return function () { if (showHeader == null || showHeader == false) { $("#Header1").css("display", "none"); } }; })(jQuery); jQuery(function () { artHeaderWidget(); }); var artVMenuWidget = (function ($) { return function () { if (showVMenu == null || showVMenu == false) { $("#LinkList97").css("display", "none"); $("#BlogArchive99").css("display", "none"); $("#PageList99").css("display", "none"); } }; })(jQuery); jQuery(function () { artVMenuWidget(); }); var artFixPostFooters = (function ($) { return function () { $("div.art-postmetadatafooter > div.art-postfootericons").each(function (i) { if ($("img, a", this).length == 0) $(this).parent("div.art-postmetadatafooter").css("display", "none"); }); }; })(jQuery); jQuery(function () { artFixPostFooters(); }); var showHomePage = false; var artFixTopCustomMenu = (function ($) { return function () { if ($("#LinkList99").length == 0) { var navSection = $("#crosscol"); if (navSection.length > 0) { if (showHomePage) { if (window.location == homePageLink) var tmpstr = ''; else var tmpstr = ''; navSection.html('