";if(a=document.getElementById("spci_"+a))a.contentDocument.write(c),a.contentDocument.close()}function checkForNetworkToggle(){if(document.getElementsByClassName("network-list").length){var a=document.getElementsByClassName("network-toggle")[0];35';
document.getElementsByTagName("body")[0].insertAdjacentHTML("beforeend",c);document.getElementsByClassName("tb-inter-mask")[0].addEventListener("click",function(){a.close()});document.getElementsByClassName("tb-inter-btn-wrapper")[0].addEventListener("click",function(){a.close()})};Inter.prototype.close=function(){var a=document.getElementsByClassName("tb-inter")[0];a.parentNode.removeChild(a);0diaImageSrc.indexOf(".gif")&&
(timer=window.setTimeout("nextDia()",150)))});a.addEventListener("mouseleave",function(){hovering=!1;window.clearTimeout(timer);diaImageSrc=this.getAttribute("src");-1==diaImageSrc.indexOf("data:image")&&"src"in this.dataset&&this.setAttribute("src",this.dataset.src)})});a=atob("eHk5MS5hcHA=");window.location.hostname==a&&(a=document.getElemetsByTagName("body")[0].dataset.domain,window.location.href="https://www."+a+window.location.pathname);a=document.querySelectorAll(".orderbox");Array.prototype.forEach.call(a,
function(a,c){a.addEventListener("change",function(a){0this.status){var a=JSON.parse(this.response);a=parseInt(100*a.rating);document.getElementById(" video_rating").textcontent="a+"%";document.getElementById("rating_box").classList.add("rated")}};a.send();sendUAEvent("Rating","click",this.dataset.rating)})});(a=document.getElementById("favorite_btn"))&&" a.addeventlistener("click",function(a){a.preventdefault();a="new" user="" togglefavorite="" video")[0].dataset.id,!0);a.onload="function(){200<=this.status&&400">this.status&&(JSON.parse(this.response).status?document.getElementById("favorite_btn").classList.add("active"):document.getElementById("favorite_btn").classList.remove("active"))};a.send();sendUAEvent("Favorite","click",this.dataset.rating)});a=document.getElementsByClassName("network-toggle");
0window.innerWidth?"5px":"50px",b.onload=function(){iFrameResize({log:!1,sizeWidth:!0,onResized:function(a){},onMessage:function(a){console.log("MESSAGE CALLBACK: "+a.message);a.message.indexOf("jsoncommand")&&(a=JSON.parse(a.message),"resize"==a.action?document.getElementById("chatina_frame").iFrameResizer.resize():"redirect"==a.action?window.location.replace(a.url):"openwindow"==a.action&&window.open(a.url,"_blank"))},onClosed:function(a){console.log("CLOSED CALLBACK: "+a);c.setCookie("widget_status",
"closed",.042);c.setCookie("widget_status_session","closed")},onInit:function(a){var b=document.createElement("a");b.href=this.widgetUrl;for(var c=decodeURIComponent(document.cookie).split(";"),e="",k=0;k