
	var dialog;
	  
  	function showFooter(cas,title,elm){
	 /*=======================================================================================*/
	 Ext.Ajax.request({		  
		   url: 'test.footer?action='+cas,
		   callback: function(options, success, o) {
		     if(success){		      
		        var obj=eval('('+o.responseText+')');
		        dialog = new Ext.Window({
		            title: title,
		            autoCreate: true,
		            renderTo: document.body,
		            closable:true,
		            width:750,
		            height:500,
		            modal:true,     
		            shadow:true,    
		            autoScroll: false, 
		            Style:"font-size:9px;",
		            bodyStyle: "padding:15px 10px 10px 15px;background:white;", 
		            closeAction:'hide',
	            	animCollapse:true, 
	            	animateTarget: elm.dom, 
		            allowDomMove: false,             
		            plain: false,
		            constrain: false,
		            layout: 'border',
			        items: new Ext.Panel({
			            title: '',
			            region: 'center',
						autoScroll: true,             
			            html: '',
			            collapsible: false,
			            margins:'3 0 3 0'
			        })
            })
			dialog.body.update(obj.result);
			dialog.on('beforehide', function(){ Ext.get("radio").setVisible(true); });
	 		dialog.on('beforeshow', function(){Ext.get("radio").setVisible(false);});	
     		dialog.show();       	         	    
		  }// fin success
		}// fin callback
	  })// fin request
	  
     } //fin function

