(function($){	
	$.fn.extend({
		/* CARREGA HTML */
		LoadHTML: function(thisUrl) {
			var div = $(this);
			$.ajax({
				type: 'POST',
				dataType: 'html',
				contentType: 'application/x-www-form-urlencoded; charset=iso-8859-1', 
				url: 'ajax.php?in=' + thisUrl,
				success: function(result) {									
					div.html(result);
				},
				error: function(result) {
					div.html('Error file not found');				
				}
			});	
		}
	});
})(jQuery);	
