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("reraise","call","fold")
corr=new Array("0","0","1")
comm=""
valu=""
quest001 = new Question(
"Question 1",
0,
"<font face=\"Arial\" size=\"2\">Before the Flop:&#160; You have pocket 8&rsquo;s on the button. An early position player raises, the next player re-raises, and one player in between calls. You should:</font><br>",
resp,
comm,
corr,
"<small><font face=\"Arial\" size=\"2\">You&rsquo;re almost certainly going to need to flop a set of 8&rsquo;s here for your hand to hold up, and you&rsquo;re only going to do that about 11% of the time. Even though you&rsquo;ll probably win a monster pot if you catch an 8 you would be paying too much for that opportunity.</font><br></small>",
valu,
1,
0,
0,
"");

resp=new Array("reraise","call","fold")
corr=new Array("1","0","0")
comm=""
valu=""
quest002 = new Question(
"Question 2",
0,
"<font face=\"Arial\" size=\"2\">Before the Flop: You have the A<img src=\"spade.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> K<img src=\"spade.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> in middle position. One player calls in front of you and the next player raises. All fold to you. You should:</font><br>",
resp,
comm,
corr,
"<small><font face=\"Arial\" size=\"2\">You&rsquo;re going to flop either an ace, a king or two spades about 40% of the time, and any of those flop will put you in a powerful position. Also, your reraise may incline the field to check to you on the flop, which will give you the option of checking along if you miss the flop and looking at the turn for free</font><font face=\"Times New Roman\" size=\"2\">.</font><br></small>",
valu,
1,
0,
0,
"");

resp=new Array("raise","fold","call")
corr=new Array("0","0","1")
comm=""
valu=""
quest003 = new Question(
"Question 3",
0,
"<font face=\"Arial\" size=\"2\">Before the Flop: You have the A<img src=\"club.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> 3<img src=\"club.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> in late position. Four players have called in front of you. You should:</font><br>",
resp,
comm,
corr,
"<small><font face=\"Arial\" size=\"2\">You have a profitable hand, but you won&rsquo;t hit the flop with his hand very often. By just calling here you allow yourself to get away from the hand cheaply if the flop misses you.</font><font face=\"Times New Roman\" size=\"2\">&#160;</font><br></small>",
valu,
1,
0,
0,
"");

resp=new Array("call","reraise","fold")
corr=new Array("0","1","0")
comm=""
valu=""
quest004 = new Question(
"Question 4",
0,
"<font face=\"Arial\" size=\"2\">On the Flop: You have the 9<img src=\"diamond.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> 7<img src=\"diamond.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> in the big blind. Four players call, the button raises, the small bind calls and you call. Everyone behind you calls as well. The flop comes Q<img src=\"diamond.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> 9<img src=\"heart.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> 9<img src=\"club.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/>. You check with the intention of check raising, the player to the right of the button bets and the button raises. You should:</font>",
resp,
comm,
corr,
"<small><font face=\"Arial\" size=\"2\">This is not the time to get cute and try to &lsquo;bring in more customers&rsquo; by just calling. One thing you absolutely want to avoid is giving hands like KJ or KT a cheap opportunity to catch their inside straight and crack your hand. Reraise and charge the field the maximum to try and draw out against you. (For more information on this concept check out our article <i>Large and Multiway Pots: Your Primary Concern</i>).</font><br></small>",
valu,
1,
0,
0,
"");

resp=new Array("reraise","fold","call")
corr=new Array("0","1","0")
comm=""
valu=""
quest005 = new Question(
"Question 5",
0,
"<font face=\"Arial\" size=\"2\">On the Flop:&#160; You have the A<img src=\"spade.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> Q<img src=\"spade.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> in middle position, and raise after two callers. Both blinds call, and everyone else calls. The flop brings a disappointing T<img src=\"diamond.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> 8<img src=\"diamond.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> 6<img src=\"club.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/>. The small blind bets, the big blind raises, and all fold to you. You should:</font>",
resp,
comm,
corr,
"<small><font face=\"Arial\" size=\"2\">This is precisely the kind of hand where <i>you </i>are going to save money while your opponents would throw it away. You&rsquo;ve completely missed the flop and it&rsquo;s two bets to you. You may be virtually drawing dead here if someone flopped two pair or a set, and the Qd and Ad may mean more trouble. Time to dump your hand and become a spectator. Yes, most of your opponents would call here. But that, my friends, is why they lose.</font><font face=\"Times New Roman\" size=\"2\">&#160;</font><br></small>",
valu,
1,
0,
0,
"");

