removed explanatory notes from html
cleaned up and renamed variables
added tests for support of svg, flash
using functions so as to only display flash svgweb version of svg if required because browser does not support svg natively
added shape types