

leftPos = 0
heightPos = 0
if (screen) {
leftPos = screen.width-650
heightPos = screen.height-470
}

function openWindow(url) {
    mapwindow = window.open(url, "newwindow", 
        "width=640,height=370,left="+leftPos+",top="+heightPos+",scrollbars=yes,resizable=yes,status=yes,menubar=yes,toolbar=yes");
        mapwindow.focus();
}
  
