var LOADPAGETYPE="page",LOADHELPTYPE="help",HELP_TIP_ID="helpNullTip",MEMU_LEAF="leaf",gLoadType=LOADPAGETYPE,TOTALLEVEL=4,SHOW=!0,HIDE=!1,gSubPageSign=0,gSubPageIndex=["basic_conf_rsMenu","conf_sys_rsMenu","conf_system_manager_rsMenu"],gResSwitchPageSign=0,gResSwitchPageIndex=["basic_conf_rsMenu","conf_sys_rsMenu","conf_system_systemSet_rsMenu","info_conf_sys_basic_setting_intelligent_rsMenu"],gFtpSwitchPageSign=0,gFtpSwitchPageIndex=["basic_conf_rsMenu","conf_network_rsMenu","conf_network_advancedConfig_rsMenu",
"info_conf_nw_ftp_rsMenu"],LoadPageIndex={init:function(){this.stageMenu3=this.stageMenu2=this.stageMenu1=this.stageMenu0=-1}};(function(){var a=location.href,b,d;d=a.split("#");b=d[0];LoadPageIndex.init();if(0<=a.indexOf("#help")&&void 0!=d[1]&&0!=d[1].length){stokRes=a.match(/stok=([^&]+)/);$.stok=stokRes?decodeURIComponent(stokRes[1]):"";a=d[1];a=a.split("&");gLoadType=a[0];location.href=b+"#help";d=1;for(var c=a.length;d<c;d++)b=a[d].split("="),LoadPageIndex[b[0]]=b[1]}})();
function menuTool_BC(){this.menuOption={menuUlId:"",menuConId:"",conId:"",menuList:{},menuClickPreHd:{},initCallBack:{},menuClickCallBack:{},niceScrollStyles:{},loadNewPage:!0,menuLevel:0};"undefined"==typeof menuTool_BC.prototype.init&&(menuTool_BC.prototype.init=function(a){this.menuOptionInit(a);this.menuCreate()},menuTool_BC.prototype.menuOptionInit=function(a){var b=this.menuOption,d;for(d in a)void 0!=b[d]&&(b[d]=a[d])},menuTool_BC.prototype.menuCreate=function(){var a=this,b=this.menuOption,
d=id(b.menuUlId),c,e,g,f=b.menuList;d.innerHTML="";for(var h in f)c=f[h],null===c||"status"in c&&!c.status||(g=h.toString(),e=document.createElement("li"),e.id=g,e.url=c.url,e.className="menuLi menuLi_"+e.id,e.onclick=function(e,b,c,d){return function(){a.menuClick(e,b,c,d)}}(c.url,g,c.type,c.load),e.onmouseover=function(){0<=this.className.indexOf("menuLiClick")?this.className="menuLiClick menuLiClickHover menuLiClick_"+this.id:this.className="menuLi menuLiHover menuLi_"+this.id},e.onmouseout=function(){0<=
this.className.indexOf("menuLiClick")?this.className="menuLiClick menuLiClick_"+this.id:this.className="menuLi menuLi_"+this.id},g=document.createElement("label"),g.innerHTML=c.value,g.className="menuLbl",e.appendChild(g),d.appendChild(e));if("function"==typeof b.initCallBack){if(gSubPageSign){e=gSubPageIndex[b.menuLevel];for(c=f=0;c<d.childNodes.length;c++)d.childNodes[c].id==e&&(f=c);LoadPageIndex["stageMenu"+b.menuLevel]=f;gSubPageSign=b.menuLevel+1>=gSubPageIndex.length?0:gSubPageSign}if(gResSwitchPageSign){e=
gResSwitchPageIndex[b.menuLevel];for(c=f=0;c<d.childNodes.length;c++)d.childNodes[c].id==e&&(f=c);LoadPageIndex["stageMenu"+b.menuLevel]=f;gResSwitchPageSign=b.menuLevel+1>=gResSwitchPageIndex.length?0:gResSwitchPageSign}if(gFtpSwitchPageSign){e=gFtpSwitchPageIndex[b.menuLevel];for(c=f=0;c<d.childNodes.length;c++)d.childNodes[c].id==e&&(f=c);LoadPageIndex["stageMenu"+b.menuLevel]=f;gFtpSwitchPageSign=b.menuLevel+1>=gFtpSwitchPageIndex.length?0:gFtpSwitchPageSign}b.initCallBack(LoadPageIndex["stageMenu"+
b.menuLevel])}else d.childNodes[0].onclick();0!=b.menuConId.length&&(d=new NiceScroll(b.menuConId),d.scrollTipOpacity(1),d.scrollTipSet(b.niceScrollStyles),d.init(),d.scrollTo(0))},menuTool_BC.prototype.menuLoad=function(a,b,d,c){var e=this.menuOption,g=id(e.conId);!0==isIESix&&(g.style.height="");!0==d?(d=a.split("."),!1==isIESix&&(g.innerHTML=""),gLoadType==LOADHELPTYPE?null!=id(d[0])?g.innerHTML=id(d[0]).outerHTML:c==MEMU_LEAF?g.innerHTML=id(HELP_TIP_ID).outerHTML:loadPage(a,e.conId,function(){"function"==
typeof b&&b(a)}):loadPage(a,e.conId,function(){"function"==typeof b&&b(a)})):"function"==typeof b&&b(a)},menuTool_BC.prototype.menuClick=function(a,b,d,c){for(var e=this.menuOption,g=e.menuClickCallBack,f=id(e.menuUlId).childNodes,h,k,m=!0,p=e.menuClickPreHd,l=0,n=0,q=f.length;n<q;n++)if(h=f[n],1!=h.nodeType||"li"!=h.tagName.toLowerCase())l++;else if(h.id==b)if(h.className="menuLiClick menuLiClick_"+h.id,k=h,gLoadType==LOADPAGETYPE)for(LoadPageIndex["stageMenu"+e.menuLevel]=n-l,h=e.menuLevel+1;h<
TOTALLEVEL;h++)LoadPageIndex["stageMenu"+h]=-1;else LoadPageIndex["stageMenu"+e.menuLevel]=-1;else h.className="menuLi menuLi_"+h.id;void 0==k||"function"==typeof p&&!0!=p({url:a,id:b,load:c})||(!1===e.loadNewPage?(m=!1,!0===e.menuList[b].loadNewPage&&(m=!0)):!0===e.loadNewPage&&(m=!0,!1===e.menuList[b].loadNewPage&&(m=!1)),this.menuLoad(a,function(){"function"==typeof basicPHAutoFit&&basicPHAutoFit();"function"==typeof g&&g({url:a,id:b})},m,d))})}
function menuInit_Basic(){var a=id("basicCon"),b=new menuTool_BC;$.moduleSpec=void 0==$.moduleSpec?{}:$.moduleSpec;$.detectionCapability=void 0==$.detectionCapability?{}:$.detectionCapability;gLoadType==LOADPAGETYPE&&LoadPageIndex.init();b.init({menuUlId:"basicMenuUl",conId:"basicCon",menuList:$.group==GROUP_GUEST?{basic_preview_rsMenu:{value:menuStr.preview,className:"",type:MEMU_LEAF,url:"BasicPreview.htm"}}:{basic_preview_rsMenu:{value:menuStr.preview,className:"",type:MEMU_LEAF,url:"BasicPreview.htm"},
basic_info_rsMenu:{value:menuStr.info,className:"",url:"",load:function(){!0==isIESix&&(document.body.style.height="auto");a.innerHTML='<div class="basicConL"><ul id="infoMenuS" class="menuS"></ul></div><fieldset style="overflow-y:auto;"><div id="infoCon" class="basicConR1" style="margin-top:16px;margin-right:40px;position:relative;"></div></fieldset>';menuInit_Info_S()}},basic_conf_rsMenu:{value:menuStr.configure,className:"",url:"",load:function(){!0==isIESix&&(document.body.style.height="auto");
a.innerHTML='<div class="basicConL"><ul id="confMenuS" class="menuS"></ul></div><fieldset style="overflow-y:auto;"><div id="confCon" class="basicConR1" style="margin-top:16px;margin-right:40px;position:relative;"></div></fieldset>';menuInit_conf_S()}}},menuLevel:0,initCallBack:function(a){if(-1==a||void 0==a)a=0;gBasicMenuUl.childNodes[a].onclick()},menuClickPreHd:function(a){try{"BasicPreview.htm"==a.url&&basicResizeArrRemove("basicPreview")}catch(b){}return"function"==typeof a.load?(a.load(),!1):
!0}})}
function menuInit_Info_S(){var a=id("infoCon"),b={info_syslog_rsMenu:{value:menuStr.syslog,className:"",url:"",load:function(){a.innerHTML='<ul id="infoSyslogUlSSS" class="menuSSS"></ul><div id="infoSyslogCon" class="menuSSSCon"></div>';menuInit_info_syslog_SSS({menuId:"infoSyslogUlSSS",conId:"infoSyslogCon"})}},info_sysInfo_rsMenu:{value:menuStr.sysInfo,className:"",url:"",load:function(){a.innerHTML='<ul id="infoSysInfoUlSSS" class="menuSSS"></ul><div id="infoSysInfoCon" class="menuSSSCon"></div>';menuInit_info_sysInfo_SSS({menuId:"infoSysInfoUlSSS",
conId:"infoSysInfoCon"})}}};(new menuTool_BC).init({menuUlId:"infoMenuS",conId:"infoCon",menuList:b,menuLevel:1,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(this.menuUlId).childNodes[a].onclick()},menuClickPreHd:function(a){if("info_syslog_rsMenu"==a.id&&"function"==typeof a.load)return a.load(),!1;b.info_sysInfo_rsMenu.load();return!1}})}
function menuInit_conf_S(){function a(a){var e=id(a.menuUlId);null!=l&&l!=e&&(l.style.display="none");null==e?(e=document.createElement("ul"),e.id=a.menuUlId,e.className="menuSS",$("#"+a.menuConId).after(e),a.menuTool.init({menuUlId:a.menuUlId,conId:"confCon",menuLevel:2,menuList:a.menuList,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;e.childNodes[a].onclick()},menuClickPreHd:function(a){return"function"==typeof a.load?(a.load(),!1):!0}})):(e.style.display="",e.childNodes[0].onclick());
l=e}var b=id("confCon"),d={conf_camera_rsMenu:{value:menuStr.camera,className:"",url:""},conf_ptz_rsMenu:{status:$.BSHOWPTZCTRL,value:menuStr.PTZ,className:"",url:""},conf_event_rsMenu:{value:menuStr.event,className:"",url:""},conf_power_rsMenu:{status:Boolean($.lowPowerCapability||$.batteryCapability),value:menuStr.lowPowerSet,className:"",url:""},conf_storage_rsMenu:{value:menuStr.storage,className:"",url:""},conf_network_rsMenu:{value:menuStr.network,className:"",url:""},conf_module4G_rsMenu:{status:Boolean(1==
parseInt($.moduleSpec.lte)),value:menuStr.module4G,className:"",url:""},conf_cloud_rsMenu:{value:menuStr.cloudService,className:"",url:"",load:function(){b.innerHTML='<ul id="confCloudServiceUlSSS" class="menuSSS"></ul><div id="confCloudServiceCon" class="menuSSSCon"></div>';menuInit_conf_cloud_SSS({menuId:"confCloudServiceUlSSS",conId:"confCloudServiceCon"})}},conf_sys_rsMenu:{value:menuStr.system,className:"",url:""}},c={conf_camera_play_rsMenu:{value:menuStr.display,className:"",url:"",load:function(){b.innerHTML=
'<ul id="confCameraDisplayUlSSS" class="menuSSS"></ul><div id="confCameraDisplayCon" class="menuSSSCon"></div>';menuInit_conf_camera_SSS()}},conf_camera_code_rsMenu:{value:menuStr.codeStream,className:"",url:"",load:function(){b.innerHTML='<ul id="confStreamDisplayUlSSS" class="menuSSS"></ul><div id="confStreamDisplayCon" class="menuSSSCon"></div>';menuInit_conf_stream_SSS()}}};if($.BSHOWPTZCTRL)var e={conf_ptz_basicSet_rsMenu:{value:menuStr.basicSet,className:"",url:"",load:function(){b.innerHTML=
'<ul id="confPTZBasicSetUlSSS" class="menuSSS"></ul><div id="confPTZBasicSetCon" class="menuSSSCon"></div>';menuInit_conf_ptz_basicSet_SSS({menuId:"confPTZBasicSetUlSSS",conId:"confPTZBasicSetCon"})}},conf_ptz_limit_rsMenu:{status:1==parseInt($.ptzCapability.limit_supported)?!0:!1,value:menuStr.limit,className:"",url:"",load:function(){b.innerHTML='<ul id="confPTZLimitUlSSS" class="menuSSS"></ul><div id="confPTZLimitCon" class="menuSSSCon"></div>';menuInit_conf_ptz_limit_SSS({menuId:"confPTZLimitUlSSS",
conId:"confPTZLimitCon"})}},conf_ptz_zeroAzimuth_rsMenu:{status:"configurable"==$.ptzCapability.home_position_mode?!0:!1,value:menuStr.zeroAzimuth,className:"",url:"",load:function(){b.innerHTML='<ul id="confPTZeroAzimuthUlSSS" class="menuSSS"></ul><div id="confPTZeroAzimuthCon" class="menuSSSCon"></div>';menuInit_conf_ptz_zeroAzimuth_SSS({menuId:"confPTZeroAzimuthUlSSS",conId:"confPTZeroAzimuthCon"})}},conf_ptz_watch_rsMenu:{status:1==parseInt($.ptzCapability.park_supported)?!0:!1,value:menuStr.watch,
className:"",url:"",load:function(){b.innerHTML='<ul id="confPTZWatchUlSSS" class="menuSSS"></ul><div id="confPTZWatchCon" class="menuSSSCon"></div>';menuInit_conf_ptz_watch_SSS({menuId:"confPTZWatchUlSSS",conId:"confPTZWatchCon"})}},conf_ptz_timingTask_rsMenu:{status:1==parseInt($.ptzCapability.plan_supported)?!0:!1,value:menuStr.timingTask,className:"",url:"",load:function(){b.innerHTML='<ul id="confPTZTimingTaskUlSSS" class="menuSSS"></ul><div id="confPTZTimingTaskCon" class="menuSSSCon"></div>';
menuInit_conf_ptz_timingTask_SSS({menuId:"confPTZTimingTaskUlSSS",conId:"confPTZTimingTaskCon"})}},conf_ptz_clearConf_rsMenu:{value:menuStr.clearConf,className:"",url:"",load:function(){b.innerHTML='<ul id="confPTZClearConfUlSSS" class="menuSSS"></ul><div id="confPTZClearConfCon" class="menuSSSCon"></div>';menuInit_conf_ptz_clearConf_SSS({menuId:"confPTZClearConfUlSSS",conId:"confPTZClearConfCon"})}},conf_ptz_smartTragetTrack_rsMenu:{status:"undefined"!=typeof web_module_spec&&1==parseInt(web_module_spec.smart_target_track)?
!0:!1,value:menuStr.smartTargetTrack,className:"",url:"",load:function(){b.innerHTML='<ul id="confPTSmartTargetTrackUlSSS" class="menuSSS"></ul><div id="confPTSmartTargetTrackCon" class="menuSSSCon"></div>';menuInit_conf_ptz_smartTargetTrack_SSS({menuId:"confPTSmartTargetTrackUlSSS",conId:"confPTSmartTargetTrackCon"})}}};var g={conf_sto_video_plan_rsMenu:{status:Boolean(1==parseInt($.moduleSpec.local_storage)),value:menuStr.videoPlan,className:"",url:"",load:function(){b.innerHTML='<ul id="confStorageRecorPlanUlSSS" class="menuSSS"></ul><div id="confStorageRecorPlanCon" class="menuSSSCon"></div>';
menuInit_conf_record_plan_SSS()}},conf_sto_picture_plan_rsMenu:{status:Boolean(1==parseInt($.moduleSpec.capture_enable)),value:menuStr.picturePlan,className:"",url:"",load:function(){b.innerHTML='<ul id="confPicturePlanUlSSS" class="menuSSS"></ul><div id="confPicturePlanCon" class="menuSSSCon"></div>';menuInit_conf_picture_plan_SSS()}},conf_sto_disk_rsMenu:{status:Boolean(1==parseInt($.moduleSpec.local_storage)),value:menuStr.storageManage,className:"",url:"",load:function(){b.innerHTML='<ul id="confStorageStorageUlSSS" class="menuSSS"></ul><div id="confStorageStorageCon" class="menuSSSCon"></div>';
menuInit_conf_storage_SSS()}},conf_sto_local_rsMenu:{value:menuStr.localStorage,className:"",url:"",load:function(){b.innerHTML='<ul id="conflocalStorageUlSSS" class="menuSSS"></ul><div id="conflocalStorageCon" class="menuSSSCon"></div>';menuInit_conf_local_storage_SSS()}}},f={conf_event_vedio_rsMenu:{value:menuStr.vedioCheck,className:"",url:"",load:function(){b.innerHTML='<ul id="confVideoDetectionUlSSS" class="menuSSS"></ul><div id="confVideoDetectionCon" class="menuSSSCon"></div>';menuInit_conf_video_detection_SSS({menuId:"confVideoDetectionUlSSS",
conId:"confVideoDetectionCon"})}},conf_event_intelligent_rsMenu:{status:Boolean(1==parseInt($.moduleSpec.smart_detection)),value:menuStr.intelligentCheck,className:"",url:"",load:function(){b.innerHTML='<ul id="confIntelligentCheckUlSSS" class="line"></ul><div id="confIntelligentCheckCon" class="menuSSSCon"></div>';menuInit_conf_intelli_Check_SSS({menuId:"confIntelligentCheckUlSSS",conId:"confIntelligentCheckCon"})}},conf_event_pirdet_rsMenu:{value:menuStr.pirDetection,status:Boolean(1==parseInt($.smartDetection.pir_detection)),
className:"",url:"",load:function(){b.innerHTML='<ul id="confPirDetUlSSS" class="menuSSS"></ul><div id="confPirDetCon" class="menuSSSCon"></div>';menuInit_conf_pirdet_SSS({menuId:"confPirDetUlSSS",conId:"confPirDetCon"})}},conf_event_alarm_rsMenu:{value:menuStr.alarmDevice,status:Boolean(1==parseInt($.moduleSpec.alarm_in_enable)||1==parseInt($.moduleSpec.alarm_out_enable)||$.moduleSpec.msg_alarm_separate_list&&0<$.moduleSpec.msg_alarm_separate_list.length),className:"",url:"",load:function(){b.innerHTML=
'<ul id="confAlarmUlSSS" class="menuSSS"></ul><div id="confAlarmCon" class="menuSSSCon"></div>';menuInit_conf_alarm_SSS({menuId:"confAlarmUlSSS",conId:"confAlarmCon"})}},conf_event_exception_rsMenu:{value:menuStr.exceptionCheck,className:"",url:"",load:function(){b.innerHTML='<ul id="confExpDetectionUlSSS" class="menuSSS"></ul><div id="confExpDetectionCon" class="menuSSSCon"></div>';menuInit_conf_exp_detection_SSS({menuId:"confExpDetectionUlSSS",conId:"confExpDetectionCon"})}}},h={conf_low_power_mode_rsMenu:{status:Boolean($.lowPowerCapability),
value:menuStr.lowPowerMode,className:"",url:"",load:function(){b.innerHTML='<ul id="confLowPoserModeUlSSS" class="menuSSS"></ul><div id="confLowPoserModeCon" class="menuSSSCon"></div>';menuInit_low_power_mode_SSS({menuId:"confLowPoserModeUlSSS",conId:"confLowPoserModeCon"})}},conf_battery_info_rsMenu:{status:Boolean($.batteryCapability),value:menuStr.batteryInfo,className:"",url:"",load:function(){b.innerHTML='<ul id="confBatteryInfoUlSSS" class="menuSSS"></ul><div id="confBatteryInfoCon" class="menuSSSCon"></div>';
menuInit_battery_info_SSS({menuId:"confBatteryInfoUlSSS",conId:"confBatteryInfoCon"})}}},k={conf_network_tcpip_rsMenu:{value:menuStr.connect,className:"",url:"",load:function(){b.innerHTML='<ul id="confNwConnectUlSSS" class="menuSSS"></ul><div id="confNwConnectCon" class="menuSSSCon"></div>';menuInit_conf_nw_connect_SSS({menuId:"confNwConnectUlSSS",conId:"confNwConnectCon"})}},conf_network_port_rsMenu:{value:menuStr.port,className:"",url:"",load:function(){b.innerHTML='<ul id="confNwPortUlSSS" class="menuSSS"></ul><div id="confNwPortCon" class="menuSSSCon"></div>';
menuInit_conf_nw_port_SSS({menuId:"confNwPortUlSSS",conId:"confNwPortCon"})}},conf_network_platform_rsMenu:{status:Boolean(1==parseInt($.moduleSpec.tums)||1==parseInt($.moduleSpec.gb28181)),value:menuStr.platformConnect,className:"",url:"",load:function(){b.innerHTML='<ul id="confNwPlatformUlSSS" class="menuSSS"></ul><div id="confNwPlatformCon" class="menuSSSCon"></div>';menuInit_conf_nw_platform_SSS({menuId:"confNwPlatformUlSSS",conId:"confNwPlatformCon"})}},conf_network_advancedConfig_rsMenu:{status:Boolean(1==
parseInt($.moduleSpec.ftp_client)),value:menuStr.advancedConfig,className:"",url:"",load:function(){b.innerHTML='<ul id="confNwAdvancedConfigUlSSS" class="menuSSS"></ul><div id="confNwAdvancedConfigCon" class="menuSSSCon"></div>';menuInit_conf_nw_advancedConfig_SSS({menuId:"confNwAdvancedConfigUlSSS",conId:"confNwAdvancedConfigCon"})}},conf_network_multicast_rsMenu:{status:HIDE,value:menuStr.multicast,className:"",url:"",load:function(){b.innerHTML='<ul id="confNwMulticastUlSSS" class="menuSSS"></ul><div id="confNwMulticastCon" class="menuSSSCon"></div>';
menuInit_conf_nw_multicast_SSS({menuId:"confNwMulticastUlSSS",conId:"confNwMulticastCon"})}}},m={conf_net4g_State_rsMenu:{value:menuStr.netState,className:"",url:"",load:function(){b.innerHTML='<ul id="confNet4gStateUlSSS" class="menuSSS"></ul><div id="confNet4gStateCon" class="menuSSSCon"></div>';menuInit_conf_net4g_state_SSS({menuId:"confNet4gStateUlSSS",conId:"confNet4gStateCon"})}},conf_net4g_data_rsMenu:{value:menuStr.netConf,className:"",url:"",load:function(){b.innerHTML='<ul id="confNet4gDataUlSSS" class="menuSSS"></ul><div id="confNet4gDataCon" class="menuSSSCon"></div>';
menuInit_conf_net4g_data_SSS({menuId:"confNet4gDataUlSSS",conId:"confNet4gDataCon"})}},conf_net4g_baseinfo_rsMenu:{status:1==parseInt($.moduleSpec.lte),value:menuStr.basicInfo,className:"",url:"",load:function(){b.innerHTML='<ul id="confNet4gBaseinfoUlSSS" class="menuSSS"></ul><div id="confNet4gBaseinfoCon" class="menuSSSCon"></div>';menuInit_conf_net4g_baseinfo_SSS({menuId:"confNet4gBaseinfoUlSSS",conId:"confNet4gBaseinfoCon"})}}},p={conf_system_basicSet_rsMenu:{value:menuStr.basicSet,className:"",
url:"",load:function(){b.innerHTML='<ul id="confSysBasicSettingUlSSS" class="menuSSS"></ul><div id="confSysBasicSettingCon" class="menuSSSCon"></div>';menuInit_conf_sys_bcsetting_SSS({menuId:"confSysBasicSettingUlSSS",conId:"confSysBasicSettingCon"})}},conf_system_manager_rsMenu:{value:menuStr.manager,className:"",url:"",load:function(){b.innerHTML='<ul id="confSysManagerUlSSS" class="menuSSS"></ul><div id="confSysManagerCon" class="menuSSSCon"></div>';menuInit_conf_sys_manager_SSS({menuId:"confSysManagerUlSSS",
conId:"confSysManagerCon"})}},conf_system_systemSet_rsMenu:{value:menuStr.systemSet,className:"",url:"",load:function(){b.innerHTML='<ul id="confSysSettingUlSSS" class="menuSSS"></ul><div id="confSysSettingCon" class="menuSSSCon"></div>';menuInit_conf_sys_setting_SSS({menuId:"confSysSettingUlSSS",conId:"confSysSettingCon"})}}},l=null,n=new menuTool_BC,q=new menuTool_BC,s=new menuTool_BC,t=new menuTool_BC,u=new menuTool_BC,v=new menuTool_BC,w=new menuTool_BC,x=new menuTool_BC;new menuTool_BC;var y=
new menuTool_BC,r={conf_camera_rsMenu:function(e){a({menuList:c,menuUlId:"confCameraUl",menuTool:q,menuConId:e})},conf_ptz_rsMenu:function(b){a({menuList:e,menuUlId:"confPTZUl",menuTool:s,menuConId:b})},conf_storage_rsMenu:function(e){a({menuList:g,menuUlId:"confStorageUl",menuTool:t,menuConId:e})},conf_event_rsMenu:function(e){a({menuList:f,menuUlId:"confEventUl",menuTool:u,menuConId:e})},conf_power_rsMenu:function(e){a({menuList:h,menuUlId:"confPowerUl",menuTool:v,menuConId:e})},conf_network_rsMenu:function(e){a({menuList:k,
menuUlId:"confNetworkUl",menuTool:w,menuConId:e})},conf_module4G_rsMenu:function(e){a({menuList:m,menuUlId:"confModule4GUl",menuTool:x,menuConId:e})},conf_sys_rsMenu:function(e){a({menuList:p,menuUlId:"confSystemUl",menuTool:y,menuConId:e})}};if(void 0!=$.moduleSpec&&void 0!=$.moduleSpec.ai_enhance_range&&-1!=$.inArray(uciFunction.optValue.face_enhance,$.moduleSpec.ai_enhance_range)&&1<=parseInt($.AIEnhanceCapability[uciFunction.optValue.face_enhance][uciAiEnhanceCapability.optName.fssEnhanceVer])){var z=
new menuTool_BC,A={conf_fss_rule_rsMenu:{value:menuStr.fssRule,className:"",type:MEMU_LEAF,url:"",load:function(){b.innerHTML='<ul id="confFaceSnapShotRuleUlSSS" class="menuSSS"></ul><div id="confFaceSnapShotRuleCon" class="menuSSSCon"></div>';menuInit_conf_fss_rule_SSS()}},conf_fss_info_rsMenu:{value:menuStr.snapshotInfo,className:"",type:MEMU_LEAF,url:"",load:function(){b.innerHTML='<ul id="confFaceSnapShotInfoUlSSS" class="menuSSS"></ul><div id="confFaceSnapShotInfoCon" class="menuSSSCon"></div>';
menuInit_conf_fss_info_SSS()}},conf_face_snapshot_advance_rsMenu:{value:menuStr.advance,className:"",url:"",load:function(){b.innerHTML='<ul id="confFaceSnapShotAdvanceUlSSS" class="menuSSS"></ul><div id="confFaceSnapShotAdanceCon" class="menuSSSCon"></div>';menuInit_conf_fss_advance_SSS()}}};d.conf_face_snapshot_rsMenu={value:menuStr.faceSnapShot,className:"",url:""};r.conf_face_snapshot_rsMenu=function(e){a({menuList:A,menuUlId:"confFaceSnapShotUl",menuTool:z,menuConId:e})}}n.init({menuUlId:"confMenuS",
conId:"confCon",menuList:d,menuLevel:1,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(this.menuUlId).childNodes[a].onclick()},menuClickPreHd:function(a){if("conf_cloud_rsMenu"==a.id&&(null!=l&&(l.style.display="none"),"function"==typeof a.load))return a.load(),!1;r[a.id](a.id);return!1}})}
function menuInit_info_syslog_SSS(a){var b={info_info_syslog_rsMenu:{value:menuStr.syslog,className:"",type:MEMU_LEAF,url:"SysLog.htm"}},d=new menuTool_BC,c=void 0!=a.menuId?a.menuId:"menuId";d.init({menuUlId:c,conId:void 0!=a.conId?a.conId:"conId",menuLevel:3,menuList:b,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(c).childNodes[a].onclick()}})}
function menuInit_info_sysInfo_SSS(a){var b={info_info_sysInfo_rsMenu:{value:menuStr.sysInfo,className:"",type:MEMU_LEAF,url:"SysInfo.htm"}},d=new menuTool_BC,c=void 0!=a.menuId?a.menuId:"menuId";d.init({menuUlId:c,conId:void 0!=a.conId?a.conId:"conId",menuLevel:3,menuList:b,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(c).childNodes[a].onclick()}})}
function menuInit_conf_camera_SSS(){var a={info_conf_camera_image_rsMenu:{value:menuStr.image,className:"",type:MEMU_LEAF,url:"ConfCameraDisplayPic.htm"},info_conf_camera_OSD_rsMenu:{value:menuStr.OSD,className:"",type:MEMU_LEAF,url:"ConfOSD.htm"},info_conf_camera_coverRange_rsMenu:{status:2!=$.privacy_mask_api_version?!0:!1,value:menuStr.coverRange,className:"",type:MEMU_LEAF,url:"ConfCameraCover.htm"},info_conf_camera_privacyMask_rsMenu:{status:2==$.privacy_mask_api_version?!0:!1,value:menuStr.privacyMask,
className:"",type:MEMU_LEAF,url:"ConfCameraPrivacyMask.htm"}};(new menuTool_BC).init({menuUlId:"confCameraDisplayUlSSS",conId:"confCameraDisplayCon",menuLevel:3,menuList:a,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(this.menuUlId).childNodes[a].onclick()}})}
function menuInit_conf_stream_SSS(){var a={info_conf_stream_video_rsMenu:{value:menuStr.video,className:"",type:MEMU_LEAF,url:"ConfCameraStreamVedio.htm"},info_conf_stream_audio_rsMenu:{status:Boolean($.moduleSpec.audio),value:menuStr.audio,className:"",type:MEMU_LEAF,url:"ConfCameraStreamAudio.htm"},info_conf_stream_ROI_rsMenu:{status:HIDE,value:menuStr.ROI,className:"",type:MEMU_LEAF,url:"ConfCameraStreamRoi.htm"}};(new menuTool_BC).init({menuUlId:"confStreamDisplayUlSSS",conId:"confStreamDisplayCon",
menuLevel:3,menuList:a,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(this.menuUlId).childNodes[a].onclick()}})}
function menuInit_conf_record_plan_SSS(){var a={info_storage_record_parameter_rsMenu:{value:menuStr.videoPlan,className:"",type:MEMU_LEAF,url:"ConfLocalStorageRecordPlan.htm"}};(new menuTool_BC).init({menuUlId:"confStorageRecorPlanUlSSS",conId:"confStorageRecorPlanCon",menuLevel:3,menuList:a,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(this.menuUlId).childNodes[a].onclick()}})}
function menuInit_conf_picture_plan_SSS(){var a={info_storage_storage_timing_rsMenu:{value:menuStr.timingPicture,className:"",type:MEMU_LEAF,url:"ConfTimingPicturePlan.htm"},info_storage_picture_event_rsMenu:{value:menuStr.eventPicture,className:"",type:MEMU_LEAF,url:"ConfEventPicturePlan.htm"}};(new menuTool_BC).init({menuUlId:"confPicturePlanUlSSS",conId:"confPicturePlanCon",menuLevel:3,menuList:a,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(this.menuUlId).childNodes[a].onclick()}})}
function menuInit_conf_storage_SSS(){var a={info_storage_storage_disk_rsMenu:{value:menuStr.diskManage,className:"",type:MEMU_LEAF,url:"ConfDiskManage.htm"}};(new menuTool_BC).init({menuUlId:"confStorageStorageUlSSS",conId:"confStorageStorageCon",menuLevel:3,menuList:a,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(this.menuUlId).childNodes[a].onclick()}})}
function menuInit_conf_local_storage_SSS(){var a={info_storage_local_storage_rsMenu:{value:menuStr.localStorage,className:"",type:MEMU_LEAF,url:"ConfLocalStorage.htm"}};(new menuTool_BC).init({menuUlId:"conflocalStorageUlSSS",conId:"conflocalStorageCon",menuLevel:3,menuList:a,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(this.menuUlId).childNodes[a].onclick()}})}
function menuInit_conf_exp_detection_SSS(a){var b={info_conf_exp_visit_detection_rsMenu:{value:menuStr.accessException,className:"",type:MEMU_LEAF,url:"ConfExcetptionDetection.htm"}},d=new menuTool_BC,c=void 0!=a.menuId?a.menuId:"menuId";d.init({menuUlId:c,conId:void 0!=a.conId?a.conId:"conId",menuLevel:3,menuList:b,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(c).childNodes[a].onclick()}})}
function menuInit_low_power_mode_SSS(a){var b={info_conf_low_power_mode_rsMenu:{value:menuStr.lowPowerMode,className:"",type:MEMU_LEAF,url:"ConfLowPowerMode.htm"}},d=new menuTool_BC,c=void 0!=a.menuId?a.menuId:"menuId";d.init({menuUlId:c,conId:void 0!=a.conId?a.conId:"conId",menuLevel:3,menuList:b,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(c).childNodes[a].onclick()}})}
function menuInit_battery_info_SSS(a){var b={info_conf_battery_info_rsMenu:{value:menuStr.batteryInfo,className:"",type:MEMU_LEAF,url:"ConfBatteryInfo.htm"}},d=new menuTool_BC,c=void 0!=a.menuId?a.menuId:"menuId";d.init({menuUlId:c,conId:void 0!=a.conId?a.conId:"conId",menuLevel:3,menuList:b,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(c).childNodes[a].onclick()}})}
function menuInit_conf_sys_bcsetting_SSS(a){var b={info_conf_sys_basic_setting_manage_rsMenu:{value:menuStr.basicSet,className:"",type:MEMU_LEAF,url:"ConfSysBasicSettingDetail.htm"},info_conf_sys_basic_setting_upgrate_rsMenu:{value:menuStr.timeDate,className:"",type:MEMU_LEAF,url:"ConfSysBasicSettingTime.htm"}},d=new menuTool_BC,c=void 0!=a.menuId?a.menuId:"menuId";d.init({menuUlId:c,conId:void 0!=a.conId?a.conId:"conId",menuLevel:3,menuList:b,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=
0;id(c).childNodes[a].onclick()}})}function menuInit_conf_sys_manager_SSS(a){var b={info_conf_sysManager_rsMenu:{value:menuStr.manager,className:"",type:MEMU_LEAF,url:"ConfSysUserMgt.htm"}},d=new menuTool_BC,c=void 0!=a.menuId?a.menuId:"menuId";d.init({menuUlId:c,conId:void 0!=a.conId?a.conId:"conId",menuLevel:3,menuList:b,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(c).childNodes[a].onclick()}})}
function menuInit_conf_sys_setting_SSS(a){var b={info_conf_sys_setting_manage_rsMenu:{value:menuStr.sysConfManage,className:"",type:MEMU_LEAF,url:"SysConf.htm"},info_conf_sys_setting_upgrate_rsMenu:{value:menuStr.swUpgrate,className:"",type:MEMU_LEAF,url:"SysUpgrade.htm"},info_conf_sys_upgrade_aifw_up:{value:menuStr.aifwUpgrade,className:"",type:MEMU_LEAF,url:"SysAiUpgrade.htm"},info_conf_sys_setting_maintain_rsMenu:{value:menuStr.sysMaintain,className:"",type:MEMU_LEAF,url:"ConfSysSettingMaintaining.htm"},
info_conf_sys_setting_diagnose_rsMenu:{status:Boolean(1==parseInt($.moduleSpec.diagnose)),value:menuStr.diagnostic,className:"",type:MEMU_LEAF,url:"ConfDnManualOrFast.htm"},info_conf_sys_basic_setting_intelligent_rsMenu:{status:Boolean($.detectionCapability&&1==parseInt($.detectionCapability[uciDetectionCapability.optName.detectionMutexCapability])),value:menuStr.intelligentResChange,className:"",type:MEMU_LEAF,url:"ConfSysIntelligent.htm"},info_conf_sys_setting_rs485_rsMenu:{status:Boolean(1==parseInt($.moduleSpec.rs485_capability)),
value:menuStr.rs485,className:"",type:MEMU_LEAF,url:"ConfSysRS485.htm"}},d=new menuTool_BC,c=void 0!=a.menuId?a.menuId:"menuId";d.init({menuUlId:c,conId:void 0!=a.conId?a.conId:"conId",menuLevel:3,menuList:b,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(c).childNodes[a].onclick()}})}
function menuInit_conf_video_detection_SSS(a){var b={info_conf_video_motion_detection_rsMenu:{value:menuStr.motionDetection,className:"",type:MEMU_LEAF,url:"ConfVideoMotionDetection.htm"},info_conf_video_tamper_detection_rsMenu:{value:menuStr.tamperDetection,className:"",type:MEMU_LEAF,url:"ConfVideoTamperDetection.htm"},info_conf_smart_data_rsMenu:{status:Boolean($.smartDetection&&1==parseInt($.smartDetection.smart_data)),value:menuStr.smartData,className:"",type:MEMU_LEAF,url:"ConfSmartData.htm"}},
d=new menuTool_BC,c=void 0!=a.menuId?a.menuId:"menuId";d.init({menuUlId:c,conId:void 0!=a.conId?a.conId:"conId",menuLevel:3,menuList:b,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(c).childNodes[a].onclick()}})}
function menuInit_conf_pirdet_SSS(a){var b={info_conf_pirdet_rsMenu:{status:Boolean(1==parseInt($.smartDetection.pir_detection)),value:menuStr.pirDetection,className:"",type:MEMU_LEAF,url:"ConfPirDetection.htm"}},d=new menuTool_BC,c=void 0!=a.menuId?a.menuId:"menuId";d.init({menuUlId:c,conId:void 0!=a.conId?a.conId:"conId",menuLevel:3,menuList:b,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(c).childNodes[a].onclick()}})}
function menuInit_conf_alarm_SSS(a){var b={info_conf_alarm_in_rsMenu:{status:Boolean(1==parseInt($.moduleSpec.alarm_in_enable)),value:menuStr.alarmInDetection,className:"",type:MEMU_LEAF,url:"ConfAlarmIn.htm"},info_conf_alarm_out_rsMenu:{status:Boolean(1==parseInt($.moduleSpec.alarm_out_enable)),value:menuStr.alarmOutDetection,className:"",type:MEMU_LEAF,url:"ConfAlarmOut.htm"},info_conf_alarm_light_rsMenu:{value:menuStr.alarmLight,status:Boolean($.moduleSpec.msg_alarm_separate_list&&0<=$.inArray("light",
$.moduleSpec.msg_alarm_separate_list)),className:"",type:MEMU_LEAF,url:"ConfAlarmLight.htm"},info_conf_alarm_sound_rsMenu:{value:menuStr.alarmSound,status:Boolean($.moduleSpec.msg_alarm_separate_list&&0<=$.inArray("sound",$.moduleSpec.msg_alarm_separate_list)),className:"",type:MEMU_LEAF,url:"ConfAlarmSound.htm"}},d=new menuTool_BC,c=void 0!=a.menuId?a.menuId:"menuId";d.init({menuUlId:c,conId:void 0!=a.conId?a.conId:"conId",menuLevel:3,menuList:b,initCallBack:function(a){if(-1==a||void 0==a||null==
a)a=0;id(c).childNodes[a].onclick()}})}
function getSmartDetectionList(){var a=[{str:menuStr.lineCrossingDetection,value:"lineCrossingDetection",uciName:"linecrossing_detection"},{str:menuStr.intrusionDetection,value:"intrusionDetection",uciName:"intrusion_detection"},{str:menuStr.regionEntranceDetection,value:"regionEntranceDetection",uciName:"regionentrance_detection"},{str:menuStr.regionExitingDetection,value:"regionExitingDetection",uciName:"regionexiting_detection"},{str:menuStr.abandonandTakenDetection,value:"abandonandTakenDetection",
uciName:"abandonandtaken_detection"},{str:menuStr.parkingDetection,value:"parkingDetection",uciName:"parking_detection"},{str:menuStr.fastMovingDetection,value:"fastMovingDetection",uciName:"fastmoving_detection"},{str:menuStr.loiteringDetection,value:"loiteringDetection",uciName:"loitering_detection"},{str:menuStr.gatheringDetection,value:"gatheringDetection",uciName:"gathering_detection"},{str:menuStr.peopleDetection,value:"peopleDetection",uciName:"people_detection"},{str:menuStr.vehicleDetection,
value:"vehicleDetection",uciName:"vehicle_detection"},{str:menuStr.defocusDetection,value:"defocusDetection",uciName:"defocus_detection"},{str:menuStr.sceneChangeDetection,value:"sceneChangeDetection",uciName:"scenechange_detection"},{str:menuStr.audioAbnormal,value:"audioAbnormal",uciName:"audioexception_detection"},{str:menuStr.FallingobjectDetection,value:"fallingObjectDetection",uciName:"fallingobject_detection"}],b=[];if($.smartDetection)for(var d=0;d<a.length;d++)1==parseInt($.smartDetection[a[d].uciName])&&
b.push(a[d]);return b}
function menuInit_conf_intelli_Check_SSS(a){function b(){"function"==typeof basicPHAutoFit&&basicPHAutoFit()}function d(a){var c=id(e),d;!0==isIESix&&(c.style.height="");switch(a){case "lineCrossingDetection":d="ConfSmartLineCrossingDetection.htm";break;case "intrusionDetection":d="ConfSmartIntrusionDetection.htm";break;case "regionEntranceDetection":d="ConfSmartRegionEntranceDetection.htm";break;case "regionExitingDetection":d="ConfSmartRegionExitingDetection.htm";break;case "abandonandTakenDetection":d="ConfSmartAbandonandTakenDetection.htm";
break;case "parkingDetection":d="ConfSmartParkingDetection.htm";break;case "fastMovingDetection":d="ConfSmartFastMovingDetection.htm";break;case "loiteringDetection":d="ConfSmartLoiteringDetection.htm";break;case "gatheringDetection":d="ConfSmartGatheringDetection.htm";break;case "peopleDetection":d="ConfSmartPeopleDetection.htm";break;case "vehicleDetection":d="ConfSmartVehicleDetection.htm";break;case "defocusDetection":d="ConfSmartDefocusDetection.htm";break;case "sceneChangeDetection":d="ConfSmartSceneChangeDetection.htm";
break;case "audioAbnormal":d="ConfSmartAudioExceptionDetection.htm";break;case "fallingObjectDetection":d="ConfSmartFallingobjectDetection.htm"}a=d.split(".");c.innerHTML="";gLoadType==LOADHELPTYPE?null!=id(a[0])?c.innerHTML=id(a[0]).outerHTML:type==MEMU_LEAF?c.innerHTML=id(HELP_TIP_ID).outerHTML:loadPage(d,e,function(){"function"==typeof b&&b(d)}):loadPage(d,e,function(){"function"==typeof b&&b(d)})}var c=void 0!=a.menuId?a.menuId:"menuId",e=void 0!=a.conId?a.conId:"conId";a=getSmartDetectionList();
var g=id(c);g.className="line confIntelligentTop";g.innerHTML="";if(isIESix||isIESeven)g.style.height="32px";c=document.createElement("li");c.className="line";g.appendChild(c);var f=document.createElement("span");f.className="selCon IEPZD";if(isIESix||isIESeven)f.style.width="194px";c.appendChild(f);var h=document.createElement("span");h.id="eventSel";h.className="select";f.appendChild(h);f=document.createElement("span");f.className="value hsValueA";h.appendChild(f);f=document.createElement("iframe");
f.frameborder="0";f.className="intellIframe";f.style.height=30*a.length+"px";c.appendChild(f);f=document.createElement("i");f.className="arrow";h.appendChild(f);c=document.createElement("li");c.className="line";c.style.marginLeft="20px";g.appendChild(c);gLoadType!=LOADHELPTYPE&&(g=document.createElement("div"),g.className="switchCon",g.id="intelligentDetectionSwitch",c.appendChild(g),f=document.createElement("i"),f.className="switchBg",g.appendChild(f),f=document.createElement("i"),f.className="switchBall",
g.appendChild(f),g=document.createElement("label"),g.id="intelligentDetectionSwitchDes",g.className="des desA",g.style.marginLeft="10px",c.appendChild(g));var k=$(".intellIframe"),c=10<a.length?10:a.length;$(k).height(30*c+1);selectInit("eventSel",a,a[0].value,d,void 0,{optHideHd:function(){k.hide()},optHideAllHd:function(){k.hide()},optShowHd:function(){k.show()}});d(a[0].value)}
function menuInit_conf_nw_connect_SSS(a){var b={info_conf_nw_connect_rsMenu:{value:menuStr.netConnect,className:"",type:MEMU_LEAF,url:"ConfNwStaOrDyn.htm"}},d=new menuTool_BC,c=void 0!=a.menuId?a.menuId:"menuId";d.init({menuUlId:c,conId:void 0!=a.conId?a.conId:"conId",menuLevel:3,menuList:b,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(c).childNodes[a].onclick()}})}
function menuInit_conf_nw_port_SSS(a){var b={info_conf_nw_port_rsMenu:{value:menuStr.port,className:"",type:MEMU_LEAF,url:"ConfNetworkPort.htm"}},d=new menuTool_BC,c=void 0!=a.menuId?a.menuId:"menuId";d.init({menuUlId:c,conId:void 0!=a.conId?a.conId:"conId",menuLevel:3,menuList:b,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(c).childNodes[a].onclick()}})}
function menuInit_conf_nw_platform_SSS(a){var b={info_conf_nw_platform_rsMenu:{value:menuStr.platformConnect,className:"",type:MEMU_LEAF,url:"ConfNetworkPlatformConnect.htm"}},d=new menuTool_BC,c=void 0!=a.menuId?a.menuId:"menuId";d.init({menuUlId:c,conId:void 0!=a.conId?a.conId:"conId",menuLevel:3,menuList:b,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(c).childNodes[a].onclick()}})}
function menuInit_conf_nw_multicast_SSS(a){var b={info_conf_nw_multicast_rsMenu:{value:menuStr.multicast,className:"",type:MEMU_LEAF,url:"ConfNetworkMulticast.htm"}},d=new menuTool_BC,c=void 0!=a.menuId?a.menuId:"menuId";d.init({menuUlId:c,conId:void 0!=a.conId?a.conId:"conId",menuLevel:3,menuList:b,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(c).childNodes[a].onclick()}})}
function menuInit_conf_net4g_state_SSS(a){var b={info_conf_net4g_state_rsMenu:{value:menuStr.netState,className:"",type:MEMU_LEAF,url:"Conf4GStatus.htm"}},d=new menuTool_BC,c=void 0!=a.menuId?a.menuId:"menuId";d.init({menuUlId:c,conId:void 0!=a.conId?a.conId:"conId",menuLevel:3,menuList:b,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(c).childNodes[a].onclick()}})}
function menuInit_conf_net4g_data_SSS(a){var b={info_conf_net4g_data_rsMenu:{value:menuStr.netConf,className:"",type:MEMU_LEAF,url:"Conf4GDataSetting.htm"},info_conf_net4g_apn_rsMenu:{value:menuStr.apn,className:"",type:MEMU_LEAF,url:"Conf4GApn.htm"},info_conf_net4g_ping_rsMenu:{value:menuStr.net_detect,className:"",type:MEMU_LEAF,url:"Conf4GNetDet.htm"}},d=new menuTool_BC,c=void 0!=a.menuId?a.menuId:"menuId";d.init({menuUlId:c,conId:void 0!=a.conId?a.conId:"conId",menuLevel:3,menuList:b,initCallBack:function(a){if(-1==
a||void 0==a||null==a)a=0;id(c).childNodes[a].onclick()}})}function menuInit_conf_net4g_power_SSS(a){var b={info_conf_net4g_data_rsMenu:{value:menuStr.powerManager,className:"",type:MEMU_LEAF,url:"Conf4GPowerSetting.htm"}},d=new menuTool_BC,c=void 0!=a.menuId?a.menuId:"menuId";d.init({menuUlId:c,conId:void 0!=a.conId?a.conId:"conId",menuLevel:3,menuList:b,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(c).childNodes[a].onclick()}})}
function menuInit_conf_net4g_baseinfo_SSS(a){var b={info_conf_net4g_data_rsMenu:{value:menuStr.basicInfo,className:"",type:MEMU_LEAF,url:"Conf4GBaseInfo.htm"}},d=new menuTool_BC,c=void 0!=a.menuId?a.menuId:"menuId";d.init({menuUlId:c,conId:void 0!=a.conId?a.conId:"conId",menuLevel:3,menuList:b,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(c).childNodes[a].onclick()}})}
function menuInit_conf_nw_advancedConfig_SSS(a){var b={info_conf_nw_ftp_rsMenu:{status:Boolean(1==parseInt($.moduleSpec.ftp_client)),value:menuStr.Ftp,className:"",type:MEMU_LEAF,url:"ConfNetworkFtp.htm"}},d=new menuTool_BC,c=void 0!=a.menuId?a.menuId:"menuId";d.init({menuUlId:c,conId:void 0!=a.conId?a.conId:"conId",menuLevel:3,menuList:b,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(c).childNodes[a].onclick()}})}
function menuInit_conf_cloud_SSS(a){var b={info_conf_cloud_rsMenu:{value:menuStr.cloudService,className:"",type:MEMU_LEAF,url:"CloudServiceBindID.htm"}},d=new menuTool_BC,c=void 0!=a.menuId?a.menuId:"menuId";d.init({menuUlId:c,conId:void 0!=a.conId?a.conId:"conId",menuLevel:3,menuList:b,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(c).childNodes[a].onclick()}})}
function menuInit_conf_ptz_basicSet_SSS(a){var b={info_conf_ptz_basicSet_rsMenu:{value:menuStr.basicSet,className:"",type:MEMU_LEAF,url:"ConfPTZBasicSet.htm"}},d=new menuTool_BC,c=void 0!=a.menuId?a.menuId:"menuId";d.init({menuUlId:c,conId:void 0!=a.conId?a.conId:"conId",menuLevel:3,menuList:b,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(c).childNodes[a].onclick()}})}
function menuInit_conf_ptz_limit_SSS(a){var b={info_conf_ptz_limit_rsMenu:{value:menuStr.limit,className:"",type:MEMU_LEAF,url:"ConfPTZLimit.htm"}},d=new menuTool_BC,c=void 0!=a.menuId?a.menuId:"menuId";d.init({menuUlId:c,conId:void 0!=a.conId?a.conId:"conId",menuLevel:3,menuList:b,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(c).childNodes[a].onclick()}})}
function menuInit_conf_ptz_zeroAzimuth_SSS(a){var b={info_conf_ptz_zeroAzimuth_rsMenu:{value:menuStr.zeroAzimuth,className:"",type:MEMU_LEAF,url:"ConfPTZZeroAzimuth.htm"}},d=new menuTool_BC,c=void 0!=a.menuId?a.menuId:"menuId";d.init({menuUlId:c,conId:void 0!=a.conId?a.conId:"conId",menuLevel:3,menuList:b,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(c).childNodes[a].onclick()}})}
function menuInit_conf_ptz_watch_SSS(a){var b={info_conf_ptz_watch_rsMenu:{value:menuStr.watch,className:"",type:MEMU_LEAF,url:"ConfPTZWatch.htm"}},d=new menuTool_BC,c=void 0!=a.menuId?a.menuId:"menuId";d.init({menuUlId:c,conId:void 0!=a.conId?a.conId:"conId",menuLevel:3,menuList:b,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(c).childNodes[a].onclick()}})}
function menuInit_conf_ptz_timingTask_SSS(a){var b={info_conf_ptz_timingTask_rsMenu:{value:menuStr.timingTask,className:"",type:MEMU_LEAF,url:"ConfPTZTimingTask.htm"}},d=new menuTool_BC,c=void 0!=a.menuId?a.menuId:"menuId";d.init({menuUlId:c,conId:void 0!=a.conId?a.conId:"conId",menuLevel:3,menuList:b,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(c).childNodes[a].onclick()}})}
function menuInit_conf_ptz_clearConf_SSS(a){var b={info_conf_ptz_clearConf_rsMenu:{value:menuStr.clearConf,className:"",type:MEMU_LEAF,url:"ConfPTZClearConf.htm"}},d=new menuTool_BC,c=void 0!=a.menuId?a.menuId:"menuId";d.init({menuUlId:c,conId:void 0!=a.conId?a.conId:"conId",menuLevel:3,menuList:b,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(c).childNodes[a].onclick()}})}
function menuInit_conf_ptz_smartTargetTrack_SSS(a){var b={info_conf_ptz_smartTargetTrack_rsMenu:{value:menuStr.smartTargetTrack,className:"",type:MEMU_LEAF,url:"ConfPTZSmartTargetTrack.htm"}},d=new menuTool_BC,c=void 0!=a.menuId?a.menuId:"menuId";d.init({menuUlId:c,conId:void 0!=a.conId?a.conId:"conId",menuLevel:3,menuList:b,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(c).childNodes[a].onclick()}})}
function menuInit_conf_fss_info_SSS(){var a={info_conf_fss_info_rsMenu:{value:menuStr.snapshotInfo,className:"",type:MEMU_LEAF,url:"ConfSnapshotInfo.htm"}};(new menuTool_BC).init({menuUlId:"confFaceSnapShotInfoUlSSS",conId:"confFaceSnapShotInfoCon",menuLevel:3,menuList:a,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(this.menuUlId).childNodes[a].onclick()}})}
function menuInit_conf_fss_advance_SSS(){var a={info_conf_fss_advance_rsMenu:{value:menuStr.fssParam,className:"",type:MEMU_LEAF,url:"ConfFaceSnapShotAdvance.htm"},fss_upgrade_rsMenu:{value:menuStr.algorithmUpgrade,className:"",type:MEMU_LEAF,url:"FaceSnapShotUpgrade.htm"}};(new menuTool_BC).init({menuUlId:"confFaceSnapShotAdvanceUlSSS",conId:"confFaceSnapShotAdanceCon",menuLevel:3,menuList:a,initCallBack:function(a){if(-1==a||void 0==a||null==a)a=0;id(this.menuUlId).childNodes[a].onclick()}})};
