_cp8.js 2.1 KB

123456
  1. // Licensed Materials - Property of IBM
  2. // IBM Cognos Products: irot
  3. // (C) Copyright IBM Corp. 2003, 2022.
  4. // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  5. var _cp8={};_cp8._x12=function(_cq5,_bq5,_aq5){if(_bq5!="double"){return true;}var div=document.body.appendChild(document.createElement("div"));div.style.position="absolute";div.innerHTML="&nbsp;";div.style.borderTopWidth="";div.style.borderTopStyle="none";div.style.borderTopColor="";var _oz1=div.offsetHeight;div.style.borderTopStyle="";try{div.style.borderTopWidth=_cq5;}catch(e){}try{div.style.borderTopStyle=_bq5;}catch(e){}try{div.style.borderTopColor=_aq5;}catch(e){}var _gv8=(div.offsetHeight-_oz1);div.parentNode.removeChild(div);return(_gv8>=3);};_cp8._dt=function(_zj7){var nl=_zj7.selectNodes("listItems/listItem");var _zg8=nl.length;for(var i=0;i<_zg8;i++){var _xj7=nl.item(i);var _xn7=_xj7.getAttribute("idsLabel");if(!_xj7.getAttribute("html")){_xj7.setAttribute( "html", '<div style="padding:3px 5px 3px 5px; text-align:center"><div HAL_ids="' + _xn7 + '"></div><div style="border-top:' + _xj7.getAttribute( "borderValue" ) + '"> </div></div>' );}}return _zj7;};_cp8._et=function(_zj7){var nl=_zj7.selectNodes("listItems/listItem");var _zg8=nl.length;for(var i=1;i<_zg8;i++){var _xj7=nl.item(i);var _hy8=_xj7.getAttribute("value");var _607=new _l57(_hy8);var _ux8=_607._jw2(true, true);_xj7.setAttribute("label", _ux8);_xj7.setAttribute( "html", '<table role="presentation" cellpadding="0" cellspacing="2" class="clsDialogText" style="table-layout:fixed; width:100px"><tr style="vertical-align:middle; text-align:right"><td style="width:40%; font-family:Tahoma,Arial">' + _ux8 + '</td><td style="padding-left:3px"><div style="border-top:' + _hy8 + ' solid black; line-height:0px;">&nbsp;</div></td></tr></table>' );}return _zj7;};_cp8._df=function(_q48,_sm7){var _eu3=new _hi(_q48, _sm7);_vo8._w89("cchl/dialogs/_6z8", document.getElementById(_sm7), true, _q48._zy3(_sm7), null, _eu3, false, true);};function _hi(_q48, _sm7){this._mw7=_q48;this._ed7=_sm7;};_hi.prototype._wd3=function(_7j8){var _hy8=_6z8._ar7();this._mw7._u04(this._ed7, _hy8);};