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

gNQ4.mode = 0;
gNQ4.pageLabel = 'Page';
gNQ4.navBarOf = 'of';
gNQ4.quizTitle = 'Test 1 Lessons 1-3';
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.initQuestionMultipleChoices(0);
page.statement = '1. His mum is driving him to school today.';
page.consigne = 'Click on one of the radio buttons to indicate a correct answer.';
page.question.addChoice('True', 0, '', false);
page.question.addChoice('False', 0, '', true);
page.question.labelType = 0;
page.question.shuffle();
page.readableType = 'True/False help';
page.question.ponderation = 4;
page.textGuideline = '<b>A TYPICAL MORNING IN JOHN\'S LIFE</b> <br />Rrrrrrrrrring!!! The a larm clock goes off. Let me sleep, please!!! “Get up, you\'re getting late for school!”<br />“Oh, mum, it\'s only… (I look at the clock) WHAT? Already? I get up, rush to the bathroom and have a quick shower.<br />“Hurry up or you\'ll miss the bus.” I have breakfast quickly, I rush to the bus stop and I see the bus turning round the corner. Oh God, I\'m dead meat!<br />I go back home and ask dad to give me a lift to school (I have to listen to a long speech on how important it is to get to school on time) “Yes, dad... no, dad... I\'m sorry, dad, it won\'t happen again... yes, dad...no dad” (I arrive at school and the students have just got in the classroom).<br />Just what I wanted. (I have to take three rounds of the footba ll field without stopping<br />because I was late)<br />Why do they make fields so HUGE??? (I get into the classroom 10 minutes later)<br />“Class, today we\'re going to start geometry.”<br />Oh, no! Don\'t tell me I forgot my notebook at home. The teacher asks me to stand outside the class because I didn\'t bring the maths notebook. The bell rings the end of the period after a while. Finally! The rest of the day goes without any other accidents.<br />“Mum, I\'m home”. “Here honey, have your lunch.” “Rice and vegetables again? How does anybody eat this stuff?” “Eat the food quickly or else… ”<br />I finish food and go to my room. Ah, peace at last!<br /><br /><b>Read the text and click True or False next to the sentences.</b>';

page = gNQ4.newPage();
page.title = '';
page.initQuestionMultipleChoices(1);
page.statement = '2. He has to take three rounds of the football field because he is late for class.';
page.consigne = 'Click on one of the radio buttons to indicate a correct answer.';
page.question.addChoice('True', 0, '', true);
page.question.addChoice('False', 0, '', false);
page.question.labelType = 0;
page.question.shuffle();
page.readableType = 'True/False help';
page.question.ponderation = 4;
page.textGuideline = '<b>A TYPICAL MORNING IN JOHN\'S LIFE</b> <br />Rrrrrrrrrring!!! The a larm clock goes off. Let me sleep, please!!! “Get up, you\'re getting late for school!”<br />“Oh, mum, it\'s only… (I look at the clock) WHAT? Already? I get up, rush to the bathroom and have a quick shower.<br />“Hurry up or you\'ll miss the bus.” I have breakfast quickly, I rush to the bus stop and I see the bus turning round the corner. Oh God, I\'m dead meat!<br />I go back home and ask dad to give me a lift to school (I have to listen to a long speech on how important it is to get to school on time) “Yes, dad... no, dad... I\'m sorry, dad, it won\'t happen again... yes, dad...no dad” (I arrive at school and the students have just got in the classroom).<br />Just what I wanted. (I have to take three rounds of the footba ll field without stopping<br />because I was late)<br />Why do they make fields so HUGE??? (I get into the classroom 10 minutes later)<br />“Class, today we\'re going to start geometry.”<br />Oh, no! Don\'t tell me I forgot my notebook at home. The teacher asks me to stand outside the class because I didn\'t bring the maths notebook. The bell rings the end of the period after a while. Finally! The rest of the day goes without any other accidents.<br />“Mum, I\'m home”. “Here honey, have your lunch.” “Rice and vegetables again? How does anybody eat this stuff?” “Eat the food quickly or else… ”<br />I finish food and go to my room. Ah, peace at last!<br /><br /><b>Read the text and click True or False next to the sentences.</b>';

