function doError(a1,a2,a3) {
  str = ""
  str += "<TITLE>An error has occurred</TITLE>"
  str += "<body bgcolor=black text=skyblue>"
  str += "<FONT FACE='Barbedor T, Book Antiqua, arial'><FONT COLOR=red><B>Uh Oh...</B></FONT>"
  str += "<br><BR>Something went wrong while processing this page."
  str += "<P>To&nbsp; help me identify the problem, please provide a "
  str += "brief  explanation of what you were doing on the page at the " 
  str += "time of this error, and press the submit error button below. This will help me identify and fix the error."
  str += "<FORM ACTION=\"mailto:peter_choy@bigfoot.com\">"
  str += "<CENTER>Error Description:<BR><TEXTAREA NAME=desc ROWS=5 COLS=30></TEXTAREA>"
  str += "<BR><BR>E-Mail (optional)<BR><INPUT NAME=email SIZE=30>"
  str += "<INPUT TYPE=hidden name=error VALUE=\"" + a1 + "\">"
  str += "<INPUT TYPE=hidden name=file VALUE=\"" + a2 + "\">"
  str += "<INPUT TYPE=hidden name=line VALUE=\"" + a3 + "\">"
  str += "<P><INPUT TYPE=BUTTON VALUE=\"Submit Error Information\" ONCLICK=\"window.close()\">"
  str += "</FORM></FONT></CENTER>"
  var w = window.open("","","width=400,height=425,top=55,left=215")
  var d = w.document
  d.open() 
  d.write(str)
  d.close()
  return true
}


window.onerror = doError


