﻿//Show loading image when feed is updating
function featureFeedShowLoading(uplFeatureFeedID)
{
    var uplFeatureFeed = $("#" + uplFeatureFeedID);
    var ulLoaded = $("ul.loaded", uplFeatureFeed);
    var ulLoading = $("ul.loading", uplFeatureFeed);
    var loadedHeight = ulLoaded.height() + "px";

    ulLoaded.hide();
    ulLoading.show();
    ulLoading.css("height", loadedHeight);
    ulLoading.find("li").css("line-height", loadedHeight);
}

function showHideCalDatePopUp(calCell, isShow)
{
    var popUp = $(calCell).find("> span.datePopUp")
    if (isShow) popUp.css("display", "block");
    else popUp.css("display", "none");
}
