// version 1.005
// Options used by the course
var mphAssessScore = {};
var mphFdbck = {};
var mphMem = {};
var mphObj = {};
var mphPrefs = {};
var mphRandom = {};

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 = "Fashion Design";
mphPrefs.menuTitles = [];
mphPrefs.menuTitlesTopDisplay = [];

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 = "nil";
mphObj.projectSuf = ".htm";

// image type (generally)
mphObj.imgExt = ".png";

//
/* General */
mphPrefs.courseName = "Fashion Design";
mphPrefs.courseCode = "TTI5243";
mphPrefs.courseDesc = "";
mphPrefs.courseKeywords = "";
mphPrefs.courseAuthor = "N. Alwis";
mphPrefs.courseDate = "01st Feb 2008";
mphPrefs.indexDisplay = [1,1,1,1,1];
mphPrefs.courseObjectives = "";
mphPrefs.courseAudience = "";
// Is it a single topic course: [true, false]
mphPrefs.singleTopic = true;
//
// 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 = [1];

// is there a final performance screen
mphPrefs.finalPerformance = true;
//
// Assessment
// Is the last topic an assessment
mphPrefs.assessment = false;
//
mphPrefs.assessShowCorrect = false;
mphPrefs.assessFeedback = false;
mphPrefs.assessTimeLimit = false;
mphPrefs.assessTimeEach = null;
mphPrefs.assessTimeAll = null;
mphPrefs.showTimeRemaining = true;
mphPrefs.assessNumQuestions = null;
mphPrefs.assessPassMark = 40;
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 = true;
// 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;

/////////////
//Outline
//////////////////
mphPrefs.outline 				    = {};
mphPrefs.outline.activate 			    = false;
mphPrefs.outline.win 				= null;
mphPrefs.outline.label 					= "OUTLINE";
mphPrefs.outline.closeOnSelect 			= false;
mphPrefs.outline.width                    = 300;
mphPrefs.outline.height                   = 560;
mphPrefs.outline.left 					= "12px";
mphPrefs.outline.top 					    = "4px";
mphPrefs.outline.font 					= "Arial";
mphPrefs.outline.fontSize 			    = "10px";
mphPrefs.outline.weight					= "bold";
mphPrefs.outline.color 					= "#000000";
mphPrefs.nextBtnDelay                     = 0;
mphPrefs.completeTopicsInOrder            = false;
mphPrefs.autoProgress                     = true;

