getPageSize = function() {
        var docElem = document.documentElement
        this.width = self.innerWidth || (docElem&&docElem.clientWidth) || document.body.clientWidth;
        this.height = self.innerHeight || (docElem&&docElem.clientHeight) || document.body.clientHeight;
} 


window.onload = function() {
 
 var ps = new getPageSize();
 window.resizeTo(ps.width + 10, ps.height + 30);
} 
