<!--
function MM_preloadImages() { //v3.0
   var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
     var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
     if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
  if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_swapImgRestore() { //v3.0
   var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
   var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
     d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
     if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
     for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
     if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_openBrWindow(theURL,winName,features) { //v2.0
   window.open(theURL,winName,features);
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function MM_nbGroup(event, grpName) { //v3.0
  var i,img,nbArr,args=MM_nbGroup.arguments;
  if (event == "init" && args.length > 2) {
    if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
      img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
      if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
      nbArr[nbArr.length] = img;
      for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
        if (!img.MM_up) img.MM_up = img.src;
        img.src = img.MM_dn = args[i+1];
        nbArr[nbArr.length] = img;
    } }
  } else if (event == "over") {
    document.MM_nbOver = nbArr = new Array();
    for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = (img.MM_dn && args[i+2]) ? args[i+2] : args[i+1];
      nbArr[nbArr.length] = img;
    }
  } else if (event == "out" ) {
    for (i=0; i < document.MM_nbOver.length; i++) {
      img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
  } else if (event == "down") {
    if ((nbArr = document[grpName]) != null)
      for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
    document[grpName] = nbArr = new Array();
    for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = img.MM_dn = args[i+1];
      nbArr[nbArr.length] = img;
  } }
}


function change_frames(a,b,c){	
		parent.oben.location.href = a;
		parent.unten.location.href = b;
		parent.navigation.location.href = c;		
}

function check_form(){
  with(document.form1){
    if(Kategorie.options[Kategorie.options.selectedIndex].value == "") alert("Bitte geben Sie eine Kategorie an.");
    else if(Bereich.options[Bereich.options.selectedIndex].value == "") alert("Bitte geben Sie einen Bereich an.");
    else if(Name.value == "") alert("Bitte geben Sie Ihren Namen an.");
    else if(Nationalitaet.value == "") alert("Bitte geben Sie Ihre Nationalität an.");
    else if(Strasse.value == "") alert("Bitte geben Sie Ihren Straße an.");
    else if(Ort.value == "") alert("Bitte geben Sie Ihren Wohnort an.");
    else if(Telefon.value == "") alert("Bitte geben Sie Ihre Telefonnummer an.");
    else if(Email.value == "") alert("Bitte geben Sie Ihre E-Mail-Adresse an.");
    else if(Email.value.indexOf("@") == -1 || Email.value.indexOf(".") == -1) alert("Ihre E-Mail-Adresse ist nicht korrekt.");
    else if(Geburtsdatum.value == "") alert("Bitte geben Sie Ihr Geburtsdatum an.");
    else if(Geburtsort.value == "") alert("Bitte geben Sie Ihren Geburtsort an.");
    else if(Familienstand.value == "") alert("Bitte geben Sie Ihren Familienstand an.");
    else submit();
  }
}

function chkFormular(){
 if(document.epostcard.von.value == "Ihre E-Mail Adresse") {
   alert("Bitte geben Sie einen Absender ein!");
   document.epostcard.von.focus();
   return false;
  }
 if(document.epostcard.subject.value == "") {
   alert("Bitte geben Sie ein Betreff ein!");
   document.epostcard.subject.focus();
   return false;
  }
   if(document.epostcard.mail_content.value == "") {
   alert("Bitte geben Sie Ihre Nachricht ein!");
   document.epostcard.mail_content.focus();
   return false;
  }
  if(document.epostcard.an.value == "E-Mail-Adresse") {
   alert("Bitte geben Sie eine Empfaenger-Mail ein!");
   document.epostcard.an.focus();
   return false;
  }
  return true;
}

