<!-- Anfang Seite weiterempfehlen -->


function sendpage(){
mail_str = "mailto:?subject= "+escape('Interessante Seite gefunden: ') + document.title;
mail_str += "&body="+escape('Vielleicht ist folgende Seite auch für Sie interessant: ') + document.title;
mail_str += ". Hier ist die Adresse: " + location.href;
location.href = mail_str;
}


<!-- Ende Seite weiterempfehlen -->


<!--- Background resize();   --->

 function resize(){ 

		var divobj = document.getElementById('main');
		
		 var iNewHeight = divobj.scrollHeight+600;
		 
		 if (iNewHeight<=1500) {
			iNewHeight=2000; 
		 }
   
			document.getElementById("background").style.height=iNewHeight+'px';
		
			
		} 

var resized=0;

function bg_resize()
{
	if (navigator.appName.indexOf("Microsoft")!=-1) {
 		var tWidth = document.body.offsetWidth;
 	 var tHeight = document.body.offsetHeight-90;
 } else {

	var tHeight=(window.innerHeight-90);
	var tWidth=(window.innerWidth);
}
	var delta=1.5;
//alert(delta+": "+document.images["backgroundimg"].width+" -"+document.images["backgroundimg"].height+" - "+tWidth+" - "+tHeight);
	if((tWidth/tHeight)>=delta)
	{
		document.images["backgroundimg"].width=tWidth;
		document.images["backgroundimg"].height=(tWidth/delta);

	} else {
		document.images["backgroundimg"].height=tHeight;
		document.images["backgroundimg"].width=(tHeight*delta);

	}
	//alert(delta+": "+document.images["backgroundimg"].width+" -"+document.images["backgroundimg"].height+" - "+tWidth+" - "+tHeight);
	resized=1;
}



