var chap_array = new Array(
    ["44 - Welcome to Garderobe",'44'],

    ["43 - Jet Black Despair",'43'],

    ["42 - Truth",'42'],

    ["41 - A Stone That Becomes Pure White",'41'],

    ["40 - Returning Memories",'40'],

    ["39 - Hime vs Otome",'39'],

    ["38 - Materialise!!",'38'],

    ["37 - Time of Resurrection",'37'],

    ["36 - Decision of An Otome",'36'],

    ["35 - A Memory of Flames",'35'],

    ["34 - Garderobe's Assault",'34'],

    ["33 - The Door of Memories",'33'],

    ["32 - Fuukakyuu is Burning Down",'32'],

    ["31 - An Otome's Vow",'31'],

    ["30 - Two Queens",'30'],

    ["29 - A Throne of Blood",'29'],

    ["28 - Coronation Day",'28'],

    ["27 - A Time of Farewell",'27'],

    ["26 - The Meaning of Power",'26'],

    ["25 - Leaking Confidential Information",'25'],

    ["24 - A Decisive Round of Butou",'24'],

    ["23 - Souten no Seigyoku",'23'],

    ["22 - The King's Decision",'22'],

    ["21 - Reunion",'21'],

    ["20 - To The Black Valley",'20'],

    ["19 - Beautiful Pursuer",'19'],

    ["18 - An Impact of Divine Terror",'18'],

    ["17 - Prisoner No17",'17'],

    ["16 - Otome vs Maid",'16'],

    ["15 - Otome's Pinch",'15'],

    ["14 - Super Weapon",'14'],

    ["13 - Erstin Ho's Tragedy",'13'],

    ["12 - Meister Robe",'12'],

    ["11 - Revolutionary Soldier",'11'],

    ["10 - King's Return",'10'],

    ["9 - Garuderoube Escape",'9'],

    ["8 - Political Talk",'8'],

    ["7 - Schwarz Entry",'7'],

    ["6 - Don't Tell Anyone",'6'],

    ["5 - Someone I Want to Protect",'5'],

    ["4 - Battle of the Otome",'4'],

    ["3 - Heaven and Hell",'3'],

    ["2 - The Secret Flower Garden",'2'],

    ["1 - Girl Meets Girls",'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]);
    }
}
