function formatterParameter(n){return n}function RecordMenuLog(n){var t={menu_code:n};$.ajax({url:"/Home/RecordLog/",type:"post",data:t,success:function(){},error:function(){}})}function oneProductReport(n,t,i,r,u,f){try{t!=null&&t!=""&&t=="pfupload"&&analyticsCap(ENUM_M.IMPORTNETFUND,ENUM_F.IMPORTNETFUND_REPORT,"/Report/Report?report_type=SingleReport&mjfs="+(u!=null?u:"")+"&id="+(n!=null?n:"")+"&tabletype="+(t!=null?t:"")+"&requesttype="+(i!=null?i:"")+"&strategy="+(r!=null?r:"")+"&fund_name="+(f!=null?f:""));window.parent.newIndexTabs(f+" - 报告","/Report/Report?report_type=SingleReport&mjfs="+(u!=null?u:"")+"&id="+(n!=null?n:"")+"&tabletype="+(t!=null?t:"")+"&requesttype="+(i!=null?i:"")+"&strategy="+(r!=null?r:"")+"&fund_name="+(f!=null?f:""),!0)}catch(e){}eventStop()}function contrastCombinationReport(n){try{analyticsCap(ENUM_M.CONTRAST,ENUM_F.CONTRAST_REPORT,"/Report/Report?report_type=ContrastReport&id="+(n!=null?n:""));window.open("/Report/Report?report_type=ContrastReport&id="+(n!=null?n:""))}catch(t){}eventStop()}function mixtureRatioReport(n){try{analyticsCap(ENUM_M.RATIO,ENUM_F.RATIO_REPORT,"/Report/Report?report_type=SimulationReport&guid=/Report/Report?report_type=MixtureRatioReport&parms="+(n!=null?n:""));window.open("/Report/Report?report_type=MixtureRatioReport&parms="+(n!=null?n:""))}catch(t){}eventStop()}function PortreportReport(n){try{analyticsCap(ENUM_M.ANALOGCOMBINATION,ENUM_F.ANALOGCOMBINATION_REPORT,"/Report/Report?report_type=SimulationReport&guid="+(n!=null?n:""));window.open("/Report/Report?report_type=SimulationReport&guid="+(n!=null?n:""))}catch(t){}eventStop()}function attributionReport(n,t,i){try{analyticsCap(ENUM_M.ATTRIBUTEREPORT,ENUM_F.ATTRIBUTEREPORT_REPORT,"/Report/Report?report_type=AttributionReport&id="+(n!=null?n:"")+"&reportType="+(t!=null?t:""));window.parent.newIndexTabs(i+" - 归因分析","/Report/Report?report_type=AttributionReport&id="+(n!=null?n:"")+"&reportType="+(t!=null?t:"")+"&fund_name="+(i!=null?i:""),!0)}catch(r){}eventStop()}function openReportHtml(n,t){var i="";i=t!=null&&t=="公募"?"gm_jzfx_index":"jzfx_index";$.ajax({url:"/Report/GetReportHtml/",type:"POST",dataType:"json",timeout:1e7,data:{key:n,htmlType:i},success:function(){},error:function(n){console.log(n);snackbar("未能查询到该条数据002!")}})}function GetUrlRelativePath(){var i=document.location.toString(),t=i.split("//"),r=t[1].indexOf("/"),n=t[1].substring(r);return n.indexOf("?")!=-1&&(n=n.split("?")[0]),n}function getEvent(){if(window.event)return window.event;for(func=getEvent.caller;func!=null;){var n=func.arguments[0];if(n&&(n.varructor==Event||n.varructor==MouseEvent||n.varructor==KeyboardEvent||typeof n=="object"&&n.preventDefault&&n.stopPropagation))return n;func=func.caller}return null}function eventStop(){var n=getEvent();window.event?n.cancelBubble=!0:n.preventDefault&&n.stopPropagation()}function GetSelBenchData(n,t,i,r){var u='