var defs = new dojox.gfx.svg.Defines(); var node = document.createElementNS(dojox.gfx.svg.xmlns.svg, dojox.gfx.svg.Defines.nodeType); defs.setRawNode(node); 
var node = document.createElementNS(dojox.gfx.svg.xmlns.svg, "defs"); 
dojox.gfx.createSurface = function(parentNode, width, height){	// summary: creates a surface (SVG)	// parentNode: Node: a parent node	// width: String: width of surface, e.g., "100px"	// height: String: height of surface, e.g., "100px"	var s = new dojox.gfx.Surface();	s.rawNode = document.createElementNS(dojox.gfx.svg.xmlns.svg, "svg");	s.rawNode.setAttribute("width",  width);	s.rawNode.setAttribute("height", height);	var defs = new dojox.gfx.svg.Defines();	var node = document.createElementNS(dojox.gfx.svg.xmlns.svg, dojox.gfx.svg.Defines.nodeType); 	defs.setRawNode(node);	s.rawNode.appendChild(node);	s.defNode = node;		dojo.byId(parentNode).appendChild(s.rawNode);	return s;	// dojox.gfx.Surface};
5168	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5168/12b20a8ecbb2dbee914cb6c9c0083dfe673ebddd/svg.js/clean/gfx/svg.js