<commit_before><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>Google Maps JavaScript API Example</title>
    <script type="text/javascript">

    //<![CDATA[

    var countryData = {
      "russia": { width: 21, height: 14, lat: 55.749917, lng: 37.620964, hl: 'ru'},
      "greece": { width: 28, height: 14, lat: 38.134557, lng: 22.148438, hl: 'el'},
      "thailand": { width: 28, height: 14, lat: 14.381476, lng: 100.744629, hl: 'th'},
      "japan": { width: 28, height: 14, lat: 36.204824, lng: 138.252924, hl: 'ja'}
    };

    function loadMap() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.addControl(new GMapTypeControl());
        map.setCenter(new GLatLng(37.4419, -122.1419), 13);
      }
    }

    function loadScript(country, inNative) {
      var lang = 'en';
      if (inNative) {
        lang = countryDate[country].hl;
      } 
        
      var script = document.createElement("script");
      document.body.appendChild(script);
      script.src = "http://maps.google.com/maps?file=api&v=2&key=ABQIAAAA-O3c-Om9OcvXMOJXreXHAxQGj0PqsCtxKvarsoS-iqLdqZSKfxS27kJqGZajBjvuzOBLizi931BUow&async=2&callback=loadMap&hl=" + lang;
    }

    //]]>
    </script>
  </head>
  <body onload="">
    <table>
    <tr>
    <td><a href="#" onclick="zoomTo('russia')"><img src="icon_russia.png" border="1"></a></td>
    <td><a href="#" onclick="zoomTo('greece')"><img src="icon_greece.png" border="1"></a></td>
    <td><a href="#" onclick="zoomTo('thailand')"><img src="icon_thailand.png" border="1"></a></td>
    <td><a href="#" onclick="zoomTo('japan')"><img src="icon_japan.png" border="1"></a></td>
    </tr>
    <tr>
    <td>Russia <br/>(<a href="#" onclick="loadScript('russia', false)">English</a> | <a href="#" onclick="loadScript('russia', true)">Russian</a>)</td>
    <td>Greece <br/>(<a href="#" onclick="loadScript('greece', false)">English</a> | <a href="#" onclick="loadScript('greece', true)">Greek</a>)</td>
    <td>Thailand <br/>(<a href="#" onclick="loadScript('thailand', false)">English</a> | <a href="#" onclick="loadScript('thailand', true)">Thai</a>)</td>
    <td>Japan <br/>(<a href="#" onclick="loadScript('japan', false)">English</a> | <a href="#" onclick="loadScript('japan', true)">Japanese</a>)</td>
    </table>
    <div id="map" style="width: 500px; height: 300px"></div>
    <input type="text" value="de" id="lang"/>
    <input type="button" value="load map script" onclick="loadScript();"/>
  </body>
</html>
<commit_msg>Adding transliterated example<commit_after><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>Google Maps JavaScript API Example</title>
    <script type="text/javascript">

    //<![CDATA[
    var currentCountry = 'russia';

    var countryData = {
      'russia': { width: 21, height: 14, lat: 55.749917, lng: 37.620964, hl: 'ru'},
      'greece': { width: 28, height: 14, lat: 38.134557, lng: 22.148438, hl: 'el'},
      'thailand': { width: 28, height: 14, lat: 14.381476, lng: 100.744629, hl: 'th'},
      'japan': { width: 28, height: 14, lat: 36.204824, lng: 138.252924, hl: 'ja'}
    };

    function loadMap() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById('map'));
        map.addControl(new GMapTypeControl());
        map.setCenter(new GLatLng(countryData[country].lat, countryData[country].lng), 13);
      }
    }

    function loadScript(country, inNative) {
      currentCountry = country; 
      var lang = 'en';
      if (inNative) {
        lang = countryDate[country].hl;
      } 
        
      var script = document.createElement('script');
      document.body.appendChild(script);
      script.src = 'http://maps.google.com/maps?file=api&v=2&key=<KEY>XHAxQGj0PqsCtxKvarsoS-iqLdqZSKfxS27kJqGZajBjvuzOBLizi931BUow&async=2&callback=loadMap&hl=' + lang;
    }

    //]]>
    </script>
  </head>
  <body onload="">
    <table>
    <tr>
    <td><a href="#" onclick="zoomTo('russia')"><img src="icon_russia.png" border="1"></a></td>
    <td><a href="#" onclick="zoomTo('greece')"><img src="icon_greece.png" border="1"></a></td>
    <td><a href="#" onclick="zoomTo('thailand')"><img src="icon_thailand.png" border="1"></a></td>
    <td><a href="#" onclick="zoomTo('japan')"><img src="icon_japan.png" border="1"></a></td>
    </tr>
    <tr>
    <td>Russia <br/>(<a href="#" onclick="loadScript('russia', false)">English</a> | <a href="#" onclick="loadScript('russia', true)">Russian</a>)</td>
    <td>Greece <br/>(<a href="#" onclick="loadScript('greece', false)">English</a> | <a href="#" onclick="loadScript('greece', true)">Greek</a>)</td>
    <td>Thailand <br/>(<a href="#" onclick="loadScript('thailand', false)">English</a> | <a href="#" onclick="loadScript('thailand', true)">Thai</a>)</td>
    <td>Japan <br/>(<a href="#" onclick="loadScript('japan', false)">English</a> | <a href="#" onclick="loadScript('japan', true)">Japanese</a>)</td>
    </table>
    <div id="map" style="width: 500px; height: 300px"></div>
    <input type="text" value="de" id="lang"/>
    <input type="button" value="load map script" onclick="loadScript();"/>
  </body>
</html>

{'fraction_non_alphanumeric': 0.22629582806573956, 'fraction_numerical': 0.04424778761061947, 'mean_word_length': 3.9623655913978495, 'pattern_counts': {'":': 4, '<': 144, '<?xml version=': 0, '>': 144, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5872846', 'n_tokens_mistral': 2270, 'n_tokens_neox': 2036, 'n_words': 373}