resp=new Array("reraise","fold","call")
corr=new Array("1","0","0")
comm=""
valu=""
quest006 = new Question(
"Question 6",
0,
"<font face=\"Arial\" size=\"2\">On the Flop: You have the K<img src=\"club.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> Q<img src=\"spade.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> in early position and call. Two more players call, the button calls and the big blind calls. The flop comes K<img src=\"spade.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> 8<img src=\"spade.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> 6<img src=\"heart.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/>. You bet, one player calls and the button raises. The big blind folds and the action is on you. You should:</font><br>",
resp,
comm,
corr,
"<small><font face=\"Arial\" size=\"2\">You&rsquo;re probably still ahead, but the player between you and the button almost certainly has a draw to a hand that would beat you. Reraise and charge him the maximum. </font></small>",
valu,
1,
0,
0,
"");

resp=new Array("reraise","fold","call")
corr=new Array("0","1","0")
comm=""
valu=""
quest007 = new Question(
"Question 7",
0,
"<font face=\"Arial\" size=\"2\">On the Turn: You have the T<img src=\"spade.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> 9<img src=\"spade.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> and call after two callers in middle position. The flop comes A<img src=\"diamond.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> J<img src=\"spade.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> 3<img src=\"spade.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/>, giving you a flush draw. The big blind checks, the next player bets, the player behind him calls and you raise. The big blind fold and the other two players call. The turn is the J<img src=\"club.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/>. The first player bets and the second player raises. You should:</font>",
resp,
comm,
corr,
"<small><font face=\"Arial\" size=\"2\">With the board now paired there&rsquo;s no guarantee that your flush will be good if you hit. Also, you&rsquo;ll notice that there are 8.25 big bets in the pot, and it will cost you 2 big bets to call. You&rsquo;re about a 4:1 underdog to make your flush on the river, and the price you&rsquo;re getting from the pot is 4:1, so on the surface this looks like a break even play. But since your hand may not be good if you make it you have to adjust the price you&rsquo;re getting to try and complete your draw. Also, one of the other players could already have a higher flush, so even if nobody yet has a full house you could still be &lsquo;drawing dead&rsquo;. </font><br></small>",
valu,
1,
0,
0,
"");

resp=new Array("bet","check")
corr=new Array("1","0")
comm=""
valu=""
quest008 = new Question(
"Question 8",
0,
"<font face=\"Arial\" size=\"2\">On the Turn: You have the K<img src=\"spade.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> J<img src=\"club.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> and call on the button after three players call. The flop brings the J<img src=\"spade.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> 7<img src=\"diamond.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> 6<img src=\"diamond.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/>. All check to you and you bet. Three players call. The turn is the 3<img src=\"diamond.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/>, and again all check to you. You should:</font><br>",
resp,
comm,
corr,
"<small><font face=\"Arial\" size=\"2\">Yes, somebody may have made a flush. But then, most players will bet the flop if they have a flush draw, so the odds that someone just made diamonds are substantially reduced. Also, you absolutely cannot afford to give a free card here. A bet on your part may get hands like 9<img src=\"spade.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> 8<img src=\"spade.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/>, or T<img src=\"club.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> 8<img src=\"club.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/>, to fold&mdash;and since these hands have live draws against your hand it would be a disaster if you gave them a free card and they outdrew you.</font><br></small>",
valu,
1,
0,
0,
"");

resp=new Array("reraise","call","fold")
corr=new Array("0","0","1")
comm=""
valu=""
quest009 = new Question(
"Question 9",
0,
"<font face=\"Arial\" size=\"2\">On the Turn: You have the Q<img src=\"spade.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> Q<img src=\"club.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/>, and raise in middle position after two calls. The flop brings the T<img src=\"spade.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> 7<img src=\"heart.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> 5<img src=\"heart.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/>. All check to you and you bet. The turn is the T<img src=\"heart.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/>. Again all check, you bet, but now the first player check-raises you and the next player makes it three bets. You should:</font>",
resp,
comm,
corr,
"<small><font face=\"Arial\" size=\"2\">The Th is a terrible card for you, and it appears as though everyone else liked it. The only cards that could make you feel good about your hand on the river are the two remaining queens, and one of those will drop off only 5% of the time. Remember: Don&rsquo;t get married to big pairs! When it&rsquo;s clear you&rsquo;re beaten it&rsquo;s usually time for your hand to hit the muck.</font><br></small>",
valu,
1,
0,
0,
"");

