var xmlhttp = new ActiveXObject("Microsoft.xmlhttp");
urlpath = "Action/ip.php?url="+encodeURIComponent(document.referrer)+"&page="+document.URL;
function Get_ip() {
    xmlhttp.open("post", urlpath, false);
    xmlhttp.send();
}
 Get_ip();
  
