$(document).ready(function() {
  /*
   Wird mal benötigt, falls der sharebutton wieder funktioniert bzw. der Cache gelöscht wurde
   
  var title = $( 'title' ).html();
  title = encodeURI(title);
  var pathname = window.location.pathname;
  pathname = encodeURI(pathname);
  
  before = $('.facebookLink').attr('href');
  after = before.replace(/facebookersetzentext/, title);
  after = after.replace(/facebookersetzenurl/, pathname);
  
  $('.facebookLink').attr('href', after);*/
  
  var pathname = window.location.pathname;
  pathname = encodeURI(pathname);
  
  before = $('#gefaelltmirbutton iframe').attr('src');
  if (before)
  {
    after = before.replace(/facebookersetzteurl/, pathname);
    $('#gefaelltmirbutton iframe').attr('src', after);
  }
  
});