page = gNQ4.newPage();
page.title = '';
page.initQuestionMultipleChoices(2);
page.statement = '3. They\'re starting a new school subject today.';
page.consigne = 'Click on one of the radio buttons to indicate a correct answer.';
page.question.addChoice('True', 0, '', true);
page.question.addChoice('False', 0, '', false);
page.question.labelType = 0;
page.question.shuffle();
page.readableType = 'True/False help';
page.question.ponderation = 4;
page.textGuideline = '<b>A TYPICAL MORNING IN JOHN\'S LIFE</b> <br />Rrrrrrrrrring!!! The a larm clock goes off. Let me sleep, please!!! “Get up, you\'re getting late for school!”<br />“Oh, mum, it\'s only… (I look at the clock) WHAT? Already? I get up, rush to the bathroom and have a quick shower.<br />“Hurry up or you\'ll miss the bus.” I have breakfast quickly, I rush to the bus stop and I see the bus turning round the corner. Oh God, I\'m dead meat!<br />I go back home and ask dad to give me a lift to school (I have to listen to a long speech on how important it is to get to school on time) “Yes, dad... no, dad... I\'m sorry, dad, it won\'t happen again... yes, dad...no dad” (I arrive at school and the students have just got in the classroom).<br />Just what I wanted. (I have to take three rounds of the footba ll field without stopping<br />because I was late)<br />Why do they make fields so HUGE??? (I get into the classroom 10 minutes later)<br />“Class, today we\'re going to start geometry.”<br />Oh, no! Don\'t tell me I forgot my notebook at home. The teacher asks me to stand outside the class because I didn\'t bring the maths notebook. The bell rings the end of the period after a while. Finally! The rest of the day goes without any other accidents.<br />“Mum, I\'m home”. “Here honey, have your lunch.” “Rice and vegetables again? How does anybody eat this stuff?” “Eat the food quickly or else… ”<br />I finish food and go to my room. Ah, peace at last!<br /><br /><b>Read the text and click True or False next to the sentences.</b>';

page = gNQ4.newPage();
page.title = '';
page.initQuestionMultipleChoices(3);
page.statement = '4. His maths teacher sent him out of the classroom because he was noisy.';
page.consigne = 'Click on one of the radio buttons to indicate a correct answer.';
page.question.addChoice('True', 0, '', false);
page.question.addChoice('False', 0, '', true);
page.question.labelType = 0;
page.question.shuffle();
page.readableType = 'True/False help';
page.question.ponderation = 4;
page.textGuideline = '<b>A TYPICAL MORNING IN JOHN\'S LIFE</b> <br />Rrrrrrrrrring!!! The a larm clock goes off. Let me sleep, please!!! “Get up, you\'re getting late for school!”<br />“Oh, mum, it\'s only… (I look at the clock) WHAT? Already? I get up, rush to the bathroom and have a quick shower.<br />“Hurry up or you\'ll miss the bus.” I have breakfast quickly, I rush to the bus stop and I see the bus turning round the corner. Oh God, I\'m dead meat!<br />I go back home and ask dad to give me a lift to school (I have to listen to a long speech on how important it is to get to school on time) “Yes, dad... no, dad... I\'m sorry, dad, it won\'t happen again... yes, dad...no dad” (I arrive at school and the students have just got in the classroom).<br />Just what I wanted. (I have to take three rounds of the footba ll field without stopping<br />because I was late)<br />Why do they make fields so HUGE??? (I get into the classroom 10 minutes later)<br />“Class, today we\'re going to start geometry.”<br />Oh, no! Don\'t tell me I forgot my notebook at home. The teacher asks me to stand outside the class because I didn\'t bring the maths notebook. The bell rings the end of the period after a while. Finally! The rest of the day goes without any other accidents.<br />“Mum, I\'m home”. “Here honey, have your lunch.” “Rice and vegetables again? How does anybody eat this stuff?” “Eat the food quickly or else… ”<br />I finish food and go to my room. Ah, peace at last!<br /><br /><b>Read the text and click True or False next to the sentences.</b>';

