'; 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('','','','','','','P','R','I','N','C','I','P','A','L','','','','',''); L[1] = new Array('W','','','','','','','','','','','','','C','','','','','',''); L[2] = new Array('E','','C','','G','','','','','','','','','C','','','','','',''); L[3] = new Array('I','','O','','Y','','O','B','S','E','S','S','I','O','N','','','','',''); L[4] = new Array('R','','A','','M','','','','','','','','','M','','','','','',''); L[5] = new Array('D','E','C','E','N','T','','','','','','','','P','','','R','','',''); L[6] = new Array('','','H','','A','','H','O','S','P','I','T','A','L','I','Z','E','','',''); L[7] = new Array('','','','','S','','','','','A','','','','I','','','W','','S',''); L[8] = new Array('','C','O','N','T','R','O','V','E','R','S','Y','','S','','','A','','E',''); L[9] = new Array('','','','','','','','','','T','','','','H','','F','R','E','A','K'); L[10] = new Array('','C','O','M','B','I','N','A','T','I','O','N','','','','','D','','S',''); L[11] = new Array('','','C','','','','','','','C','','','','','','','','','O',''); L[12] = new Array('','','C','','E','X','P','E','R','I','E','N','C','E','','','','','N',''); L[13] = new Array('','','U','','','','','','','P','','','','','Q','','','','',''); L[14] = new Array('G','','P','','','','','','','A','','','','','U','','','','',''); L[15] = new Array('I','','A','','U','N','C','O','N','T','R','O','L','L','A','B','L','E','',''); L[16] = new Array('F','','T','','','','','','','E','','','','','L','','','','',''); L[17] = new Array('T','','I','','','','','','','','','B','E','N','I','F','I','T','',''); L[18] = new Array('E','N','O','R','M','O','U','S','','','','','','','F','','','','',''); L[19] = new Array('D','','N','','','','','','','','','','','','Y','','','','',''); C = new Array(); C[0] = new Array(0,0,0,0,0,0,1,0,0,0,0,0,0,2,0,0,0,0,0,0); C[1] = new Array(3,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,4,0,5,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,6,0,0,0,0,0,0,0,0,0,0,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); C[5] = new Array(7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,0,0); C[6] = new Array(0,0,0,0,0,0,9,0,0,10,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,0,0,11,0); C[8] = new Array(0,12,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,13,0,0,0,0); C[10] = new Array(0,14,15,0,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); C[12] = new Array(0,0,0,0,16,0,0,0,0,0,0,0,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,17,0,0,0,0,0); C[14] = new Array(18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); C[15] = new Array(0,0,0,0,19,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); C[17] = new Array(0,0,0,0,0,0,0,0,0,0,0,20,0,0,0,0,0,0,0,0); C[18] = new Array(21,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); 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('','','','','','','','','','','','','','','','','','','',''); A = new Array(); A[1]='The highest person in a school'; A[6]='Filling mind with something that you cannot think of other things'; A[7]='Good, acceptable, above average'; A[9]='To send or to admit somebody in a hospital'; A[12]='Public discussion or argument about something'; A[13]='Person with a very strong interest or obssession'; A[14]='Joined or mixed together'; A[16]='Knowledge of how to do things through doing it a lot of times'; A[19]='It cannot be controled'; A[20]='Things or money gained from something'; A[21]='Huge, big, gigantic'; D = new Array(); D[2]='To succeed in doing something'; D[3]='Strange'; D[4]='Person who trains people in sports'; D[5]='One who plays gymnastics'; D[8]='You receive it because of doing something good'; D[10]='To take part'; D[11]='Time of a year when something is readily available, part of a year'; D[15]='Job'; D[17]='To be suitable for a job or a position'; D[18]='Smart, intelligent'; 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