/**  Ermiitelt die Gr&ouml;&szlig;e des Inhaltsfensters, die Position des Scrollbalken,
***  die Gr&ouml;&szlig;e des Dokuments
**/

function bildschirm(inhaltx, inhalty, docx, docy,  scrollh, scrollv) {

if(window.innerWidth){           //  F&uuml;r alle Browser au&szlig;er dem IE.
inhaltx=window.innerWidth;
inhalty=window.innerHeight;
docx=window.scrollWidth;
docy=window.scrollHeight;
scrollh=window.pageXOffset;
scrollv=window.pageYOffset;
}

if(document.body.clientWidth) {         //  F&uuml;r alle Browser IE 4, 5 und 6 ohne DOCTYPE
inhaltx=document.body.clientWidth;
inhalty=document.body.clientHeight;
docx=document.body.scrollWidth;
docy=document.body.scrollHeight;
scrollh=document.body.scrollLeft;
scrollv=document.body.scrollTop;
}

if(document.documentElement && document.documentElement.clientWidth) {   // F&uuml;r IE 6 mit DOCTYPE
inhaltx=document.documentElement.clientWidth;
inhalty=document.documentElement.clientHeight;
docx=document.documentElement.scrollWidth;
docy=document.documentElement.scrollHeight;
scrollh=document.documentElement.scrollLeft;
scrollv=document.documentElement.scrollTop;
}
//var pageYOffset=docy-inhalty;
//alert(pageYOffset);
alert(inhaltx + "x" + inhalty + "Scrollbalken"+ docx + "/" + docy + "/" + scrollh + "+" + scrollv);
//return window.pageYOffset;
}

