ÿþ<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE>COUNTRIES AND NATIONALITIES</TITLE> <META content="text/html; charset=unicode" http-equiv=Content-Type> <META content="Created with Hot Potatoes by Half-Baked Software, registered to amirsyed." name=author></META> <META content="Hot Potatoes, Half-Baked Software, Windows, University of Victoria" name=keywords></META> <STYLE type=text/css> body{ font-family: Geneva,Arial; background-color: #ffffff; color: #000000; margin-right: 5%; margin-left: 5%; } input.AnswerBox{ font-family: Geneva,Arial; font-size: larger; } .ClueText{ font-size: smaller; } p{ text-align: justify; margin: 0px; } .ExerciseTitle{ text-align: center; font-size: larger; } .ExerciseSubtitle{ text-align: center; font-size: normal; text-align: center; } div.ExerciseText{ margin: 0px; padding: 0px; } div.FeedbackText{ margin: 0px; padding: 0px; } span.Instructions{ } span.GridLetter{ color: #000000; background-color: #ffffff; font-weight: bold; vertical-align: baseline; } td{ color: #000000; } div.Titles{ text-align: center; margin-bottom: 4px; color: #000033; } span.ClueTitle{ font-weight: bold; font-size: larger; text-decoration: underline; } .FeedbackText{ } div.Feedback { background-color: #ffffff; left: 1px; top: 33%; z-index: 1; border-style: solid; border-width: 1px; padding: 5px; text-align: center; color: #000033; position: absolute; display: none; font-size: smaller; } div.Titles{ padding-top: 10px; text-align: center; margin-bottom: 4px; } table#ExTable{ padding: 0px; margin: 0px; } div.ExerciseDiv{ color: #000000; } div.StdDiv{ background-color: #bbbbee; text-align: center; font-size: smaller; color: #000000; padding: 8px; border-style: solid; border-width: 1px 1px 1px 1px; border-color: #000000; margin: 1px; } div.FunctionButtonBar{ background-color: #bbbbee; text-align: center; } span.FunctionButton { font-size: smaller; background-color: #bbbbee; color: #000000; text-align: center; display: block; border-style: solid; border-color: #bbbbee; border-width: 2px; padding: 3px 6px 3px 6px; cursor: pointer; cursor: hand; margin: auto; } div.NavButtonBar{ background-color: #000066; text-align: center; padding: 1px; } div.NavButtonBar span { font-size: smaller; display: block; border-style: solid; border-color: #000066; border-width: 2px; padding: 2px 2px 2px 2px; color: #ffffff; cursor: pointer; cursor: hand; } a{ color: #0000ff; } a: visited{ color: #0000cc; } a:hover{ color: #0000ff; } </STYLE> <SCRIPT language=javascript type=text/javascript> //<![CDATA[ <!-- // BrowserCheck Object function BrowserCheck() { var b = navigator.appName this.mac = (navigator.appVersion.indexOf('Mac') != -1) if (b=="Netscape") this.b = 'ns' else if (b=="Microsoft Internet Explorer") this.b = 'ie' else this.b = b this.version = navigator.appVersion this.v = parseInt(this.version) this.ns = (this.b=="ns" && this.v>=5) this.ns5 = (this.b=="ns" && this.v==5) this.ns6 = (this.b=="ns" && this.v==5) this.ie = (this.b=="ie" && this.v>=4) this.ie4 = (this.version.indexOf('MSIE 4')>0) this.ie5 = (this.version.indexOf('MSIE 5')>0) if (this.mac) this.ie = this.ie5 this.ie5mac = (this.ie5 && this.mac); this.min = (this.ns||this.ie) } is = new BrowserCheck(); if ((is.min == false)||(is.ie5mac)){ alert('Your browser can\'t handle this page. You need NS6 or IE5 on Windows, or NS6 on Mac.'); // history.back(); } function PageDim(){ //Get the page width and height this.W = 600; this.H = 400; if (is.ns) this.W = window.innerWidth; if (is.ie) this.W = document.body.clientWidth; if (is.ns) this.H = window.innerHeight; if (is.ie) this.H = document.body.clientHeight; } var pg = null; var InGap = false; function SuppressBackspace(e){ if (InGap == true){ return; } if (is.ns) { thisKey = e.keyCode; } else { thisKey = window.event.keyCode; } var Suppress = false; //Hide the feedback window if showing if (thisKey == 13){ if (document.getElementById('FeedbackDiv').style.display != 'none'){ HideFeedback(); Suppress = true; } } if (thisKey == 8) { Suppress = true; } if (Suppress == true){ if (is.ie){ window.event.returnValue = false; window.event.cancelBubble = true; } else{ e.preventDefault(); } } } var NavLightColor = '#7f7fb2'; var NavShadeColor = '#000033'; var NavBarColor = '#000066'; var FuncLightColor = '#ddddf6'; var FuncShadeColor = '#5d5d77'; var ExBGColor = '#bbbbee'; function NavBtnOver(Btn){ Btn.style.padding = '1px 3px 3px 1px'; Btn.style.borderLeftColor = NavLightColor; Btn.style.borderTopColor = NavLightColor; Btn.style.borderRightColor = NavShadeColor; Btn.style.borderBottomColor = NavShadeColor; } function NavBtnOut(Btn){ Btn.style.borderColor = NavBarColor; Btn.style.padding = '2px 2px 2px 2px'; } function NavBtnDown(Btn){ Btn.style.borderLeftColor = NavShadeColor; Btn.style.borderTopColor = NavShadeColor; Btn.style.borderRightColor = NavLightColor; Btn.style.borderBottomColor = NavLightColor; Btn.style.padding = '3px 1px 1px 3px'; } function FuncBtnOver(Btn){ Btn.style.padding = '2px 7px 4px 5px'; Btn.style.borderLeftColor = FuncLightColor; Btn.style.borderTopColor = FuncLightColor; Btn.style.borderRightColor = FuncShadeColor; Btn.style.borderBottomColor = FuncShadeColor; } function FuncBtnOut(Btn){ Btn.style.borderColor = '#bbbbee'; Btn.style.padding = '3px 6px 3px 6px'; } function FuncBtnDown(Btn){ Btn.style.borderLeftColor = FuncShadeColor; Btn.style.borderTopColor = FuncShadeColor; Btn.style.borderRightColor = FuncLightColor; Btn.style.borderBottomColor = FuncLightColor; Btn.style.padding = '4px 5px 2px 7px'; } var topZ = 100; var CurrentBox = -1; var Feedback = ''; var CluesAcross = 'Across:'; var CluesDown = 'Down:'; var Correct = 'Correct! Well done.'; var Incorrect = 'Some of your answers are incorrect. Incorrect squares have been blanked out.'; var GiveHint = 'A correct letter has been added.'; var YourScoreIs = 'Your score is '; var BuiltGrid = ''; var BuiltExercise = ''; var Penalties = 0; var FirstShow = true; var ReadingURL = '[ReadingURL]'; var TempReading = ''; var CurrBoxElement = null; var GridOpener = '<center><table border="1" cellpadding="0" cellspacing="0">'; var GridRowOpener = '<tr>'; var GridRowCloser = '</tr>'; var BlankCell = '<td bgcolor="#000000" width="30" height="30">&nbsp;</td>'; var LetterOnlyCell = '<td bgcolor="#ffffff" width="30" height="30" align="center" valign="middle"><span class="GridLetter">[Letter]</span></td>'; var NumLetterCell = '<td bgcolor="#ffffff" style="cursor: pointer; cursor: hand;" width="30" height="30" align="center" valign="top" onclick="ShowClue([ClueNum],[x],[y])"><sup><a href="javascript:DoNothing()" onclick="ShowClue([ClueNum],[x],[y])">[ClueNum]</a></sup>&nbsp;<span class="GridLetter">[Letter]</span></td>'; var GridCloser = '</table></center><br />'; var GetAnswerOpener = '<div class="FunctionButtonBar"><form name="AnswerForm" action="" onSubmit="return false;">'; GetAnswerOpener += '<table border="0" align="center" cellpadding="2" cellspacing="2">'; var GetAnswer = '<tr><td valign="top"><span class="ClueText">[ThisClue]</span></td>'; GetAnswer += '<td valign="top"><input type="text" class="AnswerBox" name="[BoxName]" size="[AnsLength]" maxlength="[AnsLength]" onfocus="InGap=true;"></input></td>'; GetAnswer += '<td valign="top"><span class="FunctionButton" onmouseover="FuncBtnOver(this)" onmouseout="FuncBtnOut(this)" '; GetAnswer += 'onmousedown="FuncBtnDown(this)" onmouseup="FuncBtnOver(this)" '; GetAnswer += 'onclick="EnterAnswer(document.AnswerForm.[BoxName].value,[boolAcross],[AnsLength],[x],[y])">'; GetAnswer += '&nbsp;Enter&nbsp;</span></td>'; GetAnswer += '<td valign="top"><span class="FunctionButton" onmouseover="FuncBtnOver(this)" onmouseout="FuncBtnOut(this)" '; GetAnswer += 'onmousedown="FuncBtnDown(this)" onmouseup="FuncBtnOver(this)" '; GetAnswer += ' onclick="ShowHint([boolAcross],[x],[y],\'document.AnswerForm.[BoxName]\')">'; GetAnswer += '&nbsp;Give me a hint&nbsp;</span></td>'; GetAnswer += '</tr>'; var GetAnswerCloser = '</table></form></div>'; function WriteFeedback(Feedback){ var Output = Feedback + '<br /><br />'; 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'; InGap = false; } function HideFeedback(){ document.getElementById('FeedbackContent').innerHTML = ''; document.getElementById('FeedbackDiv').style.display='none'; } function WriteToInstructions(Feedback) { Feedback = '<span class="FeedbackText">' + Feedback + '</span>'; document.getElementById('InstructionsDiv').innerHTML = Feedback; } function WriteClue(ClueText) { document.getElementById('ClueDiv').innerHTML = ClueText; } function StartUp(){ if (is.ns){ window.addEventListener('keypress',SuppressBackspace,false); } else{ //alert('not netscape; is.min=' + is.min + '; is.ie5mac=' + is.ie5mac); if ((is.min == true)&&(is.ie5mac == false)){ document.attachEvent('onkeydown',SuppressBackspace); window.attachEvent('onkeydown',SuppressBackspace); } } BuildExercise(); DisplayExercise(); //Hide the reading stuff TempReading = document.getElementById('ReadingDiv').innerHTML; document.getElementById('ReadingDiv').innerHTML = ''; } function BuildExercise(){ var OutString = ''; var Temp = ''; var GridStuff = GridOpener; for (var i=0; i<L.length; i++){ GridStuff += GridRowOpener; for (var j=0; j<L[i].length; j++){ //If the cell is blank, add a black cell if (L[i][j] == ''){ GridStuff += BlankCell; } //else there's a letter there else{ //If there's a clue number, add it if (C[i][j] > 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]', '&nbsp;', 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<L[i].length){ if (L[i][j] != ''){ AnsLength++; } else{ break; } j++; } OutString = ReplaceStuff('[AnsLength]', AnsLength, OutString); OutString = ReplaceStuff('[boolAcross]', 'true', OutString); } else{ if (ClueNum >= 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<L.length){ if (L[i][j] != ''){ AnsLength++; } else{ break; } i++; } OutString = ReplaceStuff('[AnsLength]', AnsLength, OutString); OutString = ReplaceStuff('[boolAcross]', 'false', OutString); } OutString = ReplaceStuff('[x]', x ,OutString); OutString = ReplaceStuff('[y]', y, OutString); return OutString; } function ShowClue(ClueNum,x,y){ var OutString = ''; var Temp = ''; var ThisClue = ''; var AnsLength = 0; var i; var j; CurrBoxElement = ClueNum; if (A[ClueNum] != null){ ThisClue = GetAnswer; Temp = 'Across: ' + ClueNum + '. ' + A[ClueNum]; ThisClue = ReplaceStuff('[ThisClue]', Temp, ThisClue); OutString += ThisClue; OutString = ReplaceStuff('[BoxName]', 'BA'+ClueNum, OutString); //Find out how long the answer is AnsLength = 0; i = x; j = y; while (j<L[i].length){ if (L[i][j] != ''){ AnsLength++; } else{ break; } j++; } OutString = ReplaceStuff('[AnsLength]', AnsLength, OutString); OutString = ReplaceStuff('[boolAcross]', 'true', OutString); } if (D[ClueNum] != null){ ThisClue = GetAnswer; Temp = 'Down: ' + ClueNum + '. ' + D[ClueNum]; ThisClue = ReplaceStuff('[ThisClue]', Temp, ThisClue); OutString += ThisClue; OutString = ReplaceStuff('[BoxName]', 'BD'+ClueNum, OutString); //Find out how long the answer is AnsLength = 0; i = x; j = y; while (i<L.length){ if (L[i][j] != ''){ AnsLength++; } else{ break; } i++; } OutString = ReplaceStuff('[AnsLength]', AnsLength, OutString); OutString = ReplaceStuff('[boolAcross]', 'false', OutString); } OutString = GetAnswerOpener + OutString + GetAnswerCloser; OutString = ReplaceStuff('[x]', x ,OutString); OutString = ReplaceStuff('[y]', y, OutString); WriteClue(OutString); if (eval('document.AnswerForm.BA' + ClueNum) != null){ eval('document.AnswerForm.BA' + ClueNum).focus(); } else{ if (eval('document.AnswerForm.BD' + ClueNum) != null){ eval('document.AnswerForm.BD' + ClueNum).focus(); } } } function EnterAnswer(Guess,Across,AnsLength,x,y){ Guess = Guess.toUpperCase(); var i=x; var j=y; var Letter = 0; while (Letter < AnsLength){ if (Letter < Guess.length){ G[i][j] = Guess.charAt(Letter); } if (Across == true){ j++; } else{ i++; } Letter++; } BuildExercise(); DisplayExercise(); InGap = false; CurrBox = null; } function ShowHint(Across,x,y,BoxName){ var i=x; var j=y; var OutString = ''; if (Across==true){ while (j<L[i].length){ if (L[i][j] != ''){ OutString += L[i][j]; if (G[i][j] != L[i][j]){ G[i][j] = L[i][j]; Penalties++; break; } } else{ break; } j++; } } else{ while (i<L.length){ if (L[i][j] != ''){ OutString += L[i][j]; if (G[i][j] != L[i][j]){ G[i][j] = L[i][j]; Penalties++; break; } } else{ break; } i++; } } if (eval(BoxName) != null){ eval(BoxName).value = OutString; } } function ReplaceStuff(Token, Replacement, InString){ var i = InString.indexOf(Token); var FirstBit = ''; var LastBit = ''; 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('','','P','A','K','I','S','T','A','N','I','','','','','','','','','','',''); L[1] = new Array('I','','O','','','','','','','','','','','','','','','','','','',''); L[2] = new Array('N','O','R','W','E','G','I','A','N','','','','','','','F','','','','','',''); L[3] = new Array('D','','T','','','','','','','','','R','U','S','S','I','A','N','','','',''); L[4] = new Array('O','','U','','P','O','L','I','S','H','','O','','Y','','N','','','','','',''); L[5] = new Array('N','','G','','','','','','','U','','M','','R','','N','','','','','',''); L[6] = new Array('E','C','U','A','D','O','R','I','A','N','','A','','I','','I','','G','','','',''); L[7] = new Array('S','','E','','','','','','','G','','N','','A','','S','W','E','D','I','S','H'); L[8] = new Array('I','','S','','','J','O','R','D','A','N','I','A','N','','H','','R','','','',''); L[9] = new Array('A','','E','','','','','','','R','','A','','','','','','M','','','',''); L[10] = new Array('N','','','M','A','L','A','Y','S','I','A','N','','','T','','','A','','','',''); L[11] = new Array('','','','O','','','','','','A','','','','','U','','I','N','D','I','A','N'); L[12] = new Array('','','','R','','S','U','D','A','N','E','S','E','','R','','','','','','',''); L[13] = new Array('','','','O','','','','','','','','','','','K','','','','','','',''); L[14] = new Array('D','U','T','C','H','','G','','','S','C','O','T','T','I','S','H','','','','',''); L[15] = new Array('','','','C','','','R','','','O','','','','','S','','','','','','',''); L[16] = new Array('','','','A','','','E','','','M','','','','','H','','','','','','',''); L[17] = new Array('','','','N','I','G','E','R','I','A','N','','','K','','','','','','','',''); L[18] = new Array('','','','','R','','K','','','L','','','','O','','','','','','','',''); L[19] = new Array('','','T','H','A','I','','','','I','','L','','R','','','','','','','',''); L[20] = new Array('','','','','Q','','J','A','P','A','N','E','S','E','','','','','','','',''); L[21] = new Array('','','','','I','','','','','N','','B','','A','','','','','','','',''); L[22] = new Array('','','','','','','','','I','','','A','','N','','','','','','','',''); L[23] = new Array('','','','','E','G','Y','P','T','I','A','N','','','','','','','','','',''); L[24] = new Array('','','','L','','','','','A','','','E','N','G','L','I','S','H','','','',''); L[25] = new Array('','','','I','S','R','A','E','L','I','','S','','','','','','','','','',''); L[26] = new Array('','','','B','','','','','I','','P','E','R','U','V','I','A','N','','','',''); L[27] = new Array('','','','Y','','','','','A','','','','','','','','','','','','',''); L[28] = new Array('','','','A','','S','P','A','N','I','S','H','','','','','','','','','',''); L[29] = new Array('','','','N','','','','','','','','','','','','','','','','','',''); C = new Array(); C[0] = new Array(0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); C[1] = new Array(2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); C[2] = new Array(3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0); C[3] = new Array(0,0,0,0,0,0,0,0,0,0,0,5,0,6,0,0,0,0,0,0,0,0); C[4] = new Array(0,0,0,0,7,0,0,0,0,8,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,0,0,0,0,0,0,0,0); C[6] = new Array(9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,0); C[7] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0); C[8] = new Array(0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); C[9] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); C[10] = new Array(0,0,0,13,0,0,0,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0); C[11] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,15,0,0,0,0,0); C[12] = new Array(0,0,0,0,0,16,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,0,0,0,0,0,0,0,0,0,0,0,0); C[14] = new Array(17,0,0,0,0,0,18,0,0,19,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,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,0,0,0); C[17] = new Array(0,0,0,20,21,0,0,0,0,0,0,0,0,22,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,0,0,0); C[19] = new Array(0,0,23,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,0); C[20] = new Array(0,0,0,0,0,0,25,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); C[21] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); C[22] = new Array(0,0,0,0,0,0,0,0,26,0,0,0,0,0,0,0,0,0,0,0,0,0); C[23] = new Array(0,0,0,0,27,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); C[24] = new Array(0,0,0,28,0,0,0,0,0,0,0,29,0,0,0,0,0,0,0,0,0,0); C[25] = new Array(0,0,0,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); C[26] = new Array(0,0,0,0,0,0,0,0,0,0,31,0,0,0,0,0,0,0,0,0,0,0); C[27] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); C[28] = new Array(0,0,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); C[29] = new Array(0,0,0,0,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('','','','','','','','','','','','','','','','','','','','','',''); G[20] = new Array('','','','','','','','','','','','','','','','','','','','','',''); G[21] = new Array('','','','','','','','','','','','','','','','','','','','','',''); G[22] = new Array('','','','','','','','','','','','','','','','','','','','','',''); G[23] = new Array('','','','','','','','','','','','','','','','','','','','','',''); G[24] = new Array('','','','','','','','','','','','','','','','','','','','','',''); G[25] = new Array('','','','','','','','','','','','','','','','','','','','','',''); G[26] = new Array('','','','','','','','','','','','','','','','','','','','','',''); G[27] = new Array('','','','','','','','','','','','','','','','','','','','','',''); G[28] = new Array('','','','','','','','','','','','','','','','','','','','','',''); G[29] = new Array('','','','','','','','','','','','','','','','','','','','','',''); A = new Array(); A[1]='Pakistan'; A[3]='Norway'; A[5]='Russia'; A[7]='Poland'; A[9]='Ecuador'; A[11]='Sweden'; A[12]='Jordan'; A[13]='Malaysia'; A[15]='Indian'; A[16]='Sudan'; A[17]='Holland'; A[19]='Scotland'; A[20]='Nigeria'; A[23]='Thailand'; A[25]='Japan'; A[27]='Egypt'; A[29]='English'; A[30]='Israeli'; A[31]='peru'; A[32]='Spain'; D = new Array(); D[1]='Portugal'; D[2]='Indonesia'; D[4]='Finland'; D[5]='Romania'; D[6]='Syria'; D[8]='Hungary'; D[10]='Germany'; D[13]='Morocco'; D[14]='Turky'; D[18]='Greece'; D[19]='Somalia'; D[21]='Iraq'; D[22]='Korea'; D[24]='Lebanon'; D[26]='Italy'; D[28]='Libya'; function CheckAnswers(){ var AllCorrect = true; var TotLetters = 0; var CorrectLetters = 0; //Check each letter for (var i=0; i<L.length; i++){ for (var j=0; j<L[i].length; j++){ if (L[i][j] != ''){ TotLetters++; if (G[i][j] != L[i][j]){ G[i][j] = ''; AllCorrect = false; } else{ CorrectLetters++; } } } } var Score = Math.floor(((CorrectLetters-Penalties) * 100)/TotLetters); //Compile the output var Output = ''; if (AllCorrect == true){ WriteClue('&nbsp;'); Output = Correct + '<br />'; } Output += YourScoreIs + ' ' + Score + '%.<br />'; if (AllCorrect == false){ Output += Incorrect; Penalties++; } BuildExercise(); WriteFeedback(Output); WriteToInstructions(Output); DisplayExercise(); } function ShowReading(){ document.getElementById('ReadingDiv').innerHTML = TempReading; } //Reading text/timer code var min var sec var ShowReadingAgain = 'Show reading again'; function DownTime(mm,ss){ min = mm; sec = ss; if (sec==0) { sec = 60; min--; } sec--; if (sec<10){ sec="0" + sec; } if (document.TimerForm.face == null){ return; } document.TimerForm.face.value= min+":"+sec; if ((min==0) && (sec==0)){ TimesUp() } else{ setTimeout('DownTime(min,sec)',1000) } } function StartReading(){ Stuff='<form name="TimerForm">Remaining time:'; Stuff+=' <input type="text" name="face" size="6" value="5:00"></input></form>'; WriteToTimer(Stuff); ShowReading(); timeoutID=setTimeout('DownTime(5,0)',1000); } function TimesUp() { if (ShowReadingAgain.length > 0) { Stuff='<table border="0" cellpadding="10" align="center"><tr><td align="center" valign="middle">'; Stuff+=' <span class="FunctionButton" onmouseover="FuncBtnOver(this)" onmouseout="FuncBtnOut(this)" onmousedown="FuncBtnDown(this)" onmouseup="FuncBtnOver(this)" onclick="StartReading()">Show reading again</span></td></tr></table>'; WriteToTimer(Stuff); } WriteToReading('Your time is over!'); } function WriteToReading(Stuff) { document.getElementById('ReadingDiv').innerHTML = Stuff; } function WriteToTimer(Stuff){ document.getElementById('TimerDiv').innerHTML = Stuff; } function DoNothing(){} function Blank(){ return '<html><body>&copy;Half-Baked Software. Loading...</body></html>'; } //--> //]]> </SCRIPT> <!--<body>Fool those dumb ad-inserting ISPs</body>--> <META content="MSHTML 5.00.2314.1000" name=GENERATOR></HEAD> <BODY onload=StartUp()> <DIV class=WholePage> <DIV class=NavButtonBar> <TABLE align=center border=0 cellPadding=0 cellSpacing=2> <TBODY> <TR> <TD><SPAN onclick="location='http://eslzone1.tripod.com'" onmousedown=NavBtnDown(this) onmouseout=NavBtnOut(this) onmouseover=NavBtnOver(this) onmouseup=NavBtnOver(this)>ESLZONE1 HOMEPAGE</SPAN></TD></TR></TBODY></TABLE></DIV> <DIV class=Titles><SPAN class=ExerciseTitle>COUNTRIES AND NATIONALITIES</SPAN><BR><SPAN class=ExerciseSubtitle>Crossword<BR>by<BR>Amir Hussain Syed</SPAN><BR></DIV> <DIV class=ExerciseDiv> <TABLE cellPadding=0 cellSpacing=0 id=ExTable width="100%"> <TBODY> <TR> <TD colSpan=2> <DIV class=StdDiv id=InstructionsDiv> <P id=Instructions>Complete the crossword, ( find the countries adjectives to form nationalities ) 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.</P></DIV></TD></TR> <TR> <TD vAlign=top width="50%"> <DIV class=StdDiv id=TimerDiv> <TABLE align=center border=0 cellPadding=4> <TBODY> <TR> <TD align=middle vAlign=center><SPAN class=FunctionButton onclick=StartReading() onmousedown=FuncBtnDown(this) onmouseout=FuncBtnOut(this) onmouseover=FuncBtnOver(this) onmouseup=FuncBtnOver(this)>Start reading</SPAN></TD></TR></TBODY></TABLE></DIV> <DIV class=StdDiv id=ReadingDiv><SPAN class=ExerciseTitle>COUNTRIES AND NATIONALITIES</SPAN><BR><BR> <P><BR>Most country adjectives end in ( i )an. <BR>EXAMPLE: German, Egyptian<BR><BR>Many country adjectives end in ish.<BR>EXAMPLE: British, Turkish<BR><BR>A few country adjectives end in ese.<BR>EXAMPLE: Chinese, Nepalese<BR><BR>A few country adjectives change in a different way.<BR>EXAMPLE: French from France, Dutch from Holland, Swiss from Switzerland, Greek,Iraqi, Thai, Arab, Israeli.<BR></P></DIV></TD> <TD vAlign=top> <DIV class=StdDiv id=ClueDiv> </DIV> <DIV class=StdDiv id=MainDiv> <DIV class=FunctionButtonBar> <TABLE align=center border=0 cellPadding=0 cellSpacing=0> <TBODY> <TR> <TD><SPAN class=FunctionButton onclick=CheckAnswers() onmousedown=FuncBtnDown(this) onmouseout=FuncBtnOut(this) onmouseover=FuncBtnOver(this) onmouseup=FuncBtnOver(this)>&nbsp;Check&nbsp; </SPAN></TD></TR></TBODY></TABLE></DIV> <DIV id=GridDiv style="MARGIN-TOP: 10px"></DIV> <DIV class=FunctionButtonBar> <TABLE align=center border=0 cellPadding=0 cellSpacing=0> <TBODY> <TR> <TD><SPAN class=FunctionButton onclick=CheckAnswers() onmousedown=FuncBtnDown(this) onmouseout=FuncBtnOut(this) onmouseover=FuncBtnOver(this) onmouseup=FuncBtnOver(this)>&nbsp;Check&nbsp; </SPAN></TD></TR></TBODY></TABLE></DIV></DIV></TD></TR></TBODY></TABLE></DIV> <DIV class=NavButtonBar> <TABLE align=center border=0 cellPadding=0 cellSpacing=2> <TBODY> <TR> <TD><SPAN onclick="location='http://eslzone1.tripod.com'" onmousedown=NavBtnDown(this) onmouseout=NavBtnOut(this) onmouseover=NavBtnOver(this) onmouseup=NavBtnOver(this)>ESLZONE1 HOMEPAGE</SPAN></TD></TR></TBODY></TABLE></DIV></DIV> <DIV class=Feedback id=FeedbackDiv> <DIV class=FeedbackText id=FeedbackContent></DIV> <TABLE align=center border=0 cellPadding=5 style="BACKGROUND-COLOR: #bbbbee" ;><TBODY> <TR> <TD align=middle vAlign=center><SPAN class=FunctionButton onclick=HideFeedback() onmousedown=FuncBtnDown(this) onmouseout=FuncBtnOut(this) onmouseover=FuncBtnOver(this) onmouseup=FuncBtnOver(this)>&nbsp;OK&nbsp;</SPAN> </TD></TR></TBODY></TABLE></DIV></BODY></HTML>