Hi,
The situation
I open a layer (jQueryUI) like this.
$("#dialog").load('userinfo.html #layer').dialog('open');
userinfo.html displays the photo and the name of a facebook user.
  <html xmlns:fb="http://www.facebook.com/2008/fbml">
    <...some code...>
    <div id="layer">
      <script type="text/javascript">
        $(function() {   
        FB.init("2342342423424", "http://www.mysite.com/xd_receiver.htm");  
        });
      </script>  
      <fb:profile-pic uid="200000999530485" size="square" linked="true"></fb:profile-pic> <fb:name uid="200000999530485"></fb:name>
     </div>
   <...some code...>
</html>
The problem:
The layer opens but the fbml tags are not rendered! Please help. I think load() doenst load the js-part.
(If i open the userinfo.html in the browser everything works finde)