// Licensed Materials - Property of IBM // IBM Cognos Products: rs // (C) Copyright IBM Corp. 2003, 2022. // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. var _ppn=new _lcm( "_ppn", "dlgNew" );_ppn._bgn=function(){if(this._2oh("btnOK").disabled){return;}var _mzj=this._uij._885();var _uek=_mzj.getAttribute("value");var _bug=(_uek=="Template_RT");var _hpj=(_uek=="Browse");_ypn._om8=this._fng;_qgn._5eb=this._fng;if(_hpj){_5ml._jll(["_6ke"],function(_6ke){ _6ke._ujl(true, _ppn); });return;}if(_uek){var _iqi=_frh._53g("ReportTemplates");var _h2k=_iqi.selectSingleNode("template[@name='" + _uek + "']").cloneNode(true);var _4ta=_h2k.selectSingleNode("report");if(_gyc._dsh&&!isNaN(parseFloat(_4ta.getAttribute("useStyleVersion")))){_4ta.setAttribute( "useStyleVersion", "10" );}if(this._76i){_agm._4b5(_4ta, this._76i, this._qej);_4ta.setAttribute("expressionLocale", _ppn._fng);}_agm._a12(_4ta);_dth._1d1(_4ta);switch(_h2k.getAttribute("type")){case "chart":this._1gn();_8fm._vqh( "_70g", "_8d7", _4ta );break;case "map":this._1gn();_8fm._vqh( "_e0g", "_rxc", _4ta );break;case "template":if(_erh._06b(_7hn._3em(_4ta))){this._1gn();}break;default:if(_erh._6ee(_7hn._3em(_4ta))){this._1gn();}break;}}};_ppn._9jk=function(){Application._ig2();};_ppn._461=function(){var _83m=_erh._vtc();_8qn._cqh(_83m, "reportName");_agm._l67(_83m);_agm._k7j(_83m);if(this._76i){var _wni=_erh._h56(_83m, "modelPath");_wni.text=this._76i;_83m.setAttribute("expressionLocale", _ppn._fng);}this._1gn();};_ppn._9t9=function(){_8fm._jgn("_rm9", this._xp9(),function(_hvf,_326,_lfh,_spj,_8lc){this._76i=_326;this._qej=_spj;this._7wb=_8lc;this._2oh("txtPackageName").value=_hvf;this._fng=_lfh;this._zj6();}.bind(this), this._76i, this._2oh("txtPackageName").value);};_ppn._8g7=function(_4ta,_uek){var _a8k=_frh._c6j("IDS_EL_page");var nl=_4ta.selectNodes("layouts//reportPages//page[not(@name)]");for(var i=0;i