function registervisit (ACCOUNT_ID)
{
var newdata;
newdata =""; 
  

     var result = null;
     var scriptUrl = "http://live-chatsoftware.com/live-chat/banner.aspx?ACCOUNT_ID=" + ACCOUNT_ID;
     $.ajax({
        url: scriptUrl,
        type: 'get',
        cache: false,
        dataType: 'html',
        async: false,
        success: function(data) {
            newdata = data;
        } 
     });
   return newdata;
}

function showdialogbox (ACCOUNT_ID,session_id)
{
var newdata;
newdata =""; 
  
     var result = null;
     var scriptUrl = "http://live-chatsoftware.com/live-chat/getinvitation.aspx?ACCOUNT_ID=" + ACCOUNT_ID + "&SESSION_ID=" + session_id;
     $.ajax({
        url: scriptUrl,
        type: 'get',
        cache: false,
        dataType: 'html',
        async: false,
        success: function(data) {
            newdata = data;
        } 
     });
   return newdata;
}


