Finding Dimensions of attached Screens

Here's a hack that tries to find out the sizes of two screens (if there are two);
Due to Javascript restrictions this will only work if the swf is started in the left window.
    
This might be useful to use the new 10.2 fullscreeen mode to open up the window in the second screen.
    
 It does not seem to work on wonderfl since ExternalInterface calls are sandboxed.