function tellafriend(fromName, fromMail, toName, toMail, text, pointURL){     
      var xmlHttp;
      try
        {
        // Firefox, Opera 8.0+, Safari
        xmlHttp=new XMLHttpRequest();
        }
      catch (e)
        {
        // Internet Explorer
        try
          {
              xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
          }
        catch (e)
          {
          try
            {
                xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
            }
          catch (e)
            {
            alert("Your browser does not support AJAX!");
            return false;
            }
          }
        }

        xmlHttp.onreadystatechange=function()
        {
          if(xmlHttp.readyState==4)
          { 
            document.getElementById('cmd_reactionMsg').innerHTML = xmlHttp.responseText;  
            //document.getElementById('cmd_box2').innerHTML = xmlHttp.responseText;           
          }
        }

//        var productCode = escape(document.getElementById('id_elementa_koji_sadrzi_product_name').value);
//        var clientId = escape(document.getElementById('id_elementa_koji_sadrzi_client_id').value);
//        var clientType = escape(document.getElementById('id_elementa_koji_sadrzi_clientType').value);
        document.getElementById('cmd_reactionMsg').innerHTML = "... sending your reaction ...";         

        var url = "http://www.depoort.org/modules/content/frontend/scripts/php/tellafriend.php";
        
        var params = "fromName="+fromName+"&fromMail="+fromMail+"&toName="+toName+"&toMail="+toMail+"&text="+text+"&pointURL="+pointURL;
        xmlHttp.open("POST", url, true);

        //Send the proper header information along with the request
        xmlHttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
        xmlHttp.setRequestHeader("Content-length", params.length);
        xmlHttp.setRequestHeader("Connection", "close");

//        xmlHttp.onreadystatechange = function() {//Call a function when the state changes.
//          if(xmlHttp.readyState == 4 && xmlHttp.status == 200) {
//            alert(xmlHttp.responseText);
//          }
//        }
        xmlHttp.send(params);
///        xmlHttp.open("GET",url,true);
///        xmlHttp.send(null);

}
