
//this function sets the global handlers for ajax
var myGlobalHandlers = {
	onCreate: function(){
		//Element.show('systemWorking');
	},

	onComplete: function() {
		if(Ajax.activeRequestCount == 0){
			//Element.hide('systemWorking');
		}
	}
};

// register the global handlers
Ajax.Responders.register(myGlobalHandlers);

// error reporting for AJX calls				
function reportError(request)
{
	alert('Sorry. There was an error.');
}
