go to
Bildschirmdaten ermitteln - Javascript Tutorial
(i know its german)
but you should understand it ...
strg+f -> "height" the number copy and paste in "Height"
strg+f -> "width" the number copy and paste in "width"
easy going
greetz
Strahl