<head><title>serverframe2.html</title></head> <script src=../window.js></script> <script src=../examples.js></script> <body> <input value="submit 3 maps" type=button onclick="submitAll()"> <br> <img id=img1> <img id=img2> <img id=img3> <script> function submitAll() { s1.setVar("map_countries_class_color", Math.round(Math.random() * 255) + " " + Math.round(Math.random() * 255) + " " + Math.round(Math.random() * 255)) s1.submit() s2.setVar("map_countries_class_color", Math.round(Math.random() * 255) + " " + Math.round(Math.random() * 255) + " " + Math.round(Math.random() * 255)) s2.submit() s3.setVar("map_countries_class_color", Math.round(Math.random() * 255) + " " + Math.round(Math.random() * 255) + " " + Math.round(Math.random() * 255)) s3.submit() } s1 = new serverFrame() s1.setServerURL(MSURL) s1.setVar("map",MSMAP) s1.setVar("mode","map") s1.setTarget("img1") s2 = new serverFrame() s2.setServerURL(MSURL) s2.setVar("map",MSMAP) s2.setVar("mode","map") s2.setTarget("img2") s3 = new serverFrame() s3.setServerURL(MSURL) s3.setVar("map",MSMAP) s3.setVar("mode","map") s3.setTarget("img3") </script> </body>