While I try to understand issue which cause javascript error, please, try to update overLIB to version 4.20
http://mesh.dl.sourceforge.net/sourceforge/overlib/overlib420.zip - this could fix problem.
Please, explain the situation causing error - where overLIB used, browser, etc.