I have a script - see below - to bring up a new window which acts as basically a custom designed dialog window.
I also have two custom functions to help this get centered - also attached.
However, for some reason my new windows are all alligned a bit left, approx 2 cm off. which is slightly annoying.
Can anyone see why this might be?