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()",1000);
}

function sichtbar()
{  
   Fenster_Hoehe = Hoehe + 0;
   Fenster_Breite = Breite + 0;
   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)
   with (neues_Fenster) 
   {
      document.writeln('<HTML><HEAD><TITLE>' + Titel + '</TITLE></HEAD>');
      document.writeln('<BODY BGCOLOR="#000000" TEXT="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><DIV ALIGN=CENTER><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 VALIGN="MIDDLE"><TR><TD>');
      document.writeln('<IMG SRC="'+Bild+'" WIDTH='+Breite+' HEIGHT='+Hoehe+' BORDER=0 ALT="'+Titel+'"></TD>');
      document.writeln('</TR></TABLE></DIV></BODY></HTML>');
   }
}

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

function chkFM(form) {

if(!form.name.value) {
	alert("Geben Sie bitte Ihren Namen ein !");
	form.name.focus();
	return false;
}

if(!form.email.value) {
	alert("Geben Sie bitte Ihre E-Mail-Adresse ein !");
	form.email.focus();
	return false;
}

if(form.email.value.indexOf('\@') == -1) {
	alert("Das ist keine E-Mail-Adresse !");
	form.email.focus();
	return false;
}

if(!form.com.value) {
	alert("Bitte geben Sie einen Text ein!");
	form.com.focus();
	return false;
}
}