// version 1.005
// Options used by the course
var mphAssessScore = new Object();
var mphFdbck = new Object();
var mphMem = new Object();
var mphObj = new Object();
var mphPrefs = new Object();
var mphRandom = new Object();

mphObj.mphname = "";
mphObj.mphID = "";
mphObj.mphpwd = "";
mphObj.progBarWidth = 398;
mphObj.btnDoneHeight = 47;
mphObj.btnPlayStopHeight = 47;
mphObj.timerOffSet = 37;
// The colour of the line in Match the Pairs questions
mphObj.lineColour = "#0000ff";
// The colour of the shadow line in Match the Pairs questions
mphObj.lineShadow = "#808080";
mphPrefs.title = "Sample Course";
mphPrefs.menuTitles = ["Asia Pacific Politics", "Europe in World Affairs", "Foundations of IR", "International Security", "Assessment"];
mphPrefs.menuTitlesTopDisplay = ["Asia", "Europe", "Foundations", "Security", "Assessment"];;

mphPrefs.navTitles = ["", "", "", ""];
mphPrefs.intDefaultFdbck = new Array("No, the correct answer is now shown.", "Yes, that is the correct answer.");
mphPrefs.assDefaultFdbck = new Array("No, the correct answer is now shown.", "Yes, that is the correct answer.");

/* custom feedback for specific questions */

mphObj.projectPrefix = "sam";
mphObj.projectSuf = ".htm";

// image type (generally)
mphObj.imgExt = ".png";

//
/* General */
mphPrefs.courseName = "Sample Course";
mphPrefs.courseCode = "001";
mphPrefs.courseDesc = "This sample lesson was created in less than 5 minutes by importing the sample documents found in the Metamorphosis trial version.";
mphPrefs.courseKeywords = "";
mphPrefs.courseAuthor = "Pacific Multimedia PTY LTD";
mphPrefs.courseDate = "June 6, 2006";
mphPrefs.indexDisplay = [1,1,1,1,1];
mphPrefs.courseObjectives = "";
mphPrefs.courseAudience = "";
// Is it a single topic course: [true, false]
mphPrefs.singleTopic = false;
//
// Buttons
mphPrefs.nextVisible = true;
mphPrefs.nextTime = null;
mphPrefs.backVisible = true;
mphPrefs.menuVisible = true;
mphPrefs.quitVisible = true;
mphPrefs.progressVisible = true;

//
// Interactivity
mphPrefs.showCorrect = true;
mphPrefs.multiAttempt = false;
mphPrefs.showFeedback = true;
mphPrefs.nextEnabled = false;
// Is the done button visible during a question [true, false] default true
mphPrefs.doneVisible = true;

mphPrefs.useMCToggleBtn = true;

// which topics have assessable questions
// [topic zero, one, two, three,...]
mphPrefs.assessable = [0,1,1,1,1,1];

// is there a final performance screen
mphPrefs.finalPerformance = true;
//
// Assessment
// Is the last topic an assessment
mphPrefs.assessment = true;
//
mphPrefs.assessShowCorrect = false;
mphPrefs.assessFeedback = false;
mphPrefs.assessTimeLimit = true;
mphPrefs.assessTimeEach = 20;
mphPrefs.assessTimeAll = null;
mphPrefs.showTimeRemaining = true;
mphPrefs.assessNumQuestions = null;
mphPrefs.assessPassMark = 80;
mphPrefs.assessRandom = true;
mphPrefs.assessOptionsRandom = true;
// limit the number of assessment attempts (0 is no limit)
mphPrefs.assessTryLimit = 0;
//
// can a user go backwards from a question to a non-question
// by default, no (false)
mphPrefs.assessPrevToNonQuestion = false;
mphPrefs.assessNextEnabled = true;
mphPrefs.assessBackEnabled = false;
mphPrefs.assessMenuEnabled = true;
mphPrefs.assessDoneVisible = true;

// Can the state of questions be remembered
// They will only be remembered if: it's an assessment; it's not timed per question;
// the correct answer is not shown; feedback is not given; and, the Done button is visible
mphPrefs.assessMemory = false;
if (mphPrefs.assessment && (!mphPrefs.assessTimeLimit && mphPrefs.assessTimeEach==null) && !mphPrefs.assessShowCorrect && !mphPrefs.assessFeedback && mphPrefs.assessDoneVisible) {
	mphPrefs.assessMemory = true;
}
// Management
mphPrefs.signin = false;
mphPrefs.selfRegister = false;
mphPrefs.reqUsername = true;
mphPrefs.labelName = "Name";
mphPrefs.reqID = true;
mphPrefs.labelID = "ID";
mphPrefs.reqPwd = true;
mphPrefs.labelPwd = "Password";
mphPrefs.labelPwd2 = "Re-enter Password";
// do you want data recorded
mphPrefs.record = false;
// email
mphPrefs.sendEmail = false;
mphPrefs.email = "Enter email address here";
// local db
mphPrefs.localDB = false;
mphPrefs.table = "Table1"
// web db
mphPrefs.webDB = false;
// Connected to SCORM LMS
mphPrefs.LMS = false;

