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 Lessons 4-6';
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>Read the text and choose the right headings.</b>';
page.consigne = 'Select the correct expression in each pull-down menu of the text.';
page.question.questionType = 3;
page.question.createSelect('WINNERS AND PRIZES', '', false, 1);
page.question.createSelect('COMPETITION RULES', '', false, 1);
page.question.createSelect('DRAWING AND PHOTO COMPETITION', '', true, 1);
page.question.createSelect('WINNERS AND PRIZES', '', false, 2);
page.question.createSelect('DRAWING AND PHOTO COMPETITION', '', false, 2);
page.question.createSelect('COMPETITION RULES', '', true, 2);
page.question.createSelect('COMPETITION RULES', '', false, 3);
page.question.createSelect('DRAWING AND PHOTO COMPETITION', '', false, 3);
page.question.createSelect('WINNERS AND PRIZES', '', true, 3);
page.question.addMainText('%blank1<br />HERE\'S A NEW EXCITING COMPETITION FOR ALL CHILDREN ACROSS EUROPE!!!<br />- A drawing and painting competition for 7-11 year olds<br />- A photo competition for children aged 12-16<br />%blank2<br />- Children from all European schools can take part in the competition.<br />- You can use paint, pencils or pastels for your drawing or picture.<br />- Photos must not be smaller than 15 x 20 cm<br />- Every entry must have your name, gender, age and school on it.<br />- You must send your entry by 30 June.<br />%blank3<br />- The winners in each age group will be announced after the summer holidays.<br />- The winner of the drawing competition will get a complete \'painting kit\'.<br />- The winner of the photo competition will get a digital camera.<br />- All participants will get a \'drawing/photo competition\' T-shirt.');
page.readableType = 'Fill in the blanks help';
page.question.ponderation = 6;

page = gNQ4.newPage();
page.title = '';
page.initQuestionBlankText(1);
page.statement = '<b>Read the text again and complete the sentences.</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('7', '', 1);
page.question.setOtherAnswersFeedback('Unknown error', 1);
page.question.addGoodAnswer('16', '', 2);
page.question.setOtherAnswersFeedback('Unknown error', 2);
page.question.addGoodAnswer('pictures', '', 3);
page.question.setOtherAnswersFeedback('Unknown error', 3);
page.question.addGoodAnswer('photos', '', 4);
page.question.setOtherAnswersFeedback('Unknown error', 4);
page.question.addGoodAnswer('June', '', 5);
page.question.setOtherAnswersFeedback('Unknown error', 5);
page.question.addGoodAnswer('September', '', 6);
page.question.setOtherAnswersFeedback('Unknown error', 6);
page.question.addGoodAnswer('painting kit', '', 7);
page.question.setOtherAnswersFeedback('Unknown error', 7);
page.question.addGoodAnswer('digital camera', '', 8);
page.question.addGoodAnswer('camera', '', 8);
page.question.setOtherAnswersFeedback('Unknown error', 8);
page.question.addGoodAnswer('T-shirt', '', 9);
page.question.setOtherAnswersFeedback('Unknown error', 9);
page.question.shuffle();
page.question.addMainText('1. Children can take part in the competition only if they are %blank1 - %blank2 years old.<br />2. Children can draw %blank3 or take %blank4.<br />3. Children must send their picture or photo before the end of %blank5.<br />4. You will know the winner in %blank6.<br />5. The prizes for the winners are a %blank7 and a %blank8.<br />6. All children who take part in the competition will win a %blank9.');
page.readableType = 'Fill in the blanks help';
page.question.ponderation = 9;
page.textGuideline = '<b>DRAWING AND PHOTO COMPETITION</b><br />HERE\'S A NEW EXCITING COMPETITION FOR ALL CHILDREN ACROSS<br />EUROPE!!!<br />- A drawing and painting competition for 7-11 year olds<br />- A photo competition for children aged 12-16<br /><b>COMPETITION RULES</b><br />- Children from all European schools can take part in the competition.<br />- You can use paint, pencils or pastels for your drawing or picture.<br />- Photos must not be smaller than 15 x 20 cm<br />- Every entry must have your name, gender, age and school on it.<br />- You must send your entry by 30 June.<br /><b>WINNERS AND PRIZES</b><br />- The winners in each age group will be announced after the summer holidays.<br />- The winner of the drawing competition will get a complete \'painting kit\'.<br />- The winner of the photo competition will get a digital camera.<br />- All participants will get a \'drawing/photo competition\' T-shirt.';

