// 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 _xcm=new _lcm("_xcm");_xcm._kk8=function(n,_078){this._arl=n.selectSingleNode("layouts/layout");if(!this._arl){return;}this._jt7=_078;this._4le(null, null, _frh._c6j("IDS_TITLE_FORMAT_DEFAULTS"));};_xcm._jgn=function(_u4c,_6wa,_rlm,_078,_tic){this._vhm=_rlm;this._jt7=_078;this._hvb=_tic;this._4le(_u4c, _6wa, _frh._c6j("IDS_TITLE_FORMAT"));};_xcm._ubb=function(_u4c,_6wa,_rlm,_5a8){this._vhm=_rlm;this._jgg=true;this._uv7=_5a8;this._4le(_u4c, _6wa, _frh._c6j("IDS_TITLE_FORMAT"));};_xcm._src=function(){this._bsb=this._53g('PropertySheetFormat');var _d89=this._2oh("divPropertySheet");_d89.onkeydown=function(e){ _xcm._yh6(e); };_d89.onkeypress=function(e){ _xcm._ck5(e); };};_xcm._yh6=function(e){this._l4i._a7j(e);e.stopPropagation();};_xcm._ck5=function(e){this._l4i._wph(e);e.stopPropagation();};_xcm._sq2=function(){if(this._arl){var _ozj=this._6r5._eq9();var _fy7=false;for(var s in this._mze){var _04h=null;if(s.indexOf("currencyFormat")!=-1){if(this._3z9(s, true)){_fy7=true;}}else{_04h=this._3z9(s, true);var _mzj=_ozj.selectSingleNode( "listItems/listItem[@value='" + s + "']" );if(_mzj){_mzj.setAttribute( "smallIcon", _04h?"FormatModified.gif":"hal/images/blank.gif" );}}}var _mzj=_pgk._lee( _ozj, "value", "currencyFormat" );if(_mzj){_mzj.setAttribute( "smallIcon", _fy7?"FormatModified.gif":"hal/images/blank.gif" );}this._6r5._wfn();}};_xcm._23a=function(){this._mze={};var _w4f=[];var _fxj=this._53g('FormatType');_8qn._fde(_w4f, _fxj.selectNodes("listView/listItems/listItem/@value"));var _fxj=this._53g('FormatType_Output');_8qn._fde(_w4f, _fxj.selectNodes("listView/listItems/listItem/@value"));var _tzl=_w4f.length;for(var i=0;i<_tzl;i++){var _uxm=_w4f[i];if(_uxm){this._mze[_uxm]={};}}};_xcm._5z2=function(){if(_qkk._qik("ShowDesignPreviews")){this._gog=null;var _pga=_8l8._e87();var _ffc=null;if(_pga&&_pga.length>0){_ffc=_pga[0];if(_ffc._92g()==56){this._gog="'" + _ffc._v7b() + "'";}else{this._gog=_ffc._v7b();}_vzm._ozm("Raw value: " + _ffc._v7b());_vzm._ozm("Type value: " + _ffc._92g());}}this._xok=false;var _d89=this._2oh("divPropertySheet");this._l4i=new _opc(_d89, this._bsb, this, this._xp9(), "clsDialogPropertySheetInputBlocker");this._23a();var _3pd=this._2oh("divFormatType");var _yod=this._2oh("cboFormatType");_3pd.style.display=this._arl?"":"none";_yod.style.display=this._arl?"none":"";var _bpd=this._2oh("divShowSample");_bpd.style.display=(_qkk._qik("ShowDesignPreviews"))?"":"none";this._agj=this._2oh("divSample");_4qn._1je(this._agj, _frh._c6j("IDS_DATA_FORMAT_TEXT_SAMPLE"));if(this._arl){var _fxj=this._53g('FormatType');var _ozj=_fxj.selectSingleNode("listView").cloneNode(true);var _mzj=_ozj.selectSingleNode("listItems/listItem");_mzj.parentNode.removeChild(_mzj);var _mzj=_ozj.selectSingleNode("listItems/listItem[last()]");_mzj.parentNode.removeChild(_mzj);var nl=this._arl.selectNodes("defaultDataFormats/*");if(nl){for(var i=0;i