if (typeof(eAJAXLoaderObject) == 'undefined') 
{
    eAJAXLoaderObject = function()
    {
        this.loaderId   = 'ajax_loader';
        this.loaderBody = '<div id="' + this.loaderId +'" style="font-weight: bold; background: #FFF; color: #4C84BD; border: 1px solid #4C84BD; padding: 5px;">{{message}}</div>';
    }
}
eAJAXLoaderObject.prototype.show = function(message)
{
    $('body').append(this.loaderBody.replace(/\{\{message\}\}/g, message));
    $('#' + this.loaderId).center();    
}
eAJAXLoaderObject.prototype.hide = function()
{
    $('#' + this.loaderId).remove();    
}
