What could be wrong with this javascript code which controls visibility of SVG objects:
svgobj = svgdoc.getElementById(element_name); if (!checkbox.ch