// JavaScript Document var Tastencode; Tastencode = ""; function TasteGedrueckt (Ereignis) { if (!Ereignis) { Ereignis = window.event; } if (Ereignis.which) { Tastencode = Ereignis.which; } else if (Ereignis.keyCode) { Tastencode = Ereignis.keyCode; } } function TasteLosgelassen (Ereignis) { Tastencode=""; } document.onkeydown = TasteGedrueckt; document.onkeyup = TasteLosgelassen; function PreviewMode(PreviewMode) { if(Tastencode == 17) { URL = document.URL; if(URL.search(".asp") == -1) { if(!PreviewMode || PreviewMode == 0 || PreviewMode == 2) { URL = document.URL+"default.asp?Preview=1"; URL = URL.replace("?Preview=2", ""); } else { URL = document.URL+"default.asp?Preview=2"; URL = URL.replace("?Preview=1", ""); } } else { if(!PreviewMode || PreviewMode == 0 || PreviewMode == 2) { if(URL.search("Preview=2") != -1) { URL = URL.replace("Preview=2", "Preview=1"); } else { TempVar = URL.substr(URL.indexOf(".asp")+4) if(TempVar.length > 0) { URL = URL+"&Preview=1" } else { URL = URL+"?Preview=1" } } } else { if(URL.search("Preview=1") != -1) { URL = URL.replace("Preview=1", "Preview=2"); } else { TempVar = URL.substr(URL.indexOf(".asp")+4) if(TempVar.length > 0) { URL = URL+"&Preview=2" } else { URL = URL+"?Preview=2" } } } } document.location.href = URL; } } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i function ChangeLan (ctl) { // ctl.style.backgroundColor = ctl.options[ctl.options.selectedIndex].style.backgroundColor; // ctl.style.color = ctl.options[ctl.options.selectedIndex].style.color; document.location.href = 'default.asp?navid=&oid=&lid=' + ctl.options[ctl.options.selectedIndex].value; } function StartSearch() { var v_sword = document.getElementById('searchword'); if (isEmpty(v_sword.value) == true) { alert('Bitte geben Sie mindestens ein Buchstaben ein'); } else { ShowLoadPic('Loading'); } if (isEmpty(v_sword.value) == false) { document.searchForm.submit(); } } function UsrReg() { var v_name = document.RegisterUser.usr_name; var v_vorname = document.RegisterUser.usr_vorname; var v_branche = document.RegisterUser.usr_category; var v_tel = document.RegisterUser.usr_telefon; var v_firma = document.RegisterUser.usr_company; var v_strasse = document.RegisterUser.usr_strasse; var v_plz = document.RegisterUser.usr_plz; var v_ort = document.RegisterUser.usr_ort; var v_land = document.RegisterUser.usr_land; var v_email = document.RegisterUser.usr_email; var v_pwd = document.RegisterUser.usr_passwort; var v_cpwd = document.RegisterUser.pwd_copy; if (isEmpty(v_name.value)!=true) { if (isEmpty(v_vorname.value)!=true) { if (isEmpty(v_firma.value)!=true) { if (isEmpty(v_strasse.value)!=true) { if (isEmpty(v_plz.value)!=true && isEmpty(v_ort.value)!=true) { if (isEmpty(v_land.value)!=true) { if (isEmpty(v_branche.value)!=true) { if (isEmpty(v_tel.value)!=true) { if (VerifeMail(v_email.value)==true) { if (isEmpty(v_pwd.value)!=true) { if (v_pwd.value.length > 3) { if (v_pwd.value == v_cpwd.value) { document.RegisterUser.submit(); } else { alert('Wiederholung von Passwort stimmt mit dem Original nicht überein.'); v_cpwd.focus(); v_cpwd.select(); } } else { alert('Bitte geben Sie mindestens 4 Zeichen im Feld \'Passwort\' an'); v_pwd.focus(); v_pwd.select(); } } else { alert('The fieldPasswortmust be filled out.'); v_pwd.focus(); v_pwd.select(); } } else { alert('Angegebene E-Mail Adresse ist ungültig!'); v_email.focus(); v_email.select(); } } else { alert('The fieldTelefonmust be filled out.'); v_tel.focus(); v_tel.select(); } } else { alert('The fieldBranchemust be filled out.'); v_branche.focus(); v_branche.select(); } } else { alert('The fieldLandmust be filled out.'); v_land.focus(); v_land.select(); } } else { alert('The fieldPLZ/Ortmust be filled out.'); if (isEmpty(v_plz.value)!=true) { v_ort.focus(); v_ort.select(); } else { v_plz.focus(); v_plz.select(); } } } else { alert('The fieldStrassemust be filled out.'); v_strasse.focus(); v_strasse.select(); } } else { alert('The fieldBranchemust be filled out.'); v_firma.focus(); v_firma.select(); } } else { alert('The fieldVornamemust be filled out.'); v_vorname.focus(); v_vorname.select(); } } else { alert('The fieldNamemust be filled out.'); v_name.focus(); v_name.select(); } } function DocDetailOnOff (url) { document.location.href = url; //document.body.scrollTop = document.body.scrollHeight - document.body.clientHeight; } function DCDownload(url, lan) { var height = 100 var iLeft = 0; //alert(iLeft); var iTop = 0 ; var sOptions = "toolbar=no,status=no,resizable=yes,dependent=yes,scrollbars=yes" ; sOptions += ",width=" + '200' ; sOptions += ",height=" + height ; sOptions += ",left=" + iLeft ; sOptions += ",top=" + iTop ; document.location.href = url + lan; // var PopUpFenster = window.open(url, 'DCDownload', sOptions ) ; // PopUpFenster.opener = self; } function DCDocDownload(url, lan) { var height = 100 var iLeft = 0; //alert(iLeft); var iTop = 0 ; var sOptions = "toolbar=no,status=no,resizable=yes,dependent=yes,scrollbars=yes" ; sOptions += ",width=" + '200' ; sOptions += ",height=" + height ; sOptions += ",left=" + iLeft ; sOptions += ",top=" + iTop ; document.location.href = url + lan; // var PopUpFenster = window.open(url, 'DCDownload', sOptions ) ; // PopUpFenster.opener = self; } function GoToUrl(url) { var height = screen.height; var width = screen.width; var iLeft = 0; var iTop = 0 ; var sOptions = "toolbar=yes,status=yes,resizable=yes,dependent=no,scrollbars=yes,menubar=yes,location=yes" ; sOptions += ",width=" + width ; sOptions += ",height=" + height ; sOptions += ",left=" + iLeft ; sOptions += ",top=" + iTop ; var PopUpURL = window.open(url, 'URLWindow', sOptions ) ; PopUpURL.opener = self; } function ShowPrintWindow(url) { var height = screen.height; var iLeft = 0; //alert(iLeft); var iTop = 0 ; var sOptions = "toolbar=no,status=no,resizable=yes,dependent=yes,scrollbars=yes" ; sOptions += ",width=" + '800' ; sOptions += ",height=" + height ; sOptions += ",left=" + iLeft ; sOptions += ",top=" + iTop ; var PopUpFenster = window.open(url, 'PrintWindow', sOptions ) ; PopUpFenster.opener = self; } function ShowPrintJobs(url) { var height = screen.height; var iLeft = 0; //alert(iLeft); var iTop = 0 ; var sOptions = "toolbar=no,status=no,resizable=yes,dependent=yes,scrollbars=yes" ; sOptions += ",width=" + '632' ; sOptions += ",height=" + height ; sOptions += ",left=" + iLeft ; sOptions += ",top=" + iTop ; var PopUpFenster = window.open(url, 'PrintWindow', sOptions ) ; PopUpFenster.opener = self; } function AddWk(id, org, lan) { var url = 'wkadd.asp?id=' + id + '&dlan=' + lan + '&dorg=' + org; var height = 100 var iLeft = 0; //alert(iLeft); var iTop = 0 ; var sOptions = "toolbar=no,status=no,resizable=yes,dependent=yes,scrollbars=yes" ; sOptions += ",width=" + '200' ; sOptions += ",height=" + height ; sOptions += ",left=" + iLeft ; sOptions += ",top=" + iTop ; var PopUpFenster = window.open(url, 'AddWk', sOptions ) ; PopUpFenster.opener = self; } function DelWk(id, org, lan) { var url = 'wkdel.asp?id=' + id + '&dlan=' + lan + '&dorg=' + org; var height = 100 var iLeft = 0; //alert(iLeft); var iTop = 0 ; var sOptions = "toolbar=no,status=no,resizable=yes,dependent=yes,scrollbars=yes" ; sOptions += ",width=" + '200' ; sOptions += ",height=" + height ; sOptions += ",left=" + iLeft ; sOptions += ",top=" + iTop ; var PopUpFenster = window.open(url, 'DelWk', sOptions ) ; PopUpFenster.opener = self; } function WKDelAll(id, org, lan) { if (confirm('Delete all Downloads?')) { var url = 'wkdelall.asp'; var height = 100 var iLeft = 0; //alert(iLeft); var iTop = 0 ; var sOptions = "toolbar=no,status=no,resizable=yes,dependent=yes,scrollbars=yes" ; sOptions += ",width=" + '200' ; sOptions += ",height=" + height ; sOptions += ",left=" + iLeft ; sOptions += ",top=" + iTop ; var PopUpFenster = window.open(url, 'WKDelAll', sOptions ) ; PopUpFenster.opener = self; } } fmtMoney = function( n, c, d, t ) { var m = ( c = Math.abs( c ) + 1 ? c : 2, d = d || ",", t = t || ".", /(\d+)(?:(\.\d+)|)/.exec( n + "" ) ), x = m[1].length % 3; return ( x ? m[1].substr( 0, x ) + t : "" ) + m[1].substr( x ).replace( /(\d{3})(?=\d)/g, "$1" + t ) + ( c ? d + ( +m[2] ).toFixed( c ).substr( 2 ) : "" ); }; function FormatFloat(pFloat, pDp){ var m = Math.pow(10, pDp); return parseInt(pFloat * m, 10) / m; } function ChangeSrc(sname){ //var src = sname; //var ind = src.indexOf("_"); //var newSrc = pfad + src.substr(0, ind - 2) + src.substr(ind, src.length - ind); //alert(newSrc); //document.getElementById(id).src = newSrc; document.getElementById('imageBlockPr').style.background = 'url('+sname+')'; if (document.getElementById('Flashheader')) { document.getElementById('Flashheader').style.display = 'none'; } } function DCWkReload(tc, ts, dtarr, farr) { document.getElementById('DCTotalCount').innerHTML = tc; document.getElementById('DCTotalSize').innerHTML = 'Total size: ' + FormatFloat( (parseFloat(ts)/1048576), 2) + ' MB'; if (dtarr != '') { //alert(dtarr); var firstarr = dtarr.split(','); for (i = 0; i < firstarr.length; i++) { var secondarr = firstarr[i].split('_'); var dtype = secondarr[0]; var dcnt = secondarr[1]; var did = 'dtypecnt' + dtype; document.getElementById(did).innerHTML = String(dcnt); } } document.getElementById('DCWarenkorbZIP').value = farr; } function StartLogin() { document.BenutzerAnmeldung.submit(); /* var login = document.getElementById('leml').value; var pwd = document.getElementById('lpwd').value; var url = 'userlogin.asp?login=' + login + '&pwd=' + pwd; var height = 100 var iLeft = 0; //alert(iLeft); var iTop = 0 ; var sOptions = "toolbar=no,status=no,resizable=yes,dependent=yes,scrollbars=yes" ; sOptions += ",width=" + '200' ; sOptions += ",height=" + height ; sOptions += ",left=" + iLeft ; sOptions += ",top=" + iTop ; var PopUpFenster = window.open(url, 'UserLog', sOptions ) ; PopUpFenster.opener = self; */ } function LadeZIP () { if (document.getElementById('DCWarenkorbZIP').value != '') { document.location.href = 'admintool4/upload/csdownload3aszip2.aspx?ssid=147831474&farr=' + document.getElementById('DCWarenkorbZIP').value; } } function ChgDSize(ctl, id) { var svalue = ctl.options[ctl.options.selectedIndex].value; var sid = 'dsize' + id; var pos = svalue.lastIndexOf("size="); var ResStr = svalue.substr(pos+5, svalue.length - pos) + " MB"; document.getElementById(sid).innerHTML = ResStr; } function KontaktChk() { var v_name = document.Kontakt.kname; var v_vorname = document.Kontakt.kvorname; var v_branche = document.Kontakt.kbranche; var v_tel = document.Kontakt.ktel; var v_email = document.Kontakt.kemail; if (isEmpty(v_name.value)!=true) { if (isEmpty(v_vorname.value)!=true) { if (isEmpty(v_branche.value)!=true) { if (isEmpty(v_tel.value)!=true) { if (VerifeMail(v_email.value)==true) { document.Kontakt.submit(); } else { alert('The fieldE-Mailmust be filled out.'); v_email.focus(); v_email.select(); } } else { alert('The fieldTelefonmust be filled out.'); v_tel.focus(); v_tel.select(); } } else { alert('The fieldBranchemust be filled out.'); v_branche.focus(); v_branche.select(); } } else { alert('The fieldVornamemust be filled out.'); v_vorname.focus(); v_vorname.select(); } } else { alert('The fieldNamemust be filled out.'); v_name.focus(); v_name.select(); } } function InfomaterialChk() { var v_name = document.Infomaterial.iname; var v_vorname = document.Infomaterial.ivorname; var v_branche = document.Infomaterial.ibranche; var v_tel = document.Infomaterial.itel; var v_email = document.Infomaterial.iemail; var v_firma = document.Infomaterial.ifirma; var v_strasse = document.Infomaterial.iadresse; var v_plz = document.Infomaterial.iplz; var v_ort = document.Infomaterial.iort; var v_land = document.Infomaterial.iland; if (isEmpty(v_name.value)!=true) { if (isEmpty(v_vorname.value)!=true) { if (isEmpty(v_firma.value)!=true) { if (isEmpty(v_branche.value)!=true) { if (isEmpty(v_strasse.value)!=true) { if (isEmpty(v_plz.value)!=true && isEmpty(v_ort.value)!=true) { if (isEmpty(v_land.value)!=true) { if (isEmpty(v_tel.value)!=true) { if (VerifeMail(v_email.value)==true) { document.Infomaterial.submit(); } else { alert('The fieldE-Mailmust be filled out.'); v_email.focus(); v_email.select(); } } else { alert('The fieldTelefonmust be filled out.'); v_tel.focus(); v_tel.select(); } } else { alert('The fieldLandmust be filled out.'); v_land.focus(); v_land.select(); } } else { alert('The fieldPLZ/Ortmust be filled out.'); if (isEmpty(v_plz.value)==true) { v_plz.focus(); v_plz.select(); } else { v_ort.focus(); v_ort.select(); } } } else { alert('The fieldStrassemust be filled out.'); v_strasse.focus(); v_strasse.select(); } } else { alert('The fieldBranchemust be filled out.'); v_branche.focus(); v_branche.select(); } } else { alert('The fieldBranchemust be filled out.'); v_firma.focus(); v_firma.select(); } } else { alert('The fieldVornamemust be filled out.'); v_vorname.focus(); v_vorname.select(); } } else { alert('The fieldNamemust be filled out.'); v_name.focus(); v_name.select(); } } function InfomaterialLBChk() { var v_name = document.Infomaterial.iname; var v_vorname = document.Infomaterial.ivorname; var v_branche = document.Infomaterial.ibranche; var v_tel = document.Infomaterial.itel; var v_email = document.Infomaterial.iemail; var v_firma = document.Infomaterial.ifirma; var v_strasse = document.Infomaterial.iadresse; var v_plz = document.Infomaterial.iplz; var v_ort = document.Infomaterial.iort; var v_land = document.Infomaterial.iland; var v_aufmerksamDDL = document.Infomaterial.AufmerksamDDL; var v_aufmerksam = null; if (document.Infomaterial.Aufmerksam) v_aufmerksam = document.Infomaterial.Aufmerksam; if (isEmpty(v_name.value)!=true) { if (isEmpty(v_vorname.value)!=true) { if (isEmpty(v_firma.value)!=true) { if (isEmpty(v_branche.value)!=true) { if (isEmpty(v_strasse.value)!=true) { if (isEmpty(v_plz.value)!=true && isEmpty(v_ort.value)!=true) { if (isEmpty(v_land.value)!=true) { if (isEmpty(v_tel.value)!=true) { if (VerifeMail(v_email.value)==true) { //alert(v_aufmerksamDDL.selectedIndex); if (v_aufmerksamDDL.selectedIndex > 0) { if (v_aufmerksamDDL.selectedIndex < v_aufmerksamDDL.length-1) { document.Infomaterial.submit(); } else { if (!isEmpty(v_aufmerksam.value)) { document.Infomaterial.submit(); } else { alert('This field musst be filled out'); v_aufmerksam.focus(); v_aufmerksam.select(); } } } else { alert('Please choose an option'); v_aufmerksamDDL.focus(); //v_aufmerksamDDL.select(); } } else { alert('The fieldE-Mailmust be filled out.'); v_email.focus(); v_email.select(); } } else { alert('The fieldTelefonmust be filled out.'); v_tel.focus(); v_tel.select(); } } else { alert('The fieldLandmust be filled out.'); v_land.focus(); v_land.select(); } } else { alert('The fieldPLZ/Ortmust be filled out.'); if (isEmpty(v_plz.value)==true) { v_plz.focus(); v_plz.select(); } else { v_ort.focus(); v_ort.select(); } } } else { alert('The fieldStrassemust be filled out.'); v_strasse.focus(); v_strasse.select(); } } else { alert('The fieldBranchemust be filled out.'); v_branche.focus(); v_branche.select(); } } else { alert('The fieldBranchemust be filled out.'); v_firma.focus(); v_firma.select(); } } else { alert('The fieldVornamemust be filled out.'); v_vorname.focus(); v_vorname.select(); } } else { alert('The fieldNamemust be filled out.'); v_name.focus(); v_name.select(); } } function AufmerksamDDLChanged (ctl) { if(ctl.options.selectedIndex < ctl.length-1) { document.Infomaterial.Aufmerksam.value = ''; document.Infomaterial.Aufmerksam.style.display = 'none'; } else { document.Infomaterial.Aufmerksam.style.display = 'block'; document.Infomaterial.Aufmerksam.focus(); document.Infomaterial.Aufmerksam.select(); } } function BewerbungChk() { var v_stelle = document.Bewerbung.bstelle; var v_vorname = document.Bewerbung.bvorname; var v_name = document.Bewerbung.bname; var v_strasse = document.Bewerbung.badresse; var v_ort = document.Bewerbung.bort; var v_land = document.Bewerbung.bland; var v_tel = document.Bewerbung.btel; var v_mobil = document.Bewerbung.bmobil; var v_email = document.Bewerbung.bemail; var v_bausb = document.Bewerbung.bausb; var v_bsprach = document.Bewerbung.bsprach; if (isEmpty(v_stelle.value)!=true) { if (isEmpty(v_vorname.value)!=true) { if (isEmpty(v_name.value)!=true) { if (isEmpty(v_strasse.value)!=true) { if (isEmpty(v_ort.value)!=true) { if (isEmpty(v_land.value)!=true) { if (isEmpty(v_tel.value)!=true) { if (isEmpty(v_mobil.value)!=true) { if (VerifeMail(v_email.value)==true) { if (isEmpty(v_bausb.value)!=true) { if (isEmpty(v_bsprach.value)!=true) { if (ShowProgress()) document.Bewerbung.submit(); } else { alert('The fieldSprachkenntnissemust be filled out.'); v_branche.focus(); v_branche.select(); } } else { alert('The fieldHöchste Ausbildung/Abschlussmust be filled out.'); v_firma.focus(); v_firma.select(); } } else { alert('The fieldAngegebene E-Mail Adresse ist ungültig!must be filled out.'); v_email.focus(); v_email.select(); } } else { alert('The fieldMobilmust be filled out.'); v_mobil.focus(); v_mobil.select(); } } else { alert('The fieldTelefonmust be filled out.'); v_tel.focus(); v_tel.select(); } } else { alert('The fieldLandmust be filled out.'); v_land.focus(); v_land.select(); } } else { alert('The fieldPLZ/Ortmust be filled out.'); v_ort.focus(); v_ort.select(); } } else { alert('The fieldStrassemust be filled out.'); v_strasse.focus(); v_strasse.select(); } } else { alert('The fieldNamemust be filled out.'); v_name.focus(); v_name.select(); } } else { alert('The fieldVornamemust be filled out.'); v_vorname.focus(); v_vorname.select(); } } else { alert('The fieldBeschäftigungswunschmust be filled out.'); v_stelle.focus(); v_stelle.select(); } } function MerkzettelChk() { var v_anrede = document.MZettel.manrede; var v_name = document.MZettel.mname; var v_vorname = document.MZettel.mvorname; var v_branche = document.MZettel.mbranche; var v_tel = document.MZettel.mtel; var v_email = document.MZettel.memail; var v_firma = document.MZettel.mfirma; var v_strasse = document.MZettel.madresse; var v_plz = document.MZettel.mplz; var v_ort = document.MZettel.mort; var v_land = document.MZettel.mland; if (isEmpty(v_anrede.value)!=true) { if (isEmpty(v_name.value)!=true) { if (isEmpty(v_vorname.value)!=true) { if (isEmpty(v_firma.value)!=true) { if (isEmpty(v_strasse.value)!=true) { if (isEmpty(v_plz.value)!=true && isEmpty(v_ort.value)!=true) { if (isEmpty(v_land.value)!=true) { if (isEmpty(v_branche.value)!=true) { if (isEmpty(v_tel.value)!=true) { if (VerifeMail(v_email.value)==true) { document.MZettel.submit(); } else { alert('The fieldE-Mailmust be filled out.'); v_email.focus(); v_email.select(); } } else { alert('The fieldTelefonmust be filled out.'); v_tel.focus(); v_tel.select(); } } else { alert('The fieldBranchemust be filled out.'); v_branche.focus(); v_branche.select(); } } else { alert('The fieldLandmust be filled out.'); v_land.focus(); v_land.select(); } } else { alert('The fieldPLZ/Ortmust be filled out.'); if (isEmpty(v_plz.value)!=true) { v_ort.focus(); v_ort.select(); } else { v_plz.focus(); v_plz.select(); } } } else { alert('The fieldStrassemust be filled out.'); v_strasse.focus(); v_strasse.select(); } } else { alert('The fieldBranchemust be filled out.'); v_firma.focus(); v_firma.select(); } } else { alert('The fieldVornamemust be filled out.'); v_vorname.focus(); v_vorname.select(); } } else { alert('The fieldNamemust be filled out.'); v_name.focus(); v_name.select(); } } else { alert('The fieldAnredemust be filled out.'); v_anrede.focus(); v_anrede.select(); } } var to='0'; var timeo = null; function HideTable(id) { //document.getElementById('Snav'+id).style.display = 'none'; document.getElementById('Snav'+id).style.visibility = 'hidden'; } function StopTimer() { window.clearTimeout(timeo); } function SetTimerFor(id) { to = id; timeo = window.setTimeout("HideTable("+id+")", 1000); } function getPosition(id) { var pos = { x:0, y:0 }; var obj = document.getElementById('td'+id); do { pos.x += obj.offsetLeft; pos.y += obj.offsetTop; } while (obj = obj.offsetParent); var divel = 0; var brow = navigator.appName; var browver = navigator.appVersion; //alert (brow); //alert (browver); if ((document.all && browver.indexOf('MSIE 7.0') == 0) || (browver.indexOf('MSIE 6.0') > 0)) { divel = document.getElementById('Snav'+id).offsetWidth-22; } else { divel = document.getElementById('Snav'+id).offsetWidth; } // var divelW = divel.offsetWidth; if (to != '0') document.getElementById('Snav'+to).style.visibility = 'hidden'; //document.getElementById('Snav'+to).style.display = 'none'; document.getElementById('Snav'+id).style.left = pos.x + 'px'; document.getElementById('Snav'+id).style.top = pos.y + 26 + 'px'; //document.getElementById('Snav'+id).style.display = 'block'; document.getElementById('Snav'+id).style.visibility = 'visible'; document.getElementById('Snav'+id).style.width = divel + 'px'; //alert(divel); //document.getElementById('Snav'+id).style.visibility = 'visible'; //alert(pos.x + '/' + pos.y); //return pos; } /**************************************************************************************************/ // Funktion blenden ein Div ein, welches den User darauf hinweist, dass die Seite geladen wird. // Dabei wird ein Gif angezeigt damit während der Ladezeit auch was passiert .... function ShowLoadPic(TagId) { var Breite = 442; var Hoehe = 181; // Da der Internet Explorer nach klick auf Submit oder einen Link keine aktionen mehr ausführt // bzw. das gewünschte Git-Bild nicht mehr ausgeführt wird (die animation) wird bei dem IE ein // Text angezeigt welcher den User darauf hinweist, dass die Seite geladen wird. // Im FireFox funktioniert die Animation auch noch nach dem Klick auf einen Button oder einen // Link. Aus diesem Grund wird hier ein entsprechender Balcken angezeigt div = document.getElementById(TagId); divText = document.getElementById("LoadingText"); divGrey = document.getElementById("BackGoundGrey"); div.style.visibility = "visible"; divText.style.visibility = "visible"; divGrey.style.visibility = "visible"; div.style.height = Hoehe + "px"; div.style.width = Breite + "px"; bar1.showBar(); var x,y; if (self.innerHeight) // all except Explorer { x = self.innerWidth; y = self.innerHeight; } else if (document.documentElement && document.documentElement.clientHeight) // Explorer 6 Strict Mode { x = document.documentElement.clientWidth; y = document.documentElement.clientHeight; } else if (document.body) // other Explorers { x = document.body.clientWidth; y = document.body.clientHeight; } divGrey.style.width = x; divGrey.style.height = y; NewLeft = ( x - Breite ) / 2; NewTop = ( y - Hoehe ) / 2; if (window.pageYOffset) { NewTop += window.pageYOffset; } else if (document.body && document.body.scrollTop) { NewTop += document.body.scrollTop; } div.style.left = NewLeft + "px"; div.style.top = NewTop + "px"; if( Img = document.getElementById("SelectCountry") ) { Img.style.visibility = "hidden"; } } function checkRegistration() { Required = Array( "E-Mail", "Passwort", "Benutzername", "Passwort2", "Vorname", "Name", "Strasse", "PLZ", "Ort", "Land", "Captcha" ); ErrorCheck = false; ErrorMsg = ""; for( i=0; i 0 && Ind < Adr.length - 3 ) { return true; } } return false; } function checkUpload() { Required = Array( "Name", "Datum", "Video", "Baujahr", "Beschreibung" ); ErrorCheck = false; ErrorMsg = ""; for( i=0; i