page = gNQ4.newPage();
page.title = '';
page.initQuestionAssociation(2);
page.statement = '<b>Match the words with their meaning.</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('hibernate', 0, 'fall into deep sleep', 0, '', '', 0);
page.question.addChoice('humans', 0, 'people', 0, '', '', 0);
page.question.addChoice('hairless', 0, 'with no hair', 0, '', '', 0);
page.question.addChoice('the recommended route', 0, 'the best way to follow', 0, '', '', 0);
page.question.addChoice('lost property', 0, 'things you can\'t find', 0, '', '', 0);
page.question.addChoice('meal', 0, 'breakfast, lunch, dinner', 0, '', '', 0);
page.question.addChoice('fountain', 0, 'place where water comes out', 0, '', '', 0);
page.question.addChoice('gift shop', 0, 'place you buy presents', 0, '', '', 0);
page.question.addChoice('feed', 0, 'give food', 0, '', '', 0);
page.question.addChoice('eco team', 0, 'they organise recycling', 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 correct word from the list.</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('good', '', 1);
page.question.setOtherAnswersFeedback('Unknown error', 1);
page.question.addGoodAnswer('looking', '', 2);
page.question.setOtherAnswersFeedback('Unknown error', 2);
page.question.addGoodAnswer('give', '', 3);
page.question.setOtherAnswersFeedback('Unknown error', 3);
page.question.addGoodAnswer('vegetarian', '', 4);
page.question.setOtherAnswersFeedback('Unknown error', 4);
page.question.addGoodAnswer('instruments', '', 5);
page.question.setOtherAnswersFeedback('Unknown error', 5);
page.question.addGoodAnswer('delicious', '', 6);
page.question.setOtherAnswersFeedback('Unknown error', 6);
page.question.addGoodAnswer('adventurous', '', 7);
page.question.setOtherAnswersFeedback('Unknown error', 7);
page.question.addGoodAnswer('dictionary', '', 8);
page.question.setOtherAnswersFeedback('Unknown error', 8);
page.question.addGoodAnswer('Congratulations', '', 9);
page.question.setOtherAnswersFeedback('Unknown error', 9);
page.question.addGoodAnswer('text', '', 10);
page.question.setOtherAnswersFeedback('Unknown error', 10);
page.question.shuffle();
page.question.addMainText('1. Peter is really %blank1 at computer games.<br />2. I\'m %blank2 for my MP3 player. Do you know where it is?<br />3. We must %blank3 in our homework on Friday.<br />4. I\'m a %blank4 I don\'t eat meat.<br />5. Can you play any musical %blank5?<br />6. Have a piece of cake! It\'s %blank6.<br />7. Our camp also offers extreme sports for the more %blank7 types.<br />8. I often use an English-English %blank8.<br />9. Your score at the test was super! %blank9!<br />10. Do you send %blank10 messages in English?');
page.readableType = 'Fill in the blanks help';
page.question.ponderation = 5;

page = gNQ4.newPage();
page.title = '';
page.initQuestionAssociation(4);
page.statement = '<b>Match the collocations.</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('the same', 0, 'interests', 0, '', '', 0);
page.question.addChoice('whole grain', 0, 'bread', 0, '', '', 0);
page.question.addChoice('I don\'t mind', 0, 'wearing a uniform', 0, '', '', 0);
page.question.addChoice('a trendy', 0, 'T-shirt', 0, '', '', 0);
page.question.addChoice('healthy', 0, 'eating habits', 0, '', '', 0);
page.question.addChoice('a mountain', 0, 'range', 0, '', '', 0);
page.question.labelType = 0;
page.readableType = 'Matching help';
page.question.ponderation = 6;

page = gNQ4.newPage();
page.title = '';
page.initQuestionBlankText(5);
page.statement = '<b>Write the numbers.</b>';
page.consigne = 'Write the missing expression in each input field of the text.';
page.question.questionType = 2;
page.question.inputSize = 400;
page.question.addGoodAnswer('one thousand, six hundred and fifty-two', '', 1);
page.question.addGoodAnswer('one thousand six hundred and fifty two', '', 1);
page.question.addGoodAnswer('one thousand, six hundred and fifty two', '', 1);
page.question.setOtherAnswersFeedback('Unknown error', 1);
page.question.addGoodAnswer('six hundred and forty-nine', '', 2);
page.question.setOtherAnswersFeedback('Unknown error', 2);
page.question.addGoodAnswer('sixty-seven thousand nine hundred and eighty-three', '', 3);
page.question.addGoodAnswer('sixty seven thousand, nine hundred and eighty three', '', 3);
page.question.addGoodAnswer('sixty-seven thousand, nine hundred and eighty-three', '', 3);
page.question.setOtherAnswersFeedback('Unknown error', 3);
page.question.addGoodAnswer('seven thousand and fifty-four', '', 4);
page.question.setOtherAnswersFeedback('Unknown error', 4);
page.question.shuffle();
page.question.addMainText('1,652 = %blank1<br />649 = %blank2<br />67,983 = %blank3<br />7,054 = %blank4');
page.readableType = 'Fill in the blanks help';
page.question.ponderation = 4;

page = gNQ4.newPage();
page.title = '';
page.initQuestionMarquage(6);
page.statement = '<b>Highlight the correct word to complete the sentences.</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. How many/much burgers do you eat every week?<br />2. You should/shouldn\'t eat many/much chocolate.<br />3. There\'s a lot of/much milk in the fridge.<br />4. These trousers is/are too short for me.<br />5. The/- Sahara is a very big desert.');
page.question.iFautePond = '0.1';
page.question.addChoice(7, 10, 'd0c400');
page.question.addChoice(67, 75, 'd0c400');
page.question.addChoice(86, 89, 'd0c400');
page.question.addChoice(118, 125, 'd0c400');
page.question.addChoice(178, 180, 'd0c400');
page.question.addChoice(208, 210, 'd0c400');
page.question.addColor('d0c400', 'Untitled', '', '', '');
page.readableType = 'Highlight text help';
page.question.ponderation = 5;

