/*____________________________________________________________________________________________________ POPUPS ____________________________________________________________________________________________________*/ // REFERER FÜR POPUPS function em_get_ref(){ var ref = document.location.href; if(ref.indexOf("?")){ ref = ref.substr(0,ref.indexOf("?")); } return ref; } // HILFE function em_help(typ,step){ em_help_popup = open("/em_do.php?em_do=http://77.235.162.13/_em_oas/popups/do_hilfe.php&em_session_name=em_sid&em_sid=289fd5b4ae139302f039ec393b2c559e&em_client=owl&em_sublayout=lz&em_replaceHeader=1&em_help_typ="+typ+"&em_help_step="+step+"&em_language=german", "em_help_popup",em_open_option(600,1,1)); } // ZOOM function em_zoom(zoom){ em_zoom_popup = open("/em_do.php?em_do=http://77.235.162.13/_em_oas/popups/do_galerie.php&em_session_name=em_sid&em_sid=289fd5b4ae139302f039ec393b2c559e&em_client=owl&em_sublayout=lz&em_replaceHeader=1&em_zoom=1&"+zoom, "em_zoom_popup",em_open_option(200,150,1)); } // KALENDER function em_kalender(frame,field,datum,begin,finish){ em_kal_popup = open("/em_do.php?em_do=http://77.235.162.13/_em_oas/popups/do_kalender.php&em_session_name=em_sid&em_sid=289fd5b4ae139302f039ec393b2c559e&em_client=owl&em_sublayout=lz&em_replaceHeader=1&em_frame="+frame+"&em_field="+field+"&em_datum="+datum+"&em_begin="+begin+"&em_finish="+finish, "em_kal_popup",em_open_option(190,198)); } // DRUCKEN function em_print(id){ em_print_popup = open("/em_do.php?em_do=http://77.235.162.13/_em_oas/popups/do_drucken.php&em_session_name=em_sid&em_sid=289fd5b4ae139302f039ec393b2c559e&em_client=owl&em_sublayout=lz&em_replaceHeader=1&em_id="+id+"&em_ref="+em_get_ref()+"&em_bind_jquery_core=1", "em_print_popup",em_open_option(805,600,1)); } // CHIFFRE function em_chiffre(id){ em_chiffre_popup = open("/em_do.php?em_do=http://77.235.162.13/_em_oas/globals/do_suche_chiffre.inc&em_session_name=em_sid&em_sid=289fd5b4ae139302f039ec393b2c559e&em_client=owl&em_sublayout=lz&em_replaceHeader=1&em_id="+id+"&em_ref="+em_get_ref(), "em_chiffre_popup",em_open_option(805,600,1)); } function em_karte(){ em_print_popup = open("/em_do.php?em_do=http://77.235.162.13/_em_oas/popups/do_karte.php&em_session_name=em_sid&em_sid=289fd5b4ae139302f039ec393b2c559e&em_client=owl&em_sublayout=lz&em_replaceHeader=1&em_ref="+em_get_ref(), "em_print_popup",em_open_option(805,1050,1)); } // DRUCKEN TREFFER function em_print_treffer(submaske){ em_print_popup = open("/em_do.php?em_do=http://77.235.162.13/_em_oas/popups/do_drucken_treffer.php&em_session_name=em_sid&em_sid=289fd5b4ae139302f039ec393b2c559e&em_client=owl&em_sublayout=lz&em_replaceHeader=1&em_submaske="+submaske+"&em_ref="+em_get_ref(), "em_print_treffer_popup",em_open_option(805,600,1)); } // EXPOSE DRUCKEN function em_expose_print(id){ em_expose_popup = open("/em_do.php?em_do=http://77.235.162.13/_em_oas/popups/do_expose.php&em_session_name=em_sid&em_sid=289fd5b4ae139302f039ec393b2c559e&em_client=owl&em_sublayout=lz&em_replaceHeader=1&em_id="+id+"&em_drucken=1"+"&em_ref="+em_get_ref(), "em_expose_popup",em_open_option(805,600,1)); } // EXPOSE function em_expose(id, bildnr){ em_expose_popup = open("/em_do.php?em_do=http://77.235.162.13/_em_oas/popups/do_expose.php&em_session_name=em_sid&em_sid=289fd5b4ae139302f039ec393b2c559e&em_client=owl&em_sublayout=lz&em_replaceHeader=1&em_id="+id+(bildnr ? "&em_bildnr="+bildnr : "")+"&em_ref="+em_get_ref(), "em_expose_popup",em_open_option(805,600,1)); } // SENDEN function em_send(id){ em_send_popup = open("/em_do.php?em_do=http://77.235.162.13/_em_oas/popups/do_senden.php&em_session_name=em_sid&em_sid=289fd5b4ae139302f039ec393b2c559e&em_client=owl&em_sublayout=lz&em_replaceHeader=1&em_id="+id+"&em_ref="+em_get_ref(), "em_send_popup",em_open_option(500,1)); } // SENDEN TREFFER function em_send_treffer(id){ em_send_popup = open("/em_do.php?em_do=http://77.235.162.13/_em_oas/popups/do_senden_treffer.php&em_session_name=em_sid&em_sid=289fd5b4ae139302f039ec393b2c559e&em_client=owl&em_sublayout=lz&em_replaceHeader=1&em_searchid="+id+"&em_ref="+em_get_ref(), "em_send_treffer_popup",em_open_option(600,1)); } function em_send_bad_objects(id){ em_send_popup = open("/em_do.php?em_do=http://77.235.162.13/_em_oas/popups/do_send_bad_objects.php&em_session_name=em_sid&em_sid=289fd5b4ae139302f039ec393b2c559e&em_client=owl&em_sublayout=lz&em_replaceHeader=1&em_id="+id+"&em_ref="+em_get_ref(), "em_send_popup",em_open_option(550,1)); } // KONTAKT function em_contact(id,email){ if (email == undefined) { email = ""; } em_contact_popup = open("/em_do.php?em_do=http://77.235.162.13/_em_oas/popups/do_kontakt.php&em_session_name=em_sid&em_sid=289fd5b4ae139302f039ec393b2c559e&em_client=owl&em_sublayout=lz&em_replaceHeader=1&em_id="+id+"&em_mail_receiver="+email+"&em_ref="+em_get_ref(), "em_contact_popup",em_open_option(600,300)); } // URL-REDIRECT function em_url_redirect(id,url){ em_url_popup = open("/em_do.php?em_do=http://77.235.162.13/_em_oas/popups/do_url_redirect.php&em_session_name=em_sid&em_sid=289fd5b4ae139302f039ec393b2c559e&em_client=owl&em_sublayout=lz&em_replaceHeader=1&em_id="+id+"&em_url="+url, "em_url_popup",em_open_option(800,600,1)+",menubar=1,location=1,toolbar=1"); } // UPLOAD function em_upload(bild,verzeichnis,bildtyp,bildsrc,bildtext,titel,teaser,extension,bild_src,db_update,bild_weite){ em_upload_popup = open("/em_do.php?em_do=http://77.235.162.13/_em_oas/popups/do_upload.php&em_session_name=em_sid&em_sid=289fd5b4ae139302f039ec393b2c559e&em_client=owl&em_sublayout=lz&em_replaceHeader=1&em_bild="+bild+"&em_bildsrc="+bildsrc+"&em_bildtext="+bildtext+"&em_bilddir="+verzeichnis+"&em_bildtyp="+bildtyp+"&em_bildweite="+bild_weite+"&em_titel="+titel+"&em_teaser="+teaser+"&em_extension="+extension+"&em_bild_src="+bild_src+"&em_db_update="+db_update+"&em_ref="+em_get_ref(), "em_upload_popup",em_open_option(430,1,"no")); } function em_upload_online1(bild,verzeichnis,bildtyp,bildsrc,bildtext,titel,teaser,extension,bild_src,db_update,bild_weite){ em_upload_popup = open("/em_do.php?em_do=http://77.235.162.13/_em_oas/popups/do_upload_online1.php&em_session_name=em_sid&em_sid=289fd5b4ae139302f039ec393b2c559e&em_client=owl&em_sublayout=lz&em_replaceHeader=1&em_bild="+bild+"&em_bildsrc="+bildsrc+"&em_bildtext="+bildtext+"&em_bilddir="+verzeichnis+"&em_bildtyp="+bildtyp+"&em_bildweite="+bild_weite+"&em_titel="+titel+"&em_teaser="+teaser+"&em_extension="+extension+"&em_bild_src="+bild_src+"&em_db_update="+db_update+"&em_ref="+em_get_ref(), "em_upload_popup",em_open_option(600,350)); em_upload_popup.focus(); } function em_upload_online2(bild,verzeichnis,bildtyp,bildsrc,bildtext,titel,teaser,extension,bild_src,db_update,bild_weite){ em_upload_popup = open("/em_do.php?em_do=http://77.235.162.13/_em_oas/popups/do_upload_online2.php&em_session_name=em_sid&em_sid=289fd5b4ae139302f039ec393b2c559e&em_client=owl&em_sublayout=lz&em_replaceHeader=1&em_bild="+bild+"&em_bildsrc="+bildsrc+"&em_bildtext="+bildtext+"&em_bilddir="+verzeichnis+"&em_bildtyp="+bildtyp+"&em_bildweite="+bild_weite+"&em_titel="+titel+"&em_teaser="+teaser+"&em_extension="+extension+"&em_bild_src="+bild_src+"&em_db_update="+db_update+"&em_ref="+em_get_ref(), "em_upload_popup",em_open_option(600,350)); } function em_upload_video(video,verzeichnis,videosrc,extension){ em_upload_popup = open("/em_do.php?em_do=http://77.235.162.13/_em_oas/popups/do_upload_video.php&em_session_name=em_sid&em_sid=289fd5b4ae139302f039ec393b2c559e&em_client=owl&em_sublayout=lz&em_replaceHeader=1&em_video="+video+"&em_videosrc="+videosrc+"&em_videodir="+verzeichnis+"&em_extension="+extension+"&em_ref="+em_get_ref(), "em_upload_popup",em_open_option(600,1)); } function em_service_open_popup(step,params){ em_service_popup = open("/em_do.php?em_do=http://77.235.162.13/_em_oas/popups/do_service_popup.php&em_session_name=em_sid&em_sid=289fd5b4ae139302f039ec393b2c559e&em_client=owl&em_sublayout=lz&em_replaceHeader=1&em_mask=service&em_service_popup_step="+step+"&"+params+"&em_ref="+em_get_ref(), "em_service_popup",em_open_option(400,1)); } // ZUGANGSDATEN function em_login_senden(){ em_login_popup = open("/em_do.php?em_do=http://77.235.162.13/_em_oas/popups/do_login_senden.php&em_session_name=em_sid&em_sid=289fd5b4ae139302f039ec393b2c559e&em_client=owl&em_sublayout=lz&em_replaceHeader=1", "em_login_popup",em_open_option(600,1)); } // AUFTRAGSBESTÔIGUNG function em_auftragsbestaetigung(id){ em_auftragsbest = open("/em_do.php?em_do=http://77.235.162.13/_em_oas/popups/do_auftragsbestaetigung.php&em_session_name=em_sid&em_sid=289fd5b4ae139302f039ec393b2c559e&em_client=owl&em_sublayout=lz&em_replaceHeader=1&em_auftrag_id="+id+"&em_sublayout=lz", "em_auftragsbest",em_open_option(805,500)); } function em_info(p_titel,p_text){ em_infofenster = open("/em_do.php?em_do=http://77.235.162.13/_em_oas/popups/do_infobox.php&em_session_name=em_sid&em_sid=289fd5b4ae139302f039ec393b2c559e&em_client=owl&em_sublayout=lz&em_replaceHeader=1&em_infotitel="+p_titel+"&em_infotext="+p_text, "em_infofenster",em_open_option(600,200,1)); } // BHI-IMPRESSUM function em_impressum(id) { open("/em_do.php?em_do=http://77.235.162.13/_em_oas/popups/do_impressum.php&em_session_name=em_sid&em_sid=289fd5b4ae139302f039ec393b2c559e&em_client=owl&em_sublayout=lz&em_replaceHeader=1&em_sid=289fd5b4ae139302f039ec393b2c559e&em_client=owl&em_kdnr="+id+"&em_ref="+em_get_ref(), "em_imp_popup",em_open_option(600,1)); } function em_open_option(width,height,scroll){ if(!width) width=600; if(!height) height=350; if(!scroll) scroll=0; var left = parseInt(screen.availWidth/2) - parseInt(width/2); var top = parseInt(screen.availHeight/2) - parseInt(height/2); return " width="+width +",height="+height +",left="+left +",top="+top +",resizable=1" +",status=1" +",scrollbars="+scroll +",dependent=1"; }