jQuery.fn.menuBeautify = function (options) {
        options = jQuery.extend({
            element:"td"
        }, options);
        var object = this;
        var c = "";
        function s(o){
            setTimeout(function(){
                c = $("<div style='background-color:#236b8c;z-index:1;position:absolute;height:"+o.offsetHeight+"px;top:"+ ($(o).position().top) +"px;left:"+$(o).offset().left+"px;width:"+(o.offsetWidth)+"px;'></div>").appendTo('body');
            },20); //TO COMPENSATE FOR SCROLLBAR CALCULATIONS IN OPERA AND CHROME WE NEED A TIMEOUT
        };
        function move(o) {
            //$("#button_number").html("0"+($(o).index() + 1) + ".");
            $(c).each(function() {
                $(this).dequeue(); 
            }).animate({
                width: o.offsetWidth,
                left: $(o).offset().left
            });
        };
        
        $(this).find(options.element+":not(.skip)").each(function(){
            $(this).mouseenter(function(){
                move(this);
            }).mouseleave(function(){
                move($(object).find(".button_selected"));
            });
        });
        $(window).bind('resize',function(){
            move($(object).find(".button_selected"));
        });
        $(this).find(options.element+".button_selected").each(function(){s(this);});
    }
