(function($) {
$.fn.CJMenu = function(options) {
    var self = this;

    var defaults = {

    };

    options = $.extend(options,defaults);

    var functions = {
        bindEvents: function() {
            self.find('li').hover(functions.over, functions.out);
        },
        over: function() {
            var _this = $(this);

            $(this).filter(':not([class*=active])').addClass('hover');
        },
        out: function() {
            $(this).filter(':not([class*=active])').removeClass('hover');
        }
    };

    functions.bindEvents();
}
})(jQuery);
