    <head><title>serverframe1.html</title></head>
    <script src=../window.js></script>
    <script src=../examples.js></script>

    <body>

    <input value="submit map" type=button onclick="submitMap()">
    <br>
    <img id=img1>

    <script>
    function submitMap() {
        s1.submit()
    }

    function displayMap(s) {
        var imgURL = s.getVar("img")
        var imgvar = document.getElementById("img1")
        imgvar.src = imgURL
    }

    s2 = new serverFrame()
    s2.setExecOnReturn(displayMap)

    s1 = new serverFrame()
    s1.setServerURL(MSURL)
    s1.setVar("map",MSMAP)
    s1.setTarget(s2)

    </script>
    </body>