'; OutString += '
'; OutString += NavBar; if (Feedback.length>0){ OutString += '' } OutString += '
'; OutString += ''; OutString += Feedback; OutString += '
Hosted by www.Geocities.ws

'; 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 DisplayExercise(){ //Build the output string var OutString = ''; OutString += ''; OutString += '
'; OutString += '
'; OutString += TitleCode; OutString += Buttons1; OutString += BuiltExercise; OutString += Buttons2; OutString += BuiltClues; OutString += NavBar; OutString += '
Hosted by www.Geocities.ws

'; if (is.CRAPBrowser){OutString=ResolveAllURLs(OutString);} //Write it to the frame BottomFrame.document.clear(); BottomFrame.document.open(); BottomFrame.document.write(OutString); BottomFrame.document.close(); } function BuildClue(ClueNum,x,y,Across){ var OutString = ''; if (Across == true){ if (ClueNum >= A.length){ return ''; } if (A[ClueNum] == null){ return ''; } OutString = ClueNum + '. ' + A[ClueNum]; OutString += GetAnswer; OutString = ReplaceStuff('[BoxName]', 'BA'+ClueNum, OutString); //Find out how long the answer is AnsLength = 0; i = x; j = y; while (j= D.length){ return ''; } if (D[ClueNum] == null){ return ''; } OutString = ClueNum + '. ' + D[ClueNum]; OutString += GetAnswer; OutString = ReplaceStuff('[BoxName]', 'BD'+ClueNum, OutString); //Find out how long the answer is AnsLength = 0; i = x; j = y; while (i 0){ OutString += '
'; } OutString = OutString + 'Down: ' + ClueNum + '. ' + D[ClueNum]; OutString += GetAnswer; OutString = ReplaceStuff('[BoxName]', 'BD'+ClueNum, OutString); //Find out how long the answer is AnsLength = 0; i = x; j = y; while (i-1){ FirstBit = InString.substring(0, i); LastBit = InString.substring(i + Token.length, InString.length); InString = FirstBit + Replacement + LastBit; i = InString.indexOf(Token); } return InString; } L = new Array(); L[0] = new Array('R','O','T','A','T','I','O','N','','','','','','','','','','','','','','','',''); L[1] = new Array('E','','','','','','','E','','','','','','','','','','','','','G','','',''); L[2] = new Array('V','E','N','U','S','','','P','','','','','','','','','F','','','','A','','',''); L[3] = new Array('O','','','','A','','','T','E','R','R','E','','','','','U','','','','L','U','N','E'); L[4] = new Array('L','','','','T','','','U','','','','L','','','','','S','','','','A','','',''); L[5] = new Array('U','R','A','N','U','S','','N','','','P','L','A','N','E','T','E','S','','','X','','',''); L[6] = new Array('T','','','','R','','','E','','','','I','','','','','A','','','','I','','',''); L[7] = new Array('I','','','','N','','','','','','','P','','','','','U','N','I','V','E','R','S',''); L[8] = new Array('O','','','','E','','','','','','','T','','','','','X','','','','S','','O',''); L[9] = new Array('N','','','','','','','','','','','I','','','','','','','','','','','L',''); L[10] = new Array('','','','','','','','E','','','','Q','','','','','','','','','','','E',''); L[11] = new Array('','','','','','','','Q','','','','U','','','','','','','','','J','','I',''); L[12] = new Array('','','','','','','','U','','','','E','C','L','I','P','S','E','','','O','','L',''); L[13] = new Array('','','','','','','','I','','','','','O','','','L','','','','','U','','',''); L[14] = new Array('','','','','','','','N','','','','','N','','J','U','P','I','T','E','R','','',''); L[15] = new Array('','','','','','','','O','','','','','S','','','T','','','','','','','',''); L[16] = new Array('','','','','','','','X','','','','','T','','','O','','','','','S','','',''); L[17] = new Array('','','','','','','M','E','R','C','U','R','E','','','N','U','I','T','','O','','',''); L[18] = new Array('','','','','','','A','','','','','','L','','','','','','','','L','','',''); L[19] = new Array('','','','','','','R','','','','','','L','','','','','','','','S','','',''); L[20] = new Array('','','','S','A','I','S','O','N','S','','','A','','','','','','','','T','','',''); L[21] = new Array('','','','','','','','','','','','','T','','','','','','','','I','','',''); L[22] = new Array('','','','','','','','','','','','','I','','','','','','','','C','','',''); L[23] = new Array('','','','','','','','','','','','V','O','I','E','L','A','C','T','E','E','','',''); L[24] = new Array('','','','','','','','','','','','','N','','','','','','','','','','',''); C = new Array(); C[0] = new Array(1,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); C[1] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0); C[2] = new Array(4,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,6,0,0,0,0,0,0,0); C[3] = new Array(0,0,0,0,0,0,0,7,0,0,0,8,0,0,0,0,0,0,0,0,9,0,0,0); C[4] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); C[5] = new Array(10,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0); C[6] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); C[7] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,13,0); C[8] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); C[9] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); C[10] = new Array(0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); C[11] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,15,0,0,0); C[12] = new Array(0,0,0,0,0,0,0,0,0,0,0,16,17,0,0,18,0,0,0,0,0,0,0,0); C[13] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); C[14] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,19,0,0,0,0,0,0,0,0,0); C[15] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); C[16] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,0,0,0); C[17] = new Array(0,0,0,0,0,0,21,0,0,0,0,0,0,0,0,22,0,0,0,0,0,0,0,0); C[18] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); C[19] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); C[20] = new Array(0,0,0,23,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); C[21] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); C[22] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); C[23] = new Array(0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,0,0,0); C[24] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); G = new Array(); G[0] = new Array('','','','','','','','','','','','','','','','','','','','','','','',''); G[1] = new Array('','','','','','','','','','','','','','','','','','','','','','','',''); G[2] = new Array('','','','','','','','','','','','','','','','','','','','','','','',''); G[3] = new Array('','','','','','','','','','','','','','','','','','','','','','','',''); G[4] = new Array('','','','','','','','','','','','','','','','','','','','','','','',''); G[5] = new Array('','','','','','','','','','','','','','','','','','','','','','','',''); G[6] = new Array('','','','','','','','','','','','','','','','','','','','','','','',''); G[7] = new Array('','','','','','','','','','','','','','','','','','','','','','','',''); G[8] = new Array('','','','','','','','','','','','','','','','','','','','','','','',''); G[9] = new Array('','','','','','','','','','','','','','','','','','','','','','','',''); G[10] = new Array('','','','','','','','','','','','','','','','','','','','','','','',''); G[11] = new Array('','','','','','','','','','','','','','','','','','','','','','','',''); G[12] = new Array('','','','','','','','','','','','','','','','','','','','','','','',''); G[13] = new Array('','','','','','','','','','','','','','','','','','','','','','','',''); G[14] = new Array('','','','','','','','','','','','','','','','','','','','','','','',''); G[15] = new Array('','','','','','','','','','','','','','','','','','','','','','','',''); G[16] = new Array('','','','','','','','','','','','','','','','','','','','','','','',''); G[17] = new Array('','','','','','','','','','','','','','','','','','','','','','','',''); G[18] = new Array('','','','','','','','','','','','','','','','','','','','','','','',''); G[19] = new Array('','','','','','','','','','','','','','','','','','','','','','','',''); G[20] = new Array('','','','','','','','','','','','','','','','','','','','','','','',''); G[21] = new Array('','','','','','','','','','','','','','','','','','','','','','','',''); G[22] = new Array('','','','','','','','','','','','','','','','','','','','','','','',''); G[23] = new Array('','','','','','','','','','','','','','','','','','','','','','','',''); G[24] = new Array('','','','','','','','','','','','','','','','','','','','','','','',''); A = new Array(); A[1]='La Terre le fait d\'ouest en est.'; A[4]='La planète dis jumelle à la Terre.'; A[7]='Notre planète.'; A[9]='L\'unique sattelite naturel de la terre. '; A[10]='La seul planète qui tourne couché.'; A[11]='Le Soleil et ses neuf .......'; A[12]='Je suis composé de milliard de galaxies.'; A[16]='Je cache sois la lune ou le soleil.'; A[19]='La plus grosse planète du système.'; A[21]='La planète la plus raproché du soleil.'; A[22]='Tu dors la...'; A[23]='Il y en a quatre sur la Terre'; A[24]='Le nom de notre galaxie.'; D = new Array(); D[1]='Mouvement de la Terre autour du soleil.'; D[2]='Planète qui que pendant environ 20 ans est la plus éloigné du soleil.'; D[3]='Il y en a des milliard dans l\'univers'; D[5]='La planète qui a le plus d\'anneaux.'; D[6]='Il y a 24 ...... horaire sur laTerre '; D[8]='La forme de l\'orbite terrestre.'; D[13]='L\'étoile de notre système solaire.'; D[14]='Date du début du printemps et de l\'automne.'; D[15]='Contraire de la nuit.'; D[17]='La petite ours est une ... '; D[18]='La planète gelé.'; D[20]='La date du début de l\'été et de l\'hiver'; D[21]='La planète rouge.'; function StartUp(){ BuildExercise(); WriteFeedback(Instructions); DisplayExercise(); } function CheckAnswers(){ var AllCorrect = true; var TotLetters = 0; var CorrectLetters = 0; //Check each letter for (var i=0; i'; } Output += YourScoreIs + ' ' + Score + '%.
'; if (AllCorrect == false){ Output += '
' + Incorrect; Penalties++; } BuildExercise(); WriteFeedback(Output); DisplayExercise(); } function DoNothing(){} function Blank(){ return '
©Half-Baked Software. Loading...
Hosted by www.Geocities.ws

'; } //--> //]]>
Hosted by www.Geocities.ws

1