// 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 _pmh=new _lcm("_pmh");_pmh._jgn=function(_rlm,_s8f){this._vhm=_rlm;this._tue=_s8f!=false;this._4le();};_pmh._5z2=function(){this._bcg( "txtKeepWithHeader", "divKeepWithHeader", "keepWithHeader" );this._bcg( "txtKeepWithFooter", "divKeepWithFooter", "keepWithFooter" );this._bcg( "txtKeepWithPrevious", "divKeepWithPrevious", "keepWithPrevious" );this._bcg( "txtKeepWithNext", "divKeepWithNext", "keepWithNext" );this._bcg( "txtResetPageNumber", "divResetPageNumber", "resetPageNumber" );this._bcg( "txtResetPageCount", "divResetPageCount", "resetPageCount" );var _e08=_4ke._vi2( this._vhm, "Pagination", "repeatEveryPage" );this._2oh( "divRepeatEveryPage" ).style.display = _e08?"block":"none";this._2oh( "chkRepeatEveryPage" ).checked = ( this._vhm[0].getAttribute( "repeatEveryPage" )=="true" );var _e08=_4ke._vi2( this._vhm, "Pagination", "pageBreakText" );this._2oh( "divPageBreakText" ).style.display = _e08?"block":"none";this._2oh( "chkPageBreakText" ).checked = ( this._vhm[0].getAttribute( "pageBreakText" )=="true" );var _e08=_4ke._vi2( this._vhm, "Pagination", "allowPageBreaksWithinRow" );this._2oh( "divAllowPageBreaksWithinRow" ).style.display = _e08?"block":"none";this._2oh( "chkAllowPageBreaksWithinRow" ).checked = ( this._vhm[0].getAttribute( "allowPageBreaksWithinRow" )=="true" );var _e08=_4ke._vi2( this._vhm, "Pagination", "horizontalPagination" );this._2oh( "divHorizontalPagination" ).style.display = _e08?"block":"none";this._2oh( "chkHorizontalPagination" ).checked = ( this._vhm[0].getAttribute( "horizontalPagination" )=="true" );var _e08=_4ke._vi2( this._vhm, "Pagination", "horizontalPageCounter" );this._2oh( "divHorizontalPageCounter" ).style.display = _e08?"block":"none";this._2oh( "chkHorizontalPageCounter" ).checked = ( this._vhm[0].getAttribute( "horizontalPageCounter" )=="true" );var _e08=_4ke._vi2( this._vhm, "Pagination", "repeatOnPageBreak" );this._2oh( "divRepeatOnPageBreak" ).style.display = _e08?"block":"none";this._2oh( "chkRepeatOnPageBreak" ).checked = ( this._vhm[0].getAttribute( "repeatOnPageBreak" )=="true" );};_pmh._bcg=function(_4xi,_esf,_1wi){var txt=this._2oh(_4xi);txt.value="";txt.onkeypress=_4qn._tx;txt.onchange=_4qn._5f1;var _e08=_4ke._vi2(this._vhm, "Pagination", _1wi);this._2oh(_esf).style.display=_e08?"block":"none";if(_e08){var _uxm=this._vhm[0].getAttribute(_1wi);txt.value=_uxm||"";}};_pmh._u1d=function(_4xi,_1wi){var _e08=_4ke._vi2(this._vhm, "Pagination", _1wi);if(_e08){var _uxm=this._2oh(_4xi).value;if(_uxm&&!_uxm.match(/^\d+$/)){return false;}_erh._6k8(this._vhm, _1wi, _uxm, "");}return true;};_pmh._87a=function(_4xi,_1wi){var _e08=_4ke._vi2(this._vhm, "Pagination", _1wi);if(_e08){var _uxm=this._2oh(_4xi).value;if(_uxm&&!_uxm.match(/^\d+$/)){_m9b('IDS_HAL_ERR_INVALID_NUMBER');return false;}if(_1wi.indexOf("keepWith")!=-1){if(parseInt(_uxm, 10)==0){_m9b('IDS_HAL_ERR_INVALID_NUMBER');return false;}}}return true;};_pmh._bgn=function(){if(this._tue){_erh._ybb();}if(!this._87a( "txtKeepWithHeader", "keepWithHeader" ) ||!this._87a( "txtKeepWithFooter", "keepWithFooter" ) ||!this._87a( "txtKeepWithPrevious", "keepWithPrevious" ) ||!this._87a( "txtKeepWithNext", "keepWithNext" ) ||!this._87a( "txtResetPageNumber", "resetPageNumber" ) ||!this._87a( "txtResetPageCount", "resetPageCount" ) ){_erh._ln9();return;}this._u1d( "txtKeepWithHeader", "keepWithHeader" );this._u1d( "txtKeepWithFooter", "keepWithFooter" );this._u1d( "txtKeepWithPrevious", "keepWithPrevious" );this._u1d( "txtKeepWithNext", "keepWithNext" );this._u1d( "txtResetPageNumber", "resetPageNumber" );this._u1d( "txtResetPageCount", "resetPageCount" );if(_4ke._vi2( this._vhm, "Pagination", "repeatEveryPage" ) ){_erh._6k8( this._vhm, "repeatEveryPage", this._2oh( "chkRepeatEveryPage" ).checked?"true":"false", "false" );}if(_4ke._vi2( this._vhm, "Pagination", "pageBreakText" ) ){_erh._6k8( this._vhm, "pageBreakText", this._2oh( "chkPageBreakText" ).checked?"true":"false", "true" );}if(_4ke._vi2( this._vhm, "Pagination", "allowPageBreaksWithinRow" ) ){_erh._6k8( this._vhm, "allowPageBreaksWithinRow", this._2oh( "chkAllowPageBreaksWithinRow" ).checked?"true":"false", "true" );}if(_4ke._vi2( this._vhm, "Pagination", "repeatOnPageBreak" ) ){_erh._6k8( this._vhm, "repeatOnPageBreak", this._2oh( "chkRepeatOnPageBreak" ).checked?"true":"false", "true" );}if(_4ke._vi2( this._vhm, "Pagination", "horizontalPagination" ) ){_erh._6k8( this._vhm, "horizontalPagination", this._2oh( "chkHorizontalPagination" ).checked?"true":"false", "false" );}if(_4ke._vi2( this._vhm, "Pagination", "horizontalPageCounter" ) ){_erh._6k8( this._vhm, "horizontalPageCounter", this._2oh( "chkHorizontalPageCounter" ).checked?"true":"false", "false" );}if(this._tue){_erh._iee();}var _rlm=this._vhm;this._3le();if(_4ke._vi2( _rlm, "Pagination", "horizontalPagination" ) ){_q0n._si(_8qn._12g(_rlm[0], "page"));}};_pmh._o46=function(){this._vhm=null;};