<html>
  <head>
    <title>Permalink Example GeoExt2</title>

    <link rel="stylesheet" type="text/css" href="http://cdn.sencha.io/ext-4.1.0-gpl/resources/css/ext-all.css" />
    <link rel="stylesheet" type="text/css" href="http://cdn.sencha.io/ext-4.1.0-gpl/examples/shared/example.css" />
    <script type="text/javascript" charset="utf-8" src="http://cdn.sencha.io/ext-4.1.0-gpl/ext-debug.js"></script>

    <!-- You should definitely consider using a custom single-file version of OpenLayers -->
    <script src="http://openlayers.org/api/2.12-rc3/OpenLayers.js"></script>

    <script type="text/javascript" src="permalink.js"></script>

  </head>
  <body>
    <h1>Permalink</h1>

    <p>This example shows how to generate permalinks with the current map position and visible layers.</p>
    <p>The js is not minified so it is readable. See <a href="permalink.js">permalink.js</a>.</p>
    <div id="mappanel"></div>
    <h2>Permalink:</h2>
    <div id="permalink"></div>
  </body>

</html>

<html>
  <head>
    <title>Permalink Example GeoExt2</title>

    <link rel="stylesheet" type="text/css" href="http://cdn.sencha.com/ext/gpl/4.2.1/resources/css/ext-all.css" />
    <link rel="stylesheet" type="text/css" href="http://cdn.sencha.com/ext/gpl/4.2.1/examples/shared/example.css" />
    <script type="text/javascript" charset="utf-8" src="http://cdn.sencha.com/ext/gpl/4.2.1/ext-debug.js"></script>

    <!-- You should definitely consider using a custom single-file version of OpenLayers -->
    <script src="http://openlayers.org/api/2.13/OpenLayers.js"></script>

    <script type="text/javascript" src="permalink.js"></script>

  </head>
  <body>
    <h1>Permalink</h1>

    <p>This example shows how to generate permalinks with the current map position and visible layers.</p>
    <p>The js is not minified so it is readable. See <a href="permalink.js">permalink.js</a>.</p>
    <div id="mappanel"></div>
    <h2>Permalink:</h2>
    <div id="permalink"></div>
  </body>

</html>

Upgrade example to use Ext 4.2.1/OL 2.13
Upgrade example to use Ext 4.2.1/OL 2.13