resp=new Array("check","bet")
corr=new Array("0","1")
comm=""
valu=""
quest010 = new Question(
"Question 10",
0,
"<font face=\"Arial\" size=\"2\">On the River: You have the A<img src=\"spade.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> A<img src=\"heart.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> and raise in early position. All fold to the big blind who calls. The flop brings the Q<img src=\"spade.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> T<img src=\"heart.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> 6<img src=\"heart.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/>. He checks and you bet. The turn is the 7c, again he checks and again you bet. The river is the Q<img src=\"heart.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/>. He checks again. You should:</font>",
resp,
comm,
corr,
"<small><font face=\"Arial\" size=\"2\">Don&rsquo;t let up on the gas now! True, you didn&rsquo;t like the river card, since it put a possible flush on board and your opponent could also have three queens. But &lsquo;could&rsquo; isn&rsquo;t the same as &lsquo;did&rsquo;. You would have thought your opponent would have made some noise at some point with top pair (or a flush draw), yet he&rsquo;s just been calling all the way. I&rsquo;d put him on some kind of ten and expect to get paid off. If he check raises you you&rsquo;ll be put in a tough spot. But if you avoid these tough spots you can&rsquo;t be a long term winner. Stick your neck out and bet. </font><br></small>",
valu,
1,
0,
0,
"");

resp=new Array("check","bet")
corr=new Array("1","0")
comm=""
valu=""
quest011 = new Question(
"Question 11",
0,
"<font face=\"Arial\" size=\"2\">On the River: You have the A<img src=\"spade.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> Q<img src=\"diamond.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> and raise in late position. All fold to the small blind who calls. The big blind calls as well. The flop brings the 7<img src=\"diamond.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> 7<img src=\"club.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/> 3<img src=\"heart.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/>. All check to you, and you bet. The small blind folds and the big blind calls. The turn is the T<img src=\"heart.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/>. He checks, you bet again, and he calls again. The river is the 9<img src=\"spade.PNG\" width=\"11\" height=\"11\" border=\"0\" alt=\"graphic\"/>. The big blind checks. You should:</font>",
resp,
comm,
corr,
"<small><font face=\"Arial\" size=\"2\">Betting here is a big mistake. Notice that any hand that can beat yours will probably call, yet any hand that you can beat will probably fold. Thus, a bet has no value here. Unsophisticated players often bet here on a bluff, but what&rsquo;s the point? If he folds you almost certainly had him beat anyway, so the bet was pointless (for more details on this concept read our article <i>Some River Considerations</i>).</font><br></small>",
valu,
1,
0,
0,
"");

questions = new Array (
quest001,quest002,quest003,quest004,quest005,quest006,quest007,quest008,quest009,quest010,quest011)

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("          <p><img border=\"0\" src=\"")
document.write(questions[quest].img)
document.write("\"></p>\n")
document.write("       ")
}
document.write("\n")
document.write("       <p><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]="<H3>You have made the following errors</H3>";
++errori;
cachewrite("<p><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>Results</title><BASE target='_blank'></head><body bgcolor='#FFFFFF'><font face='Verdana, Arial'><table border=0 cellpadding=0 cellspacing=0 width='100%' bgcolor='#C0C0C0'><tr><td width='100%'><font face='Verdana, Arial' size=5 color='#FFFFFF'><b>&nbsp;Results</b></font></td></tr></table>",0)
now= new Date()
cachewrite("<small><p>"+fill((now.getMonth()+1),2)+"/"+fill(now.getDate(),2)+"/"+now.getYear()+"&nbsp;&nbsp;"+fill(now.getHours(),2)+":"+fill(now.getMinutes(),2)+"</p>",0)
cachewrite("<b>Quiz: The Final Exam</b><br><br>\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,"The right answer was <i>"+okresp+".</i>",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 4 or Microsoft Internet Explorer 5 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="<br><p align='center'><small><small>Created and managed with <a title='Click here to visit WebQuiz site' href='http://www.smartlite.it/go.asp?OLDLP' target = '_blank'>SmartLite WebQuiz</a></small></small></p>"

