/* define the API handle*/
var LMSAPI = null;
/* set to scorm_1_2 for SCORM 1.2, set to scorm_2004 for SCORM2004 and none for no LMS */
var lms_type = "scorm_2004";
/* number of tries to attempt LMS communication */
var lms_num_tries = 2;
/* number of pages upon which to commit data to the LMS */
var lms_save_interval = 3;
/* status to send to the LMS when the course is failed */
var lms_fail_status = "incomplete"; 
/* status to send to the LMS when the course is passed */
var lms_pass_status1 = "completed";
var lms_pass_status2 = "passed";

/* SCORM 2004 cmi.success_status for not marking as passed on launch */
var lms_success_unknown = "unknown";