// -----------------------------------------------------------------------------------------------------
// XHRScriptInclude.js
//
// XHR Includes
//
// Author        : Thomas E. George
// Creation Date : March 07, 2007
//
// History       : 03/07/2007 - TEG - Initial Implementation
//                 Added this file for XHRScript customizations.
//                 (This file must be included before XHRScript.js)
// -----------------------------------------------------------------------------------------------------

var _isIE                              = document.all ? true : false;

var _nRequestReadyState_Uninitialized_ = 0;
var _nRequestReadyState_Loading_       = 1;
var _nRequestReadyState_Loaded_        = 2;
var _nRequestReadyState_Interactive_   = 3;
var _nRequestReadyState_Complete_      = 4;

var _nHttpServerStatus_OK_             = 200;
var _nHttpServerStatus_Forbidden_      = 403;
var _nHttpServerStatus_NotFound_       = 404;
var _nHttpServerStatus_InternalError_  = 500;

var _sXmlDocTag                        = "<?xml";
var _sHtmlASPDebugTag                  = '<!--METADATA TYPE="ASP_DEBUG_INFO"\r\n-->\r\n';

var _bDebugModeXHR                     = false;  // debug mode flag (verbose error reporting)

// ToolTip
var _bActivateTT                       = false; // tooltips activated / deactivated flag
var _bOnMouseOutTT                     = false; // onmouseout clearToolTip() on tooltip pane: on / off flag
var _bTimeOutTTms                      = 5000; // time before calling clearToolTip() on tooltip pane: milliseconds to clear (0 for no timeout, _bOnMouseOutTT must be false)

// PopUp Image
var _bUseXHRMechanismPU                = false; // do popup images using the XMLHttpRequest Object / async AJAX
var _bActivatePU                       = false;  // popup images activated / deactivated flag
var _bOnMouseOutPU                     = false; // onmouseout clearPopUpImage() on popup pane: on / off flag

// Recommend Action
var _bActivateRA                       = true;  // recommend action activated / deactivated flag
var _bStyleDispBNRA                    = true; // use span element.style.display=['block','none'] or span visibility
