/*** 3 different scripts to show 3 different tops: location bar; location and menubar and tool bars; none ***/
/*** new script would be needed to have different width and height windows, such as leftPos550, heightPos550, function openWindow550, etc ***/

/*** basic open new window with location bar only ***/

leftPos = 0
heightPos = 0
if (screen) {
leftPos = screen.width-760
heightPos = screen.height-560
}

function openWindow(url) {
    mapwindow = window.open(url, "newwindow", 
        "width=750,height=480,left="+leftPos+",top="+heightPos+",location=yes,scrollbars=yes,resizable=yes,status=yes");
        mapwindow.focus();
}


/*** open new window with location bar, menu bar and tool bar ***/
leftPoschrome = 0
heightPoschrome = 0
if (screen) {
leftPoschrome = screen.width-760
heightPoschrome = screen.height-560
}

function openWindowchrome(url) {
    mapwindow = window.open(url, "newwindow", 
        "width=750,height=480,left="+leftPoschrome+",top="+heightPoschrome+",menubar=yes,location=yes,toolbar=yes,scrollbars=yes,resizable=yes,status=yes");
        mapwindow.focus();
}

/*** open new window with no location or tool bars ***/
/*** the width and height are 600 x 390 ***/
leftPosnone = 0
heightPosnone = 0
if (screen) {
leftPosnone = screen.width-630
heightPosnone = screen.height-490
}

function openWindownone(url) {
    mapwindow = window.open(url, "newwindow", 
        "width=600,height=390,left="+leftPosnone+",top="+heightPosnone+",scrollbars=yes,resizable=yes,status=yes");
        mapwindow.focus();
}


/*** open new window with no location or tool bars ***/
/*** the width and height are 700 x 450 ***/
leftPosnone = 0
heightPosnone = 0
if (screen) {
leftPosnone = screen.width-730
heightPosnone = screen.height-550
}

function openWindownone700(url) {
    mapwindow = window.open(url, "newwindow", 
        "width=700,height=450,left="+leftPosnone+",top="+heightPosnone+",scrollbars=yes,resizable=yes,status=yes");
        mapwindow.focus();
}


/*** basic open new window with location bar only and width 450***/

leftPos = 0
heightPos = 0
if (screen) {
leftPos = screen.width-460
heightPos = screen.height-560
}

function openWindow450(url) {
    mapwindow = window.open(url, "newwindow", 
        "width=450,height=480,left="+leftPos+",top="+heightPos+",location=no,scrollbars=yes,resizable=yes,status=yes");
        mapwindow.focus();
}

/*** basic open new window with location bar only and width 800***/

leftPos = 0
heightPos = 0
if (screen) {
leftPos = screen.width-810
heightPos = screen.height-600
}

function openWindow800(url) {
    mapwindow = window.open(url, "newwindow", 
        "width=800,height=520,left="+leftPos+",top="+heightPos+",location=no,scrollbars=no,resizable=no,status=no");
        mapwindow.focus();
}


/*** basic open new window with location bar only and width 800 and height 600 ***/

leftPos = 0
heightPos = 0
if (screen) {
leftPos = screen.width-810
heightPos = screen.height-700
}

function openWindow800x620(url) {
    mapwindow = window.open(url, "newwindow", 
        "width=800,height=620,left="+leftPos+",top="+heightPos+",location=no,scrollbars=no,resizable=no,status=no");
        mapwindow.focus();
}



/*** basic open new window for videos of RJames, etc ***/

leftPos = 0
heightPos = 0
if (screen) {
leftPos = screen.width-500
heightPos = screen.height-650
}

function openWindow300(url) {
    mapwindow = window.open(url, "newwindow", 
        "width=300,height=350,left="+leftPos+",top="+heightPos+",location=no,scrollbars=nos,resizable=no,status=no");
        mapwindow.focus();
}


/*** basic open new window - width 800 and height 600 ***/

leftPos = 0
heightPos = 0
if (screen) {
leftPos = screen.width-810
heightPos = screen.height-700
}

function openWindowNone800x620(url) {
    mapwindow = window.open(url, "newwindow", 
        "width=800,height=620,left="+leftPos+",top="+heightPos+",scrollbars=yes,resizable=yes,status=no");
        mapwindow.focus();
}






