<!--
/**************
SCRIPTS.JS

Contains the javascripts used by the map pages
**************/


// OpenPopUp - opens a popup of w pixels by h pixels.
// Usage: <a href="javascript:OpenPopUp('images_maps/map_altona_full_1800.gif', '500', '500', ', resizable, scrollbars')">click</a>
// Or:    <a href="javascript:OpenPopUp('images_maps/map_altona_full_1800.gif', '500', '500')">click</a>

        function OpenPopUp(filename, w, h, opt) {
            if (self.popupWin) {
              self.popupWin.close();
            }
            popupWin = window.open(filename, "viewer", "width=" + w + ", height=" + h + opt);
            self.popupWin.focus();
        }



// KillPopUp - closes the popup, usually called from the onfocus property of the body tag.
// Usage: <body onfocus="KillPopUp()">

        function KillPopUp() {
          if (self.popupWin) {
            self.popupWin.close();
          }
        }




// -->
