function PopUp (width_param,height_param) { var width = 500; var height = 520; if (height_param != null) height = height_param; if (width_param != null) width = width_param; Fenster = window.open('', 'PopUpFenster', 'width='+width+',height='+height+',resizable=yes,scrollbars=yes'); Fenster.resizeTo(width,height); Fenster.focus(); } function ismaxlength(obj){ var mlength=obj.getAttribute? parseInt(obj.getAttribute("maxlength")) : "" if (obj.getAttribute && obj.value.length>mlength) obj.value=obj.value.substring(0,mlength) } function confirmSubmit(msg) { var agree = confirm(unescape(msg)); if (agree) return true; else return false; } function disableSubmit(theform) { if (document.all || document.getElementById) { for (i = 0; i < theform.length; i++) { var tempobj = theform.elements[i]; if (tempobj.type.toLowerCase() == "submit" || tempobj.type.toLowerCase() == "reset") { tempobj.disabled = true; tempobj.value = ".. bitte warten"; } } //setTimeout('alert("Your form has been submitted. Notice how the submit and reset buttons were disabled upon submission.")', 2000); return true; } else { //alert("The form has been submitted. But, since you're not using IE 4+ or NS 6, the submit button was not disabled on form submission."); //return false; return true; } }