//////////////////////////////////////////////////////
// Configuration parameters //////////////////////////
//////////////////////////////////////////////////////

configParams = {
    
	//////////////////////////////////////////////////////
	// Content configuration /////////////////////////////
	//////////////////////////////////////////////////////
	  
    // Send percents is required to be true for LMS: Moodle, Content Launcher so far
	// TODO: May a auto detect for sendPercents in known environments prevents issues
    sendPercents: false // (true, false)
    // For a customer release set to false, true causes alert messages
    ,debugMode: false // (true, false)
    // Be sure maching close function is present
    ,showCloseBtn: false // (true, false)
    ,rememberLocation: true // (true, false) >> not working in OLP, there it starts allways on page one
    ,rememberLastProgress: true // (true, false) >> setting for SCORM 
    ,masteryScore: "75" // a number in percent
    
	,LESSON_STATUS_SUCCESS: "completed" // SCORM lesson status (completed, passed)
    ,LESSON_STATUS_FAILURE: "incomplete"  // SCORM lesson status (incomplete, failed)
    ,ROLLUP_POLICY: "points" // (points, pages, open)
    
	,locale: "de_AT"
	,courseTitle: "" // If course title is not set "Bitmedia" is used  
	
    ,neededFlashPlayerVersion: "9.0.60" // set the needed Flash Player Version for user info
    
	//////////////////////////////////////////////////////
	// Etesting configuration ////////////////////////////
	//////////////////////////////////////////////////////
	
	// Value from SCORM (LMS) is used if set
	,timeLimit : 2700 // Time left for complete the test in seconds
    
	//////////////////////////////////////////////////////
	// OLP configuration /////////////////////////////////
	//////////////////////////////////////////////////////
	
	,packageId: "" // set here the package id! If not set javascript try to get it out of launch path!
	
	//////////////////////////////////////////////////////
	// Custom close function  ////////////////////////////
	//////////////////////////////////////////////////////
	
	// Keep in mind: This function will be overwritten in matsplayer object
	,customClose : function(){
		// Default custom close function
		window.close();
		
		// Closer for reload player
		// top.window.text.location.href="suspended.htm";
		
		// Closer for blackboard
		// ...
		
		// Closer for Moodle
		// ...	
	}
}

// Be sure object is present
configParams = window.configParams || {};