﻿$(document).ready(function() {
    // Find all anchors with the class popup and add the onclick function to open the link in a new window.
    $('a[class*="popup"]').click(function() {
        window.open($(this).attr('href'));
        return false;
    });
});