

if(typeof YAHOO=="undefined"||!YAHOO){var YAHOO={};}YAHOO.namespace=function(){var A=arguments,E=null,C,B,D;for(C=0;C<A.length;C=C+1){D=(""+A[C]).split(".");E=YAHOO;for(B=(D[0]=="YAHOO")?1:0;B<D.length;B=B+1){E[D[B]]=E[D[B]]||{};E=E[D[B]];}}return E;};YAHOO.log=function(D,A,C){var B=YAHOO.widget.Logger;if(B&&B.log){return B.log(D,A,C);}else{return false;}};YAHOO.register=function(A,E,D){var I=YAHOO.env.modules,B,H,G,F,C;if(!I[A]){I[A]={versions:[],builds:[]};}B=I[A];H=D.version;G=D.build;F=YAHOO.env.listeners;B.name=A;B.version=H;B.build=G;B.versions.push(H);B.builds.push(G);B.mainClass=E;for(C=0;C<F.length;C=C+1){F[C](B);}if(E){E.VERSION=H;E.BUILD=G;}else{YAHOO.log("mainClass is undefined for module "+A,"warn");}};YAHOO.env=YAHOO.env||{modules:[],listeners:[]};YAHOO.env.getVersion=function(A){return YAHOO.env.modules[A]||null;};YAHOO.env.ua=function(){var C={ie:0,opera:0,gecko:0,webkit:0,mobile:null,air:0,caja:0},B=navigator.userAgent,A;if((/KHTML/).test(B)){C.webkit=1;}A=B.match(/AppleWebKit\/([^\s]*)/);if(A&&A[1]){C.webkit=parseFloat(A[1]);if(/ Mobile\//.test(B)){C.mobile="Apple";}else{A=B.match(/NokiaN[^\/]*/);if(A){C.mobile=A[0];}}A=B.match(/AdobeAIR\/([^\s]*)/);if(A){C.air=A[0];}}if(!C.webkit){A=B.match(/Opera[\s\/]([^\s]*)/);if(A&&A[1]){C.opera=parseFloat(A[1]);A=B.match(/Opera Mini[^;]*/);if(A){C.mobile=A[0];}}else{A=B.match(/MSIE\s([^;]*)/);if(A&&A[1]){C.ie=parseFloat(A[1]);}else{A=B.match(/Gecko\/([^\s]*)/);if(A){C.gecko=1;A=B.match(/rv:([^\s\)]*)/);if(A&&A[1]){C.gecko=parseFloat(A[1]);}}}}}A=B.match(/Caja\/([^\s]*)/);if(A&&A[1]){C.caja=parseFloat(A[1]);}return C;}();(function(){YAHOO.namespace("util","widget","example");if("undefined"!==typeof YAHOO_config){var B=YAHOO_config.listener,A=YAHOO.env.listeners,D=true,C;if(B){for(C=0;C<A.length;C=C+1){if(A[C]==B){D=false;break;}}if(D){A.push(B);}}}})();YAHOO.lang=YAHOO.lang||{};(function(){var B=YAHOO.lang,F="[object Array]",C="[object Function]",A=Object.prototype,E=["toString","valueOf"],D={isArray:function(G){return A.toString.apply(G)===F;},isBoolean:function(G){return typeof G==="boolean";},isFunction:function(G){return A.toString.apply(G)===C;},isNull:function(G){return G===null;},isNumber:function(G){return typeof G==="number"&&isFinite(G);},isObject:function(G){return(G&&(typeof G==="object"||B.isFunction(G)))||false;},isString:function(G){return typeof G==="string";},isUndefined:function(G){return typeof G==="undefined";},_IEEnumFix:(YAHOO.env.ua.ie)?function(I,H){var G,K,J;for(G=0;G<E.length;G=G+1){K=E[G];J=H[K];if(B.isFunction(J)&&J!=A[K]){I[K]=J;}}}:function(){},extend:function(J,K,I){if(!K||!J){throw new Error("extend failed, please check that "+"all dependencies are included.");}var H=function(){},G;H.prototype=K.prototype;J.prototype=new H();J.prototype.constructor=J;J.superclass=K.prototype;if(K.prototype.constructor==A.constructor){K.prototype.constructor=K;}if(I){for(G in I){if(B.hasOwnProperty(I,G)){J.prototype[G]=I[G];}}B._IEEnumFix(J.prototype,I);}},augmentObject:function(K,J){if(!J||!K){throw new Error("Absorb failed, verify dependencies.");}var G=arguments,I,L,H=G[2];if(H&&H!==true){for(I=2;I<G.length;I=I+1){K[G[I]]=J[G[I]];}}else{for(L in J){if(H||!(L in K)){K[L]=J[L];}}B._IEEnumFix(K,J);}},augmentProto:function(J,I){if(!I||!J){throw new Error("Augment failed, verify dependencies.");}var G=[J.prototype,I.prototype],H;for(H=2;H<arguments.length;H=H+1){G.push(arguments[H]);}B.augmentObject.apply(this,G);},dump:function(G,L){var I,K,N=[],O="{...}",H="f(){...}",M=", ",J=" => ";if(!B.isObject(G)){return G+"";}else{if(G instanceof Date||("nodeType"in G&&"tagName"in G)){return G;}else{if(B.isFunction(G)){return H;}}}L=(B.isNumber(L))?L:3;if(B.isArray(G)){N.push("[");for(I=0,K=G.length;I<K;I=I+1){if(B.isObject(G[I])){N.push((L>0)?B.dump(G[I],L-1):O);}else{N.push(G[I]);}N.push(M);}if(N.length>1){N.pop();}N.push("]");}else{N.push("{");for(I in G){if(B.hasOwnProperty(G,I)){N.push(I+J);if(B.isObject(G[I])){N.push((L>0)?B.dump(G[I],L-1):O);}else{N.push(G[I]);}N.push(M);}}if(N.length>1){N.pop();}N.push("}");}return N.join("");},substitute:function(V,H,O){var L,K,J,R,S,U,Q=[],I,M="dump",P=" ",G="{",T="}",N;for(;;){L=V.lastIndexOf(G);if(L<0){break;}K=V.indexOf(T,L);if(L+1>=K){break;}I=V.substring(L+1,K);R=I;U=null;J=R.indexOf(P);if(J>-1){U=R.substring(J+1);R=R.substring(0,J);}S=H[R];if(O){S=O(R,S,U);}if(B.isObject(S)){if(B.isArray(S)){S=B.dump(S,parseInt(U,10));}else{U=U||"";N=U.indexOf(M);if(N>-1){U=U.substring(4);}if(S.toString===A.toString||N>-1){S=B.dump(S,parseInt(U,10));}else{S=S.toString();}}}else{if(!B.isString(S)&&!B.isNumber(S)){S="~-"+Q.length+"-~";Q[Q.length]=I;}}V=V.substring(0,L)+S+V.substring(K+1);}for(L=Q.length-1;L>=0;L=L-1){V=V.replace(new RegExp("~-"+L+"-~"),"{"+Q[L]+"}","g");}return V;},trim:function(G){try{return G.replace(/^\s+|\s+$/g,"");}catch(H){return G;}},merge:function(){var J={},H=arguments,G=H.length,I;for(I=0;I<G;I=I+1){B.augmentObject(J,H[I],true);}return J;},later:function(N,H,O,J,K){N=N||0;H=H||{};var I=O,M=J,L,G;if(B.isString(O)){I=H[O];}if(!I){throw new TypeError("method undefined");}if(!B.isArray(M)){M=[J];}L=function(){I.apply(H,M);};G=(K)?setInterval(L,N):setTimeout(L,N);return{interval:K,cancel:function(){if(this.interval){clearInterval(G);}else{clearTimeout(G);}}};},isValue:function(G){return(B.isObject(G)||B.isString(G)||B.isNumber(G)||B.isBoolean(G));}};B.hasOwnProperty=(A.hasOwnProperty)?function(G,H){return G&&G.hasOwnProperty(H);}:function(G,H){return!B.isUndefined(G[H])&&G.constructor.prototype[H]!==G[H];};D.augmentObject(B,D,true);YAHOO.util.Lang=B;B.augment=B.augmentProto;YAHOO.augment=B.augmentProto;YAHOO.extend=B.extend;})();YAHOO.register("yahoo",YAHOO,{version:"2.7.0",build:"1796"});YAHOO.util.CustomEvent=function(D,C,B,A){this.type=D;this.scope=C||window;this.silent=B;this.signature=A||YAHOO.util.CustomEvent.LIST;this.subscribers=[];if(!this.silent){}var E="_YUICEOnSubscribe";if(D!==E){this.subscribeEvent=new YAHOO.util.CustomEvent(E,this,true);}this.lastError=null;};YAHOO.util.CustomEvent.LIST=0;YAHOO.util.CustomEvent.FLAT=1;YAHOO.util.CustomEvent.prototype={subscribe:function(A,B,C){if(!A){throw new Error("Invalid callback for subscriber to '"+this.type+"'");}if(this.subscribeEvent){this.subscribeEvent.fire(A,B,C);}this.subscribers.push(new YAHOO.util.Subscriber(A,B,C));},unsubscribe:function(D,F){if(!D){return this.unsubscribeAll();}var E=false;for(var B=0,A=this.subscribers.length;B<A;++B){var C=this.subscribers[B];if(C&&C.contains(D,F)){this._delete(B);E=true;}}return E;},fire:function(){this.lastError=null;var K=[],E=this.subscribers.length;if(!E&&this.silent){return true;}var I=[].slice.call(arguments,0),G=true,D,J=false;if(!this.silent){}var C=this.subscribers.slice(),A=YAHOO.util.Event.throwErrors;for(D=0;D<E;++D){var M=C[D];if(!M){J=true;}else{if(!this.silent){}var L=M.getScope(this.scope);if(this.signature==YAHOO.util.CustomEvent.FLAT){var B=null;if(I.length>0){B=I[0];}try{G=M.fn.call(L,B,M.obj);}catch(F){this.lastError=F;if(A){throw F;}}}else{try{G=M.fn.call(L,this.type,I,M.obj);}catch(H){this.lastError=H;if(A){throw H;}}}if(false===G){if(!this.silent){}break;}}}return(G!==false);},unsubscribeAll:function(){var A=this.subscribers.length,B;for(B=A-1;B>-1;B--){this._delete(B);}this.subscribers=[];return A;},_delete:function(A){var B=this.subscribers[A];if(B){delete B.fn;delete B.obj;}this.subscribers.splice(A,1);},toString:function(){return"CustomEvent: "+"'"+this.type+"', "+"context: "+this.scope;}};YAHOO.util.Subscriber=function(A,B,C){this.fn=A;this.obj=YAHOO.lang.isUndefined(B)?null:B;this.overrideContext=C;};YAHOO.util.Subscriber.prototype.getScope=function(A){if(this.overrideContext){if(this.overrideContext===true){return this.obj;}else{return this.overrideContext;}}return A;};YAHOO.util.Subscriber.prototype.contains=function(A,B){if(B){return(this.fn==A&&this.obj==B);}else{return(this.fn==A);}};YAHOO.util.Subscriber.prototype.toString=function(){return"Subscriber { obj: "+this.obj+", overrideContext: "+(this.overrideContext||"no")+" }";};if(!YAHOO.util.Event){YAHOO.util.Event=function(){var H=false;var I=[];var J=[];var G=[];var E=[];var C=0;var F=[];var B=[];var A=0;var D={63232:38,63233:40,63234:37,63235:39,63276:33,63277:34,25:9};var K=YAHOO.env.ua.ie?"focusin":"focus";var L=YAHOO.env.ua.ie?"focusout":"blur";return{POLL_RETRYS:2000,POLL_INTERVAL:20,EL:0,TYPE:1,FN:2,WFN:3,UNLOAD_OBJ:3,ADJ_SCOPE:4,OBJ:5,OVERRIDE:6,lastError:null,isSafari:YAHOO.env.ua.webkit,webkit:YAHOO.env.ua.webkit,isIE:YAHOO.env.ua.ie,_interval:null,_dri:null,DOMReady:false,throwErrors:false,startInterval:function(){if(!this._interval){var M=this;var N=function(){M._tryPreloadAttach();};this._interval=setInterval(N,this.POLL_INTERVAL);}},onAvailable:function(S,O,Q,R,P){var M=(YAHOO.lang.isString(S))?[S]:S;for(var N=0;N<M.length;N=N+1){F.push({id:M[N],fn:O,obj:Q,overrideContext:R,checkReady:P});}C=this.POLL_RETRYS;this.startInterval();},onContentReady:function(P,M,N,O){this.onAvailable(P,M,N,O,true);},onDOMReady:function(M,N,O){if(this.DOMReady){setTimeout(function(){var P=window;if(O){if(O===true){P=N;}else{P=O;}}M.call(P,"DOMReady",[],N);},0);}else{this.DOMReadyEvent.subscribe(M,N,O);}},_addListener:function(O,M,Y,S,W,b){if(!Y||!Y.call){return false;}if(this._isValidCollection(O)){var Z=true;for(var T=0,V=O.length;T<V;++T){Z=this.on(O[T],M,Y,S,W)&&Z;}return Z;}else{if(YAHOO.lang.isString(O)){var R=this.getEl(O);if(R){O=R;}else{this.onAvailable(O,function(){YAHOO.util.Event.on(O,M,Y,S,W);});return true;}}}if(!O){return false;}if("unload"==M&&S!==this){J[J.length]=[O,M,Y,S,W];return true;}var N=O;if(W){if(W===true){N=S;}else{N=W;}}var P=function(c){return Y.call(N,YAHOO.util.Event.getEvent(c,O),S);};var a=[O,M,Y,P,N,S,W];var U=I.length;I[U]=a;if(this.useLegacyEvent(O,M)){var Q=this.getLegacyIndex(O,M);if(Q==-1||O!=G[Q][0]){Q=G.length;B[O.id+M]=Q;G[Q]=[O,M,O["on"+M]];E[Q]=[];O["on"+M]=function(c){YAHOO.util.Event.fireLegacyEvent(YAHOO.util.Event.getEvent(c),Q);};}E[Q].push(a);}else{try{this._simpleAdd(O,M,P,b);}catch(X){this.lastError=X;this.removeListener(O,M,Y);return false;}}return true;},addListener:function(N,Q,M,O,P){return this._addListener(N,Q,M,O,P,false);},addFocusListener:function(N,M,O,P){return this._addListener(N,K,M,O,P,true);},removeFocusListener:function(N,M){return this.removeListener(N,K,M);},addBlurListener:function(N,M,O,P){return this._addListener(N,L,M,O,P,true);},removeBlurListener:function(N,M){return this.removeListener(N,L,M);},fireLegacyEvent:function(R,P){var T=true,M,V,U,N,S;V=E[P].slice();for(var O=0,Q=V.length;O<Q;++O){U=V[O];if(U&&U[this.WFN]){N=U[this.ADJ_SCOPE];S=U[this.WFN].call(N,R);T=(T&&S);}}M=G[P];if(M&&M[2]){M[2](R);}return T;},getLegacyIndex:function(N,O){var M=this.generateId(N)+O;if(typeof B[M]=="undefined"){return-1;}else{return B[M];}},useLegacyEvent:function(M,N){return(this.webkit&&this.webkit<419&&("click"==N||"dblclick"==N));},removeListener:function(N,M,V){var Q,T,X;if(typeof N=="string"){N=this.getEl(N);}else{if(this._isValidCollection(N)){var W=true;for(Q=N.length-1;Q>-1;Q--){W=(this.removeListener(N[Q],M,V)&&W);}return W;}}if(!V||!V.call){return this.purgeElement(N,false,M);}if("unload"==M){for(Q=J.length-1;Q>-1;Q--){X=J[Q];if(X&&X[0]==N&&X[1]==M&&X[2]==V){J.splice(Q,1);return true;}}return false;}var R=null;var S=arguments[3];if("undefined"===typeof S){S=this._getCacheIndex(N,M,V);}if(S>=0){R=I[S];}if(!N||!R){return false;}if(this.useLegacyEvent(N,M)){var P=this.getLegacyIndex(N,M);var O=E[P];if(O){for(Q=0,T=O.length;Q<T;++Q){X=O[Q];if(X&&X[this.EL]==N&&X[this.TYPE]==M&&X[this.FN]==V){O.splice(Q,1);break;}}}}else{try{this._simpleRemove(N,M,R[this.WFN],false);}catch(U){this.lastError=U;return false;}}delete I[S][this.WFN];delete I[S][this.FN];I.splice(S,1);return true;},getTarget:function(O,N){var M=O.target||O.srcElement;return this.resolveTextNode(M);},resolveTextNode:function(N){try{if(N&&3==N.nodeType){return N.parentNode;}}catch(M){}return N;},getPageX:function(N){var M=N.pageX;if(!M&&0!==M){M=N.clientX||0;if(this.isIE){M+=this._getScrollLeft();}}return M;},getPageY:function(M){var N=M.pageY;if(!N&&0!==N){N=M.clientY||0;if(this.isIE){N+=this._getScrollTop();}}return N;},getXY:function(M){return[this.getPageX(M),this.getPageY(M)];},getRelatedTarget:function(N){var M=N.relatedTarget;if(!M){if(N.type=="mouseout"){M=N.toElement;}else{if(N.type=="mouseover"){M=N.fromElement;}}}return this.resolveTextNode(M);},getTime:function(O){if(!O.time){var N=new Date().getTime();try{O.time=N;}catch(M){this.lastError=M;return N;}}return O.time;},stopEvent:function(M){this.stopPropagation(M);this.preventDefault(M);},stopPropagation:function(M){if(M.stopPropagation){M.stopPropagation();}else{M.cancelBubble=true;}},preventDefault:function(M){if(M.preventDefault){M.preventDefault();}else{M.returnValue=false;}},getEvent:function(O,M){var N=O||window.event;if(!N){var P=this.getEvent.caller;while(P){N=P.arguments[0];if(N&&Event==N.constructor){break;}P=P.caller;}}return N;},getCharCode:function(N){var M=N.keyCode||N.charCode||0;if(YAHOO.env.ua.webkit&&(M in D)){M=D[M];}return M;},_getCacheIndex:function(Q,R,P){for(var O=0,N=I.length;O<N;O=O+1){var M=I[O];if(M&&M[this.FN]==P&&M[this.EL]==Q&&M[this.TYPE]==R){return O;}}return-1;},generateId:function(M){var N=M.id;if(!N){N="yuievtautoid-"+A;++A;M.id=N;}return N;},_isValidCollection:function(N){try{return(N&&typeof N!=="string"&&N.length&&!N.tagName&&!N.alert&&typeof N[0]!=="undefined");}catch(M){return false;}},elCache:{},getEl:function(M){return(typeof M==="string")?document.getElementById(M):M;},clearCache:function(){},DOMReadyEvent:new YAHOO.util.CustomEvent("DOMReady",this),_load:function(N){if(!H){H=true;var M=YAHOO.util.Event;M._ready();M._tryPreloadAttach();}},_ready:function(N){var M=YAHOO.util.Event;if(!M.DOMReady){M.DOMReady=true;M.DOMReadyEvent.fire();M._simpleRemove(document,"DOMContentLoaded",M._ready);}},_tryPreloadAttach:function(){if(F.length===0){C=0;if(this._interval){clearInterval(this._interval);this._interval=null;}return;}if(this.locked){return;}if(this.isIE){if(!this.DOMReady){this.startInterval();return;}}this.locked=true;var S=!H;if(!S){S=(C>0&&F.length>0);}var R=[];var T=function(V,W){var U=V;if(W.overrideContext){if(W.overrideContext===true){U=W.obj;}else{U=W.overrideContext;}}W.fn.call(U,W.obj);};var N,M,Q,P,O=[];for(N=0,M=F.length;N<M;N=N+1){Q=F[N];if(Q){P=this.getEl(Q.id);if(P){if(Q.checkReady){if(H||P.nextSibling||!S){O.push(Q);F[N]=null;}}else{T(P,Q);F[N]=null;}}else{R.push(Q);}}}for(N=0,M=O.length;N<M;N=N+1){Q=O[N];T(this.getEl(Q.id),Q);}C--;if(S){for(N=F.length-1;N>-1;N--){Q=F[N];if(!Q||!Q.id){F.splice(N,1);}}this.startInterval();}else{if(this._interval){clearInterval(this._interval);this._interval=null;}}this.locked=false;},purgeElement:function(Q,R,T){var O=(YAHOO.lang.isString(Q))?this.getEl(Q):Q;var S=this.getListeners(O,T),P,M;if(S){for(P=S.length-1;P>-1;P--){var N=S[P];this.removeListener(O,N.type,N.fn);}}if(R&&O&&O.childNodes){for(P=0,M=O.childNodes.length;P<M;++P){this.purgeElement(O.childNodes[P],R,T);}}},getListeners:function(O,M){var R=[],N;if(!M){N=[I,J];}else{if(M==="unload"){N=[J];}else{N=[I];}}var T=(YAHOO.lang.isString(O))?this.getEl(O):O;for(var Q=0;Q<N.length;Q=Q+1){var V=N[Q];if(V){for(var S=0,U=V.length;S<U;++S){var P=V[S];if(P&&P[this.EL]===T&&(!M||M===P[this.TYPE])){R.push({type:P[this.TYPE],fn:P[this.FN],obj:P[this.OBJ],adjust:P[this.OVERRIDE],scope:P[this.ADJ_SCOPE],index:S});}}}}return(R.length)?R:null;},_unload:function(T){var N=YAHOO.util.Event,Q,P,O,S,R,U=J.slice(),M;for(Q=0,S=J.length;Q<S;++Q){O=U[Q];if(O){M=window;if(O[N.ADJ_SCOPE]){if(O[N.ADJ_SCOPE]===true){M=O[N.UNLOAD_OBJ];}else{M=O[N.ADJ_SCOPE];}}O[N.FN].call(M,N.getEvent(T,O[N.EL]),O[N.UNLOAD_OBJ]);U[Q]=null;}}O=null;M=null;J=null;if(I){for(P=I.length-1;P>-1;P--){O=I[P];if(O){N.removeListener(O[N.EL],O[N.TYPE],O[N.FN],P);}}O=null;}G=null;N._simpleRemove(window,"unload",N._unload);},_getScrollLeft:function(){return this._getScroll()[1];},_getScrollTop:function(){return this._getScroll()[0];},_getScroll:function(){var M=document.documentElement,N=document.body;if(M&&(M.scrollTop||M.scrollLeft)){return[M.scrollTop,M.scrollLeft];}else{if(N){return[N.scrollTop,N.scrollLeft];}else{return[0,0];}}},regCE:function(){},_simpleAdd:function(){if(window.addEventListener){return function(O,P,N,M){O.addEventListener(P,N,(M));};}else{if(window.attachEvent){return function(O,P,N,M){O.attachEvent("on"+P,N);};}else{return function(){};}}}(),_simpleRemove:function(){if(window.removeEventListener){return function(O,P,N,M){O.removeEventListener(P,N,(M));};}else{if(window.detachEvent){return function(N,O,M){N.detachEvent("on"+O,M);};}else{return function(){};}}}()};}();(function(){var EU=YAHOO.util.Event;EU.on=EU.addListener;EU.onFocus=EU.addFocusListener;EU.onBlur=EU.addBlurListener;if(EU.isIE){YAHOO.util.Event.onDOMReady(YAHOO.util.Event._tryPreloadAttach,YAHOO.util.Event,true);var n=document.createElement("p");EU._dri=setInterval(function(){try{n.doScroll("left");clearInterval(EU._dri);EU._dri=null;EU._ready();n=null;}catch(ex){}},EU.POLL_INTERVAL);}else{if(EU.webkit&&EU.webkit<525){EU._dri=setInterval(function(){var rs=document.readyState;if("loaded"==rs||"complete"==rs){clearInterval(EU._dri);EU._dri=null;EU._ready();}},EU.POLL_INTERVAL);}else{EU._simpleAdd(document,"DOMContentLoaded",EU._ready);}}EU._simpleAdd(window,"load",EU._load);EU._simpleAdd(window,"unload",EU._unload);EU._tryPreloadAttach();})();}YAHOO.util.EventProvider=function(){};YAHOO.util.EventProvider.prototype={__yui_events:null,__yui_subscribers:null,subscribe:function(A,C,F,E){this.__yui_events=this.__yui_events||{};var D=this.__yui_events[A];if(D){D.subscribe(C,F,E);}else{this.__yui_subscribers=this.__yui_subscribers||{};var B=this.__yui_subscribers;if(!B[A]){B[A]=[];}B[A].push({fn:C,obj:F,overrideContext:E});}},unsubscribe:function(C,E,G){this.__yui_events=this.__yui_events||{};var A=this.__yui_events;if(C){var F=A[C];if(F){return F.unsubscribe(E,G);}}else{var B=true;for(var D in A){if(YAHOO.lang.hasOwnProperty(A,D)){B=B&&A[D].unsubscribe(E,G);}}return B;}return false;},unsubscribeAll:function(A){return this.unsubscribe(A);},createEvent:function(G,D){this.__yui_events=this.__yui_events||{};var A=D||{};var I=this.__yui_events;if(I[G]){}else{var H=A.scope||this;var E=(A.silent);var B=new YAHOO.util.CustomEvent(G,H,E,YAHOO.util.CustomEvent.FLAT);I[G]=B;if(A.onSubscribeCallback){B.subscribeEvent.subscribe(A.onSubscribeCallback);}this.__yui_subscribers=this.__yui_subscribers||{};var F=this.__yui_subscribers[G];if(F){for(var C=0;C<F.length;++C){B.subscribe(F[C].fn,F[C].obj,F[C].overrideContext);}}}return I[G];},fireEvent:function(E,D,A,C){this.__yui_events=this.__yui_events||{};var G=this.__yui_events[E];if(!G){return null;}var B=[];for(var F=1;F<arguments.length;++F){B.push(arguments[F]);}return G.fire.apply(G,B);},hasEvent:function(A){if(this.__yui_events){if(this.__yui_events[A]){return true;}}return false;}};(function(){var A=YAHOO.util.Event,C=YAHOO.lang;YAHOO.util.KeyListener=function(D,I,E,F){if(!D){}else{if(!I){}else{if(!E){}}}if(!F){F=YAHOO.util.KeyListener.KEYDOWN;}var G=new YAHOO.util.CustomEvent("keyPressed");this.enabledEvent=new YAHOO.util.CustomEvent("enabled");this.disabledEvent=new YAHOO.util.CustomEvent("disabled");if(C.isString(D)){D=document.getElementById(D);}if(C.isFunction(E)){G.subscribe(E);}else{G.subscribe(E.fn,E.scope,E.correctScope);}function H(O,N){if(!I.shift){I.shift=false;}if(!I.alt){I.alt=false;}if(!I.ctrl){I.ctrl=false;}if(O.shiftKey==I.shift&&O.altKey==I.alt&&O.ctrlKey==I.ctrl){var J,M=I.keys,L;if(YAHOO.lang.isArray(M)){for(var K=0;K<M.length;K++){J=M[K];L=A.getCharCode(O);if(J==L){G.fire(L,O);break;}}}else{L=A.getCharCode(O);if(M==L){G.fire(L,O);}}}}this.enable=function(){if(!this.enabled){A.on(D,F,H);this.enabledEvent.fire(I);}this.enabled=true;};this.disable=function(){if(this.enabled){A.removeListener(D,F,H);this.disabledEvent.fire(I);}this.enabled=false;};this.toString=function(){return"KeyListener ["+I.keys+"] "+D.tagName+(D.id?"["+D.id+"]":"");};};var B=YAHOO.util.KeyListener;B.KEYDOWN="keydown";B.KEYUP="keyup";B.KEY={ALT:18,BACK_SPACE:8,CAPS_LOCK:20,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,META:224,NUM_LOCK:144,PAGE_DOWN:34,PAGE_UP:33,PAUSE:19,PRINTSCREEN:44,RIGHT:39,SCROLL_LOCK:145,SHIFT:16,SPACE:32,TAB:9,UP:38};})();YAHOO.register("event",YAHOO.util.Event,{version:"2.7.0",build:"1796"});



if(!this.JSON)this.JSON={};(function(){function f(a){return a<10?'0'+a:a;}if(typeof Date.prototype.toJSON!=='function'){Date.prototype.toJSON=function(a){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(a){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(a){escapable.lastIndex=0;return escapable.test(a)?'"'+a.replace(escapable,function(b){var c=meta[b];return typeof c==='string'?c:'\\u'+('0000'+b.charCodeAt(0).toString(16)).slice(-4);})+'"':'"'+a+'"';}function str(d,a){var b,c,h,e,f=gap,g,i=a[d];if(i&&typeof i==='object'&&typeof i.toJSON==='function')i=i.toJSON(d);if(typeof rep==='function')i=rep.call(a,d,i);switch(typeof i){case'string':return quote(i);case'number':return isFinite(i)?String(i):'null';case'boolean':case'null':return String(i);case'object':if(!i)return'null';gap+=indent;g=[];if(Object.prototype.toString.apply(i)==='[object Array]'){e=i.length;for(b=0;b<e;b+=1)g[b]=str(b,i)||'null';h=g.length===0?'[]':gap?'[\n'+gap+g.join(',\n'+gap)+'\n'+f+']':'['+g.join(',')+']';gap=f;return h;}if(rep&&typeof rep==='object'){e=rep.length;for(b=0;b<e;b+=1){c=rep[b];if(typeof c==='string'){h=str(c,i);if(h)g.push(quote(c)+(gap?': ':':')+h);}}}else for(c in i)if(Object.hasOwnProperty.call(i,c)){h=str(c,i);if(h)g.push(quote(c)+(gap?': ':':')+h);}h=g.length===0?'{}':gap?'{\n'+gap+g.join(',\n'+gap)+'\n'+f+'}':'{'+g.join(',')+'}';gap=f;return h;}}if(typeof JSON.stringify!=='function')JSON.stringify=function(d,b,c){var a;gap='';indent='';if(typeof c==='number'){for(a=0;a<c;a+=1)indent+=' ';}else if(typeof c==='string')indent=c;rep=b;if(b&&typeof b!=='function'&&(typeof b!=='object'||typeof b.length!=='number'))throw new Error('JSON.stringify');return str('',{'':d});};if(typeof JSON.parse!=='function')JSON.parse=function(text,reviver){var j;function walk(a,c){var b,d,e=a[c];if(e&&typeof e==='object')for(b in e)if(Object.hasOwnProperty.call(e,b)){d=walk(e,b);if(d!==undefined){e[b]=d;}else delete e[b];}return reviver.call(a,c,e);}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');};}());if(!window.FB)FB={_apiKey:null,_session:null,_userStatus:'unknown',_logging:true,_domain:{api:window.location.protocol+'//api.facebook.com/',cdn:(window.location.protocol=='https:'?'https://s-static.ak.fbcdn.net/':'http://static.ak.fbcdn.net/'),www:window.location.protocol+'//www.facebook.com/'},_locale:null,_localeIsRtl:false,copy:function(d,c,b,e){for(var a in c)if(b||typeof d[a]==='undefined')d[a]=e?e(c[a]):c[a];return d;},create:function(c,h){var e=window.FB,d=c?c.split('.'):[],a=d.length;for(var b=0;b<a;b++){var g=d[b];var f=e[g];if(!f){f=(h&&b+1==a)?h:{};e[g]=f;}e=f;}return e;},provide:function(c,b,a){return FB.copy(typeof c=='string'?FB.create(c):c,b,a);},guid:function(){return'f'+(Math.random()*(1<<30)).toString(16).replace('.','');},log:function(a){if(FB._logging)if(window.Debug&&window.Debug.writeln){window.Debug.writeln(a);}else if(window.console)window.console.log(a);if(FB.Event)FB.Event.fire('fb.log',a);},$:function(a){return document.getElementById(a);}};FB.provide('',{api:function(d,a){if(FB.Auth&&d.method.toLowerCase()=='auth.revokeauthorization'){var b=a;a=function(e){if(e===true)FB.Auth.setSession(null,'notConnected');b&&b(e);};}var c=FB.JSON.flatten(d);try{FB.RestServer.jsonp(c,a);}catch(x){if(FB.Flash.hasMinVersion()){FB.RestServer.flash(c,a);}else throw new Error('Flash is required for this API call.');}}});FB.provide('RestServer',{_callbacks:{},sign:function(a){FB.copy(a,{api_key:FB._apiKey,call_id:new Date().getTime(),format:'json',v:'1.0'});if(FB._session)FB.copy(a,{session_key:FB._session.session_key,ss:1});if(FB._session)a.sig=FB.md5sum(FB.QS.encode(a,'',false)+FB._session.secret);return a;},jsonp:function(c,a){var b=FB.guid(),d=document.createElement('script'),e;c=FB.RestServer.sign(FB.copy({callback:'FB.RestServer._callbacks.'+b},c));e=FB._domain.api+'restserver.php?'+FB.QS.encode(c);if(e.length>2000)throw new Error('JSONP only support a maximum of 2000 bytes of input.');FB.RestServer._callbacks[b]=function(f){a(f);delete FB.RestServer._callbacks[b];d.parentNode.removeChild(d);};d.src=e;document.getElementsByTagName('head')[0].appendChild(d);},flash:function(b,a){if(!FB.RestServer.flash._init){window.FB_OnXdHttpResult=function(d,c){FB.RestServer._callbacks[d](FB.Flash.decode(c));};FB.RestServer.flash._init=true;}FB.Flash.onReady(function(){var d,f,c,e;c=FB.QS.encode(FB.RestServer.sign(FB.copy({},b)));f=FB._domain.api+'restserver.php';if(f.length+c.length>2000){d='POST';}else{d='GET';f+='?'+c;c='';}e=document.XdComm.sendXdHttpRequest(d,f,c,null);FB.RestServer._callbacks[e]=function(g){a(FB.JSON.parse(FB.Flash.decode(g)));delete FB.RestServer._callbacks[e];};});}});FB.provide('',{getLoginStatus:function(a,b){if(!FB._apiKey){FB.log('FB.getLoginStatus() called before calling FB.init().');return;}if(a)if(!b&&FB.Auth._loadState=='loaded'){a({status:FB._userStatus,session:FB._session});return;}else FB.Event.subscribe('FB.loginStatus',a);if(!b&&FB.Auth._loadState=='loading')return;FB.Auth._loadState='loading';var c=function(d){FB.Auth._loadState='loaded';FB.Event.fire('FB.loginStatus',d);FB.Event.clear('FB.loginStatus');};FB.ui({method:'auth.status',display:'hidden'},c);},getSession:function(){return FB._session;},login:function(a,b){b=FB.copy({method:'auth.login',display:'popup'},b||{});FB.ui(b,a);},logout:function(a){FB.ui({method:'auth.logout',display:'hidden'},a);}});FB.provide('Auth',{_callbacks:[],setSession:function(e,g){var b=!FB._session&&e,c=FB._session&&!e,a=FB._session&&e&&FB._session.uid!=e.uid,f=b||c||(FB._session&&e&&FB._session.session_key!=e.session_key),h=g!=FB._userStatus;var d={session:e,status:g};FB._session=e;FB._userStatus=g;if(f&&FB.Cookie&&FB.Cookie.getEnabled())FB.Cookie.set(e);if(h)FB.Event.fire('auth.statusChange',d);if(c||a)FB.Event.fire('auth.logout',d);if(b||a)FB.Event.fire('auth.login',d);if(f)FB.Event.fire('auth.sessionChange',d);return d;},xdHandler:function(a,b,f,c,e,d){return FB.UIServer._xdNextHandler(function(g){try{d=FB.JSON.parse(g.session);}catch(x){}var h=FB.Auth.setSession(d||null,e);h.perms=(g.result!='xxRESULTTOKENxx'&&g.result||'');a&&a(h);},b,f,c)+'&result=xxRESULTTOKENxx';}});FB.provide('UIServer.Methods',{'auth.login':{size:{width:450,height:415},url:'login.php',transform:function(a){if(!FB._apiKey){FB.log('FB.login() called before calling FB.init().');return;}if(FB._session&&!a.params.perms){FB.log('FB.login() called when user is already connected.');a.cb&&a.cb({status:FB._userStatus,session:FB._session});return;}var g=FB.Auth.xdHandler,c=a.cb,d=a.id,f=FB._session,b=g(c,d,'opener',true,FB._userStatus,f),e=g(c,d,'opener',false,'connected',f);FB.copy(a.params,{cancel_url:b,channel_url:window.location.toString(),next:e,fbconnect:1,req_perms:a.params.perms,return_session:1,session_version:2,v:'1.0'});delete a.cb;delete a.params.perms;return a;}},'auth.logout':{url:'logout.php',transform:function(a){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{a.params.next=FB.Auth.xdHandler(a.cb,a.id,'parent',false,'unknown');return a;}}},'auth.status':{url:'extern/login_status.php',transform:function(a){var b=a.cb,c=a.id,d=FB.Auth.xdHandler;delete a.cb;FB.copy(a.params,{no_session:d(b,c,'parent',false,'notConnected'),no_user:d(b,c,'parent',false,'unknown'),ok_session:d(b,c,'parent',false,'connected'),session_version:2});return a;}}});FB.provide('Component',{loaded:{},loadedCss:{},onScriptLoaded:function(b){var a=b.length;for(var c=0;c<a;c++)FB.Component.loaded[b[c]]=true;if(FB.Loader._onCompLoaded)FB.Loader._onCompLoaded(b);}});FB.provide('Content',{_root:null,_hiddenRoot:null,_callbacks:{},append:function(a,c){if(!c)if(!FB.Content._root){FB.Content._root=c=FB.$('fb-root');if(!c){FB.log('The "fb-root" div has not been created.');return;}else c.className+=' fb_reset';}else c=FB.Content._root;if(typeof a=='string'){var b=document.createElement('div');c.appendChild(b).innerHTML=a;return b;}else return c.appendChild(a);},appendHidden:function(a){if(!FB.Content._hiddenRoot){var b=document.createElement('div'),c=b.style;c.position='absolute';c.top='-10000px';c.width=c.height=0;FB.Content._hiddenRoot=FB.Content.append(b);}return FB.Content.append(a,FB.Content._hiddenRoot);},insertIframe:function(e){e.id=e.id||FB.guid();e.name=e.name||FB.guid();var a=FB.guid(),f=false,d=false;FB.Content._callbacks[a]=function(){if(f&&!d){d=true;e.onload&&e.onload(e.root.firstChild);}};if(document.attachEvent){var b=('<iframe'+' id="'+e.id+'"'+' name="'+e.name+'"'+(e.className?' class="'+e.className+'"':'')+' style="border:none;'+(e.width?'width:'+e.width+'px;':'')+(e.height?'height:'+e.height+'px;':'')+'"'+' src="'+e.url+'"'+' frameborder="0"'+' scrolling="no"'+' onload="FB.Content._callbacks.'+a+'()"'+'></iframe>');e.root.innerHTML='<iframe src="javascript:false"></iframe>';f=true;window.setTimeout(function(){e.root.innerHTML=b;},0);}else{var c=document.createElement('iframe');c.id=e.id;c.name=e.name;c.onload=FB.Content._callbacks[a];c.style.border='none';c.style.overflow='hidden';if(e.className)c.className=e.className;if(e.height)c.style.height=e.height+'px';if(e.width)c.style.width=e.width+'px';e.root.appendChild(c);f=true;c.src=e.url;}},postTarget:function(b){var a=document.createElement('form');a.action=b.url;a.target=b.target;a.method='POST';FB.Content.appendHidden(a);FB.Array.forEach(b.params,function(e,d){if(e!==null&&e!==undefined){var c=document.createElement('input');c.name=d;c.value=e;a.appendChild(c);}});a.submit();a.parentNode.removeChild(a);}});FB.provide('Cookie',{_domain:null,_enabled:false,setEnabled:function(a){FB.Cookie._enabled=a;},getEnabled:function(){return FB.Cookie._enabled;},load:function(){var a=document.cookie.match('\\bfbs_'+FB._apiKey+'="([^;]*)\\b'),b;if(a){b=FB.QS.decode(a[1]);b.expires=parseInt(b.expires,10);FB.Cookie._domain=b.base_domain;}return b;},setRaw:function(c,b,a){document.cookie='fbs_'+FB._apiKey+'="'+c+'"'+(c&&b==0?'':'; expires='+new Date(b*1000).toGMTString())+'; path=/'+(a?'; domain=.'+a:'');FB.Cookie._domain=a;},set:function(a){a?FB.Cookie.setRaw(FB.QS.encode(a),a.expires,a.base_domain):FB.Cookie.clear();},clear:function(){FB.Cookie.setRaw('',0,FB.Cookie._domain);}});FB.provide('Dialog',{_loaderEl:null,_stack:[],_active:null,_findRoot:function(a){while(a){if(FB.Dom.containsCss(a,'fb_dialog'))return a;a=a.parentNode;}},_showLoader:function(a){if(!FB.Dialog._loaderEl)FB.Dialog._loaderEl=FB.Dialog._findRoot(FB.Dialog.create({content:('<div class="fb_dialog_loader">'+'Loading...'+'<a id="fb_dialog_loader_close"></a>'+'</div>')}));var b=FB.$('fb_dialog_loader_close');if(a){FB.Dom.removeCss(b,'fb_hidden');b.onclick=function(){FB.Dialog._hideLoader();a();};}else{FB.Dom.addCss(b,'fb_hidden');b.onclick=null;}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();var a={width:parseInt(b.offsetWidth,10),height:parseInt(b.offsetHeight,10)},e=FB.Dom.getViewportInfo(),c=(e.scrollLeft+(e.width-a.width)/2),d=(e.scrollTop+(e.height-a.height)/2.5);b.style.left=(c>0?c:0)+'px';b.style.top=(d>0?d:0)+'px';FB.Dialog._active=b;},_lowerActive:function(){if(!FB.Dialog._active)return;FB.Dialog._active.style.top='-10000px';FB.Dialog._active=null;},_removeStacked:function(a){FB.Dialog._stack=FB.Array.filter(FB.Dialog._stack,function(b){return b!=a;});},create:function(e){e=e||{};if(e.loader)FB.Dialog._showLoader(e.onClose);var d=document.createElement('div'),c=document.createElement('div'),a='fb_dialog';if(e.closeIcon&&e.onClose){var b=document.createElement('a');b.className='fb_dialog_close_icon';b.onclick=e.onClose;d.appendChild(b);}if(FB.Dom.getBrowserType()=='ie'){a+=' fb_dialog_legacy';FB.Array.forEach(['vert_left','vert_right','horiz_top','horiz_bottom','top_left','top_right','bottom_left','bottom_right'],function(f){var g=document.createElement('span');g.className='fb_dialog_'+f;d.appendChild(g);});}else a+=' fb_dialog_advanced';if(e.content)FB.Content.append(e.content,c);d.className=a;c.className='fb_dialog_content';d.appendChild(c);FB.Content.append(d);if(e.visible)FB.Dialog.show(d);return c;},show:function(a){a=FB.Dialog._findRoot(a);if(a){FB.Dialog._removeStacked(a);FB.Dialog._hideLoader();FB.Dialog._makeActive(a);FB.Dialog._stack.push(a);}},remove:function(a){a=FB.Dialog._findRoot(a);if(a){var b=FB.Dialog._active==a;FB.Dialog._removeStacked(a);if(b)if(FB.Dialog._stack.length>0){FB.Dialog.show(FB.Dialog._stack.pop());}else FB.Dialog._lowerActive();window.setTimeout(function(){a.parentNode.removeChild(a);},3000);}}});FB.provide('EventProvider',{subscribers:function(){if(!this._subscribersMap)this._subscribersMap={};return this._subscribersMap;},subscribe:function(b,a){var c=this.subscribers();if(!c[b]){c[b]=[a];}else c[b].push(a);},unsubscribe:function(b,a){var c=this.subscribers()[b];FB.Array.forEach(c,function(e,d){if(e==a)c[d]=null;});},monitor:function(d,a){if(!a()){var b=this,c=function(){if(a.apply(a,arguments))b.unsubscribe(d,c);};this.subscribe(d,c);}},clear:function(a){delete this.subscribers()[a];},fire:function(){var a=Array.prototype.slice.call(arguments),b=a.shift();FB.Array.forEach(this.subscribers()[b],function(c){if(c)c.apply(this,a);});}});FB.provide('Event',FB.EventProvider);FB.provide('Flash',{_minVersions:[[9,0,159,0],[10,0,22,87]],_swfPath:'swf/XdComm.swf',_callbacks:[],init:function(){if(FB.Flash._init)return;FB.Flash._init=true;window.FB_OnFlashXdCommReady=function(){FB.Flash._ready=true;for(var d=0,e=FB.Flash._callbacks.length;d<e;d++)FB.Flash._callbacks[d]();FB.Flash._callbacks=[];};var a=!!document.attachEvent,c=FB._domain.cdn+FB.Flash._swfPath,b=('<object '+'type="application/x-shockwave-flash" '+'id="XdComm" '+(a?'name="XdComm" ':'')+(a?'':'data="'+c+'" ')+(a?'classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ':'')+'allowscriptaccess="always">'+'<param name="movie" value="'+c+'"></param>'+'<param name="allowscriptaccess" value="always"></param>'+'</object>');FB.Content.appendHidden(b);},hasMinVersion:function(){if(typeof FB.Flash._hasMinVersion==='undefined'){var k,a,b,j=[];try{k=new ActiveXObject('ShockwaveFlash.ShockwaveFlash').GetVariable('$version');}catch(x){if(navigator.mimeTypes.length>0){var d='application/x-shockwave-flash';if(navigator.mimeTypes[d].enabledPlugin){var f='Shockwave Flash';k=(navigator.plugins[f+' 2.0']||navigator.plugins[f]).description;}}}if(k){var h=k.replace(/\D+/g,',').match(/^,?(.+),?$/)[1].split(',');for(a=0,b=h.length;a<b;a++)j.push(parseInt(h[a],10));}FB.Flash._hasMinVersion=false;majorVersion:for(a=0,b=FB.Flash._minVersions.length;a<b;a++){var i=FB.Flash._minVersions[a];if(i[0]!=j[0])continue;for(var c=1,e=i.length,g=j.length;(c<e&&c<g);c++)if(j[c]<i[c]){FB.Flash._hasMinVersion=false;continue majorVersion;}else{FB.Flash._hasMinVersion=true;if(j[c]>i[c])break majorVersion;}};}return FB.Flash._hasMinVersion;},onReady:function(a){FB.Flash.init();if(FB.Flash._ready){window.setTimeout(a,0);}else FB.Flash._callbacks.push(a);},decode:function(a){if(a&&a.length&&typeof a!='string')a=a[0];if(!a||typeof a!='string')return a;a=a.replace(/\&custom_lt\;/g,'<');a=a.replace(/\&custom_gt\;/g,'>');a=a.replace(/\&custom_backslash\;/g,'\\');a=a.replace(/\\0/g,"\0");return a;}});FB.provide('',{init:function(a){if(!a||!a.apiKey){FB.log('FB.init() called without an apiKey.');return;}FB.copy(a,{logging:true});FB._apiKey=a.apiKey;if(!a.logging&&window.location.toString().indexOf('fb_debug=1')<0)FB._logging=false;FB.Cookie.setEnabled(a.cookie);a.session=a.session||FB.Cookie.load();FB.Auth.setSession(a.session,a.session?'connected':'unknown');if(a.status)FB.getLoginStatus();}});window.setTimeout(function(){if(window.fbAsyncInit)fbAsyncInit();},0);FB.provide('Insights',{impression:function(e,a){var b=FB.guid();var g="//ah8.facebook.com/impression.php/"+b+"/";var c=new Image(1,1);var f=[];for(var d in e)f.push(encodeURIComponent(d)+'='+encodeURIComponent(e[d]));g+='?'+f.join('&');if(a)c.onload=a;c.src=g;}});FB.provide('JSON',{stringify:function(a){if(window.Prototype&&Object.toJSON){return Object.toJSON(a);}else return JSON.stringify(a);},parse:function(a){return JSON.parse(a);},flatten:function(c){var a={};for(var b in c)if(c.hasOwnProperty(b)){var d=c[b];if(typeof d=='string'){a[b]=d;}else a[b]=FB.JSON.stringify(d);}return a;}});FB.md5sum=function(o){var k='0123456789abcdef',t='',u,c,d,v='',j='',m=-1,x,y;function w(za,zb){var z=(za&65535)+(zb&65535);return(((za>>16)+(zb>>16)+(z>>16))<<16)|(z&65535);}function f(zc,z,za,zf,zd,ze){var zb=w(w(z,zc),w(zf,ze));return w((zb<<zd)|(zb>>>(32-zd)),za);}function h(z,za,zb,zc,zf,zd,ze){return f((za&zb)|((~za)&zc),z,za,zf,zd,ze);}function i(z,za,zb,zc,zf,zd,ze){return f((za&zc)|(zb&(~zc)),z,za,zf,zd,ze);}function l(z,za,zb,zc,zf,zd,ze){return f(za^zb^zc,z,za,zf,zd,ze);}function n(z,za,zb,zc,zf,zd,ze){return f(zb^(za|(~zc)),z,za,zf,zd,ze);}while(++m<o.length){x=o.charCodeAt(m);y=m+1<o.length?o.charCodeAt(m+1):0;if(55296<=x&&x<=56319&&56320<=y&&y<=57343){x=65536+((x&1023)<<10)+(y&1023);m++;}if(x<=127){t+=String.fromCharCode(x);}else if(x<=2047){t+=String.fromCharCode(192|((x>>>6)&31),128|(x&63));}else if(x<=65535){t+=String.fromCharCode(224|((x>>>12)&15),128|((x>>>6)&63),128|(x&63));}else if(x<=2097151)t+=String.fromCharCode(240|((x>>>18)&7),128|((x>>>12)&63),128|((x>>>6)&63),128|(x&63));}u=t.length*8;c=Array(t.length>>2);for(m=0;m<c.length;m++)c[m]=0;for(m=0;m<u;m+=8)c[m>>5]|=(t.charCodeAt(m/8)&255)<<(m%32);c[u>>5]|=128<<((u)%32);c[(((u+64)>>>9)<<4)+14]=u;var a=1732584193,b=-271733879,e=-1732584194,g=271733878;for(m=0;m<c.length;m+=16){var p=a,q=b,r=e,s=g;a=h(a,b,e,g,c[m+0],7,-680876936);g=h(g,a,b,e,c[m+1],12,-389564586);e=h(e,g,a,b,c[m+2],17,606105819);b=h(b,e,g,a,c[m+3],22,-1044525330);a=h(a,b,e,g,c[m+4],7,-176418897);g=h(g,a,b,e,c[m+5],12,1200080426);e=h(e,g,a,b,c[m+6],17,-1473231341);b=h(b,e,g,a,c[m+7],22,-45705983);a=h(a,b,e,g,c[m+8],7,1770035416);g=h(g,a,b,e,c[m+9],12,-1958414417);e=h(e,g,a,b,c[m+10],17,-42063);b=h(b,e,g,a,c[m+11],22,-1990404162);a=h(a,b,e,g,c[m+12],7,1804603682);g=h(g,a,b,e,c[m+13],12,-40341101);e=h(e,g,a,b,c[m+14],17,-1502002290);b=h(b,e,g,a,c[m+15],22,1236535329);a=i(a,b,e,g,c[m+1],5,-165796510);g=i(g,a,b,e,c[m+6],9,-1069501632);e=i(e,g,a,b,c[m+11],14,643717713);b=i(b,e,g,a,c[m+0],20,-373897302);a=i(a,b,e,g,c[m+5],5,-701558691);g=i(g,a,b,e,c[m+10],9,38016083);e=i(e,g,a,b,c[m+15],14,-660478335);b=i(b,e,g,a,c[m+4],20,-405537848);a=i(a,b,e,g,c[m+9],5,568446438);g=i(g,a,b,e,c[m+14],9,-1019803690);e=i(e,g,a,b,c[m+3],14,-187363961);b=i(b,e,g,a,c[m+8],20,1163531501);a=i(a,b,e,g,c[m+13],5,-1444681467);g=i(g,a,b,e,c[m+2],9,-51403784);e=i(e,g,a,b,c[m+7],14,1735328473);b=i(b,e,g,a,c[m+12],20,-1926607734);a=l(a,b,e,g,c[m+5],4,-378558);g=l(g,a,b,e,c[m+8],11,-2022574463);e=l(e,g,a,b,c[m+11],16,1839030562);b=l(b,e,g,a,c[m+14],23,-35309556);a=l(a,b,e,g,c[m+1],4,-1530992060);g=l(g,a,b,e,c[m+4],11,1272893353);e=l(e,g,a,b,c[m+7],16,-155497632);b=l(b,e,g,a,c[m+10],23,-1094730640);a=l(a,b,e,g,c[m+13],4,681279174);g=l(g,a,b,e,c[m+0],11,-358537222);e=l(e,g,a,b,c[m+3],16,-722521979);b=l(b,e,g,a,c[m+6],23,76029189);a=l(a,b,e,g,c[m+9],4,-640364487);g=l(g,a,b,e,c[m+12],11,-421815835);e=l(e,g,a,b,c[m+15],16,530742520);b=l(b,e,g,a,c[m+2],23,-995338651);a=n(a,b,e,g,c[m+0],6,-198630844);g=n(g,a,b,e,c[m+7],10,1126891415);e=n(e,g,a,b,c[m+14],15,-1416354905);b=n(b,e,g,a,c[m+5],21,-57434055);a=n(a,b,e,g,c[m+12],6,1700485571);g=n(g,a,b,e,c[m+3],10,-1894986606);e=n(e,g,a,b,c[m+10],15,-1051523);b=n(b,e,g,a,c[m+1],21,-2054922799);a=n(a,b,e,g,c[m+8],6,1873313359);g=n(g,a,b,e,c[m+15],10,-30611744);e=n(e,g,a,b,c[m+6],15,-1560198380);b=n(b,e,g,a,c[m+13],21,1309151649);a=n(a,b,e,g,c[m+4],6,-145523070);g=n(g,a,b,e,c[m+11],10,-1120210379);e=n(e,g,a,b,c[m+2],15,718787259);b=n(b,e,g,a,c[m+9],21,-343485551);a=w(a,p);b=w(b,q);e=w(e,r);g=w(g,s);}d=[a,b,e,g];for(m=0;m<d.length*32;m+=8)v+=String.fromCharCode((d[m>>5]>>>(m%32))&255);for(m=0;m<v.length;m++){x=v.charCodeAt(m);j+=k.charAt((x>>>4)&15)+k.charAt(x&15);}return j;};FB.provide('QS',{encode:function(c,d,a){d=d===undefined?'&':d;a=a===false?function(e){return e;}:encodeURIComponent;var b=[];FB.Array.forEach(c,function(f,e){if(f!==null&&typeof f!='undefined')b.push(a(e)+'='+a(f));});b.sort();return b.join(d);},decode:function(f){var a=decodeURIComponent,d={},e=f.split('&'),b,c;for(b=0;b<e.length;b++){c=e[b].split('=',2);if(c&&c[0])d[a(c[0])]=a(c[1]);}return d;}});FB.provide('',{ui:function(e,b){if(!e.method){FB.log('"method" is a required parameter for FB.ui().');return;}var a=FB.UIServer.prepareCall(e,b);if(!a)return;var d=a.params.display;if(d=='dialog')d='iframe';var c=FB.UIServer[d];if(!c){FB.log('"display" must be one of "popup", "iframe" or "hidden".');return;}c(a);}});FB.provide('UIServer',{Methods:{},_active:{},_defaultCb:{},_resultToken:'"xxRESULTTOKENxx"',prepareCall:function(f,b){var e=FB.UIServer.Methods[f.method.toLowerCase()],d=FB.guid();if(!e){FB.log('"'+f.method+'" is an unknown method.');return;}FB.copy(f,{api_key:FB._apiKey,display:FB._session?'dialog':'popup',locale:FB._locale,sdk:'joey',session_key:FB._session&&FB._session.session_key});if(!FB._session&&f.display=='dialog'&&!e.loggedOutIframe){FB.log('"dialog" mode can only be used when the user is connected.');f.display='popup';}var a={cb:b,id:d,size:e.size||{},url:FB._domain.www+e.url,params:f};if(e.transform){a=e.transform(a);if(!a)return;}var g=a.params.display=='popup'?'opener':'parent';if(!(a.id in FB.UIServer._defaultCb)&&!('next'in a.params))a.params.next=FB.UIServer._xdResult(a.cb,a.id,g,true);if(g==='parent')a.params.channel_url=FB.UIServer._xdChannelHandler(d,'parent.parent');var c=FB.QS.encode(FB.JSON.flatten(a.params));if((a.url+c).length>2000){a.post=true;}else if(c)a.url+='?'+c;return a;},popup:function(a){var g=typeof window.screenX!='undefined'?window.screenX:window.screenLeft,h=typeof window.screenY!='undefined'?window.screenY:window.screenTop,f=typeof window.outerWidth!='undefined'?window.outerWidth:document.body.clientWidth,e=typeof window.outerHeight!='undefined'?window.outerHeight:(document.body.clientHeight-22),j=a.size.width,c=a.size.height,d=parseInt(g+((f-j)/2),10),i=parseInt(h+((e-c)/2.5),10),b=('width='+j+',height='+c+',left='+d+',top='+i);if(a.post){FB.UIServer._active[a.id]=window.open('about:blank',a.id,b);FB.Content.postTarget({url:a.url,target:a.id,params:a.params});}else FB.UIServer._active[a.id]=window.open(a.url,a.id,b);if(a.id in FB.UIServer._defaultCb)FB.UIServer._popupMonitor();},hidden:function(a){a.className='FB_UI_Hidden';a.root=FB.Content.appendHidden('');FB.UIServer._insertIframe(a);},iframe:function(a){a.className='FB_UI_Dialog';a.root=FB.Dialog.create({onClose:function(){FB.UIServer._triggerDefault(a.id);},loader:true,closeIcon:true});FB.Dom.addCss(a.root,'fb_dialog_iframe');FB.UIServer._insertIframe(a);},_insertIframe:function(a){if(a.post){FB.Content.insertIframe({url:'about:blank',root:a.root,className:a.className,width:a.size.width,height:a.size.height,onload:function(b){FB.UIServer._active[a.id]=b;FB.Content.postTarget({url:a.url,target:b.name,params:a.params});}});}else FB.Content.insertIframe({url:a.url,root:a.root,className:a.className,width:a.size.width,height:a.size.height,onload:function(b){FB.UIServer._active[a.id]=b;}});},_triggerDefault:function(a){FB.UIServer._xdRecv({frame:a},FB.UIServer._defaultCb[a]||function(){});},_popupMonitor:function(){var a;for(var b in FB.UIServer._active)if(FB.UIServer._active.hasOwnProperty(b)&&b in FB.UIServer._defaultCb){var c=FB.UIServer._active[b];try{if(c.tagName)continue;}catch(x){}try{if(c.closed){FB.UIServer._triggerDefault(b);}else a=true;}catch(y){}}if(a&&!FB.UIServer._popupInterval){FB.UIServer._popupInterval=window.setInterval(FB.UIServer._popupMonitor,100);}else if(!a&&FB.UIServer._popupInterval){window.clearInterval(FB.UIServer._popupInterval);FB.UIServer._popupInterval=null;}},_xdChannelHandler:function(a,b){return FB.XD.handler(function(c){var d=FB.UIServer._active[a];if(!d)return;if(c.type=='resize'){if(c.height)d.style.height=c.height+'px';if(c.width)d.style.width=c.width+'px';FB.Dialog.show(d);}},b,true);},_xdNextHandler:function(a,b,d,c){if(c)FB.UIServer._defaultCb[b]=a;return FB.XD.handler(function(e){FB.UIServer._xdRecv(e,a);},d)+'&frame='+b;},_xdRecv:function(b,a){var c=FB.UIServer._active[b.frame];try{if(FB.Dom.containsCss(c,'FB_UI_Hidden')){window.setTimeout(function(){c.parentNode.parentNode.removeChild(c.parentNode);},3000);}else if(FB.Dom.containsCss(c,'FB_UI_Dialog'))FB.Dialog.remove(c);}catch(x){}try{if(c.close){c.close();FB.UIServer._popupCount--;}}catch(y){}delete FB.UIServer._active[b.frame];delete FB.UIServer._defaultCb[b.frame];a(b);},_xdResult:function(a,b,d,c){return(FB.UIServer._xdNextHandler(function(e){a&&a(e.result&&e.result!=FB.UIServer._resultToken&&JSON.parse(e.result));},b,d,c)+'&result='+encodeURIComponent(FB.UIServer._resultToken));}});FB.provide('UIServer.Methods',{'friend.add':{size:{width:575,height:240},url:'addfriend.php'},'stream.publish':{size:{width:575,height:240},url:'connect/prompt_feed.php',transform:function(a){var b=a.cb;a.cb=function(c){if(c)if(c.postId){c={post_id:c.postId};}else c=null;b&&b(c);};a.params.callback=FB.UIServer._xdResult(a.cb,a.id,a.params.display=='popup'?'opener':'parent',true);return a;}},'stream.share':{size:{width:575,height:380},url:'sharer.php',transform:function(a){if(!a.params.u)a.params.u=window.location.toString();return a;}},'fbml.dialog':{size:{width:575,height:300},url:'render_fbml.php',loggedOutIframe:true},'bookmark.add':{size:{width:460,height:226},url:'connect/uiserver.php',transform:function(a){if(a.params.display=='dialog'){a.params.display='iframe';a.params.channel=FB.UIServer._xdChannelHandler(a.id,'parent.parent');}return a;}}});FB.provide('XD',{_origin:null,_transport:null,_callbacks:{},_forever:{},init:function(){if(FB.XD._origin)return;if(window.addEventListener&&window.postMessage){FB.XD._origin=(window.location.protocol+'//'+window.location.host+'/'+FB.guid());FB.XD.PostMessage.init();FB.XD._transport='postmessage';}else if(FB.Flash.hasMinVersion()){FB.XD._origin=(window.location.protocol+'//'+document.domain+'/'+FB.guid());FB.XD.Flash.init();FB.XD._transport='flash';}else FB.XD._transport='fragment';},handler:function(a,e,b){FB.XD.init();var f=FB._domain.cdn+'connect/xd_proxy.php#?=&',c=FB.guid();if(FB.XD._transport=='fragment'){f=window.location.toString();var d=f.indexOf('#');if(d>0)f=f.substr(0,d);f+=f.indexOf('?')<0?'?':'&';f+='fb_xd_bust#?=&'+FB.XD.Fragment._magic+'&';}if(b)FB.XD._forever[c]=true;FB.XD._callbacks[c]=a;return f+FB.QS.encode({cb:c,origin:FB.XD._origin,relation:e||'opener',transport:FB.XD._transport});},recv:function(b){if(typeof b=='string')b=FB.QS.decode(b);var a=FB.XD._callbacks[b.cb];if(!FB.XD._forever[b.cb])delete FB.XD._callbacks[b.cb];a&&a(b);},PostMessage:{init:function(){var a=FB.XD.PostMessage.onMessage;window.addEventListener?window.addEventListener('message',a,false):window.attachEvent('onmessage',a);},onMessage:function(event){FB.XD.recv(event.data);}},Flash:{init:function(){FB.Flash.onReady(function(){document.XdComm.postMessage_init('FB.XD.Flash.onMessage',FB.XD._origin);});},onMessage:function(a){FB.XD.recv(decodeURIComponent(a));}},Fragment:{_magic:'fb_xd_fragment',checkAndDispatch:function(){var b=window.location.toString(),a=b.substr(b.indexOf('#')+1),c=a.indexOf(FB.XD.Fragment._magic);if(c>0){FB.init=FB.getLoginStatus=FB.api=function(){};document.body.style.display='none';a=a.substr(c+FB.XD.Fragment._magic.length);var d=FB.QS.decode(a);window[d.relation].FB.XD.recv(a);}}}});FB.XD.Fragment.checkAndDispatch();FB.provide('',{share:function(a){FB.log('FB.share() has been deprecated. Please use FB.ui() instead.');FB.ui({method:'stream.share',u:a});},publish:function(b,a){FB.log('FB.publish() has been deprecated. Please use FB.ui() instead.');b=b||{};FB.ui(FB.copy({method:'stream.publish',preview:1},b||{}),a);},addFriend:function(b,a){FB.log('FB.addFriend() has been deprecated. Please use FB.ui() instead.');FB.ui({id:b,method:'friend.add'},a);}});FB.provide('Array',{indexOf:function(a,c){if(a.indexOf)return a.indexOf(c);var d=a.length;if(d)for(var b=0;b<d;b++)if(a[b]===c)return b;return-1;},merge:function(c,b){for(var a=0;a<b.length;a++)if(FB.Array.indexOf(c,b[a])<0)c.push(b[a]);return c;},filter:function(a,c){var b=[];for(var d=0;d<a.length;d++)if(c(a[d]))b.push(a[d]);return b;},keys:function(c,d){var a=[];for(var b in c)if(d||c.hasOwnProperty(b))a.push(b);return a;},map:function(a,d){var c=[];for(var b=0;b<a.length;b++)c.push(d(a[b]));return c;},forEach:function(c,a,f){if(!c)return;if(Object.prototype.toString.apply(c)==='[object Array]'||(!(c instanceof Function)&&typeof c.length=='number')){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.provide('Dom',{containsCss:function(c,a){var b=' '+c.className+' ';return b.indexOf(' '+a+' ')>=0;},addCss:function(b,a){if(!FB.Dom.containsCss(b,a))b.className=b.className+' '+a;},removeCss:function(b,a){if(FB.Dom.containsCss(b,a)){b.className=b.className.replace(a,'');FB.Dom.removeCss(b,a);}},addScript:function(b){var a=document.createElement('script');a.type="text/javascript";a.src=b;return document.getElementsByTagName('HEAD')[0].appendChild(a);},addCssRules:function(d,b){if(!FB.Dom._cssRules)FB.Dom._cssRules={};var a=true;FB.Array.forEach(b,function(e){if(!(e in FB.Dom._cssRules)){a=false;FB.Dom._cssRules[e]=true;}});if(a)return;if(FB.Dom.getBrowserType()!='ie'){var c=document.createElement('style');c.type='text/css';c.textContent=d;document.getElementsByTagName('HEAD')[0].appendChild(c);}else document.createStyleSheet().cssText=d;},getBrowserType:function(){if(!FB.Dom._browserType){var d=window.navigator.userAgent.toLowerCase(),b=['msie','firefox','safari','gecko'],c=['ie','mozilla','safari','mozilla'];for(var a=0;a<b.length;a++)if(d.indexOf(b[a])>=0){FB.Dom._browserType=c[a];break;}}return FB.Dom._browserType;},getViewportInfo:function(){var a=(document.documentElement&&document.compatMode=='CSS1Compat')?document.documentElement:document.body;return{scrollTop:a.scrollTop,scrollLeft:a.scrollLeft,width:self.innerWidth?self.innerWidth:a.clientWidth,height:self.innerHeight?self.innerHeight:a.clientHeight};}});FB.provide('',{bind:function(){var a=Array.prototype.slice.call(arguments),c=a.shift(),b=a.shift();return function(){return c.apply(b,a.concat(Array.prototype.slice.call(arguments)));};},Class:function(b,a,d){if(FB.CLASSES[b])return FB.CLASSES[b];var c=a||function(){};c.prototype=d;c.prototype.bind=function(e){return FB.bind(e,this);};c.prototype.constructor=c;FB.create(b,c);FB.CLASSES[b]=c;return c;},subclass:function(d,b,c,e){if(FB.CLASSES[d])return FB.CLASSES[d];var a=FB.create(b);FB.copy(e,a.prototype);e._base=a;e._callBase=function(g){var f=Array.prototype.slice.call(arguments,1);return a.prototype[g].apply(this,f);};return FB.Class(d,c?c:function(){if(a.apply)a.apply(this,arguments);},e);},CLASSES:{}});FB.provide('Type',{isType:function(a,b){while(a)if(a.constructor===b||a===b){return true;}else a=a._base;return false;}});FB.Class('Obj',null,FB.copy({setProperty:function(a,b){if(FB.JSON.stringify(b)!=FB.JSON.stringify(this[a])){this[a]=b;this.fire(a,b);}}},FB.EventProvider));FB.provide('String',{trim:function(a){return a.replace(/^\s*|\s*$/g,'');},format:function(a){if(!FB.String.format._formatRE)FB.String.format._formatRE=/(\{[^\}^\{]+\})/g;var b=arguments;return a.replace(FB.String.format._formatRE,function(e,d){var c=parseInt(d.substr(1),10),f=b[c+1];if(f===null||f===undefined)return'';return f.toString();});},quote:function(c){var a=/["\\\x00-\x1f\x7f-\x9f]/g,b={'\b':'\\b','\t':'\\t','\n':'\\n','\f':'\\f','\r':'\\r','"':'\\"','\\':'\\\\'};return a.test(c)?'"'+c.replace(a,function(d){var e=b[d];if(e)return e;e=d.charCodeAt();return'\\u00'+Math.floor(e/16).toString(16)+(e%16).toString(16);})+'"':'"'+c+'"';}});FB.provide('Loader',{use:function(b,a){var c={comp:b,cb:a};if(FB.Loader._check(b)){a();return;}FB.Loader._reqs.push(c);FB.Loader._comps[b]=true;if(!FB.Loader._timer)FB.Loader._timer=setTimeout(function(){FB.Loader._timer=0;FB.Dom.addScript(FB.Loader._resourceUrl(FB.Array.keys(FB.Loader._comps),FB.Array.keys(FB.Component.loaded)));},0);},_resourceUrl:function(b,a){return FB._domain.cdn+'dynamic_loader/'+'?comps='+b.join(',')+'&exclude='+a.join(',');},_onCompLoaded:function(){var a=[];FB.Array.forEach(FB.Loader._reqs,function(c,b){if(c&&FB.Loader._check(c.comp))a.push([b,c.cb]);});FB.Array.forEach(a,function(b){delete FB.Loader._reqs[b[0]];});FB.Array.forEach(a,function(b){b[1]();});},_check:function(a){return FB.Component.loaded[a];},_reqs:[],_comps:{}});FB.subclass('Waitable','Obj',function(){},{set:function(a){this.setProperty('value',a);},error:function(a){this.fire("error",a);},wait:function(a,b){if(b)this.subscribe('error',b);this.monitor('value',this.bind(function(){if(this.value!==undefined){a(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(a){var b=FB.String.format.apply(null,a),d=(/^select (.*?) from (\w+)\s+where (.*)$/i).exec(b);this.fields=this._toFields(d[1]);this.table=d[2];this.where=this._parseWhere(d[3]);for(var c=1;c<a.length;c++)if(FB.Type.isType(a[c],FB.Data.Query))a[c].hasDependency=true;return this;},toFql:function(){var a='select '+this.fields.join(',')+' from '+this.table+' where ';switch(this.where.type){case'unknown':a+=this.where.value;break;case'index':a+=this.where.key+'='+this._encode(this.where.value);break;case'in':if(this.where.value.length==1){a+=this.where.key+'='+this._encode(this.where.value[0]);}else a+=this.where.key+' in ('+FB.Array.map(this.where.value,this._encode).join(',')+')';break;}return a;},_encode:function(a){return typeof(a)=='string'?FB.String.quote(a):a;},toString:function(){return'#'+this.name;},_toFields:function(a){return FB.Array.map(a.split(','),FB.String.trim);},_parseWhere:function(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(c,a){var b=new FB.Data.Query().parse(arguments);FB.Data.queue.push(b);FB.Data._waitToProcess();return b;},waitOn:function(dependencies,callback){var result=new FB.Waitable(),c=dependencies.length;if(typeof(callback)=='string'){var s=callback;callback=function(args){return eval(s);};}FB.Array.forEach(dependencies,function(a){a.monitor('value',function(){var b=false;if(FB.Data._getValue(a)!==undefined){c--;b=true;}if(c===0){var c=callback(FB.Array.map(dependencies,FB.Data._getValue));result.set(c!==undefined?c:true);}return b;});});return result;},_getValue:function(a){return FB.Type.isType(a,FB.Waitable)?a.value:a;},_selectByIndex:function(a,d,b,e){var c=new FB.Data.Query();c.fields=a;c.table=d;c.where={type:'index',key:b,value:e};FB.Data.queue.push(c);FB.Data._waitToProcess();return c;},_waitToProcess:function(){if(FB.Data.timer<0)FB.Data.timer=setTimeout(FB.Data._process,10);},_process:function(){FB.Data.timer=-1;var c={},e=FB.Data.queue;FB.Data.queue=[];for(var a=0;a<e.length;a++){var b=e[a];if(b.where.type=='index'&&!b.hasDependency){FB.Data._mergeIndexQuery(b,c);}else c[b.name]=b;}var d={method:'fql.multiquery',queries:{}};FB.copy(d.queries,c,true,function(f){return f.toFql();});d.queries=FB.JSON.stringify(d.queries);FB.api(d,function(f){if(f.error_msg){FB.Array.forEach(c,function(g){g.error(Error(f.error_msg));});}else FB.Array.forEach(f,function(g){c[g.name].set(g.fql_result_set);});});},_mergeIndexQuery:function(a,d){var b=a.where.key,f=a.where.value;var e='index_'+a.table+'_'+b;var c=d[e];if(!c){c=d[e]=new FB.Data.Query();c.fields=[b];c.table=a.table;c.where={type:'in',key:b,value:[]};}FB.Array.merge(c.fields,a.fields);FB.Array.merge(c.where.value,[f]);c.wait(function(g){a.set(FB.Array.filter(g,function(h){return h[b]==f;}));});},timer:-1,queue:[]});FB.Class('XFBML.Element',function(a){this.dom=a;},FB.copy({getAttribute:function(b,a,c){var d=this.dom.getAttribute(b);return d?(c?c(d):d):a;},_getBoolAttribute:function(b,a){return this.getAttribute(b,a,function(c){c=c.toLowerCase();return c=='true'||c=='1'||c=='yes';});},_getPxAttribute:function(b,a){return this.getAttribute(b,a,function(c){var d=parseInt(c.replace('px',''),10);if(isNaN(d)){return a;}else return d;});},_getAttributeFromList:function(c,b,a){return this.getAttribute(c,b,function(d){var d=d.toLowerCase();if(FB.Array.indexOf(a,d)>-1){return d;}else return b;});},isValid:function(){for(var a=this.dom;a;a=a.parentNode)if(a==document.body)return true;},clear:function(){this.dom.innerHTML='';}},FB.EventProvider));FB.provide('XFBML',{_renderTimeout:30000,set:function(b,c,a){b.innerHTML=c;FB.XFBML.parse(b,a);},parse:function(c,a){c=c||document.body;var b=1,d=function(){b--;if(b===0){a&&a();FB.Event.fire('xfbml.render');}};FB.Array.forEach(FB.XFBML._tagInfos,function(g){if(!g.xmlns)g.xmlns='fb';var h=FB.XFBML._getDomElements(c,g.xmlns,g.localName);for(var f=0;f<h.length;f++){b++;FB.XFBML._processElement(h[f],g,d);}});var e=window.setTimeout(function(){if(b>0)FB.log(b+' XFBML tags failed to render in '+FB.XFBML._renderTimeout+'ms.');},FB.XFBML._renderTimeout);d();},registerTag:function(a){FB.XFBML._tagInfos.push(a);},_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);element=dom._element=new fn(dom);element.subscribe('render',cb);element.process();};if(FB.CLASSES[tagInfo.className.substr(3)]){processor();}else{var component=tagInfo.className.toLowerCase();FB.Loader.use(component,processor);}}},_getDomElements:function(b,e,d){var c=e+':'+d;switch(FB.Dom.getBrowserType()){case'mozilla':return b.getElementsByTagNameNS(document.body.namespaceURI,c);case'ie':var a=document.namespaces;if(a&&a[e]){return b.getElementsByTagName(d);}else return b.getElementsByTagName(c);default:return b.getElementsByTagName(c);}},_tagInfos:[{localName:'activity',className:'FB.XFBML.Activity'},{localName:'comments',className:'FB.XFBML.Comments'},{localName:'fan',className:'FB.XFBML.Fan'},{localName:'like',className:'FB.XFBML.Like'},{localName:'live-stream',className:'FB.XFBML.LiveStream'},{localName:'login-button',className:'FB.XFBML.LoginButton'},{localName:'name',className:'FB.XFBML.Name'},{localName:'profile-pic',className:'FB.XFBML.ProfilePic'},{localName:'recommendations',className:'FB.XFBML.Recommendations'},{localName:'serverfbml',className:'FB.XFBML.ServerFbml'},{localName:'share-button',className:'FB.XFBML.ShareButton'}]});if(document.namespaces&&!document.namespaces.item.fb)document.namespaces.add('fb');FB.provide('Helper',{isUser:function(a){return a<2.2e+09||(a>=1e+14&&a<=100099999989999);},getLoggedInUser:function(){return FB._session?FB._session.uid:null;},upperCaseFirstChar:function(a){if(a.length>0){return a.substr(0,1).toUpperCase()+a.substr(1);}else return a;},getProfileLink:function(c,b,a){a=a||(c?FB._domain.www+'profile.php?id='+c.uid:null);if(a)b='<a class="FB_Link" href="'+a+'">'+b+'</a>';return b;}});FB.subclass('XFBML.IframeWidget','XFBML.Element',null,{_showLoader:true,_notifyOnAuthChange:false,_allowReProcess:false,_visibleAfter:'load',getIframeUrl:function(){throw new Error('Inheriting class needs to implement getIframeUrl().');},setupAndValidate:function(){return true;},getSize:function(){},getIframeName:function(){},getChannelUrl:function(){if(!this._channelUrl){var a=this;this._channelUrl=FB.XD.handler(function(b){a.fire('xd.'+b.type,b);},'parent.parent',true);}return this._channelUrl;},getIframeNode:function(){return this.dom.getElementsByTagName('iframe')[0];},process:function(){if(!this._allowReProcess&&this._done)return;this._done=true;if(!this.setupAndValidate()){this.fire('render');return;}this._oneTimeSetup();if(this._showLoader)this._addLoader();FB.Dom.addCss(this.dom,'FB_HideIframes');var a=this.getSize()||{};var b=this.getIframeUrl();if(b.indexOf('http')===0&&b.indexOf('?')>-1)b+='&sdk=joey';FB.Content.insertIframe({url:b,root:this.dom.appendChild(document.createElement('span')),name:this.getIframeName(),height:a.height,width:a.width,onload:FB.bind(this.fire,this,'iframe.onload')});},_oneTimeSetup:function(){if(this._oneTimeSetupDone)return;this._oneTimeSetupDone=true;this.subscribe('xd.resize',FB.bind(this._handleResizeMsg,this));if(FB.getLoginStatus)this.subscribe('xd.refreshLoginStatus',FB.getLoginStatus);if(this._notifyOnAuthChange)this._setupAuthNotify();if(this._visibleAfter=='load')this.subscribe('iframe.onload',FB.bind(this._makeVisible,this));},_makeVisible:function(){this._removeLoader();FB.Dom.removeCss(this.dom,'FB_HideIframes');this.fire('render');},_setupAuthNotify:function(){FB.Event.subscribe('auth.statusChange',FB.bind(function(a){if(!this.isValid())return;this.send({type:'statusChange',status:a.status});},this));},_handleResizeMsg:function(b){if(!this.isValid())return;var a=this.getIframeNode();a.style.height=b.height+'px';if(b.width)a.style.width=b.width+'px';a.style.border='none';this._makeVisible();},_addLoader:function(){if(!this._loaderDiv){FB.Dom.addCss(this.dom,'FB_IframeLoader');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_IframeLoader');this.dom.removeChild(this._loaderDiv);this._loaderDiv=null;}}});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 d=this._getAttributeFromList('size','medium',this._allowedSizes),a='',b='';if(d=='icon'){a='fb_button_simple';}else{var c=FB._localeIsRtl?'_rtl':'';b=this.getButtonMarkup();a='fb_button'+c+' fb_button_'+d+c;}this.dom.innerHTML=('<a class="'+a+'">'+'<span class="fb_button_text">'+b+'</span>'+'</a>');if(!this._onClickSetup){this.dom.firstChild.onclick=FB.bind(this.onClick,this);this._onClickSetup=true;}this.fire('render');}});FB.subclass('XFBML.EdgeWidget','XFBML.IframeWidget',null,{_visibleAfter:'load',setupAndValidate:function(){this._attr={bgcolor:this.getAttribute('bgcolor','white'),debug:this._getBoolAttribute('debug'),external_url:this.getAttribute('permalink',window.location.href),node_type:this.getAttribute('node_type','page'),page_url:window.location.href};return true;},getSize:function(){return{width:580,height:100};}});FB.subclass('XFBML.Activity','XFBML.IframeWidget',null,{_visibleAfter:'load',setupAndValidate:function(){this._attr={api_key:FB._apiKey,header:this._getBoolAttribute('header'),width:this._getPxAttribute('width',300),height:this._getPxAttribute('height',300),site:this.getAttribute('site',location.hostname)};return true;},getSize:function(){return{width:this._attr.width,height:this._attr.height};},getIframeUrl:function(){return FB._domain.www+'widgets/activity.php?'+FB.QS.encode(this._attr);}});FB.subclass('XFBML.Comments','XFBML.IframeWidget',null,{_visibleAfter:'resize',_notifyOnAuthChange:true,setupAndValidate:function(){this.subscribe('xd.addComment',FB.bind(this._handleCommentMsg,this));var a={api_key:FB._apiKey,channel_url:this.getChannelUrl(),css:this.getAttribute('css'),notify:this.getAttribute('notify'),numposts:this.getAttribute('numposts',10),quiet:this.getAttribute('quiet'),reverse:this.getAttribute('reverse'),simple:this.getAttribute('simple'),title:this.getAttribute('title',document.title),url:this.getAttribute('url',document.URL),width:this._getPxAttribute('width',550),xid:this.getAttribute('xid')};if(!a.xid){var b=document.URL.indexOf('#');if(b>0){a.xid=encodeURIComponent(document.URL.substring(0,b));}else a.xid=encodeURIComponent(document.URL);}this._attr=a;return true;},getSize:function(){return{width:this._attr.width,height:200};},getIframeUrl:function(){return FB._domain.www+'comments.php?'+FB.QS.encode(this._attr);},_handleCommentMsg:function(a){if(!this.isValid())return;FB.Event.fire('comments.add',{post:a.post,user:a.user,widget:this});}});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.getAttribute('height'),id:this.getAttribute('profile_id'),logobar:this._getBoolAttribute('logobar'),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 a=this._attr.height;if(!a)if((!this._attr.connections||this._attr.connections==='0')&&!this._attr.stream){a=65;}else if(!this._attr.connections||this._attr.connections==='0'){a=375;}else if(!this._attr.stream){a=250;}else a=550;if(this._attr.logobar)a+=25;this._attr.height=a;return true;},getSize:function(){return{width:this._attr.width,height:this._attr.height};},getIframeUrl:function(){return FB._domain.www+'widgets/fan.php?'+FB.QS.encode(this._attr);}});FB.subclass('XFBML.Like','XFBML.EdgeWidget',null,{getIframeName:function(){return'fbLikeIFrame_'+FB.XFBML.Like._iframeIdCount++;},getIframeUrl:function(){return FB._domain.www+'widgets/like.php?'+FB.QS.encode(this._attr);}});FB.provide('XFBML.Like',{_iframeIdCount:0});FB.subclass('XFBML.LiveStream','XFBML.IframeWidget',null,{_visibleAfter:'load',setupAndValidate:function(){this._attr={api_key:FB._apiKey,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')};return true;},getSize:function(){return{width:this._attr.width,height:this._attr.height};},getIframeUrl:function(){var a=this._attr.redesigned?'live_feed.php':'livefeed.php';return FB._domain.www+'widgets/'+a+'?'+FB.QS.encode(this._attr);}});FB.subclass('XFBML.LoginButton','XFBML.ButtonElement',null,{setupAndValidate:function(){this.autologoutlink=this._getBoolAttribute('autologoutlink');this.onlogin=this.getAttribute('onlogin');this.length=this._getAttributeFromList('length','short',['long','short']);if(this.autologoutlink)FB.Event.subscribe('auth.statusChange',FB.bind(this.process,this));return true;},getButtonMarkup:function(){var a=this.getOriginalHTML();if(a===''){if(FB.getSession()&&this.autologoutlink){return'Facebook Logout';}else return this.length=='short'?'Connect':'Connect with Facebook';}else return a;},onClick:function(){if(!FB.getSession()||!this.autologoutlink){FB.login(FB.bind(this._authCallback,this));}else FB.logout(FB.bind(this._authCallback,this));},_authCallback:function(response){if(this.onlogin)if(this.onlogin.call){this.onlogin(response);}else eval(this.onlogin);}});FB.subclass('XFBML.Name','XFBML.Element',null,{process:function(){FB.copy(this,{_uid:this.getAttribute('uid'),_firstnameonly:this._getBoolAttribute('firstnameonly'),_lastnameonly:this._getBoolAttribute('lastnameonly'),_possessive:this._getBoolAttribute('possessive'),_reflexive:this._getBoolAttribute('reflexive'),_objective:this._getBoolAttribute('objective'),_linked:this._getBoolAttribute('linked',true),_subjectId:this.getAttribute('subjectid')});if(!this._uid){FB.log('"uid" is a required attribute for <fb:name>');this.fire('render');return;}var b=[];if(this._firstnameonly){b.push('first_name');}else if(this._lastnameonly){b.push('last_name');}else b.push('name');if(this._subjectId){b.push('sex');if(this._subjectId==FB.Helper.getLoggedInUser())this._reflexive=true;}var a;FB.Event.monitor('auth.statusChange',this.bind(function(){if(!this.isValid()){this.fire('render');return true;}if(FB._userStatus){if(this._uid=='loggedinuser')this._uid=FB.Helper.getLoggedInUser();if(FB.Helper.isUser(this._uid)){a=FB.Data._selectByIndex(b,'user','uid',this._uid);}else a=FB.Data._selectByIndex(['name','id'],'profile','id',this._uid);a.wait(this.bind(function(c){if(this._uid)if(this._subjectId==this._uid){this._renderPronoun(c[0]);}else this._renderOther(c[0]);this.fire('render');}));}return false;}));},_renderPronoun:function(b){var c='',a=this._objective;if(this._subjectId){a=true;if(this._subjectId===this._uid)this._reflexive=true;}if(this._uid==FB.Connect.get_loggedInUser()&&this._getBoolAttribute('useyou',true)){if(this._possessive){if(this._reflexive){c='your own';}else c='your';}else if(this._reflexive){c='yourself';}else c='you';}else switch(b.sex){case'male':if(this._possessive){c=this._reflexive?'his own':'his';}else if(this._reflexive){c='himself';}else if(a){c='him';}else c='he';break;case'female':if(this._possessive){c=this._reflexive?'her own':'her';}else if(this._reflexive){c='herself';}else if(a){c='her';}else c='she';break;default:if(this._getBoolAttribute('usethey',true)){if(this._possessive){if(this._reflexive){c='their own';}else c='their';}else if(this._reflexive){c='themselves';}else if(a){c='them';}else c='they';}else if(this._possessive){if(this._reflexive){c='his/her own';}else c='his/her';}else if(this._reflexive){c='himself/herself';}else if(a){c='him/her';}else c='he/she';break;}if(this._getBoolAttribute('capitalize',false))c=FB.Helper.upperCaseFirstChar(c);this.dom.innerHTML=c;},_renderOther:function(c){if(!c)return;var b='',a='';if(this._uid==FB.Helper.getLoggedInUser()&&this._getBoolAttribute('useyou',true)){if(this._reflexive){if(this._possessive){b='your own';}else b='yourself';}else if(this._possessive){b='your';}else b='you';}else{if(null===c.first_name)c.first_name='';if(null===c.last_name)c.last_name='';if(this._firstnameonly){b=c.first_name;}else if(this._lastnameonly)b=c.last_name;if(!b)b=c.name;if(b!==''&&this._possessive)b+='\'s';}if(!b)b=this.getAttribute('ifcantsee','Facebook User');if(b){if(this._getBoolAttribute('capitalize',false))b=FB.Helper.upperCaseFirstChar(b);if(this._linked){a=FB.Helper.getProfileLink(c,b,this.getAttribute('href',null));}else a=b;}this.dom.innerHTML=a;}});FB.subclass('XFBML.ProfilePic','XFBML.Element',null,{process:function(){var d=this.getAttribute('size','thumb'),b=FB.XFBML.ProfilePic._sizeToPicFieldMap[d],g=this._getPxAttribute('width'),a=this._getPxAttribute('height'),e=this.dom.style,f=this.getAttribute('uid');if(this._getBoolAttribute('facebook-logo'))b+='_with_logo';if(g){g=g+'px';e.width=g;}if(a){a=a+'px';e.height=a;}var c=this.bind(function(j){var l=j?j[0]:null,i=l?l[b]:null;if(!i)i=FB._domain.cdn+'pics/'+FB.XFBML.ProfilePic._defPicMap[b];var k=((g?'width:'+g+';':'')+(a?'height:'+g+';':'')),h=FB.String.format('<img src="{0}" alt="{1}" title="{1}" style="{2}" class="{3}" />',i,l?l.name:'',k,this.dom.className);if(this._getBoolAttribute('linked',true))h=FB.Helper.getProfileLink(l,h,this.getAttribute('href',null));this.dom.innerHTML=h;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')f=FB.Helper.getLoggedInUser();if(FB._userStatus&&f){FB.Data._selectByIndex(['name',b],FB.Helper.isUser(f)?'user':'profile',FB.Helper.isUser(f)?'uid':'id',f).wait(c);}else c();}));}});FB.provide('XFBML.ProfilePic',{_defPicMap:{pic:'s_silhouette.jpg',pic_big:'d_silhouette.gif',pic_big_with_logo:'d_silhouette_logo.gif',pic_small:'t_silhouette.jpg',pic_small_with_logo:'t_silhouette_logo.gif',pic_square:'q_silhouette.gif',pic_square_with_logo:'q_silhouette_logo.gif',pic_with_logo:'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',setupAndValidate:function(){this._attr={api_key:FB._apiKey,header:this._getBoolAttribute('header'),width:this._getPxAttribute('width',300),height:this._getPxAttribute('height',300),site:this.getAttribute('site',location.hostname)};return true;},getSize:function(){return{width:this._attr.width,height:this._attr.height};},getIframeUrl:function(){return FB._domain.www+'widgets/recommendations.php?'+FB.QS.encode(this._attr);}});FB.subclass('XFBML.ServerFbml','XFBML.IframeWidget',null,{_visibleAfter:'resize',setupAndValidate:function(){this._attr={api_key:FB._apiKey,channel_url:this.getChannelUrl(),fbml:this.getAttribute('fbml'),height:this._getPxAttribute('iframeHeight'),width:this._getPxAttribute('iframeWidth')};if(!this._attr.fbml){var a=this.dom.getElementsByTagName('script')[0];if(a&&a.type==='text/fbml')this._attr.fbml=a.innerHTML;}if(!this._attr.fbml){FB.log('<fb:serverfbml> requires the "fbml" attribute.');return false;}var b=FB._domain.www+'render_fbml.php?'+FB.QS.encode(this._attr);if(b.length>2000){this._url='about:blank';this.subscribe('iframe.onload',FB.bind(this._postRequest,this));}else this._url=b;return true;},getSize:function(){return{width:this._attr.width,height:this._attr.height};},getIframeUrl:function(){return this._url;},_postRequest:function(){this._attr.sdk='joey';FB.Content.postTarget({url:FB._domain.www+'render_fbml.php',target:this.getIframeNode().name,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');this._renderButton(true);},_renderButton:function(f){if(!this.isValid()){this.fire('render');return;}var b='',c='',d='',a='',e='Share',g='';switch(this._type){case'icon':case'icon_link':a='fb_button_simple';b=('<span class="fb_button_text">'+(this._type=='icon_link'?e:' ')+'</span>');f=false;break;case'link':b='Share on Facebook';f=false;break;case'button':b='<span class="fb_button_text">'+e+'</span>';a='fb_button fb_button_small';break;case'button_count':b='<span class="fb_button_text">'+e+'</span>';c=('<span class="fb_share_count_nub_right"> </span>'+'<span class="fb_share_count fb_share_count_right">'+this._getCounterMarkup()+'</span>');a='fb_button fb_button_small';break;default:b='<span class="fb_button_text">'+e+'</span>';d=('<span class="fb_share_count_nub_top"> </span>'+'<span class="fb_share_count fb_share_count_top">'+this._getCounterMarkup()+'</span>');a='fb_button fb_button_small';g='fb_share_count_wrapper';}this.dom.innerHTML=FB.String.format('<span class="{0}">{4}<a href="{1}" class="{2}" '+'onclick=\'FB.ui({6});return false;\''+'target="_blank">{3}</a>{5}</span>',g,this._href,a,b,d,c,FB.JSON.stringify({method:'stream.share',u:this._href}));if(!f)this.fire('render');},_getCounterMarkup:function(){if(!this._count)this._count=FB.Data._selectByIndex(['share_count'],'link_stat','url',this._href);if(this._count.value!==undefined){if(this._count.value.length>0){var a=this._count.value[0].share_count;if(a>3){var b=a>=1e+07?Math.round(a/1e+06)+'M':(a>=10000?Math.round(a/1000)+'K':a);return('<span class="fb_share_count_inner">'+b+'</span>');}}}else this._count.wait(FB.bind(this._renderButton,this,false));return'';}});FB.Dom.addCssRules("\/**\n * Copyright Facebook Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\n * Styles for the client side Dialogs.\n *\n * @author naitik\n * @provides fb.css.dialog\n * @requires fb.css.base fb.dom\n *\/\n\n.fb_dialog {\n  position: absolute;\n  top: -10000px;\n  z-index: 10001;\n}\n.fb_dialog_advanced {\n  background: rgba(82, 82, 82, 0.7);\n  padding: 10px;\n  -moz-border-radius: 8px;\n  -webkit-border-radius: 8px;\n}\n.fb_dialog_content {\n  background: #ffffff;\n  color: #333333;\n}\n.fb_dialog_close_icon {\n  background: url(http:\/\/static.ak.fbcdn.net\/images\/fbconnect\/connect_icon_remove.gif) no-repeat scroll 3px 0 transparent;\n  cursor: pointer;\n  display: block;\n  height: 16px;\n  position: absolute;\n  right: 17px;\n  top: 20px;\n  width: 14px;\n  \/* this rule applies to all IE browsers only because using the \\9 hack *\/\n  top: 10px\\9;\n  right: 7px\\9;\n}\n.fb_dialog_close_icon:hover {\n  background: url(http:\/\/static.ak.fbcdn.net\/images\/fbconnect\/connect_icon_remove.gif) no-repeat scroll -10px 0 transparent;\n}\n.fb_dialog_loader {\n  background-color: #f2f2f2;\n  border: 1px solid #606060;\n  font-size: 24px;\n  padding: 20px;\n}\n#fb_dialog_loader_close {\n  background: url(http:\/\/static.ak.fbcdn.net\/images\/sidebar\/close-off.gif) no-repeat scroll left top transparent;\n  cursor: pointer;\n  display: -moz-inline-block;\n  display: inline-block;\n  height: 9px;\n  margin-left: 20px;\n  position: relative;\n  vertical-align: middle;\n  width: 9px;\n}\n#fb_dialog_loader_close:hover {\n  background-image: url(http:\/\/static.ak.fbcdn.net\/images\/gigaboxx\/clear_search.png);\n}\n\n\n\/**\n * Rounded corners and borders with alpha transparency for older browsers.\n *\/\n.fb_dialog_top_left,\n.fb_dialog_top_right,\n.fb_dialog_bottom_left,\n.fb_dialog_bottom_right {\n  height: 10px;\n  width: 10px;\n  overflow: hidden;\n  position: absolute;\n}\n\/* @noflip *\/\n.fb_dialog_top_left {\n  background: url(http:\/\/static.ak.fbcdn.net\/imgs\/pop-dialog-sprite.png) no-repeat 0 0;\n  left: -10px;\n  top: -10px;\n}\n\/* @noflip *\/\n.fb_dialog_top_right {\n  background: url(http:\/\/static.ak.fbcdn.net\/imgs\/pop-dialog-sprite.png) no-repeat 0 -10px;\n  right: -10px;\n  top: -10px;\n}\n\/* @noflip *\/\n.fb_dialog_bottom_left {\n  background: url(http:\/\/static.ak.fbcdn.net\/imgs\/pop-dialog-sprite.png) no-repeat 0 -20px;\n  bottom: -10px;\n  left: -10px;\n}\n\/* @noflip *\/\n.fb_dialog_bottom_right {\n  background: url(http:\/\/static.ak.fbcdn.net\/imgs\/pop-dialog-sprite.png) no-repeat 0 -30px;\n  right: -10px;\n  bottom: -10px;\n}\n.fb_dialog_vert_left,\n.fb_dialog_vert_right,\n.fb_dialog_horiz_top,\n.fb_dialog_horiz_bottom {\n  position: absolute;\n  background: #525252;\n  filter: alpha(opacity=70);\n  opacity: .7;\n}\n.fb_dialog_vert_left,\n.fb_dialog_vert_right {\n  width: 10px;\n  height: 100%;\n}\n.fb_dialog_vert_left {\n  margin-left: -10px;\n}\n.fb_dialog_vert_right {\n  right: 0;\n  margin-right: -10px;\n}\n.fb_dialog_horiz_top,\n.fb_dialog_horiz_bottom {\n  width: 100%;\n  height: 10px;\n}\n.fb_dialog_horiz_top {\n  margin-top: -10px;\n}\n.fb_dialog_horiz_bottom {\n  bottom: 0;\n  margin-bottom: -10px;\n}\n\n\/* dialogs used for iframe need this to prevent potential whitespace from\n * showing because iframes are inline elements and not block level elements. *\/\n.fb_dialog_iframe {\n  line-height: 0;\n}\n\/**\n * Copyright Facebook Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * @author blaise\n * @provides fb.css.button\n * @layer xfbml\n *\/\n\n\/**\n * simple buttons are very completely separate from the pretty buttons below.\n *\/\n.fb_button_simple,\n.fb_button_simple_rtl {\n  background-image: url(http:\/\/static.ak.fbcdn.net\/images\/connect_favicon.png);\n  background-repeat: no-repeat;\n  cursor: pointer;\n  outline: none;\n  text-decoration: none;\n}\n.fb_button_simple_rtl {\n background-position: right 0px;\n}\n\n.fb_button_simple .fb_button_text {\n  margin: 0 0 0px 20px;\n  padding-bottom: 1px;\n}\n\n.fb_button_simple_rtl .fb_button_text {\n  margin: 0px 10px 0px 0px;\n}\n\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  {\n  text-decoration: underline;\n}\n\n\n\/**\n * these are the new style pretty buttons with various size options\n *\/\n.fb_button,\n.fb_button_rtl {\n  background: #29447e url(http:\/\/static.ak.fbcdn.net\/images\/connect_sprite.png);\n  background-repeat: no-repeat;\n  cursor: pointer;\n  display: inline-block;\n  padding: 0px 0px 0px 1px;\n  text-decoration: none;\n  outline: none;\n}\n\n.fb_button .fb_button_text,\n.fb_button_rtl .fb_button_text {\n  background: #5f78ab url(http:\/\/static.ak.fbcdn.net\/images\/connect_sprite.png);\n  border-top: solid 1px #879ac0;\n  border-bottom: solid 1px #1a356e;\n  color: white;\n  display: block;\n  font-family: \"lucida grande\",tahoma,verdana,arial,sans-serif;\n  font-weight: bold;\n  padding: 2px 6px 3px 6px;\n  margin: 1px 1px 0px 21px;\n  text-shadow: none;\n}\n\n\na.fb_button,\na.fb_button_rtl,\n.fb_button,\n.fb_button_rtl {\n  text-decoration: none;\n}\n\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 {\n  border-bottom: solid 1px #29447e;\n  border-top: solid 1px #45619d;\n  background: #4f6aa3;\n  text-shadow: none;\n}\n\n\n.fb_button_xlarge,\n.fb_button_xlarge_rtl {\n  background-position: left -60px;\n  font-size: 24px;\n  line-height: 30px;\n}\n.fb_button_xlarge .fb_button_text {\n  padding: 3px 8px 3px 12px;\n  margin-left: 38px;\n}\na.fb_button_xlarge:active {\n  background-position: left -99px;\n}\n.fb_button_xlarge_rtl {\n  background-position: right -268px;\n}\n.fb_button_xlarge_rtl .fb_button_text {\n  padding: 3px 8px 3px 12px;\n  margin-right: 39px;\n}\na.fb_button_xlarge_rtl:active {\n  background-position: right -307px;\n}\n\n.fb_button_large,\n.fb_button_large_rtl {\n  background-position: left -138px;\n  font-size: 13px;\n  line-height: 16px;\n}\n.fb_button_large .fb_button_text {\n  margin-left: 24px;\n  padding: 2px 6px 4px 6px;\n}\na.fb_button_large:active {\n  background-position: left -163px;\n}\n.fb_button_large_rtl {\n  background-position: right -346px;\n}\n.fb_button_large_rtl .fb_button_text {\n  margin-right: 25px;\n}\na.fb_button_large_rtl:active {\n  background-position: right -371px;\n}\n\n.fb_button_medium,\n.fb_button_medium_rtl  {\n  background-position: left -188px;\n  font-size: 11px;\n  line-height: 14px;\n}\na.fb_button_medium:active  {\n  background-position: left -210px;\n}\n\n.fb_button_medium_rtl  {\n  background-position: right -396px;\n}\n.fb_button_text_rtl,\n.fb_button_medium_rtl .fb_button_text {\n  padding: 2px 6px 3px 6px;\n  margin-right: 22px;\n}\na.fb_button_medium_rtl:active  {\n  background-position: right -418px;\n}\n\n.fb_button_small,\n.fb_button_small_rtl {\n  background-position: left -232px;\n  font-size: 10px;\n  line-height: 10px;\n}\n.fb_button_small .fb_button_text {\n  padding: 2px 6px 3px;\n  margin-left: 17px;\n}\na.fb_button_small:active,\n.fb_button_small:active {\n  background-position: left -250px;\n}\n\n.fb_button_small_rtl {\n  background-position: right -440px;\n}\n.fb_button_small_rtl .fb_button_text {\n  padding: 2px 6px;\n  margin-right: 18px;\n}\na.fb_button_small_rtl:active {\n  background-position: right -458px;\n}\n\/**\n * Copyright Facebook Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * @author arunv\n * @provides fb.css.sharebutton\n * @layer xfbml\n * @requires fb.css.button\n *\/\n.fb_share_count_wrapper {\n  position: relative;\n  float: left;\n}\n\n.fb_share_count {\n  background: #b0b9ec none repeat scroll 0 0;\n  color: #333333;\n  font-family: \"lucida grande\", tahoma, verdana, arial, sans-serif;\n  text-align: center;\n}\n\n.fb_share_count_inner {\n  background: #e8ebf2;\n  display: block;\n}\n\n.fb_share_count_right {\n  margin-left: -1px;\n  display: inline-block;\n}\n\n.fb_share_count_right .fb_share_count_inner {\n  border-top: solid 1px #e8ebf2;\n  border-bottom: solid 1px #b0b9ec;\n  margin: 1px 1px 0px 1px;\n  font-size: 10px;\n  line-height: 10px;\n  padding: 2px 6px 3px;\n  font-weight: bold;\n}\n\n.fb_share_count_top {\n  display: block;\n  letter-spacing: -1px;\n  line-height: 34px;\n  margin-bottom: 7px;\n  font-size: 22px;\n  border: solid 1px #b0b9ec;\n}\n\n.fb_share_count_nub_top {\n  border: none;\n  display: block;\n  position: absolute;\n  left: 7px;\n  top: 35px;\n  margin: 0;\n  padding: 0;\n  width: 6px;\n  height: 7px;\n  background-repeat: no-repeat;\n  background-image: url(http:\/\/static.ak.fbcdn.net\/images\/sharepro\/sp_h_nub.png);\n}\n\n.fb_share_count_nub_right {\n  border: none;\n  display: inline-block;\n  padding: 0;\n  width: 5px;\n  height: 10px;\n  background-repeat: no-repeat;\n  background-image: url(http:\/\/static.ak.fbcdn.net\/images\/sharepro\/sp_v_nub.png);\n  vertical-align: top;\n  background-position:right 5px;\n  z-index: 10;\n  left: 2px;\n  margin: 0px 2px 0px 0px;\n  position: relative;\n}\n\n.fb_share_no_count {\n  display: none;\n}\n\n.fb_share_size_Small .fb_share_count_right .fb_share_count_inner {\n  font-size: 10px;\n}\n\n.fb_share_size_Medium .fb_share_count_right .fb_share_count_inner {\n  font-size: 11px;\n  padding: 2px 6px 3px;\n  letter-spacing: -1px;\n  line-height: 14px;\n}\n\n.fb_share_size_Large .fb_share_count_right .fb_share_count_inner {\n  font-size: 13px;\n  line-height: 16px;\n  padding: 2px 6px 4px;\n  font-weight: normal;\n  letter-spacing: -1px;\n}\n\/**\n * Copyright Facebook Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * @author naitik\n * @provides fb.css.base\n *\/\n\n.fb_hidden {\n  position: absolute;\n  top: -10000px;\n  z-index: 10001;\n}\n\n.fb_reset {\n  background: none;\n  border-spacing: 0;\n  border: 0px;\n  color: #000;\n  cursor: auto;\n  direction: ltr;\n  font-family: \"lucida grande\", tahoma, verdana, arial, sans-serif;\n  font-size: 11px;\n  font-style: normal;\n  font-variant: normal;\n  font-weight: normal;\n  letter-spacing: normal;\n  line-height: 1;\n  margin: 0;\n  overflow: visible;\n  padding: 0;\n  text-align: left;\n  text-decoration: none;\n  text-indent: 0;\n  text-shadow: none;\n  text-transform: none;\n  visibility: visible;\n  white-space: normal;\n  word-spacing: normal;\n}\n\/**\n * Copyright Facebook Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * @author naitik\n * @provides fb.css.iframewidget\n * @layer xfbml\n *\/\n.FB_HideIframes iframe {\n  position: relative;\n  left: -10000px;\n}\n.FB_IframeLoader {\n  position: relative;\n  display: inline-block;\n}\n.FB_IframeLoader iframe {\n  min-height: 200px;\n  z-index: 2;\n}\n.FB_IframeLoader .FB_Loader {\n  background: url(http:\/\/static.ak.fbcdn.net\/images\/loaders\/indicator_blue_large.gif) no-repeat;\n  height: 32px;\n  width: 32px;\n  margin-left: -16px;\n  position: absolute;\n  left: 50%;\n  z-index: 4;\n}\n","pkg");

