var chap_array = new Array(
    ["Extra 1 - Beginning of the Dead",'20.5/01'],

    ["20 - Blood and Dead",'20/01'],

    ["19 - Flags of the Dead",'19/01'],

    ["18 - Legend of Dead",'18/01'],

    ["17 - The Sword and Dead",'17/01'],

    ["16 - The Girl Next Dead",'16/01'],

    ["15 - All Deads Attack",'15/01'],

    ["14 - Dead Storm Rising",'14/00'],

    ["13 - Guns N'DEAD's",'13/01'],

    ["12 - The Sum of all Dead's",'12/01'],

    ["11 - The Dead's House Rules",'11/01'],

    ["10 - Father knows Dead",'10/01'],

    ["9 - The Dead way home",'9/01'],

    ["8 - Alice in Dead land",'8/00'],

    ["7 - Dead night and the Dead ruck",'7/01'],

    ["6 - In the Dead of the night",'6/01'],

    ["5 - Streets of the Dead",'5/01'],

    ["4 - Running in the Dead",'4/00'],

    ["3 - Democracy under the Dead",'3/01'],

    ["2 - Escape of the Dead",'2/01'],

    ["1 - Spring of the Dead",'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]);
    }
}
