/**
 * Dependent on jQuery
 *
 * Highlights company items on mouse over
 */
CompamyItem = newClass(null, {

    constructor: function(options) {

        this.itemClass = options.itemClass;

        thisCompanyItem = this;
        if (this.itemClass) {
            $('.' + this.itemClass).each(function() {
                $(this).hover(
                  function () {
                    $(this).addClass("company-item-hover");
                  }, 
                  function () {
                    $(this).removeClass("company-item-hover");
                  }
                );
            });
        }
    }
});

$(document).ready(function() {
    new CompamyItem({itemClass: "company-item"});

});
