var ie = new ActiveXObject( "InternetExplorer.Application" )
ie.Navigate( "about:blank" )
ie.AddressBar = false
ie.StatusBar = false
ie.ToolBar = false
ie.Document.writeln( '<html><title>Test</title><body>' )
ie.Document.writeln( '<embed type="image/svg+xml" width="100%" height="95%"/>' )
ie.Document.writeln( '</body></html>' )
ie.Document.close()
ie.Width = 300
ie.Height = 300
ie.Visible = true

var sw = ie.Document.embeds[0].window
var sd = ie.Document.embeds[0].getSVGDocument()
var st = '<svg><rect id="rect" width="100%" height="100%">' +
'<animateColor attributeName="fill" values="blue;red;blue" dur="5s"' +
' repeatCount="indefinite"/>' +
'</rect></svg>'
sd.appendChild( sw.parseXML( st, sd ) )