page = gNQ4.newPage();
page.title = '';
page.initQuestionMultipleChoices(4);
page.statement = '5. John likes rice and vegetables.';
page.consigne = 'Click on one of the radio buttons to indicate a correct answer.';
page.question.addChoice('True', 0, '', false);
page.question.addChoice('False', 0, '', true);
page.question.labelType = 0;
page.question.shuffle();
page.readableType = 'True/False help';
page.question.ponderation = 4;
page.textGuideline = '<b>A TYPICAL MORNING IN JOHN\'S LIFE</b> <br />Rrrrrrrrrring!!! The a larm clock goes off. Let me sleep, please!!! “Get up, you\'re getting late for school!”<br />“Oh, mum, it\'s only… (I look at the clock) WHAT? Already? I get up, rush to the bathroom and have a quick shower.<br />“Hurry up or you\'ll miss the bus.” I have breakfast quickly, I rush to the bus stop and I see the bus turning round the corner. Oh God, I\'m dead meat!<br />I go back home and ask dad to give me a lift to school (I have to listen to a long speech on how important it is to get to school on time) “Yes, dad... no, dad... I\'m sorry, dad, it won\'t happen again... yes, dad...no dad” (I arrive at school and the students have just got in the classroom).<br />Just what I wanted. (I have to take three rounds of the footba ll field without stopping<br />because I was late)<br />Why do they make fields so HUGE??? (I get into the classroom 10 minutes later)<br />“Class, today we\'re going to start geometry.”<br />Oh, no! Don\'t tell me I forgot my notebook at home. The teacher asks me to stand outside the class because I didn\'t bring the maths notebook. The bell rings the end of the period after a while. Finally! The rest of the day goes without any other accidents.<br />“Mum, I\'m home”. “Here honey, have your lunch.” “Rice and vegetables again? How does anybody eat this stuff?” “Eat the food quickly or else… ”<br />I finish food and go to my room. Ah, peace at last!<br /><br /><b>Read the text and click True or False next to the sentences.</b>';

page = gNQ4.newPage();
page.title = '';
page.initQuestionMarquage(5);
page.statement = '<b>Highlight the odd one.</b>';
page.consigne = 'To highlight text, first select it and then click the appropriate coloured square. To remove highlighting, select the text once again and click the “Erase highlighting” button. (Attention! If you want to change the colour text which is already highlighted, erase the old highlighting first.)';
page.question.addMainText('Tuesday Friday PE Wednesday<br />blurb dancing painting cooking<br />author dairy products publisher character<br />gift comic romantic horror<br />dishes festival musical choreography');
page.question.iFautePond = '0.1';
page.question.addChoice(15, 16, 'd0c400');
page.question.addChoice(33, 37, 'd0c400');
page.question.addChoice(76, 89, 'd0c400');
page.question.addChoice(116, 119, 'd0c400');
page.question.addChoice(148, 153, 'd0c400');
page.question.addColor('d0c400', 'Untitled', '', '', '');
page.readableType = 'Highlight text help';
page.question.ponderation = 5;

page = gNQ4.newPage();
page.title = '';
page.initQuestionMultipleChoices(6);
page.statement = '1. I feel ...............… when I see poor children in the streets.';
page.consigne = 'Click on one of the radio buttons to indicate a correct answer.';
page.question.addChoice('sad', 0, '', true);
page.question.addChoice('excited', 0, '', false);
page.question.addChoice('bored', 0, '', false);
page.question.labelType = 0;
page.question.shuffle();
page.readableType = 'Multiple choice help';
page.question.ponderation = 1.0;
page.textGuideline = '<b></b> <br /><b>Choose the correct word to complete the sentences.</b>';

