﻿function maximizeWindow() {
    top.window.moveTo(0, 0);
    if (document.all) {
        top.window.resizeTo(screen.availWidth, screen.availHeight);
    }
    else if (document.layers || document.getElementById) {
        if (top.window.outerHeight < screen.availHeight || top.window.outerWidth < screen.availWidth) {
            top.window.outerHeight = screen.availHeight;
            top.window.outerWidth = screen.availWidth;
        }
    }
}
function resizeLoginPage() {
    top.window.moveTo(0, 0);
    if (document.all) {
        top.window.resizeTo(800, 600);
    }
    else if (document.layers || document.getElementById) {

        top.window.outerHeight = 600;
        top.window.outerWidth = 800;

    }
}
function openfleetitem() {
    window.open("/fleetmanagement", "fleetmap", "channelmode=0,dependent=0,directories=0,fullscreen=1,menubar=0,location=0,resizable=1,scrollbars=1,status=0,toolbar=0", "myWindow");
} 


