text: ACC.common = {
  	
  	processingMessage: $("<img src='" + ACC.config.commonResourcePath + "/images/spinner.gif'/>"),
  
  	
  	blockFormAndShowProcessingMessage: function (submitButton)
  	{
  		var form = submitButton.parents('form:first');
  		form.block({ message: ACC.common.processingMessage });
  	},
  
  	refreshScreenReaderBuffer: function ()
  	{
  		// changes a value in a hidden form field in order
  		// to trigger a buffer update in a screen reader
  		$('#accesibility_refreshScreenReaderBufferField').attr('value', new Date().getTime());
  	}
  
  };
  
  
  
  
  
  /* Extend jquery with a postJSON method */
  jQuery.extend({
  	postJSON: function (url, data, callback)
  	{
  		return jQuery.post(url, data, callback, "json");
  	}
  });
  
  // add a CSRF request token to POST ajax request if its not available
  $.ajaxPrefilter(function (options, originalOptions, jqXHR)
  {
  	// Modify options, control originalOptions, store jqXHR, etc
  	if (options.type === "post" || options.type === "POST")
  	{
  		var noData = (typeof options.data === "undefined");
  		if (noData || options.data.indexOf("CSRFToken") === -1)
  		{
  			options.data = (!noData ? options.data + "&" : "") + "CSRFToken=" + ACC.config.CSRFToken;
  		}
  	}
  });
  
  