// ------------------------------------------------------------ // InitApplication.asp // ------------------------------------------------------------ // VCS INFO: // // $Revision: 1.7 $ // $Date: 16 Jun 2000 14:58:32 $ // $Author: vpham $ // $Workfile: initapplication.asp $ // ------------------------------------------------------------ // All Rights Reserved. Copyright (c) 1988-1999 FileNET Corp. // ------------------------------------------------------------ // utility function to store session/application variables to a cookie function IDMWSC_setCookie(name, value, expire) { if (value.length > 0) // make sure we don't assign empty value to cookie { document.cookie = name + "=" + escape(value) + ((expire == null) ? "" : ("; expires=" + expire.toGMTString())); } } // store session/application variables to a cookie, so the client can access these // values without having to go to the web server each time IDMWSC_setCookie('IDMWSC_baseURL', 'http://www.mop.gov.kw/MOPWF'); IDMWSC_setCookie('IDMWSC_IEBrowser', '0'); IDMWSC_setCookie('IDMWSC_ISDocWebAction', 'idmview'); IDMWSC_setCookie('IDMWSC_DSDocWebAction', 'open'); // Define a global array to store all popup windows in the application. // It is only used by the Popup Manager (see PopupManager.js). var IDMWSC_PopupManager_popups = new Array();