var chap_array = new Array(
    ["41 - ONCE AGAIN!",'41'],

    ["40 - Deal",'40'],

    ["39 - Misunderstanding",'39'],

    ["38 - Lovers After School",'38'],

    ["37 - Message of the Drunken Fighter",'37'],

    ["36 - Battle of Akihabara",'36'],

    ["35 - Operation Asakusa",'35'],

    ["34 - Declaration of War",'34'],

    ["33 - Female Ninja Hospitality",'33'],

    ["32 - A Tricked Kouhei",'32'],

    ["31 - Being Friends is Not Enough",'31'],

    ["30 - Let Me Show You Some Color",'30'],

    ["29 - Immediate Women",'29'],

    ["28 - She Knows",'28'],

    ["27 - First",'27'],

    ["26 - Big Discovery!",'26'],

    ["25 - Reona's Determination",'25'],

    ["24 - Unexpected Answer",'24'],

    ["23 - A Naked Clara",'23'],

    ["22 - Hey! Come Play in the Ice-dome!",'22'],

    ["21 - Conscious Feelings",'21'],

    ["20 - Let Me Tell You About Love",'20'],

    ["19 - New Spring! Spring's First Secret",'19'],

    ["18 - A Death Defying Christmas",'18'],

    ["17 - Under One Roof",'17'],

    ["16 - American Beauty",'16'],

    ["15 - The Cat Jumped Away",'15'],

    ["14 - Princess Gone Mad",'14'],

    ["13 - The Prince and the Tree",'13'],

    ["12 - No Boys Allowed! The Secret Nurse's Room",'12'],

    ["11 - The Boy Brimming with Energy from Being the Class Monitor",'11'],

    ["10 - Rin A Thousand Pounds, One Breast",'10'],

    ["9 - The Doors That Were Opened",'9'],

    ["8 - The True Identity of GachaGacha",'8'],

    ["7 - The Topic Not Found in Textbooks",'7'],

    ["6 - Clara, the Jellyfish, and",'6'],

    ["5 - Dumb Actions of Desire, Unable to Control the Feelings",'5'],

    ["4 - Too Hot to Eat",'4'],

    ["3 - To Ony Hide Alissa But Not Clara",'3'],

    ["2 - An Almost Non-existant Romance",'2'],

    ["1 - A Midsummer Night's Dream",'1']
);
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]);
    }
}
