﻿new jQuery(document).ready(function () {
    new jQuery('a').each(function () {
        var t = new jQuery(this);
        var l = t.attr('href');
        if (l.startsWith('http:') || l.startsWith('https:')) {
            t.click(function () {
                var l = new jQuery(this);
                window.open(l.attr('href'));
                return false;
            });
        }
    });
});

/*String.prototype.endsWith = function (str)
{ return (this.match(str + "$") == str); }*/

/*String.prototype.startsWith = function (str)
{ return (this.match("^" + str) == str); }*/
