zzx
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<!-- saved from url=(0014)about:internet -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<!--***MCTEMPLATE1***--><TITLE>dhrt89uty9</TITLE>
<meta http-equiv="X-UA-Compatible"content="IE=EmulateIE7">
<!--***Version18***-->
<style type='text/css'>#feedbacker{position:absolute; visibility: hidden; height:auto;margin:10 auto;overflow:visible;border:1px;border-style:solid; background-color:#FFFFFF; padding:5px;}</style>
<!-- SINGLE PAGE TEMPLATE: PLEASE NOTE THAT ALTERATIONS TO THE ORIGINAL TEMPLATES ARE ONLY POSSIBLE IN THE REGISTERED VERSION-->
<style TYPE="text/css"><!-- html, body {margin:0; padding:0; width:100%; height:100%; }#background{position:absolute; z-index:1; width:100%; height:105%;}#scroller {position:absolute; width:100%; height:100%; top:0; left:0; overflow:auto; z-index:2;} #slide { Position: Absolute; Left: 5px; Top: 5px; Width:20px; Visibility: Visible; } A:LINK{text-decoration: none;} A:VISITED{text-decoration: none;} TD{font-family:'Arial Unicode MS','Arial','Microsoft Sans Serif';} STRONG{font-size:16pt;font-weight:normal;font-style:normal;}--></style>
<script type="text/javascript">
<!--
var FFPresent="no";
var FULL=0;
var Critical = 0;
var MHT=0;
var PassCent = 0;
var SCORM = false;
var CaseMarker=1;
var passed = 0;
function closeWindow() {top.close();}
function hideFeedback(){
var showFeedback = document.getElementById("feedbacker");
showFeedback.style.visibility = "hidden";
}
var posx;var posy;var fbX;var fbY;
function getMouse(e){
if (!e) e = window.event;
fbX=mouseX(e);
fbY=mouseY(e);
}
function mouseX(evt) {
if (evt.pageX) return evt.pageX;
else if (evt.clientX)
return evt.clientX + (document.documentElement.scrollLeft ?
document.documentElement.scrollLeft :
document.body.scrollLeft);
else return null;
}
function mouseY(evt) {
if (evt.pageY) return evt.pageY;
else if (evt.clientY)
return evt.clientY + (document.documentElement.scrollTop ?
document.documentElement.scrollTop :
document.body.scrollTop);
else return null;
}
function showTip(w,h,hint){
var showFeedback = document.getElementById("feedbacker");
try{
}
catch(err){
}
if (showAnswer==1){
hint = hint + "<br><br><center><INPUT TYPE='BUTTON' VALUE=' OK ' onClick='hideFeedback()'></center>";
}
showFeedback.style.top = fbY-100;
showFeedback.style.left= fbX+100;
document.all['feedbacker'].innerHTML= hint;
showFeedback.style.visibility ="visible";
}
var myLayer = "";
var picture = "";
var showPicture = "";
resultString = "";
var MultipleAttempts=0;
var myLayer = "";
var picture = "";
var showPicture = "";
resultString = "";
var MultipleAttempts=0;
function StatusQuo(){doit();}
var commas ="\"";
var placer = location.href;var goLoca1=0;var goLoca2="about:blank";var goExit=0;FULL=0;
var verdict = "";
resultString = "";
var lang1= "You have already answered that question.";
var lang2= "Full Marks!!";
var lang3="Zero! No points!";
var lang4="You could do better!";
var lang5="Pretty Good!";
var lang6="point(s).";
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 goLoca(){if(navigator.appName == 'Microsoft Internet Explorer' && goLoca2 =="about:blank"){top.close();} else{ location.replace(goLoca2);} if(navigator.appName != 'Microsoft Internet Explorer'){location.replace(goLoca2);window.parent.close();}}
var up,down;var mins,secs;
function Minutes(data) {
for(var i=0;i<data.length;i++)
if(data.substring(i,i+1)==":")
break;
return(data.substring(0,i));
}
function Seconds(data) {
for(var i=0;i<data.length;i++)
if(data.substring(i,i+1)==":")
break;
return(data.substring(i+1,data.length));
}
function Display(min,sec) {
var disp;
if(min<=9) disp=" 0";
else disp=" ";
disp+=min+":";
if(sec<=9) disp+="0"+sec;
else disp+=sec;
return(disp);
}
function Down() {
mins=1*Minutes(document.timex.given.value);
secs=0+Seconds(document.timex.given.value);
DownRepeat();
}
function DownRepeat() {
secs--;
if(secs==-1) {
secs=59; mins--;
}
document.timex.taken.value=Display(mins,secs);
if((mins==0)&&(secs==0)){
goExit=1;
return;
}
else down=setTimeout("DownRepeat()",1000);
}
if (navigator.appName !="Netscape"){
setInterval("moveback()",150);
function moveback(){
}
}
if (document.images) { img1 = new Image(); img1.src = "Resources/Images/arrow1.gif" }
//-->
</script>
<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]-->
<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(PassQuiz1)
{
PassQuiz=PassQuiz1;
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");
if (PassQuiz=="MC"){
AlertCC(n,correctList, incorrectList, totalcorrect,totaltried, totalincorrect,question, quiztitle, tries);
}
if (PassQuiz=="SQ"){
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 hw17()
{
document.onselectstart=new Function ("return true");
tt_prompt( hw8, 'Please tell us your name ...', '');
}
function hw18(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 hw7()
{
document.onselectstart=new Function ("return true");
tt_prompt( hw8, 'What colour would you like? Simply type in the name of the colour ... red, blue, yellow, pink etc.', '');
}
function hw8(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();
}
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)
}
}
function hw25(PassQues1)
{
PassQues=PassQues1;
document.onselectstart=new Function ("return true");
tt_prompt( hw26, 'What is your answer?', '');
}
function hw26(n,question)
{
if (n==null){
document.onselectstart=new Function ("return false");
return;}
document.onselectstart=new Function ("return false");
PassQuiz="x";
WritAnswer2(n);
}
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=="SQ"){
checkAnswer(PassAns);
}
if (PassQuiz=="SQ1"){
WritAnswer2(PassAns);
}
if (PassQuiz=="RT"){
answerIt(PassQues,PassAns);
}
if (PassQuiz=="PT"){
checkAnswer(PassQues);
}
}
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='DC7056';
myexp.setTime(myexp.getTime() + (expDays*24*60*60*1000));
function Count(info){
if (passed==1 || runner==1){
passed=1;
return;
}
PW(info);
return;
}
// -->
</SCRIPT>
</head>
<body bgcolor=""silver"" text="black" link="#003333" alink="#ffff00" vlink="#336633" onKeyDown="onKeyDown();">
<CENTER><NOSCRIPT><b>This page requires a JavaScript-enabled browser</b><BR>Instructions on how to enable your browser are contained in the help file.<BR></NOSCRIPT></CENTER>
<!--EXTRABUTTONS Place-->
<!--<BR><FONT SIZE=1> MC Quiz Maker Copyright (C) 2006 - 2009 by<a href="https://www.tac-soft.com"> Tac-Software. All Rights Reserved</a></FONT> -->
<IFRAME NAME="framer1" SRC="Resources/Images/f.gif" TITLE="Sounds" LONGDESC="Resources/Images/f.gif" WIDTH="1"
HEIGHT="1" FRAMEBORDER="0">
</IFRAME>
<!-- tt_prompt HTML code -->
<div id="tt_ovrl" style="display: none;"> </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>
<!-- tt_prompt HTML code -->
<!--<div id="debugConsole">
<h1>QUIZ RESULTS CONSOLE</h1>
<p id="debugText"></p>
</div>-->
<script type="text/javascript">
<!--
var tic=new Array;
var done=new Array;var PMatching=1;var score=0;var answ=FONTT;var q=20;var tries="0";var StopIt=0;
TacImageSrc = new Array (
"arrow1.gif"
)
TacImageList = new Array ();
for (counter in TacImageSrc) {
TacImageList[counter] = new Image();
TacImageList[counter].src =
TacImageSrc[counter];
}
var object=new Array();
object[1]=new
objectdata(40,40,"Resources/Images/correct.gif","Resources/Images/incorrect.gif","|| Question 1||");
object[2]=new
objectdata(40,40,"Resources/Images/correct.gif","Resources/Images/incorrect.gif","|| Question 2||");
function objectdata(hsize,vsize,isTrueImg,isFalseImg,mess){
this.mess=mess;
this.simg=new Image(hsize,vsize);
this.simg.src=isTrueImg;
this.rimg=new Image(hsize,vsize);
this.rimg.src=isFalseImg;
}
function trimString (str)
{ str = this != window? this : str; return str.replace(/^\s+/g, '').replace(/\s+$/g, '');
}
//<!-- Resize Bug Correction
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;
}
manu=navigator.appName;
vers=navigator.appVersion;
var NS4=true;
if (manu.indexOf("Microsoft")>=0 && parseInt(navigator.appVersion)>= 4)
{
NS4=false;
}
window.onbeforeunload = functionclear;
function functionclear(){
try{
for (var imp = 0; imp < question+1;imp++){
var f = document.forms[imp];
for(i=0; i<f.elements.length; i++) {
if(f[i].type == "checkbox") {
f[i].checked = false;
}
}
}
for (var imp = 0; imp < question+1;imp++){
var or = document.getElementsByName(imp);
for (var i = 0; i < or.length; i++) {
or[i].checked = false;
}
}
}
catch(err){
}
}
function reDo() {
if (innerWidth !=origWidth || innerHeight !=origHeight)
location.reload();
}
if (NS4x) onresize=reDo;
SOUNDON1=0;SOUNDON2=0;
var browser_check="";
if(navigator.appName=="Netscape" && parseInt(navigator.appVersion)>=4)
browser_check="n3_or_better";
if(navigator.appName.substring(0,9)=="Microsoft")
browser_check="msie";
sound=new Array;
function playSound(dest)
{
if (browser_check!="n3_or_better" && browser_check!="msie")
alert(decodeIT("\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 ();
}
}
question = 2;
showAnswer=0;var bites=document.cookie.split("; ");var FONTT=0;var FULL=0;var HIDE=0;var ema=0;var showIt=0;
//var QuizSize=question;
var plonk="</" +"script>";
var jbegin="<" +"script type='text/javascript'>";
var invert='"';
var bingo="";
var quizname="Multiple Choice Results for:";
var quiztitle ="dhrt89uty9";
var totaltried=0;
var totalcorrect=0;
var totalincorrect=0;
incorrectAnswer="";
incorrectList="";
correctList="";
var popup="null";
function wclose(){goLoca();return;}
function showScorm(correctList, incorrectList, totalcorrect,totaltried, totalincorrect,question, quiztitle, tries){
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)/question*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,question, quiztitle, tries);
display();
}
function hideScorm(){
var noInput = "";
var debugText = document.getElementById("debugText");
if(debugText){
debugText.innerHTML = noInput;
}
}
function AlertCC(n,correctList, incorrectList, totalcorrect,totaltried, totalincorrect,question, quiztitle, tries)
{
temp=window.confirm(decodeIT("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";
}
var address="myaddress@myserver.com";
var quiztaker=myname;
var submitString= "'mailto:"+address+"?subject=Multiple Choice Quiz Maker Results from "+quiztaker+" &NAME=supporter &METHOD=POST &ENCTYPE=text/plain'>";
var re = / /g;
submitString= submitString.replace(re,"%20");
myname=quizname+" " +myname;
per=(totaltried-totalincorrect)/question*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=utf-8'><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='#FFFF80'>";
var m7="<div align='center'>"+
"<form action='...'>"+
"<input type='button' value='Send Message'onClick="+commas+"parent.location='mailto:"+address+"?subject=Multiple Choice Quiz Maker Results&body=Title of Quiz: "+escape(squiztitle)+"%0AQuestions answered by: "+ escape(squiztaker)+"%0AQuestion(s) available: "+question+"%0ATotal number of questions answered: "+totaltried+"%0ACorrect answer(s)"+totalcorrect+"%0A Incorrect answer(s)"+totalincorrect+"%0AGrade as percentage:"+per+"%0A%0AList of question(s) with incorrect answers. The incorrect choice is in brackets:%0A"+sIncorrect+"%0A%0AList of question(s) with correct answers:%0A"+sCorrect+"%0A'"+commas+">"+
"</form>"+
"</div>";
var m3="<h1><B>Multiple Choice Quiz Maker Results</B></h1>" +
"<br><CENTER>"+
"<FORM action=" + submitString + "These are the results which will be sent if you click the 'Send Message' button:<p>"+'\n'+
"<TEXTAREA NAME=Message COLS=80 ROWS=20 readonly>"+
"Title of Quiz: "+quiztitle+ '\n'+
"Quiz type: Multiple Choice"+'\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: "+ question +'\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='wclosing()'><P>"+
"</FORM>" +
jbegin+
"var message='';" +
"function clickIE()" +
"{if (document.all)" +
"{(message);return false;}}" +
"function clickNS(e) {" +
"if" +
"(document.layers||(document.getElementById&&!document.all))" +
"{"+
"if (e.which==2||e.which==3) {(message);return false;}}}" +
"if (document.layers)" +
"{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}" +
"else" +
"{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}" +
"document.oncontextmenu=new Function('return false');"+
"var FULLER=" +FULL+";"+
"var goLocal3=" + goLoca1+";"+'\n'+
"var goLocal4='"+goLoca2+"';"+'\n'+
"function wclosing(){if (navigator.appName == 'Netscape'){"+
"if (FULLER==1 || goLocal3==0){"+
"var parentwin = window.self; "+
"parentwin.opener = window.self;"+
"parentwin.close();" +
"}"+
"var parentwin = window.self; "+
"parentwin.opener = window.self;"+
"parentwin.location.replace(goLocal4);"+
"}"+
"var parentwin = window.self; "+
"parentwin.opener = window.self;"+
"if (FULLER==1){parentwin.close()}" +
"history.go(-1);location.replace(goLocal4);return;} " +
"function printit(){"+
"var NS = (navigator.appName == 'Netscape');"+
"var VERSION = parseInt(navigator.appVersion);"+
"if (NS) {" +
"window.print();" +
"RubicusFrontendIns.location.reload();"+
"} else {" +
"RubicusFrontendIns.location.reload();"+
"window.print();" +
"} "+
"} "+
plonk;
"</FORM></CENTER>"; window.document.write(m1+m2+m3+m4+m7+'</body></html>');
}
function doit(){return;}
function quiz(){
q=answ;
if (q==0){
wclose();
location.replace("Resources/Images/tac.gif");
}
}
function winMax()
{
var strQuery = location.href.match(/\?.*$/);
if(strQuery != '?quiz')
{
var windowprops="top=0,left=0,status,scrollbars,width="+screen.width+",height="+screen.height;
window.open(location.href + '?quiz', '', windowprops);
}
else
{
document.body.style.visibility = 'visible';
if ( T = document.getElementById('slide') ) {
T.style.visibility='visible';
}
window.focus();
}
}
function winFull()
{
var strQuery = location.href.match(/\?.*$/);
if(strQuery != '?quiz')
{
window.open(location.href + '?quiz', '', 'fullscreen', scrollbars='true');
}
else
{
document.body.style.visibility = 'visible';
if ( T = document.getElementById('slide') ) {
T.style.visibility='visible';
}
window.focus();
}
}
function makeTrue(questionNum) {
zahl=parseInt(questionNum);
tester= incorrectList.indexOf(" "+zahl+'... (a)');
if (tester!=-1){
incorrectList = incorrectList.replace(" "+zahl+'... (a);',"");
totaltried = totaltried-1;
totalincorrect = totalincorrect-1;
}
tester= incorrectList.indexOf(" "+zahl+'... (b)');
if (tester!=-1){
incorrectList = incorrectList.replace(" "+zahl+'... (b);',"");
totaltried = totaltried-1;
totalincorrect = totalincorrect-1;
}
tester= incorrectList.indexOf(" "+zahl+'... (c)');
if (tester!=-1){
incorrectList = incorrectList.replace(" "+zahl+'... (c);',"");
totaltried = totaltried-1;
totalincorrect = totalincorrect-1;
}
tester= incorrectList.indexOf(" "+zahl+'... (d)');
if (tester!=-1){
incorrectList = incorrectList.replace(" "+zahl+'... (d);',"");
totaltried = totaltried-1;
totalincorrect = totalincorrect-1;
}
tester= incorrectList.indexOf(" "+zahl+'... (e)');
if (tester!=-1){
incorrectList = incorrectList.replace(" "+zahl+'... (e);',"");
totaltried = totaltried-1;
totalincorrect = totalincorrect-1;
}
tester= incorrectList.indexOf(" "+zahl+'... (f)');
if (tester!=-1){
incorrectList = incorrectList.replace(" "+zahl+'... (f);',"");
totaltried = totaltried-1;
totalincorrect = totalincorrect-1;
}
tester= incorrectList.indexOf(" "+zahl+'... (g)');
if (tester!=-1){
incorrectList = incorrectList.replace(" "+zahl+'... (g);',"");
totaltried = totaltried-1;
totalincorrect = totalincorrect-1;
}
tester= correctList.indexOf(" "+zahl+';');
if (tester!=-1){
score = score-1;
}
else{
totaltried ++;
totalcorrect ++;
zahl=parseInt(questionNum);
correctList=correctList+" "+zahl+";";
}
tic[questionNum]="r";
if (SOUNDON1==1){
playSound(1);}
zahl=parseInt(questionNum);
zahl=(questionNum);
if (navigator.appName=="Netscape" && HIDE==0){
window.status=object[questionNum].mess;
document[zahl].src=object[questionNum].simg.src;}
else{
if (HIDE==0){
window.status=object[questionNum].mess;
document[zahl].src=object[questionNum].simg.src;
}
}
}
function makeFalse(questionNum){
if (crit[questionNum] =='1'){
Critical = 1;}
if (hints[questionNum] !="" ){
hints[questionNum]=(decodeIT(hints[questionNum]));
showTip(200,200,hints[questionNum]);
}
zahl=parseInt(questionNum);
tester = correctList.indexOf(" "+zahl+';');
if (tester!=-1){
totalcorrect = totalcorrect-1;
totaltried = totaltried-1;
correctList = correctList.replace(" "+zahl+';',"");
score = score-1;
}
tester= incorrectList.indexOf(" "+zahl+'...');
if (tester==-1){
totaltried ++;
totalincorrect ++;
}
else{
tester= incorrectList.indexOf(" "+zahl+'... (a)');
if (tester!=-1){
incorrectList = incorrectList.replace(" "+zahl+'... (a);',"");
}
tester= incorrectList.indexOf(" "+zahl+'... (b)');
if (tester!=-1){
incorrectList = incorrectList.replace(" "+zahl+'... (b);',"");
}
tester= incorrectList.indexOf(" "+zahl+'... (c)');
if (tester!=-1){
incorrectList = incorrectList.replace(" "+zahl+'... (c);',"");
}
tester= incorrectList.indexOf(" "+zahl+'... (d)');
if (tester!=-1){
incorrectList = incorrectList.replace(" " + zahl+'... (d);',"");
}
tester= incorrectList.indexOf(" "+zahl+'... (e)');
if (tester!=-1){
incorrectList = incorrectList.replace(" "+zahl+'... (e);',"");
}
tester= incorrectList.indexOf(" "+zahl+'... (f)');
if (tester!=-1){
incorrectList = incorrectList.replace(" "+zahl+'... (f);',"");
}
tester= incorrectList.indexOf(" "+zahl+'... (g)');
if (tester!=-1){
incorrectList = incorrectList.replace(" "+zahl+'... (g);',"");
}
}
tic[questionNum]="w";
if (SOUNDON2==1){
playSound(2);}
zahl=parseInt(questionNum);
incorrectList=incorrectList+" "+zahl+"..."+" (" + incorrectAnswer + ");" ;
zahl=(questionNum);
if (navigator.appName=="Netscape" && HIDE==0) {
window.status=object[questionNum].mess;
document[zahl].src=object[questionNum].rimg.src;}
else{
if (HIDE==0){
window.status=object[questionNum].mess;
document[zahl].src=object[questionNum].rimg.src;
}
}
if (showAnswer==0){
if (ans[questionNum]=="a") {
showIt=1;
ping='first';
}
if (ans[questionNum]=="b") {
showIt=1;
ping='second';
}
if (ans[questionNum]=="c") {
showIt=1;
ping='third';
}
if (ans[questionNum]=="d") {
showIt=1;
ping='fourth';
}
if (ans[questionNum]=="e") {
showIt=1;
ping='fifth';
}
if (ans[questionNum]=="f") {
showIt=1;
ping='sixth';
}
if (ans[questionNum]=="g") {
showIt=1;
ping='seventh';
}
if (CaseMarker==2 ){
ans[questionNum] = ans[questionNum].toUpperCase();
}
if (showIt==0 || CaseMarker==1 || CaseMarker==2){
temp=window.confirm(decodeIT('The correct answer is') +": " +(ans[questionNum]));
var showFeedback = document.getElementById("feedbacker");
showFeedback.style.visibility = "hidden";
return;
}
if (showIt==1){
showIt=0;
temp=window.confirm(decodeIT('The ')+ ping + decodeIT(' answer is correct'));
var showFeedback = document.getElementById("feedbacker");
showFeedback.style.visibility = "hidden";
return;
}
}
}
function Engine2(question,answer){
if (answer==false || answer==null){
return;
}
if (!done[question]) {
input=answer;
{
if (input==""){
input="x";
}
if (input=="zero") {
input="0";
}
if (input=="one") {
input="1";
}
if (input=="two") {
input="2";
}
if (input=="three") {
input="3";
}
if (input=="four") {
input="4";
}
if (input=="five") {
input="5";
}
if (input=="six") {
input="6";
}
if (input=="seven") {
input="7";
}
if (input=="eight") {
input="8";
}
if (input=="nine") {
input="9";
}
if (input=="ten") {
input="10";
}
if (input=="eleven") {
input="11";
}
if (input=="twelve") {
input="12";
}
if (input=="thirteen") {
input="13";
}
if (input=="fourteen") {
input="14";
}
if (input=="fifteen") {
input="15";
}
if (input=="sixteen") {
input="16";
}
if (input=="seventeen") {
input="17";
}
if (input=="eighteen") {
input="18";
}
if (input=="nineteen") {
input="19";
}
if (input=="twenty") {
input="20";
}
}
resultString=ans[question];
decodeIT(resultString);
ans[question]=resultString
Engine(question,input);
}
else { alert(decodeIT(lang1)); }
}
var MultiAnswers=0;
function MultiAns(question){
MultiAnswers=1;
var myAnswer="";
var myString = question+"a";
if (document.getElementById(myString))
{
var gotIt = document.getElementById(myString);
if (gotIt.checked){
var myAnswer = "a";
}
}
myString = question+"b";
if (document.getElementById(myString))
{
gotIt = document.getElementById(myString);
if (gotIt.checked){
if (myAnswer==""){
myAnswer="b";
}
else{
myAnswer = myAnswer + "+" + "b";
}
}
}
myString = question+"c";
if (document.getElementById(myString))
{
gotIt = document.getElementById(myString);
if (gotIt.checked){
if (myAnswer==""){
myAnswer="c";
}
else{
myAnswer = myAnswer + "+" + "c";
}
}
}
myString = question+"d";
if (document.getElementById(myString))
{
gotIt = document.getElementById(myString);
if (gotIt.checked){
if (myAnswer==""){
myAnswer="d";
}
else{
myAnswer = myAnswer + "+" + "d";
}
}
}
myString = question+"e";
if (document.getElementById(myString))
{
gotIt = document.getElementById(myString);
if (gotIt.checked){
if (myAnswer==""){
myAnswer="e";
}
else{
myAnswer = myAnswer + "+" + "e";
}
}
}
myString = question+"f";
if (document.getElementById(myString))
{
gotIt = document.getElementById(myString);
if (gotIt.checked){
if (myAnswer==""){
myAnswer="f";
}
else{
myAnswer = myAnswer + "+"+"f";
}
}
}
myString = question+"g";
if (document.getElementById(myString))
{
gotIt = document.getElementById(myString);
if (gotIt.checked){
if (myAnswer==""){
myAnswer="g";
}
else{
myAnswer = myAnswer + "+" + "g";
}
}
}
Engine(question,myAnswer);
}
function Engine(question, answer){
var myString = question+answer;
if (document.getElementById(myString) && MultiAnswers ==0)
{
var gotIt = document.getElementById(myString);
return;
}
var showFeedback = document.getElementById("feedbacker");
showFeedback.style.visibility = "hidden";
//<!--ANCHOR#110-->
if (MultipleAttempts!=0){
done[question]="";
}
if (goExit ==1){
alert(decodeIT("Sorry, but the time allowed for this quiz has now expired. "));
return;
}
incorrectAnswer=answer;quiz(); if (answ==0){ location.reload(); } else{
change1=answer;
change1 = trimString(change1);
change=change1.toUpperCase();
answer=change;
change1 = ans[question];
change1 = trimString(change1);
change=change1.toUpperCase();
if (change !="" && PMatching==1){
answer=(answer+" ");
change=(change+" ");
loc=answer.indexOf(change);
if(MultiAnswers==1){
MultiAnswers=1;
loc=change.indexOf(answer);
if (change.length != answer.length){
loc= -1;
}
}
if (loc !=-1){
change=answer;
}
}
var tester= trimString(change).indexOf(trimString(answer));
if(MultiAnswers==1){
MultiAnswers=0;
var tester= trimString(answer).indexOf(trimString(change));
if (change.length != answer.length){
tester= -1;
}
}
if (answer !=change && tester==-1) { if (!done[question]) { done[question]=-1;
if (SCORM==true){
SetScormScore(answer,change,question);
}
makeFalse(question); } else { alert(decodeIT(lang1)); } } else { if (!done[question]) { done[question]=-1; score++;
if (SCORM==true){
SetScormScore(answer,change,question);
}
makeTrue(question); } else { alert(decodeIT(lang1)); } } } }
function display() {
for (i=1; i < question+1; i++)
{
zahl=parseInt(i);
zahl=(i);
if (navigator.appName=="Netscape" && tic[i]=="r"){
window.status=object[i].mess;
document[zahl].src=object[i].simg.src;}
else{
if (tic[i]=="r"){
window.status=object[i].mess;
document[zahl].src=object[i].simg.src;
}
else{
if (tic[i]=="w"){
window.status=object[i].mess;
document[zahl].src=object[i].rimg.src;
}
}
}
}
if (PassCent != 0){
per=(totaltried-totalincorrect)/question*100;
per=Math.round(per)
if (per < PassCent){
alert("I'm sorry, but you have not passed the test!");
return;
}
if (Critical != 0){
alert("I'm sorry, but you have not passed the test!");
return;
}
per=Math.round(per)+"%";
alert("Your percentage correct is: "+ per + ". You have passed your test!");
return;
}
var half;
half=(question/2);
if (score==question) {
alert(decodeIT(lang2)); }
else if (score==0) {
alert(decodeIT(lang3)); }
else if ((score < half) && (score!=0)) {
alert(decodeIT(lang4) +" " + score + " " +decodeIT(lang6));}
else if ((score >=half) && (score!=50)) {
alert(decodeIT(lang5) + " " + score + " " + decodeIT(lang6));}
}
function reloadIt() {
location.reload();}
function TTM()
{
var mop = 0;
mop = history.length;
if (mop == 0 || mop == 1){
alert(decodeIT("The Task Manager is not running. You must start the Task manager before you load the first quiz!"));
}
history.back();
}
var ans=new Array;
var hints=new Array;
var crit=new Array;
crit[1] ="0";crit[2] ="0";hints[1] ="";hints[2] ="";
ans[1] ="b";ans[2] ="b";
function right(e) {
var hoopla = window.event;
getMouse(e);
if (navigator.appName=='Netscape' &&
(e.which==3 || e.which==2))
return false;
else if (navigator.appName=='Microsoft Internet Explorer' &&
(event.button==2 || event.button==3)) {
alert(decodeIT("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!==0){
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!==0 && !NS4) {
window.opener.blur();
msgWindow.focus();
}
}
}
}
if (MHT==1){
setTimeout('StatusQuo()',1000);
}
if (location.href.indexOf('?') == -1 && MHT !== 1){
setTimeout('StatusQuo()',1000);
var swider = document.body.offsetWidth;
var shgter = document.body.offsetHeight;
if (swider != screen.width && shgter != screen.height)
{
if ( FULL !== 0){
window.resizeTo(screen.width, screen.height);
window.moveTo(0, 0);
}
}
if (swider < screen.width && FULL==1){
//window.blur();
}
}
else{
window.focus();
if (window.width > window.document.offsetWidth){
window.blur();
}
}
//-->
</script>
<center> <font size="4" face="Helvetica"> <B> <SPAN style="background-color: #000000"><script type="text/javascript">
<!--
code=
"%3CFONT%20%20COLOR%3D%22%23FF80FF%22%3EU%3C/FONT%3E%0D%0A%3CFONT%20%20COLOR%3D%22%23FF0000%22%3EN%3C/FONT%3E%0D%0A%3CFONT%20%20COLOR%3D%22%23FFFF80%22%3ER%3C/FONT%3E%0D%0A%3CFONT%20%20COLOR%3D%22%23FFFF00%22%3EE%3C/FONT%3E%0D%0A%3CFONT%20%20COLOR%3D%22%2380FF00%22%3EG%3C/FONT%3E%0D%0A%3CFONT%20%20COLOR%3D%22%2300FF40%22%3EI%3C/FONT%3E%0D%0A%3CFONT%20%20COLOR%3D%22%2380FF80%22%3ES%3C/FONT%3E%0D%0A%3CFONT%20%20COLOR%3D%22%23FF8080%22%3ET%3C/FONT%3E%0D%0A%3CFONT%20%20COLOR%3D%22%23FF00FF%22%3EE%3C/FONT%3E%0D%0A%3CFONT%20%20COLOR%3D%22%23FFFF00%22%3ER%3C/FONT%3E%0D%0A%3CFONT%20%20COLOR%3D%22%238080FF%22%3EE%3C/FONT%3E%0D%0A%3CFONT%20%20COLOR%3D%22%2300FFFF%22%3ED%3C/FONT%3E%0D%0A%3CFONT%20%20COLOR%3D%22%2300F66%22%3E%26nbsp%3B%3C/FONT%3E%0D%0A%3CFONT%20%20COLOR%3D%22%2300F66%22%3E%26nbsp%3B%3C/FONT%3E%0D%0A%3CFONT%20%20COLOR%3D%22%23FF8040%22%3EU%3C/FONT%3E%0D%0A%3CFONT%20%20COLOR%3D%22%23FF8040%22%3ES%3C/FONT%3E%0D%0A%3CFONT%20%20COLOR%3D%22%2300FF80%22%3EE%3C/FONT%3E%0D%0A%3CFONT%20%20COLOR%3D%22%2300FF80%22%3ER%3C/FONT%3E%0D%0A%3Cscript%3EFONTT%20%3D%201%3B%3C/script%3E%0D%0A";
document.write(unescape(code));
//-->
</script> </SPAN> </B> <font size="1"> <BR> <BR> <<This message will be removed when you register >></font></font> <HR> </center><center><BR><H1><B>dhrt89uty9</B></H1><HR></center>
<TABLE BORDER=0 SUMMARY=''> <TR> <TD ALIGN=CENTER VALIGN=MIDDLE WIDTH=100> <IMG SRC="Resources/Images/arrow1.gif" HEIGHT=40 WIDTH=40 ALT="" NAME=1> </TD> <TD><form action='...'><STRONG><A NAME="1x">1. </A>dhbdifjgiofhjifghniofhjifhjifhif<br><br><input type="radio" name=1 value="a" onClick="Engine(1,this.value)">a) xc<br> <input type="radio" name=1 value="b" onClick="Engine(1,this.value)">b) xv<br><input type="radio" name=1 value="c" onClick="Engine(1,this.value)">c) xv<br><input type="radio" name=1 value="d" onClick="Engine(1,this.value)">d) xv</STRONG></FORM></TD></TR></TABLE><TABLE BORDER=0 SUMMARY=''><TR><TD ALIGN=CENTER valign=middle WIDTH=100><IMG SRC="Resources/Images/arrow1.gif" HEIGHT=40 WIDTH=40 alt="" NAME=2></TD><TD><FORM action='...'><STRONG><A NAME="2x">2. </A>xvxxdv<br><br><input type="radio" name=2 value="a" onClick="Engine(2,this.value)">a) xvxv<br> <input type="radio" name=2 value="b" onClick="Engine(2,this.value)">b) vx<br><input type="radio" name=2 value="c" onClick="Engine(2,this.value)">c) xv<br><input type="radio" name=2 value="d" onClick="Engine(2,this.value)">d) vx<br><input type="radio" name=2 value="e" onClick="Engine(2,this.value)">e) v</STRONG></FORM></TD></TR></TABLE><FORM action='...'> <CENTER> <input type="button" onClick="display();" value='Calculate Score'> <INPUT TYPE="button" VALUE='Close Quiz' onClick='wclose()'> <INPUT TYPE="BUTTON" VALUE='Submit Results' onClick="hw3('MC')"></CENTER></FORM>
<div id="feedbacker">This is the feedback!</div>
<script type="text/javascript">
<!--
answ=FONTT;
function Mycolor(bg){
if (bg==null){
return;
}
document.bgColor=bg;
}
//-->
</script>
<div align="center"><a href="#1"><font color="#000000"><u>Back to Top</u></font></a></div>
<br><br><br>
</body>
</html>