﻿$(function() {

    if (typeof DelayedContent=="undefined") return;

    DelayedContent.prototype.ShowLoading = function() {
        $(this._container).html("<div class=\"loading-flare\"></div>");
        //debugger;
    }

    DelayedContent.prototype.UserFriendlyLoad = function(a) {
        if (this.IsLoaded()) return;
        this.ShowLoading();
        this.Load(a);
    }


    DelayedContent.prototype.UserFriendlyReload = function(a) {
        this.ShowLoading();
        this.Reload(a);
    }

});