(function(d,f){if(!d.RumbleTalkChat)d.RumbleTalkChat={init:function(c){return 1===c.toolbar?d.RumbleTalkChat.initToolbar(c):d.RumbleTalkChat.initEmbed(c)}};if(!d.RumbleTalkChat.initEmbed)d.RumbleTalkChat.initEmbed=function(c){if(d.RumbleTalkChat[c.hash])throw Error("Trying to create a duplicate chat with code: "+c.hash);var g="__rtc-"+(new Date).getTime(),h;try{f.write('<div id="'+g+'"></div>'),h=f.getElementById(g)}catch(k){}var g=navigator.userAgent.toUpperCase(),a={mainDiv:0,parent:0,protocol:"https://",
server:0,hash:0,iframe:0,mobile:-1!=g.indexOf("MOBILE")||-1!=g.indexOf("ANDROID")||-1!=g.indexOf("IOS"),init:function(b){a.mainDiv=f.getElementById(b.divId);!a.mainDiv&&!h&&setTimeout(function(){a.init(b)},10);a.mainDiv?h&&h.parentNode.removeChild(h):a.mainDiv=h;a.server=b.server;a.hash=b.hash;a.mobile&&2===b.toolbar?a.drawImage(b):a.draw(b)},draw:function(b){a.parent=a.mainDiv.parentNode;a.mainDiv.style.overflow="hidden";a.iframe=f.createElement("iframe");a.iframe.src=a.protocol+b.server+"/"+b.hash+
"/";a.iframe.frameBorder=0;a.iframe.setAttribute("allowtransparency",!0);a.iframe.style.width="100%";a.iframe.style.height="100%";a.iframe.style.overflow="hidden";a.iframe.style.backgroundColor="transparent";a.mainDiv.appendChild(a.iframe);a.size();d.addEventListener?d.addEventListener("resize",a.size,!1):/MSIE\s6/i.test(navigator.userAgent)||/MSIE\s7/i.test(navigator.userAgent)?d.attachEvent("onload",function(){a.size();d.attachEvent("onresize",a.size)}):d.attachEvent("onresize",a.size)},drawImage:function(b){function i(){a.iframe?
a.iframe.focus():(a.iframe=d.open(j),c=setInterval(function(){a.iframe.closed&&(clearInterval(c),delete a.iframe)},1E3))}var e=new Image,j="https://www.rumbletalk.com/client/chat.php?"+b.hash,c;a.mainDiv.style.textAlign="center";e.src=b.cdn+"images/mobile-redirect.png";e.style.cursor="pointer";e.alt="Click here to join the chat";e.setAttribute("role","link");e.onclick=i;a.mainDiv.appendChild(e);b=f.createElement("h3");b.innerHTML="Click here to join the chat";b.onclick=i;b.setAttribute("role","link");
a.mainDiv.appendChild(b)},style:function(a,i){var e=0,c,f;for(c=0;c<i.length;c+=1)f=d.getComputedStyle?d.getComputedStyle(a,"")[i[c]]:a.currentStyle[i[c]],isNaN(parseInt(f))&&(f=0),e+=parseInt(f);return e},size:function(){var b=0,c=0;"rumbletalk-chat-fullscreen"===a.parent.id&&0<d.innerWidth&&0<d.innerHeight?(b=d.innerWidth,c=d.innerHeight):0<a.parent.clientWidth&&0<a.parent.clientHeight?(b=a.parent.clientWidth,c=a.parent.clientHeight):0<a.style(a.parent,["width"])&&0<a.style(a.parent,["height"])?
(b=a.style(a.parent,["width"]),c=a.style(a.parent,["height"])):0<parseInt(a.parent.width)&&0<parseInt(a.parent.height)&&(b=parseInt(a.parent.width),c=parseInt(a.parent.height));if(0<b&&0<c)var e="CSS1Compat"===f.compatMode?0:a.style(a.parent,["marginLeft","marginRight","paddingLeft","paddingRight"]),b=b-e+"px",e=1<a.mainDiv.childNodes.length?28:0,c=c-a.style(a.parent,["marginTop","marginBottom","paddingTop","paddingBottom"])-e+"px";else c=b="100%";a.iframe.style.width=b;a.iframe.style.height=c}};
a.init(c);return a}})(window,document);
window.RumbleTalkChat['85YWmcWT'] = window.RumbleTalkChat.init({"hash":"85YWmcWT","server":"service4.rumbletalk.net","url":null,"divId":"rt-d7a1d914c97c8f387cdc82b4407b9932","side":0,"toolbar":null,"cdn":"\/\/d1pfint8izqszg.cloudfront.net\/"});