page = gNQ4.newPage();
page.title = '';
page.initQuestionBlankText(7);
page.statement = '<b>Change the sentences.</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('don\'t we organize a Green Day?', '', 1);
page.question.setOtherAnswersFeedback('Unknown error', 1);
page.question.addGoodAnswer('must clean the school yard.', '', 2);
page.question.setOtherAnswersFeedback('Unknown error', 2);
page.question.addGoodAnswer('collect glass bottles.', '', 3);
page.question.setOtherAnswersFeedback('Unknown error', 3);
page.question.addGoodAnswer('protect endangered animals.', '', 4);
page.question.setOtherAnswersFeedback('Unknown error', 4);
page.question.addGoodAnswer('don\'t we make posters for our classroom?', '', 5);
page.question.setOtherAnswersFeedback('Unknown error', 5);
page.question.shuffle();
page.question.addMainText('1. We can organize a Green Day!<br />Why %blank1<br />2. Another good idea is to clean the school yard!<br />I think we %blank2<br />3. Let\'s collect glass bottles.<br />We can %blank3<br />4. We must protect endangered animals.<br />Let\'s %blank4<br />5. I think we must make posters for our classroom.<br />Why %blank5');
page.readableType = 'Fill in the blanks help';
page.question.ponderation = 5;

page = gNQ4.newPage();
page.title = '';
page.initQuestionBlankText(8);
page.statement = '<b>Write questions for the following answers.</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('is Maria writing', '', 1);
page.question.setOtherAnswersFeedback('Unknown error', 1);
page.question.addGoodAnswer('do they have a picnic', '', 2);
page.question.setOtherAnswersFeedback('Unknown error', 2);
page.question.addGoodAnswer('is wearing a blue T-shirt', '', 3);
page.question.setOtherAnswersFeedback('Unknown error', 3);
page.question.addGoodAnswer('are the kids playing', '', 4);
page.question.setOtherAnswersFeedback('Unknown error', 4);
page.question.addGoodAnswer('does Mum usually have a rest in the afternoon', '', 5);
page.question.setOtherAnswersFeedback('Unknown error', 5);
page.question.shuffle();
page.question.addMainText('1. What %blank1?<br />Maria is writing an email.<br />2. How often %blank2?<br />They have a picnic once a month.<br />3. Who %blank3?<br />Patrick is wearing a blue T-shirt.<br />4. Where %blank4?<br />The kids are playing in the garden.<br />5. Why %blank5?<br />Mum usually has a rest in the afternoon because she is tired.');
page.readableType = 'Fill in the blanks help';
page.question.ponderation = 10;

