Mr Bean\'s Birthday The head waiter came back. "Have you decided, sir?" he asked. "Er, yes. I\u2019ll have this, please", said Mr Bean, pointing at the menu. A waiter came with a bottle of wine. "Would you like to try the house wine, sir?" "Yes," said Mr Bean. He tasted the wine, then said he couldn\u2019t drink any more." "I\u2019m driving," he said. While he was waiting , Mr Bean got a little bored. He started to play a tune on the wine glasses and a plate using his knife. What did he play? Oh yes, it was "Happy Birthday".A few minutes later, the waiter came with the food. Mr Bean looked expectantly. But what was it? It didn\'t even look cooked! He tried some. It was raw. It tasted horrible! He couldn\'t eat this!!! What was he going to do?Mr Bean looked around the restaurant. Nobody was looking at him. He had an idea. He would hide the meat! He ate the middle of the bread roll and filled it with meat. He hid some under a plate. He poured the sugar out of the sugar bowl and put the meat in the sugar bowl, then poured the sugar back on top of the awful meat!
'; NavBar+=''; NavBar+=''; NavBar+='
'; if (is.CRAPBrowser){NavBar = ResolveAllURLs(NavBar);} var TitleCode = ''; TitleCode += '' + ExerciseTitle + '
'; TitleCode += '' + ExerciseSubtitle + '
'; TitleCode += '
'; var QButtonsOpener = ''; QButtonsOpener += '
 '; QButtonsOpener += ''; var QButtonsCloser = ''; QButtonsCloser += '
'; var TableOpener = ''; var QRow = ''; QRow += ''; QRow += ''; var ARow = ''; var BtnRow = ''; TableCloser = '
 '; QRow += '[QNumber] [Question] '; QRow += ' '; ARow += '[AnswerBox] '; BtnRow += ''; BtnRow += ''; BtnRow += '
'; var LongAnswer = ''; var ShortAnswer = ''; function GoBack(){ var BackSkip = history.length - PreviousPage; if (BackSkip > 0){ history.go((BackSkip+1)*-1); } else{ parent.history.back(); } } function TrapReturn(ShowHint,QNum){ //if not yet answered correctly, call CheckAnswer if (Status[QNum][0] < 1){ CheckAnswer(ShowHint,QNum); return; } //otherwise, move on to the next question if showing serially else{ if (ShowOneByOne == true){ setTimeout('ChangeQ(1)', 50); } } } function ReduceItems(){ var ItemToDump=0; var j=0; while (I.length > QsToShow){ ItemToDump = Math.floor(I.length*Math.random()); for (j=ItemToDump; j<(I.length-1); j++){ I[j] = I[j+1]; } I.length = I.length-1; } } function Shuffle(InArray){ Temp = new Array(); var Len = InArray.length; var j = Len; for (var i=0; i0){ OutString += ''; OutString += ''; OutString += Feedback; OutString += '' } OutString += ''; //Write it to the frame TopFrame.document.clear(); TopFrame.document.open(); TopFrame.document.write(OutString); TopFrame.document.close(); } function StartUp(){ //Write the top frame WriteFeedback(Instructions); if ((is.mac)&&(is.ns)) { FocusBoxes = false; } //Reduce array if required if (QsToShow < I.length){ ReduceItems(); } //Shuffle stuff if required if (ShuffleQs == true){ I = Shuffle(I); } //Create arrays CreateStatusArrays(); if (TimerFrame != null) { Stuff='ANSWER IN A SENTENCE'; I[5][1] = new Array(); I[5][1][0] = new Array(); I[5][1][0][0]='It tasted horrible.'; I[5][1][1] = new Array(); I[5][1][1][0]='It tasted disgusting.'; I[5][1][2] = new Array(); I[5][1][2][0]='It tasted terrible.'; I[5][1][3] = new Array(); I[5][1][3][0]='It tasted awful.'; I[5][1][4] = new Array(); I[5][1][4][0]='It was awful.'; I[5][1][5] = new Array(); I[5][1][5][0]='It was horrible.'; I[5][1][6] = new Array(); I[5][1][6][0]='It was disgusting.'; I[5][1][7] = new Array(); I[5][1][7][0]='It was terrible.'; I[6] = new Array(); I[6][0]='What did Mr Bean do with the steak tartare?
He _______ it.'; I[6][1] = new Array(); I[6][1][0] = new Array(); I[6][1][0][0]='hid'; Status = new Array(); function CreateStatusArrays(){ Status.length = 0; for (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; } function ChangeQ(ChangeBy){ var NewNum = CurrQNum + ChangeBy; if ((NewNum >= 0)&&(NewNum Longest){ Longest = I[QNum][1][i][0].length; } } var AnsBox = ''; if (Longest > 20){ AnsBox = LongAnswer; } else{ AnsBox = ReplaceStuff('[AnswerSize]', (Longest + ''), ShortAnswer); } var AnsRow = ReplaceStuff('[AnswerBox]', AnsBox, ARow); Temp += AnsRow; Temp += BtnRow; Temp = ReplaceStuff('[QNumber]', QNum+1, Temp); Temp = ReplaceStuff('[QNum]', QNum, Temp); return Temp; } function DisplayExercise(StuffToDisplay){ //Build the output string var OutString = ''; OutString += ''; OutString += ''; OutString += '
'; OutString += TitleCode; OutString += ''; OutString += NavBar; OutString += '
 '; OutString += ''; OutString += StuffToDisplay; OutString += '
'; 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 ShowAllQs(){ var Output = ''; for (var i=0; i