function send() {
	if(document.kontakt.name.value == "")
     {
      alert("Bitte geben Sie Ihren Namen an!");
      document.kontakt.name.focus();
      return false;
     }
  
 if(document.kontakt.email.value == "")
     {
      alert("Bitte geben Sie Ihre Email - Adresse an!");
      document.kontakt.email.focus();
      return false;
     }
 
  if(document.kontakt.text.value == "")
     {
      alert("Bitte geben Sie Ihren Text ein!");
      document.kontakt.text.focus();
      return false;
     }
 return true;    
	}	
	
	function win_small(url, zahl)
       {   
	   win_small=window.open(url,zahl,'width=500,height=700,toolbar=0,status=0,menu=1,scrollbars=no,resizable=0');
       }
	   
	 function win_aktion()
       {   
	   win_small=window.open("aktion/aktion.html","aktion",'width=400,height=364,toolbar=0,status=0,menu=1,scrollbars=no,resizable=0');
       }  
	   
	    function win_aktion2()
       {   
	   win_small=window.open("aktion/aktion_makingof.html","making_of",'width=400,height=364,toolbar=0,status=0,menu=1,scrollbars=no,resizable=0');
       }  
	   
	   
	function findespielfunc()
	{ 
	NeuFenster = window.open("findespiel/index.html", "NURDIEfindespiel", "toolbar=0,status=0,menu=1,scrollbars=no,resizable=0,width=600,height=500");
    NeuFenster.focus();
	}   
	function Fenster1()
	{ 
	NeuFenster = window.open("spiele/fla_puzzle/index.htm", "NURDIEpuzzle", "scrollbars=no,width=660,height=450");
    NeuFenster.focus();
	}
	function Fenster2()
	{ 
	NeuFenster = window.open("spiele/fla_memory/index.htm", "NURDIEmemory", "scrollbars=no,width=720,height=440");
    NeuFenster.focus();
	}
	function Fenster3()
	{ 
	NeuFenster = window.open("spiele/fla_slider/index.htm", "NURDIEtetris", "scrollbars=no,width=620,height=490");
    NeuFenster.focus();
	}
	function Fenster4()
	{ 
	NeuFenster = window.open("tag2_2.html", "adventspuzzle", "scrollbars=no,width=550,height=300");
    NeuFenster.focus();
	}
	function Fenster5()
	{ 
	NeuFenster = window.open("tag18_2.html", "adventspuzzl", "scrollbars=no,width=605,height=395");
    NeuFenster.focus();
	}
	function Fenster6()
	{ 
	NeuFenster = window.open("tag22_2.html", "adventsjumpnrun", "scrollbars=no,width=500,height=331");
    NeuFenster.focus();
	}
	function Fensterbss()
	{ 
	NeuFenster = window.open("download/bss.html", "NURDIEbss", "scrollbars=no,fullscreen=yes");
    NeuFenster.focus();
	}
	function Fensterbss2()
	{ 
	NeuFenster = window.open("download/bss2.html", "NURDIEbss", "scrollbars=no,fullscreen=yes");
    NeuFenster.focus();
	}
	function Fensterbss3()
	{ 
	NeuFenster = window.open("bss.html", "NURDIEbss", "scrollbars=no, fullscreen=no, width=655, height=540");
    NeuFenster.focus();
	}
	function rudolph()
	{ 
	NeuFenster = window.open("service/weihnachten/4advent/rudolph.html", "jumpinrudolph", "scrollbars=no, fullscreen=no, width=500, height=331");
    NeuFenster.focus();
	}
	function Fensterpflege()
	{ 
	NeuFenster = window.open("pflegeprint.html", "NURDIE", "scrollbars=yes,width=600,height=500");
    NeuFenster.focus();
	}
	function herzenswuensche()
	{ 
	NeuFenster = window.open("aktionherzenswuensche/index.html", "Herzenswuensche", "scrollbars=no,width=770,height=600");
    NeuFenster.focus();
	}
	function herzenswuensche_korb()
	{ 
	Fenster = window.open("korb.html", "Herzenswuensche1", "scrollbars=no,width=591,height=394");
    Fenster.focus();
	}
	function herzenswuensche_segel()
	{ 
	Fenster = window.open("segel.html", "Herzenswuensche2", "scrollbars=no,width=591,height=394");
    Fenster.focus();
	}
	
  	function win_flex(url,w,h)
       {   
	   win_small=window.open(url,"win_small",'width='+w+',height='+h+',toolbar=0,status=0,menu=1,scrollbars=no,resizable=0');
     win_small.focus();
       }
  function Fensterping()
	{ 
	NeuFenster = window.open("spiele/pingpong.html", "NURDIE1", "scrollbars=no,width=820,height=420");
    NeuFenster.focus();
	}
	function Fensterkniffel()
	{ 
	NeuFenster = window.open("spiele/kniffel.html", "NURDIE2", "scrollbars=no,width=765,height=430");
    NeuFenster.focus();
	}
	function Fenstertetris()
	{ 
	NeuFenster = window.open("spiele/tetris.html", "NURDIE2", "scrollbars=no,width=570,height=470");
    NeuFenster.focus();
	}
function lycra()
	{ 
	NeuFenster = window.open("lycra.html", "LYCRA", "scrollbars=yes,width=600,height=500");
    NeuFenster.focus();
	}
function fenster_schliessen(){
	window.close();
}
//-->


