/* b1e93600b7d1f7270c7d267233a31ec8 */
var a;
(function(b,f){function h(){if(!e.isReady){try{w.documentElement.doScroll("left")}catch(c){setTimeout(h,1);return}e.ready()}}function q(c,d){d.src?e.ajax({url:d.src,async:false,dataType:"script"}):e.globalEval(d.text||d.textContent||d.innerHTML||"");d.parentNode&&d.parentNode.removeChild(d)}function B(c,d,g,l,j,x){var y=c.length;if(typeof d==="object"){for(var P in d)B(c,P,d[P],l,j,g);return c}if(g!==f){l=!x&&l&&e.isFunction(g);for(P=0;P<y;P++)j(c[P],d,l?g.call(c[P],P,j(c[P],d)):g,x);return c}return y?j(c[0],
d):f}function o(){return(new Date).getTime()}function m(){return false}function t(){return true}function r(c,d,g){g[0].type=c;return e.event.handle.apply(d,g)}function u(c){var d,g=[],l=[],j=arguments,x,y,P,E,O,Z;y=e.data(this,"events");if(!(c.liveFired===this||!y||!y.live||c.button&&c.type==="click")){c.liveFired=this;var ja=y.live.slice(0);for(E=0;E<ja.length;E++){y=ja[E];y.origType.replace(V,"")===c.type?l.push(y.selector):ja.splice(E--,1)}x=e(c.target).closest(l,c.currentTarget);O=0;for(Z=x.length;O<
Z;O++)for(E=0;E<ja.length;E++){y=ja[E];if(x[O].selector===y.selector){P=x[O].elem;l=null;if(y.preType==="mouseenter"||y.preType==="mouseleave")l=e(c.relatedTarget).closest(y.selector)[0];if(!l||l!==P)g.push({elem:P,handleObj:y})}}O=0;for(Z=g.length;O<Z;O++){x=g[O];c.currentTarget=x.elem;c.data=x.handleObj.data;c.handleObj=x.handleObj;if(x.handleObj.origHandler.apply(x.elem,j)===false){d=false;break}}return d}}function G(c,d){return"live."+(c&&c!=="*"?c+".":"")+d.replace(/\./g,"`").replace(/ /g,"&")}
function J(c){return!c||!c.parentNode||c.parentNode.nodeType===11}function D(c,d){var g=0;d.each(function(){if(this.nodeName===(c[g]&&c[g].nodeName)){var l=e.data(c[g++]),j=e.data(this,l);if(l=l&&l.events){delete j.handle;j.events={};for(var x in l)for(var y in l[x])e.event.add(this,x,l[x][y],l[x][y].data)}}})}function aa(c,d,g){var l,j,x;d=d&&d[0]?d[0].ownerDocument||d[0]:w;if(c.length===1&&typeof c[0]==="string"&&c[0].length<512&&d===w&&!Za.test(c[0])&&(e.support.checkClone||!$a.test(c[0]))){j=
true;if(x=e.fragments[c[0]])if(x!==1)l=x}if(!l){l=d.createDocumentFragment();e.clean(c,d,l,g)}if(j)e.fragments[c[0]]=x?l:1;return{fragment:l,cacheable:j}}function Q(c,d){var g={};e.each(ab.concat.apply([],ab.slice(0,d)),function(){g[this]=c});return g}function R(c){return"scrollTo"in c&&c.document?c:c.nodeType===9?c.defaultView||c.parentWindow:false}var e=function(c,d){return new e.fn.init(c,d)},s=b.jQuery,I=b.$,w=b.document,k,C=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,H=/^.[^:#\[\.,]*$/,W=/\S/,N=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,
ca=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,ga=navigator.userAgent,$=false,X=[],da,la=Object.prototype.toString,va=Object.prototype.hasOwnProperty,pa=Array.prototype.push,ma=Array.prototype.slice,za=Array.prototype.indexOf;e.fn=e.prototype={init:function(c,d){var g,l;if(!c)return this;if(c.nodeType){this.context=this[0]=c;this.length=1;return this}if(c==="body"&&!d){this.context=w;this[0]=w.body;this.selector="body";this.length=1;return this}if(typeof c==="string")if((g=C.exec(c))&&(g[1]||!d))if(g[1]){l=d?d.ownerDocument||
d:w;if(c=ca.exec(c))if(e.isPlainObject(d)){c=[w.createElement(c[1])];e.fn.attr.call(c,d,true)}else c=[l.createElement(c[1])];else{c=aa([g[1]],[l]);c=(c.cacheable?c.fragment.cloneNode(true):c.fragment).childNodes}return e.merge(this,c)}else{if(d=w.getElementById(g[2])){if(d.id!==g[2])return k.find(c);this.length=1;this[0]=d}this.context=w;this.selector=c;return this}else if(!d&&/^\w+$/.test(c)){this.selector=c;this.context=w;c=w.getElementsByTagName(c);return e.merge(this,c)}else return!d||d.jquery?
(d||k).find(c):e(d).find(c);else if(e.isFunction(c))return k.ready(c);if(c.selector!==f){this.selector=c.selector;this.context=c.context}return e.makeArray(c,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return ma.call(this,0)},get:function(c){return c==null?this.toArray():c<0?this.slice(c)[0]:this[c]},pushStack:function(c,d,g){var l=e();e.isArray(c)?pa.apply(l,c):e.merge(l,c);l.prevObject=this;l.context=this.context;if(d==="find")l.selector=this.selector+
(this.selector?" ":"")+g;else if(d)l.selector=this.selector+"."+d+"("+g+")";return l},each:function(c,d){return e.each(this,c,d)},ready:function(c){e.bindReady();if(e.isReady)c.call(w,e);else X&&X.push(c);return this},eq:function(c){return c===-1?this.slice(c):this.slice(c,+c+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(ma.apply(this,arguments),"slice",ma.call(arguments).join(","))},map:function(c){return this.pushStack(e.map(this,
function(d,g){return c.call(d,g,d)}))},end:function(){return this.prevObject||e(null)},push:pa,sort:[].sort,splice:[].splice};e.fn.init.prototype=e.fn;e.extend=e.fn.extend=function(){var c=arguments[0]||{},d=1,g=arguments.length,l=false,j,x,y,P;if(typeof c==="boolean"){l=c;c=arguments[1]||{};d=2}if(typeof c!=="object"&&!e.isFunction(c))c={};if(g===d){c=this;--d}for(;d<g;d++)if((j=arguments[d])!=null)for(x in j){y=c[x];P=j[x];if(c!==P)if(l&&P&&(e.isPlainObject(P)||e.isArray(P))){y=y&&(e.isPlainObject(y)||
e.isArray(y))?y:e.isArray(P)?[]:{};c[x]=e.extend(l,y,P)}else if(P!==f)c[x]=P}return c};e.extend({noConflict:function(c){b.$=I;if(c)b.jQuery=s;return e},isReady:false,ready:function(){if(!e.isReady){if(!w.body)return setTimeout(e.ready,13);e.isReady=true;if(X){for(var c,d=0;c=X[d++];)c.call(w,e);X=null}e.fn.triggerHandler&&e(w).triggerHandler("ready")}},bindReady:function(){if(!$){$=true;if(w.readyState==="complete")return e.ready();if(w.addEventListener){w.addEventListener("DOMContentLoaded",da,false);
b.addEventListener("load",e.ready,false)}else if(w.attachEvent){w.attachEvent("onreadystatechange",da);b.attachEvent("onload",e.ready);var c=false;try{c=b.frameElement==null}catch(d){}w.documentElement.doScroll&&c&&h()}}},isFunction:function(c){return la.call(c)==="[object Function]"},isArray:function(c){return la.call(c)==="[object Array]"},isPlainObject:function(c){if(!c||la.call(c)!=="[object Object]"||c.nodeType||c.setInterval)return false;if(c.constructor&&!va.call(c,"constructor")&&!va.call(c.constructor.prototype,
"isPrototypeOf"))return false;var d;for(d in c);return d===f||va.call(c,d)},isEmptyObject:function(c){for(var d in c)return false;return true},error:function(c){throw c;},parseJSON:function(c){if(typeof c!=="string"||!c)return null;c=e.trim(c);if(/^[\],:{}\s]*$/.test(c.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return b.JSON&&b.JSON.parse?b.JSON.parse(c):(new Function("return "+
c))();else e.error("Invalid JSON: "+c)},noop:function(){},globalEval:function(c){if(c&&W.test(c)){var d=w.getElementsByTagName("head")[0]||w.documentElement,g=w.createElement("script");g.type="text/javascript";if(e.support.scriptEval)g.appendChild(w.createTextNode(c));else g.text=c;d.insertBefore(g,d.firstChild);d.removeChild(g)}},nodeName:function(c,d){return c.nodeName&&c.nodeName.toUpperCase()===d.toUpperCase()},each:function(c,d,g){var l,j=0,x=c.length,y=x===f||e.isFunction(c);if(g)if(y)for(l in c){if(d.apply(c[l],
g)===false)break}else for(;j<x;){if(d.apply(c[j++],g)===false)break}else if(y)for(l in c){if(d.call(c[l],l,c[l])===false)break}else for(g=c[0];j<x&&d.call(g,j,g)!==false;g=c[++j]);return c},trim:function(c){return(c||"").replace(N,"")},makeArray:function(c,d){d=d||[];if(c!=null)c.length==null||typeof c==="string"||e.isFunction(c)||typeof c!=="function"&&c.setInterval?pa.call(d,c):e.merge(d,c);return d},inArray:function(c,d){if(d.indexOf)return d.indexOf(c);for(var g=0,l=d.length;g<l;g++)if(d[g]===
c)return g;return-1},merge:function(c,d){var g=c.length,l=0;if(typeof d.length==="number")for(var j=d.length;l<j;l++)c[g++]=d[l];else for(;d[l]!==f;)c[g++]=d[l++];c.length=g;return c},grep:function(c,d,g){for(var l=[],j=0,x=c.length;j<x;j++)!g!==!d(c[j],j)&&l.push(c[j]);return l},map:function(c,d,g){for(var l=[],j,x=0,y=c.length;x<y;x++){j=d(c[x],x,g);if(j!=null)l[l.length]=j}return l.concat.apply([],l)},guid:1,proxy:function(c,d,g){if(arguments.length===2)if(typeof d==="string"){g=c;c=g[d];d=f}else if(d&&
!e.isFunction(d)){g=d;d=f}if(!d&&c)d=function(){return c.apply(g||this,arguments)};if(c)d.guid=c.guid=c.guid||d.guid||e.guid++;return d},uaMatch:function(c){c=c.toLowerCase();c=/(webkit)[ \/]([\w.]+)/.exec(c)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(c)||/(msie) ([\w.]+)/.exec(c)||!/compatible/.test(c)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(c)||[];return{browser:c[1]||"",version:c[2]||"0"}},browser:{}});ga=e.uaMatch(ga);if(ga.browser){e.browser[ga.browser]=true;e.browser.version=ga.version}if(e.browser.webkit)e.browser.safari=
true;if(za)e.inArray=function(c,d){return za.call(d,c)};k=e(w);if(w.addEventListener)da=function(){w.removeEventListener("DOMContentLoaded",da,false);e.ready()};else if(w.attachEvent)da=function(){if(w.readyState==="complete"){w.detachEvent("onreadystatechange",da);e.ready()}};(function(){e.support={};var c=w.documentElement,d=w.createElement("script"),g=w.createElement("div"),l="script"+o();g.style.display="none";g.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";
var j=g.getElementsByTagName("*"),x=g.getElementsByTagName("a")[0];if(!(!j||!j.length||!x)){e.support={leadingWhitespace:g.firstChild.nodeType===3,tbody:!g.getElementsByTagName("tbody").length,htmlSerialize:!!g.getElementsByTagName("link").length,style:/red/.test(x.getAttribute("style")),hrefNormalized:x.getAttribute("href")==="/a",opacity:/^0.55$/.test(x.style.opacity),cssFloat:!!x.style.cssFloat,checkOn:g.getElementsByTagName("input")[0].value==="on",optSelected:w.createElement("select").appendChild(w.createElement("option")).selected,
parentNode:g.removeChild(g.appendChild(w.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};d.type="text/javascript";try{d.appendChild(w.createTextNode("window."+l+"=1;"))}catch(y){}c.insertBefore(d,c.firstChild);if(b[l]){e.support.scriptEval=true;delete b[l]}try{delete d.test}catch(P){e.support.deleteExpando=false}c.removeChild(d);if(g.attachEvent&&g.fireEvent){g.attachEvent("onclick",function E(){e.support.noCloneEvent=
false;g.detachEvent("onclick",E)});g.cloneNode(true).fireEvent("onclick")}g=w.createElement("div");g.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";c=w.createDocumentFragment();c.appendChild(g.firstChild);e.support.checkClone=c.cloneNode(true).cloneNode(true).lastChild.checked;e(function(){var E=w.createElement("div");E.style.width=E.style.paddingLeft="1px";w.body.appendChild(E);e.boxModel=e.support.boxModel=E.offsetWidth===2;w.body.removeChild(E).style.display="none"});c=function(E){var O=
w.createElement("div");E="on"+E;var Z=E in O;if(!Z){O.setAttribute(E,"return;");Z=typeof O[E]==="function"}return Z};e.support.submitBubbles=c("submit");e.support.changeBubbles=c("change");c=d=g=j=x=null}})();e.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var Y="jQuery"+o(),z=0,K={};e.extend({cache:{},expando:Y,noData:{embed:true,object:true,
applet:true},data:function(c,d,g){if(!(c.nodeName&&e.noData[c.nodeName.toLowerCase()])){c=c==b?K:c;var l=c[Y],j=e.cache;if(!l&&typeof d==="string"&&g===f)return null;l||(l=++z);if(typeof d==="object"){c[Y]=l;j[l]=e.extend(true,{},d)}else if(!j[l]){c[Y]=l;j[l]={}}c=j[l];if(g!==f)c[d]=g;return typeof d==="string"?c[d]:c}},removeData:function(c,d){if(!(c.nodeName&&e.noData[c.nodeName.toLowerCase()])){c=c==b?K:c;var g=c[Y],l=e.cache,j=l[g];if(d){if(j){delete j[d];e.isEmptyObject(j)&&e.removeData(c)}}else{if(e.support.deleteExpando)delete c[e.expando];
else c.removeAttribute&&c.removeAttribute(e.expando);delete l[g]}}}});e.fn.extend({data:function(c,d){if(typeof c==="undefined"&&this.length)return e.data(this[0]);else if(typeof c==="object")return this.each(function(){e.data(this,c)});var g=c.split(".");g[1]=g[1]?"."+g[1]:"";if(d===f){var l=this.triggerHandler("getData"+g[1]+"!",[g[0]]);if(l===f&&this.length)l=e.data(this[0],c);return l===f&&g[1]?this.data(g[0]):l}else return this.trigger("setData"+g[1]+"!",[g[0],d]).each(function(){e.data(this,
c,d)})},removeData:function(c){return this.each(function(){e.removeData(this,c)})}});e.extend({queue:function(c,d,g){if(c){d=(d||"fx")+"queue";var l=e.data(c,d);if(!g)return l||[];if(!l||e.isArray(g))l=e.data(c,d,e.makeArray(g));else l.push(g);return l}},dequeue:function(c,d){d=d||"fx";var g=e.queue(c,d),l=g.shift();if(l==="inprogress")l=g.shift();if(l){d==="fx"&&g.unshift("inprogress");l.call(c,function(){e.dequeue(c,d)})}}});e.fn.extend({queue:function(c,d){if(typeof c!=="string"){d=c;c="fx"}if(d===
f)return e.queue(this[0],c);return this.each(function(){var g=e.queue(this,c,d);c==="fx"&&g[0]!=="inprogress"&&e.dequeue(this,c)})},dequeue:function(c){return this.each(function(){e.dequeue(this,c)})},delay:function(c,d){c=e.fx?e.fx.speeds[c]||c:c;d=d||"fx";return this.queue(d,function(){var g=this;setTimeout(function(){e.dequeue(g,d)},c)})},clearQueue:function(c){return this.queue(c||"fx",[])}});var U=/[\n\t]/g,ia=/\s+/,sa=/\r/g,wa=/href|src|style/,na=/(button|input)/i,ba=/(button|input|object|select|textarea)/i,
A=/^(a|area)$/i,L=/radio|checkbox/;e.fn.extend({attr:function(c,d){return B(this,c,d,true,e.attr)},removeAttr:function(c){return this.each(function(){e.attr(this,c,"");this.nodeType===1&&this.removeAttribute(c)})},addClass:function(c){if(e.isFunction(c))return this.each(function(O){var Z=e(this);Z.addClass(c.call(this,O,Z.attr("class")))});if(c&&typeof c==="string")for(var d=(c||"").split(ia),g=0,l=this.length;g<l;g++){var j=this[g];if(j.nodeType===1)if(j.className){for(var x=" "+j.className+" ",
y=j.className,P=0,E=d.length;P<E;P++)if(x.indexOf(" "+d[P]+" ")<0)y+=" "+d[P];j.className=e.trim(y)}else j.className=c}return this},removeClass:function(c){if(e.isFunction(c))return this.each(function(E){var O=e(this);O.removeClass(c.call(this,E,O.attr("class")))});if(c&&typeof c==="string"||c===f)for(var d=(c||"").split(ia),g=0,l=this.length;g<l;g++){var j=this[g];if(j.nodeType===1&&j.className)if(c){for(var x=(" "+j.className+" ").replace(U," "),y=0,P=d.length;y<P;y++)x=x.replace(" "+d[y]+" "," ");
j.className=e.trim(x)}else j.className=""}return this},toggleClass:function(c,d){var g=typeof c,l=typeof d==="boolean";if(e.isFunction(c))return this.each(function(j){var x=e(this);x.toggleClass(c.call(this,j,x.attr("class"),d),d)});return this.each(function(){if(g==="string")for(var j,x=0,y=e(this),P=d,E=c.split(ia);j=E[x++];){P=l?P:!y.hasClass(j);y[P?"addClass":"removeClass"](j)}else if(g==="undefined"||g==="boolean"){this.className&&e.data(this,"__className__",this.className);this.className=this.className||
c===false?"":e.data(this,"__className__")||""}})},hasClass:function(c){c=" "+c+" ";for(var d=0,g=this.length;d<g;d++)if((" "+this[d].className+" ").replace(U," ").indexOf(c)>-1)return true;return false},val:function(c){if(c===f){var d=this[0];if(d){if(e.nodeName(d,"option"))return(d.attributes.value||{}).specified?d.value:d.text;if(e.nodeName(d,"select")){var g=d.selectedIndex,l=[],j=d.options;d=d.type==="select-one";if(g<0)return null;var x=d?g:0;for(g=d?g+1:j.length;x<g;x++){var y=j[x];if(y.selected){c=
e(y).val();if(d)return c;l.push(c)}}return l}if(L.test(d.type)&&!e.support.checkOn)return d.getAttribute("value")===null?"on":d.value;return(d.value||"").replace(sa,"")}return f}var P=e.isFunction(c);return this.each(function(E){var O=e(this),Z=c;if(this.nodeType===1){if(P)Z=c.call(this,E,O.val());if(typeof Z==="number")Z+="";if(e.isArray(Z)&&L.test(this.type))this.checked=e.inArray(O.val(),Z)>=0;else if(e.nodeName(this,"select")){var ja=e.makeArray(Z);e("option",this).each(function(){this.selected=
e.inArray(e(this).val(),ja)>=0});if(!ja.length)this.selectedIndex=-1}else this.value=Z}})}});e.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(c,d,g,l){if(!c||c.nodeType===3||c.nodeType===8)return f;if(l&&d in e.attrFn)return e(c)[d](g);l=c.nodeType!==1||!e.isXMLDoc(c);var j=g!==f;d=l&&e.props[d]||d;if(c.nodeType===1){var x=wa.test(d);if(d in c&&l&&!x){if(j){d==="type"&&na.test(c.nodeName)&&c.parentNode&&e.error("type property can't be changed");
c[d]=g}if(e.nodeName(c,"form")&&c.getAttributeNode(d))return c.getAttributeNode(d).nodeValue;if(d==="tabIndex")return(d=c.getAttributeNode("tabIndex"))&&d.specified?d.value:ba.test(c.nodeName)||A.test(c.nodeName)&&c.href?0:f;return c[d]}if(!e.support.style&&l&&d==="style"){if(j)c.style.cssText=""+g;return c.style.cssText}j&&c.setAttribute(d,""+g);c=!e.support.hrefNormalized&&l&&x?c.getAttribute(d,2):c.getAttribute(d);return c===null?f:c}return e.style(c,d,g)}});var V=/\.(.*)$/,ea=function(c){return c.replace(/[^\w\s\.\|`]/g,
function(d){return"\\"+d})};e.event={add:function(c,d,g,l){if(!(c.nodeType===3||c.nodeType===8)){if(c.setInterval&&c!==b&&!c.frameElement)c=b;var j,x;if(g.handler){j=g;g=j.handler}if(!g.guid)g.guid=e.guid++;if(x=e.data(c)){var y=x.events=x.events||{},P=x.handle;if(!P)x.handle=P=function(){return typeof e!=="undefined"&&!e.event.triggered?e.event.handle.apply(P.elem,arguments):f};P.elem=c;d=d.split(" ");for(var E,O=0,Z;E=d[O++];){x=j?e.extend({},j):{handler:g,data:l};if(E.indexOf(".")>-1){Z=E.split(".");
E=Z.shift();x.namespace=Z.slice(0).sort().join(".")}else{Z=[];x.namespace=""}x.type=E;x.guid=g.guid;var ja=y[E],ua=e.event.special[E]||{};if(!ja){ja=y[E]=[];if(!ua.setup||ua.setup.call(c,l,Z,P)===false)if(c.addEventListener)c.addEventListener(E,P,false);else c.attachEvent&&c.attachEvent("on"+E,P)}if(ua.add){ua.add.call(c,x);if(!x.handler.guid)x.handler.guid=g.guid}ja.push(x);e.event.global[E]=true}c=null}}},global:{},remove:function(c,d,g,l){if(!(c.nodeType===3||c.nodeType===8)){var j,x=0,y,P,E,O,
Z,ja,ua=e.data(c),Aa=ua&&ua.events;if(ua&&Aa){if(d&&d.type){g=d.handler;d=d.type}if(!d||typeof d==="string"&&d.charAt(0)==="."){d=d||"";for(j in Aa)e.event.remove(c,j+d)}else{for(d=d.split(" ");j=d[x++];){O=j;y=j.indexOf(".")<0;P=[];if(!y){P=j.split(".");j=P.shift();E=new RegExp("(^|\\.)"+e.map(P.slice(0).sort(),ea).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(Z=Aa[j])if(g){O=e.event.special[j]||{};for(xa=l||0;xa<Z.length;xa++){ja=Z[xa];if(g.guid===ja.guid){if(y||E.test(ja.namespace)){l==null&&Z.splice(xa--,
1);O.remove&&O.remove.call(c,ja)}if(l!=null)break}}if(Z.length===0||l!=null&&Z.length===1){if(!O.teardown||O.teardown.call(c,P)===false)fa(c,j,ua.handle);delete Aa[j]}}else for(var xa=0;xa<Z.length;xa++){ja=Z[xa];if(y||E.test(ja.namespace)){e.event.remove(c,O,ja.handler,xa);Z.splice(xa--,1)}}}if(e.isEmptyObject(Aa)){if(d=ua.handle)d.elem=null;delete ua.events;delete ua.handle;e.isEmptyObject(ua)&&e.removeData(c)}}}}},trigger:function(c,d,g,l){var j=c.type||c;if(!l){c=typeof c==="object"?c[Y]?c:e.extend(e.Event(j),
c):e.Event(j);if(j.indexOf("!")>=0){c.type=j=j.slice(0,-1);c.exclusive=true}if(!g){c.stopPropagation();e.event.global[j]&&e.each(e.cache,function(){this.events&&this.events[j]&&e.event.trigger(c,d,this.handle.elem)})}if(!g||g.nodeType===3||g.nodeType===8)return f;c.result=f;c.target=g;d=e.makeArray(d);d.unshift(c)}c.currentTarget=g;(l=e.data(g,"handle"))&&l.apply(g,d);l=g.parentNode||g.ownerDocument;try{if(!(g&&g.nodeName&&e.noData[g.nodeName.toLowerCase()]))if(g["on"+j]&&g["on"+j].apply(g,d)===false)c.result=
false}catch(x){}if(!c.isPropagationStopped()&&l)e.event.trigger(c,d,l,true);else if(!c.isDefaultPrevented()){l=c.target;var y,P=e.nodeName(l,"a")&&j==="click",E=e.event.special[j]||{};if((!E._default||E._default.call(g,c)===false)&&!P&&!(l&&l.nodeName&&e.noData[l.nodeName.toLowerCase()])){try{if(l[j]){if(y=l["on"+j])l["on"+j]=null;e.event.triggered=true;l[j]()}}catch(O){}if(y)l["on"+j]=y;e.event.triggered=false}}},handle:function(c){var d,g,l,j;c=arguments[0]=e.event.fix(c||b.event);c.currentTarget=
this;d=c.type.indexOf(".")<0&&!c.exclusive;if(!d){g=c.type.split(".");c.type=g.shift();l=new RegExp("(^|\\.)"+g.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)")}j=e.data(this,"events");g=j[c.type];if(j&&g){g=g.slice(0);j=0;for(var x=g.length;j<x;j++){var y=g[j];if(d||l.test(y.namespace)){c.handler=y.handler;c.data=y.data;c.handleObj=y;y=y.handler.apply(this,arguments);if(y!==f){c.result=y;if(y===false){c.preventDefault();c.stopPropagation()}}if(c.isImmediatePropagationStopped())break}}}return c.result},
props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(c){if(c[Y])return c;var d=c;c=e.Event(d);for(var g=this.props.length,l;g;){l=this.props[--g];c[l]=d[l]}if(!c.target)c.target=c.srcElement||
w;if(c.target.nodeType===3)c.target=c.target.parentNode;if(!c.relatedTarget&&c.fromElement)c.relatedTarget=c.fromElement===c.target?c.toElement:c.fromElement;if(c.pageX==null&&c.clientX!=null){d=w.documentElement;g=w.body;c.pageX=c.clientX+(d&&d.scrollLeft||g&&g.scrollLeft||0)-(d&&d.clientLeft||g&&g.clientLeft||0);c.pageY=c.clientY+(d&&d.scrollTop||g&&g.scrollTop||0)-(d&&d.clientTop||g&&g.clientTop||0)}if(!c.which&&(c.charCode||c.charCode===0?c.charCode:c.keyCode))c.which=c.charCode||c.keyCode;if(!c.metaKey&&
c.ctrlKey)c.metaKey=c.ctrlKey;if(!c.which&&c.button!==f)c.which=c.button&1?1:c.button&2?3:c.button&4?2:0;return c},guid:1E8,proxy:e.proxy,special:{ready:{setup:e.bindReady,teardown:e.noop},live:{add:function(c){e.event.add(this,c.origType,e.extend({},c,{handler:u}))},remove:function(c){var d=true,g=c.origType.replace(V,"");e.each(e.data(this,"events").live||[],function(){if(g===this.origType.replace(V,""))return d=false});d&&e.event.remove(this,c.origType,u)}},beforeunload:{setup:function(c,d,g){if(this.setInterval)this.onbeforeunload=
g;return false},teardown:function(c,d){if(this.onbeforeunload===d)this.onbeforeunload=null}}}};var fa=w.removeEventListener?function(c,d,g){c.removeEventListener(d,g,false)}:function(c,d,g){c.detachEvent("on"+d,g)};e.Event=function(c){if(!this.preventDefault)return new e.Event(c);if(c&&c.type){this.originalEvent=c;this.type=c.type}else this.type=c;this.timeStamp=o();this[Y]=true};e.Event.prototype={preventDefault:function(){this.isDefaultPrevented=t;var c=this.originalEvent;if(c){c.preventDefault&&
c.preventDefault();c.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=t;var c=this.originalEvent;if(c){c.stopPropagation&&c.stopPropagation();c.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=t;this.stopPropagation()},isDefaultPrevented:m,isPropagationStopped:m,isImmediatePropagationStopped:m};var qa=function(c){var d=c.relatedTarget;try{for(;d&&d!==this;)d=d.parentNode;if(d!==this){c.type=c.data;e.event.handle.apply(this,arguments)}}catch(g){}},
ra=function(c){c.type=c.data;e.event.handle.apply(this,arguments)};e.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(c,d){e.event.special[c]={setup:function(g){e.event.add(this,d,g&&g.selector?ra:qa,c)},teardown:function(g){e.event.remove(this,d,g&&g.selector?ra:qa)}}});if(!e.support.submitBubbles)e.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!=="form"){e.event.add(this,"click.specialSubmit",function(c){var d=c.target,g=d.type;if((g==="submit"||g==="image")&&
e(d).closest("form").length)return r("submit",this,arguments)});e.event.add(this,"keypress.specialSubmit",function(c){var d=c.target,g=d.type;if((g==="text"||g==="password")&&e(d).closest("form").length&&c.keyCode===13)return r("submit",this,arguments)})}else return false},teardown:function(){e.event.remove(this,".specialSubmit")}};if(!e.support.changeBubbles){var ya=/textarea|input|select/i,Ba,Ha=function(c){var d=c.type,g=c.value;if(d==="radio"||d==="checkbox")g=c.checked;else if(d==="select-multiple")g=
c.selectedIndex>-1?e.map(c.options,function(l){return l.selected}).join("-"):"";else if(c.nodeName.toLowerCase()==="select")g=c.selectedIndex;return g},Ia=function(c,d){var g=c.target,l,j;if(!(!ya.test(g.nodeName)||g.readOnly)){l=e.data(g,"_change_data");j=Ha(g);if(c.type!=="focusout"||g.type!=="radio")e.data(g,"_change_data",j);if(!(l===f||j===l))if(l!=null||j){c.type="change";return e.event.trigger(c,d,g)}}};e.event.special.change={filters:{focusout:Ia,click:function(c){var d=c.target,g=d.type;
if(g==="radio"||g==="checkbox"||d.nodeName.toLowerCase()==="select")return Ia.call(this,c)},keydown:function(c){var d=c.target,g=d.type;if(c.keyCode===13&&d.nodeName.toLowerCase()!=="textarea"||c.keyCode===32&&(g==="checkbox"||g==="radio")||g==="select-multiple")return Ia.call(this,c)},beforeactivate:function(c){c=c.target;e.data(c,"_change_data",Ha(c))}},setup:function(){if(this.type==="file")return false;for(var c in Ba)e.event.add(this,c+".specialChange",Ba[c]);return ya.test(this.nodeName)},teardown:function(){e.event.remove(this,
".specialChange");return ya.test(this.nodeName)}};Ba=e.event.special.change.filters}w.addEventListener&&e.each({focus:"focusin",blur:"focusout"},function(c,d){function g(l){l=e.event.fix(l);l.type=d;return e.event.handle.call(this,l)}e.event.special[d]={setup:function(){this.addEventListener(c,g,true)},teardown:function(){this.removeEventListener(c,g,true)}}});e.each(["bind","one"],function(c,d){e.fn[d]=function(g,l,j){if(typeof g==="object"){for(var x in g)this[d](x,l,g[x],j);return this}if(e.isFunction(l)){j=
l;l=f}var y=d==="one"?e.proxy(j,function(E){e(this).unbind(E,y);return j.apply(this,arguments)}):j;if(g==="unload"&&d!=="one")this.one(g,l,j);else{x=0;for(var P=this.length;x<P;x++)e.event.add(this[x],g,y,l)}return this}});e.fn.extend({unbind:function(c,d){if(typeof c==="object"&&!c.preventDefault)for(var g in c)this.unbind(g,c[g]);else{g=0;for(var l=this.length;g<l;g++)e.event.remove(this[g],c,d)}return this},delegate:function(c,d,g,l){return this.live(d,g,l,c)},undelegate:function(c,d,g){return arguments.length===
0?this.unbind("live"):this.die(d,null,g,c)},trigger:function(c,d){return this.each(function(){e.event.trigger(c,d,this)})},triggerHandler:function(c,d){if(this[0]){c=e.Event(c);c.preventDefault();c.stopPropagation();e.event.trigger(c,d,this[0]);return c.result}},toggle:function(c){for(var d=arguments,g=1;g<d.length;)e.proxy(c,d[g++]);return this.click(e.proxy(c,function(l){var j=(e.data(this,"lastToggle"+c.guid)||0)%g;e.data(this,"lastToggle"+c.guid,j+1);l.preventDefault();return d[j].apply(this,
arguments)||false}))},hover:function(c,d){return this.mouseenter(c).mouseleave(d||c)}});var Fa={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};e.each(["live","die"],function(c,d){e.fn[d]=function(g,l,j,x){var y,P=0,E,O,Z=x||this.selector,ja=x?this:e(this.context);if(e.isFunction(l)){j=l;l=f}for(g=(g||"").split(" ");(y=g[P++])!=null;){x=V.exec(y);E="";if(x){E=x[0];y=y.replace(V,"")}if(y==="hover")g.push("mouseenter"+E,"mouseleave"+E);else{O=y;if(y==="focus"||y==="blur"){g.push(Fa[y]+
E);y+=E}else y=(Fa[y]||y)+E;d==="live"?ja.each(function(){e.event.add(this,G(y,Z),{data:l,selector:Z,handler:j,origType:y,origHandler:j,preType:O})}):ja.unbind(G(y,Z),j)}}return this}});e.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(c,d){e.fn[d]=function(g){return g?this.bind(d,g):this.trigger(d)};if(e.attrFn)e.attrFn[d]=true});b.attachEvent&&
!b.addEventListener&&b.attachEvent("onunload",function(){for(var c in e.cache)if(e.cache[c].handle)try{e.event.remove(e.cache[c].handle.elem)}catch(d){}});(function(){function c(p){for(var v="",F,M=0;p[M];M++){F=p[M];if(F.nodeType===3||F.nodeType===4)v+=F.nodeValue;else if(F.nodeType!==8)v+=c(F.childNodes)}return v}function d(p,v,F,M,T,S){T=0;for(var ka=M.length;T<ka;T++){var ha=M[T];if(ha){ha=ha[p];for(var ta=false;ha;){if(ha.sizcache===F){ta=M[ha.sizset];break}if(ha.nodeType===1&&!S){ha.sizcache=
F;ha.sizset=T}if(ha.nodeName.toLowerCase()===v){ta=ha;break}ha=ha[p]}M[T]=ta}}}function g(p,v,F,M,T,S){T=0;for(var ka=M.length;T<ka;T++){var ha=M[T];if(ha){ha=ha[p];for(var ta=false;ha;){if(ha.sizcache===F){ta=M[ha.sizset];break}if(ha.nodeType===1){if(!S){ha.sizcache=F;ha.sizset=T}if(typeof v!=="string"){if(ha===v){ta=true;break}}else if(E.filter(v,[ha]).length>0){ta=ha;break}}ha=ha[p]}M[T]=ta}}}var l=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
j=0,x=Object.prototype.toString,y=false,P=true;[0,0].sort(function(){P=false;return 0});var E=function(p,v,F,M){F=F||[];var T=v=v||w;if(v.nodeType!==1&&v.nodeType!==9)return[];if(!p||typeof p!=="string")return F;for(var S=[],ka,ha,ta,Pa,Ja=true,La=oa(v),Ka=p;(l.exec(""),ka=l.exec(Ka))!==null;){Ka=ka[3];S.push(ka[1]);if(ka[2]){Pa=ka[3];break}}if(S.length>1&&Z.exec(p))if(S.length===2&&O.relative[S[0]])ha=Ta(S[0]+S[1],v);else for(ha=O.relative[S[0]]?[v]:E(S.shift(),v);S.length;){p=S.shift();if(O.relative[p])p+=
S.shift();ha=Ta(p,ha)}else{if(!M&&S.length>1&&v.nodeType===9&&!La&&O.match.ID.test(S[0])&&!O.match.ID.test(S[S.length-1])){ka=E.find(S.shift(),v,La);v=ka.expr?E.filter(ka.expr,ka.set)[0]:ka.set[0]}if(v){ka=M?{expr:S.pop(),set:ua(M)}:E.find(S.pop(),S.length===1&&(S[0]==="~"||S[0]==="+")&&v.parentNode?v.parentNode:v,La);ha=ka.expr?E.filter(ka.expr,ka.set):ka.set;if(S.length>0)ta=ua(ha);else Ja=false;for(;S.length;){var Ca=S.pop();ka=Ca;if(O.relative[Ca])ka=S.pop();else Ca="";if(ka==null)ka=v;O.relative[Ca](ta,
ka,La)}}else ta=[]}ta||(ta=ha);ta||E.error(Ca||p);if(x.call(ta)==="[object Array]")if(Ja)if(v&&v.nodeType===1)for(p=0;ta[p]!=null;p++){if(ta[p]&&(ta[p]===true||ta[p].nodeType===1&&Da(v,ta[p])))F.push(ha[p])}else for(p=0;ta[p]!=null;p++)ta[p]&&ta[p].nodeType===1&&F.push(ha[p]);else F.push.apply(F,ta);else ua(ta,F);if(Pa){E(Pa,T,F,M);E.uniqueSort(F)}return F};E.uniqueSort=function(p){if(xa){y=P;p.sort(xa);if(y)for(var v=1;v<p.length;v++)p[v]===p[v-1]&&p.splice(v--,1)}return p};E.matches=function(p,
v){return E(p,null,null,v)};E.find=function(p,v,F){var M,T;if(!p)return[];for(var S=0,ka=O.order.length;S<ka;S++){var ha=O.order[S];if(T=O.leftMatch[ha].exec(p)){var ta=T[1];T.splice(1,1);if(ta.substr(ta.length-1)!=="\\"){T[1]=(T[1]||"").replace(/\\/g,"");M=O.find[ha](T,v,F);if(M!=null){p=p.replace(O.match[ha],"");break}}}}M||(M=v.getElementsByTagName("*"));return{set:M,expr:p}};E.filter=function(p,v,F,M){for(var T=p,S=[],ka=v,ha,ta,Pa=v&&v[0]&&oa(v[0]);p&&v.length;){for(var Ja in O.filter)if((ha=
O.leftMatch[Ja].exec(p))!=null&&ha[2]){var La=O.filter[Ja],Ka,Ca;Ca=ha[1];ta=false;ha.splice(1,1);if(Ca.substr(Ca.length-1)!=="\\"){if(ka===S)S=[];if(O.preFilter[Ja])if(ha=O.preFilter[Ja](ha,ka,F,S,M,Pa)){if(ha===true)continue}else ta=Ka=true;if(ha)for(var Qa=0;(Ca=ka[Qa])!=null;Qa++)if(Ca){Ka=La(Ca,ha,Qa,ka);var bb=M^!!Ka;if(F&&Ka!=null)if(bb)ta=true;else ka[Qa]=false;else if(bb){S.push(Ca);ta=true}}if(Ka!==f){F||(ka=S);p=p.replace(O.match[Ja],"");if(!ta)return[];break}}}if(p===T)if(ta==null)E.error(p);
else break;T=p}return ka};E.error=function(p){throw"Syntax error, unrecognized expression: "+p;};var O=E.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,
PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(p){return p.getAttribute("href")}},relative:{"+":function(p,v){var F=typeof v==="string",M=F&&!/\W/.test(v);F=F&&!M;if(M)v=v.toLowerCase();M=0;for(var T=p.length,S;M<T;M++)if(S=p[M]){for(;(S=S.previousSibling)&&S.nodeType!==1;);p[M]=F||S&&S.nodeName.toLowerCase()===v?S||false:S===v}F&&E.filter(v,p,true)},">":function(p,v){var F=typeof v===
"string";if(F&&!/\W/.test(v)){v=v.toLowerCase();for(var M=0,T=p.length;M<T;M++){var S=p[M];if(S){F=S.parentNode;p[M]=F.nodeName.toLowerCase()===v?F:false}}}else{M=0;for(T=p.length;M<T;M++)if(S=p[M])p[M]=F?S.parentNode:S.parentNode===v;F&&E.filter(v,p,true)}},"":function(p,v,F){var M=j++,T=g;if(typeof v==="string"&&!/\W/.test(v)){var S=v=v.toLowerCase();T=d}T("parentNode",v,M,p,S,F)},"~":function(p,v,F){var M=j++,T=g;if(typeof v==="string"&&!/\W/.test(v)){var S=v=v.toLowerCase();T=d}T("previousSibling",
v,M,p,S,F)}},find:{ID:function(p,v,F){if(typeof v.getElementById!=="undefined"&&!F)return(p=v.getElementById(p[1]))?[p]:[]},NAME:function(p,v){if(typeof v.getElementsByName!=="undefined"){var F=[];v=v.getElementsByName(p[1]);for(var M=0,T=v.length;M<T;M++)v[M].getAttribute("name")===p[1]&&F.push(v[M]);return F.length===0?null:F}},TAG:function(p,v){return v.getElementsByTagName(p[1])}},preFilter:{CLASS:function(p,v,F,M,T,S){p=" "+p[1].replace(/\\/g,"")+" ";if(S)return p;S=0;for(var ka;(ka=v[S])!=null;S++)if(ka)if(T^
(ka.className&&(" "+ka.className+" ").replace(/[\t\n]/g," ").indexOf(p)>=0))F||M.push(ka);else if(F)v[S]=false;return false},ID:function(p){return p[1].replace(/\\/g,"")},TAG:function(p){return p[1].toLowerCase()},CHILD:function(p){if(p[1]==="nth"){var v=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(p[2]==="even"&&"2n"||p[2]==="odd"&&"2n+1"||!/\D/.test(p[2])&&"0n+"+p[2]||p[2]);p[2]=v[1]+(v[2]||1)-0;p[3]=v[3]-0}p[0]=j++;return p},ATTR:function(p,v,F,M,T,S){v=p[1].replace(/\\/g,"");if(!S&&O.attrMap[v])p[1]=O.attrMap[v];
if(p[2]==="~=")p[4]=" "+p[4]+" ";return p},PSEUDO:function(p,v,F,M,T){if(p[1]==="not")if((l.exec(p[3])||"").length>1||/^\w/.test(p[3]))p[3]=E(p[3],null,null,v);else{p=E.filter(p[3],v,F,true^T);F||M.push.apply(M,p);return false}else if(O.match.POS.test(p[0])||O.match.CHILD.test(p[0]))return true;return p},POS:function(p){p.unshift(true);return p}},filters:{enabled:function(p){return p.disabled===false&&p.type!=="hidden"},disabled:function(p){return p.disabled===true},checked:function(p){return p.checked===
true},selected:function(p){return p.selected===true},parent:function(p){return!!p.firstChild},empty:function(p){return!p.firstChild},has:function(p,v,F){return!!E(F[3],p).length},header:function(p){return/h\d/i.test(p.nodeName)},text:function(p){return"text"===p.type},radio:function(p){return"radio"===p.type},checkbox:function(p){return"checkbox"===p.type},file:function(p){return"file"===p.type},password:function(p){return"password"===p.type},submit:function(p){return"submit"===p.type},image:function(p){return"image"===
p.type},reset:function(p){return"reset"===p.type},button:function(p){return"button"===p.type||p.nodeName.toLowerCase()==="button"},input:function(p){return/input|select|textarea|button/i.test(p.nodeName)}},setFilters:{first:function(p,v){return v===0},last:function(p,v,F,M){return v===M.length-1},even:function(p,v){return v%2===0},odd:function(p,v){return v%2===1},lt:function(p,v,F){return v<F[3]-0},gt:function(p,v,F){return v>F[3]-0},nth:function(p,v,F){return F[3]-0===v},eq:function(p,v,F){return F[3]-
0===v}},filter:{PSEUDO:function(p,v,F,M){var T=v[1],S=O.filters[T];if(S)return S(p,F,v,M);else if(T==="contains")return(p.textContent||p.innerText||c([p])||"").indexOf(v[3])>=0;else if(T==="not"){v=v[3];F=0;for(M=v.length;F<M;F++)if(v[F]===p)return false;return true}else E.error("Syntax error, unrecognized expression: "+T)},CHILD:function(p,v){var F=v[1],M=p;switch(F){case "only":case "first":for(;M=M.previousSibling;)if(M.nodeType===1)return false;if(F==="first")return true;M=p;case "last":for(;M=
M.nextSibling;)if(M.nodeType===1)return false;return true;case "nth":F=v[2];var T=v[3];if(F===1&&T===0)return true;v=v[0];var S=p.parentNode;if(S&&(S.sizcache!==v||!p.nodeIndex)){var ka=0;for(M=S.firstChild;M;M=M.nextSibling)if(M.nodeType===1)M.nodeIndex=++ka;S.sizcache=v}p=p.nodeIndex-T;return F===0?p===0:p%F===0&&p/F>=0}},ID:function(p,v){return p.nodeType===1&&p.getAttribute("id")===v},TAG:function(p,v){return v==="*"&&p.nodeType===1||p.nodeName.toLowerCase()===v},CLASS:function(p,v){return(" "+
(p.className||p.getAttribute("class"))+" ").indexOf(v)>-1},ATTR:function(p,v){var F=v[1];p=O.attrHandle[F]?O.attrHandle[F](p):p[F]!=null?p[F]:p.getAttribute(F);F=p+"";var M=v[2];v=v[4];return p==null?M==="!=":M==="="?F===v:M==="*="?F.indexOf(v)>=0:M==="~="?(" "+F+" ").indexOf(v)>=0:!v?F&&p!==false:M==="!="?F!==v:M==="^="?F.indexOf(v)===0:M==="$="?F.substr(F.length-v.length)===v:M==="|="?F===v||F.substr(0,v.length+1)===v+"-":false},POS:function(p,v,F,M){var T=O.setFilters[v[2]];if(T)return T(p,F,v,
M)}}},Z=O.match.POS;for(var ja in O.match){O.match[ja]=new RegExp(O.match[ja].source+/(?![^\[]*\])(?![^\(]*\))/.source);O.leftMatch[ja]=new RegExp(/(^(?:.|\r|\n)*?)/.source+O.match[ja].source.replace(/\\(\d+)/g,function(p,v){return"\\"+(v-0+1)}))}var ua=function(p,v){p=Array.prototype.slice.call(p,0);if(v){v.push.apply(v,p);return v}return p};try{Array.prototype.slice.call(w.documentElement.childNodes,0)}catch(Aa){ua=function(p,v){v=v||[];if(x.call(p)==="[object Array]")Array.prototype.push.apply(v,
p);else if(typeof p.length==="number")for(var F=0,M=p.length;F<M;F++)v.push(p[F]);else for(F=0;p[F];F++)v.push(p[F]);return v}}var xa;if(w.documentElement.compareDocumentPosition)xa=function(p,v){if(!p.compareDocumentPosition||!v.compareDocumentPosition){if(p==v)y=true;return p.compareDocumentPosition?-1:1}p=p.compareDocumentPosition(v)&4?-1:p===v?0:1;if(p===0)y=true;return p};else if("sourceIndex"in w.documentElement)xa=function(p,v){if(!p.sourceIndex||!v.sourceIndex){if(p==v)y=true;return p.sourceIndex?
-1:1}p=p.sourceIndex-v.sourceIndex;if(p===0)y=true;return p};else if(w.createRange)xa=function(p,v){if(!p.ownerDocument||!v.ownerDocument){if(p==v)y=true;return p.ownerDocument?-1:1}var F=p.ownerDocument.createRange(),M=v.ownerDocument.createRange();F.setStart(p,0);F.setEnd(p,0);M.setStart(v,0);M.setEnd(v,0);p=F.compareBoundaryPoints(Range.START_TO_END,M);if(p===0)y=true;return p};(function(){var p=w.createElement("div"),v="script"+(new Date).getTime();p.innerHTML="<a name='"+v+"'/>";var F=w.documentElement;
F.insertBefore(p,F.firstChild);if(w.getElementById(v)){O.find.ID=function(M,T,S){if(typeof T.getElementById!=="undefined"&&!S)return(T=T.getElementById(M[1]))?T.id===M[1]||typeof T.getAttributeNode!=="undefined"&&T.getAttributeNode("id").nodeValue===M[1]?[T]:f:[]};O.filter.ID=function(M,T){var S=typeof M.getAttributeNode!=="undefined"&&M.getAttributeNode("id");return M.nodeType===1&&S&&S.nodeValue===T}}F.removeChild(p);F=p=null})();(function(){var p=w.createElement("div");p.appendChild(w.createComment(""));
if(p.getElementsByTagName("*").length>0)O.find.TAG=function(v,F){F=F.getElementsByTagName(v[1]);if(v[1]==="*"){v=[];for(var M=0;F[M];M++)F[M].nodeType===1&&v.push(F[M]);F=v}return F};p.innerHTML="<a href='#'></a>";if(p.firstChild&&typeof p.firstChild.getAttribute!=="undefined"&&p.firstChild.getAttribute("href")!=="#")O.attrHandle.href=function(v){return v.getAttribute("href",2)};p=null})();w.querySelectorAll&&function(){var p=E,v=w.createElement("div");v.innerHTML="<p class='TEST'></p>";if(!(v.querySelectorAll&&
v.querySelectorAll(".TEST").length===0)){E=function(M,T,S,ka){T=T||w;if(!ka&&T.nodeType===9&&!oa(T))try{return ua(T.querySelectorAll(M),S)}catch(ha){}return p(M,T,S,ka)};for(var F in p)E[F]=p[F];v=null}}();(function(){var p=w.createElement("div");p.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!p.getElementsByClassName||p.getElementsByClassName("e").length===0)){p.lastChild.className="e";if(p.getElementsByClassName("e").length!==1){O.order.splice(1,0,"CLASS");O.find.CLASS=function(v,
F,M){if(typeof F.getElementsByClassName!=="undefined"&&!M)return F.getElementsByClassName(v[1])};p=null}}})();var Da=w.compareDocumentPosition?function(p,v){return!!(p.compareDocumentPosition(v)&16)}:function(p,v){return p!==v&&(p.contains?p.contains(v):true)},oa=function(p){return(p=(p?p.ownerDocument||p:0).documentElement)?p.nodeName!=="HTML":false},Ta=function(p,v){var F=[],M="",T;for(v=v.nodeType?[v]:v;T=O.match.PSEUDO.exec(p);){M+=T[0];p=p.replace(O.match.PSEUDO,"")}p=O.relative[p]?p+"*":p;T=
0;for(var S=v.length;T<S;T++)E(p,v[T],F);return E.filter(M,F)};e.find=E;e.expr=E.selectors;e.expr[":"]=e.expr.filters;e.unique=E.uniqueSort;e.text=c;e.isXMLDoc=oa;e.contains=Da})();var Ga=/Until$/,Ma=/^(?:parents|prevUntil|prevAll)/,Na=/,/;ma=Array.prototype.slice;var cb=function(c,d,g){if(e.isFunction(d))return e.grep(c,function(j,x){return!!d.call(j,x,j)===g});else if(d.nodeType)return e.grep(c,function(j){return j===d===g});else if(typeof d==="string"){var l=e.grep(c,function(j){return j.nodeType===
1});if(H.test(d))return e.filter(d,l,!g);else d=e.filter(d,l)}return e.grep(c,function(j){return e.inArray(j,d)>=0===g})};e.fn.extend({find:function(c){for(var d=this.pushStack("","find",c),g=0,l=0,j=this.length;l<j;l++){g=d.length;e.find(c,this[l],d);if(l>0)for(var x=g;x<d.length;x++)for(var y=0;y<g;y++)if(d[y]===d[x]){d.splice(x--,1);break}}return d},has:function(c){var d=e(c);return this.filter(function(){for(var g=0,l=d.length;g<l;g++)if(e.contains(this,d[g]))return true})},not:function(c){return this.pushStack(cb(this,
c,false),"not",c)},filter:function(c){return this.pushStack(cb(this,c,true),"filter",c)},is:function(c){return!!c&&e.filter(c,this).length>0},closest:function(c,d){if(e.isArray(c)){var g=[],l=this[0],j,x={},y;if(l&&c.length){j=0;for(var P=c.length;j<P;j++){y=c[j];x[y]||(x[y]=e.expr.match.POS.test(y)?e(y,d||this.context):y)}for(;l&&l.ownerDocument&&l!==d;){for(y in x){j=x[y];if(j.jquery?j.index(l)>-1:e(l).is(j)){g.push({selector:y,elem:l});delete x[y]}}l=l.parentNode}}return g}var E=e.expr.match.POS.test(c)?
e(c,d||this.context):null;return this.map(function(O,Z){for(;Z&&Z.ownerDocument&&Z!==d;){if(E?E.index(Z)>-1:e(Z).is(c))return Z;Z=Z.parentNode}return null})},index:function(c){if(!c||typeof c==="string")return e.inArray(this[0],c?e(c):this.parent().children());return e.inArray(c.jquery?c[0]:c,this)},add:function(c,d){c=typeof c==="string"?e(c,d||this.context):e.makeArray(c);d=e.merge(this.get(),c);return this.pushStack(J(c[0])||J(d[0])?d:e.unique(d))},andSelf:function(){return this.add(this.prevObject)}});
e.each({parent:function(c){return(c=c.parentNode)&&c.nodeType!==11?c:null},parents:function(c){return e.dir(c,"parentNode")},parentsUntil:function(c,d,g){return e.dir(c,"parentNode",g)},next:function(c){return e.nth(c,2,"nextSibling")},prev:function(c){return e.nth(c,2,"previousSibling")},nextAll:function(c){return e.dir(c,"nextSibling")},prevAll:function(c){return e.dir(c,"previousSibling")},nextUntil:function(c,d,g){return e.dir(c,"nextSibling",g)},prevUntil:function(c,d,g){return e.dir(c,"previousSibling",
g)},siblings:function(c){return e.sibling(c.parentNode.firstChild,c)},children:function(c){return e.sibling(c.firstChild)},contents:function(c){return e.nodeName(c,"iframe")?c.contentDocument||c.contentWindow.document:e.makeArray(c.childNodes)}},function(c,d){e.fn[c]=function(g,l){var j=e.map(this,d,g);Ga.test(c)||(l=g);if(l&&typeof l==="string")j=e.filter(l,j);j=this.length>1?e.unique(j):j;if((this.length>1||Na.test(l))&&Ma.test(c))j=j.reverse();return this.pushStack(j,c,ma.call(arguments).join(","))}});
e.extend({filter:function(c,d,g){if(g)c=":not("+c+")";return e.find.matches(c,d)},dir:function(c,d,g){var l=[];for(c=c[d];c&&c.nodeType!==9&&(g===f||c.nodeType!==1||!e(c).is(g));){c.nodeType===1&&l.push(c);c=c[d]}return l},nth:function(c,d,g){d=d||1;for(var l=0;c;c=c[g])if(c.nodeType===1&&++l===d)break;return c},sibling:function(c,d){for(var g=[];c;c=c.nextSibling)c.nodeType===1&&c!==d&&g.push(c);return g}});var db=/ jQuery\d+="(?:\d+|null)"/g,Ra=/^\s+/,eb=/(<([\w:]+)[^>]*?)\/>/g,kb=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,
fb=/<([\w:]+)/,lb=/<tbody/i,mb=/<|&#?\w+;/,Za=/<script|<object|<embed|<option|<style/i,$a=/checked\s*(?:[^=]|=\s*.checked.)/i,gb=function(c,d,g){return kb.test(g)?c:d+"></"+g+">"},Ea={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:[0,
"",""]};Ea.optgroup=Ea.option;Ea.tbody=Ea.tfoot=Ea.colgroup=Ea.caption=Ea.thead;Ea.th=Ea.td;if(!e.support.htmlSerialize)Ea._default=[1,"div<div>","</div>"];e.fn.extend({text:function(c){if(e.isFunction(c))return this.each(function(d){var g=e(this);g.text(c.call(this,d,g.text()))});if(typeof c!=="object"&&c!==f)return this.empty().append((this[0]&&this[0].ownerDocument||w).createTextNode(c));return e.text(this)},wrapAll:function(c){if(e.isFunction(c))return this.each(function(g){e(this).wrapAll(c.call(this,
g))});if(this[0]){var d=e(c,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&d.insertBefore(this[0]);d.map(function(){for(var g=this;g.firstChild&&g.firstChild.nodeType===1;)g=g.firstChild;return g}).append(this)}return this},wrapInner:function(c){if(e.isFunction(c))return this.each(function(d){e(this).wrapInner(c.call(this,d))});return this.each(function(){var d=e(this),g=d.contents();g.length?g.wrapAll(c):d.append(c)})},wrap:function(c){return this.each(function(){e(this).wrapAll(c)})},
unwrap:function(){return this.parent().each(function(){e.nodeName(this,"body")||e(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(c){this.nodeType===1&&this.appendChild(c)})},prepend:function(){return this.domManip(arguments,true,function(c){this.nodeType===1&&this.insertBefore(c,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(d){this.parentNode.insertBefore(d,this)});else if(arguments.length){var c=
e(arguments[0]);c.push.apply(c,this.toArray());return this.pushStack(c,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(d){this.parentNode.insertBefore(d,this.nextSibling)});else if(arguments.length){var c=this.pushStack(this,"after",arguments);c.push.apply(c,e(arguments[0]).toArray());return c}},remove:function(c,d){for(var g=0,l;(l=this[g])!=null;g++)if(!c||e.filter(c,[l]).length){if(!d&&l.nodeType===1){e.cleanData(l.getElementsByTagName("*"));
e.cleanData([l])}l.parentNode&&l.parentNode.removeChild(l)}return this},empty:function(){for(var c=0,d;(d=this[c])!=null;c++)for(d.nodeType===1&&e.cleanData(d.getElementsByTagName("*"));d.firstChild;)d.removeChild(d.firstChild);return this},clone:function(c){var d=this.map(function(){if(!e.support.noCloneEvent&&!e.isXMLDoc(this)){var g=this.outerHTML,l=this.ownerDocument;if(!g){g=l.createElement("div");g.appendChild(this.cloneNode(true));g=g.innerHTML}return e.clean([g.replace(db,"").replace(/=([^="'>\s]+\/)>/g,
'="$1">').replace(Ra,"")],l)[0]}else return this.cloneNode(true)});if(c===true){D(this,d);D(this.find("*"),d.find("*"))}return d},html:function(c){if(c===f)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(db,""):null;else if(typeof c==="string"&&!Za.test(c)&&(e.support.leadingWhitespace||!Ra.test(c))&&!Ea[(fb.exec(c)||["",""])[1].toLowerCase()]){c=c.replace(eb,gb);try{for(var d=0,g=this.length;d<g;d++)if(this[d].nodeType===1){e.cleanData(this[d].getElementsByTagName("*"));this[d].innerHTML=
c}}catch(l){this.empty().append(c)}}else e.isFunction(c)?this.each(function(j){var x=e(this),y=x.html();x.empty().append(function(){return c.call(this,j,y)})}):this.empty().append(c);return this},replaceWith:function(c){if(this[0]&&this[0].parentNode){if(e.isFunction(c))return this.each(function(d){var g=e(this),l=g.html();g.replaceWith(c.call(this,d,l))});if(typeof c!=="string")c=e(c).detach();return this.each(function(){var d=this.nextSibling,g=this.parentNode;e(this).remove();d?e(d).before(c):
e(g).append(c)})}else return this.pushStack(e(e.isFunction(c)?c():c),"replaceWith",c)},detach:function(c){return this.remove(c,true)},domManip:function(c,d,g){function l(ja){return e.nodeName(ja,"table")?ja.getElementsByTagName("tbody")[0]||ja.appendChild(ja.ownerDocument.createElement("tbody")):ja}var j,x,y=c[0],P=[],E;if(!e.support.checkClone&&arguments.length===3&&typeof y==="string"&&$a.test(y))return this.each(function(){e(this).domManip(c,d,g,true)});if(e.isFunction(y))return this.each(function(ja){var ua=
e(this);c[0]=y.call(this,ja,d?ua.html():f);ua.domManip(c,d,g)});if(this[0]){j=y&&y.parentNode;j=e.support.parentNode&&j&&j.nodeType===11&&j.childNodes.length===this.length?{fragment:j}:aa(c,this,P);E=j.fragment;if(x=E.childNodes.length===1?(E=E.firstChild):E.firstChild){d=d&&e.nodeName(x,"tr");for(var O=0,Z=this.length;O<Z;O++)g.call(d?l(this[O],x):this[O],O>0||j.cacheable||this.length>1?E.cloneNode(true):E)}P.length&&e.each(P,q)}return this}});e.fragments={};e.each({appendTo:"append",prependTo:"prepend",
insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(c,d){e.fn[c]=function(g){var l=[];g=e(g);var j=this.length===1&&this[0].parentNode;if(j&&j.nodeType===11&&j.childNodes.length===1&&g.length===1){g[d](this[0]);return this}else{j=0;for(var x=g.length;j<x;j++){var y=(j>0?this.clone(true):this).get();e.fn[d].apply(e(g[j]),y);l=l.concat(y)}return this.pushStack(l,c,g.selector)}}});e.extend({clean:function(c,d,g,l){d=d||w;if(typeof d.createElement==="undefined")d=d.ownerDocument||
d[0]&&d[0].ownerDocument||w;for(var j=[],x=0,y;(y=c[x])!=null;x++){if(typeof y==="number")y+="";if(y){if(typeof y==="string"&&!mb.test(y))y=d.createTextNode(y);else if(typeof y==="string"){y=y.replace(eb,gb);var P=(fb.exec(y)||["",""])[1].toLowerCase(),E=Ea[P]||Ea._default,O=E[0],Z=d.createElement("div");for(Z.innerHTML=E[1]+y+E[2];O--;)Z=Z.lastChild;if(!e.support.tbody){O=lb.test(y);P=P==="table"&&!O?Z.firstChild&&Z.firstChild.childNodes:E[1]==="<table>"&&!O?Z.childNodes:[];for(E=P.length-1;E>=0;--E)e.nodeName(P[E],
"tbody")&&!P[E].childNodes.length&&P[E].parentNode.removeChild(P[E])}!e.support.leadingWhitespace&&Ra.test(y)&&Z.insertBefore(d.createTextNode(Ra.exec(y)[0]),Z.firstChild);y=Z.childNodes}if(y.nodeType)j.push(y);else j=e.merge(j,y)}}if(g)for(x=0;j[x];x++)if(l&&e.nodeName(j[x],"script")&&(!j[x].type||j[x].type.toLowerCase()==="text/javascript"))l.push(j[x].parentNode?j[x].parentNode.removeChild(j[x]):j[x]);else{j[x].nodeType===1&&j.splice.apply(j,[x+1,0].concat(e.makeArray(j[x].getElementsByTagName("script"))));
g.appendChild(j[x])}return j},cleanData:function(c){for(var d,g,l=e.cache,j=e.event.special,x=e.support.deleteExpando,y=0,P;(P=c[y])!=null;y++)if(g=P[e.expando]){d=l[g];if(d.events)for(var E in d.events)j[E]?e.event.remove(P,E):fa(P,E,d.handle);if(x)delete P[e.expando];else P.removeAttribute&&P.removeAttribute(e.expando);delete l[g]}}});var nb=/z-?index|font-?weight|opacity|zoom|line-?height/i,hb=/alpha\([^)]*\)/,ib=/opacity=([^)]*)/,Ua=/float/i,Va=/-([a-z])/ig,ob=/([A-Z])/g,pb=/^-?\d+(?:px)?$/i,
qb=/^-?\d/,rb={position:"absolute",visibility:"hidden",display:"block"},sb=["Left","Right"],tb=["Top","Bottom"],ub=w.defaultView&&w.defaultView.getComputedStyle,jb=e.support.cssFloat?"cssFloat":"styleFloat",Wa=function(c,d){return d.toUpperCase()};e.fn.css=function(c,d){return B(this,c,d,true,function(g,l,j){if(j===f)return e.curCSS(g,l);if(typeof j==="number"&&!nb.test(l))j+="px";e.style(g,l,j)})};e.extend({style:function(c,d,g){if(!c||c.nodeType===3||c.nodeType===8)return f;if((d==="width"||d===
"height")&&parseFloat(g)<0)g=f;var l=c.style||c,j=g!==f;if(!e.support.opacity&&d==="opacity"){if(j){l.zoom=1;d=parseInt(g,10)+""==="NaN"?"":"alpha(opacity="+g*100+")";c=l.filter||e.curCSS(c,"filter")||"";l.filter=hb.test(c)?c.replace(hb,d):d}return l.filter&&l.filter.indexOf("opacity=")>=0?parseFloat(ib.exec(l.filter)[1])/100+"":""}if(Ua.test(d))d=jb;d=d.replace(Va,Wa);if(j)l[d]=g;return l[d]},css:function(c,d,g,l){if(d==="width"||d==="height"){var j,x=d==="width"?sb:tb;g=function(){j=d==="width"?
c.offsetWidth:c.offsetHeight;l!=="border"&&e.each(x,function(){l||(j-=parseFloat(e.curCSS(c,"padding"+this,true))||0);if(l==="margin")j+=parseFloat(e.curCSS(c,"margin"+this,true))||0;else j-=parseFloat(e.curCSS(c,"border"+this+"Width",true))||0})};c.offsetWidth!==0?g():e.swap(c,rb,g);return Math.max(0,Math.round(j))}return e.curCSS(c,d,g)},curCSS:function(c,d,g){var l,j=c.style;if(!e.support.opacity&&d==="opacity"&&c.currentStyle){l=ib.test(c.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":
"";return l===""?"1":l}if(Ua.test(d))d=jb;if(!g&&j&&j[d])l=j[d];else if(ub){if(Ua.test(d))d="float";d=d.replace(ob,"-$1").toLowerCase();j=c.ownerDocument.defaultView;if(!j)return null;if(c=j.getComputedStyle(c,null))l=c.getPropertyValue(d);if(d==="opacity"&&l==="")l="1"}else if(c.currentStyle){g=d.replace(Va,Wa);l=c.currentStyle[d]||c.currentStyle[g];if(!pb.test(l)&&qb.test(l)){d=j.left;var x=c.runtimeStyle.left;c.runtimeStyle.left=c.currentStyle.left;j.left=g==="fontSize"?"1em":l||0;l=j.pixelLeft+
"px";j.left=d;c.runtimeStyle.left=x}}return l},swap:function(c,d,g){var l={};for(var j in d){l[j]=c.style[j];c.style[j]=d[j]}g.call(c);for(j in d)c.style[j]=l[j]}});if(e.expr&&e.expr.filters){e.expr.filters.hidden=function(c){var d=c.offsetWidth,g=c.offsetHeight,l=c.nodeName.toLowerCase()==="tr";return d===0&&g===0&&!l?true:d>0&&g>0&&!l?false:e.curCSS(c,"display")==="none"};e.expr.filters.visible=function(c){return!e.expr.filters.hidden(c)}}var vb=o(),wb=/<script(.|\s)*?\/script>/gi,xb=/select|textarea/i,
yb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,Oa=/=\?(&|$)/,Xa=/\?/,zb=/(\?|&)_=.*?(&|$)/,Ab=/^(\w+:)?\/\/([^\/?#]+)/,Bb=/%20/g,Cb=e.fn.load;e.fn.extend({load:function(c,d,g){if(typeof c!=="string")return Cb.call(this,c);else if(!this.length)return this;var l=c.indexOf(" ");if(l>=0){var j=c.slice(l,c.length);c=c.slice(0,l)}l="GET";if(d)if(e.isFunction(d)){g=d;d=null}else if(typeof d==="object"){d=e.param(d,e.ajaxSettings.traditional);l="POST"}var x=
this;e.ajax({url:c,type:l,dataType:"html",data:d,complete:function(y,P){if(P==="success"||P==="notmodified")x.html(j?e("<div />").append(y.responseText.replace(wb,"")).find(j):y.responseText);g&&x.each(g,[y.responseText,P,y])}});return this},serialize:function(){return e.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?e.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||xb.test(this.nodeName)||
yb.test(this.type))}).map(function(c,d){c=e(this).val();return c==null?null:e.isArray(c)?e.map(c,function(g){return{name:d.name,value:g}}):{name:d.name,value:c}}).get()}});e.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(c,d){e.fn[d]=function(g){return this.bind(d,g)}});e.extend({get:function(c,d,g,l){if(e.isFunction(d)){l=l||g;g=d;d=null}return e.ajax({type:"GET",url:c,data:d,success:g,dataType:l})},getScript:function(c,d){return e.get(c,null,d,"script")},
getJSON:function(c,d,g){return e.get(c,d,g,"json")},post:function(c,d,g,l){if(e.isFunction(d)){l=l||g;g=d;d={}}return e.ajax({type:"POST",url:c,data:d,success:g,dataType:l})},ajaxSetup:function(c){e.extend(e.ajaxSettings,c)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:b.XMLHttpRequest&&(b.location.protocol!=="file:"||!b.ActiveXObject)?function(){return new b.XMLHttpRequest}:function(){try{return new b.ActiveXObject("Microsoft.XMLHTTP")}catch(c){}},
accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(c){function d(){j.success&&j.success.call(E,P,y,oa);j.global&&l("ajaxSuccess",[oa,j])}function g(){j.complete&&j.complete.call(E,oa,y);j.global&&l("ajaxComplete",[oa,j]);j.global&&!--e.active&&e.event.trigger("ajaxStop")}function l(T,S){(j.context?e(j.context):e.event).trigger(T,
S)}var j=e.extend(true,{},e.ajaxSettings,c),x,y,P,E=c&&c.context||j,O=j.type.toUpperCase();if(j.data&&j.processData&&typeof j.data!=="string")j.data=e.param(j.data,j.traditional);if(j.dataType==="jsonp"){if(O==="GET")Oa.test(j.url)||(j.url+=(Xa.test(j.url)?"&":"?")+(j.jsonp||"callback")+"=?");else if(!j.data||!Oa.test(j.data))j.data=(j.data?j.data+"&":"")+(j.jsonp||"callback")+"=?";j.dataType="json"}if(j.dataType==="json"&&(j.data&&Oa.test(j.data)||Oa.test(j.url))){x=j.jsonpCallback||"jsonp"+vb++;
if(j.data)j.data=(j.data+"").replace(Oa,"="+x+"$1");j.url=j.url.replace(Oa,"="+x+"$1");j.dataType="script";b[x]=b[x]||function(T){P=T;d();g();b[x]=f;try{delete b[x]}catch(S){}ua&&ua.removeChild(Aa)}}if(j.dataType==="script"&&j.cache===null)j.cache=false;if(j.cache===false&&O==="GET"){var Z=o(),ja=j.url.replace(zb,"$1_="+Z+"$2");j.url=ja+(ja===j.url?(Xa.test(j.url)?"&":"?")+"_="+Z:"")}if(j.data&&O==="GET")j.url+=(Xa.test(j.url)?"&":"?")+j.data;j.global&&!e.active++&&e.event.trigger("ajaxStart");Z=
(Z=Ab.exec(j.url))&&(Z[1]&&Z[1]!==location.protocol||Z[2]!==location.host);if(j.dataType==="script"&&O==="GET"&&Z){var ua=w.getElementsByTagName("head")[0]||w.documentElement,Aa=w.createElement("script");Aa.src=j.url;if(j.scriptCharset)Aa.charset=j.scriptCharset;if(!x){var xa=false;Aa.onload=Aa.onreadystatechange=function(){if(!xa&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){xa=true;d();g();Aa.onload=Aa.onreadystatechange=null;ua&&Aa.parentNode&&ua.removeChild(Aa)}}}ua.insertBefore(Aa,
ua.firstChild);return f}var Da=false,oa=j.xhr();if(oa){j.username?oa.open(O,j.url,j.async,j.username,j.password):oa.open(O,j.url,j.async);try{if(j.data||c&&c.contentType)oa.setRequestHeader("Content-Type",j.contentType);if(j.ifModified){e.lastModified[j.url]&&oa.setRequestHeader("If-Modified-Since",e.lastModified[j.url]);e.etag[j.url]&&oa.setRequestHeader("If-None-Match",e.etag[j.url])}Z||oa.setRequestHeader("X-Requested-With","XMLHttpRequest");oa.setRequestHeader("Accept",j.dataType&&j.accepts[j.dataType]?
j.accepts[j.dataType]+", */*":j.accepts._default)}catch(Ta){}if(j.beforeSend&&j.beforeSend.call(E,oa,j)===false){j.global&&!--e.active&&e.event.trigger("ajaxStop");oa.abort();return false}j.global&&l("ajaxSend",[oa,j]);var p=oa.onreadystatechange=function(T){if(!oa||oa.readyState===0||T==="abort"){Da||g();Da=true;if(oa)oa.onreadystatechange=e.noop}else if(!Da&&oa&&(oa.readyState===4||T==="timeout")){Da=true;oa.onreadystatechange=e.noop;y=T==="timeout"?"timeout":!e.httpSuccess(oa)?"error":j.ifModified&&
e.httpNotModified(oa,j.url)?"notmodified":"success";var S;if(y==="success")try{P=e.httpData(oa,j.dataType,j)}catch(ka){y="parsererror";S=ka}if(y==="success"||y==="notmodified")x||d();else e.handleError(j,oa,y,S);g();T==="timeout"&&oa.abort();if(j.async)oa=null}};try{var v=oa.abort;oa.abort=function(){oa&&v.call(oa);p("abort")}}catch(F){}j.async&&j.timeout>0&&setTimeout(function(){oa&&!Da&&p("timeout")},j.timeout);try{oa.send(O==="POST"||O==="PUT"||O==="DELETE"?j.data:null)}catch(M){e.handleError(j,
oa,null,M);g()}j.async||p();return oa}},handleError:function(c,d,g,l){if(c.error)c.error.call(c.context||c,d,g,l);if(c.global)(c.context?e(c.context):e.event).trigger("ajaxError",[d,c,l])},active:0,httpSuccess:function(c){try{return!c.status&&location.protocol==="file:"||c.status>=200&&c.status<300||c.status===304||c.status===1223||c.status===0}catch(d){}return false},httpNotModified:function(c,d){var g=c.getResponseHeader("Last-Modified"),l=c.getResponseHeader("Etag");if(g)e.lastModified[d]=g;if(l)e.etag[d]=
l;return c.status===304||c.status===0},httpData:function(c,d,g){var l=c.getResponseHeader("content-type")||"",j=d==="xml"||!d&&l.indexOf("xml")>=0;c=j?c.responseXML:c.responseText;j&&c.documentElement.nodeName==="parsererror"&&e.error("parsererror");if(g&&g.dataFilter)c=g.dataFilter(c,d);if(typeof c==="string")if(d==="json"||!d&&l.indexOf("json")>=0)c=e.parseJSON(c);else if(d==="script"||!d&&l.indexOf("javascript")>=0)e.globalEval(c);return c},param:function(c,d){function g(y,P){if(e.isArray(P))e.each(P,
function(E,O){d||/\[\]$/.test(y)?l(y,O):g(y+"["+(typeof O==="object"||e.isArray(O)?E:"")+"]",O)});else!d&&P!=null&&typeof P==="object"?e.each(P,function(E,O){g(y+"["+E+"]",O)}):l(y,P)}function l(y,P){P=e.isFunction(P)?P():P;j[j.length]=encodeURIComponent(y)+"="+encodeURIComponent(P)}var j=[];if(d===f)d=e.ajaxSettings.traditional;if(e.isArray(c)||c.jquery)e.each(c,function(){l(this.name,this.value)});else for(var x in c)g(x,c[x]);return j.join("&").replace(Bb,"+")}});var Ya={},Db=/toggle|show|hide/,
Eb=/^([+-]=)?([\d+-.]+)(.*)$/,Sa,ab=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];e.fn.extend({show:function(c,d){if(c||c===0)return this.animate(Q("show",3),c,d);else{c=0;for(d=this.length;c<d;c++){var g=e.data(this[c],"olddisplay");this[c].style.display=g||"";if(e.css(this[c],"display")==="none"){g=this[c].nodeName;var l;if(Ya[g])l=Ya[g];else{var j=e("<"+g+" />").appendTo("body");l=j.css("display");
if(l==="none")l="block";j.remove();Ya[g]=l}e.data(this[c],"olddisplay",l)}}c=0;for(d=this.length;c<d;c++)this[c].style.display=e.data(this[c],"olddisplay")||"";return this}},hide:function(c,d){if(c||c===0)return this.animate(Q("hide",3),c,d);else{c=0;for(d=this.length;c<d;c++){var g=e.data(this[c],"olddisplay");!g&&g!=="none"&&e.data(this[c],"olddisplay",e.css(this[c],"display"))}c=0;for(d=this.length;c<d;c++)this[c].style.display="none";return this}},_toggle:e.fn.toggle,toggle:function(c,d){var g=
typeof c==="boolean";if(e.isFunction(c)&&e.isFunction(d))this._toggle.apply(this,arguments);else c==null||g?this.each(function(){var l=g?c:e(this).is(":hidden");e(this)[l?"show":"hide"]()}):this.animate(Q("toggle",3),c,d);return this},fadeTo:function(c,d,g){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:d},c,g)},animate:function(c,d,g,l){var j=e.speed(d,g,l);if(e.isEmptyObject(c))return this.each(j.complete);return this[j.queue===false?"each":"queue"](function(){var x=
e.extend({},j),y,P=this.nodeType===1&&e(this).is(":hidden"),E=this;for(y in c){var O=y.replace(Va,Wa);if(y!==O){c[O]=c[y];delete c[y];y=O}if(c[y]==="hide"&&P||c[y]==="show"&&!P)return x.complete.call(this);if((y==="height"||y==="width")&&this.style){x.display=e.css(this,"display");x.overflow=this.style.overflow}if(e.isArray(c[y])){(x.specialEasing=x.specialEasing||{})[y]=c[y][1];c[y]=c[y][0]}}if(x.overflow!=null)this.style.overflow="hidden";x.curAnim=e.extend({},c);e.each(c,function(Z,ja){var ua=
new e.fx(E,x,Z);if(Db.test(ja))ua[ja==="toggle"?P?"show":"hide":ja](c);else{var Aa=Eb.exec(ja),xa=ua.cur(true)||0;if(Aa){ja=parseFloat(Aa[2]);var Da=Aa[3]||"px";if(Da!=="px"){E.style[Z]=(ja||1)+Da;xa=(ja||1)/ua.cur(true)*xa;E.style[Z]=xa+Da}if(Aa[1])ja=(Aa[1]==="-="?-1:1)*ja+xa;ua.custom(xa,ja,Da)}else ua.custom(xa,ja,"")}});return true})},stop:function(c,d){var g=e.timers;c&&this.queue([]);this.each(function(){for(var l=g.length-1;l>=0;l--)if(g[l].elem===this){d&&g[l](true);g.splice(l,1)}});d||this.dequeue();
return this}});e.each({slideDown:Q("show",1),slideUp:Q("hide",1),slideToggle:Q("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(c,d){e.fn[c]=function(g,l){return this.animate(d,g,l)}});e.extend({speed:function(c,d,g){var l=c&&typeof c==="object"?c:{complete:g||!g&&d||e.isFunction(c)&&c,duration:c,easing:g&&d||d&&!e.isFunction(d)&&d};l.duration=e.fx.off?0:typeof l.duration==="number"?l.duration:e.fx.speeds[l.duration]||e.fx.speeds._default;l.old=l.complete;l.complete=function(){l.queue!==
false&&e(this).dequeue();e.isFunction(l.old)&&l.old.call(this)};return l},easing:{linear:function(c,d,g,l){return g+l*c},swing:function(c,d,g,l){return(-Math.cos(c*Math.PI)/2+0.5)*l+g}},timers:[],fx:function(c,d,g){this.options=d;this.elem=c;this.prop=g;if(!d.orig)d.orig={}}});e.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(e.fx.step[this.prop]||e.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display=
"block"},cur:function(c){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(c=parseFloat(e.css(this.elem,this.prop,c)))&&c>-10000?c:parseFloat(e.curCSS(this.elem,this.prop))||0},custom:function(c,d,g){function l(x){return j.step(x)}this.startTime=o();this.start=c;this.end=d;this.unit=g||this.unit||"px";this.now=this.start;this.pos=this.state=0;var j=this;l.elem=this.elem;if(l()&&e.timers.push(l)&&!Sa)Sa=setInterval(e.fx.tick,13)},
show:function(){this.options.orig[this.prop]=e.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());e(this.elem).show()},hide:function(){this.options.orig[this.prop]=e.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(c){var d=o(),g=true;if(c||d>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var l in this.options.curAnim)if(this.options.curAnim[l]!==
true)g=false;if(g){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;c=e.data(this.elem,"olddisplay");this.elem.style.display=c?c:this.options.display;if(e.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&e(this.elem).hide();if(this.options.hide||this.options.show)for(var j in this.options.curAnim)e.style(this.elem,j,this.options.orig[j]);this.options.complete.call(this.elem)}return false}else{j=d-this.startTime;this.state=j/this.options.duration;
c=this.options.easing||(e.easing.swing?"swing":"linear");this.pos=e.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||c](this.state,j,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};e.extend(e.fx,{tick:function(){for(var c=e.timers,d=0;d<c.length;d++)c[d]()||c.splice(d--,1);c.length||e.fx.stop()},stop:function(){clearInterval(Sa);Sa=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(c){e.style(c.elem,
"opacity",c.now)},_default:function(c){if(c.elem.style&&c.elem.style[c.prop]!=null)c.elem.style[c.prop]=(c.prop==="width"||c.prop==="height"?Math.max(0,c.now):c.now)+c.unit;else c.elem[c.prop]=c.now}}});if(e.expr&&e.expr.filters)e.expr.filters.animated=function(c){return e.grep(e.timers,function(d){return c===d.elem}).length};e.fn.offset="getBoundingClientRect"in w.documentElement?function(c){var d=this[0];if(c)return this.each(function(j){e.offset.setOffset(this,c,j)});if(!d||!d.ownerDocument)return null;
if(d===d.ownerDocument.body)return e.offset.bodyOffset(d);var g=d.getBoundingClientRect(),l=d.ownerDocument;d=l.body;l=l.documentElement;return{top:g.top+(self.pageYOffset||e.support.boxModel&&l.scrollTop||d.scrollTop)-(l.clientTop||d.clientTop||0),left:g.left+(self.pageXOffset||e.support.boxModel&&l.scrollLeft||d.scrollLeft)-(l.clientLeft||d.clientLeft||0)}}:function(c){var d=this[0];if(c)return this.each(function(Z){e.offset.setOffset(this,c,Z)});if(!d||!d.ownerDocument)return null;if(d===d.ownerDocument.body)return e.offset.bodyOffset(d);
e.offset.initialize();var g=d.offsetParent,l=d,j=d.ownerDocument,x,y=j.documentElement,P=j.body;l=(j=j.defaultView)?j.getComputedStyle(d,null):d.currentStyle;for(var E=d.offsetTop,O=d.offsetLeft;(d=d.parentNode)&&d!==P&&d!==y;){if(e.offset.supportsFixedPosition&&l.position==="fixed")break;x=j?j.getComputedStyle(d,null):d.currentStyle;E-=d.scrollTop;O-=d.scrollLeft;if(d===g){E+=d.offsetTop;O+=d.offsetLeft;if(e.offset.doesNotAddBorder&&!(e.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(d.nodeName))){E+=
parseFloat(x.borderTopWidth)||0;O+=parseFloat(x.borderLeftWidth)||0}l=g;g=d.offsetParent}if(e.offset.subtractsBorderForOverflowNotVisible&&x.overflow!=="visible"){E+=parseFloat(x.borderTopWidth)||0;O+=parseFloat(x.borderLeftWidth)||0}l=x}if(l.position==="relative"||l.position==="static"){E+=P.offsetTop;O+=P.offsetLeft}if(e.offset.supportsFixedPosition&&l.position==="fixed"){E+=Math.max(y.scrollTop,P.scrollTop);O+=Math.max(y.scrollLeft,P.scrollLeft)}return{top:E,left:O}};e.offset={initialize:function(){var c=
w.body,d=w.createElement("div"),g,l,j,x=parseFloat(e.curCSS(c,"marginTop",true))||0;e.extend(d.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});d.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";
c.insertBefore(d,c.firstChild);g=d.firstChild;l=g.firstChild;j=g.nextSibling.firstChild.firstChild;this.doesNotAddBorder=l.offsetTop!==5;this.doesAddBorderForTableAndCells=j.offsetTop===5;l.style.position="fixed";l.style.top="20px";this.supportsFixedPosition=l.offsetTop===20||l.offsetTop===15;l.style.position=l.style.top="";g.style.overflow="hidden";g.style.position="relative";this.subtractsBorderForOverflowNotVisible=l.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=c.offsetTop!==x;c.removeChild(d);
e.offset.initialize=e.noop},bodyOffset:function(c){var d=c.offsetTop,g=c.offsetLeft;e.offset.initialize();if(e.offset.doesNotIncludeMarginInBodyOffset){d+=parseFloat(e.curCSS(c,"marginTop",true))||0;g+=parseFloat(e.curCSS(c,"marginLeft",true))||0}return{top:d,left:g}},setOffset:function(c,d,g){if(/static/.test(e.curCSS(c,"position")))c.style.position="relative";var l=e(c),j=l.offset(),x=parseInt(e.curCSS(c,"top",true),10)||0,y=parseInt(e.curCSS(c,"left",true),10)||0;if(e.isFunction(d))d=d.call(c,
g,j);g={top:d.top-j.top+x,left:d.left-j.left+y};"using"in d?d.using.call(c,g):l.css(g)}};e.fn.extend({position:function(){if(!this[0])return null;var c=this[0],d=this.offsetParent(),g=this.offset(),l=/^body|html$/i.test(d[0].nodeName)?{top:0,left:0}:d.offset();g.top-=parseFloat(e.curCSS(c,"marginTop",true))||0;g.left-=parseFloat(e.curCSS(c,"marginLeft",true))||0;l.top+=parseFloat(e.curCSS(d[0],"borderTopWidth",true))||0;l.left+=parseFloat(e.curCSS(d[0],"borderLeftWidth",true))||0;return{top:g.top-
l.top,left:g.left-l.left}},offsetParent:function(){return this.map(function(){for(var c=this.offsetParent||w.body;c&&!/^body|html$/i.test(c.nodeName)&&e.css(c,"position")==="static";)c=c.offsetParent;return c})}});e.each(["Left","Top"],function(c,d){var g="scroll"+d;e.fn[g]=function(l){var j=this[0],x;if(!j)return null;if(l!==f)return this.each(function(){if(x=R(this))x.scrollTo(!c?l:e(x).scrollLeft(),c?l:e(x).scrollTop());else this[g]=l});else return(x=R(j))?"pageXOffset"in x?x[c?"pageYOffset":"pageXOffset"]:
e.support.boxModel&&x.document.documentElement[g]||x.document.body[g]:j[g]}});e.each(["Height","Width"],function(c,d){var g=d.toLowerCase();e.fn["inner"+d]=function(){return this[0]?e.css(this[0],g,false,"padding"):null};e.fn["outer"+d]=function(l){return this[0]?e.css(this[0],g,false,l?"margin":"border"):null};e.fn[g]=function(l){var j=this[0];if(!j)return l==null?null:this;if(e.isFunction(l))return this.each(function(x){var y=e(this);y[g](l.call(this,x,y[g]()))});return"scrollTo"in j&&j.document?
j.document.compatMode==="CSS1Compat"&&j.document.documentElement["client"+d]||j.document.body["client"+d]:j.nodeType===9?Math.max(j.documentElement["client"+d],j.body["scroll"+d],j.documentElement["scroll"+d],j.body["offset"+d],j.documentElement["offset"+d]):l===f?e.css(j,g):this.css(g,typeof l==="string"?l:l+"px")}});b.jQuery=b.$=e})(window);jQuery.noConflict();function WikispacesAutocomplete(){}WikispacesAutocomplete.idCounter=0;WikispacesAutocomplete.searchHandle=Array();
WikispacesAutocomplete.messageMap={page:{success:"Page Found",failure:"Page Not Found - A link will be made to a new page"},space:{success:"Wiki Found",failure:"Wiki Not Found"},tag:{success:"Tag Found",failure:"Tag Not Found"},instance:{success:"PL Found",failure:"PL Not Found"}};WikispacesAutocomplete.formatInstanceItem=function(b){return jQuery("<div/>").append(jQuery("<span>").text(b[1])).append(jQuery('<span class="autocompleteId"/>').hide().text(b[0])).html()};
WikispacesAutocomplete.formatTagItem=function(b){return jQuery("<div/>").text(b[0]).append(jQuery('<span class="autocompleteId"/>').hide().text(b[0])).html()};WikispacesAutocomplete.formatPageItem=function(b){return jQuery("<div/>").text(b[0]).append(jQuery('<span class="autocompleteId"/>').hide().text(b[0])).html()};
WikispacesAutocomplete.formatSpaceItem=function(b){var f=jQuery("<div>").append(jQuery("<span>").addClass("autocompleteSpaceMember-"+b[3]).text(b[0])).append("<br>").append(jQuery("<span>").addClass("autocompleteSupplemental").text("http://"+b[2]));b[1]&&f.append("<br>").append(jQuery("<span>").addClass("autocompleteSupplemental").text("Member Since "+b[1]));f.append(jQuery("<span>").addClass("autocompleteId").hide().text(b[4]));return f.html()};
WikispacesAutocomplete.findValue=function(b,f){jQuery(b.input).hasClass("autocompletePage")||jQuery(b.input).hasClass("autocompleteSpace")||jQuery(b.input).hasClass("autocompleteInstance")||jQuery(b.input).hasClass("autocompleteTag");f==null?jQuery(b.input).addClass("ac_nomatch").removeClass("ac_match").nextAll("input.autocompleteData:first").eq(0).val(""):jQuery(b.input).addClass("ac_match").removeClass("ac_nomatch").nextAll("input.autocompleteData:first").eq(0).val(jQuery(f).find(".autocompleteId").text())};
WikispacesAutocomplete.emptyValue=function(b){jQuery(b.input).removeClass("ac_match").removeClass("ac_nomatch")};WikispacesAutocomplete.selectItem=function(b,f){jQuery(b.input).addClass("ac_match").removeClass("ac_nomatch");var h=jQuery(b.input).nextAll("input.autocompleteData:first").eq(0);if(h.length){jQuery(b.input).val(jQuery(f).children(":first").text());h.val(jQuery(f).find(".autocompleteId").text())}b.input.focus()};
WikispacesAutocomplete.initAutocomplete=function(b){if(jQuery(b).get(0).autocompleter)return true;var f={maxItemsToShow:20,onFindValue:WikispacesAutocomplete.findValue,onEmptyValue:WikispacesAutocomplete.emptyValue,formatItem:WikispacesAutocomplete.formatInstanceItem,onItemSelect:WikispacesAutocomplete.selectItem,id:WikispacesAutocomplete.idCounter++};if(jQuery(b).is(".autocompleteInstance")||jQuery(b).is(".autocompleteSpace")){jQuery(b).after('<input type="text" name="'+jQuery(b).attr("name")+'" class="autocompleteData" style="display:none;"/>').val(jQuery(b).val());
jQuery(b).attr("name","Visible"+jQuery(b).attr("name"));f.minChars=3}var h;if(jQuery(b).is(".autocompleteSpace")){f.formatItem=WikispacesAutocomplete.formatSpaceItem;h="/space/autocomplete/space"}if(jQuery(b).is(".autocompleteInstance")){f.formatItem=WikispacesAutocomplete.formatInstanceItem;h="/space/autocomplete/instance"}if(jQuery(b).is(".autocompleteTag")){f.formatItem=WikispacesAutocomplete.formatTagItem;h="/space/autocomplete/tag"}if(jQuery(b).is(".autocompletePage")){f.formatItem=WikispacesAutocomplete.formatPageItem;
h="/space/autocomplete/page"}jQuery(b).autocomplete(h,f);jQuery(b).keydown(function(q){if(q.keyCode!=13&&q.keyCode!=9&&(q.keyCode<37||q.keyCode>40)){WikispacesAutocomplete.searchHandle[b.autocompleter.options.id]&&clearTimeout(WikispacesAutocomplete.searchHandle[b.autocompleter.options.id]);WikispacesAutocomplete.searchHandle[b.autocompleter.options.id]=setTimeout(function(){WikispacesAutocomplete.searchValue(b.autocompleter)},500)}});jQuery(b).val()&&b.autocompleter.findValue()};
WikispacesAutocomplete.searchValue=function(b){clearTimeout(WikispacesAutocomplete.searchHandle[b.options.id]);delete WikispacesAutocomplete.searchHandle[b.options.id];var f=b.input.value,h=WikispacesAutocomplete.getValue(b),q=false;jQuery("."+b.options.resultsClass+" li").each(function(){var B=jQuery(this).text(),o=jQuery(this).text(),m=jQuery(this).find(".autocompleteId");if(m.length){B=jQuery(this).children(":first").text();o=m.text()}if(B==f&&o!=h){WikispacesAutocomplete.selectItem(b,this);q=
true}else if(B==f&&o==h){jQuery(b.input).addClass("ac_match").removeClass("ac_nomatch");q=true}});if(q==false){jQuery(b.input).nextAll("input.autocompleteData:first").val("");jQuery(b.input).removeClass("ac_match").addClass("ac_nomatch")}};WikispacesAutocomplete.getValue=function(b){var f=b.input;b=jQuery(f).val();f=jQuery(f).nextAll("input.autocompleteData:first").eq(0);if(f.length)b=f.val();return b};WikispacesAutocomplete.registerAutocompleters=function(){jQuery("input.autocompleteInstance, input.autocompleteSpace, input.autocompleteTag, input.autocompletePage").each(function(){WikispacesAutocomplete.initAutocomplete(this)})};
WikispacesCOB={};WikispacesCOB.cobChecks={};WikispacesCOB.cobChecksCount=0;
WikispacesCOB.bulkOperation=function(b,f,h){var q=jQuery(b).closest("form").attr("action","/site/bulk");jQuery("<input>").attr({type:"hidden",name:"operation",value:f}).appendTo(q);jQuery.each(h,function(o,m){jQuery("<input>").attr({type:"hidden",name:"params["+o+"]",value:m}).appendTo(q)});for(var B in WikispacesCOB.cobChecks)jQuery("<input>").attr("type","hidden").addClass("cobId").attr("name","cobCheck[]").val(B).appendTo(q);if(!q.find(".cobId").length){alert("Please select at least one item from the list to continue.");
return false}jQuery("<input>").attr("type","hidden").attr("name","goto").val(document.location.href).appendTo(q);q.submit();return false};WikispacesCOB.setCheckboxes=function(b){b=jQuery(b);if(b.length){b.find("input.cobCheck").each(function(){if(WikispacesCOB.cobChecks[jQuery(this).val()]){jQuery(this).attr("checked",true);WikispacesCOB.highlightRow(this,true)}});WikispacesCOB.updateSelections(b.closest(".cobWrapper"))}};
WikispacesCOB.updateSelections=function(b){var f=jQuery(b).find(".selections");if(WikispacesCOB.cobChecksCount<=0)f.hide();else{f.find(".selectionCount").text(WikispacesCOB.cobChecksCount);if(WikispacesCOB.cobChecksCount==1){f.find(".selectionPlural").hide();f.find(".selectionSingular").show()}else{f.find(".selectionSingular").hide();f.find(".selectionPlural").show()}f.show().find("span").css("color","#F00").animate({color:"#000"},2E3);b=b.find("table.cob");b.find("input.cobSelectAll").attr("checked",
!b.find("input.cobCheck:not(:checked):first").length)}};WikispacesCOB.checkBox=function(b,f){b=jQuery(b);WikispacesCOB.highlightRow(b,f);if(f&&!WikispacesCOB.cobChecks[b.val()]){WikispacesCOB.cobChecks[b.val()]=1;WikispacesCOB.cobChecksCount++}if(!f&&WikispacesCOB.cobChecks[b.val()]){delete WikispacesCOB.cobChecks[b.val()];WikispacesCOB.cobChecksCount--}};
WikispacesCOB.highlightRow=function(b,f){b=jQuery(b);b=b.closest("tr");b.toggleClass("hl",f);if(b.is(".topHalfRow"))for(b=b.next("tr:first");b.length;b=b.next("tr:first")){b.toggleClass("hl",f);if(b.is(".bottomHalfRow"))break}};
WikispacesCOB.makeCallback=function(b,f,h){h=h||WikispacesCOB.defaultCallback;return function(q){var B=jQuery("#"+b);h(B,q);B=jQuery("#"+b);WikispacesCOB.setCheckboxes(B.find(".cob"));B.find(".w_sort, .pagerLink, .searchLink, .tagLink").click(function(o){if(!WikispacesTags.promptForOpenInputs(o))return false;jQuery("#"+b).addClass("loading");trackFileLink(this.href);o.preventDefault();return false}).jssm("click");q=(q=/[?&]tag=([^&]+)/.exec(f))?decodeURIComponent(q[1]).split(","):[];B=B.find(".filterWrapper");
WikispacesCOB.initFilter(B,{tagChangeCallback:function(o){var m=jQuery(o.filter).find(".tagLink");m.attr("href",WikispacesCommon.addUriParams(m.attr("href"),[["tag",o.getTags()]]));m.click();return false},mode:jQuery.trim(B.find(".listType").text()),tags:q})}};WikispacesCOB.defaultCallback=function(b,f){b.html(f).removeClass("loading");b.find("th:first").is(":inView")||jQuery.scrollTo(b,{axis:"y"})};WikispacesCOB.TAG_PER_PAGE=7;
WikispacesCOB.initFilter=function(b,f){this.filter=jQuery(b);if(!this.filter.length)return false;var h=this;this.showTagSpinner=function(){};this.hideTagSpinner=function(){};this.showPage=function(q){this.showTagSpinner();var B=(q-1)*WikispacesCOB.TAG_PER_PAGE,o=this.getTags(),m=this.filter.closest(".cobWrapper").find(".cobUrl").attr("href");m||(m="/tag/listjson/"+encodeURIComponent(this.options.mode));m=WikispacesCommon.addUriParams(m,[["offset",B],["tag",o],["tagPage","1"]]);jQuery.ajaxq("tagList");
jQuery.ajaxq("tagList",{url:m,type:"GET",dataType:"json",global:false,cache:false,error:function(){reloadSession(function(){h.showPage(q)},3E3,function(){h.options.sessionFailCallback(h)})},success:function(t){reloadSessionSuccess();h.loadTagData(t);h.hideTagSpinner();h.options.tagPageChangeCallback(h)}})};this.tagChange=function(){false!=this.options.tagChangeCallback(this)&&this.showPage(1)};this.displayTag=function(q){var B=jQuery("<li>");B.attr("title",q).text(WikispacesCommon.truncate(q,28)).addClass("bit-box");
jQuery("<a>").attr({"class":"closebutton",href:"#"}).appendTo(B).click(function(o){h.removeTag(this);o.preventDefault()});this.filter.find(".tagFilterActive").show().append(B)};this.addTag=function(q){this.displayTag(q);this.tagChange()};this.removeTag=function(q){jQuery(q).parent().remove();this.tagChange();this.filter.find(".tagFilterActive li").length||this.filter.find(".tagFilterActive").hide()};this.getTags=function(){var q=[];this.filter.find(".tagFilterActive li").each(function(){q.push(jQuery(this).attr("title"))});
return q.join()};this.loadTagData=function(q){var B=this.filter.find(".tagFilterList");if(q.tags.length){this.filter.find(".filterTagSection").removeClass("hidden");B.empty().show()}else B.hide().empty();jQuery.each(q.tags,function(o,m){jQuery("<li>").attr("title",m.name).text(WikispacesCommon.truncate(m.name,28)+" ("+m.count+")").click(function(){h.addTag(m.name)}).appendTo(B)});q.pagedata.current!=1&&jQuery('<li class="upTagPageLink"></li>').click(function(){h.showPage(q.pagedata.current-1)}).prependTo(B);
q.pagedata.islastpage||jQuery('<li class="downTagPageLink"></li>').click(function(){h.showPage(q.pagedata.current+1)}).appendTo(B)};this.setMode=function(q){this.options.mode=q};this.options=jQuery.extend({tagChangeCallback:function(){},sessionFailCallback:function(){},tagPageChangeCallback:function(){},mode:"files",tags:[]},f);if(this.options.tags.length){jQuery.each(this.options.tags,function(q,B){h.displayTag(B)});this.filter.find(".filterTagSection").removeClass("hidden")}(b=this.filter.find(".initialJson").text())?
this.loadTagData(JSON.parse(b)):this.showPage(1);this.filter.find(".autocompleteTag").each(function(){WikispacesAutocomplete.initAutocomplete(this);var q=this.autocompleter.options.onItemSelect;this.autocompleter.options.onItemSelect=function(B,o){q.call(this,B,o);h.addTag(jQuery(o).find(".autocompleteId").text());jQuery(B.input).val("").removeClass("ac_match").removeClass("ac_nomatch")}});return this};
jQuery(document).ready(function(){jQuery(".cob .editable").live("mouseover",function(){jQuery(this).find(".editText").removeClass("invisible")}).live("mouseout",function(){jQuery(this).find(".editText").addClass("invisible")});jQuery(".cob .bottomHalfRow").live("mouseover",function(){jQuery(this).prev("tr").find(".editText").removeClass("invisible")}).live("mouseout",function(){jQuery(this).prev("tr").find(".editText").addClass("invisible")});jQuery(".cob .selectionsRemove").live("click",function(b){var f=
jQuery(this).closest(".cobWrapper");f.find("input[type=checkbox].cobCheck").attr("checked",false).each(function(){WikispacesCOB.highlightRow(this,false)});f.find(".cobSelectAll").attr("checked",false);WikispacesCOB.cobChecksCount=0;WikispacesCOB.cobChecks={};WikispacesCOB.updateSelections(f);b.preventDefault()});jQuery(".cobSelectAll").live("click",function(){var b=jQuery(this).attr("checked"),f=jQuery(this).closest(".cobWrapper");f.find("input[type=checkbox].cobCheck").attr("checked",b).each(function(){WikispacesCOB.checkBox(this,
b)});WikispacesCOB.updateSelections(f)});jQuery(".cobCheck").live("click",function(){WikispacesCOB.checkBox(this,jQuery(this).attr("checked"));WikispacesCOB.updateSelections(jQuery(this).closest(".cobWrapper"))});jQuery(".toggleBottomHalfRow").live("click",function(){if(jQuery(this).attr("checked")){jQuery(".oneRow").addClass("twoRows").removeClass("oneRow");jQuery(".rowSpan2").attr("rowspan","2");Cookie.set("showDetails",1)}else{jQuery(".twoRows td[rowspan=2]").attr("rowspan","1");jQuery(".twoRows").addClass("oneRow").removeClass("twoRows");
Cookie.erase("showDetails")}})});var helpStack=Array(),currentId="0",currentSection="0",currentSectionCount=0,sectionTitles={1:"Editing Your Home Page",2:"Introduction to Your Wiki",3:"Becoming Familiar with Your Wiki",4:"Managing Your User Account",5:"Inviting Members to Your Wiki",6:"Some Advanced Features",7:"More on Wikispaces and Wikis"};
function showGettingStartedHome(){jQuery("#WikispacesGettingStartedCategory").empty();jQuery("#WikispacesGettingStartedBreadcrumbHome").addClass("WikispacesHelpBreadcrumbCurrent");jQuery("#WikispacesGettingStartedNav").empty();jQuery("#w_gs_"+currentSection+"-"+currentId).hide();jQuery("#w_gs_index").show();currentSection=currentId="0";return false}function showAllGettingStarted(){jQuery("#w_gs_index").hide();jQuery(".w_gs").show()}
function showGettingStartedDiv(b,f){jQuery("#WikispacesGettingStartedBreadcrumbs .WikispacesHelpBreadcrumbCurrent").removeClass("WikispacesHelpBreadcrumbCurrent");jQuery("#WikispacesGettingStartedCategory").html('<span class="WikispacesHelpBreadcrumb WikispacesHelpBreadcrumbCurrent"> &gt; <a href="#" onclick="return false;">'+sectionTitles[b]+"</a></span>");jQuery("#w_gs_index").hide();if(b!=currentSection){n=1;jQuery("#w_gs_s"+b).children().each(function(h){jQuery("#WikispacesGettingStartedNav").append('<div id="w_gs_n'+
n+'" class="num" onclick="showGettingStartedDiv(currentSection, \''+n+"');\">"+n+"</div>");n++});currentSectionCount=n-1;jQuery("#WikispacesGettingStartedNav").append('<div id="w_gs_next" onclick="showGettingStartedDiv(currentSection, parseInt(currentId) + 1);">Next &gt;</div>');jQuery("#WikispacesGettingStartedNav").append('<div id="w_gs_end" onclick="return showGettingStartedHome();">Menu</div>');jQuery("#WikispacesGettingStartedNav").show()}if(f!=currentId){jQuery("#w_gs_n"+currentId).removeClass("navhl");
jQuery("#w_gs_"+currentSection+"-"+currentId).hide()}jQuery("#w_gs_n"+f).addClass("navhl");jQuery("#w_gs_"+b+"-"+f).show();parseInt(f)==currentSectionCount?jQuery("#w_gs_next").hide():jQuery("#w_gs_next").show();currentId=f;currentSection=b;return false}
function attachGettingStarted(b){jQuery("#WikispacesHelp").css("left",Math.max(0,jQuery(window).width()/2-450).toString()+"px");jQuery("#WikispacesHelp").css("top",Math.max(0,jQuery(window).height()/2-300).toString()+"px");jQuery("#WikispacesHelp").jqm({trigger:".WikispacesHelpTrigger",onShow:function(f){loadGettingStarted(b);f.w.show();hideOverlappingEmbeds(f.w)},onHide:function(f){f.w.effect("transfer",{to:".WikispacesHelpTrigger",className:"jqmTransfer"},1E3);f.w.hide();f.o.remove();hideOverlappingEmbeds(f.w)}})}
var scroll;function scrollUp(b){if(b)scroll=true;if(scroll){jQuery("#WikispacesHelpContent").scrollTop(jQuery("#WikispacesHelpContent").scrollTop()-20);setTimeout("scrollUp(false);",50)}}function scrollDown(b){if(b)scroll=true;if(scroll){jQuery("#WikispacesHelpContent").scrollTop(jQuery("#WikispacesHelpContent").scrollTop()+20);setTimeout("scrollDown(false);",50)}}function stopScroll(){scroll=false}
function attachHelpWindow(b){jQuery("#WikispacesHelp").css("left",Math.max(0,jQuery(window).width()/2-450).toString()+"px");jQuery("#WikispacesHelp").css("top",Math.max(0,jQuery(window).height()/2-300).toString()+"px");jQuery("#WikispacesHelp").jqm({trigger:".WikispacesHelpTrigger",onShow:function(f){helpStack.length==0&&loadHelp(b);f.w.show();hideOverlappingEmbeds(f.w)},onHide:function(f){f.w.effect("transfer",{to:".WikispacesHelpTrigger",className:"jqmTransfer"},1E3);f.w.hide();f.o.remove();hideOverlappingEmbeds(f.w)}})}
function loadGettingStarted(b){jQuery("#WikispacesHelpControls").hide();jQuery("#WikispacesHelpContent").hide();jQuery("#WikispacesGettingStartedControls").show();jQuery("#WikispacesGettingStartedContent").show();jQuery.ajaxq("help",{url:"/site/helpcontent/none?mode=gettingstarted"+b,type:"GET",dataType:"html",success:function(f,h){jQuery("#WikispacesGettingStartedContent").html(f);reloadSessionSuccess()},error:function(f,h,q){reloadSession(function(){loadGettingStarted(b)},500,function(){alert("Error: Could Not Display Help")})}})}
function loadHelp(b){jQuery("#WikispacesHelpControls").show();jQuery("#WikispacesHelpContent").show();jQuery("#WikispacesGettingStartedControls").hide();jQuery("#WikispacesGettingStartedContent").hide();var f=document.location.protocol+"//"+document.location.hostname;if(b.substring(0,f.length)==f&&b.substr(f.length,6)=="/Help.")b=b.substr(f.length);if(b.substring(0,7)=="http://"||b.substring(0,8)=="https://")return false;if(b.substring(0,11)=="/file/view/"){window.location=window.location.protocol+
"//help."+wikispaces_domain+b;return true}jQuery("#WikispacesHelpBreadcrumbSpinner").css("display","inline");if(b.substr(0,1)=="/")b=b.substr(1);var h="";if(b.indexOf("#")>0){h=b.substr(b.indexOf("#")+1);b=b.substr(0,b.indexOf("#"))}if(b==helpStack[helpStack.length])h?jQuery("#WikispacesHelpContent").scrollTo(jQuery("#WikispacesHelpContent a[name='"+h+"']")):jQuery("#WikispacesHelpContent").scrollTop(0);else jQuery.ajaxq("help",{url:"/site/helpcontent/"+b,type:"GET",dataType:"html",success:function(q,
B){reloadSessionSuccess();jQuery("#WikispacesHelpContent").html(q);fixHelpContent(jQuery("#WikispacesHelpContent"));generateHelpToc(jQuery("#WikispacesHelpContent"));attachNavigation(jQuery("#WikispacesHelpContent"));helpStack.push(b);showBreadcrumbs();jQuery("#WikispacesHelpBreadcrumbSpinner").hide();h?jQuery("#WikispacesHelpContent").scrollTo(jQuery("#WikispacesHelpContent a[name='"+h+"']")):jQuery("#WikispacesHelpContent").scrollTop(0)},error:function(q,B,o){reloadSession(function(){loadHelp(b)},
500,function(){alert("Error: Could Not Display Help")})}});return true}
function attachNavigation(b){if(jQuery.browser.firefox&&2==parseInt(jQuery.browser.version)&&-1!=navigator.userAgent.toLowerCase().indexOf("mac")){jQuery(b).append('<div class="WikispacesHelpPageUp" onmouseover="scrollUp(true);" onmouseout="stopScroll();"><img src="/i/arrow_up.png"/></div>');jQuery(b).append('<div class="WikispacesHelpPageDown" onmouseover="scrollDown(true);" onmouseout="stopScroll();"><img src="/i/arrow_down.png"/></div>')}}
function getHelpPageText(b){(b=b)||(b="");if(b.substr(0,1)=="/")b=b.substr(1);b=decodeURIComponent(b);b=b.replace(/\+/g," ");if(b.lastIndexOf(".")>0)b=b.substr(b.lastIndexOf(".")+1);return b}var MAX_BREADCRUMBS=4;
function showBreadcrumbs(){jQuery("#WikispacesHelpBreadcrumbs span.WikispacesHelpBreadcrumb").remove(":not(#WikispacesHelpBreadcrumbHome)");var b=helpStack.length-MAX_BREADCRUMBS;if(b<1)b=1;for(b=b;b<helpStack.length;b++){var f=getHelpPageText(helpStack[b]);jQuery("#WikispacesHelpBreadcrumbs span:last").after(" "+('<span class="WikispacesHelpBreadcrumb"> &gt; <a href="#" onclick="return gotoBreadcrumb(\''+b+"');\">"+f+"</a></span>"))}helpStack.length-1>MAX_BREADCRUMBS?jQuery("#WikispacesHelpBreadcrumbsEllipsis").show():
jQuery("#WikispacesHelpBreadcrumbsEllipsis").hide();jQuery("#WikispacesHelpBreadcrumbs .WikispacesHelpBreadcrumbCurrent").removeClass("WikispacesHelpBreadcrumbCurrent");jQuery("#WikispacesHelpBreadcrumbs .WikispacesHelpBreadcrumb:last").addClass("WikispacesHelpBreadcrumbCurrent")}function gotoBreadcrumb(b){for(var f=helpStack[b],h=helpStack.length;h>b;h--)helpStack.pop();loadHelp(f);return false}
function generateHelpToc(b){var f=jQuery('<div id="toc"><h1 class="nopad">Table of Contents</h1></div>');b.find("h1,h2,h3,h4,h5,h6").each(function(){var h=jQuery('<a href="#">'+jQuery(this).text()+"</a>"),q=jQuery(this);h.click(function(o){jQuery("#WikispacesHelpContent").scrollTo(q,300);o.preventDefault()});var B=jQuery('<div style="margin-left: '+this.tagName.substr(1,2)+'em;"></div>');B.append(h);f.append(B)});b.prepend(f)}
function fixHelpContent(b){jQuery(b).find("a").each(function(){var f=jQuery(this);f.unbind();f.click(function(h){loadHelp(f.attr("href"))&&h.preventDefault()})});jQuery(b).find("div.includeBody").each(function(){var f=jQuery(this);wikispaces_isMain&&f.attr("class").indexOf(".PL.")>0&&f.remove();!wikispaces_isMain&&f.attr("class").indexOf(".Wikispaces.")>0&&f.remove()});jQuery(b).find("img").each(function(){var f=jQuery(this);f.attr("src",f.attr("src").replace(/^\//,window.location.protocol+"//help."+
wikispaces_domain+"/"))})}
jQuery.effects||function(b){function f(o,m){var t=o[1]&&o[1].constructor==Object?o[1]:{};if(m)t.mode=m;m=o[1]&&o[1].constructor!=Object?o[1]:t.duration?t.duration:o[2];m=b.fx.off?0:typeof m==="number"?m:b.fx.speeds[m]||b.fx.speeds._default;var r=t.callback||b.isFunction(o[1])&&o[1]||b.isFunction(o[2])&&o[2]||b.isFunction(o[3])&&o[3];return[o[0],t,m,r]}function h(o){var m;if(o&&o.constructor==Array&&o.length==3)return o;if(m=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(o))return[parseInt(m[1],10),
parseInt(m[2],10),parseInt(m[3],10)];if(m=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(o))return[parseFloat(m[1])*2.55,parseFloat(m[2])*2.55,parseFloat(m[3])*2.55];if(m=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(o))return[parseInt(m[1],16),parseInt(m[2],16),parseInt(m[3],16)];if(m=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(o))return[parseInt(m[1]+m[1],16),parseInt(m[2]+m[2],16),parseInt(m[3]+m[3],16)];if(/rgba\(0, 0, 0, 0\)/.exec(o))return B.transparent;
return B[b.trim(o).toLowerCase()]}function q(o,m){var t;do{t=b.curCSS(o,m);if(t!=""&&t!="transparent"||b.nodeName(o,"body"))break;m="backgroundColor"}while(o=o.parentNode);return h(t)}b.effects={version:"1.7.1",save:function(o,m){for(var t=0;t<m.length;t++)m[t]!==null&&o.data("ec.storage."+m[t],o[0].style[m[t]])},restore:function(o,m){for(var t=0;t<m.length;t++)m[t]!==null&&o.css(m[t],o.data("ec.storage."+m[t]))},setMode:function(o,m){if(m=="toggle")m=o.is(":hidden")?"show":"hide";return m},getBaseline:function(o,
m){var t;switch(o[0]){case "top":t=0;break;case "middle":t=0.5;break;case "bottom":t=1;break;default:t=o[0]/m.height}switch(o[1]){case "left":o=0;break;case "center":o=0.5;break;case "right":o=1;break;default:o=o[1]/m.width}return{x:o,y:t}},createWrapper:function(o){if(o.parent().is(".ui-effects-wrapper"))return o.parent();var m={width:o.outerWidth(true),height:o.outerHeight(true),"float":o.css("float")};o.wrap('<div class="ui-effects-wrapper" style="font-size:100%;background:transparent;border:none;margin:0;padding:0"></div>');
var t=o.parent();if(o.css("position")=="static"){t.css({position:"relative"});o.css({position:"relative"})}else{var r=o.css("top");if(isNaN(parseInt(r,10)))r="auto";var u=o.css("left");if(isNaN(parseInt(u,10)))u="auto";t.css({position:o.css("position"),top:r,left:u,zIndex:o.css("z-index")}).show();o.css({position:"relative",top:0,left:0})}t.css(m);return t},removeWrapper:function(o){if(o.parent().is(".ui-effects-wrapper"))return o.parent().replaceWith(o);return o},setTransition:function(o,m,t,r){r=
r||{};b.each(m,function(u,G){unit=o.cssUnit(G);if(unit[0]>0)r[G]=unit[0]*t+unit[1]});return r},animateClass:function(o,m,t,r){var u=typeof t=="function"?t:r?r:null,G=typeof t=="string"?t:null;return this.each(function(){var J={},D=b(this),aa=D.attr("style")||"";if(typeof aa=="object")aa=aa.cssText;if(o.toggle)D.hasClass(o.toggle)?(o.remove=o.toggle):(o.add=o.toggle);var Q=b.extend({},document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle);o.add&&D.addClass(o.add);
o.remove&&D.removeClass(o.remove);var R=b.extend({},document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle);o.add&&D.removeClass(o.add);o.remove&&D.addClass(o.remove);for(var e in R)if(typeof R[e]!="function"&&R[e]&&e.indexOf("Moz")==-1&&e.indexOf("length")==-1&&R[e]!=Q[e]&&(e.match(/color/i)||!e.match(/color/i)&&!isNaN(parseInt(R[e],10)))&&(Q.position!="static"||Q.position=="static"&&!e.match(/left|top|bottom|right/)))J[e]=R[e];D.animate(J,m,G,function(){if(typeof b(this).attr("style")==
"object"){b(this).attr("style").cssText="";b(this).attr("style").cssText=aa}else b(this).attr("style",aa);o.add&&b(this).addClass(o.add);o.remove&&b(this).removeClass(o.remove);u&&u.apply(this,arguments)})})}};b.fn.extend({_show:b.fn.show,_hide:b.fn.hide,__toggle:b.fn.toggle,_addClass:b.fn.addClass,_removeClass:b.fn.removeClass,_toggleClass:b.fn.toggleClass,effect:function(o,m,t,r){return b.effects[o]?b.effects[o].call(this,{method:o,options:m||{},duration:t,callback:r}):null},show:function(){return!arguments[0]||
arguments[0].constructor==Number||/(slow|normal|fast)/.test(arguments[0])?this._show.apply(this,arguments):this.effect.apply(this,f(arguments,"show"))},hide:function(){return!arguments[0]||arguments[0].constructor==Number||/(slow|normal|fast)/.test(arguments[0])?this._hide.apply(this,arguments):this.effect.apply(this,f(arguments,"hide"))},toggle:function(){return!arguments[0]||arguments[0].constructor==Number||/(slow|normal|fast)/.test(arguments[0])||arguments[0].constructor==Function?this.__toggle.apply(this,
arguments):this.effect.apply(this,f(arguments,"toggle"))},addClass:function(o,m,t,r){return m?b.effects.animateClass.apply(this,[{add:o},m,t,r]):this._addClass(o)},removeClass:function(o,m,t,r){return m?b.effects.animateClass.apply(this,[{remove:o},m,t,r]):this._removeClass(o)},toggleClass:function(o,m,t,r){return typeof m!=="boolean"&&m?b.effects.animateClass.apply(this,[{toggle:o},m,t,r]):this._toggleClass(o,m)},morph:function(o,m,t,r,u){return b.effects.animateClass.apply(this,[{add:m,remove:o},
t,r,u])},switchClass:function(){return this.morph.apply(this,arguments)},cssUnit:function(o){var m=this.css(o),t=[];b.each(["em","px","%","pt"],function(r,u){if(m.indexOf(u)>0)t=[parseFloat(m),u]});return t}});b.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(o,m){b.fx.step[m]=function(t){if(t.state==0){t.start=q(t.elem,m);t.end=h(t.end)}t.elem.style[m]="rgb("+[Math.max(Math.min(parseInt(t.pos*(t.end[0]-t.start[0])+
t.start[0],10),255),0),Math.max(Math.min(parseInt(t.pos*(t.end[1]-t.start[1])+t.start[1],10),255),0),Math.max(Math.min(parseInt(t.pos*(t.end[2]-t.start[2])+t.start[2],10),255),0)].join(",")+")"}});var B={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,
0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,
0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]};b.easing.jswing=b.easing.swing;b.extend(b.easing,{def:"easeOutQuad",swing:function(o,m,t,r,u){return b.easing[b.easing.def](o,m,t,r,u)},easeInQuad:function(o,m,t,r,u){return r*(m/=u)*m+t},easeOutQuad:function(o,m,t,r,u){return-r*(m/=u)*(m-2)+t},easeInOutQuad:function(o,m,t,r,u){if((m/=u/2)<1)return r/2*m*m+t;return-r/2*(--m*(m-2)-1)+t},easeInCubic:function(o,m,t,r,u){return r*(m/=u)*m*m+t},easeOutCubic:function(o,
m,t,r,u){return r*((m=m/u-1)*m*m+1)+t},easeInOutCubic:function(o,m,t,r,u){if((m/=u/2)<1)return r/2*m*m*m+t;return r/2*((m-=2)*m*m+2)+t},easeInQuart:function(o,m,t,r,u){return r*(m/=u)*m*m*m+t},easeOutQuart:function(o,m,t,r,u){return-r*((m=m/u-1)*m*m*m-1)+t},easeInOutQuart:function(o,m,t,r,u){if((m/=u/2)<1)return r/2*m*m*m*m+t;return-r/2*((m-=2)*m*m*m-2)+t},easeInQuint:function(o,m,t,r,u){return r*(m/=u)*m*m*m*m+t},easeOutQuint:function(o,m,t,r,u){return r*((m=m/u-1)*m*m*m*m+1)+t},easeInOutQuint:function(o,
m,t,r,u){if((m/=u/2)<1)return r/2*m*m*m*m*m+t;return r/2*((m-=2)*m*m*m*m+2)+t},easeInSine:function(o,m,t,r,u){return-r*Math.cos(m/u*(Math.PI/2))+r+t},easeOutSine:function(o,m,t,r,u){return r*Math.sin(m/u*(Math.PI/2))+t},easeInOutSine:function(o,m,t,r,u){return-r/2*(Math.cos(Math.PI*m/u)-1)+t},easeInExpo:function(o,m,t,r,u){return m==0?t:r*Math.pow(2,10*(m/u-1))+t},easeOutExpo:function(o,m,t,r,u){return m==u?t+r:r*(-Math.pow(2,-10*m/u)+1)+t},easeInOutExpo:function(o,m,t,r,u){if(m==0)return t;if(m==
u)return t+r;if((m/=u/2)<1)return r/2*Math.pow(2,10*(m-1))+t;return r/2*(-Math.pow(2,-10*--m)+2)+t},easeInCirc:function(o,m,t,r,u){return-r*(Math.sqrt(1-(m/=u)*m)-1)+t},easeOutCirc:function(o,m,t,r,u){return r*Math.sqrt(1-(m=m/u-1)*m)+t},easeInOutCirc:function(o,m,t,r,u){if((m/=u/2)<1)return-r/2*(Math.sqrt(1-m*m)-1)+t;return r/2*(Math.sqrt(1-(m-=2)*m)+1)+t},easeInElastic:function(o,m,t,r,u){o=1.70158;var G=0,J=r;if(m==0)return t;if((m/=u)==1)return t+r;G||(G=u*0.3);if(J<Math.abs(r)){J=r;o=G/4}else o=
G/(2*Math.PI)*Math.asin(r/J);return-(J*Math.pow(2,10*(m-=1))*Math.sin((m*u-o)*2*Math.PI/G))+t},easeOutElastic:function(o,m,t,r,u){o=1.70158;var G=0,J=r;if(m==0)return t;if((m/=u)==1)return t+r;G||(G=u*0.3);if(J<Math.abs(r)){J=r;o=G/4}else o=G/(2*Math.PI)*Math.asin(r/J);return J*Math.pow(2,-10*m)*Math.sin((m*u-o)*2*Math.PI/G)+r+t},easeInOutElastic:function(o,m,t,r,u){o=1.70158;var G=0,J=r;if(m==0)return t;if((m/=u/2)==2)return t+r;G||(G=u*0.3*1.5);if(J<Math.abs(r)){J=r;o=G/4}else o=G/(2*Math.PI)*Math.asin(r/
J);if(m<1)return-0.5*J*Math.pow(2,10*(m-=1))*Math.sin((m*u-o)*2*Math.PI/G)+t;return J*Math.pow(2,-10*(m-=1))*Math.sin((m*u-o)*2*Math.PI/G)*0.5+r+t},easeInBack:function(o,m,t,r,u,G){if(G==undefined)G=1.70158;return r*(m/=u)*m*((G+1)*m-G)+t},easeOutBack:function(o,m,t,r,u,G){if(G==undefined)G=1.70158;return r*((m=m/u-1)*m*((G+1)*m+G)+1)+t},easeInOutBack:function(o,m,t,r,u,G){if(G==undefined)G=1.70158;if((m/=u/2)<1)return r/2*m*m*(((G*=1.525)+1)*m-G)+t;return r/2*((m-=2)*m*(((G*=1.525)+1)*m+G)+2)+t},
easeInBounce:function(o,m,t,r,u){return r-b.easing.easeOutBounce(o,u-m,0,r,u)+t},easeOutBounce:function(o,m,t,r,u){return(m/=u)<1/2.75?r*7.5625*m*m+t:m<2/2.75?r*(7.5625*(m-=1.5/2.75)*m+0.75)+t:m<2.5/2.75?r*(7.5625*(m-=2.25/2.75)*m+0.9375)+t:r*(7.5625*(m-=2.625/2.75)*m+0.984375)+t},easeInOutBounce:function(o,m,t,r,u){if(m<u/2)return b.easing.easeInBounce(o,m*2,0,r,u)*0.5+t;return b.easing.easeOutBounce(o,m*2-u,0,r,u)*0.5+r*0.5+t}})}(jQuery);
jQuery.ui||function(b){function f(r,u,G,J){function D(Q){Q=b[r][u][Q]||[];return typeof Q=="string"?Q.split(/,?\s+/):Q}var aa=D("getter");if(J.length==1&&typeof J[0]=="string")aa=aa.concat(D("getterSetter"));return b.inArray(G,aa)!=-1}var h=b.fn.remove,q=b.browser.mozilla&&parseFloat(b.browser.version)<1.9;b.ui={version:"1.7.1",plugin:{add:function(r,u,G){r=b.ui[r].prototype;for(var J in G){r.plugins[J]=r.plugins[J]||[];r.plugins[J].push([u,G[J]])}},call:function(r,u,G){if((u=r.plugins[u])&&r.element[0].parentNode)for(var J=
0;J<u.length;J++)r.options[u[J][0]]&&u[J][1].apply(r.element,G)}},contains:function(r,u){return document.compareDocumentPosition?r.compareDocumentPosition(u)&16:r!==u&&r.contains(u)},hasScroll:function(r,u){if(b(r).css("overflow")=="hidden")return false;u=u&&u=="left"?"scrollLeft":"scrollTop";var G=false;if(r[u]>0)return true;r[u]=1;G=r[u]>0;r[u]=0;return G},isOverAxis:function(r,u,G){return r>u&&r<u+G},isOver:function(r,u,G,J,D,aa){return b.ui.isOverAxis(r,G,D)&&b.ui.isOverAxis(u,J,aa)},keyCode:{BACKSPACE:8,
CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(q){var B=b.attr,o=b.fn.removeAttr,m=/^aria-/,t=/^wairole:/;b.attr=function(r,u,G){var J=G!==undefined;return u=="role"?J?B.call(this,r,u,"wairole:"+G):(B.apply(this,arguments)||"").replace(t,""):m.test(u)?J?r.setAttributeNS("http://www.w3.org/2005/07/aaa",
u.replace(m,"aaa:"),G):B.call(this,r,u.replace(m,"aaa:")):B.apply(this,arguments)};b.fn.removeAttr=function(r){return m.test(r)?this.each(function(){this.removeAttributeNS("http://www.w3.org/2005/07/aaa",r.replace(m,""))}):o.call(this,r)}}b.fn.extend({remove:function(){b("*",this).add(this).each(function(){b(this).triggerHandler("remove")});return h.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable",
"on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})},scrollParent:function(){var r;r=b.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(b.curCSS(this,"position",1))&&/(auto|scroll)/.test(b.curCSS(this,"overflow",1)+b.curCSS(this,"overflow-y",1)+b.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(b.curCSS(this,
"overflow",1)+b.curCSS(this,"overflow-y",1)+b.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!r.length?b(document):r}});b.extend(b.expr[":"],{data:function(r,u,G){return!!b.data(r,G[3])},focusable:function(r){var u=r.nodeName.toLowerCase(),G=b.attr(r,"tabindex");return(/input|select|textarea|button|object/.test(u)?!r.disabled:"a"==u||"area"==u?r.href||!isNaN(G):!isNaN(G))&&!b(r)["area"==u?"parents":"closest"](":hidden").length},tabbable:function(r){var u=b.attr(r,"tabindex");
return(isNaN(u)||u>=0)&&b(r).is(":focusable")}});b.widget=function(r,u){var G=r.split(".")[0];r=r.split(".")[1];b.fn[r]=function(J){var D=typeof J=="string",aa=Array.prototype.slice.call(arguments,1);if(D&&J.substring(0,1)=="_")return this;if(D&&f(G,r,J,aa)){var Q=b.data(this[0],r);return Q?Q[J].apply(Q,aa):undefined}return this.each(function(){var R=b.data(this,r);!R&&!D&&b.data(this,r,new b[G][r](this,J))._init();R&&D&&b.isFunction(R[J])&&R[J].apply(R,aa)})};b[G]=b[G]||{};b[G][r]=function(J,D){var aa=
this;this.namespace=G;this.widgetName=r;this.widgetEventPrefix=b[G][r].eventPrefix||r;this.widgetBaseClass=G+"-"+r;this.options=b.extend({},b.widget.defaults,b[G][r].defaults,b.metadata&&b.metadata.get(J)[r],D);this.element=b(J).bind("setData."+r,function(Q,R,e){if(Q.target==J)return aa._setData(R,e)}).bind("getData."+r,function(Q,R){if(Q.target==J)return aa._getData(R)}).bind("remove",function(){return aa.destroy()})};b[G][r].prototype=b.extend({},b.widget.prototype,u);b[G][r].getterSetter="option"};
b.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")},option:function(r,u){var G=r,J=this;if(typeof r=="string"){if(u===undefined)return this._getData(r);G={};G[r]=u}b.each(G,function(D,aa){J._setData(D,aa)})},_getData:function(r){return this.options[r]},_setData:function(r,u){this.options[r]=u;if(r=="disabled")this.element[u?"addClass":"removeClass"](this.widgetBaseClass+
"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",u)},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)},_trigger:function(r,u,G){var J=this.options[r];r=r==this.widgetEventPrefix?r:this.widgetEventPrefix+r;u=b.Event(u);u.type=r;if(u.originalEvent){r=b.event.props.length;for(var D;r;){D=b.event.props[--r];u[D]=u.originalEvent[D]}}this.element.trigger(u,G);return!(b.isFunction(J)&&J.call(this.element[0],u,G)===false||u.isDefaultPrevented())}};
b.widget.defaults={disabled:false};b.ui.mouse={_mouseInit:function(){var r=this;this.element.bind("mousedown."+this.widgetName,function(u){return r._mouseDown(u)}).bind("click."+this.widgetName,function(u){if(r._preventClickEvent){r._preventClickEvent=false;u.stopImmediatePropagation();return false}});if(b.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on")}this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);
b.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable)},_mouseDown:function(r){r.originalEvent=r.originalEvent||{};if(!r.originalEvent.mouseHandled){this._mouseStarted&&this._mouseUp(r);this._mouseDownEvent=r;var u=this,G=r.which==1,J=typeof this.options.cancel=="string"?b(r.target).parents().add(r.target).filter(this.options.cancel).length:false;if(!G||J||!this._mouseCapture(r))return true;this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)this._mouseDelayTimer=setTimeout(function(){u.mouseDelayMet=
true},this.options.delay);if(this._mouseDistanceMet(r)&&this._mouseDelayMet(r)){this._mouseStarted=this._mouseStart(r)!==false;if(!this._mouseStarted){r.preventDefault();return true}}this._mouseMoveDelegate=function(D){return u._mouseMove(D)};this._mouseUpDelegate=function(D){return u._mouseUp(D)};b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);b.browser.safari||r.preventDefault();return r.originalEvent.mouseHandled=true}},
_mouseMove:function(r){if(b.browser.msie&&!r.button)return this._mouseUp(r);if(this._mouseStarted){this._mouseDrag(r);return r.preventDefault()}if(this._mouseDistanceMet(r)&&this._mouseDelayMet(r))(this._mouseStarted=this._mouseStart(this._mouseDownEvent,r)!==false)?this._mouseDrag(r):this._mouseUp(r);return!this._mouseStarted},_mouseUp:function(r){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=
false;this._preventClickEvent=r.target==this._mouseDownEvent.target;this._mouseStop(r)}return false},_mouseDistanceMet:function(r){return Math.max(Math.abs(this._mouseDownEvent.pageX-r.pageX),Math.abs(this._mouseDownEvent.pageY-r.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}};b.ui.mouse.defaults={cancel:null,distance:1,delay:0}}(jQuery);
(function(b){b.effects.highlight=function(f){return this.queue(function(){var h=b(this),q=["backgroundImage","backgroundColor","opacity"],B=b.effects.setMode(h,f.options.mode||"show"),o=f.options.color||"#ffff99",m=h.css("backgroundColor");b.effects.save(h,q);h.show();h.css({backgroundImage:"none",backgroundColor:o});o={backgroundColor:m};if(B=="hide")o.opacity=0;h.animate(o,{queue:false,duration:f.duration,easing:f.options.easing,complete:function(){B=="hide"&&h.hide();b.effects.restore(h,q);B==
"show"&&b.browser.msie&&this.style.removeAttribute("filter");f.callback&&f.callback.apply(this,arguments);h.dequeue()}})})}})(jQuery);
(function(b){b.effects.transfer=function(f){return this.queue(function(){var h=b(this),q=b(f.options.to),B=q.offset();q={top:B.top,left:B.left,height:q.innerHeight(),width:q.innerWidth()};B=h.offset();var o=b('<div class="ui-effects-transfer"></div>').appendTo(document.body).addClass(f.options.className).css({top:B.top,left:B.left,height:h.innerHeight(),width:h.innerWidth(),position:"absolute"}).animate(q,f.duration,f.options.easing,function(){o.remove();f.callback&&f.callback.apply(h[0],arguments);
h.dequeue()})})}})(jQuery);
jQuery.ajaxq=function(b,f){if(typeof document.ajaxq=="undefined")document.ajaxq={q:{},r:null,rq:null};if(typeof document.ajaxq.q[b]=="undefined")document.ajaxq.q[b]=[];if(typeof f!="undefined"){var h={};for(var q in f)h[q]=f[q];f=h;var B=f.complete;f.complete=function(o,m){document.ajaxq.q[b].shift();document.ajaxq.r=null;document.ajaxq.rq=null;B&&B(o,m);if(document.ajaxq.q[b].length>0){document.ajaxq.rq=b;document.ajaxq.r=jQuery.ajax(document.ajaxq.q[b][0])}};document.ajaxq.q[b].push(f);if(document.ajaxq.q[b].length==
1){document.ajaxq.rq=b;document.ajaxq.r=jQuery.ajax(f)}}else{if(document.ajaxq.rq==b){document.ajaxq.r.abort();document.ajaxq.r=null;document.ajaxq.rq=null}document.ajaxq.q[b]=[]}};
(function(b){b.fn.jqm=function(D){var aa={overlay:50,overlayClass:"jqmOverlay",closeClass:"jqmClose",trigger:".jqModal",ajax:o,ajaxText:"",target:o,modal:o,toTop:o,onShow:o,onHide:o,onLoad:o};return this.each(function(){if(this._jqm)return h[this._jqm].c=b.extend({},h[this._jqm].c,D);f++;this._jqm=f;h[f]={c:b.extend(aa,b.jqm.params,D),a:o,w:b(this).addClass("jqmID"+f),s:f};aa.trigger&&b(this).jqmAddTrigger(aa.trigger)})};b.fn.jqmAddClose=function(D){return J(this,D,"jqmHide")};b.fn.jqmAddTrigger=
function(D){return J(this,D,"jqmShow")};b.fn.jqmShow=function(D){return this.each(function(){D=D||window.event;b.jqm.open(this._jqm,D)})};b.fn.jqmHide=function(D){return this.each(function(){D=D||window.event;b.jqm.close(this._jqm,D)})};b.jqm={hash:{},open:function(D,aa){var Q=h[D],R=Q.c,e="."+R.closeClass,s=parseInt(Q.w.css("z-index"));s=s>0?s:3E3;var I=b("<div></div>").css({height:"100%",width:"100%",position:"fixed",left:0,top:0,"z-index":s-1,opacity:R.overlay/100});if(Q.a)return o;Q.t=aa;Q.a=
true;Q.w.css("z-index",s);if(R.modal){q[0]||u("bind");q.push(D)}else if(R.overlay>0)Q.w.jqmAddClose(I);else I=o;Q.o=I?I.addClass(R.overlayClass).prependTo("body"):o;if(B){b("html,body").css({height:"100%",width:"100%"});if(I){I=I.css({position:"absolute"})[0];for(var w in{Top:1,Left:1})I.style.setExpression(w.toLowerCase(),"(_=(document.documentElement.scroll"+w+" || document.body.scroll"+w+"))+'px'")}}if(R.ajax){D=R.target||Q.w;s=R.ajax;D=typeof D=="string"?b(D,Q.w):b(D);s=s.substr(0,1)=="@"?b(aa).attr(s.substring(1)):
s;D.html(R.ajaxText).load(s,function(){R.onLoad&&R.onLoad.call(this,Q);e&&Q.w.jqmAddClose(b(e,Q.w));t(Q)})}else e&&Q.w.jqmAddClose(b(e,Q.w));R.toTop&&Q.o&&Q.w.before('<span id="jqmP'+Q.w[0]._jqm+'"></span>').insertAfter(Q.o);R.onShow?R.onShow(Q):Q.w.show();t(Q);return o},close:function(D){D=h[D];if(!D.a)return o;D.a=o;if(q[0]){q.pop();q[0]||u("unbind")}D.c.toTop&&D.o&&b("#jqmP"+D.w[0]._jqm).after(D.w).remove();if(D.c.onHide)D.c.onHide(D);else{D.w.hide();D.o&&D.o.remove()}return o},params:{}};var f=
0,h=b.jqm.hash,q=[],B=b.browser.msie&&b.browser.version=="6.0",o=false,m=b('<iframe src="javascript:false;document.write(\'\');" class="jqm"></iframe>').css({opacity:0}),t=function(D){if(B)if(D.o)D.o.html('<p style="width:100%;height:100%"/>').prepend(m);else b("iframe.jqm",D.w)[0]||D.w.prepend(m);r(D)},r=function(D){try{b(":input:visible",D.w)[0].focus()}catch(aa){}},u=function(D){b()[D]("keypress",G)[D]("keydown",G)[D]("mousedown",G)},G=function(D){var aa=h[q[q.length-1]];(D=!b(D.target).parents(".jqmID"+
aa.s)[0])&&r(aa);return!D},J=function(D,aa,Q){return D.each(function(){var R=this._jqm;b(aa).each(function(){if(!this[Q]){this[Q]=[];b(this).click(function(){for(var e in{jqmShow:1,jqmHide:1})for(var s in this[e])h[this[e][s]]&&h[this[e][s]].w[e](this);return o})}this[Q].push(R)})})}})(jQuery);
(function(b){jQuery.autocomplete=function(f,h){function q(){X={};X.data={};X.length=0}function B(){if(la==46||la>8&&la<32)return N.hide();var z=H.val();if(z!=ga){ga=z;if(z.length>=h.minChars){H.addClass(h.loadingClass);e(z)}else{H.removeClass(h.loadingClass);N.hide()}}}function o(z){var K=b("li",W);if(K){$+=z;if($<0)$=0;else if($>=K.size())$=K.size()-1;K.removeClass("ac_over");b(K[$]).addClass("ac_over")}}function m(){var z=b("li.ac_over",W)[0];if(!z){var K=b("li",W);if(h.selectOnly){if(K.length==
1)z=K[0]}else if(h.selectFirst)z=K[0]}if(z){t(z);return true}else return false}function t(z){var K=H.get(0).autocompleter;if(!z){z=document.createElement("li");z.extra=[];z.selectValue=""}var U=b.trim(z.selectValue?z.selectValue:z.innerHTML);z=jQuery(z).clone().get(0);ga=f.lastSelected=U;N.html("");H.val(U);D();h.onItemSelect&&setTimeout(function(){h.onItemSelect(K,z)},1)}function r(z,K){var U=H.get(0);if(U.createTextRange){var ia=U.createTextRange();ia.collapse(true);ia.moveStart("character",z);
ia.moveEnd("character",K);ia.select()}else if(U.setSelectionRange)U.setSelectionRange(z,K);else if(U.selectionStart){U.selectionStart=z;U.selectionEnd=K}U.focus()}function u(z){if(la!=8){H.val(H.val()+z.substring(ga.length));r(ga.length,z.length)}}function G(){for(var z=f,K=0;z.tagName.toUpperCase()!="BODY";)if(b(z).css("z-index")!="auto"){K=b(z).css("z-index");break}else z=z.parentNode;z=C(f);var U=h.width>0?h.width:H.width();N.css({zIndex:K,width:parseInt(U)+"px",top:z.y+f.offsetHeight+"px",left:z.x+
"px"}).show()}function J(){ca&&clearTimeout(ca);ca=setTimeout(D,200)}function D(){ca&&clearTimeout(ca);H.removeClass(h.loadingClass);N.is(":visible")&&N.hide();h.mustMatch&&H.val()!=f.lastSelected&&t(null)}function aa(z,K){if(K){H.removeClass(h.loadingClass);W.innerHTML="";if(!da||K.length==0)return D();b.browser.msie&&N.append(document.createElement("iframe"));W.appendChild(R(K));h.autoFill&&H.val().toLowerCase()==z.toLowerCase()&&u(K[0][0]);G()}else D()}function Q(z){if(!z)return null;var K=[];
z=z.split(h.lineSeparator);for(var U=0;U<z.length;U++){var ia=b.trim(z[U]);if(ia)K[K.length]=ia.split(h.cellSeparator)}return K}function R(z){var K=document.createElement("ul"),U=z.length;if(h.maxItemsToShow>0&&h.maxItemsToShow<U)U=h.maxItemsToShow;for(var ia=0;ia<U;ia++){var sa=z[ia];if(sa){var wa=document.createElement("li");wa.innerHTML=h.formatItem?h.formatItem(sa,ia,U):sa[0];wa.selectValue=sa[0];var na=null;if(sa.length>1){na=[];for(var ba=1;ba<sa.length;ba++)na[na.length]=sa[ba]}wa.extra=na;
K.appendChild(wa);b(wa).hover(function(){b("li",K).removeClass("ac_over");b(this).addClass("ac_over");$=b("li",K).indexOf(b(this).get(0))},function(){b(this).removeClass("ac_over")}).click(function(A){A.preventDefault();A.stopPropagation();t(this)})}}return K}function e(z){h.matchCase||(z=z.toLowerCase());var K=h.cacheLength?I(z):null;if(K)aa(z,K);else if(typeof h.url=="string"&&h.url.length>0){b.ajaxq("autocomplete"+h.id);b.ajaxq("autocomplete"+h.id,{type:"GET",url:s(z),success:function(U){reloadSessionSuccess();
U=Q(U);k(z,U);aa(z,U)},error:function(){reloadSession(function(){e(z)},3E3)}})}else H.removeClass(h.loadingClass)}function s(z){z=h.url+"?q="+encodeURIComponent(z);for(var K in h.extraParams)z+="&"+K+"="+encodeURIComponent(h.extraParams[K]);return z}function I(z){if(!z)return null;if(X.data[z])return X.data[z];if(h.matchSubset)for(var K=z.length-1;K>=h.minChars;K--){var U=z.substr(0,K);if(U=X.data[U]){K=[];for(var ia=0;ia<U.length;ia++){var sa=U[ia];if(w(sa[0],z))K[K.length]=sa}return K}}return null}
function w(z,K){h.matchCase||(z=z.toLowerCase());z=z.indexOf(K);if(z==-1)return false;return z==0||h.matchContains}function k(z,K){if(!(!K||!z||!h.cacheLength)){if(!X.length||X.length>h.cacheLength){q();X.length++}else X[z]||X.length++;X.data[z]=K}}function C(z){for(var K=z.offsetLeft||0,U=z.offsetTop||0;z=z.offsetParent;){K+=z.offsetLeft;U+=z.offsetTop}return{x:K,y:U}}this.options=h;this.input=f;var H=b(f).attr("autocomplete","off");h.inputClass&&H.addClass(h.inputClass);var W=document.createElement("div"),
N=b(W);N.hide().addClass(h.resultsClass).css("position","absolute");h.width>0&&N.css("width",h.width);b("body").append(W);f.autocompleter=this;var ca=null,ga="",$=-1,X={},da=false,la=null;q();if(h.data!=null){var va="",pa={},ma=[];if(typeof h.url!="string")h.cacheLength=1;for(var za=0;za<h.data.length;za++){ma=typeof h.data[za]=="string"?[h.data[za]]:h.data[za];if(ma[0].length>0){va=ma[0].substring(0,1).toLowerCase();pa[va]||(pa[va]=[]);pa[va].push(ma)}}for(var Y in pa){h.cacheLength++;k(Y,pa[Y])}}H.keydown(function(z){la=
z.keyCode;switch(z.keyCode){case 38:z.preventDefault();o(-1);break;case 40:z.preventDefault();o(1);break;case 9:case 13:if(m()){H.get(0).blur();z.preventDefault()}break;default:$=-1;ca&&clearTimeout(ca);ca=setTimeout(function(){B()},h.delay);break}}).focus(function(){da=true}).blur(function(){da=false;J()});D();this.flushCache=function(){q()};this.setExtraParams=function(z){h.extraParams=z};this.findValue=function(){var z=H.val(),K=this;if(z.length){h.matchCase||(z=z.toLowerCase());var U=h.cacheLength?
I(z):null;if(U)this.findValueCallback(K,z,U);else if(typeof h.url=="string"&&h.url.length>0){b.ajaxq("autocomplete"+h.id);b.ajaxq("autocomplete"+h.id,{type:"GET",url:s(z),success:function(ia){reloadSessionSuccess();ia=Q(ia);k(z,ia);K.findValueCallback(K,z,ia)},error:function(){reloadSession(function(){K.findValue()},3E3)}})}else this.findValueCallback(K,z,null)}else h.onEmptyValue&&setTimeout(function(){h.onEmptyValue(K)},1)};this.findValueCallback=function(z,K,U){U&&H.removeClass(h.loadingClass);
for(var ia=U?U.length:0,sa=null,wa=0;wa<ia;wa++){var na=U[wa];if(na[0].toLowerCase()==K.toLowerCase()){sa=document.createElement("li");sa.innerHTML=h.formatItem?h.formatItem(na,wa,ia):na[0];sa.selectValue=na[0];var ba=null;if(na.length>1){ba=[];for(var A=1;A<na.length;A++)ba[ba.length]=na[A]}sa.extra=ba}}h.onFindValue&&setTimeout(function(){h.onFindValue(z,sa)},1)}};jQuery.fn.autocomplete=function(f,h,q){h=h||{};h.url=f;h.data=typeof q=="object"&&q.constructor==Array?q:null;h.inputClass=h.inputClass||
"ac_input";h.resultsClass=h.resultsClass||"ac_results";h.lineSeparator=h.lineSeparator||"\n";h.cellSeparator=h.cellSeparator||"|";h.minChars=h.minChars||1;h.delay=h.delay||400;h.matchCase=h.matchCase||0;h.matchSubset=h.matchSubset||0;h.matchContains=h.matchContains||0;h.cacheLength=h.cacheLength||10;h.mustMatch=h.mustMatch||0;h.extraParams=h.extraParams||{};h.loadingClass=h.loadingClass||"ac_loading";h.selectFirst=h.selectFirst||false;h.selectOnly=h.selectOnly||false;h.maxItemsToShow=h.maxItemsToShow||
-1;h.autoFill=h.autoFill||false;h.width=parseInt(h.width,10)||0;this.each(function(){new jQuery.autocomplete(this,h)});return this};jQuery.fn.autocompleteArray=function(f,h){return this.autocomplete(null,h,f)};jQuery.fn.indexOf=function(f){for(var h=0;h<this.length;h++)if(this[h]==f)return h;return-1}})(jQuery);
(function(b){function f(q){return typeof q=="object"?q:{top:q,left:q}}var h=b.scrollTo=function(q,B,o){b(window).scrollTo(q,B,o)};h.defaults={axis:"xy",duration:parseFloat(b.fn.jquery)>=1.3?0:1};h.window=function(){return b(window)._scrollable()};b.fn._scrollable=function(){return this.map(function(){if(!(!this.nodeName||b.inArray(this.nodeName.toLowerCase(),["iframe","#document","html","body"])!=-1))return this;var q=(this.contentWindow||this).document||this.ownerDocument||this;return b.browser.safari||
q.compatMode=="BackCompat"?q.body:q.documentElement})};b.fn.scrollTo=function(q,B,o){if(typeof B=="object"){o=B;B=0}if(typeof o=="function")o={onAfter:o};if(q=="max")q=9E9;o=b.extend({},h.defaults,o);B=B||o.speed||o.duration;o.queue=o.queue&&o.axis.length>1;if(o.queue)B/=2;o.offset=f(o.offset);o.over=f(o.over);return this._scrollable().each(function(){function m(aa){r.animate(J,B,o.easing,aa&&function(){aa.call(this,q,o)})}var t=this,r=b(t),u=q,G,J={},D=r.is("html,body");switch(typeof u){case "number":case "string":if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(u)){u=
f(u);break}u=b(u,this);case "object":if(u.is||u.style)G=(u=b(u)).offset()}b.each(o.axis.split(""),function(aa,Q){var R=Q=="x"?"Left":"Top",e=R.toLowerCase(),s="scroll"+R,I=t[s],w=h.max(t,Q);if(G){J[s]=G[e]+(D?0:I-r.offset()[e]);if(o.margin){J[s]-=parseInt(u.css("margin"+R))||0;J[s]-=parseInt(u.css("border"+R+"Width"))||0}J[s]+=o.offset[e]||0;if(o.over[e])J[s]+=u[Q=="x"?"width":"height"]()*o.over[e]}else{Q=u[e];J[s]=Q.slice&&Q.slice(-1)=="%"?parseFloat(Q)/100*w:Q}if(/^\d+$/.test(J[s]))J[s]=J[s]<=0?
0:Math.min(J[s],w);if(!aa&&o.queue){I!=J[s]&&m(o.onAfterFirst);delete J[s]}});m(o.onAfter)}).end()};h.max=function(q,B){var o=B=="x"?"Width":"Height";B="scroll"+o;if(!b(q).is("html,body"))return q[B]-b(q)[o.toLowerCase()]();o="client"+o;var m=q.ownerDocument.documentElement;q=q.ownerDocument.body;return Math.max(m[B],q[B])-Math.min(m[o],q[o])}})(jQuery);
(function(b){b.fn.hoverIntent=function(f,h){var q={sensitivity:7,interval:100,timeout:0};q=b.extend(q,h?{over:f,out:h}:f);var B,o,m,t,r=function(J){B=J.pageX;o=J.pageY},u=function(J,D){D.hoverIntent_t=clearTimeout(D.hoverIntent_t);if(Math.abs(m-B)+Math.abs(t-o)<q.sensitivity){b(D).unbind("mousemove",r);D.hoverIntent_s=1;return q.over.apply(D,[J])}else{m=B;t=o;D.hoverIntent_t=setTimeout(function(){u(J,D)},q.interval)}},G=function(J,D){D.hoverIntent_t=clearTimeout(D.hoverIntent_t);D.hoverIntent_s=0;
return q.out.apply(D,[J])};f=function(J){for(var D=(J.type=="mouseover"?J.fromElement:J.toElement)||J.relatedTarget;D&&D!=this;)try{D=D.parentNode}catch(aa){D=this}if(D==this)return false;var Q=jQuery.extend({},J),R=this;if(R.hoverIntent_t)R.hoverIntent_t=clearTimeout(R.hoverIntent_t);if(J.type=="mouseover"){m=Q.pageX;t=Q.pageY;b(R).bind("mousemove",r);if(R.hoverIntent_s!=1)R.hoverIntent_t=setTimeout(function(){u(Q,R)},q.interval)}else{b(R).unbind("mousemove",r);if(R.hoverIntent_s==1)R.hoverIntent_t=
setTimeout(function(){G(Q,R)},q.timeout)}};return this.mouseover(f).mouseout(f)}})(jQuery);
jQuery(function(b){b.fn.fcbkcomplete=function(f){return this.each(function(){function h(){q();m();o();B();Q()}function q(){ma.hide();ma.attr("multiple","multiple");ma.attr("name").indexOf("[]")==-1&&ma.attr("name",ma.attr("name")+"[]");k=b("<ul/>").attr("class","holder");ma.after(k);H=b("<div/>").addClass("facebook-auto");H.append('<div class="default">'+w.complete_text+"</div>");if(la){H.append('<iframe class="ie6fix" scrolling="no" frameborder="0"></iframe>');va=H.children(".ie6fix")}C=b("<ul/>").attr("id",
za+"_feed");H.prepend(C);k.after(H)}function B(){ma.children("option").not(pa).removeAttr("selected").removeClass("selected");k.empty();b(pa).attr("selected","selected").addClass("selected").each(function(Y,z){z=b(z);t(z.text(),z.val(),true)});u(0);H.children(".default").show()}function o(){pa=[];ma.children("option.selected").each(function(){pa[pa.length]=this})}function m(){var Y=w.filter_case?"":"i";ma.children("option").each(function(z,K){K=b(K);if(!(new RegExp(ga+"\\d+:"+WikispacesCommon.escapeRegExp(K.text())+
ga,"g"+Y)).exec($)){N.push({caption:K.text(),value:K.val(),count:K.attr("count")});$+=""+(N.length-1)+":"+K.text()+ga}})}function t(Y,z,K){Y=b.trim(Y);Y=z=b.trim(z).toLowerCase();if(!Y||!z)return false;b("<div/>").text(z).html();var U=k.find("li").filter(function(){return b(this).attr("rel")==z});if(U.length){b(U).effect("highlight",{},3E3);b("#"+za+"_annoninput").children(".maininput").val("")}else{U=b("<a/>").attr({"class":"closebutton",href:"#"}).click(function(){b(this).parent("li").fadeOut("fast",
function(){r(b(this))});return false});b("<li/>").attr({"class":"bit-box",rel:z}).text(Y).append(U).appendTo(k);if(!K){b("#"+za+"_annoninput").remove();u(1);U=ma.children("option").filter(function(){return b(this).val()==z});if(U.length){Y=U;Y.attr("selected","selected");Y.hasClass("selected")||Y.addClass("selected")}else Y=b("<option/>").attr("value",z).attr("selected","selected").addClass("selected").text(Y).appendTo(ma);w.onselect.length&&e(w.onselect,Y)}k.children("li.bit-box.deleted").removeClass("deleted");
C.hide();la&&va.hide()}}function r(Y){if(w.onremove.length){var z=ma.children("option[value="+Y.attr("rel")+"]");e(w.onremove,z)}ma.children("option[value="+Y.attr("rel")+"]").removeAttr("selected");ma.children("option[value="+Y.attr("rel")+"]").removeClass("selected");Y.remove();da=0}function u(Y){var z=b("<li/>").attr({"class":"bit-input",id:za+"_annoninput"}),K=b("<input/>").attr({type:"text","class":"maininput",size:"1"});k.append(z.append(K));K.focus(function(){H.fadeIn("fast")});K.blur(function(){H.fadeOut("fast")});
k.click(function(){K.focus();if(C.length&&K.val().length){C.show();H.children(".default").hide()}else{C.hide();la&&va.hide();H.children(".default").show()}});K.keypress(function(U){if(U.keyCode==13)return false;K.attr("size",K.val().length+1)});Q();K.keyup(function(U){var ia=I(K.val());if(!(U.keyCode==40||U.keyCode==38||U.keyCode==188&&!U.shiftKey&&w.comma_is_enter))if(ia.length!=0){W=0;if(w.json_url)if(w.cache&&ca){G(ia);Q()}else{b.ajaxq("fcbkcomplete");b.ajaxq("fcbkcomplete",{url:w.json_url+"?tag="+
encodeURIComponent(ia),data:null,dataType:"json",type:"GET",success:function(sa){G(ia,sa);ca=true;Q()}})}else{G(ia);Q()}H.children(".default").hide();C.show()}else{C.hide();la&&va.hide();H.children(".default").show()}});Y&&setTimeout(function(){K.focus();H.children(".default").show()},1)}function G(Y,z){C.html("");X=null;var K=w.filter_case?"":"i";if(!w.cache){N=[];$=ga}R(Y);z!=null&&z.length&&b.each(z,function(L,V){if(!(new RegExp(ga+"\\d+:"+WikispacesCommon.escapeRegExp(V.caption)+ga,"g"+K)).exec($)){N.push({caption:V.caption,
value:V.value,count:V.count});$+=""+(N.length-1)+":"+V.caption+ga}});var U,ia;try{U=new RegExp(ga+"(\\d+):[^"+ga+"]*?"+WikispacesCommon.escapeRegExp(Y)+"[^"+ga+"]*","g"+K);ia=U.exec($)}catch(sa){}Y=J(b("<div/>").text(Y).html());z=w.maxshownitems<N.length?w.maxshownitems:N.length;for(var wa="";ia!=null&&z>0;){var na=N[ia[1]],ba=false,A=na.value;ia=ma.children("option").filter(function(){return b(this).val()==A});if(w.filter_case&&w.filter_selected&&ia.hasClass("selected"))ba=true;else!w.filter_case&&
w.filter_selected&&ma.find("option").each(function(){if(this.value.toLowerCase()==na.value.toLowerCase()&&b(this).hasClass("selected"))ba=true});if(!ba){wa+='<li rel="'+b("<div/>").text(na.value).html().replace(/"/g,"&quot;")+'">'+Y(b("<div/>").text(na.caption).html())+(na.count!=null?" ("+na.count+")":"")+"</li>";W++;z--}ia=U.exec($)}C.append(wa);if(w.firstselected){X=C.children("li:visible:first");X.addClass("auto-focus")}if(W>w.height){C.css({height:w.height*24+"px",overflow:"auto"});la&&va.css({height:w.height*
24+"px",width:C.width()+"px"}).show()}else{C.css("height","auto");la&&va.css({height:C.height()+"px",width:C.width()+"px"}).show()}}function J(Y){var z=w.filter_case?"":"i",K=new RegExp("("+WikispacesCommon.escapeRegExp(Y)+")",z);return function(U){return U.replace(K,"<em>$1</em>")}}function D(){C.children("li").mouseover(function(){C.children("li.auto-focus").removeClass("auto-focus");b(this).addClass("auto-focus");X=b(this)}).mouseout(function(){b(this).removeClass("auto-focus");X=null})}function aa(){C.children("li").unbind("mouseover").unbind("mouseout");
C.mousemove(function(){C.unbind("mousemove");D()})}function Q(){var Y=b("#"+za+"_annoninput").children(".maininput");C.mousemove(function(){D();C.unbind("mousemove")});C.children("li").unbind("mousedown");C.children("li").mousedown(function(){var z=b(this);t(z.text(),z.attr("rel"));C.hide();la&&va.hide();H.hide()});Y.unbind("keydown");Y.keydown(function(z){z.keyCode!=8&&k.children("li.bit-box.deleted").removeClass("deleted");var K=b.trim(Y.val());if(z.keyCode==8&&K.length==0){C.hide();if(k.children("li.bit-box.deleted").length==
0){k.children("li.bit-box:last").addClass("deleted");return false}else{if(da)return;da=1;k.children("li.bit-box.deleted").fadeOut("fast",function(){r(b(this));return false})}}if((z.keyCode==13||w.comma_is_enter&&z.keyCode==188&&!z.shiftKey)&&s()){K=X;t(K.text(),K.attr("rel"));H.hide();z.preventDefault();X=null;return false}if((z.keyCode==13||w.comma_is_enter&&z.keyCode==188&&!z.shiftKey)&&!s()){if(w.newel){K=I(b(this).val());t(K,K);H.hide();z.preventDefault();X=null}return false}if(z.keyCode==40){aa();
if(X==null||X.length==0){X=C.children("li:visible:first");C.get(0).scrollTop=0}else{X.removeClass("auto-focus");X=X.nextAll("li:visible:first");K=parseInt(X.prevAll("li:visible").length,10);var U=parseInt(X.nextAll("li:visible").length,10);if((K>Math.round(w.height/2)||U<=Math.round(w.height/2))&&typeof X.get(0)!="undefined")C.get(0).scrollTop=parseInt(X.get(0).scrollHeight,10)*(K-Math.round(w.height/2))}C.children("li").removeClass("auto-focus");X.addClass("auto-focus")}if(z.keyCode==38){aa();if(X==
null||X.length==0){X=C.children("li:visible:last");C.get(0).scrollTop=parseInt(X.get(0).scrollHeight,10)*(parseInt(C.children("li:visible").length,10)-Math.round(w.height/2))}else{X.removeClass("auto-focus");X=X.prevAll("li:visible:first");K=parseInt(X.prevAll("li:visible").length,10);U=parseInt(X.nextAll("li:visible").length,10);if((U>Math.round(w.height/2)||K<=Math.round(w.height/2))&&typeof X.get(0)!="undefined")C.get(0).scrollTop=parseInt(X.get(0).scrollHeight,10)*(K-Math.round(w.height/2))}C.children("li").removeClass("auto-focus");
X.addClass("auto-focus")}})}function R(Y){if(w.newel){C.children("li[fckb=1]").remove();if(Y.length!=0){b("<li/>").attr({rel:Y,fckb:"1"}).text(Y).prependTo(C);W++}}}function e(Y,z){var K="";for(i=0;i<z.get(0).attributes.length;i++)if(z.get(0).attributes[i].nodeValue!=null)K+='"_'+z.get(0).attributes[i].nodeName+'": "'+z.get(0).attributes[i].nodeValue+'",';K="{"+K+" notinuse: 0}";try{eval(Y+"("+K+")")}catch(U){}}function s(){if(X==null)return false;if(X.length==0)return false;return true}function I(Y){return jQuery.trim(Y)}
b(this).bind("addItem",function(Y,z){t(z.title,z.value)});var w=b.extend({json_url:null,cache:false,height:"10",newel:false,firstselected:false,filter_case:false,comma_is_enter:false,filter_hide:false,complete_text:"Start to type...",maxshownitems:30,onselect:"",onremove:""},f),k=null,C=null,H=null,W=0,N=[],ca=false,ga=",",$=ga,X=null,da=0,la=false,va,pa=[],ma=b(this),za=ma.attr("id");this.addFinalItem=function(){var Y=b("#"+za+"_annoninput").children(".maininput");(Y=b.trim(Y.val()))&&t(Y,Y)};this.reset=
B;this.updateSelected=o;h();return this})}});
var jssm={created:false,rid:0,zerolength:false,pointer:false,interval:100,stackelem:false,lengthelem:false,pointerelem:false,iframe:false,stack:[],settings:{formid:"jssmform",stackid:"jssmstack",lengthid:"jssmlength",pointerid:"jssmpointer",iframeid:"jssmiframe",blankurl:"/blank.html",basetitle:"",titleseparator:" : "},functions:{pageload:false,beforeload:false,load:false,afterload:false,beforeunload:false,unload:false,afterunload:false},inline:function(b){if(!this.created){this.created=true;this.settings=
jQuery.fn.extend(this.settings,b);document.write('<div style="display: none;">');document.write('<form id="'+this.settings.formid+'" action="" method="post"><div><textarea name="'+this.settings.stackid+'" id="'+this.settings.stackid+'"></textarea><input type="text" id="'+this.settings.lengthid+'" name="'+this.settings.lengthid+'" /><input type="text" id="'+this.settings.pointerid+'" name="'+this.settings.pointerid+'" /></div></form>');jQuery.browser.msie&&jQuery.browser.version<8&&document.write('<iframe id="'+
this.settings.iframeid+'" src="'+this.settings.blankurl+"?"+this.getHash()+'"></iframe>');document.write("</div>");jQuery.browser.opera&&document.write('<img style="position: absolute; left: -999em; top: -999em;" width="1" height="1"  src="javascript:location.href=\'javascript:jssm.fixOpera();\';" />')}},init:function(b){if(!(jQuery.browser.msie&&b=="ready"))if(!(!jQuery.browser.msie&&b=="load")){jQuery(window).bind("hashchange",jssm.hashchange);this.stackelem=document.getElementById(this.settings.stackid);
this.lengthelem=document.getElementById(this.settings.lengthid);this.pointerelem=document.getElementById(this.settings.pointerid);this.iframe=document.getElementById(this.settings.iframeid);if(jQuery.browser.opera){this.stackelem.focus();this.lengthelem.focus();this.pointerelem.focus();window.focus()}if(this.lengthelem.value){this.zerolength=this.lengthelem.value;this.load()}else{this.pointer=this.zerolength=history.length;this.stack[this.pointer]=this.getHash();this.save()}this.rid=this.getRID(this.stack[this.pointer]);
this.rid++;this.functions.pageload&&this.functions.pageload(this.stack[this.pointer]);"onhashchange"in window||this.poll()}},poll:function(){jssm.getHash()!=jssm.stack[jssm.pointer]&&jQuery(window).trigger("hashchange");setTimeout(jssm.poll,jssm.interval)},fixOpera:function(){},iframeEvent:function(b){if(b||window.location.hash)window.location.hash=b},hashchange:function(){var b=jssm.getHash(),f=b;if(b==="")f=jssm.getCurrentPage();jQuery.browser.msie&&jQuery.browser.version<8&&jssm.iframe.contentWindow.document.body.innerText!=
b&&jssm.setHash(b);jssm.functions.beforeunload&&jssm.functions.beforeunload(f);jssm.functions.unload&&jssm.functions.unload(f);jssm.functions.afterunload&&jssm.functions.afterunload(f);jssm.functions.beforeload&&jssm.functions.beforeload(f);jssm.functions.load&&jssm.functions.load(f);jssm.functions.afterload&&jssm.functions.afterload(f);f=[];for(var h=jssm.zerolength;h<jssm.stack.length;h++)b===jssm.stack[h]&&f.push(h);switch(f.length){case 0:jssm.pointer++;jssm.stack[jssm.pointer]=b;jssm.stack.length=
jssm.pointer+1;break;case 1:jssm.pointer=f[0];break}jssm.save()},load:function(){this.stack=JSON.parse(this.stackelem.value);this.length=this.lengthelem.value;this.pointer=this.pointerelem.value},save:function(){this.stackelem.value=JSON.stringify(this.stack);this.lengthelem.value=this.zerolength;this.pointerelem.value=this.pointer},getHash:function(){this.getHash=jQuery.browser.safari&&parseInt(jQuery.browser.version,10)<522&&!/adobeair/i.test(jQuery.browser.userAgent)?function(){return jssm.stack[history.length-
jssm.zerolength-1]}:function(){var b=window.location.href,f=b.indexOf("#");return f>=0?b.substr(f+1):""};return this.getHash()},setHash:function(b){this.setHash=jQuery.browser.msie&&jQuery.browser.version<8?function(f){var h=jssm.iframe.contentWindow.document;h.open("javascript:'<html></html>'");h.write('<html><head><script type="text/javascript">window.parent.jssm.iframeEvent("'+f+'");<\/script></head><body>'+f+"</body></html>");h.close()}:function(f){window.location.hash=f};return this.setHash(b)},
getRID:function(b){if(!b)return 0;return(b=b.match(/rid=[\d]+/))?b[0].substr(4):0},getHref:function(){var b=window.location.href.indexOf("#");return b>=0?window.location.href.substr(0,b):window.location.href},getPathTokens:function(b){var f=b.indexOf("#"),h=b.indexOf("?"),q="",B="";if(f!=-1){if(h!=-1&&h<f)q=b.substring(h,f);B=b.substring(f)}else if(h>=0)q=b.substring(h);if(f!=-1&&h!=-1)b=b.substring(0,Math.min(f,h));else if(f!=-1)b=b.substring(0,f);else if(h!=-1)b=b.substring(0,h);b=/^(https?:\/\/){0,1}([A-Za-z0-9\-\.]+){0,1}(\:\d+){0,1}(\/){0,1}((?:[^\/]*\/)*){0,1}(.*)$/.exec(b);
if(b[5]){b[5]=b[5].split("/");b[5].pop()}else b[5]=[];b.push(q);b.push(B);return b},getCurrentPath:function(){var b=this.getPathTokens(this.getHref());return b&&b[5]?b[5].join("/")+"/":""},getCurrentPage:function(){var b=this.getPathTokens(this.getHref());return b&&b[6]?b[6]:""},getRelativePath:function(b,f,h){if(b==f&&f.indexOf("?")==-1)return this.getCurrentPage(f);b=this.getPathTokens(b);f=this.getPathTokens(f);if(((h=h||false)||f[1])&&b[1]!==f[1])return false;if((h||f[2])&&b[2]!==f[2])return false;
if(b[3]!==f[3]){if(h)return false;h=false;switch(b[1]){case "http":h=80;break;case "https":h=443;break}if(!h)return false;if(!(b[3]===""&&f[3]==h)&&!(b[3]==h&&f[3]===""))return false}h="";if(!b[5].length||!f[4])h+=f[5].join("/")+"/"+(f[6]?f[6]:"");else{var q=0;if(b[5].length&&f[5].length){for(q=0;q<b[5].length;q++)if(b[5][q]==f[5][q]){b[5].shift();f[5].shift();q--}else break;for(q=0;q<b[5].length;q++)h+="../";h+=f[5].join("/")+(f[5].length?"/":"")+(f[6]?f[6]:"")}else{for(q=0;q<b[5].length;q++)h+=
"../";h+=f[6]?f[6]:""}}if(f[7])h+=f[7];if(f[8])h+=f[8];return h},getRootRelativePath:function(b,f,h){if(arguments.length==1){var q=jssm.getPathTokens(b);return"/"+q[5].join("/")+"/"+(q[6]?q[6]:"")}b=this.getPathTokens(b);f=this.getPathTokens(f);if(((h=h||false)||f[1])&&b[1]!==f[1])return false;if((h||f[2])&&b[2]!==f[2])return false;if(b[3]!==f[3]){if(h)return false;q=false;switch(b[1]){case "http":q=80;break;case "https":q=443;break}if(!q)return false;if(!(b[3]===""&&f[3]==q)&&!(b[3]==q&&f[3]===""))return false}q=
"/";f[4]||(q+=b[5].join("/")+"/");if(f[5].length)q+=f[5].join("/")+"/";if(f[6])q+=f[6];if(f[7])q+=f[7];if(f[8])q+=f[8];return q},setTitle:function(b){document.title=b},buildTitle:function(b,f){f=f||this.settings.titleseparator;return this.settings.basetitle+(b?f+b:"")}};
jQuery.fn.jssm=function(b){return this.each(function(){jQuery(this).bind(b,function(f){jQuery.data(this,"jssm");var h="",q="";if(b=="submit"&&this.action){h=jQuery('<a href="'+this.action+'"></a>').get(0).href;q="&"+jQuery(this).serialize()}else if(this.href)h=this.href;h=jssm.getRelativePath(jssm.getHref(),h);if(h!==false){h=h+(h.indexOf("?")>=0?"&":"?")+"rid="+jssm.rid++ +q;jssm.setHash(h)}f.preventDefault();return false})})};
(function(b){function f(s){if(!s)return false;this.x=String(s).replace(/middle/i,"center").match(/left|right|center/i)[0].toLowerCase();this.y=String(s).replace(/middle/i,"center").match(/top|bottom|center/i)[0].toLowerCase();this.offset={left:0,top:0};this.precedance=s.charAt(0).search(/^(t|b)/)>-1?"y":"x";this.string=function(){return this.precedance==="y"?this.y+this.x:this.x+this.y}}function h(s,I,w){I={bottomright:[[0,0],[I,w],[I,0]],bottomleft:[[0,0],[I,0],[0,w]],topright:[[0,w],[I,0],[I,w]],
topleft:[[0,0],[0,w],[I,w]],topcenter:[[0,w],[I/2,0],[I,w]],bottomcenter:[[0,0],[I,0],[I/2,w]],rightcenter:[[0,0],[I,w/2],[0,w]],leftcenter:[[I,0],[I,w],[0,w/2]]};I.lefttop=I.bottomright;I.righttop=I.bottomleft;I.leftbottom=I.topright;I.rightbottom=I.topleft;return I[s]}function q(s){var I;if(b("<canvas />").get(0).getContext)I={topLeft:[s,s],topRight:[0,s],bottomLeft:[s,0],bottomRight:[0,0]};else if(b.browser.msie)I={topLeft:[-90,90,0],topRight:[-90,90,-s],bottomLeft:[90,270,0],bottomRight:[90,270,
-s]};return I}function B(s,I){var w;s=b.extend(true,{},s);for(w in s)if(I===true&&/(tip|classes)/i.test(w))delete s[w];else!I&&/(width|border|tip|title|classes|user)/i.test(w)&&delete s[w];return s}function o(s){if(typeof s.tip!=="object")s.tip={corner:s.tip};if(typeof s.tip.size!=="object")s.tip.size={width:s.tip.size,height:s.tip.size};if(typeof s.border!=="object")s.border={width:s.border};if(typeof s.width!=="object")s.width={value:s.width};if(typeof s.width.max==="string")s.width.max=parseInt(s.width.max.replace(/([0-9]+)/i,
"$1"),10);if(typeof s.width.min==="string")s.width.min=parseInt(s.width.min.replace(/([0-9]+)/i,"$1"),10);if(typeof s.tip.size.x==="number"){s.tip.size.width=s.tip.size.x;delete s.tip.size.x}if(typeof s.tip.size.y==="number"){s.tip.size.height=s.tip.size.y;delete s.tip.size.y}return s}function m(){var s,I;I=[true,{}];for(s=0;s<arguments.length;s++)I.push(arguments[s]);for(s=[b.extend.apply(b,I)];typeof s[0].name==="string";)s.unshift(o(b.fn.qtip.styles[s[0].name]));s.unshift(true,{classes:{tooltip:"qtip-"+
(arguments[0].name||"defaults")}},b.fn.qtip.styles.defaults);s=b.extend.apply(b,s);I=b.browser.msie?1:0;s.tip.size.width+=I;s.tip.size.height+=I;if(s.tip.size.width%2>0)s.tip.size.width+=1;if(s.tip.size.height%2>0)s.tip.size.height+=1;if(s.tip.corner===true)s.tip.corner=this.options.position.corner.tooltip==="center"&&this.options.position.corner.target==="center"?false:this.options.position.corner.tooltip;return s}function t(s,I,w,k){s=s.get(0).getContext("2d");s.fillStyle=k;s.beginPath();s.arc(I[0],
I[1],w,0,Math.PI*2,false);s.fill()}function r(){var s,I,w,k,C,H,W,N,ca;s=this;s.elements.wrapper.find(".qtip-borderBottom, .qtip-borderTop").remove();w=s.options.style.border.width;k=s.options.style.border.radius;C=s.options.style.border.color||s.options.style.tip.color;H=q(k);W={};for(I in H){W[I]='<div rel="'+I+'" style="'+(/Left/.test(I)?"left":"right")+":0; position:absolute; height:"+k+"px; width:"+k+'px; overflow:hidden; line-height:0.1px; font-size:1px">';if(b("<canvas />").get(0).getContext)W[I]+=
'<canvas height="'+k+'" width="'+k+'" style="vertical-align: top"></canvas>';else if(b.browser.msie){N=k*2+3;W[I]+='<v:arc stroked="false" fillcolor="'+C+'" startangle="'+H[I][0]+'" endangle="'+H[I][1]+'" style="width:'+N+"px; height:"+N+"px; margin-top:"+(/bottom/.test(I)?-2:-1)+"px; margin-left:"+(/Right/.test(I)?H[I][2]-3.5:-1)+'px; vertical-align:top; display:inline-block; behavior:url(#default#VML)"></v:arc>'}W[I]+="</div>"}I=s.getDimensions().width-Math.max(w,k)*2;I='<div class="qtip-betweenCorners" style="height:'+
k+"px; width:"+I+"px; overflow:hidden; background-color:"+C+'; line-height:0.1px; font-size:1px;">';s.elements.wrapper.prepend('<div class="qtip-borderTop" dir="ltr" style="height:'+k+"px; margin-left:"+k+'px; line-height:0.1px; font-size:1px; padding:0;">'+W.topLeft+W.topRight+I);s.elements.wrapper.append('<div class="qtip-borderBottom" dir="ltr" style="height:'+k+"px; margin-left:"+k+'px; line-height:0.1px; font-size:1px; padding:0;">'+W.bottomLeft+W.bottomRight+I);if(b("<canvas />").get(0).getContext)s.elements.wrapper.find("canvas").each(function(){ca=
H[b(this).parent("[rel]:first").attr("rel")];t.call(s,b(this),ca,k,C)});else b.browser.msie&&s.elements.tooltip.append('<v:image style="behavior:url(#default#VML);"></v:image>');W=Math.max(k,k+(w-k));w=Math.max(w-k,0);s.elements.contentWrapper.css({border:"0px solid "+C,borderWidth:w+"px "+W+"px"})}function u(s,I,w){s=s.get(0).getContext("2d");s.fillStyle=w;s.beginPath();s.moveTo(I[0][0],I[0][1]);s.lineTo(I[1][0],I[1][1]);s.lineTo(I[2][0],I[2][1]);s.fill()}function G(s){var I,w;if(!(this.options.style.tip.corner===
false||!this.elements.tip)){s||(s=new f(this.elements.tip.attr("rel")));I=w=b.browser.msie?1:0;this.elements.tip.css(s[s.precedance],0);if(s.precedance==="y"){if(b.browser.msie)w=parseInt(b.browser.version.charAt(0),10)===6?s.y==="top"?-3:1:s.y==="top"?1:2;if(s.x==="center")this.elements.tip.css({left:"50%",marginLeft:-(this.options.style.tip.size.width/2)});else s.x==="left"?this.elements.tip.css({left:this.options.style.border.radius-I}):this.elements.tip.css({right:this.options.style.border.radius+
I});s.y==="top"?this.elements.tip.css({top:-w}):this.elements.tip.css({bottom:w})}else{if(b.browser.msie)w=parseInt(b.browser.version.charAt(0),10)===6?1:s.x==="left"?1:2;if(s.y==="center")this.elements.tip.css({top:"50%",marginTop:-(this.options.style.tip.size.height/2)});else s.y==="top"?this.elements.tip.css({top:this.options.style.border.radius-I}):this.elements.tip.css({bottom:this.options.style.border.radius+I});s.x==="left"?this.elements.tip.css({left:-w}):this.elements.tip.css({right:w})}I=
"padding-"+s[s.precedance];s=this.options.style.tip.size[s.precedance==="x"?"width":"height"];this.elements.tooltip.css("padding",0).css(I,s);if(b.browser.msie&&parseInt(b.browser.version.charAt(0),6)===6){s=parseInt(this.elements.tip.css("margin-top"),10)||0;s+=parseInt(this.elements.content.css("margin-top"),10)||0;this.elements.tip.css({marginTop:s})}}}function J(s){var I,w,k,C;this.elements.tip!==null&&this.elements.tip.remove();I=this.options.style.tip.color||this.options.style.border.color;
if(this.options.style.tip.corner!==false){s||(s=new f(this.options.style.tip.corner));w=h(s.string(),this.options.style.tip.size.width,this.options.style.tip.size.height);this.elements.tip='<div class="'+this.options.style.classes.tip+'" dir="ltr" rel="'+s.string()+'" style="position:absolute; height:'+this.options.style.tip.size.height+"px; width:"+this.options.style.tip.size.width+'px; margin:0 auto; line-height:0.1px; font-size:1px;"></div>';this.elements.tooltip.prepend(this.elements.tip);if(b("<canvas />").get(0).getContext)k=
'<canvas height="'+this.options.style.tip.size.height+'" width="'+this.options.style.tip.size.width+'"></canvas>';else if(b.browser.msie){k=this.options.style.tip.size.width+","+this.options.style.tip.size.height;C="m"+w[0][0]+","+w[0][1];C+=" l"+w[1][0]+","+w[1][1];C+=" "+w[2][0]+","+w[2][1];C+=" xe";k='<v:shape fillcolor="'+I+'" stroked="false" filled="true" path="'+C+'" coordsize="'+k+'" style="width:'+this.options.style.tip.size.width+"px; height:"+this.options.style.tip.size.height+"px; line-height:0.1px; display:inline-block; behavior:url(#default#VML); vertical-align:"+
(s.y==="top"?"bottom":"top")+'"></v:shape>';k+='<v:image style="behavior:url(#default#VML);"></v:image>';this.elements.contentWrapper.css("position","relative")}this.elements.tip=this.elements.tooltip.find("."+this.options.style.classes.tip).eq(0);this.elements.tip.html(k);b("<canvas  />").get(0).getContext&&u.call(this,this.elements.tip.find("canvas:first"),w,I);s.y==="top"&&b.browser.msie&&parseInt(b.browser.version.charAt(0),10)===6&&this.elements.tip.css({marginTop:-4});G.call(this,s)}}function D(){var s=
this;s.elements.title!==null&&s.elements.title.remove();s.elements.tooltip.attr("aria-labelledby","qtip-"+s.id+"-title");s.elements.title=b('<div id="qtip-'+s.id+'-title" class="'+s.options.style.classes.title+'"></div>').css(B(s.options.style.title,true)).css({zoom:b.browser.msie?1:0}).prependTo(s.elements.contentWrapper);s.options.content.title.text&&s.updateTitle.call(s,s.options.content.title.text);if(s.options.content.title.button!==false&&typeof s.options.content.title.button==="string")s.elements.button=
b('<a class="'+s.options.style.classes.button+'" role="button" style="float:right; position: relative"></a>').css(B(s.options.style.button,true)).html(s.options.content.title.button).prependTo(s.elements.title).click(function(I){s.status.disabled||s.hide(I)})}function aa(){function s(N){if(k.status.disabled!==true){clearTimeout(k.timers.inactive);k.timers.inactive=setTimeout(function(){b(W).each(function(){H.unbind(this+".qtip-inactive");k.elements.content.unbind(this+".qtip-inactive")});k.hide(N)},
k.options.hide.delay)}}function I(N){if(k.status.disabled!==true){if(k.options.hide.when.event==="inactive"){b(W).each(function(){H.bind(this+".qtip-inactive",s);k.elements.content.bind(this+".qtip-inactive",s)});s()}clearTimeout(k.timers.show);clearTimeout(k.timers.hide);if(k.options.show.delay>0)k.timers.show=setTimeout(function(){k.show(N)},k.options.show.delay);else k.show(N)}}function w(N){if(k.status.disabled!==true){if(k.options.hide.fixed===true&&/mouse(out|leave)/i.test(k.options.hide.when.event)&&
b(N.relatedTarget).parents('div.qtip[id^="qtip"]').length>0){N.stopPropagation();N.preventDefault();clearTimeout(k.timers.hide);return false}clearTimeout(k.timers.show);clearTimeout(k.timers.hide);k.elements.tooltip.stop(true,true);k.timers.hide=setTimeout(function(){k.hide(N)},k.options.hide.delay)}}var k,C,H,W;k=this;C=k.options.show.when.target;H=k.options.hide.when.target;if(k.options.hide.fixed)H=H.add(k.elements.tooltip);W=["click","dblclick","mousedown","mouseup","mousemove","mouseout","mouseenter",
"mouseleave","mouseover"];k.options.hide.fixed===true&&k.elements.tooltip.bind("mouseover.qtip",function(){k.status.disabled!==true&&clearTimeout(k.timers.hide)});k.options.position.target==="mouse"&&k.options.position.type!=="static"&&C.bind("mousemove.qtip",function(N){k.cache.mouse={left:N.pageX,top:N.pageY};k.status.disabled===false&&k.options.position.adjust.mouse===true&&k.options.position.type!=="static"&&k.elements.tooltip.css("display")!=="none"&&k.updatePosition(N)});if(k.options.show.when.target.add(k.options.hide.when.target).length===
1&&k.options.show.when.event===k.options.hide.when.event&&k.options.hide.when.event!=="inactive"||k.options.hide.when.event==="unfocus"){k.cache.toggle=0;C.bind(k.options.show.when.event+".qtip",function(N){k.cache.toggle===0?I(N):w(N)})}else{C.bind(k.options.show.when.event+".qtip",I);k.options.hide.when.event!=="inactive"&&H.bind(k.options.hide.when.event+".qtip",w)}/(fixed|absolute)/.test(k.options.position.type)&&k.elements.tooltip.bind("mouseover.qtip",k.focus)}function Q(){var s;s=this.getDimensions();
this.elements.bgiframe=this.elements.wrapper.prepend('<iframe class="qtip-bgiframe" frameborder="0" tabindex="-1" src="javascript:false" style="display:block; position:absolute; z-index:-1; filter:alpha(opacity=\'0\'); border: 1px solid red; height:'+s.height+"px; width:"+s.width+'px" />').children(".qtip-bgiframe:first")}function R(){var s,I,w;this.beforeRender.call(this);this.status.rendered=2;this.elements.tooltip='<div qtip="'+this.id+'" id="qtip-'+this.id+'" role="tooltip" aria-describedby="qtip-'+
this.id+'-content" class="qtip '+(this.options.style.classes.tooltip||this.options.style)+'" style="display:none; -moz-border-radius:0; -webkit-border-radius:0; border-radius:0; position:'+this.options.position.type+';">   <div class="qtip-wrapper" style="position:relative; overflow:hidden; text-align:left;">     <div class="qtip-contentWrapper" style="overflow:hidden;">        <div id="qtip-'+this.id+'-content" class="qtip-content '+this.options.style.classes.content+'"></div> </div></div></div>';
this.elements.tooltip=b(this.elements.tooltip);this.elements.tooltip.appendTo(this.options.position.container);this.elements.tooltip.data("qtip",{current:0,interfaces:[this]});this.elements.wrapper=this.elements.tooltip.children("div:first");this.elements.contentWrapper=this.elements.wrapper.children("div:first");this.elements.content=this.elements.contentWrapper.children("div:first").css(B(this.options.style));b.browser.msie&&this.elements.wrapper.add(this.elements.content).css({zoom:1});this.options.hide.when.event===
"unfocus"&&this.elements.tooltip.attr("unfocus",true);typeof this.options.style.width.value==="number"&&this.updateWidth();if(b("<canvas />").get(0).getContext||b.browser.msie){this.options.style.border.radius>0?r.call(this):this.elements.contentWrapper.css({border:this.options.style.border.width+"px solid "+this.options.style.border.color});this.options.style.tip.corner!==false&&J.call(this)}else{this.elements.contentWrapper.css({border:this.options.style.border.width+"px solid "+this.options.style.border.color});
this.options.style.border.radius=0;this.options.style.tip.corner=false}s=typeof this.options.content.text==="string"&&this.options.content.text.length>0||this.options.content.text.jquery&&this.options.content.text.length>0?this.options.content.text:" ";this.options.content.title.text!==false&&D.call(this);this.updateContent(s,false);aa.call(this);this.options.show.ready===true&&this.show();if(this.options.content.url!==false){s=this.options.content.url;I=this.options.content.data;w=this.options.content.method||
"get";this.loadContent(s,I,w)}this.status.rendered=true;this.onRender.call(this)}function e(s,I,w){var k=this;k.id=w;k.options=I;k.status={animated:false,rendered:false,disabled:false,focused:false};k.elements={target:s.addClass(k.options.style.classes.target),tooltip:null,wrapper:null,content:null,contentWrapper:null,title:null,button:null,tip:null,bgiframe:null};k.cache={attr:false,mouse:{},toggle:0,overflow:{left:false,top:false}};k.timers={};b.extend(k,k.options.api,{show:function(C){function H(){k.elements.tooltip.attr("aria-hidden",
true);k.options.position.type!=="static"&&k.focus();k.onShow.call(k,C);if(b.browser.msie){var N=k.elements.tooltip.get(0).style;N.removeAttribute("filter");N.removeAttribute("opacity")}else k.elements.tooltip.css({opacity:""})}var W;if(!k.status.rendered)return false;if(k.elements.tooltip.css("display")!=="none")return k;k.elements.tooltip.stop(true,false);if(k.beforeShow.call(k,C)===false)return k;k.cache.toggle=1;k.options.position.type!=="static"&&k.updatePosition(C,k.options.show.effect.length>
0&&k.rendered!==2);if(typeof k.options.show.solo==="object")W=b(k.options.show.solo);else if(k.options.show.solo===true)W=b("div.qtip").not(k.elements.tooltip);W&&W.each(function(){b(this).qtip("api").status.rendered===true&&b(this).qtip("api").hide()});if(typeof k.options.show.effect.type==="function"){k.options.show.effect.type.call(k.elements.tooltip,k.options.show.effect.length);k.elements.tooltip.queue(function(){H();b(this).dequeue()})}else{switch(k.options.show.effect.type.toLowerCase()){case "fade":k.elements.tooltip.fadeIn(k.options.show.effect.length,
H);break;case "slide":k.elements.tooltip.slideDown(k.options.show.effect.length,function(){H();k.options.position.type!=="static"&&k.updatePosition(C,true)});break;case "grow":k.elements.tooltip.show(k.options.show.effect.length,H);break;default:k.elements.tooltip.show(null,H);break}k.elements.tooltip.addClass(k.options.style.classes.active)}return k},hide:function(C){function H(){k.elements.tooltip.attr("aria-hidden",true);b.browser.msie?k.elements.tooltip.get(0).style.removeAttribute("opacity"):
k.elements.tooltip.css({opacity:""});k.onHide.call(k,C)}if(k.status.rendered){if(k.elements.tooltip.css("display")==="none")return k}else return false;clearTimeout(k.timers.show);k.elements.tooltip.stop(true,false);if(k.beforeHide.call(k,C)===false)return k;k.cache.toggle=0;if(typeof k.options.hide.effect.type==="function"){k.options.hide.effect.type.call(k.elements.tooltip,k.options.hide.effect.length);k.elements.tooltip.queue(function(){H();b(this).dequeue()})}else{switch(k.options.hide.effect.type.toLowerCase()){case "fade":k.elements.tooltip.fadeOut(k.options.hide.effect.length,
H);break;case "slide":k.elements.tooltip.slideUp(k.options.hide.effect.length,H);break;case "grow":k.elements.tooltip.hide(k.options.hide.effect.length,H);break;default:k.elements.tooltip.hide(null,H);break}k.elements.tooltip.removeClass(k.options.style.classes.active)}return k},toggle:function(C,H){H=/boolean|number/.test(typeof H)?H:!k.elements.tooltip.is(":visible");k[H?"show":"hide"](C);return k},updatePosition:function(C,H){if(!k.status.rendered)return false;var W=I.position,N=b(W.target),ca=
k.elements.tooltip.outerWidth(),ga=k.elements.tooltip.outerHeight(),$,X,da,la=W.corner.tooltip,va=W.corner.target,pa,ma,za={left:function(){var Y=b(window).scrollLeft(),z=b(window).width()+b(window).scrollLeft(),K=la.x==="center"?ca/2:ca,U=la.x==="center"?$/2:$,ia=(la.x==="center"?1:2)*k.options.style.border.radius,sa=-2*W.adjust.x,wa=da.left+ca,na;if(wa>z){na=sa-K-U+ia;if(da.left+na>Y||Y-(da.left+na)<wa-z)return{adjust:na,tip:"right"}}if(da.left<Y){na=sa+K+U-ia;if(wa+na<z||wa+na-z<Y-da.left)return{adjust:na,
tip:"left"}}return{adjust:0,tip:la.x}},top:function(){var Y=b(window).scrollTop(),z=b(window).height()+b(window).scrollTop(),K=la.y==="center"?ga/2:ga,U=la.y==="center"?X/2:X,ia=(la.y==="center"?1:2)*k.options.style.border.radius,sa=-2*W.adjust.y,wa=da.top+ga,na;if(wa>z){na=sa-K-U+ia;if(da.top+na>Y||Y-(da.top+na)<wa-z)return{adjust:na,tip:"bottom"}}if(da.top<Y){na=sa+K+U-ia;if(wa+na<z||wa+na-z<Y-da.top)return{adjust:na,tip:"top"}}return{adjust:0,tip:la.y}}};if(C&&I.position.target==="mouse"){va={x:"left",
y:"top"};$=X=0;da=C.pageX?{top:C.pageY,left:C.pageX}:k.cache.mouse}else{if(N[0]===document){$=N.width();X=N.height();da={top:0,left:0}}else if(N[0]===window){$=N.width();X=N.height();da={top:N.scrollTop(),left:N.scrollLeft()}}else if(N.is("area")){N=k.options.position.target.attr("coords").split(",");for(pa=0;pa<N.length;pa++)N[pa]=parseInt(N[pa],10);pa=k.options.position.target.parent("map").attr("name");ma=b('img[usemap="#'+pa+'"]:first').offset();da={left:Math.floor(ma.left+N[0]),top:Math.floor(ma.top+
N[1])};switch(k.options.position.target.attr("shape").toLowerCase()){case "rect":$=Math.ceil(Math.abs(N[2]-N[0]));X=Math.ceil(Math.abs(N[3]-N[1]));break;case "circle":$=N[2]+1;X=N[2]+1;break;case "poly":$=N[0];X=N[1];for(pa=0;pa<N.length;pa++)if(pa%2===0){if(N[pa]>$)$=N[pa];if(N[pa]<N[0])da.left=Math.floor(ma.left+N[pa])}else{if(N[pa]>X)X=N[pa];if(N[pa]<N[1])da.top=Math.floor(ma.top+N[pa])}$-=da.left-ma.left;X-=da.top-ma.top;break}$-=2;X-=2}else{$=N.outerWidth();X=N.outerHeight();k.elements.tooltip.is(":visible")||
k.elements.tooltip.css({left:"-10000000em"}).show();if(k.elements.tooltip.offsetParent()[0]===document.body)da=N.offset();else{da=N.position();da.top+=N.offsetParent().scrollTop();da.left+=N.offsetParent().scrollLeft()}}da.left+=va.x==="right"?$:va.x==="center"?$/2:0;da.top+=va.y==="bottom"?X:va.y==="center"?X/2:0}da.left+=W.adjust.x+(la.x==="right"?-ca:la.x==="center"?-ca/2:0);da.top+=W.adjust.y+(la.y==="bottom"?-ga:la.y==="center"?-ga/2:0);if(k.options.style.border.radius>0){if(la.x==="left")da.left-=
k.options.style.border.radius;else if(la.x==="right")da.left+=k.options.style.border.radius;if(la.y==="top")da.top-=k.options.style.border.radius;else if(la.y==="bottom")da.top+=k.options.style.border.radius}W.adjust.screen&&function(){var Y={x:0,y:0},z={x:za.left(),y:za.top()},K=new f(I.style.tip.corner);if(k.elements.tip&&K){if(z.y.adjust!==0){da.top+=z.y.adjust;K.y=Y.y=z.y.tip}if(z.x.adjust!==0){da.left+=z.x.adjust;K.x=Y.x=z.x.tip}k.cache.overflow={left:Y.x===false,top:Y.y===false};k.elements.tip.attr("rel")!==
K.string()&&J.call(k,K)}}();!k.elements.bgiframe&&b.browser.msie&&parseInt(b.browser.version.charAt(0),10)===6&&Q.call(k);if(k.beforePositionUpdate.call(k,C)===false)return k;if(I.position.target!=="mouse"&&H===true){k.status.animated=true;k.elements.tooltip.stop().animate(da,200,"swing",function(){k.status.animated=false})}else k.elements.tooltip.css(da);k.onPositionUpdate.call(k,C);return k},updateWidth:function(C){if(!k.status.rendered||C&&typeof C!=="number")return false;var H=k.elements.contentWrapper.siblings().add(k.elements.tip).add(k.elements.button),
W=k.elements.wrapper.add(k.elements.contentWrapper.children()),N=k.elements.tooltip,ca=k.options.style.width.max,ga=k.options.style.width.min;if(!C)if(typeof k.options.style.width.value==="number")C=k.options.style.width.value;else{k.elements.tooltip.css({width:"auto"});H.hide();N.width(C);b.browser.msie&&W.css({zoom:""});C=k.getDimensions().width;k.options.style.width.value||(C=Math.min(Math.max(C,ga),ca))}if(C%2)C+=1;k.elements.tooltip.width(C);H.show();k.options.style.border.radius&&k.elements.tooltip.find(".qtip-betweenCorners").each(function(){b(this).width(C-
k.options.style.border.radius*2)});if(b.browser.msie){W.css({zoom:1});k.elements.wrapper.width(C);k.elements.bgiframe&&k.elements.bgiframe.width(C).height(k.getDimensions.height)}return k},updateStyle:function(C){var H,W,N,ca;if(!k.status.rendered||typeof C!=="string"||!b.fn.qtip.styles[C])return false;k.options.style=m.call(k,b.fn.qtip.styles[C],k.options.user.style);k.elements.content.css(B(k.options.style));k.options.content.title.text!==false&&k.elements.title.css(B(k.options.style.title,true));
k.elements.contentWrapper.css({borderColor:k.options.style.border.color});if(k.options.style.tip.corner!==false)if(b("<canvas />").get(0).getContext){C=k.elements.tooltip.find(".qtip-tip canvas:first");W=C.get(0).getContext("2d");W.clearRect(0,0,300,300);N=C.parent("div[rel]:first").attr("rel");ca=h(N,k.options.style.tip.size.width,k.options.style.tip.size.height);u.call(k,C,ca,k.options.style.tip.color||k.options.style.border.color)}else if(b.browser.msie){C=k.elements.tooltip.find('.qtip-tip [nodeName="shape"]');
C.attr("fillcolor",k.options.style.tip.color||k.options.style.border.color)}if(k.options.style.border.radius>0){k.elements.tooltip.find(".qtip-betweenCorners").css({backgroundColor:k.options.style.border.color});if(b("<canvas />").get(0).getContext){H=q(k.options.style.border.radius);k.elements.tooltip.find(".qtip-wrapper canvas").each(function(){W=b(this).get(0).getContext("2d");W.clearRect(0,0,300,300);N=b(this).parent("div[rel]:first").attr("rel");t.call(k,b(this),H[N],k.options.style.border.radius,
k.options.style.border.color)})}else b.browser.msie&&k.elements.tooltip.find('.qtip-wrapper [nodeName="arc"]').each(function(){b(this).attr("fillcolor",k.options.style.border.color)})}return k},updateContent:function(C,H){function W(){k.updateWidth();if(H!==false){k.options.position.type!=="static"&&k.updatePosition(k.elements.tooltip.is(":visible"),true);k.options.style.tip.corner!==false&&G.call(k)}}var N,ca,ga;if(!C)return false;N=k.beforeContentUpdate.call(k,C);if(typeof N==="string")C=N;else if(N===
false)return;if(k.status.rendered){b.browser.msie&&k.elements.contentWrapper.children().css({zoom:"normal"});C.jquery&&C.length>0?C.clone(true).appendTo(k.elements.content).show():k.elements.content.html(C);ca=k.elements.content.find("img[complete=false]");if(ca.length>0){ga=0;ca.each(function(){b('<img src="'+b(this).attr("src")+'" />').load(function(){++ga===ca.length&&W()})})}else W()}else k.options.content.text=C;k.onContentUpdate.call(k);return k},loadContent:function(C,H,W){function N(ca){k.onContentLoad.call(k);
k.updateContent(ca)}if(!k.status.rendered)return false;if(k.beforeContentLoad.call(k)===false)return k;W==="post"?b.post(C,H,N):b.get(C,H,N);return k},updateTitle:function(C){if(!k.status.rendered||!C)return false;if(k.beforeTitleUpdate.call(k)===false)return k;if(k.elements.button)k.elements.button=k.elements.button.clone(true);k.elements.title.html(C);k.elements.button&&k.elements.title.prepend(k.elements.button);k.onTitleUpdate.call(k);return k},focus:function(C){var H,W,N;if(!k.status.rendered||
k.options.position.type==="static")return false;H=parseInt(k.elements.tooltip.css("z-index"),10);W=15E3+b('div.qtip[id^="qtip"]').length-1;if(!k.status.focused&&H!==W){H=k.beforeFocus.call(k,C);if(H===false)return k;b('div.qtip[id^="qtip"]').not(k.elements.tooltip).each(function(){if(b(this).qtip("api").status.rendered===true){N=parseInt(b(this).css("z-index"),10);typeof N==="number"&&N>-1&&b(this).css({zIndex:parseInt(b(this).css("z-index"),10)-1});b(this).qtip("api").status.focused=false}});k.elements.tooltip.css({zIndex:W});
k.status.focused=true;k.onFocus.call(k,C)}return k},disable:function(C){k.status.disabled=C?true:false;return k},destroy:function(){var C,H,W=k.elements.target.data("old"+k.cache.attr[0]);if(k.beforeDestroy.call(k)===false)return k;if(k.status.rendered){k.options.show.when.target.unbind("mousemove.qtip",k.updatePosition);k.options.show.when.target.unbind("mouseout.qtip",k.hide);k.options.show.when.target.unbind(k.options.show.when.event+".qtip");k.options.hide.when.target.unbind(k.options.hide.when.event+
".qtip");k.elements.tooltip.unbind(k.options.hide.when.event+".qtip");k.elements.tooltip.unbind("mouseover.qtip",k.focus);k.elements.tooltip.remove()}else k.options.show.when.target.unbind(k.options.show.when.event+".qtip-"+k.id+"-create");if(typeof k.elements.target.data("qtip")==="object"){H=k.elements.target.data("qtip").interfaces;if(typeof H==="object"&&H.length>0)for(C=0;C<H.length-1;C++)H[C].id===k.id&&H.splice(C,1)}b.fn.qtip.interfaces.splice(k.id,1);if(typeof H==="object"&&H.length>0)k.elements.target.data("qtip").current=
H.length-1;else k.elements.target.removeData("qtip");W&&k.elements.target.attr(k.cache.attr[0],W);k.onDestroy.call(k);return k.elements.target},getPosition:function(){var C,H;if(!k.status.rendered)return false;(C=k.elements.tooltip.css("display")!=="none"?false:true)&&k.elements.tooltip.css({visiblity:"hidden"}).show();H=k.elements.tooltip.offset();C&&k.elements.tooltip.css({visiblity:"visible"}).hide();return H},getDimensions:function(){var C,H;if(!k.status.rendered)return false;(C=!k.elements.tooltip.is(":visible")?
true:false)&&k.elements.tooltip.css({visiblity:"hidden"}).show();H={height:k.elements.tooltip.outerHeight(),width:k.elements.tooltip.outerWidth()};C&&k.elements.tooltip.css({visiblity:"visible"}).hide();return H}})}b(document).ready(function(){var s;b(window).bind("resize scroll",function(I){for(s=0;s<b.fn.qtip.interfaces.length;s++){var w=b.fn.qtip.interfaces[s];if(w&&w.status&&w.status.rendered&&w.options.position.type!=="static"&&w.elements.tooltip.is(":visible")&&(w.options.position.adjust.scroll&&
I.type==="scroll"||w.options.position.adjust.resize&&I.type==="resize"))w.updatePosition(I,true)}});b(document).bind("mouseenter.qtip",function(I){if(b(I.target).parents("div.qtip").length===0){var w=b(".qtipSelector"),k=w.qtip("api");w.is(":visible")&&k&&k.status&&!k.status.disabled&&b(I.target).add(k.elements.target).length>1&&k.hide(I)}})});b.fn.qtip=function(s,I){var w,k,C,H,W,N,ca,ga;if(typeof s==="string")if(b(this).data("qtip"))if(s==="api")return b(this).data("qtip").interfaces[b(this).data("qtip").current];
else{if(s==="interfaces")return b(this).data("qtip").interfaces}else return b(this);else{s||(s={});if(typeof s.content!=="object"||s.content.jquery&&s.content.length>0)s.content={text:s.content};if(typeof s.content.title!=="object")s.content.title={text:s.content.title};if(typeof s.position!=="object")s.position={corner:s.position};if(typeof s.position.corner!=="object")s.position.corner={target:s.position.corner,tooltip:s.position.corner};if(typeof s.show!=="object")s.show={when:s.show};if(typeof s.show.when!==
"object")s.show.when={event:s.show.when};if(typeof s.show.effect!=="object")s.show.effect={type:s.show.effect};if(typeof s.hide!=="object")s.hide={when:s.hide};if(typeof s.hide.when!=="object")s.hide.when={event:s.hide.when};if(typeof s.hide.effect!=="object")s.hide.effect={type:s.hide.effect};if(typeof s.style!=="object")s.style={name:s.style};s.style=o(s.style);H=b.extend(true,{},b.fn.qtip.defaults,s);H.style=m.call({options:H},H.style);H.user=b.extend(true,{},s)}return b(this).each(function(){var $=
b(this),X=false;if(typeof s==="string"){N=s.toLowerCase();C=b(this).qtip("interfaces");if(typeof C==="object")if(I===true&&N==="destroy")for(w=C.length-1;w>-1;w--)"object"===typeof C[w]&&C[w].destroy();else{if(I!==true)C=[b(this).qtip("api")];for(w=0;w<C.length;w++)if(N==="destroy")C[w].destroy();else if(C[w].status.rendered===true)if(N==="show")C[w].show();else if(N==="hide")C[w].hide();else if(N==="focus")C[w].focus();else if(N==="disable")C[w].disable(true);else if(N==="enable")C[w].disable(false);
else N==="update"&&C[w].updatePosition()}}else{ca=b.extend(true,{},H);ca.hide.effect.length=H.hide.effect.length;ca.show.effect.length=H.show.effect.length;if(ca.position.container===false)ca.position.container=b(document.body);if(ca.position.target===false)ca.position.target=b(this);if(ca.show.when.target===false)ca.show.when.target=b(this);if(ca.hide.when.target===false)ca.hide.when.target=b(this);ca.position.corner.tooltip=new f(ca.position.corner.tooltip);ca.position.corner.target=new f(ca.position.corner.target);
ca.content.text.length||b(["title","alt"]).each(function(da,la){if((da=$.attr(la))&&da.length){X=[la,da];$.data("old"+la,da).removeAttr(la);ca.content.text=da.replace(/\n/gi,"<br />");return false}});k=b.fn.qtip.interfaces.length;for(w=0;w<k;w++)if(typeof b.fn.qtip.interfaces[w]==="undefined"){k=w;break}W=new e(b(this),ca,k);b.fn.qtip.interfaces[k]=W;W.cache.attr=X;if(typeof b(this).data("qtip")==="object"&&b(this).data("qtip")){if(typeof b(this).attr("qtip")==="undefined")b(this).data("qtip").current=
b(this).data("qtip").interfaces.length;b(this).data("qtip").interfaces.push(W)}else b(this).data("qtip",{current:0,interfaces:[W]});if(ca.content.prerender===false&&ca.show.when.event!==false&&ca.show.ready!==true)ca.show.when.target.bind(ca.show.when.event+".qtip-"+k+"-create",{qtip:k},function(da){ga=b.fn.qtip.interfaces[da.data.qtip];ga.options.show.when.target.unbind(ga.options.show.when.event+".qtip-"+da.data.qtip+"-create");ga.cache.mouse={left:da.pageX,top:da.pageY};R.call(ga);ga.options.show.when.target.trigger(ga.options.show.when.event)});
else{W.cache.mouse={left:ca.show.when.target.offset().left,top:ca.show.when.target.offset().top};R.call(W)}}})};b.fn.qtip.interfaces=[];b.fn.qtip.fn={attr:b.fn.attr};b.fn.attr=function(s){var I=b(this).qtip("api");return arguments.length===1&&/title|alt/i.test(s)&&I.status&&I.status.rendered===true?b(this).data("old"+I.cache.attr[0]):b.fn.qtip.fn.attr.apply(this,arguments)};b.fn.qtip.defaults={content:{prerender:false,text:false,url:false,data:null,title:{text:false,button:false}},position:{target:false,
corner:{target:"bottomRight",tooltip:"topLeft"},adjust:{x:0,y:0,mouse:true,screen:false,scroll:true,resize:true},type:"absolute",container:false},show:{when:{target:false,event:"mouseover"},effect:{type:"fade",length:100},delay:140,solo:false,ready:false},hide:{when:{target:false,event:"mouseout"},effect:{type:"fade",length:100},delay:0,fixed:false},api:{beforeRender:function(){},onRender:function(){},beforePositionUpdate:function(){},onPositionUpdate:function(){},beforeShow:function(){},onShow:function(){},
beforeHide:function(){},onHide:function(){},beforeContentUpdate:function(){},onContentUpdate:function(){},beforeContentLoad:function(){},onContentLoad:function(){},beforeTitleUpdate:function(){},onTitleUpdate:function(){},beforeDestroy:function(){},onDestroy:function(){},beforeFocus:function(){},onFocus:function(){}}};b.fn.qtip.styles={defaults:{background:"white",color:"#111",overflow:"hidden",textAlign:"left",width:{min:0,max:250},padding:"5px 9px",border:{width:1,radius:0,color:"#d3d3d3"},tip:{corner:false,
color:false,size:{width:13,height:13},opacity:1},title:{background:"#e1e1e1",fontWeight:"bold",padding:"7px 12px"},button:{cursor:"pointer"},classes:{target:"",tip:"qtip-tip",title:"qtip-title",button:"qtip-button",content:"qtip-content",active:"qtip-active"}},cream:{border:{width:3,radius:0,color:"#F9E98E"},title:{background:"#F0DE7D",color:"#A27D35"},background:"#FBF7AA",color:"#A27D35",classes:{tooltip:"qtip-cream"}},light:{border:{width:3,radius:0,color:"#E2E2E2"},title:{background:"#f1f1f1",
color:"#454545"},background:"white",color:"#454545",classes:{tooltip:"qtip-light"}},dark:{border:{width:3,radius:0,color:"#303030"},title:{background:"#404040",color:"#f3f3f3"},background:"#505050",color:"#f3f3f3",classes:{tooltip:"qtip-dark"}},red:{border:{width:3,radius:0,color:"#CE6F6F"},title:{background:"#f28279",color:"#9C2F2F"},background:"#F79992",color:"#9C2F2F",classes:{tooltip:"qtip-red"}},green:{border:{width:3,radius:0,color:"#A9DB66"},title:{background:"#b9db8c",color:"#58792E"},background:"#CDE6AC",
color:"#58792E",classes:{tooltip:"qtip-green"}},blue:{border:{width:3,radius:0,color:"#ADD9ED"},title:{background:"#D0E9F5",color:"#5E99BD"},background:"#E5F6FE",color:"#4D9FBF",classes:{tooltip:"qtip-blue"}}}})(jQuery);jQuery.fn.qtip.styles.WikispacesDarkGrey={name:"light",width:350,border:{radius:4,color:"#888"},title:{"font-size":"16px","font-weight":"bold","background-color":"#888",padding:"7px 9px 5px",color:"#FFF"}};
this.JSON||(JSON=function(){function b(u){return u<10?"0"+u:u}function f(u){B.lastIndex=0;return B.test(u)?'"'+u.replace(B,function(G){var J=t[G];if(typeof J==="string")return J;return"\\u"+("0000"+(+G.charCodeAt(0)).toString(16)).slice(-4)})+'"':'"'+u+'"'}function h(u,G){var J,D,aa=o,Q,R=G[u];if(R&&typeof R==="object"&&typeof R.toJSON==="function")R=R.toJSON(u);if(typeof r==="function")R=r.call(G,u,R);switch(typeof R){case "string":return f(R);case "number":return isFinite(R)?String(R):"null";case "boolean":case "null":return String(R);
case "object":if(!R)return"null";o+=m;Q=[];if(typeof R.length==="number"&&!R.propertyIsEnumerable("length")){D=R.length;for(u=0;u<D;u+=1)Q[u]=h(u,R)||"null";G=Q.length===0?"[]":o?"[\n"+o+Q.join(",\n"+o)+"\n"+aa+"]":"["+Q.join(",")+"]";o=aa;return G}if(r&&typeof r==="object"){D=r.length;for(u=0;u<D;u+=1){J=r[u];if(typeof J==="string")if(G=h(J,R))Q.push(f(J)+(o?": ":":")+G)}}else for(J in R)if(Object.hasOwnProperty.call(R,J))if(G=h(J,R))Q.push(f(J)+(o?": ":":")+G);G=Q.length===0?"{}":o?"{\n"+o+Q.join(",\n"+
o)+"\n"+aa+"}":"{"+Q.join(",")+"}";o=aa;return G}}Date.prototype.toJSON=function(){return this.getUTCFullYear()+"-"+b(this.getUTCMonth()+1)+"-"+b(this.getUTCDate())+"T"+b(this.getUTCHours())+":"+b(this.getUTCMinutes())+":"+b(this.getUTCSeconds())+"Z"};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()};var q=new RegExp("/[\\u0000\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g"),
B=new RegExp('/[\\\\\\"\\x00-\\x1f\\x7f-\\x9f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g'),o,m,t={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},r;return{stringify:function(u,G,J){var D;m=o="";if(typeof J==="number")for(D=0;D<J;D+=1)m+=" ";else if(typeof J==="string")m=J;if((r=G)&&typeof G!=="function"&&(typeof G!=="object"||typeof G.length!=="number"))throw new Error("JSON.stringify");return h("",
{"":u})},parse:function(u,G){function J(D,aa){var Q,R,e=D[aa];if(e&&typeof e==="object")for(Q in e)if(Object.hasOwnProperty.call(e,Q)){R=J(e,Q);if(R!==undefined)e[Q]=R;else delete e[Q]}return G.call(D,aa,e)}q.lastIndex=0;if(q.test(u))u=u.replace(q,function(D){return"\\u"+("0000"+(+D.charCodeAt(0)).toString(16)).slice(-4)});if(/^[\],:{}\s]*$/.test(u.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,
""))){u=eval("("+u+")");return typeof G==="function"?J({"":u},""):u}throw new SyntaxError("JSON.parse");}}}());function WikispacesSession(){}WikispacesSession.sessionReloadAttempt=0;WikispacesSession.sessionReloadHandle=null;WikispacesSession.reloadSessionSuccess=function(){jQuery("iframe.sessionReloadIframe").remove();this.sessionReloadAttempt=0};
WikispacesSession.reloadSession=function(b,f,h){log("reloadSession",b,"attempt "+sessionReloadAttempt);if(this.sessionReloadAttempt>4)typeof h=="function"&&h.call(this);else this.reloadSessionIframe(b,f)};
WikispacesSession.reloadSessionIframe=function(b,f){var h='<iframe class="sessionReloadIframe" id="sessionReloadIfr'+this.sessionReloadAttempt+'" src="/space/sessionreload?_='+(new Date).getTime()+'" name="sessionReloadIfr'+this.sessionReloadAttempt+'" style="display: none; width:0; height:0; border:0; padding:0; margin:0; visibility: hidden;"></iframe>';jQuery("body").append(h);this.sessionReloadAttempt++;setTimeout(b,f)};
WikispacesSession.reloadSessionAt=function(b){typeof this.sessionReloadHandle=="number"&&clearTimeout(this.sessionReloadHandle);var f=Math.floor((new Date).getTime()/1E3);b=b-f;if(b<1)b=1;var h=this;this.sessionReloadHandle=setTimeout(function(){h.reloadSessionIframe(function(){h.reloadSessionSuccess()},1)},b*1E3)};var SWFUpload;if(SWFUpload==undefined)SWFUpload=function(b){this.initSWFUpload(b)};
SWFUpload.prototype.initSWFUpload=function(b){try{this.customSettings={};this.settings=b;this.eventQueue=[];this.movieName="SWFUpload_"+SWFUpload.movieCount++;this.movieElement=null;SWFUpload.instances[this.movieName]=this;this.initSettings();this.loadFlash();this.displayDebugInfo()}catch(f){delete SWFUpload.instances[this.movieName];throw f;}};SWFUpload.instances={};SWFUpload.movieCount=0;SWFUpload.version="2.2.0 2009-03-25";
SWFUpload.QUEUE_ERROR={QUEUE_LIMIT_EXCEEDED:-100,FILE_EXCEEDS_SIZE_LIMIT:-110,ZERO_BYTE_FILE:-120,INVALID_FILETYPE:-130};SWFUpload.UPLOAD_ERROR={HTTP_ERROR:-200,MISSING_UPLOAD_URL:-210,IO_ERROR:-220,SECURITY_ERROR:-230,UPLOAD_LIMIT_EXCEEDED:-240,UPLOAD_FAILED:-250,SPECIFIED_FILE_ID_NOT_FOUND:-260,FILE_VALIDATION_FAILED:-270,FILE_CANCELLED:-280,UPLOAD_STOPPED:-290};SWFUpload.FILE_STATUS={QUEUED:-1,IN_PROGRESS:-2,ERROR:-3,COMPLETE:-4,CANCELLED:-5};
SWFUpload.BUTTON_ACTION={SELECT_FILE:-100,SELECT_FILES:-110,START_UPLOAD:-120};SWFUpload.CURSOR={ARROW:-1,HAND:-2};SWFUpload.WINDOW_MODE={WINDOW:"window",TRANSPARENT:"transparent",OPAQUE:"opaque"};SWFUpload.completeURL=function(b){if(typeof b!=="string"||b.match(/^https?:\/\//i)||b.match(/^\//))return b;var f=window.location.pathname.lastIndexOf("/");path=f<=0?"/":window.location.pathname.substr(0,f)+"/";return path+b};a=SWFUpload.prototype;
a.initSettings=function(){this.ensureDefault=function(b,f){this.settings[b]=this.settings[b]==undefined?f:this.settings[b]};this.ensureDefault("upload_url","");this.ensureDefault("preserve_relative_urls",false);this.ensureDefault("file_post_name","Filedata");this.ensureDefault("post_params",{});this.ensureDefault("use_query_string",false);this.ensureDefault("requeue_on_error",false);this.ensureDefault("http_success",[]);this.ensureDefault("assume_success_timeout",0);this.ensureDefault("file_types",
"*.*");this.ensureDefault("file_types_description","All Files");this.ensureDefault("file_size_limit",0);this.ensureDefault("file_upload_limit",0);this.ensureDefault("file_queue_limit",0);this.ensureDefault("flash_url","swfupload.swf");this.ensureDefault("prevent_swf_caching",true);this.ensureDefault("button_image_url","");this.ensureDefault("button_width",1);this.ensureDefault("button_height",1);this.ensureDefault("button_text","");this.ensureDefault("button_text_style","color: #000000; font-size: 16pt;");
this.ensureDefault("button_text_top_padding",0);this.ensureDefault("button_text_left_padding",0);this.ensureDefault("button_action",SWFUpload.BUTTON_ACTION.SELECT_FILES);this.ensureDefault("button_disabled",false);this.ensureDefault("button_placeholder_id","");this.ensureDefault("button_placeholder",null);this.ensureDefault("button_cursor",SWFUpload.CURSOR.ARROW);this.ensureDefault("button_window_mode",SWFUpload.WINDOW_MODE.WINDOW);this.ensureDefault("debug",false);this.settings.debug_enabled=this.settings.debug;
this.settings.return_upload_start_handler=this.returnUploadStart;this.ensureDefault("swfupload_loaded_handler",null);this.ensureDefault("file_dialog_start_handler",null);this.ensureDefault("file_queued_handler",null);this.ensureDefault("file_queue_error_handler",null);this.ensureDefault("file_dialog_complete_handler",null);this.ensureDefault("upload_start_handler",null);this.ensureDefault("upload_progress_handler",null);this.ensureDefault("upload_error_handler",null);this.ensureDefault("upload_success_handler",
null);this.ensureDefault("upload_complete_handler",null);this.ensureDefault("debug_handler",this.debugMessage);this.ensureDefault("custom_settings",{});this.customSettings=this.settings.custom_settings;if(this.settings.prevent_swf_caching)this.settings.flash_url=this.settings.flash_url+(this.settings.flash_url.indexOf("?")<0?"?":"&")+"preventswfcaching="+(new Date).getTime();if(!this.settings.preserve_relative_urls){this.settings.upload_url=SWFUpload.completeURL(this.settings.upload_url);this.settings.button_image_url=
SWFUpload.completeURL(this.settings.button_image_url)}delete this.ensureDefault};
a.loadFlash=function(){var b,f;if(document.getElementById(this.movieName)!==null)throw"ID "+this.movieName+" is already in use. The Flash Object could not be added";b=document.getElementById(this.settings.button_placeholder_id)||this.settings.button_placeholder;if(b==undefined)throw"Could not find the placeholder element: "+this.settings.button_placeholder_id;f=document.createElement("div");f.innerHTML=this.getFlashHTML();b.parentNode.replaceChild(f.firstChild,b);if(window[this.movieName]==undefined)window[this.movieName]=
this.getMovieElement()};
a.getFlashHTML=function(){return['<object id="',this.movieName,'" type="application/x-shockwave-flash" data="',this.settings.flash_url,'" width="',this.settings.button_width,'" height="',this.settings.button_height,'" class="swfupload"><param name="wmode" value="',this.settings.button_window_mode,'" /><param name="movie" value="',this.settings.flash_url,'" /><param name="quality" value="high" /><param name="menu" value="false" /><param name="allowScriptAccess" value="always" />','<param name="flashvars" value="'+
this.getFlashVars()+'" />',"</object>"].join("")};
a.getFlashVars=function(){var b=this.buildParamString(),f=this.settings.http_success.join(",");return["movieName=",encodeURIComponent(this.movieName),"&amp;uploadURL=",encodeURIComponent(this.settings.upload_url),"&amp;useQueryString=",encodeURIComponent(this.settings.use_query_string),"&amp;requeueOnError=",encodeURIComponent(this.settings.requeue_on_error),"&amp;httpSuccess=",encodeURIComponent(f),"&amp;assumeSuccessTimeout=",encodeURIComponent(this.settings.assume_success_timeout),"&amp;params=",
encodeURIComponent(b),"&amp;filePostName=",encodeURIComponent(this.settings.file_post_name),"&amp;fileTypes=",encodeURIComponent(this.settings.file_types),"&amp;fileTypesDescription=",encodeURIComponent(this.settings.file_types_description),"&amp;fileSizeLimit=",encodeURIComponent(this.settings.file_size_limit),"&amp;fileUploadLimit=",encodeURIComponent(this.settings.file_upload_limit),"&amp;fileQueueLimit=",encodeURIComponent(this.settings.file_queue_limit),"&amp;debugEnabled=",encodeURIComponent(this.settings.debug_enabled),
"&amp;buttonImageURL=",encodeURIComponent(this.settings.button_image_url),"&amp;buttonWidth=",encodeURIComponent(this.settings.button_width),"&amp;buttonHeight=",encodeURIComponent(this.settings.button_height),"&amp;buttonText=",encodeURIComponent(this.settings.button_text),"&amp;buttonTextTopPadding=",encodeURIComponent(this.settings.button_text_top_padding),"&amp;buttonTextLeftPadding=",encodeURIComponent(this.settings.button_text_left_padding),"&amp;buttonTextStyle=",encodeURIComponent(this.settings.button_text_style),
"&amp;buttonAction=",encodeURIComponent(this.settings.button_action),"&amp;buttonDisabled=",encodeURIComponent(this.settings.button_disabled),"&amp;buttonCursor=",encodeURIComponent(this.settings.button_cursor)].join("")};a.getMovieElement=function(){if(this.movieElement==undefined)this.movieElement=document.getElementById(this.movieName);if(this.movieElement===null)throw"Could not find Flash element";return this.movieElement};
a.buildParamString=function(){var b=this.settings.post_params,f=[];if(typeof b==="object")for(var h in b)b.hasOwnProperty(h)&&f.push(encodeURIComponent(h.toString())+"="+encodeURIComponent(b[h].toString()));return f.join("&amp;")};
a.destroy=function(){try{this.cancelUpload(null,false);var b=null;if((b=this.getMovieElement())&&typeof b.CallFunction==="unknown"){for(var f in b)try{if(typeof b[f]==="function")b[f]=null}catch(h){}try{b.parentNode.removeChild(b)}catch(q){}}window[this.movieName]=null;SWFUpload.instances[this.movieName]=null;delete SWFUpload.instances[this.movieName];this.movieName=this.eventQueue=this.customSettings=this.settings=this.movieElement=null;return true}catch(B){return false}};
a.displayDebugInfo=function(){this.debug(["---SWFUpload Instance Info---\nVersion: ",SWFUpload.version,"\nMovie Name: ",this.movieName,"\nSettings:\n\tupload_url:               ",this.settings.upload_url,"\n\tflash_url:                ",this.settings.flash_url,"\n\tuse_query_string:         ",this.settings.use_query_string.toString(),"\n\trequeue_on_error:         ",this.settings.requeue_on_error.toString(),"\n\thttp_success:             ",this.settings.http_success.join(", "),"\n\tassume_success_timeout:   ",
this.settings.assume_success_timeout,"\n\tfile_post_name:           ",this.settings.file_post_name,"\n\tpost_params:              ",this.settings.post_params.toString(),"\n\tfile_types:               ",this.settings.file_types,"\n\tfile_types_description:   ",this.settings.file_types_description,"\n\tfile_size_limit:          ",this.settings.file_size_limit,"\n\tfile_upload_limit:        ",this.settings.file_upload_limit,"\n\tfile_queue_limit:         ",this.settings.file_queue_limit,"\n\tdebug:                    ",
this.settings.debug.toString(),"\n\tprevent_swf_caching:      ",this.settings.prevent_swf_caching.toString(),"\n\tbutton_placeholder_id:    ",this.settings.button_placeholder_id.toString(),"\n\tbutton_placeholder:       ",this.settings.button_placeholder?"Set":"Not Set","\n\tbutton_image_url:         ",this.settings.button_image_url.toString(),"\n\tbutton_width:             ",this.settings.button_width.toString(),"\n\tbutton_height:            ",this.settings.button_height.toString(),"\n\tbutton_text:              ",
this.settings.button_text.toString(),"\n\tbutton_text_style:        ",this.settings.button_text_style.toString(),"\n\tbutton_text_top_padding:  ",this.settings.button_text_top_padding.toString(),"\n\tbutton_text_left_padding: ",this.settings.button_text_left_padding.toString(),"\n\tbutton_action:            ",this.settings.button_action.toString(),"\n\tbutton_disabled:          ",this.settings.button_disabled.toString(),"\n\tcustom_settings:          ",this.settings.custom_settings.toString(),"\nEvent Handlers:\n\tswfupload_loaded_handler assigned:  ",
(typeof this.settings.swfupload_loaded_handler==="function").toString(),"\n\tfile_dialog_start_handler assigned: ",(typeof this.settings.file_dialog_start_handler==="function").toString(),"\n\tfile_queued_handler assigned:       ",(typeof this.settings.file_queued_handler==="function").toString(),"\n\tfile_queue_error_handler assigned:  ",(typeof this.settings.file_queue_error_handler==="function").toString(),"\n\tupload_start_handler assigned:      ",(typeof this.settings.upload_start_handler===
"function").toString(),"\n\tupload_progress_handler assigned:   ",(typeof this.settings.upload_progress_handler==="function").toString(),"\n\tupload_error_handler assigned:      ",(typeof this.settings.upload_error_handler==="function").toString(),"\n\tupload_success_handler assigned:    ",(typeof this.settings.upload_success_handler==="function").toString(),"\n\tupload_complete_handler assigned:   ",(typeof this.settings.upload_complete_handler==="function").toString(),"\n\tdebug_handler assigned:             ",
(typeof this.settings.debug_handler==="function").toString(),"\n"].join(""))};a.addSetting=function(b,f,h){return f==undefined?(this.settings[b]=h):(this.settings[b]=f)};a.getSetting=function(b){if(this.settings[b]!=undefined)return this.settings[b];return""};
a.callFlash=function(b,f){f=f||[];var h=this.getMovieElement(),q,B;try{B=h.CallFunction('<invoke name="'+b+'" returntype="javascript">'+__flash__argumentsToXML(f,0)+"</invoke>");q=eval(B)}catch(o){throw"Call to "+b+" failed";}if(q!=undefined&&typeof q.post==="object")q=this.unescapeFilePostParams(q);return q};a.selectFile=function(){this.callFlash("SelectFile")};a.selectFiles=function(){this.callFlash("SelectFiles")};a.startUpload=function(b){this.callFlash("StartUpload",[b])};
a.cancelUpload=function(b,f){if(f!==false)f=true;this.callFlash("CancelUpload",[b,f])};a.stopUpload=function(){this.callFlash("StopUpload")};a.getStats=function(){return this.callFlash("GetStats")};a.setStats=function(b){this.callFlash("SetStats",[b])};a.getFile=function(b){return typeof b==="number"?this.callFlash("GetFileByIndex",[b]):this.callFlash("GetFile",[b])};a.addFileParam=function(b,f,h){return this.callFlash("AddFileParam",[b,f,h])};
a.removeFileParam=function(b,f){this.callFlash("RemoveFileParam",[b,f])};a.setUploadURL=function(b){this.settings.upload_url=b.toString();this.callFlash("SetUploadURL",[b])};a.setPostParams=function(b){this.settings.post_params=b;this.callFlash("SetPostParams",[b])};a.addPostParam=function(b,f){this.settings.post_params[b]=f;this.callFlash("SetPostParams",[this.settings.post_params])};a.removePostParam=function(b){delete this.settings.post_params[b];this.callFlash("SetPostParams",[this.settings.post_params])};
a.setFileTypes=function(b,f){this.settings.file_types=b;this.settings.file_types_description=f;this.callFlash("SetFileTypes",[b,f])};a.setFileSizeLimit=function(b){this.settings.file_size_limit=b;this.callFlash("SetFileSizeLimit",[b])};a.setFileUploadLimit=function(b){this.settings.file_upload_limit=b;this.callFlash("SetFileUploadLimit",[b])};a.setFileQueueLimit=function(b){this.settings.file_queue_limit=b;this.callFlash("SetFileQueueLimit",[b])};
a.setFilePostName=function(b){this.settings.file_post_name=b;this.callFlash("SetFilePostName",[b])};a.setUseQueryString=function(b){this.settings.use_query_string=b;this.callFlash("SetUseQueryString",[b])};a.setRequeueOnError=function(b){this.settings.requeue_on_error=b;this.callFlash("SetRequeueOnError",[b])};a.setHTTPSuccess=function(b){if(typeof b==="string")b=b.replace(" ","").split(",");this.settings.http_success=b;this.callFlash("SetHTTPSuccess",[b])};
a.setAssumeSuccessTimeout=function(b){this.settings.assume_success_timeout=b;this.callFlash("SetAssumeSuccessTimeout",[b])};a.setDebugEnabled=function(b){this.settings.debug_enabled=b;this.callFlash("SetDebugEnabled",[b])};a.setButtonImageURL=function(b){if(b==undefined)b="";this.settings.button_image_url=b;this.callFlash("SetButtonImageURL",[b])};
a.setButtonDimensions=function(b,f){this.settings.button_width=b;this.settings.button_height=f;var h=this.getMovieElement();if(h!=undefined){h.style.width=b+"px";h.style.height=f+"px"}this.callFlash("SetButtonDimensions",[b,f])};a.setButtonText=function(b){this.settings.button_text=b;this.callFlash("SetButtonText",[b])};a.setButtonTextPadding=function(b,f){this.settings.button_text_top_padding=f;this.settings.button_text_left_padding=b;this.callFlash("SetButtonTextPadding",[b,f])};
a.setButtonTextStyle=function(b){this.settings.button_text_style=b;this.callFlash("SetButtonTextStyle",[b])};a.setButtonDisabled=function(b){this.settings.button_disabled=b;this.callFlash("SetButtonDisabled",[b])};a.setButtonAction=function(b){this.settings.button_action=b;this.callFlash("SetButtonAction",[b])};a.setButtonCursor=function(b){this.settings.button_cursor=b;this.callFlash("SetButtonCursor",[b])};
a.queueEvent=function(b,f){if(f==undefined)f=[];else f instanceof Array||(f=[f]);var h=this;if(typeof this.settings[b]==="function"){this.eventQueue.push(function(){this.settings[b].apply(this,f)});setTimeout(function(){h.executeNextEvent()},0)}else if(this.settings[b]!==null)throw"Event handler "+b+" is unknown or is not a function";};a.executeNextEvent=function(){var b=this.eventQueue?this.eventQueue.shift():null;typeof b==="function"&&b.apply(this)};
a.unescapeFilePostParams=function(b){var f=/[$]([0-9a-f]{4})/i,h={},q;if(b!=undefined){for(var B in b.post)if(b.post.hasOwnProperty(B)){q=B;for(var o;(o=f.exec(q))!==null;)q=q.replace(o[0],String.fromCharCode(parseInt("0x"+o[1],16)));h[q]=b.post[B]}b.post=h}return b};a.testExternalInterface=function(){try{return this.callFlash("TestExternalInterface")}catch(b){return false}};a.flashReady=function(){var b=this.getMovieElement();if(b){this.cleanUp(b);this.queueEvent("swfupload_loaded_handler")}else this.debug("Flash called back ready but the flash movie can't be found.")};
a.cleanUp=function(b){try{if(this.movieElement&&typeof b.CallFunction==="unknown"){this.debug("Removing Flash functions hooks (this should only run in IE and should prevent memory leaks)");for(var f in b)try{if(typeof b[f]==="function")b[f]=null}catch(h){}}}catch(q){}window.__flash__removeCallback=function(B,o){try{if(B)B[o]=null}catch(m){}}};a.fileDialogStart=function(){this.queueEvent("file_dialog_start_handler")};
a.fileQueued=function(b){b=this.unescapeFilePostParams(b);this.queueEvent("file_queued_handler",b)};a.fileQueueError=function(b,f,h){b=this.unescapeFilePostParams(b);this.queueEvent("file_queue_error_handler",[b,f,h])};a.fileDialogComplete=function(b,f,h){this.queueEvent("file_dialog_complete_handler",[b,f,h])};a.uploadStart=function(b){b=this.unescapeFilePostParams(b);this.queueEvent("return_upload_start_handler",b)};
a.returnUploadStart=function(b){var f;if(typeof this.settings.upload_start_handler==="function"){b=this.unescapeFilePostParams(b);f=this.settings.upload_start_handler.call(this,b)}else if(this.settings.upload_start_handler!=undefined)throw"upload_start_handler must be a function";if(f===undefined)f=true;f=!!f;this.callFlash("ReturnUploadStart",[f])};a.uploadProgress=function(b,f,h){b=this.unescapeFilePostParams(b);this.queueEvent("upload_progress_handler",[b,f,h])};
a.uploadError=function(b,f,h){b=this.unescapeFilePostParams(b);this.queueEvent("upload_error_handler",[b,f,h])};a.uploadSuccess=function(b,f,h){b=this.unescapeFilePostParams(b);this.queueEvent("upload_success_handler",[b,f,h])};a.uploadComplete=function(b){b=this.unescapeFilePostParams(b);this.queueEvent("upload_complete_handler",b)};a.debug=function(b){this.queueEvent("debug_handler",b)};
a.debugMessage=function(b){if(this.settings.debug){var f=[];if(typeof b==="object"&&typeof b.name==="string"&&typeof b.message==="string"){for(var h in b)b.hasOwnProperty(h)&&f.push(h+": "+b[h]);b=f.join("\n")||"";f=b.split("\n");b="EXCEPTION: "+f.join("\nEXCEPTION: ");SWFUpload.Console.writeLine(b)}else SWFUpload.Console.writeLine(b)}};SWFUpload.Console={};
SWFUpload.Console.writeLine=function(b){var f,h;try{f=document.getElementById("SWFUpload_Console");if(!f){h=document.createElement("form");document.getElementsByTagName("body")[0].appendChild(h);f=document.createElement("textarea");f.id="SWFUpload_Console";f.style.fontFamily="monospace";f.setAttribute("wrap","off");f.wrap="off";f.style.overflow="auto";f.style.width="700px";f.style.height="350px";f.style.margin="5px";h.appendChild(f)}f.value+=b+"\n";f.scrollTop=f.scrollHeight-f.clientHeight}catch(q){alert("Exception: "+
q.name+" Message: "+q.message)}};
if(typeof SWFUpload==="function"){SWFUpload.prototype.initSettings=function(b){return function(){typeof b==="function"&&b.call(this);this.refreshCookies(false)}}(SWFUpload.prototype.initSettings);SWFUpload.prototype.refreshCookies=function(b){if(b===undefined)b=true;b=!!b;var f=this.settings.post_params,h,q=document.cookie.split(";"),B=q.length,o,m,t;for(h=0;h<B;h++){for(o=q[h];o.charAt(0)===" ";)o=o.substring(1,o.length);m=o.indexOf("=");if(m>0){t=o.substring(0,m);o=o.substring(m+1);f[t]=o}}b&&this.setPostParams(f)}}
if(typeof SWFUpload==="function"){SWFUpload.queue={};SWFUpload.prototype.initSettings=function(b){return function(){typeof b==="function"&&b.call(this);this.queueSettings={};this.queueSettings.queue_cancelled_flag=false;this.queueSettings.queue_upload_count=0;this.queueSettings.user_upload_complete_handler=this.settings.upload_complete_handler;this.queueSettings.user_upload_start_handler=this.settings.upload_start_handler;this.settings.upload_complete_handler=SWFUpload.queue.uploadCompleteHandler;
this.settings.upload_start_handler=SWFUpload.queue.uploadStartHandler;this.settings.queue_complete_handler=this.settings.queue_complete_handler||null}}(SWFUpload.prototype.initSettings);SWFUpload.prototype.startUpload=function(b){this.queueSettings.queue_cancelled_flag=false;this.callFlash("StartUpload",[b])};SWFUpload.prototype.cancelQueue=function(){this.queueSettings.queue_cancelled_flag=true;this.stopUpload();for(var b=this.getStats();b.files_queued>0;){this.cancelUpload();b=this.getStats()}};
SWFUpload.queue.uploadStartHandler=function(b){var f;if(typeof this.queueSettings.user_upload_start_handler==="function")f=this.queueSettings.user_upload_start_handler.call(this,b);f=f===false?false:true;this.queueSettings.queue_cancelled_flag=!f;return f};SWFUpload.queue.uploadCompleteHandler=function(b){var f=this.queueSettings.user_upload_complete_handler;b.filestatus===SWFUpload.FILE_STATUS.COMPLETE&&this.queueSettings.queue_upload_count++;if(typeof f==="function"?f.call(this,b)===false?false:
true:b.filestatus===SWFUpload.FILE_STATUS.QUEUED?false:true)if(this.getStats().files_queued>0&&this.queueSettings.queue_cancelled_flag===false)this.startUpload();else{if(this.queueSettings.queue_cancelled_flag===false)this.queueEvent("queue_complete_handler",[this.queueSettings.queue_upload_count]);else this.queueSettings.queue_cancelled_flag=false;this.queueSettings.queue_upload_count=0}}}
if(typeof SWFUpload==="function"){SWFUpload.speed={};SWFUpload.prototype.initSettings=function(b){return function(){typeof b==="function"&&b.call(this);this.ensureDefault=function(f,h){this.settings[f]=this.settings[f]==undefined?h:this.settings[f]};this.fileSpeedStats={};this.speedSettings={};this.ensureDefault("moving_average_history_size","10");this.speedSettings.user_file_queued_handler=this.settings.file_queued_handler;this.speedSettings.user_file_queue_error_handler=this.settings.file_queue_error_handler;
this.speedSettings.user_upload_start_handler=this.settings.upload_start_handler;this.speedSettings.user_upload_error_handler=this.settings.upload_error_handler;this.speedSettings.user_upload_progress_handler=this.settings.upload_progress_handler;this.speedSettings.user_upload_success_handler=this.settings.upload_success_handler;this.speedSettings.user_upload_complete_handler=this.settings.upload_complete_handler;this.settings.file_queued_handler=SWFUpload.speed.fileQueuedHandler;this.settings.file_queue_error_handler=
SWFUpload.speed.fileQueueErrorHandler;this.settings.upload_start_handler=SWFUpload.speed.uploadStartHandler;this.settings.upload_error_handler=SWFUpload.speed.uploadErrorHandler;this.settings.upload_progress_handler=SWFUpload.speed.uploadProgressHandler;this.settings.upload_success_handler=SWFUpload.speed.uploadSuccessHandler;this.settings.upload_complete_handler=SWFUpload.speed.uploadCompleteHandler;delete this.ensureDefault}}(SWFUpload.prototype.initSettings);SWFUpload.speed.fileQueuedHandler=function(b){if(typeof this.speedSettings.user_file_queued_handler===
"function"){b=SWFUpload.speed.extendFile(b);return this.speedSettings.user_file_queued_handler.call(this,b)}};SWFUpload.speed.fileQueueErrorHandler=function(b,f,h){if(typeof this.speedSettings.user_file_queue_error_handler==="function"){b=SWFUpload.speed.extendFile(b);return this.speedSettings.user_file_queue_error_handler.call(this,b,f,h)}};SWFUpload.speed.uploadStartHandler=function(b){if(typeof this.speedSettings.user_upload_start_handler==="function"){b=SWFUpload.speed.extendFile(b,this.fileSpeedStats);
return this.speedSettings.user_upload_start_handler.call(this,b)}};SWFUpload.speed.uploadErrorHandler=function(b,f,h){b=SWFUpload.speed.extendFile(b,this.fileSpeedStats);SWFUpload.speed.removeTracking(b,this.fileSpeedStats);if(typeof this.speedSettings.user_upload_error_handler==="function")return this.speedSettings.user_upload_error_handler.call(this,b,f,h)};SWFUpload.speed.uploadProgressHandler=function(b,f,h){this.updateTracking(b,f);b=SWFUpload.speed.extendFile(b,this.fileSpeedStats);if(typeof this.speedSettings.user_upload_progress_handler===
"function")return this.speedSettings.user_upload_progress_handler.call(this,b,f,h)};SWFUpload.speed.uploadSuccessHandler=function(b,f){if(typeof this.speedSettings.user_upload_success_handler==="function"){b=SWFUpload.speed.extendFile(b,this.fileSpeedStats);return this.speedSettings.user_upload_success_handler.call(this,b,f)}};SWFUpload.speed.uploadCompleteHandler=function(b){b=SWFUpload.speed.extendFile(b,this.fileSpeedStats);SWFUpload.speed.removeTracking(b,this.fileSpeedStats);if(typeof this.speedSettings.user_upload_complete_handler===
"function")return this.speedSettings.user_upload_complete_handler.call(this,b)};SWFUpload.speed.extendFile=function(b,f){var h;if(f)h=f[b.id];if(h){b.currentSpeed=h.currentSpeed;b.averageSpeed=h.averageSpeed;b.movingAverageSpeed=h.movingAverageSpeed;b.timeRemaining=h.timeRemaining;b.timeElapsed=h.timeElapsed;b.percentUploaded=h.percentUploaded;b.sizeUploaded=h.bytesUploaded}else{b.currentSpeed=0;b.averageSpeed=0;b.movingAverageSpeed=0;b.timeRemaining=0;b.timeElapsed=0;b.percentUploaded=0;b.sizeUploaded=
0}return b};SWFUpload.prototype.updateTracking=function(b,f){var h=this.fileSpeedStats[b.id];h||(this.fileSpeedStats[b.id]=h={});f=f||h.bytesUploaded||0;if(f<0)f=0;if(f>b.size)f=b.size;var q=(new Date).getTime();if(h.startTime)if(h.startTime>q)this.debug("When backwards in time");else{q=(new Date).getTime();var B=q-h.lastTime,o=f-h.bytesUploaded;if(o===0||B===0)return h;h.lastTime=q;h.bytesUploaded=f;h.currentSpeed=o*8/(B/1E3);h.averageSpeed=h.bytesUploaded*8/((q-h.startTime)/1E3);h.movingAverageHistory.push(h.currentSpeed);
h.movingAverageHistory.length>this.settings.moving_average_history_size&&h.movingAverageHistory.shift();h.movingAverageSpeed=SWFUpload.speed.calculateMovingAverage(h.movingAverageHistory);h.timeRemaining=(b.size-h.bytesUploaded)*8/h.movingAverageSpeed;h.timeElapsed=(q-h.startTime)/1E3;h.percentUploaded=h.bytesUploaded/b.size*100}else{h.startTime=(new Date).getTime();h.lastTime=h.startTime;h.currentSpeed=0;h.averageSpeed=0;h.movingAverageSpeed=0;h.movingAverageHistory=[];h.timeRemaining=0;h.timeElapsed=
0;h.percentUploaded=f/b.size;h.bytesUploaded=f}return h};SWFUpload.speed.removeTracking=function(b,f){try{f[b.id]=null;delete f[b.id]}catch(h){}};SWFUpload.speed.formatUnits=function(b,f,h,q){var B,o;if(b===0)return"0 "+h[h.length-1];if(q){B=b;o=h.length>=f.length?h[f.length-1]:"";for(q=0;q<f.length;q++)if(b>=f[q]){B=(b/f[q]).toFixed(2);o=h.length>=q?" "+h[q]:"";break}return B+o}else{var m=[],t=b;for(q=0;q<f.length;q++){b=f[q];o=h.length>q?" "+h[q]:"";B=t/b;B=q<f.length-1?Math.floor(B):B.toFixed(2);
if(B>0){t%=b;m.push(B+o)}}return m.join(" ")}};SWFUpload.speed.formatBPS=function(b){return SWFUpload.speed.formatUnits(b,[1073741824,1048576,1024,1],["Gbps","Mbps","Kbps","bps"],true)};SWFUpload.speed.formatTime=function(b){return SWFUpload.speed.formatUnits(b,[86400,3600,60,1],["d","h","m","s"],false)};SWFUpload.speed.formatBytes=function(b){return SWFUpload.speed.formatUnits(b,[1073741824,1048576,1024,1],["GB","MB","KB","bytes"],true)};SWFUpload.speed.formatPercent=function(b){return b.toFixed(2)+
" %"};SWFUpload.speed.calculateMovingAverage=function(b){var f=[],h,q=0,B=0,o=0,m=0;m=0;var t,r=0,u=0;h=b.length;if(h>=8){for(t=0;t<h;t++){f[t]=b[t];q+=f[t]}B=q/h;for(t=0;t<h;t++)o+=Math.pow(f[t]-B,2);m=o/h;m=Math.sqrt(m);for(t=0;t<h;t++)f[t]=(f[t]-B)/m;for(t=0;t<h;t++)if(f[t]<=2&&f[t]>=-2){u++;r+=b[t]}}else{u=h;for(t=0;t<h;t++)r+=b[t]}return r/u}}
var swfobject=function(){function b(){if(!U){try{var A=$.getElementsByTagName("body")[0].appendChild(e("span"));A.parentNode.removeChild(A)}catch(L){return}U=true;A=la.length;for(var V=0;V<A;V++)la[V]()}}function f(A){if(U)A();else la[la.length]=A}function h(A){if(typeof ga.addEventListener!=H)ga.addEventListener("load",A,false);else if(typeof $.addEventListener!=H)$.addEventListener("load",A,false);else if(typeof ga.attachEvent!=H)s(ga,"onload",A);else if(typeof ga.onload=="function"){var L=ga.onload;
ga.onload=function(){L();A()}}else ga.onload=A}function q(){da?B():o()}function B(){var A=$.getElementsByTagName("body")[0],L=e(W);L.setAttribute("type",N);var V=A.appendChild(L);if(V){var ea=0;(function(){if(typeof V.GetVariable!=H){var fa=V.GetVariable("$version");if(fa){fa=fa.split(" ")[1].split(",");ba.pv=[parseInt(fa[0],10),parseInt(fa[1],10),parseInt(fa[2],10)]}}else if(ea<10){ea++;setTimeout(arguments.callee,10);return}A.removeChild(L);V=null;o()})()}else o()}function o(){var A=va.length;if(A>
0)for(var L=0;L<A;L++){var V=va[L].id,ea=va[L].callbackFn,fa={success:false,id:V};if(ba.pv[0]>0){var qa=R(V);if(qa)if(I(va[L].swfVersion)&&!(ba.wk&&ba.wk<312)){k(V,true);if(ea){fa.success=true;fa.ref=m(V);ea(fa)}}else if(va[L].expressInstall&&t()){fa={};fa.data=va[L].expressInstall;fa.width=qa.getAttribute("width")||"0";fa.height=qa.getAttribute("height")||"0";if(qa.getAttribute("class"))fa.styleclass=qa.getAttribute("class");if(qa.getAttribute("align"))fa.align=qa.getAttribute("align");var ra={};
qa=qa.getElementsByTagName("param");for(var ya=qa.length,Ba=0;Ba<ya;Ba++)if(qa[Ba].getAttribute("name").toLowerCase()!="movie")ra[qa[Ba].getAttribute("name")]=qa[Ba].getAttribute("value");r(fa,ra,V,ea)}else{u(qa);ea&&ea(fa)}}else{k(V,true);if(ea){if((V=m(V))&&typeof V.SetVariable!=H){fa.success=true;fa.ref=V}ea(fa)}}}}function m(A){var L=null;if((A=R(A))&&A.nodeName=="OBJECT")if(typeof A.SetVariable!=H)L=A;else if(A=A.getElementsByTagName(W)[0])L=A;return L}function t(){return!ia&&I("6.0.65")&&(ba.win||
ba.mac)&&!(ba.wk&&ba.wk<312)}function r(A,L,V,ea){ia=true;z=ea||null;K={success:false,id:V};var fa=R(V);if(fa){if(fa.nodeName=="OBJECT"){za=G(fa);Y=null}else{za=fa;Y=V}A.id=ca;if(typeof A.width==H||!/%$/.test(A.width)&&parseInt(A.width,10)<310)A.width="310";if(typeof A.height==H||!/%$/.test(A.height)&&parseInt(A.height,10)<137)A.height="137";$.title=$.title.slice(0,47)+" - Flash Player Installation";ea=ba.ie&&ba.win?"ActiveX":"PlugIn";ea="MMredirectURL="+ga.location.toString().replace(/&/g,"%26")+
"&MMplayerType="+ea+"&MMdoctitle="+$.title;if(typeof L.flashvars!=H)L.flashvars+="&"+ea;else L.flashvars=ea;if(ba.ie&&ba.win&&fa.readyState!=4){ea=e("div");V+="SWFObjectNew";ea.setAttribute("id",V);fa.parentNode.insertBefore(ea,fa);fa.style.display="none";(function(){fa.readyState==4?fa.parentNode.removeChild(fa):setTimeout(arguments.callee,10)})()}J(A,L,V)}}function u(A){if(ba.ie&&ba.win&&A.readyState!=4){var L=e("div");A.parentNode.insertBefore(L,A);L.parentNode.replaceChild(G(A),L);A.style.display=
"none";(function(){A.readyState==4?A.parentNode.removeChild(A):setTimeout(arguments.callee,10)})()}else A.parentNode.replaceChild(G(A),A)}function G(A){var L=e("div");if(ba.win&&ba.ie)L.innerHTML=A.innerHTML;else if(A=A.getElementsByTagName(W)[0])if(A=A.childNodes)for(var V=A.length,ea=0;ea<V;ea++)!(A[ea].nodeType==1&&A[ea].nodeName=="PARAM")&&A[ea].nodeType!=8&&L.appendChild(A[ea].cloneNode(true));return L}function J(A,L,V){var ea,fa=R(V);if(ba.wk&&ba.wk<312)return ea;if(fa){if(typeof A.id==H)A.id=
V;if(ba.ie&&ba.win){var qa="";for(var ra in A)if(A[ra]!=Object.prototype[ra])if(ra.toLowerCase()=="data")L.movie=A[ra];else if(ra.toLowerCase()=="styleclass")qa+=' class="'+A[ra]+'"';else if(ra.toLowerCase()!="classid")qa+=" "+ra+'="'+A[ra]+'"';ra="";for(var ya in L)if(L[ya]!=Object.prototype[ya])ra+='<param name="'+ya+'" value="'+L[ya]+'" />';fa.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+qa+">"+ra+"</object>";pa[pa.length]=A.id;ea=R(A.id)}else{ya=e(W);ya.setAttribute("type",
N);for(qa in A)if(A[qa]!=Object.prototype[qa])if(qa.toLowerCase()=="styleclass")ya.setAttribute("class",A[qa]);else qa.toLowerCase()!="classid"&&ya.setAttribute(qa,A[qa]);for(var Ba in L)L[Ba]!=Object.prototype[Ba]&&Ba.toLowerCase()!="movie"&&D(ya,Ba,L[Ba]);fa.parentNode.replaceChild(ya,fa);ea=ya}}return ea}function D(A,L,V){var ea=e("param");ea.setAttribute("name",L);ea.setAttribute("value",V);A.appendChild(ea)}function aa(A){var L=R(A);if(L&&L.nodeName=="OBJECT")if(ba.ie&&ba.win){L.style.display=
"none";(function(){L.readyState==4?Q(A):setTimeout(arguments.callee,10)})()}else L.parentNode.removeChild(L)}function Q(A){if(A=R(A)){for(var L in A)if(typeof A[L]=="function")A[L]=null;A.parentNode.removeChild(A)}}function R(A){var L=null;try{L=$.getElementById(A)}catch(V){}return L}function e(A){return $.createElement(A)}function s(A,L,V){A.attachEvent(L,V);ma[ma.length]=[A,L,V]}function I(A){var L=ba.pv;A=A.split(".");A[0]=parseInt(A[0],10);A[1]=parseInt(A[1],10)||0;A[2]=parseInt(A[2],10)||0;return L[0]>
A[0]||L[0]==A[0]&&L[1]>A[1]||L[0]==A[0]&&L[1]==A[1]&&L[2]>=A[2]?true:false}function w(A,L,V,ea){if(!(ba.ie&&ba.mac)){var fa=$.getElementsByTagName("head")[0];if(fa){V=V&&typeof V=="string"?V:"screen";if(ea)wa=sa=null;if(!sa||wa!=V){ea=e("style");ea.setAttribute("type","text/css");ea.setAttribute("media",V);sa=fa.appendChild(ea);if(ba.ie&&ba.win&&typeof $.styleSheets!=H&&$.styleSheets.length>0)sa=$.styleSheets[$.styleSheets.length-1];wa=V}if(ba.ie&&ba.win)sa&&typeof sa.addRule==W&&sa.addRule(A,L);
else sa&&typeof $.createTextNode!=H&&sa.appendChild($.createTextNode(A+" {"+L+"}"))}}}function k(A,L){if(na){L=L?"visible":"hidden";if(U&&R(A))R(A).style.visibility=L;else w("#"+A,"visibility:"+L)}}function C(A){return/[\\\"<>\.;]/.exec(A)!=null&&typeof encodeURIComponent!=H?encodeURIComponent(A):A}var H="undefined",W="object",N="application/x-shockwave-flash",ca="SWFObjectExprInst",ga=window,$=document,X=navigator,da=false,la=[q],va=[],pa=[],ma=[],za,Y,z,K,U=false,ia=false,sa,wa,na=true,ba=function(){var A=
typeof $.getElementById!=H&&typeof $.getElementsByTagName!=H&&typeof $.createElement!=H,L=X.userAgent.toLowerCase(),V=X.platform.toLowerCase(),ea=V?/win/.test(V):/win/.test(L);V=V?/mac/.test(V):/mac/.test(L);L=/webkit/.test(L)?parseFloat(L.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false;var fa=!+"\u000b1",qa=[0,0,0],ra=null;if(typeof X.plugins!=H&&typeof X.plugins["Shockwave Flash"]==W){if((ra=X.plugins["Shockwave Flash"].description)&&!(typeof X.mimeTypes!=H&&X.mimeTypes[N]&&!X.mimeTypes[N].enabledPlugin)){da=
true;fa=false;ra=ra.replace(/^.*\s+(\S+\s+\S+$)/,"$1");qa[0]=parseInt(ra.replace(/^(.*)\..*$/,"$1"),10);qa[1]=parseInt(ra.replace(/^.*\.(.*)\s.*$/,"$1"),10);qa[2]=/[a-zA-Z]/.test(ra)?parseInt(ra.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else if(typeof ga.ActiveXObject!=H)try{var ya=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if(ya)if(ra=ya.GetVariable("$version")){fa=true;ra=ra.split(" ")[1].split(",");qa=[parseInt(ra[0],10),parseInt(ra[1],10),parseInt(ra[2],10)]}}catch(Ba){}return{w3:A,pv:qa,
wk:L,ie:fa,win:ea,mac:V}}();(function(){if(ba.w3){if(typeof $.readyState!=H&&$.readyState=="complete"||typeof $.readyState==H&&($.getElementsByTagName("body")[0]||$.body))b();if(!U){typeof $.addEventListener!=H&&$.addEventListener("DOMContentLoaded",b,false);if(ba.ie&&ba.win){$.attachEvent("onreadystatechange",function(){if($.readyState=="complete"){$.detachEvent("onreadystatechange",arguments.callee);b()}});ga==top&&function(){if(!U){try{$.documentElement.doScroll("left")}catch(A){setTimeout(arguments.callee,
0);return}b()}}()}ba.wk&&function(){U||(/loaded|complete/.test($.readyState)?b():setTimeout(arguments.callee,0))}();h(b)}}})();(function(){ba.ie&&ba.win&&window.attachEvent("onunload",function(){for(var A=ma.length,L=0;L<A;L++)ma[L][0].detachEvent(ma[L][1],ma[L][2]);A=pa.length;for(L=0;L<A;L++)aa(pa[L]);for(var V in ba)ba[V]=null;ba=null;for(var ea in swfobject)swfobject[ea]=null;swfobject=null})})();return{registerObject:function(A,L,V,ea){if(ba.w3&&A&&L){var fa={};fa.id=A;fa.swfVersion=L;fa.expressInstall=
V;fa.callbackFn=ea;va[va.length]=fa;k(A,false)}else ea&&ea({success:false,id:A})},getObjectById:function(A){if(ba.w3)return m(A)},embedSWF:function(A,L,V,ea,fa,qa,ra,ya,Ba,Ha){var Ia={success:false,id:L};if(ba.w3&&!(ba.wk&&ba.wk<312)&&A&&L&&V&&ea&&fa){k(L,false);f(function(){V+="";ea+="";var Fa={};if(Ba&&typeof Ba===W)for(var Ga in Ba)Fa[Ga]=Ba[Ga];Fa.data=A;Fa.width=V;Fa.height=ea;Ga={};if(ya&&typeof ya===W)for(var Ma in ya)Ga[Ma]=ya[Ma];if(ra&&typeof ra===W)for(var Na in ra)if(typeof Ga.flashvars!=
H)Ga.flashvars+="&"+Na+"="+ra[Na];else Ga.flashvars=Na+"="+ra[Na];if(I(fa)){Ma=J(Fa,Ga,L);Fa.id==L&&k(L,true);Ia.success=true;Ia.ref=Ma}else if(qa&&t()){Fa.data=qa;r(Fa,Ga,L,Ha);return}else k(L,true);Ha&&Ha(Ia)})}else Ha&&Ha(Ia)},switchOffAutoHideShow:function(){na=false},ua:ba,getFlashPlayerVersion:function(){return{major:ba.pv[0],minor:ba.pv[1],release:ba.pv[2]}},hasFlashPlayerVersion:I,createSWF:function(A,L,V){if(ba.w3)return J(A,L,V)},showExpressInstall:function(A,L,V,ea){ba.w3&&t()&&r(A,L,V,
ea)},removeSWF:function(A){ba.w3&&aa(A)},createCSS:function(A,L,V,ea){ba.w3&&w(A,L,V,ea)},addDomLoadEvent:f,addLoadEvent:h,getQueryParamValue:function(A){var L=$.location.search||$.location.hash;if(L){if(/\?/.test(L))L=L.split("?")[1];if(A==null)return C(L);L=L.split("&");for(var V=0;V<L.length;V++)if(L[V].substring(0,L[V].indexOf("="))==A)return C(L[V].substring(L[V].indexOf("=")+1))}return""},expressInstallCallback:function(){if(ia){var A=R(ca);if(A&&za){A.parentNode.replaceChild(za,A);if(Y){k(Y,
true);if(ba.ie&&ba.win)za.style.display="block"}z&&z(K)}ia=false}}}}();
if(typeof SWFUpload==="function"){SWFUpload.onload=function(){};swfobject.addDomLoadEvent(function(){typeof SWFUpload.onload==="function"&&SWFUpload.onload.call(window)});SWFUpload.prototype.initSettings=function(b){return function(){typeof b==="function"&&b.call(this);this.ensureDefault=function(f,h){this.settings[f]=this.settings[f]==undefined?h:this.settings[f]};this.ensureDefault("minimum_flash_version","9.0.28");this.ensureDefault("swfupload_pre_load_handler",null);this.ensureDefault("swfupload_load_failed_handler",
null);delete this.ensureDefault}}(SWFUpload.prototype.initSettings);SWFUpload.prototype.loadFlash=function(b){return function(){if(swfobject.hasFlashPlayerVersion(this.settings.minimum_flash_version)){this.queueEvent("swfupload_pre_load_handler");typeof b==="function"&&b.call(this)}else this.queueEvent("swfupload_load_failed_handler")}}(SWFUpload.prototype.loadFlash);SWFUpload.prototype.displayDebugInfo=function(b){return function(){typeof b==="function"&&b.call(this);this.debug(["SWFUpload.SWFObject Plugin settings:\n\tminimum_flash_version:                      ",
this.settings.minimum_flash_version,"\n\tswfupload_pre_load_handler assigned:     ",(typeof this.settings.swfupload_pre_load_handler==="function").toString(),"\n\tswfupload_load_failed_handler assigned:     ",(typeof this.settings.swfupload_load_failed_handler==="function").toString(),"\n"].join(""))}}(SWFUpload.prototype.displayDebugInfo)}function WikispacesTags(){}
WikispacesTags.updateTags=function(b){var f=Array();jQuery(b).find("select option.selected").each(function(){f[f.length]=jQuery(this).val()});jQuery.post("/tag/update?object="+encodeURIComponent(b.type.value)+"&page="+encodeURIComponent(b.name.value),{go:true,"tags[]":f},function(){jQuery(b).find(".WikiTagList ul").empty();for(var h=0;h<f.length;h++){var q=jQuery("<a/>").attr("rel","tag").attr("href","/tag/view/"+encodeURIComponent(f[h])).text(f[h]);q=jQuery("<li/>").addClass("WikiTag").append(q);
jQuery(b).find(".WikiTagList ul").append(q);jQuery(b).find(".WikiTagList ul").append(" ")}jQuery(b).trigger("tagUpdate")})};WikispacesTags.showInput=function(b){b=jQuery(b).parents(".WikiTagForm");b.find(".WikiTagList").hide();b.find("select.WikiTagInput").get(0).reset&&b.find("select.WikiTagInput").get(0).reset();b.find(".WikiTagsEdit, .WikiTagsInput").show().find("input.maininput").focus()};WikispacesTags.hideInput=function(b){b=jQuery(b).parents(".WikiTagForm");b.find(".WikiTagList").show();b.find(".WikiTagsEdit, .WikiTagsInput").hide()};
WikispacesTags.save=function(b){var f=jQuery(b).find("select.WikiTagInput").get(0);f.addFinalItem();WikispacesTags.updateTags(b);f.updateSelected();jQuery(".WikiTagList").show().parents("td:first").css("width","auto");jQuery(".WikiTagsEdit, .WikiTagsInput").hide();WikispacesTags.openCounter--};WikispacesTags.initElements=function(b){jQuery(b).fcbkcomplete({json_url:"/space/autocomplete2/tag",json_cache:false,filter_case:false,filter_selected:true,comma_is_enter:true,newel:true,complete_text:"Type a tag name. Press comma or enter to add another."})};
WikispacesTags.promptForOpenInputs=function(b){var f=WikispacesTags.checkForOpenInputs();if(f)if(confirm("Are you sure you want to navigate away from this page?\n\n"+f+"\n\nPress OK to continue, or Cancel to stay on the current page."))WikispacesTags.openCounter=0;else{b.stopImmediatePropagation();b.preventDefault();return false}return true};WikispacesTags.checkForOpenInputs=function(){if(WikispacesTags.openCounter>0)return"You have not yet saved your tag changes."};WikispacesTags.openCounter=0;
jQuery(document).ready(function(){jQuery(".WikiTagsEditLink").live("click",function(b){window.onbeforeunload=WikispacesTags.checkForOpenInputs;WikispacesTags.showInput(this);var f=jQuery(this).parents(".WikiTagForm");if(!f.find(".facebook-auto").length){WikispacesTags.initElements(f.find("select.WikiTagInput"));f.submit(function(h){WikispacesTags.save(this);jQuery(".WikiTagsEditLink").show();h.preventDefault();return false});WikispacesTags.showInput(this)}jQuery(".WikiTagsEditLink").hide();WikispacesTags.openCounter++;
b.preventDefault();return false});jQuery(".WikiTagFormCancel").live("click",function(b){WikispacesTags.hideInput(this);WikispacesTags.openCounter--;jQuery(".WikiTagsEditLink").show();b.preventDefault();return false})});function WikispacesCommon(){}WikispacesCommon.highlightColor="#FFC";WikispacesCommon.jumpToAnchor=function(b){window.location=window.location.toString().replace(/\#.*$/,"")+b};WikispacesCommon.truncate=function(b,f,h){return WikispacesCommon.truncify(b,f,0,h)};
WikispacesCommon.truncify=function(b,f,h,q){if(!b)return"";if(null==h)h=10;if(null==q)q="...";if(b.length<=f)return b;return b.substr(0,f-h-q.length)+q+b.substr(b.length-h)};WikispacesCommon.addUriParams=function(b,f){if(!f||!f.length)return b;b+=b.indexOf("?")==-1?"?":"&";for(var h=[],q=0;q<f.length;++q)h.push(encodeURIComponent(f[q][0])+"="+encodeURIComponent(f[q][1]));return b+h.join("&")};WikispacesCommon.track=function(b,f,h){try{pageTracker._trackEvent(b,f,h)}catch(q){}};
WikispacesCommon.escapeRegExp=function(b){return b.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")};
var Cookie={set:function(b,f,h,q){var B="";if(h!=undefined){B=new Date;B.setTime(B.getTime()+864E5*parseFloat(h));B="; expires="+B.toGMTString()}if(q==undefined)q={};return document.cookie=escape(b)+"="+escape(f||"")+(q.path?";path="+q.path:"")+(q.domain?";domain="+q.domain:"")+(q.secure?";secure":"")+B},get:function(b){return(b=document.cookie.match(new RegExp("(^|;)\\s*"+escape(b)+"=([^;\\s]*)")))?unescape(b[2]):null},erase:function(b){var f=Cookie.get(b)||true;Cookie.set(b,"",-1);return f},accept:function(){if(typeof navigator.cookieEnabled==
"boolean")return navigator.cookieEnabled;Cookie.set("_test","1");return Cookie.erase("_test")="1"}},jsDebugMode=false;if(document.cookie&&document.cookie.indexOf("debug_js=")!=-1)jsDebugMode=true;function log(){if(jsDebugMode&&window.console)if(jQuery.browser.mozilla)window.console.log.apply(this,arguments);else for(var b=0;b<arguments.length;b++)window.console.log(arguments[b])}
function highlightIncludeSection(b,f,h){jQuery(b).toggleClass("includeEditButton",!h).toggleClass("includeEditButtonActive",h);jQuery(".includeBody-"+f.replace(/%/g,"\\%")).toggleClass("includeBody",!h).toggleClass("includeBodyActive",h)}function embed_generic(b,f,h,q){document.writeln('<embed src="'+h+'" type="'+q+'" quality="high" width="'+b+'" height="'+f+'"></embed>')}
function enableDelayedImages(b){jQuery("#"+b+" img").each(function(){var f=jQuery(this);if(f){f.attr("src",f.attr("longdesc"));f.removeAttr("longdesc")}})}var sessionReloadAttempt=0,sessionReloadHandle=null;function reloadSessionSuccess(){jQuery("iframe.sessionReloadIframe").remove();sessionReloadAttempt=0}function reloadSession(b,f,h){log("reloadSession",b,"attempt "+sessionReloadAttempt);if(sessionReloadAttempt>4)typeof h=="function"&&h.call(this);else reloadSessionIframe(b,f)}
function reloadSessionIframe(b,f){var h=(new Date).getTime();h='<iframe class="sessionReloadIframe" id="sessionReloadIfr'+sessionReloadAttempt+'" src="/space/sessionreload?_='+h+'" name="sessionReloadIfr'+sessionReloadAttempt+'" style="display: none; width:0; height:0; border:0; padding:0; margin:0; visibility: hidden;"></iframe>';jQuery("body").append(h);sessionReloadAttempt++;setTimeout(b,f)}
function reloadSessionAt(b){typeof sessionReloadHandle=="number"&&clearTimeout(sessionReloadHandle);var f=Math.floor((new Date).getTime()/1E3);b=b-f;if(b<1)b=1;sessionReloadHandle=setTimeout(function(){reloadSessionIframe(function(){reloadSessionSuccess()},1)},b*1E3)}WikispacesCommon.disableHideOverlappingEmbeds=false;
function hideOverlappingEmbeds(b){if(!WikispacesCommon.disableHideOverlappingEmbeds){b=jQuery(b);if(b.is(":visible")){var f=b.offset(),h=f.top,q=f.left,B=h+b.outerHeight(),o=q+b.outerWidth();jQuery("iframe:visible, object:visible, embed:visible, applet:visible").each(function(){var m=jQuery(this);if(m.is(":visible")){var t=m.offset(),r=t.top,u=t.left,G=u+m.outerWidth(),J=r+m.outerHeight();m.find("iframe:visible, object:visible, embed:visible, applet:visible").each(function(){var D=jQuery(this),aa=
D.offset(),Q=aa.top;aa=aa.left;var R=aa+D.outerWidth();D=Q+D.outerHeight();if(Q<r)r=Q;if(aa<u)u=aa;if(D>J)J=D;if(R>G)G=R});if(h<J&&B>r&&q<G&&o>u){t=m.css("display");if(t!="block")t="inline-block";t={display:t,position:m.css("position"),"float":m.css("float"),top:m.css("top"),right:m.css("right"),bottom:m.css("bottom"),left:m.css("left"),width:G-u-18,height:J-r-18,overflow:"hidden"};jQuery("<div></div>").css(t).addClass("WikiEmbedSubForPopup").insertBefore(m);m.addClass("WikiHideForPopup")}}})}else{jQuery(".WikiEmbedSubForPopup").remove();
jQuery(".WikiHideForPopup").removeClass("WikiHideForPopup")}}}var preventMenuClose=false;function showMenu(b){jQuery(".WikiMenu").not(jQuery(b).next()).removeClass("WikiMenuEnabled").addClass("WikiMenuDisabled");jQuery(b).removeClass("WikiMenuDisabled").addClass("WikiMenuEnabled");hideOverlappingEmbeds(jQuery(b).find("ul"));return false}function hideMenu(b){if(!preventMenuClose){jQuery(b).addClass("WikiMenuDisabled").removeClass("WikiMenuEnabled");hideOverlappingEmbeds(jQuery(b).find("ul"))}}
function loadMenuHandlers(){jQuery(".WikiMenuControl").live("mouseover",function(b){var f=jQuery(this),h=f.nextAll(".WikiMenu:first");if(h.length==0)h=f.parent().nextAll(".WikiMenu:first");if(!f.data("init")){f.data("init",true);h.hover(function(){return preventMenuClose=true},function(){preventMenuClose=false;setTimeout(function(){hideMenu(h[0])},500);return true});f.hoverIntent({sensitivity:3,interval:200,over:function(){showMenu(h[0])},timeout:500,out:function(){hideMenu(h[0])}});f.click(function(){showMenu(h[0])});
h.find(".WikiMenuEntry").click(function(q){if(jQuery(q.target).children("a").length==1){q=jQuery(q.target).children("a:first");if(q.attr("href")&&q.attr("href")!="#")window.location=q.attr("href");else jQuery(q).trigger("click")}preventMenuClose=false;hideMenu(h[0])});f.trigger(b)}})}
WikispacesCommon.setInputDefaults=function(b,f,h){!b.val()&&f&&b.addClass(f);h||b.val(b.attr("title"));b.focus(function(){if(b.val()==b.attr("title")||h&&""==b.val()){b.val("");f&&b.removeClass(f)}});b.blur(function(){if(b.val()==""){f&&b.addClass(f);h||b.val(b.attr("title"))}})};
function jumpToSpace(){var b=jQuery.trim(jQuery("#jumpToSpaceName").nextAll(".autocompleteData:first").val());if(b)document.location.href="http://"+b+"."+wikispaces_domain;else alert("Please enter a wiki name");return false}function trackFileLink(b){try{pageTracker._trackPageview(b);typeof pageTrackerInstance=="object"&&pageTrackerInstance._trackPageview(b);typeof pageTrackerSpace=="object"&&pageTrackerSpace._trackPageview(b)}catch(f){}}var spaceNavLoading=false,spaceNavLoaded=false;
function showSpaceNavigation(){if(spaceNavLoading)spaceNavLoaded&&showSpaceNavigationReal();else{spaceNavLoading=true;jQuery.get("/site/spacenav",{},function(b){jQuery("body").append(b);jQuery("#SpaceNavigationTool").hover(function(){preventSpaceNavigationClose=true},function(){preventSpaceNavigationClose=false;setTimeout(hideSpaceNavigation,500)});jQuery("#SpaceNavigationTool").click(function(h){h.stopPropagation()});jQuery("#SpaceNavigationTool td.spaceCell").hover(function(){jQuery(this).addClass("SpaceNavigationHighlight")},
function(){jQuery(this).removeClass("SpaceNavigationHighlight")});jQuery("#SpaceNavigationTool td.spaceCell").click(function(){window.location=jQuery(this).find("a:first").attr("href")});WikispacesAutocomplete.initAutocomplete(jQuery("#jumpToSpaceName").get(0));var f=jQuery("#jumpToSpaceName").get(0).autocompleter.options.onItemSelect;jQuery("#jumpToSpaceName").get(0).autocompleter.options.onItemSelect=function(h,q){f.call(this,h,q);jumpToSpace(WikispacesAutocomplete.getValue(h))};spaceNavLoaded=
true;showSpaceNavigationReal()},"html")}}function showSpaceNavigationReal(){enableDelayedImages("SpaceNavigationTool");jQuery("#SpaceNavigationTool").show();var b=jQuery("body").width()-jQuery("#SpaceNavigationTool").width(),f=jQuery("#SpaceNavigationButton").offset().left;if(f>b)f=b;jQuery("#SpaceNavigationTool").css("left",f)}var preventSpaceNavigationClose=false;function hideSpaceNavigation(){preventSpaceNavigationClose||jQuery("#SpaceNavigationTool").hide()}
function toggleDetails(b){var f=jQuery("#WikiPageInfo");if(f.is(":hidden")){Cookie.set("pageInfo",1,365);f.show();WikispacesCommon.track("PageMenu","Show Details")}else{Cookie.erase("pageInfo");f.hide();WikispacesCommon.track("PageMenu","Hide Details")}b&&b.preventDefault();return false}
jQuery(document).ready(function(){jQuery("#detailsMenuEntry").click(toggleDetails);jQuery("a.userLink:not(.userLinkNoMenu)").live("click",function(b){var f=jQuery(this);jQuery(".userMenu").remove();var h=document.createElement("div");h.className="userMenu";document.body.appendChild(h);var q=f.attr("href").substring(f.attr("href").lastIndexOf("/")+1);jQuery(h).load("/user/menu/"+q,{},function(){var B=jQuery(this);B.fadeIn("slow");B.css("position","absolute");B.css("left",f.offset().left-3);B.css("top",
f.offset().top-8)});b.stopPropagation();return false});loadMenuHandlers();jQuery("#SpaceNavigationButton").hoverIntent({sensitivity:3,interval:200,over:showSpaceNavigation,timeout:500,out:hideSpaceNavigation});jQuery("#SpaceNavigationButton").click(function(b){b.stopPropagation();showSpaceNavigation();return false});WikispacesAutocomplete.registerAutocompleters();jQuery("body").click(function(){hideSpaceNavigation();jQuery(".userMenu").remove()});jQuery.browser.msie&&parseInt(jQuery.browser.version)<
7&&jQuery("button").bind("click",function(){jQuery(this).closest("form").find("button").not(this).attr("disabled",true)})});function ucfirst(b){b+="";return b.charAt(0).toUpperCase()+b.substr(1)}jQuery.extend(jQuery.expr[":"],{inView:function(b){var f=document.documentElement.scrollTop||document.body.scrollTop,h=jQuery(b).offset().top,q=window.innerHeight&&window.innerHeight<jQuery(window).height()?window.innerHeight:jQuery(window).height();return h>f&&jQuery(b).height()+h<f+q}});
WikispacesCommon.swfUpload=function(b,f){this.requireRefresh=false;var h=this;this.showSWFUploadUI=function(){jQuery(".swfuploadUI").show();jQuery(".defaultUI").hide()};this.hideSWFUploadUI=function(){jQuery(".swfuploadUI").hide();jQuery(".defaultUI").show()};this.fileQueued=function(q){jQuery("#WikiUploadFileContainer").show();jQuery("#WikiUploadFileContainer").append('<div id="'+q.id+'" class="WikiUploadFile"><div class="progressContainer"><div class="progressBar" id="'+q.id+'progress"></div></div>'+
q.name+" - <a id='"+q.id+'deletebtn\'  href="#">cancel</a></div>');jQuery("#"+q.id+"deletebtn").click(function(){h.swfu.cancelUpload(q.id)});jQuery("#cancelQueueBtn").attr("disabled",false)};this.fileDialogComplete=function(){this.startUpload()};this.uploadProgress=function(q,B,o){jQuery("#"+q.id).addClass("fileUploading");jQuery("#"+q.id+"progress").css("width",Math.ceil(B/o*100)+"%")};this.fileQueueError=function(q,B,o){if(B==SWFUpload.QUEUE_ERROR.QUEUE_LIMIT_EXCEEDED)alert("You have attempted to queue too many files.\n"+
(o==0?"You have reached the upload limit.":"You may select "+(o>1?"up to "+o+" files.":"one file.")));else{if(jQuery("#"+q.id).length){alertMethod=function(m){jQuery("#"+q.id).text(m)};jQuery("#"+q.id).removeClass("fileUploading").addClass("uploadError")}else alertMethod=function(m){alert(m)};switch(B){case SWFUpload.QUEUE_ERROR.FILE_EXCEEDS_SIZE_LIMIT:alertMethod(q.name+" - this file is too large.  Please see the size limits listed on this page.");break;case SWFUpload.QUEUE_ERROR.ZERO_BYTE_FILE:alertMethod(q.name+
" - this file is 0 bytes, we're unable to upload it.");break;default:alertMethod(q.name+" - error during upload, please try again.  "+o);break}}};this.uploadError=function(q,B,o){if(jQuery("#"+q.id).length){alertMethod=function(m){jQuery("#"+q.id).text(m)};jQuery("#"+q.id).removeClass("fileUploading").addClass("uploadError")}else alertMethod=function(m){alert(m)};switch(B){case SWFUpload.UPLOAD_ERROR.HTTP_ERROR:alertMethod(q.name+" - error during upload, please try again. (HTTP Error)");break;case SWFUpload.UPLOAD_ERROR.UPLOAD_FAILED:alertMethod(q.name+
" - error during upload, please try again. (Failed Upload)");break;case SWFUpload.UPLOAD_ERROR.IO_ERROR:alertMethod(q.name+" - error during upload, please try again. (IO Error)");break;case SWFUpload.UPLOAD_ERROR.SECURITY_ERROR:alertMethod(q.name+" - error during upload, please try again. (Security Error)");break;case SWFUpload.UPLOAD_ERROR.UPLOAD_LIMIT_EXCEEDED:alertMethod(q.name+" - you've run out of space.  Please see the size limits listed on this page.");break;case SWFUpload.UPLOAD_ERROR.FILE_CANCELLED:case SWFUpload.UPLOAD_ERROR.UPLOAD_STOPPED:jQuery("#"+
q.id).text(q.name+" - cancelled").removeClass("fileUploading").addClass("uploadCancelled");break;default:alertMethod(q.name+" - error during upload, please try again.  "+o);break}};this.uploadFileComplete=function(q){jQuery("#"+q.id+".fileUploading").text(q.name+" - done!").removeClass("fileUploading").addClass("uploadCompleted");return true};this.cancelQueue=function(){h.swfu.cancelQueue();jQuery("#cancelQueueBtn").attr("disabled",true);jQuery("#uploadFileBtn").attr("disabled",true);document.location=
h.swfu.customSettings.confirmUploadUrl};this.uploadQueueComplete=function(){jQuery("#cancelQueueBtn").attr("disabled",true);jQuery("#uploadFileBtn").attr("disabled",true);document.location=h.swfu.customSettings.confirmUploadUrl};this.uploadStart=function(){this.refreshCookies(false)};this.swfu=new SWFUpload({upload_url:b,flash_url:"/s/swfupload-2.2.0.1.swf",file_size_limit:f,file_types:"*",file_types_description:"All files...",file_upload_limit:"50",file_queue_limit:"0",button_image_url:"/i/button-114-swfupload.png",
button_placeholder_id:"uploadFileBtn",button_width:"114",button_height:"24",button_text_style:".WikispacesButtonSwfUpload { display: block; font-family: Arial, sans-serif; font-size: 13px; text-align: center; text-decoration: none; }",button_text:'<span class="WikispacesButtonSwfUpload">&nbsp;&nbsp;&nbsp;Upload Files</span>',button_text_left_padding:0,button_text_top_padding:3,button_cursor:SWFUpload.CURSOR.POINTER,button_window_mode:SWFUpload.WINDOW_MODE.TRANSPARENT,custom_settings:{cancelButtonId:"cancelQueueBtn",
confirmUploadUrl:"/file/upload?multiModeConfirm=1"},minimum_flash_version:"9.0.28",swfupload_load_failed_handler:this.hideSWFUploadUI,swfupload_loaded_handler:this.showSWFUploadUI,file_queued_handler:this.fileQueued,file_dialog_complete_handler:this.fileDialogComplete,upload_progress_handler:this.uploadProgress,upload_complete_handler:this.uploadFileComplete,queue_complete_handler:this.uploadQueueComplete,file_queue_error_handler:this.fileQueueError,upload_error_handler:this.uploadError,upload_start_handler:this.uploadStart})};
