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 size=\"1\">Egocentricity</font>","<font size=\"1\">Lack of a full understanding of causal relationships</font>","<font size=\"1\">Lack of concern for bodily integrity</font>","<font size=\"1\">Rebellion against parental supervision</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest001 = new Question(
"Question 1",
0,
"Which best explains the high incidence of accidents in children between the ages of six and nine?",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font size=\"1\">Adolescent</font>","<font size=\"1\">Preschool age</font>","<font size=\"1\">School age</font>","<font size=\"1\">Toddler</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest002 = new Question(
"Question 2",
0,
"At which stage of development are children apt to believe in the reversibility of death?",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font size=\"1\">circumcision is indicated.</font>","<font size=\"1\">the foreskin is frequently not retractable until the age of three.</font>","<font size=\"1\">this condition is potentially unhealthy.</font>","<font size=\"1\">this condition will interfere with urination.</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest003 = new Question(
"Question 3",
0,
"The parents of a four-month-old infant who has not been circumcised express concern that the infant's penile foreskin does not retract. The pediatric nurse advises the parents that:",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font size=\"1\">encourage the mother to dress the toddler in clothes that put no pressure on the site.</font>","<font size=\"1\">reassure the mother that the finding is normal.</font>","<font size=\"1\">recommend exercises to strengthen the abdominal muscles.</font>","<font size=\"1\">recommend immediate evaluation by a surgeon.</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest004 = new Question(
"Question 4",
0,
"During a well-child checkup, a mother expresses concern that her toddler's umbilicus protrudes. The pediatric nurse examines the child and finds a 2 cm defect that is soft and easily reducible but which protrudes again as soon as pressure is released. The nurse's action is to:",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font size=\"1\">ask the family in a nonjudgmental manner about the herbs.</font>","<font size=\"1\">discuss the risks of using alternative therapies with the child's parent.</font>","<font size=\"1\">organize a nursing care conference to discuss the child's plan of care.</font>","<font size=\"1\">refer the family to the social worker for possible noncompliance with the health care regimen.</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest005 = new Question(
"Question 5",
0,
"While caring for a Laotian child hospitalized for acute gastroenteritis with dehydration, the pediatric nurse notices that the parent keeps packets of herbs by the bedside. The nurse suspects that the parent may be administering the herbs to the child. The nurse's first action is to:",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font size=\"1\">answer questions honestly and frankly.</font>","<font size=\"1\">avoid interruptions by coordinating nursing actions.</font>","<font size=\"1\">encourage the child to write in a journal.</font>","<font size=\"1\">provide opportunities for the child to interact with children of the same age.</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest006 = new Question(
"Question 6",
0,
"To meet the emotional needs of a 10-year old child who is dying, the most appropriate nursing action is to:",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font size=\"1\">&quot;I think that you should consider participating on a swim team to improve your pulmonary function.&quot;</font>","<font size=\"1\">&quot;Let's talk about preventing and managing your asthma on a daily basis at home.&quot;</font>","<font size=\"1\">&quot;Why don't I speak with your parents about what they are doing at home to help control your asthma?&quot;</font>","<font size=\"1\">&quot;Your insurance company does not pay for any additional days of hospitalization that are not medically necessary.&quot;</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest007 = new Question(
"Question 7",
0,
"An adolescent with chronic asthma who has been hospitalized several times during the winter with severe asthmatic exacerbations confides, &quot;I wish I could stay here in the hospital because every time that I go home, I get sick again!&quot; The nurse's best response is:",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font size=\"1\">a high-pitched cry, colic, and pupillary changes.</font>","<font size=\"1\">anorexia and changes in pulse and respiration.</font>","<font size=\"1\">headaches, lethargy, and loss of appetite.</font>","<font size=\"1\">vomiting, tense fontanelle, and irritability.</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest008 = new Question(
"Question 8",
0,
"Early signs of ventricular shunt malfunction in infants with hydrocephalus are:",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font size=\"1\">empty her bladder at least every six to eight hours.</font>","<font size=\"1\">return for follow-up care and additional urine cultures.</font>","<font size=\"1\">wear nylon underwear in place of cotton underwear.</font>","<font size=\"1\">wipe from back to front after urinating.</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest009 = new Question(
"Question 9",
0,
"An eight-year-old female patient has dysuria and urinary urgency and frequency. A clean-catch urine culture contains over 100,000 colonies of <i>Escherichia coli</i> per mL of urine. After instructing the patient and her family to safely administer the prescribed antibiotic, the nurse recommends that the patient:",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font size=\"1\">directly on the skin for a better effect.</font>","<font size=\"1\">each lobe of the lung separately.</font>","<font size=\"1\">each side of the child completely.</font>","<font size=\"1\">for at least 15 minutes.</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest010 = new Question(
"Question 10",
0,
"When teaching how to perform percussion and postural drainage on a child, the pediatric nurse instructs parents to use a cupped hand and percuss:",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font size=\"1\">&quot;I will need to apply moisturizer prior to my radiation treatments.&quot;</font>","<font size=\"1\">&quot;I will need to wear loose clothes over the area where I receive radiation.&quot;</font>","<font size=\"1\">&quot;My hair will not fall out because I will not need chemotherapy.&quot;</font>","<font size=\"1\">&quot;My leg will be amputated and I will not be able to play soccer.&quot;</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest011 = new Question(
"Question 11",
0,
"A 14-year-old patient has been diagnosed with Ewing sarcoma. Which statement by the patient indicates an understanding of the treatment for his or her tumor?",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font size=\"1\">adolescent's age at diagnosis.</font>","<font size=\"1\">health history prior to the diagnosis.</font>","<font size=\"1\">presence of Reed-Sternberg cells.</font>","<font size=\"1\">stage of disease at the time of diagnosis.</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest012 = new Question(
"Question 12",
0,
"The most accurate prognostic indicator for Hodgkin disease in a male adolescent is the:",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font size=\"1\">cleft lip and palette.</font>","<font size=\"1\">hepatomegaly, hypotonia, and microphthalmia.</font>","<font size=\"1\">hyperbilirubinemia, jaundice, and failure to thrive.</font>","<font size=\"1\">microcephaly, short philtrum, and prenatal growth retardation.</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest013 = new Question(
"Question 13",
0,
"Physical manifestations of fetal alcohol syndrome include:",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font size=\"1\">albumin.</font>","<font size=\"1\">deferoxamine (Desferal).</font>","<font size=\"1\">edetate calcium disodium (Calcium Disodium Versenate).</font>","<font size=\"1\">intravenous immune globulin (IVIG).</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest014 = new Question(
"Question 14",
0,
"A three-year-old boy is hospitalized with a headache, projectile vomiting, decreased urinary output, and changes in level of consciousness. Blood tests reveal a blood lead level of 100 g/dL and an abdominal x-ray shows lead deposits. The pediatric nurse anticipates that the physician's order will include:",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font size=\"1\">that no extra iron is required.</font>","<font size=\"1\">that the infant will receive adequate amounts of iron when cereal is added to the diet.</font>","<font size=\"1\">the need for an iron-fortified formula.</font>","<font size=\"1\">the need to start the infant on a daily iron supplement.</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest015 = new Question(
"Question 15",
0,
"A mother who recently stopped breastfeeding her healthy four-month-old infant is concerned about the infant's need for iron supplementation. The pediatric nurse understands:",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font size=\"1\">pH = 7.22, PCO<sub>2</sub> = 55 mm Hg, HCO<sub>3</sub> = 30 mEq/L</font>","<font size=\"1\">pH = 7.28, PCO<sub>2</sub> = 45 mm Hg, HCO<sub>3</sub> = 15 mEq/L</font>","<font size=\"1\">pH = 7.34, PCO<sub>2</sub> = 35 mm Hg, HCO<sub>3</sub> = 25 mEq/L</font>","<font size=\"1\">pH = 7.40, PCO<sub>2</sub> = 25 mm Hg, HCO<sub>3</sub> = 30 mEq/L</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest016 = new Question(
"Question 16",
0,
"Which blood gas analyses are most indicative of respiratory acidosis?",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font size=\"1\">BUN of 10 mg/dL</font>","<font size=\"1\">Hemoglobin of 8.6 g/dL</font>","<font size=\"1\">Platelet count of 18,000 mm<sup>3</sup>/uL</font>","<font size=\"1\">Serum glucose of 110 mg/dL</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest017 = new Question(
"Question 17",
0,
"A pediatric nurse is caring for a patient who received chemotherapy 10 days ago. Which laboratory value requires nursing intervention?",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font size=\"1\">parent or guardian has given verbal consent for the child's participation.</font>","<font size=\"1\">quality of care that the child receives will not be affected if the child chooses to withdraw from the study.</font>","<font size=\"1\">research meets the developmental needs of the child.</font>","<font size=\"1\">research will directly benefit the child.</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest018 = new Question(
"Question 18",
0,
"When a child participates in a research study, the pediatric nurse's primary concern is to ensure that the:",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font size=\"1\">administer the eye drops on a schedule.</font>","<font size=\"1\">have the child wear the eye patches for one week.</font>","<font size=\"1\">position the child flat or on one side for several days.</font>","<font size=\"1\">restrict the child's activity for two weeks.</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest019 = new Question(
"Question 19",
0,
"A pediatric nurse is providing discharge teaching for the parents of a child who underwent cataract surgery. The parents understand home care management for their child if they plan to:",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font size=\"1\">may feel guilty about her brother's death.</font>","<font size=\"1\">may mistrust her father.</font>","<font size=\"1\">understands the permanence of death.</font>","<font size=\"1\">will role play her brother's death.</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest020 = new Question(
"Question 20",
0,
"A father asks the pediatric nurse how best to convey to his four-year-old daughter the circumstances surrounding the sudden death of her infant brother. The nurse anticipates that the girl:",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font size=\"1\">adhering to a prescribed diet.</font>","<font size=\"1\">changing the ileostomy bag without parental assistance.</font>","<font size=\"1\">encouraging and guiding other adolescents with ileostomies.</font>","<font size=\"1\">participating in extracurricular activities at school.</font>")
corr=new Array("0","0","1","0")
comm=""
valu=""
quest021 = new Question(
"Question 21",
0,
"A 14-year-old adolescent with Crohn disease underwent a bowel resection with a permanent ileostomy one year ago. The adolescent best indicates acceptance of the ileostomy by:",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font size=\"1\">&quot;Do you have any idea how your son became so bruised?&quot;</font>","<font size=\"1\">&quot;Does your son always bruise easily?&quot;</font>","<font size=\"1\">&quot;How often does your son have temper tantrums?&quot;</font>","<font size=\"1\">&quot;When your son cries and you are unable to console him, what do you do?&quot;</font>")
corr=new Array("0","0","0","1")
comm=""
valu=""
quest022 = new Question(
"Question 22",
0,
"An 18-month-old male patient is brought to the clinic because of a cold. The patient's mother says, &quot;I don't know if his ear hurts or not, but I can't stand it when he holds his head and screams.&quot; During the physical examination, the pediatric nurse notices bruises in various stages of healing on the boy's back, arms, and legs. The nurse best elicits additional information from the mother by asking:",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font size=\"1\">they should delay future immunizations until seen by an allergist.</font>","<font size=\"1\">this is a mild reaction and teaches them how to manage it.</font>","<font size=\"1\">this is a severe reaction and that they should bring the child to the emergency room.</font>","<font size=\"1\">this is an appropriate reaction and they need not do anything.</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest023 = new Question(
"Question 23",
0,
"A child who has received an immunization for diphtheria, tetanus, and pertussis develops swelling at the injection site, tenderness, low-grade fever, and malaise. The pediatric nurse informs the child's parents that:",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font size=\"1\">infection control practices.</font>","<font size=\"1\">percentage of children who are immunized.</font>","<font size=\"1\">staff-to-child ratios.</font>","<font size=\"1\">number of diarrhea cases that occurred during the previous year.</font>")
corr=new Array("1","0","0","0")
comm=""
valu=""
quest024 = new Question(
"Question 24",
0,
"The pediatric nurse tells parents who are concerned about the spread of illness at their children's daycare centers to inquire about the facility's:",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

resp=new Array("<font size=\"1\">develop a seniority schedule for class time.</font>","<font size=\"1\">help the nurses set goals and establish priorities and support systems.</font>","<font size=\"1\">request that the nurses attend a stress management course.</font>","<font size=\"1\">schedule a staff meeting to allow the staff nurses to express their feelings.</font>")
corr=new Array("0","1","0","0")
comm=""
valu=""
quest025 = new Question(
"Question 25",
0,
"A number of nurses on a pediatric unit have young children and are taking classes toward a degree. They have recently begun to exhibit signs of stress and verbalize some negativity. The manager's best approach is to:",
resp,
comm,
corr,
"",
valu,
1,
0,
0,
"");

questions = new Array (
quest001,quest002,quest003,quest004,quest005,quest006,quest007,quest008,quest009,quest010,quest011,quest012,quest013,quest014,quest015,quest016,quest017,quest018,quest019,quest020,quest021,quest022,quest023,quest024,quest025)

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>Pediatric Nurse Sample Questions</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>"
