function start() {
  document.opposites.black.focus();
}

function validate() {
 
  if (document.opposites.black.value != "white") {
      alert("try again for black");
      document.opposites.black.focus();
      document.opposites.black.select();
      return false;
}
  if (document.opposites.beautiful.value != "ugly") {
      alert("try again for beautiful");
      document.opposites.beautiful.focus();
      document.opposites.beautiful.select();
      return false;
    }
 
  if (document.opposites.happy.value != "sad"){
      alert("try again for happy");
       document.opposites.happy.focus();
       document.opposites.happy.select();
       return false; 
}
  if (document.opposites.tall.value !="short"){
      alert("try again for tall");
      document.opposites.tall.focus();
      document.opposites.tall.select();
      return false;
  }
  if (document.opposites.difficult.value !="easy"){
      alert("try again for difficult");
      document.opposites.difficult.focus();
      document.opposites.difficult.select();
      return false;
  }
  if (document.opposites.soft.value !="hard"){
      alert("try again for soft");
      document.opposites.soft.focus();
      document.opposites.soft.select();
      return false;
  }
  if (document.opposites.first.value !="last"){
      alert("try again for first");
      document.opposites.first.focus();
      document.opposites.first.select();
      return false;
  }
  if (document.opposites.early.value !="late"){
      alert("try again for early");
      document.opposites.early.focus();
      document.opposites.early.select();
      return false;
  }
  if (document.opposites.expensive.value !="cheap"){
      alert("try again for expensive");
      document.opposites.expensive.focus();
      document.opposites.expensive.select();
      return false;
  }
  if (document.opposites.wrong.value !="right"){
      alert("try again for wrong");
      document.opposites.wrong.focus();
      document.opposites.wrong.select();
      return false;
  }
  if (document.opposites.full.value !="empty"){
      alert("try again for full");
      document.opposites.full.focus();
      document.opposites.full.select();
      return false;
  }
  if (document.opposites.quiet.value !="noisy"){
      alert("try again for quiet ");
      document.opposites.quiet.focus();
      document.opposites.quiet.select();
      return false;
  }
  if (document.opposites.dark.value !="light"){
      alert("try again for dark");
      document.opposites.dark.focus();
      document.opposites.dark.select();
      return false;
  }
  if (document.opposites.left.value !="right"){
      alert("try again for left");
      document.opposites.left.focus();
      document.opposites.left.select();     
      return false;
   }
  if (document.opposites.high.value !="low"){
      alert("try again for high");
      document.opposites.high.focus();
      document.opposites.high.select();
      return false;
   }
   if (document.opposites.push.value !="pull"){
      alert("try again for push");
      document.opposites.push.focus();
      document.opposites.push.select();
      return false;
   }
   if (document.opposites.bring.value !="take"){
      alert("try again for bring");
      document.opposites.bring.focus();
      document.opposites.bring.select();
      return false;
   }
   if (document.opposites.rich.value !="poor"){
      alert("try again for rich");
      document.opposites.rich.focus();
      document.opposites.rich.select();
      return false;
   }
  if (document.opposites.love.value !="hate"){
      alert("try again for love");
      document.opposites.love.focus();
      document.opposites.love.select();
      return false;
   }
  if (document.opposites.far.value !="near"){
      alert("try again for far");
      document.opposites.far.focus();
      document.opposites.far.select();
      return false;
   }

   alert("All your answers are correct.");
   return true;
}

function answers() {
    NewWin=window.open('answers1.html','NewWin',
   'toolbar=no,status=no,width=300,height=380');
}