page = gNQ4.newPage();
page.title = '';
page.initQuestionMultipleChoices(7);
page.statement = '2. Fast food isn\'t ……...……………… for teenagers.';
page.consigne = 'Click on one of the radio buttons to indicate a correct answer.';
page.question.addChoice('unhealthy', 0, '', false);
page.question.addChoice('healthy', 0, '', true);
page.question.addChoice('health', 0, '', false);
page.question.labelType = 0;
page.question.shuffle();
page.readableType = 'Multiple choice help';
page.question.ponderation = 1.0;
page.textGuideline = '<b>Choose the correct word to complete the sentences.</b>';

page = gNQ4.newPage();
page.title = '';
page.initQuestionMultipleChoices(8);
page.statement = '3. I must ..........…. down on fatty foods.';
page.consigne = 'Click on one of the radio buttons to indicate a correct answer.';
page.question.addChoice('give', 0, '', false);
page.question.addChoice('cut', 0, '', true);
page.question.addChoice('stop', 0, '', false);
page.question.labelType = 0;
page.question.shuffle();
page.readableType = 'Multiple choice help';
page.question.ponderation = 1.0;
page.textGuideline = '<b>Choose the correct word to complete the sentences.</b>';

page = gNQ4.newPage();
page.title = '';
page.initQuestionMultipleChoices(9);
page.statement = '4. My best friend is a great ……........... of Madonna but I don\'t like her very much.';
page.consigne = 'Click on one of the radio buttons to indicate a correct answer.';
page.question.addChoice('fun', 0, '', false);
page.question.addChoice('funny', 0, '', false);
page.question.addChoice('fan', 0, '', true);
page.question.labelType = 0;
page.question.shuffle();
page.readableType = 'Multiple choice help';
page.question.ponderation = 1.0;
page.textGuideline = '<b>Choose the correct word to complete the sentences.</b>';

page = gNQ4.newPage();
page.title = '';
page.initQuestionMultipleChoices(10);
page.statement = '5. Can we …........... part in the school song contest?';
page.consigne = 'Click on one of the radio buttons to indicate a correct answer.';
page.question.addChoice('take', 0, '', true);
page.question.addChoice('have', 0, '', false);
page.question.addChoice('give', 0, '', false);
page.question.labelType = 0;
page.question.shuffle();
page.readableType = 'Multiple choice help';
page.question.ponderation = 1.0;
page.textGuideline = '<b>Choose the correct word to complete the sentences.</b>';

page = gNQ4.newPage();
page.title = '';
page.initQuestionAssociation(11);
page.statement = '<b>Match the words with their definitions.</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('review', 0, 'a report about a book', 0, '', '', 0);
page.question.addChoice('damage', 0, 'do harm', 0, '', '', 0);
page.question.addChoice('huge', 0, 'very big', 0, '', '', 0);
page.question.addChoice('battle', 0, 'fight between two armies', 0, '', '', 0);
page.question.addChoice('evil', 0, 'very bad', 0, '', '', 0);
page.question.labelType = 0;
page.readableType = 'Matching help';
page.question.ponderation = 5;

