has been posted. Thank you !', '', 'OK'); SmartJS_BrowserUtils.GrowlNotificationAdd('Thank You', 'Your rating for this program was ' + rating + ' of 5.', '', 3500, false, 'gritter-s112-hilite'); } else { SmartJS_BrowserUtils.GrowlNotificationAdd(msg.result, '' + msg.message, '', 3500, false, 'gritter-s112-err'); } }).fail(function(msg) { alert('ERROR (Rating): Invalid Server Response !', '' + msg.responseText); }); } }); $('#users-rating').jRate({ readOnly: true, rating: the_rating_of_user, backgroundColor: '#CCCCCC', strokeColor: '#999999', startColor: '#F0D700', endColor: '#F0D700', width: 16, height: 16, precision: 0.5, minSelected: 0.5 }); if(the_rating_of_editor > 0) { $('#editor-rating').jRate({ readOnly: true, rating: the_rating_of_editor, backgroundColor: '#CCCCCC', strokeColor: '#999999', startColor: '#009196', endColor: '#009196', width: 16, height: 16, precision: 0.5, minSelected: 0.5 }); } else { $('#editor-td-rating').hide(); } //end if else