  function runchangelog() {
    var pos = (screen.width/2)-200;
    demo=window.open('http://www.izzysoft.de/ftp/net/div/izzysoft/imdbphp/','changelog',
          "toolbar=no,location=no,titlebar=no,directories=no,status=yes,resizable=yes,scrollbars=yes,copyhistory=no,width=1000,height=750,top=0,left=" + pos);
  }
  function runchangelog2() {
    var pos = (screen.width/2)-200;
    demo=window.open('http://www.izzysoft.de/ftp/net/div/izzysoft/imdbphp2/','changelog',
          "toolbar=no,location=no,titlebar=no,directories=no,status=yes,resizable=yes,scrollbars=yes,copyhistory=no,width=1000,height=750,top=0,left=" + pos);
  }
  function rundemo() {
    var pos = (screen.width/2)-200;
    demo=window.open('http://www.izzysoft.de/software/demos/imdbphp/','imdb_demo',
          "toolbar=no,location=no,titlebar=no,directories=no,status=yes,resizable=yes,scrollbars=yes,copyhistory=no,width=1000,height=750,top=0,left=" + pos);
  }
  function runapi() {
    var pos = (screen.width/2)-200;
    demo=window.open('http://www.izzysoft.de/software/docs/imdbphp/','imdb_api',
          "toolbar=no,location=no,titlebar=no,directories=no,status=yes,resizable=yes,scrollbars=yes,copyhistory=no,width=1000,height=750,top=0,left=" + pos);
  }
  function init_elems() {
    if (document.getElementById('mail')) {
      document.getElementById('mail').href = unescape('%6d%61%69%6c%74%6f%3a%69%6e%66%6f%40%69%7a%7a%79%73%6f%66%74%2e%64%65');
    }
    if (document.getElementById('demostart')) {
      document.getElementById('demostart').onclick = function() { rundemo(); };
      document.getElementById('demostart').href = "#";
    }
    if (document.getElementById('apistart')) {
      document.getElementById('apistart').onclick = function() { runapi(); };
      document.getElementById('apistart').href = "#";
    }
    if (document.getElementById('changelogstart')) {
      document.getElementById('changelogstart').onclick = function() { runchangelog(); };
      document.getElementById('changelogstart').href = "#";
    }
    if (document.getElementById('changelog2start')) {
      document.getElementById('changelog2start').onclick = function() { runchangelog2(); };
      document.getElementById('changelog2start').href = "#";
    }
  }
  window.onload=init_elems;
