Detecting screen size

what was the script to detech screen size?

let’s say i want a logo to always appear on the left bottom side of the internet explorer:

logo_mc._y = ?screensize?._y - 10
logo_mc._x = ?screensize?._x + 20

something like that?