// Stylesheet f&uumluer NS bzw. IE
css_NN ="/default_ns.css";
css_IE ="/default_ie.css";
if(document.all){
   document.write("<link rel='stylesheet' href='" + css_IE + "' type='text/css'>");
}
else {
   document.write("<link rel='stylesheet' href='" + css_NN + "' type='text/css'>");
}
// Alle Gemeinden auswaehlen
function checkAll() {
for (var j =0; j <=15; j++) {
box =eval("document.auswahl_gemeinde.elements[" + j + "]"); 
if (box.checked ==false) box.checked =true;
   }
}
// Normales Popup für Sitemap
function sitemap(){
popup =window.open("/sitemap.php","sitemap","height=400,width=644,scrollbars=1,toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0");
}
// Popup schliessen und Hauptfenster neu laden
function ladeseite(url){
parent.window.opener.focus();
parent.window.focus();
parent.window.opener.location.href =url;
}
// Formulareingaben-Check
function checkForm() 
	{
		form_ok =true;
		if(document.formular.elements["email"].value =="") {
			alert("Bitte geben Sie Ihre E-Mail an!");
			document.formular.elements["email"].focus();
			form_ok=false;
			return;
		}
	  	if(document.formular.elements["subject"].value =="") {
			alert("Bitte geben Sie ein Betreff an!");
			document.formular.elements["subject"].focus();
			form_ok=false;
			return;
		}
	  	if(document.formular.elements["message"].value =="") {
			alert("Bitte geben Sie Ihre Nachricht an!");
			document.formular.elements["message"].focus();
			form_ok=false;
			return;
		}
	  if (form_ok) { document.formular.submit() }
	} 
