function Loading (HEADER) {
this.HEADER = HEADER;
this.modal = true; 
  if (typeof Loading._initialized == "undefined") {
    
      Loading.prototype.start = function(){
    	  this.LOADING = new YAHOO.widget.Panel("load_pan",  
            			{ width:"250px", fixedcenter:true, constraintoviewport:true, 
            			  close:false, draggable:false, zindex:4, modal:this.modal, visible:true, 
            			  underlay:"none",
            			  effect:{effect:YAHOO.widget.ContainerEffect.FADE,duration:0.5}
            			});
        this.LOADING.setHeader("<span>"+this.HEADER+"</span>");
        this.LOADING.setBody('<span><div style="text-align:center"><img src="/www/images/ajax-loader-48.gif" border="0" alt="Loading..." /></div></span>'); 
        //this.LOADING.setBody('<span><img src="/www/images/loading.gif" style="margin:10px;" /></span>'); 
        this.LOADING.render(document.body);    
        this.LOADING.show();
     	}
    	Loading.prototype.destroyLoading  = function(){
    	  this.LOADING.removeMask();
    	  this.LOADING.destroy();
    	}
    	Loading.prototype.hideLoading  = function(){
    	  this.LOADING.removeMask();
    	  this.LOADING.hide();
    	}
    	
    Loading._initialized = true;
  } //END CONSTRUCT
  
}    