var chap_array = new Array(
    ["44 - Welcome to Fuuka Academy",'44/01'],

    ["43 - The Sword",'43/01'],

    ["42 - Rematch of the Future",'42/01'],

    ["41 - Justice Doesn't Die",'41/01'],

    ["40 - Princess Mai",'40/01'],

    ["39 - The Commencement of Battle",'39/01'],

    ["38 - The Beginning of the End",'38/01'],

    ["37 - The Obsidian Lord",'37/01'],

    ["36 - Queen",'36/01'],

    ["35 - Mother and Daughter",'35/01'],

    ["34 - Key to the Future",'34/01'],

    ["33 - The Underground Ruins",'33/01'],

    ["32 - Student Council President Suzushiro",'32/01'],

    ["31 - The Brother Dear Quiz",'31/01'],

    ["30 - White Rabbit",'30/01'],

    ["29 - Izzak",'29/01'],

    ["28 - Family",'28/01'],

    ["27 - Cultural Festival",'27/01'],

    ["26 - Princess Star",'26/01'],

    ["25 - The End and The Beginning",'25/01'],

    ["24 - Lucky Punch",'24/01'],

    ["23 - Princess - Princess",'23/01'],

    ["22 - What Will Be",'22/01'],

    ["21 - Overdoing It!!",'21/01'],

    ["20 - Elegy of the Beasts",'20/01'],

    ["19 - Groping Around in the Dark",'19/01'],

    ["18 - The Fallen Life",'18/00'],

    ["17 - 17 Years Old",'17/01'],

    ["16 - Light of the Law",'16/01'],

    ["15 - Miroir",'15/01'],

    ["14 - Koumokuten",'14/01'],

    ["13 - Higurashi Akane",'13/01'],

    ["12 - Expectations and Truth and",'12/01'],

    ["11 - Minagi Mikoto",'11/01'],

    ["10 - I Don't Know Anything",'10/01'],

    ["9 - Yuuki Nao",'9/00'],

    ["8 - Ori-HIME Unit",'8/01'],

    ["7 - Student Council Executives",'7/01'],

    ["6 - Memory of the Flame",'6/01'],

    ["5 - Stay By My Side",'5/01'],

    ["4 - Long Night",'4/01'],

    ["3 - I Don't Need A Reason!!",'3/01'],

    ["2 - I Hate You",'2/01'],

    ["1 - Boy Meets Girl",'1/00']
);
for (var i=0; i<chap_array.length; i++) {
    document.getElementById('id_chapter_1').options[i] = new Option(chap_array[i][0],chap_array[i][1]);
    if (document.getElementById('id_chapter_2')) {
        document.getElementById('id_chapter_2').options[i] = new Option(chap_array[i][0],chap_array[i][1]);
    }
}
