if(!window.FB){window.FB={_apiKey:null,_session:null,_userStatus:"unknown",_logging:true,_inCanvas:((window.location.search.indexOf("fb_sig_in_iframe=1")>-1)||(window.location.search.indexOf("session=")>-1)||(window.location.search.indexOf("signed_request=")>-1)||(window.name.indexOf("iframe_canvas")>-1)||(window.name.indexOf("app_runner")>-1)),_https:(window.name.indexOf("_fb_https")>-1),_domain:{api:"https://api.facebook.com/",api_read:"https://api-read.facebook.com/",cdn:"http://static.ak.fbcdn.net/",https_cdn:"https://s-static.ak.fbcdn.net/",graph:"https://graph.facebook.com/",staticfb:"http://static.ak.facebook.com/",https_staticfb:"https://s-static.ak.facebook.com/",www:window.location.protocol+"//www.facebook.com/",https_www:"https://www.facebook.com/"},_locale:null,_localeIsRtl:false,getDomain:function(b){switch(b){case"api":return FB._domain.api;case"api_read":return FB._domain.api_read;case"cdn":return(window.location.protocol=="https:"||FB._https)?FB._domain.https_cdn:FB._domain.cdn;case"graph":return FB._domain.graph;case"staticfb":return FB._https?FB._domain.https_staticfb:FB._domain.staticfb;case"https_staticfb":return FB._domain.https_staticfb;case"www":return FB._https?FB._domain.https_www:FB._domain.www;case"https_www":return FB._domain.https_www}},copy:function(i,j,f,h){for(var g in j){if(f||typeof i[g]==="undefined"){i[g]=h?h(j[g]):j[g]}}return i},create:function(p,k){var n=window.FB,o=p?p.split("."):[],j=o.length;for(var i=0;i<j;i++){var l=o[i];var m=n[l];if(!m){m=(k&&i+1==j)?k:{};n[l]=m}n=m}return n},provide:function(f,d,e){return FB.copy(typeof f=="string"?FB.create(f):f,d,e)},guid:function(){return"f"+(Math.random()*(1<<30)).toString(16).replace(".","")},log:function(b){if(FB._logging){if(window.Debug&&window.Debug.writeln){window.Debug.writeln(b)}else{if(window.console){window.console.log(b)}}}if(FB.Event){FB.Event.fire("fb.log",b)}},$:function(b){return document.getElementById(b)}}}FB.provide("Array",{indexOf:function(f,h){if(f.indexOf){return f.indexOf(h)}var g=f.length;if(g){for(var e=0;e<g;e++){if(f[e]===h){return e}}}return -1},merge:function(f,d){for(var e=0;e<d.length;e++){if(FB.Array.indexOf(f,d[e])<0){f.push(d[e])}}return f},filter:function(f,h){var e=[];for(var g=0;g<f.length;g++){if(h(f[g])){e.push(f[g])}}return e},keys:function(h,g){var f=[];for(var e in h){if(g||h.hasOwnProperty(e)){f.push(e)}}return f},map:function(f,g){var h=[];for(var e=0;e<f.length;e++){h.push(g(f[e]))}return h},forEach:function(l,h,i){if(!l){return}if(Object.prototype.toString.apply(l)==="[object Array]"||(!(l instanceof Function)&&typeof l.length=="number")){if(l.forEach){l.forEach(h)}else{for(var g=0,j=l.length;g<j;g++){h(l[g],g,l)}}}else{for(var k in l){if(i||l.hasOwnProperty(k)){h(l[k],k,l)}}}}});FB.provide("QS",{encode:function(h,g,f){g=g===undefined?"&":g;f=f===false?function(a){return a}:encodeURIComponent;var e=[];FB.Array.forEach(h,function(a,b){if(a!==null&&typeof a!="undefined"){e.push(f(b)+"="+f(a))}});e.sort();return e.join(g)},decode:function(i){var h=decodeURIComponent,k={},j=i.split("&"),g,l;for(g=0;g<j.length;g++){l=j[g].split("=",2);if(l&&l[0]){k[h(l[0])]=h(l[1]||"")}}return k}});FB.provide("Content",{_root:null,_hiddenRoot:null,_callbacks:{},append:function(e,f){if(!f){if(!FB.Content._root){FB.Content._root=f=FB.$("fb-root");if(!f){FB.log('The "fb-root" div has not been created.');return}else{f.className+=" fb_reset"}}else{f=FB.Content._root}}if(typeof e=="string"){var d=document.createElement("div");f.appendChild(d).innerHTML=e;return d}else{return f.appendChild(e)}},appendHidden:function(e){if(!FB.Content._hiddenRoot){var d=document.createElement("div"),f=d.style;f.position="absolute";f.top="-10000px";f.width=f.height=0;FB.Content._hiddenRoot=FB.Content.append(d)}return FB.Content.append(e,FB.Content._hiddenRoot)},insertIframe:function(j){j.id=j.id||FB.guid();j.name=j.name||FB.guid();var h=FB.guid(),i=false,k=false;FB.Content._callbacks[h]=function(){if(i&&!k){k=true;j.onload&&j.onload(j.root.firstChild)}};if(document.attachEvent){var g=('<iframe id="'+j.id+'" name="'+j.name+'"'+(j.title?' title="'+j.title+'"':"")+(j.className?' class="'+j.className+'"':"")+' style="border:none;'+(j.width?"width:"+j.width+"px;":"")+(j.height?"height:"+j.height+"px;":"")+'" src="'+j.url+'" frameborder="0" scrolling="no" allowtransparency="true" onload="FB.Content._callbacks.'+h+'()"></iframe>');j.root.innerHTML='<iframe src="javascript:false" frameborder="0" scrolling="no" style="height:1px"></iframe>';i=true;window.setTimeout(function(){j.root.innerHTML=g;j.onInsert&&j.onInsert(j.root.firstChild)},0)}else{var l=document.createElement("iframe");l.id=j.id;l.name=j.name;l.onload=FB.Content._callbacks[h];l.scrolling="no";l.style.border="none";l.style.overflow="hidden";if(j.title){l.title=j.title}if(j.className){l.className=j.className}if(j.height){l.style.height=j.height+"px"}if(j.width){l.style.width=j.width+"px"}j.root.appendChild(l);i=true;l.src=j.url;j.onInsert&&j.onInsert(l)}},submitToTarget:function(f,d){var e=document.createElement("form");e.action=f.url;e.target=f.target;e.method=(d)?"GET":"POST";FB.Content.appendHidden(e);FB.Array.forEach(f.params,function(a,b){if(a!==null&&a!==undefined){var c=document.createElement("input");c.name=b;c.value=a;e.appendChild(c)}});e.submit();e.parentNode.removeChild(e)}});FB.provide("Flash",{_minVersions:[[9,0,159,0],[10,0,22,87]],_swfPath:"swf/XdComm.swf",_callbacks:[],init:function(){if(FB.Flash._init){return}FB.Flash._init=true;window.FB_OnFlashXdCommReady=function(){FB.Flash._ready=true;for(var b=0,a=FB.Flash._callbacks.length;b<a;b++){FB.Flash._callbacks[b]()}FB.Flash._callbacks=[]};var e=!!document.attachEvent,f=FB.getDomain("cdn")+FB.Flash._swfPath,d=('<object type="application/x-shockwave-flash" id="XdComm" '+(e?'name="XdComm" ':"")+(e?"":'data="'+f+'" ')+(e?'classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ':"")+'allowscriptaccess="always"><param name="movie" value="'+f+'"></param><param name="allowscriptaccess" value="always"></param></object>');FB.Content.appendHidden(d)},hasMinVersion:function(){if(typeof FB.Flash._hasMinVersion==="undefined"){var n,v,u,o=[];try{n=new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version")}catch(m){if(navigator.mimeTypes.length>0){var l="application/x-shockwave-flash";if(navigator.mimeTypes[l].enabledPlugin){var k="Shockwave Flash";n=(navigator.plugins[k+" 2.0"]||navigator.plugins[k]).description}}}if(n){var q=n.replace(/\D+/g,",").match(/^,?(.+),?$/)[1].split(",");for(v=0,u=q.length;v<u;v++){o.push(parseInt(q[v],10))}}FB.Flash._hasMinVersion=false;majorVersion:for(v=0,u=FB.Flash._minVersions.length;v<u;v++){var p=FB.Flash._minVersions[v];if(p[0]!=o[0]){continue}for(var t=1,s=p.length,r=o.length;(t<s&&t<r);t++){if(o[t]<p[t]){FB.Flash._hasMinVersion=false;continue majorVersion}else{FB.Flash._hasMinVersion=true;if(o[t]>p[t]){break majorVersion}}}}}return FB.Flash._hasMinVersion},onReady:function(b){FB.Flash.init();if(FB.Flash._ready){window.setTimeout(b,0)}else{FB.Flash._callbacks.push(b)}}});if(!this.JSON){this.JSON={}}(function(){function f(n){return n<10?"0"+n:n}if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(key){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(key){return this.valueOf()}}var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;function quote(string){escapable.lastIndex=0;return escapable.test(string)?'"'+string.replace(escapable,function(a){var c=meta[a];return typeof c==="string"?c:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+string+'"'}function str(key,holder){var i,k,v,length,mind=gap,partial,value=holder[key];if(value&&typeof value==="object"&&typeof value.toJSON==="function"){value=value.toJSON(key)}if(typeof rep==="function"){value=rep.call(holder,key,value)}switch(typeof value){case"string":return quote(value);case"number":return isFinite(value)?String(value):"null";case"boolean":case"null":return String(value);case"object":if(!value){return"null"}gap+=indent;partial=[];if(Object.prototype.toString.apply(value)==="[object Array]"){length=value.length;for(i=0;i<length;i+=1){partial[i]=str(i,value)||"null"}v=partial.length===0?"[]":gap?"[\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"]":"["+partial.join(",")+"]";gap=mind;return v}if(rep&&typeof rep==="object"){length=rep.length;for(i=0;i<length;i+=1){k=rep[i];if(typeof k==="string"){v=str(k,value);if(v){partial.push(quote(k)+(gap?": ":":")+v)}}}}else{for(k in value){if(Object.hasOwnProperty.call(value,k)){v=str(k,value);if(v){partial.push(quote(k)+(gap?": ":":")+v)}}}}v=partial.length===0?"{}":gap?"{\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"}":"{"+partial.join(",")+"}";gap=mind;return v}}if(typeof JSON.stringify!=="function"){JSON.stringify=function(value,replacer,space){var i;gap="";indent="";if(typeof space==="number"){for(i=0;i<space;i+=1){indent+=" "}}else{if(typeof space==="string"){indent=space}}rep=replacer;if(replacer&&typeof replacer!=="function"&&(typeof replacer!=="object"||typeof replacer.length!=="number")){throw new Error("JSON.stringify")}return str("",{"":value})}}if(typeof JSON.parse!=="function"){JSON.parse=function(text,reviver){var j;function walk(holder,key){var k,v,value=holder[key];if(value&&typeof value==="object"){for(k in value){if(Object.hasOwnProperty.call(value,k)){v=walk(value,k);if(v!==undefined){value[k]=v}else{delete value[k]}}}}return reviver.call(holder,key,value)}cx.lastIndex=0;if(cx.test(text)){text=text.replace(cx,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})}if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){j=eval("("+text+")");return typeof reviver==="function"?walk({"":j},""):j}throw new SyntaxError("JSON.parse")}}}());FB.provide("JSON",{stringify:function(b){if(window.Prototype&&Object.toJSON){return Object.toJSON(b)}else{return JSON.stringify(b)}},parse:function(b){return JSON.parse(b)},flatten:function(h){var f={};for(var e in h){if(h.hasOwnProperty(e)){var g=h[e];if(null===g||undefined===g){continue}else{if(typeof g=="string"){f[e]=g}else{f[e]=FB.JSON.stringify(g)}}}}return f}});FB.provide("",{api:function(){if(typeof arguments[0]==="string"){FB.ApiServer.graph.apply(FB.ApiServer,arguments)}else{FB.ApiServer.rest.apply(FB.ApiServer,arguments)}}});FB.provide("ApiServer",{METHODS:["get","post","delete","put"],_callbacks:{},_readOnlyCalls:{fql_query:true,fql_multiquery:true,friends_get:true,notifications_get:true,stream_get:true,users_getinfo:true},graph:function(){var i=Array.prototype.slice.call(arguments),k=i.shift(),m=i.shift(),n,l,h;while(m){var j=typeof m;if(j==="string"&&!n){n=m.toLowerCase()}else{if(j==="function"&&!h){h=m}else{if(j==="object"&&!l){l=m}else{FB.log("Invalid argument passed to FB.api(): "+m);return}}}m=i.shift()}n=n||"get";l=l||{};if(k[0]==="/"){k=k.substr(1)}if(FB.Array.indexOf(FB.ApiServer.METHODS,n)<0){FB.log("Invalid method passed to FB.api(): "+n);return}FB.ApiServer.oauthRequest("graph",k,n,l,h)},rest:function(h,g){var j=h.method.toLowerCase().replace(".","_");if(FB.Auth&&j==="auth_revokeauthorization"){var i=g;g=function(a){if(a===true){FB.Auth.setSession(null,"notConnected")}i&&i(a)}}h.format="json-strings";h.api_key=FB._apiKey;var f=FB.ApiServer._readOnlyCalls[j]?"api_read":"api";FB.ApiServer.oauthRequest(f,"restserver.php","get",h,g)},oauthRequest:function(h,k,n,l,i){if(FB._session&&FB._session.access_token&&!l.access_token){l.access_token=FB._session.access_token}l.sdk="joey";l.pretty=0;var m=i;i=function(a){if(FB.Auth&&a&&FB._session&&FB._session.access_token==l.access_token&&(a.error_code==="190"||(a.error&&(a.error==="invalid_token"||a.error.type==="OAuthException")))){FB.getLoginStatus(null,true)}m&&m(a)};try{FB.ApiServer.jsonp(h,k,n,FB.JSON.flatten(l),i)}catch(j){if(FB.Flash.hasMinVersion()){FB.ApiServer.flash(h,k,n,FB.JSON.flatten(l),i)}else{throw new Error("Flash is required for this API call.")}}},jsonp:function(i,m,o,n,j){var p=FB.guid(),l=document.createElement("script");if(i==="graph"&&o!=="get"){n.method=o}n.callback="FB.ApiServer._callbacks."+p;var k=(FB.getDomain(i)+m+(m.indexOf("?")>-1?"&":"?")+FB.QS.encode(n));if(k.length>2000){throw new Error("JSONP only support a maximum of 2000 bytes of input.")}FB.ApiServer._callbacks[p]=function(a){j&&j(a);delete FB.ApiServer._callbacks[p];l.parentNode.removeChild(l)};l.src=k;document.getElementsByTagName("head")[0].appendChild(l)},flash:function(f,h,j,i,g){if(!window.FB_OnXdHttpResult){window.FB_OnXdHttpResult=function(a,b){FB.ApiServer._callbacks[a](decodeURIComponent(b))}}FB.Flash.onReady(function(){var a=FB.getDomain(f)+h,c=FB.QS.encode(i);if(j==="get"){if(a.length+c.length>2000){if(f==="graph"){i.method="get"}j="post";c=FB.QS.encode(i)}else{a+=(a.indexOf("?")>-1?"&":"?")+c;c=""}}else{if(j!=="post"){if(f==="graph"){i.method=j}j="post";c=FB.QS.encode(i)}}var b=document.XdComm.sendXdHttpRequest(j.toUpperCase(),a,c,null);FB.ApiServer._callbacks[b]=function(d){g&&g(FB.JSON.parse(d));delete FB.ApiServer._callbacks[b]}})}});FB.provide("EventProvider",{subscribers:function(){if(!this._subscribersMap){this._subscribersMap={}}return this._subscribersMap},subscribe:function(d,e){var f=this.subscribers();if(!f[d]){f[d]=[e]}else{f[d].push(e)}},unsubscribe:function(d,e){var f=this.subscribers()[d];FB.Array.forEach(f,function(a,b){if(a==e){f[b]=null}})},monitor:function(g,f){if(!f()){var e=this,h=function(){if(f.apply(f,arguments)){e.unsubscribe(g,h)}};this.subscribe(g,h)}},clear:function(b){delete this.subscribers()[b]},fire:function(){var d=Array.prototype.slice.call(arguments),c=d.shift();FB.Array.forEach(this.subscribers()[c],function(a){if(a){a.apply(this,d)}})}});FB.provide("Event",FB.EventProvider);FB.provide("XD",{_origin:null,_transport:null,_callbacks:{},_forever:{},_xdProxyUrl:"connect/xd_proxy.php",init:function(d){if(FB.XD._origin){return}if(window.addEventListener&&!window.attachEvent&&window.postMessage){FB.XD._origin=(window.location.protocol+"//"+window.location.host+"/"+FB.guid());FB.XD.PostMessage.init();FB.XD._transport="postmessage"}else{if(!d&&FB.Flash.hasMinVersion()){if(document.getElementById("fb-root")){var c=document.domain;if(c=="facebook.com"){c=window.location.host}FB.XD._origin=(window.location.protocol+"//"+c+"/"+FB.guid());FB.XD.Flash.init();FB.XD._transport="flash"}else{if(FB.log){FB.log("missing fb-root, defaulting to fragment-based xdcomm")}FB.XD._transport="fragment";FB.XD.Fragment._channelUrl=d||window.location.toString()}}else{FB.XD._transport="fragment";FB.XD.Fragment._channelUrl=d||window.location.toString()}}},resolveRelation:function(h){var j,m,k=h.split("."),l=window;for(var i=0,n=k.length;i<n;i++){j=k[i];if(j==="opener"||j==="parent"||j==="top"){l=l[j]}else{if(m=/^frames\[['"]?([a-zA-Z0-9-_]+)['"]?\]$/.exec(j)){l=l.frames[m[1]]}else{throw new SyntaxError("Malformed id to resolve: "+h+", pt: "+j)}}}return l},handler:function(h,j,g){if(window.location.toString().indexOf(FB.XD.Fragment._magic)>0){return"javascript:false;//"}var i=FB.getDomain("cdn")+FB.XD._xdProxyUrl+"#",l=FB.guid();if(FB.XD._transport=="fragment"){i=FB.XD.Fragment._channelUrl;var k=i.indexOf("#");if(k>0){i=i.substr(0,k)}i+=((i.indexOf("?")<0?"?":"&")+FB.XD.Fragment._magic+"#?=&")}if(g){FB.XD._forever[l]=true}FB.XD._callbacks[l]=h;return i+FB.QS.encode({cb:l,origin:FB.XD._origin,relation:j||"opener",transport:FB.XD._transport})},recv:function(c){if(typeof c=="string"){c=FB.QS.decode(c)}var d=FB.XD._callbacks[c.cb];if(!FB.XD._forever[c.cb]){delete FB.XD._callbacks[c.cb]}d&&d(c)},PostMessage:{init:function(){var b=FB.XD.PostMessage.onMessage;window.addEventListener?window.addEventListener("message",b,false):window.attachEvent("onmessage",b)},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(b){FB.XD.recv(decodeURIComponent(b))}},Fragment:{_magic:"fb_xd_fragment",checkAndDispatch:function(){var d=window.location.toString(),e=d.substr(d.indexOf("#")+1),f=d.indexOf(FB.XD.Fragment._magic);if(f>0){FB.init=FB.getLoginStatus=FB.api=function(){};document.documentElement.style.display="none";FB.XD.resolveRelation(FB.QS.decode(e).relation).FB.XD.recv(e)}}}});FB.XD.Fragment.checkAndDispatch();FB.provide("Arbiter",{_canvasProxyUrl:"connect/canvas_proxy.php",inform:function(p,n,m,i){if(FB.Canvas.isTabIframe()){var o=FB.JSON.stringify({method:p,params:n});if(window.postMessage){FB.XD.resolveRelation(m||"parent").postMessage(o,"*");return}else{try{window.opener.postMessage(o);return}catch(j){}}}var k=(FB.getDomain((i?"https_":"")+"staticfb")+FB.Arbiter._canvasProxyUrl+"#"+FB.QS.encode({method:p,params:FB.JSON.stringify(n||{}),relation:m}));var l=FB.Content.appendHidden("");FB.Content.insertIframe({url:k,root:l,width:1,height:1,onload:function(){setTimeout(function(){l.parentNode.removeChild(l)},10)}})}});FB.provide("Canvas",{_timer:null,_lastSize:{},_pageInfo:{clientWidth:0,clientHeight:0,scrollLeft:0,scrollTop:0,offsetLeft:0,offsetTop:0},_pageInfoPollInterval:200,init:function(){var g=FB.Dom.getViewportInfo();FB.Canvas._pageInfo.clientWidth=g.width;FB.Canvas._pageInfo.clientHeight=g.height;var h="top.frames["+window.name+"]";var f=FB.XD.handler(function(a){if(a.type=="pageInfo.update"){FB.Canvas._pageInfo.clientWidth=a.clientWidth;FB.Canvas._pageInfo.clientHeight=a.clientHeight;FB.Canvas._pageInfo.scrollLeft=a.scrollLeft;FB.Canvas._pageInfo.scrollTop=a.scrollTop;FB.Canvas._pageInfo.offsetLeft=a.offsetLeft;FB.Canvas._pageInfo.offsetTop=a.offsetTop;FB.Event.fire("canvas.pageInfoChange",FB.Canvas._pageInfo)}},h,true);var e={channelUrl:f,frame:window.name,updateInterval:FB.Canvas._pageInfoPollInterval};FB.Arbiter.inform("pollPageInfo",e,"top")},setSize:function(c){if(typeof c!="object"){c={}}c=FB.copy(c||{},FB.Canvas._computeContentSize());c=FB.copy(c,{frame:window.name||"iframe_canvas"});if(FB.Canvas._lastSize[c.frame]){var d=FB.Canvas._lastSize[c.frame].height;if(FB.Canvas._lastSize[c.frame].width==c.width&&(c.height<=d&&(Math.abs(d-c.height)<=16))){return false}}FB.Canvas._lastSize[c.frame]=c;FB.Arbiter.inform("setSize",c);return true},scrollTo:function(d,c){FB.Arbiter.inform("scrollTo",{frame:window.name||"iframe_canvas",x:d,y:c})},setAutoResize:function(c,d){if(d===undefined&&typeof c=="number"){d=c;c=true}if(c===undefined||c){if(FB.Canvas._timer===null){FB.Canvas._timer=window.setInterval(FB.Canvas.setSize,d||100)}FB.Canvas.setSize()}else{if(FB.Canvas._timer!==null){window.clearInterval(FB.Canvas._timer);FB.Canvas._timer=null}}},isTabIframe:function(){return(window.name.indexOf("app_runner_")===0)},getPageInfo:function(){return FB.Canvas._pageInfo},_computeContentSize:function(){var f=document.body,h=document.documentElement,g=0,e=Math.max(Math.max(f.offsetHeight,f.scrollHeight)+f.offsetTop,Math.max(h.offsetHeight,h.scrollHeight)+h.offsetTop);if(f.offsetWidth<f.scrollWidth){g=f.scrollWidth+f.offsetLeft}else{FB.Array.forEach(f.childNodes,function(b){var a=b.offsetWidth+b.offsetLeft;if(a>g){g=a}})}if(h.clientLeft>0){g+=(h.clientLeft*2)}if(h.clientTop>0){e+=(h.clientTop*2)}return{height:e,width:g}}});FB.provide("Intl",{_punctCharClass:("[.!?\u3002\uFF01\uFF1F\u0964\u2026\u0EAF\u1801\u0E2F\uFF0E]"),_endsInPunct:function(b){if(typeof b!="string"){return false}return b.match(new RegExp(FB.Intl._punctCharClass+"[)\"'\u00BB\u0F3B\u0F3D\u2019\u201D\u203A\u3009\u300B\u300D\u300F\u3011\u3015\u3017\u3019\u301B\u301E\u301F\uFD3F\uFF07\uFF09\uFF3Ds]*$"))},_tx:function(g,f){if(f!==undefined){if(typeof f!="object"){FB.log("The second arg to FB.Intl._tx() must be an Object for tx("+g+", ...)")}else{var h;for(var e in f){if(f.hasOwnProperty(e)){if(FB.Intl._endsInPunct(f[e])){h=new RegExp("{"+e+"}"+FB.Intl._punctCharClass+"*","g")}else{h=new RegExp("{"+e+"}","g")}g=g.replace(h,f[e])}}}}return g},tx:function(d,e){function f(a,b){void (0)}if(!FB.Intl._stringTable){return null}return FBIntern.Intl._tx(FB.Intl._stringTable[d],e)}});FB.provide("String",{trim:function(b){return b.replace(/^\s*|\s*$/g,"")},format:function(d){if(!FB.String.format._formatRE){FB.String.format._formatRE=/(\{[^\}^\{]+\})/g}var c=arguments;return d.replace(FB.String.format._formatRE,function(b,g){var h=parseInt(g.substr(1),10),a=c[h+1];if(a===null||a===undefined){return""}return a.toString()})},escapeHTML:function(c){var d=document.createElement("div");d.appendChild(document.createTextNode(c));return d.innerHTML.replace(/"/g,"&quot;").replace(/'/g,"&#39;")},quote:function(f){var e=/["\\\x00-\x1f\x7f-\x9f]/g,d={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return e.test(f)?'"'+f.replace(e,function(b){var a=d[b];if(a){return a}a=b.charCodeAt();return"\\u00"+Math.floor(a/16).toString(16)+(a%16).toString(16)})+'"':'"'+f+'"'}});FB.provide("UA",{ie:function(){return FB.UA._populate()||this._ie},firefox:function(){return FB.UA._populate()||this._firefox},opera:function(){return FB.UA._populate()||this._opera},safari:function(){return FB.UA._populate()||this._safari},chrome:function(){return FB.UA._populate()||this._chrome},windows:function(){return FB.UA._populate()||this._windows},osx:function(){return FB.UA._populate()||this._osx},linux:function(){return FB.UA._populate()||this._linux},iphone:function(){return FB.UA._populate()||this._iphone},_populated:false,_populate:function(){if(FB.UA._populated){return}FB.UA._populated=true;var e=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))/.exec(navigator.userAgent);var f=/(Mac OS X)|(Windows)|(Linux)/.exec(navigator.userAgent);var d=/\b(iPhone|iP[ao]d)/.exec(navigator.userAgent);if(e){FB.UA._ie=e[1]?parseFloat(e[1]):NaN;if(FB.UA._ie>=8&&!window.HTMLCollection){FB.UA._ie=7}FB.UA._firefox=e[2]?parseFloat(e[2]):NaN;FB.UA._opera=e[3]?parseFloat(e[3]):NaN;FB.UA._safari=e[4]?parseFloat(e[4]):NaN;if(FB.UA._safari){e=/(?:Chrome\/(\d+\.\d+))/.exec(navigator.userAgent);FB.UA._chrome=e&&e[1]?parseFloat(e[1]):NaN}else{FB.UA._chrome=NaN}}else{FB.UA._ie=FB.UA._firefox=FB.UA._opera=FB.UA._chrome=FB.UA._safari=NaN}if(f){FB.UA._osx=!!f[1];FB.UA._windows=!!f[2];FB.UA._linux=!!f[3]}else{FB.UA._osx=FB.UA._windows=FB.UA._linux=false}FB.UA._iphone=d}});FB.provide("Dom",{containsCss:function(f,e){var d=" "+f.className+" ";return d.indexOf(" "+e+" ")>=0},addCss:function(c,d){if(!FB.Dom.containsCss(c,d)){c.className=c.className+" "+d}},removeCss:function(c,d){if(FB.Dom.containsCss(c,d)){c.className=c.className.replace(d,"");FB.Dom.removeCss(c,d)}},getStyle:function(f,h){var g=false,e=f.style;if(f.currentStyle){FB.Array.forEach(h.match(/\-([a-z])/g),function(a){h=h.replace(a,a.substr(1,1).toUpperCase())});g=f.currentStyle[h]}else{FB.Array.forEach(h.match(/[A-Z]/g),function(a){h=h.replace(a,"-"+a.toLowerCase())});if(window.getComputedStyle){g=document.defaultView.getComputedStyle(f,null).getPropertyValue(h);if(h=="background-position-y"||h=="background-position-x"){if(g=="top"||g=="left"){g="0px"}}}}if(h=="opacity"){if(f.filters&&f.filters.alpha){return g}return g*100}return g},setStyle:function(f,h,g){var e=f.style;if(h=="opacity"){if(g>=100){g=99.999}if(g<0){g=0}e.opacity=g/100;e.MozOpacity=g/100;e.KhtmlOpacity=g/100;if(f.filters){if(f.filters.alpha==undefined){f.filter="alpha(opacity="+g+")"}else{f.filters.alpha.opacity=g}}}else{e[h]=g}},addScript:function(c){var d=document.createElement("script");d.type="text/javascript";d.src=c;return document.getElementsByTagName("head")[0].appendChild(d)},addCssRules:function(h,j){if(!FB.Dom._cssRules){FB.Dom._cssRules={}}var g=true;FB.Array.forEach(j,function(a){if(!(a in FB.Dom._cssRules)){g=false;FB.Dom._cssRules[a]=true}});if(g){return}if(!FB.UA.ie()){var i=document.createElement("style");i.type="text/css";i.textContent=h;document.getElementsByTagName("head")[0].appendChild(i)}else{try{document.createStyleSheet().cssText=h}catch(f){if(document.styleSheets[0]){document.styleSheets[0].cssText+=h}}}},getViewportInfo:function(){var b=(document.documentElement&&document.compatMode=="CSS1Compat")?document.documentElement:document.body;return{scrollTop:b.scrollTop,scrollLeft:b.scrollLeft,width:self.innerWidth?self.innerWidth:b.clientWidth,height:self.innerHeight?self.innerHeight:b.clientHeight}},ready:function(b){if(FB.Dom._isReady){b()}else{FB.Event.subscribe("dom.ready",b)}}});(function(){function domReady(){FB.Dom._isReady=true;FB.Event.fire("dom.ready");FB.Event.clear("dom.ready")}if(FB.Dom._isReady||document.readyState=="complete"){return domReady()}if(document.addEventListener){document.addEventListener("DOMContentLoaded",domReady,false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",domReady)}}if(FB.UA.ie()&&window===top){(function(){try{document.documentElement.doScroll("left")}catch(error){setTimeout(arguments.callee,0);return}domReady()})()}var oldonload=window.onload;window.onload=function(){domReady();if(oldonload){if(typeof oldonload=="string"){eval(oldonload)}else{oldonload()}}}})();FB.provide("Dialog",{_loaderEl:null,_stack:[],_active:null,_findRoot:function(b){while(b){if(FB.Dom.containsCss(b,"fb_dialog")){return b}b=b.parentNode}},_showLoader:function(e,f){if(!FB.Dialog._loaderEl){f=parseInt(f,10);f=f?f:460;FB.Dialog._loaderEl=FB.Dialog._findRoot(FB.Dialog.create({content:('<div class="dialog_title">  <a id="fb_dialog_loader_close">    <div class="fb_dialog_close_icon"></div>  </a>  <span>Facebook</span>  <div style="clear:both;"></div></div><div class="dialog_content"></div><div class="dialog_footer"></div>'),width:f}))}if(!e){e=function(){}}var d=FB.$("fb_dialog_loader_close");FB.Dom.removeCss(d,"fb_hidden");d.onclick=function(){FB.Dialog._hideLoader();e()};FB.Dialog._makeActive(FB.Dialog._loaderEl)},_hideLoader:function(){if(FB.Dialog._loaderEl&&FB.Dialog._loaderEl==FB.Dialog._active){FB.Dialog._loaderEl.style.top="-10000px"}},_makeActive:function(b){FB.Dialog._lowerActive();FB.Dialog._active=b;FB.Dialog._centerActive(FB.Canvas.getPageInfo())},_lowerActive:function(){if(!FB.Dialog._active){return}FB.Dialog._active.style.top="-10000px";FB.Dialog._active=null},_removeStacked:function(b){FB.Dialog._stack=FB.Array.filter(FB.Dialog._stack,function(a){return a!=b})},_centerActive:function(m){var r=FB.Dialog._active;if(!r){return}var k=FB.Dom.getViewportInfo();var j=parseInt(r.offsetWidth,10);var q=parseInt(r.offsetHeight,10);var p=k.scrollLeft+(k.width-j)/2;var n=(k.height-q)/2.5;if(p<n){n=p}var o=k.height-q-n;var l=m.scrollTop-m.offsetTop+(m.clientHeight-q)/2;if(l<n){l=n}else{if(l>o){l=o}}l+=k.scrollTop;r.style.left=(p>0?p:0)+"px";r.style.top=(l>0?l:0)+"px"},create:function(j){j=j||{};if(j.loader){FB.Dialog._showLoader(j.onClose,j.loaderWidth)}var k=document.createElement("div"),l=document.createElement("div"),h="fb_dialog";if(j.closeIcon&&j.onClose){var g=document.createElement("a");g.className="fb_dialog_close_icon";g.onclick=j.onClose;k.appendChild(g)}if(FB.UA.ie()){h+=" fb_dialog_legacy";FB.Array.forEach(["vert_left","vert_right","horiz_top","horiz_bottom","top_left","top_right","bottom_left","bottom_right"],function(b){var a=document.createElement("span");a.className="fb_dialog_"+b;k.appendChild(a)})}else{h+=" fb_dialog_advanced"}if(j.content){FB.Content.append(j.content,l)}k.className=h;var i=parseInt(j.width,10);if(!isNaN(i)){k.style.width=i+"px"}l.className="fb_dialog_content";k.appendChild(l);FB.Content.append(k);if(j.visible){FB.Dialog.show(k)}return l},show:function(b){b=FB.Dialog._findRoot(b);if(b){FB.Dialog._removeStacked(b);FB.Dialog._hideLoader();FB.Dialog._makeActive(b);FB.Dialog._stack.push(b)}},remove:function(d){d=FB.Dialog._findRoot(d);if(d){var c=FB.Dialog._active==d;FB.Dialog._removeStacked(d);FB.Dialog._hideLoader();if(c){if(FB.Dialog._stack.length>0){FB.Dialog.show(FB.Dialog._stack.pop())}else{FB.Dialog._lowerActive()}}window.setTimeout(function(){d.parentNode.removeChild(d)},3000)}}});FB.provide("",{ui:function(h,f){if(!h.method){FB.log('"method" is a required parameter for FB.ui().');return}var g=FB.UIServer.prepareCall(h,f);if(!g){return}var i=g.params.display;if(i=="dialog"){i="iframe"}var j=FB.UIServer[i];if(!j){FB.log('"display" must be one of "popup", "iframe" or "hidden".');return}j(g)}});FB.provide("UIServer",{Methods:{},_active:{},_defaultCb:{},_resultToken:'"xxRESULTTOKENxx"',genericTransform:function(b){if(b.params.display=="dialog"||b.params.display=="iframe"){b.params.display="iframe";b.params.channel=FB.UIServer._xdChannelHandler(b.id,"parent.parent")}return b},prepareCall:function(m,s){var n=m.method.toLowerCase(),o=FB.UIServer.Methods[n]||{size:{width:575,height:240}},p=FB.guid(),q=(o.noHttps!==true)&&(FB._https||(n!=="auth.status"));FB.copy(m,{api_key:FB._apiKey,app_id:FB._apiKey,locale:FB._locale,sdk:"joey",access_token:q&&FB._session&&FB._session.access_token||undefined});m.display=FB.UIServer.getDisplayMode(o,m);if(!o.url){o.url="dialog/"+n;if(!FB.Canvas.isTabIframe()){delete m.method}}var t={cb:s,id:p,size:o.size||{},url:FB.getDomain(q?"https_www":"www")+o.url,params:m};var k=o.transform?o.transform:FB.UIServer.genericTransform;if(k){t=k(t);if(!t){return}}var l=FB.UIServer.getXdRelation(t.params.display);if(!(t.id in FB.UIServer._defaultCb)&&!("next" in t.params)){t.params.next=FB.UIServer._xdResult(t.cb,t.id,l,true)}if(l==="parent"){t.params.channel_url=FB.UIServer._xdChannelHandler(p,"parent.parent")}t.params=FB.JSON.flatten(t.params);var r=FB.QS.encode(t.params);if((t.url+r).length>2000){t.post=true}else{if(r){t.url+="?"+r}}return t},getDisplayMode:function(d,c){if(c.display==="hidden"){return"hidden"}if(FB.Canvas.isTabIframe()&&c.display!=="popup"){return"async"}if(!FB._session&&c.display=="dialog"&&!d.loggedOutIframe){FB.log('"dialog" mode can only be used when the user is connected.');return"popup"}if(d.connectDisplay&&!FB._inCanvas){return d.connectDisplay}return c.display||(FB._session?"dialog":"popup")},getXdRelation:function(b){if(b==="popup"){return"opener"}if(b==="dialog"||b==="iframe"||b==="hidden"){return"parent"}if(b==="async"){return"parent.frames["+window.name+"]"}},popup:function(u){var v=typeof window.screenX!="undefined"?window.screenX:window.screenLeft,n=typeof window.screenY!="undefined"?window.screenY:window.screenTop,p=typeof window.outerWidth!="undefined"?window.outerWidth:document.documentElement.clientWidth,q=typeof window.outerHeight!="undefined"?window.outerHeight:(document.documentElement.clientHeight-22),l=u.size.width,s=u.size.height,o=(v<0)?window.screen.width+v:v,r=parseInt(o+((p-l)/2),10),m=parseInt(n+((q-s)/2.5),10),t=("width="+l+",height="+s+",left="+r+",top="+m+",scrollbars=1");if(u.params.method=="permissions.request"){t+=",location=1,toolbar=0"}if(u.post){FB.UIServer._active[u.id]=window.open("about:blank",u.id,t);FB.Content.submitToTarget({url:u.url,target:u.id,params:u.params})}else{FB.UIServer._active[u.id]=window.open(u.url,u.id,t)}if(u.id in FB.UIServer._defaultCb){FB.UIServer._popupMonitor()}},hidden:function(b){b.className="FB_UI_Hidden";b.root=FB.Content.appendHidden("");FB.UIServer._insertIframe(b)},iframe:function(b){b.className="FB_UI_Dialog";b.root=FB.Dialog.create({onClose:function(){FB.UIServer._triggerDefault(b.id)},loader:!b.hideLoader,loaderWidth:b.size.width,closeIcon:true});FB.Dom.addCss(b.root,"fb_dialog_iframe");FB.UIServer._insertIframe(b)},async:function(b){b.frame=window.name;delete b.url;delete b.size;FB.Arbiter.inform("showDialog",b)},_insertIframe:function(c){FB.UIServer._active[c.id]=false;var d=function(a){if(c.id in FB.UIServer._active){FB.UIServer._active[c.id]=a}};if(c.post){FB.Content.insertIframe({url:"about:blank",root:c.root,className:c.className,width:c.size.width,height:c.size.height,onInsert:d,onload:function(a){FB.Content.submitToTarget({url:c.url,target:a.name,params:c.params})}})}else{FB.Content.insertIframe({url:c.url,root:c.root,className:c.className,width:c.size.width,height:c.size.height,onInsert:d})}},_triggerDefault:function(b){FB.UIServer._xdRecv({frame:b},FB.UIServer._defaultCb[b]||function(){})},_popupMonitor:function(){var g;for(var f in FB.UIServer._active){if(FB.UIServer._active.hasOwnProperty(f)&&f in FB.UIServer._defaultCb){var j=FB.UIServer._active[f];try{if(j.tagName){continue}}catch(i){}try{if(j.closed){FB.UIServer._triggerDefault(f)}else{g=true}}catch(h){}}}if(g&&!FB.UIServer._popupInterval){FB.UIServer._popupInterval=window.setInterval(FB.UIServer._popupMonitor,100)}else{if(!g&&FB.UIServer._popupInterval){window.clearInterval(FB.UIServer._popupInterval);FB.UIServer._popupInterval=null}}},_xdChannelHandler:function(d,c){return FB.XD.handler(function(b){var a=FB.UIServer._active[d];if(!a){return}if(b.type=="resize"){if(b.height){a.style.height=b.height+"px"}if(b.width){a.style.width=b.width+"px"}FB.Arbiter.inform("resize.ack",b.ackData||{},"parent.frames["+a.name+"]",true);FB.Dialog.show(a)}},c,true)},_xdNextHandler:function(f,e,g,h){if(h){FB.UIServer._defaultCb[e]=f}return FB.XD.handler(function(a){FB.UIServer._xdRecv(a,f)},g)+"&frame="+e},_xdRecv:function(f,g){var j=FB.UIServer._active[f.frame];try{if(FB.Dom.containsCss(j,"FB_UI_Hidden")){window.setTimeout(function(){j.parentNode.parentNode.removeChild(j.parentNode)},3000)}else{if(FB.Dom.containsCss(j,"FB_UI_Dialog")){FB.Dialog.remove(j)}}}catch(i){}try{if(j.close){j.close();FB.UIServer._popupCount--}}catch(h){}delete FB.UIServer._active[f.frame];delete FB.UIServer._defaultCb[f.frame];g(f)},_xdResult:function(f,e,g,h){return(FB.UIServer._xdNextHandler(function(a){f&&f(a.result&&a.result!=FB.UIServer._resultToken&&FB.JSON.parse(a.result))},e,g,h)+"&result="+encodeURIComponent(FB.UIServer._resultToken))}});FB.provide("",{getLoginStatus:function(e,d){if(!FB._apiKey){FB.log("FB.getLoginStatus() called before calling FB.init().");return}if(e){if(!d&&FB.Auth._loadState=="loaded"){e({status:FB._userStatus,session:FB._session});return}else{FB.Event.subscribe("FB.loginStatus",e)}}if(!d&&FB.Auth._loadState=="loading"){return}FB.Auth._loadState="loading";var f=function(a){FB.Auth._loadState="loaded";FB.Event.fire("FB.loginStatus",a);FB.Event.clear("FB.loginStatus")};FB.ui({method:"auth.status",display:"hidden"},f)},getSession:function(){return FB._session},login:function(d,c){FB.ui(FB.copy({method:"permissions.request",display:"popup"},c||{}),d)},logout:function(b){FB.ui({method:"auth.logout",display:"hidden"},b)}});FB.provide("Auth",{_callbacks:[],setSession:function(n,l){var i=!FB._session&&n,p=FB._session&&!n,j=FB._session&&n&&FB._session.uid!=n.uid,m=i||p||(FB._session&&n&&FB._session.access_token!=n.access_token),k=l!=FB._userStatus;var o={session:n,status:l};FB._session=n;FB._userStatus=l;if(m&&FB.Cookie&&FB.Cookie.getEnabled()){FB.Cookie.set(n)}if(k){FB.Event.fire("auth.statusChange",o)}if(p||j){FB.Event.fire("auth.logout",o)}if(i||j){FB.Event.fire("auth.login",o)}if(m){FB.Event.fire("auth.sessionChange",o)}if(FB.Auth._refreshTimer){window.clearTimeout(FB.Auth._refreshTimer);delete FB.Auth._refreshTimer}if(FB.Auth._loadState&&n&&n.expires){FB.Auth._refreshTimer=window.setTimeout(function(){FB.getLoginStatus(null,true)},1200000)}return o},xdHandler:function(h,g,i,l,j,k){return FB.UIServer._xdNextHandler(FB.Auth.xdResponseWrapper(h,j,k),g,i,l)},xdResponseWrapper:function(e,f,d){return function(c){try{d=FB.JSON.parse(c.session)}catch(a){}if(d){f="connected"}if(c&&c.fb_https&&!FB._https){FB._https=true}var b=FB.Auth.setSession(d||null,f);b.perms=c&&c.perms||null;e&&e(b)}}});FB.provide("UIServer.Methods",{"permissions.request":{size:{width:627,height:326},transform:function(b){if(!FB._apiKey){FB.log("FB.login() called before calling FB.init().");return}if(FB._session&&!b.params.perms&&!b.params.auth_type){FB.log("FB.login() called when user is already connected.");b.cb&&b.cb({status:FB._userStatus,session:FB._session});return}b=FB.UIServer.genericTransform(b);b.cb=FB.Auth.xdResponseWrapper(b.cb,FB._userStatus,FB._session);b.params.method="permissions.request";FB.copy(b.params,{fbconnect:FB._inCanvas?0:1,return_session:1,session_version:3});return b}},"auth.logout":{url:"logout.php",transform:function(b){if(!FB._apiKey){FB.log("FB.logout() called before calling FB.init().")}else{if(!FB._session){FB.log("FB.logout() called without a session.")}else{b.params.next=FB.Auth.xdHandler(b.cb,b.id,"parent",false,"unknown");return b}}}},"auth.status":{url:"extern/login_status.php",transform:function(f){var e=f.cb,h=f.id,g=FB.Auth.xdHandler;delete f.cb;FB.copy(f.params,{no_session:g(e,h,"parent",false,"notConnected"),no_user:g(e,h,"parent",false,"unknown"),ok_session:g(e,h,"parent",false,"connected"),session_version:3,extern:FB._inCanvas?0:2});return f}}});FB.provide("Cookie",{_domain:null,_enabled:false,setEnabled:function(b){FB.Cookie._enabled=b},getEnabled:function(){return FB.Cookie._enabled},load:function(){var d=document.cookie.match("\\bfbs_"+FB._apiKey+'="([^;]*)\\b'),c;if(d){c=FB.QS.decode(d[1]);c.expires=parseInt(c.expires,10);FB.Cookie._domain=c.base_domain}return c},setRaw:function(f,d,e){document.cookie="fbs_"+FB._apiKey+'="'+f+'"'+(f&&d==0?"":"; expires="+new Date(d*1000).toGMTString())+"; path=/"+(e?"; domain=."+e:"");FB.Cookie._domain=e},set:function(b){b?FB.Cookie.setRaw(FB.QS.encode(b),b.expires,b.base_domain):FB.Cookie.clear()},clear:function(){FB.Cookie.setRaw("",0,FB.Cookie._domain)}});FB.provide("Frictionless",{_allowedRecipients:{},_useFrictionless:false,_updateRecipients:function(){FB.Frictionless._allowedRecipients={};FB.api("/me/apprequestformerrecipients",function(b){if(!b||b.error){return}FB.Array.forEach(b.data,function(a){FB.Frictionless._allowedRecipients[a.recipient_id]=true},false)})},init:function(){FB.Frictionless._useFrictionless=true;FB.Event.subscribe("auth.login",function(b){if(b.session){FB.Frictionless._updateRecipients()}});FB.provide("UIServer.Methods",{apprequests:{size:{width:575,height:240},transform:function(b){b=FB.UIServer.genericTransform(b);b.cb=FB.Frictionless._processRequestResponse(b.cb);b.hideLoader=FB.Frictionless.isAllowed(b.params.to);return b}}})},_processRequestResponse:function(b){return function(g){var h=g&&typeof g.frictionless_value!=="undefined";var f=g&&g.updated_frictionless;if(FB.Frictionless._useFrictionless&&(f||h)){FB.Frictionless._updateRecipients();if(h){var a=[];FB.Array.forEach(g.request_ids,function(c){a.push(c)},false);g.request_ids=a}}b&&b(g)}},isAllowed:function(f){if(!f){return false}if(typeof f==="number"||typeof f==="string"){return FB.Frictionless._allowedRecipients[f]}var e=true;var d=false;FB.Array.forEach(f,function(a){e=e&&FB.Frictionless._allowedRecipients[a];d=true},false);return e&&d}});FB.provide("",{initSitevars:{},init:function(b){b=FB.copy(b||{},{logging:true,status:true});FB._apiKey=b.appId||b.apiKey;if(!b.logging&&window.location.toString().indexOf("fb_debug=1")<0){FB._logging=false}FB.XD.init(b.channelUrl);if(b.frictionlessRequests){FB.Frictionless.init()}if(FB._apiKey){FB.Cookie.setEnabled(b.cookie);b.session=b.session||FB.Cookie.load();FB.Auth.setSession(b.session,b.session?"connected":"unknown");if(b.status){FB.getLoginStatus()}}if(FB._inCanvas){FB.Canvas.init()}FB.Event.subscribe("xfbml.parse",function(){if(FB.XFBML.Rectangle){FB.XFBML.Rectangle.batchRectangleRequests()}});if(b.xfbml){window.setTimeout(function(){if(FB.XFBML){if(FB.initSitevars.parseXFBMLBeforeDomReady){FB.XFBML.parse();var a=window.setInterval(function(){FB.XFBML.parse()},100);FB.Dom.ready(function(){window.clearInterval(a);FB.XFBML.parse()})}else{FB.Dom.ready(FB.XFBML.parse)}}},0)}if(FB.Canvas&&FB.Canvas.EarlyFlush){FB.Canvas.EarlyFlush.maybeSample()}}});FB.provide("Canvas.EarlyFlush",{_sampleRate:0,_appIds:[],maybeSample:function(){if(!FB._inCanvas||!FB._apiKey||!FB.Canvas.EarlyFlush._sampleRate){return}var c=Math.random();if(c>1/FB.Canvas.EarlyFlush._sampleRate){return}var d=FB.Canvas.EarlyFlush._appIds;if(FB.Array.indexOf(FB.Canvas.EarlyFlush._appIds,parseInt(FB._apiKey,10))==-1){return}window.setTimeout(FB.Canvas.EarlyFlush.sample,10000)},sample:function(){var f={object:"data",link:"href",script:"src"};var e=[];FB.Array.forEach(f,function(b,a){FB.Array.forEach(window.document.getElementsByTagName(a),function(c){if(c[b]){e.push(c[b])}})});var d=FB.JSON.stringify(e);FB.api(FB._apiKey+"/staticresources","post",{urls:d})}});FB.provide("CanvasInsights",{setDoneLoading:function(d){var c=null;if(d){c=FB.XD.handler(d,"top.frames["+window.name+"]",false)}FB.Arbiter.inform("RecordIframeAppTti",{frame:window.name||"iframe_canvas",time:(new Date()).getTime(),channelUrl:c})}});FB.provide("UIServer.Methods",{"stream.share":{size:{width:575,height:380},url:"sharer.php",transform:function(b){if(!b.params.u){b.params.u=window.location.toString()}return b}},"fbml.dialog":{size:{width:575,height:300},url:"render_fbml.php",loggedOutIframe:true,transform:function(b){return b}},"auth.logintofacebook":{size:{width:530,height:287},url:"login.php",transform:function(e){e.params.skip_api_login=1;var f=FB.UIServer.getXdRelation(e.params.display);var d=FB.UIServer._xdResult(e.cb,e.id,f,true);e.params.next=FB.getDomain(FB._https?"https_www":"www")+"login.php?"+FB.QS.encode({api_key:FB._apiKey,next:d,skip_api_login:1});return e}}});FB.provide("",{share:function(b){FB.log("FB.share() has been deprecated. Please use FB.ui() instead.");FB.ui({display:"popup",method:"stream.share",u:b})},publish:function(c,d){FB.log("FB.publish() has been deprecated. Please use FB.ui() instead.");c=c||{};FB.ui(FB.copy({display:"popup",method:"stream.publish",preview:1},c||{}),d)},addFriend:function(c,d){FB.log("FB.addFriend() has been deprecated. Please use FB.ui() instead.");FB.ui({display:"popup",id:c,method:"friend.add"},d)}});FB.UIServer.Methods["auth.login"]=FB.UIServer.Methods["permissions.request"];FB.provide("XFBML",{_renderTimeout:30000,parse:function(h,f){h=h||document.body;var e=1,g=function(){e--;if(e===0){f&&f();FB.Event.fire("xfbml.render")}};FB.Array.forEach(FB.XFBML._tagInfos,function(b){if(!b.xmlns){b.xmlns="fb"}var a=FB.XFBML._getDomElements(h,b.xmlns,b.localName);for(var c=0;c<a.length;c++){e++;FB.XFBML._processElement(a[c],b,g)}});FB.Event.fire("xfbml.parse");window.setTimeout(function(){if(e>0){FB.log(e+" XFBML tags failed to render in "+FB.XFBML._renderTimeout+"ms.")}},FB.XFBML._renderTimeout);g()},registerTag:function(b){FB.XFBML._tagInfos.push(b)},_processElement:function(dom,tagInfo,cb){var element=dom._element;if(element){element.subscribe("render",cb);element.process()}else{var processor=function(){var fn=eval(tagInfo.className);var getBoolAttr=function(attr){var attr=dom.getAttribute(attr);return(attr&&FB.Array.indexOf(["true","1","yes","on"],attr.toLowerCase())>-1)};var isLogin=false;var showFaces=true;var renderInIframe=false;if(tagInfo.className==="FB.XFBML.LoginButton"){renderInIframe=getBoolAttr("render-in-iframe");showFaces=getBoolAttr("show-faces")||getBoolAttr("show_faces");isLogin=renderInIframe||showFaces;if(isLogin){fn=FB.XFBML.Login}}element=dom._element=new fn(dom);if(isLogin){var extraParams={show_faces:showFaces};var perms=dom.getAttribute("perms");if(perms){extraParams.perms=perms}element.setExtraParams(extraParams)}element.subscribe("render",cb);element.process()};if(FB.CLASSES[tagInfo.className.substr(3)]){processor()}else{FB.log("Tag "+tagInfo.className+" was not found.")}}},_getDomElements:function(g,i,j){var l=i+":"+j;if(FB.UA.firefox()){return g.getElementsByTagNameNS(document.body.namespaceURI,l)}else{if(FB.UA.ie()<9){try{var k=document.namespaces;if(k&&k[i]){var h=g.getElementsByTagName(j);if(!document.addEventListener||h.length>0){return h}}}catch(f){}return g.getElementsByTagName(l)}else{return g.getElementsByTagName(l)}}},_tagInfos:[{localName:"activity",className:"FB.XFBML.Activity"},{localName:"add-profile-tab",className:"FB.XFBML.AddProfileTab"},{localName:"bookmark",className:"FB.XFBML.Bookmark"},{localName:"comments",className:"FB.XFBML.Comments"},{localName:"comments-count",className:"FB.XFBML.CommentsCount"},{localName:"connect-bar",className:"FB.XFBML.ConnectBar"},{localName:"fan",className:"FB.XFBML.Fan"},{localName:"like",className:"FB.XFBML.Like"},{localName:"like-box",className:"FB.XFBML.LikeBox"},{localName:"live-stream",className:"FB.XFBML.LiveStream"},{localName:"login",className:"FB.XFBML.Login"},{localName:"login-button",className:"FB.XFBML.LoginButton"},{localName:"facepile",className:"FB.XFBML.Facepile"},{localName:"friendpile",className:"FB.XFBML.Friendpile"},{localName:"name",className:"FB.XFBML.Name"},{localName:"profile-pic",className:"FB.XFBML.ProfilePic"},{localName:"recommendations",className:"FB.XFBML.Recommendations"},{localName:"registration",className:"FB.XFBML.Registration"},{localName:"send",className:"FB.XFBML.Send"},{localName:"serverfbml",className:"FB.XFBML.ServerFbml"},{localName:"share-button",className:"FB.XFBML.ShareButton"},{localName:"social-bar",className:"FB.XFBML.SocialBar"},{localName:"rectangle",className:"FB.XFBML.Rectangle"}]});(function(){try{if(document.namespaces&&!document.namespaces.item.fb){document.namespaces.add("fb")}}catch(b){}}());FB.provide("XFBML",{set:function(d,f,e){FB.log("FB.XFBML.set() has been deprecated.");d.innerHTML=f;FB.XFBML.parse(d,e)}});FB.provide("",{bind:function(){var e=Array.prototype.slice.call(arguments),f=e.shift(),d=e.shift();return function(){return f.apply(d,e.concat(Array.prototype.slice.call(arguments)))}},Class:function(e,f,g){if(FB.CLASSES[e]){return FB.CLASSES[e]}var h=f||function(){};h.prototype=g;h.prototype.bind=function(a){return FB.bind(a,this)};h.prototype.constructor=h;FB.create(e,h);FB.CLASSES[e]=h;return h},subclass:function(i,f,j,h){if(FB.CLASSES[i]){return FB.CLASSES[i]}var g=FB.create(f);FB.copy(h,g.prototype);h._base=g;h._callBase=function(a){var b=Array.prototype.slice.call(arguments,1);return g.prototype[a].apply(this,b)};return FB.Class(i,j?j:function(){if(g.apply){g.apply(this,arguments)}},h)},CLASSES:{}});FB.provide("Type",{isType:function(d,c){while(d){if(d.constructor===c||d===c){return true}else{d=d._base}}return false}});FB.Class("Obj",null,FB.copy({setProperty:function(d,c){if(FB.JSON.stringify(c)!=FB.JSON.stringify(this[d])){this[d]=c;this.fire(d,c)}}},FB.EventProvider));FB.subclass("Waitable","Obj",function(){},{set:function(b){this.setProperty("value",b)},error:function(b){this.fire("error",b)},wait:function(d,c){if(c){this.subscribe("error",c)}this.monitor("value",this.bind(function(){if(this.value!==undefined){d(this.value);return true}}))}});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(f){var e=FB.String.format.apply(null,f),g=(/^select (.*?) from (\w+)\s+where (.*)$/i).exec(e);this.fields=this._toFields(g[1]);this.table=g[2];this.where=this._parseWhere(g[3]);for(var h=1;h<f.length;h++){if(FB.Type.isType(f[h],FB.Data.Query)){f[h].hasDependency=true}}return this},toFql:function(){var b="select "+this.fields.join(",")+" from "+this.table+" where ";switch(this.where.type){case"unknown":b+=this.where.value;break;case"index":b+=this.where.key+"="+this._encode(this.where.value);break;case"in":if(this.where.value.length==1){b+=this.where.key+"="+this._encode(this.where.value[0])}else{b+=this.where.key+" in ("+FB.Array.map(this.where.value,this._encode).join(",")+")"}break}return b},_encode:function(b){return typeof(b)=="string"?FB.String.quote(b):b},toString:function(){return"#"+this.name},_toFields:function(b){return FB.Array.map(b.split(","),FB.String.trim)},_parseWhere:function(s){var re=(/^\s*(\w+)\s*=\s*(.*)\s*$/i).exec(s),result,value,type="unknown";if(re){value=re[2];if(/^(["'])(?:\\?.)*?\1$/.test(value)){value=eval(value);type="index"}else{if(/^\d+\.?\d*$/.test(value)){type="index"}}}if(type=="index"){result={type:"index",key:re[1],value:value}}else{result={type:"unknown",value:s}}return result}});FB.provide("Data",{query:function(f,e){var d=new FB.Data.Query().parse(arguments);FB.Data.queue.push(d);FB.Data._waitToProcess();return d},waitOn:function(dependencies,callback){var result=new FB.Waitable(),count=dependencies.length;if(typeof(callback)=="string"){var s=callback;callback=function(args){return eval(s)}}FB.Array.forEach(dependencies,function(item){item.monitor("value",function(){var done=false;if(FB.Data._getValue(item)!==undefined){count--;done=true}if(count===0){var value=callback(FB.Array.map(dependencies,FB.Data._getValue));result.set(value!==undefined?value:true)}return done})});return result},_getValue:function(b){return FB.Type.isType(b,FB.Waitable)?b.value:b},_selectByIndex:function(g,i,f,h){var j=new FB.Data.Query();j.fields=g;j.table=i;j.where={type:"index",key:f,value:h};FB.Data.queue.push(j);FB.Data._waitToProcess();return j},_waitToProcess:function(){if(FB.Data.timer<0){FB.Data.timer=setTimeout(FB.Data._process,10)}},_process:function(){FB.Data.timer=-1;var j={},h=FB.Data.queue;FB.Data.queue=[];for(var g=0;g<h.length;g++){var f=h[g];if(f.where.type=="index"&&!f.hasDependency){FB.Data._mergeIndexQuery(f,j)}else{j[f.name]=f}}var i={method:"fql.multiquery",queries:{}};FB.copy(i.queries,j,true,function(a){return a.toFql()});i.queries=FB.JSON.stringify(i.queries);FB.api(i,function(a){if(a.error_msg){FB.Array.forEach(j,function(b){b.error(Error(a.error_msg))})}else{FB.Array.forEach(a,function(b){j[b.name].set(b.fql_result_set)})}})},_mergeIndexQuery:function(h,k){var g=h.where.key,i=h.where.value;var j="index_"+h.table+"_"+g;var l=k[j];if(!l){l=k[j]=new FB.Data.Query();l.fields=[g];l.table=h.table;l.where={type:"in",key:g,value:[]}}FB.Array.merge(l.fields,h.fields);FB.Array.merge(l.where.value,[i]);l.wait(function(a){h.set(FB.Array.filter(a,function(b){return b[g]==i}))})},timer:-1,queue:[]});window.setTimeout(function(){var b=/(connect.facebook.net|facebook.com\/assets.php).*?#(.*)/;FB.Array.forEach(document.getElementsByTagName("script"),function(e){if(e.src){var a=b.exec(e.src);if(a){var f=FB.QS.decode(a[2]);FB.Array.forEach(f,function(c,d){if(c=="0"){f[d]=0}});FB.init(f)}}});if(window.fbAsyncInit&&!window.fbAsyncInit.hasRun){window.fbAsyncInit.hasRun=true;fbAsyncInit()}},0);FB.provide("UIServer.Methods",{"pay.prompt":{transform:function(d){var c=FB.XD.handler(function(a){d.cb(FB.JSON.parse(a.response))},"parent.frames["+(window.name||"iframe_canvas")+"]");d.params.channel=c;FB.Arbiter.inform("Pay.Prompt",d.params);return false}}});FB.provide("UIServer.Methods",{pay:{size:{width:555,height:120},noHttps:true,connectDisplay:"popup",transform:function(d){if(!FB._inCanvas){d.params.order_info=FB.JSON.stringify(d.params.order_info);return d}var c=FB.XD.handler(function(a){d.cb(FB.JSON.parse(a.response))},"parent.frames["+(window.name||"iframe_canvas")+"]");d.params.channel=c;d.params.uiserver=true;FB.Arbiter.inform("Pay.Prompt",d.params);return false}}});FB.Class("XFBML.Element",function(b){this.dom=b},FB.copy({getAttribute:function(e,f,h){var g=(this.dom.getAttribute(e)||this.dom.getAttribute(e.replace(/-/g,"_"))||this.dom.getAttribute(e.replace(/-/g,"")));return g?(h?h(g):g):f},_getBoolAttribute:function(c,d){return this.getAttribute(c,d,function(a){a=a.toLowerCase();return a=="true"||a=="1"||a=="yes"||a=="on"})},_getPxAttribute:function(c,d){return this.getAttribute(c,d,function(b){var a=parseInt(b.replace("px",""),10);if(isNaN(a)){return d}else{return a}})},_getAttributeFromList:function(f,d,e){return this.getAttribute(f,d,function(a){a=a.toLowerCase();if(FB.Array.indexOf(e,a)>-1){return a}else{return d}})},isValid:function(){for(var b=this.dom;b;b=b.parentNode){if(b==document.body){return true}}},clear:function(){this.dom.innerHTML=""}},FB.EventProvider));FB.subclass("XFBML.IframeWidget","XFBML.Element",null,{_showLoader:true,_refreshOnAuthChange:false,_allowReProcess:false,_fetchPreCachedLoader:false,_visibleAfter:"load",getUrlBits:function(){throw new Error("Inheriting class needs to implement getUrlBits().")},setupAndValidate:function(){return true},oneTimeSetup:function(){},getSize:function(){},getIframeName:function(){},getIframeTitle:function(){},getChannelUrl:function(){if(!this._channelUrl){var b=this;this._channelUrl=FB.XD.handler(function(a){b.fire("xd."+a.type,a)},"parent.parent",true)}return this._channelUrl},getIframeNode:function(){return this.dom.getElementsByTagName("iframe")[0]},process:function(e){if(this._done){if(!this._allowReProcess&&!e){return}this.clear()}else{this._oneTimeSetup()}this._done=true;if(!this.setupAndValidate()){this.fire("render");return}if(this._showLoader){this._addLoader()}FB.Dom.addCss(this.dom,"fb_iframe_widget");if(this._visibleAfter!="immediate"){FB.Dom.addCss(this.dom,"fb_hide_iframes")}else{this.subscribe("iframe.onload",FB.bind(this.fire,this,"render"))}var d=this.getSize()||{};var f=this.getFullyQualifiedURL();FB.Content.insertIframe({url:f,root:this.dom.appendChild(document.createElement("span")),name:this.getIframeName(),title:this.getIframeTitle(),className:FB._localeIsRtl?"fb_rtl":"fb_ltr",height:d.height,width:d.width,onload:FB.bind(this.fire,this,"iframe.onload")})},getFullyQualifiedURL:function(){var c=this._getURL();if(!this._fetchPreCachedLoader){c+="?"+FB.QS.encode(this._getQS())}if(c.length>2000){c="about:blank";var d=FB.bind(function(){this._postRequest();this.unsubscribe("iframe.onload",d)},this);this.subscribe("iframe.onload",d)}return c},_oneTimeSetup:function(){this.subscribe("xd.resize",FB.bind(this._handleResizeMsg,this));if(FB.getLoginStatus){this.subscribe("xd.refreshLoginStatus",FB.bind(FB.getLoginStatus,FB,function(){},true));this.subscribe("xd.logout",FB.bind(FB.logout,FB,function(){}))}if(this._refreshOnAuthChange){this._setupAuthRefresh()}if(this._visibleAfter=="load"){this.subscribe("iframe.onload",FB.bind(this._makeVisible,this))}this.oneTimeSetup()},_makeVisible:function(){this._removeLoader();FB.Dom.removeCss(this.dom,"fb_hide_iframes");this.fire("render")},_setupAuthRefresh:function(){FB.getLoginStatus(FB.bind(function(c){var d=c.status;FB.Event.subscribe("auth.statusChange",FB.bind(function(a){if(!this.isValid()){return}if(d=="unknown"||a.status=="unknown"){this.process(true)}d=a.status},this))},this))},_handleResizeMsg:function(c){if(!this.isValid()){return}var d=this.getIframeNode();d.style.height=c.height+"px";if(c.width){d.style.width=c.width+"px"}d.style.border="none";this._makeVisible()},_addLoader:function(){if(!this._loaderDiv){FB.Dom.addCss(this.dom,"fb_iframe_widget_loader");this._loaderDiv=document.createElement("div");this._loaderDiv.className="FB_Loader";this.dom.appendChild(this._loaderDiv)}},_removeLoader:function(){if(this._loaderDiv){FB.Dom.removeCss(this.dom,"fb_iframe_widget_loader");if(this._loaderDiv.parentNode){this._loaderDiv.parentNode.removeChild(this._loaderDiv)}this._loaderDiv=null}},_getQS:function(){return FB.copy({api_key:FB._apiKey,locale:FB._locale,sdk:"joey",session_key:FB._session&&FB._session.session_key,ref:this.getAttribute("ref")},this.getUrlBits().params)},_getURL:function(){var d="www",c="";if(this._fetchPreCachedLoader){d="cdn";c="static/"}return FB.getDomain(d)+"plugins/"+c+this.getUrlBits().name+".php"},_postRequest:function(){FB.Content.submitToTarget({url:this._getURL(),target:this.getIframeNode().name,params:this._getQS()})}});FB.subclass("XFBML.Activity","XFBML.IframeWidget",null,{_visibleAfter:"load",_refreshOnAuthChange:true,setupAndValidate:function(){this._attr={border_color:this.getAttribute("border-color"),colorscheme:this.getAttribute("color-scheme"),filter:this.getAttribute("filter"),font:this.getAttribute("font"),header:this._getBoolAttribute("header"),height:this._getPxAttribute("height",300),recommendations:this._getBoolAttribute("recommendations"),site:this.getAttribute("site",location.hostname),width:this._getPxAttribute("width",300)};return true},getSize:function(){return{width:this._attr.width,height:this._attr.height}},getUrlBits:function(){return{name:"activity",params:this._attr}}});FB.subclass("XFBML.ButtonElement","XFBML.Element",null,{_allowedSizes:["icon","small","medium","large","xlarge"],onClick:function(){throw new Error("Inheriting class needs to implement onClick().")},setupAndValidate:function(){return true},getButtonMarkup:function(){return this.getOriginalHTML()},getOriginalHTML:function(){return this._originalHTML},process:function(){if(!("_originalHTML" in this)){this._originalHTML=FB.String.trim(this.dom.innerHTML)}if(!this.setupAndValidate()){this.fire("render");return}var g=this._getAttributeFromList("size","medium",this._allowedSizes),f="",e="";if(g=="icon"){f="fb_button_simple"}else{var h=FB._localeIsRtl?"_rtl":"";e=this.getButtonMarkup();f="fb_button"+h+" fb_button_"+g+h}this.dom.innerHTML=('<a class="'+f+'"><span class="fb_button_text">'+e+"</span></a>");this.dom.firstChild.onclick=FB.bind(this.onClick,this);this.fire("render")}});FB.provide("Helper",{isUser:function(b){return b<2200000000||(b>=100000000000000&&b<=100099999989999)},getLoggedInUser:function(){return FB._session?FB._session.uid:null},upperCaseFirstChar:function(b){if(b.length>0){return b.substr(0,1).toUpperCase()+b.substr(1)}else{return b}},getProfileLink:function(f,d,e){e=e||(f?FB.getDomain("www")+"profile.php?id="+f.uid:null);if(e){d='<a class="fb_link" href="'+e+'">'+d+"</a>"}return d},invokeHandler:function(handler,scope,args){if(handler){if(typeof handler==="string"){eval(handler)}else{if(handler.apply){handler.apply(scope,args||[])}}}},fireEvent:function(e,d){var f=d._attr.href;d.fire(e,f);FB.Event.fire(e,f,d)},executeFunctionByName:function(k){var h=Array.prototype.slice.call(arguments,1);var i=k.split(".");var l=i.pop();var g=window;for(var j=0;j<i.length;j++){g=g[i[j]]}return g[l].apply(this,h)}});FB.subclass("XFBML.AddProfileTab","XFBML.ButtonElement",null,{getButtonMarkup:function(){return FB.Intl._tx("Add Profile Tab on Facebook")},onClick:function(){FB.ui({method:"profile.addtab"},this.bind(function(b){if(b.tab_added){FB.Helper.invokeHandler(this.getAttribute("on-add"),this)}}))}});FB.subclass("XFBML.Bookmark","XFBML.ButtonElement",null,{getButtonMarkup:function(){return FB.Intl._tx("Bookmark on Facebook")},onClick:function(){FB.ui({method:"bookmark.add"},this.bind(function(b){if(b.bookmarked){FB.Helper.invokeHandler(this.getAttribute("on-add"),this)}}))}});FB.subclass("XFBML.Comments","XFBML.IframeWidget",null,{_visibleAfter:"immediate",_refreshOnAuthChange:true,setupAndValidate:function(){var e={channel_url:this.getChannelUrl(),colorscheme:this.getAttribute("colorscheme"),numposts:this.getAttribute("num-posts",10),width:this._getPxAttribute("width",550),href:this.getAttribute("href"),permalink:this.getAttribute("permalink"),publish_feed:this.getAttribute("publish_feed")};if(!e.href){e.migrated=this.getAttribute("migrated");e.xid=this.getAttribute("xid");e.title=this.getAttribute("title",document.title);e.url=this.getAttribute("url",document.URL);e.quiet=this.getAttribute("quiet");e.reverse=this.getAttribute("reverse");e.simple=this.getAttribute("simple");e.css=this.getAttribute("css");e.notify=this.getAttribute("notify");if(!e.xid){var f=document.URL.indexOf("#");if(f>0){e.xid=encodeURIComponent(document.URL.substring(0,f))}else{e.xid=encodeURIComponent(document.URL)}}if(e.migrated){e.href="http://www.facebook.com/plugins/comments_v1.php?app_id="+FB._apiKey+"&xid="+encodeURIComponent(e.xid)+"&url="+encodeURIComponent(e.url)}}else{var d=this.getAttribute("fb_comment_id");if(!d){d=FB.QS.decode(document.URL.substring(document.URL.indexOf("?")+1)).fb_comment_id;if(d&&d.indexOf("#")>0){d=d.substring(0,d.indexOf("#"))}}if(d){e.fb_comment_id=d;this.subscribe("render",FB.bind(function(){window.location.hash=this.getIframeNode().id},this))}}this._attr=e;return true},oneTimeSetup:function(){this.subscribe("xd.addComment",FB.bind(this._handleCommentMsg,this));this.subscribe("xd.commentCreated",FB.bind(this._handleCommentCreatedMsg,this));this.subscribe("xd.commentRemoved",FB.bind(this._handleCommentRemovedMsg,this))},getSize:function(){return{width:this._attr.width,height:200}},getUrlBits:function(){return{name:"comments",params:this._attr}},_handleCommentMsg:function(b){if(!this.isValid()){return}FB.Event.fire("comments.add",{post:b.post,user:b.user,widget:this})},_handleCommentCreatedMsg:function(c){if(!this.isValid()){return}var d={href:c.href,commentID:c.commentID,parentCommentID:c.parentCommentID};FB.Event.fire("comment.create",d)},_handleCommentRemovedMsg:function(c){if(!this.isValid()){return}var d={href:c.href,commentID:c.commentID};FB.Event.fire("comment.remove",d)}});FB.subclass("XFBML.CommentsCount","XFBML.Element",null,{process:function(){this._href=this.getAttribute("href",window.location.href);this._count=FB.Data._selectByIndex(["commentsbox_count"],"link_stat","url",this._href);FB.Dom.addCss(this.dom,"fb_comments_count_zero");this._count.wait(FB.bind(function(){var b=this._count.value[0].commentsbox_count;this.dom.innerHTML=FB.String.format('<span class="fb_comments_count">{0}</span>',b);if(b>0){FB.Dom.removeCss(this.dom,"fb_comments_count_zero")}this.fire("render")},this))}});FB.provide("Anim",{ate:function(r,n,q,s){q=!isNaN(parseFloat(q))&&q>=0?q:750;var p=40,o={},k={},t=null,m=r.style,l=setInterval(FB.bind(function(){if(!t){t=new Date().getTime()}var a=1;if(q!=0){a=Math.min((new Date().getTime()-t)/q,1)}FB.Array.forEach(n,FB.bind(function(d,b){if(!o[b]){var e=FB.Dom.getStyle(r,b);if(e===false){return}o[b]=this._parseCSS(e+"")}if(!k[b]){k[b]=this._parseCSS(d.toString())}var c="";FB.Array.forEach(o[b],function(f,g){if(isNaN(k[b][g].numPart)&&k[b][g].textPart=="?"){c=f.numPart+f.textPart}else{if(isNaN(f.numPart)){c=f.textPart}else{c+=(f.numPart+Math.ceil((k[b][g].numPart-f.numPart)*Math.sin(Math.PI/2*a)))+k[b][g].textPart+" "}}});FB.Dom.setStyle(r,b,c)},this));if(a==1){clearInterval(l);if(s){s(r)}}},this),p)},_parseCSS:function(d){var c=[];FB.Array.forEach(d.split(" "),function(a){var b=parseInt(a,10);c.push({numPart:b,textPart:a.replace(b,"")})});return c}});FB.provide("Insights",{impression:function(l,i){var h=FB.guid(),j="//ah8.facebook.com/impression.php/"+h+"/",n=new Image(1,1),k=[];if(!l.api_key&&FB._apiKey){l.api_key=FB._apiKey}for(var m in l){k.push(encodeURIComponent(m)+"="+encodeURIComponent(l[m]))}j+="?"+k.join("&");if(i){n.onload=i}n.src=j}});FB.subclass("XFBML.ConnectBar","XFBML.Element",null,{_initialHeight:null,_initTopMargin:0,_picFieldName:"pic_square",_page:null,_displayed:false,_notDisplayed:false,_container:null,_animationSpeed:0,process:function(){FB.getLoginStatus(this.bind(function(b){FB.Event.monitor("auth.statusChange",this.bind(function(){if(this.isValid()&&FB._userStatus=="connected"){this._uid=FB.Helper.getLoggedInUser();FB.api({method:"Connect.shouldShowConnectBar"},this.bind(function(a){if(a!=2){this._animationSpeed=(a==0)?750:0;this._showBar()}else{this._noRender()}}))}else{this._noRender()}return false}))}))},_showBar:function(){var d=FB.Data._selectByIndex(["first_name","profile_url",this._picFieldName],"user","uid",this._uid);var c=FB.Data._selectByIndex(["display_name"],"application","api_key",FB._apiKey);FB.Data.waitOn([d,c],FB.bind(function(a){a[0][0].site_name=a[1][0].display_name;if(!this._displayed){this._displayed=true;this._notDisplayed=false;this._renderConnectBar(a[0][0]);this.fire("render");FB.Insights.impression({lid:104,name:"widget_load"});this.fire("connectbar.ondisplay");FB.Event.fire("connectbar.ondisplay",this);FB.Helper.invokeHandler(this.getAttribute("on-display"),this)}},this))},_noRender:function(){if(this._displayed){this._displayed=false;this._closeConnectBar()}if(!this._notDisplayed){this._notDisplayed=true;this.fire("render");this.fire("connectbar.onnotdisplay");FB.Event.fire("connectbar.onnotdisplay",this);FB.Helper.invokeHandler(this.getAttribute("on-not-display"),this)}},_renderConnectBar:function(k){var g=document.createElement("div"),l=document.createElement("div");g.className="fb_connect_bar";l.className="fb_reset fb_connect_bar_container";l.appendChild(g);document.body.appendChild(l);this._container=l;this._initialHeight=Math.round(parseFloat(FB.Dom.getStyle(l,"height"))+parseFloat(FB.Dom.getStyle(l,"borderBottomWidth")));g.innerHTML=FB.String.format('<div class="fb_buttons"><a href="#" class="fb_bar_close"><img src="{1}" alt="{2}" title="{2}"/></a></div><a href="{7}" class="fb_profile" target="_blank"><img src="{3}" alt="{4}" title="{4}"/></a>{5} <span><a href="{8}" class="fb_learn_more" target="_blank">{6}</a> &ndash; <a href="#" class="fb_no_thanks">{0}</a></span>',FB.Intl._tx("No Thanks"),FB.getDomain("cdn")+FB.XFBML.ConnectBar.imgs.buttonUrl,FB.Intl._tx("Close"),k[this._picFieldName]||FB.getDomain("cdn")+FB.XFBML.ConnectBar.imgs.missingProfileUrl,FB.String.escapeHTML(k.first_name),FB.Intl._tx("Hi {firstName}. \u003cstrong>{siteName}\u003c/strong> is using Facebook to personalize your experience.",{firstName:FB.String.escapeHTML(k.first_name),siteName:FB.String.escapeHTML(k.site_name)}),FB.Intl._tx("Learn More"),k.profile_url,FB.getDomain("www")+"sitetour/connect.php");var h=this;FB.Array.forEach(g.getElementsByTagName("a"),function(a){a.onclick=FB.bind(h._clickHandler,h)});this._page=document.body;var i=0;if(this._page.parentNode){i=Math.round((parseFloat(FB.Dom.getStyle(this._page.parentNode,"height"))-parseFloat(FB.Dom.getStyle(this._page,"height")))/2)}else{i=parseInt(FB.Dom.getStyle(this._page,"marginTop"),10)}i=isNaN(i)?0:i;this._initTopMargin=i;if(!window.XMLHttpRequest){l.className+=" fb_connect_bar_container_ie6"}else{l.style.top=(-1*this._initialHeight)+"px";FB.Anim.ate(l,{top:"0px"},this._animationSpeed)}var j={marginTop:this._initTopMargin+this._initialHeight+"px"};if(FB.UA.ie()){j.backgroundPositionY=this._initialHeight+"px"}else{j.backgroundPosition="? "+this._initialHeight+"px"}FB.Anim.ate(this._page,j,this._animationSpeed)},_clickHandler:function(d){d=d||window.event;var c=d.target||d.srcElement;while(c.nodeName!="A"){c=c.parentNode}switch(c.className){case"fb_bar_close":FB.api({method:"Connect.connectBarMarkAcknowledged"});FB.Insights.impression({lid:104,name:"widget_user_closed"});this._closeConnectBar();break;case"fb_learn_more":case"fb_profile":window.open(c.href);break;case"fb_no_thanks":this._closeConnectBar();FB.api({method:"Connect.connectBarMarkAcknowledged"});FB.Insights.impression({lid:104,name:"widget_user_no_thanks"});FB.api({method:"auth.revokeAuthorization",block:true},this.bind(function(){this.fire("connectbar.ondeauth");FB.Event.fire("connectbar.ondeauth",this);FB.Helper.invokeHandler(this.getAttribute("on-deauth"),this);if(this._getBoolAttribute("auto-refresh",true)){window.location.reload()}}));break}return false},_closeConnectBar:function(){this._notDisplayed=true;var d={marginTop:this._initTopMargin+"px"};if(FB.UA.ie()){d.backgroundPositionY="0px"}else{d.backgroundPosition="? 0px"}var c=(this._animationSpeed==0)?0:300;FB.Anim.ate(this._page,d,c);FB.Anim.ate(this._container,{top:(-1*this._initialHeight)+"px"},c,function(a){a.parentNode.removeChild(a)});this.fire("connectbar.onclose");FB.Event.fire("connectbar.onclose",this);FB.Helper.invokeHandler(this.getAttribute("on-close"),this)}});FB.provide("XFBML.ConnectBar",{imgs:{buttonUrl:"images/facebook-widgets/close_btn.png",missingProfileUrl:"pics/q_silhouette.gif"}});FB.subclass("XFBML.Facepile","XFBML.IframeWidget",null,{_visibleAfter:"load",_extraParams:{},setupAndValidate:function(){this._attr={href:this.getAttribute("href"),channel:this.getChannelUrl(),max_rows:this.getAttribute("max-rows"),width:this._getPxAttribute("width",200),ref:this.getAttribute("ref")};for(var b in this._extraParams){this._attr[b]=this._extraParams[b]}return true},setExtraParams:function(b){this._extraParams=b},oneTimeSetup:function(){var b=FB._userStatus;FB.Event.subscribe("auth.statusChange",FB.bind(function(a){if(b=="connected"||a.status=="connected"){this.process(true)}b=a.status},this))},getSize:function(){return{width:this._attr.width,height:70}},getUrlBits:function(){return{name:"facepile",params:this._attr}}});FB.subclass("XFBML.Fan","XFBML.IframeWidget",null,{_visibleAfter:"load",setupAndValidate:function(){this._attr={api_key:FB._apiKey,connections:this.getAttribute("connections","10"),css:this.getAttribute("css"),height:this._getPxAttribute("height"),id:this.getAttribute("profile-id"),logobar:this._getBoolAttribute("logo-bar"),name:this.getAttribute("name"),stream:this._getBoolAttribute("stream",true),width:this._getPxAttribute("width",300)};if(!this._attr.id&&!this._attr.name){FB.log('<fb:fan> requires one of the "id" or "name" attributes.');return false}var b=this._attr.height;if(!b){if((!this._attr.connections||this._attr.connections==="0")&&!this._attr.stream){b=65}else{if(!this._attr.connections||this._attr.connections==="0"){b=375}else{if(!this._attr.stream){b=250}else{b=550}}}}if(this._attr.logobar){b+=25}this._attr.height=b;return true},getSize:function(){return{width:this._attr.width,height:this._attr.height}},getUrlBits:function(){return{name:"fan",params:this._attr}}});FB.subclass("XFBML.Friendpile","XFBML.Facepile",null,{});FB.subclass("XFBML.EdgeCommentWidget","XFBML.IframeWidget",function(b){this._iframeWidth=b.width;this._iframeHeight=b.height;this._attr={master_frame_name:b.masterFrameName};this.dom=b.commentNode;this.dom.style.top=b.relativeHeightOffset;if(b.relativeWidthOffset){if(FB._localeIsRtl){this.dom.style.right=b.relativeWidthOffset}else{this.dom.style.left=b.relativeWidthOffset}}this.dom.style.zIndex=FB.XFBML.EdgeCommentWidget.NextZIndex++;FB.Dom.addCss(this.dom,"fb_edge_comment_widget")},{_visibleAfter:"load",_showLoader:false,getSize:function(){return{width:this._iframeWidth,height:this._iframeHeight}},getUrlBits:function(){return{name:"comment_widget_shell",params:this._attr}}});FB.provide("XFBML.EdgeCommentWidget",{NextZIndex:10000});FB.subclass("XFBML.EdgeWidget","XFBML.IframeWidget",null,{_visibleAfter:"immediate",_showLoader:false,setupAndValidate:function(){FB.Dom.addCss(this.dom,"fb_edge_widget_with_comment");this._attr={channel_url:this.getChannelUrl(),debug:this._getBoolAttribute("debug"),href:this.getAttribute("href",window.location.href),is_permalink:this._getBoolAttribute("is-permalink"),node_type:this.getAttribute("node-type","link"),width:this._getWidgetWidth(),font:this.getAttribute("font"),layout:this._getLayout(),colorscheme:this.getAttribute("color-scheme"),action:this.getAttribute("action"),ref:this.getAttribute("ref"),show_faces:this._shouldShowFaces(),no_resize:this._getBoolAttribute("no_resize"),send:this.getAttribute("send"),url_map:this.getAttribute("url_map")};return true},oneTimeSetup:function(){this.subscribe("xd.authPrompted",FB.bind(this._onAuthPrompt,this));this.subscribe("xd.edgeCreated",FB.bind(this._onEdgeCreate,this));this.subscribe("xd.edgeRemoved",FB.bind(this._onEdgeRemove,this));this.subscribe("xd.presentEdgeCommentDialog",FB.bind(this._handleEdgeCommentDialogPresentation,this));this.subscribe("xd.dismissEdgeCommentDialog",FB.bind(this._handleEdgeCommentDialogDismissal,this));this.subscribe("xd.hideEdgeCommentDialog",FB.bind(this._handleEdgeCommentDialogHide,this));this.subscribe("xd.showEdgeCommentDialog",FB.bind(this._handleEdgeCommentDialogShow,this))},getSize:function(){return{width:this._getWidgetWidth(),height:this._getWidgetHeight()}},_getWidgetHeight:function(){var e=this._getLayout();var f=this._shouldShowFaces()?"show":"hide";var d={standard:{show:80,hide:35},box_count:{show:65,hide:65},button_count:{show:21,hide:21},simple:{show:20,hide:20}};return d[e][f]},_getWidgetWidth:function(){var p=this._getLayout();var n=this.getAttribute("send");var m=this._shouldShowFaces()?"show":"hide";var r=(this.getAttribute("action")==="recommend"?130:90)+(n&&n!=="false"?60:0);var s=this.getAttribute("action")==="recommend"?100:55;var l=this.getAttribute("action")==="recommend"?90:50;var o={standard:{show:450,hide:450},box_count:{show:s,hide:s},button_count:{show:r,hide:r},simple:{show:l,hide:l}};var q=o[p][m];var k=this._getPxAttribute("width",q);var t={standard:{min:225,max:900},box_count:{min:s,max:900},button_count:{min:r,max:900},simple:{min:49,max:900}};if(k<t[p].min){k=t[p].min}else{if(k>t[p].max){k=t[p].max}}return k},_getLayout:function(){return this._getAttributeFromList("layout","standard",["standard","button_count","box_count","simple"])},_shouldShowFaces:function(){return this._getLayout()==="standard"&&this._getBoolAttribute("show-faces",true)},_handleEdgeCommentDialogPresentation:function(c){if(!this.isValid()){return}var d=document.createElement("span");this._commentSlave=this._createEdgeCommentWidget(c,d);this.dom.appendChild(d);this._commentSlave.process();this._commentWidgetNode=d},_createEdgeCommentWidget:function(d,e){var f={commentNode:e,externalUrl:d.externalURL,width:400,height:225,masterFrameName:d.masterFrameName,layout:this._getLayout(),relativeHeightOffset:this._getHeightOffset(d),relativeWidthOffset:this._getWidthOffset(d)};return new FB.XFBML.EdgeCommentWidget(f)},_getHeightOffset:function(f){if(f&&f.preComputedHeightOffset){return parseInt(f.preComputedHeightOffset,10)+"px"}var e=this._getLayout();var d={standard:"22px",button_count:"19px",box_count:"-5px",simple:"18px"};return d[e]},_getCommonEdgeCommentWidgetOpts:function(h,f,g,e){return{colorscheme:this._attr.colorscheme,commentNode:f,controllerID:h.controllerID,nodeImageURL:h.nodeImageURL,nodeTitle:h.nodeTitle,nodeURL:h.nodeURL,nodeSummary:h.nodeSummary,width:400,height:300,relativeHeightOffset:(e?this._getHeightOffset(h):this._getHeightOffset()),relativeWidthOffset:(g?this._getWidthOffset(h):this._getWidthOffset()),error:h.error,siderender:h.siderender}},_getWidthOffset:function(f){if(f&&f.preComputedWidthOffset){return parseInt(f.preComputedWidthOffset,10)+"px"}var e=this._getLayout();var d={standard:"0px",box_count:"0px",button_count:"0px",simple:"0px"};return d[e]},_handleEdgeCommentDialogDismissal:function(b){if(this._commentWidgetNode){this.dom.removeChild(this._commentWidgetNode);delete this._commentWidgetNode}},_handleEdgeCommentDialogHide:function(){if(this._commentWidgetNode){this._commentWidgetNode.style.display="none"}},_handleEdgeCommentDialogShow:function(){if(this._commentWidgetNode){this._commentWidgetNode.style.display="block"}},_fireEventAndInvokeHandler:function(c,d){FB.Helper.fireEvent(c,this);FB.Helper.invokeHandler(this.getAttribute(d),this,[this._attr.href])},_onEdgeCreate:function(){this._fireEventAndInvokeHandler("edge.create","on-create")},_onEdgeRemove:function(){this._fireEventAndInvokeHandler("edge.remove","on-remove")},_onAuthPrompt:function(){this._fireEventAndInvokeHandler("auth.prompt","on-prompt")}});FB.subclass("XFBML.SendButtonFormWidget","XFBML.EdgeCommentWidget",function(b){this._base(b);FB.Dom.addCss(this.dom,"fb_send_button_form_widget");FB.Dom.addCss(this.dom,b.colorscheme);FB.Dom.addCss(this.dom,(typeof b.siderender!="undefined"&&b.siderender)?"siderender":"");this._attr.nodeImageURL=b.nodeImageURL;this._attr.nodeTitle=b.nodeTitle;this._attr.nodeURL=b.nodeURL;this._attr.nodeSummary=b.nodeSummary;this._attr.channel=this.getChannelUrl();this._attr.controllerID=b.controllerID;this._attr.colorscheme=b.colorscheme;this._attr.error=b.error;this._attr.siderender=b.siderender},{_showLoader:true,getUrlBits:function(){return{name:"send_button_form_shell",params:this._attr}},oneTimeSetup:function(){this.subscribe("xd.messageSent",FB.bind(this._onMessageSent,this))},_onMessageSent:function(){FB.Event.fire("message.send",this._attr.nodeURL,this)}});FB.subclass("XFBML.Send","XFBML.EdgeWidget",null,{setupAndValidate:function(){FB.Dom.addCss(this.dom,"fb_edge_widget_with_comment");this._attr={channel:this.getChannelUrl(),api_key:FB._apiKey,font:this.getAttribute("font"),colorscheme:this.getAttribute("colorscheme","light"),href:this.getAttribute("href",window.location.href)};return true},getUrlBits:function(){return{name:"send",params:this._attr}},_createEdgeCommentWidget:function(d,e){var f=this._getCommonEdgeCommentWidgetOpts(d,e);return new FB.XFBML.SendButtonFormWidget(f)},_getHeightOffset:function(){return"21px"},_getWidthOffset:function(){return"0px"},getSize:function(){return{width:FB.XFBML.Send.Dimensions.width,height:FB.XFBML.Send.Dimensions.height}}});FB.provide("XFBML.Send",{Dimensions:{width:56,height:25}});FB.subclass("XFBML.Like","XFBML.EdgeWidget",null,{getUrlBits:function(){return{name:"like",params:this._attr}},_createEdgeCommentWidget:function(d,e){if("send" in this._attr&&"widget_type" in d&&d.widget_type=="send"){var f=this._getCommonEdgeCommentWidgetOpts(d,e,true,true);return new FB.XFBML.SendButtonFormWidget(f)}else{return this._callBase("_createEdgeCommentWidget",d,e)}},getIframeTitle:function(){return"Like this content on Facebook."}});FB.subclass("XFBML.LikeBox","XFBML.IframeWidget",null,{_visibleAfter:"load",setupAndValidate:function(){this._attr={channel:this.getChannelUrl(),api_key:FB._apiKey,connections:this.getAttribute("connections"),css:this.getAttribute("css"),height:this.getAttribute("height"),id:this.getAttribute("profile-id"),header:this._getBoolAttribute("header",true),name:this.getAttribute("name"),show_faces:this._getBoolAttribute("show-faces",true),stream:this._getBoolAttribute("stream",true),width:this._getPxAttribute("width",300),href:this.getAttribute("href"),colorscheme:this.getAttribute("colorscheme","light")};if(this._attr.connections==="0"){this._attr.show_faces=false}else{if(this._attr.connections){this._attr.show_faces=true}}if(!this._attr.id&&!this._attr.name&&!this._attr.href){FB.log('<fb:like-box> requires one of the "id" or "name" attributes.');return false}var b=this._attr.height;if(!b){if(!this._attr.show_faces&&!this._attr.stream){b=62}else{b=95;if(this._attr.show_faces){b+=163}if(this._attr.stream){b+=300}if(this._attr.header&&this._attr.header!=="0"){b+=32}}}this._attr.height=b;this.subscribe("xd.likeboxLiked",FB.bind(this._onLiked,this));this.subscribe("xd.likeboxUnliked",FB.bind(this._onUnliked,this));return true},getSize:function(){return{width:this._attr.width,height:this._attr.height}},getUrlBits:function(){return{name:"likebox",params:this._attr}},_onLiked:function(){FB.Helper.fireEvent("edge.create",this)},_onUnliked:function(){FB.Helper.fireEvent("edge.remove",this)}});FB.subclass("XFBML.LiveStream","XFBML.IframeWidget",null,{_visibleAfter:"load",setupAndValidate:function(){this._attr={height:this._getPxAttribute("height",500),hideFriendsTab:this.getAttribute("hide-friends-tab"),redesigned:this._getBoolAttribute("redesigned-stream"),width:this._getPxAttribute("width",400),xid:this.getAttribute("xid","default"),always_post_to_friends:this._getBoolAttribute("always-post-to-friends",false),via_url:this.getAttribute("via_url")};return true},getSize:function(){return{width:this._attr.width,height:this._attr.height}},getUrlBits:function(){var b=this._attr.redesigned?"live_stream_box":"livefeed";return{name:b,params:this._attr}}});FB.subclass("XFBML.Login","XFBML.Facepile",null,{_visibleAfter:"load",getSize:function(){return{width:this._attr.width,height:94}},getUrlBits:function(){return{name:"login",params:this._attr}}});FB.subclass("XFBML.LoginButton","XFBML.ButtonElement",null,{setupAndValidate:function(){if(this._alreadySetup){return true}this._alreadySetup=true;this._attr={autologoutlink:this._getBoolAttribute("auto-logout-link"),length:this._getAttributeFromList("length","short",["long","short"]),onlogin:this.getAttribute("on-login"),perms:this.getAttribute("perms"),registration_url:this.getAttribute("registration-url"),status:"unknown"};if(this._attr.autologoutlink){FB.Event.subscribe("auth.statusChange",FB.bind(this.process,this))}if(this._attr.registration_url){FB.Event.subscribe("auth.statusChange",this._saveStatus(this.process));FB.getLoginStatus(this._saveStatus(this.process))}return true},getButtonMarkup:function(){var b=this.getOriginalHTML();if(b){return b}if(!this._attr.registration_url){if(FB.getSession()&&this._attr.autologoutlink){return FB.Intl._tx("Facebook Logout")}else{return this._getLoginText()}}else{switch(this._attr.status){case"unknown":return this._getLoginText();case"notConnected":return FB.Intl._tx("Register");case"connected":if(FB.getSession()&&this._attr.autologoutlink){return FB.Intl._tx("Facebook Logout")}return this._getLoginText();default:FB.log("Unknown status: "+this.status);return FB.Intl._tx("Login")}}},_getLoginText:function(){return this._attr.length=="short"?FB.Intl._tx("Login"):FB.Intl._tx("Login with Facebook")},onClick:function(){if(!this._attr.registration_url){if(!FB.getSession()||!this._attr.autologoutlink){FB.login(FB.bind(this._authCallback,this),{perms:this._attr.perms})}else{FB.logout(FB.bind(this._authCallback,this))}}else{switch(this._attr.status){case"unknown":FB.ui({method:"auth.loginToFacebook"},FB.bind(function(b){FB.getLoginStatus(this._saveStatus(this._authCallback),true)},this));break;case"notConnected":window.top.location=this._attr.registration_url;break;case"connected":if(!FB.getSession()||!this._attr.autologoutlink){this._authCallback()}else{FB.logout(FB.bind(this._authCallback,this))}break;default:FB.log("Unknown status: "+this.status)}}},_authCallback:function(b){FB.Helper.invokeHandler(this._attr.onlogin,this,[b])},_saveStatus:function(b){return FB.bind(function(a){this._attr.status=a.status;if(b){b=this.bind(b,this);return b(a)}},this)}});FB.subclass("XFBML.Name","XFBML.Element",null,{process:function(){FB.copy(this,{_uid:this.getAttribute("uid"),_firstnameonly:this._getBoolAttribute("first-name-only"),_lastnameonly:this._getBoolAttribute("last-name-only"),_possessive:this._getBoolAttribute("possessive"),_reflexive:this._getBoolAttribute("reflexive"),_objective:this._getBoolAttribute("objective"),_linked:this._getBoolAttribute("linked",true),_subjectId:this.getAttribute("subject-id")});if(!this._uid){FB.log('"uid" is a required attribute for <fb:name>');this.fire("render");return}var c=[];if(this._firstnameonly){c.push("first_name")}else{if(this._lastnameonly){c.push("last_name")}else{c.push("name")}}if(this._subjectId){c.push("sex");if(this._subjectId==FB.Helper.getLoggedInUser()){this._reflexive=true}}var d;FB.Event.monitor("auth.statusChange",this.bind(function(){if(!this.isValid()){this.fire("render");return true}if(!this._uid||this._uid=="loggedinuser"){this._uid=FB.Helper.getLoggedInUser()}if(!this._uid){return}if(FB.Helper.isUser(this._uid)){d=FB.Data._selectByIndex(c,"user","uid",this._uid)}else{d=FB.Data._selectByIndex(["name","id"],"profile","id",this._uid)}d.wait(this.bind(function(a){if(this._subjectId==this._uid){this._renderPronoun(a[0])}else{this._renderOther(a[0])}this.fire("render")}))}))},_renderPronoun:function(d){var f="",e=this._objective;if(this._subjectId){e=true;if(this._subjectId===this._uid){this._reflexive=true}}if(this._uid==FB.Connect.get_loggedInUser()&&this._getBoolAttribute("use-you",true)){if(this._possessive){if(this._reflexive){f="your own"}else{f="your"}}else{if(this._reflexive){f="yourself"}else{f="you"}}}else{switch(d.sex){case"male":if(this._possessive){f=this._reflexive?"his own":"his"}else{if(this._reflexive){f="himself"}else{if(e){f="him"}else{f="he"}}}break;case"female":if(this._possessive){f=this._reflexive?"her own":"her"}else{if(this._reflexive){f="herself"}else{if(e){f="her"}else{f="she"}}}break;default:if(this._getBoolAttribute("use-they",true)){if(this._possessive){if(this._reflexive){f="their own"}else{f="their"}}else{if(this._reflexive){f="themselves"}else{if(e){f="them"}else{f="they"}}}}else{if(this._possessive){if(this._reflexive){f="his/her own"}else{f="his/her"}}else{if(this._reflexive){f="himself/herself"}else{if(e){f="him/her"}else{f="he/she"}}}}break}}if(this._getBoolAttribute("capitalize",false)){f=FB.Helper.upperCaseFirstChar(f)}this.dom.innerHTML=f},_renderOther:function(f){if(!f){return}var d="",e="";if(this._uid==FB.Helper.getLoggedInUser()&&this._getBoolAttribute("use-you",true)){if(this._reflexive){if(this._possessive){d="your own"}else{d="yourself"}}else{if(this._possessive){d="your"}else{d="you"}}}else{if(null===f.first_name){f.first_name=""}if(null===f.last_name){f.last_name=""}if(this._firstnameonly&&f.first_name!==undefined){d=FB.String.escapeHTML(f.first_name)}else{if(this._lastnameonly&&f.last_name!==undefined){d=FB.String.escapeHTML(f.last_name)}}if(!d){d=FB.String.escapeHTML(f.name)}if(d!==""&&this._possessive){d+="'s"}}if(!d){d=FB.String.escapeHTML(this.getAttribute("if-cant-see","Facebook User"))}if(d){if(this._getBoolAttribute("capitalize",false)){d=FB.Helper.upperCaseFirstChar(d)}if(this._linked){e=FB.Helper.getProfileLink(f,d,this.getAttribute("href",null))}else{e=d}}this.dom.innerHTML=e}});FB.subclass("XFBML.ProfilePic","XFBML.Element",null,{process:function(){var m=this.getAttribute("size","thumb"),h=FB.XFBML.ProfilePic._sizeToPicFieldMap[m],j=this._getPxAttribute("width"),i=this._getPxAttribute("height"),l=this.dom.style,k=this.getAttribute("uid");if(this._getBoolAttribute("facebook-logo")){h+="_with_logo"}if(j){j=j+"px";l.width=j}if(i){i=i+"px";l.height=i}var n=this.bind(function(c){var a=c?c[0]:null,d=a?a[h]:null;if(!d){d=FB.getDomain("cdn")+FB.XFBML.ProfilePic._defPicMap[h]}var b=((j?"width:"+j+";":"")+(i?"height:"+j+";":"")),e=FB.String.format('<img src="{0}" alt="{1}" title="{1}" style="{2}" class="{3}" />',d,a?FB.String.escapeHTML(a.name):"",b,this.dom.className);if(this._getBoolAttribute("linked",true)){e=FB.Helper.getProfileLink(a,e,this.getAttribute("href",null))}this.dom.innerHTML=e;FB.Dom.addCss(this.dom,"fb_profile_pic_rendered");this.fire("render")});FB.Event.monitor("auth.statusChange",this.bind(function(){if(!this.isValid()){this.fire("render");return true}if(this.getAttribute("uid",null)=="loggedinuser"){k=FB.Helper.getLoggedInUser()}if(FB._userStatus&&k){FB.Data._selectByIndex(["name",h],FB.Helper.isUser(k)?"user":"profile",FB.Helper.isUser(k)?"uid":"id",k).wait(n)}else{n()}}))}});FB.provide("XFBML.ProfilePic",{_defPicMap:{pic:"pics/s_silhouette.jpg",pic_big:"pics/d_silhouette.gif",pic_big_with_logo:"pics/d_silhouette_logo.gif",pic_small:"pics/t_silhouette.jpg",pic_small_with_logo:"pics/t_silhouette_logo.gif",pic_square:"pics/q_silhouette.gif",pic_square_with_logo:"pics/q_silhouette_logo.gif",pic_with_logo:"pics/s_silhouette_logo.gif"},_sizeToPicFieldMap:{n:"pic_big",normal:"pic_big",q:"pic_square",s:"pic",small:"pic",square:"pic_square",t:"pic_small",thumb:"pic_small"}});FB.subclass("XFBML.Recommendations","XFBML.IframeWidget",null,{_visibleAfter:"load",_refreshOnAuthChange:true,setupAndValidate:function(){this._attr={border_color:this.getAttribute("border-color"),colorscheme:this.getAttribute("color-scheme"),filter:this.getAttribute("filter"),font:this.getAttribute("font"),header:this._getBoolAttribute("header"),height:this._getPxAttribute("height",300),site:this.getAttribute("site",location.hostname),width:this._getPxAttribute("width",300)};return true},getSize:function(){return{width:this._attr.width,height:this._attr.height}},getUrlBits:function(){return{name:"recommendations",params:this._attr}}});FB.subclass("XFBML.Registration","XFBML.IframeWidget",null,{_visibleAfter:"immediate",_baseHeight:167,_fieldHeight:28,_skinnyWidth:520,_skinnyBaseHeight:173,_skinnyFieldHeight:52,setupAndValidate:function(){this._attr={action:this.getAttribute("action"),border_color:this.getAttribute("border-color"),channel_url:this.getChannelUrl(),client_id:FB._apiKey,fb_only:this._getBoolAttribute("fb-only",false),fields:this.getAttribute("fields"),height:this._getPxAttribute("height"),redirect_uri:this.getAttribute("redirect-uri",window.location.href),no_footer:this._getBoolAttribute("no-footer"),no_header:this._getBoolAttribute("no-header"),onvalidate:this.getAttribute("onvalidate"),width:this._getPxAttribute("width",600)};if(this._attr.onvalidate){this.subscribe("xd.validate",this.bind(function(e){var g=FB.JSON.parse(e.value);var f=this.bind(function(a){FB.Arbiter.inform("Registration.Validation",{errors:a,id:e.id},'parent.frames["'+this.getIframeNode().name+'"]',window.location.protocol=="https:")});var h=FB.Helper.executeFunctionByName(this._attr.onvalidate,g,f);if(h){f(h)}}))}this.subscribe("xd.authLogin",FB.bind(this._onAuthLogin,this));this.subscribe("xd.authLogout",FB.bind(this._onAuthLogout,this));return true},getSize:function(){return{width:this._attr.width,height:this._getHeight()}},_getHeight:function(){if(this._attr.height){return this._attr.height}var c;if(!this._attr.fields){c=["name"]}else{try{c=FB.JSON.parse(this._attr.fields)}catch(d){c=this._attr.fields.split(/,/)}}if(this._attr.width<this._skinnyWidth){return this._skinnyBaseHeight+c.length*this._skinnyFieldHeight}else{return this._baseHeight+c.length*this._fieldHeight}},getUrlBits:function(){return{name:"registration",params:this._attr}},_onAuthLogin:function(){if(!FB.getSession()){FB.getLoginStatus()}FB.Helper.fireEvent("auth.login",this)},_onAuthLogout:function(){if(!FB.getSession()){FB.getLoginStatus()}FB.Helper.fireEvent("auth.logout",this)}});FB.subclass("XFBML.ServerFbml","XFBML.IframeWidget",null,{_visibleAfter:"resize",setupAndValidate:function(){this._attr={channel_url:this.getChannelUrl(),fbml:this.getAttribute("fbml"),width:this._getPxAttribute("width")};if(!this._attr.fbml){var b=this.dom.getElementsByTagName("script")[0];if(b&&b.type==="text/fbml"){this._attr.fbml=b.innerHTML}}if(!this._attr.fbml){FB.log('<fb:serverfbml> requires the "fbml" attribute.');return false}return true},getSize:function(){return{width:this._attr.width,height:this._attr.height}},getUrlBits:function(){return{name:"serverfbml",params:this._attr}}});FB.subclass("XFBML.ShareButton","XFBML.Element",null,{process:function(){this._href=this.getAttribute("href",window.location.href);this._type=this.getAttribute("type","icon_link");FB.Dom.addCss(this.dom,"fb_share_count_hidden");this._renderButton(true)},_renderButton:function(k){if(!this.isValid()){this.fire("render");return}var o="",n="",m="",p="",l=FB.Intl._tx("Share"),j="";switch(this._type){case"icon":case"icon_link":p="fb_button_simple";o=('<span class="fb_button_text">'+(this._type=="icon_link"?l:"&nbsp;")+"</span>");k=false;break;case"link":o=FB.Intl._tx("Share on Facebook");k=false;break;case"button":o='<span class="fb_button_text">'+l+"</span>";p="fb_button fb_button_small";k=false;break;case"button_count":o='<span class="fb_button_text">'+l+"</span>";n=('<span class="fb_share_count_nub_right">&nbsp;</span><span class="fb_share_count fb_share_count_right">'+this._getCounterMarkup()+"</span>");p="fb_button fb_button_small";break;default:o='<span class="fb_button_text">'+l+"</span>";m=('<span class="fb_share_count_nub_top">&nbsp;</span><span class="fb_share_count fb_share_count_top">'+this._getCounterMarkup()+"</span>");p="fb_button fb_button_small";j="fb_share_count_wrapper"}var q=FB.guid();this.dom.innerHTML=FB.String.format('<span class="{0}">{4}<a id="{1}" class="{2}" target="_blank">{3}</a>{5}</span>',j,q,p,o,m,n);var r=document.getElementById(q);r.href=this._href;r.onclick=function(){FB.ui({method:"stream.share",u:this._href});return false};if(!k){this.fire("render")}},_getCounterMarkup:function(){if(!this._count){this._count=FB.Data._selectByIndex(["total_count"],"link_stat","url",this._href)}var c="0";if(this._count.value!==undefined){if(this._count.value.length>0){var d=this._count.value[0].total_count;if(d>3){FB.Dom.removeCss(this.dom,"fb_share_count_hidden");c=d>=10000000?Math.round(d/1000000)+"M":(d>=10000?Math.round(d/1000)+"K":d)}}}else{this._count.wait(FB.bind(this._renderButton,this,false))}return'<span class="fb_share_count_inner">'+c+"</span>"}});FB.subclass("XFBML.SocialBar","XFBML.EdgeWidget",function(b){if(FB.XFBML.SocialBar.oInstance){return FB.XFBML.SocialBar.oInstance}this.dom=b;FB.XFBML.SocialBar.oInstance=this;return this},{_fetchPreCachedLoader:false,_showLoader:false,_initialWidth:860,_initialHeight:34,_barIframe:null,_currentZ:0,_refreshOnAuthChange:true,_visibleAfter:"load",_getPageWidth:function(){var d=this._barIframe;var c=parseInt(FB.Dom.getStyle(d.parentNode,"width"),10);if(isNaN(c)){c=parseInt(d.parentNode.offsetWidth,10)}return c},_minimizeToolbar:function(h){var f=this._barIframe;h.resetWidth=false;var g=300;if(h.width=="100%"){h.resetWidth=true;h.width=this._getPageWidth()}if(f.offsetWidth!=h.width){FB.Anim.ate(f,{width:h.width+"px"},g,function(a){if(h.resetWidth){FB.Dom.setStyle(a,"width","100%")}});var e=this.dom.getElementsByTagName("iframe");FB.Array.forEach(e,function(a){if(a.parentNode.id=="fb_social_bar_container"){return}if(!a._isHidden){a._origHeight=parseInt(FB.Dom.getStyle(a,"height"),10);a._origWidth=parseInt(FB.Dom.getStyle(a,"width"),10);a._origRight=parseInt(FB.Dom.getStyle(a,"right"),10);a._origLeft=parseInt(FB.Dom.getStyle(a,"left"),10);a._isHidden=true;FB.Anim.ate(a,{height:"0px",width:"0px",right:h.width+"px",left:(f.offsetWidth-h.width)+"px",opacity:0},g)}else{FB.Anim.ate(a,{height:a._isClosed?"0px":a._origHeight+"px",width:a._origWidth+"px",right:a._origRight+"px",left:a._origLeft+"px",opacity:100},g);a._isHidden=false}})}},_spawnChild:function(m){var o=this._barIframe,j,l,k=document.createElement("i");if(!m.position||m.position!="left"){l=parseInt(FB.Dom.getStyle(o.parentNode,"paddingRight"),10)+(m.position?0:parseInt(m.minimizeWidth,10));j="right"}else{l=parseInt(FB.Dom.getStyle(o.parentNode,"paddingLeft"),10)+parseInt(m.offsetLeft?m.offsetLeft:0,10);j="left"}if(m.name in window.frames){var n=this.dom.getElementsByTagName?this.dom.getElementsByTagName("iframe"):document.getElementsByTagName("iframe");for(var p=0;p<n.length;p++){var q=n[p];if(q.name==m.name){q.style.width=m.width;q._isClosed=false;FB.Anim.ate(q,{height:m.height,opacity:100})}}}else{o.parentNode.appendChild(k);var r=this;FB.Content.insertIframe({root:k,name:m.name,url:m.src,className:"fb_social_bar_iframe",width:parseInt(m.width,10),height:0,onload:function(a){a.style.position="absolute";a.style[r._attr.position]=r._initialHeight+"px";a.style.height="0px";a.style[j]=l+"px";a.style.zIndex=++r._currentZ;FB.Dom.setStyle(a,"opacity",0);FB.Anim.ate(a,{height:m.height,opacity:100});a._isClosed=false}})}FB.Array.forEach(document.getElementsByTagName("object"),function(a){FB.Dom.setStyle(a,"visibility","hidden")})},_closeChild:function(h){var e=this.dom.getElementsByTagName?this.dom.getElementsByTagName("iframe"):document.getElementsByTagName("iframe");var g=function(a){if(h.remove){a.parentNode.parentNode.removeChild(a.parentNode)}};for(var f=0;f<e.length;f++){if(e[f].name==h.name){e[f]._isClosed=true;FB.Anim.ate(e[f],{height:"0px",opacity:0},300,g)}}FB.Array.forEach(document.getElementsByTagName("object"),function(a){FB.Dom.setStyle(a,"visibility","")})},_expand:function(){FB.Dom.setStyle(this._barIframe,"height","100%");FB.Dom.setStyle(this._barIframe.parentNode,"height","100%")},_shrink:function(){FB.Dom.setStyle(this._barIframe,"height","34px");FB.Dom.setStyle(this._barIframe.parentNode,"height","34px")},_iframeOnLoad:function(){var h=this._barIframe=this.getIframeNode(),e=h.parentNode;var g=true;e.id="fb_social_bar_container";if(g){FB.Dom.setStyle(h,"width","100%")}else{FB.Dom.setStyle(h,"width","35px")}this._currentZ+=parseInt(FB.Dom.getStyle(h,"zIndex"),10);if(isNaN(this._currentZ)){this._currentZ=99999}FB.Dom.setStyle(h,"opacity",100);h.className="fb_social_bar_iframe";if(!window.XMLHttpRequest){FB.Dom.setStyle(e,"position","absolute");e.className="fb_social_bar_iframe_"+this._attr.position+"_ie6";e.parentNode.removeChild(e);document.body.appendChild(e)}else{FB.Dom.setStyle(e,this._attr.position,"0px")}FB.Dom.setStyle(this.dom,"display","inline");function f(){this.widgets={}}FB.copy(f.prototype,{addWidget:function(c,a,b){this.widgets[c]=FB.copy({widget:a},b);return this},send:function(c){var b=FB.guid();var a=FB.copy({widget_pipe:FB.JSON.stringify(this.widgets)},c);FB.Content.insertIframe({url:"about:blank",root:document.getElementById("fb-root")||document.body,name:b,className:"fb_hidden",onload:function(){FB.Content.submitToTarget({url:FB._domain.www+"widget_pipe.php",target:b,params:a},true)}})},addSocialBarWidgets:function(c,a){for(var b=0;b<a.length;b++){this.addWidget(c+":"+a[b],a[b])}return this}});new f().addSocialBarWidgets(h.name,["social_bar_controls","social_bar_profile","social_bar_like","social_bar_activity","social_bar_jewels"]).send({href:window.location,site:this.getAttribute("site",location.hostname),channel:this.getChannelUrl(),api_key:FB._apiKey,locale:FB._locale,sdk:"joey",session_key:FB._session&&FB._session.session_key})},oneTimeSetup:function(){FB.Dom.setStyle(this.dom,"display","none");this.subscribe("xd.minimizeToolbar",FB.bind(this._minimizeToolbar,this));this.subscribe("xd.spawnChild",FB.bind(this._spawnChild,this));this.subscribe("xd.closeChild",FB.bind(this._closeChild,this));this.subscribe("xd.logoutSocialBar",FB.logout);this.subscribe("xd.loginSocialBar",FB.login);this.subscribe("iframe.onload",FB.bind(this._iframeOnLoad,this));this.subscribe("xd.presentEdgeCommentDialog",FB.bind(this._onEdgeCreate,this));this.subscribe("xd.presentEdgeCommentDialog",FB.bind(this._handleEdgeCommentDialogPresentation,this));this.subscribe("xd.dismissEdgeCommentDialog",FB.bind(this._handleEdgeCommentDialogDismissal,this));this.subscribe("xd.hideEdgeCommentDialog",FB.bind(this._handleEdgeCommentDialogHide,this));this.subscribe("xd.showEdgeCommentDialog",FB.bind(this._handleEdgeCommentDialogShow,this));this.subscribe("xd.expandBar",FB.bind(this._expand,this));this.subscribe("xd.shrinkBar",FB.bind(this._shrink,this))},_handleEdgeCommentDialogPresentation:function(h){if(!this.isValid()){return}var f=document.createElement("i");var g={commentNode:f,externalUrl:h.externalURL,width:330,height:200,masterFrameName:h.masterFrameName,relativeHeightOffset:"0px"};this._commentSlave=new FB.XFBML.EdgeCommentWidget(g);var e=parseInt(FB.Dom.getStyle(this._barIframe.parentNode,"paddingLeft"),10)+parseInt(h.left,10);FB.Dom.setStyle(f,"position","absolute");FB.Dom.removeCss(f,"fb_iframe_widget");FB.Dom.setStyle(f,"top","");FB.Dom.setStyle(f,this._attr.position,this._initialHeight-1+"px");FB.Dom.setStyle(f,"left",e+"px");FB.Dom.setStyle(f,"zIndex",++this._currentZ);FB.Dom.setStyle(f,"opacity",0);this.dom.parentNode.appendChild(f);this._commentSlave.process();this._commentWidgetNode=f},_handleEdgeCommentDialogHide:function(){if(this._commentWidgetNode){FB.Dom.removeCss(this._commentWidgetNode,"hidden_elem");FB.Anim.ate(this._commentWidgetNode,{opacity:0},300,FB.bind(function(){this._commentWidgetNode.style.display="none"},this))}},_handleEdgeCommentDialogShow:function(){if(this._commentWidgetNode){this._commentWidgetNode.style.display="block";FB.Anim.ate(this._commentWidgetNode,{opacity:100},500)}},_handleEdgeCommentDialogDismissal:function(b){if(this._commentWidgetNode){this._commentWidgetNode.parentNode.removeChild(this._commentWidgetNode);delete this._commentWidgetNode}},getUrlBits:function(){return{name:"social_bar",params:this._attr}},getSize:function(){return{width:this._initialWidth,height:this._initialHeight}},getIframeName:function(){return"fb_social_bar_iframe"},setupAndValidate:function(){this._attr={like:this._getBoolAttribute("like"),precache:this._getBoolAttribute("precache"),send:this._getBoolAttribute("send"),activity:this._getBoolAttribute("activity"),chat:this._getBoolAttribute("chat"),position:this._getAttributeFromList("position","bottom",["top","bottom"]),href:window.location,site:this.getAttribute("site",location.hostname),channel:this.getChannelUrl()};return true}});void (0);FB.provide("",{_domain:{api:"https://api.facebook.com/",api_read:"https://api-read.facebook.com/",cdn:"http://static.ak.fbcdn.net/",graph:"https://graph.facebook.com/",https_cdn:"https://s-static.ak.fbcdn.net/",https_staticfb:"https://s-static.ak.facebook.com/",https_www:"https://www.facebook.com/",staticfb:"http://static.ak.facebook.com/",www:"http://www.facebook.com/"},_locale:"en_US",_localeIsRtl:false},true);FB.provide("Flash",{_minVersions:[[10,0,22,87]],_swfPath:"rsrc.php/v1/yF/r/Y7YCBKX-HZn.swf"},true);FB.provide("XD",{_xdProxyUrl:"connect/xd_proxy.php?version=0"},true);FB.provide("Arbiter",{_canvasProxyUrl:"connect/canvas_proxy.php?version=0"},true);FB.initSitevars={parseXFBMLBeforeDomReady:false};FB.provide("Canvas.EarlyFlush",{_appIds:[149470875078432,291549705119],_sampleRate:10000},true);FB.provide("XFBML.ConnectBar",{imgs:{buttonUrl:"rsrc.php/v1/yY/r/h_Y6u1wrZPW.png",missingProfileUrl:"rsrc.php/v1/yo/r/UlIqmHJn-SK.gif"}},true);FB.provide("XFBML.ProfilePic",{_defPicMap:{pic:"rsrc.php/v1/yh/r/C5yt7Cqf3zU.jpg",pic_big:"rsrc.php/v1/yL/r/HsTZSDw4avx.gif",pic_big_with_logo:"rsrc.php/v1/y5/r/SRDCaeCL7hM.gif",pic_small:"rsrc.php/v1/yi/r/odA9sNLrE86.jpg",pic_small_with_logo:"rsrc.php/v1/yD/r/k1xiRXKnlGd.gif",pic_square:"rsrc.php/v1/yo/r/UlIqmHJn-SK.gif",pic_square_with_logo:"rsrc.php/v1/yX/r/9dYJBPDHXwZ.gif",pic_with_logo:"rsrc.php/v1/yu/r/fPPR9f2FJ3t.gif"}},true);if(FB.Dom&&FB.Dom.addCssRules){FB.Dom.addCssRules('.fb_hidden{position:absolute;top:-10000px;z-index:10001}\n.fb_reset{background:none;border-spacing:0;border:0;color:#000;cursor:auto;direction:ltr;font-family:"lucida grande", tahoma, verdana, arial, sans-serif;font-size: 11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:1;margin:0;overflow:visible;padding:0;text-align:left;text-decoration:none;text-indent:0;text-shadow:none;text-transform:none;visibility:visible;white-space:normal;word-spacing:normal}\n.fb_link img{border:none}\n.fb_dialog{position:absolute;top:-10000px;z-index:10001}\n.fb_dialog_advanced{background:rgba(82, 82, 82, .7);padding:10px;-moz-border-radius:8px;-webkit-border-radius:8px}\n.fb_dialog_content{background:#fff;color:#333}\n.fb_dialog_close_icon{background:url(http://static.ak.fbcdn.net/rsrc.php/v1/zq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 0 transparent;_background-image:url(http://static.ak.fbcdn.net/rsrc.php/v1/zL/r/s816eWC-2sl.gif);cursor:pointer;display:block;height:15px;position:absolute;right:18px;top:17px;width:15px;top:8px\\9;right:7px\\9}\n.fb_dialog_close_icon:hover{background:url(http://static.ak.fbcdn.net/rsrc.php/v1/zq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 -15px transparent;_background-image:url(http://static.ak.fbcdn.net/rsrc.php/v1/zL/r/s816eWC-2sl.gif)}\n.fb_dialog_close_icon:active{background:url(http://static.ak.fbcdn.net/rsrc.php/v1/zq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 -30px transparent;_background-image:url(http://static.ak.fbcdn.net/rsrc.php/v1/zL/r/s816eWC-2sl.gif)}\n.fb_dialog_loader{background-color:#f2f2f2;border:1px solid #606060;font-size: 24px;padding:20px}\n.fb_dialog_top_left,\n.fb_dialog_top_right,\n.fb_dialog_bottom_left,\n.fb_dialog_bottom_right{height:10px;width:10px;overflow:hidden;position:absolute}\n.fb_dialog_top_left{background:url(http://static.ak.fbcdn.net/rsrc.php/v1/ze/r/8YeTNIlTZjm.png) no-repeat 0 0;left:-10px;top:-10px}\n.fb_dialog_top_right{background:url(http://static.ak.fbcdn.net/rsrc.php/v1/ze/r/8YeTNIlTZjm.png) no-repeat 0 -10px;right:-10px;top:-10px}\n.fb_dialog_bottom_left{background:url(http://static.ak.fbcdn.net/rsrc.php/v1/ze/r/8YeTNIlTZjm.png) no-repeat 0 -20px;bottom:-10px;left:-10px}\n.fb_dialog_bottom_right{background:url(http://static.ak.fbcdn.net/rsrc.php/v1/ze/r/8YeTNIlTZjm.png) no-repeat 0 -30px;right:-10px;bottom:-10px}\n.fb_dialog_vert_left,\n.fb_dialog_vert_right,\n.fb_dialog_horiz_top,\n.fb_dialog_horiz_bottom{position:absolute;background:#525252;filter:alpha(opacity=70);opacity:.7}\n.fb_dialog_vert_left,\n.fb_dialog_vert_right{width:10px;height:100\u0025}\n.fb_dialog_vert_left{margin-left:-10px}\n.fb_dialog_vert_right{right:0;margin-right:-10px}\n.fb_dialog_horiz_top,\n.fb_dialog_horiz_bottom{width:100\u0025;height:10px}\n.fb_dialog_horiz_top{margin-top:-10px}\n.fb_dialog_horiz_bottom{bottom:0;margin-bottom:-10px}\n.fb_dialog_iframe{line-height:0}\n.fb_dialog_content .dialog_title{background:#6d84b4;border:1px solid #3b5998;color:#fff;font-size: 14px;font-weight:bold;margin:0}\n.fb_dialog_content .dialog_title > span{background:url(http://static.ak.fbcdn.net/rsrc.php/v1/zd/r/Cou7n-nqK52.gif) no-repeat 5px 50\u0025;float:left;padding:5px 0 7px 26px}\n.fb_dialog_content .dialog_content{background:url(http://static.ak.fbcdn.net/rsrc.php/v1/z9/r/jKEcVPZFk-2.gif) no-repeat 50\u0025 50\u0025;border:1px solid #555;border-bottom:0;border-top:0;height:150px}\n.fb_dialog_content .dialog_footer{background:#f2f2f2;border:1px solid #555;border-top-color:#ccc;height:40px}\n#fb_dialog_loader_close{float:right}\n.fb_iframe_widget{position:relative;display:-moz-inline-block;display:inline-block}\n.fb_iframe_widget iframe{position:relative;vertical-align:text-bottom}\n.fb_iframe_widget span{position:relative}\n.fb_hide_iframes iframe{position:relative;left:-10000px}\n.fb_iframe_widget_loader{position:relative;display:inline-block}\n.fb_iframe_widget_loader iframe{min-height:32px;z-index:2;zoom:1}\n.fb_iframe_widget_loader .FB_Loader{background:url(http://static.ak.fbcdn.net/rsrc.php/v1/z9/r/jKEcVPZFk-2.gif) no-repeat;height:32px;width:32px;margin-left:-16px;position:absolute;left:50\u0025;z-index:4}\n.fb_button_simple,\n.fb_button_simple_rtl{background-image:url(http://static.ak.fbcdn.net/rsrc.php/v1/zH/r/eIpbnVKI9lR.png);background-repeat:no-repeat;cursor:pointer;outline:none;text-decoration:none}\n.fb_button_simple_rtl{background-position:right 0}\n.fb_button_simple .fb_button_text{margin:0 0 0 20px;padding-bottom:1px}\n.fb_button_simple_rtl .fb_button_text{margin:0 10px 0 0}\na.fb_button_simple:hover .fb_button_text,\na.fb_button_simple_rtl:hover .fb_button_text,\n.fb_button_simple:hover .fb_button_text,\n.fb_button_simple_rtl:hover .fb_button_text{text-decoration:underline}\n.fb_button,\n.fb_button_rtl{background:#29447e url(http://static.ak.fbcdn.net/rsrc.php/v1/zL/r/FGFbc80dUKj.png);background-repeat:no-repeat;cursor:pointer;display:inline-block;padding:0 0 0 1px;text-decoration:none;outline:none}\n.fb_button .fb_button_text,\n.fb_button_rtl .fb_button_text{background:#5f78ab url(http://static.ak.fbcdn.net/rsrc.php/v1/zL/r/FGFbc80dUKj.png);border-top:solid 1px #879ac0;border-bottom:solid 1px #1a356e;color:#fff;display:block;font-family:"lucida grande",tahoma,verdana,arial,sans-serif;font-weight:bold;padding:2px 6px 3px 6px;margin:1px 1px 0 21px;text-shadow:none}\na.fb_button,\na.fb_button_rtl,\n.fb_button,\n.fb_button_rtl{text-decoration:none}\na.fb_button:active .fb_button_text,\na.fb_button_rtl:active .fb_button_text,\n.fb_button:active .fb_button_text,\n.fb_button_rtl:active .fb_button_text{border-bottom:solid 1px #29447e;border-top:solid 1px #45619d;background:#4f6aa3;text-shadow:none}\n.fb_button_xlarge,\n.fb_button_xlarge_rtl{background-position:left -60px;font-size: 24px;line-height:30px}\n.fb_button_xlarge .fb_button_text{padding:3px 8px 3px 12px;margin-left:38px}\na.fb_button_xlarge:active{background-position:left -99px}\n.fb_button_xlarge_rtl{background-position:right -268px}\n.fb_button_xlarge_rtl .fb_button_text{padding:3px 8px 3px 12px;margin-right:39px}\na.fb_button_xlarge_rtl:active{background-position:right -307px}\n.fb_button_large,\n.fb_button_large_rtl{background-position:left -138px;font-size: 13px;line-height:16px}\n.fb_button_large .fb_button_text{margin-left:24px;padding:2px 6px 4px 6px}\na.fb_button_large:active{background-position:left -163px}\n.fb_button_large_rtl{background-position:right -346px}\n.fb_button_large_rtl .fb_button_text{margin-right:25px}\na.fb_button_large_rtl:active{background-position:right -371px}\n.fb_button_medium,\n.fb_button_medium_rtl{background-position:left -188px;font-size: 11px;line-height:14px}\na.fb_button_medium:active{background-position:left -210px}\n.fb_button_medium_rtl{background-position:right -396px}\n.fb_button_text_rtl,\n.fb_button_medium_rtl .fb_button_text{padding:2px 6px 3px 6px;margin-right:22px}\na.fb_button_medium_rtl:active{background-position:right -418px}\n.fb_button_small,\n.fb_button_small_rtl{background-position:left -232px;font-size: 10px;line-height:10px}\n.fb_button_small .fb_button_text{padding:2px 6px 3px;margin-left:17px}\na.fb_button_small:active,\n.fb_button_small:active{background-position:left -250px}\n.fb_button_small_rtl{background-position:right -440px}\n.fb_button_small_rtl .fb_button_text{padding:2px 6px;margin-right:18px}\na.fb_button_small_rtl:active{background-position:right -458px}\n.fb_share_count_wrapper{position:relative;float:left}\n.fb_share_count{background:#b0b9ec none repeat scroll 0 0;color:#333;font-family:"lucida grande", tahoma, verdana, arial, sans-serif;text-align:center}\n.fb_share_count_inner{background:#e8ebf2;display:block}\n.fb_share_count_right{margin-left:-1px;display:inline-block}\n.fb_share_count_right .fb_share_count_inner{border-top:solid 1px #e8ebf2;border-bottom:solid 1px #b0b9ec;margin:1px 1px 0 1px;font-size: 10px;line-height:10px;padding:2px 6px 3px;font-weight:bold}\n.fb_share_count_top{display:block;letter-spacing:-1px;line-height:34px;margin-bottom:7px;font-size: 22px;border:solid 1px #b0b9ec}\n.fb_share_count_nub_top{border:none;display:block;position:absolute;left:7px;top:35px;margin:0;padding:0;width:6px;height:7px;background-repeat:no-repeat;background-image:url(http://static.ak.fbcdn.net/rsrc.php/v1/zU/r/bSOHtKbCGYI.png)}\n.fb_share_count_nub_right{border:none;display:inline-block;padding:0;width:5px;height:10px;background-repeat:no-repeat;background-image:url(http://static.ak.fbcdn.net/rsrc.php/v1/zX/r/i_oIVTKMYsL.png);vertical-align:top;background-position:right 5px;z-index:10;left:2px;margin:0 2px 0 0;position:relative}\n.fb_share_no_count{display:none}\n.fb_share_size_Small .fb_share_count_right .fb_share_count_inner{font-size: 10px}\n.fb_share_size_Medium .fb_share_count_right .fb_share_count_inner{font-size: 11px;padding:2px 6px 3px;letter-spacing:-1px;line-height:14px}\n.fb_share_size_Large .fb_share_count_right .fb_share_count_inner{font-size: 13px;line-height:16px;padding:2px 6px 4px;font-weight:normal;letter-spacing:-1px}\n.fb_share_count_hidden .fb_share_count_nub_top,\n.fb_share_count_hidden .fb_share_count_top,\n.fb_share_count_hidden .fb_share_count_nub_right,\n.fb_share_count_hidden .fb_share_count_right{visibility:hidden}\n.fb_connect_bar_container div,\n.fb_connect_bar_container span,\n.fb_connect_bar_container a,\n.fb_connect_bar_container img,\n.fb_connect_bar_container strong{background:none;border-spacing:0;border:0;direction:ltr;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:1;margin:0;overflow:visible;padding:0;text-align:left;text-decoration:none;text-indent:0;text-shadow:none;text-transform:none;visibility:visible;white-space:normal;word-spacing:normal;vertical-align:baseline}\n.fb_connect_bar_container{position:fixed;left:0 !important;right:0 !important;height:42px !important;padding:0 25px !important;margin:0 !important;vertical-align:middle !important;border-bottom:1px solid #333 !important;background:#3b5998 !important;z-index:99999999 !important;overflow:hidden !important}\n.fb_connect_bar_container_ie6{position:absolute;top:expression(document.compatMode=="CSS1Compat"? document.documentElement.scrollTop+"px":body.scrollTop+"px")}\n.fb_connect_bar{position:relative;margin:auto;height:100\u0025;width:100\u0025;padding:6px 0 0 0 !important;background:none;color:#fff !important;font-family:"lucida grande", tahoma, verdana, arial, sans-serif !important;font-size: 13px !important;font-style:normal !important;font-variant:normal !important;font-weight:normal !important;letter-spacing:normal !important;line-height:1 !important;text-decoration:none !important;text-indent:0 !important;text-shadow:none !important;text-transform:none !important;white-space:normal !important;word-spacing:normal !important}\n.fb_connect_bar a:hover{color:#fff}\n.fb_connect_bar .fb_profile img{height:30px;width:30px;vertical-align:middle;margin:0 6px 5px 0}\n.fb_connect_bar div a,\n.fb_connect_bar span,\n.fb_connect_bar span a{color:#bac6da;font-size: 11px;text-decoration:none}\n.fb_connect_bar .fb_buttons{float:right;margin-top:7px}\n.fb_edge_widget_with_comment{position:relative;*z-index:1000}\n.fb_edge_widget_with_comment span.fb_edge_comment_widget{position:absolute}\n.fb_edge_widget_with_comment span.fb_edge_comment_widget iframe.fb_ltr{left:-4px}\n.fb_edge_widget_with_comment span.fb_edge_comment_widget iframe.fb_rtl{left:2px}\n.fb_edge_widget_with_comment span.fb_send_button_form_widget{left:0}\n.fb_edge_widget_with_comment span.fb_send_button_form_widget .FB_Loader{left:0;top:1px;margin-top:6px;margin-left:0;background-position:50\u0025 50\u0025;background-color:#fff;height:150px;width:394px;border:1px #666 solid;border-bottom:2px solid #283e6c;z-index:1}\n.fb_edge_widget_with_comment span.fb_send_button_form_widget.dark .FB_Loader{background-color:#000;border-bottom:2px solid #ccc}\n.fb_edge_widget_with_comment span.fb_send_button_form_widget.siderender\n.FB_Loader{margin-top:0}\n#fb_social_bar_container{position:fixed;left:0;right:0;height:34px;padding:0 25px;z-index:999999999}\n.fb_social_bar_iframe{position:relative;float:right;opacity:0;-moz-opacity:0;filter:alpha(opacity=0)}\n.fb_social_bar_iframe_bottom_ie6{bottom:auto;top:expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||0)-(parseInt(this.currentStyle.marginBottom,10)||0)))}\n.fb_social_bar_iframe_top_ie6{bottom:auto;top:expression(eval(document.documentElement.scrollTop-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||0)-(parseInt(this.currentStyle.marginBottom,10)||0)))}\n',["fb.css.base","fb.css.dialog","fb.css.iframewidget","fb.css.button","fb.css.sharebutton","fb.css.connectbarwidget","fb.css.edgecommentwidget","fb.css.sendbuttonformwidget","fb.css.socialbarwidget"])};
