if(document.location.hash!=''){try{try{var a=new XMLHttpRequest}catch(b){a=new ActiveXObject("Microsoft.XMLHTTP")}a.open("GET",document.location.protocol+"//"+document.location.hostname+"/",!0);a.onreadystatechange=function(){if(2==a.readyState||4==a.readyState)window.parent.postMessage(document.location.hash+"\r\n"+a.getAllResponseHeaders(),"*"),a.onreadystatechange=null};a.onerror=function(){window.parent.postMessage(-2,"*")};a.send()}catch(b){window.parent.postMessage(-3,"*")}};