function setFontOptions(fontSelectId, fontFamilyId, excludeRuled) {
    fontSelect = document.getElementById(fontSelectId);
    for (i = fontSelect.options.length; i >= 0; i--) {
        fontSelect.options[i] = null;
    }
    switch(fontFamilyId) {
    case "2":
        var index=0;
        option0 = new Option('Comic Sans MS', '1', false, false);
        fontSelect.options[index++] = option0;
        option1 = new Option('Comic Sans MS - Bold', '2', false, false);
        fontSelect.options[index++] = option1;
        break;
    case "1":
        var index=0;
        option0 = new Option('Courier', '3', false, false);
        fontSelect.options[index++] = option0;
        option1 = new Option('Courier - Bold', '4', false, false);
        fontSelect.options[index++] = option1;
        option2 = new Option('Courier - Bold Italic', '6', false, false);
        fontSelect.options[index++] = option2;
        option3 = new Option('Courier - Italic', '5', false, false);
        fontSelect.options[index++] = option3;
        break;
    case "20":
        var index=0;
        option0 = new Option('EFI AB Cursive', '168', false, false);
        fontSelect.options[index++] = option0;
        option1 = new Option('EFI AB Cursive Bold', '163', false, false);
        fontSelect.options[index++] = option1;
        option2 = new Option('EFI AB Cursive Dots', '165', false, false);
        fontSelect.options[index++] = option2;
        if (excludeRuled === false) {
            option3 = new Option('EFI AB Cursive Dots with Rules', '164', false, false);
            fontSelect.options[index++] = option3;
        }
        option4 = new Option('EFI AB Cursive Outlines', '167', false, false);
        fontSelect.options[index++] = option4;
        if (excludeRuled === false) {
            option5 = new Option('EFI AB Cursive Outlines with Rules', '166', false, false);
            fontSelect.options[index++] = option5;
        }
        option6 = new Option('EFI AB Cursive with Arrows', '162', false, false);
        fontSelect.options[index++] = option6;
        if (excludeRuled === false) {
            option7 = new Option('EFI AB Cursive with Arrows and Rules', '161', false, false);
            fontSelect.options[index++] = option7;
        }
        if (excludeRuled === false) {
            option8 = new Option('EFI AB Cursive with Rules', '169', false, false);
            fontSelect.options[index++] = option8;
        }
        break;
    case "19":
        var index=0;
        option0 = new Option('EFI AB Manuscript', '177', false, false);
        fontSelect.options[index++] = option0;
        option1 = new Option('EFI AB Manuscript Bold', '172', false, false);
        fontSelect.options[index++] = option1;
        option2 = new Option('EFI AB Manuscript Dots', '176', false, false);
        fontSelect.options[index++] = option2;
        option3 = new Option('EFI AB Manuscript Dots with Arrows', '174', false, false);
        fontSelect.options[index++] = option3;
        if (excludeRuled === false) {
            option4 = new Option('EFI AB Manuscript Dots with Arrows and Rules', '173', false, false);
            fontSelect.options[index++] = option4;
        }
        if (excludeRuled === false) {
            option5 = new Option('EFI AB Manuscript Dots with Rules', '175', false, false);
            fontSelect.options[index++] = option5;
        }
        option6 = new Option('EFI AB Manuscript Outlines', '181', false, false);
        fontSelect.options[index++] = option6;
        option7 = new Option('EFI AB Manuscript Outlines with Arrows', '179', false, false);
        fontSelect.options[index++] = option7;
        if (excludeRuled === false) {
            option8 = new Option('EFI AB Manuscript Outlines with Arrows and Rules', '178', false, false);
            fontSelect.options[index++] = option8;
        }
        if (excludeRuled === false) {
            option9 = new Option('EFI AB Manuscript Outlines with Rules', '180', false, false);
            fontSelect.options[index++] = option9;
        }
        option10 = new Option('EFI AB Manuscript with Arrows', '171', false, false);
        fontSelect.options[index++] = option10;
        if (excludeRuled === false) {
            option11 = new Option('EFI AB Manuscript with Arrows and Rules', '170', false, false);
            fontSelect.options[index++] = option11;
        }
        if (excludeRuled === false) {
            option12 = new Option('EFI AB Manuscript with Rules', '182', false, false);
            fontSelect.options[index++] = option12;
        }
        break;
    case "7":
        var index=0;
        option0 = new Option('EFI DN Cursive', '44', false, false);
        fontSelect.options[index++] = option0;
        option1 = new Option('EFI DN Cursive Arrows', '38', false, false);
        fontSelect.options[index++] = option1;
        if (excludeRuled === false) {
            option2 = new Option('EFI DN Cursive Arrows with Rules', '37', false, false);
            fontSelect.options[index++] = option2;
        }
        option3 = new Option('EFI DN Cursive Bold', '39', false, false);
        fontSelect.options[index++] = option3;
        option4 = new Option('EFI DN Cursive Dots', '41', false, false);
        fontSelect.options[index++] = option4;
        if (excludeRuled === false) {
            option5 = new Option('EFI DN Cursive Dots with Rules', '40', false, false);
            fontSelect.options[index++] = option5;
        }
        option6 = new Option('EFI DN Cursive Outlines', '43', false, false);
        fontSelect.options[index++] = option6;
        if (excludeRuled === false) {
            option7 = new Option('EFI DN Cursive Outlines with Rules', '42', false, false);
            fontSelect.options[index++] = option7;
        }
        if (excludeRuled === false) {
            option8 = new Option('EFI DN Cursive with Rules', '45', false, false);
            fontSelect.options[index++] = option8;
        }
        break;
    case "8":
        var index=0;
        option0 = new Option('EFI DN Manuscript', '53', false, false);
        fontSelect.options[index++] = option0;
        option1 = new Option('EFI DN Manuscript Arrows', '47', false, false);
        fontSelect.options[index++] = option1;
        if (excludeRuled === false) {
            option2 = new Option('EFI DN Manuscript Arrows with Rules', '46', false, false);
            fontSelect.options[index++] = option2;
        }
        option3 = new Option('EFI DN Manuscript Bold', '48', false, false);
        fontSelect.options[index++] = option3;
        option4 = new Option('EFI DN Manuscript Dot Boxes', '100', false, false);
        fontSelect.options[index++] = option4;
        option5 = new Option('EFI DN Manuscript Dots', '52', false, false);
        fontSelect.options[index++] = option5;
        option6 = new Option('EFI DN Manuscript Dots and Arrows', '50', false, false);
        fontSelect.options[index++] = option6;
        if (excludeRuled === false) {
            option7 = new Option('EFI DN Manuscript Dots and Arrows with Rules', '49', false, false);
            fontSelect.options[index++] = option7;
        }
        if (excludeRuled === false) {
            option8 = new Option('EFI DN Manuscript Dots with Rules', '51', false, false);
            fontSelect.options[index++] = option8;
        }
        option9 = new Option('EFI DN Manuscript Outlines', '57', false, false);
        fontSelect.options[index++] = option9;
        option10 = new Option('EFI DN Manuscript Outlines and Arrows', '55', false, false);
        fontSelect.options[index++] = option10;
        if (excludeRuled === false) {
            option11 = new Option('EFI DN Manuscript Outlines and Arrows with Rules', '54', false, false);
            fontSelect.options[index++] = option11;
        }
        if (excludeRuled === false) {
            option12 = new Option('EFI DN Manuscript Outlines with Rules', '56', false, false);
            fontSelect.options[index++] = option12;
        }
        if (excludeRuled === false) {
            option13 = new Option('EFI DN Manuscript Starting Dots', '99', false, false);
            fontSelect.options[index++] = option13;
        }
        if (excludeRuled === false) {
            option14 = new Option('EFI DN Manuscript with Rules', '58', false, false);
            fontSelect.options[index++] = option14;
        }
        break;
    case "9":
        var index=0;
        option0 = new Option('EFI HWT Cursive', '71', false, false);
        fontSelect.options[index++] = option0;
        if (excludeRuled === false) {
            option1 = new Option('EFI HWT Cursive Arrows with 2 Rules', '60', false, false);
            fontSelect.options[index++] = option1;
        }
        if (excludeRuled === false) {
            option2 = new Option('EFI HWT Cursive Arrows with 3 Rules', '59', false, false);
            fontSelect.options[index++] = option2;
        }
        option3 = new Option('EFI HWT Cursive Bold', '61', false, false);
        fontSelect.options[index++] = option3;
        option4 = new Option('EFI HWT Cursive Light', '62', false, false);
        fontSelect.options[index++] = option4;
        option5 = new Option('EFI HWT Cursive Narrow', '70', false, false);
        fontSelect.options[index++] = option5;
        option6 = new Option('EFI HWT Cursive Narrow Bold', '67', false, false);
        fontSelect.options[index++] = option6;
        if (excludeRuled === false) {
            option7 = new Option('EFI HWT Cursive Narrow with 2 Rules', '69', false, false);
            fontSelect.options[index++] = option7;
        }
        if (excludeRuled === false) {
            option8 = new Option('EFI HWT Cursive Narrow with 3 Rules', '68', false, false);
            fontSelect.options[index++] = option8;
        }
        if (excludeRuled === false) {
            option9 = new Option('EFI HWT Cursive Outlines with 2 Rules', '64', false, false);
            fontSelect.options[index++] = option9;
        }
        if (excludeRuled === false) {
            option10 = new Option('EFI HWT Cursive Outlines with 3 Rules', '63', false, false);
            fontSelect.options[index++] = option10;
        }
        if (excludeRuled === false) {
            option11 = new Option('EFI HWT Cursive with 2 Rules', '66', false, false);
            fontSelect.options[index++] = option11;
        }
        if (excludeRuled === false) {
            option12 = new Option('EFI HWT Cursive with 3 Rules', '65', false, false);
            fontSelect.options[index++] = option12;
        }
        break;
    case "10":
        var index=0;
        option0 = new Option('EFI HWT Manuscript', '72', false, false);
        fontSelect.options[index++] = option0;
        option1 = new Option('EFI HWT Manuscript Arrows', '75', false, false);
        fontSelect.options[index++] = option1;
        if (excludeRuled === false) {
            option2 = new Option('EFI HWT Manuscript Arrows with 2 Rules', '74', false, false);
            fontSelect.options[index++] = option2;
        }
        if (excludeRuled === false) {
            option3 = new Option('EFI HWT Manuscript Arrows with 3 Rules', '73', false, false);
            fontSelect.options[index++] = option3;
        }
        option4 = new Option('EFI HWT Manuscript Bold', '78', false, false);
        fontSelect.options[index++] = option4;
        if (excludeRuled === false) {
            option5 = new Option('EFI HWT Manuscript Boxed Caps with 2 Rules', '77', false, false);
            fontSelect.options[index++] = option5;
        }
        if (excludeRuled === false) {
            option6 = new Option('EFI HWT Manuscript Boxed Caps with 3 Rules', '76', false, false);
            fontSelect.options[index++] = option6;
        }
        option7 = new Option('EFI HWT Manuscript Dots', '86', false, false);
        fontSelect.options[index++] = option7;
        option8 = new Option('EFI HWT Manuscript Dots and Arrows', '81', false, false);
        fontSelect.options[index++] = option8;
        if (excludeRuled === false) {
            option9 = new Option('EFI HWT Manuscript Dots and Arrows with 2 Rules', '80', false, false);
            fontSelect.options[index++] = option9;
        }
        if (excludeRuled === false) {
            option10 = new Option('EFI HWT Manuscript Dots and Arrows with 3 Rules', '79', false, false);
            fontSelect.options[index++] = option10;
        }
        if (excludeRuled === false) {
            option11 = new Option('EFI HWT Manuscript Dots and Boxes with 2 Rules', '83', false, false);
            fontSelect.options[index++] = option11;
        }
        if (excludeRuled === false) {
            option12 = new Option('EFI HWT Manuscript Dots and Boxes with 3 Rules', '82', false, false);
            fontSelect.options[index++] = option12;
        }
        if (excludeRuled === false) {
            option13 = new Option('EFI HWT Manuscript Dots with 2 Rules', '85', false, false);
            fontSelect.options[index++] = option13;
        }
        if (excludeRuled === false) {
            option14 = new Option('EFI HWT Manuscript Dots with 3 Rules', '84', false, false);
            fontSelect.options[index++] = option14;
        }
        option15 = new Option('EFI HWT Manuscript Outlines', '92', false, false);
        fontSelect.options[index++] = option15;
        option16 = new Option('EFI HWT Manuscript Outlines and Arrows', '89', false, false);
        fontSelect.options[index++] = option16;
        if (excludeRuled === false) {
            option17 = new Option('EFI HWT Manuscript Outlines and Arrows with 2 Rules', '88', false, false);
            fontSelect.options[index++] = option17;
        }
        if (excludeRuled === false) {
            option18 = new Option('EFI HWT Manuscript Outlines and Arrows with 3 Rules', '87', false, false);
            fontSelect.options[index++] = option18;
        }
        if (excludeRuled === false) {
            option19 = new Option('EFI HWT Manuscript Outlines with 2 Rules', '91', false, false);
            fontSelect.options[index++] = option19;
        }
        if (excludeRuled === false) {
            option20 = new Option('EFI HWT Manuscript Outlines with 3 Rules', '90', false, false);
            fontSelect.options[index++] = option20;
        }
        if (excludeRuled === false) {
            option21 = new Option('EFI HWT Manuscript Starting Dots with 2 Rules', '96', false, false);
            fontSelect.options[index++] = option21;
        }
        if (excludeRuled === false) {
            option22 = new Option('EFI HWT Manuscript Starting Dots with 3 Rules', '95', false, false);
            fontSelect.options[index++] = option22;
        }
        if (excludeRuled === false) {
            option23 = new Option('EFI HWT Manuscript with 2 Rules', '94', false, false);
            fontSelect.options[index++] = option23;
        }
        if (excludeRuled === false) {
            option24 = new Option('EFI HWT Manuscript with 3 Rules', '93', false, false);
            fontSelect.options[index++] = option24;
        }
        break;
    case "18":
        var index=0;
        option0 = new Option('EFI LG Cursive', '159', false, false);
        fontSelect.options[index++] = option0;
        option1 = new Option('EFI LG Cursive Bold', '154', false, false);
        fontSelect.options[index++] = option1;
        option2 = new Option('EFI LG Cursive Dots', '156', false, false);
        fontSelect.options[index++] = option2;
        if (excludeRuled === false) {
            option3 = new Option('EFI LG Cursive Dots with Rules', '155', false, false);
            fontSelect.options[index++] = option3;
        }
        option4 = new Option('EFI LG Cursive Outlines', '158', false, false);
        fontSelect.options[index++] = option4;
        if (excludeRuled === false) {
            option5 = new Option('EFI LG Cursive Outlines with Rules', '157', false, false);
            fontSelect.options[index++] = option5;
        }
        option6 = new Option('EFI LG Cursive with Arrows', '153', false, false);
        fontSelect.options[index++] = option6;
        if (excludeRuled === false) {
            option7 = new Option('EFI LG Cursive with Arrows and Rules', '152', false, false);
            fontSelect.options[index++] = option7;
        }
        if (excludeRuled === false) {
            option8 = new Option('EFI LG Cursive with Rules', '160', false, false);
            fontSelect.options[index++] = option8;
        }
        break;
    case "11":
        var index=0;
        option0 = new Option('EFI QBA Manuscript', '105', false, false);
        fontSelect.options[index++] = option0;
        if (excludeRuled === false) {
            option1 = new Option('EFI QBA Manuscript 2 Rules', '101', false, false);
            fontSelect.options[index++] = option1;
        }
        if (excludeRuled === false) {
            option2 = new Option('EFI QBA Manuscript 3 Rules', '102', false, false);
            fontSelect.options[index++] = option2;
        }
        option3 = new Option('EFI QBA Manuscript Arrows', '106', false, false);
        fontSelect.options[index++] = option3;
        if (excludeRuled === false) {
            option4 = new Option('EFI QBA Manuscript Arrows 2 Rules', '103', false, false);
            fontSelect.options[index++] = option4;
        }
        if (excludeRuled === false) {
            option5 = new Option('EFI QBA Manuscript Arrows 3 Rules', '104', false, false);
            fontSelect.options[index++] = option5;
        }
        option6 = new Option('EFI QBA Manuscript Bold', '107', false, false);
        fontSelect.options[index++] = option6;
        option7 = new Option('EFI QBA Manuscript Outlines', '113', false, false);
        fontSelect.options[index++] = option7;
        if (excludeRuled === false) {
            option8 = new Option('EFI QBA Manuscript Outlines 2 Rules', '108', false, false);
            fontSelect.options[index++] = option8;
        }
        if (excludeRuled === false) {
            option9 = new Option('EFI QBA Manuscript Outlines 3 Rules', '109', false, false);
            fontSelect.options[index++] = option9;
        }
        option10 = new Option('EFI QBA Manuscript Outlines Arrows', '112', false, false);
        fontSelect.options[index++] = option10;
        if (excludeRuled === false) {
            option11 = new Option('EFI QBA Manuscript Outlines Arrows 2 Rules', '110', false, false);
            fontSelect.options[index++] = option11;
        }
        if (excludeRuled === false) {
            option12 = new Option('EFI QBA Manuscript Outlines Arrows 3 Rules', '111', false, false);
            fontSelect.options[index++] = option12;
        }
        break;
    case "16":
        var index=0;
        option0 = new Option('EFI QCG Book Cursive', '116', false, false);
        fontSelect.options[index++] = option0;
        if (excludeRuled === false) {
            option1 = new Option('EFI QCG Book Cursive 2 Rules', '114', false, false);
            fontSelect.options[index++] = option1;
        }
        if (excludeRuled === false) {
            option2 = new Option('EFI QCG Book Cursive 3 Rules', '115', false, false);
            fontSelect.options[index++] = option2;
        }
        break;
    case "17":
        var index=0;
        option0 = new Option('EFI QCG Max Cursive', '119', false, false);
        fontSelect.options[index++] = option0;
        if (excludeRuled === false) {
            option1 = new Option('EFI QCG Max Cursive 2 Rules', '117', false, false);
            fontSelect.options[index++] = option1;
        }
        if (excludeRuled === false) {
            option2 = new Option('EFI QCG Max Cursive 3 Rules', '118', false, false);
            fontSelect.options[index++] = option2;
        }
        break;
    case "12":
        var index=0;
        option0 = new Option('EFI QMC Book Cursive', '132', false, false);
        fontSelect.options[index++] = option0;
        if (excludeRuled === false) {
            option1 = new Option('EFI QMC Book Cursive 2 Rules', '120', false, false);
            fontSelect.options[index++] = option1;
        }
        if (excludeRuled === false) {
            option2 = new Option('EFI QMC Book Cursive 3 Rules', '121', false, false);
            fontSelect.options[index++] = option2;
        }
        option3 = new Option('EFI QMC Book Cursive Arrows', '124', false, false);
        fontSelect.options[index++] = option3;
        if (excludeRuled === false) {
            option4 = new Option('EFI QMC Book Cursive Arrows 2 Rules', '122', false, false);
            fontSelect.options[index++] = option4;
        }
        if (excludeRuled === false) {
            option5 = new Option('EFI QMC Book Cursive Arrows 3 Rules', '123', false, false);
            fontSelect.options[index++] = option5;
        }
        option6 = new Option('EFI QMC Book Cursive Bold', '125', false, false);
        fontSelect.options[index++] = option6;
        option7 = new Option('EFI QMC Book Cursive Outlines', '131', false, false);
        fontSelect.options[index++] = option7;
        if (excludeRuled === false) {
            option8 = new Option('EFI QMC Book Cursive Outlines 2 Rules', '126', false, false);
            fontSelect.options[index++] = option8;
        }
        if (excludeRuled === false) {
            option9 = new Option('EFI QMC Book Cursive Outlines 3 Rules', '127', false, false);
            fontSelect.options[index++] = option9;
        }
        option10 = new Option('EFI QMC Book Cursive Outlines Arrows', '130', false, false);
        fontSelect.options[index++] = option10;
        if (excludeRuled === false) {
            option11 = new Option('EFI QMC Book Cursive Outlines Arrows 2 Rules', '128', false, false);
            fontSelect.options[index++] = option11;
        }
        if (excludeRuled === false) {
            option12 = new Option('EFI QMC Book Cursive Outlines Arrows 3 Rules', '129', false, false);
            fontSelect.options[index++] = option12;
        }
        break;
    case "13":
        var index=0;
        option0 = new Option('EFI QMC Max Cursive', '145', false, false);
        fontSelect.options[index++] = option0;
        if (excludeRuled === false) {
            option1 = new Option('EFI QMC Max Cursive 2 Rules', '133', false, false);
            fontSelect.options[index++] = option1;
        }
        if (excludeRuled === false) {
            option2 = new Option('EFI QMC Max Cursive 3 Rules', '134', false, false);
            fontSelect.options[index++] = option2;
        }
        option3 = new Option('EFI QMC Max Cursive Arrows', '137', false, false);
        fontSelect.options[index++] = option3;
        if (excludeRuled === false) {
            option4 = new Option('EFI QMC Max Cursive Arrows 2 Rules', '135', false, false);
            fontSelect.options[index++] = option4;
        }
        if (excludeRuled === false) {
            option5 = new Option('EFI QMC Max Cursive Arrows 3 Rules', '136', false, false);
            fontSelect.options[index++] = option5;
        }
        option6 = new Option('EFI QMC Max Cursive Bold', '138', false, false);
        fontSelect.options[index++] = option6;
        option7 = new Option('EFI QMC Max Cursive Outlines', '144', false, false);
        fontSelect.options[index++] = option7;
        if (excludeRuled === false) {
            option8 = new Option('EFI QMC Max Cursive Outlines 2 Rules', '139', false, false);
            fontSelect.options[index++] = option8;
        }
        if (excludeRuled === false) {
            option9 = new Option('EFI QMC Max Cursive Outlines 3 Rules', '140', false, false);
            fontSelect.options[index++] = option9;
        }
        option10 = new Option('EFI QMC Max Cursive Outlines Arrows', '143', false, false);
        fontSelect.options[index++] = option10;
        if (excludeRuled === false) {
            option11 = new Option('EFI QMC Max Cursive Outlines Arrows 2 Rules', '141', false, false);
            fontSelect.options[index++] = option11;
        }
        if (excludeRuled === false) {
            option12 = new Option('EFI QMC Max Cursive Outlines Arrows 3 Rules', '142', false, false);
            fontSelect.options[index++] = option12;
        }
        break;
    case "14":
        var index=0;
        option0 = new Option('EFI QMF Book Cursive', '148', false, false);
        fontSelect.options[index++] = option0;
        if (excludeRuled === false) {
            option1 = new Option('EFI QMF Book Cursive 2 Rules', '146', false, false);
            fontSelect.options[index++] = option1;
        }
        if (excludeRuled === false) {
            option2 = new Option('EFI QMF Book Cursive 3 Rules', '147', false, false);
            fontSelect.options[index++] = option2;
        }
        break;
    case "15":
        var index=0;
        option0 = new Option('EFI QMF Max Cursive', '151', false, false);
        fontSelect.options[index++] = option0;
        if (excludeRuled === false) {
            option1 = new Option('EFI QMF Max Cursive 2 Rules', '149', false, false);
            fontSelect.options[index++] = option1;
        }
        if (excludeRuled === false) {
            option2 = new Option('EFI QMF Max Cursive 3 Rules', '150', false, false);
            fontSelect.options[index++] = option2;
        }
        break;
    case "5":
        var index=0;
        option0 = new Option('EFI ZB Cursive', '15', false, false);
        fontSelect.options[index++] = option0;
        option1 = new Option('EFI ZB Cursive Arrows', '17', false, false);
        fontSelect.options[index++] = option1;
        if (excludeRuled === false) {
            option2 = new Option('EFI ZB Cursive Arrows with Rules', '16', false, false);
            fontSelect.options[index++] = option2;
        }
        option3 = new Option('EFI ZB Cursive Bold', '18', false, false);
        fontSelect.options[index++] = option3;
        option4 = new Option('EFI ZB Cursive Dots', '20', false, false);
        fontSelect.options[index++] = option4;
        if (excludeRuled === false) {
            option5 = new Option('EFI ZB Cursive Dots with Rules', '19', false, false);
            fontSelect.options[index++] = option5;
        }
        option6 = new Option('EFI ZB Cursive Outlines', '22', false, false);
        fontSelect.options[index++] = option6;
        if (excludeRuled === false) {
            option7 = new Option('EFI ZB Cursive Outlines with Rules', '21', false, false);
            fontSelect.options[index++] = option7;
        }
        if (excludeRuled === false) {
            option8 = new Option('EFI ZB Cursive with Rules', '23', false, false);
            fontSelect.options[index++] = option8;
        }
        break;
    case "6":
        var index=0;
        option0 = new Option('EFI ZB Manuscript', '31', false, false);
        fontSelect.options[index++] = option0;
        option1 = new Option('EFI ZB Manuscript Arrows', '25', false, false);
        fontSelect.options[index++] = option1;
        if (excludeRuled === false) {
            option2 = new Option('EFI ZB Manuscript Arrows with Rules', '24', false, false);
            fontSelect.options[index++] = option2;
        }
        option3 = new Option('EFI ZB Manuscript Bold', '26', false, false);
        fontSelect.options[index++] = option3;
        option4 = new Option('EFI ZB Manuscript Dot Boxes', '98', false, false);
        fontSelect.options[index++] = option4;
        option5 = new Option('EFI ZB Manuscript Dots', '30', false, false);
        fontSelect.options[index++] = option5;
        option6 = new Option('EFI ZB Manuscript Dots and Arrows', '28', false, false);
        fontSelect.options[index++] = option6;
        if (excludeRuled === false) {
            option7 = new Option('EFI ZB Manuscript Dots and Arrows with Rules', '27', false, false);
            fontSelect.options[index++] = option7;
        }
        if (excludeRuled === false) {
            option8 = new Option('EFI ZB Manuscript Dots with Rules', '29', false, false);
            fontSelect.options[index++] = option8;
        }
        option9 = new Option('EFI ZB Manuscript Outlines', '35', false, false);
        fontSelect.options[index++] = option9;
        option10 = new Option('EFI ZB Manuscript Outlines and Arrows', '33', false, false);
        fontSelect.options[index++] = option10;
        if (excludeRuled === false) {
            option11 = new Option('EFI ZB Manuscript Outlines and Arrows with Rules', '32', false, false);
            fontSelect.options[index++] = option11;
        }
        if (excludeRuled === false) {
            option12 = new Option('EFI ZB Manuscript Outlines with Rules', '34', false, false);
            fontSelect.options[index++] = option12;
        }
        if (excludeRuled === false) {
            option13 = new Option('EFI ZB Manuscript Starting Dots', '97', false, false);
            fontSelect.options[index++] = option13;
        }
        if (excludeRuled === false) {
            option14 = new Option('EFI ZB Manuscript with Rules', '36', false, false);
            fontSelect.options[index++] = option14;
        }
        break;
    case "4":
        var index=0;
        option0 = new Option('Helvetica', '7', false, false);
        fontSelect.options[index++] = option0;
        option1 = new Option('Helvetica - Bold', '8', false, false);
        fontSelect.options[index++] = option1;
        option2 = new Option('Helvetica - Bold Italic', '10', false, false);
        fontSelect.options[index++] = option2;
        option3 = new Option('Helvetica - Italic', '9', false, false);
        fontSelect.options[index++] = option3;
        break;
    case "3":
        var index=0;
        option0 = new Option('Times Roman', '11', false, false);
        fontSelect.options[index++] = option0;
        option1 = new Option('Times Roman - Bold', '12', false, false);
        fontSelect.options[index++] = option1;
        option2 = new Option('Times Roman - Bold Italic', '14', false, false);
        fontSelect.options[index++] = option2;
        option3 = new Option('Times Roman - Italic', '13', false, false);
        fontSelect.options[index++] = option3;
        break;
    default:
        break;
    }
}

function setBoxFontOptions(boxFontSelectId, fontFamilyId) {
    boxFontSelect = document.getElementById(boxFontSelectId);
    for (i = boxFontSelect.options.length; i >= 0; i--) {
        boxFontSelect.options[i] = null;
    }
    switch(fontFamilyId) {
    case "6":
        var index=0;
        option0 = new Option('EFI ZB Manuscript Dot Boxes', '98', false, false);
        boxFontSelect.options[index++] = option0;
        break;
    case "8":
        var index=0;
        option0 = new Option('EFI DN Manuscript Dot Boxes', '100', false, false);
        boxFontSelect.options[index++] = option0;
        break;
    case "10":
        var index=0;
        option0 = new Option('EFI HWT Manuscript Dots and Boxes with 2 Rules', '83', false, false);
        boxFontSelect.options[index++] = option0;
        option1 = new Option('EFI HWT Manuscript Dots and Boxes with 3 Rules', '82', false, false);
        boxFontSelect.options[index++] = option1;
        break;
    default:
        break;
    }
}

