see if the function is there, maybe you deleted it when adding a mod? For me that line is on 1611, although I have a super duper modded topic.asp file now
You also need the call to the sub, which can be found earlier in the file. Do a search for QuickReply() and if you don't find two instances of it, then it has been removed somehow.