<!---
newArray= new Array                                                                                                                                          ("tonyrobinson","russconway","dawnprimarolo","wggrace","tonybenn","danieldefoe","bethgibbons","massiveattack","shaungoater")
var mf=1
var cnt=0

function attempt(res) {
 tab=res * 2
 imageNo = (res *3) + 4
 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) { 
    alert("Well Done - all answers correct!")
   }
  }
  else return
 }
}
function setFocus() {
 document.forms.qform.field.focus()
}
function hint(param) {
 alert (param)
}

function reduce() {
 document.sil.width-=2
 cnt+=1
 if (cnt<100) setTimeout("reduce()",40)
 if (cnt==100) {
  if (mf==1) {mf=0;document.sil.src="grph/silw.gif"} else {mf=1;document.sil.src="grph/silm.gif"}
  increase()
 }
}

function increase() {
 document.sil.width+=2
 cnt-=1
 if (cnt>0) setTimeout("increase()",40)
}
//--->
