'; 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('','','','','','P','','','','','','','',''); L[1] = new Array('C','O','N','T','R','A','C','T','I','O','N','','',''); L[2] = new Array('','','','','','R','','','','','','','',''); L[3] = new Array('','','','','','A','U','X','I','L','I','A','R','Y'); L[4] = new Array('','','','','','M','','','','','','','',''); L[5] = new Array('','','','','','E','','N','','','','','',''); L[6] = new Array('','C','H','I','L','D','R','E','N','','','','','S'); L[7] = new Array('','U','','','','I','','G','','','','','','L'); L[8] = new Array('','P','','','','C','','A','','','','','','E'); L[9] = new Array('','B','','','','S','','T','','D','R','I','V','E'); L[10] = new Array('','O','','','','','','I','','O','','','','P'); L[11] = new Array('C','A','N','N','O','T','','V','','E','','','',''); L[12] = new Array('','R','','','','','M','E','N','S','R','O','O','M'); L[13] = new Array('','D','','','','','','','','N','','','',''); L[14] = new Array('','','','','','','W','O','N','\'','T','','',''); L[15] = new Array('','','','','','','E','','','T','','','',''); L[16] = new Array('','','','','','','A','','','','','','',''); L[17] = new Array('','','','','','','R','','','','','','',''); C = new Array(); C[0] = new Array(0,0,0,0,0,1,0,0,0,0,0,0,0,0); C[1] = new Array(2,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); C[3] = new Array(0,0,0,0,0,3,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); C[5] = new Array(0,0,0,0,0,0,0,4,0,0,0,0,0,0); C[6] = new Array(0,5,0,0,0,0,0,0,0,0,0,0,0,6); C[7] = new Array(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); C[9] = new Array(0,0,0,0,0,0,0,0,0,7,0,0,0,0); C[10] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0); C[11] = new Array(8,0,0,0,0,0,0,0,0,0,0,0,0,0); C[12] = new Array(0,0,0,0,0,0,9,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); C[14] = new Array(0,0,0,0,0,0,10,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); C[16] = new Array(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,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('','','','','','','','','','','','','',''); A = new Array(); A[2]='When you blend two words into one'; A[3]='The first part of a verb in the simple present tense'; A[5]='Older than babies but younger than teenagers'; A[7]='What you do with your car if you want to go somewhere'; A[8]='The negative form of the verb can'; A[9]='The opposite of ladies room'; A[10]='The contracted version of will not'; D = new Array(); D[1]='People rescuing other people'; D[4]='"Not" is that kind of word, so is "never"'; D[5]='Where you store things in the kitchen'; D[6]='What most people do at night'; D[7]='Don\'t force him if he ______ want to.'; D[10]='What you usually do with clothes'; 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