var chap_array = new Array(
    ["48 - Reunion",'48/01'],

    ["47 - There is no Hero",'47/01'],

    ["46 - Two Wolves",'46/01'],

    ["45 - The Last Friend",'45/00'],

    ["44 - The Curse of the Crown",'44/00'],

    ["43",'43/01'],

    ["42 - Arbitration",'42/00'],

    ["41 - Joint Battle",'41/01'],

    ["40 - The Story of Thors",'40/01'],

    ["39 - The King Awakens",'39/01'],

    ["38 - Outside the Cradle",'38/01'],

    ["37 - The Meaning of Love",'37/01'],

    ["36 - The Two on the Battlefield",'36/01'],

    ["35 - Contact",'35/01'],

    ["34 - Avalon",'34/01'],

    ["33 - Betrayal",'33/01'],

    ["32 - Deserters",'32/01'],

    ["31 - History of Beasts",'31/01'],

    ["30 - Master and Servant's Dining Table",'30/01'],

    ["29 - Father and Son",'29/00'],

    ["28 - Battle in the Darkness",'28/01'],

    ["27 - The Warrior and the Monk",'27/01'],

    ["26 - Artorius",'26/01'],

    ["25 - The Bluff",'25/01'],

    ["24 - The Land on the Other Side",'24/01'],

    ["23 - Reinforcement",'23/01'],

    ["22 - Son of a Troll",'22/00'],

    ["21 - Valhalla",'21/00'],

    ["20 - Ragnarok",'20/01'],

    ["19 - Battle On London Bridge",'19/00'],

    ["18 - England, 1013",'18/00'],

    ["17 - England, 1008",'17/01'],

    ["16 - The Death of Thors",'16/00'],

    ["15 - A True Warrior",'15/00'],

    ["14 - The Sword of Thors",'14/00'],

    ["13 - Smell",'13/00'],

    ["12 - Greater Than Any Monster",'12/00'],

    ["11 - Cage",'11/00'],

    ["10 - Night Awake",'10/00'],

    ["9 - A Trap in Distant Seas",'9/00'],

    ["8 - Beginning of The Journey",'8/00'],

    ["7 - Sword",'7/00'],

    ["6 - Messenger From The Battlefield",'6/00'],

    ["5 - troll",'5/00'],

    ["4 - Unbroken Chains",'4/00'],

    ["3 - The End Beyond the Sea",'3/01'],

    ["2 - Somewhere Not Here",'2/01'],

    ["1 - Normanni",'1/01']
);
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]);
    }
}
