There is no document.tit property, that's why
I fixed it, there was incorrect <! comments all over the doc.