
/*!
 * lhgcore JavaScript Library v1.4.1
 * Date: 2010-04-16 08:40:11 
 * Copyright (c) 2009 - 2010 By Li Hui Gang
 */
(function (t, x) {
	var f = function (a, b) {
		return new f.fn.init(a, b);
	}, k = t.document, ra = Array.prototype.push, sa = Array.prototype.slice, R = Object.prototype.toString, S = Object.prototype.hasOwnProperty, Z = false, L = [], J, ta = /^#[\w-]+$/, ua = /^(\s|\u00A0)+|(\s|\u00A0)+$/g;
	f.fn = f.prototype = {init:function (a, b) {
		if (!a) {
			return this;
		}
		if (a.nodeType) {
			this[0] = a;
			this.length = 1;
			return this;
		}
		var c;
		b = b || k;
		if (typeof a === "string") {
			if (a.indexOf("<") === 0) {
				b = b.ownerDocument || b;
				if (c = va.exec(a)) {
					a = [b.createElement(c[1])];
				} else {
					c = $([a], [b]);
					a = (c.cacheable ? c.fragment.cloneNode(true) : c.fragment).childNodes;
				}
			} else {
				if (ta.test(a) && b.nodeType === 9) {
					a = a.slice(1);
					if (c = b.getElementById(a)) {
						if (c.id !== a) {
							c = b.all[a];
						}
						this.length = 1;
						this[0] = c;
					}
					return this;
				} else {
					a = f.find(a, b);
				}
			}
		} else {
			if (T(a)) {
				return wa.ready(a);
			}
		}
		return this.setArray(M(a) ? a : K(a));
	}, lhgren:"LiHuiGang", setArray:function (a) {
		this.length = 0;
		ra.apply(this, a);
		return this;
	}, each:function (a) {
		return f.each(this, a);
	}, get:function (a) {
		return a === x ? sa.call(this) : this[a];
	}, eq:function (a) {
		return this.setArray([this[a]]);
	}, bind:function (a, b) {
		for (var c = 0, d = this.length; c < d; c++) {
			f.event.add(this[c], a, b);
		}
		return this;
	}, unbind:function (a, b) {
		for (var c = 0, d = this.length; c < d; c++) {
			f.event.remove(this[c], a, b);
		}
		return this;
	}, hover:function (a, b) {
		return this.mouseover(a).mouseout(b);
	}, html:function (a) {
		if (a === x) {
			return this[0] ? this[0].innerHTML : null;
		} else {
			if (typeof a === "string" && !xa.test(a)) {
				for (var b = 0, c = this.length; b < c; b++) {
					if (this[b].nodeType === 1) {
						P(this[b].getElementsByTagName("*"));
						this[b].innerHTML = a;
					}
				}
			} else {
				this.empty().append(a);
			}
		}
		return this;
	}, text:function (a) {
		if (a === x) {
			return this[0] ? this[0].innerText ? this[0].innerText : this[0].textContent : null;
		} else {
			for (var b = 0, c = this.length; b < c; b++) {
				this[b].innerText ? (this[b].innerText = a) : (this[b].textContent = a);
			}
		}
		return this;
	}, val:function (a) {
		if (a === x) {
			var b = this[0];
			if (b) {
				if (F(b, "option")) {
					return (b.attributes.value || {}).specified ? b.value : b.text;
				}
				if (F(b, "select")) {
					a = b.selectedIndex;
					var c = [], d = b.options, g = b.type == "select-one";
					if (a < 0) {
						return null;
					}
					b = g ? a : 0;
					for (var h = g ? a + 1 : d.length; b < h; b++) {
						if (d[b].selected) {
							a = f(d[b]).val();
							if (g) {
								return a;
							}
							c.push(a);
						}
					}
					return c;
				}
				return (b.value || "").replace(/\r/g, "");
			}
			return x;
		}
		if (typeof a === "number") {
			a += "";
		}
		b = 0;
		d = this.length;
		for (var i; b < d; b++) {
			i = this[b];
			if (F(i, "select")) {
				c = K(a);
				f("option", i).each(function () {
					i.selected = U(i.value, c) >= 0 || U(i.text, c) >= 0;
				});
				if (!c.length) {
					i.selectedIndex = -1;
				}
			} else {
				i.value = a;
			}
		}
		return this;
	}, css:function (a, b) {
		return aa(this, a, b, "css");
	}, attr:function (a, b) {
		return aa(this, a, b, "attr");
	}, addClass:function (a) {
		for (var b = 0, c = this.length, d, g = (a || "").split(ba); b < c; b++) {
			d = this[b];
			if (d.className) {
				for (var h = " " + d.className + " ", i = 0, m = g.length; i < m; i++) {
					if (h.indexOf(" " + g[i] + " ") < 0) {
						d.className += " " + g[i];
					}
				}
			} else {
				d.className = a;
			}
		}
		return this;
	}, removeClass:function (a) {
		for (var b = 0, c = this.length, d, g = (a || "").split(ba); b < c; b++) {
			d = this[b];
			if (a) {
				for (var h = (" " + d.className + " ").replace(ya, " "), i = 0, m = g.length; i < m; i++) {
					h = h.replace(" " + g[i] + " ", " ");
				}
				d.className = h.substring(1, h.length - 1);
			} else {
				d.className = "";
			}
		}
		return this;
	}, removeAttr:function (a) {
		for (var b = 0, c = this.length; b < c; b++) {
			f.attr(this[b], a, "");
			this[b].nodeType === 1 && this[b].removeAttribute(a);
		}
		return this;
	}, remove:function () {
		for (var a = 0, b = this.length, c; a < b; a++) {
			c = this[a];
			if (c.nodeType === 1) {
				P(c.getElementsByTagName("*"));
				P([c]);
			}
			c.parentNode && c.parentNode.removeChild(c);
		}
		return this;
	}, empty:function () {
		for (var a = 0, b = this.length, c; a < b; a++) {
			c = this[a];
			for (c.nodeType === 1 && P(c.getElementsByTagName("*")); c.firstChild; ) {
				c.removeChild(c.firstChild);
			}
		}
		return this;
	}, map:function (a) {
		return this.setArray(V(this, function (b, c) {
			return a.call(b, c, b);
		}));
	}, filter:function (a) {
		return this.setArray(za(this, function (b, c) {
			return a.call(b, c, b);
		}));
	}, is:function (a) {
		if (!a) {
			return false;
		}
		a = f.find(a, this[0].ownerDocument || this[0]);
		for (var b = 0, c = this.length; b < c; b++) {
			if (U(this[b], a) >= 0) {
				return true;
			}
		}
		return false;
	}, append:function () {
		return this.insert(arguments, true, function (a) {
			this.nodeType === 1 && this.appendChild(a);
		});
	}, prepend:function () {
		return this.insert(arguments, true, function (a) {
			this.nodeType === 1 && this.insertBefore(a, this.firstChild);
		});
	}, before:function () {
		return this.insert(arguments, false, function (a) {
			this.parentNode.insertBefore(a, this);
		});
	}, after:function () {
		return this.insert(arguments, false, function (a) {
			this.parentNode.insertBefore(a, this.nextSibling);
		});
	}, insert:function (a, b, c) {
		function d(y, p) {
			return b && F(y, "table") && F(p, "tr") ? y.getElementsByTagName("tbody")[0] || y.appendChild(y.ownerDocument.createElement("tbody")) : y;
		}
		var g;
		g = a[0];
		var h = [], i;
		if (this[0]) {
			a = (g = g && g.parentNode) && g.nodeType === 11 && g.childNodes.length === this.length ? {fragment:g} : $(a, this, h);
			i = a.fragment;
			if (g = i.childNodes.length === 1 ? (i = i.firstChild) : i.firstChild) {
				b = b && F(g, "tr");
				for (var m = 0, z = this.length; m < z; m++) {
					c.call(b ? d(this[m], g) : this[m], this.length > 1 || a.cacheable || m > 0 ? i.cloneNode(true) : i);
				}
			}
			h.length > 0 && f.each(h, Aa);
		}
		return this;
	}, ready:function (a) {
		f.bindReady();
		if (f.isReady) {
			a.call(k, f);
		} else {
			L && L.push(a);
		}
		return this;
	}};
	f.fn.init.prototype = f.fn;
	f.isPlainObject = function (a) {
		if (!a || R.call(a) !== "[object Object]" || a.nodeType || a.setInterval) {
			return false;
		}
		if (a.constructor && !S.call(a, "constructor") && !S.call(a.constructor.prototype, "isPrototypeOf")) {
			return false;
		}
		var b;
		for (b in a) {
		}
		return b === x || S.call(a, b);
	};
	f.extend = f.fn.extend = function () {
		var a = arguments[0] || {}, b = 1, c;
		if (arguments.length === b) {
			a = this;
			--b;
		}
		b = arguments[b];
		for (var d in b) {
			c = b[d];
			if (a !== c) {
				a[d] = f.isPlainObject(c) && !M(c) ? arguments.callee(a[d] || {}, c) : c;
			}
		}
		return a;
	};
	f.extend({isFunction:function (a) {
		return R.call(a) === "[object Function]";
	}, isArray:function (a) {
		return R.call(a) === "[object Array]";
	}, trim:function (a) {
		return (a || "").replace(ua, "");
	}, globalEval:function (a) {
		if (a && /\S/.test(a)) {
			var b = k.getElementsByTagName("head")[0] || k.documentElement, c = k.createElement("script");
			c.type = "text/javascript";
			if (G.ie) {
				c.text = a;
			} else {
				c.appendChild(k.createTextNode(a));
			}
			b.insertBefore(c, b.firstChild);
			b.removeChild(c);
		}
	}, now:function () {
		return (new Date).getTime();
	}, nodeName:function (a, b) {
		return a.nodeName && a.nodeName.toUpperCase() == b.toUpperCase();
	}, root:function (a) {
		a = a || k;
		return a.compatMode === "CSS1Compat" ? a.documentElement : a.body;
	}, each:function (a, b) {
		var c, d = 0, g = a.length;
		if (g === x) {
			for (c in a) {
				if (b.call(a[c], c, a[c]) === false) {
					break;
				}
			}
		} else {
			for (c = a[0]; d < g && b.call(c, d, c) !== false; c = a[++d]) {
			}
		}
		return a;
	}, isReady:false, ready:function () {
		if (!f.isReady) {
			if (!k.body) {
				return setTimeout(f.ready, 13);
			}
			f.isReady = true;
			if (L) {
				for (var a, b = 0; a = L[b++]; ) {
					a.call(k, f);
				}
				L = null;
			}
		}
	}, bindReady:function () {
		if (!Z) {
			Z = true;
			if (k.readyState === "complete") {
				return f.ready();
			}
			if (k.addEventListener) {
				k.addEventListener("DOMContentLoaded", J, false);
				t.addEventListener("load", f.ready, false);
			} else {
				if (k.attachEvent) {
					k.attachEvent("onreadystatechange", J);
					t.attachEvent("onload", f.ready);
					var a = false;
					try {
						a = t.frameElement == null;
					}
					catch (b) {
					}
					k.documentElement.doScroll && a && ca();
				}
			}
		}
	}});
	f.extend({toArray:function (a) {
		var b = [];
		if (a != null) {
			var c = a.length;
			if (c == null || typeof a === "string" || T(a) || a.setInterval) {
				b[0] = a;
			} else {
				for (; c; ) {
					b[--c] = a[c];
				}
			}
		}
		return b;
	}, inArray:function (a, b) {
		if (b.indexOf) {
			return b.indexOf(a);
		} else {
			for (var c = 0, d = b.length; c < d; c++) {
				if (b[c] === a) {
					return c;
				}
			}
			return -1;
		}
	}, grep:function (a, b, c) {
		for (var d = [], g = 0, h = a.length; g < h; g++) {
			!c != !b(a[g], g) && d.push(a[g]);
		}
		return d;
	}, map:function (a, b) {
		for (var c = [], d = 0, g = a.length; d < g; d++) {
			var h = b(a[d], d);
			if (h != null) {
				c[c.length] = h;
			}
		}
		return c.concat.apply([], c);
	}});
	(function () {
		var a = !!t.ActiveXObject;
		f.browser = {ie:a, i7:a && !!t.XMLHttpRequest, i8:a && !!k.querySelectorAll, op:!!t.opera, ff:!!t.Components, sa:!!t.openDatabase};
	})();
	var T = f.isFunction, M = f.isArray, F = f.nodeName, V = f.map, U = f.inArray, K = f.toArray, G = f.browser, za = f.grep, wa = f(k), ca = function () {
		if (!f.isReady) {
			try {
				k.documentElement.doScroll("left");
			}
			catch (a) {
				setTimeout(ca, 1);
				return;
			}
			f.ready();
		}
	};
	if (k.addEventListener) {
		J = function () {
			k.removeEventListener("DOMContentLoaded", J, false);
			f.ready();
		};
	} else {
		if (k.attachEvent) {
			J = function () {
				if (k.readyState === "complete") {
					k.detachEvent("onreadystatechange", J);
					f.ready();
				}
			};
		}
	}
	f.extend({cache:{guid:1, fuid:1, func:function (a) {
		return function () {
			f.event.handle.apply(f.cache[a].elem, arguments);
		};
	}}, event:{add:function (a, b, c) {
		var d = a.lhguid || (a.lhguid = f.cache.guid++);
		f.cache[d] || (f.cache[d] = {elem:a, listener:f.cache.func(d), events:{}});
		if (b && !f.cache[d].events[b]) {
			f.cache[d].events[b] = {};
			if (a.addEventListener) {
				a.addEventListener(b, f.cache[d].listener, false);
			} else {
				a.attachEvent && a.attachEvent("on" + b, f.cache[d].listener);
			}
		}
		if (c) {
			if (!c.fuid) {
				c.fuid = f.cache.fuid++;
			}
			f.cache[d].events[b][c.fuid] = c;
		}
	}, remove:function (a, b, c) {
		var d, g, h = f.cache ? f.cache[a.lhguid] : x;
		if (h) {
			d = h.events;
			if (b === x) {
				for (b in d) {
					f.event.remove(a, b);
				}
			} else {
				if (d[b]) {
					if (c) {
						delete d[b][c.fuid];
					} else {
						for (var i in d[b]) {
							delete d[b][i];
						}
					}
					for (g in d[b]) {
						break;
					}
					if (!g) {
						da(a, b, h.listener);
						g = null;
						delete d[b];
					}
				}
				for (g in d) {
					break;
				}
				if (!g) {
					delete f.cache[a.lhguid];
					W(a, ["lhguid"]);
				}
			}
		}
	}, handle:function (a) {
		a = a = f.event.fix(a || t.event);
		if (!a.currentTarget) {
			a.currentTarget = this;
		}
		var b = f.cache[this.lhguid].events[a.type];
		for (var c in b) {
			this.func = b[c];
			if (this.func(a) === false) {
				a.preventDefault();
				a.stopPropagation();
			}
		}
	}, fix:function (a) {
		if (!a.preventDefault) {
			a.preventDefault = Ba;
		}
		if (!a.stopPropagation) {
			a.stopPropagation = Ca;
		}
		if (!a.target) {
			a.target = a.srcElement || k;
		}
		if (a.pageX == null && a.clientX != null) {
			var b = k.documentElement, c = k.body;
			a.pageX = a.clientX + (b && b.scrollLeft || c && c.scrollLeft || 0) - (b.clientLeft || 0);
			a.pageY = a.clientY + (b && b.scrollTop || c && c.scrollTop || 0) - (b.clientTop || 0);
		}
		return a;
	}}});
	var Ba = function () {
		this.returnValue = false;
	}, Ca = function () {
		this.cancelBubble = true;
	}, W = function (a, b) {
		for (var c = 0, d = b.length; c < d; c++) {
			try {
				delete a[b[c]];
			}
			catch (g) {
				a.removeAttribute && a.removeAttribute(b[c]);
			}
		}
	}, da = k.removeEventListener ? function (a, b, c) {
		a.removeEventListener(b, c, false);
	} : function (a, b, c) {
		a.detachEvent("on" + b, c);
	}, P = function (a) {
		for (var b, c, d = f.cache, g = 0, h; (h = a[g]) != null; g++) {
			if (b = h.lhguid) {
				c = d[b];
				if (c.events) {
					for (var i in c.events) {
						da(h, i, c.listener);
					}
				}
				W(h, ["lhguid"]);
				delete d[b];
			}
		}
	};
	f.each("blur,focus,load,resize,scroll,unload,click,dblclick,contextmenu,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error".split(","), function (a, b) {
		f.fn[b] = function (c) {
			for (var d = 0, g = this.length; d < g; d++) {
				f.event.remove(this[d], b);
				this[d]["on" + b] = null;
				f.event.add(this[d], b, c);
			}
			return this;
		};
	});
	t.ActiveXObject && t.attachEvent("onunload", function () {
		for (var a in f.cache) {
			try {
				f.event.remove(f.cache[a].elem);
			}
			catch (b) {
			}
		}
	});
	(function () {
		var a = !!k.getElementsByClassName, b = !!k.querySelectorAll, c = /^[\w:.][\w-]*$/, d = / *, */, g = /([^[:.#]+)?(?:#([^[:.#]+))?(?:\.([^[:.]+))?(?:\[([^!&^*|$[:=]+)([!$^*|&]?=)?([^:\]]+)?\])?(?:\:([^(]+)(?:\(([^)]+)\))?)?/, h = /(-?)(\d*)n((?:\+|-)?\d*)/, i = /(~|>|\+)/, m = /(\([^)]*)\+/, z = /(\[[^\]]+)~/, y = / +/, p = {"":function (e, j) {
			return !!e.getAttribute(j);
		}, "=":function (e, j, l) {
			return (j = e.getAttribute(j)) && j === l;
		}, "^=":function (e, j, l) {
			return (j = e.getAttribute(j) + "") && !j.indexOf(l);
		}, "$=":function (e, j, l) {
			return (j = e.getAttribute(j) + "") && j.indexOf(l) == j.length - l.length;
		}, "*=":function (e, j, l) {
			return (j = e.getAttribute(j) + "") && j.indexOf(l) !== -1;
		}, "!=":function (e, j, l) {
			return !(j = e.getAttribute(j)) || !(new RegExp("(^| +)" + l + "($| +)")).test(j);
		}}, u = {"first-child":function (e) {
			return e.parentNode.getElementsByTagName("*")[0] === e;
		}, "last-child":function (e) {
			for (e = e; (e = e.nextSibling) && e.nodeType === 1; ) {
			}
			return !!e;
		}, "nth-child":function (e, j) {
			var l = j[1] + (j[2] || 1) - 0;
			j = j[3] - 0;
			var q = e.parentNode;
			if (q && !q.nodeIndex) {
				var n = 0, s = e;
				for (s = q.firstChild; s; s = s.nextSibling) {
					if (s.nodeType === 1) {
						s.nodeIndex = ++n;
					}
				}
			}
			e = e.nodeIndex - j;
			return l === 0 ? e === 0 : e % l === 0 && e / l >= 0;
		}, empty:function (e) {
			return !e.firstChild;
		}, parent:function (e) {
			return e.firstChild;
		}, checked:function (e) {
			return e.checked;
		}, enabled:function (e) {
			return !e.disabled && e.type !== "hidden";
		}, disabled:function (e) {
			return e.disabled;
		}, hidden:function (e) {
			return e.type === "hidden" || e.style.display === "none";
		}, visible:function (e) {
			return e.type !== "hidden" && e.style.display !== "none";
		}, selected:function (e) {
			return e.selected;
		}, radio:function (e) {
			return e.type === "radio";
		}, checkbox:function (e) {
			return e.type === "checkbox";
		}, text:function (e) {
			return e.type === "text";
		}, button:function (e) {
			return e.type === "button" || e.nodeName.toLowerCase() === "button";
		}};
		f.find = function (e, j) {
			j = j || k;
			var l = [];
			if (c.test(e) && j.nodeType) {
				var q = 0;
				switch (e.charAt(0)) {
				  case ".":
					var n = e.slice(1);
					if (a) {
						l = j.getElementsByClassName(n);
					} else {
						n = " " + n + " ";
						for (var s = j.getElementsByTagName("*"), H = 0; j = s[H++]; ) {
							if ((" " + j.className + " ").indexOf(n) !== -1) {
								l[q++] = j;
							}
						}
						l = q ? l : [];
					}
					break;
				  case ":":
					s = j.getElementsByTagName("*");
					H = 0;
					for (e = e.slice(1); j = s[H++]; ) {
						if (u[e] && u[e](j)) {
							l[q++] = j;
						}
					}
					l = q ? l : [];
					break;
				  default:
					l = j.getElementsByTagName(e);
					break;
				}
			} else {
				if (b) {
					try {
						return j.querySelectorAll(e);
					}
					catch (Qa) {
					}
				}
				for (var ea = e.split(d), fa = ea.length - 1, Da = !!fa, ga, ha, o, X, A, B, C, v, w, N, D, ia, r, O, Q, I; q = ea[fa--]; ) {
					ha = (ga = q.replace(m, "$1%").replace(z, "$1&").replace(i, " $1 ").split(y)).length;
					H = 0;
					X = " ";
					for (s = j.nodeType ? [j] : K(j); o = ga[H++]; ) {
						if (o !== " " && o !== ">" && o !== "~" && o !== "+" && s) {
							o = o.match(g);
							A = o[1] || "*";
							B = o[2];
							C = o[3] ? " " + o[3] + " " : "";
							v = o[4];
							w = o[5] || "";
							e = o[7];
							N = e === "nth-child" ? h.exec(o[8] === "even" && "2n" || o[8] === "odd" && "2n+1" || !/\D/.test(o[8]) && "0n+" + o[8] || o[8]) : o[8];
							D = [];
							q = ia = 0;
							for (O = H == ha; r = s[ia++]; ) {
								switch (X) {
								  case " ":
									Q = r.getElementsByTagName(A);
									for (I = 0; n = Q[I++]; ) {
										if ((!B || n.id === B) && (!C || (" " + n.className + " ").indexOf(C) !== -1) && (!v || p[w] && (p[w](n, v, o[6]) || v === "class" && p[w](n, "className", o[6]))) && !n.yeasss && (u[e] ? u[e](n, N) : !e)) {
											if (O) {
												n.yeasss = 1;
											}
											D[q++] = n;
										}
									}
									break;
								  case "~":
									for (A = A.toLowerCase(); (r = r.nextSibling) && !r.yeasss; ) {
										if (r.nodeType === 1 && (A === "*" || r.nodeName.toLowerCase() === A) && (!B || r.id === B) && (!C || (" " + r.className + " ").indexOf(C) !== -1) && (!v || p[w] && (p[w](n, v, o[6]) || v === "class" && p[w](n, "className", o[6]))) && !r.yeasss && (u[e] ? u[e](r, N) : !e)) {
											if (O) {
												r.yeasss = 1;
											}
											D[q++] = r;
										}
									}
									break;
								  case "+":
									for (; (r = r.nextSibling) && r.nodeType !== 1; ) {
									}
									if (r && (r.nodeName.toLowerCase() === A.toLowerCase() || A === "*") && (!B || r.id === B) && (!C || (" " + n.className + " ").indexOf(C) !== -1) && (!v || p[w] && (p[w](n, v, o[6]) || v === "class" && p[w](n, "className", o[6]))) && !r.yeasss && (u[e] ? u[e](r, N) : !e)) {
										if (O) {
											r.yeasss = 1;
										}
										D[q++] = r;
									}
									break;
								  case ">":
									Q = r.getElementsByTagName(A);
									for (I = 0; n = Q[I++]; ) {
										if (n.parentNode === r && (!B || n.id === B) && (!C || (" " + n.className + " ").indexOf(C) !== -1) && (!v || p[w] && (p[w](n, v, o[6]) || v === "class" && p[w](n, "className", o[6]))) && !n.yeasss && (u[e] ? u[e](n, N) : !e)) {
											if (O) {
												n.yeasss = 1;
											}
											D[q++] = n;
										}
									}
									break;
								}
							}
							s = D;
						} else {
							X = o;
						}
					}
					if (Da) {
						if (!s.concat) {
							D = [];
							for (I = 0; n = s[I]; ) {
								D[I++] = n;
							}
							s = D;
						}
						l = s.concat(l.length == 1 ? l[0] : l);
					} else {
						l = s;
					}
				}
				for (q = l.length; q--; ) {
					W(l[q], ["yeasss", "nodeIndex"]);
				}
			}
			return l;
		};
	})();
	var ja = k.defaultView || {}, ka = /href|src|style/, ba = /\s+/, ya = /[\n\t]/g, la = /float/i, ma = /-([a-z])/ig, Ea = /([A-Z])/g, na = {"class":"className", "for":"htmlFor"}, Fa = {"float":G.ie ? "styleFloat" : "cssFloat"}, oa = function (a, b) {
		return b.toUpperCase();
	}, aa = function (a, b, c, d) {
		var g = b, h = 0, i = a.length;
		if (typeof b === "string") {
			if (c === x) {
				d = d === "css" ? "getCSS" : "getAttr";
				return i ? f[d](a[0], b) : null;
			} else {
				g = {};
				g[b] = c;
			}
		}
		for (; h < i; h++) {
			for (b in g) {
				f[d](a[h], b, g[b]);
			}
		}
		return a;
	};
	f.extend({attr:function (a, b, c) {
		b = na[b] || b;
		if (ka.test(b)) {
			if (b == "style" && G.ie) {
				a.style.cssText = c;
			} else {
				a.setAttribute(b, "" + c);
			}
		} else {
			a[b] = c;
		}
	}, getAttr:function (a, b) {
		b = na[b] || b;
		var c = ka.test(b);
		if (c) {
			a = G.ie && c ? a.getAttribute(b, 2) : a.getAttribute(b);
			return a === null ? x : a;
		} else {
			if (F(a, "form") && a.getAttributeNode(b)) {
				return a.getAttributeNode(b).nodeValue;
			}
			return a[b];
		}
	}, css:function (a, b, c) {
		a = a.style;
		b = Fa[b] || b;
		if (G.ie && b == "opacity") {
			a.filter = (a.filter || "").replace(/alpha\([^)]*\)/, "") + (parseInt(c) + "" == "NaN" ? "" : "alpha(opacity=" + c * 100 + ")");
		} else {
			b = b.replace(ma, oa);
			a[b] = c;
		}
	}, getCSS:function (a, b) {
		var c, d = a.style;
		if (b == "opacity") {
			return G.ie ? d.filter && d.filter.indexOf("opacity=") >= 0 ? parseFloat(d.filter.match(/opacity=([^)]*)/)[1]) / 100 : 1 : d.opacity ? parseFloat(d.opacity) : 1;
		}
		if (la.test(b)) {
			b = f.props["float"];
		}
		if (d && d[b]) {
			c = d[b];
		} else {
			if (ja.getComputedStyle) {
				if (la.test(b)) {
					b = "float";
				}
				b = b.replace(Ea, "-$1").toLowerCase();
				if (a = ja.getComputedStyle(a, null)) {
					c = a.getPropertyValue(b);
				}
			} else {
				if (a.currentStyle) {
					c = b.replace(ma, oa);
					c = a.currentStyle[b] || a.currentStyle[c];
				}
			}
		}
		return c;
	}});
	var va = /^<(\w+)\s*\/?>(?:<\/\1>)?$/, Ga = /(<([\w:]+)[^>]*?)\/>/g, Ha = /<|&\w+;/, Ia = /<([\w:]+)/, xa = /<script|<object|<embed|<option|<style/i, Ja = /^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i, Ka = function (a, b, c) {
		return Ja.test(c) ? a : b + "></" + c + ">";
	}, E = {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>"], rdefault:[0, "", ""]};
	E.tbody = E.caption = E.thead;
	E.th = E.td;
	if (G.ie) {
		E.link = E.script = [1, "div<div>", "</div>"];
	}
	var La = function (a, b, c, d) {
		b = b || k;
		if (typeof b.createElement === "undefined") {
			b = b.ownerDocument || b[0] && b[0].ownerDocument || k;
		}
		for (var g = [], h = 0, i = a.length, m; h < i; h++) {
			m = a[h];
			if (!m) {
				return;
			}
			if (typeof m === "string" && !Ha.test(m)) {
				m = b.createTextNode(m);
			} else {
				if (typeof m === "string") {
					m = m.replace(Ga, Ka);
					var z = (Ia.exec(m) || ["", ""])[1].toLowerCase();
					z = E[z] || E.rdefault;
					var y = z[0], p = b.createElement("div");
					for (p.innerHTML = z[1] + m + z[2]; y--; ) {
						p = p.lastChild;
					}
					G.ie && /^\s+/.test(m) && p.insertBefore(b.createTextNode(/^\s+/.exec(m)[0]), p.firstChild);
					m = K(p.childNodes);
				}
			}
			if (m.nodeType) {
				g.push(m);
			} else {
				g = g.concat(m);
			}
		}
		if (c) {
			for (h = 0; g[h]; h++) {
				if (d && F(g[h], "script") && (!g[h].type || g[h].type.toLowerCase() === "text/javascript")) {
					d.push(g[h].parentNode ? g[h].parentNode.removeChild(g[h]) : g[h]);
				} else {
					g[h].nodeType === 1 && g.splice.apply(g, [h + 1, 0].concat(K(g[h].getElementsByTagName("script"))));
					c.appendChild(g[h]);
				}
			}
		}
		return g;
	}, $ = function (a, b, c) {
		var d, g, h;
		b = b[0].ownerDocument || b[0];
		if (a.length === 1 && typeof a[0] === "string" && b === k) {
			g = true;
			if (h = f.fragments[a[0]]) {
				if (h !== 1) {
					d = h;
				}
			}
		}
		if (!d) {
			d = b.createDocumentFragment();
			La(a, b, d, c);
		}
		if (g) {
			f.fragments[a[0]] = h ? d : 1;
		}
		return {fragment:d, cacheable:g};
	};
	f.fragments = {};
	f.each({appendTo:"append", prependTo:"prepend", insertBefore:"before", insertAfter:"after"}, function (a, b) {
		f.fn[a] = function (c) {
			c = f(c, this[0].ownerDocument || this[0]);
			for (var d = 0, g = this.length; d < g; d++) {
				c[b](this[d]);
			}
			return this;
		};
	});
	var Aa = function (a, b) {
		b.src ? f.ajax({url:b.src, async:false, dataType:"script"}) : f.globalEval(b.text || b.textContent || b.innerHTML || "");
		b.parentNode && b.parentNode.removeChild(b);
	}, Y = function (a, b) {
		var c = [];
		for (a = a[b]; a && a != k; ) {
			a.nodeType === 1 && c.push(a);
			a = a[b];
		}
		return c;
	}, pa = function (a, b, c) {
		b = b || 1;
		for (var d = 0; a; a = a[c]) {
			if (a.nodeType == 1 && ++d == b) {
				break;
			}
		}
		return a;
	}, qa = function (a, b) {
		for (var c = []; a; a = a.nextSibling) {
			a.nodeType == 1 && a != b && c.push(a);
		}
		return c;
	};
	f.each({parent:function (a) {
		return a.parentNode;
	}, parents:function (a) {
		return Y(a, "parentNode");
	}, next:function (a) {
		return pa(a, 2, "nextSibling");
	}, prev:function (a) {
		return pa(a, 2, "previousSibling");
	}, nextAll:function (a) {
		return Y(a, "nextSibling");
	}, prevAll:function (a) {
		return Y(a, "previousSibling");
	}, siblings:function (a) {
		return qa(a.parentNode.firstChild, a);
	}, children:function (a) {
		return qa(a.firstChild);
	}}, function (a, b) {
		f.fn[a] = function (c) {
			var d = V(this, b), g = [];
			if (c && typeof c === "string") {
				for (var h = 0, i = d.length; h < i; h++) {
					f(d[h]).is(c) && g.push(d[h]);
				}
				d = g;
			}
			return this.setArray(d);
		};
	});
	var Ma = /select|textarea/i, Na = /text|hidden|password|search/i, Oa = /(\?|&)_=.*?(&|$)/, Pa = /%20/g;
	f.fn.extend({serialize:function () {
		return f.param(this.serializeArray());
	}, serializeArray:function () {
		return this.map(function () {
			return this.elements ? K(this.elements) : this;
		}).filter(function () {
			return this.name && !this.disabled && (this.checked || Ma.test(this.nodeName) || Na.test(this.type));
		}).map(function () {
			var a = f(this).val();
			return a == null ? null : M(a) ? V(a, function (b) {
				return {name:elem.name, value:b};
			}) : {name:elem.name, value:a};
		}).get();
	}});
	f.extend({ajaxSet:{url:location.href, type:"GET", contentType:"application/x-www-form-urlencoded", async:true, xhr:function () {
		return t.ActiveXObject ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest;
	}, accepts:{xml:"application/xml, text/xml", html:"text/html", script:"text/javascript, application/javascript", json:"application/json, text/javascript", text:"text/plain", rdefault:"*/*"}}, ajax:function (a) {
		function b() {
			a.success && a.success(g, d);
		}
		function c() {
			a.complete && a.complete(e, d);
		}
		a = f.extend(f.ajaxSet, a);
		var d, g, h = a.type.toUpperCase();
		if (a.data && typeof a.data !== "string") {
			a.data = f.param(a.data);
		}
		if (a.dataType == "script" && a.cache == null) {
			a.cache = false;
		}
		if (a.cache === false && h == "GET") {
			var i = f.now(), m = a.url.replace(Oa, "$1_=" + i + "$2");
			a.url = m + (m == a.url ? (a.url.match(/\?/) ? "&" : "?") + "_=" + i : "");
		}
		if (a.data && h == "GET") {
			a.url += (a.url.match(/\?/) ? "&" : "?") + a.data;
			a.data = null;
		}
		i = /^(\w+:)?\/\/([^\/?#]+)/.exec(a.url);
		if (a.dataType == "script" && h == "GET" && i && (i[1] && i[1] != location.protocol || i[2] != location.host)) {
			var z = false, y = k.getElementsByTagName("head")[0], p = k.createElement("script");
			p.onload = p.onreadystatechange = function () {
				if (!z && (!this.readyState || this.readyState == "loaded" || this.readyState == "complete")) {
					z = true;
					b();
					c();
					p.onload = p.onreadystatechange = null;
					y.removeChild(p);
				}
			};
			y.appendChild(p);
			return x;
		}
		var u = false, e = a.xhr();
		a.username ? e.open(h, a.url, a.async, a.username, a.password) : e.open(h, a.url, a.async);
		try {
			a.data && e.setRequestHeader("Content-Type", a.contentType);
			e.setRequestHeader("X-Requested-With", "XMLHttpRequest");
			e.setRequestHeader("Accept", a.dataType && a.accepts[a.dataType] ? a.accepts[a.dataType] + ", */*" : a.accepts.rdefault);
		}
		catch (j) {
		}
		if (a.beforeSend && a.beforeSend(e, a) === false) {
			e.abort();
			return false;
		}
		var l = function (s) {
			if (e.readyState == 0) {
				if (q) {
					clearInterval(q);
					q = null;
				}
			} else {
				if (!u && e && (e.readyState == 4 || s == "timeout")) {
					u = true;
					if (q) {
						clearInterval(q);
						q = null;
					}
					d = s == "timeout" ? "timeout" : !f.httpSuccess(e) ? "error" : "success";
					if (d == "success") {
						try {
							g = f.httpData(e, a.dataType, a);
						}
						catch (H) {
							d = "parsererror";
						}
					}
					d == "success" ? b() : f.handleError(a, e, d);
					c();
					s && e.abort();
					if (a.async) {
						e = null;
					}
				}
			}
		};
		if (a.async) {
			var q = setInterval(l, 13);
			a.timeout > 0 && setTimeout(function () {
				e && !u && l("timeout");
			}, a.timeout);
		}
		try {
			e.send(a.data);
		}
		catch (n) {
			f.handleError(a, e, null, n);
		}
		a.async || l();
		return e;
	}, handleError:function (a, b, c, d) {
		a.error && a.error(b, c, d);
	}, httpSuccess:function (a) {
		try {
			return !a.status && location.protocol == "file:" || a.status >= 200 && a.status < 300 || a.status == 304 || a.status == 1223;
		}
		catch (b) {
		}
		return false;
	}, httpData:function (a, b) {
		var c = a.getResponseHeader("content-type");
		a = (c = b == "xml" || !b && c && c.indexOf("xml") >= 0) ? a.responseXML : a.responseText;
		if (c && a.documentElement.tagName == "parsererror") {
			throw "parsererror";
		}
		if (typeof a === "string") {
			b == "script" && f.globalEval(a);
			if (b == "json") {
				a = t.eval("(" + a + ")");
			}
		}
		return a;
	}, param:function (a) {
		function b(i, m) {
			c[c.length] = encodeURIComponent(i) + "=" + encodeURIComponent(m);
		}
		var c = [];
		if (M(a) || a.lhgren) {
			for (var d = 0, g = a.length; d < g; d++) {
				b(this[d].name, this[d].value);
			}
		} else {
			for (var h in a) {
				if (M(a[h])) {
					d = 0;
					for (g = a[h].length; d < g; d++) {
						b(h, a[h][d]);
					}
				} else {
					b(h, T(a[h]) ? a[h]() : a[h]);
				}
			}
		}
		return c.join("&").replace(Pa, "+");
	}});
	t.lhgcore = t.J = f;
})(window);


