﻿function ajaxLightbox(url, w, h) {
	Ext.Ajax.request({
		url: url,
		success: function(response, opts) {
			Ext.ux.Lightbox.openMessage(response.responseText, w, h);
		},
		failure: function(response, opts) {
			if ('undefined' != typeof(console))
				console.log('Transferencia AJAX falhou com codigo de status [' + response.status + ']');
		}
	});
}
