﻿function maximizeWindow()
{
    if (window.screen) {
    this.moveTo(0, 0);
    this.resizeTo(screen.availWidth,screen.availHeight)
    }
}