function print_calcResult()
{
    var DOC = '';
    var nDispLic = 1; 

    DOC +=
        '<html>';
    DOC +=
        '<head>' +
        '<meta http-equiv="Content-Style-Type" content="text/css" />' +
        '<link type="text/css" href="style.css" rel="stylesheet" />' +
        '<title>' +
            s_print_title +
        '</title>' +
        '</head>';

    DOC +=
        '<style type="text/css">' +
            'TD { font-size: 9pt; }' +
        '</style>';

    DOC +=
        '<body bgcolor="#FFFFFF">';

    var now = new Date();
    DOC +=
        now.toLocaleString() + '<br />';
    DOC +=
        app_name + '<br />';
    DOC +=
        app_ver + '<br />';

    if ((VbrJa != false) || (VbrJa != true && app_dst != 'ja')) {
        DOC +=
            '<table style="width: 100%;" border="0">';

        DOC +=
            '<tr>' +
            '<td colspan="8" class="sInputMainMenuStyle">' +
            s_tblheader_reccondition +
            '</td>' +
            '</tr>';

        DOC +=
            '<tr class="sInputSubMenuStyle">' +
            '<td class="sCamCompVbrTdWidth">' +
            s_tblheader_compkind_h264vbr +
            '</td>' +
            '<td class="sCamNumberVbrTdWidth">' +
            s_tblheader_camnum_h264vbr +
            '</td>' +
            '<td class="sCamModelVbrTdWidth">' +
            s_tblheader_cammodel_h264vbr +
            '</td>' +
            '<td class="sCamResolutionVbrTdWidth">' +
            s_tblheader_quality_h264vbr +
            '</td>' +
            '<td class="sCamQualityVbrTdWidth">' +
            s_tblheader_quality_h264vbr +
            '</td>' +
            '<td class="sCamFpsVbrTdWidth">' +
            s_tblheader_fps_h264vbr +
            '</td>' +
            '<td class="sCamSceneVbrTdWidth">' +
            s_tblheader_scene_h264vbr +
            '</td>' +
            '<td class="sCamBitrateVbrTdWidth">' +
            s_tblheader_bitrate_h264vbr +
            '</td>' +
            '</tr>';
        var model = frmNWDR.selModelH265Vbr_1.options[
            frmNWDR.selModelH265Vbr_1.selectedIndex
            ].text;
        DOC +=
            '<tr>' +
            '<td rowspan="3" class="sInputSubMenuStyle">' +
            s_compkind_h265vbr +
            '</td>' +
            '<td class="sInputParamTextAlignLeft">' +
            gCamNumberUI[H265VBR_1] +
            '</td>' +
            '<td class="sInputParamTextAlignCenter">' +
            frmNWDR.selModelH265Vbr_1.options[
                frmNWDR.selModelH265Vbr_1.selectedIndex
                ].text +
            '</td>' +
            '<td class="sInputParamTextAlignCenter">' +
            frmNWDR.selResoH265Vbr_1.options[
                frmNWDR.selResoH265Vbr_1.selectedIndex
                ].text +
            '</td>' +
            '<td class="sInputParamTextAlignCenter">' +
            frmNWDR.selQualH265Vbr_1.options[
                frmNWDR.selQualH265Vbr_1.selectedIndex
                ].text +
            '</td>' +
            '<td class="sInputParamTextAlignCenter">' +
            frmNWDR.selFpsH265Vbr_1.options[
                frmNWDR.selFpsH265Vbr_1.selectedIndex
                ].text +
            '</td>' +
            '<td class="sInputParamTextAlignLeft sCamSceneVbrTdWidth">' +
            s_scene_location +
            frmNWDR.selSceneLocationH265Vbr_1.options[
                frmNWDR.selSceneLocationH265Vbr_1.selectedIndex
                ].text +
            '<br>';
        DOC +=
            s_scene_gopcontrol +
            frmNWDR.selSceneSmartCodingH265Vbr_1.options[
                frmNWDR.selSceneSmartCodingH265Vbr_1.selectedIndex
                ].text +
            '<br>';
        if ((model == 'U213**/U113**')  || (model == 'B513**/B543**') || (model == 'U613**/U653**') || (model == 'U2***/U1***') || (model == 'S4**6(AI 360-degree)')) { 
            DOC += s_scene_autoviqs;
        }
        else if ((model == 'S854**(Multi-Sensor)') || (model == 'U854**(Multi-Sensor)') || (model == 'S857**(4K Multi-Sensor)') || (model == 'X865**(Multi-Sensor)') || (model == 'S613**/S653**') || (model == 'S615**/S655**') || (model == 'X865**(PTZ)') || (model == 'S2**6/S2**5/S1**6/S1**5') || (model == 'S71***') || (model == 'S25***/S22***/S15***') || (model == 'S854*(AI Multi-Sensor)') || (model == 'S856*/S857*(AI Multi-Sensor)')) {
            DOC += s_scene_smartviqs;
        }
        else {
            DOC += s_scene_smartcodingface;
        }
        DOC += frmNWDR.selSceneSmartCodingFaceH265Vbr_1.options[
                frmNWDR.selSceneSmartCodingFaceH265Vbr_1.selectedIndex
                ].text +
            '<br>';
        DOC +=
            s_scene_illum +
            s_scene_illum_01 +
            ' ' +
            frmNWDR.selSceneIllumNormalH265Vbr_1.options[
                frmNWDR.selSceneIllumNormalH265Vbr_1.selectedIndex
                ].text +
            s_scene_illum_percent +
            '(' +
            txt_s_scene_illum_h265_normal_hour_1.innerText +
            ')' +
            ' / ';
            if (model == s_cammodel_h265vbr_05 || model == s_cammodel_h265vbr_06) {
                DOC +=
                s_scene_motion_ai;
            } else {
                DOC +=
                s_scene_motion;
            }
            DOC +=
            ' ' +
            frmNWDR.selSceneMotionNormalH265Vbr_1.options[
                frmNWDR.selSceneMotionNormalH265Vbr_1.selectedIndex
                ].text +
            s_scene_illum_percent +
            '(' +
            txt_s_scene_motion_h265_normal_hour_1.innerText +
            ')' +
            '<br>' +
            s_scene_illum +
            s_scene_illum_02 +
            ' ' +
            frmNWDR.selSceneIllumLowH265Vbr_1.value +
            s_scene_illum_percent +
            '(' +
            txt_s_scene_illum_h265_low_hour_1.innerText +
            ')' +
            ' / ';
            if (model == s_cammodel_h265vbr_05 || model == s_cammodel_h265vbr_06) {
                DOC +=
                s_scene_motion_ai;
            } else {
                DOC +=
                s_scene_motion;
            }
            DOC +=
            ' ' +
            frmNWDR.selSceneMotionLowH265Vbr_1.options[
                frmNWDR.selSceneMotionLowH265Vbr_1.selectedIndex
                ].text +
            s_scene_illum_percent +
            '(' +
            txt_s_scene_motion_h265_low_hour_1.innerText +
            ')' +
            '</td>' +
            '<td class="sInputParamTextAlignCenter">' +
            s_tblheader_bitrate_h264vbr_max +
            frmNWDR.selMaxKbpsH265Vbr_1.value +
            s_cam_bitrate_kbps +
            '<br>' +
            s_tblheader_bitrate_h264vbr_avg +
            frmNWDR.selAvgKbpsH265Vbr_1.value +
            s_cam_bitrate_kbps +
            '</td>' +
            '</tr>';
        model = frmNWDR.selModelH265Vbr_2.options[
            frmNWDR.selModelH265Vbr_2.selectedIndex
            ].text;
        DOC +=
            '<tr>' +
            '<td class="sInputParamTextAlignLeft">' +
            gCamNumberUI[H265VBR_2] +
            '</td>' +
            '<td class="sInputParamTextAlignCenter">' +
            frmNWDR.selModelH265Vbr_2.options[
                frmNWDR.selModelH265Vbr_2.selectedIndex
                ].text +
            '</td>' +
            '<td class="sInputParamTextAlignCenter">' +
            frmNWDR.selResoH265Vbr_2.options[
                frmNWDR.selResoH265Vbr_2.selectedIndex
                ].text +
            '</td>' +
            '<td class="sInputParamTextAlignCenter">' +
            frmNWDR.selQualH265Vbr_2.options[
                frmNWDR.selQualH265Vbr_2.selectedIndex
                ].text +
            '</td>' +
            '<td class="sInputParamTextAlignCenter">' +
            frmNWDR.selFpsH265Vbr_2.options[
                frmNWDR.selFpsH265Vbr_2.selectedIndex
                ].text +
            '</td>' +
            '<td class="sInputParamTextAlignLeft sCamSceneVbrTdWidth">' +
            s_scene_location +
            frmNWDR.selSceneLocationH265Vbr_2.options[
                frmNWDR.selSceneLocationH265Vbr_2.selectedIndex
                ].text +
            '<br>';

        DOC +=
            s_scene_gopcontrol +
            frmNWDR.selSceneSmartCodingH265Vbr_2.options[
                frmNWDR.selSceneSmartCodingH265Vbr_2.selectedIndex
                ].text +
            '<br>';
        if ((model == 'U213**/U113**') || (model == 'B513**/B543**') || (model == 'U613**/U653**') || (model == 'U2***/U1***') || (model == 'S4**6(AI 360-degree)')) { 
            DOC += s_scene_autoviqs;
        }
        else if ((model == 'S854**(Multi-Sensor)') || (model == 'U854**(Multi-Sensor)') || (model == 'S857**(4K Multi-Sensor)') || (model == 'X865**(Multi-Sensor)') || (model == 'S613**/S653**') || (model == 'S615**/S655**') || (model == 'X865**(PTZ)') || (model == 'S2**6/S2**5/S1**6/S1**5') || (model == 'S71***') || (model == 'S25***/S22***/S15***') || (model == 'S854*(AI Multi-Sensor)') || (model == 'S856*/S857*(AI Multi-Sensor)')) {
            DOC += s_scene_smartviqs;
        }
        else {
            DOC += s_scene_smartcodingface;
        }
        DOC += 
            frmNWDR.selSceneSmartCodingFaceH265Vbr_2.options[
                frmNWDR.selSceneSmartCodingFaceH265Vbr_2.selectedIndex
                ].text +
            '<br>';
        DOC +=
            s_scene_illum +
            s_scene_illum_01 +
            ' ' +
            frmNWDR.selSceneIllumNormalH265Vbr_2.options[
                frmNWDR.selSceneIllumNormalH265Vbr_2.selectedIndex
                ].text +
            s_scene_illum_percent +
            '(' +
            txt_s_scene_illum_h265_normal_hour_2.innerText +
            ')' +
            ' / ';
            if (model == s_cammodel_h265vbr_05 || model == s_cammodel_h265vbr_06) {
                DOC +=
                s_scene_motion_ai;
            } else {
                DOC +=
                s_scene_motion;
            }
            DOC +=
            ' ' +
            frmNWDR.selSceneMotionNormalH265Vbr_2.options[
                frmNWDR.selSceneMotionNormalH265Vbr_2.selectedIndex
                ].text +
            s_scene_illum_percent +
            '(' +
            txt_s_scene_motion_h265_normal_hour_2.innerText +
            ')' +
            '<br>' +
            s_scene_illum +
            s_scene_illum_02 +
            ' ' +
            frmNWDR.selSceneIllumLowH265Vbr_2.value +
            s_scene_illum_percent +
            '(' +
            txt_s_scene_illum_h265_low_hour_2.innerText +
            ')' +
            ' / ';
            if (model == s_cammodel_h265vbr_05 || model == s_cammodel_h265vbr_06) {
                DOC +=
                s_scene_motion_ai;
            } else {
                DOC +=
                s_scene_motion;
            }
            DOC +=
            ' ' +
            frmNWDR.selSceneMotionLowH265Vbr_2.options[
                frmNWDR.selSceneMotionLowH265Vbr_2.selectedIndex
                ].text +
            s_scene_illum_percent +
            '(' +
            txt_s_scene_motion_h265_low_hour_2.innerText +
            ')' +
            '</td>' +
            '<td class="sInputParamTextAlignCenter">' +
            s_tblheader_bitrate_h264vbr_max +
            frmNWDR.selMaxKbpsH265Vbr_2.value +
            s_cam_bitrate_kbps +
            '<br>' +
            s_tblheader_bitrate_h264vbr_avg +
            frmNWDR.selAvgKbpsH265Vbr_2.value +
            s_cam_bitrate_kbps +
            '</td>' +
            '</tr>';
        model = frmNWDR.selModelH265Vbr_3.options[
            frmNWDR.selModelH265Vbr_3.selectedIndex
            ].text;
        DOC +=
            '<tr>' +
            '<td class="sInputParamTextAlignLeft">' +
            gCamNumberUI[H265VBR_3] +
            '</td>' +
            '<td class="sInputParamTextAlignCenter">' +
            frmNWDR.selModelH265Vbr_3.options[
                frmNWDR.selModelH265Vbr_3.selectedIndex
                ].text +
            '</td>' +
            '<td class="sInputParamTextAlignCenter">' +
            frmNWDR.selResoH265Vbr_3.options[
                frmNWDR.selResoH265Vbr_3.selectedIndex
                ].text +
            '</td>' +
            '<td class="sInputParamTextAlignCenter">' +
            frmNWDR.selQualH265Vbr_3.options[
                frmNWDR.selQualH265Vbr_3.selectedIndex
                ].text +
            '</td>' +
            '<td class="sInputParamTextAlignCenter">' +
            frmNWDR.selFpsH265Vbr_3.options[
                frmNWDR.selFpsH265Vbr_3.selectedIndex
                ].text +
            '</td>' +
            '<td class="sInputParamTextAlignLeft sCamSceneVbrTdWidth">' +
            s_scene_location +
            frmNWDR.selSceneLocationH265Vbr_3.options[
                frmNWDR.selSceneLocationH265Vbr_3.selectedIndex
                ].text +
            '<br>';
         DOC +=
            s_scene_gopcontrol +
            frmNWDR.selSceneSmartCodingH265Vbr_3.options[
                frmNWDR.selSceneSmartCodingH265Vbr_3.selectedIndex
                ].text +
            '<br>';
        if ((model == 'U213**/U113**') || (model == 'B513**/B543**') || (model == 'U613**/U653**') || (model == 'U2***/U1***') || (model == 'S4**6(AI 360-degree)')) { 
            DOC += s_scene_autoviqs;
        }
        else if ((model == 'S854**(Multi-Sensor)') || (model == 'U854**(Multi-Sensor)') || (model == 'S857**(4K Multi-Sensor)') || (model == 'X865**(Multi-Sensor)') || (model == 'S613**/S653**') || (model == 'S615**/S655**') || (model == 'X865**(PTZ)') || (model == 'S2**6/S2**5/S1**6/S1**5') || (model == 'S71***') || (model == 'S25***/S22***/S15***') || (model == 'S854*(AI Multi-Sensor)') || (model == 'S856*/S857*(AI Multi-Sensor)')) {
            DOC += s_scene_smartviqs;
        }
        else {
            DOC += s_scene_smartcodingface;
        }
        DOC +=
            frmNWDR.selSceneSmartCodingFaceH265Vbr_3.options[
                frmNWDR.selSceneSmartCodingFaceH265Vbr_3.selectedIndex
                ].text +
            '<br>';
          DOC +=
            s_scene_illum +
            s_scene_illum_01 +
            ' ' +
            frmNWDR.selSceneIllumNormalH265Vbr_3.options[
                frmNWDR.selSceneIllumNormalH265Vbr_3.selectedIndex
                ].text +
            s_scene_illum_percent +
            '(' +
            txt_s_scene_illum_h265_normal_hour_3.innerText +
            ')' +
            ' / ';
            if (model == s_cammodel_h265vbr_05 || model == s_cammodel_h265vbr_06) {
                DOC +=
                s_scene_motion_ai;
            } else {
                DOC +=
                s_scene_motion;
            }
            DOC +=
            ' ' +
            frmNWDR.selSceneMotionNormalH265Vbr_3.options[
                frmNWDR.selSceneMotionNormalH265Vbr_3.selectedIndex
                ].text +
            s_scene_illum_percent +
            '(' +
            txt_s_scene_motion_h265_normal_hour_3.innerText +
            ')' +
            '<br>' +
            s_scene_illum +
            s_scene_illum_02 +
            ' ' +
            frmNWDR.selSceneIllumLowH265Vbr_3.value +
            s_scene_illum_percent +
            '(' +
            txt_s_scene_illum_h265_low_hour_3.innerText +
            ')' +
            ' / ';
            if (model == s_cammodel_h265vbr_05 || model == s_cammodel_h265vbr_06) {
                DOC +=
                s_scene_motion_ai;
            } else {
                DOC +=
                s_scene_motion;
            }
            DOC +=
            ' ' +
            frmNWDR.selSceneMotionLowH265Vbr_3.options[
                frmNWDR.selSceneMotionLowH265Vbr_3.selectedIndex
                ].text +
            s_scene_illum_percent +
            '(' +
            txt_s_scene_motion_h265_low_hour_3.innerText +
            ')' +
            '</td>' +
            '<td class="sInputParamTextAlignCenter">' +
            s_tblheader_bitrate_h264vbr_max +
            frmNWDR.selMaxKbpsH265Vbr_3.value +
            s_cam_bitrate_kbps +
            '<br>' +
            s_tblheader_bitrate_h264vbr_avg +
            frmNWDR.selAvgKbpsH265Vbr_3.value +
            s_cam_bitrate_kbps +
            '</td>' +
            '</tr>';
        model = frmNWDR.selModelH264Vbr_1.options[
            frmNWDR.selModelH264Vbr_1.selectedIndex
            ].text;
        DOC +=
            '<tr>' +
            '<td rowspan="3" class="sInputSubMenuStyle">' +
            s_compkind_h264vbr +
            '</td>' +
            '<td class="sInputParamTextAlignLeft">' +
            gCamNumberUI[H264VBR_1] +
            '</td>' +
            '<td class="sInputParamTextAlignCenter">' +
            frmNWDR.selModelH264Vbr_1.options[
                frmNWDR.selModelH264Vbr_1.selectedIndex
                ].text +
            '</td>' +
            '<td class="sInputParamTextAlignCenter">' +
            frmNWDR.selResoH264Vbr_1.options[
                frmNWDR.selResoH264Vbr_1.selectedIndex
                ].text +
            '</td>' +
            '<td class="sInputParamTextAlignCenter">' +
            frmNWDR.selQualH264Vbr_1.options[
                frmNWDR.selQualH264Vbr_1.selectedIndex
                ].text +
            '</td>' +
            '<td class="sInputParamTextAlignCenter">' +
            frmNWDR.selFpsH264Vbr_1.options[
                frmNWDR.selFpsH264Vbr_1.selectedIndex
                ].text +
            '</td>' +
            '<td class="sInputParamTextAlignLeft sCamSceneVbrTdWidth">' +
            s_scene_location +
            frmNWDR.selSceneLocationH264Vbr_1.options[
                frmNWDR.selSceneLocationH264Vbr_1.selectedIndex
                ].text +
            '<br>';
        if (frmNWDR.selModelH264Vbr_1.selectedIndex <= camKind_H264Vbr_EX_AI_4K) {
            DOC +=
                s_scene_gopcontrol +
                frmNWDR.selSceneGopControlH264Vbr_1.options[0].text +
                '<br>';
            if ((model == 'S854**(Multi-Sensor)') || (model == 'U854**(Multi-Sensor)') || (model == 'S857**(4K Multi-Sensor)') || (model == 'X865**(Multi-Sensor)') || (model == 'S613**/S653**') || (model == 'S615**/S655**') || (model == 'X865**(PTZ)') || (model == 'S2**6/S2**5/S1**6/S1**5') || (model == 'S71***') || (model == 'S25***/S22***/S15***') || (model == 'S854*(AI Multi-Sensor)') || (model == 'S856*/S857*(AI Multi-Sensor)')) {
                    DOC += s_scene_smartviqs;
            } else if ((model == 'U213**/U113**') || (model == 'B513**/B543**') || (model == 'U613**/U653**') || (model == 'U2***/U1***') || (model == 'S4**6(AI 360-degree)')) {
                DOC += s_scene_autoviqs;
            } else {
                DOC += s_scene_smartcodingface;
            }
            DOC += 
                frmNWDR.selSceneSmartFacialCodingH264Vbr_1.options[
                frmNWDR.selSceneSmartFacialCodingH264Vbr_1.selectedIndex
                ].text +
                '<br>';
        } else {
            DOC +=
                s_scene_smartcoding +
                frmNWDR.selSceneGopControlH264Vbr_1.options[
                    frmNWDR.selSceneGopControlH264Vbr_1.selectedIndex
                    ].text +
                '<br>';
        }
        DOC +=
            s_scene_illum +
            s_scene_illum_01 +
            ' ' +
            frmNWDR.selSceneIllumNormalH264Vbr_1.options[
                frmNWDR.selSceneIllumNormalH264Vbr_1.selectedIndex
                ].text +
            s_scene_illum_percent +
            '(' +
            txt_s_scene_illum_h264_normal_hour_1.innerText +
            ')' +
            ' / ';
            if (model == s_cammodel_h264vbr_09 || model == s_cammodel_h264vbr_10) {
                DOC +=
                s_scene_motion_ai;
            } else {
                DOC +=
                s_scene_motion;
            }
            DOC +=
            ' ' +
            frmNWDR.selSceneMotionNormalH264Vbr_1.options[
                frmNWDR.selSceneMotionNormalH264Vbr_1.selectedIndex
                ].text +
            s_scene_illum_percent +
            '(' +
            txt_s_scene_motion_h264_normal_hour_1.innerText +
            ')' +
            '<br>' +
            s_scene_illum +
            s_scene_illum_02 +
            ' ' +
            frmNWDR.selSceneIllumLowH264Vbr_1.value +
            s_scene_illum_percent +
            '(' +
            txt_s_scene_illum_h264_low_hour_1.innerText +
            ')' +
            ' / ';
            if (model == s_cammodel_h264vbr_09 || model == s_cammodel_h264vbr_10) {
                DOC +=
                s_scene_motion_ai;
            } else {
                DOC +=
                s_scene_motion;
            }
            DOC +=
            ' ' +
            frmNWDR.selSceneMotionLowH264Vbr_1.options[
                frmNWDR.selSceneMotionLowH264Vbr_1.selectedIndex
                ].text +
            s_scene_illum_percent +
            '(' +
            txt_s_scene_motion_h264_low_hour_1.innerText +
            ')' +
            '</td>' +
            '<td class="sInputParamTextAlignCenter">' +
            s_tblheader_bitrate_h264vbr_max +
            frmNWDR.selMaxKbpsH264Vbr_1.value +
            s_cam_bitrate_kbps +
            '<br>' +
            s_tblheader_bitrate_h264vbr_avg +
            frmNWDR.selAvgKbpsH264Vbr_1.value +
            s_cam_bitrate_kbps +
            '</td>' +
            '</tr>';
        model = frmNWDR.selModelH264Vbr_2.options[
            frmNWDR.selModelH264Vbr_2.selectedIndex
            ].text;
        DOC +=
            '<tr>' +
            '<td class="sInputParamTextAlignLeft">' +
            gCamNumberUI[H264VBR_2] +
            '</td>' +
            '<td class="sInputParamTextAlignCenter">' +
            frmNWDR.selModelH264Vbr_2.options[
                frmNWDR.selModelH264Vbr_2.selectedIndex
                ].text +
            '</td>' +
            '<td class="sInputParamTextAlignCenter">' +
            frmNWDR.selResoH264Vbr_2.options[
                frmNWDR.selResoH264Vbr_2.selectedIndex
                ].text +
            '</td>' +
            '<td class="sInputParamTextAlignCenter">' +
            frmNWDR.selQualH264Vbr_2.options[
                frmNWDR.selQualH264Vbr_2.selectedIndex
                ].text +
            '</td>' +
            '<td class="sInputParamTextAlignCenter">' +
            frmNWDR.selFpsH264Vbr_2.options[
                frmNWDR.selFpsH264Vbr_2.selectedIndex
                ].text +
            '</td>' +
            '<td class="sInputParamTextAlignLeft sCamSceneVbrTdWidth">' +
            s_scene_location +
            frmNWDR.selSceneLocationH264Vbr_2.options[
                frmNWDR.selSceneLocationH264Vbr_2.selectedIndex
                ].text +
            '<br>';
        if (frmNWDR.selModelH264Vbr_2.selectedIndex <= camKind_H264Vbr_EX_AI_4K) {
            DOC +=
                s_scene_gopcontrol +
                frmNWDR.selSceneGopControlH264Vbr_2.options[0].text +
                '<br>';
            if ((model == 'S854**(Multi-Sensor)') || (model == 'U854**(Multi-Sensor)') || (model == 'S857**(4K Multi-Sensor)') || (model == 'X865**(Multi-Sensor)') || (model == 'S613**/S653**') || (model == 'S615**/S655**') || (model == 'X865**(PTZ)') || (model == 'S2**6/S2**5/S1**6/S1**5') || (model == 'S71***') || (model == 'S25***/S22***/S15***') || (model == 'S854*(AI Multi-Sensor)') || (model == 'S856*/S857*(AI Multi-Sensor)')) {
                DOC += s_scene_smartviqs;
            } else if ((model == 'U213**/U113**') || (model == 'B513**/B543**') || (model == 'U613**/U653**') || (model == 'U2***/U1***') || (model == 'S4**6(AI 360-degree)')) {
                DOC += s_scene_autoviqs;
            } else {
                DOC += s_scene_smartcodingface;
            }
            DOC +=
                frmNWDR.selSceneSmartFacialCodingH264Vbr_2.options[
                    frmNWDR.selSceneSmartFacialCodingH264Vbr_2.selectedIndex
                    ].text +
                '<br>';
        } else {
            DOC +=
                s_scene_smartcoding +
                frmNWDR.selSceneGopControlH264Vbr_2.options[
                    frmNWDR.selSceneGopControlH264Vbr_2.selectedIndex
                    ].text +
                '<br>';
        }
        DOC +=
            s_scene_illum +
            s_scene_illum_01 +
            ' ' +
            frmNWDR.selSceneIllumNormalH264Vbr_2.options[
                frmNWDR.selSceneIllumNormalH264Vbr_2.selectedIndex
                ].text +
            s_scene_illum_percent +
            '(' +
            txt_s_scene_illum_h264_normal_hour_2.innerText +
            ')' +
            ' / ';
            if (model == s_cammodel_h264vbr_09 || model == s_cammodel_h264vbr_10) {
                DOC +=
                s_scene_motion_ai;
            } else {
                DOC +=
                s_scene_motion;
            }
            DOC +=
            ' ' +
            frmNWDR.selSceneMotionNormalH264Vbr_2.options[
                frmNWDR.selSceneMotionNormalH264Vbr_2.selectedIndex
                ].text +
            s_scene_illum_percent +
            '(' +
            txt_s_scene_motion_h264_normal_hour_2.innerText +
            ')' +
            '<br>' +
            s_scene_illum +
            s_scene_illum_02 +
            ' ' +
            frmNWDR.selSceneIllumLowH264Vbr_2.value +
            s_scene_illum_percent +
            '(' +
            txt_s_scene_illum_h264_low_hour_2.innerText +
            ')' +
            ' / ';
            if (model == s_cammodel_h264vbr_09 || model == s_cammodel_h264vbr_10) {
                DOC +=
                s_scene_motion_ai;
            } else {
                DOC +=
                s_scene_motion;
            }
            DOC +=
            ' ' +
            frmNWDR.selSceneMotionLowH264Vbr_2.options[
                frmNWDR.selSceneMotionLowH264Vbr_2.selectedIndex
                ].text +
            s_scene_illum_percent +
            '(' +
            txt_s_scene_motion_h264_low_hour_2.innerText +
            ')' +
            '</td>' +
            '<td class="sInputParamTextAlignCenter">' +
            s_tblheader_bitrate_h264vbr_max +
            frmNWDR.selMaxKbpsH264Vbr_2.value +
            s_cam_bitrate_kbps +
            '<br>' +
            s_tblheader_bitrate_h264vbr_avg +
            frmNWDR.selAvgKbpsH264Vbr_2.value +
            s_cam_bitrate_kbps +
            '</td>' +
            '</tr>';
        model = frmNWDR.selModelH264Vbr_3.options[
            frmNWDR.selModelH264Vbr_3.selectedIndex
            ].text;
        DOC +=
            '<tr>' +
            '<td class="sInputParamTextAlignLeft">' +
            gCamNumberUI[H264VBR_3] +
            '</td>' +
            '<td class="sInputParamTextAlignCenter">' +
            frmNWDR.selModelH264Vbr_3.options[
                frmNWDR.selModelH264Vbr_3.selectedIndex
                ].text +
            '</td>' +
            '<td class="sInputParamTextAlignCenter">' +
            frmNWDR.selResoH264Vbr_3.options[
                frmNWDR.selResoH264Vbr_3.selectedIndex
                ].text +
            '</td>' +
            '<td class="sInputParamTextAlignCenter">' +
            frmNWDR.selQualH264Vbr_3.options[
                frmNWDR.selQualH264Vbr_3.selectedIndex
                ].text +
            '</td>' +
            '<td class="sInputParamTextAlignCenter">' +
            frmNWDR.selFpsH264Vbr_3.options[
                frmNWDR.selFpsH264Vbr_3.selectedIndex
                ].text +
            '</td>' +
            '<td class="sInputParamTextAlignLeft sCamSceneVbrTdWidth">' +
            s_scene_location +
            frmNWDR.selSceneLocationH264Vbr_3.options[
                frmNWDR.selSceneLocationH264Vbr_3.selectedIndex
                ].text +
            '<br>';
        if (frmNWDR.selModelH264Vbr_3.selectedIndex <= camKind_H264Vbr_EX_AI_4K) {
            DOC +=
                s_scene_gopcontrol +
                frmNWDR.selSceneGopControlH264Vbr_3.options[0].text +
                '<br>';
            if ((model == 'S854**(Multi-Sensor)') || (model == 'U854**(Multi-Sensor)') || (model == 'S857**(4K Multi-Sensor)') || (model == 'X865**(Multi-Sensor)') || (model == 'S613**/S653**') || (model == 'S615**/S655**') || (model == 'X865**(PTZ)') || (model == 'S2**6/S2**5/S1**6/S1**5') || (model == 'S71***') || (model == 'S25***/S22***/S15***') || (model == 'S854*(AI Multi-Sensor)') || (model == 'S856*/S857*(AI Multi-Sensor)')) {
                DOC += s_scene_smartviqs;
            } else if ((model == 'U213**/U113**') || (model == 'B513**/B543**') || (model == 'U613**/U653**') || (model == 'U2***/U1***') || (model == 'S4**6(AI 360-degree)')) {
                DOC += s_scene_autoviqs;
            } else {
                DOC += s_scene_smartcodingface;
            }
            DOC +=
                frmNWDR.selSceneSmartFacialCodingH264Vbr_3.options[
                    frmNWDR.selSceneSmartFacialCodingH264Vbr_3.selectedIndex
                    ].text +
                '<br>';
        } else {
            DOC +=
                s_scene_smartcoding +
                frmNWDR.selSceneGopControlH264Vbr_3.options[
                    frmNWDR.selSceneGopControlH264Vbr_3.selectedIndex
                    ].text +
                '<br>';
        }
          DOC +=
            s_scene_illum +
            s_scene_illum_01 +
            ' ' +
            frmNWDR.selSceneIllumNormalH264Vbr_3.options[
                frmNWDR.selSceneIllumNormalH264Vbr_3.selectedIndex
                ].text +
            s_scene_illum_percent +
            '(' +
            txt_s_scene_illum_h264_normal_hour_3.innerText +
            ')' +
            ' / ';
            if (model == s_cammodel_h264vbr_09 || model == s_cammodel_h264vbr_10) {
                DOC +=
                s_scene_motion_ai;
            } else {
                DOC +=
                s_scene_motion;
            }
            DOC +=
            ' ' +
            frmNWDR.selSceneMotionNormalH264Vbr_3.options[
                frmNWDR.selSceneMotionNormalH264Vbr_3.selectedIndex
                ].text +
            s_scene_illum_percent +
            '(' +
            txt_s_scene_motion_h264_normal_hour_3.innerText +
            ')' +
            '<br>' +
            s_scene_illum +
            s_scene_illum_02 +
            ' ' +
            frmNWDR.selSceneIllumLowH264Vbr_3.value +
            s_scene_illum_percent +
            '(' +
            txt_s_scene_illum_h264_low_hour_3.innerText +
            ')' +
            ' / ';
            if (model == s_cammodel_h264vbr_09 || model == s_cammodel_h264vbr_10) {
                DOC +=
                s_scene_motion_ai;
            } else {
                DOC +=
                s_scene_motion;
            }
            DOC +=
            ' ' +
            frmNWDR.selSceneMotionLowH264Vbr_3.options[
                frmNWDR.selSceneMotionLowH264Vbr_3.selectedIndex
                ].text +
            s_scene_illum_percent +
            '(' +
            txt_s_scene_motion_h264_low_hour_3.innerText +
            ')' +
            '</td>' +
            '<td class="sInputParamTextAlignCenter">' +
            s_tblheader_bitrate_h264vbr_max +
            frmNWDR.selMaxKbpsH264Vbr_3.value +
            s_cam_bitrate_kbps +
            '<br>' +
            s_tblheader_bitrate_h264vbr_avg +
            frmNWDR.selAvgKbpsH264Vbr_3.value +
            s_cam_bitrate_kbps +
            '</td>' +
            '</tr>';
        DOC +=
            '</table>';
    }


    DOC +=
        '<table style="width: 100%;" border="0">';

    if (app_dst == 'ja') {
        DOC +=
            '<tr>' +
            '<td colspan="8" class="sInputMainMenuStyle">' +
            s_tblheader_reccondition +
            '</td>' +
            '</tr>';
    }

    DOC +=
        '<tr class="sInputSubMenuStyle" align="center">';
    DOC +=
        '<td>' +
            s_tblheader_compkind_h264 +
        '</td>';
    DOC +=
        '<td>' +
            s_tblheader_camnum_h264 +
        '</td>';
    DOC +=
        '<td>' +
            s_tblheader_cammodel_h264 +
        '</td>';
    DOC +=
        '<td>' +
            s_tblheader_reso_h264 +
        '</td>';
    DOC +=
        '<td>' +
            s_tblheader_scanmode_h264 +
        '</td>';
    DOC +=
        '<td>' +
            s_tblheader_priority_h264 +
        '</td>';
    DOC +=
        '<td>' +
            s_tblheader_quality_h264 +
        '</td>';
    DOC +=
        '<td>' +
            s_tblheader_bitrate_h264 +
        '</td>';

    DOC +=
        '</tr>';

    DOC +=
        '<tr>';
    DOC +=
        '<td rowspan="4" class="sInputSubMenuStyle" align="center">' +
            s_compkind_h265 +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            gCamNumberUI[H265_1] + 
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selModelH265_1.options[
                frmNWDR.selModelH265_1.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selResoH265_1.options[
                frmNWDR.selResoH265_1.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selScanH265_1.options[
                frmNWDR.selScanH265_1.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selPrioH265_1.options[
                frmNWDR.selPrioH265_1.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selQualH265_1.options[
                frmNWDR.selQualH265_1.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selKbpsH265_1.options[
                frmNWDR.selKbpsH265_1.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '</tr>';

    DOC +=
        '<tr>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            gCamNumberUI[H265_2] + 
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selModelH265_2.options[
                frmNWDR.selModelH265_2.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selResoH265_2.options[
                frmNWDR.selResoH265_2.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selScanH265_2.options[
                frmNWDR.selScanH265_2.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selPrioH265_2.options[
                frmNWDR.selPrioH265_2.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selQualH265_2.options[
                frmNWDR.selQualH265_2.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selKbpsH265_2.options[
                frmNWDR.selKbpsH265_2.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '</tr>';

    DOC +=
        '<tr>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            gCamNumberUI[H265_3] + 
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selModelH265_3.options[
                frmNWDR.selModelH265_3.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selResoH265_3.options[
                frmNWDR.selResoH265_3.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selScanH265_3.options[
                frmNWDR.selScanH265_3.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selPrioH265_3.options[
                frmNWDR.selPrioH265_3.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selQualH265_3.options[
                frmNWDR.selQualH265_3.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selKbpsH265_3.options[
                frmNWDR.selKbpsH265_3.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '</tr>';

    DOC +=
        '<tr>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            gCamNumberUI[H265_4] + 
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selModelH265_4.options[
                frmNWDR.selModelH265_4.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selResoH265_4.options[
                frmNWDR.selResoH265_4.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selScanH265_4.options[
                frmNWDR.selScanH265_4.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selPrioH265_4.options[
                frmNWDR.selPrioH265_4.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selQualH265_4.options[
                frmNWDR.selQualH265_4.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selKbpsH265_4.options[
                frmNWDR.selKbpsH265_4.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '</tr>';

    DOC +=
        '<tr>';
    DOC +=
        '<td rowspan="4" class="sInputSubMenuStyle" align="center">' +
            s_compkind_h264 +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            gCamNumberUI[H264_1] + 
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selModelH264_1.options[
                frmNWDR.selModelH264_1.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selResoH264_1.options[
                frmNWDR.selResoH264_1.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selScanH264_1.options[
                frmNWDR.selScanH264_1.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selPrioH264_1.options[
                frmNWDR.selPrioH264_1.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selQualH264_1.options[
                frmNWDR.selQualH264_1.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selKbpsH264_1.options[
                frmNWDR.selKbpsH264_1.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '</tr>';

    DOC +=
        '<tr>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            gCamNumberUI[H264_2] + 
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selModelH264_2.options[
                frmNWDR.selModelH264_2.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selResoH264_2.options[
                frmNWDR.selResoH264_2.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selScanH264_2.options[
                frmNWDR.selScanH264_2.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selPrioH264_2.options[
                frmNWDR.selPrioH264_2.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selQualH264_2.options[
                frmNWDR.selQualH264_2.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selKbpsH264_2.options[
                frmNWDR.selKbpsH264_2.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '</tr>';

    DOC +=
        '<tr>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            gCamNumberUI[H264_3] + 
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selModelH264_3.options[
                frmNWDR.selModelH264_3.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selResoH264_3.options[
                frmNWDR.selResoH264_3.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selScanH264_3.options[
                frmNWDR.selScanH264_3.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selPrioH264_3.options[
                frmNWDR.selPrioH264_3.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selQualH264_3.options[
                frmNWDR.selQualH264_3.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selKbpsH264_3.options[
                frmNWDR.selKbpsH264_3.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '</tr>';

    DOC +=
        '<tr>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            gCamNumberUI[H264_4] + 
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selModelH264_4.options[
                frmNWDR.selModelH264_4.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selResoH264_4.options[
                frmNWDR.selResoH264_4.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selScanH264_4.options[
                frmNWDR.selScanH264_4.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selPrioH264_4.options[
                frmNWDR.selPrioH264_4.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selQualH264_4.options[
                frmNWDR.selQualH264_4.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selKbpsH264_4.options[
                frmNWDR.selKbpsH264_4.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '</tr>';

    DOC +=
        '<tr>';
    DOC +=
        '<td rowspan="4" class="sInputSubMenuStyle" align="center">' +
            s_compkind_jpeg +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            gCamNumberUI[JPEG_1] + 
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selModelJpeg_1.options[
                frmNWDR.selModelJpeg_1.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selResoJpeg_1.options[
                frmNWDR.selResoJpeg_1.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selScanJpeg_1.options[
                frmNWDR.selScanJpeg_1.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selQualJpeg_1.options[
                frmNWDR.selQualJpeg_1.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selFpsJpeg_1.options[
                frmNWDR.selFpsJpeg_1.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.txtMbpsJpeg_1.value +
            s_cam_bitrate_mbps;
        '</td>';
    DOC +=
        '</tr>';

    DOC +=
        '<tr>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            gCamNumberUI[JPEG_2] + 
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selModelJpeg_2.options[
                frmNWDR.selModelJpeg_2.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selResoJpeg_2.options[
                frmNWDR.selResoJpeg_2.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selScanJpeg_2.options[
                frmNWDR.selScanJpeg_2.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selQualJpeg_2.options[
                frmNWDR.selQualJpeg_2.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selFpsJpeg_2.options[
                frmNWDR.selFpsJpeg_2.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.txtMbpsJpeg_2.value +
            s_cam_bitrate_mbps;
        '</td>';
    DOC +=
        '</tr>';

    DOC +=
        '<tr>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            gCamNumberUI[JPEG_3] + 
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selModelJpeg_3.options[
                frmNWDR.selModelJpeg_3.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selResoJpeg_3.options[
                frmNWDR.selResoJpeg_3.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selScanJpeg_3.options[
                frmNWDR.selScanJpeg_3.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selQualJpeg_3.options[
                frmNWDR.selQualJpeg_3.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selFpsJpeg_3.options[
                frmNWDR.selFpsJpeg_3.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.txtMbpsJpeg_3.value +
            s_cam_bitrate_mbps;
        '</td>';
    DOC +=
        '</tr>';

    DOC +=
        '<tr>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            gCamNumberUI[JPEG_4] + 
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selModelJpeg_4.options[
                frmNWDR.selModelJpeg_4.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selResoJpeg_4.options[
                frmNWDR.selResoJpeg_4.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selScanJpeg_4.options[
                frmNWDR.selScanJpeg_4.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selQualJpeg_4.options[
                frmNWDR.selQualJpeg_4.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.selFpsJpeg_4.options[
                frmNWDR.selFpsJpeg_4.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">' +
            frmNWDR.txtMbpsJpeg_4.value +
            s_cam_bitrate_mbps;
        '</td>';
    DOC +=
        '</tr>';

    DOC +=
        '<td class="sInputSubMenuStyle">' +
            s_td_RecTime +
        '</td>';
    DOC +=
        '<td colspan="2" class="sInputParamTextAlignLeft">';

    DOC +=
        '<table cellpadding="0" cellspacing="0" border="0" ' +
            'class="sInputParamTextAlignLeft">';

    DOC +=
        '<tr>';
    DOC +=
        '<td>' +
            s_txtTimeHour +
            ':' +
            frmNWDR.selRecHour.options[
                frmNWDR.selRecHour.selectedIndex
            ].text;
        '</td>';
    DOC +=
        '</tr>';
    DOC +=
        '<tr>';
    DOC +=
        '<td>' +
            s_txtDays +
            ':' +
            frmNWDR.txtRecDays.value +
        '</td>';
    DOC +=
        '</tr>';

    DOC +=
        '</table>';
    DOC +=
        '</td>';

    DOC +=
        '<td class="sInputSubMenuStyle">' +
            s_td_HDDInfo +
        '</td>';
    DOC +=
        '<td colspan="2" class="sInputParamTextAlignLeft">';

    DOC +=
        '<table cellpadding="0" cellspacing="0" border="0" ' +
            'class="sInputParamTextAlignLeft">';

    DOC +=
        '<tr>';
    DOC +=
        '<td>' +
            s_Lst_HDDCapa +
            ':' +
            frmNWDR.sel_HDD.options[
                frmNWDR.sel_HDD.selectedIndex
            ].text;
        '</td>';

    DOC +=
        '</tr>';

    DOC +=
        '<tr>';
    DOC +=
        '<td>' +
            s_lst_RAID +
            ':' +
            frmNWDR.sel_RAID.options[
                frmNWDR.sel_RAID.selectedIndex
            ].text +
        '</td>';
    DOC +=
        '</tr>';

    DOC +=
        '</table>';
    DOC +=
        '</td>';

    DOC +=
        '<td class="sInputSubMenuStyle">' +
            s_td_SubStreamAudioHTTPS +
        '</td>';
    DOC +=
        '<td class="sInputParamTextAlignLeft">';

    if (frmNWDR.chksubstream.checked == true) {
        temp = s_ck_SubStream + ':' + s_switch_on;
    } else {
        temp = s_ck_SubStream + ':' + s_switch_off;
    }
    DOC +=
        temp;
    DOC +=
        '<br />';

    if (frmNWDR.chkaudio.checked == true) {
        if (document.getElementById('camRecAudio_AACLC').checked == true) {
            temp = s_ck_Audio_AACLC + ':' + s_switch_on;
        } else {
            temp = s_ck_Audio_G726 + ':' + s_switch_on;
        }

    } else {
        temp = s_ck_Audio + ':' + s_switch_off;
    }
    DOC +=
        temp;
    if (app_dst != 'zh' && Secure != false) {
        DOC +=
            '<br />';
        if (frmNWDR.chkhttps.checked == true) {
            temp = s_ck_Https + ':' + s_switch_on;
        } else {
            temp = s_ck_Https + ':' + s_switch_off;
        }
        DOC +=
            temp;
        DOC +=
            '<br />';
        if (frmNWDR.chkencdata.checked == true) {
            temp = s_ck_Encdata + ':' + s_switch_on;
        } else {
            temp = s_ck_Encdata + ':' + s_switch_off;
        }
        DOC +=
            temp;
    }
    DOC +=
        '</td>';
    DOC +=
        '</tr>';
    DOC +=
        '</table>';

    DOC += '<table style="width: 100%;" border="0">';
    DOC += '<tr>';
    DOC += '<td colspan="' + 15 + '" class="sOutputMainMenuStyle">';
    DOC += s_td_ResultTitle + '</td>';
    DOC += '</tr>';
    DOC += '<tr class="outputNumStyle">';
    DOC += '<td class="sOutputSubMenuStyle">' + s_td_theoryValue + '</td>';
    DOC += '<td colspan="' + 6 + '" class="sInputParamTextAlignRight">';
    DOC += s_td_theoryTotalBitRate + '</td>';
    temp = frmNWDR.txttotalbit.value;
    DOC += '<td colspan="2" class="sInputParamTextAlignLeft">';
    DOC += temp + '</td>';
    DOC += '<td colspan="1" class="sInputParamTextAlignRight">';
    DOC += s_td_theoryCapasity + '</td>';

    temp = frmNWDR.txttotalcap.value;
    DOC += '<td colspan="1" class="sInputParamTextAlignLeft">';
    DOC += temp + '</td>';
    DOC += '<td colspan="4" class="sOutputNoticeStyle"></td>';
    DOC += '</tr>';

    var nx400_rowspan = 2;

    DOC += '<tr class="outputNumStyle">';

    DOC += '<td rowspan="' + nx400_rowspan + '" class="sOutputSubMenuStyle">';
    DOC += s_td_NX400 + '</td>'; 

    DOC += '<td rowspan="' + nx400_rowspan + '" class="sInputParamTextAlignRight">';
    DOC += s_td_NX400_name + '</td>'; 

    temp = frmNWDR.txtnx400num1.value;
    DOC += '<td rowspan="' + nx400_rowspan + '" class="sInputParamTextAlignRight">' + temp + '</td>'; 

    if (app_dst == 'ja') {
        DOC += '<td rowspan="' + 1 + ' " class="sInputParamTextAlignRight">'; 
        DOC += s_td_NXE40 + '</td>'; 

        temp = frmNWDR.txtnxe40NX400.value;
        DOC += '<td rowspan="' + 1 + ' " class="sInputParamTextAlignRight">';
        DOC += temp + '</td>'; 
    } else {
        DOC += '<td rowspan="' + nx400_rowspan + ' " class="sInputParamTextAlignRight">'; 
        DOC += s_td_NXE40 + '</td>'; 

        temp = frmNWDR.txtnxe40NX400.value;
        DOC += '<td rowspan="' + nx400_rowspan + ' " class="sInputParamTextAlignRight">';
        DOC += temp + '</td>'; 
    }

    DOC += '<td rowspan="' + nx400_rowspan + '" class="sInputParamTextAlignRight">';
    DOC += s_td_HXE400_name + '</td>'; 

    temp = frmNWDR.txthxe400num.value;
    DOC += '<td rowspan="' + nx400_rowspan + '" class="sInputParamTextAlignRight">';
    DOC += temp + '</td>'; 

    DOC += '<td rowspan="' + nx400_rowspan + '" class="sInputParamTextAlignRight">';
    DOC += s_td_HDDnum + '</td>'; 

    temp = frmNWDR.txtHddNumNX400.value;
    DOC += '<td rowspan="' + nx400_rowspan + '" class="sInputParamTextAlignRight">';
    DOC += temp + '</td>'; 

    DOC += '<td rowspan="' + nx400_rowspan + '" class="sInputParamTextAlignRight">';
    DOC += s_td_TotalCapa + '</td>'; 

    temp = frmNWDR.txttotalnx400cap.value;
    DOC += '<td rowspan="' + nx400_rowspan + '" class="sInputParamTextAlignRight">';
    DOC += temp + '</td>'; 

    DOC += '<td rowspan="' + nx400_rowspan + '" class="sInputParamTextAlignRight">';
    DOC += s_td_TotalElePower + '</td>'; 

    temp = frmNWDR.txttotalnx400ele.value;
    DOC += '<td rowspan="' + nx400_rowspan + '" class="sInputParamTextAlignRight">';
    DOC += temp + '</td>'; 

    DOC += '<td rowspan="' + nx400_rowspan + '" class="sInputParamTextAlignRight">';
    DOC += s_td_totalU + '</td>'; 

    temp = frmNWDR.txtunume400.value;
    DOC += '<td rowspan="' + nx400_rowspan + '" class="sInputParamTextAlignRight">';
    DOC += temp + '</td>'; 
    DOC += '</tr>';

    if (app_dst == 'ja') {
        DOC += '<td rowspan="' + 1 + ' " class="sInputParamTextAlignRight">'; 
        DOC += s_td_NXE41 + '</td>'; 

        temp = frmNWDR.txtnxe41NX400.value;
        DOC += '<td rowspan="' + 1 + ' " class="sInputParamTextAlignRight">';
        DOC += temp + '</td>'; 
    }

    if (frmNWDR.chkdetail.checked == true) {
        DOC += '<table style="width: 100%;" border="0">';
        if (Number(frmNWDR.txtnx400num1.value) > 0) {
            DOC += '<tr><td>' + gNwdrDetailInfo[nNwdrNX400] + '</td></tr>';
        }
        DOC += '</table>';

    } else {
        nDispLic = CheckLicense(gNwdrInfo);

        if (nDispLic == 0) {
            DOC += '<table style="width: 100%;" border="0">';
            if ((VbrJa != false) || (VbrJa != true && app_dst != 'ja')) {
                DOC +=
                    '<tr><td colspan="27" align="left">' +
                         s_note_addtxt4 +
                    '</td></tr>';
            } else {
                DOC +=
                    '<tr><td colspan="21" align="left">' +
                         s_note_addtxt4 +
                    '</td></tr>';
            }
            DOC += '</table>';
        }
    }

    DOC += '</body></html>';

    newWin = window.open('', 'new1');
    newWin.document.open();

    newWin.document.write(DOC);
    newWin.document.close();
}


function NoteOutput(NWDRinfo) {
    var nDispLic = 1; 
    var htmlCode = '';

    nDispLic = CheckLicense(NWDRinfo);

    if (nDispLic == 0) {
        htmlCode +=
            '<td align="left">' +
                 s_note_addtxt4 +
            '</td>';
        htmlCode +=
            '</tr>';
    }

    resultDetailNX400.innerHTML = htmlCode;
    gNwdrDetailInfo[nNwdrNX400] = htmlCode;

}


function CheckLicense(NWDRinfo) {
    var nDispLic = 1; 

    for (var i = 0; i < NWDRinfo.length; i++) {
        if (app_dst == 'ja') {
            if ((Number(gNwdrInfo[i].sysLicNum_nxe40) >= 1) ||
                (Number(gNwdrInfo[i].sysLicNum_nxe41) >= 1)) {
                gNwdrInfo[i].c_nDispLic = 1;
            }
        } else {
            if (Number(gNwdrInfo[i].sysLicNum_nxe40) >= 1) {
                gNwdrInfo[i].c_nDispLic = 1;
            }
        }
    }

    for (var i = 0; i < NWDRinfo.length; i++) {
        if (gNwdrInfo[i].c_nDispLic == 0) {
            nDispLic = 0;
        }
    }

    return nDispLic;
}


function DetailOutput(NWDRinfo, nNwdrCode, ch) {
    var htmlCode = '';
    if ((VbrJa != false) || (VbrJa != true && app_dst != 'ja')) {
        var colNum = 27; 
    } else {
        var colNum = 21; 
    }
    var raid =
        frmNWDR.sel_RAID.options[
            frmNWDR.sel_RAID.selectedIndex
        ].value;
    var nCamMicNum; 
    var nDispLic_nxe40 = 0; 
    var nDispLic = 1; 

    var strtitle = '';
    switch (nNwdrCode) {
        case nNwdrNX400:
            strtitle = s_table_nx400_title;
            break;
    }

    htmlCode +=
        '<table style="width:100%; border: 0; text-align: center;">';
    htmlCode +=
        '<tr>';
    htmlCode +=
        '<td colspan="' + colNum + '" class="sInputMainMenuStyle">' +
            strtitle +
        '</td>';
    htmlCode +=
        '</tr>';

    htmlCode +=
        '<tr class="sDetailSubMenuStyle">';
    htmlCode +=
        '<td rowspan="3">' +
            s_detail_MainUnit + 
        '</td>';

    if (app_dst == 'ja') {
        htmlCode +=
            '<td colspan="2">' +
                s_detail_license +  
            '</td>';
    } else {
        htmlCode +=
            '<td>' +
                s_detail_license +  
            '</td>';
    }

    htmlCode +=
        '<td rowspan="3">' +
            s_detail_hde + 
        '</td>';

    htmlCode += '<td rowspan="3">';
    htmlCode += s_detail_hdd; 
    htmlCode += '</td>';

    htmlCode +=
        '<td rowspan="3">' +
            s_detail_camera + 
        '</td>';

    if ((VbrJa != false) || (VbrJa != true && app_dst != 'ja')) {
        htmlCode +=
            '<td colspan="19">' +
                s_detail_items + 
            '</td>';
    } else {
        htmlCode +=
            '<td colspan="13">' +
                s_detail_items + 
            '</td>';
    }

    htmlCode +=
        '<td rowspan="3">' +
            s_detail_totalbitrate + 
        '</td>';

    htmlCode +=
        '<td rowspan="3">' +
            s_detail_totaldata + 
        '</td>';

    htmlCode +=
        '</tr>';

    htmlCode +=
    '<tr class="sDetailSubMenuStyle">';
    htmlCode +=
        '<td rowspan="2">' +
            s_td_NXE40_short +  
        '</td>';

    if (app_dst == 'ja') {
        htmlCode +=
            '<td rowspan="2">' +
                s_td_NXE41_short +  
            '</td>';
    }

    if ((VbrJa != false) || (VbrJa != true && app_dst != 'ja')) {
        htmlCode +=
            '<td colspan="3">' +
            s_detail_h265vbr +
            '</td>';
        htmlCode +=
            '<td colspan="3">' +
            s_detail_h264vbr +
            '</td>';
    }

    htmlCode +=
        '<td colspan="4">' +
        s_detail_h265 +
        '</td>';

    htmlCode +=
        '<td colspan="4">' +
        s_detail_h264 +
        '</td>';

    htmlCode +=
        '<td colspan="4">' +
            s_detail_jpeg +
        '</td>';

    htmlCode +=
        '<td rowspan="2">' +
            s_detail_360mic +
        '</td>';

    htmlCode +=
        '</tr>';

    htmlCode +=
        '<tr class="sDetailSubMenuStyle">';
    if ((VbrJa != false) || (VbrJa != true && app_dst != 'ja')) {
        htmlCode +=
            '<td>' +
            s_detail_cam1 +
            '</td>';
        htmlCode +=
            '<td>' +
            s_detail_cam2 +
            '</td>';
        htmlCode +=
            '<td>' +
            s_detail_cam3 +
            '</td>';
        htmlCode +=
            '<td>' +
            s_detail_cam1 +
            '</td>';
        htmlCode +=
            '<td>' +
            s_detail_cam2 +
            '</td>';
        htmlCode +=
            '<td>' +
            s_detail_cam3 +
            '</td>';
    }
    htmlCode +=
        '<td>' +
            s_detail_cam1 +
        '</td>';
    htmlCode +=
        '<td>' +
            s_detail_cam2 +
        '</td>';
    htmlCode +=
        '<td>' +
            s_detail_cam3 +
        '</td>';
    htmlCode +=
        '<td>' +
            s_detail_cam4 +
        '</td>';
    htmlCode +=
        '<td>' +
            s_detail_cam1 +
        '</td>';
    htmlCode +=
        '<td>' +
            s_detail_cam2 +
        '</td>';
    htmlCode +=
        '<td>' +
            s_detail_cam3 +
        '</td>';
    htmlCode +=
        '<td>' +
            s_detail_cam4 +
        '</td>';

    htmlCode +=
        '<td>' +
            s_detail_cam1 +
        '</td>';
    htmlCode +=
        '<td>' +
            s_detail_cam2 +
        '</td>';
    htmlCode +=
        '<td>' +
            s_detail_cam3 +
        '</td>';
    htmlCode +=
        '<td>' +
            s_detail_cam4 +
        '</td>';

    htmlCode +=
        '</tr>';

    for (var i = 0; i < NWDRinfo.length; i++) {
        if (nNwdrCode == nNwdrNX400) {
            var nTLnum;
            switch (gSelRaidMode) {
                case 1:
                    nTLnum = Number(NWDRinfo[i].intHDDq / 2);
                    break;
                case 5:
                case 6:
                    nTLnum = Number(NWDRinfo[i].extUnitNum) + 1; 
                    break;
                default: 
                    nTLnum = Number(NWDRinfo[i].intHDDq); 
                    if (app_dst == 'ja') { 
                        nTLnum += Number(NWDRinfo[i].mainHddNum); 
                    }
                    break;
            }
            NWDRinfo[i].sysRecDataTB += (defNXtimelineTB * nTLnum);
        }
        if ((i % 2) == 0) {
            htmlCode += '<tr class="sDetailParamStyleOdd">';
        } else {
            htmlCode += '<tr class="sDetailParamStyleEven">';
        }

        htmlCode +=
            '<td>' +
                '#' + (Number([i]) + 1) +
            '</td>';
        if (app_dst == 'ja') {
            if ((Number(gNwdrInfo[i].sysLicNum_nxe40)) == 1) {
                nDispLic_nxe40 = 1;
            } else {
                nDispLic_nxe40 = 0;
            }
        } else {
            nDispLic_nxe40 = Number(gNwdrInfo[i].sysLicNum_nxe40);
        }

        htmlCode += '<td>';
        htmlCode += nDispLic_nxe40; 
        htmlCode += '</td>';

        if (app_dst == 'ja') {
            htmlCode += '<td>';
            htmlCode += NWDRinfo[i].sysLicNum_nxe41; 
            htmlCode += '</td>';
        }

        htmlCode +=
            '<td>' +
            NWDRinfo[i].extUnitNum + 
            '</td>';

        htmlCode +=
            '<td>' +
                NWDRinfo[i].intHDDq + 
            '</td>';
        nCamMicNum = NWDRinfo[i].nCamTotalNum + NWDRinfo[i].n360MicNum;
        htmlCode +=
            '<td>' +
                nCamMicNum +
            '</td>';
            if ((VbrJa != false) || (VbrJa != true && app_dst != 'ja')) {
                htmlCode +=
                    '<td>' +
                    NWDRinfo[i].nCamNumH265Vbr_1 +
                    '</td>';
                htmlCode +=
                    '<td>' +
                    NWDRinfo[i].nCamNumH265Vbr_2 +
                    '</td>';
                htmlCode +=
                    '<td>' +
                    NWDRinfo[i].nCamNumH265Vbr_3 +
                    '</td>';
                htmlCode +=
                    '<td>' +
                    NWDRinfo[i].nCamNumH264Vbr_1 +
                    '</td>';
                htmlCode +=
                    '<td>' +
                    NWDRinfo[i].nCamNumH264Vbr_2 +
                    '</td>';
                htmlCode +=
                    '<td>' +
                    NWDRinfo[i].nCamNumH264Vbr_3 +
                    '</td>';
            }
        htmlCode +=
            '<td>' +
                NWDRinfo[i].nCamNumH265_1 +
            '</td>';
        htmlCode +=
            '<td>' +
                NWDRinfo[i].nCamNumH265_2 +
            '</td>';
        htmlCode +=
            '<td>' +
                NWDRinfo[i].nCamNumH265_3 +
            '</td>';
        htmlCode +=
            '<td>' +
                NWDRinfo[i].nCamNumH265_4 +
            '</td>';
        htmlCode +=
            '<td>' +
                NWDRinfo[i].nCamNumH264_1 +
            '</td>';
        htmlCode +=
            '<td>' +
                NWDRinfo[i].nCamNumH264_2 +
            '</td>';
        htmlCode +=
            '<td>' +
                NWDRinfo[i].nCamNumH264_3 +
            '</td>';
        htmlCode +=
            '<td>' +
                NWDRinfo[i].nCamNumH264_4 +
            '</td>';
        htmlCode +=
            '<td>' +
                NWDRinfo[i].nCamNumJpeg_1 +
            '</td>';
        htmlCode +=
            '<td>' +
                NWDRinfo[i].nCamNumJpeg_2 +
            '</td>';
        htmlCode +=
            '<td>' +
                NWDRinfo[i].nCamNumJpeg_3 +
            '</td>';
        htmlCode +=
            '<td>' +
                NWDRinfo[i].nCamNumJpeg_4 +
            '</td>';
        htmlCode +=
            '<td>' +
                NWDRinfo[i].n360MicNum +
            '</td>';
        NWDRinfo[i].sysDispMbps = Number(NWDRinfo[i].sysDispMbps).toLocaleString();
        htmlCode +=
            '<td>' +
                NumberToFixed(NWDRinfo[i].sysDispMbps, 3) +
            '</td>';
        NWDRinfo[i].sysRecDataTB = Number(NWDRinfo[i].sysRecDataTB).toLocaleString();
        htmlCode +=
            '<td>' +
                NumberToFixed(NWDRinfo[i].sysRecDataTB, 4) +
            '</td>';

        htmlCode +=
            '</tr>';
    }

    nDispLic = CheckLicense(NWDRinfo);

    if (nDispLic == 0) {
        if ((VbrJa != false) || (VbrJa != true && app_dst != 'ja')) {
            htmlCode +=
                '<tr><td colspan="27" align="left">' +
                     s_note_addtxt4 +
                '</td>';
        } else {
            htmlCode +=
                '<tr><td colspan="21" align="left">' +
                     s_note_addtxt4 +
                '</td>';
        }
        htmlCode +=
            '</tr>';
    }

    htmlCode +=
        '</table>';

    switch (nNwdrCode) {
        case nNwdrNX400:
            resultDetailNX400.innerHTML = htmlCode;
            gNwdrDetailInfo[nNwdrNX400] = htmlCode;
            break;
        default:
            alert('ERROR: Illegal Server Code!');
            break;
    }
}

