var file = 'log.txt';
var rawFile = new XMLHttpRequest();
rawFile.open("GET", file, false);
rawFile.onreadystatechange = function ()
{
if(rawFile.readyState === 4)
{
if(rawFile.status === 200 || rawFile.status == 0)
{
var allText = rawFile.responseText;
if (allText == '1') {
window.location.replace("AnmeldungZumGodiLive.html");
} else {
window.location.replace("AnmeldungZumGodiVorOrt.html");
}
}
}
}
rawFile.send(null);
-->
-->