> In IE7 it seems to fail in line > var c = $ > ('<a>').insertAfter(this).addClass(this.className).attr('id',this.id > +'_r');
You might want to try ('<a></a>') since IE is fussy about those things. It looks like you did that in several other places.