var bnd_token = 0; var bnd_llave=0; var bnd_clave=0; function fn_start_chat_embed(token,llave,clave) { var dominio_cliente = window.location.host; var protocolo = window.location.protocol; var url_cliente = protocolo + "//" + dominio_cliente; if (token == '' || dominio_cliente == '') return; $.ajax({ url: "https://billpocket.clearcom.mx/Clientes/ChatWeb/chat_embed.php", type: "POST", cache: false, async: true, data: {token: token, dominio_cliente: dominio_cliente,llave:llave,clave:clave}, dataType: "html", beforeSend: function () { $("#mycc-chat-embed").remove(); if ( $("#mycc-chat-embed").length == 0 ) $("