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

gNQ4.mode = 0;
gNQ4.pageLabel = 'Page';
gNQ4.navBarOf = 'of';
gNQ4.quizTitle = 'Test 2 Units 3-4';
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>Use the following words to describe the situation in each of the sentences 1-6.</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('faulty', '', 1);
page.question.setOtherAnswersFeedback('Unknown error', 1);
page.question.addGoodAnswer('discount', '', 2);
page.question.setOtherAnswersFeedback('Unknown error', 2);
page.question.addGoodAnswer('refund', '', 3);
page.question.setOtherAnswersFeedback('Unknown error', 3);
page.question.addGoodAnswer('brand', '', 4);
page.question.setOtherAnswersFeedback('Unknown error', 4);
page.question.addGoodAnswer('guarantee', '', 5);
page.question.setOtherAnswersFeedback('Unknown error', 5);
page.question.addGoodAnswer('model', '', 6);
page.question.setOtherAnswersFeedback('Unknown error', 6);
page.question.shuffle();
page.question.addMainText('1. The radio doesn\'t work. It\'s %blank1 .<br />2. My father gets a %blank2 at the store because he is the manager.<br />3. The shop didn\'t give me a %blank3 but they gave me another CD.<br />4. What %blank4 of toothpaste do you use?<br />5. The stereo has a one year %blank5 so I am not worried if it breaks down.<br />6. The new %blank6 of my phone costs more than the one I have got now.');
page.readableType = 'Fill in the blanks help';
page.question.ponderation = 6;

page = gNQ4.newPage();
page.title = '';
page.initQuestionMultipleChoices(1);
page.statement = '1. I didn\'t buy the CD player because it was ……………. expensive.';
page.consigne = 'Click on one of the radio buttons to indicate a correct answer.';
page.question.addChoice('much', 0, '', false);
page.question.addChoice('more', 0, '', false);
page.question.addChoice('too', 0, '', true);
page.question.addChoice('an', 0, '', false);
page.question.labelType = 0;
page.question.shuffle();
page.readableType = 'Multiple choice help';
page.question.ponderation = 1;
page.textGuideline = '<b>Complete the sentences by choosing the correct word from those given.</b>';

page = gNQ4.newPage();
page.title = '';
page.initQuestionMultipleChoices(2);
page.statement = '2. Don\'t buy that model of mobile. It\'s the …………… phone in the shop!';
page.consigne = 'Click on one of the radio buttons to indicate a correct answer.';
page.question.addChoice('worst', 0, '', true);
page.question.addChoice('best', 0, '', false);
page.question.addChoice('good', 0, '', false);
page.question.addChoice('bad', 0, '', false);
page.question.labelType = 0;
page.question.shuffle();
page.readableType = 'Multiple choice help';
page.question.ponderation = 1;
page.textGuideline = '<b>Complete the sentences by choosing the correct word from those given.</b>';

page = gNQ4.newPage();
page.title = '';
page.initQuestionMultipleChoices(3);
page.statement = '3. The battery with John\'s iPod lasts …………… than Irene\'s battery.';
page.consigne = 'Click on one of the radio buttons to indicate a correct answer.';
page.question.addChoice('faster', 0, '', false);
page.question.addChoice('quicker', 0, '', false);
page.question.addChoice('more', 0, '', false);
page.question.addChoice('longer', 0, '', true);
page.question.labelType = 0;
page.question.shuffle();
page.readableType = 'Multiple choice help';
page.question.ponderation = 1;
page.textGuideline = '<b>Complete the sentences by choosing the correct word from those given.</b>';

page = gNQ4.newPage();
page.title = '';
page.initQuestionMultipleChoices(4);
page.statement = '4. What is the ……………….. brand of stereo you have in this store?';
page.consigne = 'Click on one of the radio buttons to indicate a correct answer.';
page.question.addChoice('more expensive', 0, '', false);
page.question.addChoice('expensive', 0, '', false);
page.question.addChoice('most expensive', 0, '', true);
page.question.addChoice('cheap', 0, '', false);
page.question.labelType = 0;
page.question.shuffle();
page.readableType = 'Multiple choice help';
page.question.ponderation = 1;
page.textGuideline = '<b>Complete the sentences by choosing the correct word from those given.</b>';

page = gNQ4.newPage();
page.title = '';
page.initQuestionMultipleChoices(5);
page.statement = '5. A laptop is …………… than a PC because you can take it with you on holiday.';
page.consigne = 'Click on one of the radio buttons to indicate a correct answer.';
page.question.addChoice('good', 0, '', false);
page.question.addChoice('much better', 0, '', true);
page.question.addChoice('more', 0, '', false);
page.question.addChoice('too good', 0, '', false);
page.question.labelType = 0;
page.question.shuffle();
page.readableType = 'Multiple choice help';
page.question.ponderation = 1;
page.textGuideline = '<b>Complete the sentences by choosing the correct word from those given.</b>';

page = gNQ4.newPage();
page.title = '';
page.initQuestionAssociation(6);
page.statement = '<b>Match the verbs on the left with the nouns on the right.</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('charge', 0, 'batteries', 0, '', '', 0);
page.question.addChoice('install', 0, 'a program', 0, '', '', 0);
page.question.addChoice('send', 0, 'e-mail', 0, '', '', 0);
page.question.addChoice('log', 0, 'onto the net', 0, '', '', 0);
page.question.addChoice('store', 0, 'information', 0, '', '', 0);
page.question.addChoice('plug', 0, 'in a printer', 0, '', '', 0);
page.question.labelType = 0;
page.readableType = 'Matching help';
page.question.ponderation = 6;

