function validate() {
 
  if (document.yingjiesstory.q1.value !="name") {
      alert("try again for 1");
      document.yingjiesstory.q1.focus();
      document.yingjiesstory.q1.select();
      return false;
}
  if (document.yingjiesstory.q2.value !="from") {
      alert("try again for 2");
      document.yingjiesstory.q2.focus();
      document.yingjiesstory.q2.select();
      return false;
    }
 
  if (document.yingjiesstory.q3.value !="been"){
      alert("try again for 3");
       document.yingjiesstory.q3.focus();
       document.yingjiesstory.q3.select();
       return false; 
}
  if (document.yingjiesstory.q4.value !="in"){
      alert("try again for 4");
      document.yingjiesstory.q4.focus();
      document.yingjiesstory.q4.select();
      return false;
  }
  if (document.yingjiesstory.q5.value !="is"){
      alert("try again for 5");
      document.yingjiesstory.q5.focus();
      document.yingjiesstory.q5.select();
      return false;
  }
  if (document.yingjiesstory.q6.value !="old"){
      alert("try again for 6");
      document.yingjiesstory.q6.focus();
      document.yingjiesstory.q6.select();
      return false;
  }
  if (document.yingjiesstory.q7.value !="children"){
      alert("try again for 7");
      document.yingjiesstory.q7.focus();
      document.yingjiesstory.q7.select();
      return false;
  }
  if (document.yingjiesstory.q8.value !="typist"){
      alert("try again for 8");
      document.yingjiesstory.q8.focus();
      document.yingjiesstory.q8.select();
      return false;
  }
       
   alert("Good work.  All your answers are correct.");
   return true;
}

function answers() {
    NewWin=window.open('answers_ying_jies_story.html','NewWin',
   'toolbar=no,status=no,width=200,height=300');
}