/* Rating Stars */
var star_full, star_null;
function stars_init () {
    if (document.images) {
        star_full = new Image();
        star_full.src = '/img/star-full.png';
        star_null = new Image();
        star_null.src = '/img/star-null.png';
    }
}

function stars (id, type) {
    if (!document.images) {
        return false;
    }
    for ( i = 1; i <= id; i++ ) {
        if ( type == "show" ) document.images["star" + i].src = star_full.src;
        else if (type=="hide") document.images["star" + i].src = star_null.src;
    }
}

// addEvtListener( window, "load", function () {stars_init(); navigation_filter_init();} );

