var chap_array = new Array(
    ["9 - The Vatican's Demon",'9'],

    ["8 - Ruler",'8'],

    ["7 - The Opposite Bank II",'7'],

    ["6 - The Opposite Bank",'6'],

    ["5 - Ripe Fruit",'5'],

    ["4 - Premonition of a Storm",'4'],

    ["3 - Scoundrel",'3'],

    ["2 - Wild Horse",'2'],

    ["1 - Wind of Pisa",'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]);
    }
}
