function WindowWidth() { if (window.innerWidth) { return window.innerWidth; } else if (document.body && document.body.offsetWidth) { /* mit Korrektur f�r IE */ return(document.body.offsetWidth - 20); } else { return 0; } } function WindowHeight() { if (window.innerHeight) { return window.innerHeight; } else if (document.body && document.body.offsetHeight) { /* mit Korrektur f�r IE */ return(document.body.offsetHeight - 10); } else { return 0; } }