(function($,undef){var global=this;global.FS=global.FS||{};global.FS.PostMessage=function(){var _is_child=false,_postman=new NoJQueryPostMessageMixin("postMessage","receiveMessage"),_callbacks={},_base_url,_parent_url=decodeURIComponent(document.location.hash.replace(/^#/,"")),_parent_subdomain=_parent_url.substring(0,_parent_url.indexOf("/","https://"===_parent_url.substring(0,"https://".length)?8:7)),_init=function(){_postman.receiveMessage(function(e){var data=JSON.parse(e.data);if(_callbacks[data.type]){for(var i=0;i<_callbacks[data.type].length;i++){_callbacks[data.type][i](data.data)}}},_base_url)},_hasParent=""!==_parent_url,$window=$(window),$html=$("html");return{init:function(url,iframes){_base_url=url;_init();FS.PostMessage.receiveOnce("forward",function(data){window.location=data.url});iframes=iframes||[];if(iframes.length>0){$window.on("scroll",function(){for(var i=0;i