function CRateOut(id, val) {
    for (var i = 1; i <= val; i++) {

        var element = document.getElementById("Rate_" + i + " " + id);
        element.className = 'starFade';
    }
}
//To reset the colored stars once the pointer is removed from the star
To reset the colored stars once the pointer is removed from the star
To reset the colored stars once the pointer is removed from the star
function CRateOut(id, val) {
    for (var i = 1; i <= val; i++) {
        var element = document.getElementById("Rate_" + i + " " + id);
        element.className = 'starFade';
    }
}
function CRateOut ( id , val ) { for ( var i = 1 ; i <= val ; i ++ ) { var element = document . getElementById ( "Rate_" + i + " " + id ) ; element . className = 'starFade' ; } }
To reset the colored stars once the pointer is removed from the star
To reset the colored stars once the pointer is removed from the star