// initialize id sequencevarclipID=0;SVG.ClipPath=functionClipPath(){this.constructor.call(this,SVG.createElement('clipPath'));this.id='_'+(clipID++);this.setAttribute('id',this.id);};// inherit from SVG.ElementSVG.ClipPath.prototype=newSVG.Element();// include the container objectSVG.ClipPath.include(SVG.Container);