// 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 _3dm=new _lcm("_3dm");_3dm._jgn=function(_t9n){this._h2n=_t9n;this._4le();};_3dm._5z2=function(){this._wfj=this._2oh("chkHeader");this._vfj=this._2oh("chkFooter");this._wfj.checked=(this._h2n.selectSingleNode("pageHeader")!=null);this._vfj.checked=(this._h2n.selectSingleNode("pageFooter")!=null);this._rxh();};_3dm._rxh=function(){var tbl=this._2oh("tblPage");tbl.rows.item(0).cells.item(0).style.color=_9l8._9h8(this._wfj.checked?"--text-01":"--disabled-02");tbl.rows.item(1).cells.item(0).style.borderTopColor=_9l8._9h8(this._wfj.checked?"--primary3":"--disabled-02");tbl.rows.item(1).cells.item(0).style.borderBottomColor=_9l8._9h8(this._vfj.checked?"--primary3":"--disabled-02");tbl.rows.item(2).cells.item(0).style.color=_9l8._9h8(this._vfj.checked?"--text-01":"--disabled-02");};_3dm._wj6=function(_ppj){var chk=_ppj?this._wfj:this._vfj;chk.checked=!chk.checked;this._rxh();};_3dm._o46=function(){this._h2n=null;this._wfj=null;this._vfj=null;};_3dm._nj1=function(_mwk,_ick){var n=this._h2n.selectSingleNode(_ick);if(_mwk){if(!n){var _uud=_erh._cnh(_ick);_uud.appendChild(_erh._cnh("contents"));this._h2n.appendChild(_uud);}}else{if(n){this._h2n.removeChild(n);}}};_3dm._bgn=function(){_erh._ybb();this._nj1(this._wfj.checked, "pageHeader");this._nj1(this._vfj.checked, "pageFooter");_erh._iee(true);this._3le();};