var chap_array = new Array(
    ["21 - Uneasy Lies the Head that Wears the Crown",'21/01'],

    ["20 - The Devil's Children",'20/01'],

    ["19 - Silent Men are Deep and Dangerous",'19/01'],

    ["18 - Rules are Made to be Broken",'18/01'],

    ["17 - Question",'17/01'],

    ["16 - Power of the Little",'16/01'],

    ["15 - Once a Chicken, Always a Chicken",'15/00-cover'],

    ["14 - Nobody Knows",'14/01'],

    ["13 - Maybe Blue",'13/01'],

    ["12 - Little Wings Fly High",'12/01'],

    ["11 - Know Your Enemy As Well As Yourself",'11/01'],

    ["10 - Jam Tomorrow",'10/01'],

    ["9 - I Was Not Born Yesterday",'9/01'],

    ["8 - Hunger is the Best",'8/01'],

    ["7 - Give the Devil his Due",'7/01'],

    ["6 - Funky Monkey Baby",'6/00'],

    ["5 - Every Dog can be a Lion",'5/01'],

    ["4 - Don't Cry Before You Are Hurt",'4/01'],

    ["3 - Cross the Rubicon",'3/01'],

    ["2 - Boy Meets Bicycle",'2/01'],

    ["1 - Allez! Shinozaki!",'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]);
    }
}
