function review(datei) {
	file = "reviews/" + datei + ".html";
	F = window.open(file, "Popup", "width=460,height=464,left=300,top=100,toolbar=no,location=no,status=no,scrollbars=no,resizable=no");
}

function picture(datei) {
	file = "popups/" + datei + ".html";
	F = window.open(file, "Popup", "width=460,height=464,left=300,top=100,toolbar=no,location=no,status=no,scrollbars=no,resizable=no");
}

function press(datei) {
	file = "popups_press/" + datei + ".html";
	F = window.open(file, "PopupPress", "width=460,height=464,left=300,top=100,toolbar=no,location=no,status=no,scrollbars=no,resizable=no");
}

function checkSubscribe() {


	if(	EMail(document.forms["subscribe"].email.value) == false ) {
		alert("value not valid");
		
	} else {
		document.forms["subscribe"].submit();
	}

}

function EMail(s)
{
 var a = false;
 var res = false;
 if(typeof(RegExp) == 'function')
 {
  var b = new RegExp('abc');
  if(b.test('abc') == true){a = true;}
  }

 if(a == true)
 {
  reg = new RegExp('^([a-zA-Z0-9\\-\\.\\_]+)'+
                   '(\\@)([a-zA-Z0-9\\-\\.]+)'+
                   '(\\.)([a-zA-Z]{2,4})$');
  res = (reg.test(s));
 }
 else
 {
  res = (s.search('@') >= 1 &&
         s.lastIndexOf('.') > s.search('@') &&
         s.lastIndexOf('.') >= s.length-5)
 }
 return(res);
}