 s.width  = dojox.gfx.normalizedLength(width); s.height = dojox.gfx.normalizedLength(height);  
dojox.gfx.createSurface = function(parentNode, width, height){	// summary: creates a surface (VML)	// parentNode: Node: a parent node	// width: String: width of surface, e.g., "100px"	// height: String: height of surface, e.g., "100px"	if(!width){ width = "100%"; }	if(!height){ height = "100%"; }	var s = new dojox.gfx.Surface(), p = dojo.byId(parentNode),		c = s.clipNode = p.ownerDocument.createElement("div"),		r = s.rawNode = p.ownerDocument.createElement("v:group"),		cs = c.style, rs = r.style;			p.style.width  = width;	p.style.height = height;			cs.width  = width;	cs.height = height;	cs.clip = "rect(0 " + width + " " + height + " 0)";	cs.position = "absolute";	rs.width  = width;	rs.height = height;	r.coordsize = (width == "100%" ? width : parseFloat(width)) + " " +		(height == "100%" ? height : parseFloat(height));	r.coordorigin = "0 0";		// create a background rectangle, which is required to show all other shapes	var b = s.bgNode = r.ownerDocument.createElement("v:rect"), bs = b.style;	bs.left = bs.top = 0;	bs.width  = rs.width;	bs.height = rs.height;	b.filled = b.stroked = false;	r.appendChild(b);	c.appendChild(r);	p.appendChild(c);	return s;	// dojox.gfx.Surface};
5168	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5168/37fa8b0bf6e1ab6b469d50f42c788657b67e62de/vml.js/clean/gfx/vml.js