page = gNQ4.newPage();
page.title = '';
page.initQuestionBlankText(9);
page.statement = '<b>Complete the sentences with the correct form of the adjectives in brackets.</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('more comfortable', '', 1);
page.question.setOtherAnswersFeedback('Unknown error', 1);
page.question.addGoodAnswer('trendiest', '', 2);
page.question.setOtherAnswersFeedback('Unknown error', 2);
page.question.addGoodAnswer('worse', '', 3);
page.question.setOtherAnswersFeedback('Unknown error', 3);
page.question.addGoodAnswer('largest', '', 4);
page.question.setOtherAnswersFeedback('Unknown error', 4);
page.question.addGoodAnswer('most beautiful', '', 5);
page.question.setOtherAnswersFeedback('Unknown error', 5);
page.question.shuffle();
page.question.addMainText('1. My clothes are %blank1 (comfortable) than a school uniform.<br />2. That\'s the %blank2 (trendy) T-shirt in the shop.<br />3. My computer is %blank3 (bad) than my dad\'s.<br />4. The Pacific Ocean is the %blank4 (large) ocean in the world.<br />5. Lake Tahoe is one of the %blank5 (beautiful) lakes in the USA.');
page.readableType = 'Fill in the blanks help';
page.question.ponderation = 5;

page = gNQ4.newPage();
page.title = '';
page.initQuestionMultipleChoices(10);
page.statement = 'Which holiday(s) is/are for a family who like adventure';
page.consigne = 'Click on one of the radio buttons to indicate a correct answer.';
page.question.addChoice('Beach Clubs in the Mediterranean', 0, '', false);
page.question.addChoice('Camping in France', 0, '', false);
page.question.addChoice('Safari in Kenya', 0, '', true);
page.question.labelType = 0;
page.question.shuffle();
page.readableType = 'Multiple choice help';
page.question.ponderation = 2;
page.textGuideline = '<b>Listen to a radio advertisement about holidays abroad and tick the right answer.<br /></b>(1 out of 4)';
page.soundPath = 'Units_4_6.mp3';
page.autoplaySound = false;
page.showSoundController = true;

page = gNQ4.newPage();
page.title = '';
page.initQuestionMultipleAnswers(11);
page.statement = 'Which holiday(s) is/are good for parents who want to relax';
page.consigne = 'Click on one or several check boxes to indicate the correct answers.';
page.question.addChoice('Beach Clubs in the Mediterranean', 0, '', true);
page.question.addChoice('Camping in France', 0, '', true);
page.question.addChoice('Safari in Kenya', 0, '', false);
page.question.mustGiveAllGoodAnswers = true;
page.question.labelType = 0;
page.question.shuffle();
page.readableType = 'Multiple answer help';
page.question.ponderation = 2;
page.textGuideline = '<b>Listen to a radio advertisement about holidays abroad and tick the right answer.<br /></b>(2 out of 4)';
page.soundPath = 'Units_4_6.mp3';
page.autoplaySound = false;
page.showSoundController = true;

page = gNQ4.newPage();
page.title = '';
page.initQuestionMultipleChoices(12);
page.statement = 'Which holiday(s) is/are for children who would like to practise their English';
page.consigne = 'Click on one of the radio buttons to indicate a correct answer.';
page.question.addChoice('Beach Clubs in the Mediterranean', 0, '', false);
page.question.addChoice('Camping in France', 0, '', true);
page.question.addChoice('Safari in Kenya', 0, '', false);
page.question.labelType = 0;
page.question.shuffle();
page.readableType = 'Multiple choice help';
page.question.ponderation = 2;
page.textGuideline = '<b>Listen to a radio advertisement about holidays abroad and tick the right answer.<br /></b>(3 out of 4)';
page.soundPath = 'Units_4_6.mp3';
page.autoplaySound = false;
page.showSoundController = true;

page = gNQ4.newPage();
page.title = '';
page.initQuestionMultipleChoices(13);
page.statement = 'Which holiday(s) is/are for families who want to learn how to do watersports';
page.consigne = 'Click on one of the radio buttons to indicate a correct answer.';
page.question.addChoice('Beach Clubs in the Mediterranean', 0, '', true);
page.question.addChoice('Camping in France', 0, '', false);
page.question.addChoice('Safari in Kenya', 0, '', false);
page.question.labelType = 0;
page.question.shuffle();
page.readableType = 'Multiple choice help';
page.question.ponderation = 2;
page.textGuideline = '<b>Listen to a radio advertisement about holidays abroad and tick the right answer.<br /></b>(4 out of 4)';
page.soundPath = 'Units_4_6.mp3';
page.autoplaySound = false;
page.showSoundController = true;

gNQ4.init();
}