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