    //<![CDATA[




            // === Create the tilelayer ===
      var tilelayer = new GTileLayer(new GCopyrightCollection(), 0, 17);
      
      // === Set the getTileUrl to use the Google KML tile processor with our KML file ===
      tilelayer.getTileUrl = function(a,b) {
        b=this.maxResolution()-b;
       return "http://maps.google.com/mapsdt?id=http://nomoss.org/gps/kml/mideast.kml&x="+a.x+"&y="+a.y+"&zoom="+b;
     }
      
      
           tilelayer.isPng = function() {return true;} 


      // === add a GTileLayerOverlay to it ===
      map.addOverlay( new GTileLayerOverlay(tilelayer) );




  //]]>
