'; 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 += ''; OutString += NavBar; OutString += '
'; if (WordBox.length > 0){ OutString += WordBox; } OutString += ''; OutString += BuiltCloze; 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 ShowClue(ItemNum){ //alert(ItemNum); State[ItemNum][0] = 1; WriteFeedback(I[ItemNum][2]); } function SaveCurrentAnswers(){ for (var i=0; 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; } I = new Array(); I[0] = new Array(); I[0][1] = new Array(); I[0][1][0] = new Array(); I[0][1][0][0]='jail'; I[0][2]=''; I[1] = new Array(); I[1][1] = new Array(); I[1][1][0] = new Array(); I[1][1][0][0]='take'; I[1][2]='It\'s just a simple word (verb)'; I[2] = new Array(); I[2][1] = new Array(); I[2][1][0] = new Array(); I[2][1][0][0]='crashing'; I[2][1][1] = new Array(); I[2][1][1][0]='colliding'; I[2][2]='hit; or usually it means \'break into pieces\''; I[3] = new Array(); I[3][1] = new Array(); I[3][1][0] = new Array(); I[3][1][0][0]='of'; I[3][2]='(prep)'; I[4] = new Array(); I[4][1] = new Array(); I[4][1][0] = new Array(); I[4][1][0][0]='pervert'; I[4][2]='lead astray, distort'; I[5] = new Array(); I[5][1] = new Array(); I[5][1][0] = new Array(); I[5][1][0][0]='threat'; I[5][2]='you can find the word from another part of the passage'; I[6] = new Array(); I[6][1] = new Array(); I[6][1][0] = new Array(); I[6][1][0][0]='verdict'; I[6][2]='judgement made by a jury; sentence; decision'; I[7] = new Array(); I[7][1] = new Array(); I[7][1][0] = new Array(); I[7][1][0][0]='from'; I[7][2]='(preposition)'; I[8] = new Array(); I[8][1] = new Array(); I[8][1][0] = new Array(); I[8][1][0][0]='sentence'; I[8][2]='the same word with a different part of speech can be found somewhere else in the passage'; I[9] = new Array(); I[9][1] = new Array(); I[9][1][0] = new Array(); I[9][1][0][0]='his'; I[9][2]='No hint for this; should be quite easy'; I[10] = new Array(); I[10][1] = new Array(); I[10][1][0] = new Array(); I[10][1][0][0]='to'; I[10][1][1] = new Array(); I[10][1][1][0]='accident'; I[10][2]='preposition'; I[11] = new Array(); I[11][1] = new Array(); I[11][1][0] = new Array(); I[11][1][0][0]='chauffeur'; I[11][1][1] = new Array(); I[11][1][1][0]='driver'; I[11][2]='the same word appeared in another place before'; I[12] = new Array(); I[12][1] = new Array(); I[12][1][0] = new Array(); I[12][1][0][0]='crash'; I[12][1][1] = new Array(); I[12][1][1][0]='accident'; I[12][2]=''; I[13] = new Array(); I[13][1] = new Array(); I[13][1][0] = new Array(); I[13][1][0][0]='for'; I[13][2]='(preposition)'; I[14] = new Array(); I[14][1] = new Array(); I[14][1][0] = new Array(); I[14][1][0][0]='not'; I[14][2]='Did they admit their mistakes?'; I[15] = new Array(); I[15][1] = new Array(); I[15][1][0] = new Array(); I[15][1][0][0]='guilty'; I[15][2]='deserving of punishment'; Text = new Array(); Text[0]='Wednesday, October 16, 2002 Posted: 7:51 PM HKT (1151 GMT)

Hong Kong \'bad boy of pop\' Nicholas Tse escaped a '; Text[1]=' term story.hk.tse.afp.jpg

A Hong Kong court spared pop star Nicholas Tse from jail on Wednesday, ordering him instead to do 240 hours of community service for allowing his chauffeur to '; Text[2]=' the blame after '; Text[3]=' his Ferrari himself.

The 22-year-old heart-throb, who is dubbed Hong Kong\'s "bad boy of pop," was convicted '; Text[4]=' conspiring to '; Text[5]=' the course of justice two weeks ago and has since been held on remand.

The sentencing was laced with drama. Court officials received a bomb '; Text[6]=' on the phone minutes before the '; Text[7]=' was to be handed down, prompting the evacuation of fans and reporters.

