var chap_array = new Array(
    ["82",'82/01'],

    ["81 - A Promise of Long Ago",'81/01'],

    ["80 - 7 Years Time",'80/01'],

    ["79 - Truths in the East",'79/01'],

    ["78 - The Rebellious Warriors",'78/00'],

    ["77 - Addiction",'77/01'],

    ["76 - Beyond All Expectations",'76/01'],

    ["75 - Red Rain",'75/01'],

    ["74 - One Woman's Prayer",'74/01'],

    ["Extra Scene 4 - An Iron Resolve",'73.4/01'],

    ["Extra Scene 3 - The Encounter in the North",'73.3/01'],

    ["Extra Scene 2 - The Phantom and The Evil Warrior",'73.2/01'],

    ["Extra Scene 1 - A Warrior's Pride",'73.1/01'],

    ["73 - The Childish Dagger",'73/01'],

    ["72",'72/01'],

    ["71",'71/01'],

    ["70 - The Deceptive Enchantress",'70/01'],

    ["69 - The Defiant Ones 2",'69/01'],

    ["68 - The Defiant Ones 1",'68/01'],

    ["67 - Joined by Souls 3",'67/01'],

    ["66 - Joined by Souls 2",'66/01'],

    ["65 - Joined by Souls 1",'65/01'],

    ["64 - Cognates of Paradise 3",'64/01'],

    ["63 - Cognates of Paradise 2",'63/01'],

    ["62 - Cognates of Paradise 1",'62/01'],

    ["61 - The Invasion of Pieta 5",'61/01'],

    ["60 - The Invasion of Pieta 4",'60/01'],

    ["59 - The Invasion of Pieta 3",'59/01'],

    ["58 - The Invasion of Pieta 2",'58/01'],

    ["57 - The Invasion of Pieta 1",'57/01'],

    ["56 - The War in the North 7",'56/01'],

    ["55 - The War in the North 6",'55/01'],

    ["54 - The War in the North 5",'54/01'],

    ["53 - The War in the North 4",'53/01'],

    ["52 - The War in the North 3",'52/01'],

    ["51 - The War in the North 2",'51/01'],

    ["50 - The War in the North 1",'50/01'],

    ["49 - Purgatory of the Deepest Depths 4",'49/01'],

    ["48 - Purgatory of the Deepest Depths 3",'48/01'],

    ["47 - Purgatory of the Deepest Depths 2",'47/01'],

    ["46 - Purgatory of the Deepest Depths 1",'46/01'],

    ["45 - The Witch's Maw 5",'45/01'],

    ["44 - The Witch's Maw 4",'44/01'],

    ["43 - The Witch's Maw 3",'43/01'],

    ["42 - The Witch's Maw 2",'42/01'],

    ["41 - The Witch's Maw 1",'41/01'],

    ["40 - Fit for Battle 4",'40/01'],

    ["39 - Fit for Battle 3",'39/01'],

    ["38 - Fit for Battle 2",'38/01'],

    ["37 - Fit for Battle 1",'37/01'],

    ["36 - Endless Gravestones 6",'36/01'],

    ["35 - Endless Gravestones 5",'35/01'],

    ["34 - Endless Gravestones 4",'34/00'],

    ["33 - Endless Gravestones 3",'33/01'],

    ["32 - Endless Gravestones 2",'32/01'],

    ["31 - Endless Gravestones 1",'31/01'],

    ["30 - The Slashers 6",'30/01'],

    ["29 - The Slashers 5",'29/01'],

    ["28 - The Slashers 4",'28/00'],

    ["27 - The Slashers 3",'27/01'],

    ["26 - The Slashers 2",'26/01'],

    ["25 - The Slashers 1",'25/01'],

    ["24 - Marked for Death 7",'24/01'],

    ["23 - Marked for Death 6",'23/01'],

    ["22 - Marked for Death 5",'22/00'],

    ["21 - Marked for Death 4",'21/01'],

    ["20 - Marked for Death 3",'20/01'],

    ["19 - Marked for Death 2",'19/01'],

    ["18 - Marked for Death 1",'18/01'],

    ["17 - Teresa of the Faint Smile 6",'17/01'],

    ["16 - Teresa of the Faint Smile 5",'16/00'],

    ["15 - Teresa of the Faint Smile 4",'15/01'],

    ["14 - Teresa of the Faint Smile 3",'14/01'],

    ["13 - Teresa of the Faint Smile 2",'13/01'],

    ["12 - Teresa of the Faint Smile 1",'12/01'],

    ["11 - Darkness in Paradise 7",'11/01'],

    ["10 - Darkness in Paradise 6",'10/00'],

    ["9 - Darkness in Paradise 5",'9/01'],

    ["8 - Darkness in Paradise 4",'8/01'],

    ["7 - Darkness in Paradise 3",'7/01'],

    ["6 - Darkness in Paradise 2",'6/01'],

    ["5 - Darkness in Paradise 1",'5/00'],

    ["4 - The Black Letter",'4/01'],

    ["3 - Witch's Memory",'3/01'],

    ["2 - The Claw from the Sky",'2/01'],

    ["1 - The Silver-eyed Killer",'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]);
    }
}
