-
Notifications
You must be signed in to change notification settings - Fork 4
/
fbjqry.min.js
118 lines (118 loc) · 58.5 KB
/
fbjqry.min.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
var FBjqRY=function(E,z){return new FBjqRY.prototype.init(E,z)};
(function(){function E(a,b,c){var d=b==="width"?oa:pa,e=b==="width"?a.getOffsetWidth():a.getOffsetHeight();if(c==="border")return e;FBjqRY.each(d,function(){c||(e-=parseFloat(FBjqRY.curCSS(a,"padding"+this,true))||0);if(c==="margin")e+=parseFloat(FBjqRY.curCSS(a,"margin"+this,true))||0;else e-=parseFloat(FBjqRY.curCSS(a,"border"+this+"Width",true))||0});return e}function z(){return false}function K(){return true}function X(a,b,c){c[0].type=a;return FBjqRY.event.handle.apply(b,c)}function qa(a){var b,
c,d=[],e=[],f,g,h,i,l,m,r,v;g=FBjqRY.data(this,"events");if(!(a.liveFired===this||!g||!g.live||a.button&&a.type==="click")){if(a.namespace)v=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)");a.liveFired=this;var q=g.live.slice(0);for(i=0;i<q.length;i++){g=q[i];g.origType.replace(L,"")===a.type?e.push(g.selector):q.splice(i--,1)}f=FBjqRY(a.target).closest(e,a.currentTarget);l=0;for(m=f.length;l<m;l++){r=f[l];for(i=0;i<q.length;i++){g=q[i];if(r.selector===g.selector&&(!v||v.test(g.namespace))){h=
r.elem;e=null;if(g.preType==="mouseenter"||g.preType==="mouseleave"){a.type=g.preType;e=FBjqRY(a.relatedTarget).closest(g.selector)[0]}if(!e||!FBjqRY.fbjs.sameNode(h,e))d.push({elem:h,handleObj:g,level:r.level})}}}l=0;for(m=d.length;l<m;l++){f=d[l];if(c&&f.level>c)break;a.currentTarget=f.elem;a.data=f.handleObj.data;a.handleObj=f.handleObj;ret=f.handleObj.origHandler.apply(f.elem,arguments);if(ret===false||a.isPropagationStopped()){c=f.level;if(ret===false){b=false;break}}}return b}}function F(a,
b,c){return(c?"live.":"")+(a&&a!=="*"?a+".":"")+b.replace(ra,"`").replace(sa,"&")}function Y(a){if(typeof a==="string")return a.replace(Z,"%3D").replace(aa,"%26");else if(typeof a==="object")for(var b in a)return a[b].replace(Z,"%3D").replace(aa,"%26")}function M(a,b,c,d){if(FBjqRY.isArray(b))FBjqRY.each(b,function(e,f){c||/\[\]$/.test(a)?d(a,f):M(a+"["+(typeof f==="object"||FBjqRY.isArray(f)?e:"")+"]",f,c,d)});else!c&&b!=null&&typeof b==="object"?FBjqRY.each(b,function(e,f){M(a+"["+e+"]",f,c,d)}):
d(a,b)}function B(a,b){var c={};FBjqRY.each(ba.concat.apply([],ba.slice(0,b)),function(){c[this]=a});return c}var ta=/^[^<]*(<(.|\s)+>)[^>]*$|^#(\w+)$/,ca=/^\s+/,da=/\s+$/,ua=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,N={}.toString,G=[].slice;trim="".trim;FBjqRY.fn=FBjqRY.prototype={init:function(a,b){if(typeof a==="undefined"){this.context=document;this.length=0;return this}if(FBjqRY.isFunction(a))return this.ready(a);else if(a.jquery){var c=a.get(),d=c.length;this.nodes=typeof d==="number"?c:[c];this.length=
d;this.selector=a.selector;this.context=a.context;return this}else if(FBjqRY.fbjs.isNode(a)||FBjqRY.fbjs.isNode(a[0])){this.nodes=a.length?a:[a];this.length=this.nodes.length;this.context=a;return this}else if(typeof a!=="undefined")if((c=ta.exec(a))&&(c[1]||!b))if(c[1]){d=c[1];if(c=ua.exec(d)){d=document.createElement(c[1]);if(!d)return FBjqRY.error("init() failed to createElement('"+c[1]+"')");this.nodes=[d]}else this.nodes=FBjqRY.clean([d])}else{this.nodes=[];if(c=document.getElementById(c[3]))this.nodes[0]=
c}else this.nodes=FBjqRY.find(a,b,null);this.selector=a;this.context=b;this.length=this.nodes.length;return this},selector:"",jquery:"0.6.0",length:0,size:function(){return this.length},toArray:function(){return G.call(this.nodes,0)},get:function(a){return typeof a==="undefined"?G.call(this.nodes):this.nodes[a]},pushStack:function(a,b,c){a=FBjqRY(a);a.prevObject=this;a.context=this.context;if(b==="find"){b=this.selector;a.selector=b+(b?" ":"")+c}else if(b)a.selector=this.selector+"."+b+"("+c+")";
return a},each:function(a,b){FBjqRY.each(this.nodes,a,b);return this},ready:function(a){setTimeout(function(){a()});return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(G.apply(this.nodes,arguments),"slice",G.call(arguments).join(","))},map:function(a){return this.pushStack(FBjqRY.map(this.nodes,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||
FBjqRY([])},push:function(){var a=this.nodes;a.push.apply(a,arguments);this.length=a.length}};FBjqRY.fn.init.prototype=FBjqRY.fn;var va=1;FBjqRY.fbjs={getNodeId:function(a,b){if(a&&a.getId){var c=a.getId();if(!c&&!b){c="_FBjqRY_generated-"+va++;a.setId(c)}return c}},isNode:function(a){return a&&(a.__instance||a.__instance===0)},sameNode:function(a,b){if(a===b)return true;var c=FBjqRY.fbjs.getNodeId;return c(a)===c(b,true)}};FBjqRY.extend=FBjqRY.fn.extend=function(){var a=arguments[0]||{},b=1,c=arguments.length,
d=false,e;if(typeof a==="boolean"){d=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!FBjqRY.isFunction(a))a={};if(c==b){a=this;b--}for(var f=FBjqRY.fbjs.isNode;b<c;b++)if((e=arguments[b])!=null)for(var g in e){var h=a[g],i=e[g];if(a!==i)if(d&&i&&typeof i==="object"&&!f(i))a[g]=FBjqRY.extend(d,h||(i.length!=null?[]:{}),i);else if(typeof i!=="undefined")a[g]=i}return a};FBjqRY.extend({noConflict:function(){return FBjqRY},isReady:true,isFunction:function(a){return N.call(a)==="[object Function]"},
isArray:function(a){return N.call(a)==="[object Array]"},isString:function(a){return N.call(a)==="[object String]"},isEmptyObject:function(a){for(var b in a)return false;return true},error:function(){FBjqRY.log.apply(this,arguments);throw arguments.join("");},parseJSON:function(a){if(!FBjqRY.isString(a)||!a)return null;return/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,
""))?wa(a):FBjqRY.error("parseJSON() invalid JSON: ",a)},noop:function(){},nodeName:function(a,b){return a.getTagName&&a.getTagName().toUpperCase()===b.toUpperCase()},each:function(a,b,c){var d,e=a.length,f=e===undefined||FBjqRY.isFunction(a);if(c)if(f)for(d in a){if(b.apply(a[d],c)===false)break}else for(d=0;d<e;){if(b.apply(a[d++],c)===false)break}else if(f)for(d in a){if(b.call(a[d],d,a[d])===false)break}else{d=0;for(c=a[0];d<e&&b.call(c,d,c)!==false;c=a[++d]);}return a},trim:trim?function(a){return a==
null?"":trim.call(a.toString())}:function(a){return a==null?"":a.toString().replace(ca,"").replace(da,"")},makeArray:function(a,b){var c=b||[];if(a!=null)if(a.length==null||FBjqRY.isString(a)||FBjqRY.isFunction(a)||a.setInterval)c[0]=a;else{if(a.jquery)a=a.nodes;FBjqRY.merge(c,a)}return c},inArray:function(a,b){var c,d=FBjqRY.fbjs.isNode;if(d(a)){var e=FBjqRY.fbjs.sameNode;c=function(h){return d(h)&&e(a,h)}}else c=a.equals?function(h){return a.equals(h)}:function(h){return a===h};b=b.jquery?b.nodes:
b;for(var f=0,g=b.length;f<g;f++)if(c(b[f]))return f;return-1},merge:function(a,b){var c=a.length,d=0;if(typeof b.length==="number")for(var e=b.length;d<e;d++)a[c++]=b[d];else for(;typeof b[d]!=="undefined";)a[c++]=b[d++];a.length=c;return a},grep:function(a,b,c){for(var d=[],e=0,f=a.length;e<f;e++)!c!=!b(a[e],e)&&d.push(a[e]);return d},map:function(a,b,c){for(var d=[],e,f=0,g=a.length;f<g;f++){e=b(a[f],f,c);if(e!=null)d[d.length]=e}return d.concat.apply([],d)},guid:1,proxy:function(a,b,c){if(arguments.length===
2)if(typeof b==="string"){c=a;a=c[b];b=undefined}else if(b&&!FBjqRY.isFunction(b)){c=b;b=undefined}if(!b&&a)b=function(){return a.apply(c||this,arguments)};if(a)b.guid=a.guid=a.guid||b.guid||FBjqRY.guid++;return b},access:function(a,b,c,d,e,f){var g=a;if(a.jquery)a=a.nodes;var h=a.length;if(typeof b==="object"){f=FBjqRY.access;for(var i in b)f(a,i,b[i],d,e,c);return g}if(typeof c!=="undefined"){d=!f&&d&&FBjqRY.isFunction(c);for(i=0;i<h;i++)e(a[i],b,d?c.call(a[i],i,e(a[i],b)):c,f);return g}return h?
e(a[0],b):undefined},now:function(){return(new Date).getTime()},browser:{},unique:function(a){var b=[],c={},d,e,f,g;try{if(FBjqRY.fbjs.isNode(a[0])){var h=FBjqRY.fbjs.getNodeId;d=0;for(e=a.length;d<e;d++){f=a[d];g=h(f);if(!c[g]){c[g]=true;b.push(f)}}}else{d=0;for(e=a.length;d<e;d++){g=f=a[d];if(!c[g]){c[g]=true;b.push(f)}}}}catch(i){FBjqRY.log("unique() returning original array",i);b=a}return b}});if(!/\s/.test("\u00a0")){ca=/^[\s\xA0]+/;da=/[\s\xA0]+$/}FBjqRY.log=FBjqRY.noop;(function(){var a=document.createElement("div");
a.setStyle("display","none");a.setInnerXHTML("<div><table></table><a href='/a' style='color:red; float:left;'>a</a><input type='checkbox'/></div>");var b=a.getFirstChild().getElementsByTagName("*"),c=a.getElementsByTagName("a")[0];c.setStyle("opacity","0.55");if(!b||!b.length||!c)FBjqRY.support={};else{FBjqRY.support={leadingWhitespace:a.getFirstChild().getNodeType()===3,tbody:!a.getElementsByTagName("tbody").length,hrefNormalized:true,opacity:/^0.55$/.test(c.getStyle("opacity")),cssFloat:!!c.getStyle("cssFloat"),
checkOn:a.getElementsByTagName("input")[0].value==="on",optSelected:document.createElement("select").appendChild(document.createElement("option")).selected,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};b=function(d){a.addEventListener(d,function(){},false);return(d=a.listEventListeners(d))&&d.length===1};FBjqRY.support.submitBubbles=b("submit");FBjqRY.support.changeBubbles=b("change");root=script=a=b=c=null}})();var wa=function(){function a(e,f,g){return f?d[f]:String.fromCharCode(parseInt(g,
16))}var b=RegExp('(?:false|true|null|[\\{\\}\\[\\]]|(?:-?\\b(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\\b)|(?:"(?:[^\\0-\\x08\\x0a-\\x1f"\\\\]|\\\\(?:["/\\\\bfnrt]|u[0-9A-Fa-f]{4}))*"))',"g"),c=RegExp("\\\\(?:([^u])|u(.{4}))","g"),d={'"':'"',"/":"/","\\":"\\",b:"\u0008",f:"\u000c",n:"\n",r:"\r",t:"\t"};return function(e,f){var g=e.match(b),h,i=g[0];if("{"===i)h={};else if("["===i)h=[];else return FBjqRY.error("parseJSON() unsupported initial json token: '"+i+"'");for(var l,m=[h],r=1,v=g.length;r<
v;++r){i=g[r];var q;switch(i.charCodeAt(0)){case 34:i=i.substring(1,i.length-1);if(i.indexOf("\\")!==-1)i=i.replace(c,a);q=m[0];if(!l)if(q instanceof Array)l=q.length;else{l=i||"";break}q[l]=i;l=0;break;case 91:q=m[0];m.unshift(q[l||q.length]=[]);l=0;break;case 93:m.shift();break;case 102:q=m[0];q[l||q.length]=false;l=0;break;case 110:q=m[0];q[l||q.length]=null;l=0;break;case 116:q=m[0];q[l||q.length]=true;l=0;break;case 123:q=m[0];m.unshift(q[l||q.length]={});l=0;break;case 125:m.shift();break;default:q=
m[0];q[l||q.length]=+i;l=0;break}}if(m.length)return FBjqRY.error("parseJSON() could not fully process json object");if(f){var j=function(s,p){var t=s[p];if(t&&typeof t==="object"){var n=null;for(var w in t)if(t.hasOwnProperty(w)){var u=j(t,w);if(u!==0)t[w]=u;else{n||(n=[]);n.push(w)}}if(n)for(w=n.length;--w>=0;)delete t[n[w]]}return f.call(s,p,t)};h=j({"":h},"")}return h}}(),H="FBjqRY"+FBjqRY.now(),xa=0;FBjqRY.extend({cache:{},expando:H,noData:{embed:true,object:true,applet:true},data:function(a,
b,c){var d,e=FBjqRY.cache;if(FBjqRY.fbjs.isNode(a))d=FBjqRY.fbjs.getNodeId(a);else(d=a[H])||(d=a[H]=++xa);if(typeof b==="object")e[d]=FBjqRY.extend(true,{},b);else e[d]||(e[d]={});a=e[d];if(typeof c!=="undefined")a[b]=c;return typeof b==="string"?a[b]:a},removeData:function(a,b){var c,d=FBjqRY.cache,e=(c=FBjqRY.fbjs.isNode(a)?FBjqRY.fbjs.getNodeId(a,true):a[H])?d[c]:undefined;if(b){if(e){delete e[b];FBjqRY.isEmptyObject(e)&&FBjqRY.removeData(a)}}else c&&delete d[c]},queue:function(a,b,c){if(a){b=
(b||"fx")+"queue";var d=FBjqRY.data(a,b);if(!c)return d||[];if(!d||FBjqRY.isArray(c))d=FBjqRY.data(a,b,FBjqRY.makeArray(c));else d.push(c);return d}},dequeue:function(a,b){b=b||"fx";var c=FBjqRY.queue(a,b),d=c.shift();if(d==="inprogress")d=c.shift();if(d){b==="fx"&&c.unshift("inprogress");d.call(a,function(){FBjqRY.dequeue(a,b)})}}});FBjqRY.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return FBjqRY.data(this.nodes[0]);else if(!FBjqRY.isString(a))return this.each(function(){FBjqRY.data(this,
a)});var c=a.split(".");c[1]=c[1]?"."+c[1]:"";if(typeof b==="undefined"){if(typeof d==="undefined"&&this.length)var d=FBjqRY.data(this.nodes[0],a);return typeof d==="undefined"&&c[1]?this.data(c[0]):d}else return this.each(function(){FBjqRY.data(this,a,b)})},removeData:function(a){return this.each(function(){FBjqRY.removeData(this,a)})},queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===undefined)return FBjqRY.queue(this[0],a);return this.each(function(){var c=FBjqRY.queue(this,a,b);a===
"fx"&&c[0]!=="inprogress"&&FBjqRY.dequeue(this,a)})},dequeue:function(a){return this.each(function(){FBjqRY.dequeue(this,a)})},delay:function(a,b){a=FBjqRY.fx?jQuery.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var c=this;setTimeout(function(){FBjqRY.dequeue(c,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var ya=/radio|checkbox/;FBjqRY.fn.extend({attr:function(a,b){return FBjqRY.access(this,a,b,true,FBjqRY.attr)},removeAttr:function(a){return this.each(function(){FBjqRY.attr(this,
a,"")})},addClass:function(a){if(FBjqRY.isFunction(a))return this.each(function(h){var i=FBjqRY(this);i.addClass(a.call(this,h,i.attr("class")))});if(a&&typeof a==="string"){var b=FBjqRY.trim;a=b(a);for(var c=0,d=this.nodes.length;c<d;c++){var e=this.nodes[c];e.addClassName(a);var f=e.getClassName(),g=b(f);f.length!==g.length&&e.setClassName(g)}}return this},removeClass:function(a){if(FBjqRY.isFunction(a))return this.each(function(h){var i=FBjqRY(this);i.removeClass(a.call(this,h,i.attr("class")))});
if(a&&typeof a==="string"||a===undefined)for(var b=FBjqRY.trim,c=0,d=this.length;c<d;c++){var e=this.nodes[c];if(a){e.removeClassName(a);var f=e.getClassName(),g=b(f);f.length!==g.length&&e.setClassName(g)}else e.setClassName("")}return this},toggleClass:function(a,b){if(FBjqRY.isFunction(a))return this.each(function(m){var r=FBjqRY(this);r.toggleClass(a.call(this,m,r.attr("class"),b),b)});for(var c=typeof a,d,e=0,f=this.nodes.length;e<f;e++){var g=this.nodes[e];if(c==="string")for(var h=0,i=a.split(/\s+/),
l=typeof b==="boolean";d=i[h++];)l?g[b?"addClassName":"removeClassName"](d):g.toggleClassName(d);else if(c==="undefined"||c==="boolean"){(d=g.getClassName())&&FBjqRY.data(g,"__className__",d);d=d||a===false?"":FBjqRY.data(g,"__className__")||"";g.setClassName(d)}}return this},hasClass:function(a){for(var b=0,c=this.nodes.length;b<c;b++)if(this.nodes[b].hasClassName(a))return true;return false},val:function(a){var b,c,d,e;if(typeof a!=="undefined"){var f=FBjqRY.isFunction(a);b=0;for(c=this.nodes.length;b<
c;b++){d=this.nodes[b];var g=a,h;if(f){h=FBjqRY(d).val();g=a.call(d,b,h)}if(typeof g==="number")g+="";if(FBjqRY.isArray(g)&&ya.test(d.getType())){h=FBjqRY(d).val();d.setChecked(FBjqRY.inArray(h,g)>=0)}else if(d.getTagName().toUpperCase()==="SELECT"){e=FBjqRY.makeArray(g);FBjqRY("option",d).each(function(){var i=FBjqRY(this).val();this.setSelected(FBjqRY.inArray(i,e)>=0)});e.length||d.setSelectedIndex(-1)}else d.setValue(g)}return this}if(d=this.nodes[0]){if(d.getTagName().toUpperCase()==="SELECT"){f=
d.getSelectedIndex();c=FBjqRY("option",d).nodes;d=d.getType()==="select-one";if(f<0)return null;b=d?f:0;for(max=d?f+1:c.length;b<max;b++){f=c[b];if(f.getSelected()){a=f.getValue();if(d)break;e||(e=[]);e.push(a)}}if(!d)return e}else a=d.getValue();return a?a:""}}});var za=function(){var a={},b="accessKey,action,checked,className,cols,colSpan,dir,disabled,href,id,maxLength,method,name,readOnly,rows,rowSpan,selected,selectedIndex,selection,src,style,tabIndex,target,title,type,value";b+=",tagName,parentNode,nextSibling,previousSibling,firstChild,lastChild";
b=b.split(",");for(var c=0,d=b.length;c<d;c++){var e=b[c];a[e.toLowerCase()]="set"+e.charAt(0).toUpperCase()+e.substr(1)}a["class"]="setClassName";a["nodeName".toLowerCase()]="setTagName";a.fbml="setInnerFBML";a.style="setStyle";return a}();FBjqRY.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,c,d){if(!(!a||a.getNodeType()===3||a.getNodeType()===8)){if(d&&FBjqRY.attrFn[b])return FBjqRY(a)[b](c);d=typeof c!=="undefined";if(b===
"selected"&&!FBjqRY.support.optSelected){var e=a.getParentNode();if(e){e.getSelectedIndex();(e=e.getParentNode())&&e.getSelectedIndex()}}if(e=za[b.toLowerCase()]){if(d)try{if(e==="setStyle"){b=c;if(typeof b==="string"){var f=b.split(";");b=0;for(var g=f.length;b<g;b++){var h=f[b].split(":");if(h.length==2){var i=trim(h[0].toLowerCase()),l=trim(h[1]);FBjqRY.style(a,i,l)}}}else FBjqRY.style(a,b)}else if(e==="setWidth")FBjqRY.style(a,"width",c);else e==="setHeight"?FBjqRY.style(a,"height",c):a[e](c)}catch(m){return FBjqRY.error("attr() setter node["+
e+"]("+c+") failed: "+m)}f="g"+e.substr(1);if(!a[f]){if(d)return;return FBjqRY.error("attr() getter "+f+" not supported !")}c=undefined;try{if(f==="getStyle")return FBjqRY.error("attr() could not get bare 'style' attribute value");else c=f==="getWidth"?FBjqRY.style(a,"width"):f==="getHeight"?FBjqRY.style(a,"height"):a[f]()}catch(r){FBjqRY.log("attr() getter node["+f+"]() failed: "+r)}return c===null?undefined:c}else FBjqRY.log("attr() attribute name '"+b+"' is not supported")}}});var Aa=/z-?index|font-?weight|opacity|zoom|line-?height/i,
ea=/alpha\([^)]*\)/,fa=/opacity=([^)]*)/,ga=/float/i,O=/-([a-z])/ig,Ba={position:"absolute",visibility:"hidden",display:"block"},oa=["Left","Right"],pa=["Top","Bottom"],ha=FBjqRY.support.cssFloat?"cssFloat":"styleFloat",P=function(a,b){return b.toUpperCase()};FBjqRY.fn.css=function(a,b){return FBjqRY.access(this,a,b,true,function(c,d,e){if(e===undefined)return FBjqRY.curCSS(c,d);FBjqRY.style(c,d,e)})};FBjqRY.extend({style:function(a,b,c){if(typeof b==="object"){c={};for(var d in b)if(b.hasOwnProperty(d)){var e=
FBjqRY.style(a,d,b[d]);c[d]=e}return c}if((b==="width"||b==="height")&&parseFloat(c)<0)c=undefined;if(typeof c==="number"&&!Aa.test(b))c+="px";if(!(!a||a.getNodeType()===3||a.getNodeType()===8)){d=c!==undefined;if(!FBjqRY.support.opacity&&b==="opacity"){if(d){b=c;a.setStyle("zoom","1");b=parseInt(b,10)+""==="NaN"?"":"alpha(opacity="+b*100+")";d=a.getStyle("filter")||FBjqRY.curCSS(a,"filter")||"";d=ea.test(d)?d.replace(ea,b):b;a.setStyle("filter",d)}return(a=a.getStyle("filter"))&&a.indexOf("opacity=")>=
0?parseFloat(fa.exec(a)[1])/100+"":""}b=ga.test(b)?ha:b.replace(O,P);d&&a.setStyle(b,c);return a.getStyle(b)}},css:function(a,b,c,d){if(b==="width"||b==="height"){if(a.getOffsetWidth()!==0)val=E(a,b,d);else FBjqRY.swap(a,Ba,function(){val=E(a,b,d)});return Math.max(0,Math.round(val))}return FBjqRY.curCSS(a,b,c)},curCSS:function(a,b){var c;if(b=="opacity"){c=a.getStyle("opacity");return c==""?"1":c}if(!FBjqRY.support.opacity&&b==="opacity"&&a.getStyle){c=a.getStyle("filter");if(c=fa.exec(c||""))c=
c[1];c=c?parseFloat(c)/100+"":"";return c===""?"1":c}if(ga.test(b))b=ha;if(a.getStyle){b=b.replace(O,P);c=a.getStyle(b)}return c},swap:function(a,b,c){var d={},e;for(e in b){var f=e.replace(O,P);d[f]=a.getStyle(f);a.setStyle(f,b[e])}c.call(a);a.setStyle(d)}});FBjqRY.each(["Height","Width"],function(a,b){var c=b.toLowerCase();FBjqRY.fn["inner"+b]=function(){var d=this.nodes[0];return d?FBjqRY.css(d,c,false,"padding"):null};FBjqRY.fn["outer"+b]=function(d){var e=this.nodes[0];return e?FBjqRY.css(e,
c,false,d?"margin":"border"):null};FBjqRY.fn[c]=function(d){var e=this.nodes[0];if(!e)return d==null?null:this;if(FBjqRY.isFunction(d))return this.each(function(f){var g=FBjqRY(this);g[c](d.call(this,f,g[c]()))});return d===undefined?FBjqRY.css(e,c):this.css(c,typeof d==="string"?d:d+"px")}});FBjqRY.find=function(){function a(j,s,p){var t=[];if(!j||!j.length)return t;for(var n=0,w=j.length;n<w;n++){s.call(j[n])&&t.push(j[n]);if(p)t=t.concat(a(j[n].getChildNodes(),s,p))}return t}function b(j,s,p,t){if(j==
null){j=[];if(p=document.getElementById(s))j[0]=p}else j=a(j,function(){return this.getId()==s},t);return j}function c(j,s,p,t){if(j==null)j=[document.getRootElement()];return a(j,function(){return this.hasClassName(s)},t)}function d(j,s,p,t){if(j==null)return document.getRootElement().getElementsByTagName(s);else{s=s.toUpperCase();var n=s==="*";return a(j,function(){return s===this.getTagName()||n},t)}}function e(j,s,p,t,n,w){if(j==null)j=[document.getRootElement()];var u=null;switch(p){case "!":u=
function(k,o){return k!==o};break;case "^":u=function(k,o){return k.indexOf(o)===0};break;case "$":u=function(k,o){return k.indexOf(o)+o.length===k.length};break;case "*":u=function(k,o){return k.indexOf(o)>=0};break;case "|":u=function(k,o){return k.length===o.length?k===o:k.indexOf(o)===0&&k.charAt(o.length)==="-"};break;case "~":u=function(k,o){return FBjqRY.inArray(o,k.split(" "))!==-1};break;default:u=t===true?function(k){return!!k}:function(k,o){return k===o}}return a(j,function(){return u(FBjqRY.attr(this,
s),t)},w)}function f(j,s,p){if(j==null){if(s==="root")return[document.getRootElement()];j=document.getRootElement().getElementsByTagName("*")}var t=p?parseInt(p,10):null,n;switch(s){case "first":n=[j[0]];break;case "last":n=[j[j.length-1]];break;case "eq":n=[j[t]];break;case "lt":n=j.splice(0,t);break;case "gt":n=j.splice(t+1,j.length-t);break;case "even":n=FBjqRY.grep(j,function(k,o){return o%2===0});break;case "odd":n=FBjqRY.grep(j,function(k,o){return o%2===1});break;case "contains":n=null;return FBjqRY.error("find() :contains pseudo selector not supported");
case "hidden":n=FBjqRY.grep(j,v);break;case "visible":n=FBjqRY.grep(j,function(k){return!v(k)});break;case "has":n=FBjqRY.grep(j,function(k){return FBjqRY.find(p,k).length>0});break;case "not":n=FBjqRY.grep(j,function(k){return FBjqRY.find(p,false,[k]).length===0});break;case "nth-child":n=[];FBjqRY.each(j,function(){var k=this.getParentNode();if(k){k=k.getChildNodes();var o;if(k&&(o=k[t]))n.push(o)}});break;case "first-child":n=[];FBjqRY.each(j,function(){var k=this.getParentNode();if(k)(k=k.getFirstChild())&&
n.push(k)});break;case "last-child":n=[];FBjqRY.each(j,function(){var k=this.getParentNode();if(k)(k=k.getLastChild())&&n.push(k)});break;case "only-child":n=FBjqRY.grep(j,function(k){return k.getParentNode().getChildNodes().length===1});break;case "parent":n=FBjqRY.grep(j,function(k){return(k=k.getChildNodes())&&k.length>0});break;case "empty":n=FBjqRY.grep(j,function(k){k=k.getChildNodes();return!k||k.length===0});break;case "disabled":n=FBjqRY.grep(j,function(k){return!!k.getDisabled()});break;
case "enabled":n=FBjqRY.grep(j,function(k){return!k.getDisabled()});break;case "selected":n=FBjqRY.grep(j,function(k){return!!k.getSelected()});break;case "checked":n=FBjqRY.grep(j,function(k){return!!k.getChecked()});break;case "input":n=FBjqRY.grep(j,function(k){k=k.getTagName().toLowerCase();return k==="input"||k==="textarea"||k==="select"||k==="button"});break;case "text":n=FBjqRY.grep(j,function(k){return q(k,"text")});break;case "password":n=FBjqRY.grep(j,function(k){return q(k,"password")});
break;case "radio":n=FBjqRY.grep(j,function(k){return q(k,"radio")});break;case "file":n=FBjqRY.grep(j,function(k){return q(k,"file")});break;case "image":n=FBjqRY.grep(j,function(k){return q(k,"image")});break;case "reset":n=FBjqRY.grep(j,function(k){return q(k,"reset")});break;case "submit":n=FBjqRY.grep(j,function(k){var o=k.getType();k=k.getTagName().toLowerCase();return k==="input"&&o&&o.toLowerCase()==="submit"||k==="button"&&!o&&o.toLowerCase()==="submit"});break;case "header":n=FBjqRY.grep(j,
function(k){k=k.getTagName().toLowerCase();return k.length===2&&k.charAt(0)==="h"});break;case "root":var w=document.getRootElement(),u=FBjqRY.fbjs.sameNode;n=FBjqRY.grep(j,function(k){return u(w,k)});break}return n}var g=/^#(\w+)/,h=/^\.([\w\-]+)/,i=/^([A-Za-z_\*]{1}\w*)/,l=/^\[(\w+)(!|\^|\$|\*|~|\|)?=?["|']?([^\]]+?)?["|']?\]/,m=/^:([\w\-]+)\("?'?([^\)]+)'?"?\)/,r=/^:([\w\-]+)/,v=function(j){if(j.getTagName().toLowerCase()==="input"){var s=j.getType();if(s&&s.toLowerCase()==="hidden")return true}for(;j;){if(j.getStyle("display")===
"none")return true;if(j.getOffsetWidth()==0&&j.getOffsetHeight()==0)return true;j=j.getParentNode()}return false},q=function(j,s){if(j.getTagName().toLowerCase()!=="input")return false;var p=j.getType();return p&&p.toLowerCase()===s};return function(j,s,p){if(typeof j!=="string"){if(j.length||j.length===0)return j;return[j]}var t,n;if(s){if(p&&p.length>0)return FBjqRY.error("find() could not handle context with nodes");if(FBjqRY.fbjs.isNode(s))p=s.getChildNodes();else if(typeof s.length==="number"){if(s.jquery)s=
s.nodes;p=[];t=0;for(n=s.length;t<n;t++)p=p.concat(s[t].getChildNodes())}else return FBjqRY.error("find() invalid context: ",s)}else var w=s===false;var u,k,o;s=j.split(/([^,]*\(.*?\))|,/);var Q=[],Ca=p,C=FBjqRY.trim;t=0;for(n=s.length;t<n;t++)if(s[t]){j=C(s[t]);o="";for(u=!w;j&&j!==o;){if(o){u=j.charAt(0);if(u=u===" "||u===">"||u==="~"||u==="+"){j=C(j);k=[];switch(j.charAt(0)){case ">":j=C(j.substr(1));for(o=0;o<p.length;o++)k=k.concat(p[o].getChildNodes());u=false;break;case "~":j=C(j.substr(1));
for(o=0;o<p.length;o++)for(u=p[o].getNextSibling();u;){k.push(u);u=u.getNextSibling()}u=false;break;case "+":j=C(j.substr(1));for(o=0;o<p.length;o++)(u=p[o].getNextSibling())&&k.push(u);u=false;break;default:for(o=0;o<p.length;o++)k=k.concat(p[o].getChildNodes())}p=k}}o=j;if(k=g.exec(j)){p=b(p,k[1],j,u);j=j.substr(j.indexOf(k[1])+k[1].length)}else if(k=h.exec(j)){p=c(p,k[1],j,u);j=j.substr(j.indexOf(k[1])+k[1].length)}else if(k=i.exec(j)){p=d(p,k[1],j,u);j=j.substr(j.indexOf(k[1])+k[1].length)}else if(k=
l.exec(j)){k[3]=k[3]||true;p=e(p,k[1],k[2],k[3],j,u);j=j.substr(j.indexOf("]")+1)}else{(k=m.exec(j))||(k=r.exec(j));if(k){var Da=k[0];p=f(p,k[1],k.length>2?k[2]:null,j,u);j=j.substr(Da.length)}}}if(j)return FBjqRY.error("find() could not parse the remaining selector: '"+j+"'");else{Q=Q.concat(p);p=Ca}}return FBjqRY.unique(Q)}}();var ia=/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/;FBjqRY.fn.extend({find:function(a){return this.pushStack(FBjqRY.find(a,this.nodes),"find",a)},not:function(a){var b;
if(typeof a==="string")b=FBjqRY.filter(a,this.nodes,true);else{a=ja(a);b=[];for(var c=0,d=this.length;c<d;c++){var e=this.nodes[c];a.call(e,c,e)||b.push(e)}}return this.pushStack(b,"not",a)},is:function(a){return!!a&&FBjqRY.filter(a,this.nodes).length>0},has:function(a){var b=FBjqRY(a).nodes;return this.filter(function(){for(var c=0,d=b.length;c<d;c++)if(FBjqRY.contains(this,b[c]))return true;return false})},filter:function(a){var b;if(typeof a==="string")b=FBjqRY.filter(a,this.nodes);else{a=ja(a);
b=[];for(var c=0,d=this.length;c<d;c++){var e=this.nodes[c];a.call(e,c,e)&&b.push(e)}}return this.pushStack(b,"filter",a)},index:function(a){var b=typeof a==="undefined";if(b||typeof a==="string")return FBjqRY.inArray(this.nodes[0],b?this.parent().children():FBjqRY(a).nodes);return FBjqRY.inArray(a.jquery?a.nodes[0]:a,this.nodes)},add:function(a){a=FBjqRY.isString(a)?FBjqRY(a).nodes:FBjqRY.makeArray(a);a=FBjqRY.merge(this.get(),a);return this.pushStack(FBjqRY.unique(a))},andSelf:function(){return this.add(this.prevObject)},
parent:function(a){return this.pushStack(R(this.nodes,a,false),"parent",a||"")},parents:function(a){return this.pushStack(R(this.nodes,a,true),"parents",a||"")},parentsUntil:function(a,b){return this.pushStack(R(this.nodes,b,a),"parentsUntil",b||"")},next:function(a){return this.pushStack(y(this.nodes,a,"getNextSibling",false),"next",a||"")},nextAll:function(a){return this.pushStack(y(this.nodes,a,"getNextSibling",true),"nextAll",a||"")},nextUntil:function(a,b){return this.pushStack(y(this.nodes,
b,"getNextSibling",a),"nextUntil",b||"")},prev:function(a){return this.pushStack(y(this.nodes,a,"getPreviousSibling",false),"prev",a||"")},prevAll:function(a){return this.pushStack(y(this.nodes,a,"getPreviousSibling",true),"prevAll",a||"")},prevUntil:function(a,b){return this.pushStack(y(this.nodes,b,"getPreviousSibling",a),"prevUntil",b||"")},siblings:function(a){var b=y(this.nodes,a,"getPreviousSibling",true);b=b.concat(y(this.nodes,a,"getNextSibling",true));return this.pushStack(b,"siblings",a||
"")},children:function(a){for(var b=[],c=this.length,d=0,e=this.nodes;d<c;d++)for(var f=e[d].getFirstChild();f;){f.getNodeType()===1&&b.push(f);f=f.getNextSibling()}if(a)b=FBjqRY.filter(a,b);b=c===1?b:FBjqRY.unique(b);return this.pushStack(b,"children",a||"")},contents:function(){for(var a=[],b=this.length,c=0,d=this.nodes;c<b;c++)a=a.concat(d[c].getChildNodes());a=b===1?a:FBjqRY.unique(a);return this.pushStack(a,"contents","")},closest:function(a,b){var c=FBjqRY.fbjs.sameNode;if(FBjqRY.isArray(a)){var d=
[],e=this.nodes[0],f={},g,h=1;if(e&&a.length){for(var i=0,l=a.length;i<l;i++){g=a[i];f[g]||(f[g]=ia.test(g)?FBjqRY(g,b||this.context):g)}for(;e&&(b==null||!c(b,e));){for(g in f){i=f[g];if(i.jquery?i.index(e)>-1:FBjqRY(e).is(i))d.push({selector:g,elem:e,level:h})}e=e.getParentNode();h++}}return d}var m=ia.test(a)?FBjqRY(a,b||this.context):null;return this.map(function(r,v){for(;v&&(b==null||!c(b,v));){if(m?m.index(v)>-1:FBjqRY(v).is(a))return v;v=v.getParentNode()}return null})}});var y=function(a,
b,c,d){for(var e=[],f=a.length,g=[],h=typeof d!=="boolean",i=h||d,l=0;l<f;l++)for(var m=a[l][c]();m;){g[0]=m;if(h&&d&&I(d,g))break;if(!b||I(b,g))m.getNodeType()===1&&e.push(m);m=i?m[c]():null}return FBjqRY.unique(e)},R=function(a,b,c){for(var d=[],e=a.length,f=[],g=FBjqRY.fbjs.sameNode,h=typeof c!=="boolean",i=h||c,l=document.getRootElement(),m=0;m<e;m++)for(var r=a[m].getParentNode();r;){f[0]=r;if(h&&c&&I(c,f))break;if(b){if(g(l,r))break;I(b,f)&&r.getNodeType()===1&&d.push(r)}else r.getNodeType()===
1&&d.push(r);r=i?r.getParentNode():null}return FBjqRY.unique(d)},ja=function(a){if(a.jquery)a=a.nodes;if(FBjqRY.isArray(a)){var b=a;a=function(){return FBjqRY.inArray(this,b)!==-1}}else if(FBjqRY.fbjs.isNode(a)){var c=a,d=FBjqRY.fbjs.sameNode;a=function(){return d(this,c)}}return a},I=function(a,b){return!!a&&FBjqRY.filter(a,b).length>0};FBjqRY.filter=function(a,b,c){if(c)a=":not("+a+")";c=[];a=FBjqRY.find(a);for(var d=0,e=b.length;d<e;d++){var f=b[d];FBjqRY.inArray(f,a)>=0&&c.push(f)}return c};FBjqRY.contains=
function(){var a=function(b,c){if(!c||c.length===0)return false;if(FBjqRY.inArray(b,c)!==-1)return true;for(var d=0,e=c.length;d<e;d++)if(a(b,c[d].getChildNodes()))return true;return false};return function(b,c){if(FBjqRY.fbjs.sameNode(b,c))return false;return a(c,b.getChildNodes())}}();var Ea=/<([\w:]+)/,Fa=/<|&#?\w+;/,Ga=/(<([\w:]+)[^>]*?)\/>/g,Ha=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,Ia=function(a,b,c){return Ha.test(c)?a:b+"></"+c+">"},Ja=/(checked|selected|disabled)(\s*=\s*['"]\w*['"])?/gi,
Ka=function(a,b,c){return c?a:b+"='"+b+"'"},x={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[1,"<div>","</div>"]};x.optgroup=x.option;x.tbody=x.tfoot=x.colgroup=x.caption=x.thead;x.th=x.td;var D=function(a,b,c){for(var d=[],e=FBjqRY(c).nodes,
f=0,g=e.length;f<g;f++){var h=(f>0?this.clone(true):this).nodes;b.call(FBjqRY(e[f]),h);d=d.concat(h)}return this.pushStack(d,a,c)};FBjqRY.fn.extend({text:function(a){if(typeof a!=="undefined"){if(FBjqRY.isFunction(a))return this.each(function(d){FBjqRY(this).text(a.call(this,d,undefined))});for(var b=0,c=this.length;b<c;b++)this.nodes[b].setTextValue(a);return this}return FBjqRY.error("text() getter not supported")},html:function(a){if(typeof a===undefined)return FBjqRY.error("html() getter not supported");
else FBjqRY.isFunction(a)?this.each(function(b){FBjqRY(this).empty().append(function(){return a.call(this,b,undefined)})}):this.empty().append(a);return this},fbml:function(a){if(typeof a!=="undefined"){if(FBjqRY.isFunction(a))return this.each(function(d){FBjqRY(this).fbml(a.call(this,d,undefined))});for(var b=0,c=this.length;b<c;b++)this.nodes[b].setInnerFBML(a);return this}return FBjqRY.error("fbml() getter not supported")},wrapAll:function(a){if(FBjqRY.isFunction(a))return this.each(function(d){FBjqRY(this).wrapAll(a.call(this,
d))});var b=this.nodes[0];if(b){var c=FBjqRY(a).eq(0).clone(true);b.getParentNode()&&c.insertBefore(b);c.map(function(){for(var d=this,e;(e=d.getFirstChild())&&e.getNodeType()===1;)d=e;return d}).append(this)}return this},wrap:function(a){return this.each(function(){FBjqRY(this).wrapAll(a)})},wrapInner:function(a){if(FBjqRY.isFunction(a))return this.each(function(b){FBjqRY(this).wrapInner(a.call(this,b))});return this.each(function(){var b=this;if(b.getFirstChild())FBjqRY(b).contents().wrapAll(a);
else{var c=FBjqRY(a).eq(0).clone(true);b.getParentNode()&&c.insertBefore(b);c.each(function(){for(var d=this,e;(e=d.getFirstChild())&&e.getNodeType()===1;)d=e;b.appendChild(d)})}})},unwrap:function(){return this.parent().each(function(){FBjqRY(this).replaceWith(this.getChildNodes())}).end()},append:function(a){if(FBjqRY.isFunction(a))return this.each(function(h){var i=FBjqRY(this);a=a.call(this,h,undefined);i.append(a)});a=FBjqRY(a).nodes;for(var b=0,c=this.nodes,d=this.length;b<d;b++){var e=c[b],
f;if(e.getNodeType()===1)for(var g=0;g<a.length;g++)if(f=a[g]){if(b>0)f=f.cloneNode(true);e.appendChild(f)}}return this},appendTo:function(a){return D.call(this,"appendTo",this.append,a)},prepend:function(a){if(FBjqRY.isFunction(a))return this.each(function(h){var i=FBjqRY(this);a=a.call(this,h,undefined);i.prepend(a)});a=FBjqRY(a).nodes;for(var b=0,c=this.nodes,d=this.length;b<d;b++){var e=c[b],f;if(e.getNodeType()===1)for(var g=0;g<a.length;g++)if(f=a[g]){if(b>0)f=f.cloneNode(true);e.insertBefore(f,
e.getFirstChild())}}return this},prependTo:function(a){return D.call(this,"prependTo",this.prepend,a)},after:function(a){if(FBjqRY.isFunction(a))return this.each(function(i){var l=FBjqRY(this);a=a.call(this,i);l.after(a)});a=FBjqRY(a).nodes;var b=this.nodes;if(b[0]&&b[0].getParentNode()){for(var c=0,d=this.length;c<d;c++)for(var e=b[c],f,g=e.getParentNode(),h=0;h<a.length;h++)if(f=a[h]){if(c>0)f=f.cloneNode(true);g.insertBefore(f,e.getNextSibling())}return this}else if(arguments.length){b=this.pushStack(this,
"after",arguments);b.push.apply(b,FBjqRY(arguments[0]).toArray());return b}},insertAfter:function(a){return D.call(this,"insertAfter",this.after,a)},before:function(a){if(FBjqRY.isFunction(a))return this.each(function(i){var l=FBjqRY(this);a=a.call(this,i);l.before(a)});a=FBjqRY(a).nodes;var b=this.nodes;if(b[0]&&b[0].getParentNode()){for(var c=0,d=this.length;c<d;c++)for(var e=b[c],f,g=e.getParentNode(),h=0;h<a.length;h++)if(f=a[h]){if(c>0)f=f.cloneNode(true);g.insertBefore(f,e)}return this}else if(arguments.length){b=
FBjqRY(arguments[0]);b.push.apply(b,this.toArray());return this.pushStack(b,"before",arguments)}},insertBefore:function(a){return D.call(this,"insertBefore",this.before,a)},remove:function(a,b){for(var c=[],d=0,e=this.length,f=this.nodes;d<e;d++){var g=f[d];c[0]=g;if(!a||FBjqRY.filter(a,c).length){if(!b&&g.getNodeType()===1){FBjqRY.cleanData(g.getElementsByTagName("*"));FBjqRY.cleanData(c)}var h=g.getParentNode();h&&h.removeChild(g)}}return this},empty:function(){this.children().remove();return this},
clone:function(){for(var a=[],b=0,c=this.length,d=this.nodes;b<c;b++)a.push(d[b].cloneNode(true));return FBjqRY(a)},replaceWith:function(a){var b=this.nodes[0];if(b&&b.getParentNode()){if(FBjqRY.isFunction(a))return this.each(function(c){FBjqRY(this).replaceWith(a.call(this,c,undefined))});FBjqRY.isString(a)||(a=FBjqRY(a).clone());return this.each(function(){var c=this.getNextSibling(),d=this.getParentNode();FBjqRY(this).remove();c?FBjqRY(c).before(a):FBjqRY(d).append(a)})}else return this.pushStack(FBjqRY(FBjqRY.isFunction(a)?
a():a),"replaceWith",a)},replaceAll:function(a){return D.call(this,"replaceAll",this.replaceWith,a)},detach:function(a){return this.remove(a,true)}});FBjqRY.extend({clean:function(a,b){b=b||document;if(typeof b.createElement==="undefined")b=document;for(var c=[],d=FBjqRY.fbjs.isNode,e=FBjqRY.isString,f=0,g;(g=a[f])!=null;f++){if(typeof g==="number")g+="";if(g){if(e(g)){if(!Fa.test(g))return FBjqRY.error("clean() cannot create text node: '"+g+"'");g=g.replace(Ga,Ia);g=g.replace(Ja,Ka);var h=Ea.exec(g);
h=h?h[1].toLowerCase():"_default";var i=x[h];if(!i)i=x._default;var l=b.createElement("div");l.setInnerXHTML(i[1]+g+i[2]);for(var m=i[0];m--;)l=l.getLastChild();m=l.getFirstChild();if(!m||m.getTagName().toLowerCase()!==h)return FBjqRY.error("clean() setInnerXHTML failed with: ",g);if(!FBjqRY.support.tbody){g=rtbody.test(g);h=h==="table"&&!g?l.getFirstChild()&&l.getFirstChild().getChildNodes():i[1]==="<table>"&&!g?l.getChildNodes():[];for(i=h.length-1;i>=0;--i){g=h[i];FBjqRY.nodeName(g,"tbody")&&!g.getChildNodes().length&&
g.getParentNode().removeChild(g)}}g=l.getChildNodes()}if(d(g))c.push(g);else c=FBjqRY.merge(c,g)}}return c},cleanData:function(a){for(var b,c,d=FBjqRY.cache,e=FBjqRY.event.special,f=FBjqRY.fbjs.getNodeId,g=0,h=a.length;g<h;g++){var i=a[g];if(!(i.getTagName&&FBjqRY.noData[i.getTagName().toLowerCase()]))if(c=f(i,true)){if((b=d[c])&&b.events)for(var l in b.events)e[l]?FBjqRY.event.remove(i,l):i.removeEventListener(l,b.handle);delete d[c]}}}});var L=/\.(.*)$/,La=/[^\w\s\.\|`]/g,Ma=function(a){return a.replace(La,
function(b){return"\\"+b})};FBjqRY.event={global:{},add:function(a,b,c,d){var e=a.getNodeType&&a.getNodeType();if(!(e===3||e===8)){if(c===false)c=z;var f,g;if(c.handler){f=c;c=f.handler}if(!c.guid)c.guid=FBjqRY.guid++;if(g=FBjqRY.data(a)){e=g.events=g.events||{};var h=g.handle;if(!h)g.handle=h=function(){if(typeof FBjqRY!=="undefined"&&!FBjqRY.event.triggered)return FBjqRY.event.handle.apply(h.elem,arguments)};h.elem=a;b=b.split(" ");for(var i,l=0,m;i=b[l++];){g=f?FBjqRY.extend({},f):{handler:c,data:d};
if(i.indexOf(".")>-1){m=i.split(".");i=m.shift();g.namespace=m.slice(0).sort().join(".")}else{m=[];g.namespace=""}g.type=i;if(!g.guid)g.guid=c.guid;var r=e[i],v=FBjqRY.event.special[i];if(!r){r=e[i]=[];var q=v&&v.setup;if(!q||q.call(a,d,m,h)===false)if(a.addEventListener&&S.indexOf(i)>-1){h.FBjqRY_handler=true;a.addEventListener(i,h,false)}}if(v&&v.add){v.add.call(a,g);if(!g.handler.guid)g.handler.guid=c.guid}r.push(g);FBjqRY.event.global[i]=true}a=null}}},remove:function(a,b,c,d){var e=a.getNodeType&&
a.getNodeType();if(!(e===3||e===8)){if(c===false)c=z;var f,g,h=0,i,l,m,r,v,q,j=(e=FBjqRY.data(a))&&e.events;if(e&&j){if(b&&b.type){c=b.handler;b=b.type}if(!b||b.charAt&&b.charAt(0)==="."){b=b||"";for(f in j)FBjqRY.event.remove(a,f+b)}else{for(b=b.split(" ");f=b[h++];){r=f;i=f.indexOf(".")<0;l=[];if(!i){l=f.split(".");f=l.shift();m=FBjqRY.map(l.slice(0).sort(),Ma).join("\\.(?:.*\\.)?");m=RegExp("(^|\\.)"+m+"(\\.|$)")}if(v=j[f])if(c){r=FBjqRY.event.special[f];for(g=d||0;g<v.length;g++){q=v[g];if(c.guid===
q.guid){if(i||m.test(q.namespace)){d==null&&v.splice(g--,1);r&&r.remove&&r.remove.call(a,q)}if(d!=null)break}}if(v.length===0||d!=null&&v.length===1){if(!r||!r.teardown||r.teardown.call(a,l)===false)a.removeEventListener&&S.indexOf(f)>-1&&a.removeEventListener(f,e.handle,false);delete j[f]}}else for(g=0;g<v.length;g++){q=v[g];if(i||m.test(q.namespace)){FBjqRY.event.remove(a,r,q.handler,g);v.splice(g--,1)}}}if(FBjqRY.isEmptyObject(j)){if(b=e.handle)b.elem=null;delete e.events;delete e.handle;FBjqRY.isEmptyObject(e)&&
FBjqRY.removeData(a)}}}}},trigger:function(a,b,c,d){var e=a.type||a;if(!d){a=!FBjqRY.isString(a)?a[FBjqRY.expando]?a:FBjqRY.extend(FBjqRY.Event(e),a):FBjqRY.Event(e);if(e.indexOf("!")>=0){a.type=e=e.slice(0,-1);a.exclusive=true}if(!c){a.stopPropagation();FBjqRY.event.global[e]&&FBjqRY.each(FBjqRY.cache,function(){this.events&&this.events[e]&&FBjqRY.event.trigger(a,b,this.handle.elem)})}if(!c)return;if((d=c.getNodeType&&c.getNodeType())&&(d===3||d===8))return;a.result=undefined;a.target=c;b=FBjqRY.makeArray(b);
b.unshift(a)}a.currentTarget=c;(d=FBjqRY.data(c,"handle"))&&d.apply(c,b);d=c.getParentNode&&c.getParentNode();if(!a.isPropagationStopped()&&d)FBjqRY.event.trigger(a,b,d,true);else if(!a.isDefaultPrevented()){d=a.target;var f=e.replace(/\..*$/,""),g=FBjqRY.event.special[f];if((!g||!g._default||g._default.call(c,a)===false)&&!(d&&d.getTagName&&FBjqRY.noData[d.getTagName().toLowerCase()])){c=d.listEventListeners&&d.listEventListeners(f);var h;if(c&&(h=c.length)){FBjqRY.event.triggered=true;for(f=0;f<
h;f++)if(g=c[f])if(!g.FBjqRY_handler)if(g.apply(d,b)===false){a.result=false;if(a.isPropagationStopped())break}}FBjqRY.event.triggered=false}}},handle:function(a){var b,c,d;c=[];var e,f=FBjqRY.makeArray(arguments);a=f[0]=FBjqRY.event.fix(a);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b){d=a.type.split(".");a.type=d.shift();c=d.slice(0).sort();d=RegExp("(^|\\.)"+c.join("\\.(?:.*\\.)?")+"(\\.|$)")}a.namespace=a.namespace||c.join(".");c=(e=FBjqRY.data(this,"events"))&&e[a.type];if(e&&
c){c=c.slice(0);e=0;for(var g=c.length;e<g;e++){var h=c[e];if(b||d.test(h.namespace)){a.handler=h.handler;a.data=h.data;a.handleObj=h;h=h.handler.apply(this,f);if(typeof h!=="undefined"){a.result=h;if(h===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}}return a.result},handle1:function(a){var b,c,d,e,f=FBjqRY.makeArray(arguments);a=f[0]=FBjqRY.event.fix(a);a.currentTarget=this;console.log("handle() 0",a);b=a.type.indexOf(".")<0&&!a.exclusive;if(!b){c=a.type.split(".");
a.type=c.shift();d=RegExp("(^|\\.)"+c.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)")}c=(e=FBjqRY.data(this,"events"))?e[a.type]:undefined;console.log("handle() 01 all, events, handlers = ",b,e,c);if(e&&c){c=c.slice(0);e=0;for(var g=c.length;e<g;e++){var h=c[e];console.log("handle() 1 handleObj.namespace = ",h.namespace,d);if(b||d.test(h.namespace)){a.handler=h.handler;a.data=h.data;a.handleObj=h;console.log("handle() 2 calling handler",a,this);h=h.handler.apply(this,f);console.log("handle() 2 handler returned",
h);if(h!==undefined){a.result=h;if(h===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}}return a.result},props:"target type pageX pageY ctrlKey keyCode metaKey shiftKey".split(" "),fix:function(a){if(a[FBjqRY.expando])return a;var b=a;a=FBjqRY.Event(b);for(var c=this.props.length,d;c;){d=this.props[--c];a[d]=b[d]}if(!a.which&&a.keyCode)a.which=a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;return a},proxy:FBjqRY.proxy,special:{live:{add:function(a){FBjqRY.event.add(this,
F(a.origType,a.selector),FBjqRY.extend({},a,{handler:qa,guid:a.handler.guid}))},remove:function(a){FBjqRY.event.remove(this,F(a.origType,a.selector),a)}}}};FBjqRY.Event=function(a){if(!this.preventDefault)return new FBjqRY.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=a;this.timeStamp=FBjqRY.now();this[FBjqRY.expando]=true};FBjqRY.Event.prototype={preventDefault:function(){this.isDefaultPrevented=K;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=
false}},stopPropagation:function(){this.isPropagationStopped=K;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=K;this.stopPropagation()},isDefaultPrevented:z,isPropagationStopped:z,isImmediatePropagationStopped:z};if(!FBjqRY.support.submitBubbles)FBjqRY.event.special.submit={setup:function(){if(FBjqRY.nodeName(this,"form"))return false;else{FBjqRY.event.add(this,"click.specialSubmit",
function(a){var b=a.target,c=b.getType();if((c==="submit"||c==="image")&&FBjqRY(b).closest("form").length)return X("submit",this,arguments)});FBjqRY.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,c=b.getType();if((c==="text"||c==="password")&&FBjqRY(b).closest("form").length&&a.keyCode===13)return X("submit",this,arguments)})}},teardown:function(){FBjqRY.event.remove(this,".specialSubmit")}};if(!FBjqRY.support.changeBubbles){var T=/textarea|input|select/i,U,ka=function(a){var b=
a.getType(),c=a.getValue();if(b==="radio"||b==="checkbox")c=a.getChecked();else if(b==="select-multiple")c=a.getSelectedIndex()>-1?FBjqRY.map(FBjqRY("option",a).nodes,function(d){return d.getSelected()}).join("-"):"";else if(FBjqRY.nodeName(a,"select"))c=a.getSelectedIndex();return c},V=function(a,b){var c=a.target,d,e;if(!(!T.test(c.getTagName())||c.getReadOnly())){d=FBjqRY.data(c,"_change_data");e=ka(c);if(a.type!=="focusout"||c.getType()!=="radio")FBjqRY.data(c,"_change_data",e);if(!(d===undefined||
e===d))if(d!=null||e){a.type="change";return FBjqRY.event.trigger(a,b,c)}}};FBjqRY.event.special.change={filters:{focusout:V,click:function(a){var b=a.target,c=b.getType();if(c==="radio"||c==="checkbox"||FBjqRY.nodeName(b,"select"))return V.call(this,a)},keydown:function(a){var b=a.target,c=b.getType();if(a.keyCode===13&&!FBjqRY.nodeName(b,"textarea")||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")return V.call(this,a)},beforeactivate:function(a){a=a.target;FBjqRY.data(a,"_change_data",
ka(a))}},setup:function(){if(this.type==="file")return false;for(var a in U)FBjqRY.event.add(this,a+".specialChange",U[a]);return T.test(this.getTagName())},teardown:function(){FBjqRY.event.remove(this,".specialChange");return T.test(this.getTagName())}};U=FBjqRY.event.special.change.filters}FBjqRY.each({focus:"focusin",blur:"focusout"},function(a,b){function c(d){d=FBjqRY.event.fix(d);d.type=b;return FBjqRY.event.handle.call(this,d)}FBjqRY.event.special[b]={setup:function(){this.addEventListener(a,
c,true)},teardown:function(){this.removeEventListener(a,c,true)}}});FBjqRY.each(["bind","one"],function(a,b){FBjqRY.fn[b]=function(c,d,e){if(!FBjqRY.isString(c)){for(var f in c)this[b](f,d,c[f],e);return this}if(FBjqRY.isFunction(d)||d===false){e=d;d=undefined}var g=b==="one"?FBjqRY.proxy(e,function(l){FBjqRY(this).unbind(l,g);return e.apply(this,arguments)}):e;if(c==="unload"&&b!=="one")this.one(c,d,e);else{f=this.nodes;for(var h=0,i=this.length;h<i;h++)FBjqRY.event.add(f[h],c,g,d)}return this}});
FBjqRY.fn.extend({unbind:function(a,b){if(typeof a==="object"&&!a.preventDefault)for(var c in a)this.unbind(c,a[c]);else{c=this.nodes;for(var d=0,e=this.length;d<e;d++)FBjqRY.event.remove(c[d],a,b)}return this},delegate:function(a,b,c,d){return this.live(b,c,d,a)},undelegate:function(a,b,c){return arguments.length===0?this.unbind("live"):this.die(b,null,c,a)},trigger:function(a,b){return this.each(function(){FBjqRY.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this.nodes[0];if(c){var d=
FBjqRY.Event(a);d.preventDefault();d.stopPropagation();FBjqRY.event.trigger(d,b,c);return d.result}},toggle:function(a){for(var b=arguments,c=1;c<b.length;)FBjqRY.proxy(a,b[c++]);return this.click(FBjqRY.proxy(a,function(d){var e=(FBjqRY.data(this,"lastToggle"+a.guid)||0)%c;FBjqRY.data(this,"lastToggle"+a.guid,e+1);d.preventDefault();return b[e].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var la={focus:"focusin",blur:"focusout",mouseenter:"mouseover",
mouseleave:"mouseout"};FBjqRY.each(["live","die"],function(a,b){FBjqRY.fn[b]=function(c,d,e,f){var g=0,h,i,l=f||this.selector,m=f?this:FBjqRY(this.context||document.getRootElement());if(FBjqRY.isFunction(d)){e=d;d=undefined}for(c=(c||"").split(" ");(f=c[g++])!=null;){h=L.exec(f);i="";if(h){i=h[0];f=f.replace(L,"")}if(f==="hover")c.push("mouseenter"+i,"mouseleave"+i);else{h=f;if(f==="focus"||f==="blur"){c.push(la[f]+i);f+=i}else f=(la[f]||f)+i;if(b==="live"){i=F(f,l,true);for(var r=0,v=m.nodes,q=m.length;r<
q;r++)FBjqRY.event.add(v[r],i,{data:d,selector:l,handler:e,origType:f,origHandler:e,preType:h})}else m.unbind(F(f,l,true),e)}}return this}});var ra=/\./g,sa=/ /g,S="blur change click dblclick error focus keydown keypress keyup load mousedown mousemove mouseout mouseover mouseup resize scroll select submit unload".split(" "),A=function(a,b){FBjqRY.fn[b]=function(c,d){if(d==null){d=c;c=null}return arguments.length>0?this.bind(b,c,d):this.trigger(b)};if(FBjqRY.attrFn)FBjqRY.attrFn[b]=true};FBjqRY.each(S,
A);A(0,"focusin");A(0,"focusout");A(0,"mouseenter");A(0,"mouseleave");FBjqRY.now();var Na=/<script(.|\s)*?\/script>/gi,Oa=/select|textarea/i,Pa=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,ma=/\?/,Qa=/(\?|&)_=.*?(&|$)/,Ra=/%20/g,na=FBjqRY.fn.load;FBjqRY.fn.extend({load:function(a,b,c){if(typeof a!=="string"&&na)return na.apply(this,arguments);else if(!this.length)return this;var d=a.indexOf(" ");if(d>=0){var e=a.slice(d,a.length);a=a.slice(0,d)}d="GET";
if(b)if(FBjqRY.isFunction(b)){c=b;b=null}else if(typeof b==="object"){b=FBjqRY.param(b,FBjqRY.ajaxSettings.traditional);d="POST"}var f=this;FBjqRY.ajax({url:a,type:d,dataType:"html",data:b,complete:function(g,h){if(h==="success"||h==="notmodified")f.html(e?jQuery("<div />").append(g.responseText.replace(Na,"")).find(e):g.responseText);c&&f.each(c,[g.responseText,h,g])}});return this},serialize:function(){return FBjqRY.param(this.serializeArray())},serializeArray:function(){return this.filter(function(){return this.getName()&&
!this.getDisabled()&&(this.getChecked()||Oa.test(this.getTagName())||Pa.test(this.getType()))}).map(function(){var a=FBjqRY(this).val();if(a==null)return null;var b=this.getName();if(FBjqRY.isArray(a)){for(var c=[],d=0;d<a.length;d++)c.push({name:b,value:a[d]});return c}else return{name:b,value:a}}).get()}});FBjqRY.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){FBjqRY.fn[b]=function(c){return this.bind(b,c)}});FBjqRY.extend({get:function(a,b,c,d){if(FBjqRY.isFunction(b)){d=
d||c;c=b;b=null}return FBjqRY.ajax({type:"GET",url:a,data:b,success:c,dataType:d})},getScript:function(){return FBjqRY.error("getScript() not supported")},getJSON:function(a,b,c){return FBjqRY.get(a,b,c,Ajax.JSON)},post:function(a,b,c,d){if(FBjqRY.isFunction(b)){d=d||c;c=b;b={}}return FBjqRY.ajax({type:"POST",url:a,data:b,success:c,dataType:d})},ajaxSetup:function(a){FBjqRY.extend(FBjqRY.ajaxSettings,a)},ajaxSettings:{url:null,global:true,type:"POST",dataType:Ajax.RAW,retryCount:1,requireLogin:null},
ajax:function(a){var b=FBjqRY.extend(true,{},FBjqRY.ajaxSettings,a),c=b.type.toUpperCase();b.context=a&&a.context||b;if(b.data&&b.processData&&typeof b.data!=="string")b.data=FBjqRY.param(b.data,b.traditional);if(b.cache===false&&c==="GET"){a=FBjqRY.now();var d=b.url.replace(Qa,"$1_="+a+"$2");b.url=d+(d===b.url?(ma.test(b.url)?"&":"?")+"_="+a:"")}if(b.data&&c==="GET")b.url+=(ma.test(b.url)?"&":"?")+b.data;b.global&&FBjqRY.ajax.active++===0&&FBjqRY.event.trigger("ajaxStart");var e=new Ajax;e.responseType=
b.dataType;e.ondone=function(g){FBjqRY.ajax.handleSuccess(b,e,g);FBjqRY.ajax.handleComplete(b,e,g)};e.onerror=function(){var g=b.retryCount||0;FBjqRY.log("ajax() error occurred, retrying ...");if(g-- >0){b.retryCount=g;FBjqRY.ajax(b)}else{FBjqRY.ajax.handleError(b,e,null);FBjqRY.ajax.handleComplete(b,e,undefined)}};try{e.post(b.url,b.data)}catch(f){FBjqRY.ajax.handleError(b,e,f);FBjqRY.ajax.handleComplete(b,e,undefined)}b.global&&FBjqRY.ajax.triggerGlobal(b,"ajaxSend",[e,b]);return e},param:function(a,
b){var c=[],d=function(f,g){g=FBjqRY.isFunction(g)?g():g;c[c.length]=Y(f)+"="+Y(g)};if(b===undefined)b=FBjqRY.ajaxSettings.traditional;if(FBjqRY.isArray(a)||a.jquery){if(a.jquery)a=a.nodes;FBjqRY.each(a,function(){d(this.name,this.value)})}else for(var e in a)M(e,a[e],b,d);return c.join("&").replace(Ra,"+")}});var Z=/=/g,aa=/&/g;FBjqRY.extend(FBjqRY.ajax,A={active:0,handleError:function(a,b,c,d){a.error&&a.error.call(a.context,b,c,d);a.global&&jQuery.ajax.triggerGlobal(a,"ajaxError",[b,a,d])},handleSuccess:function(a,
b,c,d){a.success&&a.success.call(a.context,d,c,b);a.global&&jQuery.ajax.triggerGlobal(a,"ajaxSuccess",[b,a])},handleComplete:function(a,b,c){a.complete&&a.complete.call(a.context,b,c);a.global&&jQuery.ajax.triggerGlobal(a,"ajaxComplete",[b,a]);a.global&&jQuery.ajax.active--===1&&jQuery.event.trigger("ajaxStop")},triggerGlobal:function(a,b,c){(a.context&&a.context.url==null?jQuery(a.context):jQuery.event).trigger(b,c)}});FBjqRY.extend(A);var W={},J,ba=[["height","marginTop","marginBottom","paddingTop",
"paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];FBjqRY.fn.extend({show:function(a,b){if(FBjqRY.isFunction(a)&&!b){b=a;a=null}if(a)return this.animate(B("show",3),a,b);else{var c,d=this.length,e;for(c=0;c<d;c++){e=this.nodes[c];var f=FBjqRY.data(e,"olddisplay");e.setStyle("display",f||"");if(jQuery.css(e,"display")==="none"){f=e.getTagName();var g;if(W[f])g=W[f];else{g=document.getRootElement();var h=FBjqRY("<"+f+" />").appendTo(g);g=h.css("display");
if(g==="none")g="block";h.remove();W[f]=g}FBjqRY.data(e,"olddisplay",g)}}for(c=0;c<d;c++){e=this.nodes[c];e.setStyle("display",FBjqRY.data(e,"olddisplay")||"")}return this}},hide:function(a,b){if(FBjqRY.isFunction(a)&&!b){b=a;a=null}if(a)return this.animate(B("hide",3),a,b);else{var c,d=this.length,e;for(c=0;c<d;c++){e=this.nodes[c];var f=FBjqRY.data(e,"olddisplay");!f&&f!=="none"&&FBjqRY.data(e,"olddisplay",FBjqRY.css(e,"display"))}for(c=0;c<d;c++){e=this.nodes[c];e.setStyle("display","none")}return this}},
_toggle:FBjqRY.fn.toggle,toggle:function(a,b){var c=typeof a==="boolean";if(FBjqRY.isFunction(a)&&FBjqRY.isFunction(b))this._toggle.apply(this,arguments);else a==null||c?this.each(function(){var d=c?a:FBjqRY(this).is(":hidden");FBjqRY(this)[d?"show":"hide"]()}):this.animate(B("toggle",3),a,b);return this},fadeTo:function(a,b,c){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c)},animate:function(a,b,c,d,e){b=function(h){if(typeof h=="string"){h=trim(h).toLowerCase();
switch(h){case "fast":h=200;break;case "slow":h=600;break;default:h=400;break}}return h?h:400}(b);var f=e==2,g=e==1;this.stop();each(this.nodes,function(){var h=Animation(this).duration(b);for(var i in a)if(a.hasOwnProperty(i))h=h.to(i,a[i]);if(c)h=h.ease(c);if(f)h=h.blind().hide();if(g)h=h.blind().show();h.go()});d&&setTimeout(d,b);return this},stop:function(){each(this.nodes,function(){Animation(this).stop()})}});FBjqRY.each({slideDown:B("show",1),slideUp:B("hide",1),slideToggle:B("toggle",1),fadeIn:{opacity:"show"},
fadeOut:{opacity:"hide"}},function(a,b){FBjqRY.fn[a]=function(c,d){return this.animate(b,c,d)}});FBjqRY.extend({speed:function(a,b,c){var d=a&&typeof a==="object"?a:{complete:c||!c&&b||FBjqRY.isFunction(a)&&a,duration:a,easing:c&&b||b&&!FBjqRY.isFunction(b)&&b};d.duration=FBjqRY.fx.off?0:typeof d.duration==="number"?d.duration:FBjqRY.fx.speeds[d.duration]||FBjqRY.fx.speeds._default;d.old=d.complete;d.complete=function(){d.queue!==false&&FBjqRY(this).dequeue();FBjqRY.isFunction(d.old)&&d.old.call(this)};
return d},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+0.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b;this.elem=a;this.prop=c;if(!b.orig)b.orig={}}});FBjqRY.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);var a=this.prop;(FBjqRY.fx.step[a]||FBjqRY.fx.step._default)(this);if(a=="height"||a=="width")this.elem.setStyle("display","block")},cur:function(a){var b=this.elem,c=this.prop,d=FBjqRY.attr(b,
c);if(d!=null&&b.getStyle(c)==null)return d;return(a=parseFloat(FBjqRY.css(b,c,a)))&&a>-10000?a:parseFloat(FBjqRY.curCSS(b,c))||0},custom:function(a,b,c){function d(f){return e.step(f)}var e=this;e.startTime=FBjqRY.now();e.start=a;e.end=b;e.unit=c||e.unit||"px";e.now=e.start;e.pos=e.state=0;d.elem=e.elem;if(d()&&FBjqRY.timers.push(d)&&!J)J=setInterval(FBjqRY.fx.tick,13)},show:function(){var a=this.elem,b=this.prop;this.options.orig[b]=FBjqRY.style(a,b);this.options.show=true;this.custom(b==="width"||
b==="height"?1:0,this.cur());FBjqRY(a).show()},hide:function(){var a=this.prop;this.options.orig[a]=FBjqRY.style(this.elem,a);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=this.options,c=this.elem,d=FBjqRY.now(),e=true;if(a||d>=b.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();b.curAnim[this.prop]=true;for(var f in b.curAnim)if(b.curAnim[f]!==true)e=false;if(e){if(b.display!=null){c.setStyle("overflow",b.overflow);a=FBjqRY.data(c,"olddisplay");
c.setStyle("display",a?a:b.display);FBjqRY.css(c,"display")==="none"&&c.setStyle("display","block")}b.hide&&FBjqRY(c).hide();if(b.hide||b.show)for(var g in b.curAnim)FBjqRY.style(c,g,b.orig[g]);b.complete.call(c)}return false}else{c=d-this.startTime;this.state=c/b.duration;g=b.easing||(FBjqRY.easing.swing?"swing":"linear");this.pos=FBjqRY.easing[b.specialEasing&&b.specialEasing[this.prop]||g](this.state,c,0,1,b.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};
FBjqRY.extend(FBjqRY.fx,{tick:function(){for(var a=FBjqRY.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||FBjqRY.fx.stop()},stop:function(){clearInterval(J);J=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){FBjqRY.style(a.elem,"opacity",a.now)},_default:function(a){var b=a.elem,c=a.prop;if(b.getStyle&&b.getStyle(c)!=null)b.setStyle(c,(c==="width"||c==="height"?Math.max(0,a.now):a.now)+a.unit);else b[a.prop]=a.now}}});if(FBjqRY.expr&&FBjqRY.expr.filters)FBjqRY.expr.filters.animated=
function(a){return FBjqRY.grep(FBjqRY.timers,function(b){return a===b.elem}).length};FBjqRY.fn.offset=function(a){var b=this.nodes[0];if(a)return this.each(function(c){FBjqRY.offset.setOffset(this,a,c)});if(!b)return null;return{top:b.getAbsoluteTop(),left:b.getAbsoluteLeft()}};FBjqRY.offset={initialize:function(){var a=document.getRootElement(),b=document.createElement("div"),c,d,e=parseFloat(FBjqRY.curCSS(a,"marginTop",true))||0;b.setStyle({position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",
height:"1px",visibility:"hidden"});b.setInnerXHTML("<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div>");a.insertBefore(b,a.getFirstChild());c=b.getFirstChild();d=c.getFirstChild();this.doesNotAddBorder=d.getOffsetTop()!==5;d.setStyle("position","fixed");d.setStyle("top","20px");this.supportsFixedPosition=d.getOffsetTop()===20||d.getOffsetTop()===15;d.setStyle("position","");d.setStyle("top","");c.setStyle("overflow","hidden");
c.setStyle("position","relative");this.subtractsBorderForOverflowNotVisible=d.getOffsetTop()===-5;this.doesNotIncludeMarginInBodyOffset=a.getOffsetTop()!==e;a.removeChild(b);FBjqRY.offset.initialize=FBjqRY.noop},setOffset:function(a,b,c){var d=FBjqRY.curCSS(a,"position");d==="static"&&a.setStyle("position","relative");var e=FBjqRY(a),f=e.offset(),g=FBjqRY.curCSS(a,"top",true),h=FBjqRY.curCSS(a,"left",true),i=d==="absolute"&&FBjqRY.inArray("auto",[g,h])>-1;d={};var l={};if(i)l=e.position();g=i?l.top:
parseInt(g,10)||0;h=i?l.left:parseInt(h,10)||0;if(FBjqRY.isFunction(b))b=b.call(a,c,f);if(b.top!=null)d.top=b.top-f.top+g;if(b.left!=null)d.left=b.left-f.left+h;"using"in b?b.using.call(a,d):e.css(d)}};FBjqRY.fn.extend({position:function(){var a=this.nodes[0];if(!a)return null;var b=this.offsetParent(),c=this.offset(),d=b.offset();c.top-=parseFloat(FBjqRY.curCSS(a,"marginTop",true))||0;c.left-=parseFloat(FBjqRY.curCSS(a,"marginLeft",true))||0;d.top+=parseFloat(FBjqRY.curCSS(b[0],"borderTopWidth",
true))||0;d.left+=parseFloat(FBjqRY.curCSS(b[0],"borderLeftWidth",true))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){for(var a=document.getRootElement(),b=this.getParentNode(),c=FBjqRY.css(b,"position");b&&!sameNode(a,b)&&c==="static"||c!=="absolute"&&c!=="relative";){b=b.getParentNode();c=FBjqRY.css(b,"position")}return b||a})}});FBjqRY.each(["Left","Top"],function(a,b){var c="getScroll"+b,d="setScroll"+b,e="scroll"+b;FBjqRY.fn[e]=function(f){var g=
this.nodes[0],h;if(!g)return null;if(f!==undefined)return this.each(function(){(h=null)?h.scrollTo(!a?f:FBjqRY(h).scrollLeft(),a?f:FBjqRY(h).scrollTop()):this[d](f)});else return(h=null)?"pageXOffset"in h?h[a?"pageYOffset":"pageXOffset"]:FBjqRY.support.boxModel&&h.document.documentElement[e]||h.document.body[e]:g[c]()}})})();var jQuery=FBjqRY,$=FBjqRY;