var chapter_list = new Array(
  ["Vol.01 Ch.001: The Silver-eyed Killer","v01/c001"],
  ["Vol.01 Ch.002: Claws in the Sky","v01/c002"],
  ["Vol.01 Ch.003: Memory of a Witch","v01/c003"],
  ["Vol.01 Ch.004: The Black Card","v01/c004"],
  ["Vol.02 Ch.005: Darkness in Paradise, Part 1","v02/c005"],
  ["Vol.02 Ch.006: Darkness in Paradise, Part 2","v02/c006"],
  ["Vol.02 Ch.007: Darkness in Paradise, Part 3","v02/c007"],
  ["Vol.02 Ch.008: Darkness in Paradise, Part 4","v02/c008"],
  ["Vol.02 Ch.009: Darkness in Paradise, Part 5","v02/c009"],
  ["Vol.03 Ch.010: Darkness in Paradise, Part 6","v03/c010"],
  ["Vol.03 Ch.011: Darkness in Paradise, Part 7","v03/c011"],
  ["Vol.03 Ch.012: Teresa of the Faint Smile, Part 1","v03/c012"],
  ["Vol.03 Ch.013: Teresa of the Faint Smile, Part 2","v03/c013"],
  ["Vol.03 Ch.014: Teresa of the Faint Smile, Part 3","v03/c014"],
  ["Vol.03 Ch.015: Teresa of the Faint Smile, Part 4","v03/c015"],
  ["Vol.04 Ch.016: Teresa of the Faint Smile, Part 5","v04/c016"],
  ["Vol.04 Ch.017: Teresa of the Faint Smile, Part 6","v04/c017"],
  ["Vol.04 Ch.018: Marked for Death, Part 1","v04/c018"],
  ["Vol.04 Ch.019: Marked for Death, Part 2","v04/c019"],
  ["Vol.04 Ch.020: Marked for Death, Part 3","v04/c020"],
  ["Vol.04 Ch.021: Marked for Death, Part 4","v04/c021"],
  ["Vol.05 Ch.022: Marked for Death, Part 5","v05/c022"],
  ["Vol.05 Ch.023: Marked for Death, Part 6","v05/c023"],
  ["Vol.05 Ch.024: Marked for Death, Part 7","v05/c024"],
  ["Vol.05 Ch.025: The Slashers, Part 1","v05/c025"],
  ["Vol.05 Ch.026: The Slashers, Part 2","v05/c026"],
  ["Vol.05 Ch.027: The Slashers, Part 3","v05/c027"],
  ["Vol.06 Ch.028: The Slashers, Part 4","v06/c028"],
  ["Vol.06 Ch.029: The Slashers, Part 5","v06/c029"],
  ["Vol.06 Ch.030: The Slashers, Part 6","v06/c030"],
  ["Vol.06 Ch.031: The Endless Gravestones, Part 1","v06/c031"],
  ["Vol.06 Ch.032: The Endless Gravestones, Part 2","v06/c032"],
  ["Vol.06 Ch.033: The Endless Gravestones, Part 3","v06/c033"],
  ["Vol.07 Ch.034: The Endless Gravestones, Part 4","v07/c034"],
  ["Vol.07 Ch.035: The Endless Gravestones, Part 5","v07/c035"],
  ["Vol.07 Ch.036: The Endless Gravestones, Part 6","v07/c036"],
  ["Vol.07 Ch.037: Fit for Battle, Part 1","v07/c037"],
  ["Vol.07 Ch.038: Fit for Battle, Part 2","v07/c038"],
  ["Vol.07 Ch.039: Fit for Battle, Part 3","v07/c039"],
  ["Vol.08 Ch.040: Fit for Battle, Part 4","v08/c040"],
  ["Vol.08 Ch.041: The Witch's Maw, Part 1","v08/c041"],
  ["Vol.08 Ch.042: The Witch's Maw, Part 2","v08/c042"],
  ["Vol.08 Ch.043: The Witch's Maw, Part 3","v08/c043"],
  ["Vol.08 Ch.044: The Witch's Maw, Part 4","v08/c044"],
  ["Vol.08 Ch.045: The Witch's Maw, Part 5","v08/c045"],
  ["Vol.09 Ch.046: The Deep Abyss of Purgatory, Part 1","v09/c046"],
  ["Vol.09 Ch.047: The Deep Abyss of Purgatory, Part 2","v09/c047"],
  ["Vol.09 Ch.048: The Deep Abyss of Purgatory, Part 3","v09/c048"],
  ["Vol.09 Ch.049: The Deep Abyss of Purgatory, Part 4","v09/c049"],
  ["Vol.09 Ch.050: The Battle of the North, Part 1","v09/c050"],
  ["Vol.09 Ch.051: The Battle of the North, Part 2","v09/c051"],
  ["Vol.10 Ch.052: The Battle of the North, Part 3","v10/c052"],
  ["Vol.10 Ch.053: The Battle of the North, Part 4","v10/c053"],
  ["Vol.10 Ch.054: The Battle of the North, Part 5","v10/c054"],
  ["Vol.10 Ch.055: The Battle of the North, Part 6","v10/c055"],
  ["Vol.10 Ch.056: The Battle of the North, Part 7","v10/c056"],
  ["Vol.10 Ch.057: The Assault on Pieta, Part 1","v10/c057"],
  ["Vol.11 Ch.058: The Assault on Pieta, Part 2","v11/c058"],
  ["Vol.11 Ch.059: The Assault on Pieta, Part 3","v11/c059"],
  ["Vol.11 Ch.060: The Assault on Pieta, Part 4","v11/c060"],
  ["Vol.11 Ch.061: The Assault on Pieta, Part 5","v11/c061"],
  ["Vol.11 Ch.062: Kindred of Paradise, Part 1","v11/c062"],
  ["Vol.11 Ch.063: Kindred of Paradise, Part 2","v11/c063"],
  ["Vol.12 Ch.064: Kindred of Paradise, Part 3","v12/c064"],
  ["Vol.12 Ch.065: The Souls of the Fallen, Part 1","v12/c065"],
  ["Vol.12 Ch.066: The Souls of the Fallen, Part 2","v12/c066"],
  ["Vol.12 Ch.067: The Souls of the Fallen, Part 3","v12/c067"],
  ["Vol.12 Ch.068: The Defiant Ones, Part 1","v12/c068"],
  ["Vol.12 Ch.069: The Defiant Ones, Part 2","v12/c069"],
  ["Vol.13 Ch.070: The Defiant Ones, Part 3","v13/c070"],
  ["Vol.13 Ch.071: The Defiant Ones, Part 4","v13/c071"],
  ["Vol.13 Ch.072: The Defiant Ones, Part 5","v13/c072"],
  ["Vol.13 Ch.073: A Child Weapon","v13/c073"],
  ["Vol.13 Ch.073.1: Extra Story 01 - A Warrior's Pride","v13/c073.1"],
  ["Vol.13 Ch.073.2: Extra Story 02 - The Phantom and the Wicked Warrior","v13/c073.2"],
  ["Vol.14 Ch.074: One Woman's Prayer","v14/c074"],
  ["Vol.14 Ch.075: Red Rain","v14/c075"],
  ["Vol.14 Ch.076: Beyond All Expectations","v14/c076"],
  ["Vol.14 Ch.077","v14/c077"],
  ["Vol.14 Ch.078","v14/c078"],
  ["Vol.14 Ch.079: Truths In the East","v14/c079"],
  ["Vol.14 Ch.080: Seven Years' Time","v14/c080"],
  ["Vol.15 Ch.081: A Promise Long Ago","v15/c081"],
  ["Vol.15 Ch.082","v15/c082"],
  ["Vol.15 Ch.083: A Prospective Reunion","v15/c083"],
  ["Vol.15 Ch.084: The Bewitching Ambassador","v15/c084"],
  ["Vol.15 Ch.085: A Cause Worth Fighting For","v15/c085"],
  ["Vol.15 Ch.086: The Touch's Sin","v15/c086"],
  ["Vol.15 Ch.087: Return of the Exterminators","v15/c087"],
  ["Vol.16 Ch.088: Blind Hunters","v16/c088"],
  ["Vol.16 Ch.089: Impossible Dream","v16/c089"],
  ["Vol.16 Ch.090: A World Without Order","v16/c090"],
  ["Vol.16 Ch.091: Stirrings of Awakening","v16/c091"],
  ["Vol.16 Ch.092: Soul Seal","v16/c092"],
  ["Vol.16 Ch.093: Disciple Of Demise","v16/c093"],
  ["Vol.16 Ch.094: Blades Of Purging","v16/c094"],
  ["Vol.16 Ch.095: Incarnations of Destruction","v16/c095"],
  ["Vol.16 Ch.096: Desirous Gaze","v16/c096"],
  ["Vol.16 Ch.097: Bloody Tears Of Desperation","v16/c097"],
  ["Vol.ES Ch.001","vES/c001"],
  ["Vol.ES Ch.002","vES/c002"],
  ["Vol.ES Ch.003","vES/c003"],
  ["Vol.ES Ch.004","vES/c004"]
);

var total_chapters = 103;

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;
