$(document).ready(function() { $('#rate_p390036').rating('rate.php?pid=390036', {maxvalue:5, curvalue:0}); });