function getAnchorUrls(selector, includeOffsite) {
        return $(selector).map(function() {
            var href = $(this).attr('href');
            return (href && href.indexOf('#') !== 0 && (includeOffsite || isLocalUrl(href))) ? 
                toFullUrl(href) : undefined;
        }).toArray();
    }
Convenience function - find all anchor tags on the page matching the given
selector (or jQuery object) and return an array of fully qualified URLs
@name _pjs.getAnchorUrls
@param {String|jQuery} selector      Selector or jQuery object to find anchor elements
@param {Boolean} includeOffsite      Whether to include off-site links
@return {String[]}                   Array of fully qualified URLs