Почти настроили но все равно присутствует двойное поэтапное нажатие второй вызываемый логотип должен быть единственным
<!-- mibew button --><div id="mibew-agent-button" style="position: fixed; bottom: 5px; right: 55px; opacity: 1;z-index: 201;" href="/mibew/chat?locale=ru" target="_blank" onclick="Mibew.Objects.ChatPopups['5b61b1e6064f4179'].open();return false;"><img src="/mibew/styles/chats/default/images/default-logo-short.png "onClick="hidetxt('mibew-agent-button'); return false;" alt="чат" /></a><script type="text/javascript" src="/mibew/js/compiled/chat_popup.js"></script><script type="text/javascript">Mibew.ChatPopup.init({"id":"5b61b1e6064f4179","url":"\/mibew\/chat?locale=ru","preferIFrame":true,"modSecurity":false,"width":360,"height":500,"resizable":true,"styleLoader":"\/mibew\/chat\/style\/popup"});</script>
</div> <!-- / mibew button -->
<script>
var show;
function hidetxt(type){
param=document.getElementById(type);
if(param.style.display == "none") {
if(show) show.style.display = "none";
param.style.display = "block";
show = param;
}else param.style.display = "none"
}
</script>