/*
 *	ccAICCConstants.js
 *	Build 3.2.0.25
 *	Copyright 1999-2003 Accenture
 *	File Size: 7702
 */
var cAICC_SUPPORT_DLL		= "SDAICC.clsAICC";
var csMICROSOFT_XML_DOM		= "Microsoft.XMLDOM";

var cAICC_PAGE = "AICC_Fields";
var cAICC_ITEM_CORE = "AICC_Core";
var cAICC_ITEM_SUPPORT = "AICC_Enablement";
var cAICC_ITEM_XMIT = "AICC_Xmit";
var cAICC_KEY_SID = "aicc_sid";
var cAICC_KEY_URL = "aicc_url";
var cAICC_KEY_LOCATION = "Lesson_Location";
var cAICC_KEY_STATUS = "Lesson_Status";
var cAICC_KEY_SCORE = "Score";
var cAICC_KEY_TIME = "Time";
var cAICC_KEY_PAGE_SCORE = "Page_Score";
var cAICC_KEY_VERSION = "Vendor_Version";
var cAICC_KEY_TIMESTAMP = "Data_Timestamp";
var cAICC_KEY_PAGETIME = "PageEntry_Timestamp";
var cAICC_KEY_AICC_STUDENT = "AICC_StudentName";

var cAICC_URL_PARM_AICCSID_LMS = "aicc_sid";
var cAICC_URL_PARM_AICCSID = "session_id";

var cAICC_DFLT_MAX_SCORE = 100;

var cCCDC_PROJECT_TYPE_STA = 0;
var cCCDC_PROJECT_TYPE_CAFE = 1;

var cAICC_XMIT_SAME_TO_SAME = 0;
var cAICC_XMIT_SWAP_BY_TARGET = 1;

var cOPT_NO = 0;
var cOPT_YES = 1;
var cOPT_YES_AUTO = 2;
var cOPT_AUTO = 3;

var cHTTP_STATUS_OK = 200;

var cAU_TYPE_SCORED = 0;
var cAU_TYPE_REFERENCE = 1;

var cAU_STATUS_SET_BY_AU = 0;
var cAU_STATUS_SET_BY_LMS = 1;

var cCONN_SUCCESS = 0;
var cCONN_NO_LMS = 1;
var cCONN_BAD_PARMS = 2;

var ccAICC_BOOTSTRAP_USER = "ccBootstrap";

var ccAICC_KEY_NOTFOUND = "<not found>";
var ccAICC_KEY_ERROR = "<error>";

var cEC_SDAICC_OK = 0;
var cEC_SDAICC_NOTFOUND = 9000;
var cEC_SDAICC_INTERNAL_ERROR = 9001;
var cEC_SDAICC_LMS_SESSION_EXPIRED = 9050;
var cEC_SDAICC_LMS_ERROR_READING_DATA = 9051;
var cEC_SDAICC_TRANS_OPEN_FAIL = 9101;
var cEC_SDAICC_TRANS_CNCT_FAIL = 9102;
var cEC_SDAICC_TRANS_OREQ_FAIL = 9103;
var cEC_SDAICC_TRANS_SEND_FAIL = 9104;
var cEC_SDAICC_TRANS_QUERY_FAIL = 9105;
var cEC_SDAICC_TRANS_DENIED_SEND = 9106;
var cEC_SDAICC_TRANS_ADDHEADERS_FAIL = 9107;
var cEC_SDAICC_TRANS_SETTIMEOUTS_FAIL = 9108;
var cEC_SDAICC_URL_PROTOCOL = 9200;
var cEC_SDAICC_HTTP_QUERYFAIL = 1001;
var cEC_SDAICC_HTTP_SENDFAIL = 1002;
var cEC_SDAICC_HTTP_OPENFAIL = 1003;
var cEC_SDAICC_HTTP_CONNECTFAIL = 1004;
var cEC_SDAICC_HTTP_OPENREQFAIL = 1005;

var ccAICC_DLGOPTS_CONFIRM_DELCTXT = "dialogWidth:520px; resizable:yes; dialogHeight:280px; ";
var ccAICC_DLG_TRANSMIT = "../cDialogs/ccAICCDlg_TransmitData.htm";
var ccAICC_DLG_USER_SELECT = "../cDialogs/ccAICCDlg_SelectUser.htm";
var ccAICC_DLG_CONFIRM_DELCTXT = "../cDialogs/ccAICCDlg_ConfirmContextDelete.htm";
var ccAICC_DLG_DOWNLOAD = "../cDialogs/ccAICCDlg_LaunchOrDownload.htm";
var ccAICC_DLG_NOTENROLLED = "../cDialogs/ccAICCDlg_NotEnrolled.htm";
var ccAICC_CONFIG_HOST_PAGE = "/asp/AICCSupport.asp";

var cINF_MSG_HTML_DOWNLOAD_OK = "Download successful.  Options have been refreshed.";
var cINF_MSG_HTML_UPLOAD_OK = "Upload successful.  Options have been refreshed";
var cWRN_MSG_HTML_DOWNLOAD_NOT_OK = "Download processing was not successful.";
var cWRN_MSG_HTML_UPLOAD_NOT_OK = "Upload processing was not successful.";
var cWRN_MSG_HTML_CLEAR_NOT_OK = "Clear processing was not successful.";
var cINF_MSG_MAIN_RESULTS_SUBMITTED = "Results have been submitted to the LMS.";
var cWRN_RUN_MAIN_TRYCONNECT = "Your session with the Learning Management Server is expired.  Please launch the course from myLearning to reconnect.";
var cERR_RUN_MAIN_CONNECTFAIL = "Unable to connect with the Learning Management Server or error processing reponse from Learning Management Server.  Please verify your internet connection and that you can connect with the Learning Management Server.";

