/*
HTTP Host: static.ak.connect.facebook.com
Generated: July 27th 2010 8:21:21 PM PDT
Machine: 10.28.37.120
Location: JIT Construction: v270974
Locale: en_US
*/

if (!window.FB) {FB = {};} if(!FB.dynData) { FB.dynData = {"site_vars":{"canvas_client_compute_content_size_method":1,"use_postMessage":0,"use_xdProxy":0,"use_ui_server":1,"monitor_usage_regex":"somethingtoputhere.com|huffingtonpost.com|lala.com","monitor_usage_rate":0.05,"enable_custom_href":1},"ui_server_dialogs":{"bookmark.add":1,"friends.add":1},"resources":{"base_url_format":"http:\/\/{0}.connect.facebook.com\/","base_cdn_url":"http:\/\/static.ak.fbcdn.net\/","api_channel":1280239202,"api_server":1280239202,"www_channel":1280239007,"xd_proxy":1280238718,"xd_comm_swf_url":"http:\/\/static.ak.fbcdn.net\/rsrc.php\/z6D2S\/hash\/c729bxo3.swf","share_button":"http:\/\/static.ak.fbcdn.net\/rsrc.php\/zAB5S\/hash\/4273uaqa.gif","login_img_dark_small_short":"http:\/\/static.ak.fbcdn.net\/rsrc.php\/zF1W2\/hash\/a969rwcd.gif","login_img_dark_medium_short":"http:\/\/static.ak.fbcdn.net\/rsrc.php\/zEF9L\/hash\/156b4b3s.gif","login_img_dark_medium_long":"http:\/\/static.ak.fbcdn.net\/rsrc.php\/zBIU2\/hash\/85b5jlja.gif","login_img_dark_large_short":"http:\/\/static.ak.fbcdn.net\/rsrc.php\/z1UX3\/hash\/a22m3ibb.gif","login_img_dark_large_long":"http:\/\/static.ak.fbcdn.net\/rsrc.php\/z7SXD\/hash\/8mzymam2.gif","login_img_light_small_short":"http:\/\/static.ak.fbcdn.net\/rsrc.php\/zDGBW\/hash\/8t35mjql.gif","login_img_light_medium_short":"http:\/\/static.ak.fbcdn.net\/rsrc.php\/z38X1\/hash\/6ad3z8m6.gif","login_img_light_medium_long":"http:\/\/static.ak.fbcdn.net\/rsrc.php\/zB6N8\/hash\/4li2k73z.gif","login_img_light_large_short":"http:\/\/static.ak.fbcdn.net\/rsrc.php\/zA114\/hash\/7e3mp7ee.gif","login_img_light_large_long":"http:\/\/static.ak.fbcdn.net\/rsrc.php\/z4Z4Q\/hash\/8rc0izvz.gif","login_img_white_small_short":"http:\/\/static.ak.fbcdn.net\/rsrc.php\/z900E\/hash\/di0gkqrt.gif","login_img_white_medium_short":"http:\/\/static.ak.fbcdn.net\/rsrc.php\/z10GM\/hash\/cdozw38w.gif","login_img_white_medium_long":"http:\/\/static.ak.fbcdn.net\/rsrc.php\/zBT3E\/hash\/338d3m67.gif","login_img_white_large_short":"http:\/\/static.ak.fbcdn.net\/rsrc.php\/zCOUP\/hash\/8yzn0wu3.gif","login_img_white_large_long":"http:\/\/static.ak.fbcdn.net\/rsrc.php\/zC6AR\/hash\/5pwowlag.gif","logout_img_small":"http:\/\/static.ak.fbcdn.net\/rsrc.php\/z2Y31\/hash\/cxrz4k7j.gif","logout_img_medium":"http:\/\/static.ak.fbcdn.net\/rsrc.php\/zAD8D\/hash\/4lsqsd7l.gif","logout_img_large":"http:\/\/static.ak.fbcdn.net\/rsrc.php\/zB36N\/hash\/4515xk7j.gif"}};} if (!FB.locale) {FB.locale = "en_US";} if (!FB.localeIsRTL) {FB.localeIsRTL = false;}


