jquery.wrap + diggthis.js = not working

jquery.wrap + diggthis.js = not working

Hi,

Been searching all day and cant find a solution!

when I use the wrap function in jquery to wrap a div around a diggthis.js call the diggthis.js freezes up the page in FF and gets canceled in safari...

here is the jquery code:

$(document).ready(function(){
   $("div.rounded").wrap('<div></div>');
});


Here is the markup:

<div class="rounded">
   <script type="text/javascript">
      digg_url = "myURL.com";
   </script>
   <script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>



Any ideas? All I really need to do is get a div with the class='rounded' wrapped in some extra divs. If there is another/better way please let me know (dont even have to use jquery if its not needed)

Thanks!
-=b=-