var cERR_CFG_MAIN_WEB_DATASTORE = "Configuration Error: No object for local data store";
var cERR_CFG_MAIN_NO_HOMEPAGE = "Configuration Error: No Course Home Page";
var cERR_CFG_MAIN_NO_HOMEFRAME = "Configuration Error: No Course Home Frameset";
var cERR_CFG_MAIN_TRKR_REQUIRED = "Configuration Error: Method GetConfigServer() requires the tracker component.";
var cERR_CFG_MAIN_DLL_REQUIRED = "Configuration Error: Method GetConfigServer() requires the AICC DLL.";
var cERR_CFG_MAIN_TRKR_REQUIRED2 = "Configuration Error: Method GetConfigSecure() requires the tracker component.";
var cERR_CFG_MAIN_DLL_REQUIRED2 = "Configuration Error: Method GetConfigSecure() requires the AICC DLL.";
var cERR_CFG_MAIN_CHECKLOCAL = "Configuration Error: User exit for check local install is not available.";
var cERR_CFG_MAIN_GETLOCAL = "Configuration Error: User exit for local link is not available.";
var cERR_CFG_MAIN_RESUMELOCAL = "Configuration Error: User exit for resume local link is not available.";
var cERR_CFG_STAT_MISSING_EXIT = "Configuration Error: User exit for status is not available.";
var cERR_CFG_TRKR_JIT_LOADER = "Configuration Error: The required script file [ccJITInstallation.js] containing the function [CC_CreateActiveXObject] is not linked into this web page."
var cERR_CFG_STA_HOME_BUT_NOT_STA = "Configuration Error: Method requires STA homepage but scripts not found."

var cERR_RUN_MAIN_LCLDATA_FAIL = "Runtime Error: ccAICC.GetDataOptions received failure or null code from Tracker for GetLocalData";
var cERR_RUN_MAIN_NO_OPTIONS = "Runtime Error: Retrieval of data options failed ";
var cERR_RUN_MAIN_NO_AU_VERSION = "Runtime Error: Assignable Unit's version cannot be determined";
var cERR_RUN_MAIN_GET_USER_LMS_FAIL = "Runtime Error: Retrieve failed for LMS User Name";
var cERR_RUN_MAIN_DISCONNECTED = "Runtime Error: The requested action requires an active connection with the Learning Management Server.";
var cERR_RUN_TRKR_DLL_INIT_FAIL = "Runtime Error: The Active-X object that supports LMS communication did not initialize properly.  This page is unable to communicate with the LMS.";
var cERR_RUN_SCOR_NOMETH_STORNAME = "Runtime Error: Registered data object does not support GetStorageName method";
var cERR_RUN_HTML_LMS_POST_FAIL = "Runtime Error: Failed to post information to the LMS ";
var cERR_RUN_HTML_DNLD_NOT_AVAIL = "Runtime Error: Unable to process download option";
var cERR_RUN_HTML_UPLD_NOT_AVAIL = "Runtime Error: Unable to process upload option";
var cERR_RUN_HTML_CLR_NOT_AVAIL = "Runtime Error: Unable to process clear option";

var cERR_RUN_MAIN_NO_OPTIONS_TAIL_1 = "due to an internal logical error.";
var cERR_RUN_MAIN_NO_OPTIONS_TAIL_2 = "due to an internal error while parsing data.";
var cERR_RUN_MAIN_NO_OPTIONS_TAIL_3 = "because a connection with the LMS could not be made.  Please verify your connection with the LMS.";
var cERR_RUN_MAIN_NO_OPTIONS_TAIL_4 = "because data was not found on the LMS.";
var cERR_RUN_MAIN_NO_OPTIONS_TAIL_5 = "because the request to connect with the LMS was denied.  Please verify your connection with the LMS.";

var cERR_RUN_MAIN_NO_POST_TAIL_1 = "because a connection with the LMS is not available.";
var cERR_RUN_MAIN_NO_POST_TAIL_2 = "because current session parameters could not be established.";
var cERR_RUN_MAIN_NO_POST_TAIL_3 = "due to an internal processing error.";

var cERR_LOG_MAIN_STA_DATASTORE = "Logical Error: Script error due to need to configure STA Data Storage handle.";
var cERR_LOG_MAIN_PARSE_PARM = "Logical Error: parsing parameter from URL";
var cERR_LOG_MAIN_STA_NOUSER = "Logical Error: Processing to get the User ID for STA is not enabled in ccAICC_envir_GetUserID()";
var cERR_LOG_MAIN_STA_NOSETUSER = "Logical Error: Processing to set the User ID for STA is not enabled in ccAICC_envir_GetUserID()";
var cERR_LOG_TRKR_NO_NETSCAPE = "Logical Error: Netscape not currently supported.";
var cERR_LOG_HTML_NO_LOCAL_INSTALL = "Logical Error: Local installation is not available.";