function Question (qname,
type,
qstring,
response,
comment,
corrects,
explan,
score,
ifcorrect,ifwrong,ifnull,
img)
{this.qname=qname;
this.type=type;
this.qstring=qstring;
this.response=response;
this.comment=comment;
this.corrects=corrects;
this.explan=explan;
this.score=score;
this.ifcorrect=ifcorrect;
this.ifwrong=ifwrong;
this.ifnull=ifnull;
this.img=img;
}

var zin=1,top=0, mycount=0, waitTime=0, qright=0, mycomment;
var global=new Array(3);
var recent, recent2, recdone=false, opera7, opera=CheckOpera56();
function cachewrite(s,idx){global[idx]+=s;}
function CheckOpera56()
{
var version;
if (navigator.userAgent.toLowerCase().indexOf('opera') == -1) return false;
version=parseInt(navigator.appVersion.toLowerCase());
if (version>6) {opera7=true; return false;}
if (version<5) return false;
return true;
}
resp=new Array("<font face=\"Arial\" size=2>(A) Probably true</font>","<font face=\"Arial\" size=2>(B) To come between</font>","<font face=\"Arial\" size=2>(C) Most likely</font>","<font face=\"Arial\" size=2>(D) Must be true</font>","<font face=\"Arial\" size=2>(E) Could be true<br><br></font>")
corr=new Array("0","0","0","1","0")
comm=""
valu=""
quest001 = new Question(
"Question 1 - INFERENCE",
0,
"<style=\"margin-left=6mm; margin-right=0mm; text-indent=-6mm\"><font face=\"Arial\" size=2>INFERENCE:</font>",
resp,
comm,
corr,
"<small><font face=\"Arial\" size=2>The word “inference,” as it is used in logic and on the LSAT, means “must be true.” In daily life, most people use “inference” to mean “probably true,” “most likely,” or “could be true,” but those definitions will lead to missed LSAT questions.</font></p></small>",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Arial\" size=2>(A) Comparative</font>","<font face=\"Arial\" size=2>(B) To be related in some way</font>","<font face=\"Arial\" size=2>(C) Contingent</font>","<font face=\"Arial\" size=2>(D) A simultaneous event</font>","<font face=\"Arial\" size=2>(E) Proof of something<br><br></font>")
corr=new Array("0","1","0","0","0")
comm=""
valu=""
quest002 = new Question(
"Question 2 - CORRELATION",
0,
"<style=\"margin-left=6mm; margin-right=0mm; text-indent=-6mm\"><font face=\"Arial\" size=2>CORRELATION:</font>",
resp,
comm,
corr,
"<small><font face=\"Arial\" size=2> A correlation is a relationship between two entities, especially when the movements of the two entities match closely. For example, a correlation may exist between handgun sales and murder rates, or between speeding and car crashes. A positive correlation is where the two values move together, as in a positive correlation between education and income. A negative correlation is where the two values move in opposite directions, as in a negative correlation between age and eyesight.</font></p></small>",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Arial\" size=2>(A) An amount greater than none</font>","<font face=\"Arial\" size=2>(B) An amount greater than one</font>","<font face=\"Arial\" size=2>(C) A large quantity</font>","<font face=\"Arial\" size=2>(D) A majority</font>","<font face=\"Arial\" size=2>(E) A majority, but not all<br><br></font>")
corr=new Array("0","0","0","1","0")
comm=""
valu=""
quest003 = new Question(
"Question 3 - MOST",
0,
"<style=\"margin-left=6mm; margin-right=0mm; text-indent=-6mm\"><font face=\"Arial\" size=2>MOST:</font>",
resp,
comm,
corr,
"<small><font face=\"Arial\" size=2>This is a tricky question, and most students select answer choice E. Although answer choice E reflects how the term “most” is used in the real world, on the LSAT the logical definition of “most” is used, and “most” <i>can</i> include “all.” PowerScore’s </font><a href=\"https://www.powerscore.com/cgi-bin/ccp5/cp-app.pl?%25%25SCRIPT_COMMON_URL%25%25&pg=store&sub_pg=prod&ref=340\"><font face=\"Arial\" size=2><u>LSAT Logical Reasoning Bible</u></font></a><font face=\"Arial\" size=2>&nbsp;contains an excellent section that discusses formal logic terms such as “most.”</font></p></small>",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Arial\" size=2>(A) A small animal</font>","<font face=\"Arial\" size=2>(B) A thing that goes before</font>","<font face=\"Arial\" size=2>(C) A preconceived notion</font>","<font face=\"Arial\" size=2>(D) In the process of dying</font>","<font face=\"Arial\" size=2>(E) The process of growing in<br><br></font>")
corr=new Array("0","1","0","0","0")
comm=""
valu=""
quest004 = new Question(
"Question 4 - ANTECEDENT",
0,
"<style=\"margin-left=6mm; margin-right=0mm; text-indent=-6mm\"><font face=\"Arial\" size=2>ANTECEDENT:</font></p>",
resp,
comm,
corr,
"<small><font face=\"Arial\" size=2>Antecedents typically play a role in causal reasoning, where understanding that one event must happen before another is important. Identifying the correct definition is made easier if you recognize the prefix <i>ante-</i>, which means “prior to” or “before.”</font></p></small>",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Arial\" size=2>(A) One and only one</font>","<font face=\"Arial\" size=2>(B) Both</font>","<font face=\"Arial\" size=2>(C) One or the other, but not both</font>","<font face=\"Arial\" size=2>(D) At least one of the two</font>","<font face=\"Arial\" size=2>(E) One of each<br><br></font>")
corr=new Array("0","0","0","1","0")
comm=""
valu=""
quest005 = new Question(
"Question 5 - EITHER…OR",
0,
"<style=\"margin-left=6mm; margin-right=0mm; text-indent=-6mm\"><font face=\"Arial\" size=2>EITHER…OR</font></p>",
resp,
comm,
corr,
"<small><font face=\"Arial\" size=2>This is another difficult question, primarily because most people use the phrase “either…or” in the real world to mean “one or the other, but not both” or “one and only one.” Yet, on the LSAT, the proper logical definition is used, and that definition states that “either…or” means “at least one, possibly both.” Hence, if an LSAT speaker states that, “Either Kim or Kwame will attend law school,” it is still possible that both will attend law school.</font></p></small>",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Arial\" size=2>(A) Never arrested</font>","<font face=\"Arial\" size=2>(B) Reasonable</font>","<font face=\"Arial\" size=2>(C) Unjustified</font>","<font face=\"Arial\" size=2>(D) At peace</font>","<font face=\"Arial\" size=2>(E) A short argument<br><br></font>")
corr=new Array("0","0","1","0","0")
comm=""
valu=""
quest006 = new Question(
"Question 6 - UNWARRANTED",
0,
"<style=\"margin-left=6mm; margin-right=0mm; text-indent=-6mm\"><font face=\"Arial\" size=2>UNWARRANTED:</font></p>",
resp,
comm,
corr,
"<small><font face=\"Arial\" size=2>“Unwarranted” means unjustified or groundless. For example, an unwarranted assumption is an assumption made for no reason or without any supporting facts.</font></p></small>",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Arial\" size=2>(A) Could be true</font>","<font face=\"Arial\" size=2>(B) Not necessarily possible</font>","<font face=\"Arial\" size=2>(C) Cannot be true</font>","<font face=\"Arial\" size=2>(D) Cannot be false</font>","<font face=\"Arial\" size=2>(E) Must be true<br><br></font>")
corr=new Array("0","0","1","0","0")
comm=""
valu=""
quest007 = new Question(
"Question 7 - MUST BE FALSE",
0,
"<style=\"margin-left=6mm; margin-right=0mm; text-indent=-6mm\"><font face=\"Arial\" size=2>MUST BE FALSE:</font></p>",
resp,
comm,
corr,
"<small><font face=\"Arial\" size=2>“Must be false” is identical in meaning to “cannot be true.” As detailed in the <a href=\"https://www.powerscore.com/cgi-bin/ccp5/cp-app.pl?%%SCRIPT_COMMON_URL%%&pg=store&sub_pg=prod&ref=200\"><font face=\"Arial\" size=2><u>LSAT Logic Games Bible</u></font></a><font face=\"Arial\" size=2>, when faced with a question posed in terms of falsity, you should always convert that statement into terms of truth. The Games Bible details the entire range of conversions, including those for “cannot be false,” “could be false” and “not necessarily false.”</font></p></small>",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Arial\" size=2>(A) A slowing down</font>","<font face=\"Arial\" size=2>(B) An examination</font>","<font face=\"Arial\" size=2>(C) Encompassing</font>","<font face=\"Arial\" size=2>(D) A contradictory situation</font>","<font face=\"Arial\" size=2>(E) Two identical situations<br><br></font>")
corr=new Array("0","0","0","1","0")
comm=""
valu=""
quest008 = new Question(
"Question 8 - PARADOX",
0,
"<style=\"margin-left=6mm; margin-right=0mm; text-indent=-6mm\"><font face=\"Arial\" size=2>PARADOX:</font></p>",
resp,
comm,
corr,
"<small><font face=\"Arial\" size=2>A “paradox” is a seemingly contradictory situation that is still possibly true. For example, “Although car anti-theft devices have been proven effective, cars outfitted with such devices are still stolen at a higher rate than cars not outfitted with such devices.” In this case, a possible explanation would be that the cars with anti-theft devices happened to be nicer cars that were more prized by car thieves.</font></p></small>",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Arial\" size=2>(A) Some are not</font>","<font face=\"Arial\" size=2>(B) Some</font>","<font face=\"Arial\" size=2>(C) Less than the majority</font>","<font face=\"Arial\" size=2>(D) None</font>","<font face=\"Arial\" size=2>(E) A minority<br><br></font>")
corr=new Array("1","0","0","0","0")
comm=""
valu=""
quest009 = new Question(
"Question 9 - NOT ALL",
0,
"<style=\"margin-left=6mm; margin-right=0mm; text-indent=-6mm\"><font face=\"Arial\" size=2>NOT ALL:</font></p>",
resp,
comm,
corr,
"<small><font face=\"Arial\" size=2>“Not all” and “some are not” are identical in meaning. In formal logic terms, “not all” means “at least one is not, possibly all are not.” So, if an LSAT speaker says, “Not all of the shirts are green,” it is possible that none of the shirts are green.</font></p></small>",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Arial\" size=2>(A) Unstated premise</font>","<font face=\"Arial\" size=2>(B) Inference</font>","<font face=\"Arial\" size=2>(C) An opinion</font>","<font face=\"Arial\" size=2>(D) An unwarranted conclusion</font>","<font face=\"Arial\" size=2>(E) Could be true<br><br></font>")
corr=new Array("1","0","0","0","0")
comm=""
valu=""
quest010 = new Question(
"Question 10 - ASSUMPTION",
0,
"<style=\"margin-left=6mm; margin-right=0mm; text-indent=-6mm\"><font face=\"Arial\" size=2>ASSUMPTION: </font></p>",
resp,
comm,
corr,
"<small><font face=\"Arial\" size=2>An “assumption” is a statement that is presupposed by the author to support the conclusion; a premise is also a statement that supports the conclusion, and thus an “assumption” is an “unstated premise.” In addition, in the logical parlance used by PowerScore, a valid assumption is also a necessary condition for a valid argument.</font></p></small>",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Arial\" size=2>(A) Differ</font>","<font face=\"Arial\" size=2>(B) Undermine</font>","<font face=\"Arial\" size=2>(C) Reply</font>","<font face=\"Arial\" size=2>(D) Incontestable</font>","<font face=\"Arial\" size=2>(E) Irrelevant<br><br></font>")
corr=new Array("0","1","0","0","0")
comm=""
valu=""
quest011 = new Question(
"Question 11 - REFUTE",
0,
"<style=\"margin-left=6mm; margin-right=0mm; text-indent=-6mm\"><font face=\"Arial\" size=2>REFUTE:</font></p>",
resp,
comm,
corr,
"<small><font face=\"Arial\" size=2>To “refute” an argument is to attack or undermine that argument. The test makers use a variety of synonyms—such as “refute, “undermine,” and “weaken”—to confuse test takers and trick them into thinking that they are seeing many different questions types when in fact they are just seeing variations on standard question categories. In the <a href=\"http://www.powerscore.com/lsat/weekend.htm\"><font face=\"Arial\" size=2><u>PowerScore Weekend LSAT Course</u></font></a> we discuss these question categories in detail.</font></p></small>",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Arial\" size=2>(A) Unequal</font>","<font face=\"Arial\" size=2>(B) Mute</font>","<font face=\"Arial\" size=2>(C) In disagreement</font>","<font face=\"Arial\" size=2>(D) Clear</font>","<font face=\"Arial\" size=2>(E) Poorly supported<br><br></font>")
corr=new Array("0","0","0","1","0")
comm=""
valu=""
quest012 = new Question(
"Question 12 - UNEQUIVOCAL",
0,
"<style=\"margin-left=6mm; margin-right=0mm; text-indent=-6mm\"><font face=\"Arial\" size=2>UNEQUIVOCAL:</font></p>",
resp,
comm,
corr,
"<small><font face=\"Arial\" size=2>“Unequivocal” means “clear” or “certain,” as in having only one meaning or interpretation.</font></p></small>",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Arial\" size=2>(A) Lengthen</font>","<font face=\"Arial\" size=2>(B) A navigational device</font>","<font face=\"Arial\" size=2>(C) Existing</font>","<font face=\"Arial\" size=2>(D) Ecstatic</font>","<font face=\"Arial\" size=2>(E) Outward<br><br></font>")
corr=new Array("0","0","1","0","0")
comm=""
valu=""
quest013 = new Question(
"Question 13 - EXTANT",
0,
"<style=\"margin-left=6mm; margin-right=0mm; text-indent=-6mm\"><font face=\"Arial\" size=2>EXTANT:</font></p>",
resp,
comm,
corr,
"<small><font face=\"Arial\" size=2>“Extant” means “to still exist.” For example, “Dinosaurs are no longer extant.” Many students missed a well-known LSAT question because they were not familiar with this word.</font></p></small>",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Arial\" size=2>(A) Only</font>","<font face=\"Arial\" size=2>(B) Never</font>","<font face=\"Arial\" size=2>(C) All</font>","<font face=\"Arial\" size=2>(D) If</font>","<font face=\"Arial\" size=2>(E) Most<br><br></font>")
corr=new Array("1","0","0","0","0")
comm=""
valu=""
quest014 = new Question(
"Question 14 - NONE BUT",
0,
"<style=\"margin-left=6mm; margin-right=0mm; text-indent=-6mm\"><font face=\"Arial\" size=2>NONE BUT:</font></p>",
resp,
comm,
corr,
"<small><font face=\"Arial\" size=2>The phrase “none but” is rarely seen on the LSAT, but very difficult to quickly analyze during the test. “None but” is equivalent to “only,” and for those of you familiar with conditional reasoning as discussed within the <a href=\"http://www.powerscore.com/lsat/lsat.htm\"><font face=\"Arial\" size=2><u>PowerScore Full-length LSAT Course</u></font></a>, “none but” introduces a necessary condition. </font></p></small>",
valu,
1,
0,
0,
"");

