/*Rollover-Effekt für Bilder
Copyright (c) 2009 Peter Kröner, MIT-License*/
Element.implement({replace:function(b){var a=b.getCoordinates();var c=b.getStyles("position","top","left","bottom","right","cssFloat","zIndex");this.setStyles({width:a.width,height:a.height,position:c.position,top:c.top,left:c.left,bottom:c.bottom,right:c.right,cssFloat:c.cssFloat,zIndex:c.zIndex});this.inject(b,"before");return b.dispose()},replaceWith:function(a){a.replace(this)}});
