var Alert = {

	show: function(title, text, class_name) {

		if (!$('#ajax_alert').attr('id')) {

			$('<div id="ajax_alert"></div>').appendTo(document.body);

		}

		$('<div class="item ' + class_name + '"><h2>' + title + '</h2>' + text + '</div>')

			.prependTo($('#ajax_alert'))

			.fadeIn('slow')

			.animate({opacity: 1.0}, 3000)

			.fadeOut('slow', function() {$(this).remove();});
		return False;

	}

}
