var chap_array = new Array(
    ["40 - Lost Word 5",'40/01'],

    ["39 - Lost Word 4",'39/01'],

    ["38 - Lost Word 3",'38/01'],

    ["37 - Lost Word 2",'37/01'],

    ["36 - Lost Word 1",'36/00'],

    ["35 - Mind Blindness 6",'35/01'],

    ["34 - Mind Blindness 5",'34/00'],

    ["33 - Mind Blindness 4",'33/01'],

    ["32 - Mind Blindness 3",'32/00'],

    ["31 - Mind Blindness 2",'31/01'],

    ["30 - Mind Blindness 1",'30/00'],

    ["29 - Be Jealous - Losing Sight of Love 5",'29/01'],

    ["28 - Be Jealous - Losing Sight of Love 4",'28/01'],

    ["27 - Be Jealous - Losing Sight of Love 3",'27/01'],

    ["26 - Be Jealous - Losing Sight of Love 2",'26/01'],

    ["25 - Be Jealous - Losing Sight of Love 1",'25/00'],

    ["24 - One Sided Love - One Sided Thoughts 8",'24/00'],

    ["23 - One Sided Love - One Sided Thoughts 7",'23/01'],

    ["22 - One Sided Love - One Sided Thoughts 6",'22/01'],

    ["21 - One Sided Love - One Sided Thoughts 5",'21/01-02'],

    ["20 - One Sided Love - One Sided Thoughts 4",'20/01'],

    ["19 - One Sided Love - One Sided Thoughts 3",'19/01'],

    ["18 - One Sided Love - One Sided Thoughts 2",'18/00'],

    ["17 - One Sided Love - One Sided Thoughts 1",'17/00'],

    ["16 - Chain - The Bounded Ones 6",'16/01'],

    ["15 - Chain - The Bounded Ones 5",'15/01'],

    ["14 - Chain - The Bounded Ones 4",'14/01'],

    ["13 - Chain - The Bounded Ones 3",'13/00'],

    ["12 - Chain - The Bounded Ones 2",'12/00'],

    ["11 - Chain - The Bounded Ones 1",'11/01'],

    ["10 - Inner Heart - Darkness of the Heart 4",'10/01'],

    ["9 - Inner Heart - The Darkness of the Heart 3",'9/01'],

    ["8 - Inner Heart - The Darkness of the Heart 2",'8/01'],

    ["7 - Inner Heart - The Darkness of the Heart 1",'7/01'],

    ["6 - Lotis Master 6",'6/00'],

    ["5 - Lotis Master 5",'5/01-02'],

    ["4 - Lotis Master 4",'4/01'],

    ["3 - Lotis Master 3",'3/01'],

    ["2 - Lotis Master 2",'2/00'],

    ["1 - Lotis Master 1",'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]);
    }
}
