﻿function srabcb_home_equalizeCols() {
    $('#content div.homeCallout div.fill').remove();
    $('#content div.homeCallout').equalizeCols();
    setTimeout("srabcb_home_equalizeCols()", 1000);
}

$(document).ready(function() {
    // News Feed
    $("#srabcb-news-feed a.next").unbind().click(function() {
        srabcb_news_feed.loadNext();
        return false;
    });
    $("#srabcb-news-feed a.previous").unbind().click(function() {
        srabcb_news_feed.loadPrevious();
        return false;
    });
    $("#srabcb-news-feed").hover(srabcb_news_feed.stopInterval, srabcb_news_feed.startInterval);

    // Share Ideas hit region
    var siteSection = "/individuals";
    if ($('body.employers').length) {
        siteSection = "/employers";
    }
    $('div.body-banner').append('<a href="' + siteSection + '/share-ideas.aspx" id="bannerShareIdeas"></a>');
});