/*!
* Pusher JavaScript Library v1.8.3
* http://pusherapp.com/
*
* Copyright 2010, New Bamboo
* 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 o(){if(!A){try{var a=h.getElementsByTagName("body")[0].appendChild(h.createElement("span"));a.parentNode.removeChild(a)}catch(b){return}A=true;a=G.length;for(var c=0;c0)for(var b=
0;b0){var j=t(c);if(j)if(I(x[b].swfVersion)&&!(g.wk&&g.wk<312)){B(c,true);if(e){f.success=true;f.ref=D(c);e(f)}}else if(x[b].expressInstall&&r()){f={};f.data=x[b].expressInstall;f.width=j.getAttribute("width")||"0";f.height=j.getAttribute("height")||"0";if(j.getAttribute("class"))f.styleclass=j.getAttribute("class");if(j.getAttribute("align"))f.align=j.getAttribute("align");var i={};j=j.getElementsByTagName("param");for(var m=
j.length,n=0;n';f.outerHTML='";L[L.length]=a.id;e=t(a.id)}else{m=h.createElement(u);m.setAttribute("type",H);for(var n in a)if(a[n]!=Object.prototype[n])if(n.toLowerCase()=="styleclass")m.setAttribute("class",
a[n]);else n.toLowerCase()!="classid"&&m.setAttribute(n,a[n]);for(j in b)if(b[j]!=Object.prototype[j]&&j.toLowerCase()!="movie"){a=m;i=j;n=b[j];c=h.createElement("param");c.setAttribute("name",i);c.setAttribute("value",n);a.appendChild(c)}f.parentNode.replaceChild(m,f);e=m}}return e}function W(a){var b=t(a);if(b&&b.nodeName=="OBJECT")if(g.ie&&g.win){b.style.display="none";(function(){if(b.readyState==4){var c=t(a);if(c){for(var e in c)if(typeof c[e]=="function")c[e]=null;c.parentNode.removeChild(c)}}else setTimeout(arguments.callee,
10)})()}else b.parentNode.removeChild(b)}function t(a){var b=null;try{b=h.getElementById(a)}catch(c){}return b}function aa(a,b,c){a.attachEvent(b,c);C[C.length]=[a,b,c]}function I(a){var b=g.pv;a=a.split(".");a[0]=parseInt(a[0],10);a[1]=parseInt(a[1],10)||0;a[2]=parseInt(a[2],10)||0;return b[0]>a[0]||b[0]==a[0]&&b[1]>a[1]||b[0]==a[0]&&b[1]==a[1]&&b[2]>=a[2]?true:false}function X(a,b,c,e){if(!(g.ie&&g.mac)){var f=h.getElementsByTagName("head")[0];if(f){c=c&&typeof c=="string"?c:"screen";if(e)T=v=null;
if(!v||T!=c){e=h.createElement("style");e.setAttribute("type","text/css");e.setAttribute("media",c);v=f.appendChild(e);if(g.ie&&g.win&&typeof h.styleSheets!=l&&h.styleSheets.length>0)v=h.styleSheets[h.styleSheets.length-1];T=c}if(g.ie&&g.win)v&&typeof v.addRule==u&&v.addRule(a,b);else v&&typeof h.createTextNode!=l&&v.appendChild(h.createTextNode(a+" {"+b+"}"))}}}function B(a,b){if(Y){var c=b?"visible":"hidden";if(A&&t(a))t(a).style.visibility=c;else X("#"+a,"visibility:"+c)}}function Z(a){return/[\\\"<>\.;]/.exec(a)!=
null&&typeof encodeURIComponent!=l?encodeURIComponent(a):a}var l="undefined",u="object",H="application/x-shockwave-flash",V="SWFObjectExprInst",q=window,h=document,y=navigator,$=false,G=[function(){$?p():s()}],x=[],L=[],C=[],E,K,Q,U,A=false,J=false,v,T,Y=true,g=function(){var a=typeof h.getElementById!=l&&typeof h.getElementsByTagName!=l&&typeof h.createElement!=l,b=y.userAgent.toLowerCase(),c=y.platform.toLowerCase(),e=c?/win/.test(c):/win/.test(b);c=c?/mac/.test(c):/mac/.test(b);b=/webkit/.test(b)?
parseFloat(b.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false;var f=!+"\u000b1",j=[0,0,0],i=null;if(typeof y.plugins!=l&&typeof y.plugins["Shockwave Flash"]==u){if((i=y.plugins["Shockwave Flash"].description)&&!(typeof y.mimeTypes!=l&&y.mimeTypes[H]&&!y.mimeTypes[H].enabledPlugin)){$=true;f=false;i=i.replace(/^.*\s+(\S+\s+\S+$)/,"$1");j[0]=parseInt(i.replace(/^(.*)\..*$/,"$1"),10);j[1]=parseInt(i.replace(/^.*\.(.*)\s.*$/,"$1"),10);j[2]=/[a-zA-Z]/.test(i)?parseInt(i.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),
10):0}}else if(typeof q.ActiveXObject!=l)try{var m=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if(m)if(i=m.GetVariable("$version")){f=true;i=i.split(" ")[1].split(",");j=[parseInt(i[0],10),parseInt(i[1],10),parseInt(i[2],10)]}}catch(n){}return{w3:a,pv:j,wk:b,ie:f,win:e,mac:c}}();(function(){if(g.w3){if(typeof h.readyState!=l&&h.readyState=="complete"||typeof h.readyState==l&&(h.getElementsByTagName("body")[0]||h.body))o();if(!A){typeof h.addEventListener!=l&&h.addEventListener("DOMContentLoaded",
o,false);if(g.ie&&g.win){h.attachEvent("onreadystatechange",function(){if(h.readyState=="complete"){h.detachEvent("onreadystatechange",arguments.callee);o()}});q==top&&function(){if(!A){try{h.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}o()}}()}g.wk&&function(){A||(/loaded|complete/.test(h.readyState)?o():setTimeout(arguments.callee,0))}();k(o)}}})();(function(){g.ie&&g.win&&window.attachEvent("onunload",function(){for(var a=C.length,b=0;b=0;--s)if(p[s]===k){p.splice(s,1);break}};WebSocket.prototype.dispatchEvent=function(d){for(var k=this.__events[d.type]||[],p=0;p= 10.0.0 is required.")}})();