//Shared functions and variables which are "instancable portlet safe "

// modifing diplayed rating of the category - safe becouse the categoryName is prefixed with unique portlet id 

function submitRatingLocalizedCategories(form, url, callbackFunction) {
	jQuery.post(url, jQuery(form).serialize(), callbackFunction);
}

//nothing what should constrain refreshing just for one portlet or each jsp that need it
function refreshRatingFragmentNew(element, url) {
  jQuery.get(url, function(data) {
    jQuery(element).replaceWith(data);
  });         
}



  