Back
to top
You have been logged out due to an extended period of inactivity. Please return to the login page to sign back in. Thanks!
Hospitality
Hospitality
70 Items
RG
22H
00E
033
2J
3XW
32W
1XW
042
GRAY
Loading please wait...
No more results to display
" +
"" +
"" +
//ENG-1082
"
\"" + chatbtn_tooltip_text + "\"";
/* " ";
*/
doc.getElementById("widgetlbtn").style.color = color;
doc.getElementById("widgetlbtn").style.backgroundColor = msg.widgetcolor;
doc.getElementById("widgetlbtn").style.display = 'block';
count = count != undefined ? count : 0;
doc.getElementById("spnwidgetlbtn").setAttribute("aria-label", "Chat button , " + count + " unread messages"); //ENG-1082
doc.getElementById("widgetlbtn").addEventListener('click', function () {
console.log("switchicon called");
if (parent.IMIChatInit != undefined)
{
parent.IMIChatInit.chatswitchicon();
}
else
{
IMIChatInit.chatswitchicon();
}
});
document.getElementById('imi-chatbutton').style.display = "block";
//console.log( doc.getElementById("widgetlbtn"));
/*$('[data-toggle=\"tooltip\"]').tooltip();*/
// doc.close();
/* for test */
var doc1 = document.getElementById('chatunread-frame').contentWindow.document;
// doc1.open();
doc1.head.innerHTML = "
" +
"";
doc1.body.innerHTML = "
x";
// ""+
//"" +
//"