function displayError() {
   obj=document.getElementById('errorBlock');
   try
   {
      obj.style.display="block";
   }
  catch(exception)
  {
  }
}

function setError(strErr)
{
  obj=document.getElementById('errorText');
  obj.innerHTML = strErr;
}
