if (typeof(eAJAXLoaderObject) == 'undefined') 
{
    eAJAXLoaderObject = function()
    {    	
        this.loaderId   = 'ajax_loader';
        this.loaderBody = '<div id="' + this.loaderId +'" style="z-index: 9999;"><table><tr><td><img src="/images/ajax/ajax-loader.gif" /></td><td style="vertical-align: middle;">&nbsp;&nbsp;<strong>{{message}}</strong></td></tr></table></div>';        
    }
}
eAJAXLoaderObject.prototype.show = function(message)
{	
    $('body').prepend(this.loaderBody.replace(/\{\{message\}\}/g, message));
    $('#' + this.loaderId).center();        
}
eAJAXLoaderObject.prototype.hide = function()
{	
    $('#' + this.loaderId).remove();    
}