function anzeigen(url)
{
Bild = window.open(url,'Bild','width=550,height=430,screenX=0,screenY=0,status=no,locationbar=no,menubar=no,resizable=no');
}





function MM_openBrWindow(theURL,winName,features) { //v2.0
  winName = window.open(theURL,'',features);
  winName.moveTo(25,25);
}


Protokoll = self.location.protocol;
Pfad = self.location.pathname;
Basis = Protokoll + '//' + Pfad.substring(1,Pfad.length-11)
neues_Fenster = null;

function Zeigen(Bild0,Titel0,Breite0,Hoehe0)
{
   Bild = Bild0;
   Titel = Titel0;
   Breite = Breite0;
   Hoehe = Hoehe0;
   zu();
   setTimeout("sichtbar()",10);
}

function sichtbar()
{  
   Fenster_Hoehe = Hoehe;
   Fenster_Breite = Breite;
   Optionen = 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,height='+Fenster_Hoehe+',width='+Fenster_Breite;
   neues_Fenster = window.open('','',Optionen)
   neues_Fenster.moveTo((screen.width-Fenster_Breite)/2,(screen.height-Fenster_Hoehe)/2);
   with (neues_Fenster) 
   {
      document.writeln('<html><head><title>' + Titel + '</title>');
      document.writeln('<body style="background-color: #FFFFFF; margin: 0px;">');
      document.writeln('<table style="width: 100%; height: 100%; border: 0px;" cellpadding="0" cellspacing="0">');
      document.writeln('<tr><td style="text-align: center; vertical-align: middle;">');
      document.writeln('<a href="javascript:void(0);" onClick="javascript:window.close();"><img src="'+Bild+'" border=0 alt="'+Titel+'"></a></td></tr></table>');
      document.writeln('</body></html>');
   }
}

function zu()
{
   if (neues_Fenster != null)
     if (!neues_Fenster.closed)
       neues_Fenster.close();
}


function werbung(theURL,winName,features) { //v2.0
   winName = window.open(theURL,'',features);
   winName.moveTo(25,25);
}

function anzeigen(url,width,height,name) {
   view = "width="+width+",height="+height+",screenX=0,screenY=0,status=no,locationbar=no,menubar=no,resizable=no,scrollbars=no";
   name = window.open(url,name,view);
}

function anzeigen(url,width,height,scrollbars,menubar,locationbar,resizable,name) {
   view = "width="+width+",height="+height+",screenX=0,screenY=0,status=no,locationbar="+locationbar+",menubar="+menubar+",resizable="+resizable+",scrollbars="+scrollbars+"";
   name = window.open(url,name,view);
}

function anzeigenMenu(url,width,height,name) {
   view = "width="+width+",height="+height+",screenX=0,screenY=0,status=no,locationbar=no,menubar=yes,resizable=no,scrollbars=yes";
   name = window.open(url,name,view);
}

function submit(formId) {
   document.getElementById(formId).submit();
}

function changeLink(id,href,value) {
   document.getElementById(id).href=href;
   document.getElementById(id).firstChild.nodeValue=value;
}

function preview() {
   windowname = window.open("","preview","width=492,height=450");
   self.document.preview_form.submit();
   windowname.focus();
}
