maxx=screen.availWidth;
maxy=screen.availHeight;
window.moveTo(0,0);
window.resizeTo(maxx,maxy);