<!---
newArray= new Array                                                                                                                                    ("avongorge","portbury","cadburycamp","grace","college","kennel")
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<6; i++) {
  tab=i * 2
  ans=document.qform[tab].value.toLowerCase()
  if (ans.replace(/ /gi,'')==newArray[i]) {
   if (i>4) alert("Well Done - All answers correct!"+'\n'+"Code is: "+String.fromCharCode(33)+newArray[4])
  }
  else return
 }
}
function setFocus() {
 document.forms.qform.field.focus()
}
function hint(param) {
 alert ("HINT - "+param)
}
//--->