function popup (url) {
 fenster = window.open(url, "Popupfenster", "width=400,height=300,left=200,top=200,resizable=yes");
 fenster.focus();
 return false;
}

<!--

var Geschwindigkeit = 3000

var i = 1
images = new Array
images[1] = "diashow/Barockfabrik1.jpg"
images[2] = "diashow/Barockfabrik2.jpg"
images[3] = "diashow/Barockfabrik3.jpg"
images[4] = "diashow/Barockfabrik4.jpg"
images[5] = "diashow/Barockfabrik5.jpg"
images[6] = "diashow/Barockfabrik6.jpg"
images[7] = "diashow/Barockfabrik7.jpg"
images[8] = "diashow/Chorbiennale1.jpg"
images[9] = "diashow/Chorbiennale2.jpg"
images[10] = "diashow/Chorbiennale3.jpg"
images[11] = "diashow/Chorbiennale4.jpg"
images[12] = "diashow/Chorbiennale5.jpg"
images[13] = "diashow/Chorbiennale6.jpg"
images[14] = "diashow/Chorbiennale7.jpg"
images[15] = "diashow/Langerwehe1.jpg"
images[16] = "diashow/Langerwehe2.jpg"
images[17] = "diashow/Langerwehe3.jpg"
images[18] = "diashow/ProWo09-1.jpg"
images[19] = "diashow/ProWo09-2.jpg"
images[20] = "diashow/ProWo09-3.jpg"
images[21] = "diashow/ProWo09-4.jpg"
images[22] = "diashow/ProWo09-5.jpg"
images[23] = "diashow/ProWo09-6.jpg"
images[24] = "diashow/ProWo09-7.jpg"
images[25] = "diashow/ProWo09-8.jpg"
images[26] = "diashow/ProWo09-9.jpg"
images[27] = "diashow/PontStage1.jpg"
images[28] = "diashow/PontStage2.jpg"
images[29] = "diashow/PontStage3.jpg"
images[30] = "diashow/PontStage4.jpg"
images[31] = "diashow/PontStage5.jpg"
images[32] = "diashow/PontStage6.jpg"
images[33] = "diashow/PontStage7.jpg"
images[34] = "diashow/PontStage8.jpg"
images[35] = "diashow/PontStage9.jpg"
images[36] = "diashow/PontStage10.jpg"
images[37] = "diashow/PontStage11.jpg"
images[38] = "diashow/PontStage12.jpg"


function gallery(){
if (i == 1){
document.gallery.previous.value=""
}
}
function pickrand(){
var imagenumber = 38 ;
var randomnumber = Math.random() ;
var rand1 = Math.round( (imagenumber-1) * randomnumber) + 1;
var randimage = images[rand1]
document.img.src = randimage
i = rand1
setTimeout ('pickrand()', Geschwindigkeit)
}
// -->

function noSpam() {

   var anchor_list = document.getElementsByTagName("a");

   for (var i = 0; i < anchor_list.length; i++)
   {
     if(anchor_list[i].className == "convert-address")
     {
       var node     = anchor_list[i];
       var username = node.firstChild;
       var domain   = node.lastChild;

       var at     = "@";
       username.nextSibling.firstChild.innerHTML = at;
       node.href = "mailto:" + username.data + at + domain.data;
     }
   }
}

var CountdownJahr = 2010;
var CountdownMonat = 5;
var CountdownTag = 12;
var CountdownStunde = 19;
var CountdownMinute = 00;
var CountdownSekunde = 00;

function CountdownAnzeigen()
{
    var Jetzt = new Date();
    var Countdown = new Date(CountdownJahr, CountdownMonat-1, CountdownTag, CountdownStunde, CountdownMinute, CountdownSekunde);
    var MillisekundenBisCountdown = Countdown.getTime()-Jetzt.getTime();
    var Rest = Math.floor(MillisekundenBisCountdown/1000);
    var CountdownText = "";

    if(Rest >= 31536000)
    {
        var Jahre = Math.floor(Rest/31536000);
        Rest = Rest-Jahre*31536000;

        if(Jahre > 1 || Jahre == 0)
        {
            CountdownText += Jahre + " Jahre ";
        }
        else if(Jahre == 1)
        {
            CountdownText += Jahre + " Jahr ";
        }
    }
    if(Rest >= 86400)
    {
        var Tage = Math.floor(Rest/86400);
        Rest = Rest-Tage*86400;

        if(Tage > 1 || Tage == 0)
        {
            CountdownText += Tage + " Tage ";
        }
        else if(Tage == 1)
        {
            CountdownText += Tage + " Tag ";
        }
    }
    if(Rest >= 3600)
    {
        var Stunden = Math.floor(Rest/3600);
        Rest = Rest-Stunden*3600;

        if(Stunden > 1 || Stunden == 0)
        {
            CountdownText += Stunden + " Stunden ";
        }
        else if(Stunden == 1)
        {
            CountdownText += Stunden + " Stunde ";
        }
    }
    if(Rest >= 60)
    {
        var Minuten = Math.floor(Rest/60);
        Rest = Rest-Minuten*60;

        if(Minuten > 1 || Minuten == 0)
        {
            CountdownText += Minuten + " Minuten ";
        }
        else if(Minuten == 1)
        {
            CountdownText += Minuten + " Minute ";
        }
    }

    if(Rest > 1 || Rest == 0)
    {
        CountdownText += Rest + " Sekunden ";
    }
    else if(Rest==1)
    {
        CountdownText += Rest + " Sekunde ";
    }

    document.getElementById('Countdown').innerHTML = CountdownText;
    window.setTimeout("CountdownAnzeigen()", 1000);
}

// Zufallsaufgabe
var now = new Date();
var sec = now.getSeconds();
var min = now.getMinutes();
var zufallszahl01 = sec % 9;
zufallszahl01 +=2;
var zufallszahl02 = min % 9;
zufallszahl02 +=2;

function Schutz01() {
document.write(zufallszahl01 + " + " + zufallszahl02 + " =");
}

// Anfang Prüfungen

function Pruefen()
{

//:: anfang Prüfung name
if(document.kontaktformular.s_name.value == "") {
alert("Bitte Namen eintragen!");
document.kontaktformular.s_name.focus();
return false;
}
//:: ende Prüfung name

//:: anfang Prüfung email
if(document.kontaktformular.s_email.value == "") {
alert("Bitte Ihre Emailadresse eintragen!");
document.kontaktformular.s_email.focus();
return false;
}
if(document.kontaktformular.s_email.value.indexOf('@') == -1 || document.kontaktformular.s_email.value.indexOf('.') == -1)
{
alert("Die Emailadresse ist ungültig!");
document.kontaktformular.s_email.focus();
return false;
}
//  :: ende Prüfung email

//:: anfang Prüfung nachricht
if(document.kontaktformular.s_message.value == "") {
alert("Bitte Text eintragen!");
document.kontaktformular.s_message.focus();
return false;
}
//:: ende Prüfung nachricht


//:: Prüfung Code
var Ergebnis = zufallszahl01 + zufallszahl02;
var Eintrag = document.getElementById("antwort01").value;

if(Ergebnis != Eintrag)
{
alert("Bitte tragen Sie die Summe der beiden Zahlen ein!");
document.getElementById("antwort01").value = "";
document.getElementById("antwort01").focus();
return false;
}

}
// ende Prüfungen

