ÿþ<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <p><center><h2><a href="http://www.studenthandouts.com/Free-Online-Proficiency-Test-Prep-Games.html">Click here to go to our list of interactive games for test preparation.</a></h2></center></p> <center> <script type="text/javascript"><!-- google_ad_client = "pub-7566531330099713"; /* Leaderboard Ad */ google_ad_slot = "5236841293"; google_ad_width = 728; google_ad_height = 90; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </center> <!-- saved from url=(0014)about:internet --> <head> <meta http-equiv="Content-Type" content="text/html; charset=unicode"> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="X-UA-Compatible"content="IE=EmulateIE7"> <!--***GENUINE***--> <!--***IOWTEMPLATE***--> <TITLE>Capitals of Central American Countries - Interactive Game</Title><!--***UNICODE***--> <!-- version 2.0.0 --> <!--PLEASE NOTE THAT ALTERATIONS TO THE ORIGINAL TEMPLATES ARE ONLY POSSIBLE IN THE REGISTERED VERSION--> <style type="text/css"> .FormFont{font-family: Microsoft Sans Serif,MS Sans Serif,courier new,courier,sans-serif;font-size:16px;color:#000000;font-weight:normal;}</style> <style type="text/css"> #tt_ovrl { background-color: black; -moz-opacity: 0.7; opacity: 0.7; top: 0; left: 0; position: fixed; width: 100%; height:100%; z-index: 99; } #tt_ww { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; height: 100%; text-align: center;} #tt_win { margin: 20% auto 0 auto; width: 400px; text-align: left;} #tt_w {background-color: white; padding: 3px; border: 1px solid black; background-color: #EEE;} #tt_t {color: white; margin: 0 0 2px 3px; font-family: Arial, sans-serif; font-size: 10pt;} #tt_text {width: 100%;} #tt_w span {font-family: Arial, sans-serif; font-size: 10pt;} #tt_w div {text-align: right; margin-top: 5px;} </style> <!-- IE specific code: --> <!--[if lte IE 7]> <style type="text/css"> #tt_ovrl { position: absolute; filter:alpha(opacity=70); top: expression(eval(document.body.scrollTop)); width: expression(eval(document.body.clientWidth)); } #tt_ww { position: absolute; top: expression(eval(document.body.scrollTop)); } </style> <![endif]--> <meta name="description" content="Free interactive &quot;In Other Words&quot; Geography knowledge quiz game. Spell the answer to each question. Tests both your knowledge and spelling skills. Play online now. 100% free. No registration or log-in required. Fun and educational!"> <script type="text/javascript"> var PassAns=""; var PassQues=""; var PassQuiz=""; var RCount=0; function get_cookie (Name) { var search = Name + "=" var returnvalue = ""; if (document.cookie.length > 0) { offset = document.cookie.indexOf(search) // if cookie exists if (offset != -1) { offset += search.length // set index of beginning of value end = document.cookie.indexOf(";", offset); // set index of end of cookie value if (end == -1) end = document.cookie.length; returnvalue=unescape(document.cookie.substring(offset, end)) } } return returnvalue; } function setRunsCookie(what){ document.cookie=checkup+"="+what } function hw1(PassQues1,PassAns1,PassQuiz1) { if (passed==1 || runner==1){ return; } PassAns=PassAns1; PassQues=PassQues1; PassQuiz=PassQuiz1; get_cookie(checkup); if (get_cookie(checkup)=="" & RCount==0){ RCount=1; setRunsCookie(0); tries=0; } if (get_cookie(checkup)!="" & RCount==0){ RCount=1; var prevRuns = get_cookie(checkup); var newRuns = parseInt(prevRuns); newRuns = newRuns+1; setRunsCookie(newRuns); tries=newRuns; } if (tries > Amber || tries==Amber){ runner=0; } if (tries < Amber){ runner=1; return; } if (passed==1 || runner==1){ return; } document.onselectstart=new Function ("return true"); tt_prompt( hw2, 'A password is necessary to continue', ''); } function hw2(n) { if (n==null){ document.onselectstart=new Function ("return false"); return;} document.onselectstart=new Function ("return false"); Count(n); } function hw3() { document.onselectstart=new Function ("return true"); tt_prompt( hw4, 'Please tell us your name ...', ''); } function hw4(n) { if (n==null){ document.onselectstart=new Function ("return false"); return;} document.onselectstart=new Function ("return false"); AlertCC(n,correctList, incorrectList, totalcorrect,totaltried, totalincorrect, quiztitle, tries, SIZE, address) } function hw5(PassQues1) { PassQues=PassQues1; document.onselectstart=new Function ("return true"); tt_prompt( hw6, 'What is your answer?', ''); } function hw6(n,question) { if (n==null){ document.onselectstart=new Function ("return false"); return;} document.onselectstart=new Function ("return false"); PassQuiz="x"; Engine2(PassQues,n); } function hw7() { document.onselectstart=new Function ("return true"); tt_prompt( hw8, 'Please tell us your name ...', ''); } function hw8(n) { if (n==null){ document.onselectstart=new Function ("return false"); return;} document.onselectstart=new Function ("return false"); PassAns=n; AlertCC(n,correctList, incorrectList, totalcorrect,totaltried, totalincorrect,question, quiztitle, tries); } function hw10() { document.onselectstart=new Function ("return true"); tt_prompt( hw11, 'What colour would you like? Simply type in the name of the colour ... red, blue, yellow, pink etc.', ''); } function hw11(n) { if (n==null){ document.onselectstart=new Function ("return false"); return;} document.onselectstart=new Function ("return false"); Mycolor(n); } function hw13(PA1) { PassQuiz=PA1; document.onselectstart=new Function ("return true"); tt_prompt( hw14, 'Please tell us the name of player 1', ''); } function hw14(n) { if (n==null){ document.onselectstart=new Function ("return false"); return;} document.onselectstart=new Function ("return false"); PassQues=n; hw15(); //AlertCC(n,score1, score2, correctList, incorrectList, totalcorrect1,totaltried1, totalincorrect1,totalcorrect2,totaltried2, totalincorrect2,quiztitle, tries, SIZE, address) } function hw15() { document.onselectstart=new Function ("return true"); tt_prompt( hw16, 'Please tell us the name of player 2', ''); } function hw16(n) { if (n==null){ document.onselectstart=new Function ("return false"); return;} document.onselectstart=new Function ("return false"); if (PassQuiz=="PT"){ AlertCC(PassQues,n,fortune1, fortune2, correctList, incorrectList, totalcorrect1,totaltried1, totalincorrect1, totalcorrect2, totaltried2, totalincorrect2, quiztitle, tries, SIZE, address) } if (PassQuiz=="MM"){ AlertCC(PassQues,n,score1, score2, correctList, incorrectList, totalcorrect1,totaltried1, totalincorrect1,totalcorrect2,totaltried2, totalincorrect2,quiztitle, tries, SIZE, address) } } var tt_cb = null; function tt$(a) { return document.getElementById(a); } function tt_prompt(cb, q, a) { tt_cb = cb; tt$('tt_t').innerHTML = '' + ''; tt$('tt_prompt').innerHTML = q; tt$('tt_text').value = a; tt$('tt_ovrl').style.display = tt$('tt_ww').style.display = ''; tt$('tt_text').focus(); tt$('tt_text').select(); } function tt_clk(m) { tt$('tt_ovrl').style.display = tt$('tt_ww').style.display = 'none'; if (!m) tt_cb(null); else tt_cb(tt$('tt_text').value); } cs="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; Indigo=0; Red=""; Yellow=""; ls1="";ls2="";ls3="";bye = 0;four="00 01 10 11 ";fourletter="a b c d "; var passed=0; var runner=0; var DaysToLive=1; function PW(info){ if ( passed==1){ return;} var pw=info; if (pw==null) { bye=1;return; } for (var i=0;i<pw.length;i++) { chm=pw.charAt(i); cmm=cs.indexOf(chm)+32; for (var j=7;j>-1;j--) { cx=Math.pow(2,j); if (cmm >= cx ) { cmm=cmm-cx;ls1+="1"; } else{ ls1+="0"; } } } for(var i=0;i<ls1.length;i=i+2) { ls2=ls1.substring(i,i+2);y=four.indexOf(ls2);ls3+=fourletter.charAt(y);}if(ls3 != Red&& ls3!= Yellow ){bye=1;ls1="";ls2="";ls3="";alert("Sorry but the password is incorrect");PW();return;} if (ls3==Yellow){ WWHCount=0; Indigo=1; tries=0; } setRunsCookie(0); passed=1; bye=0; if (PassQuiz=="MC"){ Engine(PassQues,PassAns); } if (PassQuiz=="ES"){ statIt(); } if (PassQuiz=="QT"){ checkAnswer(); } if (PassQuiz=="IOW"){ checkWord(PassAns); } if (PassQuiz=="GT"){ Engine(PassQues,PassAns); } if (PassQuiz=="WYO"){ checkWord(PassAns); } if (PassQuiz=="FC"){ flip(PassAns); } if (PassQuiz=="MM"){ checkWord(PassAns); } if (PassQuiz=="PT"){ checkAnswer(PassAns); } } function Bye(){return;temp=window.confirm("Are you sure?"); if(temp==true){location.replace("about:blank"); StopIt=0; return(0);} if(temp==false){ location.reload(); StopIt=0; }} function cheers(){PW();if (bye==1){Bye();}} var Amber= 0; //**expDays var expDays = 1; var myexp = new Date(); //**Green var checkup ="DC7919";; myexp.setTime(myexp.getTime() + (expDays*24*60*60*1000)); function Count(info){ if (passed==1 || runner==1){ passed=1; return; } PW(info); return; } // --> </SCRIPT><!--IN--> </head> <!--BACKGROUND--> <body bgcolor="silver" text="#000000" link="#0000FF" vlink="#600042" onKeyDown="onKeyDown();" onLoad="initAvail(); doit();"><!--***BACKGROUND2--> <CENTER><NOSCRIPT><b>This page requires a JavaScript-enabled browser</b><BR>Instructions on how to enable your browser are contained in the Teaching Templates help file.<BR></NOSCRIPT></CENTER> <!-- tt_prompt HTML code --> <div id="tt_ovrl" style="display: none;">&nbsp;</div> <div id="tt_ww" style="display: none;"> <div id="tt_win"><div id="tt_t"></div> <div id="tt_w"><span id="tt_prompt"></span> <br /><input type="text" id="tt_text" onKeyPress= "if((event.keyCode==10)||(event.keyCode==13)) tt_clk(1); if (event.keyCode==27) tt_clk(0);"> <br><div><input type="button" id="tt_ok" onclick="tt_clk(1);" value="OK"> <input type="button" id="tt_cancel" onclick="tt_clk(0);" value="Cancel"> </div></div> </div> </div> <!--<div id="debugConsole"> <h1>QUIZ RESULTS CONSOLE</h1> <p id="debugText"></p> </div>--> <IFRAME NAME="framer1" SRC="Images/f.gif" title="Sounds" longdesc="Images/f.gif" WIDTH="1" HEIGHT="1" FRAMEBORDER="0"> </IFRAME> <CENTER> <SCRIPT type="text/javascript"> var questionNumber; var commas ="\""; var verdict = ""; resultString = ""; var ImageShow=0; var browserName = ""; var ua = navigator.userAgent.toLowerCase(); if ( ua.indexOf( "opera" ) != -1 ) { browserName = "opera"; } else if ( ua.indexOf( "chrome" ) != -1 ) { browserName = "chrome"; } else if ( ua.indexOf( "msie" ) != -1 ) { browserName = "msie"; } else if ( ua.indexOf( "safari" ) != -1 ) { browserName = "safari"; } else if ( ua.indexOf( "mozilla" ) != -1 ) { if ( ua.indexOf( "firefox" ) != -1 ) { browserName = "firefox"; } else { browserName = "firefox"; } } function decodeIT(verdict) { resultString=verdict; var tester; tester= resultString.indexOf('#'); if (tester < 0) { return resultString; } if (verdict != '') { var uniText = verdict; var i = 0; var testText = uniText.substring(2,uniText.length-1).split(";&#") for (i=0;i<testText.length;i++) resultString = testText[i]; resultString = "" for (i=0;i<testText.length;i++) resultString = resultString + String.fromCharCode(testText[i]); return resultString; } } function trimString (str) { str = this != window? this : str; return str.replace(/^\s+/g, '').replace(/\s+$/g, ''); } function initAvail() { for (var i=1;i<=SIZE;i++) { available[i]=i; } availSize=SIZE; wrongSize=0; currentElement=SIZE; inReplay=false; done=false; document.forms.testform.question.value=""; document.forms.testform.entry.value=""; document.forms.secondform.response.value=""; //initSCORM(); init(); getWord(); } function makeArray(size) { this.length=size; for (var i=1;i<=size;i++) { this[i]=0; } } var tries="0"; HEADLINE="&#87;&#114;&#105;&#116;&#101;&#32;&#116;&#104;&#101;&#32;&#99;&#97;&#112;&#105;&#116;&#97;&#108;&#32;&#99;&#105;&#116;&#121;&#32;&#111;&#102;&#32;&#101;&#97;&#99;&#104;&#32;&#67;&#101;&#110;&#116;&#114;&#97;&#108;&#32;&#65;&#109;&#101;&#114;&#105;&#99;&#97;&#110;&#32;&#99;&#111;&#117;&#110;&#116;&#114;&#121;&#46;&#32;&#32;&#66;&#101;&#32;&#115;&#117;&#114;&#101;&#32;&#116;&#111;&#32;&#117;&#115;&#101;&#32;&#116;&#104;&#101;&#32;&#99;&#111;&#114;&#114;&#101;&#99;&#116;&#32;&#115;&#112;&#101;&#108;&#108;&#105;&#110;&#103;&#46;<!--***UNICODE***-->"; SIZE = 8; marker=0; var SCORM=false; var QuizSize=SIZE; available=new makeArray(SIZE); wrong=new makeArray(SIZE); availSize=SIZE; wrongSize=0; var ImageShow=0; currentElement=SIZE; inReplay=false; done=true; FONTT=0; var FULL=0; var ema=0; justContinue=false; var q=20; i=1; function disableselect(e){ return false; } function reEnable(){ return true; } document.onselectstart=new Function ("return false"); if (window.sidebar){ document.onmousedown=disableselect; document.onclick=reEnable; } NS4x = document.layers; if (NS4x) { origWidth=innerWidth; origHeight=innerHeight; } function reDo() { if (innerWidth != origWidth || innerHeight != origHeight) location.reload(); } if (NS4x) onresize=reDo; manu=navigator.appName; vers=navigator.appVersion; var NS4=true; if (manu.indexOf("Microsoft")>=0) { NS4=false; } //***SOUNDPLACE*** SOUNDON1=0; SOUNDON2=0; var browser_check=""; if(navigator.appName=="Netscape" && parseInt(navigator.appVersion)>=3) browser_check="n3_or_better"; if(navigator.appName.substring(0,9)=="Microsoft") browser_check="msie"; sound=new Array; //***SOUNDARRAY*** function playSound(dest) { var file=sound[dest]; if (browserName!="msie"){ document.getElementById("Player").innerHTML="<embed src='"+file+"' hidden=true height=1px width=1px autostart=true loop=false>"; return; } if (browser_check!="n3_or_better" && browser_check!="msie") alert("\nSorry but this sound scheme is NOT supported by your browser."); if(browser_check=="msie") { var file=sound[dest]; var doc=parent.framer1.document; doc.write('<HTML><HEAD>'); doc.write('<TITLE></TITLE>'); doc.write('</HEAD><BODY BGCOLOR="00FFFF">'); } if (browser_check=="n3_or_better"){ if (dest==1) document.mediaPlayer.SetSource(sound[1]); if (dest==2) document.mediaPlayer.SetSource(sound[2]); document.mediaPlayer.DoPlay(); } if(browser_check=="msie"){ doc.write('<bgsound src="' + file + '" loop=1>'); doc.write('</BODY></HTML>'); doc.close (); } } var object=new Array(); object[1]= new objectdata(40,40,"Images/correct.gif","Images/incorrect.gif","Images/arrow1.gif","|| Question 1 ||"); function objectdata(hsize,vsize,isTrueImg,isFalseImg,isTalseImg,mess){ this.mess=mess; this.simg=new Image(hsize,vsize); this.simg.src=isTrueImg; this.rimg=new Image(hsize,vsize); this.rimg.src=isFalseImg; this.timg=new Image(hsize,vsize); this.timg.src=isTalseImg; } function makeTrue(questionNum) { totaltried ++; totalcorrect ++; correctList=correctList+document.forms.testform.question.value+" ("+change1+"); "; if (navigator.appName== "Netscape"){ window.status=object[questionNum].mess; document.images.one.src=object[questionNum].simg.src;} else{ window.status=object[questionNum].mess; document.images.one.src="Images/correct.gif"; } if (SOUNDON1== 1){ playSound(1);} } function makeFalse(questionNum){ totaltried ++; totalincorrect ++; incorrectList=incorrectList+ document.forms.testform.question.value+"..."+" (" + change1 + "); " ; if (navigator.appName=="Netscape") { window.status=object[questionNum].mess; document.images.one.src=object[questionNum].rimg.src;} else{ window.status=object[questionNum].mess; document.images.one.src="Images/incorrect.gif"; } if (SOUNDON2==1){ playSound(2);} } function makeNew(questionNum){ if (navigator.appName=="Netscape") { window.status=object[questionNum].mess; document.images.one.src=object[questionNum].timg.src;} else{ window.status=object[questionNum].mess; document.images.one.src="Images/arrow1.gif"; } } function init(){quiz(); if (navigator.appName=="Netscape") { layerStyleRef="layer."; layerRef="document.layers"; styleSwitch=""; }else{ layerStyleRef="layer.style."; layerRef="document.all"; styleSwitch=".style"; } } function randomise(maximise) { var now=new Date(); var hour=now.getHours(); var minimise=now.getMinutes(); var sec=now.getSeconds(); quiz(); return ((((hour +1)*(minimise +1)*(sec))%maximise) + 1); } function getWord() { window.status="In Other Words"; document.forms.testform.entry.focus(); if (!inReplay) { currentElement=randomise(availSize); resultString = QUESTION[(available[currentElement])]; decodeIT(QUESTION[(available[currentElement])]); QUESTION[(available[currentElement])]=resultString; document.forms.testform.question.value=QUESTION[(available[currentElement])]; tip=HINT[(available[currentElement])]; questionNumber = question[(available[currentElement])]; } else { currentElement=randomise(wrongSize); resultString = QUESTION[(wrong[currentElement])]; decodeIT(resultString); QUESTION[(wrong[currentElement])]=resultString; document.forms.testform.question.value=QUESTION[(wrong[currentElement])]; tip=HINT[(wrong[currentElement])]; questionNumber = question[(wrong[currentElement])]; } } function checkWord(input) { //MyPass if (done && SCORM== true){ document.forms.secondform.response.value="End of the quiz - goodbye!"; document.forms.testform.entry.value="" ; return;} change1=input; change1 = trimString(change1); change=change1.toUpperCase(); input=change; resultString = ANSWER[(available[currentElement])]; decodeIT(resultString); ANSWER[(available[currentElement])]=resultString; change2=ANSWER[(available[currentElement])]; change2 = trimString(change2); change=change2.toUpperCase(); ANSWER[(available[currentElement])]=change; if (done || marker==1); else if (!inReplay) { if (input==ANSWER[(available[currentElement])]) { document.forms.secondform.response.value="That is correct!"; if (SCORM==true){ SetScormScore(input,ANSWER[(available[currentElement])],questionNumber); } makeTrue(1); window.status="In Other Words"; } else { resultString = tip; decodeIT(tip); tip= ". "+resultString; document.forms.secondform.response.value="No, it should be " + ANSWER[(available[currentElement])]+tip ; wrong[wrongSize + 1]=available[currentElement]; wrongSize++; if (SCORM==true){ SetScormScore(input,ANSWER[(available[currentElement])],questionNumber); } makeFalse(1); window.status="In Other Words"; } for (var i=currentElement;i<availSize;i++) available[i]=available[i+1]; availSize--; } else if (inReplay && justContinue); else { if (input==ANSWER[(wrong[currentElement])]) { makeTrue(1); document.forms.secondform.response.value="That is correct!"; window.status="In Other Words"; } else if (input !=ANSWER[(wrong[currentElement])]){ document.forms.secondform.response.value="No, it should be " + ANSWER[(wrong[currentElement])]; makeFalse(1); window.status="In Other Words"; } for (var i=currentElement;i<wrongSize;i++) wrong[i]=wrong[i+1]; wrongSize--; } marker=1; } function moreQuiz(){quiz(); if (answ==0){ location.reload(); } else{ marker=0; makeNew(1); document.forms.testform.question.value=""; document.forms.testform.entry.value=""; document.forms.secondform.response.value=""; if (done && SCORM== true){ document.forms.secondform.response.value="End of the quiz - goodbye!"; document.forms.testform.entry.value="" ; done=true; return;} if (done) document.forms.secondform.response.value="Click Repeat to start again"; else if (availSize==0 && wrongSize==0) { if (SCORM==true){ document.forms.secondform.response.value="End of the quiz - goodbye!"; document.forms.testform.entry.value="" ; done=true; return; } document.forms.secondform.response.value="End of the quiz - goodbye! Click 'Repeat' if you would like to do the quiz again"; done=true; } else if (availSize==0 && wrongSize !=0 && (!inReplay)) { inReplay=true; document.forms.secondform.response.value="You have finished the quiz. Click 'Next Question' to repeat the questions that you answered incorrectly"; justContinue=true; } else { justContinue=false; getWord(); document.forms.testform.entry.focus(); } } } function printWords(){ makeNew(1); changeStat(); for (var i=1;i<=SIZE;i++) { resultString = QUESTION[i]; decodeIT(resultString); QUESTION[i]=resultString; resultString = ANSWER[i]; decodeIT(resultString); ANSWER[i]=resultString; ping="QUESTION "+i+": " +QUESTION[i] + " ANSWER " +i+": "+(ANSWER[i]) ; document.forms.secondform.response.value=(ping) ; temp=window.confirm("Next Question?"); if (temp==false){ return; } } document.forms.secondform.response .value="" ; document.forms.testform.entry.value="" ; } function clearAnswer() { document.forms.testform.entry.value="" ; document.forms.testform.entry.focus(); } function Quit() { location.reload(); } function changeStat(){ window.status="revision"; } //***FEEDBACK OPTION*** var plonk="</" +"SCRIPT>"; var jbegin="<" +"SCRIPT type='text/javascript'>"; var invert='"'; var bingo=""; var address ="myaddress@myserver.com"; //***QUIZNAM var quizname="In Other Words Results for:"; var quiztitle ="&#67;&#97;&#112;&#105;&#116;&#97;&#108;&#115;&#32;&#111;&#102;&#32;&#67;&#101;&#110;&#116;&#114;&#97;&#108;&#32;&#65;&#109;&#101;&#114;&#105;&#99;&#97;&#110;&#32;&#67;&#111;&#117;&#110;&#116;&#114;&#105;&#101;&#115;"; var totaltried=0; var totalcorrect=0; var totalincorrect=0; incorrectAnswer=""; incorrectList =""; correctList=""; var reportWord=""; var popup="null"; function wclose(){ location.replace("about:blank"); return; } function showScorm(correctList, incorrectList, totalcorrect,totaltried, totalincorrect, quiztitle, tries, SIZE, address){ if (totalcorrect==0 && totalincorrect==0){ alert("No results to show at the moment!"); return; } if(tries=="0"){ tries="Not recorded"; } ema=1; per=(totaltried-totalincorrect)/SIZE*100; per=Math.round(per)+"%"; var squiztitle = quiztitle; while (squiztitle.indexOf("'") > -1) squiztitle = squiztitle.replace("'","`"); var sIncorrect = incorrectList; while (sIncorrect.indexOf("'") > -1) sIncorrect = sIncorrect.replace("'","`"); var sCorrect = correctList; while (sCorrect.indexOf("'") > -1) sCorrect = sCorrect.replace("'","`"); if (totaltried==0){ per="0%"; } ShowScore(correctList, incorrectList, totalcorrect,totaltried, totalincorrect,SIZE, quiztitle, tries); } function hideScorm(){ var noInput = ""; var debugText = document.getElementById("debugText"); if(debugText){ debugText.innerHTML = noInput; } } function AlertCC(n,correctList, incorrectList, totalcorrect,totaltried, totalincorrect, quiztitle, tries, SIZE, address) { temp=window.confirm("To use this option you must have a standard email client installed on your computer (Outlook Express, Outlook, Eudora etc.) Please note that you may encounter problems if you are running an anti-virus software which blocks script-based mailing. Please note also that submitting the results automatically ends the quiz session!"); if (temp==false){ return; } var myname=n; if (myname==null){ return; } if(tries=="0"){ tries="Not recorded"; } ema=1; if (myname==null || myname==""){ myname="Unknown User"; } //***ADDRESS //***POSTNAM var quiztaker=myname; var submitString= "'mailto:"+address+"?subject=Teaching Templates Results from "+quiztaker+" &amp;NAME=supporter &amp;METHOD=POST &amp;ENCTYPE=text/plain'>"; var re = / /g; submitString= submitString.replace(re,"%20"); myname=quizname+" " +myname; per=(totaltried-totalincorrect)/SIZE*100; per=Math.round(per)+"%"; var squiztaker = quiztaker; while (squiztaker.indexOf("'") > -1) squiztaker = squiztaker.replace("'","`"); var squiztitle = quiztitle; while (squiztitle.indexOf("'") > -1) squiztitle = squiztitle.replace("'","`"); var sIncorrect = incorrectList; while (sIncorrect.indexOf("'") > -1) sIncorrect = sIncorrect.replace("'","`"); var sCorrect = correctList; while (sCorrect.indexOf("'") > -1) sCorrect = sCorrect.replace("'","`"); if (totaltried==0){ per="0%"; } var m1="<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'><html><head><meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'><TITLE>Results</TITLE>" + jbegin + "function disableselect(e){"+ "return false;"+ "} "+ "function reEnable(){"+ "return true;"+ "} "+ "document.onselectstart=new Function ('return false');"+ "if (window.sidebar){"+ "document.onmousedown=disableselect;"+ "document.onclick=reEnable;"+ "} "+ plonk+ "</head>"; var m2="<body BGCOLOR='#FFFFFF'>"; var m7="<div align='center'>"+ "<form>"+ "<input type='button' value='Send Message'onClick="+commas+"parent.location='mailto:"+address+"?subject=Quiz Results&amp;body=TITLE: "+escape(squiztitle)+"%0ASubmitted by: " + escape(squiztaker)+"%0AQuestions available :"+SIZE+"%0AQuestions answered: "+totaltried+"%0ACorrect: "+totalcorrect+"%0A Incorrect: "+totalincorrect+"%0AGrade as percentage: "+per+"%0A%0AIncorrect Answers %0A"+sIncorrect+"%0A%0AQuestions with correct answers%0A"+sCorrect+"%0A'"+commas+">"+ "</form>"+ "</div>"; var m3="<h1><B>Teaching Templates: In Other Words Quiz Results</B></h1>" + "<BR><CENTER>"+ "<FORM action=" + submitString +"These are the results which will be sent if you click the 'Send message' button:<br><br>"+'\n'+ "<TEXTAREA NAME=Message COLS=80 ROWS=20 readonly>"+ "Title of Quiz: "+quiztitle+ '\n'+ "Quiz type: In Other Words"+'\n'+ "The results will be submitted to: " + address +'\n'+ "Questions answered by: "+quiztaker+'\n'+ "Number of quiz attempts: "+tries+'\n'+ "Total number of questions available: "+ SIZE +'\n'+ "Total number of questions answered: "+totaltried +'\n'+ "Total number of correct answers: " + totalcorrect +'\n'+ "Total number of incorrect answers: " + totalincorrect + '\n'+ "Grade as percentage: "+per+'\n' + "List of question(s) with incorrect answers. The incorrect choice is in brackets:"+'\n'+ incorrectList+'\n'+ "List of question(s) with correct answers:" +'\n'+ correctList+'\n'; var m4="</textarea><P><INPUT TYPE=hidden VALUE='Send Message'><P>"+ "<input type=button VALUE=' Print this Page '" + " onClick='printit()'>"+ " "+ "<input type='button' value=' Close Window'" + " onClick='wclose()'><P>"+ jbegin+ "function wclose(){" + "var browserName = '';" + "var ua = navigator.userAgent.toLowerCase();" + "if ( ua.indexOf('firefox') != -1 ) { " + "browserName = 'firefox';}" + "if ( ua.indexOf('chrome') != -1 ) { " + "browserName = 'chrome';}" + "if ( ua.indexOf('safari') != -1 ) { " + "browserName = 'safari';}" + "if ( ua.indexOf('opera') != -1 ) { " + "browserName = 'opera';}" + "if (browserName != 'firefox'){" + "if (browserName == 'chrome' || browserName == 'safari' || browserName == 'opera'){" + "this.location.reload();" + "return;" + "}}" + "history.back();}" + "function printit(){"+ "var NS = (navigator.appName == 'Netscape');"+ "var VERSION = parseInt(navigator.appVersion);"+ "var browserName = '';" + "var ua = navigator.userAgent.toLowerCase();" + "if ( ua.indexOf('msie') != -1 ) { " + "browserName = 'msie';}" + "if (NS) {" + "window.print();" + "} else {" + "if (browserName=='msie'){window.location.reload();}"+ "window.print();" + "} "+ "} "+ plonk + "</FORM></CENTER>"; window.document.write(m1+m2+m3+m4+m7+'</body></html>'); } function PopupTest() { //return if (window.SymError || window['SymError'] || window.SymWinOpen || window['SymWinOpen']) { alert('You appear to have a program installed on this computer that is blocking the javascript for the quiz on this page.'+ 'It is most likely an ad blocking program that might be part of a security program such as '+'Norton Internet Security or '+'Norton Personal Firewall '+' If the quiz does not show or does not function correctly, you can try disabling the ad blocking program on '+'your computer and refreshing this page. It may also be necessary to clear the '+'Temporary Internet Files cache for your browser '); } var place=location.href; var gotIt= place.indexOf("?"); if (gotIt!=-1){ TestPop='true'; } if (gotIt==-1){ if (FULL!=0){ try{ TestPopup = window.open('','','width=screen.width,height=screen.height'); TestPop = TestPopup; TestPopup.close(); } catch(err){ TestPop='false'; } } } } function StatusQuo() { return; } function doit() { //PopupTest(); //StatusQuo(); //*COUNT3 return; } function TTM() { var mop = 0; mop = history.length; if (mop == 0){ alert("The Task Manager is not running. You must start the Task manager before you load the first quiz!"); } history.back(); } function right(e) { if (navigator.appName=='Netscape' && FULL==1 && (e.which==3 || e.which==2)) return false; else if (navigator.appName=='Microsoft Internet Explorer' && FULL==1 && (event.button==2 || event.button==3)) { alert("Sorry, but this option is not available in this quiz!"); return false; } return true; } document.onmousedown=right; if (document.layers) window.captureEvents(Event.MOUSEDOWN); window.onmousedown=right; //************************************** // **************************** // Block backspace onKeyDown************ // *************************** function onKeyDown() { if (FULL==1){ if ( (event.altKey) || ((event.keyCode==8) && (event.srcElement.type !="text" && event.srcElement.type !="textarea" && event.srcElement.type !="password")) || ((event.ctrlKey) && ((event.keyCode==78) || (event.keyCode==82)) ) || (event.keyCode==116) ) { event.keyCode=0; event.returnValue=false; if (window.opener !=null && FULL==1 && !NS4) { window.opener.blur(); msgWindow.focus(); } } } } function quiz(){ q=answ; if (q==0){ wclose(); location.replace("Images/tac.gif"); } } QUESTION=new makeArray(SIZE); ANSWER=new makeArray(SIZE); SIZE = 8;QUESTION[ 1] ="&#66;&#101;&#108;&#105;&#122;&#101;";ANSWER[ 1] ="&#66;&#101;&#108;&#109;&#111;&#112;&#97;&#110;";QUESTION[ 2] ="&#67;&#111;&#115;&#116;&#97;&#32;&#82;&#105;&#99;&#97;";ANSWER[ 2] ="&#83;&#97;&#110;&#32;&#74;&#111;&#115;&#101;";QUESTION[ 3] ="&#69;&#108;&#32;&#83;&#97;&#108;&#118;&#97;&#100;&#111;&#114;";ANSWER[ 3] ="&#83;&#97;&#110;&#32;&#83;&#97;&#108;&#118;&#97;&#100;&#111;&#114;";QUESTION[ 4] ="&#71;&#117;&#97;&#116;&#101;&#109;&#97;&#108;&#97;";ANSWER[ 4] ="&#71;&#117;&#97;&#116;&#101;&#109;&#97;&#108;&#97;&#32;&#67;&#105;&#116;&#121;";QUESTION[ 5] ="&#72;&#111;&#110;&#100;&#117;&#114;&#97;&#115;";ANSWER[ 5] ="&#84;&#101;&#103;&#117;&#99;&#105;&#103;&#97;&#108;&#112;&#97;";QUESTION[ 6] ="&#77;&#101;&#120;&#105;&#99;&#111;";ANSWER[ 6] ="&#77;&#101;&#120;&#105;&#99;&#111;&#32;&#67;&#105;&#116;&#121;";QUESTION[ 7] ="&#78;&#105;&#99;&#97;&#114;&#97;&#103;&#117;&#97;";ANSWER[ 7] ="&#77;&#97;&#110;&#97;&#103;&#117;&#97;";QUESTION[ 8] ="&#80;&#97;&#110;&#97;&#109;&#97;";ANSWER[ 8] ="&#80;&#97;&#110;&#97;&#109;&#97;&#32;&#67;&#105;&#116;&#121;"; HINT=new makeArray(SIZE); HINT[ 1] ="";HINT[ 2] ="";HINT[ 3] ="";HINT[ 4] ="";HINT[ 5] ="";HINT[ 6] ="";HINT[ 7] ="";HINT[ 8] =""; question=new makeArray(SIZE); question[ 1] =" 1";question[ 2] =" 2";question[ 3] =" 3";question[ 4] =" 4";question[ 5] =" 5";question[ 6] =" 6";question[ 7] =" 7";question[ 8] =" 8"; </SCRIPT> <script type="text/javascript">FONTT = 1; </script><!--BLOCK BEGIN--> <CENTER> <Form name="one" action='...'> <SELECT name="Basic" size="1" onChange="(document.bgColor=Basic.options[Basic.selectedIndex].value)"> <OPTION value="C0C0C0">New Background Colour? <OPTION value="00FFFF">Aqua <OPTION value="0000FF">Blue <OPTION value="000000">Black <OPTION value="FF00FF">Fuchsia <OPTION value="808080">Gray <OPTION value="008000">Green <OPTION value="00FF00">Lime <OPTION value="800000">Maroon <OPTION value="000080">Navy <OPTION value="808000">Olive <OPTION value="800080">Purple <OPTION value="FF0000">Red <OPTION value="C0C0C0">Silver <OPTION value="008080">Teal <OPTION value="FFFFFF">White <OPTION value="FFFF00">Yellow <OPTION value="408080">Light Green <OPTION value="A6BEFF">Light Blue <OPTION value="DDDDDD">Light Gray <OPTION value="FFCC99">Orange <OPTION value="FF80FF">Pink <OPTION value="D5CCBB">Tan </SELECT> </form> </CENTER> <!--BLOCK END--> <script type="text/javascript"> document.write('<H1>'+HEADLINE+'</H1>'); answ=FONTT; </script> <FORM NAME=testform action='...'> <TEXTAREA class="FormFont" NAME="question" ROWS="2" COLS="65" WRAP="PHYSICAL" readonly> </TEXTAREA> <br> <br> <!--TASKBEGIN --><H3>&#87;&#114;&#105;&#116;&#101;&#32;&#116;&#104;&#101;&#32;&#99;&#97;&#112;&#105;&#116;&#97;&#108;&#32;&#99;&#105;&#116;&#121;&#32;&#111;&#102;&#32;&#116;&#104;&#101;&#32;&#67;&#101;&#110;&#116;&#114;&#97;&#108;&#32;&#65;&#109;&#101;&#114;&#105;&#99;&#97;&#110;&#32;&#99;&#111;&#117;&#110;&#116;&#114;&#121;&#46;&#32;&#32;&#66;&#101;&#32;&#115;&#117;&#114;&#101;&#32;&#116;&#111;&#32;&#117;&#115;&#101;&#32;&#116;&#104;&#101;&#32;&#99;&#111;&#114;&#114;&#101;&#99;&#116;&#32;&#115;&#112;&#101;&#108;&#108;&#105;&#110;&#103;&#46;</H3> <!--TASKEND --> <INPUT class="FormFont" TYPE="text" NAME="entry" SIZE=60 MAXLENGTH=60> <br> <br> <INPUT TYPE="button" VALUE="Check Answer" ONCLICK="checkWord(document.forms.testform.entry.value)"> <INPUT TYPE="BUTTON" VALUE="Next Question" SIZE="10" onClick="moreQuiz()"> <INPUT TYPE="BUTTON" VALUE="Repeat" SIZE="10" onClick="Quit()"> <INPUT TYPE="BUTTON" VALUE="Revision" SIZE="10" onClick="printWords()"><br><br><br><br><br> <TABLE WIDTH=40 HEIGHT=40 SUMMARY=''> <TR> <TD ALIGN=left BORDERCOLOR="#FF0080"> <IMG SRC="Images/arrow1.gif" WIDTH="40" HEIGHT="40" NAME="one" ALT=""> </TD> </TR> </TABLE> <br><br><br><br><br><INPUT TYPE=text NAME="ping" value=" COMMENTS" readonly SIZE=11 > </FORM> </CENTER> <FORM NAME=secondform action='...'> <CENTER> <TEXTAREA class="FormFont" NAME="response" ROWS="2" COLS="65" WRAP="PHYSICAL" readonly> </TEXTAREA> </CENTER> </form> <CENTER><form action='...'> <!--***SUBMIT1--> <INPUT TYPE="BUTTON" VALUE="Submit Results" onClick="hw3()"><!--***SUBMIT2-->&nbsp;<INPUT TYPE="BUTTON" VALUE="Close Quiz" onClick="wclose()"></form></CENTER> <span id="Player"></span> <!--<OBJECT ID="mediaPlayer" height="0" width="0" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" STANDBY="Loading Microsoft Windows Media Player components..." TYPE="application/x-oleobject"> <PARAM NAME="fileName" VALUE="Sounds/tt.wav"> <PARAM NAME="animationatStart" VALUE="false"> <PARAM NAME="transparentatStart" VALUE="true"> <PARAM NAME="autoStart" VALUE="false"> <PARAM NAME="showcontrols" VALUE="false"> </object>--> <!--<FONT SIZE=1>Teaching Templates Copyright (C) 2002 - 2009 by <a href="http://www.tac-soft.com">Tac-Software. All Rights Reserved</a></FONT>--> <!-- <KEY>&#66;&#101;&#108;&#105;&#122;&#101;|&#67;&#111;&#115;&#116;&#97;&#32;&#82;&#105;&#99;&#97;|&#69;&#108;&#32;&#83;&#97;&#108;&#118;&#97;&#100;&#111;&#114;|&#71;&#117;&#97;&#116;&#101;&#109;&#97;&#108;&#97;|&#72;&#111;&#110;&#100;&#117;&#114;&#97;&#115;|&#77;&#101;&#120;&#105;&#99;&#111;|&#78;&#105;&#99;&#97;&#114;&#97;&#103;&#117;&#97;|&#80;&#97;&#110;&#97;&#109;&#97;||&#66;&#101;&#108;&#109;&#111;&#112;&#97;&#110;|&#83;&#97;&#110;&#32;&#74;&#111;&#115;&#101;|&#83;&#97;&#110;&#32;&#83;&#97;&#108;&#118;&#97;&#100;&#111;&#114;|&#71;&#117;&#97;&#116;&#101;&#109;&#97;&#108;&#97;&#32;&#67;&#105;&#116;&#121;|&#84;&#101;&#103;&#117;&#99;&#105;&#103;&#97;&#108;&#112;&#97;|&#77;&#101;&#120;&#105;&#99;&#111;&#32;&#67;&#105;&#116;&#121;|&#77;&#97;&#110;&#97;&#103;&#117;&#97;|&#80;&#97;&#110;&#97;&#109;&#97;&#32;&#67;&#105;&#116;&#121;||ping|ping|ping|ping|ping|ping|ping|ping|*||ping|ping|ping|ping|*|||ping|*||||ping|*|||||--></body> </html>