function CRateOver(id, val) {

    for (var i = 1; i <= val; i++) {

        var element = document.getElementById("Rate_" + i + " " + id);
        element.className = 'starGlow';
    }
}
//To implement hovering effect of rating stars
To implement hovering effect of rating stars
To implement hovering effect of rating stars
function CRateOver(id, val) {
    for (var i = 1; i <= val; i++) {
        var element = document.getElementById("Rate_" + i + " " + id);
        element.className = 'starGlow';
    }
}
function CRateOver ( id , val ) { for ( var i = 1 ; i <= val ; i ++ ) { var element = document . getElementById ( "Rate_" + i + " " + id ) ; element . className = 'starGlow' ; } }
To implement hovering effect of rating stars
To implement hovering effect of rating stars