entry form toolbar document.write replacement