if (typeof jQuery == "undefined") {
(function (window, undefined) {
var rootjQuery,
readyList,
document = window.document,
location = window.location,
navigator = window.navigator,
_jQuery = window.jQuery,
_$ = window.$,
core_push = Array.prototype.push,
core_slice = Array.prototype.slice,
core_indexOf = Array.prototype.indexOf,
core_toString = Object.prototype.toString,
core_hasOwn = Object.prototype.hasOwnProperty,
core_trim = String.prototype.trim,
jQuery = function (selector, context) {
return new jQuery
.fn
.init(selector, context, rootjQuery);
},
core_pnum = /[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,
core_rnotwhite = /\S/,
core_rspace = /\s+/,
rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
rquickExpr = /^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,
rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>|)$/,
rvalidchars = /^[\],:{}\s]*$/,
rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g,
rvalidescape = /\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,
rvalidtokens = /"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,
rmsPrefix = /^-ms-/,
rdashAlpha = /-([\da-z])/gi,
fcamelCase = function (all, letter) {
return (letter + "").toUpperCase();
},
DOMContentLoaded = function () {
if (document.addEventListener) {
document.removeEventListener("DOMContentLoaded", DOMContentLoaded, false);
jQuery.ready();
} else if (document.readyState === "complete") {
document.detachEvent("onreadystatechange", DOMContentLoaded);
jQuery.ready();
}
},
class2type = {};
jQuery.fn = jQuery.prototype = {
constructor: jQuery,
each : function (callback, args) {
return jQuery.each(this, callback, args);
},
end : function () {
return this.prevObject || this.constructor(null);
},
eq : function (i) {
i =+ i;
return i === -1
? this.slice(i)
: this.slice(i, i + 1);
},
first : function () {
return this.eq(0);
},
get : function (num) {
return num == null
? this.toArray()
: (num < 0
? this[this.length + num]
: this[num]);
},
init : function (selector, context, rootjQuery) {
var match,
elem,
ret,
doc;
if (!selector) {
return this;
}
if (selector.nodeType) {
this.context = this[0] = selector;
this.length = 1;
return this;
}
if (typeof selector === "string") {
if (selector.charAt(0) === "<" && selector.charAt(selector.length - 1) === ">" && selector.length >= 3) {
match = [null, selector, null];
} else {
match = rquickExpr.exec(selector);
}
if (match && (match[1] || !context)) {
if (match[1]) {
context = context instanceof jQuery
? context[0]
: context;
doc = (context && context.nodeType
? context.ownerDocument || context
: document);
selector = jQuery.parseHTML(match[1], doc, true);
if (rsingleTag.test(match[1]) && jQuery.isPlainObject(context)) {
this
.attr
.call(selector, context, true);
}
return jQuery.merge(this, selector);
} else {
elem = document.getElementById(match[2]);
if (elem && elem.parentNode) {
if (elem.id !== match[2]) {
return rootjQuery.find(selector);
}
this.length = 1;
this[0] = elem;
}
this.context = document;
this.selector = selector;
return this;
}
} else if (!context || context.jquery) {
return (context || rootjQuery).find(selector);
} else {
return this
.constructor(context)
.find(selector);
}
} else if (jQuery.isFunction(selector)) {
return rootjQuery.ready(selector);
}
if (selector.selector !== undefined) {
this.selector = selector.selector;
this.context = selector.context;
}
return jQuery.makeArray(selector, this);
},
jquery : "1.8.2",
last : function () {
return this.eq(-1);
},
length : 0,
map : function (callback) {
return this.pushStack(jQuery.map(this, function (elem, i) {
return callback.call(elem, i, elem);
}));
},
push : core_push,
pushStack : function (elems, name, selector) {
var ret = jQuery.merge(this.constructor(), elems);
ret.prevObject = this;
ret.context = this.context;
if (name === "find") {
ret.selector = this.selector + (this.selector
? " "
: "") + selector;
} else if (name) {
ret.selector = this.selector + "." + name + "(" + selector + ")";
}
return ret;
},
ready : function (fn) {
jQuery
.ready
.promise()
.done(fn);
return this;
},
selector : "",
size : function () {
return this.length;
},
slice : function () {
return this.pushStack(core_slice.apply(this, arguments), "slice", core_slice.call(arguments).join(","));
},
sort : [].sort,
splice : [].splice,
toArray : function () {
return core_slice.call(this);
}
};
jQuery.fn.init.prototype = jQuery.fn;
jQuery.extend = jQuery.fn.extend = function () {
var options,
name,
src,
copy,
copyIsArray,
clone,
target = arguments[0] || {},
i = 1,