Adam
The window - with the offending code disabled - sits in the middle of mybrowser window and is just the right size. Is there other code doing this else where ? In which case with the code, the placement of the window is done twice and therefore gets it wrong. Just a thought.
Tyrone