title: Fancybox - form submit and close it?
body: <p><strong>I start my fancybox like code down</strong></p>
  
  <pre><code>$('a.detail').click(function() {
     $.fancybox({
           'width'         : 750,
           'height'        : 520,
           'title'         : 'EDIÇÃO DE SHOW',
     'titlePosition' : 'inside',
     'transitionIn' : 'fade',
     'transitionOut' : 'none',
     'href'          : 'templates/detail.php?id=&lt;?php echo $tg_id['id'];?&gt;',
     'type'          : 'iframe'  
     })
    })
  </code></pre>
  
  <p>and into myfancy, I got a form to update informations about schedules.</p>
  
  <pre><code>$(function() {
  
     $("form#comment").submit(function() {
  
     var dat = $("#datepicker").val();
     var uf = $("#uf").val();
     var flr = $("input[name='flpic']:checked").val();
     var tit = $("#titulo").val();
     var mssg = $("#mensagem").val();
     var id = $("#id").val();
  
     if(BrowserDetect.browser == 'Explorer'){
      var nav = 'ie'
     } else {
      var nav = 'ot'
     }
  
     $.ajax({
  
               type: "POST",
               url: "edit_agenda.php",
               data: "id="+id+"&amp;datepicker="+ dat+"&amp;uf="+uf+"&amp;fl="+flr+"&amp;titulo="+tit+"&amp;mensagem="+mssg+"&amp;bro="+nav,
               success: function(){
  
        $("#status").html("&lt;img src='../images/1-0.gif' alt='Enviando' /&gt;");
  
     **???? Can I call some function to close this fancy here?**   
  
                }
  
           });
  
        return false;
  
    });
  
   });
  </code></pre>
  
  <p>My question is:</p>
  
  <p>After submit this form, can I close this fancy within a function?</p>