//Fensterbreite ermitteln

function Fensterbreite() {
	if (window.innerWidth) { return window.innerWidth;	} 
	else if (document.body && document.body.clientWidth) { return document.body.clientWidth; } 
	else if (document.body && document.body.offsetWidth) { return document.body.offsetWidth; } 
	else if (document.documentElement && document.documentElement.clientWidth) { return document.documentElement.clientWidth; } 
	else { return 700; }
	}

//Fensterhoehe ermitteln

function Fensterhoehe() {
	if (window.innerHeight) { return window.innerHeight;	} 
	else if (document.body && document.body.clientHeight) { return document.body.clientHeight; } 
	else if (document.body && document.body.offsetHeight) { return document.body.offsetHeight; } 
	else if (document.documentElement && document.documentElement.clientHeight) { return document.documentElement.clientHeight; } 
	else { return 550; }
	}
