' aWin.document.write(bstr) aWin.document.close() } function testSelect ( str ) { var corr = " " var wrong = " " theone = str if (theone == 'a'){ wrong = choice1 }else{ if (theone == 'b'){ wrong = choice2 }else{ if (theone == 'c'){ wrong = choice3 }else{ if (theone == 'd'){ wrong = choice4 }else{ wrong = choice5 } } } } if (theadj == 'a'){ corr = choice1 }else{ if (theadj == 'b'){ corr = choice2 }else{ if (theadj == 'c'){ corr = choice3 }else{ if (theadj == 'd'){ corr = choice4 }else{ corr = choice5 } } } } numtried = numtried + 1 itemCt=itemCt + 1 //thepic = " " //myName = window.getName.theName if (theone == theadj){ numcorr = numcorr + 1 theone = thisitem + "

" theone += (myName + " you got it right! " + "

" +"Score: "+numcorr+" out of "+numtried) + "

" ; theone += "You answered: " + ''+ corr + ''+ "

" theone += themore + "

" + "Click NEXT" openNote (theone) } else{ theone = thisitem + "

" theone += (myName + " sorry- "+ "

" + "Score: "+numcorr+" out of "+numtried) + "

" theone += "You answered: " +''+ wrong + '' + "

" theone += "The correct answer is: " +''+ corr + '' + "

" theone += themore + "

" theone += "Click NEXT" openNote (theone) } } function nextItem ( ) { if (itemCt == 17){ theWord = "You've reached the end of the Animal Quiz " + "

" + "

" theWord += "Name: " + myName + "

" theWord += "Score: " + numcorr + " out of " + numtried + "

" theWord += '[Good work!

' thepic = " " numcorr = 0 numtried = 0 }else{ theWord = getVerb() } openNote (theWord) if (itemCt == 17){ itemCt = 0 } } function newQuiz ( ) { getList() numcorr = 0 numtried = 0 nextItem () } function quitQuiz () { window.location = "../index.html" } function doSound1 () { sound = 1 } function doSound2 () { sound = 0 } function doName (str1, str2) { myName = str1 myId = str2 newQuiz () } //--> </head> <body background="../images/chktile.gif" nosave> <font face="Comic Sans MS">Please upgrade your browser to IE 4.0 or Netscape 4.0&nbsp;</font>