var chapter_list = new Array(
  ["Vol.01 Ch.001: Treasoner","v01/c001"],
  ["Vol.01 Ch.002: Lost Ground","v01/c002"],
  ["Vol.01 Ch.003: Attack of the Mantis Queen","v01/c003"],
  ["Vol.01 Ch.004: Ryuhou","v01/c004"],
  ["Vol.01 Ch.005: Final Shadow","v01/c005"],
  ["Vol.01 Ch.006: Excessive Justice","v01/c006"],
  ["Vol.01 Ch.007: Bullet Vs. Bullet","v01/c007"],
  ["Vol.01 Ch.008: Holy","v01/c008"],
  ["Vol.02 Ch.009: Pas de Deux","v02/c009"],
  ["Vol.02 Ch.010: New Zetsui","v02/c010"],
  ["Vol.02 Ch.011: Justice Evaded","v02/c011"],
  ["Vol.02 Ch.012: Lawless","v02/c012"],
  ["Vol.02 Ch.013: Mimori Kiryu","v02/c013"],
  ["Vol.02 Ch.014: The Unstoppable Man","v02/c014"],
  ["Vol.02 Ch.015: Asuka Tachibana","v02/c015"],
  ["Vol.02 Ch.016: Akira Mijyou","v02/c016"],
  ["Vol.02 Ch.017: The Golden Massacre","v02/c017"],
  ["Vol.03 Ch.018: Cougar Straight","v03/c018"],
  ["Vol.03 Ch.019: Brother vs. Brother","v03/c019"],
  ["Vol.03 Ch.020: Backstabbed","v03/c020"],
  ["Vol.03 Ch.021: Urizane","v03/c021"],
  ["Vol.03 Ch.022: United Front","v03/c022"],
  ["Vol.03 Ch.023: Men and Women","v03/c023"],
  ["Vol.03 Ch.024: Annihliation","v03/c024"],
  ["Vol.03 Ch.025: Radio Woman","v03/c025"],
  ["Vol.03 Ch.026: A festival of Saughter","v03/c026"],
  ["Vol.04 Ch.027: Emerge Maxfell","v04/c027"],
  ["Vol.04 Ch.028: Eternal Devotion","v04/c028"],
  ["Vol.04 Ch.029","v04/c029"],
  ["Vol.04 Ch.030","v04/c030"],
  ["Vol.04 Ch.031","v04/c031"],
  ["Vol.04 Ch.032","v04/c032"],
  ["Vol.04 Ch.033","v04/c033"],
  ["Vol.04 Ch.034","v04/c034"],
  ["Vol.04 Ch.035: Alter Evolved","v04/c035"],
  ["Vol.05 Ch.036","v05/c036"],
  ["Vol.05 Ch.037","v05/c037"],
  ["Vol.05 Ch.038","v05/c038"],
  ["Vol.05 Ch.039","v05/c039"],
  ["Vol.05 Ch.040","v05/c040"],
  ["Vol.05 Ch.041","v05/c041"],
  ["Vol.05 Ch.042","v05/c042"],
  ["Vol.05 Ch.043","v05/c043"],
  ["Vol.05 Ch.044: End","v05/c044"]
);

var total_chapters = 44;

for (var i = 0; i < chapter_list.length; i++) {
  document.getElementById('top_chapter_list').options[i] = new Option(chapter_list[i][0], chapter_list[i][1]);
  document.getElementById('bottom_chapter_list').options[i] = new Option(chapter_list[i][0], chapter_list[i][1]);
}
document.getElementById('top_chapter_list').value=current_chapter;
document.getElementById('bottom_chapter_list').value=current_chapter;
var current_chapter_index = document.getElementById('top_chapter_list').selectedIndex;

