Youtube removed their rating system but most of us are disappointed about this. I will fight back and learn you how to make you own star based rating system for your website.
1. jQuery

$(function(){
for (i=1; i < 6; i++){
$(".rate").append('<img src="star.gif" width="24" height="21" />');
}
$(".rate img").mouseover(function(){
$(this).attr("src", "starHover.gif").addClass("active");
$(this).prevAll().each(function(){
$(this).attr("src", "starHover.gif").addClass("active");
});
$(this).nextAll().each(function(){
$(this).attr("src", "star.gif").removeClass("active");
});
});
$(".rate").mouseleave(function(){
$("img", this).each(function(){
$(this).attr("src", "star.gif").removeClass("active");
});
});
$(".rate").one("click", function(){
$(".rate").unbind("mouseleave");
$(".rate img").unbind("mouseover");
var starAmount = $(".rate img.active").length;
alert("You voted "+starAmount+" star(s)");
});
});