page = gNQ4.newPage();
page.title = '';
page.initQuestionMultipleChoices(7);
page.statement = '1. If you help me with the garden, I …………… buy you a candy.';
page.consigne = 'Click on one of the radio buttons to indicate a correct answer.';
page.question.addChoice('have to', 0, '', false);
page.question.addChoice('should', 0, '', false);
page.question.addChoice('will', 0, '', true);
page.question.addChoice('shouldn\'t', 0, '', false);
page.question.labelType = 0;
page.question.shuffle();
page.readableType = 'Multiple choice help';
page.question.ponderation = 1;
page.textGuideline = '<b></b> <br /><b>Complete the sentences with the correct word.</b>';

page = gNQ4.newPage();
page.title = '';
page.initQuestionMultipleChoices(8);
page.statement = '2. In the next lesson, you …………….learn about the meaning of facial expressions.';
page.consigne = 'Click on one of the radio buttons to indicate a correct answer.';
page.question.addChoice('will', 0, '', true);
page.question.addChoice('are going', 0, '', false);
page.question.addChoice('shouldn\'t', 0, '', false);
page.question.addChoice('won\'t have to', 0, '', false);
page.question.labelType = 0;
page.question.shuffle();
page.readableType = 'Multiple choice help';
page.question.ponderation = 1;
page.textGuideline = '<b>Complete the sentences with the correct word.</b>';

page = gNQ4.newPage();
page.title = '';
page.initQuestionMultipleChoices(9);
page.statement = '3. We ……………… come to school next Monday as it is a school holiday.';
page.consigne = 'Click on one of the radio buttons to indicate a correct answer.';
page.question.addChoice('have to', 0, '', false);
page.question.addChoice('should', 0, '', false);
page.question.addChoice('don\'t have to', 0, '', true);
page.question.addChoice('will', 0, '', false);
page.question.labelType = 0;
page.question.shuffle();
page.readableType = 'Multiple choice help';
page.question.ponderation = 1;
page.textGuideline = '<b>Complete the sentences with the correct word.</b>';

page = gNQ4.newPage();
page.title = '';
page.initQuestionMultipleChoices(10);
page.statement = '4. I will help you, if you …………………. .';
page.consigne = 'Click on one of the radio buttons to indicate a correct answer.';
page.question.addChoice('wanted', 0, '', false);
page.question.addChoice('are wanting', 0, '', false);
page.question.addChoice('want', 0, '', true);
page.question.addChoice('will want', 0, '', false);
page.question.labelType = 0;
page.question.shuffle();
page.readableType = 'Multiple choice help';
page.question.ponderation = 1;
page.textGuideline = '<b>Complete the sentences with the correct word.</b>';

page = gNQ4.newPage();
page.title = '';
page.initQuestionMultipleChoices(11);
page.statement = '5. He sneezes if pepper …………….his nose.';
page.consigne = 'Click on one of the radio buttons to indicate a correct answer.';
page.question.addChoice('is smelling', 0, '', false);
page.question.addChoice('touches', 0, '', true);
page.question.addChoice('will touch', 0, '', false);
page.question.addChoice('can touch', 0, '', false);
page.question.labelType = 0;
page.question.shuffle();
page.readableType = 'Multiple choice help';
page.question.ponderation = 1;
page.textGuideline = '<b>Complete the sentences with the correct word.</b>';

page = gNQ4.newPage();
page.title = '';
page.initQuestionAssociation(12);
page.statement = 'Match the verbs to the correct part of the body.';
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('shrug', 0, 'your shoulders', 0, '', '', 0);
page.question.addChoice('fold', 0, 'your arms', 0, '', '', 0);
page.question.addChoice('bite', 0, 'your lip', 0, '', '', 0);
page.question.addChoice('point', 0, 'your finger', 0, '', '', 0);
page.question.addChoice('clear', 0, 'the throat', 0, '', '', 0);
page.question.addChoice('clench', 0, 'your teeth', 0, '', '', 0);
page.question.labelType = 0;
page.readableType = 'Matching help';
page.question.ponderation = 6;

page = gNQ4.newPage();
page.title = '';
page.initQuestionBlankText(13);
page.statement = '<b>Complete the letter with a suitable word. Use the first letter in bold to help you.</b>';
page.consigne = 'Write the missing expression in each input field of the text.';
page.question.questionType = 2;
page.question.inputSize = 250;
page.question.addGoodAnswer('ightmare', '', 1);
page.question.setOtherAnswersFeedback('Unknown error', 1);
page.question.addGoodAnswer('reamt', '', 2);
page.question.setOtherAnswersFeedback('Unknown error', 2);
page.question.addGoodAnswer('isgusting', '', 3);
page.question.setOtherAnswersFeedback('Unknown error', 3);
page.question.addGoodAnswer('eans', '', 4);
page.question.setOtherAnswersFeedback('Unknown error', 4);
page.question.addGoodAnswer('ecome', '', 5);
page.question.setOtherAnswersFeedback('Unknown error', 5);
page.question.addGoodAnswer('uccessful', '', 6);
page.question.setOtherAnswersFeedback('Unknown error', 6);
page.question.shuffle();
page.question.addMainText('Dear Christina,<br />Last night I had a terriblle <b>n</b>%blank1 . I <b>d</b>%blank2 that I had long arms and I looked <b>d</b>%blank3 . My mum says that this is a good dream and that it <b>m</b>%blank4 that one day I will <b>b</b>%blank5 rich and famous. She says that having long arms is a good sign and that I will have a <b>s</b>%blank6 life.');
page.readableType = 'Fill in the blanks help';
page.question.ponderation = 6;

gNQ4.init();
}