'; 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('','A','F','R','A','I','D','','','A','','A','',''); L[1] = new Array('','','','','G','','','','','C','','B','',''); L[2] = new Array('','A','B','H','O','R','','A','C','C','R','U','E',''); L[3] = new Array('','','','','N','','','B','','U','','S','',''); L[4] = new Array('A','L','L','A','Y','','','R','','S','','E','',''); L[5] = new Array('N','','','D','','A','','U','','E','','','',''); L[6] = new Array('N','','','A','C','C','E','P','T','','','','A',''); L[7] = new Array('O','','','P','','C','','T','','A','G','I','L','E'); L[8] = new Array('Y','','','T','','O','','','','M','','','T',''); L[9] = new Array('','','A','','','R','','','','A','N','N','E','X'); L[10] = new Array('','','B','','A','D','J','U','S','T','','','R',''); L[11] = new Array('','','I','','K','','','','','E','','','',''); L[12] = new Array('','A','D','V','I','C','E','','','U','','','',''); L[13] = new Array('','','E','','N','','','A','B','R','I','D','G','E'); C = new Array(); C[0] = new Array(0,1,0,0,2,0,0,0,0,3,0,4,0,0); C[1] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0); C[2] = new Array(0,5,0,0,0,0,0,6,0,0,0,0,0,0); C[3] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0); C[4] = new Array(7,0,0,8,0,0,0,0,0,0,0,0,0,0); C[5] = new Array(0,0,0,0,0,9,0,0,0,0,0,0,0,0); C[6] = new Array(0,0,0,10,0,0,0,0,0,0,0,0,11,0); C[7] = new Array(0,0,0,0,0,0,0,0,0,12,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,13,0,0,0,0,0,0,14,0,0,0,0); C[10] = new Array(0,0,0,0,15,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); C[12] = new Array(0,16,0,0,0,0,0,0,0,0,0,0,0,0); C[13] = new Array(0,0,0,0,0,0,0,17,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('','','','','','','','','','','','','',''); A = new Array(); A[1]='scared, frightened, alarm, fearful'; A[5]='hate, dislike, detest, loathte, sdespise, cannot stand'; A[6]='accumulate, amass, gather, collect'; A[7]='lesen, soothe, ease, calm'; A[10]='take, adopt, believe, honour, approve'; A[12]='nimble, active, brisk, athletic'; A[14]='add, join, attach, acquire'; A[15]='regulate, staighten, equalise, fix'; A[16]='counsel, suggestion'; A[17]='shorten, condense, compress, reduce'; D = new Array(); D[2]='pain, torture, anxiety'; D[3]='charge, censure, blame'; D[4]='mistreat, injure, damage, curse, injury, insult'; D[6]='sudden, sharp, hasty, steep'; D[7]='tease, harass, disturb, molest, bother, irritate'; D[8]='suit, conform, regulate'; D[9]='harmony, agreement, conformity'; D[11]='change, modify, rearrange, vary'; D[12]='beginner, novice, volunteer'; D[13]='accept, stay, submit, endure, reside'; D[15]='related, allied, like'; 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