// Function to parse all anchor tags, and automatically make those that have a relation of "external" open in a new window
google.setOnLoadCallback(function() {
  $("a[rel*='external'").click(function(event) {
    event.preventDefault(); // Keep from following standard href of link
    new_win = window.open($(this).attr('href'), 'madcats_popup') // Pop up a window to that URL
    if (window.focus) { new_win.focus() } // Give it focus if possible
  });
});
