function startHistoryMonitor(){setInterval(function(){var c=document.getElementById("scprfedb");var a=c.currentSrc;var b=window.location.hash.split("#")[1];if(a&&b&&a!=b){c.src="http://"+(typeof socialSiteId!="undefined"?socialSiteId:es)+".social."+endpoint+"/"+b;c.currentSrc=b}},100)}function goToPage(){var a=window.location.protocol+"//"+window.location.host;endpoint=endpoint.split("http://").join("");var b=window.location.toString().split("#")[1];if(!b){b="profile/index"}var c=document.getElementById("scprfedb");c.width="100%";if(typeof socialSiteId!="undefined"){c.src="http://"+socialSiteId+".social."+endpoint+"/"+b+(b.indexOf("?")==-1?"?":"&")+"social_site_url="+a}else{c.src="http://"+es+".social."+endpoint+"/"+b+"?es="+es+"&social_site_url="+a}c.currentSrc=b;c.style.border="none";c.style.overflow="hidden";startHistoryMonitor()}if(window.addEventListener){window.addEventListener("load",goToPage,false)}else{if(document.body.attachEvent){window.attachEvent("onload",goToPage)}else{window.onload=goToPage}};
