function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&iZoom<\/title>"); neu.document.writeln("<\/head><body style=\"margin:0px;\">"); //Falls speichersperre erwünscht, Kommentar weg //neu.document.writeln("<script language=\"JavaScript\">"); //neu.document.writeln("function Position(Ereignis)"); //neu.document.writeln("{"); //neu.document.writeln("alert(\"COPYRIGHT\");"); //neu.document.writeln("}"); //neu.document.writeln("document.onmousedown = Position;"); //neu.document.writeln("<\/script>"); if (alt!='') neu.document.writeln("<img src=\""+bild+"\" alt=\"\" title=\""+alt+"\">"); else neu.document.writeln("<img src=\""+bild+"\" alt=\"\">"); neu.document.writeln("<\/body><\/html>"); neu.document.close(); } var popUpCount = 0; function WerbePopUp(img, alt, wb_link, wb_cat, wb_type){ bild = img; foto1= new Image(); foto1.src=(img); ControllaWP(img, alt, wb_link, wb_cat, wb_type); } function ControllaWP(img, alt, wb_link, wb_cat, wb_type){ if((foto1.width!=0)&&(foto1.height!=0)){ viewPictureWP(img, alt, wb_link, wb_cat, wb_type); } else{ funzione="ControllaWP('"+img+"','"+alt+"','"+wb_link+"','"+wb_cat+"', '"+wb_type+"')"; intervallo=setTimeout(funzione,20); } } function viewPictureWP(img, alt, wb_link, wb_cat, wb_type) { var offset = 0 if (navigator.appName == "Netscape") offset = 20; largh=foto1.width + offset; altez=foto1.height + offset; stringa="width="+largh+",height="+altez+",left=100,top=100,menubar=no,resizable=no,scrollbars=no"; // Image-Name aufbereiten und als Fenstername verwenden !! var window_n=img; // Image-Name als Fenstername verwenden window_n = window_n.replace(/.+\//, ''); // alles vor Slashes ersetzen window_n = window_n.replace(/\s/, '_'); // Leerzeichen ersetzen window_n = window_n.replace(/\./g, '_'); // Punkt ersetzen window_n = window_n.replace(/\-/g, '_'); // Punkt ersetzen //stringa werbepopup=window.open('', 'Werbung'+window_n, stringa); werbepopup.document.open(); werbepopup.document.writeln("<html><head><title>"+alt+"<\/title>"); werbepopup.document.writeln("<\/head><body leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">"); werbepopup.document.writeln("<script language=\"JavaScript\">"); werbepopup.document.writeln("function bannerclick()"); werbepopup.document.writeln("{"); werbepopup.document.writeln("window.open('"+wb_link+"','Werbefenster','left=10,top=10,width=640,height=480,scrollbars=yes,status=yes,menubar=yes,location=yes,resizable=yes,toolbar=yes');"); //werbepopup.document.writeln("window.open('"+wb_link+"','Werbefenster','left=10,top=10,width=640,height=480,scrollbars=yes,status=yes,menubar=yes,location=yes,resizable=yes,toolbar=yes');"); werbepopup.document.writeln("self.close();"); werbepopup.document.writeln("}"); werbepopup.document.writeln("function parantchange()"); werbepopup.document.writeln("{"); werbepopup.document.writeln("window.open('"+wb_link+"','Werbefenster','left=10,top=10,width=640,height=480,scrollbars=yes,status=yes,menubar=yes,location=yes,resizable=yes,toolbar=yes');");; //werbepopup.document.writeln("window.opener.location.href=\"http://www5.azol.de/tools/statistik_werbebanner/link.php?id="+wb_cat+"&link="+wb_link+"\""); werbepopup.document.writeln("self.close();"); werbepopup.document.writeln("}"); werbepopup.document.writeln("<\/script>"); if (wb_link!='' && wb_type==1) { werbepopup.document.writeln("<a href=\"javascript:bannerclick();\">"); // werbepopup.document.writeln("<a href=\""+wb_link+"\" target=\"_blank\">"); } if (wb_link!='' && wb_type==0) werbepopup.document.writeln("<a href=\"javascript:parantchange();\">"); if (alt!='') werbepopup.document.writeln("<img src=\""+bild+"\" alt=\""+alt+"\" border=\"0\">"); else werbepopup.document.writeln("<img src=\""+bild+"\" border=\"0\">"); if (wb_link!='') werbepopup.document.writeln("</a>"); // } werbepopup.document.writeln("<\/body><\/html>"); werbepopup.document.close(); werbepopup.focus(); } function PopUp(seite,breite,hoehe) { window.open (seite,'new','scrollbars=no,status=no,width='+breite+',height='+hoehe+'menubar=no,left=50,top=50,location=no,resizable=no,directories=no') } function CenterPopUpS(seite,format,breite,hoehe) { f2=window.open (seite,format,'scrollbars=no,status=no,width='+breite+',height='+hoehe+'menubar=no,left=50,top=50,location=no,resizable=no,directories=no'); f2.moveTo((screen.width-breite)/2,(screen.height-hoehe)/2); f2.focus(); } function ResizeCenterPopUpS(seite,breite,hoehe) { f2=window.open (seite,'new','scrollbars=yes,status=no,width='+breite+',height='+hoehe+'menubar=no,left=50,top=50,location=no,resizable=yes,directories=no'); f2.moveTo((screen.width-breite)/2,(screen.height-hoehe)/2); f2.focus(); } // PopUp-Function (resizable + no scrollbars) function PopUpS_R(seite,breite,hoehe) { window.open (seite,'new','scrollbars=no,status=no,width='+breite+',height='+hoehe+'menubar=no,left=100,top=100,location=no,resizable=yes,directories=no') } // PopUp-Function (resizable + with scrollbars) function PopUpS_RS(seite,breite,hoehe) { window.open (seite,'new','scrollbars=yes,status=no,width='+breite+',height='+hoehe+'menubar=no,left=100,top=100,location=no,resizable=yes,directories=no') } // Funktion zur Aktivierung bzw. Deaktivierung von Checkboxen // Parameter TagName: Name der Checkboxen, beginnenden mit TagName // Parameter FormName: Betreffendes Formular (Formularname) // Parameter BasicBoxName: Name der Box, ueber welche Aktivierung bzw. Deaktivierung angestossen wird. function setAllBoxes(TagName,FormName,BasicBoxName) { strLen = TagName.length; checkbox_checked = true; // Schleife, um BasicBoxName bzw. dessen Wert zu ermitteln for (var i = 0; i < window.document.forms[FormName].elements.length; i++) { if(window.document.forms[FormName].elements[i].type == 'checkbox'){ if(window.document.forms[FormName].elements[i].name == BasicBoxName){ $act_value = window.document.forms[FormName].elements[i].checked; if($act_value==true){ checkbox_checked=true; } else { checkbox_checked=false; } } } } for (var i = 0; i < window.document.forms[FormName].elements.length; i++) { if(window.document.forms[FormName].elements[i].type == 'checkbox'){ if(window.document.forms[FormName].elements[i].name.substr(0,strLen) == TagName){ window.document.forms[FormName].elements[i].checked = checkbox_checked; } } } } // Funktion zur Aktivierung eines Radio-Buttons anhand der Parameter // Parameter BasicBoxName: Name der Box, welche aktiviert werden soll // Parameter BasicBoxValue: Value der Checkbox, welche aktiviert werden soll // Parameter FormName: Betreffendes Formular (Formularname) function nfy_setRadio(BasicBoxName,BasicBoxValue,FormName) { for (var i = 0; i < window.document.forms[FormName].elements.length; i++) { if(window.document.forms[FormName].elements[i].type == 'radio'){ if(window.document.forms[FormName].elements[i].name == BasicBoxName){ if(window.document.forms[FormName].elements[i].value == BasicBoxValue){ window.document.forms[FormName].elements[i].checked = true; } } } } } function PopUpS_NoScroll_AZV(seite,breite,hoehe,wb_id) { window.open (seite,'new','scrollbars=no,status=no,width='+breite+',height='+hoehe+',menubar=no,left=50,top=50,location=no,resizable=no,directories=no') } function PopUpS_NoScroll(seite,breite,hoehe) { window.open (seite,'new','scrollbars=no,status=no,width='+breite+',height='+hoehe+',menubar=no,left=50,top=50,location=no,resizable=no,directories=no') }