<html><head>
    <title>OpenLayers Basic Single OSM Example</title>
    <script src="http://openlayers.org/api/OpenLayers.js"></script>
    <script type="text/javascript">
                var myMap, myOSMLayer;
                var myCenter = new OpenLayers.LonLat(
                        774200,6833600
                        );
                function init() {
                        myMap = new OpenLayers.Map("mapDiv");
                        myOSMLayer = new OpenLayers.Layer.OSM("OSM Map");
                        
                        myKML = new OpenLayers.Layer.Vector("KML A3", {
                                strategies: [new OpenLayers.Strategy.Fixed()],
                                protocol: new OpenLayers.Protocol.HTTP({
                                        url: "a3.kml",
                                        format: new OpenLayers.Format.KML({
                                                extractStyles: true, 
                                                extractAttributes: true
                                        })
                                })
                        })
                        myKML2 = new OpenLayers.Layer.Vector("KML A4", {
                                strategies: [new OpenLayers.Strategy.Fixed()],
                                protocol: new OpenLayers.Protocol.HTTP({
                                        url: "a4.kml",
                                        format: new OpenLayers.Format.KML({
                                                extractStyles: true, 
                                                extractAttributes: true
                                        })
                                })
                        })
                        
                        myMap.addLayers([myOSMLayer,myKML,myKML2]);
                        myMap.addControl(new OpenLayers.Control.MousePosition());
            myMap.addControl(new OpenLayers.Control.ScaleLine());
            myMap.addControl(new OpenLayers.Control.LayerSwitcher());
                        myMap.setCenter(myCenter,14);
                }
    </script>
  </head>
  <body onload="init()">
  <div id="mapDiv" 
     style="width:400px; height:400px;"></div>
  </body></html>