function fenster(winname,breite,hoehe) {
	var links=screen.width/2-breite/2;
	var oben=screen.height/2-hoehe/2;
	NewWin = window.open(winname, "titel", "width="+breite+",height="+hoehe+",top="+oben+",left="+links);
}

function generate(len)
{
conso = new Array("b","c","d","f","g","h","j","k","l","m","n","p","r","s","t","v","w","x","y","z");
vocal = new Array("a","e","i","o","u");
var password = '';

for(i=0; i < len; i++)
{
var c = Math.ceil(Math.random() * 1000) % 20;
var v = Math.ceil(Math.random() * 1000) % 5;
password += conso[c] + vocal[v];
}

for(i=0; i < 4; i++)
{
var c = Math.ceil(Math.random() * 10)-1;
password += c;
}
document.nutzer_neu.pws.value=password;
}

function check() {
if (!confirm("Wollen sie diesen Datensatz wirklich löschen?")) {
return false;
}
}

function check2() {
if (!confirm("Haben Sie alle Felder ausgefüllt?")) {
return false;
}
}

function check_versandt() {
if (!confirm("Wurde / Wird dieser Artikel wirklich versendet?")) {
return false;
}
}

function check_erhalten() {
if (!confirm("Haben Sie diese Bestellung wirklich erhalten?")) {
return false;
}
}

function check_sind_sie_sicher() {
if (!confirm("Sind Sie sicher?")) {
return false;
}
}
