function RateObject(objectID, objectType, rateType) {
	Ext.Ajax.request({
		url: 'modules/Rating/pages/rateAjax.php?id=' + objectID + '&type=' + objectType + '&rateType=' + rateType,
		success: function(r) {
			Ext.get('rateDisplay').update(r.responseText);
			if (rateType == 'add')
				Ext.get('rateDisplay').highlight('1eff00', { endColor: 'd7d7d7' });
			else
				Ext.get('rateDisplay').highlight('ff0000', { endColor: 'd7d7d7' });
		}
	});
}