window.onload = function() {
        var width,height,new_x,new_y;

        // New width/height
        width = 810;
        height = 670;

        // Set the new x/y values for the window
        // This will move the window to the center of the screen
        new_x = ((screen.availWidth / 2)- (width / 2));
        new_y = ((screen.availHeight / 2) - (height / 2))

        // Resize the window and move it to the center of the screen
        self.resizeTo(width,height);
        self.moveTo(new_x,new_y);
	}
