'; ResultForm += ''; ResultForm += ''; ResultForm += ''; ResultForm += ''; ResultForm += ''; ResultForm += ''; ResultForm += ''; ResultForm += ''; ResultForm += ''; ResultForm += ''; ResultForm += ''; ResultForm += '
'; var GridOpener = ''; var GridRowOpener = ''; var GridRowCloser = ''; var BlankCell = ''; var LetterOnlyCell = ''; var NumLetterCell = ''; var GridCloser = '
 [Letter][ClueNum] [Letter]

'; var GetAnswerOpener = '
'; GetAnswerOpener += ''; var GetAnswer = ''; GetAnswer += ''; GetAnswer += ''; GetAnswer += ''; GetAnswer += ''; var GetAnswerCloser = '
[ThisClue]
'; function WriteFeedback(Feedback){ var Output = Feedback + '

'; document.getElementById('FeedbackContent').innerHTML = Output; var FDiv = document.getElementById('FeedbackDiv'); //Calculate and set its left setting topZ++; FDiv.style.zIndex = topZ; //Position the feedback div pg = new PageDim(); FDiv.style.left = Math.floor(pg.W/3) + 'px'; FDiv.style.width = Math.floor(pg.W/3) + 'px'; //Set the top again in case the window has been resized if (is.ns){ FDiv.style.top = Math.floor(pg.H/3) + window.pageYOffset + 'px'; } else{ FDiv.style.top = Math.floor(pg.H/3) + document.body.scrollTop + 'px'; } FDiv.style.display = 'block'; document.getElementById('FeedbackOKButton').focus(); InGap = false; } function HideFeedback(){ document.getElementById('FeedbackContent').innerHTML = ''; document.getElementById('FeedbackDiv').style.display='none'; FocusAButton(); if (Finished == true){ Finish(); } } function FocusAButton(){ if (document.getElementById('CheckButton1') != null){ document.getElementById('CheckButton1').focus(); } else{ if (document.getElementById('CheckButton2') != null){ document.getElementById('CheckButton2').focus(); } else{ document.getElementsByTagName('button')[0].focus(); } } } function WriteToInstructions(Feedback) { Feedback = '' + Feedback + ''; document.getElementById('InstructionsDiv').innerHTML = Feedback; } function WriteClue(ClueText) { document.getElementById('ClueDiv').innerHTML = ClueText; } function StartUp(){ //IE bug avoidance -- remove bottom navbar if (is.ie){ if (document.getElementById('BottomNavBar') != null){ document.getElementById('TheBody').removeChild(document.getElementById('BottomNavBar')); } } if (is.ie){ document.attachEvent('onkeydown',SuppressBackspace); window.attachEvent('onkeydown',SuppressBackspace); } else if (is.ns){ window.addEventListener('keypress',SuppressBackspace,false); } //Try to get user name UserName = prompt('Please enter your name and ID number',''); UserName += ''; if ((UserName.substring(0,4) == 'null')||(UserName.length < 1)){ UserName = prompt('Please enter your name and ID number',''); UserName += ''; if ((UserName.substring(0,4) == 'null')||(UserName.length < 1)){ history.back(); } } BuildExercise(); DisplayExercise(); } function BuildExercise(){ var OutString = ''; var Temp = ''; var GridStuff = GridOpener; for (var i=0; i 0){ Temp = NumLetterCell; Temp = ReplaceStuff('[ClueNum]', C[i][j], Temp); //Add location info Temp = ReplaceStuff('[x]', i, Temp); Temp = ReplaceStuff('[y]', j, Temp); } //Otherwise add a blank cell else{ Temp = LetterOnlyCell; } //If the cell is already answered, add the letter from the Guess array if (G[i][j] != ''){ Temp = ReplaceStuff('[Letter]', G[i][j], Temp); } //Otherwise, put in a non-breaking space else{ Temp = ReplaceStuff('[Letter]', ' ', Temp); } GridStuff += Temp; } } GridStuff += GridRowCloser; } GridStuff += GridCloser; //Put the final pieces together OutString = GridStuff; BuiltExercise = OutString; } function DisplayExercise(){ //Build the output string var OutString = ''; OutString += BuiltExercise; //Write it to the main div document.getElementById('GridDiv').innerHTML = OutString; } function BuildClue(ClueNum,x,y,Across){ var OutString = ''; if (Across == true){ if (ClueNum >= A.length){ return ''; } if (A[ClueNum] == null){ return ''; } OutString = GetAnswer; OutString = ReplaceStuff('[ThisClue]', ClueNum + '. ' + A[ClueNum], OutString); 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 = GetAnswer; OutString = ReplaceStuff('[ThisClue]', ClueNum + '. ' + D[ClueNum], OutString); 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('S','O','C','K','S','','','','','H','A','N','D','S','',''); L[1] = new Array('','','L','','','','','','','','','','','H','A','T'); L[2] = new Array('','V','E','S','T','','','','W','','M','','','I','',''); L[3] = new Array('','','V','','','','','H','O','M','E','W','O','R','K',''); L[4] = new Array('','','E','','','','J','','M','','N','','','T','',''); L[5] = new Array('F','U','R','N','I','T','U','R','E','','','','','','',''); L[6] = new Array('','','','','','','M','','N','','','','','','',''); L[7] = new Array('','','','','','','P','','','','','','G','','',''); L[8] = new Array('','','','T','','','E','','','','','','L','','',''); L[9] = new Array('','C','H','I','L','D','R','E','N','','','B','O','O','K','S'); L[10] = new Array('','','','D','','I','','','','','J','','V','','',''); L[11] = new Array('W','','','Y','','S','H','O','E','L','A','C','E','S','',''); L[12] = new Array('A','','','','','H','','','','','C','','S','','',''); L[13] = new Array('T','R','O','U','S','E','R','S','','','K','','','','',''); L[14] = new Array('E','','','','','S','','','','','E','','','','',''); L[15] = new Array('R','','','','','','','P','A','N','T','S','','','',''); C = new Array(); C[0] = new Array(1,0,2,0,0,0,0,0,0,3,0,0,0,4,0,0); C[1] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0); C[2] = new Array(0,6,0,0,0,0,0,0,7,0,8,0,0,0,0,0); C[3] = new Array(0,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0); C[4] = new Array(0,0,0,0,0,0,10,0,0,0,0,0,0,0,0,0); C[5] = new Array(11,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,0,0,0,0,0,0,0,0,0); C[7] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0); C[8] = new Array(0,0,0,13,0,0,0,0,0,0,0,0,0,0,0,0); C[9] = new Array(0,14,0,0,0,15,0,0,0,0,0,16,0,0,0,0); C[10] = new Array(0,0,0,0,0,0,0,0,0,0,17,0,0,0,0,0); C[11] = new Array(18,0,0,0,0,19,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,0,0,0,0,0); C[13] = new Array(20,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); C[15] = new Array(0,0,0,0,0,0,0,21,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('','','','','','','','','','','','','','','',''); A = new Array(); A[1]='RealPlayer definition (FASTER)
MP3 definition (BETTER QUALITY)'; A[3]='Listen to the definition
MP3 definition'; A[5]='Listen to the definition
MP3 definition'; A[6]='Listen to the definition
MP3 definition'; A[9]='Listen to the definition
MP3 definition'; A[11]='Listen to the definition
MP3 definition'; A[14]='Listen to the definition
MP3 definition'; A[16]='Listen to the definition
MP3 definition'; A[19]='Listen to the definition
MP3 definition'; A[20]='Listen to the definition
MP3 definition'; A[21]='Listen to the definition
MP3 definition'; D = new Array(); D[2]='Listen to the definition
MP3 definition'; D[4]='Listen to the definition
MP3 definition'; D[7]='Listen to the definition
MP3 definition'; D[8]='Listen to the definition
MP3 definition'; D[10]='Listen to the definition
MP3 definition'; D[12]='Listen to the definition
MP3 definition'; D[13]='Listen to the definition
MP3 definition'; D[15]='Listen to the definition
MP3 definition'; D[17]='Listen to the definition
MP3 definition'; D[18]='Listen to the definition
MP3 definition'; 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); WriteToInstructions(Output); if (AllCorrect == true){ setTimeout('SendResults(' + Score + ')', 50); Finished = true; setTimeout('Finish()', SubmissionTimeout); return; } DisplayExercise(); } function SendResults(Score){ var today = new Date; var NewName = '' + today.getTime(); var NewWin = window.open('Submission', NewName, 'toolbar=no,location=no,directories=no,status=no, menubar=no,scrollbars=yes,resizable=no,,width=400,height=300'); NewWin.document.clear(); NewWin.document.open(); NewWin.document.write(ResultForm); NewWin.document.close(); NewWin.document.Results.Score.value = Score + '%'; NewWin.document.Results.realname.value = UserName; NewWin.document.Results.End_Time.value = (new Date()).toLocaleString(); NewWin.document.Results.Start_Time.value = StartTime; NewWin.document.Results.submit(); } function DoNothing(){} function Finish(){ //If there's a form, fill it out and submit it if (document.store != null){ Frm = document.store; Frm.starttime.value = HPNStartTime; Frm.endtime.value = (new Date()).getTime(); Frm.mark.value = Score; Frm.submit(); } } //--> //]]>
-->
Crosswords
Crossword. Click on the numbers and then on the audio file shown at the top for each clue...

Complete the crossword, then click on "Check" to check your answer. If you are stuck, you can click on "Hint" to get a free letter. Click on a number in the grid to see the clue or clues for that number.