function freeprintUploadWin(url){var freeprint=window.open(url,"freeprint","resizable=yes,scrollbars=yes,menubar=no,width=400,height=360");freeprint.focus()}function freeprintWin(url,format,seiten){var popup_width_q1=350;var popup_width_q2=350;var popup_width_h1=350;var popup_width_h2=480;var popup_height_q1=300;var popup_height_q2=500;var popup_height_h1=400;var popup_height_h2=400;var popup_width=eval("popup_width_"+format+""+seiten);var popup_height=eval("popup_height_"+format+""+seiten);var freeprint=window.open(url,"freeprint","resizable=yes,scrollbars=no,menubar=no,width="+popup_width+",height="+popup_height);freeprint.focus()}function trueprintWin(url){var trueprint=window.open(url,"trueprint","resizable=yes,scrollbars=no,menubar=no,width=400,height=360");trueprint.focus()}function helpWin(url){var help=window.open(url,"help","resizable=yes,scrollbars=yes,menubar=no,width=280,height=240");help.focus()}function helpWin2(url,w,h){var help2=window.open(url,"help2","resizable=yes,scrollbars=yes,menubar=no,width="+w+",height="+h);help2.focus()}function calendarWin(url,formname,fieldname,sid){var url=url;var formname=formname;var fieldname=fieldname;var target="";if(isNaN(formname)==false){target=eval("document.forms["+formname+"]."+fieldname)}else{target=eval("document."+formname+"."+fieldname)}var value=target.value;url+="?sid="+sid;url+="&formname="+formname;url+="&fieldname="+fieldname;url+="&value="+value;calendar=window.open(url,"calendar","resizable=1, menubar=0,toolbar=0,status=0,scrollbars=auto,width=211,height=250");calendar.focus()}function openLivetourWin(url,name){name=name+Math.round(Math.random()*1000);openPopupLive(url,name)}function openPopupLive(url,name){var win="width=360,height=370";win+="toolbar=no,location=no,directories=no,status=no,";win+="menubar=no,scrollbars=no,copyhistory=no,resizable=no,";if(opera){var x=(parseInt(fensterweite())/2)-346;var y=136;win+="left="+x+",top="+y+",screenX=0,screenY=0"}else{if(ie){var x=(parseInt(getBrowserX())+(parseInt(fensterweite())/2))-348;var y=parseInt(getBrowserY())+103;win+="left="+x+",top="+y+",screenX=0,screenY=0"}else{if(dom||nn4){var x=((parseInt(fensterweite())/2)+parseInt(getBrowserX()))-344;var y=parseInt(getBrowserY())+217;win+="left="+x+",top="+y+",screenX=0,screenY=0"}else{var x=((parseInt(fensterweite())/2)+parseInt(getBrowserX()))-351;var y=parseInt(getBrowserY())+100;win+="left="+x+",top="+y+",screenX=0,screenY=0"}}}window.open(url,name,win)}function formA4(url,name,needSID){var sid="";var url=url;var winname=name;if(url==""){url="#"}if(winname==""){winname="formA4"}if((needSID=="y")&&(url!="#")){sid=parent.document.forms[0].sid.value;if(url.indexOf("?")>0){url=url+"&sid="+sid}else{url=url+"?sid="+sid}}var formA4=window.open(url,winname,"resizable=yes,scrollbars=yes,menubar=yes,toolbar=no,width=710,height=750");formA4.focus()}function winExt(url,name,b,h){var url=url;var winname=name;breite=b;hoehe=h;if(url==""){url="#"}if(winname==""){winname="winExt"}if(breite==0){breite=660}if(hoehe==0){hoehe=750}var winExt=window.open(url,winname,"resizable=yes,scrollbars=yes,menubar=yes,toolbar=no,width="+breite+",height="+hoehe);winExt.focus()};