You have chosen to sponsor your bid up to a maximum amount of .
The JS function should return width and height of the window that would fit the WHOLE content. Page might have scroll bars. Both in height and width. The function should be able to account for that. Returns in PX.
Should work for major browser