A court official announced that a telephone bomb threat had come in and urged a throng of reporters to refrain '; Text[8]=' using their mobile phones, which could possibly set off a device, stirring chaos as many began phoning anyway.

The court session began about 45 minutes later after police conducted a sweep of the building and searched the bags of reporters and fans and declared the venue safe.

"The '; Text[9]=' that I am imposing on you is 240 hours of community service," magistrate Allan James Wyeth said, triggering a round of applause from gleeful fans.

Wyeth said he spared Cantopop star Tse from jail considering '; Text[10]=' age, clear record and his having served 14 days in remand.

Tse\'s lawyer said the star had pledged to stop driving and surrender his car keys '; Text[11]=' his mother.

Prosecutors said Tse crashed his black Ferrari around dawn on March 23, walked away and allowed his '; Text[12]=', Shing Kwok-ting, to take the blame for the accident.

No one was injured in the '; Text[13]='.

Paparazzi photographers have been staking out the Pik Uk prison since his remand, supplying tabloids with daily stories and photographs of the star in prison uniform and closely cropped hair as he was led out for exercise each day.

Policeman Lau Chi-wai, 28, who handled the Ferrari crash report and was convicted of the same charge as Tse, was jailed '; Text[14]=' six months.

Both Tse and Lau had pleaded '; Text[15]=' guilty and the offence carries no fixed penalty.

In May, Tse\'s driver Shing was sentenced to four months in jail after pleading '; Text[16]=' to falsely claiming he had been driving the car at the time of the crash.


'; State = new Array(); function StartUp(){ var i = 0; State.length = 0; for (i=0; i -1){ var TotalChars = GetGapValue(i).length; State[i][3] = (TotalChars-State[i][1])/TotalChars; if (State[i][0] > 0){State[i][3] = State[i][3]/2;} if (State[i][3]<0){State[i][3] = 0;} State[i][4] = 1; } else{ //Otherwise, add zero to the array and increment the hints for this item, as a penalty State[i][1]++; State[i][3] = 0; //then set the flag AllCorrect = 0; } } } //Calculate the total score var TotalScore = 0; for (i=0; i'; } Output += YourScoreIs + ' ' + TotalScore + '%.
'; if (AllCorrect == 0){ Output += '
' + Incorrect; } BuildExercise(); WriteFeedback(Output); DisplayExercise(); RestoreCurrentAnswers(); } function TrackFocus(BoxNumber){ CurrentWord = BoxNumber; } function CheckBeginning(Guess, Answer){ var OutString = ''; var i = 0; var UpperGuess = ''; var UpperAnswer = ''; if (CaseSensitive == false) { UpperGuess = Guess.toUpperCase(); UpperAnswer = Answer.toUpperCase(); } else { UpperGuess = Guess; UpperAnswer = Answer; } while (UpperGuess.charAt(i) == UpperAnswer.charAt(i)) { OutString += Guess.charAt(i); i++; } OutString += Answer.charAt(i); return OutString; } function FindLongest(InArray){ if (InArray.length < 1){return -1;} var Longest = 0; for (var i=1; i InArray[Longest].length){ Longest = i; } } return Longest; } function GetGapValue(GNum){ var RetVal = ''; if ((GNum<0)||(GNum>=I.length)){return RetVal;} if (eval('BottomFrame.document.Cloze.Gap' + GNum) != null){ RetVal = eval('BottomFrame.document.Cloze.Gap' + GNum).value; RetVal = TrimString(RetVal); } else{ RetVal = State[GNum][5]; } return RetVal; } function SetGapValue(GNum, Val){ if ((GNum<0)||(GNum>=I.length)){return;} if (eval('BottomFrame.document.Cloze.Gap' + GNum) != null){ eval('BottomFrame.document.Cloze.Gap' + GNum).value = Val; } } function FindCurrent() { var x = 0; FoundCurrent = -1; //Test the current word: //If it's state is not set to already correct, check the word. if (State[CurrentWord][4] != 1){ if (CheckAnswer(CurrentWord, false) < 0){ return CurrentWord; } } x=CurrentWord + 1; while (x -1){return ''} RightBits = new Array(); for (var i=0; i 0){ SetGapValue(CurrGap, HintString); State[CurrGap][1] = State[CurrGap][1] + 1; } WriteFeedback(GiveHint); } function Blank(){ return '
©Half-Baked Software. Loading...
Hosted by www.Geocities.ws

'; } //--> //]]>
Hosted by www.Geocities.ws

1