var blankSize = 50;
var numberofQ = 6;

var ExerciseType = "Fill-in Exercise";

var ExerciseTitle = "La liaison";

var ExerciseInstruction = "&Eacute;coutez, marquez la liaison par un \"_\" (un_exemple), puis lisez ces phrases.";

var HTML_header1 = "<HTML><BODY BGCOLOR=#ffffff><FONT face=\"Helvetica\" color=\"#99CC99\"> ";
var HTML_header2 = "</font><p><p>";
var HTML_header3 = "<hr><font face=\"Helvetica\">";

var HTML_footer  = "<br><br><br>&#169 Les &Eacute;ditions Didier 2000</BODY></HTML>";

var Questions =	   new Array (numberofQ);
var Explanations = new Array (numberofQ);
var HTML_objects = new Array (numberofQ);

Questions[0] = "<embed SRC=\"2.4.1.6.a.mov\" WIDTH=\"160\" HEIGHT=\"15\" AUTOPLAY=False LOOP=False CONTROLLER=True PLAYEVERYFRAME=False><br>&nbsp;&nbsp;&nbsp;&nbsp;Ils ont des amis am&eacute;ricains.<br>&nbsp;&nbsp;&nbsp;&nbsp;<BLANK0>";
Questions[1] = "<embed SRC=\"2.4.1.6.b.mov\" WIDTH=\"160\" HEIGHT=\"15\" AUTOPLAY=False LOOP=False CONTROLLER=True PLAYEVERYFRAME=False><br>&nbsp;&nbsp;&nbsp;&nbsp;Quand ils habiteront chez nous, leurs enfants joueront avec les n&ocirc;tres.<br>&nbsp;&nbsp;&nbsp;&nbsp;<BLANK0>";
Questions[2] = "<embed SRC=\"2.4.1.6.c.mov\" WIDTH=\"160\" HEIGHT=\"15\" AUTOPLAY=False LOOP=False CONTROLLER=True PLAYEVERYFRAME=False><br>&nbsp;&nbsp;&nbsp;&nbsp;Vas-y, appelle-le, il est impatient de t'entendre.<br>&nbsp;&nbsp;&nbsp;&nbsp;<BLANK0>";
Questions[3] = "<embed SRC=\"2.4.1.6.d.mov\" WIDTH=\"160\" HEIGHT=\"15\" AUTOPLAY=False LOOP=False CONTROLLER=True PLAYEVERYFRAME=False><br>&nbsp;&nbsp;&nbsp;&nbsp;Si tu aimes ces &eacute;pinards, prends-en encore.<br>&nbsp;&nbsp;&nbsp;&nbsp;<BLANK0>";
Questions[4] = "<embed SRC=\"2.4.1.6.e.mov\" WIDTH=\"160\" HEIGHT=\"15\" AUTOPLAY=False LOOP=False CONTROLLER=True PLAYEVERYFRAME=False><br>&nbsp;&nbsp;&nbsp;&nbsp;Cet enfant est de plus en plus d&eacute;sob&eacute;issant.<br>&nbsp;&nbsp;&nbsp;&nbsp;<BLANK0>";
Questions[5] = "<embed SRC=\"2.4.1.6.f.mov\" WIDTH=\"160\" HEIGHT=\"15\" AUTOPLAY=False LOOP=False CONTROLLER=True PLAYEVERYFRAME=False><br>&nbsp;&nbsp;&nbsp;&nbsp;Je ne vais plus aller au concert en plein air, il y a trop de monde !<br>&nbsp;&nbsp;&nbsp;&nbsp;<BLANK0>";

Explanations[0] = "";
Explanations[1] = "";
Explanations[2] = "";
Explanations[3] = "";
Explanations[4] = "";
Explanations[5] = "";

HTML_objects[0] = "";
HTML_objects[1] = "";
HTML_objects[2] = "";
HTML_objects[3] = "";
HTML_objects[4] = "";
HTML_objects[5] = "";

var numberofBlanks = new Array (numberofQ);

//enter in the number of blanks per question

numberofBlanks[0] = 1;
numberofBlanks[1] = 1;
numberofBlanks[2] = 1;
numberofBlanks[3] = 1;
numberofBlanks[4] = 1;
numberofBlanks[5] = 1;

var numberofBlanksTotal = 0; 

for ( var i = 0; i < numberofQ; i++ )
{
    numberofBlanksTotal += numberofBlanks[i];
}

var Options =	   new Array (numberofBlanksTotal);
var Answers =	   new Array (numberofBlanksTotal);


Answers[0] = "Ils_ont des_amis am&eacute;ricains."; 
Answers[1] = "Quand_ils_habiteront chez nous, leurs_enfants joueront avec les n&ocirc;tres.";
Answers[2] = "Vas_y, appelle-le, il est_impatient de t'entendre.";
Answers[3] = "Si tu aimes ces_&eacute;pinards, prends_en encore."; 
Answers[4] = "Cet_enfant est de plus_en plus d&eacute;sob&eacute;issant."; 
Answers[5] = "Je ne vais plus_aller au concert en plein_air, il y a trop de monde !"; 




