// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults
Event.addBehavior.reassignAfterAjax = true;
Event.addBehavior({
	'div.pagination a': Remote.Link
});

Ajax.Responders.register({
	
onCreate: function() {
	if (Ajax.activeRequestCount > 0)
		Element.show('form-indicator');
	},
onComplete: function() {
	if (Ajax.activeRequestCount == 0)
		Element.hide('form-indicator');
	}
});