function NewWindow(LINK,WIDTH,HEIGHT){
  window.open(LINK,"","scrollbars=yes,dependent=yes, location=no, status=no,statusbar=no, toolbar=no,resizable=no,width="+WIDTH+",height="+HEIGHT+",left=250,top=150");
}

function Shows(){

  var DOC=document.Form.LOC.value;
  var ORT=document.Form.ORT.value;
  var TIME=document.Form.TIME.value; 
    
  if(DOC=="" || ORT=="" || TIME==""){  
    alert("Bitte alle Felder ausfüllen");   
  }else{
    document.Form.submit();
  }


}

function HDFDSWASK() {
      var NAME=document.Form.GB_NAME.value;
      var MAIL=document.Form.GB_MAIL.value;      
      var TEXT=document.Form.GB_TEXT.value;       

      if(NAME=="" || MAIL=="" || TEXT==""){
       document.Form.ERROR.value="Please fill in all required fields";
      } else {
       document.Form.ERROR.value="";
       document.Form.submit();    
      }
}

function NEWS() {
      var NAME=document.Form.NEWS_TITLE.value;
      var TEXT=document.Form.NEWS_TEXT.value;       

      if(NAME=="" || TEXT==""){
       document.Form.ERROR.value="Please fill in all required fields";
      } else {
       document.Form.ERROR.value="";
       document.Form.submit();    
      }
}

function SHOP() {
      var NAME=document.Form.SHOP_NAME.value;
      var VNAME=document.Form.SHOP_VNAME.value;       
      var MAIL=document.Form.SHOP_MAIL.value;
      var STREET=document.Form.SHOP_STREET.value;  
      var PLACE=document.Form.SHOP_PLACE.value;
      var POSTAL=document.Form.SHOP_POSTAL.value;
       
      if(NAME=="Name" || VNAME=="Vorname" || MAIL=="eMail" || STREET=="Strasse" || PLACE=="Ort" || POSTAL=="Plz"){
       document.Form.ERROR.value="Please fill in all required fields";
      } else {
       document.Form.ERROR.value="";
       document.Form.submit();    
      }
}
