fixed it. we readded the code to the draw() function like this:
Response.Write "<SCRIPT LANGUAGE=javascript>" & VbCrLf
Response.Write "<!--" & VbCrLf
Response.Write "function save(x) {" & VbCrLf
Response.Write "return true" & VbCrLf
Response.Write "}" & VbCrLf
Response.Write "//-->" & VbCrLf
Response.Write "</SCRIPT>" & VbCrLf
simply adding a browser detection and if the code is written for mozilla or a browser that doesn't support richtext the above is written