SVG.Rect=function(){this.constructor.call(this,SVG.create('rect'))}// Inherit from SVG.ShapeSVG.Rect.prototype=newSVG.Shape//SVG.extend(SVG.Container,{// Create a rect elementrect:function(width,height){returnthis.put(newSVG.Rect().size(width,height))}})