    function resize() {
        var width = 725;
        var height = 605;
        self.resizeTo(width, height);
    }

var winHeight = window.screen.height;
var winWidth = window.screen.width;

// Met la fenêtre au max
window.resizeTo(winWidth, winHeight);

var theWidth, theHeight;
// Window dimensions:
if (window.innerWidth) {
theWidth=window.innerWidth;
}
else if (document.documentElement && document.documentElement.clientWidth) {
theWidth=document.documentElement.clientWidth;
}
else if (document.body) {
theWidth=document.body.clientWidth;
}
if (window.innerHeight) {
theHeight=window.innerHeight;
}
else if (document.documentElement && document.documentElement.clientHeight)
{
theHeight=document.documentElement.clientHeight;
}
else if (document.body) {
theHeight=document.body.clientHeight;
}



// Trouve le delta
var deltaH = winHeight-theHeight;
var deltaW = winWidth-theWidth;

// Resize 
//window.resizeTo(775 + (deltaW), 558 + (deltaH));
self.resizeTo(775 + (deltaW), 558 + (deltaH));
