
function checkform()
{if(document.pb4form.name.value==""){alert("Bitte geben Sie Ihren Namen ein!");document.pb4form.name.focus();return false;}
if(document.pb4form.email.value==""){alert("Bitte geben Sie Ihre E-Mail-Adresse ein!");document.pb4form.email.focus();return false;}
if(document.pb4form.nachricht.value==""){alert("Bitte geben Sie eine Nachricht ein!");document.pb4form.nachricht.focus();return false;}}

function getweatherext()
{
// Wetter24.de
document.write ('<div class="sesBox wetterBox"><a href="http://www.wetter24.de/" target="_blank" title="Wetter24: Ihr Wetter-Dienst"><img src="http://www.wetter24.de/meteo/hptool/logo_wetter24.png" alt="" width="120" height="32" border="0"></a><br/><div style="background-color:#edece1;color:#000;font-family:verdana,arial,sasns-serif;font-weight:bold;font-size:10px;;width:120px;text-align:center"><a href="http://www.wetter24.de/de/home/wetter/weltwetter/ortewetter/stadt/49X6966/sasbach.html?cityID=49X6966" target="_blank" style="color:#000000;font-family:Verdana,Arial,Tahoma,Times New Roman;font-weight:bold;font-size:10px;" title="Ausführliche Wetter-Vorhersage für Sasbach">Wetter Sasbach</a></div><iframe  width="120" height="97" scrolling="no" frameborder="0" src="http://www.wetter24.de/meteo/hptool/index.php?cid=49X6966&cityName=Sasbach&l=de&style=14&v=de&ver=2&c1=000000&c2=edece1&c3=000000&c4=transparent&c5=000000&c6=edece1&c7=edece1&f1a=1&f1b=2&f2a=1&f2b=1&f3a=1&f3b=1&ct1=1&ct2=6&ct3=2&ct4=0&ct5=0&fcd=0"></iframe><div style="height:14px;width:120px;text-align:center;background-color:#edece1;border:1px solid #fff;margin:4px;"><a href="http://www.wetter24.de/" target="_blank" style="text-decoration: none;color:#000000;display:block;font-family:verdana,helvetica,sans-serif;font-weight:normal;font-size:10px;" title="Aktuelles Wetter und Vorhersagen für 2 Mio. Orte weltweit">Mehr Wetter</a></div></div>');
document.write ('<p>&nbsp;</p>');
// Wetterspiegel
// document.write ('<h2 style="text-align:left;">Wetter in Sasbach</h2><div class="sesBox wetterBox"><script type="text/javascript" src="http://www4.wetterspiegel.de/outgoing/wetterspiegel/wetterclipping.js.php?cid=1829,20100419133631"><' + '/script></div>');
// Wetter.rtl.de
// document.write ('<center><object type="application/x-shockwave-flash" data="http://bilder.rtl.de/wetter09/flash/wetter_homepagetool_m.swf" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="149" height="176"><param name="allowScriptAccess" value="always"><param name="movie" value="http://bilder.rtl.de/wetter09/flash/wetter_homepagetool_m.swf"><param name="FlashVars" value="umd5=5b1b88887e0b51d6e9089aa91177e9f7&amp;ucolor=0"></object></center>');
}

// ##### Wechselbild oben #############################
window.addEventListener?window.addEventListener("load",so_init,false):window.attachEvent("onload",so_init);
var d=document, imgs = new Array(), zInterval = null, current=0, pause=false;

function so_init() {
	if(!d.getElementById || !d.createElement)return;

	// DON'T FORGET TO GRAB THIS FILE AND PLACE IT ON YOUR SERVER IN THE SAME DIRECTORY AS THE JAVASCRIPT!
	// http://slayeroffice.com/code/imageCrossFade/xfade2.css
	css = d.createElement("link");
	css.setAttribute("href","/css/mod/head.css");
	css.setAttribute("rel","stylesheet");
	css.setAttribute("type","text/css");
	d.getElementsByTagName("head")[0].appendChild(css);

	imgs = d.getElementById("topFrameDivBG").getElementsByTagName("img");
	for(i=1;i<imgs.length;i++) imgs[i].xOpacity = 0;
	imgs[0].style.display = "block";
	imgs[0].xOpacity = .99;
	
	setTimeout(so_xfade,5000);
}

function so_xfade() {
	cOpacity = imgs[current].xOpacity;
	nIndex = imgs[current+1]?current+1:0;

	nOpacity = imgs[nIndex].xOpacity;
	
	cOpacity-=.04; 
	nOpacity+=.04;
	
	imgs[nIndex].style.display = "block";
	imgs[current].xOpacity = cOpacity;
	imgs[nIndex].xOpacity = nOpacity;
	
	setOpacity(imgs[current]); 
	setOpacity(imgs[nIndex]);
	
	if(cOpacity<=0) {
		imgs[current].style.display = "none";
		current = nIndex;
		setTimeout(so_xfade,7000);
	} else {
		setTimeout(so_xfade,70);
	}
	
	function setOpacity(obj) {
		if(obj.xOpacity>.99) {
			obj.xOpacity = .99;
			return;
		}
		obj.style.opacity = obj.xOpacity;
		obj.style.MozOpacity = obj.xOpacity;
		obj.style.filter = "alpha(opacity=" + (obj.xOpacity*100) + ")";
	}
	
}

