(function() {
    $.fn.hamtaroTestHatt = function(options) {
        var options = $.extend({
			normalWidth: '108px',
            bigWidth: '200px',
            smallWidth: '93px',
            duration: 250
        }, options)

        return this.each(function() {
            var items = $('li', this);
            items.bind('mouseenter', function(e) {
                var self = $(this),
                    sibs = self.siblings();

                self.animate(
                    { width: options.bigWidth },
                    { queue: false, duration: options.duration }
                );

                sibs.animate(
                    { width: options.smallWidth },
                    { queue: false, duration: options.duration }
                );

            })
            .bind('mouseleave', function(e) {
                var self = $(this),
                    sibs = self.siblings();

                self.add(sibs).animate(
                    { width: options.normalWidth },
                    { queue: false, duration: options.duration }
                );
            });
        });
    }
})(jQuery);
