'; 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){ AcrossClues += BuildClue(C[i][j], i, j, true); DownClues += BuildClue(C[i][j], i, j, false); } } } OutString += ''; OutString += CluesAcross + '

' + AcrossClues + '

'; OutString += ''; OutString += CluesDown + '

' + DownClues + '
' OutString += ''; BuiltClues = OutString; } function ShowClue(ClueNum,x,y){ var OutString = ''; var AnsLength = 0; var i; var j; CurrBoxElement = ClueNum; if (A[ClueNum] != null){ OutString = OutString + 'Across: ' + 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 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('','H','Y','P','O','T','H','E','S','I','Z','E','','','','A',''); L[1] = new Array('','','','','B','','','','','','','','','','','N',''); L[2] = new Array('','','O','B','S','E','R','V','A','T','I','O','N','S','','A',''); L[3] = new Array('','','','','E','','','','N','','','','','','','L',''); L[4] = new Array('','','','','R','','A','N','A','L','Y','S','E','S','','Y',''); L[5] = new Array('','','','','V','','','','L','','','','','','','Z',''); L[6] = new Array('','','','','E','','','H','Y','P','O','T','H','E','S','E','S'); L[7] = new Array('','','','P','','','','','S','','','','Y','','','',''); L[8] = new Array('','','','H','','','','','I','','','','P','','','',''); L[9] = new Array('','','R','E','C','O','R','D','S','','','','O','','T','',''); L[10] = new Array('','','','N','','','','','','T','','','T','','H','',''); L[11] = new Array('T','H','E','O','R','I','Z','E','','H','','','H','','E','',''); L[12] = new Array('','','','M','','','','','','E','','R','E','C','O','R','D'); L[13] = new Array('O','B','S','E','R','V','A','T','I','O','N','','S','','R','','A'); L[14] = new Array('','','','N','','','','','','R','','','I','','I','','T'); L[15] = new Array('','','','O','','','','','','Y','','','S','','E','','A'); L[16] = new Array('P','H','E','N','O','M','E','M','A','','','','','','S','',''); C = new Array(); C[0] = new Array(0,1,0,0,2,0,0,0,0,0,0,0,0,0,0,3,0); C[1] = new Array(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,0,0,0,0,5,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); C[4] = new Array(0,0,0,0,0,0,6,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); C[6] = new Array(0,0,0,0,0,0,0,7,0,0,0,0,8,0,0,0,0); C[7] = new Array(0,0,0,9,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); C[9] = new Array(0,0,10,0,0,0,0,0,0,0,0,0,0,0,11,0,0); C[10] = new Array(0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0); C[11] = new Array(13,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); C[12] = new Array(0,0,0,0,0,0,0,0,0,0,0,14,0,0,0,0,15); C[13] = new Array(16,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,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); C[16] = new Array(17,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('','','','','','','','','','','','','','','','',''); A = new Array(); A[1]='When scientists __________ , they formulate hypotheses in order to test them.'; A[4]='Scientific research begins with collecting detailed __________ of some phenomenon. '; A[6]='Scientists use _________ of experiments to make conclusions about their hypotheses.'; A[7]='Scientists explore our world by objectively testing _________ using the scientific method'; A[10]='Scientists keep ________ of their observations and use this data when making hypotheses.'; A[13]='When the results of an experiment support a hypothesis, we can _________ that the hypothesis was correct.'; A[14]='You should _________ your data for future analysis.'; A[16]='In order to develop a hypothesis, scientists ask questions about an _________ made of some phenomenon. '; A[17]='The rainbow is a natural spectrum of light, produced by meteorological __________.'; D = new Array(); D[2]='Before you make your hypothesis, you should carefully _________ the phenomena you are studying.'; D[3]='Scientists _________ the results of thier experiments to deterimine if the hypothesis is correct.'; D[5]='The results of this ___________ will tell us if our hypothesis was correct.'; D[8]='Your ___________ is a possible answer to your research question.'; D[9]='What do you think of the unexplained pychic _____________ of mental telepathy?'; D[11]='Many ________ have been discredited as science tests new hypothesis about natural phenomena.'; D[12]='Evolution is a ________ that explains the diversity of life on the planet.'; D[15]='The ____ collected in an experiment should be recorded and analyzed.'; function StartUp(){ BuildExercise(); BuildCompleteClues(); 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