<!DOCTYPE html>
<html>
  <head>
  	<meta charset="utf-8">
  	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Comic Reader</title>
    <meta name="description" content="">
	<meta name="viewport" content="width=device-width, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/kthoom.css') }}" type="text/css"/>
    <script src="{{ url_for('static', filename='js/libs/jquery.min.js') }}"></script>
	<script src="{{ url_for('static', filename='js/kthoom.js') }}"></script>
	<script src="{{ url_for('static', filename='js/archive.js') }}"></script>
    <script>
            document.onreadystatechange = function () {
              if (document.readyState == "complete") {
                init("{{ url_for('static', filename=comicfile) }}");
                }                
            };
    </script>    
  </head>
  <body>
    <div class="main" id="main">
	    <div id="titlebar">
	      <div id="progress" class="hide"></div>
	    </div>
	    <div id="mainContent">
	      <div id="mainText" style="display:none"></div>
      	<canvas id="mainImage"></canvas>
	    </div>
          <div id="prev" class="arrow" onclick="showPrevPage()">‹</div>
          <div id="next" class="arrow" onclick="showNextPage()">›</div>
    </div>
  </body>
</html>
