U_CookieJar.js 1.1 KB

123456
  1. // Licensed Materials - Property of IBM
  2. // IBM Cognos Products: hal
  3. // (C) Copyright IBM Corp. 2003, 2017.
  4. // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  5. var U_CookieJar={};U_CookieJar.F_SetCookie=function(_h492,_h552,_hYY1,_h092,_h742,_h842){document.cookie=_h492+"=" + escape(_h552)+( _hYY1?"; expires=" + _hYY1.toUTCString():"" ) +( _h092?"; path=" + _h092:"" ) +( _h742?"; domain=" + _h742:"" ) +( _h842?"; secure":"" );};U_CookieJar.F_DeleteCookie=function(_h492,_h092,_h742){document.cookie=_h492+"=" +( _h092?"; path=" + _h092:"" ) +( _h742?"; domain=" + _h742:"" ) +"; expires=Thu, 1 Jan 1970 00:00:01 UTC";};U_CookieJar.F_GetCookie=function(_h492){var doc=document;var _hRF1=_h492+"=";for(var i=0;i<doc.cookie.length;){var j=i+_hRF1.length;if(doc.cookie.substring(i, j)==_hRF1){return U_CookieJar._h591(j);}i=doc.cookie.indexOf( " ", i ) + 1;if(i==0){break;}}return null;};U_CookieJar._h591=function(_h012){var _h942=document.cookie.indexOf(";", _h012);if(_h942==-1){_h942=document.cookie.length;}return decodeURIComponent(document.cookie.substring(_h012, _h942));};