'; 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','','','','','','','','','','','N','A','T','U','R','A','L','',''); L[1] = new Array('R','','','','','C','','','','','','','','O','','','','','',''); L[2] = new Array('E','N','V','I','R','O','N','M','E','N','T','','','U','N','I','Q','U','E',''); L[3] = new Array('S','','','','','N','','','','','','','','R','','','','','','O'); L[4] = new Array('E','','','','P','S','Y','C','H','O','L','O','G','I','S','T','','','','Z'); L[5] = new Array('R','A','F','T','','E','','','','','','','','S','','','S','','','O'); L[6] = new Array('V','','','','','Q','','','','G','R','E','E','T','','','I','','','N'); L[7] = new Array('E','','','','','U','','','H','','','','','','G','E','N','T','L','E'); L[8] = new Array('','A','P','P','R','E','C','I','A','T','E','','','','E','','K','','',''); L[9] = new Array('','S','','','','N','','','R','','','','T','','O','','','','',''); L[10] = new Array('','T','','M','I','C','R','O','S','C','O','P','E','','L','','R','','',''); L[11] = new Array('','R','','','','E','','','H','','','','M','','O','','E','','',''); L[12] = new Array('','O','','','C','','','','','','L','','P','','G','','S','','',''); L[13] = new Array('','N','','','L','','','','','M','O','T','O','R','I','Z','E','D','',''); L[14] = new Array('','O','','D','A','M','A','G','E','','C','','R','','S','','A','','',''); L[15] = new Array('','M','','','S','','','','','','A','','A','','T','','R','','',''); L[16] = new Array('T','E','L','E','S','C','O','P','E','','T','','R','','','','C','','T',''); L[17] = new Array('','R','','','I','','','','','','I','','Y','','','','H','E','A','D'); L[18] = new Array('','','','','F','','','','','','O','','','','','','','','X',''); L[19] = new Array('','','','','Y','','B','O','T','A','N','I','S','T','','','','','',''); C = new Array(); C[0] = new Array(1,0,0,0,0,0,0,0,0,0,0,2,0,3,0,0,0,0,0,0); C[1] = new Array(0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0); C[2] = new Array(5,0,0,0,0,0,0,0,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,0,0,0,0,0,7); C[4] = new Array(0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); C[5] = new Array(9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0); C[6] = new Array(0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,0,0); C[7] = new Array(0,0,0,0,0,0,0,0,12,0,0,0,0,0,13,0,0,0,0,0); C[8] = new Array(0,14,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,15,0,0,0,0,0,0,0); C[10] = new Array(0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,17,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,18,0,0,0,0,0,19,0,0,0,0,0,0,0,0,0); C[13] = new Array(0,0,0,0,0,0,0,0,0,20,0,0,0,0,0,0,0,0,0,0); C[14] = new Array(0,0,0,21,0,0,0,0,0,0,0,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); C[16] = new Array(22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,23,0); C[17] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,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); C[19] = new Array(0,0,0,0,0,0,25,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[2]='Coming from nature'; A[5]='Natural condition in which people, animals and plants live'; A[6]='The only of its kind'; A[8]='A specialist who studies minds and behaviors of people'; A[9]='Pieces of wood tied together and used like a boat'; A[11]='To say "hi"'; A[13]='Mild, not rough, smooth'; A[14]='To value, to thank '; A[16]='A device for looking at very small things like microbes'; A[20]='Having engine'; A[21]='Destroy partly or completely'; A[22]='Something we use to watch far away things like stars'; A[24]='To lead, to show things to people, to give directions to people'; A[25]='Specialist for plants and their diseases'; D = new Array(); D[1]='To keep from being damaged'; D[3]='Somebody who travels to a country for visits or vacation'; D[4]='The result, outcome'; D[7]='Three atoms of Oxygen make it'; D[10]='To go under water'; D[12]='Rough, unpleasant'; D[13]='Someone who is a specialist in earth sciences'; D[14]='If you travel to the space, you are an'; D[15]='Not for ever, for some time, not permanant'; D[17]='Report of activities to find answers to some questions'; D[18]='Put things into similar groups'; D[19]='Place'; D[23]='Money that you have to pay to the government'; 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