// JQuery is requiered

var proto = (("https:" == document.location.protocol) ? "https://" : "http://");
stats_path = proto + window.location.hostname + "/statistik/";
$.ajax({
  type: "GET",
  url: stats_path+"writeStats.php",
  dataType: "script"
});