if(!window.FB)FB={};if(!FB.Monitor)FB.Monitor={wrapObject:function(a,b,f){if(typeof(a)!="object")return a;if(!FB.Monitor.loggingEnabled())return a;if(b=='FB.Debug'||b=='FB.HiddenContainer'||b=='FB.XdComm.Server'||b.indexOf('FBIntern')==0)return a;for(var d in a){var c=a[d];if(!a.hasOwnProperty(d)||typeof(c)!='function'||c.wrapped)continue;var e={containerName:b,functionName:d};a[d]=FB.Monitor._monitorWrapper(c,a,f,e);a[d].wrapped=true;}return a;},disableLogging:function(){FB.Monitor.loggingEnabledCache=false;},loggingEnabled:function(){if(FB.Monitor.loggingEnabledCache===null){var c=FB.dynData&&FB.dynData.site_vars&&FB.dynData.site_vars.monitor_usage_regex;if(!c){FB.Monitor.loggingEnabledCache=false;}else{var a=new RegExp(c);var b=FB.dynData.site_vars.monitor_usage_rate;FB.Monitor.loggingEnabledCache=a.test(document.domain)?(Math.random()/b)<1:false;}}return FB.Monitor.loggingEnabledCache;},externalCallback:function(a){if(typeof(a)!='function')return a;return function(){var d=FB.Monitor.internalCallStackDepth;FB.Monitor.internalCallStackDepth=0;var b=Array.prototype.slice.call(arguments);var c=a.apply(this,b);FB.Monitor.internalCallStackDepth=d;return c;};},_monitorWrapper:function(b,a,d,c){return function(){var e=Array.prototype.slice.call(arguments);context=d?this:(a||window);c=c||{containerName:'unknown',functionName:'unknown'};if(FB.Monitor.internalCallStackDepth==0)if(c.functionName.substr(0,1)!='_')FB.Monitor.logFunction(c,e);++FB.Monitor.internalCallStackDepth;var f=new Date();try{var returnValue=b.apply(context,e);}finally{var end=new Date();--FB.Monitor.internalCallStackDepth;var elapsed=end.getTime()-f.getTime();if(elapsed)FB.Monitor.logFunction(c,[],elapsed);}return returnValue;};},logFunction:function(f,c,d){var b=[];for(var e=0;e<c.length;e++){var a=c[e];b[e]=a?a.toString():a;}FB.Monitor.log("functions",f.containerName+"."+f.functionName,{elapsed:d});},logXFBML:function(c){var b={};for(var d=0;d<c.attributes.length;++d){var a=c.attributes[d];if(a.specified!==false&&a.nodeName&&a.nodeValue&&a.nodeName!="class")b[a.nodeName]=a.nodeValue.toString();}var e=c.nodeName.toLowerCase();FB.Monitor.log("tags",e,{args:b});},log:function(a,d,c){if(!FB.Monitor.loggingEnabled())return;var b={functions:101,tags:102};c.lid=b[a];c.name=d;FB.Monitor.loggingQueue.push(c);FB.Monitor.scheduleSend();},scheduleSend:function(){if(!FB.Monitor.pendingTimer)FB.Monitor.pendingTimer=setTimeout(FB.Monitor.send,FB.Monitor.timerInterval);},send:function(){FB.Monitor.pendingTimer=false;var a=FB.Monitor.loggingEnabled();FB.Monitor.loggingEnabledCache=false;try{if(FB.MonitorSender){while(FB.Monitor.loggingQueue.length>0)if(!FB.MonitorSender.send())break;}else FB.Monitor.timerInterval*=1.2;}finally{if(FB.Monitor.loggingQueue.length!==0)FB.Monitor.scheduleSend();FB.Monitor.loggingEnabledCache=a;}},timerInterval:6*1000,internalCallStackDepth:0,loggingQueue:[],pendingTimer:false,loggingEnabledCache:null};
if(!window.FB)FB={};FB.forEach=function(c,a,f){if(Object.prototype.toString.apply(c)==='[object Array]'){if(c.forEach){c.forEach(a);}else for(var b=0,e=c.length;b<e;b++)a(c[b],b,c);}else for(var d in c)if(f||c.hasOwnProperty(d))a(c[d],d,c);};FB.copy=function(c,b,a){FB.forEach(b,function(e,d){if(a||typeof c[d]==='undefined')c[d]=e;});};FB.copy(FB,{$:function(a){return document.getElementById(a);},TypeLoader:{NOTIFY:{},LOADED_MODULES:{},LOADED_CLASSES:{},resolve:function(f,e,a){for(var b=0,c=e.length;b<c;b++){var d=e[b];if(d==='')continue;if(typeof f[d]==='undefined')if(a){f[d]={};}else return false;f=f[d];}return f;},provide:function(c,b,a){FB.Monitor.wrapObject(b,c,false);var d=this.resolve(window,c.split('.'),true);if(a||!this.LOADED_MODULES[c]){FB.copy(d,b,true);if(b._onLoad)d._onLoad();}this.LOADED_MODULES[c]=true;},subclass:function(e,a,i){if(this.LOADED_CLASSES[e])return;if(a!=='FB.Class'&&!this.LOADED_CLASSES[a]){FB.Log.debug('"'+e+'" needs to wait for "'+a+'"');var j=FB.redo(arguments,this);this.NOTIFY[a]?this.NOTIFY[a].push(j):this.NOTIFY[a]=[j];return;}var b=this.resolve(window,a.split('.')),f=b.extend(i),g=this.NOTIFY[e],h=e.split('.'),d=this.resolve(window,h,true),c=h.pop();FB.Monitor.wrapObject(f.prototype,e,true);FB.Monitor.wrapObject(f,e,false);FB.copy(f,d);this.resolve(window,h)[c]=f;this.LOADED_CLASSES[e]=true;if(g){FB.forEach(g,function(k){k();});delete this.NOTIFY[e];}}},bind:function(){var a=Array.prototype.slice.call(arguments),c=a.shift(),b=a.shift();var d=function(){++FB.Monitor.internalCallStackDepth;var e=c.apply(b,a.concat(Array.prototype.slice.call(arguments)));--FB.Monitor.internalCallStackDepth;return e;};d._targets=[b,c];return d;},redo:function(a,c){var b=Array.prototype.slice.call(a);b.unshift(c);b.unshift(a.callee);return FB.bind.apply(FB,b);}});FB.provide=FB.bind(FB.TypeLoader.provide,FB.TypeLoader);FB.subclass=FB.bind(FB.TypeLoader.subclass,FB.TypeLoader);
(function(){var b=false,a=/xyz/.test(function(){xyz;})?/\b_super\b/:/.*/;FB.Class=function(){};FB.Class.extend=function(e){var d=this.prototype;b=true;var f=new this();b=false;FB.forEach(e,function(h,g){f[g]=typeof h==="function"&&typeof d[g]==="function"&&a.test(h)?(function(j,i){return function(){var l=this._super;this._super=d[j];var k=i.apply(this,arguments);this._super=l;return k;};})(g,h):h;});var c=function(){if(!b){var g;if(this instanceof c){g=this;}else{b=true;g=new c();b=false;}if(g.init)g.init.apply(g,arguments);return g;}};c.prototype=f;c.constructor=c;c.extend=FB.Class.extend;return c;};})();
FB.provide('FB.Log',{level:-1,Level:{DEBUG:3,INFO:2,WARNING:1,ERROR:0},_helper:function(){var a=Array.prototype.slice.call(arguments),c=a.shift(),b=a.shift();if(this.level>=b&&window.console)(console[c]||console.log).apply(console,a);}});FB.provide('FB.Log',{debug:FB.bind(FB.Log._helper,FB.Log,'debug',FB.Log.Level.DEBUG),info:FB.bind(FB.Log._helper,FB.Log,'info',FB.Log.Level.INFO),warn:FB.bind(FB.Log._helper,FB.Log,'warn',FB.Log.Level.WARNING),error:FB.bind(FB.Log._helper,FB.Log,'error',FB.Log.Level.ERROR)},true);
if(!window.FB)FB={};if(!FB.Type){FB.Type={createNamespace:function(b){var d=window;var c=b.split('.');for(var a=0;a<c.length;a++){var f=c[a];var e=d[f];if(!e)d[f]=e={};d=e;}return d;},createEnum:function(e,c,d){if(this.getObj(e))return;var a=function(){};a.prototype=c;for(var b in c)a[b]=c[b];if(d)a.__flags=true;this.setObj(e,a);},createClass2:function(cls,baseType){if(baseType&&typeof(baseType)=="string")baseType=eval(baseType);cls.prototype.constructor=cls;this.extend(cls,FB.Type.Methods);cls.__baseType=baseType||Object;if(baseType)cls.__basePrototypePending=true;},setObj:function(fullName,value){var i=fullName.lastIndexOf('.');var objName;var scope=window;if(i>0){var ns=fullName.substring(0,i);this.createNamespace(ns);objName=fullName.substring(i+1);scope=eval(ns);}else objName=fullName;scope[objName]=value;},getObj:function(b){var d=window;var c=b.split('.');for(var a=0;a<c.length;a++){var e=c[a];d=d[e];if(!d)break;}return d;},createClass:function(a,b){if(this.getObj(a))return;if(arguments.length==1&&typeof(a)!="string"){return this._createClass(a);}else this.setObj(a,this._createClass(b));},_createClass:function(b){var a=b.ctor||function(){};if(b.static_ctor)this.addStaticInit(b.static_ctor);if(b.instance)a.prototype=b.instance;if(b['static'])this.extend(a,b['static']);this.createClass2(a,b.base);return a;},addStaticInit:function(a){if(!FB.Type._pendingInits)FB.Type._pendingInits=[];FB.Type._pendingInits[FB.Type._pendingInits.length]=a;window.setTimeout(FB.Type.runPendingInits,0);},runPendingInits:function(){if(FB.Type._pendingInits){var b=FB.Type._pendingInits;FB.Type._pendingInits=null;var a=b.length;for(var c=0;c<a;c++)b[c]();}},extend:function(a,c){for(var b in c)a[b]=c[b];return a;},getInstanceType:function(a){return a.constructor;}};FB.Type.Methods={setupBase:function(){if(this.__basePrototypePending){var a=this.__baseType;if(a.__basePrototypePending)a.setupBase();for(var b in a.prototype){var c=a.prototype[b];if(!this.prototype[b])this.prototype[b]=c;}delete this.__basePrototypePending;}},constructBase:function(b,a){if(this.__basePrototypePending)this.setupBase();if(!a){this.__baseType.apply(b);}else this.__baseType.apply(b,a);},callBase:function(c,d,a){var b=this.__baseType.prototype[d];if(!a){return b.apply(c);}else return b.apply(c,a);},get_baseType:function(){return this.__baseType||null;}};}
FB.Sys=function(){};FB.Sys.isUndefined=function(a){return (a===undefined);};FB.Sys.isNullOrUndefined=function(a){return (a===null)||(a===undefined);};FB.Sys.isNullOrEmpty=function(a){return !a||!a.length;};FB.Sys.parseBool=function(a){return (a.toLowerCase()=='true');};FB.Sys.trim=function(a){return a.replace(/^\s*|\s*$/g,'');};FB.Sys.compare=function(b,c,a){if(a){if(b)b=b.toUpperCase();if(c)c=c.toUpperCase();}b=b||'';c=c||'';if(b==c)return 0;if(b<c)return -1;return 1;};FB.Sys.quote=function(h){var e={'\b':'\\b','\t':'\\t','\n':'\\n','\f':'\\f','\r':'\\r','"':'\\"','\\':'\\\\'};var a,b,c,d,f=/["\\\x00-\x1f\x7f-\x9f]/g,g;return f.test(h)?'"'+h.replace(f,function(i){var j=e[i];if(j)return j;j=i.charCodeAt();return '\\u00'+Math.floor(j/16).toString(16)+(j%16).toString(16);})+'"':'"'+h+'"';};FB.Sys.startsWith=function(a,b){return a.substring(0,b.length)==b;};FB.Sys.format=function(a){if(!FB.Sys.format._formatRE)FB.Sys.format._formatRE=/(\{[^\}^\{]+\})/g;var b=arguments;return a.replace(FB.Sys.format._formatRE,function(e,d){var c=parseInt(d.substr(1));var f=b[c+1];if(FB.Sys.isNullOrUndefined(f))return '';return f.toString();});};FB.Sys.htmlDecode=function(a){htmlDecMap={'&amp;':'&','&lt;':'<','&gt;':'>','&quot;':'"'};htmlDecRE=/(&amp;|&lt;|&gt;|&quot;)/gi;a=a.replace(htmlDecRE,function(c,b){return htmlDecMap[b];});return a;};FB.Sys.htmlEncode=function(a){htmlEncMap={'&':'&amp;','<':'&lt;','>':'&gt;','"':'&quot;'};htmlEncRE=/([&<>"])/g;if(htmlEncRE.test(a))a=a.replace(htmlEncRE,function(c,b){return htmlEncMap[b];});return a;};FB.Sys.endsWith=function(a,b){return a.length>=b.length&&a.substring(a.length-b.length)==b;};FB.Sys.contains=function(a,c){var b=FB.Sys.indexOf(a,c);return (b>=0);};FB.Sys.add=function(a,b){a[a.length]=b;};FB.Sys.remove=function(a,c){var b=FB.Sys.indexOf(a,c);if(b>=0){a.splice(b,1);return true;}return false;};FB.Sys.indexOf=function(a,c){var d=a.length;if(d)for(var b=0;b<d;b++)if(a[b]===c)return b;return -1;};FB.Sys.addRange=function(a,c){var d=c.length;for(var b=0;b<d;b++)a[a.length]=c[b];};FB.Sys.clear=function(a){if(a.length>0)a.splice(0,a.length);};FB.Sys.clearKeys=function(a){for(var b in a)delete a[b];};FB.Sys.containsKey=function(a,b){return a[b]!==undefined;};FB.Sys.getKeyCount=function(b){var a=0;for(var c in b)a++;return a;};FB.Sys.isAssignableFrom=function(a,b){while(a!=b)if(a.__baseType){a=a.__baseType;}else return false;return true;};FB.Sys.createException=function(c,d,b){var a=new Error(c);if(d)a.userData=d;if(b)a.innerException=b;return a;};FB.Type.createClass2(FB.Sys);
FB.subclass('FBIntern.FbGlobals','FB.Class',{init:function(){}});FB.provide('FBIntern.FbGlobals',{get_fB_StaticResourceVersions:function(){return FB.dynData?FB.dynData.resources:{};}});
FB.subclass('FB.ArrayEnumerator','FB.Class',{init:function(a){this._array=a;this._index=-1;},get_current:function(){return this._array[this._index];},moveNext:function(){this._index++;return (this._index<this._array.length);},reset:function(){this._index=-1;}});
FB.subclass('FBIntern.Uri','FB.Class',{init:function(a){this._uriString=a;},get_uriString:function(){return this._uriString;},get_pathAndQuery:function(){var a=this._uriString.indexOf('://');if(a>=0){a=this._uriString.indexOf('/',a+3);if(a>=0)return this._uriString.substr(a);}return this._uriString;},get_schemeAndDomain:function(){var a=this._uriString.indexOf('http://');if(a)a=this._uriString.indexOf('https://');if(!a){var b=this._uriString.indexOf('/',8);if(b>=0){return this._uriString.substr(0,b);}else return this._uriString;}throw new Error('This object is not an absolute URI.');},get_queryParameters:function(){if(!this._queryParameters){this._queryParameters={};var d;var b=this._uriString.indexOf('?');if(b>-1){d=this._uriString.substr(b+1);b=d.indexOf('#');if(b>0)d=d.substring(0,b-1);var f=d.split('&');var a=new FB.ArrayEnumerator(f);while(a.moveNext()){var e=a.get_current();b=e.indexOf('=');if(b>0){var c=e.substr(0,b);var g=e.substr(b+1);this._queryParameters[c]=decodeURIComponent(g);}}}}return this._queryParameters;},get_domain:function(){var a=this.get_domainAndPath();var b=a.indexOf('/');if(b>=0)a=a.substring(0,b);return a;},get_domainAndPath:function(){var a=this._uriString;var b=a.indexOf('#');if(b>=0)a=a.substring(0,b);var d=a.indexOf('?');if(d>=0)a=a.substring(0,d);var c=a.indexOf('://');if(c>=0)a=a.substring(c+3);return a;},_queryParameters:null,_uriString:null});FB.provide('FBIntern.Uri',{create:function(a,c){var e;if(FBIntern.Uri.isAbsoluteUri(c)){e=c;}else if(c.charAt(0)==='/'){e=a.get_schemeAndDomain()+c;}else{var e=a.get_uriString();var b=e.indexOf('?');if(b>0)e=e.substr(0,b);var d=e.lastIndexOf('/');e=e.substr(0,d+1)+c;}return new FBIntern.Uri(e);},isAbsoluteUri:function(a){return a.indexOf('://')>0;},addQueryParameters:function(b,a){if(b.indexOf('?')>0){return b+'&'+a;}else return b+'?'+a;},createQueryString:function(d){var e='';var a=d;for(var b in a){var c={key:b,value:a[b]};e+=c.key+'='+encodeURIComponent((c.value))+'&';}if(e!==''&&e.charAt(e.length-1)==='&')e=e.substr(0,e.length-1);return e;},bothHaveSameDomain:function(e,f){var c=new FBIntern.Uri(e);var d=new FBIntern.Uri(f);var a=c.get_domain().toLowerCase();var b=d.get_domain().toLowerCase();return a==b;}});
FB.provide('FB.Debug',{logLevel:0,assert:function(a,b){if(FB.Debug.logLevel>0&&!a){b='Assert failed: '+b;if(confirm(b+'\r\n\r\nBreak into debugger?'))FB.Debug._fail(b);}},writeLine:function(a){if(FB.Debug.logLevel>0)if(window.Debug&&window.Debug.writeln){window.Debug.writeln(a);}else if(window.console){if(window.console.debug){window.console.debug(a);}else if(window.console.log)window.console.log(a);}else if(window.opera&&window.opera.postError)window.opera.postError(a);},logLine:function(a,b){if(a<=FB.Debug.logLevel)FB.Debug.writeLine(b);},_fail:function(a){FB.Debug.writeLine(a);debugger;},_dumpCore:function Debug$_dumpCore(j,h,g,f,c){if(h===null){j.appendLine(f+g+': null');return;}switch(typeof(h)){case 'undefined':j.appendLine(f+g+': undefined');break;case 'number':case 'string':case 'boolean':j.appendLine(f+g+': '+h);break;default:if(h instanceof Date||h instanceof RegExp){j.appendLine(f+g+': '+h);break;}if(FB.Sys.contains(c,h)){j.appendLine(f+g+': ...');break;}c[c.length]=h;var i=f+'  ';if(h.tagName){j.appendLine(f+g+': <'+h.tagName+'>');var b=h.attributes;for(var e=0;e<b.length;e++){var a=b[e].nodeValue;if(a)FB.Debug._dumpCore(j,a,b[e].nodeName,i,c);}}else{j.appendLine(f+g+': ');for(var d in h){var k=h[d];if(!(k instanceof Function))FB.Debug._dumpCore(j,k,d,i,c);}}FB.Sys.remove(c,h);break;}},dump:function Debug$dump(b,a){if((!a||!a.length)&&(b!==null))a=typeof(b);if(!a||!a.length)return;var c=new FB.StringBuilder();FB.Debug._dumpCore(c,b,a,'',[]);FB.Debug.writeLine(c.toString());},fail:function Debug$fail(a){FB.Debug._fail(a);}});FB.FBDebug=FB.Debug;
FB._create_Point=function(b,c){var a={};a.x=b;a.y=c;return a;};
FB._create_Size=function(c,a){var b={};b.w=c;b.h=a;return b;};
FB.provide('FBIntern.HostName',{IE:0,MOZILLA:1,SAFARI:2,OPERA:3,OTHER:4});
FB.subclass('FBIntern.HostInfo','FB.Class',{init:function(){var b=window.navigator.userAgent.toLowerCase();var a;var d=null;if((a=b.indexOf('opera'))>=0){this._hostName=FBIntern.HostName.OPERA;}else if((a=b.indexOf('msie'))>=0){this._hostName=FBIntern.HostName.IE;d=b.substr(a+5);}else if((a=b.indexOf('firefox'))>=0){this._hostName=FBIntern.HostName.MOZILLA;d=b.substr(a+8);}else if((a=b.indexOf('safari'))>=0){this._hostName=FBIntern.HostName.SAFARI;d=b.substr(a+7);}else if((a=b.indexOf('gecko'))>=0){this._hostName=FBIntern.HostName.MOZILLA;d=window.navigator.appVersion;}else this._hostName=FBIntern.HostName.OTHER;if(d){var c=parseFloat(d);this.majorVersion=parseInt(c);if((a=d.indexOf('.'))>=0)this.minorVersion=parseInt(d.substr(a+1));}},get_hostName:function(){return this._hostName;},majorVersion:0,minorVersion:0,_hostName:0});
FB.subclass('FBIntern.AppInfo','FB.Class',{init:function(){this._hostInfo=new FBIntern.HostInfo();},get_hostInfo:function(){return this._hostInfo;},_hostInfo:null});FB.provide('FBIntern.AppInfo',{_onLoad:function(){FBIntern.AppInfo._current=null;},get_singleton:function(){if(!FBIntern.AppInfo._current)FBIntern.AppInfo._current=new FBIntern.AppInfo();return FBIntern.AppInfo._current;}});
FB.subclass('FBIntern.Utility','FB.Class',{init:function(){}});FB.provide('FBIntern.Utility',{getFacebookUrl:function(a){return FB.Sys.format(FBIntern.FbGlobals.get_fB_StaticResourceVersions().base_url_format,a);},getNonConnectFacebookUrl:function(c){var a=FBIntern.FbGlobals.get_fB_StaticResourceVersions().base_url_format;if(a.indexOf('connect.facebook.com')>=0){var b=(!a.indexOf('https'))?'https':'http';a=b+'://{0}.facebook.com/';return FB.Sys.format(a,c);}else return FBIntern.Utility.getFacebookUrl(c);},createFacebookUrl:function(e,c,d,a){var f;if(a){f=FBIntern.Utility.getFacebookUrl(e);}else f=FBIntern.Utility.getNonConnectFacebookUrl(e);f+=c;var b=FB.locale;if(!FB.Sys.containsKey(d,'locale')&&!FB.Sys.isNullOrEmpty(b))d.locale=b;return FBIntern.Uri.addQueryParameters(f,FBIntern.Uri.createQueryString(d));},isSecure:function(){return window.location.href.indexOf('https')===0;},id64BitEquals:function(a,b){var c='';var d='';if(typeof(a)==='number'){if(a>2147483647)FB.FBDebug.logLine(1,'This integer is great than 32 bit and can\'t be properly in comparison in JavaScript. It should be stored as string instead.');c=a.toString();}else c=a;if(typeof(b)==='number'){if(b>2147483647)FB.FBDebug.logLine(1,'This integer is great than 32 bit and can\'t be properly in comparison in JavaScript. It should be stored as string instead.');d=b.toString();}else d=b;return !FB.Sys.compare(c,d,false);},waitForLoaded:function(b,a){var c=null;c=function(d){FBIntern.Utility.removeEventListener(b,'load',c);a();};FBIntern.Utility.addEventListener(b,'load',c);},get_windowLocation:function(){var b=FB._create_Point(0,0);var a,c;if(window.screenLeft){a=window.screenLeft;c=window.screenTop;}else{a=window.screenX;c=window.screenY;}b.x=a;b.y=c;if(FB.Sys.isUndefined(b.x))b.x=0;if(FB.Sys.isUndefined(b.y))b.y=0;return b;},get_windowSize:function(){var a=FB._create_Size((window&&window.innerWidth)||(document&&document.documentElement&&document.documentElement.clientWidth)||(document&&document.body&&document.body.clientWidth)||0,(window&&window.innerHeight)||(document&&document.documentElement&&document.documentElement.clientHeight)||(document&&document.body&&document.body.clientHeight)||0);return a;},get_documentSize:function(){var c=FB._create_Size(document.body.scrollWidth,document.body.scrollHeight);if(c.w<=0||c.w>document.documentElement.scrollWidth)c.w=document.documentElement.scrollWidth;if(c.h<=0||c.h>document.documentElement.scrollHeight)c.h=document.documentElement.scrollHeight;if(window&&window.getComputedStyle){var a=window.getComputedStyle(document.body,null),b=parseInt(a.getPropertyValue('height'),10);if(b<c.h)c.h=b;}return c;},get_isInUserActionCallstack:function(){var a=FBIntern.Utility.get_currentEvent();if(!a){return false;}else{var c=['onclick','oncontextmenu','ondblclick','onfocus','onkeydown','onkeypress','onkeyup','onmousedown','onmousemove','onmouseout','onmouseover','onmouseup','click','ctextmenu','dblclick','focus','keydown','keypress','keyup','mousedown','mousemove','mouseout','mouseover','mouseup'];var b=a.type;return b&&FB.Sys.contains(c,b);}},get_currentEvent:function(){var b=window.event;if(!b&&FBIntern.AppInfo.get_singleton().get_hostInfo().get_hostName()===FBIntern.HostName.MOZILLA){var c=arguments.callee;var d=[];var a;while(true){FB.Sys.add(d,c);a=c.caller;if(!a)break;if(FB.Sys.indexOf(d,a)>=0){FB.FBDebug.logLine(1,'FB.Connect.get_isInUserActionCallstack(): we can\'t correctly make a detection because of recursion in call stack');return null;}c=a;}b=c.arguments.length==1&&c.arguments[0]&&c.arguments[0].type?c.arguments[0]:null;}return b;},addEventListener:function(a,c,b){if(FBIntern.AppInfo.get_singleton().get_hostInfo().get_hostName()!==FBIntern.HostName.IE){(a).addEventListener(c,b,false);}else{b._ieEventHandler=function(){b(window.event);};(a).attachEvent('on'+c,(b._ieEventHandler));}},removeEventListener:function(a,c,b){if(FBIntern.AppInfo.get_singleton().get_hostInfo().get_hostName()!==FBIntern.HostName.IE){(a).removeEventListener(c,b,false);}else (a).detachEvent('on'+c,(b._ieEventHandler));},createXMLHttpRequest:function(){if(!FB.XMLHttpRequest)if(!window.XMLHttpRequest){FB.XMLHttpRequest=function(){var c=['Msxml2.XMLHTTP','Microsoft.XMLHTTP'];for(var b=0;b<c.length;b++)try{var xmlHttp=new ActiveXObject(c[b]);return xmlHttp;}catch(a){}};}else FB.XMLHttpRequest=window.XMLHttpRequest;return new FB.XMLHttpRequest();},getIFrameDocument:function(f,d,a){var c=(window.self.frames)[f];var e=null;if(window.location.hostname===document.domain)try{e=c.document;}catch(b){FB.FBDebug.logLine(1,'Failed to get frameWindow.document, will try again later');}if(e){a(e);}else FBIntern.Utility.waitForLoaded(d,function(){a(c.document);});},isConnectSession:function(a){if(!a)throw new Error('session key is null');return a.substr(0,2)==='3.';},isStrInt:function(a){return parseInt(a).toString()===a;},createException:function(c,d,b){var a=new Error(c);if(d)a.userData=d;if(b)a.innerException=b;return a;},getSiteVar:function(c,a){var b=FB.dynData;if(b){var d=b.site_vars;if(FB.Sys.containsKey(d,c))return d[c];}return a;},setSiteVar:function(a,c){var b=FB.dynData.site_vars;b[a]=c;},paymentsLog:function(g,a){var e={step_id:g,api_key:a};var b=FBIntern.Utility.getFacebookUrl('www')+'/connect/waterfall_log.php';var d=FBIntern.Uri.addQueryParameters(b,FBIntern.Uri.createQueryString(e));var f=FB.$('FB_HiddenContainer');FB.FBDebug.assert(f,'Can\'t find the DOM element with id FB_HiddenContainer');var c=document.createElement('img');c.setAttribute('src',d);f.appendChild(c);}});
FB.provide('FB.CommentClient',{run:function(){if(!FB.CommentClient._rpcServer){var a={addComment:FB._create_XdRpcMethodInfo(Delegate.create(null,FB.CommentClient.addComment),null),validate:FB._create_XdRpcMethodInfo(Delegate.create(null,FB.CommentClient.validate),null),showConnect:FB._create_XdRpcMethodInfo(null,Delegate.create(null,FB.CommentClient.showConnect)),startConnect:FB._create_XdRpcMethodInfo(null,Delegate.create(null,FB.CommentClient.startConnect)),logout:FB._create_XdRpcMethodInfo(null,Delegate.create(null,FB.CommentClient.logout)),clientConnectSetup:FB._create_XdRpcMethodInfo(null,Delegate.create(null,FB.CommentClient.clientConnectSetup))};FB.CommentClient._rpcServer=new FB.XdComm.XdRpcServer('CommentExtServer',a);}},validate:function(a,d){var c=document.getElementsByTagName('iframe');for(var b=0;b<c.length;b++)if(c[b].name===d.frameName)c[b].style.display="";return true;},addComment:function(a,b){if(FB.CommentClient._onComment)FB.CommentClient._onComment(a);return true;},add_onComment:function(a){FB.CommentClient._onComment=FB.Delegate.combine(FB.CommentClient._onComment,a);},remove_onComment:function(a){FB.CommentClient._onComment=FB.Delegate.remove(FB.CommentClient._onComment,a);},showConnect:function(a,b,c){FB.Connect.requireSession(b);return true;},startConnect:function(c,a,b){FB.Connect._singleton._setupSession(c);FB.Connect._singleton._apiClient_SessionReady(null);return true;},logout:function(a,b,c){FB.Connect.logout(function(d){b(d);FB.Connect.listenForIframeConnect();});return true;},clientConnectSetup:function(a,b,c){FB.Connect.clientConnectSetup(b);return true;},_rpcClient:null,_rpcServer:null,_onComment:null});FB.provide('FB.CommentServer',{ensureRpcClient:function(){if(!FB.CommentServer._rpcClient)FB.CommentServer._rpcClient=new FB.XdComm.XdRpcClient('CommentExtServer','CommentServerClient',new FB.XdComm.EndPoint(null,FB.XdComm.PageRelation.parent,FB.CommentServer.clientReceiverUrl));},setupConnect:function(a,b){FB.CommentServer.ensureRpcClient();FB.CommentServer._rpcClient.send('clientConnectSetup',null,function(c){if(c){a();FB.SessionDialog.closeAll();}else b();});},showConnect:function(){FB.CommentServer.ensureRpcClient();FB.Facebook.init(FB.CommentServer.apiKey,FB.CommentClient.clientReceiverUrl);FB.SessionDialog.make().setUseBrowserPopup(true).setInitializeSession(false).addSessionHandler(function(a){FB.CommentServer._rpcClient.send('startConnect',a,null);}).request();},logout:function(a){FB.CommentServer.ensureRpcClient();FB.CommentServer._rpcClient.send('logout',null,a);},addComment:function(b,a){FB.CommentServer.ensureRpcClient();FB.CommentServer._rpcClient.send('addComment',b,a);},run:function(d,a,b,c){if(!FB.CommentServer.serverStarted){FB.CommentServer.clientReceiverUrl=d;FB.CommentServer.ensureRpcClient();FB.CommentServer._rpcClient.send('validate',null,function(f){if(f){var e=document.getElementById(b);e.parentNode.className='';}});FB.CommentServer.apiKey=a;FB.CommentServer.serverStarted=true;}},_rpcServer:null,serverStarted:false});FB.CommentClient.clientReceiverUrl=FBIntern.Utility.getFacebookUrl('static.ak')+'xd_receiver_v0.4.php?r='+FBIntern.FbGlobals.get_fB_StaticResourceVersions().www_channel;

if (FB && FB.Loader) { FB.Loader.onScriptLoaded(["FB.monitor-wrapper","FB.Prelude","FB.Class","FB.Log","FB.Type","FB.Sys","FBIntern.FbGlobals","FB.ArrayEnumerator","FBIntern.Uri","FB.FBDebug","FB.Point","FB.Size","FBIntern.HostName","FBIntern.HostInfo","FBIntern.AppInfo","FBIntern.Utility","Comments"]); }