page = gNQ4.newPage();
page.title = '';
page.initQuestionBlankText(12);
page.statement = '<b>Put the verbs in brackets in the correct form of Simple Present and Present Continuous.</b>';
page.consigne = 'Write the missing expression in each input field of the text.';
page.question.questionType = 2;
page.question.inputSize = 100;
page.question.addGoodAnswer('is snowing', '', 1);
page.question.setOtherAnswersFeedback('Try again', 1);
page.question.addGoodAnswer('doesn\'t like', '', 2);
page.question.setOtherAnswersFeedback('Try again', 2);
page.question.addGoodAnswer('is writing', '', 3);
page.question.setOtherAnswersFeedback('Try again', 3);
page.question.addGoodAnswer('Is Betty wearing', '', 4);
page.question.setOtherAnswersFeedback('Try again', 4);
page.question.addGoodAnswer('tidies', '', 5);
page.question.setOtherAnswersFeedback('Try again', 5);
page.question.shuffle();
page.question.addMainText('1. Look! It %blank1 (snow).<br />2. Magda %blank2 (not like) school very much.<br />3. Jacqueline Wilson %blank3 (write) a new book these days.<br />4. %blank4 (Betty/wear) her black shoes today?<br />5. George %blank5 (tidy) his bedroom once a week.');
page.readableType = 'Fill in the blanks help';
page.question.ponderation = 5;

page = gNQ4.newPage();
page.title = '';
page.initQuestionBlankText(13);
page.statement = '<b>Look at the sentences and write the questions.</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('do you usually drink with your meals?', '', 1);
page.question.setOtherAnswersFeedback('Try again', 1);
page.question.addGoodAnswer('is Andrew crying?', '', 2);
page.question.setOtherAnswersFeedback('Try again', 2);
page.question.addGoodAnswer('do you go to school every morning?', '', 3);
page.question.setOtherAnswersFeedback('Try again', 3);
page.question.addGoodAnswer('is Mary taking right now?', '', 4);
page.question.setOtherAnswersFeedback('Try again', 4);
page.question.shuffle();
page.question.addMainText('1. I usually drink orange juice with my meals.<br />What %blank1<br />2. Andrew is crying because he can\'t find his toy car.<br />Why %blank2<br />3. We go to school on foot every morning.<br />How %blank3<br />4. Mary is taking a test right now.<br />What %blank4');
page.readableType = 'Fill in the blanks help';
page.question.ponderation = 8;

page = gNQ4.newPage();
page.title = '';
page.initQuestionMarquage(14);
page.statement = '<b>Highlight the correct word.</b>';
page.consigne = 'To highlight text, first select it and then click the appropriate coloured square. To remove highlighting, select the text once again and click the “Erase highlighting” button. (Attention! If you want to change the colour text which is already highlighted, erase the old highlighting first.)';
page.question.addMainText('1. We must / shouldn\'t eat three normal-sized meals a day.<br />2. You may / don\'t have to go on a diet. You are in a good shape!<br />3. There is no answer on the phone. She mustn\'t / may be at work.<br />4. My mobile phone isn\'t as expensive / more expensive as my friend\'s.<br />5. My brother is the good / best basketball player in the school team.');
page.question.iFautePond = '0.1';
page.question.addChoice(6, 9, 'd0c400');
page.question.addChoice(77, 89, 'd0c400');
page.question.addChoice(185, 187, 'd0c400');
page.question.addChoice(234, 242, 'd0c400');
page.question.addChoice(310, 313, 'd0c400');
page.question.addColor('d0c400', 'Untitled', '', '', '');
page.readableType = 'Highlight text help';
page.question.ponderation = 5;

page = gNQ4.newPage();
page.title = '';
page.initQuestionAssociation(15);
page.statement = '<b>Listen to three speakers talking about teenage problems and match them with the problems.</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('Speaker 1', 0, 'wants to change something in her appearance', 0, '', '', 0);
page.question.addChoice('Speaker 2', 0, 'wants to spend the weekend with her friends', 0, '', '', 0);
page.question.addChoice('Speaker 3', 0, 'worries about a member of her family', 0, '', '', 0);
page.question.labelType = 0;
page.readableType = 'Matching help';
page.question.ponderation = 12;
page.soundPath = '45_mixdown.mp3';
page.autoplaySound = false;
page.showSoundController = true;

gNQ4.init();
}