i get the error

JavaScript runtime error: Unable to get property 'open' of undefined or null referenc
at line
container.document.open("text/html");

usibg mm_menu 20MAR2002 Version 6.0
* Andy Finnell
mm_menu.js

how do i rectify