var chapter_list = new Array(
  ["Vol.01 Ch.001: Together Again!","v01/c001"],
  ["Vol.01 Ch.002: Pleased to Meet You","v01/c002"],
  ["Vol.01 Ch.003: One Is Plenty","v01/c003"],
  ["Vol.01 Ch.004: I Don't Entirely Matter","v01/c004"],
  ["Vol.01 Ch.005: Still Thinking About It","v01/c005"],
  ["Vol.01 Ch.006: You Have More Fun over There?","v01/c006"],
  ["Vol.01 Ch.007: Let the Game Begins!","v01/c007"],
  ["Vol.02 Ch.008: You Are This, Too... Do You Want to Do It?","v02/c008"],
  ["Vol.02 Ch.009: I Think We Should Start the Meeting","v02/c009"],
  ["Vol.02 Ch.010: That's Me","v02/c010"],
  ["Vol.02 Ch.011: I Bet on It","v02/c011"],
  ["Vol.02 Ch.012: I Have Confidence","v02/c012"],
  ["Vol.02 Ch.013: You're Not Giving Up!?","v02/c013"],
  ["Vol.02 Ch.014: I Must Do It!!","v02/c014"],
  ["Vol.02 Ch.014.5: Takabondo Extra","v02/c014.5"],
  ["Vol.03 Ch.015: What's That!?","v03/c015"],
  ["Vol.03 Ch.016: So Dandy!!","v03/c016"],
  ["Vol.03 Ch.017: Enemy Is Approaching!!","v03/c017"],
  ["Vol.03 Ch.018: Let's Have a Match","v03/c018"],
  ["Vol.03 Ch.019: I Don't Want You to Become the Winner!","v03/c019"],
  ["Vol.03 Ch.020: Which One Would You Chose?","v03/c020"],
  ["Vol.03 Ch.021: If Not, I Won't Forgive You","v03/c021"],
  ["Vol.03 Ch.022: The Growing Problem","v03/c022"],
  ["Vol.03 Ch.023: I'm So Pathetic","v03/c023"],
  ["Vol.03 Ch.024: Amazing","v03/c024"],
  ["Vol.03 Ch.025: It's Better!!","v03/c025"],
  ["Vol.03 Ch.026: Water!!","v03/c026"],
  ["Vol.03 Ch.027: Pissing Me Off","v03/c027"],
  ["Vol.03 Ch.028: Real Sibling Is the Best After All","v03/c028"],
  ["Vol.04 Ch.029: The Legendary Amazing Takao-senpai","v04/c029"],
  ["Vol.04 Ch.030: Swaying and Floating","v04/c030"],
  ["Vol.04 Ch.031: You're Simply Weak","v04/c031"],
  ["Vol.04 Ch.032: I Want to Dismiss Your Game Creator Club (Temp)","v04/c032"],
  ["Vol.04 Ch.033: Diamonds Are Unbreakable","v04/c033"],
  ["Vol.04 Ch.034: He Came Up with an Amazing Thing!!","v04/c034"]
);

var total_chapters = 35;

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;

