/*
Name: js_facebook
Url: http://d1vgw4v7ja2ido.cloudfront.net/-77325a2a966d73c8.js
Generated: Jan 10, 2010 07:27 PM PST
Files: ['/connect-js/core.js']

*/
if(!this.JSON)this.JSON={};
(function(){function a(e){return e<10?"0"+e:e}function b(e){f.lastIndex=0;return f.test(e)?'"'+e.replace(f,function(o){var p=m[o];return typeof p==="string"?p:"\\u"+("0000"+o.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}function c(e,o){var p,g,j=k,i,n=o[e];if(n&&typeof n==="object"&&typeof n.toJSON==="function")n=n.toJSON(e);if(typeof h==="function")n=h.call(o,e,n);switch(typeof n){case "string":return b(n);case "number":return isFinite(n)?String(n):"null";case "boolean":case "null":return String(n);case "object":if(!n)return"null";
k+=l;i=[];if(Object.prototype.toString.apply(n)==="[object Array]"){g=n.length;for(e=0;e<g;e+=1)i[e]=c(e,n)||"null";o=i.length===0?"[]":k?"[\n"+k+i.join(",\n"+k)+"\n"+j+"]":"["+i.join(",")+"]";k=j;return o}if(h&&typeof h==="object"){g=h.length;for(e=0;e<g;e+=1){p=h[e];if(typeof p==="string")if(o=c(p,n))i.push(b(p)+(k?": ":":")+o)}}else for(p in n)if(Object.hasOwnProperty.call(n,p))if(o=c(p,n))i.push(b(p)+(k?": ":":")+o);o=i.length===0?"{}":k?"{\n"+k+i.join(",\n"+k)+"\n"+j+"}":"{"+i.join(",")+"}";
k=j;return o}}if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+a(this.getUTCMonth()+1)+"-"+a(this.getUTCDate())+"T"+a(this.getUTCHours())+":"+a(this.getUTCMinutes())+":"+a(this.getUTCSeconds())+"Z":null};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()}}var d=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
f=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,k,l,m={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},h;if(typeof JSON.stringify!=="function")JSON.stringify=function(e,o,p){var g;l=k="";if(typeof p==="number")for(g=0;g<p;g+=1)l+=" ";else if(typeof p==="string")l=p;if((h=o)&&typeof o!=="function"&&(typeof o!=="object"||typeof o.length!=="number"))throw new Error("JSON.stringify");return c("",
{"":e})};if(typeof JSON.parse!=="function")JSON.parse=function(e,o){function p(g,j){var i,n,t=g[j];if(t&&typeof t==="object")for(i in t)if(Object.hasOwnProperty.call(t,i)){n=p(t,i);if(n!==undefined)t[i]=n;else delete t[i]}return o.call(g,j,t)}d.lastIndex=0;if(d.test(e))e=e.replace(d,function(g){return"\\u"+("0000"+g.charCodeAt(0).toString(16)).slice(-4)});if(/^[\],:{}\s]*$/.test(e.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,
"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){e=eval("("+e+")");return typeof o==="function"?p({"":e},""):e}throw new SyntaxError("JSON.parse");}})();
window.FB||(FB={_apiKey:null,_session:null,_userStatus:"unknown",_logging:true,_domain:{api:window.location.protocol+"//api.facebook.com/",cdn:window.location.protocol=="https:"?"https://s-static.ak.fbcdn.net/":"http://static.ak.fbcdn.net/",www:window.location.protocol+"//www.facebook.com/"},_locale:null,copy:function(a,b,c,d){for(key in b)if(c||typeof a[key]==="undefined")a[key]=d?d(b[key]):b[key];return a},create:function(a,b){var c=window.FB;a=a?a.split("."):[];for(var d=a.length,f=0;f<d;f++){var k=
a[f],l=c[k];if(!l){l=b&&f+1==d?b:{};c[k]=l}c=l}return c},provide:function(a,b,c){return FB.copy(typeof a=="string"?FB.create(a):a,b,c)},guid:function(a){return(a||"f")+(Math.random()*1073741824).toString(16).replace(".","")},log:function(a){if(FB._logging)if(window.Debug&&window.Debug.writeln)window.Debug.writeln(a);else window.console&&window.console.log(a);FB.Event&&FB.Event.fire("fb.log",a)},$:function(a){return document.getElementById(a)},forEach:function(a,b,c){if(Object.prototype.toString.apply(a)===
"[object Array]")if(a.forEach)a.forEach(b);else{c=0;for(var d=a.length;c<d;c++)b(a[c],c,a)}else for(d in a)if(c||a.hasOwnProperty(d))b(a[d],d,a)}});FB.provide("",{api:function(a,b){if(FB.Auth&&a.method.toLowerCase()=="auth.revokeauthorization"){var c=b;b=function(f){f===true&&FB.Auth.setSession(null,"notConnected");c&&c(f)}}try{FB.RestServer.jsonp(a,b)}catch(d){if(FB.Flash.hasMinVersion())FB.RestServer.flash(a,b);else throw new Error("Flash is required for this API call.");}}});
FB.provide("RestServer",{_callbacks:{},sign:function(a){FB.copy(a,{api_key:FB._apiKey,call_id:(new Date).getTime(),format:"json",v:"1.0"});FB._session&&FB.copy(a,{session_key:FB._session.session_key,ss:1});if(FB._session)a.sig=FB.md5sum(FB.QS.encode(a,"",false)+FB._session.secret);return a},jsonp:function(a,b){var c=FB.guid(),d=document.createElement("script");a=FB.RestServer.sign(FB.copy({callback:"FB.RestServer._callbacks."+c},a));a=FB._domain.api+"restserver.php?"+FB.QS.encode(a);if(a.length>2E3)throw new Error("JSONP only support a maximum of 2000 bytes of input.");
FB.RestServer._callbacks[c]=function(f){b(f);delete FB.RestServer._callbacks[c];d.parentNode.removeChild(d)};d.src=a;document.getElementsByTagName("head")[0].appendChild(d)},flash:function(a,b){if(!FB.RestServer.flash._init){window.FB_OnXdHttpResult=function(c,d){FB.RestServer._callbacks[c](FB.Flash.decode(d))};FB.RestServer.flash._init=true}FB.Flash.onReady(function(){var c,d,f,k;f=FB.QS.encode(FB.RestServer.sign(FB.copy({},a)));d=FB._domain.api+"restserver.php";if(d.length+f.length>2E3)c="POST";
else{c="GET";d+="?"+f;f=""}k=document.XdComm.sendXdHttpRequest(c,d,f,null);FB.RestServer._callbacks[k]=function(l){b(JSON.parse(FB.Flash.decode(l)));delete FB.RestServer._callbacks[k]}})}});
FB.provide("",{getLoginStatus:function(a,b){if(FB._apiKey){if(a)if(!b&&FB.Auth._loadState=="loaded"){a({status:FB._userStatus,session:FB._session});return}else FB.Event.subscribe("FB.loginStatus",a);if(!(!b&&FB.Auth._loadState=="loading")){FB.Auth._loadState="loading";b=function(d){FB.Auth._loadState="loaded";FB.Event.fire("FB.loginStatus",d);FB.Event.clear("FB.loginStatus")};var c=FB.Auth.xdHandler;a=FB.guid();b=FB._domain.www+"extern/login_status.php?"+FB.QS.encode({api_key:FB._apiKey,no_session:c(b,
a,"parent",false,"notConnected"),no_user:c(b,a,"parent",false,"unknown"),ok_session:c(b,a,"parent",false,"connected"),session_version:2});FB.Frames.hidden(b,a)}}else FB.log("FB.getLoginStatus() called before calling FB.init().")},getSession:function(){return FB._session},login:function(a,b){b=b||{};if(FB._apiKey)if(FB._session&&!b.perms){FB.log("FB.login() called when user is already connected.");a&&a({status:FB._userStatus,session:FB._session})}else{var c=FB.Auth.xdHandler,d=FB.guid(),f=c(a,d,"opener",
true,FB._userStatus,FB._session);a=c(a,d,"opener",false,"connected",FB._session);b=FB._domain.www+"login.php?"+FB.QS.encode({api_key:FB._apiKey,cancel_url:f,channel_url:window.location.toString(),display:"popup",fbconnect:1,next:a,req_perms:b.perms,return_session:1,session_version:2,v:"1.0"});FB.Frames.popup(b,450,415,d)}else FB.log("FB.login() called before calling FB.init().")},logout:function(a){if(FB._apiKey)if(FB._session){var b=FB.guid();a=FB._domain.www+"logout.php?"+FB.QS.encode({api_key:FB._apiKey,
next:FB.Auth.xdHandler(a,b,"parent",false,"unknown"),session_key:FB._session.session_key});FB.Frames.hidden(a,b)}else FB.log("FB.logout() called without a session.");else FB.log("FB.logout() called before calling FB.init().")}});
FB.provide("Auth",{_callbacks:[],setSession:function(a,b){var c=!FB._session&&a,d=FB._session&&!a,f=FB._session&&a&&FB._session.uid!=a.uid,k=FB._session&&a&&FB._session.session_key!=a.session_key,l=b!=FB._userStatus,m={session:a,status:b};FB._session=a;FB._userStatus=b;l&&FB.Event.fire("auth.statusChange",m);if(d||f)FB.Event.fire("auth.logout",m);if(c||f)FB.Event.fire("auth.login",m);if(c||d||k)FB.Event.fire("auth.sessionChange",m);return m},xdHandler:function(a,b,c,d,f,k){return FB.Frames.xdHandler(function(l){var m;
try{k=JSON.parse(l.session)}catch(h){}m=FB.Auth.setSession(k||null,f);m.perms=l.result!="xxRESULTTOKENxx"&&l.result||"";a&&a(m)},b,c,d)+"&result=xxRESULTTOKENxx"}});FB.provide("Component",{loaded:{},loadedCss:{},onScriptLoaded:function(a){for(var b=a.length,c=0;c<b;c++)FB.Component.loaded[a[c]]=true;FB.Loader._onCompLoaded&&FB.Loader._onCompLoaded(a)}});
FB.provide("Content",{_root:null,_hiddenRoot:null,_callbacks:{},append:function(a,b){if(!b)if(FB.Content._root)b=FB.Content._root;else{FB.Content._root=b=FB.$("fb-root");if(!b){FB.log('The "fb-root" div has not been created.');return}}if(typeof a=="string"){var c=document.createElement("div");b.appendChild(c).innerHTML=a;return c}else return b.appendChild(a)},appendHidden:function(a){if(!FB.Content._hiddenRoot){var b=document.createElement("div"),c=b.style;c.position="absolute";c.top="-10000px";c.width=
c.height=0;FB.Content._hiddenRoot=FB.Content.append(b)}return FB.Content.append(a,FB.Content._hiddenRoot)},insertIframe:function(a,b,c){var d=FB.guid(),f=FB.Content.append("",b),k=false;FB.Content._callbacks[d]=function(){if(k){c&&c(f.firstChild);delete FB.Content._callbacks[d]}};if(document.attachEvent){var l='<iframe  src="'+a+'" onload="FB.Content._callbacks.'+d+'()"></iframe>';f.innerHTML='<iframe src="javascript:false"></iframe>';k=true;window.setTimeout(function(){f.innerHTML=l},0)}else{b=document.createElement("iframe");
b.onload=FB.Content._callbacks[d];f.appendChild(b);k=true;b.src=a}}});
FB.provide("Cookie",{_domain:null,init:function(){if(!FB.Cookie._initDone){FB.Event.subscribe("auth.sessionChange",function(a){FB.Cookie.set(a.session)});FB.Cookie._initDone=true}},load:function(){var a=document.cookie.match("\\bfbs_"+FB._apiKey+'="([^;]*)\\b'),b;if(a){b=FB.QS.decode(a[1]);b.expires=parseInt(b.expires,10);FB.Cookie._domain=b.base_domain}return b},setRaw:function(a,b,c){document.cookie="fbs_"+FB._apiKey+'="'+a+'"; expires='+(new Date(b*1E3)).toGMTString()+"; path=/"+(c?"; domain=."+
c:"");FB.Cookie._domain=c},set:function(a){a?FB.Cookie.setRaw(FB.QS.encode(a),a.expires,a.base_domain):FB.Cookie.clear()},clear:function(){FB.Cookie.setRaw("",0,FB.Cookie._domain)}});
FB.provide("",{init:function(a){if(!a||!a.apiKey)FB.log("FB.init() called without an apiKey.");else{FB.copy(a,{logging:true});FB._apiKey=a.apiKey;if(!a.logging&&window.location.toString().indexOf("fb_debug=1")<0)FB._logging=false;a.cookie&&FB.Cookie.init();a.session=a.session||FB.Cookie.load();FB.Auth.setSession(a.session,a.session?"connected":"unknown");a.status&&FB.getLoginStatus()}}});
FB.provide("EventProvider",{subscribers:function(){if(!this._subscribersMap)this._subscribersMap={};return this._subscribersMap},subscribe:function(a,b){var c=this.subscribers();if(c[a])c[a].push(b);else c[a]=[b]},unsubscribe:function(a,b){var c=this.subscribers();if(c[a])for(var d=0,f=c[a].length;d<f;d++)if(c[a][d]==b)c[a][d]=null},monitor:function(a,b){if(!b()){var c=function(){b.apply(b,arguments)&&this.unsubscribe(a,c)};this.subscribe(a,c)}},clear:function(a){var b=this.subscribers();if(b[a])for(var c=
0,d=b[a].length;c<d;c++)b[a][c]=null},fire:function(){var a=Array.prototype.slice.call(arguments),b=a.shift();b=this.subscribers()[b];var c;if(b)for(var d=0,f=b.length;d<f;d++)(c=b[d])&&c.apply(this,a)}});FB.provide("Event",FB.EventProvider);
FB.provide("Flash",{_minVersions:[[9,0,159,0],[10,0,22,87]],_swfPath:"swf/XdComm.swf",_callbacks:[],init:function(){if(!FB.Flash._init){FB.Flash._init=true;window.FB_OnFlashXdCommReady=function(){FB.Flash._ready=true;for(var c=0,d=FB.Flash._callbacks.length;c<d;c++)FB.Flash._callbacks[c]();FB.Flash._callbacks=[]};var a=!!document.attachEvent,b=FB._domain.cdn+FB.Flash._swfPath;a='<object type="application/x-shockwave-flash" id="XdComm" '+(a?'name="XdComm" ':"")+(a?"":'data="'+b+'" ')+(a?'classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ':
"")+'allowscriptaccess="always"><param name="movie" value="'+b+'"></param><param name="allowscriptaccess" value="always"></param></object>';FB.Content.appendHidden(a)}},hasMinVersion:function(){if(typeof FB.Flash._hasMinVersion==="undefined"){var a,b,c=[];try{a=(new ActiveXObject("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version")}catch(d){b="application/x-shockwave-flash";if(navigator.mimeTypes[b].enabledPlugin){a="Shockwave Flash";a=(navigator.plugins[a+" 2.0"]||navigator.plugins[a]).description}}if(a){var f=
a.replace(/\D+/g,",").match(/^,?(.+),?$/)[1].split(",");a=0;for(b=f.length;a<b;a++)c.push(parseInt(f[a],10))}FB.Flash._hasMinVersion=false;a=0;b=FB.Flash._minVersions.length;a:for(;a<b;a++){f=FB.Flash._minVersions[a];if(f[0]==c[0])for(var k=1,l=f.length,m=c.length;k<l&&k<m;k++)if(c[k]<f[k]){FB.Flash._hasMinVersion=false;continue a}else{FB.Flash._hasMinVersion=true;if(c[k]>f[k])break a}}}return FB.Flash._hasMinVersion},onReady:function(a){FB.Flash.init();FB.Flash._ready?window.setTimeout(a,0):FB.Flash._callbacks.push(a)},
decode:function(a){if(a&&a.length&&typeof a!="string")a=a[0];if(!a||typeof a!="string")return a;a=a.replace(/\&custom_lt\;/g,"<");a=a.replace(/\&custom_gt\;/g,">");a=a.replace(/\&custom_backslash\;/g,"\\");return a=a.replace(/\\0/g,"\u0000")}});
FB.provide("Frames",{_monitor:null,_count:0,_active:{},_defaultCb:{},_resultToken:'"xxRESULTTOKENxx"',hidden:function(a,b){FB.Content.insertIframe(a,FB.Content.appendHidden(""),function(c){FB.Frames._active[b]=c})},popup:function(a,b,c,d){var f=typeof window.screenX!="undefined"?window.screenX:window.screenLeft,k=typeof window.screenY!="undefined"?window.screenY:window.screenTop,l=typeof window.outerWidth!="undefined"?window.outerWidth:document.body.clientWidth,m=typeof window.outerHeight!="undefined"?
window.outerHeight:document.body.clientHeight-22;f=parseInt(f+(l-b)/2,10);k=parseInt(k+(m-c)/2.5,10);b="width="+b+",height="+c+",left="+f+",top="+k;FB.Frames._active[d]=window.open(a,"_blank",b);if(d in FB.Frames._defaultCb){FB.Frames._count++;FB.Frames.popupMonitor()}},popupMonitor:function(){if(FB.Frames._count<1){window.clearInterval(FB.Frames._monitor);FB.Frames._monitor=null}else{if(!FB.Frames._monitor)FB.Frames._monitor=window.setInterval(FB.Frames.popupMonitor,100);for(var a in FB.Frames._active)if(FB.Frames._active.hasOwnProperty(a)&&
a in FB.Frames._defaultCb){var b=FB.Frames._active[a];try{if(b.tagName)continue}catch(c){}try{if(b.closed){FB.Frames._count--;FB.Frames.xdRecv({frame:a},FB.Frames._defaultCb[a])}}catch(d){}}}},xdHandler:function(a,b,c,d){if(d)FB.Frames._defaultCb[b]=a;return FB.XD.handler(function(f){FB.Frames.xdRecv(f,a)},c)+"&frame="+b},xdRecv:function(a,b){var c=FB.Frames._active[a.frame];try{c.tagName&&window.setTimeout(function(){c.parentNode.removeChild(c)},500)}catch(d){}try{c.close&&c.close()}catch(f){}delete FB.Frames._active[a.frame];
delete FB.Frames._defaultCb[a.frame];b(a)},xdResult:function(a,b,c,d){return FB.Frames.xdHandler(function(f){a&&a(f.result&&f.result!=FB.Frames._resultToken&&JSON.parse(f.result))},b,c,d)+"&result="+encodeURIComponent(FB.Frames._resultToken)}});
FB.md5sum=function(a){function b(r,q){var s=(r&65535)+(q&65535);return(r>>16)+(q>>16)+(s>>16)<<16|s&65535}function c(r,q,s,u,v,w){r=b(b(q,r),b(u,w));return b(r<<v|r>>>32-v,s)}function d(r,q,s,u,v,w,x){return c(q&s|~q&u,r,q,v,w,x)}function f(r,q,s,u,v,w,x){return c(q&u|s&~u,r,q,v,w,x)}function k(r,q,s,u,v,w,x){return c(q^s^u,r,q,v,w,x)}function l(r,q,s,u,v,w,x){return c(s^(q|~u),r,q,v,w,x)}for(var m="0123456789abcdef",h="",e,o="",p="",g=-1,j;++g<a.length;){e=a.charCodeAt(g);j=g+1<a.length?a.charCodeAt(g+
1):0;if(55296<=e&&e<=56319&&56320<=j&&j<=57343){e=65536+((e&1023)<<10)+(j&1023);g++}if(e<=127)h+=String.fromCharCode(e);else if(e<=2047)h+=String.fromCharCode(192|e>>>6&31,128|e&63);else if(e<=65535)h+=String.fromCharCode(224|e>>>12&15,128|e>>>6&63,128|e&63);else if(e<=2097151)h+=String.fromCharCode(240|e>>>18&7,128|e>>>12&63,128|e>>>6&63,128|e&63)}e=h.length*8;a=Array(h.length>>2);for(g=0;g<a.length;g++)a[g]=0;for(g=0;g<e;g+=8)a[g>>5]|=(h.charCodeAt(g/8)&255)<<g%32;a[e>>5]|=128<<e%32;a[(e+64>>>9<<
4)+14]=e;h=1732584193;e=-271733879;j=-1732584194;var i=271733878;for(g=0;g<a.length;g+=16){var n=h,t=e,y=j,z=i;h=d(h,e,j,i,a[g+0],7,-680876936);i=d(i,h,e,j,a[g+1],12,-389564586);j=d(j,i,h,e,a[g+2],17,606105819);e=d(e,j,i,h,a[g+3],22,-1044525330);h=d(h,e,j,i,a[g+4],7,-176418897);i=d(i,h,e,j,a[g+5],12,1200080426);j=d(j,i,h,e,a[g+6],17,-1473231341);e=d(e,j,i,h,a[g+7],22,-45705983);h=d(h,e,j,i,a[g+8],7,1770035416);i=d(i,h,e,j,a[g+9],12,-1958414417);j=d(j,i,h,e,a[g+10],17,-42063);e=d(e,j,i,h,a[g+11],22,
-1990404162);h=d(h,e,j,i,a[g+12],7,1804603682);i=d(i,h,e,j,a[g+13],12,-40341101);j=d(j,i,h,e,a[g+14],17,-1502002290);e=d(e,j,i,h,a[g+15],22,1236535329);h=f(h,e,j,i,a[g+1],5,-165796510);i=f(i,h,e,j,a[g+6],9,-1069501632);j=f(j,i,h,e,a[g+11],14,643717713);e=f(e,j,i,h,a[g+0],20,-373897302);h=f(h,e,j,i,a[g+5],5,-701558691);i=f(i,h,e,j,a[g+10],9,38016083);j=f(j,i,h,e,a[g+15],14,-660478335);e=f(e,j,i,h,a[g+4],20,-405537848);h=f(h,e,j,i,a[g+9],5,568446438);i=f(i,h,e,j,a[g+14],9,-1019803690);j=f(j,i,h,e,a[g+
3],14,-187363961);e=f(e,j,i,h,a[g+8],20,1163531501);h=f(h,e,j,i,a[g+13],5,-1444681467);i=f(i,h,e,j,a[g+2],9,-51403784);j=f(j,i,h,e,a[g+7],14,1735328473);e=f(e,j,i,h,a[g+12],20,-1926607734);h=k(h,e,j,i,a[g+5],4,-378558);i=k(i,h,e,j,a[g+8],11,-2022574463);j=k(j,i,h,e,a[g+11],16,1839030562);e=k(e,j,i,h,a[g+14],23,-35309556);h=k(h,e,j,i,a[g+1],4,-1530992060);i=k(i,h,e,j,a[g+4],11,1272893353);j=k(j,i,h,e,a[g+7],16,-155497632);e=k(e,j,i,h,a[g+10],23,-1094730640);h=k(h,e,j,i,a[g+13],4,681279174);i=k(i,h,
e,j,a[g+0],11,-358537222);j=k(j,i,h,e,a[g+3],16,-722521979);e=k(e,j,i,h,a[g+6],23,76029189);h=k(h,e,j,i,a[g+9],4,-640364487);i=k(i,h,e,j,a[g+12],11,-421815835);j=k(j,i,h,e,a[g+15],16,530742520);e=k(e,j,i,h,a[g+2],23,-995338651);h=l(h,e,j,i,a[g+0],6,-198630844);i=l(i,h,e,j,a[g+7],10,1126891415);j=l(j,i,h,e,a[g+14],15,-1416354905);e=l(e,j,i,h,a[g+5],21,-57434055);h=l(h,e,j,i,a[g+12],6,1700485571);i=l(i,h,e,j,a[g+3],10,-1894986606);j=l(j,i,h,e,a[g+10],15,-1051523);e=l(e,j,i,h,a[g+1],21,-2054922799);
h=l(h,e,j,i,a[g+8],6,1873313359);i=l(i,h,e,j,a[g+15],10,-30611744);j=l(j,i,h,e,a[g+6],15,-1560198380);e=l(e,j,i,h,a[g+13],21,1309151649);h=l(h,e,j,i,a[g+4],6,-145523070);i=l(i,h,e,j,a[g+11],10,-1120210379);j=l(j,i,h,e,a[g+2],15,718787259);e=l(e,j,i,h,a[g+9],21,-343485551);h=b(h,n);e=b(e,t);j=b(j,y);i=b(i,z)}a=[h,e,j,i];for(g=0;g<a.length*32;g+=8)o+=String.fromCharCode(a[g>>5]>>>g%32&255);for(g=0;g<o.length;g++){e=o.charCodeAt(g);p+=m.charAt(e>>>4&15)+m.charAt(e&15)}return p};
FB.provide("QS",{encode:function(a,b,c){b=b===undefined?"&":b;c=c===false?function(k){return k}:encodeURIComponent;var d=[],f;for(f in a)a.hasOwnProperty(f)&&a[f]!==null&&typeof a[f]!="undefined"&&d.push(c(f)+"="+c(a[f]));d.sort();return d.join(b)},decode:function(a){var b=decodeURIComponent,c={};a=a.split("&");var d,f;for(d=0;d<a.length;d++)if((f=a[d].split("=",2))&&f[0])c[b(f[0])]=b(f[1]);return c}});
FB.provide("",{share:function(a,b){a=FB._domain.www+"sharer.php?"+FB.QS.encode({title:b,u:a||window.location.toString()});FB.Frames.popup(a,575,380)},publish:function(a,b){if(b){var c=b;b=function(f){if(f)f=f.postId?{message:f.data.user_message,post_id:f.postId}:null;c(f)}}a=a||{};var d=FB._apiKey&&FB.guid();a=FB._domain.www+"connect/prompt_feed.php?"+FB.QS.encode({action_links:JSON.stringify(a.action_links||{}),actor_id:a.actor_id,api_key:FB._apiKey,attachment:JSON.stringify(a.attachment||{}),callback:d&&
FB.Frames.xdResult(b,d,"opener",true),message:a.message,preview:1,session_key:FB._session&&FB._session.session_key,target_id:a.target_id,user_message_prompt:a.user_message_prompt});FB.Frames.popup(a,550,242,d)},addFriend:function(a,b){var c=FB.guid();a=FB._domain.www+"addfriend.php?"+FB.QS.encode({api_key:FB._apiKey,display:"dialog",id:a,next:FB.Frames.xdResult(b,c,"opener",true),session_key:FB._session.session_key});FB.Frames.popup(a,565,240,c)}});
FB.provide("XD",{_origin:null,_transport:null,_callbacks:{},init:function(){if(!FB.XD._origin){FB.XD._origin=window.location.protocol+"//"+window.location.host+"/"+FB.guid();if(window.addEventListener&&window.postMessage){FB.XD.PostMessage.init();FB.XD._transport="postmessage"}else if(FB.Flash.hasMinVersion()){FB.XD._origin=window.location.protocol+"//"+document.domain+"/"+FB.guid();FB.XD.Flash.init();FB.XD._transport="flash"}else FB.XD._transport="fragment"}},handler:function(a,b){FB.XD.init();var c=
FB._domain.cdn+"connect/xd_proxy.php#?=&",d=FB.guid();if(FB.XD._transport=="fragment"){c=window.location.toString();var f=c.indexOf("#");if(f>0)c=c.substr(0,f);c+="?&fb_xd_bust#?=&"+FB.XD.Fragment._magic}FB.XD._callbacks[d]=a;return c+FB.QS.encode({cb:d,origin:FB.XD._origin,relation:b||"opener",transport:FB.XD._transport})},recv:function(a){if(typeof a=="string")a=FB.QS.decode(a);var b=FB.XD._callbacks[a.cb];delete FB.XD._callbacks[a.cb];b&&b(a)},PostMessage:{init:function(){var a=FB.XD.PostMessage.onMessage;
window.addEventListener?window.addEventListener("message",a,false):window.attachEvent("onmessage",a)},onMessage:function(a){FB.XD.recv(a.data)}},Flash:{init:function(){FB.Flash.onReady(function(){document.XdComm.postMessage_init("FB.XD.Flash.onMessage",FB.XD._origin)})},onMessage:function(a){FB.XD.recv(decodeURIComponent(a))}},Fragment:{_magic:"fb_xd_fragment;",checkAndDispatch:function(){var a=window.location.toString();a=a.substr(a.indexOf("#")+1);var b=a.indexOf(FB.XD.Fragment._magic);if(b>0){FB.init=
FB.getLoginStatus=FB.api=function(){};document.body.style.display="none";a=a.substr(b+FB.XD.Fragment._magic.length);b=FB.QS.decode(a);window[b.relation].FB.XD.recv(a)}}}});FB.XD.Fragment.checkAndDispatch();
FB.provide("Loader",{use:function(a,b){var c={comp:a,cb:b};if(FB.Loader._check(a))b();else{FB.Loader._reqs.push(c);FB.Loader._comps[a]=true;if(!FB.Loader._timer)FB.Loader._timer=setTimeout(function(){FB.Loader._timer=0;FB.Dom.addScript(FB.Loader._resourceUrl(FB.Array.keys(FB.Loader._comps),FB.Array.keys(FB.Component.loaded)))},0)}},_resourceUrl:function(a,b){return FB._domain.cdn+"dynamic_loader/?comps="+a.join(",")+"&exclude="+b.join(",")},_onCompLoaded:function(){var a=[];FB.forEach(FB.Loader._reqs,
function(b,c){b&&FB.Loader._check(b.comp)&&a.push([c,b.cb])});FB.forEach(a,function(b){delete FB.Loader._reqs[b[0]]});FB.forEach(a,function(b){b[1]()})},_check:function(a){return FB.Component.loaded[a]},_reqs:[],_comps:{}});
FB.provide("Array",{indexOf:function(a,b){if(a.indexOf)return a.indexOf(b);var c=a.length;if(c)for(var d=0;d<c;d++)if(a[d]===b)return d;return-1},merge:function(a,b){for(var c=0;c<b.length;c++)FB.Array.indexOf(a,b[c])<0&&a.push(b[c]);return a},filter:function(a,b){for(var c=[],d=0;d<a.length;d++)b(a[d])&&c.push(a[d]);return c},keys:function(a){var b=[];for(key in a)b.push(key);return b},map:function(a,b){for(var c=[],d=0;d<a.length;d++)c.push(b(a[d]));return c}});
FB.provide("String",{trim:function(a){return a.replace(/^\s*|\s*$/g,"")},format:function(a){if(!FB.String.format._formatRE)FB.String.format._formatRE=/(\{[^\}^\{]+\})/g;var b=arguments;return a.replace(FB.String.format._formatRE,function(c,d){c=parseInt(d.substr(1));c=b[c+1];if(c===null||c===undefined)return"";return c.toString()})},quote:function(a){var b={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},c=/["\\\x00-\x1f\x7f-\x9f]/g;return c.test(a)?'"'+a.replace(c,
function(d){var f=b[d];if(f)return f;f=d.charCodeAt();return"\\u00"+Math.floor(f/16).toString(16)+(f%16).toString(16)})+'"':'"'+a+'"'}});
FB.provide("",{bind:function(){var a=Array.prototype.slice.call(arguments),b=a.shift(),c=a.shift(),d=function(){return b.apply(c,a.concat(Array.prototype.slice.call(arguments)))};return d},Class:function(a,b,c){if(FB.CLASSES[a])return FB.CLASSES[a];b=b||function(){};b.prototype=c;b.prototype.bind=function(d){return FB.bind(d,this)};b.prototype.constructor=b;FB.create(a,b);return FB.CLASSES[a]=b},subclass:function(a,b,c,d){if(FB.CLASSES[a])return FB.CLASSES[a];var f=FB.create(b);FB.copy(d,f.prototype);
d._base=f;d._callBase=function(k){var l=Array.prototype.slice.call(arguments,1);return f.prototype[k].apply(this,l)};return a=FB.Class(a,c?c:function(){this._base.apply(this,arguments)},d)},CLASSES:{}});FB.provide("Type",{isType:function(a,b){for(;a;)if(a.constructor===b||a===b)return true;else a=a._base;return false}});
FB.provide("Dom",{addCss:function(a,b){var c=" "+a.className+" ",d=" "+b+" ";if(c.indexOf(d)<0)a.className=a.className+" "+b},containsCss:function(a,b){a=" "+a.className+" ";return a.indexOf(" "+b+" ")>=0},removeCss:function(a,b){var c=" "+a.className+" ";b=" "+b+" ";var d=c.indexOf(b);if(d>=0){c=c.substring(1,d)+c.substring(d+b.length,c.length-1);a.className=c}},addScript:function(a){var b=document.createElement("script");b.type="text/javascript";b.src=a;return document.getElementsByTagName("HEAD")[0].appendChild(b)},
addCssRules:function(a,b){if(!FB.Dom._cssRules)FB.Dom._cssRules={};if(!(b in FB.Dom._cssRules)){FB.Dom._cssRules[b]=true;if(FB.Dom.getBrowserType()!="ie"){d=document.createElement("style");d.type="text/css";d.innerHTML=a;document.getElementsByTagName("HEAD")[0].appendChild(d)}else{b=/([\w|#|\.|\\][^{]*){(.*?)}/mg;for(var c,d=document.createStyleSheet();c=b.exec(a);)for(var f=FB.Array.map(c[1].split(","),FB.String.trim),k=0;k<f.length;k++)d.addRule(f[k],c[2])}}},getBrowserType:function(){if(!FB.Dom._browserType){var a=
window.navigator.userAgent.toLowerCase();keys=["msie","firefox","gecko","safari"];names=["ie","mozilla","mozilla","safari"];this.hostName="other";for(var b=0;b<keys.length;b++)if(a.indexOf(keys[b])>=0){FB.Dom._browserType=names[b];break}}return FB.Dom._browserType}});FB.Class("Obj",null,FB.copy(FB.Event,{setProperty:function(a,b){if(JSON.stringify(b)!=JSON.stringify(this[a])){this[a]=b;this.fire(a,b)}}}));
FB.subclass("Waitable","Obj",function(){},{set:function(a){this.setProperty("value",a)},error:function(a){this.fire("error",a)},wait:function(a,b){this.monitor("value",this.bind(function(){if(this.value!=undefined){a(this.value);return true}}));b&&this.subscribe("error",b)}});
FB.subclass("Data.Query","Waitable",function(){if(!FB.Data.Query._c)FB.Data.Query._c=1;this.name="v_"+FB.Data.Query._c++},{parse:function(a){var b=FB.String.format.apply(null,a);re=/^select (.*?) from (\w+)\s+where (.*)$/i.exec(b);this.fields=this._toFields(re[1]);this.table=re[2];this.where=this._parseWhere(re[3]);for(b=1;b<a.length;b++)if(FB.Type.isType(a[b],FB.Data.Query))a[b].hasDependency=true;return this},toFql:function(){var a="select "+this.fields.join(",")+" from "+this.table+" where ";switch(this.where.type){case "unknown":a+=
this.where.value;break;case "index":a+=this.where.key+"="+this._encode(this.where.value);break;case "in":a+=this.where.value.length==1?this.where.key+"="+this._encode(this.where.value[0]):this.where.key+" in ("+FB.Array.map(this.where.value,this._encode).join(",")+")";break}return a},_encode:function(a){return typeof a=="string"?FB.String.quote(a):a},toString:function(){return"#"+this.name},_toFields:function(a){return FB.Array.map(a.split(","),FB.String.trim)},_parseWhere:function(a){var b=/^\s*(\w+)\s*=\s*(.*)\s*$/i.exec(a),
c="unknown";if(b){var d=b[2];if(/^(["'])(?:\\?.)*?\1$/.test(d)){d=eval(d);c="index"}else if(/^\d+\.?\d*$/.test(d))c="index"}return a=c=="index"?{type:"index",key:b[1],value:d}:{type:"unknown",value:a}}});
FB.provide("Data",{query:function(){var a=(new FB.Data.Query).parse(arguments);FB.Data.queue.push(a);FB.Data._waitToProcess();return a},waitOn:function(a,b){var c=new FB.Waitable,d=a.length;if(typeof b=="string"){var f=b;b=function(){return eval(f)}}FB.forEach(a,function(k){k.monitor("value",function(){var l=false;if(FB.Data._getValue(k)!==undefined){d--;l=true}if(d==0){var m=b(FB.Array.map(a,FB.Data._getValue));c.set(m!==undefined?m:true)}return l})});return c},_getValue:function(a){return FB.Type.isType(a,
FB.Waitable)?a.value:a},_selectByIndex:function(a,b,c,d){var f=new FB.Data.Query;f.fields=a;f.table=b;f.where={type:"index",key:c,value:d};FB.Data.queue.push(f);FB.Data._waitToProcess();return f},_waitToProcess:function(){if(FB.Data.timer<0)FB.Data.timer=setTimeout(FB.Data._process,10)},_process:function(){FB.Data.timer=-1;var a=FB.Data.queue;FB.Data.queue=[];for(var b={},c=0;c<a.length;c++){var d=a[c];if(d.where.type=="index"&&!d.hasDependency)FB.Data._mergeIndexQuery(d,b);else b[d.name]=d}a={method:"fql.multiquery",
queries:{}};FB.copy(a.queries,b,true,function(f){return f.toFql()});a.queries=JSON.stringify(a.queries);FB.api(a,function(f){f.error_msg?FB.forEach(b,function(k){k.error(Error(f.error_msg))}):FB.forEach(f,function(k){b[k.name].set(k.fql_result_set)})})},_mergeIndexQuery:function(a,b){var c=a.where.key,d=a.where.value,f="index_"+a.table+"_"+c,k=b[f];if(!k){k=b[f]=new FB.Data.Query;k.fields=[c];k.table=a.table;k.where={type:"in",key:c,value:[]}}FB.Array.merge(k.fields,a.fields);FB.Array.merge(k.where.value,
[d]);k.wait(function(l){a.set(FB.Array.filter(l,function(m){return m[c]==d}))})},timer:-1,queue:[]});FB.Class("XFBML.Element",function(a){this.dom=a},{getAttribute:function(a,b,c){return(a=this.dom.getAttribute(a))?c?c(a):a:b},_getBoolAttribute:function(a,b){return this.getAttribute(a,b,function(c){return c.toLowerCase()=="true"})},isValid:function(){for(var a=this.dom;a;a=a.parentNode)if(a==document.body)return true},clear:function(){this.dom.innerHTML=""}});
FB.provide("XFBML",{set:function(a,b){a.innerHTML=b;FB.XFBML.parse(a)},parse:function(a){a=a||document.body;FB.forEach(FB.XFBML._tagInfos,function(b){xfbmlDoms=FB.XFBML._getDomElements(a,b.xmlns,b.localName);for(var c=0;c<xfbmlDoms.length;c++)FB.XFBML._processElement(xfbmlDoms[c],b)})},registerTag:function(a){FB.XFBML._tagInfos.push(a)},_processElement:function(a,b){var c=a._element;if(c)c.process();else{var d=function(){var k=eval(b.className);c=a._element=new k(a);c.process()};if(FB.CLASSES[b.className.substr(3)])d();
else{var f="xfbml."+b.xmlns+":"+b.localName;FB.Loader.use(f,d)}}},_getDomElements:function(a,b,c){switch(FB.Dom.getBrowserType()){case "mozilla":return a.getElementsByTagNameNS(null,b+":"+c);case "ie":var d=document.namespaces;return d&&d[b]?a.getElementsByTagName(c):a.getElementsByTagName(b+":"+c);default:return a.getElementsByTagName(b+":"+c)}},_tagInfos:[{xmlns:"fb",localName:"profile-pic",className:"FB.XFBML.ProfilePic"},{xmlns:"fb",localName:"name",className:"FB.XFBML.Name"},{xmlns:"fb",localName:"login-button",
className:"FB.XFBML.LoginButton"},{xmlns:"fb",localName:"share-button",className:"FB.XFBML.ShareButton"}],_list:[]});document.namespaces&&!document.namespaces.item.fb&&document.namespaces.add("fb");
FB.provide("Helper",{isUser:function(a){return a<22E8||a>=1E14&&a<=100099999989999},getLoggedInUser:function(){return FB._session?FB._session.uid:null},upperCaseFirstChar:function(a){return a.length>0?a.substr(0,1).toUpperCase()+a.substr(1):a},getProfileLink:function(a,b,c){if(c=c||(a?FB._domain.www+"profile.php?id="+a.uid:null))b='<a class="FB_Link" href="'+c+'">'+b+"</a>";return b}});
FB.subclass("XFBML.LoginButton","XFBML.Element",null,{process:function(){var a=this.getAttribute("size","medium"),b=this.getAttribute("background","light"),c=this.getAttribute("length","short"),d={dark_small_short:"http://static.ak.fbcdn.net/rsrc.php/zF1W2/hash/a969rwcd.gif",dark_medium_short:"http://static.ak.fbcdn.net/rsrc.php/zEF9L/hash/156b4b3s.gif",dark_medium_long:"http://static.ak.fbcdn.net/rsrc.php/zBIU2/hash/85b5jlja.gif",dark_large_short:"http://static.ak.fbcdn.net/rsrc.php/z1UX3/hash/a22m3ibb.gif",
dark_large_long:"http://static.ak.fbcdn.net/rsrc.php/z7SXD/hash/8mzymam2.gif",light_small_short:"http://static.ak.fbcdn.net/rsrc.php/zDGBW/hash/8t35mjql.gif",light_medium_short:"http://static.ak.fbcdn.net/rsrc.php/z38X1/hash/6ad3z8m6.gif",light_medium_long:"http://static.ak.fbcdn.net/rsrc.php/zB6N8/hash/4li2k73z.gif",light_large_short:"http://static.ak.fbcdn.net/rsrc.php/zA114/hash/7e3mp7ee.gif",light_large_long:"http://static.ak.fbcdn.net/rsrc.php/z4Z4Q/hash/8rc0izvz.gif",white_small_short:"http://static.ak.fbcdn.net/rsrc.php/z900E/hash/di0gkqrt.gif",
white_medium_short:"http://static.ak.fbcdn.net/rsrc.php/z10GM/hash/cdozw38w.gif",white_medium_long:"http://static.ak.fbcdn.net/rsrc.php/zBT3E/hash/338d3m67.gif",white_large_short:"http://static.ak.fbcdn.net/rsrc.php/zCOUP/hash/8yzn0wu3.gif",white_large_long:"http://static.ak.fbcdn.net/rsrc.php/zC6AR/hash/5pwowlag.gif"};a=d[b+"_"+a+"_"+c];this.dom.innerHTML='<a onclick="FB.login(function(){});"  class="fbconnect_login_button"><img src="'+a+'" alt="Connect"/></a>'}});
FB.subclass("XFBML.Name","XFBML.Element",null,{process:function(){if(this._uid=this.getAttribute("uid",null)){this._firstnameonly=this._getBoolAttribute("firstnameonly",false);this._lastnameonly=this._getBoolAttribute("lastnameonly",false);var a=[];if(this._firstnameonly)a.push("first_name");else this._lastnameonly?a.push("last_name"):a.push("name");this._possessive=this._getBoolAttribute("possessive",false);this._reflexive=this._getBoolAttribute("reflexive",false);this._objective=this._getBoolAttribute("objective",
false);this._linked=this._getBoolAttribute("linked",true);if(this._subjectId=this.getAttribute("subjectid",null)){a.push("sex");if(this._subjectId==FB.Helper.getLoggedInUser())this._reflexive=true}var b;FB.Event.monitor("auth.statusChange",this.bind(function(){if(!this.isValid())return true;if(FB._userStatus){if(this.getAttribute("uid",null)=="loggedinuser")this._uid=FB.Helper.getLoggedInUser();if(!this._uid)return false;b=FB.Helper.isUser(this._uid)?FB.Data._selectByIndex(a,"user","uid",this._uid):
FB.Data._selectByIndex(["name","id"],"profile","id",this._uid);b.wait(this.bind(function(c){if(this._uid)this._subjectId==this._uid?this._renderPronoun(c[0]):this._renderOther(c[0])}))}return false}))}},_renderPronoun:function(a){var b="";b=this._objective;if(this._subjectId){b=true;if(this._subjectId===this._uid)this._reflexive=true}if(this._uid==FB.Connect.get_loggedInUser()&&this._getBoolAttribute("useyou",true))b=this._possessive?this._reflexive?"your own":"your":this._reflexive?"yourself":"you";
else switch(a.sex){case "male":b=this._possessive?this._reflexive?"his own":"his":this._reflexive?"himself":b?"him":"he";break;case "female":b=this._possessive?this._reflexive?"her own":"her":this._reflexive?"herself":b?"her":"she";break;default:b=this._getBoolAttribute("usethey",true)?this._possessive?this._reflexive?"their own":"their":this._reflexive?"themselves":b?"them":"they":this._possessive?this._reflexive?"his/her own":"his/her":this._reflexive?"himself/herself":b?"him/her":"he/she";break}if(this._getBoolAttribute("capitalize",
false))b=FB.Helper.upperCaseFirstChar(b);this.dom.innerHTML=b},_renderOther:function(a){if(a){var b="",c="";if(this._uid==FB.Helper.getLoggedInUser()&&this._getBoolAttribute("useyou",true))b=this._reflexive?this._possessive?"your own":"yourself":this._possessive?"your":"you";else{if(null===a.first_name)a.first_name="";if(null===a.last_name)a.last_name="";if(this._firstnameonly)b=a.first_name;else if(this._lastnameonly)b=a.last_name;if(!b)b=a.name;if(b!==""&&this._possessive)b+="'s"}b||(b=this.getAttribute("ifcantsee",
"Facebook User"));if(b){if(this._getBoolAttribute("capitalize",false))b=FB.Helper.upperCaseFirstChar(b);c=this._linked?FB.Helper.getProfileLink(a,b,this.getAttribute("href",null)):b}this.dom.innerHTML=c}}});
FB.subclass("XFBML.ProfilePic","XFBML.Element",null,{process:function(){var a=this.getAttribute("size","thumb"),b={thumb:"pic_small",small:"pic",normal:"pic_big",square:"pic_square",t:"pic_small",s:"pic",n:"pic_big",q:"pic_square"},c=b[a];a=this.getAttribute("width");b=this.getAttribute("height");var d=this.dom.style,f=this.getAttribute("uid");if(this._getBoolAttribute("facebook-logo"))c+="_with_logo";if(a)d.width=this.getUnit(a);if(b)d.height=this.getUnit(b);var k=this.bind(function(l){var m=(l=
l?l[0]:null)?l[c]:null;m||(m=FB._domain.cdn+"pics/"+FB.XFBML.ProfilePic._defPicMap[c]);var h=(d.width?"width:"+d.width+";":"")+(d.height?"height:"+d.width+";":"");m=FB.String.format("<img src='{0}' alt='{1}' title='{1}' style='{2}' class='{3}' />",m,l?l.name:"",h,this.dom.className);if(this._getBoolAttribute("linked",true))m=FB.Helper.getProfileLink(l,m,this.getAttribute("href",null));this.dom.innerHTML=m;FB.Dom.addCss(this.dom,"fb_profile_pic_rendered")});FB.Event.monitor("auth.statusChange",this.bind(function(){if(!this.isValid())return true;
if(this.getAttribute("uid",null)=="loggedinuser")f=FB.Helper.getLoggedInUser();FB._userStatus&&f?FB.Data._selectByIndex(["name",c],FB.Helper.isUser(f)?"user":"profile",FB.Helper.isUser(f)?"uid":"id",f).wait(k):k()}))},getUnit:function(a){return parseInt(a).toString()==a?a+"px":a}});
FB.provide("XFBML.ProfilePic",{_defPicMap:{pic_small:"t_silhouette.jpg",pic:"s_silhouette.jpg",pic_big:"d_silhouette.gif",pic_square:"q_silhouette.gif",pic_small_with_logo:"t_silhouette_logo.gif",pic_with_logo:"s_silhouette_logo.gif",pic_big_with_logo:"d_silhouette_logo.gif",pic_square_with_logo:"q_silhouette_logo.gif"}});
FB.subclass("XFBML.ShareButton","XFBML.Element",null,{process:function(){this._href=this.getAttribute("href",window.location.href);this._type=this.getAttribute("type","icon_link");this._renderButton()},_renderButton:function(){if(this.isValid()){var a="",b="",c="";share="Share";wrapperClass="";switch(this._type){case "icon":case "icon_link":c="FBConnectButton_Simple";a="<span class='FBConnectButton_Text_Simple'>"+(this._type=="icon_link"?share:"&nbsp;")+"</span>";break;case "link":a="Share on Facebook";
break;case "button_count":a='<span class="FBConnectButton_Text">'+share+"</span>";b="<span class='fb_share_count_nub_right'>&nbsp;</span><span class='fb_share_count fb_share_count_right'>"+this._getCounterMarkup()+"</span>";c="FBConnectButton FBConnectButton_Small";break;default:a="<span class='fb_share_count_nub_top'>&nbsp;</span>";b="<span class='fb_share_count fb_share_count_top'>"+this._getCounterMarkup()+'</span><span class="FBConnectButton_Text">'+share+"</span>";c="FBConnectButton FBConnectButton_Small";
wrapperClass="fb_share_count_wrapper"}this.dom.innerHTML=FB.String.format('<span class="{0}"><a href="{1}" class="{2}" onclick=\'FB.share("{1}");return false;\'target=\'_blank\'>{3}</a>{4}</span>',wrapperClass,this._href,c,a,b)}},_getCounterMarkup:function(){if(!this._count)this._count=FB.Data._selectByIndex(["share_count"],"link_stat","url",this._href);if(this._count.value!==undefined){if(this._count.value.length>0){var a=this._count.value[0].share_count;if(a>3){prettyCount=a>=1E7?Math.round(a/1E6)+
"M":a>=1E4?Math.round(a/1E3)+"K":a;return"<span class='fb_share_count_inner'>"+prettyCount+"</span>"}}}else this._count.wait(this.bind(this._renderButton));return""}});

