
window.defaultStatus = "Andelfinger Fasnacht"; <!--  -->

function logo() {
        if (navigator.appName.indexOf('Netscape') != -1) { width = self.innerWidth }
        else if (navigator.appName.indexOf('Microsoft') != -1) { width = document.body.clientWidth }
        var center = width / 2;
        var pos = center + (360 - 164);
        if (width < 800) { pos = 400 + 360 - 164; }
        <!--document.write("<a href=\"http://www.wildpigs.ch\"><img src=\"Bilder/logoBlank_small2.gif\" border=\"0\" alt=\"\" name=\"logo\" style=\"position:absolute; top:27px; left:"+pos+"px;\" \/></a>");-->
}

function intro(intro_width,intro_url) {
        if (navigator.appName.indexOf('Netscape') != -1) { width = self.innerWidth }
        else if (navigator.appName.indexOf('Microsoft') != -1) { width = document.body.clientWidth }
        var center = width / 2 - (intro_width / 2) - 3 - 8; <!-- 3: border, 5: scrollbar -->
        var pos = center;
        document.write("<a href=\"index.php?intro=no\"><img src=\""+intro_url+"\" border=\"3\" alt=\"\" name=\"intro\" title=\"Klicken zum Schliessen\" style=\"position:absolute; z-index:200; top:5%; left:"+pos+"px; border-color:red;\" \/></a>");
}

function Go(select) {
        var wert = select.options[select.options.selectedIndex].value;
        if (wert == "leer") {
           select.form.reset();
           <!--parent.frames["unten"].focus();-->
           return;
        }
        else {
           parent.location.href = wert;
           select.form.reset();
           parent.focus();
        }
}

function openIntranet() {
   var intranet = window.open("http://intranet.andelfinger-fasnacht.ch","_blank");
   //var intranet = window.open("http://localhost/WildPigs/intranet/index.php","_blank");
}

function pdf(text) {
        pdfWindow = window.open("makePDF.php?text="+text,"pdfFenster");
        pdfWindow.resizeTo(screen.width,screen.height);
        pdfWindow.moveTo(0,0);
        pdfWindow.focus();
}


<!--**************-->
<!-- Datum & Zeit -->
<!--**************-->
function Zeit () {
        Jetzt = new Date();

        //aktuelle Uhrzeit
        Stunden = Jetzt.getHours();
        Minuten = Jetzt.getMinutes();
        Sekunden = Jetzt.getSeconds();
        ZeitString = Stunden;
        ZeitString += ((Minuten < 10) ? ":0" : ":") + Minuten;
        /* ZeitString += ((Sekunden < 10) ? ":0" : ":") + Sekunden; */
        document.Uhr.Zeit.value = ZeitString;

        setTimeout("Zeit()", 1000);
}
function Datum () {
        Jetzt = new Date();

        // aktuelles Datum
        Tag = Jetzt.getDate();
        Monat = Jetzt.getMonth()+1;
        Jahr = Jetzt.getFullYear();
        DatumsString = Tag;
        DatumsString += ((Monat<10) ? ".0" : ".") + Monat;
        DatumsString += "." + Jahr;
        document.Uhr.Datum.value = DatumsString;

        setTimeout("Datum()", 1000);
}

