/*!
* Pusher JavaScript Library v1.9.4
* http://pusherapp.com/
*
* Copyright 2011, Pusher
* Released under the MIT licence.
*/
/*
* This library contains code with the following licences:
*
* web_socket.js:
*
* Copyright: Hiroshi Ichikawa
* License: New BSD License
* Reference: http://dev.w3.org/html5/websockets/
* Reference: http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol
*
* swfobject.js:
*
* SWFObject v2.2
* is released under the MIT License
*
* FABridge.js:
*
* Copyright 2006 Adobe Systems Incorporated
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
*/
var swfobject=function(){function j(){if(!x){try{var b=d.getElementsByTagName("body")[0].appendChild(d.createElement("span"));b.parentNode.removeChild(b)}catch(c){return}x=!0;for(var b=C.length,h=0;h0)for(var c=0;c0){var d=r(h);if(d)if(E(v[c].swfVersion)&&!(e.wk&&e.wk<312)){if(y(h,!0),a)g.success=!0,g.ref=A(h),a(g)}else if(v[c].expressInstall&&q()){g={};g.data=v[c].expressInstall;g.width=d.getAttribute("width")||"0";g.height=d.getAttribute("height")||"0";if(d.getAttribute("class"))g.styleclass=d.getAttribute("class");if(d.getAttribute("align"))g.align=d.getAttribute("align");for(var i={},d=d.getElementsByTagName("param"),f=d.length,l=0;l');g.outerHTML='";H[H.length]=b.id;p=r(b.id)}else{m=d.createElement(s);m.setAttribute("type",D);for(var l in b)b[l]!=Object.prototype[l]&&(l.toLowerCase()=="styleclass"?m.setAttribute("class",b[l]):l.toLowerCase()!="classid"&&m.setAttribute(l,b[l]));for(f in c)c[f]!=Object.prototype[f]&&f.toLowerCase()!=
"movie"&&(b=m,i=f,l=c[f],a=d.createElement("param"),a.setAttribute("name",i),a.setAttribute("value",l),b.appendChild(a));g.parentNode.replaceChild(m,g);p=m}}return p}function P(b){var c=r(b);if(c&&c.nodeName=="OBJECT")e.ie&&e.win?(c.style.display="none",function(){if(c.readyState==4){var a=r(b);if(a){for(var d in a)typeof a[d]=="function"&&(a[d]=null);a.parentNode.removeChild(a)}}else setTimeout(arguments.callee,10)}()):c.parentNode.removeChild(c)}function r(b){var c=null;try{c=d.getElementById(b)}catch(a){}return c}
function U(b,c,a){b.attachEvent(c,a);z[z.length]=[b,c,a]}function E(b){var a=e.pv,b=b.split(".");b[0]=parseInt(b[0],10);b[1]=parseInt(b[1],10)||0;b[2]=parseInt(b[2],10)||0;return a[0]>b[0]||a[0]==b[0]&&a[1]>b[1]||a[0]==b[0]&&a[1]==b[1]&&a[2]>=b[2]?!0:!1}function Q(b,a,h,f){if(!e.ie||!e.mac){var g=d.getElementsByTagName("head")[0];if(g){h=h&&typeof h=="string"?h:"screen";f&&(M=t=null);if(!t||M!=h)f=d.createElement("style"),f.setAttribute("type","text/css"),f.setAttribute("media",h),t=g.appendChild(f),
e.ie&&e.win&&typeof d.styleSheets!=k&&d.styleSheets.length>0&&(t=d.styleSheets[d.styleSheets.length-1]),M=h;e.ie&&e.win?t&&typeof t.addRule==s&&t.addRule(b,a):t&&typeof d.createTextNode!=k&&t.appendChild(d.createTextNode(b+" {"+a+"}"))}}}function y(b,a){if(R){var h=a?"visible":"hidden";x&&r(b)?r(b).style.visibility=h:Q("#"+b,"visibility:"+h)}}function S(b){return/[\\\"<>\.;]/.exec(b)!=null&&typeof encodeURIComponent!=k?encodeURIComponent(b):b}var k="undefined",s="object",D="application/x-shockwave-flash",
O="SWFObjectExprInst",n=window,d=document,w=navigator,T=!1,C=[function(){T?u():o()}],v=[],H=[],z=[],B,G,J,N,x=!1,F=!1,t,M,R=!0,e=function(){var b=typeof d.getElementById!=k&&typeof d.getElementsByTagName!=k&&typeof d.createElement!=k,a=w.userAgent.toLowerCase(),h=w.platform.toLowerCase(),e=h?/win/.test(h):/win/.test(a),h=h?/mac/.test(h):/mac/.test(a),a=/webkit/.test(a)?parseFloat(a.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):!1,g=!+"\u000b1",f=[0,0,0],i=null;if(typeof w.plugins!=k&&typeof w.plugins["Shockwave Flash"]==
s){if((i=w.plugins["Shockwave Flash"].description)&&!(typeof w.mimeTypes!=k&&w.mimeTypes[D]&&!w.mimeTypes[D].enabledPlugin))T=!0,g=!1,i=i.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),f[0]=parseInt(i.replace(/^(.*)\..*$/,"$1"),10),f[1]=parseInt(i.replace(/^.*\.(.*)\s.*$/,"$1"),10),f[2]=/[a-zA-Z]/.test(i)?parseInt(i.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}else if(typeof n.ActiveXObject!=k)try{var m=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if(m&&(i=m.GetVariable("$version")))g=!0,i=i.split(" ")[1].split(","),
f=[parseInt(i[0],10),parseInt(i[1],10),parseInt(i[2],10)]}catch(l){}return{w3:b,pv:f,wk:a,ie:g,win:e,mac:h}}();(function(){e.w3&&((typeof d.readyState!=k&&d.readyState=="complete"||typeof d.readyState==k&&(d.getElementsByTagName("body")[0]||d.body))&&j(),x||(typeof d.addEventListener!=k&&d.addEventListener("DOMContentLoaded",j,!1),e.ie&&e.win&&(d.attachEvent("onreadystatechange",function(){d.readyState=="complete"&&(d.detachEvent("onreadystatechange",arguments.callee),j())}),n==top&&function(){if(!x){try{d.documentElement.doScroll("left")}catch(b){setTimeout(arguments.callee,
0);return}j()}}()),e.wk&&function(){x||(/loaded|complete/.test(d.readyState)?j():setTimeout(arguments.callee,0))}(),f(j)))})();(function(){e.ie&&e.win&&window.attachEvent("onunload",function(){for(var b=z.length,a=0;a=0;--o)if(j[o]===f){j.splice(o,1);break}},WebSocket.prototype.dispatchEvent=function(a){for(var f=this.__events[a.type]||[],j=0;j= 10.0.0 is required.")}})();