if (version == null && window.ActiveXObject) { var ctl = null; try { ctl = new ActiveXObject( "Adobe.SVGCtl" ); } catch( err ) { } if( ctl ) version = ctl.getSVGViewerVersion(); }