';
if (is.CRAPBrowser){OutString=ResolveAllURLs(OutString);}
//Write it to the frame
TopFrame.document.clear();
TopFrame.document.open();
TopFrame.document.write(OutString);
TopFrame.document.close();
}
function BuildSelector(){
DropDownList = '';
}
function StartUp(){
CorrectIndicator = '' + CorrectIndicator + '';
IncorrectIndicator = '' + IncorrectIndicator + '';
//Write the top frame
WriteFeedback(Instructions);
//Create the right-item/distractor array, and shuffle it
var DuplicateItem = false;
for (var i=0; i 0){
TotalUnfixedLeftItems++;
}
DuplicateItem = false;
//and it's not already in the array
for (var j=0; j 0){
TempRow = IRow;
TempRow = ReplaceStuff('[strLeftItem]', I[i][0], TempRow);
//if not fixed and not yet answered correctly
if ((I[i][2] 0)){
if (Status[i][0] ';
I[0][1] = 'le 18 mars 1962 par la signature des accords d\'Evian';
I[0][2] = 0;
I[1] = new Array();
I[1][0] = 'Beaucoup d’Européens';
I[1][1] = 'ne se sentent pas en sécurité';
I[1][2] = 0;
I[2] = new Array();
I[2][0] = 'Or ils représentent 10 % de la population';
I[2][1] = 'algérienne de l’époque';
I[2][2] = 0;
I[3] = new Array();
I[3][0] = 'Environ un million de Français nés en Algérie';
I[3][1] = 'quittent l’Algérie dans un climat de panique';
I[3][2] = 0;
I[4] = new Array();
I[4][0] = 'Les pieds-noirs ';
I[4][1] = 'sont des Français nés en Algérie';
I[4][2] = 0;
Status = new Array();
RItems = new Array();
function CreateStatusArrays(){
for (var x=0; x-1){
FirstBit = InString.substring(0, i);
LastBit = InString.substring(i + Token.length, InString.length);
InString = FirstBit + Replacement + LastBit;
i = InString.indexOf(Token);
}
return InString;
}
function EscapeDoubleQuotes(InString){
var Result = '';
for (var i=0; i';
OutString += '