/* FILE ARCHIVED ON 5:31:53 Sep 5, 2013 AND RETRIEVED FROM THE AN OPENWAYBACK INSTANCE ON 7:43:38 Nov 16, 2024. JAVASCRIPT APPENDED BY OPENWAYBACK, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ function sendeBuecherbestellung () { if(doCheck()) { return true; } else { return false; } } function sendeArtikelbestellung () { if(doCheck()) { return true; } else { return false; } } function sendeRechercheauftrag () { if(doCheck()) { return true; } else { return false; } } function sendeKursvormerk() { if(doCheck()) { document.getElementById("errorlist_id").style.display = "none"; return true; } else { showErrorList(); return false; } } var submitcount=0; /** Entfernt das übergebene 'class' Attribut falls vorhanden um eine Korrekte Anzeige wieder herzustellen */ function resetErrors(pObjArray, pSearchedClassName){ for(var i=0, j = pObjArray.length; i' + link_text + ''; } function showErrorList() { var errorText = "

Bitte überprüfen Sie Ihre Angaben

" document.getElementById("errorlist_id").style.display = "block"; document.getElementById("errorlist_id").innerHTML = errorText; } function doCheck() { var correctedEntries = new Array(); var errorReturn = false; var changeP; //Beginn check Kartennummer try{ if (document.form1.KartenNR.value=="") { changeP = document.getElementById("id_kartennummer"); changeP.className = "form-error"; document.form1.KartenNR.focus(); errorReturn = true; } else { var valid = "$xXyYzZ0123456789" var ok = "yes"; var required = "no"; var temp; for (var i=0; i0) { // if(document.form1.Email.value.indexOf("@") != -1){ addressParts = document.form1.Email.value.split("@"); if (document.form1.Email.value.indexOf(" ")>0) address = "nein"; if (addressParts.length!=2) address = "nein"; for (var i=0; i1&&addressParts[1].indexOf(".")<0) address = "nein"; /* } else { address = "nein"; } */ } else { address = "nein"; } if (address == "nein") { changeP = document.getElementById("id_email"); changeP.className = "form-error"; fillErrorList('#EditEmail', 'E-Mail'); document.form1.Email.focus(); document.form1.Email.select(); errorReturn = true; } else { changeP = document.getElementById("id_email"); correctedEntries.push(changeP); } } catch (e) { } //Ende check email try{ if (document.form1.Anschrift.value.length<1) { changeP = document.getElementById("id_anschrift"); changeP.className = "form-error"; document.form1.Anschrift.focus(); errorReturn = true; } else { changeP = document.getElementById("id_anschrift"); correctedEntries.push(changeP); } }catch (e){ } try{ if (document.form1.Telefon.value.length<1) { changeP = document.getElementById("id_telefon"); changeP.className = "form-error"; fillErrorList('#EditTelefon', 'Telefon'); document.form1.Telefon.focus(); errorReturn = true; } else { changeP = document.getElementById("id_telefon"); correctedEntries.push(changeP); } }catch (e){ } //Beginn check Checkbox try{ var checked = 0; for (var i=0; i