/* fac761e5c64800229b17f9840d886435 */
var a;
(function(){var b=this,d,g=b.jQuery,s=b.$,e=b.jQuery=b.$=function(c,f){return new e.fn.init(c,f)},q=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,l=/^.[^:#\[\.,]*$/;e.fn=e.prototype={init:function(c,f){c=c||document;if(c.nodeType){this[0]=c;this.length=1;this.context=c;return this}if(typeof c==="string"){var j=q.exec(c);if(j&&(j[1]||!f))if(j[1])c=e.clean([j[1]],f);else{if((f=document.getElementById(j[3]))&&f.id!=j[3])return e().find(c);j=e(f||[]);j.context=document;j.selector=c;return j}else return e(f).find(c)}else if(e.isFunction(c))return e(document).ready(c);if(c.selector&&
c.context){this.selector=c.selector;this.context=c.context}return this.setArray(e.isArray(c)?c:e.makeArray(c))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(c){return c===d?Array.prototype.slice.call(this):this[c]},pushStack:function(c,f,j){c=e(c);c.prevObject=this;c.context=this.context;if(f==="find")c.selector=this.selector+(this.selector?" ":"")+j;else if(f)c.selector=this.selector+"."+f+"("+j+")";return c},setArray:function(c){this.length=0;Array.prototype.push.apply(this,
c);return this},each:function(c,f){return e.each(this,c,f)},index:function(c){return e.inArray(c&&c.jquery?c[0]:c,this)},attr:function(c,f,j){var m=c;if(typeof c==="string")if(f===d)return this[0]&&e[j||"attr"](this[0],c);else{m={};m[c]=f}return this.each(function(x){for(c in m)e.attr(j?this.style:this,c,e.prop(this,m[c],j,x,c))})},css:function(c,f){if((c=="width"||c=="height")&&parseFloat(f)<0)f=d;return this.attr(c,f,"curCSS")},text:function(c){if(typeof c!=="object"&&c!=null)return this.empty().append((this[0]&&
this[0].ownerDocument||document).createTextNode(c));var f="";e.each(c||this,function(){e.each(this.childNodes,function(){if(this.nodeType!=8)f+=this.nodeType!=1?this.nodeValue:e.fn.text([this])})});return f},wrapAll:function(c){if(this[0]){c=e(c,this[0].ownerDocument).clone();this[0].parentNode&&c.insertBefore(this[0]);c.map(function(){for(var f=this;f.firstChild;)f=f.firstChild;return f}).append(this)}return this},wrapInner:function(c){return this.each(function(){e(this).contents().wrapAll(c)})},
wrap:function(c){return this.each(function(){e(this).wrapAll(c)})},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(){return this.domManip(arguments,false,function(c){this.parentNode.insertBefore(c,this)})},after:function(){return this.domManip(arguments,false,function(c){this.parentNode.insertBefore(c,
this.nextSibling)})},end:function(){return this.prevObject||e([])},push:[].push,sort:[].sort,splice:[].splice,find:function(c){if(this.length===1){var f=this.pushStack([],"find",c);f.length=0;e.find(c,this[0],f);return f}else return this.pushStack(e.unique(e.map(this,function(j){return e.find(c,j)})),"find",c)},clone:function(c){var f=this.map(function(){if(!e.support.noCloneEvent&&!e.isXMLDoc(this)){var x=this.outerHTML;if(!x){x=this.ownerDocument.createElement("div");x.appendChild(this.cloneNode(true));
x=x.innerHTML}return e.clean([x.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else return this.cloneNode(true)});if(c===true){var j=this.find("*").andSelf(),m=0;f.find("*").andSelf().each(function(){if(this.nodeName===j[m].nodeName){var x=e.data(j[m],"events");for(var E in x)for(var t in x[E])e.event.add(this,E,x[E][t],x[E][t].data);m++}})}return f},filter:function(c){return this.pushStack(e.isFunction(c)&&e.grep(this,function(f,j){return c.call(f,j)})||e.multiFilter(c,e.grep(this,
function(f){return f.nodeType===1})),"filter",c)},closest:function(c){var f=e.expr.match.POS.test(c)?e(c):null,j=0;return this.map(function(){for(var m=this;m&&m.ownerDocument;){if(f?f.index(m)>-1:e(m).is(c)){e.data(m,"closest",j);return m}m=m.parentNode;j++}})},not:function(c){if(typeof c==="string")if(l.test(c))return this.pushStack(e.multiFilter(c,this,true),"not",c);else c=e.multiFilter(c,this);var f=c.length&&c[c.length-1]!==d&&!c.nodeType;return this.filter(function(){return f?e.inArray(this,
c)<0:this!=c})},add:function(c){return this.pushStack(e.unique(e.merge(this.get(),typeof c==="string"?e(c):e.makeArray(c))))},is:function(c){return!!c&&e.multiFilter(c,this).length>0},hasClass:function(c){return!!c&&this.is("."+c)},val:function(c){if(c===d){var f=this[0];if(f){if(e.nodeName(f,"option"))return(f.attributes.value||{}).specified?f.value:f.text;if(e.nodeName(f,"select")){var j=f.selectedIndex,m=[],x=f.options;f=f.type=="select-one";if(j<0)return null;var E=f?j:0;for(j=f?j+1:x.length;E<
j;E++){var t=x[E];if(t.selected){c=e(t).val();if(f)return c;m.push(c)}}return m}return(f.value||"").replace(/\r/g,"")}}else{if(typeof c==="number")c+="";return this.each(function(){if(this.nodeType==1)if(e.isArray(c)&&/radio|checkbox/.test(this.type))this.checked=e.inArray(this.value,c)>=0||e.inArray(this.name,c)>=0;else if(e.nodeName(this,"select")){var A=e.makeArray(c);e("option",this).each(function(){this.selected=e.inArray(this.value,A)>=0||e.inArray(this.text,A)>=0});if(!A.length)this.selectedIndex=
-1}else this.value=c})}},html:function(c){return c===d?this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null:this.empty().append(c)},replaceWith:function(c){return this.after(c).remove()},eq:function(c){return this.slice(c,+c+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(c){return this.pushStack(e.map(this,function(f,j){return c.call(f,j,f)}))},andSelf:function(){return this.add(this.prevObject)},
domManip:function(c,f,j){if(this[0]){var m=(this[0].ownerDocument||this[0]).createDocumentFragment();c=e.clean(c,this[0].ownerDocument||this[0],m);var x=m.firstChild;if(x)for(var E=0,t=this.length;E<t;E++)j.call(A(this[E],x),this.length>1||E>0?m.cloneNode(true):m);c&&e.each(c,w)}return this;function A(J,U){return f&&e.nodeName(J,"table")&&e.nodeName(U,"tr")?J.getElementsByTagName("tbody")[0]||J.appendChild(J.ownerDocument.createElement("tbody")):J}}};e.fn.init.prototype=e.fn;function w(c,f){f.src?
e.ajax({url:f.src,async:false,dataType:"script"}):e.globalEval(f.text||f.textContent||f.innerHTML||"");f.parentNode&&f.parentNode.removeChild(f)}function y(){return+new Date}e.extend=e.fn.extend=function(){var c=arguments[0]||{},f=1,j=arguments.length,m=false,x;if(typeof c==="boolean"){m=c;c=arguments[1]||{};f=2}if(typeof c!=="object"&&!e.isFunction(c))c={};if(j==f){c=this;--f}for(;f<j;f++)if((x=arguments[f])!=null)for(var E in x){var t=c[E],A=x[E];if(c!==A)if(m&&A&&typeof A==="object"&&!A.nodeType)c[E]=
e.extend(m,t||(A.length!=null?[]:{}),A);else if(A!==d)c[E]=A}return c};var r=/z-?index|font-?weight|opacity|zoom|line-?height/i,B=document.defaultView||{},K=Object.prototype.toString;e.extend({noConflict:function(c){b.$=s;if(c)b.jQuery=g;return e},isFunction:function(c){return K.call(c)==="[object Function]"},isArray:function(c){return K.call(c)==="[object Array]"},isXMLDoc:function(c){return c.nodeType===9&&c.documentElement.nodeName!=="HTML"||!!c.ownerDocument&&e.isXMLDoc(c.ownerDocument)},globalEval:function(c){if(c&&
/\S/.test(c)){var f=document.getElementsByTagName("head")[0]||document.documentElement,j=document.createElement("script");j.type="text/javascript";if(e.support.scriptEval)j.appendChild(document.createTextNode(c));else j.text=c;f.insertBefore(j,f.firstChild);f.removeChild(j)}},nodeName:function(c,f){return c.nodeName&&c.nodeName.toUpperCase()==f.toUpperCase()},each:function(c,f,j){var m,x=0,E=c.length;if(j)if(E===d)for(m in c){if(f.apply(c[m],j)===false)break}else for(;x<E;){if(f.apply(c[x++],j)===
false)break}else if(E===d)for(m in c){if(f.call(c[m],m,c[m])===false)break}else for(j=c[0];x<E&&f.call(j,x,j)!==false;j=c[++x]);return c},prop:function(c,f,j,m,x){if(e.isFunction(f))f=f.call(c,m);return typeof f==="number"&&j=="curCSS"&&!r.test(x)?f+"px":f},className:{add:function(c,f){e.each((f||"").split(/\s+/),function(j,m){if(c.nodeType==1&&!e.className.has(c.className,m))c.className+=(c.className?" ":"")+m})},remove:function(c,f){if(c.nodeType==1)c.className=f!==d?e.grep(c.className.split(/\s+/),
function(j){return!e.className.has(f,j)}).join(" "):""},has:function(c,f){return c&&e.inArray(f,(c.className||c).toString().split(/\s+/))>-1}},swap:function(c,f,j){var m={};for(var x in f){m[x]=c.style[x];c.style[x]=f[x]}j.call(c);for(x in f)c.style[x]=m[x]},css:function(c,f,j,m){if(f=="width"||f=="height"){var x;j={position:"absolute",visibility:"hidden",display:"block"};var E=f=="width"?["Left","Right"]:["Top","Bottom"];function t(){x=f=="width"?c.offsetWidth:c.offsetHeight;m!=="border"&&e.each(E,
function(){m||(x-=parseFloat(e.curCSS(c,"padding"+this,true))||0);if(m==="margin")x+=parseFloat(e.curCSS(c,"margin"+this,true))||0;else x-=parseFloat(e.curCSS(c,"border"+this+"Width",true))||0})}c.offsetWidth!==0?t():e.swap(c,j,t);return Math.max(0,Math.round(x))}return e.curCSS(c,f,j)},curCSS:function(c,f,j){var m,x=c.style;if(f=="opacity"&&!e.support.opacity){m=e.attr(x,"opacity");return m==""?"1":m}if(f.match(/float/i))f=F;if(!j&&x&&x[f])m=x[f];else if(B.getComputedStyle){if(f.match(/float/i))f=
"float";f=f.replace(/([A-Z])/g,"-$1").toLowerCase();if(c=B.getComputedStyle(c,null))m=c.getPropertyValue(f);if(f=="opacity"&&m=="")m="1"}else if(c.currentStyle){m=f.replace(/\-(\w)/g,function(E,t){return t.toUpperCase()});m=c.currentStyle[f]||c.currentStyle[m];if(!/^\d+(px)?$/i.test(m)&&/^\d/.test(m)){f=x.left;j=c.runtimeStyle.left;c.runtimeStyle.left=c.currentStyle.left;x.left=m||0;m=x.pixelLeft+"px";x.left=f;c.runtimeStyle.left=j}}return m},clean:function(c,f,j){f=f||document;if(typeof f.createElement===
"undefined")f=f.ownerDocument||f[0]&&f[0].ownerDocument||document;if(!j&&c.length===1&&typeof c[0]==="string"){var m=/^<(\w+)\s*\/?>$/.exec(c[0]);if(m)return[f.createElement(m[1])]}var x=[];m=[];var E=f.createElement("div");e.each(c,function(t,A){if(typeof A==="number")A+="";if(A){if(typeof A==="string"){A=A.replace(/(<(\w+)[^>]*?)\/>/g,function(Z,$,ba){return ba.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?Z:$+"></"+ba+">"});t=A.replace(/^\s+/,"").substring(0,10).toLowerCase();
var J=!t.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!t.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||t.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!t.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!t.indexOf("<td")||!t.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!t.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!e.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];for(E.innerHTML=
J[1]+A+J[2];J[0]--;)E=E.lastChild;if(!e.support.tbody){var U=/<tbody/i.test(A);t=!t.indexOf("<table")&&!U?E.firstChild&&E.firstChild.childNodes:J[1]=="<table>"&&!U?E.childNodes:[];for(J=t.length-1;J>=0;--J)e.nodeName(t[J],"tbody")&&!t[J].childNodes.length&&t[J].parentNode.removeChild(t[J])}!e.support.leadingWhitespace&&/^\s/.test(A)&&E.insertBefore(f.createTextNode(A.match(/^\s*/)[0]),E.firstChild);A=e.makeArray(E.childNodes)}if(A.nodeType)x.push(A);else x=e.merge(x,A)}});if(j){for(c=0;x[c];c++)if(e.nodeName(x[c],
"script")&&(!x[c].type||x[c].type.toLowerCase()==="text/javascript"))m.push(x[c].parentNode?x[c].parentNode.removeChild(x[c]):x[c]);else{x[c].nodeType===1&&x.splice.apply(x,[c+1,0].concat(e.makeArray(x[c].getElementsByTagName("script"))));j.appendChild(x[c])}return m}return x},attr:function(c,f,j){if(!(!c||c.nodeType==3||c.nodeType==8)){var m=!e.isXMLDoc(c),x=j!==d;f=m&&e.props[f]||f;if(c.tagName){var E=/href|src|style/.test(f);if(f in c&&m&&!E){if(x){if(f=="type"&&e.nodeName(c,"input")&&c.parentNode)throw"type property can't be changed";
c[f]=j}if(e.nodeName(c,"form")&&c.getAttributeNode(f))return c.getAttributeNode(f).nodeValue;if(f=="tabIndex")return(f=c.getAttributeNode("tabIndex"))&&f.specified?f.value:c.nodeName.match(/(button|input|object|select|textarea)/i)?0:c.nodeName.match(/^(a|area)$/i)&&c.href?0:d;return c[f]}if(!e.support.style&&m&&f=="style")return e.attr(c.style,"cssText",j);x&&c.setAttribute(f,""+j);c=!e.support.hrefNormalized&&m&&E?c.getAttribute(f,2):c.getAttribute(f);return c===null?d:c}if(!e.support.opacity&&f==
"opacity"){if(x){c.zoom=1;c.filter=(c.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(j)+""=="NaN"?"":"alpha(opacity="+j*100+")")}return c.filter&&c.filter.indexOf("opacity=")>=0?parseFloat(c.filter.match(/opacity=([^)]*)/)[1])/100+"":""}f=f.replace(/-([a-z])/ig,function(t,A){return A.toUpperCase()});if(x)c[f]=j;return c[f]}},trim:function(c){return(c||"").replace(/^\s+|\s+$/g,"")},makeArray:function(c){var f=[];if(c!=null){var j=c.length;if(j==null||typeof c==="string"||e.isFunction(c)||c.setInterval)f[0]=
c;else for(;j;)f[--j]=c[j]}return f},inArray:function(c,f){for(var j=0,m=f.length;j<m;j++)if(f[j]===c)return j;return-1},merge:function(c,f){var j=0,m,x=c.length;if(e.support.getAll)for(;(m=f[j++])!=null;)c[x++]=m;else for(;(m=f[j++])!=null;)if(m.nodeType!=8)c[x++]=m;return c},unique:function(c){var f=[],j={};try{for(var m=0,x=c.length;m<x;m++){var E=e.data(c[m]);if(!j[E]){j[E]=true;f.push(c[m])}}}catch(t){f=c}return f},grep:function(c,f,j){for(var m=[],x=0,E=c.length;x<E;x++)!j!=!f(c[x],x)&&m.push(c[x]);
return m},map:function(c,f){for(var j=[],m=0,x=c.length;m<x;m++){var E=f(c[m],m);if(E!=null)j[j.length]=E}return j.concat.apply([],j)}});var D=navigator.userAgent.toLowerCase();e.browser={version:(D.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(D),opera:/opera/.test(D),msie:/msie/.test(D)&&!/opera/.test(D),mozilla:/mozilla/.test(D)&&!/(compatible|webkit)/.test(D)};e.each({parent:function(c){return c.parentNode},parents:function(c){return e.dir(c,"parentNode")},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")},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,f){e.fn[c]=function(j){var m=e.map(this,f);if(j&&typeof j=="string")m=
e.multiFilter(j,m);return this.pushStack(e.unique(m),c,j)}});e.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(c,f){e.fn[c]=function(j){for(var m=[],x=e(j),E=0,t=x.length;E<t;E++){var A=(E>0?this.clone(true):this).get();e.fn[f].apply(e(x[E]),A);m=m.concat(A)}return this.pushStack(m,c,j)}});e.each({removeAttr:function(c){e.attr(this,c,"");this.nodeType==1&&this.removeAttribute(c)},addClass:function(c){e.className.add(this,c)},
removeClass:function(c){e.className.remove(this,c)},toggleClass:function(c,f){if(typeof f!=="boolean")f=!e.className.has(this,c);e.className[f?"add":"remove"](this,c)},remove:function(c){if(!c||e.filter(c,[this]).length){e("*",this).add([this]).each(function(){e.event.remove(this);e.removeData(this)});this.parentNode&&this.parentNode.removeChild(this)}},empty:function(){for(e(this).children().remove();this.firstChild;)this.removeChild(this.firstChild)}},function(c,f){e.fn[c]=function(){return this.each(f,
arguments)}});function O(c,f){return c[0]&&parseInt(e.curCSS(c[0],f,true),10)||0}var L="jQuery"+y(),Q=0,S={};e.extend({cache:{},data:function(c,f,j){c=c==b?S:c;var m=c[L];m||(m=c[L]=++Q);if(f&&!e.cache[m])e.cache[m]={};if(j!==d)e.cache[m][f]=j;return f?e.cache[m][f]:m},removeData:function(c,f){c=c==b?S:c;var j=c[L];if(f){if(e.cache[j]){delete e.cache[j][f];f="";for(f in e.cache[j])break;f||e.removeData(c)}}else{try{delete c[L]}catch(m){c.removeAttribute&&c.removeAttribute(L)}delete e.cache[j]}},queue:function(c,
f,j){if(c){f=(f||"fx")+"queue";var m=e.data(c,f);if(!m||e.isArray(j))m=e.data(c,f,e.makeArray(j));else j&&m.push(j)}return m},dequeue:function(c,f){var j=e.queue(c,f),m=j.shift();if(!f||f==="fx")m=j[0];m!==d&&m.call(c)}});e.fn.extend({data:function(c,f){var j=c.split(".");j[1]=j[1]?"."+j[1]:"";if(f===d){var m=this.triggerHandler("getData"+j[1]+"!",[j[0]]);if(m===d&&this.length)m=e.data(this[0],c);return m===d&&j[1]?this.data(j[0]):m}else return this.trigger("setData"+j[1]+"!",[j[0],f]).each(function(){e.data(this,
c,f)})},removeData:function(c){return this.each(function(){e.removeData(this,c)})},queue:function(c,f){if(typeof c!=="string"){f=c;c="fx"}if(f===d)return e.queue(this[0],c);return this.each(function(){var j=e.queue(this,c,f);c=="fx"&&j.length==1&&j[0].call(this)})},dequeue:function(c){return this.each(function(){e.dequeue(this,c)})}});(function(){var c=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,f=0,j=Object.prototype.toString;
function m(o,v,p,u){p=p||[];v=v||document;if(v.nodeType!==1&&v.nodeType!==9)return[];if(!o||typeof o!=="string")return p;var G=[],I,M,Y,R=true;for(c.lastIndex=0;(I=c.exec(o))!==null;){G.push(I[1]);if(I[2]){Y=RegExp.rightContext;break}}if(G.length>1&&E.exec(o))if(G.length===2&&x.relative[G[0]])I=fa(G[0]+G[1],v);else for(I=x.relative[G[0]]?[v]:m(G.shift(),v);G.length;){o=G.shift();if(x.relative[o])o+=G.shift();I=fa(o,I)}else{I=u?{expr:G.pop(),set:A(u)}:m.find(G.pop(),G.length===1&&v.parentNode?v.parentNode:
v,X(v));I=m.filter(I.expr,I.set);if(G.length>0)M=A(I);else R=false;for(;G.length;){var aa=G.pop(),da=aa;if(x.relative[aa])da=G.pop();else aa="";if(da==null)da=v;x.relative[aa](M,da,X(v))}}M||(M=I);if(!M)throw"Syntax error, unrecognized expression: "+(aa||o);if(j.call(M)==="[object Array]")if(R)if(v.nodeType===1)for(o=0;M[o]!=null;o++){if(M[o]&&(M[o]===true||M[o].nodeType===1&&ba(v,M[o])))p.push(I[o])}else for(o=0;M[o]!=null;o++)M[o]&&M[o].nodeType===1&&p.push(I[o]);else p.push.apply(p,M);else A(M,
p);if(Y){m(Y,v,p,u);if(U){hasDuplicate=false;p.sort(U);if(hasDuplicate)for(o=1;o<p.length;o++)p[o]===p[o-1]&&p.splice(o--,1)}}return p}m.matches=function(o,v){return m(o,null,null,v)};m.find=function(o,v,p){var u,G;if(!o)return[];for(var I=0,M=x.order.length;I<M;I++){var Y=x.order[I];if(G=x.match[Y].exec(o)){var R=RegExp.leftContext;if(R.substr(R.length-1)!=="\\"){G[1]=(G[1]||"").replace(/\\/g,"");u=x.find[Y](G,v,p);if(u!=null){o=o.replace(x.match[Y],"");break}}}}u||(u=v.getElementsByTagName("*"));
return{set:u,expr:o}};m.filter=function(o,v,p,u){for(var G=o,I=[],M=v,Y,R,aa=v&&v[0]&&X(v[0]);o&&v.length;){for(var da in x.filter)if((Y=x.match[da].exec(o))!=null){var ja=x.filter[da],ia,ha;R=false;if(M==I)I=[];if(x.preFilter[da])if(Y=x.preFilter[da](Y,M,p,I,u,aa)){if(Y===true)continue}else R=ia=true;if(Y)for(var ga=0;(ha=M[ga])!=null;ga++)if(ha){ia=ja(ha,Y,ga,M);var ka=u^!!ia;if(p&&ia!=null)if(ka)R=true;else M[ga]=false;else if(ka){I.push(ha);R=true}}if(ia!==d){p||(M=I);o=o.replace(x.match[da],
"");if(!R)return[];break}}if(o==G)if(R==null)throw"Syntax error, unrecognized expression: "+o;else break;G=o}return M};var x=m.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\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(o){return o.getAttribute("href")}},relative:{"+":function(o,v,p){var u=typeof v==="string",G=u&&!/\W/.test(v);u=u&&!G;if(G&&!p)v=v.toUpperCase();p=0;G=o.length;for(var I;p<G;p++)if(I=o[p]){for(;(I=I.previousSibling)&&I.nodeType!==1;);o[p]=u||I&&I.nodeName===v?I||false:I===v}u&&m.filter(v,o,true)},">":function(o,v,p){var u=typeof v==="string";
if(u&&!/\W/.test(v)){v=p?v:v.toUpperCase();p=0;for(var G=o.length;p<G;p++){var I=o[p];if(I){u=I.parentNode;o[p]=u.nodeName===v?u:false}}}else{p=0;for(G=o.length;p<G;p++)if(I=o[p])o[p]=u?I.parentNode:I.parentNode===v;u&&m.filter(v,o,true)}},"":function(o,v,p){var u=f++,G=$;if(!v.match(/\W/)){var I=v=p?v:v.toUpperCase();G=Z}G("parentNode",v,u,o,I,p)},"~":function(o,v,p){var u=f++,G=$;if(typeof v==="string"&&!v.match(/\W/)){var I=v=p?v:v.toUpperCase();G=Z}G("previousSibling",v,u,o,I,p)}},find:{ID:function(o,
v,p){if(typeof v.getElementById!=="undefined"&&!p)return(o=v.getElementById(o[1]))?[o]:[]},NAME:function(o,v){if(typeof v.getElementsByName!=="undefined"){var p=[];v=v.getElementsByName(o[1]);for(var u=0,G=v.length;u<G;u++)v[u].getAttribute("name")===o[1]&&p.push(v[u]);return p.length===0?null:p}},TAG:function(o,v){return v.getElementsByTagName(o[1])}},preFilter:{CLASS:function(o,v,p,u,G,I){o=" "+o[1].replace(/\\/g,"")+" ";if(I)return o;I=0;for(var M;(M=v[I])!=null;I++)if(M)if(G^(M.className&&(" "+
M.className+" ").indexOf(o)>=0))p||u.push(M);else if(p)v[I]=false;return false},ID:function(o){return o[1].replace(/\\/g,"")},TAG:function(o,v){for(var p=0;v[p]===false;p++);return v[p]&&X(v[p])?o[1]:o[1].toUpperCase()},CHILD:function(o){if(o[1]=="nth"){var v=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(o[2]=="even"&&"2n"||o[2]=="odd"&&"2n+1"||!/\D/.test(o[2])&&"0n+"+o[2]||o[2]);o[2]=v[1]+(v[2]||1)-0;o[3]=v[3]-0}o[0]=f++;return o},ATTR:function(o,v,p,u,G,I){v=o[1].replace(/\\/g,"");if(!I&&x.attrMap[v])o[1]=x.attrMap[v];
if(o[2]==="~=")o[4]=" "+o[4]+" ";return o},PSEUDO:function(o,v,p,u,G){if(o[1]==="not")if(o[3].match(c).length>1||/^\w/.test(o[3]))o[3]=m(o[3],null,null,v);else{o=m.filter(o[3],v,p,true^G);p||u.push.apply(u,o);return false}else if(x.match.POS.test(o[0])||x.match.CHILD.test(o[0]))return true;return o},POS:function(o){o.unshift(true);return o}},filters:{enabled:function(o){return o.disabled===false&&o.type!=="hidden"},disabled:function(o){return o.disabled===true},checked:function(o){return o.checked===
true},selected:function(o){return o.selected===true},parent:function(o){return!!o.firstChild},empty:function(o){return!o.firstChild},has:function(o,v,p){return!!m(p[3],o).length},header:function(o){return/h\d/i.test(o.nodeName)},text:function(o){return"text"===o.type},radio:function(o){return"radio"===o.type},checkbox:function(o){return"checkbox"===o.type},file:function(o){return"file"===o.type},password:function(o){return"password"===o.type},submit:function(o){return"submit"===o.type},image:function(o){return"image"===
o.type},reset:function(o){return"reset"===o.type},button:function(o){return"button"===o.type||o.nodeName.toUpperCase()==="BUTTON"},input:function(o){return/input|select|textarea|button/i.test(o.nodeName)}},setFilters:{first:function(o,v){return v===0},last:function(o,v,p,u){return v===u.length-1},even:function(o,v){return v%2===0},odd:function(o,v){return v%2===1},lt:function(o,v,p){return v<p[3]-0},gt:function(o,v,p){return v>p[3]-0},nth:function(o,v,p){return p[3]-0==v},eq:function(o,v,p){return p[3]-
0==v}},filter:{PSEUDO:function(o,v,p,u){var G=v[1],I=x.filters[G];if(I)return I(o,p,v,u);else if(G==="contains")return(o.textContent||o.innerText||"").indexOf(v[3])>=0;else if(G==="not"){v=v[3];p=0;for(u=v.length;p<u;p++)if(v[p]===o)return false;return true}},CHILD:function(o,v){var p=v[1],u=o;switch(p){case "only":case "first":for(;u=u.previousSibling;)if(u.nodeType===1)return false;if(p=="first")return true;u=o;case "last":for(;u=u.nextSibling;)if(u.nodeType===1)return false;return true;case "nth":p=
v[2];var G=v[3];if(p==1&&G==0)return true;v=v[0];var I=o.parentNode;if(I&&(I.sizcache!==v||!o.nodeIndex)){var M=0;for(u=I.firstChild;u;u=u.nextSibling)if(u.nodeType===1)u.nodeIndex=++M;I.sizcache=v}o=o.nodeIndex-G;return p==0?o==0:o%p==0&&o/p>=0}},ID:function(o,v){return o.nodeType===1&&o.getAttribute("id")===v},TAG:function(o,v){return v==="*"&&o.nodeType===1||o.nodeName===v},CLASS:function(o,v){return(" "+(o.className||o.getAttribute("class"))+" ").indexOf(v)>-1},ATTR:function(o,v){var p=v[1];o=
x.attrHandle[p]?x.attrHandle[p](o):o[p]!=null?o[p]:o.getAttribute(p);p=o+"";var u=v[2];v=v[4];return o==null?u==="!=":u==="="?p===v:u==="*="?p.indexOf(v)>=0:u==="~="?(" "+p+" ").indexOf(v)>=0:!v?p&&o!==false:u==="!="?p!=v:u==="^="?p.indexOf(v)===0:u==="$="?p.substr(p.length-v.length)===v:u==="|="?p===v||p.substr(0,v.length+1)===v+"-":false},POS:function(o,v,p,u){var G=v[2];if(G=x.setFilters[G])return G(o,p,v,u)}}},E=x.match.POS;for(var t in x.match)x.match[t]=RegExp(x.match[t].source+/(?![^\[]*\])(?![^\(]*\))/.source);
function A(o,v){o=Array.prototype.slice.call(o);if(v){v.push.apply(v,o);return v}return o}try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(J){A=function(o,v){v=v||[];if(j.call(o)==="[object Array]")Array.prototype.push.apply(v,o);else if(typeof o.length==="number")for(var p=0,u=o.length;p<u;p++)v.push(o[p]);else for(p=0;o[p];p++)v.push(o[p]);return v}}var U;if(document.documentElement.compareDocumentPosition)U=function(o,v){o=o.compareDocumentPosition(v)&4?-1:o===v?0:1;if(o===
0)hasDuplicate=true;return o};else if("sourceIndex"in document.documentElement)U=function(o,v){o=o.sourceIndex-v.sourceIndex;if(o===0)hasDuplicate=true;return o};else if(document.createRange)U=function(o,v){var p=o.ownerDocument.createRange(),u=v.ownerDocument.createRange();p.selectNode(o);p.collapse(true);u.selectNode(v);u.collapse(true);o=p.compareBoundaryPoints(Range.START_TO_END,u);if(o===0)hasDuplicate=true;return o};(function(){var o=document.createElement("form"),v="script"+(new Date).getTime();
o.innerHTML="<input name='"+v+"'/>";var p=document.documentElement;p.insertBefore(o,p.firstChild);if(document.getElementById(v)){x.find.ID=function(u,G,I){if(typeof G.getElementById!=="undefined"&&!I)return(G=G.getElementById(u[1]))?G.id===u[1]||typeof G.getAttributeNode!=="undefined"&&G.getAttributeNode("id").nodeValue===u[1]?[G]:d:[]};x.filter.ID=function(u,G){var I=typeof u.getAttributeNode!=="undefined"&&u.getAttributeNode("id");return u.nodeType===1&&I&&I.nodeValue===G}}p.removeChild(o)})();
(function(){var o=document.createElement("div");o.appendChild(document.createComment(""));if(o.getElementsByTagName("*").length>0)x.find.TAG=function(v,p){p=p.getElementsByTagName(v[1]);if(v[1]==="*"){v=[];for(var u=0;p[u];u++)p[u].nodeType===1&&v.push(p[u]);p=v}return p};o.innerHTML="<a href='#'></a>";if(o.firstChild&&typeof o.firstChild.getAttribute!=="undefined"&&o.firstChild.getAttribute("href")!=="#")x.attrHandle.href=function(v){return v.getAttribute("href",2)}})();document.querySelectorAll&&
function(){var o=m,v=document.createElement("div");v.innerHTML="<p class='TEST'></p>";if(!(v.querySelectorAll&&v.querySelectorAll(".TEST").length===0)){m=function(p,u,G,I){u=u||document;if(!I&&u.nodeType===9&&!X(u))try{return A(u.querySelectorAll(p),G)}catch(M){}return o(p,u,G,I)};m.find=o.find;m.filter=o.filter;m.selectors=o.selectors;m.matches=o.matches}}();document.getElementsByClassName&&document.documentElement.getElementsByClassName&&function(){var o=document.createElement("div");o.innerHTML=
"<div class='test e'></div><div class='test'></div>";if(o.getElementsByClassName("e").length!==0){o.lastChild.className="e";if(o.getElementsByClassName("e").length!==1){x.order.splice(1,0,"CLASS");x.find.CLASS=function(v,p,u){if(typeof p.getElementsByClassName!=="undefined"&&!u)return p.getElementsByClassName(v[1])}}}}();function Z(o,v,p,u,G,I){G=o=="previousSibling"&&!I;for(var M=0,Y=u.length;M<Y;M++){var R=u[M];if(R){if(G&&R.nodeType===1){R.sizcache=p;R.sizset=M}R=R[o];for(var aa=false;R;){if(R.sizcache===
p){aa=u[R.sizset];break}if(R.nodeType===1&&!I){R.sizcache=p;R.sizset=M}if(R.nodeName===v){aa=R;break}R=R[o]}u[M]=aa}}}function $(o,v,p,u,G,I){G=o=="previousSibling"&&!I;for(var M=0,Y=u.length;M<Y;M++){var R=u[M];if(R){if(G&&R.nodeType===1){R.sizcache=p;R.sizset=M}R=R[o];for(var aa=false;R;){if(R.sizcache===p){aa=u[R.sizset];break}if(R.nodeType===1){if(!I){R.sizcache=p;R.sizset=M}if(typeof v!=="string"){if(R===v){aa=true;break}}else if(m.filter(v,[R]).length>0){aa=R;break}}R=R[o]}u[M]=aa}}}var ba=
document.compareDocumentPosition?function(o,v){return o.compareDocumentPosition(v)&16}:function(o,v){return o!==v&&(o.contains?o.contains(v):true)};function X(o){return o.nodeType===9&&o.documentElement.nodeName!=="HTML"||!!o.ownerDocument&&X(o.ownerDocument)}function fa(o,v){var p=[],u="",G;for(v=v.nodeType?[v]:v;G=x.match.PSEUDO.exec(o);){u+=G[0];o=o.replace(x.match.PSEUDO,"")}o=x.relative[o]?o+"*":o;G=0;for(var I=v.length;G<I;G++)m(o,v[G],p);return m.filter(u,p)}e.find=m;e.filter=m.filter;e.expr=
m.selectors;e.expr[":"]=e.expr.filters;m.selectors.filters.hidden=function(o){return o.offsetWidth===0||o.offsetHeight===0};m.selectors.filters.visible=function(o){return o.offsetWidth>0||o.offsetHeight>0};m.selectors.filters.animated=function(o){return e.grep(e.timers,function(v){return o===v.elem}).length};e.multiFilter=function(o,v,p){if(p)o=":not("+o+")";return m.matches(o,v)};e.dir=function(o,v){var p=[];for(o=o[v];o&&o!=document;){o.nodeType==1&&p.push(o);o=o[v]}return p};e.nth=function(o,v,
p){v=v||1;for(var u=0;o;o=o[p])if(o.nodeType==1&&++u==v)break;return o};e.sibling=function(o,v){for(var p=[];o;o=o.nextSibling)o.nodeType==1&&o!=v&&p.push(o);return p}})();e.event={add:function(c,f,j,m){if(!(c.nodeType==3||c.nodeType==8)){if(c.setInterval&&c!=b)c=b;if(!j.guid)j.guid=this.guid++;if(m!==d){var x=j;j=this.proxy(x);j.data=m}var E=e.data(c,"events")||e.data(c,"events",{}),t=e.data(c,"handle")||e.data(c,"handle",function(){return typeof e!=="undefined"&&!e.event.triggered?e.event.handle.apply(arguments.callee.elem,
arguments):d});t.elem=c;e.each(f.split(/\s+/),function(A,J){A=J.split(".");J=A.shift();j.type=A.slice().sort().join(".");var U=E[J];e.event.specialAll[J]&&e.event.specialAll[J].setup.call(c,m,A);if(!U){U=E[J]={};if(!e.event.special[J]||e.event.special[J].setup.call(c,m,A)===false)if(c.addEventListener)c.addEventListener(J,t,false);else c.attachEvent&&c.attachEvent("on"+J,t)}U[j.guid]=j;e.event.global[J]=true});c=null}},guid:1,global:{},remove:function(c,f,j){if(!(c.nodeType==3||c.nodeType==8)){var m=
e.data(c,"events"),x;if(m){if(f===d||typeof f==="string"&&f.charAt(0)==".")for(var E in m)this.remove(c,E+(f||""));else{if(f.type){j=f.handler;f=f.type}e.each(f.split(/\s+/),function(t,A){t=A.split(".");A=t.shift();var J=RegExp("(^|\\.)"+t.slice().sort().join(".*\\.")+"(\\.|$)");if(m[A]){if(j)delete m[A][j.guid];else for(var U in m[A])J.test(m[A][U].type)&&delete m[A][U];e.event.specialAll[A]&&e.event.specialAll[A].teardown.call(c,t);for(x in m[A])break;if(!x){if(!e.event.special[A]||e.event.special[A].teardown.call(c,
t)===false)if(c.removeEventListener)c.removeEventListener(A,e.data(c,"handle"),false);else c.detachEvent&&c.detachEvent("on"+A,e.data(c,"handle"));x=null;delete m[A]}}})}for(x in m)break;if(!x){if(f=e.data(c,"handle"))f.elem=null;e.removeData(c,"events");e.removeData(c,"handle")}}}},trigger:function(c,f,j,m){var x=c.type||c;if(!m){c=typeof c==="object"?c[L]?c:e.extend(e.Event(x),c):e.Event(x);if(x.indexOf("!")>=0){c.type=x=x.slice(0,-1);c.exclusive=true}if(!j){c.stopPropagation();this.global[x]&&
e.each(e.cache,function(){this.events&&this.events[x]&&e.event.trigger(c,f,this.handle.elem)})}if(!j||j.nodeType==3||j.nodeType==8)return;c.result=d;c.target=j;f=e.makeArray(f);f.unshift(c)}c.currentTarget=j;var E=e.data(j,"handle");E&&E.apply(j,f);if((!j[x]||e.nodeName(j,"a")&&x=="click")&&j["on"+x]&&j["on"+x].apply(j,f)===false)c.result=false;if(!m&&j[x]&&!c.isDefaultPrevented()&&!(e.nodeName(j,"a")&&x=="click")){this.triggered=true;try{j[x]()}catch(t){}}this.triggered=false;if(!c.isPropagationStopped())(j=
j.parentNode||j.ownerDocument)&&e.event.trigger(c,f,j,true)},handle:function(c){var f,j;c=arguments[0]=e.event.fix(c||b.event);c.currentTarget=this;j=c.type.split(".");c.type=j.shift();f=!j.length&&!c.exclusive;var m=RegExp("(^|\\.)"+j.slice().sort().join(".*\\.")+"(\\.|$)");j=(e.data(this,"events")||{})[c.type];for(var x in j){var E=j[x];if(f||m.test(E.type)){c.handler=E;c.data=E.data;E=E.apply(this,arguments);if(E!==d){c.result=E;if(E===false){c.preventDefault();c.stopPropagation()}}if(c.isImmediatePropagationStopped())break}}},
props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(c){if(c[L])return c;var f=c;c=e.Event(f);for(var j=this.props.length,m;j;){m=this.props[--j];c[m]=f[m]}if(!c.target)c.target=c.srcElement||document;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){f=document.documentElement;j=document.body;c.pageX=c.clientX+(f&&f.scrollLeft||j&&j.scrollLeft||0)-(f.clientLeft||0);c.pageY=c.clientY+(f&&f.scrollTop||j&&j.scrollTop||0)-(f.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)c.which=c.button&1?1:c.button&2?3:c.button&4?2:0;return c},proxy:function(c,f){f=f||function(){return c.apply(this,arguments)};f.guid=c.guid=c.guid||f.guid||this.guid++;return f},special:{ready:{setup:P,teardown:function(){}}},specialAll:{live:{setup:function(c,f){e.event.add(this,f[0],h)},teardown:function(c){if(c.length){var f=0,j=RegExp("(^|\\.)"+c[0]+"(\\.|$)");e.each(e.data(this,"events").live||{},function(){j.test(this.type)&&f++});f<1&&e.event.remove(this,c[0],h)}}}}};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=y();this[L]=true};function k(){return false}function z(){return true}e.Event.prototype={preventDefault:function(){this.isDefaultPrevented=z;var c=this.originalEvent;if(c){c.preventDefault&&c.preventDefault();c.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=z;var c=this.originalEvent;if(c){c.stopPropagation&&c.stopPropagation();c.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=
z;this.stopPropagation()},isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k};function H(c){for(var f=c.relatedTarget;f&&f!=this;)try{f=f.parentNode}catch(j){f=this}if(f!=this){c.type=c.data;e.event.handle.apply(this,arguments)}}e.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(c,f){e.event.special[f]={setup:function(){e.event.add(this,c,H,f)},teardown:function(){e.event.remove(this,c,H)}}});e.fn.extend({bind:function(c,f,j){return c=="unload"?this.one(c,f,j):
this.each(function(){e.event.add(this,c,j||f,j&&f)})},one:function(c,f,j){var m=e.event.proxy(j||f,function(x){e(this).unbind(x,m);return(j||f).apply(this,arguments)});return this.each(function(){e.event.add(this,c,m,j&&f)})},unbind:function(c,f){return this.each(function(){e.event.remove(this,c,f)})},trigger:function(c,f){return this.each(function(){e.event.trigger(c,f,this)})},triggerHandler:function(c,f){if(this[0]){c=e.Event(c);c.preventDefault();c.stopPropagation();e.event.trigger(c,f,this[0]);
return c.result}},toggle:function(c){for(var f=arguments,j=1;j<f.length;)e.event.proxy(c,f[j++]);return this.click(e.event.proxy(c,function(m){this.lastToggle=(this.lastToggle||0)%j;m.preventDefault();return f[this.lastToggle++].apply(this,arguments)||false}))},hover:function(c,f){return this.mouseenter(c).mouseleave(f)},ready:function(c){P();e.isReady?c.call(document,e):e.readyList.push(c);return this},live:function(c,f){f=e.event.proxy(f);f.guid+=this.selector+c;e(document).bind(C(c,this.selector),
this.selector,f);return this},die:function(c,f){e(document).unbind(C(c,this.selector),f?{guid:f.guid+this.selector+c}:null);return this}});function h(c){var f=RegExp("(^|\\.)"+c.type+"(\\.|$)"),j=true,m=[];e.each(e.data(this,"events").live||[],function(x,E){if(f.test(E.type))(x=e(c.target).closest(E.data)[0])&&m.push({elem:x,fn:E})});m.sort(function(x,E){return e.data(x.elem,"closest")-e.data(E.elem,"closest")});e.each(m,function(){if(this.fn.call(this.elem,c,this.fn.data)===false)return j=false});
return j}function C(c,f){return["live",c,f.replace(/\./g,"`").replace(/ /g,"|")].join(".")}e.extend({isReady:false,readyList:[],ready:function(){if(!e.isReady){e.isReady=true;if(e.readyList){e.each(e.readyList,function(){this.call(document,e)});e.readyList=null}e(document).triggerHandler("ready")}}});var N=false;function P(){if(!N){N=true;if(document.addEventListener)document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);e.ready()},
false);else if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);e.ready()}});document.documentElement.doScroll&&b==b.top&&function(){if(!e.isReady){try{document.documentElement.doScroll("left")}catch(c){setTimeout(arguments.callee,0);return}e.ready()}}()}e.event.add(b,"load",e.ready)}}e.each("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error".split(","),
function(c,f){e.fn[f]=function(j){return j?this.bind(f,j):this.trigger(f)}});e(b).bind("unload",function(){for(var c in e.cache)c!=1&&e.cache[c].handle&&e.event.remove(e.cache[c].handle.elem)});(function(){e.support={};var c=document.documentElement,f=document.createElement("script"),j=document.createElement("div"),m="script"+(new Date).getTime();j.style.display="none";j.innerHTML='   <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';
var x=j.getElementsByTagName("*"),E=j.getElementsByTagName("a")[0];if(!(!x||!x.length||!E)){e.support={leadingWhitespace:j.firstChild.nodeType==3,tbody:!j.getElementsByTagName("tbody").length,objectAll:!!j.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!j.getElementsByTagName("link").length,style:/red/.test(E.getAttribute("style")),hrefNormalized:E.getAttribute("href")==="/a",opacity:E.style.opacity==="0.5",cssFloat:!!E.style.cssFloat,scriptEval:false,noCloneEvent:true,
boxModel:null};f.type="text/javascript";try{f.appendChild(document.createTextNode("window."+m+"=1;"))}catch(t){}c.insertBefore(f,c.firstChild);if(b[m]){e.support.scriptEval=true;delete b[m]}c.removeChild(f);if(j.attachEvent&&j.fireEvent){j.attachEvent("onclick",function(){e.support.noCloneEvent=false;j.detachEvent("onclick",arguments.callee)});j.cloneNode(true).fireEvent("onclick")}e(function(){var A=document.createElement("div");A.style.width=A.style.paddingLeft="1px";document.body.appendChild(A);
e.boxModel=e.support.boxModel=A.offsetWidth===2;document.body.removeChild(A).style.display="none"})}})();var F=e.support.cssFloat?"cssFloat":"styleFloat";e.props={"for":"htmlFor","class":"className","float":F,cssFloat:F,styleFloat:F,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};e.fn.extend({_load:e.fn.load,load:function(c,f,j){if(typeof c!=="string")return this._load(c);var m=c.indexOf(" ");if(m>=0){var x=c.slice(m,c.length);c=c.slice(0,
m)}m="GET";if(f)if(e.isFunction(f)){j=f;f=null}else if(typeof f==="object"){f=e.param(f);m="POST"}var E=this;e.ajax({url:c,type:m,dataType:"html",data:f,complete:function(t,A){if(A=="success"||A=="notmodified")E.html(x?e("<div/>").append(t.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(x):t.responseText);j&&E.each(j,[t.responseText,A,t])}});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||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(c,f){c=e(this).val();return c==null?null:e.isArray(c)?e.map(c,function(j){return{name:f.name,value:j}}):{name:f.name,value:c}}).get()}});e.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(c,f){e.fn[f]=function(j){return this.bind(f,j)}});var W=y();e.extend({get:function(c,
f,j,m){if(e.isFunction(f)){j=f;f=null}return e.ajax({type:"GET",url:c,data:f,success:j,dataType:m})},getScript:function(c,f){return e.get(c,null,f,"script")},getJSON:function(c,f,j){return e.get(c,f,j,"json")},post:function(c,f,j,m){if(e.isFunction(f)){j=f;f={}}return e.ajax({type:"POST",url:c,data:f,success:j,dataType:m})},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:function(){return b.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(c){c=e.extend(true,c,e.extend(true,{},e.ajaxSettings,c));var f,j=/=\?(&|$)/g,m,x,E=c.type.toUpperCase();if(c.data&&c.processData&&typeof c.data!=="string")c.data=e.param(c.data);if(c.dataType==
"jsonp"){if(E=="GET")c.url.match(j)||(c.url+=(c.url.match(/\?/)?"&":"?")+(c.jsonp||"callback")+"=?");else if(!c.data||!c.data.match(j))c.data=(c.data?c.data+"&":"")+(c.jsonp||"callback")+"=?";c.dataType="json"}if(c.dataType=="json"&&(c.data&&c.data.match(j)||c.url.match(j))){f="jsonp"+W++;if(c.data)c.data=(c.data+"").replace(j,"="+f+"$1");c.url=c.url.replace(j,"="+f+"$1");c.dataType="script";b[f]=function(u){x=u;$();Z();b[f]=d;try{delete b[f]}catch(G){}A&&A.removeChild(J)}}if(c.dataType=="script"&&
c.cache==null)c.cache=false;if(c.cache===false&&E=="GET"){j=y();var t=c.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+j+"$2");c.url=t+(t==c.url?(c.url.match(/\?/)?"&":"?")+"_="+j:"")}if(c.data&&E=="GET"){c.url+=(c.url.match(/\?/)?"&":"?")+c.data;c.data=null}c.global&&!e.active++&&e.event.trigger("ajaxStart");j=/^(\w+:)?\/\/([^\/?#]+)/.exec(c.url);if(c.dataType=="script"&&E=="GET"&&j&&(j[1]&&j[1]!=location.protocol||j[2]!=location.host)){var A=document.getElementsByTagName("head")[0],J=document.createElement("script");
J.src=c.url;if(c.scriptCharset)J.charset=c.scriptCharset;if(!f){var U=false;J.onload=J.onreadystatechange=function(){if(!U&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){U=true;$();Z();J.onload=J.onreadystatechange=null;A.removeChild(J)}}}A.appendChild(J)}else{function Z(){c.complete&&c.complete(X,m);c.global&&e.event.trigger("ajaxComplete",[X,c]);c.global&&!--e.active&&e.event.trigger("ajaxStop")}function $(){c.success&&c.success(x,m);c.global&&e.event.trigger("ajaxSuccess",
[X,c])}var ba=false,X=c.xhr();c.username?X.open(E,c.url,c.async,c.username,c.password):X.open(E,c.url,c.async);try{c.data&&X.setRequestHeader("Content-Type",c.contentType);if(c.ifModified)X.setRequestHeader("If-Modified-Since",e.lastModified[c.url]||"Thu, 01 Jan 1970 00:00:00 GMT");X.setRequestHeader("X-Requested-With","XMLHttpRequest");X.setRequestHeader("Accept",c.dataType&&c.accepts[c.dataType]?c.accepts[c.dataType]+", */*":c.accepts._default)}catch(fa){}if(c.beforeSend&&c.beforeSend(X,c)===false){c.global&&
!--e.active&&e.event.trigger("ajaxStop");X.abort();return false}c.global&&e.event.trigger("ajaxSend",[X,c]);var o=function(u){if(X.readyState==0){if(v){clearInterval(v);v=null;c.global&&!--e.active&&e.event.trigger("ajaxStop")}}else if(!ba&&X&&(X.readyState==4||u=="timeout")){ba=true;if(v){clearInterval(v);v=null}m=u=="timeout"?"timeout":!e.httpSuccess(X)?"error":c.ifModified&&e.httpNotModified(X,c.url)?"notmodified":"success";if(m=="success")try{x=e.httpData(X,c.dataType,c)}catch(G){m="parsererror"}if(m==
"success"){var I;try{I=X.getResponseHeader("Last-Modified")}catch(M){}if(c.ifModified&&I)e.lastModified[c.url]=I;f||$()}else e.handleError(c,X,m);Z();u&&X.abort();if(c.async)X=null}};if(c.async){var v=setInterval(o,13);c.timeout>0&&setTimeout(function(){X&&!ba&&o("timeout")},c.timeout)}try{X.send(c.data)}catch(p){e.handleError(c,X,null,p)}c.async||o();return X}},handleError:function(c,f,j,m){c.error&&c.error(f,j,m);c.global&&e.event.trigger("ajaxError",[f,c,m])},active:0,httpSuccess:function(c){try{return!c.status&&
location.protocol=="file:"||c.status>=200&&c.status<300||c.status==304||c.status==1223}catch(f){}return false},httpNotModified:function(c,f){try{var j=c.getResponseHeader("Last-Modified");return c.status==304||j==e.lastModified[f]}catch(m){}return false},httpData:function(c,f,j){var m=c.getResponseHeader("content-type");c=(m=f=="xml"||!f&&m&&m.indexOf("xml")>=0)?c.responseXML:c.responseText;if(m&&c.documentElement.tagName=="parsererror")throw"parsererror";if(j&&j.dataFilter)c=j.dataFilter(c,f);if(typeof c===
"string"){f=="script"&&e.globalEval(c);if(f=="json")c=b.eval("("+c+")")}return c},param:function(c){var f=[];function j(x,E){f[f.length]=encodeURIComponent(x)+"="+encodeURIComponent(E)}if(e.isArray(c)||c.jquery)e.each(c,function(){j(this.name,this.value)});else for(var m in c)e.isArray(c[m])?e.each(c[m],function(){j(m,this)}):j(m,e.isFunction(c[m])?c[m]():c[m]);return f.join("&").replace(/%20/g,"+")}});var V={},ca,T=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft",
"marginRight","paddingLeft","paddingRight"],["opacity"]];function ea(c,f){var j={};e.each(T.concat.apply([],T.slice(0,f)),function(){j[this]=c});return j}e.fn.extend({show:function(c,f){if(c)return this.animate(ea("show",3),c,f);else{c=0;for(f=this.length;c<f;c++){var j=e.data(this[c],"olddisplay");this[c].style.display=j||"";if(e.css(this[c],"display")==="none"){j=this[c].tagName;var m;if(V[j])m=V[j];else{var x=e("<"+j+" />").appendTo("body");m=x.css("display");if(m==="none")m="block";x.remove();
V[j]=m}e.data(this[c],"olddisplay",m)}}c=0;for(f=this.length;c<f;c++)this[c].style.display=e.data(this[c],"olddisplay")||"";return this}},hide:function(c,f){if(c)return this.animate(ea("hide",3),c,f);else{c=0;for(f=this.length;c<f;c++){var j=e.data(this[c],"olddisplay");!j&&j!=="none"&&e.data(this[c],"olddisplay",e.css(this[c],"display"))}c=0;for(f=this.length;c<f;c++)this[c].style.display="none";return this}},_toggle:e.fn.toggle,toggle:function(c,f){var j=typeof c==="boolean";return e.isFunction(c)&&
e.isFunction(f)?this._toggle.apply(this,arguments):c==null||j?this.each(function(){var m=j?c:e(this).is(":hidden");e(this)[m?"show":"hide"]()}):this.animate(ea("toggle",3),c,f)},fadeTo:function(c,f,j){return this.animate({opacity:f},c,j)},animate:function(c,f,j,m){var x=e.speed(f,j,m);return this[x.queue===false?"each":"queue"](function(){var E=e.extend({},x),t,A=this.nodeType==1&&e(this).is(":hidden"),J=this;for(t in c){if(c[t]=="hide"&&A||c[t]=="show"&&!A)return E.complete.call(this);if((t=="height"||
t=="width")&&this.style){E.display=e.css(this,"display");E.overflow=this.style.overflow}}if(E.overflow!=null)this.style.overflow="hidden";E.curAnim=e.extend({},c);e.each(c,function(U,Z){var $=new e.fx(J,E,U);if(/toggle|show|hide/.test(Z))$[Z=="toggle"?A?"show":"hide":Z](c);else{var ba=Z.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),X=$.cur(true)||0;if(ba){Z=parseFloat(ba[2]);var fa=ba[3]||"px";if(fa!="px"){J.style[U]=(Z||1)+fa;X=(Z||1)/$.cur(true)*X;J.style[U]=X+fa}if(ba[1])Z=(ba[1]=="-="?-1:1)*Z+
X;$.custom(X,Z,fa)}else $.custom(X,Z,"")}});return true})},stop:function(c,f){var j=e.timers;c&&this.queue([]);this.each(function(){for(var m=j.length-1;m>=0;m--)if(j[m].elem==this){f&&j[m](true);j.splice(m,1)}});f||this.dequeue();return this}});e.each({slideDown:ea("show",1),slideUp:ea("hide",1),slideToggle:ea("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(c,f){e.fn[c]=function(j,m){return this.animate(f,j,m)}});e.extend({speed:function(c,f,j){var m=typeof c==="object"?c:
{complete:j||!j&&f||e.isFunction(c)&&c,duration:c,easing:j&&f||f&&!e.isFunction(f)&&f};m.duration=e.fx.off?0:typeof m.duration==="number"?m.duration:e.fx.speeds[m.duration]||e.fx.speeds._default;m.old=m.complete;m.complete=function(){m.queue!==false&&e(this).dequeue();e.isFunction(m.old)&&m.old.call(this)};return m},easing:{linear:function(c,f,j,m){return j+m*c},swing:function(c,f,j,m){return(-Math.cos(c*Math.PI)/2+0.5)*m+j}},timers:[],fx:function(c,f,j){this.options=f;this.elem=c;this.prop=j;if(!f.orig)f.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,
f,j){this.startTime=y();this.start=c;this.end=f;this.unit=j||this.unit||"px";this.now=this.start;this.pos=this.state=0;var m=this;function x(E){return m.step(E)}x.elem=this.elem;if(x()&&e.timers.push(x)&&!ca)ca=setInterval(function(){for(var E=e.timers,t=0;t<E.length;t++)E[t]()||E.splice(t--,1);if(!E.length){clearInterval(ca);ca=d}},13)},show:function(){this.options.orig[this.prop]=e.attr(this.elem.style,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.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(c){var f=y();if(c||f>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();c=this.options.curAnim[this.prop]=true;for(var j in this.options.curAnim)if(this.options.curAnim[j]!==true)c=false;if(c){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=
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 m in this.options.curAnim)e.attr(this.elem.style,m,this.options.orig[m]);this.options.complete.call(this.elem)}return false}else{j=f-this.startTime;this.state=j/this.options.duration;this.pos=e.easing[this.options.easing||(e.easing.swing?"swing":"linear")](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,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(c){e.attr(c.elem.style,"opacity",c.now)},_default:function(c){if(c.elem.style&&c.elem.style[c.prop]!=null)c.elem.style[c.prop]=c.now+c.unit;else c.elem[c.prop]=c.now}}});e.fn.offset=document.documentElement.getBoundingClientRect?function(){if(!this[0])return{top:0,left:0};if(this[0]===this[0].ownerDocument.body)return e.offset.bodyOffset(this[0]);var c=this[0].getBoundingClientRect(),
f=this[0].ownerDocument,j=f.body;f=f.documentElement;var m=f.clientTop||j.clientTop||0,x=f.clientLeft||j.clientLeft||0;m=c.top+(self.pageYOffset||e.boxModel&&f.scrollTop||j.scrollTop)-m;c=c.left+(self.pageXOffset||e.boxModel&&f.scrollLeft||j.scrollLeft)-x;return{top:m,left:c}}:function(){if(!this[0])return{top:0,left:0};if(this[0]===this[0].ownerDocument.body)return e.offset.bodyOffset(this[0]);e.offset.initialized||e.offset.initialize();var c=this[0],f=c.offsetParent,j=c.ownerDocument,m,x=j.documentElement,
E=j.body;j=j.defaultView;m=j.getComputedStyle(c,null);for(var t=c.offsetTop,A=c.offsetLeft;(c=c.parentNode)&&c!==E&&c!==x;){m=j.getComputedStyle(c,null);t-=c.scrollTop;A-=c.scrollLeft;if(c===f){t+=c.offsetTop;A+=c.offsetLeft;if(e.offset.doesNotAddBorder&&!(e.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(c.tagName))){t+=parseInt(m.borderTopWidth,10)||0;A+=parseInt(m.borderLeftWidth,10)||0}f=c.offsetParent}if(e.offset.subtractsBorderForOverflowNotVisible&&m.overflow!=="visible"){t+=parseInt(m.borderTopWidth,
10)||0;A+=parseInt(m.borderLeftWidth,10)||0}m=m}if(m.position==="relative"||m.position==="static"){t+=E.offsetTop;A+=E.offsetLeft}if(m.position==="fixed"){t+=Math.max(x.scrollTop,E.scrollTop);A+=Math.max(x.scrollLeft,E.scrollLeft)}return{top:t,left:A}};e.offset={initialize:function(){if(!this.initialized){var c=document.body,f=document.createElement("div"),j,m,x,E=c.style.marginTop;x='<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>';
j={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(m in j)f.style[m]=j[m];f.innerHTML=x;c.insertBefore(f,c.firstChild);j=f.firstChild;m=j.firstChild;x=j.nextSibling.firstChild.firstChild;this.doesNotAddBorder=m.offsetTop!==5;this.doesAddBorderForTableAndCells=x.offsetTop===5;j.style.overflow="hidden";j.style.position="relative";this.subtractsBorderForOverflowNotVisible=m.offsetTop===-5;c.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=
c.offsetTop===0;c.style.marginTop=E;c.removeChild(f);this.initialized=true}},bodyOffset:function(c){e.offset.initialized||e.offset.initialize();var f=c.offsetTop,j=c.offsetLeft;if(e.offset.doesNotIncludeMarginInBodyOffset){f+=parseInt(e.curCSS(c,"marginTop",true),10)||0;j+=parseInt(e.curCSS(c,"marginLeft",true),10)||0}return{top:f,left:j}}};e.fn.extend({position:function(){var c;if(this[0]){c=this.offsetParent();var f=this.offset(),j=/^body|html$/i.test(c[0].tagName)?{top:0,left:0}:c.offset();f.top-=
O(this,"marginTop");f.left-=O(this,"marginLeft");j.top+=O(c,"borderTopWidth");j.left+=O(c,"borderLeftWidth");c={top:f.top-j.top,left:f.left-j.left}}return c},offsetParent:function(){for(var c=this[0].offsetParent||document.body;c&&!/^body|html$/i.test(c.tagName)&&e.css(c,"position")=="static";)c=c.offsetParent;return e(c)}});e.each(["Left","Top"],function(c,f){var j="scroll"+f;e.fn[j]=function(m){if(!this[0])return null;return m!==d?this.each(function(){this==b||this==document?b.scrollTo(!c?m:e(b).scrollLeft(),
c?m:e(b).scrollTop()):(this[j]=m)}):this[0]==b||this[0]==document?self[c?"pageYOffset":"pageXOffset"]||e.boxModel&&document.documentElement[j]||document.body[j]:this[0][j]}});e.each(["Height","Width"],function(c,f){var j=f.toLowerCase();e.fn["inner"+f]=function(){return this[0]?e.css(this[0],j,false,"padding"):null};e.fn["outer"+f]=function(x){return this[0]?e.css(this[0],j,false,x?"margin":"border"):null};var m=f.toLowerCase();e.fn[m]=function(x){return this[0]==b?document.compatMode=="CSS1Compat"&&
document.documentElement["client"+f]||document.body["client"+f]:this[0]==document?Math.max(document.documentElement["client"+f],document.body["scroll"+f],document.documentElement["scroll"+f],document.body["offset"+f],document.documentElement["offset"+f]):x===d?this.length?e.css(this[0],m):null:this.css(m,typeof x==="string"?x:x+"px")}})})();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/>").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 d=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]&&d.append("<br>").append(jQuery("<span>").addClass("autocompleteSupplemental").text("Member Since "+b[1]));d.append(jQuery("<span>").addClass("autocompleteId").hide().text(b[4]));return d.html()};
WikispacesAutocomplete.findValue=function(b,d){jQuery(b.input).hasClass("autocompletePage")||jQuery(b.input).hasClass("autocompleteSpace")||jQuery(b.input).hasClass("autocompleteInstance")||jQuery(b.input).hasClass("autocompleteTag");d==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(d).find(".autocompleteId").text())};
WikispacesAutocomplete.emptyValue=function(b){jQuery(b.input).removeClass("ac_match").removeClass("ac_nomatch")};WikispacesAutocomplete.selectItem=function(b,d){jQuery(b.input).addClass("ac_match").removeClass("ac_nomatch");var g=jQuery(b.input).nextAll("input.autocompleteData:first").eq(0);if(g.length){jQuery(b.input).val(jQuery(d).children(":first").text());g.val(jQuery(d).find(".autocompleteId").text())}b.input.focus()};
WikispacesAutocomplete.initAutocomplete=function(b){var d={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"));d.minChars=3}var g;if(jQuery(b).is(".autocompleteSpace")){d.formatItem=WikispacesAutocomplete.formatSpaceItem;g="/space/autocomplete/space"}if(jQuery(b).is(".autocompleteInstance")){d.formatItem=WikispacesAutocomplete.formatInstanceItem;g="/space/autocomplete/instance"}if(jQuery(b).is(".autocompleteTag")){d.formatItem=WikispacesAutocomplete.formatTagItem;g="/space/autocomplete/tag"}if(jQuery(b).is(".autocompletePage")){d.formatItem=WikispacesAutocomplete.formatPageItem;
g="/space/autocomplete/page"}jQuery(b).autocomplete(g,d);jQuery(b).keydown(function(s){if(s.keyCode!=13&&s.keyCode!=9&&(s.keyCode<37||s.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 d=b.input.value,g=WikispacesAutocomplete.getValue(b),s=false;jQuery("."+b.options.resultsClass+" li").each(function(){var e=jQuery(this).text(),q=jQuery(this).text(),l=jQuery(this).find(".autocompleteId");if(l.length){e=jQuery(this).children(":first").text();q=l.text()}if(e==d&&q!=g){WikispacesAutocomplete.selectItem(b,this);s=
true}else if(e==d&&q==g){jQuery(b.input).addClass("ac_match").removeClass("ac_nomatch");s=true}});if(s==false){jQuery(b.input).nextAll("input.autocompleteData:first").val("");jQuery(b.input).removeClass("ac_match").addClass("ac_nomatch")}};WikispacesAutocomplete.getValue=function(b){var d=b.input;b=jQuery(d).val();d=jQuery(d).nextAll("input.autocompleteData:first").eq(0);if(d.length)b=d.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,d,g){var s=jQuery(b).closest("form").attr("action","/site/bulk");jQuery("<input>").attr({type:"hidden",name:"operation",value:d}).appendTo(s);jQuery.each(g,function(q,l){jQuery("<input>").attr({type:"hidden",name:"params["+q+"]",value:l}).appendTo(s)});for(var e in WikispacesCOB.cobChecks)jQuery("<input>").attr("type","hidden").addClass("cobId").attr("name","cobCheck[]").val(e).appendTo(s);if(!s.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(s);s.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 d=jQuery(b).find(".selections");if(WikispacesCOB.cobChecksCount<=0)d.hide();else{d.find(".selectionCount").text(WikispacesCOB.cobChecksCount);if(WikispacesCOB.cobChecksCount==1){d.find(".selectionPlural").hide();d.find(".selectionSingular").show()}else{d.find(".selectionSingular").hide();d.find(".selectionPlural").show()}d.show().find("span").css("color","#F00").animate({color:"#000"},2000);b=b.find("table.cob");b.find("input.cobSelectAll").attr("checked",
!b.find("input.cobCheck:not(:checked):first").length)}};WikispacesCOB.checkBox=function(b,d){b=jQuery(b);WikispacesCOB.highlightRow(b,d);if(d&&!WikispacesCOB.cobChecks[b.val()]){WikispacesCOB.cobChecks[b.val()]=1;WikispacesCOB.cobChecksCount++}if(!d&&WikispacesCOB.cobChecks[b.val()]){delete WikispacesCOB.cobChecks[b.val()];WikispacesCOB.cobChecksCount--}};
WikispacesCOB.highlightRow=function(b,d){b=jQuery(b);b=b.closest("tr");b.toggleClass("hl",d);if(b.is(".topHalfRow"))for(b=b.next("tr:first");b.length;b=b.next("tr:first")){b.toggleClass("hl",d);if(b.is(".bottomHalfRow"))break}};
WikispacesCOB.makeCallback=function(b,d){d=d||WikispacesCOB.defaultCallback;return function(g){var s=jQuery("#"+b);d(s,g);s=jQuery("#"+b);WikispacesCOB.setCheckboxes(s.find(".cob"));s.find(".w_sort, .pagerLink").click(function(e){if(!WikispacesTags.promptForOpenInputs(e))return false;jQuery("#"+b).addClass("loading");trackFileLink(this.href);e.preventDefault();return false}).jssm("click")}};
WikispacesCOB.defaultCallback=function(b,d){b.html(d).removeClass("loading");b.find("th:first").is(":inView")||jQuery.scrollTo(b,{axis:"y"})};
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 d=
jQuery(this).closest(".cobWrapper");d.find("input[type=checkbox].cobCheck").attr("checked",false).each(function(){WikispacesCOB.highlightRow(this,false)});d.find(".cobSelectAll").attr("checked",false);WikispacesCOB.cobChecksCount=0;WikispacesCOB.cobChecks={};WikispacesCOB.updateSelections(d);b.preventDefault()});jQuery(".cobSelectAll").live("click",function(){var b=jQuery(this).attr("checked"),d=jQuery(this).closest(".cobWrapper");d.find("input[type=checkbox].cobCheck").attr("checked",b).each(function(){WikispacesCOB.checkBox(this,
b)});WikispacesCOB.updateSelections(d)});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,d){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(g){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(d!=currentId){jQuery("#w_gs_n"+currentId).removeClass("navhl");
jQuery("#w_gs_"+currentSection+"-"+currentId).hide()}jQuery("#w_gs_n"+d).addClass("navhl");jQuery("#w_gs_"+b+"-"+d).show();parseInt(d)==currentSectionCount?jQuery("#w_gs_next").hide():jQuery("#w_gs_next").show();currentId=d;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(d){loadGettingStarted(b);d.w.show();hideOverlappingEmbeds(d.w)},onHide:function(d){d.w.effect("transfer",{to:".WikispacesHelpTrigger",className:"jqmTransfer"},1000);d.w.hide();d.o.remove();hideOverlappingEmbeds(d.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(d){helpStack.length==0&&loadHelp(b);d.w.show();hideOverlappingEmbeds(d.w)},onHide:function(d){d.w.effect("transfer",{to:".WikispacesHelpTrigger",className:"jqmTransfer"},1000);d.w.hide();d.o.remove();hideOverlappingEmbeds(d.w)}})}
function loadGettingStarted(b){jQuery("#WikispacesHelpControls").hide();jQuery("#WikispacesHelpContent").hide();jQuery("#WikispacesGettingStartedControls").show();jQuery("#WikispacesGettingStartedContent").show();var d="/site/helpcontent/none?mode=gettingstarted"+b;jQuery.ajaxq("help",{url:d,type:"GET",dataType:"html",success:function(g,s){jQuery("#WikispacesGettingStartedContent").html(g);reloadSessionSuccess()},error:function(g,s,e){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 d=document.location.protocol+"//"+document.location.hostname;if(b.substring(0,d.length)==d&&b.substr(d.length,6)=="/Help.")b=b.substr(d.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 g="";if(b.indexOf("#")>0){g=b.substr(b.indexOf("#")+1);b=b.substr(0,b.indexOf("#"))}if(b==helpStack[helpStack.length])g?jQuery("#WikispacesHelpContent").scrollTo(jQuery("#WikispacesHelpContent a[name='"+g+"']")):jQuery("#WikispacesHelpContent").scrollTop(0);else{d="/site/helpcontent/"+b;jQuery.ajaxq("help",{url:d,type:"GET",dataType:"html",success:function(s,
e){reloadSessionSuccess();jQuery("#WikispacesHelpContent").html(s);fixHelpContent(jQuery("#WikispacesHelpContent"));generateHelpToc(jQuery("#WikispacesHelpContent"));attachNavigation(jQuery("#WikispacesHelpContent"));helpStack.push(b);showBreadcrumbs();jQuery("#WikispacesHelpBreadcrumbSpinner").hide();g?jQuery("#WikispacesHelpContent").scrollTo(jQuery("#WikispacesHelpContent a[name='"+g+"']")):jQuery("#WikispacesHelpContent").scrollTop(0)},error:function(s,e,q){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 d=helpStack[b],g=getHelpPageText(d);d=jQuery("#WikispacesHelpBreadcrumbs span:last");g='<span class="WikispacesHelpBreadcrumb"> &gt; <a href="#" onclick="return gotoBreadcrumb(\''+b+"');\">"+g+"</a></span>";d.after(" "+g)}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 d=helpStack[b],g=helpStack.length;g>b;g--)helpStack.pop();loadHelp(d);return false}
function generateHelpToc(b){var d=jQuery('<div id="toc"><h1 class="nopad">Table of Contents</h1></div>');b.find("h1,h2,h3,h4,h5,h6").each(function(){var g=jQuery('<a href="#">'+jQuery(this).text()+"</a>"),s=jQuery(this);g.click(function(q){jQuery("#WikispacesHelpContent").scrollTo(s,300);q.preventDefault()});var e=jQuery('<div style="margin-left: '+this.tagName.substr(1,2)+'em;"></div>');e.append(g);d.append(e)});b.prepend(d)}
function fixHelpContent(b){jQuery(b).find("a").each(function(){var d=jQuery(this);d.unbind();d.click(function(g){loadHelp(d.attr("href"))&&g.preventDefault()})});jQuery(b).find("div.includeBody").each(function(){var d=jQuery(this);wikispaces_isMain&&d.attr("class").indexOf(".PL.")>0&&d.remove();!wikispaces_isMain&&d.attr("class").indexOf(".Wikispaces.")>0&&d.remove()});jQuery(b).find("img").each(function(){var d=jQuery(this);d.attr("src",d.attr("src").replace(/^\//,window.location.protocol+"//help."+
wikispaces_domain+"/"))})}
jQuery.effects||function(b){b.effects={version:"1.7.1",save:function(q,l){for(var w=0;w<l.length;w++)l[w]!==null&&q.data("ec.storage."+l[w],q[0].style[l[w]])},restore:function(q,l){for(var w=0;w<l.length;w++)l[w]!==null&&q.css(l[w],q.data("ec.storage."+l[w]))},setMode:function(q,l){if(l=="toggle")l=q.is(":hidden")?"show":"hide";return l},getBaseline:function(q,l){var w;switch(q[0]){case "top":w=0;break;case "middle":w=0.5;break;case "bottom":w=1;break;default:w=q[0]/l.height}switch(q[1]){case "left":q=0;
break;case "center":q=0.5;break;case "right":q=1;break;default:q=q[1]/l.width}return{x:q,y:w}},createWrapper:function(q){if(q.parent().is(".ui-effects-wrapper"))return q.parent();var l={width:q.outerWidth(true),height:q.outerHeight(true),"float":q.css("float")};q.wrap('<div class="ui-effects-wrapper" style="font-size:100%;background:transparent;border:none;margin:0;padding:0"></div>');var w=q.parent();if(q.css("position")=="static"){w.css({position:"relative"});q.css({position:"relative"})}else{var y=
q.css("top");if(isNaN(parseInt(y,10)))y="auto";var r=q.css("left");if(isNaN(parseInt(r,10)))r="auto";w.css({position:q.css("position"),top:y,left:r,zIndex:q.css("z-index")}).show();q.css({position:"relative",top:0,left:0})}w.css(l);return w},removeWrapper:function(q){if(q.parent().is(".ui-effects-wrapper"))return q.parent().replaceWith(q);return q},setTransition:function(q,l,w,y){y=y||{};b.each(l,function(r,B){unit=q.cssUnit(B);if(unit[0]>0)y[B]=unit[0]*w+unit[1]});return y},animateClass:function(q,
l,w,y){var r=typeof w=="function"?w:y?y:null,B=typeof w=="string"?w:null;return this.each(function(){var K={},D=b(this),O=D.attr("style")||"";if(typeof O=="object")O=O.cssText;if(q.toggle)D.hasClass(q.toggle)?(q.remove=q.toggle):(q.add=q.toggle);var L=b.extend({},document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle);q.add&&D.addClass(q.add);q.remove&&D.removeClass(q.remove);var Q=b.extend({},document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle);
q.add&&D.removeClass(q.add);q.remove&&D.addClass(q.remove);for(var S in Q)if(typeof Q[S]!="function"&&Q[S]&&S.indexOf("Moz")==-1&&S.indexOf("length")==-1&&Q[S]!=L[S]&&(S.match(/color/i)||!S.match(/color/i)&&!isNaN(parseInt(Q[S],10)))&&(L.position!="static"||L.position=="static"&&!S.match(/left|top|bottom|right/)))K[S]=Q[S];D.animate(K,l,B,function(){if(typeof b(this).attr("style")=="object"){b(this).attr("style").cssText="";b(this).attr("style").cssText=O}else b(this).attr("style",O);q.add&&b(this).addClass(q.add);
q.remove&&b(this).removeClass(q.remove);r&&r.apply(this,arguments)})})}};function d(q,l){var w=q[1]&&q[1].constructor==Object?q[1]:{};if(l)w.mode=l;l=q[1]&&q[1].constructor!=Object?q[1]:w.duration?w.duration:q[2];l=b.fx.off?0:typeof l==="number"?l:b.fx.speeds[l]||b.fx.speeds._default;var y=w.callback||b.isFunction(q[1])&&q[1]||b.isFunction(q[2])&&q[2]||b.isFunction(q[3])&&q[3];return[q[0],w,l,y]}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(q,l,w,y){return b.effects[q]?b.effects[q].call(this,{method:q,options:l||{},duration:w,callback:y}):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,d(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,
d(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,d(arguments,"toggle"))},addClass:function(q,l,w,y){return l?b.effects.animateClass.apply(this,[{add:q},l,w,y]):this._addClass(q)},removeClass:function(q,l,w,y){return l?b.effects.animateClass.apply(this,[{remove:q},l,w,y]):this._removeClass(q)},toggleClass:function(q,l,w,
y){return typeof l!=="boolean"&&l?b.effects.animateClass.apply(this,[{toggle:q},l,w,y]):this._toggleClass(q,l)},morph:function(q,l,w,y,r){return b.effects.animateClass.apply(this,[{add:l,remove:q},w,y,r])},switchClass:function(){return this.morph.apply(this,arguments)},cssUnit:function(q){var l=this.css(q),w=[];b.each(["em","px","%","pt"],function(y,r){if(l.indexOf(r)>0)w=[parseFloat(l),r]});return w}});b.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor",
"color","outlineColor"],function(q,l){b.fx.step[l]=function(w){if(w.state==0){w.start=s(w.elem,l);w.end=g(w.end)}w.elem.style[l]="rgb("+[Math.max(Math.min(parseInt(w.pos*(w.end[0]-w.start[0])+w.start[0],10),255),0),Math.max(Math.min(parseInt(w.pos*(w.end[1]-w.start[1])+w.start[1],10),255),0),Math.max(Math.min(parseInt(w.pos*(w.end[2]-w.start[2])+w.start[2],10),255),0)].join(",")+")"}});function g(q){var l;if(q&&q.constructor==Array&&q.length==3)return q;if(l=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(q))return[parseInt(l[1],
10),parseInt(l[2],10),parseInt(l[3],10)];if(l=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(q))return[parseFloat(l[1])*2.55,parseFloat(l[2])*2.55,parseFloat(l[3])*2.55];if(l=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(q))return[parseInt(l[1],16),parseInt(l[2],16),parseInt(l[3],16)];if(l=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(q))return[parseInt(l[1]+l[1],16),parseInt(l[2]+l[2],16),parseInt(l[3]+l[3],16)];if(/rgba\(0, 0, 0, 0\)/.exec(q))return e.transparent;
return e[b.trim(q).toLowerCase()]}function s(q,l){var w;do{w=b.curCSS(q,l);if(w!=""&&w!="transparent"||b.nodeName(q,"body"))break;l="backgroundColor"}while(q=q.parentNode);return g(w)}var e={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(q,l,w,y,r){return b.easing[b.easing.def](q,l,w,y,r)},easeInQuad:function(q,l,w,y,r){return y*(l/=r)*l+w},easeOutQuad:function(q,l,w,y,r){return-y*(l/=r)*(l-2)+w},easeInOutQuad:function(q,l,w,y,r){if((l/=r/2)<1)return y/2*l*l+w;return-y/2*(--l*(l-2)-1)+w},easeInCubic:function(q,l,w,y,r){return y*(l/=r)*l*l+w},easeOutCubic:function(q,l,w,y,r){return y*
((l=l/r-1)*l*l+1)+w},easeInOutCubic:function(q,l,w,y,r){if((l/=r/2)<1)return y/2*l*l*l+w;return y/2*((l-=2)*l*l+2)+w},easeInQuart:function(q,l,w,y,r){return y*(l/=r)*l*l*l+w},easeOutQuart:function(q,l,w,y,r){return-y*((l=l/r-1)*l*l*l-1)+w},easeInOutQuart:function(q,l,w,y,r){if((l/=r/2)<1)return y/2*l*l*l*l+w;return-y/2*((l-=2)*l*l*l-2)+w},easeInQuint:function(q,l,w,y,r){return y*(l/=r)*l*l*l*l+w},easeOutQuint:function(q,l,w,y,r){return y*((l=l/r-1)*l*l*l*l+1)+w},easeInOutQuint:function(q,l,w,y,r){if((l/=
r/2)<1)return y/2*l*l*l*l*l+w;return y/2*((l-=2)*l*l*l*l+2)+w},easeInSine:function(q,l,w,y,r){return-y*Math.cos(l/r*(Math.PI/2))+y+w},easeOutSine:function(q,l,w,y,r){return y*Math.sin(l/r*(Math.PI/2))+w},easeInOutSine:function(q,l,w,y,r){return-y/2*(Math.cos(Math.PI*l/r)-1)+w},easeInExpo:function(q,l,w,y,r){return l==0?w:y*Math.pow(2,10*(l/r-1))+w},easeOutExpo:function(q,l,w,y,r){return l==r?w+y:y*(-Math.pow(2,-10*l/r)+1)+w},easeInOutExpo:function(q,l,w,y,r){if(l==0)return w;if(l==r)return w+y;if((l/=
r/2)<1)return y/2*Math.pow(2,10*(l-1))+w;return y/2*(-Math.pow(2,-10*--l)+2)+w},easeInCirc:function(q,l,w,y,r){return-y*(Math.sqrt(1-(l/=r)*l)-1)+w},easeOutCirc:function(q,l,w,y,r){return y*Math.sqrt(1-(l=l/r-1)*l)+w},easeInOutCirc:function(q,l,w,y,r){if((l/=r/2)<1)return-y/2*(Math.sqrt(1-l*l)-1)+w;return y/2*(Math.sqrt(1-(l-=2)*l)+1)+w},easeInElastic:function(q,l,w,y,r){q=1.70158;var B=0,K=y;if(l==0)return w;if((l/=r)==1)return w+y;B||(B=r*0.3);if(K<Math.abs(y)){K=y;q=B/4}else q=B/(2*Math.PI)*Math.asin(y/
K);return-(K*Math.pow(2,10*(l-=1))*Math.sin((l*r-q)*2*Math.PI/B))+w},easeOutElastic:function(q,l,w,y,r){q=1.70158;var B=0,K=y;if(l==0)return w;if((l/=r)==1)return w+y;B||(B=r*0.3);if(K<Math.abs(y)){K=y;q=B/4}else q=B/(2*Math.PI)*Math.asin(y/K);return K*Math.pow(2,-10*l)*Math.sin((l*r-q)*2*Math.PI/B)+y+w},easeInOutElastic:function(q,l,w,y,r){q=1.70158;var B=0,K=y;if(l==0)return w;if((l/=r/2)==2)return w+y;B||(B=r*0.3*1.5);if(K<Math.abs(y)){K=y;q=B/4}else q=B/(2*Math.PI)*Math.asin(y/K);if(l<1)return-0.5*
K*Math.pow(2,10*(l-=1))*Math.sin((l*r-q)*2*Math.PI/B)+w;return K*Math.pow(2,-10*(l-=1))*Math.sin((l*r-q)*2*Math.PI/B)*0.5+y+w},easeInBack:function(q,l,w,y,r,B){if(B==undefined)B=1.70158;return y*(l/=r)*l*((B+1)*l-B)+w},easeOutBack:function(q,l,w,y,r,B){if(B==undefined)B=1.70158;return y*((l=l/r-1)*l*((B+1)*l+B)+1)+w},easeInOutBack:function(q,l,w,y,r,B){if(B==undefined)B=1.70158;if((l/=r/2)<1)return y/2*l*l*(((B*=1.525)+1)*l-B)+w;return y/2*((l-=2)*l*(((B*=1.525)+1)*l+B)+2)+w},easeInBounce:function(q,
l,w,y,r){return y-b.easing.easeOutBounce(q,r-l,0,y,r)+w},easeOutBounce:function(q,l,w,y,r){return(l/=r)<1/2.75?y*7.5625*l*l+w:l<2/2.75?y*(7.5625*(l-=1.5/2.75)*l+0.75)+w:l<2.5/2.75?y*(7.5625*(l-=2.25/2.75)*l+0.9375)+w:y*(7.5625*(l-=2.625/2.75)*l+0.984375)+w},easeInOutBounce:function(q,l,w,y,r){if(l<r/2)return b.easing.easeInBounce(q,l*2,0,y,r)*0.5+w;return b.easing.easeOutBounce(q,l*2-r,0,y,r)*0.5+y*0.5+w}})}(jQuery);
jQuery.ui||function(b){var d=b.fn.remove,g=b.browser.mozilla&&parseFloat(b.browser.version)<1.9;b.ui={version:"1.7.1",plugin:{add:function(r,B,K){r=b.ui[r].prototype;for(var D in K){r.plugins[D]=r.plugins[D]||[];r.plugins[D].push([B,K[D]])}},call:function(r,B,K){if((B=r.plugins[B])&&r.element[0].parentNode)for(var D=0;D<B.length;D++)r.options[B[D][0]]&&B[D][1].apply(r.element,K)}},contains:function(r,B){return document.compareDocumentPosition?r.compareDocumentPosition(B)&16:r!==B&&r.contains(B)},
hasScroll:function(r,B){if(b(r).css("overflow")=="hidden")return false;B=B&&B=="left"?"scrollLeft":"scrollTop";var K=false;if(r[B]>0)return true;r[B]=1;K=r[B]>0;r[B]=0;return K},isOverAxis:function(r,B,K){return r>B&&r<B+K},isOver:function(r,B,K,D,O,L){return b.ui.isOverAxis(r,K,O)&&b.ui.isOverAxis(B,D,L)},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(g){var s=b.attr,e=b.fn.removeAttr,q="http://www.w3.org/2005/07/aaa",l=/^aria-/,w=/^wairole:/;b.attr=function(r,B,K){var D=K!==undefined;return B=="role"?D?s.call(this,r,B,"wairole:"+K):(s.apply(this,arguments)||"").replace(w,""):l.test(B)?D?r.setAttributeNS(q,B.replace(l,"aaa:"),K):s.call(this,r,B.replace(l,"aaa:")):s.apply(this,arguments)};b.fn.removeAttr=function(r){return l.test(r)?
this.each(function(){this.removeAttributeNS(q,r.replace(l,""))}):e.call(this,r)}}b.fn.extend({remove:function(){b("*",this).add(this).each(function(){b(this).triggerHandler("remove")});return d.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,B,K){return!!b.data(r,K[3])},focusable:function(r){var B=r.nodeName.toLowerCase(),K=b.attr(r,"tabindex");return(/input|select|textarea|button|object/.test(B)?!r.disabled:"a"==B||"area"==B?r.href||!isNaN(K):!isNaN(K))&&!b(r)["area"==B?"parents":"closest"](":hidden").length},tabbable:function(r){var B=b.attr(r,"tabindex");return(isNaN(B)||B>=0)&&b(r).is(":focusable")}});function y(r,B,K,D){function O(Q){Q=b[r][B][Q]||[];return typeof Q==
"string"?Q.split(/,?\s+/):Q}var L=O("getter");if(D.length==1&&typeof D[0]=="string")L=L.concat(O("getterSetter"));return b.inArray(K,L)!=-1}b.widget=function(r,B){var K=r.split(".")[0];r=r.split(".")[1];b.fn[r]=function(D){var O=typeof D=="string",L=Array.prototype.slice.call(arguments,1);if(O&&D.substring(0,1)=="_")return this;if(O&&y(K,r,D,L)){var Q=b.data(this[0],r);return Q?Q[D].apply(Q,L):undefined}return this.each(function(){var S=b.data(this,r);!S&&!O&&b.data(this,r,new b[K][r](this,D))._init();
S&&O&&b.isFunction(S[D])&&S[D].apply(S,L)})};b[K]=b[K]||{};b[K][r]=function(D,O){var L=this;this.namespace=K;this.widgetName=r;this.widgetEventPrefix=b[K][r].eventPrefix||r;this.widgetBaseClass=K+"-"+r;this.options=b.extend({},b.widget.defaults,b[K][r].defaults,b.metadata&&b.metadata.get(D)[r],O);this.element=b(D).bind("setData."+r,function(Q,S,k){if(Q.target==D)return L._setData(S,k)}).bind("getData."+r,function(Q,S){if(Q.target==D)return L._getData(S)}).bind("remove",function(){return L.destroy()})};
b[K][r].prototype=b.extend({},b.widget.prototype,B);b[K][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,B){var K=r,D=this;if(typeof r=="string"){if(B===undefined)return this._getData(r);K={};K[r]=B}b.each(K,function(O,L){D._setData(O,L)})},_getData:function(r){return this.options[r]},_setData:function(r,
B){this.options[r]=B;if(r=="disabled")this.element[B?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",B)},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)},_trigger:function(r,B,K){var D=this.options[r];r=r==this.widgetEventPrefix?r:this.widgetEventPrefix+r;B=b.Event(B);B.type=r;if(B.originalEvent){r=b.event.props.length;for(var O;r;){O=b.event.props[--r];B[O]=B.originalEvent[O]}}this.element.trigger(B,
K);return!(b.isFunction(D)&&D.call(this.element[0],B,K)===false||B.isDefaultPrevented())}};b.widget.defaults={disabled:false};b.ui.mouse={_mouseInit:function(){var r=this;this.element.bind("mousedown."+this.widgetName,function(B){return r._mouseDown(B)}).bind("click."+this.widgetName,function(B){if(r._preventClickEvent){r._preventClickEvent=false;B.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 B=this,K=r.which==1,D=typeof this.options.cancel=="string"?b(r.target).parents().add(r.target).filter(this.options.cancel).length:false;if(!K||D||!this._mouseCapture(r))return true;
this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)this._mouseDelayTimer=setTimeout(function(){B.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(O){return B._mouseMove(O)};this._mouseUpDelegate=function(O){return B._mouseUp(O)};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(d){return this.queue(function(){var g=b(this),s=["backgroundImage","backgroundColor","opacity"],e=b.effects.setMode(g,d.options.mode||"show"),q=d.options.color||"#ffff99",l=g.css("backgroundColor");b.effects.save(g,s);g.show();g.css({backgroundImage:"none",backgroundColor:q});q={backgroundColor:l};if(e=="hide")q.opacity=0;g.animate(q,{queue:false,duration:d.duration,easing:d.options.easing,complete:function(){e=="hide"&&g.hide();b.effects.restore(g,s);e==
"show"&&b.browser.msie&&this.style.removeAttribute("filter");d.callback&&d.callback.apply(this,arguments);g.dequeue()}})})}})(jQuery);
(function(b){b.effects.transfer=function(d){return this.queue(function(){var g=b(this),s=b(d.options.to),e=s.offset();s={top:e.top,left:e.left,height:s.innerHeight(),width:s.innerWidth()};e=g.offset();var q=b('<div class="ui-effects-transfer"></div>').appendTo(document.body).addClass(d.options.className).css({top:e.top,left:e.left,height:g.innerHeight(),width:g.innerWidth(),position:"absolute"}).animate(s,d.duration,d.options.easing,function(){q.remove();d.callback&&d.callback.apply(g[0],arguments);
g.dequeue()})})}})(jQuery);
jQuery.ajaxq=function(b,d){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 d!="undefined"){var g={};for(var s in d)g[s]=d[s];d=g;var e=d.complete;d.complete=function(q,l){document.ajaxq.q[b].shift();document.ajaxq.r=null;document.ajaxq.rq=null;e&&e(q,l);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(d);if(document.ajaxq.q[b].length==
1){document.ajaxq.rq=b;document.ajaxq.r=jQuery.ajax(d)}}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 O={overlay:50,overlayClass:"jqmOverlay",closeClass:"jqmClose",trigger:".jqModal",ajax:q,ajaxText:"",target:q,modal:q,toTop:q,onShow:q,onHide:q,onLoad:q};return this.each(function(){if(this._jqm)return g[this._jqm].c=b.extend({},g[this._jqm].c,D);d++;this._jqm=d;g[d]={c:b.extend(O,b.jqm.params,D),a:q,w:b(this).addClass("jqmID"+d),s:d};O.trigger&&b(this).jqmAddTrigger(O.trigger)})};b.fn.jqmAddClose=function(D){return K(this,D,"jqmHide")};b.fn.jqmAddTrigger=function(D){return K(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,O){var L=g[D],Q=L.c,S="."+Q.closeClass,k=parseInt(L.w.css("z-index"));k=k>0?k:3000;var z=b("<div></div>").css({height:"100%",width:"100%",position:"fixed",left:0,top:0,"z-index":k-1,opacity:Q.overlay/100});if(L.a)return q;L.t=O;L.a=true;L.w.css("z-index",k);if(Q.modal){s[0]||
r("bind");s.push(D)}else if(Q.overlay>0)L.w.jqmAddClose(z);else z=q;L.o=z?z.addClass(Q.overlayClass).prependTo("body"):q;if(e){b("html,body").css({height:"100%",width:"100%"});if(z){z=z.css({position:"absolute"})[0];for(var H in{Top:1,Left:1})z.style.setExpression(H.toLowerCase(),"(_=(document.documentElement.scroll"+H+" || document.body.scroll"+H+"))+'px'")}}if(Q.ajax){D=Q.target||L.w;k=Q.ajax;D=typeof D=="string"?b(D,L.w):b(D);k=k.substr(0,1)=="@"?b(O).attr(k.substring(1)):k;D.html(Q.ajaxText).load(k,
function(){Q.onLoad&&Q.onLoad.call(this,L);S&&L.w.jqmAddClose(b(S,L.w));w(L)})}else S&&L.w.jqmAddClose(b(S,L.w));Q.toTop&&L.o&&L.w.before('<span id="jqmP'+L.w[0]._jqm+'"></span>').insertAfter(L.o);Q.onShow?Q.onShow(L):L.w.show();w(L);return q},close:function(D){D=g[D];if(!D.a)return q;D.a=q;if(s[0]){s.pop();s[0]||r("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 q},params:{}};var d=0,g=b.jqm.hash,s=[],e=b.browser.msie&&
b.browser.version=="6.0",q=false,l=b('<iframe src="javascript:false;document.write(\'\');" class="jqm"></iframe>').css({opacity:0});function w(D){if(e)if(D.o)D.o.html('<p style="width:100%;height:100%"/>').prepend(l);else b("iframe.jqm",D.w)[0]||D.w.prepend(l);y(D)}function y(D){try{b(":input:visible",D.w)[0].focus()}catch(O){}}function r(D){b()[D]("keypress",B)[D]("keydown",B)[D]("mousedown",B)}function B(D){var O=g[s[s.length-1]];(D=!b(D.target).parents(".jqmID"+O.s)[0])&&y(O);return!D}function K(D,
O,L){return D.each(function(){var Q=this._jqm;b(O).each(function(){if(!this[L]){this[L]=[];b(this).click(function(){for(var S in{jqmShow:1,jqmHide:1})for(var k in this[S])g[this[S][k]]&&g[this[S][k]].w[S](this);return q})}this[L].push(Q)})})}})(jQuery);
(function(b){jQuery.autocomplete=function(d,g){var s=this;this.options=g;this.input=d;var e=b(d).attr("autocomplete","off");g.inputClass&&e.addClass(g.inputClass);var q=document.createElement("div"),l=b(q);l.hide().addClass(g.resultsClass).css("position","absolute");g.width>0&&l.css("width",g.width);b("body").append(q);d.autocompleter=s;var w=null,y="",r=-1,B={},K=false,D=null;function O(){B={};B.data={};B.length=0}O();if(g.data!=null){s="";var L={},Q=[];if(typeof g.url!="string")g.cacheLength=1;
for(var S=0;S<g.data.length;S++){Q=typeof g.data[S]=="string"?[g.data[S]]:g.data[S];if(Q[0].length>0){s=Q[0].substring(0,1).toLowerCase();L[s]||(L[s]=[]);L[s].push(Q)}}for(var k in L){g.cacheLength++;x(k,L[k])}}e.keydown(function(t){D=t.keyCode;switch(t.keyCode){case 38:t.preventDefault();H(-1);break;case 40:t.preventDefault();H(1);break;case 9:case 13:if(h()){e.get(0).blur();t.preventDefault()}break;default:r=-1;w&&clearTimeout(w);w=setTimeout(function(){z()},g.delay);break}}).focus(function(){K=
true}).blur(function(){K=false;W()});V();function z(){if(D==46||D>8&&D<32)return l.hide();var t=e.val();if(t!=y){y=t;if(t.length>=g.minChars){e.addClass(g.loadingClass);c(t)}else{e.removeClass(g.loadingClass);l.hide()}}}function H(t){var A=b("li",q);if(A){r+=t;if(r<0)r=0;else if(r>=A.size())r=A.size()-1;A.removeClass("ac_over");b(A[r]).addClass("ac_over")}}function h(){var t=b("li.ac_over",q)[0];if(!t){var A=b("li",q);if(g.selectOnly){if(A.length==1)t=A[0]}else if(g.selectFirst)t=A[0]}if(t){C(t);
return true}else return false}function C(t){var A=e.get(0).autocompleter;if(!t){t=document.createElement("li");t.extra=[];t.selectValue=""}var J=b.trim(t.selectValue?t.selectValue:t.innerHTML);y=d.lastSelected=J;l.html("");e.val(J);V();g.onItemSelect&&setTimeout(function(){g.onItemSelect(A,t)},1)}function N(t,A){var J=e.get(0);if(J.createTextRange){var U=J.createTextRange();U.collapse(true);U.moveStart("character",t);U.moveEnd("character",A);U.select()}else if(J.setSelectionRange)J.setSelectionRange(t,
A);else if(J.selectionStart){J.selectionStart=t;J.selectionEnd=A}J.focus()}function P(t){if(D!=8){e.val(e.val()+t.substring(y.length));N(y.length,t.length)}}function F(){for(var t=d,A=0;t.tagName.toUpperCase()!="BODY";)if(b(t).css("z-index")!="auto"){A=b(t).css("z-index");break}else t=t.parentNode;t=E(d);var J=g.width>0?g.width:e.width();l.css({zIndex:A,width:parseInt(J)+"px",top:t.y+d.offsetHeight+"px",left:t.x+"px"}).show()}function W(){w&&clearTimeout(w);w=setTimeout(V,200)}function V(){w&&clearTimeout(w);
e.removeClass(g.loadingClass);l.is(":visible")&&l.hide();if(g.mustMatch){var t=e.val();t!=d.lastSelected&&C(null)}}function ca(t,A){if(A){e.removeClass(g.loadingClass);q.innerHTML="";if(!K||A.length==0)return V();b.browser.msie&&l.append(document.createElement("iframe"));q.appendChild(ea(A));g.autoFill&&e.val().toLowerCase()==t.toLowerCase()&&P(A[0][0]);F()}else V()}function T(t){if(!t)return null;var A=[];t=t.split(g.lineSeparator);for(var J=0;J<t.length;J++){var U=b.trim(t[J]);if(U)A[A.length]=
U.split(g.cellSeparator)}return A}function ea(t){var A=document.createElement("ul"),J=t.length;if(g.maxItemsToShow>0&&g.maxItemsToShow<J)J=g.maxItemsToShow;for(var U=0;U<J;U++){var Z=t[U];if(Z){var $=document.createElement("li");$.innerHTML=g.formatItem?g.formatItem(Z,U,J):Z[0];$.selectValue=Z[0];var ba=null;if(Z.length>1){ba=[];for(var X=1;X<Z.length;X++)ba[ba.length]=Z[X]}$.extra=ba;A.appendChild($);b($).hover(function(){b("li",A).removeClass("ac_over");b(this).addClass("ac_over");r=b("li",A).indexOf(b(this).get(0))},
function(){b(this).removeClass("ac_over")}).click(function(fa){fa.preventDefault();fa.stopPropagation();C(this)})}}return A}function c(t){g.matchCase||(t=t.toLowerCase());var A=g.cacheLength?j(t):null;if(A)ca(t,A);else if(typeof g.url=="string"&&g.url.length>0){b.ajaxq("autocomplete"+g.id);b.ajaxq("autocomplete"+g.id,{type:"GET",url:f(t),success:function(J){reloadSessionSuccess();J=T(J);x(t,J);ca(t,J)},error:function(){reloadSession(function(){c(t)},3000)}})}else e.removeClass(g.loadingClass)}function f(t){t=
g.url+"?q="+encodeURIComponent(t);for(var A in g.extraParams)t+="&"+A+"="+encodeURIComponent(g.extraParams[A]);return t}function j(t){if(!t)return null;if(B.data[t])return B.data[t];if(g.matchSubset)for(var A=t.length-1;A>=g.minChars;A--){var J=t.substr(0,A);if(J=B.data[J]){A=[];for(var U=0;U<J.length;U++){var Z=J[U],$=Z[0];if(m($,t))A[A.length]=Z}return A}}return null}function m(t,A){g.matchCase||(t=t.toLowerCase());t=t.indexOf(A);if(t==-1)return false;return t==0||g.matchContains}this.flushCache=
function(){O()};this.setExtraParams=function(t){g.extraParams=t};this.findValue=function(){var t=e.val(),A=this;if(t.length){g.matchCase||(t=t.toLowerCase());var J=g.cacheLength?j(t):null;if(J)this.findValueCallback(A,t,J);else if(typeof g.url=="string"&&g.url.length>0){b.ajaxq("autocomplete"+g.id);b.ajaxq("autocomplete"+g.id,{type:"GET",url:f(t),success:function(U){reloadSessionSuccess();U=T(U);x(t,U);A.findValueCallback(A,t,U)},error:function(){reloadSession(function(){A.findValue()},3000)}})}else this.findValueCallback(A,
t,null)}else g.onEmptyValue&&setTimeout(function(){g.onEmptyValue(A)},1)};this.findValueCallback=function(t,A,J){J&&e.removeClass(g.loadingClass);for(var U=J?J.length:0,Z=null,$=0;$<U;$++){var ba=J[$];if(ba[0].toLowerCase()==A.toLowerCase()){Z=document.createElement("li");Z.innerHTML=g.formatItem?g.formatItem(ba,$,U):ba[0];Z.selectValue=ba[0];var X=null;if(ba.length>1){X=[];for(var fa=1;fa<ba.length;fa++)X[X.length]=ba[fa]}Z.extra=X}}g.onFindValue&&setTimeout(function(){g.onFindValue(t,Z)},1)};function x(t,
A){if(!(!A||!t||!g.cacheLength)){if(!B.length||B.length>g.cacheLength){O();B.length++}else B[t]||B.length++;B.data[t]=A}}function E(t){for(var A=t.offsetLeft||0,J=t.offsetTop||0;t=t.offsetParent;){A+=t.offsetLeft;J+=t.offsetTop}return{x:A,y:J}}};jQuery.fn.autocomplete=function(d,g,s){g=g||{};g.url=d;g.data=typeof s=="object"&&s.constructor==Array?s:null;g.inputClass=g.inputClass||"ac_input";g.resultsClass=g.resultsClass||"ac_results";g.lineSeparator=g.lineSeparator||"\n";g.cellSeparator=g.cellSeparator||
"|";g.minChars=g.minChars||1;g.delay=g.delay||400;g.matchCase=g.matchCase||0;g.matchSubset=g.matchSubset||0;g.matchContains=g.matchContains||0;g.cacheLength=g.cacheLength||10;g.mustMatch=g.mustMatch||0;g.extraParams=g.extraParams||{};g.loadingClass=g.loadingClass||"ac_loading";g.selectFirst=g.selectFirst||false;g.selectOnly=g.selectOnly||false;g.maxItemsToShow=g.maxItemsToShow||-1;g.autoFill=g.autoFill||false;g.width=parseInt(g.width,10)||0;this.each(function(){var e=this;new jQuery.autocomplete(e,
g)});return this};jQuery.fn.autocompleteArray=function(d,g){return this.autocomplete(null,g,d)};jQuery.fn.indexOf=function(d){for(var g=0;g<this.length;g++)if(this[g]==d)return g;return-1}})(jQuery);
(function(b){var d=b.scrollTo=function(s,e,q){b(window).scrollTo(s,e,q)};d.defaults={axis:"xy",duration:parseFloat(b.fn.jquery)>=1.3?0:1};d.window=function(){return b(window)._scrollable()};b.fn._scrollable=function(){return this.map(function(){var s=this,e=!s.nodeName||b.inArray(s.nodeName.toLowerCase(),["iframe","#document","html","body"])!=-1;if(!e)return s;s=(s.contentWindow||s).document||s.ownerDocument||s;return b.browser.safari||s.compatMode=="BackCompat"?s.body:s.documentElement})};b.fn.scrollTo=
function(s,e,q){if(typeof e=="object"){q=e;e=0}if(typeof q=="function")q={onAfter:q};if(s=="max")s=9000000000;q=b.extend({},d.defaults,q);e=e||q.speed||q.duration;q.queue=q.queue&&q.axis.length>1;if(q.queue)e/=2;q.offset=g(q.offset);q.over=g(q.over);return this._scrollable().each(function(){var l=this,w=b(l),y=s,r,B={},K=w.is("html,body");switch(typeof y){case "number":case "string":if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(y)){y=g(y);break}y=b(y,this);case "object":if(y.is||y.style)r=(y=b(y)).offset()}b.each(q.axis.split(""),
function(O,L){var Q=L=="x"?"Left":"Top",S=Q.toLowerCase(),k="scroll"+Q,z=l[k],H=d.max(l,L);if(r){B[k]=r[S]+(K?0:z-w.offset()[S]);if(q.margin){B[k]-=parseInt(y.css("margin"+Q))||0;B[k]-=parseInt(y.css("border"+Q+"Width"))||0}B[k]+=q.offset[S]||0;if(q.over[S])B[k]+=y[L=="x"?"width":"height"]()*q.over[S]}else{L=y[S];B[k]=L.slice&&L.slice(-1)=="%"?parseFloat(L)/100*H:L}if(/^\d+$/.test(B[k]))B[k]=B[k]<=0?0:Math.min(B[k],H);if(!O&&q.queue){z!=B[k]&&D(q.onAfterFirst);delete B[k]}});D(q.onAfter);function D(O){w.animate(B,
e,q.easing,O&&function(){O.call(this,s,q)})}}).end()};d.max=function(s,e){var q=e=="x"?"Width":"Height";e="scroll"+q;if(!b(s).is("html,body"))return s[e]-b(s)[q.toLowerCase()]();q="client"+q;var l=s.ownerDocument.documentElement;s=s.ownerDocument.body;return Math.max(l[e],s[e])-Math.min(l[q],s[q])};function g(s){return typeof s=="object"?s:{top:s,left:s}}})(jQuery);
(function(b){b.fn.hoverIntent=function(d,g){var s={sensitivity:7,interval:100,timeout:0};s=b.extend(s,g?{over:d,out:g}:d);var e,q,l,w;function y(D){e=D.pageX;q=D.pageY}function r(D,O){O.hoverIntent_t=clearTimeout(O.hoverIntent_t);if(Math.abs(l-e)+Math.abs(w-q)<s.sensitivity){b(O).unbind("mousemove",y);O.hoverIntent_s=1;return s.over.apply(O,[D])}else{l=e;w=q;O.hoverIntent_t=setTimeout(function(){r(D,O)},s.interval)}}function B(D,O){O.hoverIntent_t=clearTimeout(O.hoverIntent_t);O.hoverIntent_s=0;return s.out.apply(O,
[D])}function K(D){for(var O=(D.type=="mouseover"?D.fromElement:D.toElement)||D.relatedTarget;O&&O!=this;)try{O=O.parentNode}catch(L){O=this}if(O==this)return false;var Q=jQuery.extend({},D),S=this;if(S.hoverIntent_t)S.hoverIntent_t=clearTimeout(S.hoverIntent_t);if(D.type=="mouseover"){l=Q.pageX;w=Q.pageY;b(S).bind("mousemove",y);if(S.hoverIntent_s!=1)S.hoverIntent_t=setTimeout(function(){r(Q,S)},s.interval)}else{b(S).unbind("mousemove",y);if(S.hoverIntent_s==1)S.hoverIntent_t=setTimeout(function(){B(Q,
S)},s.timeout)}}return this.mouseover(K).mouseout(K)}})(jQuery);
jQuery(function(b){b.fn.fcbkcomplete=function(d){return this.each(function(){function g(){s();l();q();e();L()}function s(){m.hide();m.attr("multiple","multiple");m.attr("name").indexOf("[]")==-1&&m.attr("name",m.attr("name")+"[]");h=b("<ul/>").attr("class","holder");m.after(h);N=b("<div/>").addClass("facebook-auto");N.append('<div class="default">'+H.complete_text+"</div>");if(c){N.append('<iframe class="ie6fix" scrolling="no" frameborder="0"></iframe>');f=N.children(".ie6fix")}C=b("<ul/>").attr("id",
x+"_feed");N.prepend(C);h.after(N)}function e(){m.children("option").not(j).removeAttr("selected").removeClass("selected");h.empty();b(j).attr("selected","selected").addClass("selected").each(function(E,t){t=b(t);w(t.text(),t.val(),true)});r(0);N.children(".default").show()}function q(){j=[];m.children("option.selected").each(function(){j[j.length]=this})}function l(){var E=H.filter_case?"":"i";m.children("option").each(function(t,A){A=b(A);t=new RegExp(V+"\\d+:"+WikispacesCommon.escapeRegExp(A.text())+
V,"g"+E);t=t.exec(ca);if(!t){F.push({caption:A.text(),value:A.val(),count:A.attr("count")});ca+=""+(F.length-1)+":"+A.text()+V}})}b(this).bind("addItem",function(E,t){w(t.title,t.value)});function w(E,t,A){E=b.trim(E);E=t=b.trim(t).toLowerCase();if(!E||!t)return false;b("<div/>").text(t).html();var J=h.find("li").filter(function(){return b(this).attr("rel")==t});if(J.length){b(J).effect("highlight",{},3000);b("#"+x+"_annoninput").children(".maininput").val("")}else{J=b("<a/>").attr({"class":"closebutton",
href:"#"}).click(function(){b(this).parent("li").fadeOut("fast",function(){y(b(this))});return false});b("<li/>").attr({"class":"bit-box",rel:t}).text(E).append(J).appendTo(h);if(!A){b("#"+x+"_annoninput").remove();var U;r(1);J=m.children("option").filter(function(){return b(this).val()==t});if(J.length){U=J;U.attr("selected","selected");U.hasClass("selected")||U.addClass("selected")}else U=b("<option/>").attr("value",t).attr("selected","selected").addClass("selected").text(E).appendTo(m);H.onselect.length&&
S(H.onselect,U)}h.children("li.bit-box.deleted").removeClass("deleted");C.hide();c&&f.hide()}}function y(E){if(H.onremove.length){var t=m.children("option[value="+E.attr("rel")+"]");S(H.onremove,t)}m.children("option[value="+E.attr("rel")+"]").removeAttr("selected");m.children("option[value="+E.attr("rel")+"]").removeClass("selected");E.remove();ea=0}function r(E){var t=b("<li/>").attr({"class":"bit-input",id:x+"_annoninput"}),A=b("<input/>").attr({type:"text","class":"maininput",size:"1"});h.append(t.append(A));
A.focus(function(){N.fadeIn("fast")});A.blur(function(){N.fadeOut("fast")});h.click(function(){A.focus();if(C.length&&A.val().length){C.show();N.children(".default").hide()}else{C.hide();c&&f.hide();N.children(".default").show()}});A.keypress(function(J){if(J.keyCode==13)return false;A.attr("size",A.val().length+1)});L();A.keyup(function(J){var U=z(A.val());if(!(J.keyCode==40||J.keyCode==38||J.keyCode==188&&!J.shiftKey&&H.comma_is_enter))if(U.length!=0){P=0;if(H.json_url)if(H.cache&&W){B(U);L()}else{b.ajaxq("fcbkcomplete");
b.ajaxq("fcbkcomplete",{url:H.json_url+"?tag="+encodeURIComponent(U),data:null,dataType:"json",type:"GET",success:function(Z){B(U,Z);W=true;L()}})}else{B(U);L()}N.children(".default").hide();C.show()}else{C.hide();c&&f.hide();N.children(".default").show()}});E&&setTimeout(function(){A.focus();N.children(".default").show()},1)}function B(E,t){C.html("");T=null;var A=H.filter_case?"":"i";if(!H.cache){F=[];ca=V}Q(E);t!=null&&t.length&&b.each(t,function(o,v){o=new RegExp(V+"\\d+:"+WikispacesCommon.escapeRegExp(v.caption)+
V,"g"+A);o=o.exec(ca);if(!o){F.push({caption:v.caption,value:v.value,count:v.count});ca+=""+(F.length-1)+":"+v.caption+V}});var J,U;try{J=new RegExp(V+"(\\d+):[^"+V+"]*?"+WikispacesCommon.escapeRegExp(E)+"[^"+V+"]*","g"+A);U=J.exec(ca)}catch(Z){}E=K(b("<div/>").text(E).html());t=H.maxshownitems<F.length?H.maxshownitems:F.length;for(var $="";U!=null&&t>0;){U=U[1];var ba=F[U],X=false,fa=ba.value;U=m.children("option").filter(function(){return b(this).val()==fa});if(H.filter_case&&H.filter_selected&&
U.hasClass("selected"))X=true;else!H.filter_case&&H.filter_selected&&m.find("option").each(function(){if(this.value.toLowerCase()==ba.value.toLowerCase()&&b(this).hasClass("selected"))X=true});if(!X){$+='<li rel="'+b("<div/>").text(ba.value).html().replace(/"/g,"&quot;")+'">'+E(b("<div/>").text(ba.caption).html())+(ba.count!=null?" ("+ba.count+")":"")+"</li>";P++;t--}U=J.exec(ca)}C.append($);if(H.firstselected){T=C.children("li:visible:first");T.addClass("auto-focus")}if(P>H.height){C.css({height:H.height*
24+"px",overflow:"auto"});c&&f.css({height:H.height*24+"px",width:C.width()+"px"}).show()}else{C.css("height","auto");c&&f.css({height:C.height()+"px",width:C.width()+"px"}).show()}}function K(E){var t=H.filter_case?"":"i",A=new RegExp("("+WikispacesCommon.escapeRegExp(E)+")",t);return function(J){return J.replace(A,"<em>$1</em>")}}function D(){C.children("li").mouseover(function(){C.children("li.auto-focus").removeClass("auto-focus");b(this).addClass("auto-focus");T=b(this)}).mouseout(function(){b(this).removeClass("auto-focus");
T=null})}function O(){C.children("li").unbind("mouseover").unbind("mouseout");C.mousemove(function(){C.unbind("mousemove");D()})}function L(){var E=b("#"+x+"_annoninput").children(".maininput");C.mousemove(function(){D();C.unbind("mousemove")});C.children("li").unbind("mousedown");C.children("li").mousedown(function(){var t=b(this);w(t.text(),t.attr("rel"));C.hide();c&&f.hide();N.hide()});E.unbind("keydown");E.keydown(function(t){t.keyCode!=8&&h.children("li.bit-box.deleted").removeClass("deleted");
var A=b.trim(E.val());if(t.keyCode==8&&A.length==0){C.hide();if(h.children("li.bit-box.deleted").length==0){h.children("li.bit-box:last").addClass("deleted");return false}else{if(ea)return;ea=1;h.children("li.bit-box.deleted").fadeOut("fast",function(){y(b(this));return false})}}if((t.keyCode==13||H.comma_is_enter&&t.keyCode==188&&!t.shiftKey)&&k()){A=T;w(A.text(),A.attr("rel"));N.hide();t.preventDefault();T=null;return false}if((t.keyCode==13||H.comma_is_enter&&t.keyCode==188&&!t.shiftKey)&&!k()){if(H.newel){A=
z(b(this).val());w(A,A);N.hide();t.preventDefault();T=null}return false}if(t.keyCode==40){O();if(T==null||T.length==0){T=C.children("li:visible:first");C.get(0).scrollTop=0}else{T.removeClass("auto-focus");T=T.nextAll("li:visible:first");A=parseInt(T.prevAll("li:visible").length,10);var J=parseInt(T.nextAll("li:visible").length,10);if((A>Math.round(H.height/2)||J<=Math.round(H.height/2))&&typeof T.get(0)!="undefined")C.get(0).scrollTop=parseInt(T.get(0).scrollHeight,10)*(A-Math.round(H.height/2))}C.children("li").removeClass("auto-focus");
T.addClass("auto-focus")}if(t.keyCode==38){O();if(T==null||T.length==0){T=C.children("li:visible:last");C.get(0).scrollTop=parseInt(T.get(0).scrollHeight,10)*(parseInt(C.children("li:visible").length,10)-Math.round(H.height/2))}else{T.removeClass("auto-focus");T=T.prevAll("li:visible:first");A=parseInt(T.prevAll("li:visible").length,10);J=parseInt(T.nextAll("li:visible").length,10);if((J>Math.round(H.height/2)||A<=Math.round(H.height/2))&&typeof T.get(0)!="undefined")C.get(0).scrollTop=parseInt(T.get(0).scrollHeight,
10)*(A-Math.round(H.height/2))}C.children("li").removeClass("auto-focus");T.addClass("auto-focus")}})}function Q(E){if(H.newel){C.children("li[fckb=1]").remove();if(E.length!=0){b("<li/>").attr({rel:E,fckb:"1"}).text(E).prependTo(C);P++}}}function S(E,t){var A="";for(i=0;i<t.get(0).attributes.length;i++)if(t.get(0).attributes[i].nodeValue!=null)A+='"_'+t.get(0).attributes[i].nodeName+'": "'+t.get(0).attributes[i].nodeValue+'",';A="{"+A+" notinuse: 0}";try{eval(E+"("+A+")")}catch(J){}}function k(){if(T==
null)return false;if(T.length==0)return false;return true}function z(E){return jQuery.trim(E)}var H=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:""},d),h=null,C=null,N=null,P=0,F=[],W=false,V=",",ca=V,T=null,ea=0,c=false,f,j=[],m=b(this),x=m.attr("id");this.addFinalItem=function(){var E=b("#"+x+"_annoninput").children(".maininput");(E=b.trim(E.val()))&&
w(E,E)};this.reset=e;this.updateSelected=q;g();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(),d=b;if(b==="")d=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(d);jssm.functions.unload&&jssm.functions.unload(d);jssm.functions.afterunload&&jssm.functions.afterunload(d);jssm.functions.beforeload&&jssm.functions.beforeload(d);jssm.functions.load&&jssm.functions.load(d);jssm.functions.afterload&&jssm.functions.afterload(d);d=[];for(var g=jssm.zerolength;g<jssm.stack.length;g++)b===jssm.stack[g]&&d.push(g);switch(d.length){case 0:jssm.pointer++;jssm.stack[jssm.pointer]=b;jssm.stack.length=
jssm.pointer+1;break;case 1:jssm.pointer=d[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,d=b.indexOf("#");return d>=0?b.substr(d+1):""};return this.getHash()},setHash:function(b){this.setHash=jQuery.browser.msie&&jQuery.browser.version<8?function(d){var g=jssm.iframe.contentWindow.document;g.open("javascript:'<html></html>'");g.write('<html><head><script type="text/javascript">window.parent.jssm.iframeEvent("'+d+'");<\/script></head><body>'+d+"</body></html>");g.close()}:function(d){window.location.hash=d};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 d=b.indexOf("#"),g=b.indexOf("?"),s="",e="";if(d!=-1){if(g!=-1&&g<d)s=b.substring(g,d);e=b.substring(d)}else if(g>=0)s=b.substring(g);if(d!=-1&&g!=-1)b=b.substring(0,Math.min(d,g));else if(d!=-1)b=b.substring(0,d);else if(g!=-1)b=b.substring(0,g);d=/^(https?:\/\/){0,1}([A-Za-z0-9\-\.]+){0,1}(\:\d+){0,1}(\/){0,1}((?:[^\/]*\/)*){0,1}(.*)$/;
b=d.exec(b);if(b[5]){b[5]=b[5].split("/");b[5].pop()}else b[5]=[];b.push(s);b.push(e);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,d,g){if(b==d&&d.indexOf("?")==-1)return this.getCurrentPage(d);b=this.getPathTokens(b);d=this.getPathTokens(d);if(((g=g||false)||d[1])&&b[1]!==d[1])return false;if((g||d[2])&&b[2]!==
d[2])return false;if(b[3]!==d[3]){if(g)return false;g=false;switch(b[1]){case "http":g=80;break;case "https":g=443;break}if(!g)return false;if(!(b[3]===""&&d[3]==g)&&!(b[3]==g&&d[3]===""))return false}g="";if(!b[5].length||!d[4])g+=d[5].join("/")+"/"+(d[6]?d[6]:"");else{var s=0;if(b[5].length&&d[5].length){for(s=0;s<b[5].length;s++)if(b[5][s]==d[5][s]){b[5].shift();d[5].shift();s--}else break;for(s=0;s<b[5].length;s++)g+="../";g+=d[5].join("/")+(d[5].length?"/":"")+(d[6]?d[6]:"")}else{for(s=0;s<b[5].length;s++)g+=
"../";g+=d[6]?d[6]:""}}if(d[7])g+=d[7];if(d[8])g+=d[8];return g},getRootRelativePath:function(b,d,g){if(arguments.length==1){var s=jssm.getPathTokens(b);return"/"+s[5].join("/")+"/"+(s[6]?s[6]:"")}b=this.getPathTokens(b);d=this.getPathTokens(d);if(((g=g||false)||d[1])&&b[1]!==d[1])return false;if((g||d[2])&&b[2]!==d[2])return false;if(b[3]!==d[3]){if(g)return false;s=false;switch(b[1]){case "http":s=80;break;case "https":s=443;break}if(!s)return false;if(!(b[3]===""&&d[3]==s)&&!(b[3]==s&&d[3]===""))return false}s=
"/";d[4]||(s+=b[5].join("/")+"/");if(d[5].length)s+=d[5].join("/")+"/";if(d[6])s+=d[6];if(d[7])s+=d[7];if(d[8])s+=d[8];return s},setTitle:function(b){document.title=b},buildTitle:function(b,d){d=d||this.settings.titleseparator;return this.settings.basetitle+(b?d+b:"")}};
jQuery.fn.jssm=function(b){return this.each(function(){jQuery(this).bind(b,function(d){jQuery.data(this,"jssm");var g="",s="";if(b=="submit"&&this.action){g=jQuery('<a href="'+this.action+'"></a>').get(0).href;s="&"+jQuery(this).serialize()}else if(this.href)g=this.href;g=jssm.getRelativePath(jssm.getHref(),g);if(g!==false){g=g+(g.indexOf("?")>=0?"&":"?")+"rid="+jssm.rid++ +s;jssm.setHash(g)}d.preventDefault();return false})})};
(function(b){b.fn.qtip=function(k,z){var H,h,C,N,P,F,W,V;if(typeof k=="string"){typeof b(this).data("qtip")!=="object"&&b.fn.qtip.log.error.call(self,1,b.fn.qtip.constants.NO_TOOLTIP_PRESENT,false);if(k=="api")return b(this).data("qtip").interfaces[b(this).data("qtip").current];else if(k=="interfaces")return b(this).data("qtip").interfaces}else{k||(k={});if(typeof k.content!=="object"||k.content.jquery&&k.content.length>0)k.content={text:k.content};if(typeof k.content.title!=="object")k.content.title=
{text:k.content.title};if(typeof k.position!=="object")k.position={corner:k.position};if(typeof k.position.corner!=="object")k.position.corner={target:k.position.corner,tooltip:k.position.corner};if(typeof k.show!=="object")k.show={when:k.show};if(typeof k.show.when!=="object")k.show.when={event:k.show.when};if(typeof k.show.effect!=="object")k.show.effect={type:k.show.effect};if(typeof k.hide!=="object")k.hide={when:k.hide};if(typeof k.hide.when!=="object")k.hide.when={event:k.hide.when};if(typeof k.hide.effect!==
"object")k.hide.effect={type:k.hide.effect};if(typeof k.style!=="object")k.style={name:k.style};k.style=D(k.style);N=b.extend(true,{},b.fn.qtip.defaults,k);N.style=O.call({options:N},N.style);N.user=b.extend(true,{},k)}return b(this).each(function(){if(typeof k=="string"){F=k.toLowerCase();C=b(this).qtip("interfaces");if(typeof C=="object")if(z===true&&F=="destroy")for(;C.length>0;)C[C.length-1].destroy();else{if(z!==true)C=[b(this).qtip("api")];for(H=0;H<C.length;H++)if(F=="destroy")C[H].destroy();
else if(C[H].status.rendered===true)if(F=="show")C[H].show();else if(F=="hide")C[H].hide();else if(F=="focus")C[H].focus();else if(F=="disable")C[H].disable(true);else F=="enable"&&C[H].disable(false)}}else{W=b.extend(true,{},N);W.hide.effect.length=N.hide.effect.length;W.show.effect.length=N.show.effect.length;if(W.position.container===false)W.position.container=b(document.body);if(W.position.target===false)W.position.target=b(this);if(W.show.when.target===false)W.show.when.target=b(this);if(W.hide.when.target===
false)W.hide.when.target=b(this);h=b.fn.qtip.interfaces.length;for(H=0;H<h;H++)if(typeof b.fn.qtip.interfaces[H]=="undefined"){h=H;break}P=new d(b(this),W,h);b.fn.qtip.interfaces[h]=P;if(typeof b(this).data("qtip")=="object"){if(typeof b(this).attr("qtip")==="undefined")b(this).data("qtip").current=b(this).data("qtip").interfaces.length;b(this).data("qtip").interfaces.push(P)}else b(this).data("qtip",{current:0,interfaces:[P]});if(W.content.prerender===false&&W.show.when.event!==false&&W.show.ready!==
true)W.show.when.target.bind(W.show.when.event+".qtip-"+h+"-create",{qtip:h},function(ca){V=b.fn.qtip.interfaces[ca.data.qtip];V.options.show.when.target.unbind(V.options.show.when.event+".qtip-"+ca.data.qtip+"-create");V.cache.mouse={x:ca.pageX,y:ca.pageY};g.call(V);V.options.show.when.target.trigger(V.options.show.when.event)});else{P.cache.mouse={x:W.show.when.target.offset().left,y:W.show.when.target.offset().top};g.call(P)}}})};function d(k,z,H){var h=this;h.id=H;h.options=z;h.status={animated:false,
rendered:false,disabled:false,focused:false};h.elements={target:k.addClass(h.options.style.classes.target),tooltip:null,wrapper:null,content:null,contentWrapper:null,title:null,button:null,tip:null,bgiframe:null};h.cache={mouse:{},position:{},toggle:0};h.timers={};b.extend(h,h.options.api,{show:function(C){var N,P;if(!h.status.rendered)return b.fn.qtip.log.error.call(h,2,b.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"show");if(h.elements.tooltip.css("display")!=="none")return h;h.elements.tooltip.stop(true,
false);N=h.beforeShow.call(h,C);if(N===false)return h;function F(){h.options.position.type!=="static"&&h.focus();h.onShow.call(h,C);b.browser.msie&&h.elements.tooltip.get(0).style.removeAttribute("filter")}h.cache.toggle=1;h.options.position.type!=="static"&&h.updatePosition(C,h.options.show.effect.length>0);if(typeof h.options.show.solo=="object")P=b(h.options.show.solo);else if(h.options.show.solo===true)P=b("div.qtip").not(h.elements.tooltip);P&&P.each(function(){b(this).qtip("api").status.rendered===
true&&b(this).qtip("api").hide()});if(typeof h.options.show.effect.type=="function"){h.options.show.effect.type.call(h.elements.tooltip,h.options.show.effect.length);h.elements.tooltip.queue(function(){F();b(this).dequeue()})}else{switch(h.options.show.effect.type.toLowerCase()){case "fade":h.elements.tooltip.fadeIn(h.options.show.effect.length,F);break;case "slide":h.elements.tooltip.slideDown(h.options.show.effect.length,function(){F();h.options.position.type!=="static"&&h.updatePosition(C,true)});
break;case "grow":h.elements.tooltip.show(h.options.show.effect.length,F);break;default:h.elements.tooltip.show(null,F);break}h.elements.tooltip.addClass(h.options.style.classes.active)}return b.fn.qtip.log.error.call(h,1,b.fn.qtip.constants.EVENT_SHOWN,"show")},hide:function(C){var N;if(h.status.rendered){if(h.elements.tooltip.css("display")==="none")return h}else return b.fn.qtip.log.error.call(h,2,b.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"hide");clearTimeout(h.timers.show);h.elements.tooltip.stop(true,
false);N=h.beforeHide.call(h,C);if(N===false)return h;function P(){h.onHide.call(h,C)}h.cache.toggle=0;if(typeof h.options.hide.effect.type=="function"){h.options.hide.effect.type.call(h.elements.tooltip,h.options.hide.effect.length);h.elements.tooltip.queue(function(){P();b(this).dequeue()})}else{switch(h.options.hide.effect.type.toLowerCase()){case "fade":h.elements.tooltip.fadeOut(h.options.hide.effect.length,P);break;case "slide":h.elements.tooltip.slideUp(h.options.hide.effect.length,P);break;
case "grow":h.elements.tooltip.hide(h.options.hide.effect.length,P);break;default:h.elements.tooltip.hide(null,P);break}h.elements.tooltip.removeClass(h.options.style.classes.active)}return b.fn.qtip.log.error.call(h,1,b.fn.qtip.constants.EVENT_HIDDEN,"hide")},updatePosition:function(C,N){var P,F,W,V,ca,T,ea;if(h.status.rendered){if(h.options.position.type=="static")return b.fn.qtip.log.error.call(h,1,b.fn.qtip.constants.CANNOT_POSITION_STATIC,"updatePosition")}else return b.fn.qtip.log.error.call(h,
2,b.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updatePosition");F={position:{left:0,top:0},dimensions:{height:0,width:0},corner:h.options.position.corner.target};W={position:h.getPosition(),dimensions:h.getDimensions(),corner:h.options.position.corner.tooltip};if(h.options.position.target!=="mouse"){if(h.options.position.target.get(0).nodeName.toLowerCase()=="area"){V=h.options.position.target.attr("coords").split(",");for(P=0;P<V.length;P++)V[P]=parseInt(V[P]);P=h.options.position.target.parent("map").attr("name");
ca=b('img[usemap="#'+P+'"]:first').offset();F.position={left:Math.floor(ca.left+V[0]),top:Math.floor(ca.top+V[1])};switch(h.options.position.target.attr("shape").toLowerCase()){case "rect":F.dimensions={width:Math.ceil(Math.abs(V[2]-V[0])),height:Math.ceil(Math.abs(V[3]-V[1]))};break;case "circle":F.dimensions={width:V[2]+1,height:V[2]+1};break;case "poly":F.dimensions={width:V[0],height:V[1]};for(P=0;P<V.length;P++)if(P%2==0){if(V[P]>F.dimensions.width)F.dimensions.width=V[P];if(V[P]<V[0])F.position.left=
Math.floor(ca.left+V[P])}else{if(V[P]>F.dimensions.height)F.dimensions.height=V[P];if(V[P]<V[1])F.position.top=Math.floor(ca.top+V[P])}F.dimensions.width-=F.position.left-ca.left;F.dimensions.height-=F.position.top-ca.top;break;default:return b.fn.qtip.log.error.call(h,4,b.fn.qtip.constants.INVALID_AREA_SHAPE,"updatePosition")}F.dimensions.width-=2;F.dimensions.height-=2}else if(h.options.position.target.add(document.body).length===1){F.position={left:b(document).scrollLeft(),top:b(document).scrollTop()};
F.dimensions={height:b(window).height(),width:b(window).width()}}else{F.position=typeof h.options.position.target.attr("qtip")!=="undefined"?h.options.position.target.qtip("api").cache.position:h.options.position.target.offset();F.dimensions={height:h.options.position.target.outerHeight(),width:h.options.position.target.outerWidth()}}T=b.extend({},F.position);if(F.corner.search(/right/i)!==-1)T.left+=F.dimensions.width;if(F.corner.search(/bottom/i)!==-1)T.top+=F.dimensions.height;if(F.corner.search(/((top|bottom)Middle)|center/)!==
-1)T.left+=F.dimensions.width/2;if(F.corner.search(/((left|right)Middle)|center/)!==-1)T.top+=F.dimensions.height/2}else{F.position=T={left:h.cache.mouse.x,top:h.cache.mouse.y};F.dimensions={height:1,width:1}}if(W.corner.search(/right/i)!==-1)T.left-=W.dimensions.width;if(W.corner.search(/bottom/i)!==-1)T.top-=W.dimensions.height;if(W.corner.search(/((top|bottom)Middle)|center/)!==-1)T.left-=W.dimensions.width/2;if(W.corner.search(/((left|right)Middle)|center/)!==-1)T.top-=W.dimensions.height/2;V=
b.browser.msie?1:0;P=b.browser.msie&&parseInt(b.browser.version.charAt(0))===6?1:0;if(h.options.style.border.radius>0){if(W.corner.search(/Left/)!==-1)T.left-=h.options.style.border.radius;else if(W.corner.search(/Right/)!==-1)T.left+=h.options.style.border.radius;if(W.corner.search(/Top/)!==-1)T.top-=h.options.style.border.radius;else if(W.corner.search(/Bottom/)!==-1)T.top+=h.options.style.border.radius}if(V){if(W.corner.search(/top/)!==-1)T.top-=V;else if(W.corner.search(/bottom/)!==-1)T.top+=
V;if(W.corner.search(/left/)!==-1)T.left-=V;else if(W.corner.search(/right/)!==-1)T.left+=V;if(W.corner.search(/leftMiddle|rightMiddle/)!==-1)T.top-=1}if(h.options.position.adjust.screen===true)T=B.call(h,T,F,W);if(h.options.position.target==="mouse"&&h.options.position.adjust.mouse===true){F=h.options.position.adjust.screen===true&&h.elements.tip?h.elements.tip.attr("rel"):h.options.position.corner.tooltip;T.left+=F.search(/right/i)!==-1?-6:6;T.top+=F.search(/bottom/i)!==-1?-6:6}!h.elements.bgiframe&&
b.browser.msie&&parseInt(b.browser.version.charAt(0))==6&&b("select, object").each(function(){ea=b(this).offset();ea.bottom=ea.top+b(this).height();ea.right=ea.left+b(this).width();T.top+W.dimensions.height>=ea.top&&T.left+W.dimensions.width>=ea.left&&S.call(h)});T.left+=h.options.position.adjust.x;T.top+=h.options.position.adjust.y;F=h.getPosition();if(T.left!=F.left||T.top!=F.top){F=h.beforePositionUpdate.call(h,C);if(F===false)return h;h.cache.position=T;if(N===true){h.status.animated=true;h.elements.tooltip.animate(T,
200,"swing",function(){h.status.animated=false})}else h.elements.tooltip.css(T);h.onPositionUpdate.call(h,C);typeof C!=="undefined"&&C.type&&C.type!=="mousemove"&&b.fn.qtip.log.error.call(h,1,b.fn.qtip.constants.EVENT_POSITION_UPDATED,"updatePosition")}return h},updateWidth:function(C){var N;if(h.status.rendered){if(C&&typeof C!=="number")return b.fn.qtip.log.error.call(h,2,"newWidth must be of type number","updateWidth")}else return b.fn.qtip.log.error.call(h,2,b.fn.qtip.constants.TOOLTIP_NOT_RENDERED,
"updateWidth");N=h.elements.contentWrapper.siblings().add(h.elements.tip).add(h.elements.button);if(!C)if(typeof h.options.style.width.value=="number")C=h.options.style.width.value;else{h.elements.tooltip.css({width:"auto"});N.hide();b.browser.msie&&h.elements.wrapper.add(h.elements.contentWrapper.children()).css({zoom:"normal"});C=h.getDimensions().width+1;if(!h.options.style.width.value){if(C>h.options.style.width.max)C=h.options.style.width.max;if(C<h.options.style.width.min)C=h.options.style.width.min}}if(C%
2!==0)C-=1;h.elements.tooltip.width(C);N.show();h.options.style.border.radius&&h.elements.tooltip.find(".qtip-betweenCorners").each(function(){b(this).width(C-h.options.style.border.radius*2)});if(b.browser.msie){h.elements.wrapper.add(h.elements.contentWrapper.children()).css({zoom:"1"});h.elements.wrapper.width(C);h.elements.bgiframe&&h.elements.bgiframe.width(C).height(h.getDimensions.height)}return b.fn.qtip.log.error.call(h,1,b.fn.qtip.constants.EVENT_WIDTH_UPDATED,"updateWidth")},updateStyle:function(C){var N,
P,F,W;if(h.status.rendered){if(typeof C!=="string"||!b.fn.qtip.styles[C])return b.fn.qtip.log.error.call(h,2,b.fn.qtip.constants.STYLE_NOT_DEFINED,"updateStyle")}else return b.fn.qtip.log.error.call(h,2,b.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateStyle");h.options.style=O.call(h,b.fn.qtip.styles[C],h.options.user.style);h.elements.content.css(K(h.options.style));h.options.content.title.text!==false&&h.elements.title.css(K(h.options.style.title,true));h.elements.contentWrapper.css({borderColor:h.options.style.border.color});
if(h.options.style.tip.corner!==false)if(b("<canvas>").get(0).getContext){C=h.elements.tooltip.find(".qtip-tip canvas:first");P=C.get(0).getContext("2d");P.clearRect(0,0,300,300);F=C.parent("div[rel]:first").attr("rel");W=L(F,h.options.style.tip.size.width,h.options.style.tip.size.height);l.call(h,C,W,h.options.style.tip.color||h.options.style.border.color)}else if(b.browser.msie){C=h.elements.tooltip.find('.qtip-tip [nodeName="shape"]');C.attr("fillcolor",h.options.style.tip.color||h.options.style.border.color)}if(h.options.style.border.radius>
0){h.elements.tooltip.find(".qtip-betweenCorners").css({backgroundColor:h.options.style.border.color});if(b("<canvas>").get(0).getContext){N=Q(h.options.style.border.radius);h.elements.tooltip.find(".qtip-wrapper canvas").each(function(){P=b(this).get(0).getContext("2d");P.clearRect(0,0,300,300);F=b(this).parent("div[rel]:first").attr("rel");e.call(h,b(this),N[F],h.options.style.border.radius,h.options.style.border.color)})}else b.browser.msie&&h.elements.tooltip.find('.qtip-wrapper [nodeName="arc"]').each(function(){b(this).attr("fillcolor",
h.options.style.border.color)})}return b.fn.qtip.log.error.call(h,1,b.fn.qtip.constants.EVENT_STYLE_UPDATED,"updateStyle")},updateContent:function(C,N){var P,F,W;if(h.status.rendered){if(!C)return b.fn.qtip.log.error.call(h,2,b.fn.qtip.constants.NO_CONTENT_PROVIDED,"updateContent")}else return b.fn.qtip.log.error.call(h,2,b.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateContent");P=h.beforeContentUpdate.call(h,C);if(typeof P=="string")C=P;else if(P===false)return;b.browser.msie&&h.elements.contentWrapper.children().css({zoom:"normal"});
C.jquery&&C.length>0?C.clone(true).appendTo(h.elements.content).show():h.elements.content.html(C);F=h.elements.content.find("img[complete=false]");if(F.length>0){W=0;F.each(function(){b('<img src="'+b(this).attr("src")+'" />').load(function(){++W==F.length&&V()})})}else V();function V(){h.updateWidth();if(N!==false){h.options.position.type!=="static"&&h.updatePosition(h.elements.tooltip.is(":visible"),true);h.options.style.tip.corner!==false&&w.call(h)}}h.onContentUpdate.call(h);return b.fn.qtip.log.error.call(h,
1,b.fn.qtip.constants.EVENT_CONTENT_UPDATED,"loadContent")},loadContent:function(C,N,P){var F;if(!h.status.rendered)return b.fn.qtip.log.error.call(h,2,b.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"loadContent");F=h.beforeContentLoad.call(h);if(F===false)return h;P=="post"?b.post(C,N,W):b.get(C,N,W);function W(V){h.onContentLoad.call(h);b.fn.qtip.log.error.call(h,1,b.fn.qtip.constants.EVENT_CONTENT_LOADED,"loadContent");h.updateContent(V)}return h},updateTitle:function(C){if(h.status.rendered){if(!C)return b.fn.qtip.log.error.call(h,
2,b.fn.qtip.constants.NO_CONTENT_PROVIDED,"updateTitle")}else return b.fn.qtip.log.error.call(h,2,b.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateTitle");returned=h.beforeTitleUpdate.call(h);if(returned===false)return h;if(h.elements.button)h.elements.button=h.elements.button.clone(true);h.elements.title.html(C);h.elements.button&&h.elements.title.prepend(h.elements.button);h.onTitleUpdate.call(h);return b.fn.qtip.log.error.call(h,1,b.fn.qtip.constants.EVENT_TITLE_UPDATED,"updateTitle")},focus:function(C){var N,
P,F;if(h.status.rendered){if(h.options.position.type=="static")return b.fn.qtip.log.error.call(h,1,b.fn.qtip.constants.CANNOT_FOCUS_STATIC,"focus")}else return b.fn.qtip.log.error.call(h,2,b.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"focus");N=parseInt(h.elements.tooltip.css("z-index"));P=6000+b("div.qtip[qtip]").length-1;if(!h.status.focused&&N!==P){N=h.beforeFocus.call(h,C);if(N===false)return h;b("div.qtip[qtip]").not(h.elements.tooltip).each(function(){if(b(this).qtip("api").status.rendered===true){F=
parseInt(b(this).css("z-index"));typeof F=="number"&&F>-1&&b(this).css({zIndex:parseInt(b(this).css("z-index"))-1});b(this).qtip("api").status.focused=false}});h.elements.tooltip.css({zIndex:P});h.status.focused=true;h.onFocus.call(h,C);b.fn.qtip.log.error.call(h,1,b.fn.qtip.constants.EVENT_FOCUSED,"focus")}return h},disable:function(C){if(!h.status.rendered)return b.fn.qtip.log.error.call(h,2,b.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"disable");if(C)if(h.status.disabled)b.fn.qtip.log.error.call(h,
1,b.fn.qtip.constants.TOOLTIP_ALREADY_DISABLED,"disable");else{h.status.disabled=true;b.fn.qtip.log.error.call(h,1,b.fn.qtip.constants.EVENT_DISABLED,"disable")}else if(h.status.disabled){h.status.disabled=false;b.fn.qtip.log.error.call(h,1,b.fn.qtip.constants.EVENT_ENABLED,"disable")}else b.fn.qtip.log.error.call(h,1,b.fn.qtip.constants.TOOLTIP_ALREADY_ENABLED,"disable");return h},destroy:function(){var C,N;C=h.beforeDestroy.call(h);if(C===false)return h;if(h.status.rendered){h.options.show.when.target.unbind("mousemove.qtip",
h.updatePosition);h.options.show.when.target.unbind("mouseout.qtip",h.hide);h.options.show.when.target.unbind(h.options.show.when.event+".qtip");h.options.hide.when.target.unbind(h.options.hide.when.event+".qtip");h.elements.tooltip.unbind(h.options.hide.when.event+".qtip");h.elements.tooltip.unbind("mouseover.qtip",h.focus);h.elements.tooltip.remove()}else h.options.show.when.target.unbind(h.options.show.when.event+".qtip-create");if(typeof h.elements.target.data("qtip")=="object"){N=h.elements.target.data("qtip").interfaces;
if(typeof N=="object"&&N.length>0)for(C=0;C<N.length-1;C++)N[C].id==h.id&&N.splice(C,1)}delete b.fn.qtip.interfaces[h.id];if(typeof N=="object"&&N.length>0)h.elements.target.data("qtip").current=N.length-1;else h.elements.target.removeData("qtip");h.onDestroy.call(h);b.fn.qtip.log.error.call(h,1,b.fn.qtip.constants.EVENT_DESTROYED,"destroy");return h.elements.target},getPosition:function(){var C,N;if(!h.status.rendered)return b.fn.qtip.log.error.call(h,2,b.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"getPosition");
(C=h.elements.tooltip.css("display")!=="none"?false:true)&&h.elements.tooltip.css({visiblity:"hidden"}).show();N=h.elements.tooltip.offset();C&&h.elements.tooltip.css({visiblity:"visible"}).hide();return N},getDimensions:function(){var C,N;if(!h.status.rendered)return b.fn.qtip.log.error.call(h,2,b.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"getDimensions");(C=!h.elements.tooltip.is(":visible")?true:false)&&h.elements.tooltip.css({visiblity:"hidden"}).show();N={height:h.elements.tooltip.outerHeight(),
width:h.elements.tooltip.outerWidth()};C&&h.elements.tooltip.css({visiblity:"visible"}).hide();return N}})}function g(){var k,z,H,h;k=this;k.beforeRender.call(k);k.status.rendered=true;k.elements.tooltip='<div qtip="'+k.id+'" class="qtip '+(k.options.style.classes.tooltip||k.options.style)+'"style="display:none; -moz-border-radius:0; -webkit-border-radius:0; border-radius:0;position:'+k.options.position.type+';">  <div class="qtip-wrapper" style="position:relative; overflow:hidden; text-align:left;">    <div class="qtip-contentWrapper" style="overflow:hidden;">       <div class="qtip-content '+
k.options.style.classes.content+'"></div></div></div></div>';k.elements.tooltip=b(k.elements.tooltip);k.elements.tooltip.appendTo(k.options.position.container);k.elements.tooltip.data("qtip",{current:0,interfaces:[k]});k.elements.wrapper=k.elements.tooltip.children("div:first");k.elements.contentWrapper=k.elements.wrapper.children("div:first").css({background:k.options.style.background});k.elements.content=k.elements.contentWrapper.children("div:first").css(K(k.options.style));b.browser.msie&&k.elements.wrapper.add(k.elements.content).css({zoom:1});
k.options.hide.when.event=="unfocus"&&k.elements.tooltip.attr("unfocus",true);typeof k.options.style.width.value=="number"&&k.updateWidth();if(b("<canvas>").get(0).getContext||b.browser.msie){k.options.style.border.radius>0?s.call(k):k.elements.contentWrapper.css({border:k.options.style.border.width+"px solid "+k.options.style.border.color});k.options.style.tip.corner!==false&&q.call(k)}else{k.elements.contentWrapper.css({border:k.options.style.border.width+"px solid "+k.options.style.border.color});
k.options.style.border.radius=0;k.options.style.tip.corner=false;b.fn.qtip.log.error.call(k,2,b.fn.qtip.constants.CANVAS_VML_NOT_SUPPORTED,"render")}if(typeof k.options.content.text=="string"&&k.options.content.text.length>0||k.options.content.text.jquery&&k.options.content.text.length>0)z=k.options.content.text;else if(typeof k.elements.target.attr("title")=="string"&&k.elements.target.attr("title").length>0){z=k.elements.target.attr("title").replace("\\n","<br />");k.elements.target.attr("title",
"")}else if(typeof k.elements.target.attr("alt")=="string"&&k.elements.target.attr("alt").length>0){z=k.elements.target.attr("alt").replace("\\n","<br />");k.elements.target.attr("alt","")}else{z=" ";b.fn.qtip.log.error.call(k,1,b.fn.qtip.constants.NO_VALID_CONTENT,"render")}k.options.content.title.text!==false&&y.call(k);k.updateContent(z);r.call(k);k.options.show.ready===true&&k.show();if(k.options.content.url!==false){z=k.options.content.url;H=k.options.content.data;h=k.options.content.method||
"get";k.loadContent(z,H,h)}k.onRender.call(k);b.fn.qtip.log.error.call(k,1,b.fn.qtip.constants.EVENT_RENDERED,"render")}function s(){var k,z,H,h,C,N,P,F,W;k=this;k.elements.wrapper.find(".qtip-borderBottom, .qtip-borderTop").remove();H=k.options.style.border.width;h=k.options.style.border.radius;C=k.options.style.border.color||k.options.style.tip.color;N=Q(h);P={};for(z in N){P[z]='<div rel="'+z+'" style="'+(z.search(/Left/)!==-1?"left":"right")+":0; position:absolute; height:"+h+"px; width:"+h+'px; overflow:hidden; line-height:0.1px; font-size:1px">';
if(b("<canvas>").get(0).getContext)P[z]+='<canvas height="'+h+'" width="'+h+'" style="vertical-align: top"></canvas>';else if(b.browser.msie){F=h*2+3;P[z]+='<v:arc stroked="false" fillcolor="'+C+'" startangle="'+N[z][0]+'" endangle="'+N[z][1]+'" style="width:'+F+"px; height:"+F+"px; margin-top:"+(z.search(/bottom/)!==-1?-2:-1)+"px; margin-left:"+(z.search(/Right/)!==-1?N[z][2]-3.5:-1)+'px; vertical-align:top; display:inline-block; behavior:url(#default#VML)"></v:arc>'}P[z]+="</div>"}z=k.getDimensions().width-
Math.max(H,h)*2;z='<div class="qtip-betweenCorners" style="height:'+h+"px; width:"+z+"px; overflow:hidden; background-color:"+C+'; line-height:0.1px; font-size:1px;">';F='<div class="qtip-borderTop" dir="ltr" style="height:'+h+"px; margin-left:"+h+'px; line-height:0.1px; font-size:1px; padding:0;">'+P.topLeft+P.topRight+z;k.elements.wrapper.prepend(F);P='<div class="qtip-borderBottom" dir="ltr" style="height:'+h+"px; margin-left:"+h+'px; line-height:0.1px; font-size:1px; padding:0;">'+P.bottomLeft+
P.bottomRight+z;k.elements.wrapper.append(P);if(b("<canvas>").get(0).getContext)k.elements.wrapper.find("canvas").each(function(){W=N[b(this).parent("[rel]:first").attr("rel")];e.call(k,b(this),W,h,C)});else b.browser.msie&&k.elements.tooltip.append('<v:image style="behavior:url(#default#VML);"></v:image>');P=Math.max(h,h+(H-h));H=Math.max(H-h,0);k.elements.contentWrapper.css({border:"0px solid "+C,borderWidth:H+"px "+P+"px"})}function e(k,z,H,h){k=k.get(0).getContext("2d");k.fillStyle=h;k.beginPath();
k.arc(z[0],z[1],H,0,Math.PI*2,false);k.fill()}function q(k){var z,H,h,C,N;z=this;z.elements.tip!==null&&z.elements.tip.remove();H=z.options.style.tip.color||z.options.style.border.color;if(z.options.style.tip.corner!==false){if(!k)k=z.options.style.tip.corner;h=L(k,z.options.style.tip.size.width,z.options.style.tip.size.height);z.elements.tip='<div class="'+z.options.style.classes.tip+'" dir="ltr" rel="'+k+'" style="position:absolute; height:'+z.options.style.tip.size.height+"px; width:"+z.options.style.tip.size.width+
'px; margin:0 auto; line-height:0.1px; font-size:1px;">';if(b("<canvas>").get(0).getContext)z.elements.tip+='<canvas height="'+z.options.style.tip.size.height+'" width="'+z.options.style.tip.size.width+'"></canvas>';else if(b.browser.msie){C=z.options.style.tip.size.width+","+z.options.style.tip.size.height;N="m"+h[0][0]+","+h[0][1];N+=" l"+h[1][0]+","+h[1][1];N+=" "+h[2][0]+","+h[2][1];N+=" xe";z.elements.tip+='<v:shape fillcolor="'+H+'" stroked="false" filled="true" path="'+N+'" coordsize="'+C+
'" style="width:'+z.options.style.tip.size.width+"px; height:"+z.options.style.tip.size.height+"px; line-height:0.1px; display:inline-block; behavior:url(#default#VML); vertical-align:"+(k.search(/top/)!==-1?"bottom":"top")+'"></v:shape>';z.elements.tip+='<v:image style="behavior:url(#default#VML);"></v:image>';z.elements.contentWrapper.css("position","relative")}z.elements.tooltip.prepend(z.elements.tip+"</div>");z.elements.tip=z.elements.tooltip.find("."+z.options.style.classes.tip).eq(0);b("<canvas>").get(0).getContext&&
l.call(z,z.elements.tip.find("canvas:first"),h,H);k.search(/top/)!==-1&&b.browser.msie&&parseInt(b.browser.version.charAt(0))===6&&z.elements.tip.css({marginTop:-4});w.call(z,k)}}function l(k,z,H){k=k.get(0).getContext("2d");k.fillStyle=H;k.beginPath();k.moveTo(z[0][0],z[0][1]);k.lineTo(z[1][0],z[1][1]);k.lineTo(z[2][0],z[2][1]);k.fill()}function w(k){var z,H;z=this;if(!(z.options.style.tip.corner===false||!z.elements.tip)){k||(k=z.elements.tip.attr("rel"));H=positionAdjust=b.browser.msie?1:0;z.elements.tip.css(k.match(/left|right|top|bottom/)[0],
0);if(k.search(/top|bottom/)!==-1){if(b.browser.msie)positionAdjust=parseInt(b.browser.version.charAt(0))===6?k.search(/top/)!==-1?-3:1:k.search(/top/)!==-1?1:2;if(k.search(/Middle/)!==-1)z.elements.tip.css({left:"50%",marginLeft:-(z.options.style.tip.size.width/2)});else if(k.search(/Left/)!==-1)z.elements.tip.css({left:z.options.style.border.radius-H});else k.search(/Right/)!==-1&&z.elements.tip.css({right:z.options.style.border.radius+H});k.search(/top/)!==-1?z.elements.tip.css({top:-positionAdjust}):
z.elements.tip.css({bottom:positionAdjust})}else if(k.search(/left|right/)!==-1){if(b.browser.msie)positionAdjust=parseInt(b.browser.version.charAt(0))===6?1:k.search(/left/)!==-1?1:2;if(k.search(/Middle/)!==-1)z.elements.tip.css({top:"50%",marginTop:-(z.options.style.tip.size.height/2)});else if(k.search(/Top/)!==-1)z.elements.tip.css({top:z.options.style.border.radius-H});else k.search(/Bottom/)!==-1&&z.elements.tip.css({bottom:z.options.style.border.radius+H});k.search(/left/)!==-1?z.elements.tip.css({left:-positionAdjust}):
z.elements.tip.css({right:positionAdjust})}k="padding-"+k.match(/left|right|top|bottom/)[0];H=z.options.style.tip.size[k.search(/left|right/)!==-1?"width":"height"];z.elements.tooltip.css("padding",0);z.elements.tooltip.css(k,H);if(b.browser.msie&&parseInt(b.browser.version.charAt(0))==6){k=parseInt(z.elements.tip.css("margin-top"))||0;k+=parseInt(z.elements.content.css("margin-top"))||0;z.elements.tip.css({marginTop:k})}}}function y(){var k=this;k.elements.title!==null&&k.elements.title.remove();
k.elements.title=b('<div class="'+k.options.style.classes.title+'">').css(K(k.options.style.title,true)).css({zoom:b.browser.msie?1:0}).prependTo(k.elements.contentWrapper);k.options.content.title.text&&k.updateTitle.call(k,k.options.content.title.text);if(k.options.content.title.button!==false&&typeof k.options.content.title.button=="string")k.elements.button=b('<a class="'+k.options.style.classes.button+'" style="float:right; position: relative"></a>').css(K(k.options.style.button,true)).html(k.options.content.title.button).prependTo(k.elements.title).click(function(z){k.status.disabled||
k.hide(z)})}function r(){var k,z,H,h;k=this;z=k.options.show.when.target;H=k.options.hide.when.target;if(k.options.hide.fixed)H=H.add(k.elements.tooltip);if(k.options.hide.when.event=="inactive"){h=["click","dblclick","mousedown","mouseup","mousemove","mouseout","mouseenter","mouseleave","mouseover"];function C(F){if(k.status.disabled!==true){clearTimeout(k.timers.inactive);k.timers.inactive=setTimeout(function(){b(h).each(function(){H.unbind(this+".qtip-inactive");k.elements.content.unbind(this+
".qtip-inactive")});k.hide(F)},k.options.hide.delay)}}}else k.options.hide.fixed===true&&k.elements.tooltip.bind("mouseover.qtip",function(){k.status.disabled!==true&&clearTimeout(k.timers.hide)});function N(F){if(k.status.disabled!==true){if(k.options.hide.when.event=="inactive"){b(h).each(function(){H.bind(this+".qtip-inactive",C);k.elements.content.bind(this+".qtip-inactive",C)});C()}clearTimeout(k.timers.show);clearTimeout(k.timers.hide);k.timers.show=setTimeout(function(){k.show(F)},k.options.show.delay)}}
function P(F){if(k.status.disabled!==true){if(k.options.hide.fixed===true&&k.options.hide.when.event.search(/mouse(out|leave)/i)!==-1&&b(F.relatedTarget).parents("div.qtip[qtip]").length>0){F.stopPropagation();F.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(F)},k.options.hide.delay)}}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;z.bind(k.options.show.when.event+".qtip",function(F){k.cache.toggle==0?N(F):P(F)})}else{z.bind(k.options.show.when.event+".qtip",N);k.options.hide.when.event!=="inactive"&&H.bind(k.options.hide.when.event+".qtip",P)}k.options.position.type.search(/(fixed|absolute)/)!==-1&&k.elements.tooltip.bind("mouseover.qtip",k.focus);k.options.position.target===
"mouse"&&k.options.position.type!=="static"&&z.bind("mousemove.qtip",function(F){k.cache.mouse={x:F.pageX,y:F.pageY};k.status.disabled===false&&k.options.position.adjust.mouse===true&&k.options.position.type!=="static"&&k.elements.tooltip.css("display")!=="none"&&k.updatePosition(F)})}function B(k,z,H){var h,C,N,P;h=this;if(H.corner=="center")return z.position;C=b.extend({},k);P={x:false,y:false};N={left:C.left<b.fn.qtip.cache.screen.scroll.left,right:C.left+H.dimensions.width+2>=b.fn.qtip.cache.screen.width+
b.fn.qtip.cache.screen.scroll.left,top:C.top<b.fn.qtip.cache.screen.scroll.top,bottom:C.top+H.dimensions.height+2>=b.fn.qtip.cache.screen.height+b.fn.qtip.cache.screen.scroll.top};N={left:N.left&&(H.corner.search(/right/i)!=-1||H.corner.search(/right/i)==-1&&!N.right),right:N.right&&(H.corner.search(/left/i)!=-1||H.corner.search(/left/i)==-1&&!N.left),top:N.top&&H.corner.search(/top/i)==-1,bottom:N.bottom&&H.corner.search(/bottom/i)==-1};if(N.left){C.left=h.options.position.target!=="mouse"?z.position.left+
z.dimensions.width:h.cache.mouse.x;P.x="Left"}else if(N.right){C.left=h.options.position.target!=="mouse"?z.position.left-H.dimensions.width:h.cache.mouse.x-H.dimensions.width;P.x="Right"}if(N.top){C.top=h.options.position.target!=="mouse"?z.position.top+z.dimensions.height:h.cache.mouse.y;P.y="top"}else if(N.bottom){C.top=h.options.position.target!=="mouse"?z.position.top-H.dimensions.height:h.cache.mouse.y-H.dimensions.height;P.y="bottom"}if(C.left<0){C.left=k.left;P.x=false}if(C.top<0){C.top=k.top;
P.y=false}if(h.options.style.tip.corner!==false){C.corner=new String(H.corner);if(P.x!==false)C.corner=C.corner.replace(/Left|Right|Middle/,P.x);if(P.y!==false)C.corner=C.corner.replace(/top|bottom/,P.y);C.corner!==h.elements.tip.attr("rel")&&q.call(h,C.corner)}return C}function K(k,z){var H;k=b.extend(true,{},k);for(H in k)if(z===true&&H.search(/(tip|classes)/i)!==-1)delete k[H];else!z&&H.search(/(width|border|tip|title|classes|user)/i)!==-1&&delete k[H];return k}function D(k){if(typeof k.tip!==
"object")k.tip={corner:k.tip};if(typeof k.tip.size!=="object")k.tip.size={width:k.tip.size,height:k.tip.size};if(typeof k.border!=="object")k.border={width:k.border};if(typeof k.width!=="object")k.width={value:k.width};if(typeof k.width.max=="string")k.width.max=parseInt(k.width.max.replace(/([0-9]+)/i,"$1"));if(typeof k.width.min=="string")k.width.min=parseInt(k.width.min.replace(/([0-9]+)/i,"$1"));if(typeof k.tip.size.x=="number"){k.tip.size.width=k.tip.size.x;delete k.tip.size.x}if(typeof k.tip.size.y==
"number"){k.tip.size.height=k.tip.size.y;delete k.tip.size.y}return k}function O(){var k,z,H;k=this;H=[true,{}];for(z=0;z<arguments.length;z++)H.push(arguments[z]);for(z=[b.extend.apply(b,H)];typeof z[0].name=="string";)z.unshift(D(b.fn.qtip.styles[z[0].name]));z.unshift(true,{classes:{tooltip:"qtip-"+(arguments[0].name||"defaults")}},b.fn.qtip.styles.defaults);z=b.extend.apply(b,z);H=b.browser.msie?1:0;z.tip.size.width+=H;z.tip.size.height+=H;if(z.tip.size.width%2>0)z.tip.size.width+=1;if(z.tip.size.height%
2>0)z.tip.size.height+=1;if(z.tip.corner===true)z.tip.corner=k.options.position.corner.tooltip==="center"?false:k.options.position.corner.tooltip;return z}function L(k,z,H){z={bottomRight:[[0,0],[z,H],[z,0]],bottomLeft:[[0,0],[z,0],[0,H]],topRight:[[0,H],[z,0],[z,H]],topLeft:[[0,0],[0,H],[z,H]],topMiddle:[[0,H],[z/2,0],[z,H]],bottomMiddle:[[0,0],[z,0],[z/2,H]],rightMiddle:[[0,0],[z,H/2],[0,H]],leftMiddle:[[z,0],[z,H],[0,H/2]]};z.leftTop=z.bottomRight;z.rightTop=z.bottomLeft;z.leftBottom=z.topRight;
z.rightBottom=z.topLeft;return z[k]}function Q(k){var z;if(b("<canvas>").get(0).getContext)z={topLeft:[k,k],topRight:[0,k],bottomLeft:[k,0],bottomRight:[0,0]};else if(b.browser.msie)z={topLeft:[-90,90,0],topRight:[-90,90,-k],bottomLeft:[90,270,0],bottomRight:[90,270,-k]};return z}function S(){var k,z;k=this;z=k.getDimensions();z='<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:'+
z.height+"px; width:"+z.width+'px" />';k.elements.bgiframe=k.elements.wrapper.prepend(z).children(".qtip-bgiframe:first")}b(document).ready(function(){b.fn.qtip.cache={screen:{scroll:{left:b(window).scrollLeft(),top:b(window).scrollTop()},width:b(window).width(),height:b(window).height()}};var k;b(window).bind("resize scroll",function(z){clearTimeout(k);k=setTimeout(function(){if(z.type==="scroll")b.fn.qtip.cache.screen.scroll={left:b(window).scrollLeft(),top:b(window).scrollTop()};else{b.fn.qtip.cache.screen.width=
b(window).width();b.fn.qtip.cache.screen.height=b(window).height()}for(i=0;i<b.fn.qtip.interfaces.length;i++){var H=b.fn.qtip.interfaces[i];if(H.status.rendered===true&&(H.options.position.type!=="static"||H.options.position.adjust.scroll&&z.type==="scroll"||H.options.position.adjust.resize&&z.type==="resize"))H.updatePosition(z,true)}},100)});b(document).bind("mousedown.qtip",function(z){b(z.target).parents("div.qtip").length===0&&b(".qtip[unfocus]").each(function(){var H=b(this).qtip("api");b(this).is(":visible")&&
!H.status.disabled&&b(z.target).add(H.elements.target).length>1&&H.hide(z)})})});b.fn.qtip.interfaces=[];b.fn.qtip.log={error:function(){return this}};b.fn.qtip.constants={};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"},tip:{corner:true},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(r){return r<10?"0"+r:r}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 d=new RegExp("/[\\u0000\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g"),
g=new RegExp('/[\\\\\\"\\x00-\\x1f\\x7f-\\x9f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g'),s,e,q={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},l;function w(r){g.lastIndex=0;return g.test(r)?'"'+r.replace(g,function(B){var K=q[B];if(typeof K==="string")return K;return"\\u"+("0000"+(+B.charCodeAt(0)).toString(16)).slice(-4)})+'"':'"'+r+'"'}function y(r,B){var K,D,O=s,L,Q=B[r];if(Q&&typeof Q===
"object"&&typeof Q.toJSON==="function")Q=Q.toJSON(r);if(typeof l==="function")Q=l.call(B,r,Q);switch(typeof Q){case "string":return w(Q);case "number":return isFinite(Q)?String(Q):"null";case "boolean":case "null":return String(Q);case "object":if(!Q)return"null";s+=e;L=[];if(typeof Q.length==="number"&&!Q.propertyIsEnumerable("length")){D=Q.length;for(r=0;r<D;r+=1)L[r]=y(r,Q)||"null";B=L.length===0?"[]":s?"[\n"+s+L.join(",\n"+s)+"\n"+O+"]":"["+L.join(",")+"]";s=O;return B}if(l&&typeof l==="object"){D=
l.length;for(r=0;r<D;r+=1){K=l[r];if(typeof K==="string")if(B=y(K,Q))L.push(w(K)+(s?": ":":")+B)}}else for(K in Q)if(Object.hasOwnProperty.call(Q,K))if(B=y(K,Q))L.push(w(K)+(s?": ":":")+B);B=L.length===0?"{}":s?"{\n"+s+L.join(",\n"+s)+"\n"+O+"}":"{"+L.join(",")+"}";s=O;return B}}return{stringify:function(r,B,K){var D;e=s="";if(typeof K==="number")for(D=0;D<K;D+=1)e+=" ";else if(typeof K==="string")e=K;if((l=B)&&typeof B!=="function"&&(typeof B!=="object"||typeof B.length!=="number"))throw new Error("JSON.stringify");
return y("",{"":r})},parse:function(r,B){function K(D,O){var L,Q,S=D[O];if(S&&typeof S==="object")for(L in S)if(Object.hasOwnProperty.call(S,L)){Q=K(S,L);if(Q!==undefined)S[L]=Q;else delete S[L]}return B.call(D,O,S)}d.lastIndex=0;if(d.test(r))r=r.replace(d,function(D){return"\\u"+("0000"+(+D.charCodeAt(0)).toString(16)).slice(-4)});if(/^[\],:{}\s]*$/.test(r.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,
""))){r=eval("("+r+")");return typeof B==="function"?K({"":r},""):r}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,d,g){log("reloadSession",b,"attempt "+sessionReloadAttempt);if(this.sessionReloadAttempt>4)typeof g=="function"&&g.call(this);else this.reloadSessionIframe(b,d)};
WikispacesSession.reloadSessionIframe=function(b,d){var g=(new Date).getTime();g='<iframe class="sessionReloadIframe" id="sessionReloadIfr'+this.sessionReloadAttempt+'" src="/space/sessionreload?_='+g+'" name="sessionReloadIfr'+this.sessionReloadAttempt+'" style="display: none; width:0; height:0; border:0; padding:0; margin:0; visibility: hidden;"></iframe>';jQuery("body").append(g);this.sessionReloadAttempt++;setTimeout(b,d)};
WikispacesSession.reloadSessionAt=function(b){typeof this.sessionReloadHandle=="number"&&clearTimeout(this.sessionReloadHandle);var d=Math.floor((new Date).getTime()/1000);b=b-d;if(b<1)b=1;var g=this;this.sessionReloadHandle=setTimeout(function(){g.reloadSessionIframe(function(){g.reloadSessionSuccess()},1)},b*1000)};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(d){delete SWFUpload.instances[this.movieName];throw d;}};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 d=window.location.pathname.lastIndexOf("/");path=d<=0?"/":window.location.pathname.substr(0,d)+"/";return path+b};a=SWFUpload.prototype;
a.initSettings=function(){this.ensureDefault=function(b,d){this.settings[b]=this.settings[b]==undefined?d: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,d;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;d=document.createElement("div");d.innerHTML=this.getFlashHTML();b.parentNode.replaceChild(d.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(),d=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(d),"&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,d=[];if(typeof b==="object")for(var g in b)b.hasOwnProperty(g)&&d.push(encodeURIComponent(g.toString())+"="+encodeURIComponent(b[g].toString()));return d.join("&amp;")};
a.destroy=function(){try{this.cancelUpload(null,false);var b=null;if((b=this.getMovieElement())&&typeof b.CallFunction==="unknown"){for(var d in b)try{if(typeof b[d]==="function")b[d]=null}catch(g){}try{b.parentNode.removeChild(b)}catch(s){}}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(e){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,d,g){return d==undefined?(this.settings[b]=g):(this.settings[b]=d)};a.getSetting=function(b){if(this.settings[b]!=undefined)return this.settings[b];return""};
a.callFlash=function(b,d){d=d||[];var g=this.getMovieElement(),s,e;try{e=g.CallFunction('<invoke name="'+b+'" returntype="javascript">'+__flash__argumentsToXML(d,0)+"</invoke>");s=eval(e)}catch(q){throw"Call to "+b+" failed";}if(s!=undefined&&typeof s.post==="object")s=this.unescapeFilePostParams(s);return s};a.selectFile=function(){this.callFlash("SelectFile")};a.selectFiles=function(){this.callFlash("SelectFiles")};a.startUpload=function(b){this.callFlash("StartUpload",[b])};
a.cancelUpload=function(b,d){if(d!==false)d=true;this.callFlash("CancelUpload",[b,d])};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,d,g){return this.callFlash("AddFileParam",[b,d,g])};
a.removeFileParam=function(b,d){this.callFlash("RemoveFileParam",[b,d])};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,d){this.settings.post_params[b]=d;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,d){this.settings.file_types=b;this.settings.file_types_description=d;this.callFlash("SetFileTypes",[b,d])};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,d){this.settings.button_width=b;this.settings.button_height=d;var g=this.getMovieElement();if(g!=undefined){g.style.width=b+"px";g.style.height=d+"px"}this.callFlash("SetButtonDimensions",[b,d])};a.setButtonText=function(b){this.settings.button_text=b;this.callFlash("SetButtonText",[b])};a.setButtonTextPadding=function(b,d){this.settings.button_text_top_padding=d;this.settings.button_text_left_padding=b;this.callFlash("SetButtonTextPadding",[b,d])};
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,d){if(d==undefined)d=[];else d instanceof Array||(d=[d]);var g=this;if(typeof this.settings[b]==="function"){this.eventQueue.push(function(){this.settings[b].apply(this,d)});setTimeout(function(){g.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 d=/[$]([0-9a-f]{4})/i,g={},s;if(b!=undefined){for(var e in b.post)if(b.post.hasOwnProperty(e)){s=e;for(var q;(q=d.exec(s))!==null;)s=s.replace(q[0],String.fromCharCode(parseInt("0x"+q[1],16)));g[s]=b.post[e]}b.post=g}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 d in b)try{if(typeof b[d]==="function")b[d]=null}catch(g){}}}catch(s){}window.__flash__removeCallback=function(e,q){try{if(e)e[q]=null}catch(l){}}};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,d,g){b=this.unescapeFilePostParams(b);this.queueEvent("file_queue_error_handler",[b,d,g])};a.fileDialogComplete=function(b,d,g){this.queueEvent("file_dialog_complete_handler",[b,d,g])};a.uploadStart=function(b){b=this.unescapeFilePostParams(b);this.queueEvent("return_upload_start_handler",b)};
a.returnUploadStart=function(b){var d;if(typeof this.settings.upload_start_handler==="function"){b=this.unescapeFilePostParams(b);d=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(d===undefined)d=true;d=!!d;this.callFlash("ReturnUploadStart",[d])};a.uploadProgress=function(b,d,g){b=this.unescapeFilePostParams(b);this.queueEvent("upload_progress_handler",[b,d,g])};
a.uploadError=function(b,d,g){b=this.unescapeFilePostParams(b);this.queueEvent("upload_error_handler",[b,d,g])};a.uploadSuccess=function(b,d,g){b=this.unescapeFilePostParams(b);this.queueEvent("upload_success_handler",[b,d,g])};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 d=[];if(typeof b==="object"&&typeof b.name==="string"&&typeof b.message==="string"){for(var g in b)b.hasOwnProperty(g)&&d.push(g+": "+b[g]);b=d.join("\n")||"";d=b.split("\n");b="EXCEPTION: "+d.join("\nEXCEPTION: ");SWFUpload.Console.writeLine(b)}else SWFUpload.Console.writeLine(b)}};SWFUpload.Console={};
SWFUpload.Console.writeLine=function(b){var d,g;try{d=document.getElementById("SWFUpload_Console");if(!d){g=document.createElement("form");document.getElementsByTagName("body")[0].appendChild(g);d=document.createElement("textarea");d.id="SWFUpload_Console";d.style.fontFamily="monospace";d.setAttribute("wrap","off");d.wrap="off";d.style.overflow="auto";d.style.width="700px";d.style.height="350px";d.style.margin="5px";g.appendChild(d)}d.value+=b+"\n";d.scrollTop=d.scrollHeight-d.clientHeight}catch(s){alert("Exception: "+
s.name+" Message: "+s.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 d=this.settings.post_params,g,s=document.cookie.split(";"),e=s.length,q,l,w;for(g=0;g<e;g++){for(q=s[g];q.charAt(0)===" ";)q=q.substring(1,q.length);l=q.indexOf("=");if(l>0){w=q.substring(0,l);q=q.substring(l+1);d[w]=q}}b&&this.setPostParams(d)}}
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 d;if(typeof this.queueSettings.user_upload_start_handler==="function")d=this.queueSettings.user_upload_start_handler.call(this,b);d=d===false?false:true;this.queueSettings.queue_cancelled_flag=!d;return d};SWFUpload.queue.uploadCompleteHandler=function(b){var d=this.queueSettings.user_upload_complete_handler;b.filestatus===SWFUpload.FILE_STATUS.COMPLETE&&this.queueSettings.queue_upload_count++;if(b=typeof d==="function"?d.call(this,b)===false?false:
true:b.filestatus===SWFUpload.FILE_STATUS.QUEUED?false:true){b=this.getStats();if(b.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(d,g){this.settings[d]=this.settings[d]==undefined?g:this.settings[d]};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,d,g){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,d,g)}};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,d,g){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,d,g)};SWFUpload.speed.uploadProgressHandler=function(b,d,g){this.updateTracking(b,d);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,d,g)};SWFUpload.speed.uploadSuccessHandler=function(b,d){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,d)}};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,d){var g;if(d)g=d[b.id];if(g){b.currentSpeed=g.currentSpeed;b.averageSpeed=g.averageSpeed;b.movingAverageSpeed=g.movingAverageSpeed;b.timeRemaining=g.timeRemaining;b.timeElapsed=g.timeElapsed;b.percentUploaded=g.percentUploaded;b.sizeUploaded=g.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,d){var g=this.fileSpeedStats[b.id];g||(this.fileSpeedStats[b.id]=g={});d=d||g.bytesUploaded||0;if(d<0)d=0;if(d>b.size)d=b.size;var s=(new Date).getTime();if(g.startTime)if(g.startTime>s)this.debug("When backwards in time");else{s=(new Date).getTime();var e=g.lastTime;e=s-e;var q=d-g.bytesUploaded;if(q===0||e===0)return g;g.lastTime=s;g.bytesUploaded=d;g.currentSpeed=q*8/(e/1000);g.averageSpeed=g.bytesUploaded*8/((s-g.startTime)/1000);g.movingAverageHistory.push(g.currentSpeed);
g.movingAverageHistory.length>this.settings.moving_average_history_size&&g.movingAverageHistory.shift();g.movingAverageSpeed=SWFUpload.speed.calculateMovingAverage(g.movingAverageHistory);g.timeRemaining=(b.size-g.bytesUploaded)*8/g.movingAverageSpeed;g.timeElapsed=(s-g.startTime)/1000;g.percentUploaded=g.bytesUploaded/b.size*100}else{g.startTime=(new Date).getTime();g.lastTime=g.startTime;g.currentSpeed=0;g.averageSpeed=0;g.movingAverageSpeed=0;g.movingAverageHistory=[];g.timeRemaining=0;g.timeElapsed=
0;g.percentUploaded=d/b.size;g.bytesUploaded=d}return g};SWFUpload.speed.removeTracking=function(b,d){try{d[b.id]=null;delete d[b.id]}catch(g){}};SWFUpload.speed.formatUnits=function(b,d,g,s){var e,q;if(b===0)return"0 "+g[g.length-1];if(s){e=b;q=g.length>=d.length?g[d.length-1]:"";for(s=0;s<d.length;s++)if(b>=d[s]){e=(b/d[s]).toFixed(2);q=g.length>=s?" "+g[s]:"";break}return e+q}else{var l=[],w=b;for(s=0;s<d.length;s++){b=d[s];q=g.length>s?" "+g[s]:"";e=w/b;e=s<d.length-1?Math.floor(e):e.toFixed(2);
if(e>0){w%=b;l.push(e+q)}}return l.join(" ")}};SWFUpload.speed.formatBPS=function(b){var d=[1073741824,1048576,1024,1],g=["Gbps","Mbps","Kbps","bps"];return SWFUpload.speed.formatUnits(b,d,g,true)};SWFUpload.speed.formatTime=function(b){var d=[86400,3600,60,1],g=["d","h","m","s"];return SWFUpload.speed.formatUnits(b,d,g,false)};SWFUpload.speed.formatBytes=function(b){var d=[1073741824,1048576,1024,1],g=["GB","MB","KB","bytes"];return SWFUpload.speed.formatUnits(b,d,g,true)};SWFUpload.speed.formatPercent=
function(b){return b.toFixed(2)+" %"};SWFUpload.speed.calculateMovingAverage=function(b){var d=[],g,s=0,e=0,q=0,l=0,w=0,y=0,r=0;g=b.length;if(g>=8){for(l=0;l<g;l++){d[l]=b[l];s+=d[l]}e=s/g;for(l=0;l<g;l++)q+=Math.pow(d[l]-e,2);l=q/g;w=Math.sqrt(l);for(l=0;l<g;l++)d[l]=(d[l]-e)/w;s=2;for(l=0;l<g;l++)if(d[l]<=s&&d[l]>=-s){r++;y+=b[l]}}else{r=g;for(l=0;l<g;l++)y+=b[l]}return y/r}}
var swfobject=function(){var b="undefined",d="object",g="Shockwave Flash",s="ShockwaveFlash.ShockwaveFlash",e="application/x-shockwave-flash",q="SWFObjectExprInst",l="onreadystatechange",w=window,y=document,r=navigator,B=false,K=[T],D=[],O=[],L=[],Q,S,k,z,H=false,h=false,C,N,P=true,F=function(){var p=typeof y.getElementById!=b&&typeof y.getElementsByTagName!=b&&typeof y.createElement!=b,u=r.userAgent.toLowerCase(),G=r.platform.toLowerCase(),I=G?/win/.test(G):/win/.test(u);G=G?/mac/.test(G):/mac/.test(u);
u=/webkit/.test(u)?parseFloat(u.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false;var M=!+"\u000b1",Y=[0,0,0],R=null;if(typeof r.plugins!=b&&typeof r.plugins[g]==d){if((R=r.plugins[g].description)&&!(typeof r.mimeTypes!=b&&r.mimeTypes[e]&&!r.mimeTypes[e].enabledPlugin)){B=true;M=false;R=R.replace(/^.*\s+(\S+\s+\S+$)/,"$1");Y[0]=parseInt(R.replace(/^(.*)\..*$/,"$1"),10);Y[1]=parseInt(R.replace(/^.*\.(.*)\s.*$/,"$1"),10);Y[2]=/[a-zA-Z]/.test(R)?parseInt(R.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else if(typeof w.ActiveXObject!=
b)try{var aa=new ActiveXObject(s);if(aa)if(R=aa.GetVariable("$version")){M=true;R=R.split(" ")[1].split(",");Y=[parseInt(R[0],10),parseInt(R[1],10),parseInt(R[2],10)]}}catch(da){}return{w3:p,pv:Y,wk:u,ie:M,win:I,mac:G}}();(function(){if(F.w3){if(typeof y.readyState!=b&&y.readyState=="complete"||typeof y.readyState==b&&(y.getElementsByTagName("body")[0]||y.body))W();if(!H){typeof y.addEventListener!=b&&y.addEventListener("DOMContentLoaded",W,false);if(F.ie&&F.win){y.attachEvent(l,function(){if(y.readyState==
"complete"){y.detachEvent(l,arguments.callee);W()}});w==top&&function(){if(!H){try{y.documentElement.doScroll("left")}catch(p){setTimeout(arguments.callee,0);return}W()}}()}F.wk&&function(){H||(/loaded|complete/.test(y.readyState)?W():setTimeout(arguments.callee,0))}();ca(W)}}})();function W(){if(!H){try{var p=y.getElementsByTagName("body")[0].appendChild($("span"));p.parentNode.removeChild(p)}catch(u){return}H=true;p=K.length;for(var G=0;G<p;G++)K[G]()}}function V(p){if(H)p();else K[K.length]=p}
function ca(p){if(typeof w.addEventListener!=b)w.addEventListener("load",p,false);else if(typeof y.addEventListener!=b)y.addEventListener("load",p,false);else if(typeof w.attachEvent!=b)ba(w,"onload",p);else if(typeof w.onload=="function"){var u=w.onload;w.onload=function(){u();p()}}else w.onload=p}function T(){B?ea():c()}function ea(){var p=y.getElementsByTagName("body")[0],u=$(d);u.setAttribute("type",e);var G=p.appendChild(u);if(G){var I=0;(function(){if(typeof G.GetVariable!=b){var M=G.GetVariable("$version");
if(M){M=M.split(" ")[1].split(",");F.pv=[parseInt(M[0],10),parseInt(M[1],10),parseInt(M[2],10)]}}else if(I<10){I++;setTimeout(arguments.callee,10);return}p.removeChild(u);G=null;c()})()}else c()}function c(){var p=D.length;if(p>0)for(var u=0;u<p;u++){var G=D[u].id,I=D[u].callbackFn,M={success:false,id:G};if(F.pv[0]>0){var Y=Z(G);if(Y)if(X(D[u].swfVersion)&&!(F.wk&&F.wk<312)){o(G,true);if(I){M.success=true;M.ref=f(G);I(M)}}else if(D[u].expressInstall&&j()){M={};M.data=D[u].expressInstall;M.width=Y.getAttribute("width")||
"0";M.height=Y.getAttribute("height")||"0";if(Y.getAttribute("class"))M.styleclass=Y.getAttribute("class");if(Y.getAttribute("align"))M.align=Y.getAttribute("align");var R={};Y=Y.getElementsByTagName("param");for(var aa=Y.length,da=0;da<aa;da++)if(Y[da].getAttribute("name").toLowerCase()!="movie")R[Y[da].getAttribute("name")]=Y[da].getAttribute("value");m(M,R,G,I)}else{x(Y);I&&I(M)}}else{o(G,true);if(I){if((G=f(G))&&typeof G.SetVariable!=b){M.success=true;M.ref=G}I(M)}}}}function f(p){var u=null;
if((p=Z(p))&&p.nodeName=="OBJECT")if(typeof p.SetVariable!=b)u=p;else if(p=p.getElementsByTagName(d)[0])u=p;return u}function j(){return!h&&X("6.0.65")&&(F.win||F.mac)&&!(F.wk&&F.wk<312)}function m(p,u,G,I){h=true;k=I||null;z={success:false,id:G};var M=Z(G);if(M){if(M.nodeName=="OBJECT"){Q=E(M);S=null}else{Q=M;S=G}p.id=q;if(typeof p.width==b||!/%$/.test(p.width)&&parseInt(p.width,10)<310)p.width="310";if(typeof p.height==b||!/%$/.test(p.height)&&parseInt(p.height,10)<137)p.height="137";y.title=y.title.slice(0,
47)+" - Flash Player Installation";I=F.ie&&F.win?"ActiveX":"PlugIn";I="MMredirectURL="+w.location.toString().replace(/&/g,"%26")+"&MMplayerType="+I+"&MMdoctitle="+y.title;if(typeof u.flashvars!=b)u.flashvars+="&"+I;else u.flashvars=I;if(F.ie&&F.win&&M.readyState!=4){I=$("div");G+="SWFObjectNew";I.setAttribute("id",G);M.parentNode.insertBefore(I,M);M.style.display="none";(function(){M.readyState==4?M.parentNode.removeChild(M):setTimeout(arguments.callee,10)})()}t(p,u,G)}}function x(p){if(F.ie&&F.win&&
p.readyState!=4){var u=$("div");p.parentNode.insertBefore(u,p);u.parentNode.replaceChild(E(p),u);p.style.display="none";(function(){p.readyState==4?p.parentNode.removeChild(p):setTimeout(arguments.callee,10)})()}else p.parentNode.replaceChild(E(p),p)}function E(p){var u=$("div");if(F.win&&F.ie)u.innerHTML=p.innerHTML;else if(p=p.getElementsByTagName(d)[0])if(p=p.childNodes)for(var G=p.length,I=0;I<G;I++)!(p[I].nodeType==1&&p[I].nodeName=="PARAM")&&p[I].nodeType!=8&&u.appendChild(p[I].cloneNode(true));
return u}function t(p,u,G){var I,M=Z(G);if(F.wk&&F.wk<312)return I;if(M){if(typeof p.id==b)p.id=G;if(F.ie&&F.win){var Y="";for(var R in p)if(p[R]!=Object.prototype[R])if(R.toLowerCase()=="data")u.movie=p[R];else if(R.toLowerCase()=="styleclass")Y+=' class="'+p[R]+'"';else if(R.toLowerCase()!="classid")Y+=" "+R+'="'+p[R]+'"';R="";for(var aa in u)if(u[aa]!=Object.prototype[aa])R+='<param name="'+aa+'" value="'+u[aa]+'" />';M.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+Y+
">"+R+"</object>";O[O.length]=p.id;I=Z(p.id)}else{aa=$(d);aa.setAttribute("type",e);for(Y in p)if(p[Y]!=Object.prototype[Y])if(Y.toLowerCase()=="styleclass")aa.setAttribute("class",p[Y]);else Y.toLowerCase()!="classid"&&aa.setAttribute(Y,p[Y]);for(var da in u)u[da]!=Object.prototype[da]&&da.toLowerCase()!="movie"&&A(aa,da,u[da]);M.parentNode.replaceChild(aa,M);I=aa}}return I}function A(p,u,G){var I=$("param");I.setAttribute("name",u);I.setAttribute("value",G);p.appendChild(I)}function J(p){var u=
Z(p);if(u&&u.nodeName=="OBJECT")if(F.ie&&F.win){u.style.display="none";(function(){u.readyState==4?U(p):setTimeout(arguments.callee,10)})()}else u.parentNode.removeChild(u)}function U(p){if(p=Z(p)){for(var u in p)if(typeof p[u]=="function")p[u]=null;p.parentNode.removeChild(p)}}function Z(p){var u=null;try{u=y.getElementById(p)}catch(G){}return u}function $(p){return y.createElement(p)}function ba(p,u,G){p.attachEvent(u,G);L[L.length]=[p,u,G]}function X(p){var u=F.pv;p=p.split(".");p[0]=parseInt(p[0],
10);p[1]=parseInt(p[1],10)||0;p[2]=parseInt(p[2],10)||0;return u[0]>p[0]||u[0]==p[0]&&u[1]>p[1]||u[0]==p[0]&&u[1]==p[1]&&u[2]>=p[2]?true:false}function fa(p,u,G,I){if(!(F.ie&&F.mac)){var M=y.getElementsByTagName("head")[0];if(M){G=G&&typeof G=="string"?G:"screen";if(I)N=C=null;if(!C||N!=G){I=$("style");I.setAttribute("type","text/css");I.setAttribute("media",G);C=M.appendChild(I);if(F.ie&&F.win&&typeof y.styleSheets!=b&&y.styleSheets.length>0)C=y.styleSheets[y.styleSheets.length-1];N=G}if(F.ie&&F.win)C&&
typeof C.addRule==d&&C.addRule(p,u);else C&&typeof y.createTextNode!=b&&C.appendChild(y.createTextNode(p+" {"+u+"}"))}}}function o(p,u){if(P){u=u?"visible":"hidden";if(H&&Z(p))Z(p).style.visibility=u;else fa("#"+p,"visibility:"+u)}}function v(p){var u=/[\\\"<>\.;]/;return(u=u.exec(p)!=null)&&typeof encodeURIComponent!=b?encodeURIComponent(p):p}(function(){F.ie&&F.win&&window.attachEvent("onunload",function(){for(var p=L.length,u=0;u<p;u++)L[u][0].detachEvent(L[u][1],L[u][2]);p=O.length;for(u=0;u<
p;u++)J(O[u]);for(var G in F)F[G]=null;F=null;for(var I in swfobject)swfobject[I]=null;swfobject=null})})();return{registerObject:function(p,u,G,I){if(F.w3&&p&&u){var M={};M.id=p;M.swfVersion=u;M.expressInstall=G;M.callbackFn=I;D[D.length]=M;o(p,false)}else I&&I({success:false,id:p})},getObjectById:function(p){if(F.w3)return f(p)},embedSWF:function(p,u,G,I,M,Y,R,aa,da,ja){var ia={success:false,id:u};if(F.w3&&!(F.wk&&F.wk<312)&&p&&u&&G&&I&&M){o(u,false);V(function(){G+="";I+="";var ha={};if(da&&typeof da===
d)for(var ga in da)ha[ga]=da[ga];ha.data=p;ha.width=G;ha.height=I;ga={};if(aa&&typeof aa===d)for(var ka in aa)ga[ka]=aa[ka];if(R&&typeof R===d)for(var la in R)if(typeof ga.flashvars!=b)ga.flashvars+="&"+la+"="+R[la];else ga.flashvars=la+"="+R[la];if(X(M)){ka=t(ha,ga,u);ha.id==u&&o(u,true);ia.success=true;ia.ref=ka}else if(Y&&j()){ha.data=Y;m(ha,ga,u,ja);return}else o(u,true);ja&&ja(ia)})}else ja&&ja(ia)},switchOffAutoHideShow:function(){P=false},ua:F,getFlashPlayerVersion:function(){return{major:F.pv[0],
minor:F.pv[1],release:F.pv[2]}},hasFlashPlayerVersion:X,createSWF:function(p,u,G){if(F.w3)return t(p,u,G)},showExpressInstall:function(p,u,G,I){F.w3&&j()&&m(p,u,G,I)},removeSWF:function(p){F.w3&&J(p)},createCSS:function(p,u,G,I){F.w3&&fa(p,u,G,I)},addDomLoadEvent:V,addLoadEvent:ca,getQueryParamValue:function(p){var u=y.location.search||y.location.hash;if(u){if(/\?/.test(u))u=u.split("?")[1];if(p==null)return v(u);u=u.split("&");for(var G=0;G<u.length;G++)if(u[G].substring(0,u[G].indexOf("="))==p)return v(u[G].substring(u[G].indexOf("=")+
1))}return""},expressInstallCallback:function(){if(h){var p=Z(q);if(p&&Q){p.parentNode.replaceChild(Q,p);if(S){o(S,true);if(F.ie&&F.win)Q.style.display="block"}k&&k(z)}h=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(d,g){this.settings[d]=this.settings[d]==undefined?g:this.settings[d]};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(){var d=swfobject.hasFlashPlayerVersion(this.settings.minimum_flash_version);if(d){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 d=Array();jQuery(b).find("select option.selected").each(function(){d[d.length]=jQuery(this).val()});jQuery.post("/tag/update?object="+encodeURIComponent(b.type.value)+"&page="+encodeURIComponent(b.name.value),{go:true,"tags[]":d},function(){jQuery(b).find(".WikiTags ul").empty();for(var g=0;g<d.length;g++){var s=jQuery("<a/>").attr("rel","tag").attr("href","/tag/view/"+encodeURIComponent(d[g])).text(d[g]);s=jQuery("<li/>").addClass("WikiTag").append(s);jQuery(b).find(".WikiTags ul").append(s);
jQuery(b).find(".WikiTags ul").append(" ")}})};WikispacesTags.showInput=function(b){b=jQuery(b).parents(".WikiTagForm");b.find(".WikiTags").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(".WikiTags").show();b.find(".WikiTagsEdit, .WikiTagsInput").hide()};
WikispacesTags.save=function(b){var d=jQuery(b).find("select.WikiTagInput").get(0);d.addFinalItem();WikispacesTags.updateTags(b);d.updateSelected();jQuery(".WikiTags").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 d=WikispacesTags.checkForOpenInputs();if(d)if(d=confirm("Are you sure you want to navigate away from this page?\n\n"+d+"\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 d=jQuery(this).parents(".WikiTagForm");if(!d.find(".facebook-auto").length){WikispacesTags.initElements(d.find("select.WikiTagInput"));d.submit(function(g){WikispacesTags.save(this);jQuery(".WikiTagsEditLink").show();g.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,d,g){return WikispacesCommon.truncify(b,d,0,g)};
WikispacesCommon.truncify=function(b,d,g,s){if(null==g)g=10;if(null==s)s="...";if(b.length<=d)return b;return b.substr(0,d-g-s.length)+s+b.substr(b.length-g)};WikispacesCommon.addUriParams=function(b,d){if(!d||!d.length)return b;b+=b.indexOf("?")==-1?"?":"&";for(var g=[],s=0;s<d.length;++s)g.push(encodeURIComponent(d[s][0])+"="+encodeURIComponent(d[s][1]));return b+g.join("&")};WikispacesCommon.track=function(b,d,g){try{pageTracker._trackEvent(b,d,g)}catch(s){}};
WikispacesCommon.escapeRegExp=function(b){return b.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")};
var Cookie={set:function(b,d,g){var s="";if(g!=undefined){s=new Date;s.setTime(s.getTime()+86400000*parseFloat(g));s="; expires="+s.toGMTString()}return document.cookie=escape(b)+"="+escape(d||"")+s},get:function(b){return(b=document.cookie.match(new RegExp("(^|;)\\s*"+escape(b)+"=([^;\\s]*)")))?unescape(b[2]):null},erase:function(b){var d=Cookie.get(b)||true;Cookie.set(b,"",-1);return d},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,d,g){jQuery(b).toggleClass("includeEditButton",!g).toggleClass("includeEditButtonActive",g);jQuery(".includeBody-"+d.replace(/%/g,"\\%")).toggleClass("includeBody",!g).toggleClass("includeBodyActive",g)}function embed_generic(b,d,g,s){document.writeln('<embed src="'+g+'" type="'+s+'" quality="high" width="'+b+'" height="'+d+'"></embed>')}
function enableDelayedImages(b){jQuery("#"+b+" img").each(function(){var d=jQuery(this);if(d){d.attr("src",d.attr("longdesc"));d.removeAttr("longdesc")}})}var sessionReloadAttempt=0,sessionReloadHandle=null;function reloadSessionSuccess(){jQuery("iframe.sessionReloadIframe").remove();sessionReloadAttempt=0}function reloadSession(b,d,g){log("reloadSession",b,"attempt "+sessionReloadAttempt);if(sessionReloadAttempt>4)typeof g=="function"&&g.call(this);else reloadSessionIframe(b,d)}
function reloadSessionIframe(b,d){var g=(new Date).getTime();g='<iframe class="sessionReloadIframe" id="sessionReloadIfr'+sessionReloadAttempt+'" src="/space/sessionreload?_='+g+'" name="sessionReloadIfr'+sessionReloadAttempt+'" style="display: none; width:0; height:0; border:0; padding:0; margin:0; visibility: hidden;"></iframe>';jQuery("body").append(g);sessionReloadAttempt++;setTimeout(b,d)}
function reloadSessionAt(b){typeof sessionReloadHandle=="number"&&clearTimeout(sessionReloadHandle);var d=Math.floor((new Date).getTime()/1000);b=b-d;if(b<1)b=1;sessionReloadHandle=setTimeout(function(){reloadSessionIframe(function(){reloadSessionSuccess()},1)},b*1000)}WikispacesCommon.disableHideOverlappingEmbeds=false;
function hideOverlappingEmbeds(b){if(!WikispacesCommon.disableHideOverlappingEmbeds){b=jQuery(b);if(b.is(":visible")){var d=b.offset(),g=d.top,s=d.left,e=g+b.outerHeight(),q=s+b.outerWidth();jQuery("iframe:visible, object:visible, embed:visible, applet:visible").each(function(){var l=jQuery(this);if(l.is(":visible")){var w=l.offset(),y=w.top,r=w.left,B=r+l.outerWidth(),K=y+l.outerHeight();l.find("iframe:visible, object:visible, embed:visible, applet:visible").each(function(){var D=jQuery(this),O=
D.offset(),L=O.top;O=O.left;var Q=O+D.outerWidth();D=L+D.outerHeight();if(L<y)y=L;if(O<r)r=O;if(D>K)K=D;if(Q>B)B=Q});if(g<K&&e>y&&s<B&&q>r){w=l.css("display");if(w!="block")w="inline-block";w={display:w,position:l.css("position"),"float":l.css("float"),top:l.css("top"),right:l.css("right"),bottom:l.css("bottom"),left:l.css("left"),width:B-r-18,height:K-y-18,overflow:"hidden"};jQuery("<div></div>").css(w).addClass("WikiEmbedSubForPopup").insertBefore(l);l.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 d=jQuery(this),g=d.nextAll(".WikiMenu:first");if(g.length==0)g=d.parent().nextAll(".WikiMenu:first");if(!d.data("init")){d.data("init",true);g.hover(function(){return preventMenuClose=true},function(){preventMenuClose=false;setTimeout(function(){hideMenu(g[0])},500);return true});d.hoverIntent({sensitivity:3,interval:200,over:function(){showMenu(g[0])},timeout:500,out:function(){hideMenu(g[0])}});d.click(function(){showMenu(g[0])});
g.find(".WikiMenuEntry").click(function(s){if(jQuery(s.target).children("a").length==1){s=jQuery(s.target).children("a:first");if(s.attr("href")&&s.attr("href")!="#")window.location=s.attr("href");else jQuery(s).trigger("click")}preventMenuClose=false;hideMenu(g[0])});d.trigger(b)}})}
WikispacesCommon.setInputDefaults=function(b,d,g){!b.val()&&d&&b.addClass(d);g||b.val(b.attr("title"));b.focus(function(){if(b.val()==b.attr("title")||g&&""==b.val()){b.val("");d&&b.removeClass(d)}});b.blur(function(){if(b.val()==""){d&&b.addClass(d);g||b.val(b.attr("title"))}})};
function jumpToSpace(){var b=jQuery.trim(jQuery("#jumpToSpaceName").nextAll(".autocompleteData:first").val());if(b){b="http://"+b+"."+wikispaces_domain;document.location.href=b}else alert("Please enter a wiki name");return false}function trackFileLink(b){pageTracker._trackPageview(b);typeof pageTrackerInstance=="object"&&pageTrackerInstance._trackPageview(b);typeof pageTrackerSpace=="object"&&pageTrackerSpace._trackPageview(b)}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(g){g.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 d=jQuery("#jumpToSpaceName").get(0).autocompleter.options.onItemSelect;jQuery("#jumpToSpaceName").get(0).autocompleter.options.onItemSelect=function(g,s){d.call(this,g,s);jumpToSpace(WikispacesAutocomplete.getValue(g))};spaceNavLoaded=
true;showSpaceNavigationReal()},"html")}}function showSpaceNavigationReal(){enableDelayedImages("SpaceNavigationTool");jQuery("#SpaceNavigationTool").show();var b=jQuery("body").width()-jQuery("#SpaceNavigationTool").width(),d=jQuery("#SpaceNavigationButton").offset().left;if(d>b)d=b;jQuery("#SpaceNavigationTool").css("left",d)}var preventSpaceNavigationClose=false;function hideSpaceNavigation(){preventSpaceNavigationClose||jQuery("#SpaceNavigationTool").hide()}
function toggleDetails(b){var d=jQuery("#WikiPageInfo");if(d.is(":hidden")){Cookie.set("pageInfo",1,365);d.show();WikispacesCommon.track("PageMenu","Show Details")}else{Cookie.erase("pageInfo");d.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 d=jQuery(this);jQuery(".userMenu").remove();var g=document.createElement("div");g.className="userMenu";document.body.appendChild(g);var s=d.attr("href").substring(d.attr("href").lastIndexOf("/")+1);jQuery(g).load("/user/menu/"+s,{},function(){var e=jQuery(this);e.fadeIn("slow");e.css("position","absolute");e.css("left",d.offset().left-3);e.css("top",
d.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+="";var d=b.charAt(0).toUpperCase();return d+b.substr(1)}jQuery.extend(jQuery.expr[":"],{inView:function(b){var d=document.documentElement.scrollTop||document.body.scrollTop,g=jQuery(b).offset().top,s=window.innerHeight&&window.innerHeight<jQuery(window).height()?window.innerHeight:jQuery(window).height();return g>d&&jQuery(b).height()+g<d+s}});
WikispacesCommon.swfUpload=function(b,d){this.requireRefresh=false;var g=this;this.showSWFUploadUI=function(){jQuery(".swfuploadUI").show();jQuery(".defaultUI").hide()};this.hideSWFUploadUI=function(){jQuery(".swfuploadUI").hide();jQuery(".defaultUI").show()};this.fileQueued=function(s){jQuery("#WikiUploadFileContainer").show();jQuery("#WikiUploadFileContainer").append('<div id="'+s.id+'" class="WikiUploadFile"><div class="progressContainer"><div class="progressBar" id="'+s.id+'progress"></div></div>'+
s.name+" - <a id='"+s.id+'deletebtn\'  href="#">cancel</a></div>');jQuery("#"+s.id+"deletebtn").click(function(){g.swfu.cancelUpload(s.id)});jQuery("#cancelQueueBtn").attr("disabled",false)};this.fileDialogComplete=function(){this.startUpload()};this.uploadProgress=function(s,e,q){jQuery("#"+s.id).addClass("fileUploading");jQuery("#"+s.id+"progress").css("width",Math.ceil(e/q*100)+"%")};this.fileQueueError=function(s,e,q){if(e==SWFUpload.QUEUE_ERROR.QUEUE_LIMIT_EXCEEDED)alert("You have attempted to queue too many files.\n"+
(q==0?"You have reached the upload limit.":"You may select "+(q>1?"up to "+q+" files.":"one file.")));else{if(jQuery("#"+s.id).length){alertMethod=function(l){jQuery("#"+s.id).text(l)};jQuery("#"+s.id).removeClass("fileUploading").addClass("uploadError")}else alertMethod=function(l){alert(l)};switch(e){case SWFUpload.QUEUE_ERROR.FILE_EXCEEDS_SIZE_LIMIT:alertMethod(s.name+" - this file is too large.  Please see the size limits listed on this page.");break;case SWFUpload.QUEUE_ERROR.ZERO_BYTE_FILE:alertMethod(s.name+
" - this file is 0 bytes, we're unable to upload it.");break;default:alertMethod(s.name+" - error during upload, please try again.  "+q);break}}};this.uploadError=function(s,e,q){if(jQuery("#"+s.id).length){alertMethod=function(l){jQuery("#"+s.id).text(l)};jQuery("#"+s.id).removeClass("fileUploading").addClass("uploadError")}else alertMethod=function(l){alert(l)};switch(e){case SWFUpload.UPLOAD_ERROR.HTTP_ERROR:alertMethod(s.name+" - error during upload, please try again. (HTTP Error)");break;case SWFUpload.UPLOAD_ERROR.UPLOAD_FAILED:alertMethod(s.name+
" - error during upload, please try again. (Failed Upload)");break;case SWFUpload.UPLOAD_ERROR.IO_ERROR:alertMethod(s.name+" - error during upload, please try again. (IO Error)");break;case SWFUpload.UPLOAD_ERROR.SECURITY_ERROR:alertMethod(s.name+" - error during upload, please try again. (Security Error)");break;case SWFUpload.UPLOAD_ERROR.UPLOAD_LIMIT_EXCEEDED:alertMethod(s.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("#"+
s.id).text(s.name+" - cancelled").removeClass("fileUploading").addClass("uploadCancelled");break;default:alertMethod(s.name+" - error during upload, please try again.  "+q);break}};this.uploadFileComplete=function(s){jQuery("#"+s.id+".fileUploading").text(s.name+" - done!").removeClass("fileUploading").addClass("uploadCompleted");return true};this.cancelQueue=function(){g.swfu.cancelQueue();jQuery("#cancelQueueBtn").attr("disabled",true);jQuery("#uploadFileBtn").attr("disabled",true);document.location=
g.swfu.customSettings.confirmUploadUrl};this.uploadQueueComplete=function(){jQuery("#cancelQueueBtn").attr("disabled",true);jQuery("#uploadFileBtn").attr("disabled",true);document.location=g.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:d,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})};
