var gNQ4 = null;
window.onload = function(){
var page = null;
indiceWindow = new DraggableWindow($('indice'),$('indicehandle'));
identFormWindow = new DraggableWindow($('resultIdentForm'),$('resulthandle'));
gNQ4 = getNewNetquiz();
gNQ4.numberPagesQuiz = 4;
gNQ4.answerTimerEnabled = true;

gNQ4.mode = 0;
gNQ4.pageLabel = 'Page';
gNQ4.navBarOf = 'of';
gNQ4.quizTitle = 'Test 5 Units 9-10';
gNQ4.resultTitle = 'Results';
gNQ4.showNavTextBox = true;
gNQ4.statusToDo = 'To be done';
gNQ4.statusToRedo = 'To be done over';
gNQ4.statusCompleted = 'Successfully finished';
gNQ4.timerTitle = 'Timer';
gNQ4.sMsgMotsMOrtho = 'Spelling mistakes';
gNQ4.sMsgMotsManq = 'Words missing (<u>underlined</u>)';
gNQ4.sMsgMotsTrop = 'Superfluous words [between brackets]';

gNQ4.goodAnswerLabel = 'Correct Answer';
gNQ4.wrongAnswerLabel = 'Incorrect Answer';
gNQ4.incompleteAnswerLabel = 'Incomplete Answer';
gNQ4.solutionLabel = 'Correct Answer';
gNQ4.suggestionLabel = 'Suggested Answer';
gNQ4.point = 'point';
gNQ4.points = 'points';
gNQ4.navbResult = 'Results';
gNQ4.navbRedo = 'Reset';
gNQ4.navbSolution = 'Correct Answer';
gNQ4.navbValidate = 'Submit';
gNQ4.resultButtonRedo = 'Start over';
gNQ4.resultButtonSendTo = 'Send to';
gNQ4.resultButtonPrint = 'Print';
gNQ4.resultButtonOK = 'OK';
gNQ4.resultButtonCancel = 'Cancel';
gNQ4.removeHiliteLabel = 'Erase selected highlighting';
gNQ4.resultHeaderCol0 = 'Page';
gNQ4.resultHeaderCol1 = 'Number of tries';
gNQ4.resultHeaderCol2 = 'Response time';
gNQ4.resultHeaderCol3 = 'Points';
gNQ4.resultHeaderCol4 = 'Status';
gNQ4.resultIdentTitle = 'Information';
gNQ4.rifLblLastName = 'Name';
gNQ4.rifLblName = 'First name';
gNQ4.rifLblCode = 'Student number';
gNQ4.rifLblGroup = 'Group';
gNQ4.rifLblEmail = 'Email';
gNQ4.rifLblOther = 'Other';
gNQ4.msgRestartQuiz = 'Stat over erases all answers and results. If you do not want to erase these results or if you want to print them before redoing the quiz, click on Cancel; otherwise, click on OK.';
gNQ4.decimalSymbol = 1;
gNQ4.bgSkinColor = '797979';



page = gNQ4.newPage();
page.title = '';
page.initQuestionBlankText(0);
page.statement = '<b>Complete the following sentences by choosing the correct word.</b>';
page.consigne = 'Drag and drop each of the expressions in the list into its appropriate space in the text.';
page.question.questionType = 1;
page.question.addGoodAnswer('of', '', 1);
page.question.setOtherAnswersFeedback('Unknown error', 1);
page.question.addGoodAnswer('from', '', 2);
page.question.setOtherAnswersFeedback('Unknown error', 2);
page.question.addGoodAnswer('in', '', 3);
page.question.setOtherAnswersFeedback('Unknown error', 3);
page.question.addGoodAnswer('by', '', 4);
page.question.setOtherAnswersFeedback('Unknown error', 4);
page.question.addGoodAnswer('to', '', 5);
page.question.setOtherAnswersFeedback('Unknown error', 5);
page.question.addGoodAnswer('to', '', 6);
page.question.setOtherAnswersFeedback('Unknown error', 6);
page.question.shuffle();
page.question.addMainText('1. A car is made %blank1 different parts of metal and plastic.<br />2. Plastic is made %blank2 petrol.<br />3. The fastest cars in the world are produced %blank3 Germany.<br />4. Glass is made %blank4 mixing sand and chemicals to water.<br />5. Oil is used %blank5 power ships and planes.<br />6. How is oil connected %blank6 make-up?');
page.readableType = 'Fill in the blanks help';
page.question.ponderation = 3;

page = gNQ4.newPage();
page.title = '';
page.initQuestionBlankText(1);
page.statement = 'Complete the sentences with a suitable collocation.';
page.consigne = 'Drag and drop each of the expressions in the list into its appropriate space in the text.';
page.question.questionType = 1;
page.question.addGoodAnswer('lines', '', 1);
page.question.setOtherAnswersFeedback('Unknown error', 1);
page.question.addGoodAnswer('engine', '', 2);
page.question.setOtherAnswersFeedback('Unknown error', 2);
page.question.addGoodAnswer('shoes', '', 3);
page.question.setOtherAnswersFeedback('Unknown error', 3);
page.question.addGoodAnswer('threads', '', 4);
page.question.setOtherAnswersFeedback('Unknown error', 4);
page.question.addGoodAnswer('process', '', 5);
page.question.setOtherAnswersFeedback('Unknown error', 5);
page.question.addGoodAnswer('materials', '', 6);
page.question.setOtherAnswersFeedback('Unknown error', 6);
page.question.shuffle();
page.question.addMainText('1. My grandfather buys fishing %blank1 made in Portugal.<br />2. The first steam %blank2 was invented by Hero of Alexandria in the first century AD.<br />3. Most athletic %blank3 are made in the far East nowadays.<br />4. Justinian introduced the making of silk %blank4 into the West.<br />5. Making plastic from oil involves a complicated scientific %blank5 .<br />6. Natural %blank6 are more pleasant to wear than those which are synthetic.');
page.readableType = 'Fill in the blanks help';
page.question.ponderation = 3;

page = gNQ4.newPage();
page.title = '';
page.initQuestionAssociation(2);
page.statement = '<b>Match the words.</b>';
page.consigne = 'To correctly match items on the right with items on the left, drag and drop each item on the right onto the appropriate box.';
page.question.addChoice('plain', 0, 'tie', 0, '', '', 0);
page.question.addChoice('spiked', 0, 'hair', 0, '', '', 0);
page.question.addChoice('round neck', 0, 'pullover', 0, '', '', 0);
page.question.addChoice('long sleeved', 0, 'shirt', 0, '', '', 0);
page.question.addChoice('knee length', 0, 'skirt', 0, '', '', 0);
page.question.labelType = 0;
page.readableType = 'Matching help';
page.question.ponderation = 5;

page = gNQ4.newPage();
page.title = '';
page.initQuestionBlankText(3);
page.statement = '<b>Complete the sentences with the following expressions.</b>';
page.consigne = 'Drag and drop each of the expressions in the list into its appropriate space in the text.';
page.question.questionType = 1;
page.question.addGoodAnswer('a load of rubbish', '', 1);
page.question.setOtherAnswersFeedback('Unknown error', 1);
page.question.addGoodAnswer('wear your heart on your sleeve', '', 2);
page.question.setOtherAnswersFeedback('Unknown error', 2);
page.question.addGoodAnswer('dressed to kill', '', 3);
page.question.setOtherAnswersFeedback('Unknown error', 3);
page.question.addGoodAnswer('stands out', '', 4);
page.question.setOtherAnswersFeedback('Unknown error', 4);
page.question.addGoodAnswer('pull up your socks', '', 5);
page.question.setOtherAnswersFeedback('Unknown error', 5);
page.question.addGoodAnswer('drives all the music fans wild', '', 6);
page.question.setOtherAnswersFeedback('Unknown error', 6);
page.question.addGoodAnswer('in search of', '', 7);
page.question.setOtherAnswersFeedback('Unknown error', 7);
page.question.shuffle();
page.question.addMainText('1. What you are saying is %blank1. I will never believe you saw a ghost!<br />2. Do you wonder how your friends know how you feel? Easy! You %blank2.<br />3. Tonight you are %blank3. Everybody will be looking at this fantastic outfit.<br />4. George is so clever, he is the best student in Maths, he really %blank4.<br />5. If you want to pass the class, %blank5 and do some serious work.<br />6. The rock singer\'s new song %blank6.<br />7. Many migrants went to other countries %blank7 a better life.');
page.readableType = 'Fill in the blanks help';
page.question.ponderation = 7;

gNQ4.init();
}