
Another thing is the using of SVG from within javascript. It is as simple as that:
<?xml version="1.0" encoding="utf-8"?>
<svg>
<g id="bgControl">
<image id="background" xlink:href="../img/logo.gif"
width="760" height="250" image-rendering="optimizeSpeed"/>
</g>
</svg>
<embed name="somename" src="inc/body.svg" type="image/svg-xml" pluginspace="http://www.adobe.com/svg/viewer/install/" height="250" width="760">To get SVG viewer to install automagically, download the autoinstaller from here. I think I will get rid of the autoinstaller. It relies on checking cookies at adobe site - as smart as locking a fridge with a key stored by your grandma.
SVGDoc = document.somename.getSVGDocument();And then you just play with SVGDoc variable!!!