123456 |
- // 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.
- _zpn._la6("_p3b");function _l9b(_oon, _jxm, _q7n, _cgh){var _imn=new _h4b();_imn._jgn(null, null, null, _oon, _jxm, _q7n, null, null, null, null, _cgh);};function _g95(_oon, _jxm, _q7n, _cgh){setTimeout(_l9b.bind(null, _oon, _jxm, _q7n, _cgh), 0);};function _wa7(_yqm, _43l, _q7n, _cgh){var _jxm=null;if(_43l){_jxm=_frh._c6j(_43l);}else if(_43l==""){_jxm="";}var _imn=new _h4b();_imn._jgn(null, null, null, _frh._c6j(_yqm), _jxm, _q7n, null, null, null, null, _cgh);};function _h4b(_1a8, _3en, d){_h4b.baseConstructor.call(this, null, _1a8, _3en, d);this._vr4=false;};_olk._vjl(_h4b, _p3b);_h4b._jml=1;_h4b._29j=2;_h4b._lke=3;_h4b._ffm=4;_h4b._iml=20;_h4b._gke=21;_h4b._zkk=22;_h4b._bfm=23;_h4b._2qn=30;_h4b._dml=31;_h4b._ugn=32;_h4b._1qn=33;_h4b.prototype._src=function(){var _owi=window["_frh"]?_frh._997( "IDS_HAL_HELP_CLICK_HERE" ):null;var _wic='<span class="clsHyperlink" onclick="_h4b._o4a()">' + _cgm._qoh( _owi||"click here" ) + '</span>';var _5dn;if(window["_frh"]&&_frh._997( "IDS_HAL_HELP_MORE_INFO" ) ){_5dn=_cgm._qoh( _frh._c6j( "IDS_HAL_HELP_MORE_INFO", "%1" ) ).replace( "%1", _wic );}else{_5dn="For more information" + _owi + ".";}this._2oh("divMoreInfo").innerHTML=_5dn;};_h4b.prototype._jgn=function(_val, _u4c, _v94, _oon, _jxm, _q7n, _p0l, _qjn, _g0l, _pjn, _cgh){if(typeof _oon!="string"){_oon=String(_oon);}this._ikm=_jxm;this._phn=_qjn||null;this._lqk=_g0l||null;this._ohn=_pjn||null;if(!_q7n){_q7n=_h4b._zkk;}if(!_p0l){_p0l=_h4b._jml;}var _81m=this._2oh("imgIcon");var _dwm="";switch(_q7n){case _h4b._gke:_81m.style.display="";_81m.src=_zpn._1th+"icon_information.gif";if(_zpn._qsh["hal"]["enableAccessibility"]){_dwm=_frh._c6j('IDS_HAL_AC_INFO');}break;case _h4b._zkk:_81m.style.display="";_81m.src=_zpn._1th+"icon_warning.gif";if(_zpn._qsh["hal"]["enableAccessibility"]){_dwm=_frh._c6j('IDS_HAL_AC_WARNING');}break;case _h4b._bfm:_81m.style.display="";_81m.src=_zpn._1th+"icon_error.gif";if(_zpn._qsh["hal"]["enableAccessibility"]){_dwm=_frh._c6j('IDS_HAL_AC_ERROR');}break;default:_81m.style.display="none";}if(_zpn._qsh["hal"]["enableAccessibility"]){_81m.setAttribute("aria-label", _dwm);_81m.alt=_dwm;}switch(_p0l){case _h4b._29j:this._rvb="btnOK";this._2oh( "btnOK" ).style.display = "";this._2oh( "btnYes" ).style.display = "none";this._2oh( "btnNo" ).style.display = "none";this._2oh( "btnCancel" ).style.display = "";break;case _h4b._lke:this._rvb="btnYes";this._2oh( "btnOK" ).style.display = "none";this._2oh( "btnYes" ).style.display = "";this._2oh( "btnNo" ).style.display = "";this._2oh( "btnCancel" ).style.display = "";break;case _h4b._ffm:this._rvb="btnYes";this._2oh( "btnOK" ).style.display = "none";this._2oh( "btnYes" ).style.display = "";this._2oh( "btnNo" ).style.display = "";this._2oh( "btnCancel" ).style.display = "none";break;default:this._rvb="btnOK";this._2oh( "btnOK" ).style.display = "";this._2oh( "btnYes" ).style.display = "none";this._2oh( "btnNo" ).style.display = "none";this._2oh( "btnCancel" ).style.display = "none";}var _bdj=120;var _kdj="640px";var _uqj=false;if(_oon.indexOf("\n")==-1){_uqj=_oon.length>_bdj;}else{var a=_oon.split("\n");var _tzl=a.length;for(var i=0;i<_tzl;i++){if(a[i].length>_bdj){_uqj=true;break;}}}var span=this._2oh("spanMsg");var div=span.parentNode;div.style.whiteSpace=_uqj?"normal":"nowrap";div.style.width=_uqj?_kdj:"auto";_4qn._1je(span, _oon);this._mng=_cgh||"";this._2oh( "divMoreInfo" ).style.display = _cgh?"":"none";_h4b.superClass._jgn.call(this, null, _val, _u4c, _v94);};_h4b.prototype._o46=function(){this._phn=null;this._lqk=null;this._mng=null;};_h4b.prototype._wph=function(e){if(e.keyCode==_4qn._x8j){if(e.target.nodeName!="BUTTON"){this._l5d(_h4b._2qn);}return;}this._lb6(e);};_h4b.prototype._bgn=function(){this._l5d(_h4b._2qn);};_h4b.prototype._9jk=function(){this._l5d(_h4b._dml);};_h4b.prototype._l5d=function(_6zl){switch(_6zl){case _h4b._2qn:case _h4b._ugn:if(this._phn){setTimeout(this._phn, 0);}break;case _h4b._dml:if(this._lqk){setTimeout(this._lqk, 0);}break;case _h4b._1qn:if(this._ohn){setTimeout(this._ohn, 0);}break;}this._1gn();};_h4b.prototype._o4a=function(){this._snh(this._mng);};_h4b.prototype._5z2=function(){};_h4b.prototype._xsc=function(_ksn){return('<div id="' + _ksn + '" class="clsDialog" onkeypress="_p3b._i87(this)._wph(event)" role="dialog" aria-labelledBy="' + _ksn + '_spanMsg" aria-describedby="' + _ksn + '_spanMsg">' +'<table role="presentation" class="clsDialogText" style="padding:4px" cellpadding="0" cellspacing="0">' +'<tr style="vertical-align:top">' +'<td>'+'<img id="' + _ksn + '_imgIcon" style="height:32px; width:32px" alt=""/>' +'</td>'+'<td style="padding-left:7px; padding-top:7px; white-space:nowrap">' +'<span id="' + _ksn + '_spanMsg"> </span>' +'</td>'+'</tr>'+'</table>'+'<div id="' + _ksn + '_divMoreInfo" style="padding:7px 0px 7px 50px"></div>' +'<div class="clsDlgMsgBoxButtonBar">' +'<button id="' + _ksn + '_btnOK" class="clsDlgButton" onclick="_p3b._i87(this)._l5d(_h4b._2qn)" HAL_ids="IDS_HAL_BTN_OK">OK</button>' +'<button id="' + _ksn + '_btnYes" class="clsDlgButton" onclick="_p3b._i87(this)._l5d(_h4b._ugn)" HAL_ids="IDS_HAL_BTN_YES">Yes</button>' +'<button id="' + _ksn + '_btnNo" class="clsDlgButton" onclick="_p3b._i87(this)._l5d(_h4b._1qn)" HAL_ids="IDS_HAL_BTN_NO">No</button>' +'<button id="' + _ksn + '_btnCancel" class="clsDlgButton" onclick="_p3b._i87(this)._l5d(_h4b._dml)" HAL_ids="IDS_HAL_BTN_CANCEL">Cancel</button>' +'</div>'+'</div>');};
|