function send_friend(){
    var xmlHttp = createRequestObject();
       if(xmlHttp)
       {
          xmlHttp.onreadystatechange=function()
          {
             if(xmlHttp.readyState==4)
             {
                 document.getElementById('sf_dialog_text').innerHTML=xmlHttp.responseText;
                 //equalCols(0,'left_bottom','div','main_bottom','div','right_bottom','div');
             }
          }
          xmlHttp.open("GET","ajax_send_to_my_friend.php?action=send_friend"+
          "&plink="+document.getElementById('plink').value +
          "&myname="+document.getElementById('myname').value +
          "&fmail="+document.getElementById('fmail').value +
          "&comment="+document.getElementById('sfcomment').value
          ,true);
          xmlHttp.send(null);
       }
}

function show_send_friend(){
    $('#sf_dialog').dialog('open');
}
