SVGKit Minimal HTML File

var example = function() {
  var svg = new SVGKit(100,100)
  var rect = svg.RECT({x:10, y:10, 
                       width:50, height:50,
                       fill:'red'})
  svg.append(rect)
  var circ = svg.CIRCLE({cx:60, cy:60, r:20, 
                         fill:'blue', 
                         'fill-opacity':0.5})
  svg.append(circ)
  appendChildNodes('mydiv', svg.htmlElement)
}
addLoadEvent(example);