{if(top.frames.length > 0)
	top.location.href=self.location();
	}

{window.defaultStatus ="Willkommen bei der flower factory in Berlin / Tiergarten"}

function HinweisFenster() {
 	Hinweis=window.open("hinweis.html","Hinweis","width=450,height=660");
 	Hinweis.focus();
	}
	
function Sicher(){
		var antwort;
		return antwort=confirm("Sind Sie sicher, dass Sie das Formular leeren wollen?");
	}
			
function Validator(theForm){
	  if (theForm.Name.value == "")
	  {
	    alert("Geben Sie einen Wert in das Feld \" Vor- und Nachname \" ein.");
	    theForm.Name.focus();
	    return (false);
	  }
	  if (theForm.EMail.value == "")
	  {
	    alert("Geben Sie einen Wert in das Feld \" Ihre E-Mailadresse \" ein.");
	    theForm.EMail.focus();
	    return (false);
	  }
	  if(theForm.EMail.value.indexOf('@') == -1)
	  {
	    alert("Keine gültige E-Mail-Adresse! \n\n ( Kein \" @ \" vorhanden )");
	    theForm.EMail.focus();
	    return (false);
	  }
	  if(theForm.EMail.value.indexOf('.') == -1)
	  {
	    alert("Keine gültige E-Mail-Adresse ! \n\n ( Domänename fehlerhaft )");
	    theForm.EMail.focus();
	    return (false);
	  }
	  if (theForm.Betreff.value == "")
	  {
	    alert("Geben Sie bitte ein Betreff in das Feld \" Betreff \" ein.");
	    theForm.Betreff.focus();
	    return (false);
	  }
	  if (theForm.Frage.value == "")
	  {
	    alert("Geben Sie bitte Ihre Frage in das Feld \" Ihre Frage \" ein.");
	    theForm.Frage.focus();
	    return (false);
	  }
	  return (true);
    }

