(function(jq){
    jq.fn.menu = function() {
        var list = this;
        return this.each(function(){
            var sub = jq(this).find('p.menusub');
            if(sub.length>0) {
                var width = Math.round(920 - (jq(this).position().left+2));
                sub.css({'width':width + 'px'})
            }
        });
    }
})(jQuery);
