var chapter_list = new Array(
  ["Vol.01 Ch.001: Choice of a 14-year-old","v01/c001"],
  ["Vol.01 Ch.002: Deja vu!!","v01/c002"],
  ["Vol.01 Ch.003: Private Turor Nana ~  Part 1","v01/c003"],
  ["Vol.01 Ch.004: Private Tutor Nana ~ Part 2","v01/c004"],
  ["Vol.01 Ch.005: Bad Influence","v01/c005"],
  ["Vol.01 Ch.006: Super Splint","v01/c006"],
  ["Vol.01 Ch.007: EÂ´s Tragedy","v01/c007"],
  ["Vol.01 Ch.008: Anticipation","v01/c008"],
  ["Vol.01 Ch.009: Chicken-head","v01/c009"],
  ["Vol.02 Ch.010: Sachi Stands Up","v02/c010"],
  ["Vol.02 Ch.011: Lotion Seller","v02/c011"],
  ["Vol.02 Ch.012: Butt","v02/c012"],
  ["Vol.02 Ch.013: Pity on the Stupid Kid","v02/c013"],
  ["Vol.02 Ch.014: Twisted Heart","v02/c014"],
  ["Vol.02 Ch.015: A Cat and the Youngest Child","v02/c015"],
  ["Vol.02 Ch.016: Let's Play In English","v02/c016"],
  ["Vol.02 Ch.017: Jerking Off","v02/c017"],
  ["Vol.02 Ch.018: Yagi's Crush","v02/c018"],
  ["Vol.03 Ch.019: Whatever","v03/c019"],
  ["Vol.03 Ch.020: One Powerful Weapon","v03/c020"],
  ["Vol.03 Ch.021: The Sacred Key","v03/c021"],
  ["Vol.03 Ch.022: You'll Regret That You Didn't","v03/c022"],
  ["Vol.03 Ch.023: You'll Regret You Did do It","v03/c023"],
  ["Vol.03 Ch.024: GF","v03/c024"],
  ["Vol.03 Ch.025: Nana Report","v03/c025"],
  ["Vol.03 Ch.026: Takoyaki and Yamamoto","v03/c026"],
  ["Vol.04 Ch.027: Q&amp;A","v04/c027"],
  ["Vol.04 Ch.028: Those Tears","v04/c028"],
  ["Vol.04 Ch.029: Exceptional Sweets","v04/c029"],
  ["Vol.04 Ch.030: Helmet Fashion","v04/c030"],
  ["Vol.04 Ch.031: The End","v04/c031"],
  ["Vol.04 Ch.032: Dha","v04/c032"],
  ["Vol.04 Ch.033: Am I too young for you?","v04/c033"],
  ["Vol.04 Ch.034: No Way Back Home","v04/c034"],
  ["Vol.04 Ch.034.5: Side Story: Uchida-Kun","v04/c034.5"],
  ["Vol.05 Ch.035: Launching Fireworks","v05/c035"]
);

var total_chapters = 36;

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;

