function chkPassMatch(curpass, outmatch)
{
  
  if(curpass != document.tutorregform.tutorpassword1.value)
  {
  document.getElementById(outmatch).style.color = 'red';
  document.getElementById(outmatch).innerHTML = " Unmatched password...";
  }

  else
  {
  document.getElementById(outmatch).style.color = 'green';
  document.getElementById(outmatch).innerHTML = " Matching password!";
  }

}
