function validate() {
 
  if (document.time2.q1.value !="a quarter past five") {
      alert("try again for 1");
      document.time2.q1.focus();
      document.time2.q1.select();
      return false;
}
  if (document.time2.q2.value !="twenty to one") {
      alert("try again for 2");
      document.time2.q2.focus();
      document.time2.q2.select();
      return false;
    }
 
  if (document.time2.q3.value !="twenty five past eleven"){
      alert("try again for 3");
       document.time2.q3.focus();
       document.time2.q3.select();
       return false; 
}
  if (document.time2.q4.value !="four o'clock"){
      alert("try again for 4");
      document.time2.q4.focus();
      document.time2.q4.select();
      return false;
  }
  if (document.time2.q5.value !="ten past ten"){
      alert("try again for 5");
      document.time2.q5.focus();
      document.time2.q5.select();
      return false;
  }
  if (document.time2.q6.value !="twenty past six"){
      alert("try again for 6");
      document.time2.q6.focus();
      document.time2.q6.select();
      return false;
  }
  if (document.time2.q7.value !="five to eight"){
      alert("try again for 7");
      document.time2.q7.focus();
      document.time2.q7.select();
      return false;
  }
  if (document.time2.q8.value !="twenty five to three"){
      alert("try again for 8");
      document.time2.q8.focus();
      document.time2.q8.select();
      return false;
  }
  if (document.time2.q9.value !="five past nine"){
      alert("try again for 9");
      document.time2.q9.focus();
      document.time2.q9.select();
      return false;
  }
  if (document.time2.q10.value !="ten past eight"){
      alert("try again for 10");
      document.time2.q10.focus();
      document.time2.q10.select();
      return false;
  }
     
  if (document.time2.q11.value !="half past one"){
      alert("try again for 11");
      document.time2.q11.focus();
      document.time2.q11.select();
      return false;
  }
  if (document.time2.q12.value !="twenty to eleven"){
      alert("try again for 12");
      document.time2.q12.focus();
      document.time2.q12.select();
      return false;
  }
   alert("Good work. All your answers are correct.");
   return true;
}

function answers() {
    NewWin=window.open('answers2.html','NewWin',
   'toolbar=no,status=no,width=240,height=400');
}