function chkFormular ()
{
  if (document.anmeldung.vorname.value == "") {
    alert("Bitte Ihren Namen eingeben!");
    document.anmeldung.vorname.focus();
    return false;
  }
  if (document.anmeldung.nachname.value == "") {
    alert("Bitte Ihren Namen eingeben!");
    document.anmeldung.nachname.focus();
    return false;
  }
  if (document.anmeldung.adresse.value == "") {
    alert("Bitte Ihre Adresse eingeben!");
    document.anmeldung.adresse.focus();
    return false;
  }
  if (document.anmeldung.plz.value == "") {
    alert("Bitte Ihre Postleitzahl eingeben!");
    document.anmeldung.plz.focus();
    return false;
  }
  if (document.anmeldung.ort.value == "") {
    alert("Bitte Ihren Wohnort eingeben!");
    document.anmeldung.ort.focus();
    return false;
  }
  if (document.anmeldung.mail.value == "") {
    alert("Bitte Ihre E-Mail-Adresse eingeben!");
    document.anmeldung.mail.focus();
    return false;
  }
  if (document.anmeldung.mail.value.indexOf("@") == -1) {
    alert("Keine E-Mail-Adresse!");
    document.anmeldung.mail.focus();
    return false;
  }
  //if (document.anmeldung.Alter.value == "") {

  //  alert("Bitte Ihr Alter eingeben!");
  //  document.anmeldung.Alter.focus();
  //  return false;
  /*}
  var chkZ = 1;
  for (i = 0; i < document.anmeldung.Alter.value.length; ++i)
    if (document.anmeldung.Alter.value.charAt(i) < "0" ||
        document.anmeldung.Alter.value.charAt(i) > "9")
      chkZ = -1;
  if (chkZ == -1) {
    alert("Altersangabe keine Zahl!");
    document.anmeldung.Alter.focus();
    return false;
  }*/
}

function init(){
	if(navigator.appName=="Netscape"){var w=innerWidth;document.content_rechts.left=0}
else{var w=document.body.offsetWidth;content_rechts.style.left=0}}
	var n = (document.layers) ? 1:0;var ie = (document.all) ? 1:0;var loop, timer1, timer2;function makeObj(obj,nest){
	nest=(!nest) ? '':'document.'+nest+'.'
	this.css=(n) ? eval(nest+'document.'+obj):eval(obj+'.style')
	this.up=goUp
	this.down=goDown
	this.obj = obj + "Object"
	eval(this.obj + "=this")
	return this}
function goDown(speed){
	clearTimeout(timer1);clearTimeout(timer2)
	this.css.top=parseInt(this.css.top)+3
	if(loop) timer1=setTimeout(this.obj+".down("+speed+")",speed)}
function goUp(speed){
	clearTimeout(timer2);clearTimeout(timer1)
	this.css.top=parseInt(this.css.top)-3
	if(loop) timer2=setTimeout(this.obj+".up("+speed+")",speed)}
function init1(){ testObj=makeObj('content_rechts_inhalt','content_rechts');init()}

onload=init1;

