<!---
newArray= new Array                                                                                                                                    ("wallace","cobalt","1864","bevan","bristolchannel","carygrant","elephant","john","zigzag")
function attempt(res) {
 tab=res * 2
 imageNo = tab + 1
 ans=document.qform[tab].value.toLowerCase()
 ans=ans.replace(/-/gi,'')
 if (ans.replace(/ /gi,'')==newArray[res]) {
  document.images[imageNo].src="grph/yes.gif"
  document.images[imageNo].alt="yes"
  checkAll()
 }
 else {
  document.images[imageNo].src= "grph/no.jpg"
  document.images[imageNo].alt="no"
 }
}
function checkAll() {
 for (i=0; i<9; i++) {
  tab=i * 2
  ans=document.qform[tab].value.toLowerCase()
  if (ans.replace(/ /gi,'')==newArray[i]) {
   if (i>7) {
    var reply = alert("Well Done - all answers correct!"+'\n'+"Code is: "+String.fromCharCode(66)+newArray[7])
   }
  }
  else return
 }
}
function setFocus() {
 document.forms.qform.field.focus()
}
function hint(param) {
 alert ("HINT - "+param)
}
//--->

