http://www.codeproject.com/jscript/javascriptlinedrawing.asp
http://phpspot.org/blog/archives/2006/12/javascriptgraph.html