$(document).ready(function() { initSite(); }); function initSite() { initPhotoFader("#pageBgs .photoWrap", 7000, 1500); if ($(".featureFeedContent").length > 1) initFeatured(); custScroll(700, 4000, -162, 'left', '#sponsorWrapper', '.adWrap', 'singleAdWrap'); $(".schFeedWrap li:not(.schFeedWrap li:last)").after("
  • |
  • "); var d = new Date(); var day, month, year; var weekday = new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"); var monthname = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"); //document.write(weekday[d.getDay()] + " "); //document.write(monthname[d.getMonth()] + " "); //document.write(d.getFullYear()); $("#date").text(weekday[d.getDay()] + ", " + d.getDate() + " " + monthname[d.getMonth()] + " " + d.getFullYear()); if ($("body").attr("ID") == "newsBody") { $("#singleNewsWrap").prepend(""); var addthis_config = { "data_track_clickback": true } var mrp_addThis = '
    ' + '' + '' + '
    '; //$(".mrp_singleNewsHead h3").after(mrp_addThis); $(".addAddThisToThis").append(mrp_addThis); addJavascript('http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4dc0143410139c8e', 'head'); } } function initFeatured() { var featureScroll = null; if (!$(".featureFeedSub").is(":empty")) { $(".featureFeedWrap").prepend($(".featureThumbsWrap")); featureScroll = $(".featureFeed").scrollable({ vertical: true, clickable: false, loop: true, size: 1, keyboard: false, speed: 700, items: ".featureFeedSub", circular: true }).navigator(".featureThumbsWrap").autoscroll({ autoplay: false, interval: 7000, api: true }); if (featureScroll != null) { featureScroll.play(); } } }