function checkfields()
{
  //CHECK THAT ALL FIELDS HAVE BEEN FILLED OUT
  if(document.form1.accept.value == 'on' && document.form1.accept.value == 'on')
  {

  alert('here');
  }
             else
             {
             alert('no there');

             }
}
