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

'; //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('','','','','','','','','','','','','','','','','','','','','','C','','',''); L[1] = new Array('','','','','','','','','','','','','','','','','','','','','','H','','',''); L[2] = new Array('','','','','','','','','','','','','','','','','','','','','','E','','',''); L[3] = new Array('','','','','','','','','','','','','','','','','','','','M','A','S','K','',''); L[4] = new Array('','S','C','U','M','T','R','I','P','E','','','','','','','','','','','','T','','',''); L[5] = new Array('','A','','','O','','','','','','','','','','','','','','','','','N','','',''); L[6] = new Array('','L','','','L','','','','','','','','','','','','','','','C','L','U','N','Y',''); L[7] = new Array('','A','','V','E','R','D','U','A','G','A','','','','','','','','','H','','T','','',''); L[8] = new Array('','M','','','S','','','R','','','','','','','','','','','','I','','','','',''); L[9] = new Array('M','A','R','T','E','N','','T','I','M','','','','','','','','','','C','','','','',''); L[10] = new Array('','N','','','N','','','H','','','','','','S','','','','','','K','','','','',''); L[11] = new Array('','D','','','S','','','C','','','M','A','T','T','H','I','A','S','','E','','','','',''); L[12] = new Array('','A','','','E','','','L','','','A','','','O','','R','','','','N','','','','',''); L[13] = new Array('','S','','','','B','E','A','U','C','L','A','I','R','','O','','','','H','','','','',''); L[14] = new Array('','T','','','','R','','W','R','','K','','','M','','N','','','G','O','N','F','F','',''); L[15] = new Array('','R','','','','O','','','G','','A','','','G','','B','','','','U','','','','',''); L[16] = new Array('','O','','','','C','','','A','','R','','','U','','E','','','','N','','','','',''); L[17] = new Array('','N','','','','K','','','N','','I','','','L','O','A','M','H','E','D','G','E','','',''); L[18] = new Array('','','','','','H','','','N','','S','','','L','U','K','E','','','','R','','','',''); L[19] = new Array('','B','E','L','L','A','','','A','','S','','','W','','','','','','','E','','','',''); L[20] = new Array('','','R','','','L','','','G','','','','','H','','','','','','','Y','','','',''); L[21] = new Array('','','M','','','L','','','R','','','','D','A','N','D','I','N','','','L','','','',''); L[22] = new Array('','','I','','','','','','U','','','','','K','','','','','','','I','','','',''); L[23] = new Array('','','R','','','','','','','','','','','E','','','','','','','N','','','',''); L[24] = new Array('','','E','','','','','','','','','M','A','R','T','I','N','','L','O','G','A','L','O','G'); C = new Array(); C[0] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,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,0,0,0,0,0); C[2] = 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,0); C[3] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0); C[4] = new Array(0,3,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); C[5] = 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,0); C[6] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0); C[7] = new Array(0,0,0,6,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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,0); C[9] = new Array(8,0,0,0,0,0,0,9,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,0,0,0,0,0,0,10,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,11,0,0,0,0,12,0,0,0,0,0,0,0,0,0); C[12] = 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,0); C[13] = new Array(0,0,0,0,0,13,0,0,14,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,15,0,0,0,0,0,0,0,0,0,0,16,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,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,0,0,0,0,0); C[17] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,17,18,0,19,0,0,0,20,0,0,0,0); C[18] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,21,0,0,0,0,0,0,0,0,0,0,0); C[19] = new Array(0,22,23,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,0,0,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,24,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,0); C[23] = 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,0); C[24] = new Array(0,0,0,0,0,0,0,0,0,0,0,25,0,0,0,0,0,0,26,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[2]='The name of the otter that was master of disguises.'; A[3]='The name Swartt gave to Sunflash.'; A[5]='Large rat who\'s captain was Redtooth.'; A[6]='Father of Tsarmina.'; A[8]='General species name of Ashleg (For instance, mouse, not field mouse.)'; A[9]='Brother of Tess, who was taken by Slagar with Mattimeo.'; A[11]='The mouse who found Martin\'s sword.'; A[13]='Full first name of a hare called Beau.'; A[15]=' '; A[16]='Best friend of Martin, they met in Tsarmina\'s castle.'; A[17]='The Abbey from which Abbes Germaine came from.'; A[21]='Mouse who\'s sworn enemy was Vilu Daskar.'; A[22]='Mate of Barkstripe, mother of Sunflash.'; A[24]='Friend of Mariel.'; A[25]='Son of Mattimeo and Tess.'; A[26]='Name of Guosim leader. (No spaces)'; D = new Array(); D[1]='Favourite dibbun nut.'; D[3]='Mountain of hares and badgers.'; D[4]='Mole word for logic.'; D[5]='Former name of Slagar.'; D[7]='First mole we read about in the book Mossflower.'; D[10]='Full name of Mariel before she came to Redwall. (No spaces)'; D[11]='Polecat ruler of an underground kingdom.'; D[12]='Bird general who\'s soldiers were scared by the Redwallers pretending to be a ghost.'; D[13]='Ancient home of the badgers.'; D[14]='Full name of the fox-wolf. (No spaces)'; D[18]=' '; D[19]=' '; D[20]='The first fish Matthias caught.'; D[23]='The species of the Dirgecallers.'; 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