// Scripts by www.bernthaler.com, mike bernthaler 2009
//
// Pop-Up-Fenster ---------------------------------------------------
function openPOP(theURL,winName,features) {
  window.open(theURL,winName,features);
}


function popup(theURL,winName,features) {
window.open(theURL,"newwindow","height=300,width=400,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=1,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,resizable=1,scrollbars=1,status=0,titlebar=0,toolbar=0,z-lock=0,screenX=100,screeny=100,left=100,top=100");
}

// ------------------------------------------------
function chkRegister () {
	if (document.form1.vname.value == ""){
		alert('Vorname fehlt!');
		document.form1.vname.focus();
		return false;
	}
	if (document.form1.fname.value == ""){
		alert('Familienname fehlt!');
		document.form1.fname.focus();
		return false;
	}
	if (document.form1.mail.value == ""){
		alert('Email fehlt!');
		document.form1.mail.focus();
		return false;
	}
	if (document.form1.user.value == ""){
		alert('Benutzername fehlt!');
		document.form1.user.focus();
		return false;
	}
	if (document.form1.pwd.value == ""){
		alert('Passwort fehlt!');
		document.form1.pwd.focus();
		return false;
	}
	if (document.form1.securitycode.value == ""){
		alert('Sicherheitszahl fehlt!');
		document.form1.securitycode.focus();
		return false;
	}
}