resp=new Array("<font face=\"Arial\" size=2>(A) Agreement</font>","<font face=\"Arial\" size=2>(B) Identical</font>","<font face=\"Arial\" size=2>(C) Cannot be</font>","<font face=\"Arial\" size=2>(D) Could be</font>","<font face=\"Arial\" size=2>(E) To promote<br><br></font>")
corr=new Array("0","0","0","1","0")
comm=""
valu=""
quest015 = new Question(
"Question 15 - CONSISTENT",
0,
"<style=\"margin-left=6mm; margin-right=0mm; text-indent=-6mm\"><font face=\"Arial\" size=2>CONSISTENT:</font></p>",
resp,
comm,
corr,
"<small><font face=\"Arial\" size=2>As with questions #1, #3, #5, and #9, this question contains a term that is often used differently in the real world than on the LSAT. Most people use the word “consistent” to mean “in agreement” or “compatible.” Yet, the LSAT definition of “consistent” has often been “could be.” Let’s consider why this makes sense. “Consistent” and “inconsistent” are opposites. “Inconsistent,” in a logical sense, means “cannot be true.” “Consistent,” therefore, means the opposite or “could be true.” This leads to a situation where statements that appear inconsistent are in fact consistent. For example, consider the following two statements: 1. All cars are blue. 2. My best friend is tall. Most people would say these two statements are inconsistent since they do not address the same topic and agree about that topic. However, on the LSAT, statements similar to these two have been viewed as consistent.</font></p></small>",
valu,
1,
0,
0,
"");

