var chap_array = new Array(
    ["55 - Conclusion",'55'],

    ["54 - Final Battle",'54'],

    ["53 - Unforgivable",'53'],

    ["52 - Lifeline",'52'],

    ["51 - Urgency",'51'],

    ["50 - Coward",'50'],

    ["49 - Final Mission",'49'],

    ["48 - Always the Loser",'48'],

    ["47 - Time Limit",'47'],

    ["46 - Silent Journey",'46'],

    ["45 - Margin of Error",'45'],

    ["44 - Chase",'44'],

    ["43 - The Shingo-kun Squad",'43'],

    ["42 - You're Too Naive",'42'],

    ["41 - To The Top",'41'],

    ["40 - Miscalculation",'40'],

    ["39 - Begin the Counterattack",'39'],

    ["38 - So Cute",'38'],

    ["37 - Become a Rock",'37'],

    ["36 - Welcome to the Party",'36'],

    ["35 - Death Match",'35'],

    ["34 - Soldiers",'34'],

    ["33 - Suprise Attack",'33'],

    ["32 - Vs B-M",'32'],

    ["31 - Super Hero",'31'],

    ["30 - Scapegoat",'30'],

    ["29 - Pre-Battle Seige",'29'],

    ["28 - Booby Trap",'28'],

    ["27 - The Silent Pack",'27'],

    ["26 - Predator",'26'],

    ["25 - Retribution",'25'],

    ["24 - Ignorant Adults",'24'],

    ["23 - Complications",'23'],

    ["22 - Father and Son",'22'],

    ["21 - The Return",'21'],

    ["20 - Lock Down",'20'],

    ["19 - Hell",'19'],

    ["18 - Distrust",'18'],

    ["17 - Genocide",'17'],

    ["16 - Ambush",'16'],

    ["15 - Friends Reunited",'15'],

    ["14 - Revived Nightmare",'14'],

    ["13 - Feast",'13'],

    ["12 - The Ideal's Destruction",'12'],

    ["11 - B-M, the Second Coming",'11'],

    ["10 - Separation and Reunion",'10'],

    ["9 - Light of Hope",'9'],

    ["8 - Mother and Father",'8'],

    ["7 - Ghost Town",'7'],

    ["6 - The Cost of Betrayal",'6'],

    ["5 - Choices",'5'],

    ["4 - Invasion",'4'],

    ["3 - Eyewitness",'3'],

    ["2 - First Contact",'2'],

    ["1 - Ideal World",'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]);
    }
}
