  $(document).ready(function(){
  $('a').filter(function() {
    return this.hostname && this.hostname !== location.hostname;
  }).after(' <img src="design/external.png" alt="external link">');
  
 });
