'; 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('','','W','','','','','','','G','','','','','','','','',''); L[1] = new Array('','','E','','U','N','I','V','E','R','S','I','T','Y','','','','',''); L[2] = new Array('','','A','','','','','','','A','','','','','','','','',''); L[3] = new Array('','','L','','','','','N','I','N','E','T','E','E','N','','','',''); L[4] = new Array('F','A','T','H','E','R','','','','D','','','','','','','','',''); L[5] = new Array('','','H','','','','','','','M','','','','','S','','','',''); L[6] = new Array('','','I','','','T','','','','O','','','','','T','','','',''); L[7] = new Array('O','V','E','R','W','E','I','G','H','T','','','C','L','I','N','T','O','N'); L[8] = new Array('S','','S','','','E','','','','H','','','H','','L','','','',''); L[9] = new Array('C','','T','','I','N','F','L','U','E','N','T','I','A','L','','D','',''); L[10] = new Array('A','','','','','A','','','','R','','','L','','B','L','A','C','K'); L[11] = new Array('R','','','Y','','G','','','','','R','A','D','I','O','','T','',''); L[12] = new Array('','','P','O','V','E','R','T','Y','','','','R','','R','','A','',''); L[13] = new Array('','','','U','','','','','','','M','','E','','N','','B','',''); L[14] = new Array('','','','T','E','L','E','V','I','S','I','O','N','','','','A','',''); L[15] = new Array('','','','H','','','','','','','L','','','','','','S','',''); L[16] = new Array('','','','','','','','','','','L','','','','','','E','',''); L[17] = new Array('','','','','','','','','','','I','','','','','','','',''); L[18] = new Array('','','','','','','','','','','O','','','','','','','',''); L[19] = new Array('P','E','R','S','E','R','V','E','R','A','N','C','E','','','','','',''); C = new Array(); C[0] = new Array(0,0,1,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0); C[1] = new Array(0,0,0,0,3,0,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,0,0,0,0,0); C[3] = new Array(0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0); C[4] = new Array(5,0,0,0,0,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,0,0,0,0,0,0,0,6,0,0,0,0); C[6] = new Array(0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0); C[7] = new Array(8,0,0,0,0,0,0,0,0,0,0,0,9,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,0,0); C[9] = new Array(0,0,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,0,0,0,0,0,12,0,0,0,0); C[11] = new Array(0,0,0,13,0,0,0,0,0,0,14,0,0,0,0,0,0,0,0); C[12] = new Array(0,0,15,0,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,16,0,0,0,0,0,0,0,0); C[14] = new Array(0,0,0,17,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); C[16] = new Array(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,0,0,0,0,0,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); C[19] = new Array(18,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[3]='Oprah studied Performing Arts here'; A[4]='At this age Oprah worked part-time for radio station WVOL in Nashville'; A[5]='This person helped Oprah to maintain high marks, excel at school and to do her best'; A[8]='Beacuse Winfrey had this figure producers at WJZ-TV had some trepidation about whether audiences would like her as a host'; A[9]='This president of America signed Winfrey\'s proposed bill in 1994'; A[10]='Winfrey has become the most ........ woman in television'; A[12]='At Nashville\'s WTVF-TV Oprah was the first ...... woman to hold a position of newsreader.'; A[14]='Winfrey started her career in this area'; A[15]='Oprah grew up in this'; A[17]='Through this type of medium Oprah has introduced ideas of time and change'; A[18]='To overcome her problems Oprah would have needed this'; D = new Array(); D[1]='Oprah is the ........ black woman in the U.S. '; D[2]='This person taught Winfrey to read at a very early age'; D[6]='At only fourteeen years of age, Oprah had this'; D[7]='Oprah experimented with sex and drugs during these years'; D[8]='What type of nomination did Winfrey receive for her performance in the Steven Speilberg film "The Color Purple"'; D[9]='Winfrey actively lobbies for the rights of these people'; D[11]='In 1994 Bill Clinton signed her proposed bill to create one of these to record national convicted child abusers'; D[13]='This stage of her life was troubled'; D[16]='Each year Winfrey donates this amount of money to several charities'; 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