﻿
$(document).ready(function() {
    $("a[href^=/]").each(function() {
        if (!this.href.match(/[a-z]{2}-[A-Z]{2}/)) {
            var regex = new RegExp(/^(http|https):\/\/[a-z.]{9,23}\//);
            this.href = this.href.replace(regex, '/' + culture + '/');
        }
    });
});
