function oeffnefenster_var (url,f_name,w,h) {
         var hoch=window.outerHeight;
         var breit=window.outerWidth;
         fenster = window.open(url, f_name, "left="+(breit-parseInt(w))/2+", top="+(hoch-parseInt(h))/2+", width="+w+",height="+h+",status=no,menubar=no, scrollbars=yes,resizable=yes");
         fenster.focus();
}


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_rechnung() {
if (!confirm("Soll eine Rechnung für den Kunden erstellt werden?")) {
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;
}
}
