(function(f,d){if(!f.RumbleTalkChat)f.RumbleTalkChat={init:function(d){return 1===d.toolbar?f.RumbleTalkChat.initToolbar(d):f.RumbleTalkChat.initEmbed(d)}};if(!f.RumbleTalkChat.initToolbar)f.RumbleTalkChat.initToolbar=function(h){if(f.RumbleTalkChat[h.hash])throw Error("Trying to create a duplicate chat with code: "+h.hash);var i=navigator.userAgent.toUpperCase(),a={mainDiv:0,messageInterval:0,showInterval:0,moveInterval:0,moveStep:0,moveLimit:0,moveStop:0,server:0,hash:0,bounce:5,width:750,height:500,
iframe:0,chatDiv:0,counterDiv:0,protocol:"https://",mobile:-1!=i.indexOf("MOBILE")||-1!=i.indexOf("ANDROID")||-1!=i.indexOf("IOS"),init:function(b){d.all&&"complete"!==d.readyState||!d.body?setTimeout(function(){a.init(b)},100):a.setup(b)},setup:function(b){f.addEventListener?(f.addEventListener("message",a.info,!1),a.mobile||f.addEventListener("keyup",a.escClose)):(f.attachEvent("onmessage",a.info),a.mobile||f.attachEvent("onkeyup",a.escClose));b.oppositeSide=1===b.side?"right":"left";b.side=0===
b.side?"right":"left";a.width=b.width||a.width;a.height=b.height||a.height;a.bounce=b.bounce;a.server=b.server;a.hash=b.hash;a.mainDiv=d.createElement("div");a.mainDiv.id="floating-"+b.divId;a.mainDiv.className="rumbletalk-floating-"+b.side;a.mainDiv.style.position=/MSIE\s6/i.test(navigator.userAgent)||/MSIE/i.test(navigator.userAgent)&&"CSS1Compat"!==d.compatMode?"absolute":"fixed";a.mainDiv.style.bottom="5px";a.mainDiv.style[b.side]="5px";a.mainDiv.style.zIndex=2147483647;a.mainDiv.style.lineHeight=
"12px";var e=d.createElement("div");e.style.position="absolute";e.style.bottom=0;e.style[b.side]=0;e.style.cursor="pointer";e.title="Click to join the conversation";e.onclick=a.mobile?a.mobileChat:a.toggle;e.onmouseover=a.stop;var g=new Image;g.src=b.image;g.style.maxWidth="none";g.alt=e.title;e.appendChild(g);if(!a.mobile){a.chatDiv=d.createElement("div");a.chatDiv.style.position="absolute";a.chatDiv.style.bottom="75px";a.chatDiv.style[b.side]=0;a.chatDiv.style.visibility="hidden";a.chatDiv.style.overflow=
"hidden";a.chatDiv.style.padding=0;a.chatDiv.style.height=0;var c=new Image;c.src=b.cdn+"images/c.png";c.style.cursor="pointer";c.style.position="absolute";c.style.top="-9px";c.style[b.oppositeSide]="-8px";c.onclick=function(){a.toggle(!0)};a.chatDiv.appendChild(c);c=d.createElement("div");c.style.width=a.width+"px";c.style.height=a.height+"px";c.style.overflow="hidden";a.iframe=d.createElement("iframe");a.iframe.src=a.protocol+a.server+"/"+a.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.bottom=0;a.iframe.style.backgroundColor="transparent";g.onload=function(){a.chatDiv.style.bottom=g.height+"px"};c.appendChild(a.iframe);a.chatDiv.appendChild(c);e.appendChild(a.chatDiv);if(b.showDetails)a.counterDiv=d.createElement("div"),a.counterDiv.style.position="absolute",a.counterDiv.style.bottom="42px",a.counterDiv.style.left="23px",a.counterDiv.style.width="28px",a.counterDiv.style.textAlign=
"center",a.counterDiv.style.font="bold 12px arial",a.counterDiv.style.color="#000",c=new Image,c.src=b.cdn+"images/toolbar/mini_wait.gif",c.alt="loading",a.counterDiv.appendChild(c),e.appendChild(a.counterDiv)}a.mainDiv.appendChild(e);d.body.appendChild(a.mainDiv);a.messageInterval=setInterval(a.query,1E3);0<a.bounce&&a.start()},start:function(){if(!(a.moveStop||0>=a.bounce))a.bounce-=1,a.moveStep=5,a.moveLimit=30,a.moveInterval=setInterval(a.move,30)},stop:function(){a.moveStop=1;a.mainDiv.style.bottom=
"5px";clearInterval(a.moveInterval)},move:function(){var b=parseInt(a.mainDiv.style.bottom)+a.moveStep;if(b>=a.moveLimit)b=a.moveLimit,a.moveStep*=-1,a.moveStep-=Math.abs(a.moveStep)%2;else if(5>=b)a.moveStep=Math.abs(a.moveStep)-1,a.moveLimit-=4,0>=a.moveLimit&&(clearInterval(a.moveInterval),setTimeout(a.start,2E3)),b=5;a.mainDiv.style.bottom=b+"px"},toggle:function(b){clearInterval(a.showInterval);var e=-100;if("hidden"===a.chatDiv.style.visibility&&!0!==b)e*=-1,a.chatDiv.style.width=0,a.chatDiv.style.height=
0,a.chatDiv.style.visibility="visible",a.chatDiv.style.overflow="visible";a.showInterval=setInterval(function(){a.show(a.chatDiv,e)},1)},mobileChat:function(){a.iframe=f.open(a.protocol+a.server+"/"+a.hash+"/#");a.iframe.onbeforeunload=function(){delete a.iframe}},show:function(b,e){var d=b.offsetWidth+e,c=b.offsetHeight+e,f=0;0>d&&(d=0);0>c&&(c=0);if(0<=d&&0<=c)d<=a.width?f=1:d=a.width,c<=a.height?f=1:c=a.height,b.style.width=d+"px",b.style.height=c+"px";if(!f||0>=d||0>=c)if(clearInterval(a.showInterval),
d<a.width)b.style.visibility="hidden",a.chatDiv.style.overflow="hidden"},query:function(){try{a.iframe.contentWindow.postMessage("toolbar",a.protocol+a.server)}catch(b){}},info:function(b){if("?"===b.data||/^http(s)?:\/\/service\d{1,2}.rumbletalk.net$/.test(b.origin)&&isFinite(b.data))clearInterval(a.messageInterval),a.counterDiv.innerHTML=b.data},escClose:function(b){27===(b.keyCode||b.which)&&a.toggle(!0)}};a.init(h);return a}})(window,document);
window.RumbleTalkChat['UZ-h-cwv'] = window.RumbleTalkChat.init({"hash":"UZ-h-cwv","server":"service3.rumbletalk.net","url":null,"divId":"rt-458bdc05ec65596728096c37215c00c4","side":0,"toolbar":1,"cdn":"\/\/d1pfint8izqszg.cloudfront.net\/","width":1000,"height":639,"bounce":1,"image":"http:\/\/rumbletalk-images-upload.s3.amazonaws.com\/e8e576d226e2da4b7a270eaa0c20448a\/1450121418-livechatbutton.png","showDetails":0});