/*
window.onload = function(){ 
    log_history();
}
*/
$(document).ready(function () {
    log_history();
});

function log_history(){
    var url = "/log_util/?http_referer=";
    var http_referer = document.getElementById('http_referer').value;
    var current_url = document.getElementById('current_url').value;
    
    if (http_referer) {
          url = url + http_referer + "&current_url=" + current_url;
    }
    
    httpcall_return_arg(url, success_log_history, failure_log_history, "")
}

function success_log_history(_xh_rel, _arg){
    //alert(_xh_rel.responseText);
}

function failure_log_history(_arg, _xh_rel_status){
    //alert(_xh_rel_status);
}