function zoom(bild,bildtext){ if(!bildtext){bildtext="";} zoom_fenster = open("/anzeigen/popups/zoom.php?bild="+bild+"&bildtext="+bildtext,"zoom_fenster","width=300,height=300,resizable=1,scrollbars=1,dependent=1,toolbar=0,location=0,directories=0,status=0,menubar=0"); zoom_fenster.focus() } function drucken(druck_id,markt,sf){ druck_fenster = open("/anzeigen/popups/druck_text.php?druck_id="+druck_id+"&markt="+markt+"&sf="+sf,"druck_fenster","width=565,height=500,resizable=1,scrollbars=1,dependent=1,toolbar=0,titlebar=0,location=0,directories=0,status=0,menubar=0"); druck_fenster.focus() } function datenblatt(id,wo){ info_fenster = open("/anzeigen/popups/datenblatt.php?id="+id+"&wo="+wo,"info_fenster","width=555,height=500,resizable=1,scrollbars=1,dependent=1,toolbar=0,titlebar=0,location=0,directories=0,status=0,menubar=0"); info_fenster.focus() } function expose(id,wo){ info_fenster = open("/anzeigen/popups/expose.php?id="+id+"&wo="+wo,"info_fenster","width=555,height=500,resizable=1,scrollbars=1,dependent=1,toolbar=0,titlebar=0,location=0,directories=0,status=0,menubar=0"); info_fenster.focus() } function senden(send_id,markt,sf){ send_fenster = open("/anzeigen/popups/send_text.php?send_id="+send_id+"&markt="+markt+"&sf="+sf,"send_fenster","width=460,height=250,resizable=1,scrollbars=auto,dependent=1,toolbar=0,titlebar=0,location=0,directories=0,status=0,menubar=0"); send_fenster.focus() } function kunde_microsite(kundennummer){ kunde_fenster = open("/anzeigen/popups/kunde_microsite.php?kundennummer="+kundennummer,"kunde_fenster","width=550,height=400,resizable=yes,scrollbars,menubar=no,dependent=yes"); kunde_fenster.focus(); } function benutzer_hilfe(thema, verlag) { hilfe_fenster = open('/anzeigen/popups/benutzer_hilfe.php?thema='+thema+'&verlag='+(verlag ? verlag : ''),'hilfe_fenster','width=400,height=400,status=no,toobar=no,resizable=no,scrollbars=yes'); hilfe_fenster.focus(); } function check_email(e_adr){ if(!e_adr){return true;} if(window.RegExp){reg = new RegExp('^([a-zA-Z0-9\\-\\.\\_]+)(\\@)([a-zA-Z0-9\\-\\.]+)(\\.)([a-zA-Z]{2,4})$'); return(reg.test(e_adr)); } else { return (e_adr.search('@') >= 1 && e_adr.lastIndexOf('.') > e_adr.search('@') && e_adr.lastIndexOf('.') >= e_adr.length-5) } return false; } function zeige_pdf(pdf){ hoehe = 500; weite = 700; pdf_fenster = open(pdf,"pdf_fenster","width="+weite+",height="+hoehe+",resizable=1,status=0,scrollbars=1,dependent=1,toolbar=0,location=0,directories=0,menubar=0,personalbar=0"); maxhoehe = screen.availHeight; maxweite = screen.availWidth; pdf_fenster.resizeTo(weite,hoehe); hoehe = (maxhoehe < hoehe)? maxhoehe : hoehe; weite = (maxweite < weite)? maxweite : weite; pdf_fenster.moveTo(screen.availWidth/2-weite/2,screen.availHeight/2-hoehe/2); pdf_fenster.focus(); } function expose(id){ string = "/anzeigen/popups/expose.php?id="+id; info_fenster = open(string,"info_fenster","width=555,height=500,resizable=1,scrollbars=1,dependent=1,toolbar=0,titlebar=0,location=0,directories=0,status=0,menubar=0"); info_fenster.focus(); }