function changeCombobox (Combobox,keys,texts) { for(i = 0; i < keys.length; i++) { if (Combobox.options[i]==null) Combobox.options[i]=new Option(""); Combobox.options[i].value=keys[i]; Combobox.options[i].text=texts[i]; } for (i=(Combobox.options.length-1);i>=(keys.length);i--) { Combobox.options[i]=null; } } function gehZurueck(Formular) { Formular.action="Common3"; Formular.submit(); return true; } function gehZurueckKfz(Formular, __wohin__ ) { Formular.action="../../jsp/Service/" + __wohin__ + "?__GB__=true"; Formular.submit(); return true; } function setFocus(feld) { if(feld && feld.type!="hidden") { feld.focus(); feld.select(); } } function popUpwindow(URL,Name,breite,hoehe) { if (navigator.appName=="Netscape") { fensterBreite = innerWidth; fensterHoehe = innerHeight; } else { fensterBreite = document.body.offsetWidth; fensterHoehe = document.body.offsetHeight; } posx=(fensterBreite/2)-(breite/2); posy=(fensterHoehe/2)-(hoehe/2); fenster=window.open(URL,Name,'dependent=yes,toolbar=no,location=0,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,width='+breite+' ,height='+hoehe+',left='+posx+',top='+posy); fenster.focus(); } function open_vbpopup(pagefile, title) { def = "status=no,toolbar=no,scrollbars=yes,menubar=no,width=380,height=460"; tempwindow = window.open(pagefile, title, def); tempwindow.focus(); //Fokus auf Pop-Up setzen (c) Mag. Wunderer }