new Starbox(
  element,                                // the id of your element
  average,                                // average rating to start with
  {
    buttons: 5,                           // amount of clickable areas
    className : 'default',                // default class
    color: false,                         // overwrites the css style to set color on the stars
    duration: 0.6,                        // duration of revert effect, when effects are used
    effect: {
      mouseover: false,                   // use effects on mouseover, default false
      mouseout: true                      // use effects on mouseout, default when available
    }
    hoverColor: false,                    // overwrites the css hover color
    hoverClass: 'hover',                  // the css hover class color
    ghostColor: false,                    // the color of the ghost stars, if used
    ghosting: false,                      // ghosts the previous vote
    identity: false,                      // a unique value you can give each starbox
    indicator: false,                     // use an indicator, default false
    inverse: false,                       // inverse the stars, right to left
    locked: false,                        // lock the starbox to prevent voting
    max: 5,                               // the maximum rating of the starbox
    onRate: false,                        // or function(element, memo) {}
                                          // element = your starbox element
                                          // memo = { identity: identity,
                                          //          rated: rated,
                                          //          average: average,
                                          //          max: max,
                                          //          total: total
                                          //        }
    
    rated: false,                         // or a rating to indicate a vote has been cast
    ratedClass: 'rated',                  // class when rated
    rerate: false,                        // allow rerating
    overlay: 'default.png',               // default star overlay image
    overlayImages: '../../css/',  // directory of images relative to the js file
    stars: 5,                             // the amount of stars
    total: 0                              // amount of votes cast
  }
);
