w = 1024;
h = 768;
x = (screen.availWidth  - w) / 2;
y = (screen.availHeight - h) / 2;
resizeTo(w,h);
moveTo(x,y);
