// InfosystemSilverlight is programmed by DI (FH) Tobias Däuber, dbnetsoft

// Windows

function popupInfosystem() {
    window.open("index.php", "infosystemWindow", "width=800, height=600, resizable=yes, scrollbars=no, toolbar=no, location=no, status=no, menubar=no", "");
}

// Certificates

function presentCertificate() {
    alert("present");
}

function printCertificate(rootUri, bib) {
    window.open(rootUri + "certificates/certificate.php?bib=" + bib, "", "", "");
}

// Foto
  function presentFoto(bib) {
       var eventId = 573;
       window.open("http://www.sportograf.de/01," + bib + "," + eventId + ".html", "fotoWindow", "", "");
}