var chapter_list = new Array(
  ["Vol.01 Ch.001: The Palmtop Tiger Arrives","v01/c001"],
  ["Vol.01 Ch.002: Midnight Ambush","v01/c002"],
  ["Vol.01 Ch.003: Close Proximity","v01/c003"],
  ["Vol.01 Ch.004: The Great Mission: Passing Practice of Love!","v01/c004"],
  ["Vol.01 Ch.005: Aisaka and Ryuuji's First Mission","v01/c005"],
  ["Vol.01 Ch.006: The Rumored Couple","v01/c006"],
  ["Vol.02 Ch.007: A Well Matched Couple","v02/c007"],
  ["Vol.02 Ch.008: Within Her Fragile Heart","v02/c008"],
  ["Vol.02 Ch.009: Bye-bye","v02/c009"],
  ["Vol.02 Ch.010: The Confession","v02/c010"],
  ["Vol.02 Ch.011: Dragon Tiger Stand Together","v02/c011"],
  ["Vol.02 Ch.012: Family Restaurant Bomber","v02/c012"],
  ["Vol.02 Ch.013: The Captivating Model","v02/c013"],
  ["Vol.02 Ch.014: An Angelic Mask","v02/c014"],
  ["Vol.02 Ch.014.5: Ryuuji and Taiga's Summer Break","v02/c014.5"],
  ["Vol.02 Ch.015: Ryuuji and his happy crew?!","v02/c015"],
  ["Vol.03 Ch.016: This is not good","v03/c016"],
  ["Vol.03 Ch.017: The Secret of the Pretty Soldier","v03/c017"],
  ["Vol.03 Ch.018: It's Punishment For The Flesh â™¡","v03/c018"],
  ["Vol.03 Ch.019: The Ultimate Decision","v03/c019"],
  ["Vol.03 Ch.020: The Lunch Strategy 2","v03/c020"],
  ["Vol.03 Ch.021: He's Back!","v03/c021"],
  ["Vol.03 Ch.022: Little Devilish Angel","v03/c022"],
  ["Vol.03 Ch.023: The Whole Story","v03/c023"],
  ["Vol.03 Ch.024: Excuse Me","v03/c024"],
  ["Vol.03 Ch.025: Did You Know That The Lining Of School Swimsuits Seems To Be White, But That Flesh Color Is Actually The Most Popular?","v03/c025"],
  ["Vol.03 Ch.026: Lots of Breasts","v03/c026"],
  ["Vol.03 Ch.027: Tora Tora Tora","v03/c027"],
  ["Vol.03 Ch.028: Battle Field Of The Pool","v03/c028"],
  ["Vol.03 Ch.029: Round 2! Fight!","v03/c029"],
  ["Vol.03 Ch.032","v03/c032"],
  ["Vol.03 Ch.033","v03/c033"],
  ["Ch.030: A Dog's Loyalties","c030"]
);

var total_chapters = 33;

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;

