function weihnachten(){
window.open('weihnacht1.htm' , 'Weihnachten1', 'toolbar=no,scrollbars=no,resizable=no,width=450,height=315,top=170,left=90');
}



function einblenden(){
if(!document.all){		
return}
document.all.Bild.filters.revealTrans.Transition = 19
document.all.Bild.filters.revealTrans.Apply()
document.all.Bild.style.visibility = "visible"
document.all.Bild.filters.revealTrans.Play()
}

function oeffnen1(bild,breite,hoehe,titel) {
posLeft=250;
posTop=100;
tb=breite+40;
th=hoehe+40;
bb=breite+80;
bh=hoehe+80;
var w = (screen.width / 2) - (bb / 2);
posLeft=w;
	newWindow = window.open("","newWindow", "width="+bb+", height="+bh+", left="+posLeft+", top="+posTop+", toolbar=no,status=no,scrollbars=no,resizable=no,menubar=no");
	newWindow.document.open();
	newWindow.document.write('<html><head><title>'+titel+'</title>');
	newWindow.document.write('<style>');
	newWindow.document.write('.tdb1 {background-color:#EEEEEE;border: solid; border-width: 1px 1px 1px 1px; border-color: #BBBBBB #BBBBBB #BBBBBB #BBBBBB;}');
	newWindow.document.write('.bild {background-color:#FFFFFF;border: solid; border-width: 1px 1px 1px 1px; border-color: #888888 #888888 #888888 #888888;}');
	newWindow.document.write('</style></head>');
	newWindow.document.write('<body bgcolor="#FFFFFF" leftmargin="0" topmargin="20" marginheight="0" marginwidth="0" onClick="self.close()" onBlur="self.close()">'); 
	newWindow.document.write('<table align="center" width='+tb+' height='+th+' class="tdb1">');
	newWindow.document.write('<tr><td align="center"><img src='+bild+' width='+breite+' height='+hoehe+' alt="" class="bild"></td></tr></table>'); 
	newWindow.document.write('</body></html>');
	newWindow.document.close();
	newWindow.focus();
}
function oeffnen12(bild,breite,hoehe,titel) {
posLeft=250;
posTop=100;
tb=breite+40;
th=hoehe+40;
bb=breite+80;
bh=hoehe+80;
bb=breite;
bh=hoehe;
var w = (screen.width / 2) - (bb / 2);
posLeft=w;
	newWindow = window.open("","newWindow", "width="+breite+", height="+hoehe+", left="+posLeft+", top="+posTop+", toolbar=no,status=no,scrollbars=no,resizable=no,menubar=no");
	newWindow.document.open();
	newWindow.document.write('<html><head><title>'+titel+'</title>');
	newWindow.document.write('<style>');
	newWindow.document.write('.tdb1 {background-color:#EEEEEE;border: solid; border-width: 1px 1px 1px 1px; border-color: #BBBBBB #BBBBBB #BBBBBB #BBBBBB;}');
	newWindow.document.write('.bild {background-color:#FFFFFF;border: solid; border-width: 1px 1px 1px 1px; border-color: #888888 #888888 #888888 #888888;}');
	newWindow.document.write('</style></head>');
	newWindow.document.write('<body bgcolor="#666666" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0">'); 
	newWindow.document.write('<table align="center" width='+breite+' height='+hoehe+' cellpadding="0" cellspacing="0">');
	newWindow.document.write('<tr><td align="center"><img src='+bild+' width='+breite+' height='+hoehe+' alt="" class="bild"></td></tr></table>'); 
	newWindow.document.write('</body></html>');
	newWindow.document.close();
	newWindow.focus();
}
var bild=new Array();   
var zae=0;
bild[0]="images/ani7.jpg";  
bild[1]="images/ani2.jpg";   
bild[2]="images/ani1.jpg";   
bild[3]="images/ani3.jpg";   
bild[4]="images/ani8.jpg";
bild[5]="images/ani5.jpg";
var laden=new Array();
for (i=1;i<bild.length;i++){
     laden[i]=new Image();
     laden[i].src=bild[i];}

function bildzeigen(){
if(!document.all)return
if(zae<bild.length-1){
	zae=zae+1}
 else{ zae=0}
bild1.filters.revealTrans.Transition=Math.floor(Math.random()*23);
bild1.filters.revealTrans.apply();
document.images.bild1.src=bild[zae];
bild1.filters.revealTrans.play()
setTimeout("bildzeigen()", 5000);
}


function check(){
     if(document.f.Betreff.selectedIndex < 2){
	 alert ("Bitte wählen Sie einen Betreff aus!");
             document.f.Betreff.focus();
             return false;             }    
        
 if (document.f.Name.value == "")       {
             alert ("Bitte geben Sie Ihren Namen  ein!");
             document.f.Name.focus();
             return false;             }
 if (document.f.Telefon.value == "")       {
             alert ("Bitte geben Sie Ihre Telefonnummer ein!");
             document.f.Telefon.focus();
             return false;             }

 if (document.f.email.value == "")       {
             alert ("Bitte geben Sie Ihre Emailadresse ein!");
             document.f.email.focus();
             return false;             }


	x=document.f.email.value;
	l=x.length;
	sch=0
	for(i=0;i<l;i++){
		if (x.substr(i,1)=="@"){sch=1}
	}
		
	if (sch == 0)
             {
            alert ("Bitte geben Sie eine korrekte E-Mailadresse ein!");
             document.f.email.focus();
             return false;    
             }          
        return true;
        }