questions = new Array (
quest001,quest002,quest003,quest004,quest005,quest006,quest007,quest008,quest009,quest010,quest011,quest012,quest013,quest014,quest015)

function doQuestion(quest)
{
var numdo;
var numord=eval(quest+1);
var i=-1, ii, type, myname, gadget;
type=questions[quest].type;
numdo=type>=3?1:questions[quest].response.length;


document.writeln ("<a name=\""+questions[quest].qname+"\"></a>")
document.write("\n")
document.write("       ")
if (questions[quest].img!="") {
document.write("\n")
document.write("          <img border=\"0\" src=\"")
document.write(questions[quest].img)
document.write("\"></p>\n")
document.write("       ")
}
document.write("\n")
document.write("       <small><font face=\"Verdana,Arial\">")
document.write(numord)
document.write(". ")
document.writeln(questions[quest].qstring)
document.write("</font></small></p>\n")
document.write("       ")
for (i=0; i<numdo; i++) {
myname=questions[quest].qname;
gadget="radio";
if (type>=3) gadget="text";
else if (type==1) {
myname+="_"+(i<9?"0":"")+(i+1);
gadget="checkbox";}
document.write("\n")
document.write("          ")
document.write(type==7?"<textarea name=\""+myname+"\" rows=5 cols=30 class=\"input\">":" <input type="+gadget+" name=\""+myname);
if (type<3) document.write("\" value=\""+i+"\">\n")
else document.write(type==7?"</textarea>":"\" class=\"input\" value=\"\">\n")
document.write(" <small><font face=\"Verdana,Arial\">")
if (type<3) document.write(questions[quest].response[i]);
document.write("</font></small><br>\n")
document.write("       ")
}
document.write("\n")
document.write("    ")
}
function doTest() {
var count, i;

count=questions.length;
for (i=0; i<count; i++) doQuestion(i);
}
function fill(s,l){
s=s+""
for (y=1;y<=l;y++)
if (s.length>=l) break; else s="0"+s;
return s
}
function CheckQName(wapf,ii,i,multi,selection){
var len;
if (!multi) return(wapf.elements[ii].name==questions[i].qname);
len=questions[i].qname.length;
if (wapf.elements[ii].name.substring(0,len)!=questions[i].qname) return false;
if (wapf.elements[ii].name.substring(len,len+1)!="_") return false;
if (eval(wapf.elements[ii].name.substring(len+1,len+3))==(selection+1)) return true;
return false;
}
function errore(uno,due,tre)
{
if (!errori) global[1]="<H5>You have made the following errors</H5>";
++errori;
cachewrite("<b>"+uno+"</b><br>"+due+"<br>"+mycomment+tre+"</p>",2);
mycomment="";
}
function testIE5plus(){
var pos=navigator.appVersion.lastIndexOf('MSIE ');
if (pos != -1) {
pos+=5;
if (eval(navigator.appVersion.charAt(pos))>4)
return true;}
return false;}
function correct(wapf)
{
var i, ii, t, re, tmp, selection, multi, multipage=0, type, isnull, iswrong, iscorrect, evaluation=0, total=0, udat;
errori=waitTime=0;
udat=new Array();
for (i=0, ii=0; i<wapf.elements.length; i++)
{tmp=wapf.elements[i];
if (tmp.name.substring(0,13)=="Quiz.UserData"){
t=tmp.name.substring(14,tmp.name.length);
re=new RegExp("_", "g");
t=t.replace(re," ");
udat[ii++]=t+": <i>"+tmp.value+"</i><br>";
if (opera) tmp.value="";}}
global[0]=global[2]="";
global[1]="<h3>Congratulations, you haven't made any errors!</h3>";
cachewrite("<html><head><title>PowerScore LSAT Terminology Quiz Results</title><BASE target='_blank'></head><body bgcolor='#FFFFFF'><font face='Verdana, Arial'><table border=0 cellpadding=0 cellspacing=0 width='100%' bgcolor='#FFFFFF'><tr><td width='100%'><img src=\"http://www.powerscore.com/images/logo_print.gif\" width=\"500\" height=\"84\" border=\"0\"><br><font face='Verdana, Arial' size=5 color='#2E3D60'><b>&nbsp;Here are your results</b><br>&nbsp;<a href=\"http://www.powerscore.com/lsat/help/lsatvocabquiz_answers.htm\"><font face=\"Arial\" size=1><b><u>CLICK HERE FOR ALL THE CORRECT ANSWERS</u></b></font></a></font></td></tr></table>",0)
now= new Date()
cachewrite("<small>"+"&nbsp;&nbsp;"+fill((now.getMonth()+1),2)+"/"+fill(now.getDate(),2)+"/"+now.getYear()+"&nbsp;&nbsp;"+fill(now.getHours(),2)+":"+fill(now.getMinutes(),2)+"</p>",0)
cachewrite("<h4><b>PowerScore LSAT Terminology Quiz</b></h4>\n",0);
if (udat.length>0) {
cachewrite("<b>Information</b><br>\n",0);
for (i=0; i<udat.length; i++) cachewrite(udat[i],0);}
if (opera7 && multipage) {
for (i=0; i<questions.length; i++) {
id=document.getElementById("q"+(i+1));
id2=document.getElementById("q"+(i+1)+"a");
id.style.display=id2.style.display="block";}}

for (i=0; i<questions.length; i++) {
if (opera && multipage) {
id=document.getElementById("q"+(i+1));
id2=document.getElementById("q"+(i+1)+"a");
id.style.visibility=id2.style.visibility="visible";}
type=questions[i].type;
if (type==1) multi=1;
else multi=0;
isnull=true;
iscorrect=false;iswrong=false;
selection=0;
evaluation=0;
mycomment="";
for (ii=0; ii<wapf.elements.length; ii++) {
if (CheckQName(wapf,ii,i,multi,selection)) {
if (type>=3 && wapf.elements[ii].value!="") {
isnull=false;
if (wapf.elements[ii].value.toLowerCase()==questions[i].corrects.toLowerCase()) iscorrect=true;
else iswrong=true;
++selection;}
else if (wapf.elements[ii].checked) {
if (questions[i].score!="") evaluation+=questions[i].score[selection];
if (isnull) isnull=false;
if (questions[i].corrects[selection]=="1") iscorrect=(iswrong==false)?true:false;
else {
iswrong=true;
if (multi && questions[i].corrects!='') errore(questions[i].qname,"The checkbox  <i>"+questions[i].response[selection]+"</i>  shouldn't have been selected.",questions[i].explan)
}
if (questions[i].comment!="" && questions[i].comment[selection]!="")
mycomment+=((iscorrect || questions[i].corrects=='')?"<b>"+questions[i].qname+"</b><br>":"")+"<small>"+questions[i].comment[selection]+"</small><br>";
} else {
if (questions[i].corrects[selection]=="1") {
iswrong=true;
if (multi && questions[i].corrects!='') errore(questions[i].qname,"The checkbox  <i>"+questions[i].response[selection]+"</i>  should have been selected.",questions[i].explan);
}}
++selection;
}}
if (multi==false && (isnull || iswrong)) {
var okresp="", z;
if (type>=3) okresp=questions[i].corrects;
else {
for (z=0; z<questions[i].corrects.length; z++) {
if (questions[i].corrects[z]==1) {
okresp=questions[i].response[z];
break;
}}}
if (okresp!="") errore(questions[i].qname,"<B>Correct Answer "+okresp+".</B>",questions[i].explan);
}
if (mycomment!="") cachewrite(mycomment,2);
if (questions[i].corrects!="") ++qright;
if (isnull) evaluation+=questions[i].ifnull;
else if (iswrong) evaluation+=questions[i].ifwrong;
else if (iscorrect) evaluation+=questions[i].ifcorrect;
total+=evaluation;}
if (qright==0) global[1]="<br>";
if (errori) cachewrite("<br><b>You have made "+errori+" "+(errori==1?"error":"errors")+".</b>",2);
cachewrite("<br><b>Total score: "+total+".</b><br>",2);

cachewrite("</small><hr noshade><center><form>",2)
printest=(((navigator.appName=="Netscape") && (navigator.appVersion.charAt(0)>="4")) || (testIE5plus() == true))? "print()": "alert('This button can be used with Netscape Navigator Microsoft Internet Explorer only. If you want to print with other browsers, please select the Print command in the File menu.')"
cachewrite("<input type='button' value='Print...' onClick='"+printest+"'>&nbsp;&nbsp;&nbsp;&nbsp;",2)
cachewrite("<input type='button' value='Close' onClick='window.close()'></form></center>",2)
cachewrite(aknw,2)
winr=window.open('','wapres', 'titlebar=1,location=0,directories=0,menubar=1,toolbar=0,scrollbars=1,resizable=1,status=1')
for (i=0; i<3; i++) winr.document.write(global[i]);winr.document.close()
if ((opera || opera7) && multipage) {
document.forms[0].elements[0].value='Print...';
document.forms[0].elements[1].value='Close';
for (i=0; i<questions.length-1; i++) {
id=document.getElementById("q"+(i+1));
id2=document.getElementById("q"+(i+1)+"a");
opera?id.style.visibility=id2.style.visibility="hidden":id.style.display=id2.style.display="none";}}
}
aknw=""
