/* 9a3cccb3783e555b4b606206c0fad129 */
/*
 * jQuery JavaScript Library v1.3.2
 * http://jquery.com/
 *
 * Copyright (c) 2009 John Resig
 * Dual licensed under the MIT and GPL licenses.
 * http://docs.jquery.com/License
 *
 * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009)
 * Revision: 6246
 */
(function(){var window=this,undefined,_jQuery=window.jQuery,_$=window.$,jQuery=window.jQuery=window.$=function(selector,context){return new jQuery.fn.init(selector,context)
},quickExpr=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/;
jQuery.fn=jQuery.prototype={init:function(selector,context){selector=selector||document;
if(selector.nodeType){this[0]=selector;
this.length=1;
this.context=selector;
return this
}if(typeof selector==="string"){var match=quickExpr.exec(selector);
if(match&&(match[1]||!context)){if(match[1]){selector=jQuery.clean([match[1]],context)
}else{var elem=document.getElementById(match[3]);
if(elem&&elem.id!=match[3]){return jQuery().find(selector)
}var ret=jQuery(elem||[]);
ret.context=document;
ret.selector=selector;
return ret
}}else{return jQuery(context).find(selector)
}}else{if(jQuery.isFunction(selector)){return jQuery(document).ready(selector)
}}if(selector.selector&&selector.context){this.selector=selector.selector;
this.context=selector.context
}return this.setArray(jQuery.isArray(selector)?selector:jQuery.makeArray(selector))
},selector:"",jquery:"1.3.2",size:function(){return this.length
},get:function(num){return num===undefined?Array.prototype.slice.call(this):this[num]
},pushStack:function(elems,name,selector){var ret=jQuery(elems);
ret.prevObject=this;
ret.context=this.context;
if(name==="find"){ret.selector=this.selector+(this.selector?" ":"")+selector
}else{if(name){ret.selector=this.selector+"."+name+"("+selector+")"
}}return ret
},setArray:function(elems){this.length=0;
Array.prototype.push.apply(this,elems);
return this
},each:function(callback,args){return jQuery.each(this,callback,args)
},index:function(elem){return jQuery.inArray(elem&&elem.jquery?elem[0]:elem,this)
},attr:function(name,value,type){var options=name;
if(typeof name==="string"){if(value===undefined){return this[0]&&jQuery[type||"attr"](this[0],name)
}else{options={};
options[name]=value
}}return this.each(function(i){for(name in options){jQuery.attr(type?this.style:this,name,jQuery.prop(this,options[name],type,i,name))
}})
},css:function(key,value){if((key=="width"||key=="height")&&parseFloat(value)<0){value=undefined
}return this.attr(key,value,"curCSS")
},text:function(text){if(typeof text!=="object"&&text!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(text))
}var ret="";
jQuery.each(text||this,function(){jQuery.each(this.childNodes,function(){if(this.nodeType!=8){ret+=this.nodeType!=1?this.nodeValue:jQuery.fn.text([this])
}})
});
return ret
},wrapAll:function(html){if(this[0]){var wrap=jQuery(html,this[0].ownerDocument).clone();
if(this[0].parentNode){wrap.insertBefore(this[0])
}wrap.map(function(){var elem=this;
while(elem.firstChild){elem=elem.firstChild
}return elem
}).append(this)
}return this
},wrapInner:function(html){return this.each(function(){jQuery(this).contents().wrapAll(html)
})
},wrap:function(html){return this.each(function(){jQuery(this).wrapAll(html)
})
},append:function(){return this.domManip(arguments,true,function(elem){if(this.nodeType==1){this.appendChild(elem)
}})
},prepend:function(){return this.domManip(arguments,true,function(elem){if(this.nodeType==1){this.insertBefore(elem,this.firstChild)
}})
},before:function(){return this.domManip(arguments,false,function(elem){this.parentNode.insertBefore(elem,this)
})
},after:function(){return this.domManip(arguments,false,function(elem){this.parentNode.insertBefore(elem,this.nextSibling)
})
},end:function(){return this.prevObject||jQuery([])
},push:[].push,sort:[].sort,splice:[].splice,find:function(selector){if(this.length===1){var ret=this.pushStack([],"find",selector);
ret.length=0;
jQuery.find(selector,this[0],ret);
return ret
}else{return this.pushStack(jQuery.unique(jQuery.map(this,function(elem){return jQuery.find(selector,elem)
})),"find",selector)
}},clone:function(events){var ret=this.map(function(){if(!jQuery.support.noCloneEvent&&!jQuery.isXMLDoc(this)){var html=this.outerHTML;
if(!html){var div=this.ownerDocument.createElement("div");
div.appendChild(this.cloneNode(true));
html=div.innerHTML
}return jQuery.clean([html.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]
}else{return this.cloneNode(true)
}});
if(events===true){var orig=this.find("*").andSelf(),i=0;
ret.find("*").andSelf().each(function(){if(this.nodeName!==orig[i].nodeName){return 
}var events=jQuery.data(orig[i],"events");
for(var type in events){for(var handler in events[type]){jQuery.event.add(this,type,events[type][handler],events[type][handler].data)
}}i++
})
}return ret
},filter:function(selector){return this.pushStack(jQuery.isFunction(selector)&&jQuery.grep(this,function(elem,i){return selector.call(elem,i)
})||jQuery.multiFilter(selector,jQuery.grep(this,function(elem){return elem.nodeType===1
})),"filter",selector)
},closest:function(selector){var pos=jQuery.expr.match.POS.test(selector)?jQuery(selector):null,closer=0;
return this.map(function(){var cur=this;
while(cur&&cur.ownerDocument){if(pos?pos.index(cur)>-1:jQuery(cur).is(selector)){jQuery.data(cur,"closest",closer);
return cur
}cur=cur.parentNode;
closer++
}})
},not:function(selector){if(typeof selector==="string"){if(isSimple.test(selector)){return this.pushStack(jQuery.multiFilter(selector,this,true),"not",selector)
}else{selector=jQuery.multiFilter(selector,this)
}}var isArrayLike=selector.length&&selector[selector.length-1]!==undefined&&!selector.nodeType;
return this.filter(function(){return isArrayLike?jQuery.inArray(this,selector)<0:this!=selector
})
},add:function(selector){return this.pushStack(jQuery.unique(jQuery.merge(this.get(),typeof selector==="string"?jQuery(selector):jQuery.makeArray(selector))))
},is:function(selector){return !!selector&&jQuery.multiFilter(selector,this).length>0
},hasClass:function(selector){return !!selector&&this.is("."+selector)
},val:function(value){if(value===undefined){var elem=this[0];
if(elem){if(jQuery.nodeName(elem,"option")){return(elem.attributes.value||{}).specified?elem.value:elem.text
}if(jQuery.nodeName(elem,"select")){var index=elem.selectedIndex,values=[],options=elem.options,one=elem.type=="select-one";
if(index<0){return null
}for(var i=one?index:0,max=one?index+1:options.length;
i<max;
i++){var option=options[i];
if(option.selected){value=jQuery(option).val();
if(one){return value
}values.push(value)
}}return values
}return(elem.value||"").replace(/\r/g,"")
}return undefined
}if(typeof value==="number"){value+=""
}return this.each(function(){if(this.nodeType!=1){return 
}if(jQuery.isArray(value)&&/radio|checkbox/.test(this.type)){this.checked=(jQuery.inArray(this.value,value)>=0||jQuery.inArray(this.name,value)>=0)
}else{if(jQuery.nodeName(this,"select")){var values=jQuery.makeArray(value);
jQuery("option",this).each(function(){this.selected=(jQuery.inArray(this.value,values)>=0||jQuery.inArray(this.text,values)>=0)
});
if(!values.length){this.selectedIndex=-1
}}else{this.value=value
}}})
},html:function(value){return value===undefined?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(value)
},replaceWith:function(value){return this.after(value).remove()
},eq:function(i){return this.slice(i,+i+1)
},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))
},map:function(callback){return this.pushStack(jQuery.map(this,function(elem,i){return callback.call(elem,i,elem)
}))
},andSelf:function(){return this.add(this.prevObject)
},domManip:function(args,table,callback){if(this[0]){var fragment=(this[0].ownerDocument||this[0]).createDocumentFragment(),scripts=jQuery.clean(args,(this[0].ownerDocument||this[0]),fragment),first=fragment.firstChild;
if(first){for(var i=0,l=this.length;
i<l;
i++){callback.call(root(this[i],first),this.length>1||i>0?fragment.cloneNode(true):fragment)
}}if(scripts){jQuery.each(scripts,evalScript)
}}return this;
function root(elem,cur){return table&&jQuery.nodeName(elem,"table")&&jQuery.nodeName(cur,"tr")?(elem.getElementsByTagName("tbody")[0]||elem.appendChild(elem.ownerDocument.createElement("tbody"))):elem
}}};
jQuery.fn.init.prototype=jQuery.fn;
function evalScript(i,elem){if(elem.src){jQuery.ajax({url:elem.src,async:false,dataType:"script"})
}else{jQuery.globalEval(elem.text||elem.textContent||elem.innerHTML||"")
}if(elem.parentNode){elem.parentNode.removeChild(elem)
}}function now(){return +new Date
}jQuery.extend=jQuery.fn.extend=function(){var target=arguments[0]||{},i=1,length=arguments.length,deep=false,options;
if(typeof target==="boolean"){deep=target;
target=arguments[1]||{};
i=2
}if(typeof target!=="object"&&!jQuery.isFunction(target)){target={}
}if(length==i){target=this;
--i
}for(;
i<length;
i++){if((options=arguments[i])!=null){for(var name in options){var src=target[name],copy=options[name];
if(target===copy){continue
}if(deep&&copy&&typeof copy==="object"&&!copy.nodeType){target[name]=jQuery.extend(deep,src||(copy.length!=null?[]:{}),copy)
}else{if(copy!==undefined){target[name]=copy
}}}}}return target
};
var exclude=/z-?index|font-?weight|opacity|zoom|line-?height/i,defaultView=document.defaultView||{},toString=Object.prototype.toString;
jQuery.extend({noConflict:function(deep){window.$=_$;
if(deep){window.jQuery=_jQuery
}return jQuery
},isFunction:function(obj){return toString.call(obj)==="[object Function]"
},isArray:function(obj){return toString.call(obj)==="[object Array]"
},isXMLDoc:function(elem){return elem.nodeType===9&&elem.documentElement.nodeName!=="HTML"||!!elem.ownerDocument&&jQuery.isXMLDoc(elem.ownerDocument)
},globalEval:function(data){if(data&&/\S/.test(data)){var head=document.getElementsByTagName("head")[0]||document.documentElement,script=document.createElement("script");
script.type="text/javascript";
if(jQuery.support.scriptEval){script.appendChild(document.createTextNode(data))
}else{script.text=data
}head.insertBefore(script,head.firstChild);
head.removeChild(script)
}},nodeName:function(elem,name){return elem.nodeName&&elem.nodeName.toUpperCase()==name.toUpperCase()
},each:function(object,callback,args){var name,i=0,length=object.length;
if(args){if(length===undefined){for(name in object){if(callback.apply(object[name],args)===false){break
}}}else{for(;
i<length;
){if(callback.apply(object[i++],args)===false){break
}}}}else{if(length===undefined){for(name in object){if(callback.call(object[name],name,object[name])===false){break
}}}else{for(var value=object[0];
i<length&&callback.call(value,i,value)!==false;
value=object[++i]){}}}return object
},prop:function(elem,value,type,i,name){if(jQuery.isFunction(value)){value=value.call(elem,i)
}return typeof value==="number"&&type=="curCSS"&&!exclude.test(name)?value+"px":value
},className:{add:function(elem,classNames){jQuery.each((classNames||"").split(/\s+/),function(i,className){if(elem.nodeType==1&&!jQuery.className.has(elem.className,className)){elem.className+=(elem.className?" ":"")+className
}})
},remove:function(elem,classNames){if(elem.nodeType==1){elem.className=classNames!==undefined?jQuery.grep(elem.className.split(/\s+/),function(className){return !jQuery.className.has(classNames,className)
}).join(" "):""
}},has:function(elem,className){return elem&&jQuery.inArray(className,(elem.className||elem).toString().split(/\s+/))>-1
}},swap:function(elem,options,callback){var old={};
for(var name in options){old[name]=elem.style[name];
elem.style[name]=options[name]
}callback.call(elem);
for(var name in options){elem.style[name]=old[name]
}},css:function(elem,name,force,extra){if(name=="width"||name=="height"){var val,props={position:"absolute",visibility:"hidden",display:"block"},which=name=="width"?["Left","Right"]:["Top","Bottom"];
function getWH(){val=name=="width"?elem.offsetWidth:elem.offsetHeight;
if(extra==="border"){return 
}jQuery.each(which,function(){if(!extra){val-=parseFloat(jQuery.curCSS(elem,"padding"+this,true))||0
}if(extra==="margin"){val+=parseFloat(jQuery.curCSS(elem,"margin"+this,true))||0
}else{val-=parseFloat(jQuery.curCSS(elem,"border"+this+"Width",true))||0
}})
}if(elem.offsetWidth!==0){getWH()
}else{jQuery.swap(elem,props,getWH)
}return Math.max(0,Math.round(val))
}return jQuery.curCSS(elem,name,force)
},curCSS:function(elem,name,force){var ret,style=elem.style;
if(name=="opacity"&&!jQuery.support.opacity){ret=jQuery.attr(style,"opacity");
return ret==""?"1":ret
}if(name.match(/float/i)){name=styleFloat
}if(!force&&style&&style[name]){ret=style[name]
}else{if(defaultView.getComputedStyle){if(name.match(/float/i)){name="float"
}name=name.replace(/([A-Z])/g,"-$1").toLowerCase();
var computedStyle=defaultView.getComputedStyle(elem,null);
if(computedStyle){ret=computedStyle.getPropertyValue(name)
}if(name=="opacity"&&ret==""){ret="1"
}}else{if(elem.currentStyle){var camelCase=name.replace(/\-(\w)/g,function(all,letter){return letter.toUpperCase()
});
ret=elem.currentStyle[name]||elem.currentStyle[camelCase];
if(!/^\d+(px)?$/i.test(ret)&&/^\d/.test(ret)){var left=style.left,rsLeft=elem.runtimeStyle.left;
elem.runtimeStyle.left=elem.currentStyle.left;
style.left=ret||0;
ret=style.pixelLeft+"px";
style.left=left;
elem.runtimeStyle.left=rsLeft
}}}}return ret
},clean:function(elems,context,fragment){context=context||document;
if(typeof context.createElement==="undefined"){context=context.ownerDocument||context[0]&&context[0].ownerDocument||document
}if(!fragment&&elems.length===1&&typeof elems[0]==="string"){var match=/^<(\w+)\s*\/?>$/.exec(elems[0]);
if(match){return[context.createElement(match[1])]
}}var ret=[],scripts=[],div=context.createElement("div");
jQuery.each(elems,function(i,elem){if(typeof elem==="number"){elem+=""
}if(!elem){return 
}if(typeof elem==="string"){elem=elem.replace(/(<(\w+)[^>]*?)\/>/g,function(all,front,tag){return tag.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?all:front+"></"+tag+">"
});
var tags=elem.replace(/^\s+/,"").substring(0,10).toLowerCase();
var wrap=!tags.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!tags.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||tags.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!tags.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!tags.indexOf("<td")||!tags.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!tags.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!jQuery.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];
div.innerHTML=wrap[1]+elem+wrap[2];
while(wrap[0]--){div=div.lastChild
}if(!jQuery.support.tbody){var hasBody=/<tbody/i.test(elem),tbody=!tags.indexOf("<table")&&!hasBody?div.firstChild&&div.firstChild.childNodes:wrap[1]=="<table>"&&!hasBody?div.childNodes:[];
for(var j=tbody.length-1;
j>=0;
--j){if(jQuery.nodeName(tbody[j],"tbody")&&!tbody[j].childNodes.length){tbody[j].parentNode.removeChild(tbody[j])
}}}if(!jQuery.support.leadingWhitespace&&/^\s/.test(elem)){div.insertBefore(context.createTextNode(elem.match(/^\s*/)[0]),div.firstChild)
}elem=jQuery.makeArray(div.childNodes)
}if(elem.nodeType){ret.push(elem)
}else{ret=jQuery.merge(ret,elem)
}});
if(fragment){for(var i=0;
ret[i];
i++){if(jQuery.nodeName(ret[i],"script")&&(!ret[i].type||ret[i].type.toLowerCase()==="text/javascript")){scripts.push(ret[i].parentNode?ret[i].parentNode.removeChild(ret[i]):ret[i])
}else{if(ret[i].nodeType===1){ret.splice.apply(ret,[i+1,0].concat(jQuery.makeArray(ret[i].getElementsByTagName("script"))))
}fragment.appendChild(ret[i])
}}return scripts
}return ret
},attr:function(elem,name,value){if(!elem||elem.nodeType==3||elem.nodeType==8){return undefined
}var notxml=!jQuery.isXMLDoc(elem),set=value!==undefined;
name=notxml&&jQuery.props[name]||name;
if(elem.tagName){var special=/href|src|style/.test(name);
if(name=="selected"&&elem.parentNode){elem.parentNode.selectedIndex
}if(name in elem&&notxml&&!special){if(set){if(name=="type"&&jQuery.nodeName(elem,"input")&&elem.parentNode){throw"type property can't be changed"
}elem[name]=value
}if(jQuery.nodeName(elem,"form")&&elem.getAttributeNode(name)){return elem.getAttributeNode(name).nodeValue
}if(name=="tabIndex"){var attributeNode=elem.getAttributeNode("tabIndex");
return attributeNode&&attributeNode.specified?attributeNode.value:elem.nodeName.match(/(button|input|object|select|textarea)/i)?0:elem.nodeName.match(/^(a|area)$/i)&&elem.href?0:undefined
}return elem[name]
}if(!jQuery.support.style&&notxml&&name=="style"){return jQuery.attr(elem.style,"cssText",value)
}if(set){elem.setAttribute(name,""+value)
}var attr=!jQuery.support.hrefNormalized&&notxml&&special?elem.getAttribute(name,2):elem.getAttribute(name);
return attr===null?undefined:attr
}if(!jQuery.support.opacity&&name=="opacity"){if(set){elem.zoom=1;
elem.filter=(elem.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(value)+""=="NaN"?"":"alpha(opacity="+value*100+")")
}return elem.filter&&elem.filter.indexOf("opacity=")>=0?(parseFloat(elem.filter.match(/opacity=([^)]*)/)[1])/100)+"":""
}name=name.replace(/-([a-z])/ig,function(all,letter){return letter.toUpperCase()
});
if(set){elem[name]=value
}return elem[name]
},trim:function(text){return(text||"").replace(/^\s+|\s+$/g,"")
},makeArray:function(array){var ret=[];
if(array!=null){var i=array.length;
if(i==null||typeof array==="string"||jQuery.isFunction(array)||array.setInterval){ret[0]=array
}else{while(i){ret[--i]=array[i]
}}}return ret
},inArray:function(elem,array){for(var i=0,length=array.length;
i<length;
i++){if(array[i]===elem){return i
}}return -1
},merge:function(first,second){var i=0,elem,pos=first.length;
if(!jQuery.support.getAll){while((elem=second[i++])!=null){if(elem.nodeType!=8){first[pos++]=elem
}}}else{while((elem=second[i++])!=null){first[pos++]=elem
}}return first
},unique:function(array){var ret=[],done={};
try{for(var i=0,length=array.length;
i<length;
i++){var id=jQuery.data(array[i]);
if(!done[id]){done[id]=true;
ret.push(array[i])
}}}catch(e){ret=array
}return ret
},grep:function(elems,callback,inv){var ret=[];
for(var i=0,length=elems.length;
i<length;
i++){if(!inv!=!callback(elems[i],i)){ret.push(elems[i])
}}return ret
},map:function(elems,callback){var ret=[];
for(var i=0,length=elems.length;
i<length;
i++){var value=callback(elems[i],i);
if(value!=null){ret[ret.length]=value
}}return ret.concat.apply([],ret)
}});
var userAgent=navigator.userAgent.toLowerCase();
jQuery.browser={version:(userAgent.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(userAgent),opera:/opera/.test(userAgent),msie:/msie/.test(userAgent)&&!/opera/.test(userAgent),mozilla:/mozilla/.test(userAgent)&&!/(compatible|webkit)/.test(userAgent)};
jQuery.each({parent:function(elem){return elem.parentNode
},parents:function(elem){return jQuery.dir(elem,"parentNode")
},next:function(elem){return jQuery.nth(elem,2,"nextSibling")
},prev:function(elem){return jQuery.nth(elem,2,"previousSibling")
},nextAll:function(elem){return jQuery.dir(elem,"nextSibling")
},prevAll:function(elem){return jQuery.dir(elem,"previousSibling")
},siblings:function(elem){return jQuery.sibling(elem.parentNode.firstChild,elem)
},children:function(elem){return jQuery.sibling(elem.firstChild)
},contents:function(elem){return jQuery.nodeName(elem,"iframe")?elem.contentDocument||elem.contentWindow.document:jQuery.makeArray(elem.childNodes)
}},function(name,fn){jQuery.fn[name]=function(selector){var ret=jQuery.map(this,fn);
if(selector&&typeof selector=="string"){ret=jQuery.multiFilter(selector,ret)
}return this.pushStack(jQuery.unique(ret),name,selector)
}
});
jQuery.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(name,original){jQuery.fn[name]=function(selector){var ret=[],insert=jQuery(selector);
for(var i=0,l=insert.length;
i<l;
i++){var elems=(i>0?this.clone(true):this).get();
jQuery.fn[original].apply(jQuery(insert[i]),elems);
ret=ret.concat(elems)
}return this.pushStack(ret,name,selector)
}
});
jQuery.each({removeAttr:function(name){jQuery.attr(this,name,"");
if(this.nodeType==1){this.removeAttribute(name)
}},addClass:function(classNames){jQuery.className.add(this,classNames)
},removeClass:function(classNames){jQuery.className.remove(this,classNames)
},toggleClass:function(classNames,state){if(typeof state!=="boolean"){state=!jQuery.className.has(this,classNames)
}jQuery.className[state?"add":"remove"](this,classNames)
},remove:function(selector){if(!selector||jQuery.filter(selector,[this]).length){jQuery("*",this).add([this]).each(function(){jQuery.event.remove(this);
jQuery.removeData(this)
});
if(this.parentNode){this.parentNode.removeChild(this)
}}},empty:function(){jQuery(this).children().remove();
while(this.firstChild){this.removeChild(this.firstChild)
}}},function(name,fn){jQuery.fn[name]=function(){return this.each(fn,arguments)
}
});
function num(elem,prop){return elem[0]&&parseInt(jQuery.curCSS(elem[0],prop,true),10)||0
}var expando="jQuery"+now(),uuid=0,windowData={};
jQuery.extend({cache:{},data:function(elem,name,data){elem=elem==window?windowData:elem;
var id=elem[expando];
if(!id){id=elem[expando]=++uuid
}if(name&&!jQuery.cache[id]){jQuery.cache[id]={}
}if(data!==undefined){jQuery.cache[id][name]=data
}return name?jQuery.cache[id][name]:id
},removeData:function(elem,name){elem=elem==window?windowData:elem;
var id=elem[expando];
if(name){if(jQuery.cache[id]){delete jQuery.cache[id][name];
name="";
for(name in jQuery.cache[id]){break
}if(!name){jQuery.removeData(elem)
}}}else{try{delete elem[expando]
}catch(e){if(elem.removeAttribute){elem.removeAttribute(expando)
}}delete jQuery.cache[id]
}},queue:function(elem,type,data){if(elem){type=(type||"fx")+"queue";
var q=jQuery.data(elem,type);
if(!q||jQuery.isArray(data)){q=jQuery.data(elem,type,jQuery.makeArray(data))
}else{if(data){q.push(data)
}}}return q
},dequeue:function(elem,type){var queue=jQuery.queue(elem,type),fn=queue.shift();
if(!type||type==="fx"){fn=queue[0]
}if(fn!==undefined){fn.call(elem)
}}});
jQuery.fn.extend({data:function(key,value){var parts=key.split(".");
parts[1]=parts[1]?"."+parts[1]:"";
if(value===undefined){var data=this.triggerHandler("getData"+parts[1]+"!",[parts[0]]);
if(data===undefined&&this.length){data=jQuery.data(this[0],key)
}return data===undefined&&parts[1]?this.data(parts[0]):data
}else{return this.trigger("setData"+parts[1]+"!",[parts[0],value]).each(function(){jQuery.data(this,key,value)
})
}},removeData:function(key){return this.each(function(){jQuery.removeData(this,key)
})
},queue:function(type,data){if(typeof type!=="string"){data=type;
type="fx"
}if(data===undefined){return jQuery.queue(this[0],type)
}return this.each(function(){var queue=jQuery.queue(this,type,data);
if(type=="fx"&&queue.length==1){queue[0].call(this)
}})
},dequeue:function(type){return this.each(function(){jQuery.dequeue(this,type)
})
}});
/*
 * Sizzle CSS Selector Engine - v0.9.3
 *  Copyright 2009, The Dojo Foundation
 *  Released under the MIT, BSD, and GPL Licenses.
 *  More information: http://sizzlejs.com/
 */
(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,done=0,toString=Object.prototype.toString;
var Sizzle=function(selector,context,results,seed){results=results||[];
context=context||document;
if(context.nodeType!==1&&context.nodeType!==9){return[]
}if(!selector||typeof selector!=="string"){return results
}var parts=[],m,set,checkSet,check,mode,extra,prune=true;
chunker.lastIndex=0;
while((m=chunker.exec(selector))!==null){parts.push(m[1]);
if(m[2]){extra=RegExp.rightContext;
break
}}if(parts.length>1&&origPOS.exec(selector)){if(parts.length===2&&Expr.relative[parts[0]]){set=posProcess(parts[0]+parts[1],context)
}else{set=Expr.relative[parts[0]]?[context]:Sizzle(parts.shift(),context);
while(parts.length){selector=parts.shift();
if(Expr.relative[selector]){selector+=parts.shift()
}set=posProcess(selector,set)
}}}else{var ret=seed?{expr:parts.pop(),set:makeArray(seed)}:Sizzle.find(parts.pop(),parts.length===1&&context.parentNode?context.parentNode:context,isXML(context));
set=Sizzle.filter(ret.expr,ret.set);
if(parts.length>0){checkSet=makeArray(set)
}else{prune=false
}while(parts.length){var cur=parts.pop(),pop=cur;
if(!Expr.relative[cur]){cur=""
}else{pop=parts.pop()
}if(pop==null){pop=context
}Expr.relative[cur](checkSet,pop,isXML(context))
}}if(!checkSet){checkSet=set
}if(!checkSet){throw"Syntax error, unrecognized expression: "+(cur||selector)
}if(toString.call(checkSet)==="[object Array]"){if(!prune){results.push.apply(results,checkSet)
}else{if(context.nodeType===1){for(var i=0;
checkSet[i]!=null;
i++){if(checkSet[i]&&(checkSet[i]===true||checkSet[i].nodeType===1&&contains(context,checkSet[i]))){results.push(set[i])
}}}else{for(var i=0;
checkSet[i]!=null;
i++){if(checkSet[i]&&checkSet[i].nodeType===1){results.push(set[i])
}}}}}else{makeArray(checkSet,results)
}if(extra){Sizzle(extra,context,results,seed);
if(sortOrder){hasDuplicate=false;
results.sort(sortOrder);
if(hasDuplicate){for(var i=1;
i<results.length;
i++){if(results[i]===results[i-1]){results.splice(i--,1)
}}}}}return results
};
Sizzle.matches=function(expr,set){return Sizzle(expr,null,null,set)
};
Sizzle.find=function(expr,context,isXML){var set,match;
if(!expr){return[]
}for(var i=0,l=Expr.order.length;
i<l;
i++){var type=Expr.order[i],match;
if((match=Expr.match[type].exec(expr))){var left=RegExp.leftContext;
if(left.substr(left.length-1)!=="\\"){match[1]=(match[1]||"").replace(/\\/g,"");
set=Expr.find[type](match,context,isXML);
if(set!=null){expr=expr.replace(Expr.match[type],"");
break
}}}}if(!set){set=context.getElementsByTagName("*")
}return{set:set,expr:expr}
};
Sizzle.filter=function(expr,set,inplace,not){var old=expr,result=[],curLoop=set,match,anyFound,isXMLFilter=set&&set[0]&&isXML(set[0]);
while(expr&&set.length){for(var type in Expr.filter){if((match=Expr.match[type].exec(expr))!=null){var filter=Expr.filter[type],found,item;
anyFound=false;
if(curLoop==result){result=[]
}if(Expr.preFilter[type]){match=Expr.preFilter[type](match,curLoop,inplace,result,not,isXMLFilter);
if(!match){anyFound=found=true
}else{if(match===true){continue
}}}if(match){for(var i=0;
(item=curLoop[i])!=null;
i++){if(item){found=filter(item,match,i,curLoop);
var pass=not^!!found;
if(inplace&&found!=null){if(pass){anyFound=true
}else{curLoop[i]=false
}}else{if(pass){result.push(item);
anyFound=true
}}}}}if(found!==undefined){if(!inplace){curLoop=result
}expr=expr.replace(Expr.match[type],"");
if(!anyFound){return[]
}break
}}}if(expr==old){if(anyFound==null){throw"Syntax error, unrecognized expression: "+expr
}else{break
}}old=expr
}return curLoop
};
var Expr=Sizzle.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(elem){return elem.getAttribute("href")
}},relative:{"+":function(checkSet,part,isXML){var isPartStr=typeof part==="string",isTag=isPartStr&&!/\W/.test(part),isPartStrNotTag=isPartStr&&!isTag;
if(isTag&&!isXML){part=part.toUpperCase()
}for(var i=0,l=checkSet.length,elem;
i<l;
i++){if((elem=checkSet[i])){while((elem=elem.previousSibling)&&elem.nodeType!==1){}checkSet[i]=isPartStrNotTag||elem&&elem.nodeName===part?elem||false:elem===part
}}if(isPartStrNotTag){Sizzle.filter(part,checkSet,true)
}},">":function(checkSet,part,isXML){var isPartStr=typeof part==="string";
if(isPartStr&&!/\W/.test(part)){part=isXML?part:part.toUpperCase();
for(var i=0,l=checkSet.length;
i<l;
i++){var elem=checkSet[i];
if(elem){var parent=elem.parentNode;
checkSet[i]=parent.nodeName===part?parent:false
}}}else{for(var i=0,l=checkSet.length;
i<l;
i++){var elem=checkSet[i];
if(elem){checkSet[i]=isPartStr?elem.parentNode:elem.parentNode===part
}}if(isPartStr){Sizzle.filter(part,checkSet,true)
}}},"":function(checkSet,part,isXML){var doneName=done++,checkFn=dirCheck;
if(!part.match(/\W/)){var nodeCheck=part=isXML?part:part.toUpperCase();
checkFn=dirNodeCheck
}checkFn("parentNode",part,doneName,checkSet,nodeCheck,isXML)
},"~":function(checkSet,part,isXML){var doneName=done++,checkFn=dirCheck;
if(typeof part==="string"&&!part.match(/\W/)){var nodeCheck=part=isXML?part:part.toUpperCase();
checkFn=dirNodeCheck
}checkFn("previousSibling",part,doneName,checkSet,nodeCheck,isXML)
}},find:{ID:function(match,context,isXML){if(typeof context.getElementById!=="undefined"&&!isXML){var m=context.getElementById(match[1]);
return m?[m]:[]
}},NAME:function(match,context,isXML){if(typeof context.getElementsByName!=="undefined"){var ret=[],results=context.getElementsByName(match[1]);
for(var i=0,l=results.length;
i<l;
i++){if(results[i].getAttribute("name")===match[1]){ret.push(results[i])
}}return ret.length===0?null:ret
}},TAG:function(match,context){return context.getElementsByTagName(match[1])
}},preFilter:{CLASS:function(match,curLoop,inplace,result,not,isXML){match=" "+match[1].replace(/\\/g,"")+" ";
if(isXML){return match
}for(var i=0,elem;
(elem=curLoop[i])!=null;
i++){if(elem){if(not^(elem.className&&(" "+elem.className+" ").indexOf(match)>=0)){if(!inplace){result.push(elem)
}}else{if(inplace){curLoop[i]=false
}}}}return false
},ID:function(match){return match[1].replace(/\\/g,"")
},TAG:function(match,curLoop){for(var i=0;
curLoop[i]===false;
i++){}return curLoop[i]&&isXML(curLoop[i])?match[1]:match[1].toUpperCase()
},CHILD:function(match){if(match[1]=="nth"){var test=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(match[2]=="even"&&"2n"||match[2]=="odd"&&"2n+1"||!/\D/.test(match[2])&&"0n+"+match[2]||match[2]);
match[2]=(test[1]+(test[2]||1))-0;
match[3]=test[3]-0
}match[0]=done++;
return match
},ATTR:function(match,curLoop,inplace,result,not,isXML){var name=match[1].replace(/\\/g,"");
if(!isXML&&Expr.attrMap[name]){match[1]=Expr.attrMap[name]
}if(match[2]==="~="){match[4]=" "+match[4]+" "
}return match
},PSEUDO:function(match,curLoop,inplace,result,not){if(match[1]==="not"){if(match[3].match(chunker).length>1||/^\w/.test(match[3])){match[3]=Sizzle(match[3],null,null,curLoop)
}else{var ret=Sizzle.filter(match[3],curLoop,inplace,true^not);
if(!inplace){result.push.apply(result,ret)
}return false
}}else{if(Expr.match.POS.test(match[0])||Expr.match.CHILD.test(match[0])){return true
}}return match
},POS:function(match){match.unshift(true);
return match
}},filters:{enabled:function(elem){return elem.disabled===false&&elem.type!=="hidden"
},disabled:function(elem){return elem.disabled===true
},checked:function(elem){return elem.checked===true
},selected:function(elem){elem.parentNode.selectedIndex;
return elem.selected===true
},parent:function(elem){return !!elem.firstChild
},empty:function(elem){return !elem.firstChild
},has:function(elem,i,match){return !!Sizzle(match[3],elem).length
},header:function(elem){return/h\d/i.test(elem.nodeName)
},text:function(elem){return"text"===elem.type
},radio:function(elem){return"radio"===elem.type
},checkbox:function(elem){return"checkbox"===elem.type
},file:function(elem){return"file"===elem.type
},password:function(elem){return"password"===elem.type
},submit:function(elem){return"submit"===elem.type
},image:function(elem){return"image"===elem.type
},reset:function(elem){return"reset"===elem.type
},button:function(elem){return"button"===elem.type||elem.nodeName.toUpperCase()==="BUTTON"
},input:function(elem){return/input|select|textarea|button/i.test(elem.nodeName)
}},setFilters:{first:function(elem,i){return i===0
},last:function(elem,i,match,array){return i===array.length-1
},even:function(elem,i){return i%2===0
},odd:function(elem,i){return i%2===1
},lt:function(elem,i,match){return i<match[3]-0
},gt:function(elem,i,match){return i>match[3]-0
},nth:function(elem,i,match){return match[3]-0==i
},eq:function(elem,i,match){return match[3]-0==i
}},filter:{PSEUDO:function(elem,match,i,array){var name=match[1],filter=Expr.filters[name];
if(filter){return filter(elem,i,match,array)
}else{if(name==="contains"){return(elem.textContent||elem.innerText||"").indexOf(match[3])>=0
}else{if(name==="not"){var not=match[3];
for(var i=0,l=not.length;
i<l;
i++){if(not[i]===elem){return false
}}return true
}}}},CHILD:function(elem,match){var type=match[1],node=elem;
switch(type){case"only":case"first":while(node=node.previousSibling){if(node.nodeType===1){return false
}}if(type=="first"){return true
}node=elem;
case"last":while(node=node.nextSibling){if(node.nodeType===1){return false
}}return true;
case"nth":var first=match[2],last=match[3];
if(first==1&&last==0){return true
}var doneName=match[0],parent=elem.parentNode;
if(parent&&(parent.sizcache!==doneName||!elem.nodeIndex)){var count=0;
for(node=parent.firstChild;
node;
node=node.nextSibling){if(node.nodeType===1){node.nodeIndex=++count
}}parent.sizcache=doneName
}var diff=elem.nodeIndex-last;
if(first==0){return diff==0
}else{return(diff%first==0&&diff/first>=0)
}}},ID:function(elem,match){return elem.nodeType===1&&elem.getAttribute("id")===match
},TAG:function(elem,match){return(match==="*"&&elem.nodeType===1)||elem.nodeName===match
},CLASS:function(elem,match){return(" "+(elem.className||elem.getAttribute("class"))+" ").indexOf(match)>-1
},ATTR:function(elem,match){var name=match[1],result=Expr.attrHandle[name]?Expr.attrHandle[name](elem):elem[name]!=null?elem[name]:elem.getAttribute(name),value=result+"",type=match[2],check=match[4];
return result==null?type==="!=":type==="="?value===check:type==="*="?value.indexOf(check)>=0:type==="~="?(" "+value+" ").indexOf(check)>=0:!check?value&&result!==false:type==="!="?value!=check:type==="^="?value.indexOf(check)===0:type==="$="?value.substr(value.length-check.length)===check:type==="|="?value===check||value.substr(0,check.length+1)===check+"-":false
},POS:function(elem,match,i,array){var name=match[2],filter=Expr.setFilters[name];
if(filter){return filter(elem,i,match,array)
}}}};
var origPOS=Expr.match.POS;
for(var type in Expr.match){Expr.match[type]=RegExp(Expr.match[type].source+/(?![^\[]*\])(?![^\(]*\))/.source)
}var makeArray=function(array,results){array=Array.prototype.slice.call(array);
if(results){results.push.apply(results,array);
return results
}return array
};
try{Array.prototype.slice.call(document.documentElement.childNodes)
}catch(e){makeArray=function(array,results){var ret=results||[];
if(toString.call(array)==="[object Array]"){Array.prototype.push.apply(ret,array)
}else{if(typeof array.length==="number"){for(var i=0,l=array.length;
i<l;
i++){ret.push(array[i])
}}else{for(var i=0;
array[i];
i++){ret.push(array[i])
}}}return ret
}
}var sortOrder;
if(document.documentElement.compareDocumentPosition){sortOrder=function(a,b){var ret=a.compareDocumentPosition(b)&4?-1:a===b?0:1;
if(ret===0){hasDuplicate=true
}return ret
}
}else{if("sourceIndex" in document.documentElement){sortOrder=function(a,b){var ret=a.sourceIndex-b.sourceIndex;
if(ret===0){hasDuplicate=true
}return ret
}
}else{if(document.createRange){sortOrder=function(a,b){var aRange=a.ownerDocument.createRange(),bRange=b.ownerDocument.createRange();
aRange.selectNode(a);
aRange.collapse(true);
bRange.selectNode(b);
bRange.collapse(true);
var ret=aRange.compareBoundaryPoints(Range.START_TO_END,bRange);
if(ret===0){hasDuplicate=true
}return ret
}
}}}(function(){var form=document.createElement("form"),id="script"+(new Date).getTime();
form.innerHTML="<input name='"+id+"'/>";
var root=document.documentElement;
root.insertBefore(form,root.firstChild);
if(!!document.getElementById(id)){Expr.find.ID=function(match,context,isXML){if(typeof context.getElementById!=="undefined"&&!isXML){var m=context.getElementById(match[1]);
return m?m.id===match[1]||typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id").nodeValue===match[1]?[m]:undefined:[]
}};
Expr.filter.ID=function(elem,match){var node=typeof elem.getAttributeNode!=="undefined"&&elem.getAttributeNode("id");
return elem.nodeType===1&&node&&node.nodeValue===match
}
}root.removeChild(form)
})();
(function(){var div=document.createElement("div");
div.appendChild(document.createComment(""));
if(div.getElementsByTagName("*").length>0){Expr.find.TAG=function(match,context){var results=context.getElementsByTagName(match[1]);
if(match[1]==="*"){var tmp=[];
for(var i=0;
results[i];
i++){if(results[i].nodeType===1){tmp.push(results[i])
}}results=tmp
}return results
}
}div.innerHTML="<a href='#'></a>";
if(div.firstChild&&typeof div.firstChild.getAttribute!=="undefined"&&div.firstChild.getAttribute("href")!=="#"){Expr.attrHandle.href=function(elem){return elem.getAttribute("href",2)
}
}})();
if(document.querySelectorAll){(function(){var oldSizzle=Sizzle,div=document.createElement("div");
div.innerHTML="<p class='TEST'></p>";
if(div.querySelectorAll&&div.querySelectorAll(".TEST").length===0){return 
}Sizzle=function(query,context,extra,seed){context=context||document;
if(!seed&&context.nodeType===9&&!isXML(context)){try{return makeArray(context.querySelectorAll(query),extra)
}catch(e){}}return oldSizzle(query,context,extra,seed)
};
Sizzle.find=oldSizzle.find;
Sizzle.filter=oldSizzle.filter;
Sizzle.selectors=oldSizzle.selectors;
Sizzle.matches=oldSizzle.matches
})()
}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var div=document.createElement("div");
div.innerHTML="<div class='test e'></div><div class='test'></div>";
if(div.getElementsByClassName("e").length===0){return 
}div.lastChild.className="e";
if(div.getElementsByClassName("e").length===1){return 
}Expr.order.splice(1,0,"CLASS");
Expr.find.CLASS=function(match,context,isXML){if(typeof context.getElementsByClassName!=="undefined"&&!isXML){return context.getElementsByClassName(match[1])
}}
})()
}function dirNodeCheck(dir,cur,doneName,checkSet,nodeCheck,isXML){var sibDir=dir=="previousSibling"&&!isXML;
for(var i=0,l=checkSet.length;
i<l;
i++){var elem=checkSet[i];
if(elem){if(sibDir&&elem.nodeType===1){elem.sizcache=doneName;
elem.sizset=i
}elem=elem[dir];
var match=false;
while(elem){if(elem.sizcache===doneName){match=checkSet[elem.sizset];
break
}if(elem.nodeType===1&&!isXML){elem.sizcache=doneName;
elem.sizset=i
}if(elem.nodeName===cur){match=elem;
break
}elem=elem[dir]
}checkSet[i]=match
}}}function dirCheck(dir,cur,doneName,checkSet,nodeCheck,isXML){var sibDir=dir=="previousSibling"&&!isXML;
for(var i=0,l=checkSet.length;
i<l;
i++){var elem=checkSet[i];
if(elem){if(sibDir&&elem.nodeType===1){elem.sizcache=doneName;
elem.sizset=i
}elem=elem[dir];
var match=false;
while(elem){if(elem.sizcache===doneName){match=checkSet[elem.sizset];
break
}if(elem.nodeType===1){if(!isXML){elem.sizcache=doneName;
elem.sizset=i
}if(typeof cur!=="string"){if(elem===cur){match=true;
break
}}else{if(Sizzle.filter(cur,[elem]).length>0){match=elem;
break
}}}elem=elem[dir]
}checkSet[i]=match
}}}var contains=document.compareDocumentPosition?function(a,b){return a.compareDocumentPosition(b)&16
}:function(a,b){return a!==b&&(a.contains?a.contains(b):true)
};
var isXML=function(elem){return elem.nodeType===9&&elem.documentElement.nodeName!=="HTML"||!!elem.ownerDocument&&isXML(elem.ownerDocument)
};
var posProcess=function(selector,context){var tmpSet=[],later="",match,root=context.nodeType?[context]:context;
while((match=Expr.match.PSEUDO.exec(selector))){later+=match[0];
selector=selector.replace(Expr.match.PSEUDO,"")
}selector=Expr.relative[selector]?selector+"*":selector;
for(var i=0,l=root.length;
i<l;
i++){Sizzle(selector,root[i],tmpSet)
}return Sizzle.filter(later,tmpSet)
};
jQuery.find=Sizzle;
jQuery.filter=Sizzle.filter;
jQuery.expr=Sizzle.selectors;
jQuery.expr[":"]=jQuery.expr.filters;
Sizzle.selectors.filters.hidden=function(elem){return elem.offsetWidth===0||elem.offsetHeight===0
};
Sizzle.selectors.filters.visible=function(elem){return elem.offsetWidth>0||elem.offsetHeight>0
};
Sizzle.selectors.filters.animated=function(elem){return jQuery.grep(jQuery.timers,function(fn){return elem===fn.elem
}).length
};
jQuery.multiFilter=function(expr,elems,not){if(not){expr=":not("+expr+")"
}return Sizzle.matches(expr,elems)
};
jQuery.dir=function(elem,dir){var matched=[],cur=elem[dir];
while(cur&&cur!=document){if(cur.nodeType==1){matched.push(cur)
}cur=cur[dir]
}return matched
};
jQuery.nth=function(cur,result,dir,elem){result=result||1;
var num=0;
for(;
cur;
cur=cur[dir]){if(cur.nodeType==1&&++num==result){break
}}return cur
};
jQuery.sibling=function(n,elem){var r=[];
for(;
n;
n=n.nextSibling){if(n.nodeType==1&&n!=elem){r.push(n)
}}return r
};
return ;
window.Sizzle=Sizzle
})();
jQuery.event={add:function(elem,types,handler,data){if(elem.nodeType==3||elem.nodeType==8){return 
}if(elem.setInterval&&elem!=window){elem=window
}if(!handler.guid){handler.guid=this.guid++
}if(data!==undefined){var fn=handler;
handler=this.proxy(fn);
handler.data=data
}var events=jQuery.data(elem,"events")||jQuery.data(elem,"events",{}),handle=jQuery.data(elem,"handle")||jQuery.data(elem,"handle",function(){return typeof jQuery!=="undefined"&&!jQuery.event.triggered?jQuery.event.handle.apply(arguments.callee.elem,arguments):undefined
});
handle.elem=elem;
jQuery.each(types.split(/\s+/),function(index,type){var namespaces=type.split(".");
type=namespaces.shift();
handler.type=namespaces.slice().sort().join(".");
var handlers=events[type];
if(jQuery.event.specialAll[type]){jQuery.event.specialAll[type].setup.call(elem,data,namespaces)
}if(!handlers){handlers=events[type]={};
if(!jQuery.event.special[type]||jQuery.event.special[type].setup.call(elem,data,namespaces)===false){if(elem.addEventListener){elem.addEventListener(type,handle,false)
}else{if(elem.attachEvent){elem.attachEvent("on"+type,handle)
}}}}handlers[handler.guid]=handler;
jQuery.event.global[type]=true
});
elem=null
},guid:1,global:{},remove:function(elem,types,handler){if(elem.nodeType==3||elem.nodeType==8){return 
}var events=jQuery.data(elem,"events"),ret,index;
if(events){if(types===undefined||(typeof types==="string"&&types.charAt(0)==".")){for(var type in events){this.remove(elem,type+(types||""))
}}else{if(types.type){handler=types.handler;
types=types.type
}jQuery.each(types.split(/\s+/),function(index,type){var namespaces=type.split(".");
type=namespaces.shift();
var namespace=RegExp("(^|\\.)"+namespaces.slice().sort().join(".*\\.")+"(\\.|$)");
if(events[type]){if(handler){delete events[type][handler.guid]
}else{for(var handle in events[type]){if(namespace.test(events[type][handle].type)){delete events[type][handle]
}}}if(jQuery.event.specialAll[type]){jQuery.event.specialAll[type].teardown.call(elem,namespaces)
}for(ret in events[type]){break
}if(!ret){if(!jQuery.event.special[type]||jQuery.event.special[type].teardown.call(elem,namespaces)===false){if(elem.removeEventListener){elem.removeEventListener(type,jQuery.data(elem,"handle"),false)
}else{if(elem.detachEvent){elem.detachEvent("on"+type,jQuery.data(elem,"handle"))
}}}ret=null;
delete events[type]
}}})
}for(ret in events){break
}if(!ret){var handle=jQuery.data(elem,"handle");
if(handle){handle.elem=null
}jQuery.removeData(elem,"events");
jQuery.removeData(elem,"handle")
}}},trigger:function(event,data,elem,bubbling){var type=event.type||event;
if(!bubbling){event=typeof event==="object"?event[expando]?event:jQuery.extend(jQuery.Event(type),event):jQuery.Event(type);
if(type.indexOf("!")>=0){event.type=type=type.slice(0,-1);
event.exclusive=true
}if(!elem){event.stopPropagation();
if(this.global[type]){jQuery.each(jQuery.cache,function(){if(this.events&&this.events[type]){jQuery.event.trigger(event,data,this.handle.elem)
}})
}}if(!elem||elem.nodeType==3||elem.nodeType==8){return undefined
}event.result=undefined;
event.target=elem;
data=jQuery.makeArray(data);
data.unshift(event)
}event.currentTarget=elem;
var handle=jQuery.data(elem,"handle");
if(handle){handle.apply(elem,data)
}if((!elem[type]||(jQuery.nodeName(elem,"a")&&type=="click"))&&elem["on"+type]&&elem["on"+type].apply(elem,data)===false){event.result=false
}if(!bubbling&&elem[type]&&!event.isDefaultPrevented()&&!(jQuery.nodeName(elem,"a")&&type=="click")){this.triggered=true;
try{elem[type]()
}catch(e){}}this.triggered=false;
if(!event.isPropagationStopped()){var parent=elem.parentNode||elem.ownerDocument;
if(parent){jQuery.event.trigger(event,data,parent,true)
}}},handle:function(event){var all,handlers;
event=arguments[0]=jQuery.event.fix(event||window.event);
event.currentTarget=this;
var namespaces=event.type.split(".");
event.type=namespaces.shift();
all=!namespaces.length&&!event.exclusive;
var namespace=RegExp("(^|\\.)"+namespaces.slice().sort().join(".*\\.")+"(\\.|$)");
handlers=(jQuery.data(this,"events")||{})[event.type];
for(var j in handlers){var handler=handlers[j];
if(all||namespace.test(handler.type)){event.handler=handler;
event.data=handler.data;
var ret=handler.apply(this,arguments);
if(ret!==undefined){event.result=ret;
if(ret===false){event.preventDefault();
event.stopPropagation()
}}if(event.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(event){if(event[expando]){return event
}var originalEvent=event;
event=jQuery.Event(originalEvent);
for(var i=this.props.length,prop;
i;
){prop=this.props[--i];
event[prop]=originalEvent[prop]
}if(!event.target){event.target=event.srcElement||document
}if(event.target.nodeType==3){event.target=event.target.parentNode
}if(!event.relatedTarget&&event.fromElement){event.relatedTarget=event.fromElement==event.target?event.toElement:event.fromElement
}if(event.pageX==null&&event.clientX!=null){var doc=document.documentElement,body=document.body;
event.pageX=event.clientX+(doc&&doc.scrollLeft||body&&body.scrollLeft||0)-(doc.clientLeft||0);
event.pageY=event.clientY+(doc&&doc.scrollTop||body&&body.scrollTop||0)-(doc.clientTop||0)
}if(!event.which&&((event.charCode||event.charCode===0)?event.charCode:event.keyCode)){event.which=event.charCode||event.keyCode
}if(!event.metaKey&&event.ctrlKey){event.metaKey=event.ctrlKey
}if(!event.which&&event.button){event.which=(event.button&1?1:(event.button&2?3:(event.button&4?2:0)))
}return event
},proxy:function(fn,proxy){proxy=proxy||function(){return fn.apply(this,arguments)
};
proxy.guid=fn.guid=fn.guid||proxy.guid||this.guid++;
return proxy
},special:{ready:{setup:bindReady,teardown:function(){}}},specialAll:{live:{setup:function(selector,namespaces){jQuery.event.add(this,namespaces[0],liveHandler)
},teardown:function(namespaces){if(namespaces.length){var remove=0,name=RegExp("(^|\\.)"+namespaces[0]+"(\\.|$)");
jQuery.each((jQuery.data(this,"events").live||{}),function(){if(name.test(this.type)){remove++
}});
if(remove<1){jQuery.event.remove(this,namespaces[0],liveHandler)
}}}}}};
jQuery.Event=function(src){if(!this.preventDefault){return new jQuery.Event(src)
}if(src&&src.type){this.originalEvent=src;
this.type=src.type
}else{this.type=src
}this.timeStamp=now();
this[expando]=true
};
function returnFalse(){return false
}function returnTrue(){return true
}jQuery.Event.prototype={preventDefault:function(){this.isDefaultPrevented=returnTrue;
var e=this.originalEvent;
if(!e){return 
}if(e.preventDefault){e.preventDefault()
}e.returnValue=false
},stopPropagation:function(){this.isPropagationStopped=returnTrue;
var e=this.originalEvent;
if(!e){return 
}if(e.stopPropagation){e.stopPropagation()
}e.cancelBubble=true
},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=returnTrue;
this.stopPropagation()
},isDefaultPrevented:returnFalse,isPropagationStopped:returnFalse,isImmediatePropagationStopped:returnFalse};
var withinElement=function(event){var parent=event.relatedTarget;
while(parent&&parent!=this){try{parent=parent.parentNode
}catch(e){parent=this
}}if(parent!=this){event.type=event.data;
jQuery.event.handle.apply(this,arguments)
}};
jQuery.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(orig,fix){jQuery.event.special[fix]={setup:function(){jQuery.event.add(this,orig,withinElement,fix)
},teardown:function(){jQuery.event.remove(this,orig,withinElement)
}}
});
jQuery.fn.extend({bind:function(type,data,fn){return type=="unload"?this.one(type,data,fn):this.each(function(){jQuery.event.add(this,type,fn||data,fn&&data)
})
},one:function(type,data,fn){var one=jQuery.event.proxy(fn||data,function(event){jQuery(this).unbind(event,one);
return(fn||data).apply(this,arguments)
});
return this.each(function(){jQuery.event.add(this,type,one,fn&&data)
})
},unbind:function(type,fn){return this.each(function(){jQuery.event.remove(this,type,fn)
})
},trigger:function(type,data){return this.each(function(){jQuery.event.trigger(type,data,this)
})
},triggerHandler:function(type,data){if(this[0]){var event=jQuery.Event(type);
event.preventDefault();
event.stopPropagation();
jQuery.event.trigger(event,data,this[0]);
return event.result
}},toggle:function(fn){var args=arguments,i=1;
while(i<args.length){jQuery.event.proxy(fn,args[i++])
}return this.click(jQuery.event.proxy(fn,function(event){this.lastToggle=(this.lastToggle||0)%i;
event.preventDefault();
return args[this.lastToggle++].apply(this,arguments)||false
}))
},hover:function(fnOver,fnOut){return this.mouseenter(fnOver).mouseleave(fnOut)
},ready:function(fn){bindReady();
if(jQuery.isReady){fn.call(document,jQuery)
}else{jQuery.readyList.push(fn)
}return this
},live:function(type,fn){var proxy=jQuery.event.proxy(fn);
proxy.guid+=this.selector+type;
jQuery(document).bind(liveConvert(type,this.selector),this.selector,proxy);
return this
},die:function(type,fn){jQuery(document).unbind(liveConvert(type,this.selector),fn?{guid:fn.guid+this.selector+type}:null);
return this
}});
function liveHandler(event){var check=RegExp("(^|\\.)"+event.type+"(\\.|$)"),stop=true,elems=[];
jQuery.each(jQuery.data(this,"events").live||[],function(i,fn){if(check.test(fn.type)){var elem=jQuery(event.target).closest(fn.data)[0];
if(elem){elems.push({elem:elem,fn:fn})
}}});
elems.sort(function(a,b){return jQuery.data(a.elem,"closest")-jQuery.data(b.elem,"closest")
});
jQuery.each(elems,function(){if(this.fn.call(this.elem,event,this.fn.data)===false){return(stop=false)
}});
return stop
}function liveConvert(type,selector){return["live",type,selector.replace(/\./g,"`").replace(/ /g,"|")].join(".")
}jQuery.extend({isReady:false,readyList:[],ready:function(){if(!jQuery.isReady){jQuery.isReady=true;
if(jQuery.readyList){jQuery.each(jQuery.readyList,function(){this.call(document,jQuery)
});
jQuery.readyList=null
}jQuery(document).triggerHandler("ready")
}}});
var readyBound=false;
function bindReady(){if(readyBound){return 
}readyBound=true;
if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);
jQuery.ready()
},false)
}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);
jQuery.ready()
}});
if(document.documentElement.doScroll&&window==window.top){(function(){if(jQuery.isReady){return 
}try{document.documentElement.doScroll("left")
}catch(error){setTimeout(arguments.callee,0);
return 
}jQuery.ready()
})()
}}}jQuery.event.add(window,"load",jQuery.ready)
}jQuery.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(i,name){jQuery.fn[name]=function(fn){return fn?this.bind(name,fn):this.trigger(name)
}
});
jQuery(window).bind("unload",function(){for(var id in jQuery.cache){if(id!=1&&jQuery.cache[id].handle){jQuery.event.remove(jQuery.cache[id].handle.elem)
}}});
(function(){jQuery.support={};
var root=document.documentElement,script=document.createElement("script"),div=document.createElement("div"),id="script"+(new Date).getTime();
div.style.display="none";
div.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 all=div.getElementsByTagName("*"),a=div.getElementsByTagName("a")[0];
if(!all||!all.length||!a){return 
}jQuery.support={leadingWhitespace:div.firstChild.nodeType==3,tbody:!div.getElementsByTagName("tbody").length,objectAll:!!div.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!div.getElementsByTagName("link").length,style:/red/.test(a.getAttribute("style")),hrefNormalized:a.getAttribute("href")==="/a",opacity:a.style.opacity==="0.5",cssFloat:!!a.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};
script.type="text/javascript";
try{script.appendChild(document.createTextNode("window."+id+"=1;"))
}catch(e){}root.insertBefore(script,root.firstChild);
if(window[id]){jQuery.support.scriptEval=true;
delete window[id]
}root.removeChild(script);
if(div.attachEvent&&div.fireEvent){div.attachEvent("onclick",function(){jQuery.support.noCloneEvent=false;
div.detachEvent("onclick",arguments.callee)
});
div.cloneNode(true).fireEvent("onclick")
}jQuery(function(){var div=document.createElement("div");
div.style.width=div.style.paddingLeft="1px";
document.body.appendChild(div);
jQuery.boxModel=jQuery.support.boxModel=div.offsetWidth===2;
document.body.removeChild(div).style.display="none"
})
})();
var styleFloat=jQuery.support.cssFloat?"cssFloat":"styleFloat";
jQuery.props={"for":"htmlFor","class":"className","float":styleFloat,cssFloat:styleFloat,styleFloat:styleFloat,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};
jQuery.fn.extend({_load:jQuery.fn.load,load:function(url,params,callback){if(typeof url!=="string"){return this._load(url)
}var off=url.indexOf(" ");
if(off>=0){var selector=url.slice(off,url.length);
url=url.slice(0,off)
}var type="GET";
if(params){if(jQuery.isFunction(params)){callback=params;
params=null
}else{if(typeof params==="object"){params=jQuery.param(params);
type="POST"
}}}var self=this;
jQuery.ajax({url:url,type:type,dataType:"html",data:params,complete:function(res,status){if(status=="success"||status=="notmodified"){self.html(selector?jQuery("<div/>").append(res.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(selector):res.responseText)
}if(callback){self.each(callback,[res.responseText,status,res])
}}});
return this
},serialize:function(){return jQuery.param(this.serializeArray())
},serializeArray:function(){return this.map(function(){return this.elements?jQuery.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(i,elem){var val=jQuery(this).val();
return val==null?null:jQuery.isArray(val)?jQuery.map(val,function(val,i){return{name:elem.name,value:val}
}):{name:elem.name,value:val}
}).get()
}});
jQuery.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(i,o){jQuery.fn[o]=function(f){return this.bind(o,f)
}
});
var jsc=now();
jQuery.extend({get:function(url,data,callback,type){if(jQuery.isFunction(data)){callback=data;
data=null
}return jQuery.ajax({type:"GET",url:url,data:data,success:callback,dataType:type})
},getScript:function(url,callback){return jQuery.get(url,null,callback,"script")
},getJSON:function(url,data,callback){return jQuery.get(url,data,callback,"json")
},post:function(url,data,callback,type){if(jQuery.isFunction(data)){callback=data;
data={}
}return jQuery.ajax({type:"POST",url:url,data:data,success:callback,dataType:type})
},ajaxSetup:function(settings){jQuery.extend(jQuery.ajaxSettings,settings)
},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return window.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(s){s=jQuery.extend(true,s,jQuery.extend(true,{},jQuery.ajaxSettings,s));
var jsonp,jsre=/=\?(&|$)/g,status,data,type=s.type.toUpperCase();
if(s.data&&s.processData&&typeof s.data!=="string"){s.data=jQuery.param(s.data)
}if(s.dataType=="jsonp"){if(type=="GET"){if(!s.url.match(jsre)){s.url+=(s.url.match(/\?/)?"&":"?")+(s.jsonp||"callback")+"=?"
}}else{if(!s.data||!s.data.match(jsre)){s.data=(s.data?s.data+"&":"")+(s.jsonp||"callback")+"=?"
}}s.dataType="json"
}if(s.dataType=="json"&&(s.data&&s.data.match(jsre)||s.url.match(jsre))){jsonp="jsonp"+jsc++;
if(s.data){s.data=(s.data+"").replace(jsre,"="+jsonp+"$1")
}s.url=s.url.replace(jsre,"="+jsonp+"$1");
s.dataType="script";
window[jsonp]=function(tmp){data=tmp;
success();
complete();
window[jsonp]=undefined;
try{delete window[jsonp]
}catch(e){}if(head){head.removeChild(script)
}}
}if(s.dataType=="script"&&s.cache==null){s.cache=false
}if(s.cache===false&&type=="GET"){var ts=now();
var ret=s.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+ts+"$2");
s.url=ret+((ret==s.url)?(s.url.match(/\?/)?"&":"?")+"_="+ts:"")
}if(s.data&&type=="GET"){s.url+=(s.url.match(/\?/)?"&":"?")+s.data;
s.data=null
}if(s.global&&!jQuery.active++){jQuery.event.trigger("ajaxStart")
}var parts=/^(\w+:)?\/\/([^\/?#]+)/.exec(s.url);
if(s.dataType=="script"&&type=="GET"&&parts&&(parts[1]&&parts[1]!=location.protocol||parts[2]!=location.host)){var head=document.getElementsByTagName("head")[0];
var script=document.createElement("script");
script.src=s.url;
if(s.scriptCharset){script.charset=s.scriptCharset
}if(!jsonp){var done=false;
script.onload=script.onreadystatechange=function(){if(!done&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){done=true;
success();
complete();
script.onload=script.onreadystatechange=null;
head.removeChild(script)
}}
}head.appendChild(script);
return undefined
}var requestDone=false;
var xhr=s.xhr();
if(s.username){xhr.open(type,s.url,s.async,s.username,s.password)
}else{xhr.open(type,s.url,s.async)
}try{if(s.data){xhr.setRequestHeader("Content-Type",s.contentType)
}if(s.ifModified){xhr.setRequestHeader("If-Modified-Since",jQuery.lastModified[s.url]||"Thu, 01 Jan 1970 00:00:00 GMT")
}xhr.setRequestHeader("X-Requested-With","XMLHttpRequest");
xhr.setRequestHeader("Accept",s.dataType&&s.accepts[s.dataType]?s.accepts[s.dataType]+", */*":s.accepts._default)
}catch(e){}if(s.beforeSend&&s.beforeSend(xhr,s)===false){if(s.global&&!--jQuery.active){jQuery.event.trigger("ajaxStop")
}xhr.abort();
return false
}if(s.global){jQuery.event.trigger("ajaxSend",[xhr,s])
}var onreadystatechange=function(isTimeout){if(xhr.readyState==0){if(ival){clearInterval(ival);
ival=null;
if(s.global&&!--jQuery.active){jQuery.event.trigger("ajaxStop")
}}}else{if(!requestDone&&xhr&&(xhr.readyState==4||isTimeout=="timeout")){requestDone=true;
if(ival){clearInterval(ival);
ival=null
}status=isTimeout=="timeout"?"timeout":!jQuery.httpSuccess(xhr)?"error":s.ifModified&&jQuery.httpNotModified(xhr,s.url)?"notmodified":"success";
if(status=="success"){try{data=jQuery.httpData(xhr,s.dataType,s)
}catch(e){status="parsererror"
}}if(status=="success"){var modRes;
try{modRes=xhr.getResponseHeader("Last-Modified")
}catch(e){}if(s.ifModified&&modRes){jQuery.lastModified[s.url]=modRes
}if(!jsonp){success()
}}else{jQuery.handleError(s,xhr,status)
}complete();
if(isTimeout){xhr.abort()
}if(s.async){xhr=null
}}}};
if(s.async){var ival=setInterval(onreadystatechange,13);
if(s.timeout>0){setTimeout(function(){if(xhr&&!requestDone){onreadystatechange("timeout")
}},s.timeout)
}}try{xhr.send(s.data)
}catch(e){jQuery.handleError(s,xhr,null,e)
}if(!s.async){onreadystatechange()
}function success(){if(s.success){s.success(data,status)
}if(s.global){jQuery.event.trigger("ajaxSuccess",[xhr,s])
}}function complete(){if(s.complete){s.complete(xhr,status)
}if(s.global){jQuery.event.trigger("ajaxComplete",[xhr,s])
}if(s.global&&!--jQuery.active){jQuery.event.trigger("ajaxStop")
}}return xhr
},handleError:function(s,xhr,status,e){if(s.error){s.error(xhr,status,e)
}if(s.global){jQuery.event.trigger("ajaxError",[xhr,s,e])
}},active:0,httpSuccess:function(xhr){try{return !xhr.status&&location.protocol=="file:"||(xhr.status>=200&&xhr.status<300)||xhr.status==304||xhr.status==1223
}catch(e){}return false
},httpNotModified:function(xhr,url){try{var xhrRes=xhr.getResponseHeader("Last-Modified");
return xhr.status==304||xhrRes==jQuery.lastModified[url]
}catch(e){}return false
},httpData:function(xhr,type,s){var ct=xhr.getResponseHeader("content-type"),xml=type=="xml"||!type&&ct&&ct.indexOf("xml")>=0,data=xml?xhr.responseXML:xhr.responseText;
if(xml&&data.documentElement.tagName=="parsererror"){throw"parsererror"
}if(s&&s.dataFilter){data=s.dataFilter(data,type)
}if(typeof data==="string"){if(type=="script"){jQuery.globalEval(data)
}if(type=="json"){data=window["eval"]("("+data+")")
}}return data
},param:function(a){var s=[];
function add(key,value){s[s.length]=encodeURIComponent(key)+"="+encodeURIComponent(value)
}if(jQuery.isArray(a)||a.jquery){jQuery.each(a,function(){add(this.name,this.value)
})
}else{for(var j in a){if(jQuery.isArray(a[j])){jQuery.each(a[j],function(){add(j,this)
})
}else{add(j,jQuery.isFunction(a[j])?a[j]():a[j])
}}}return s.join("&").replace(/%20/g,"+")
}});
var elemdisplay={},timerId,fxAttrs=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];
function genFx(type,num){var obj={};
jQuery.each(fxAttrs.concat.apply([],fxAttrs.slice(0,num)),function(){obj[this]=type
});
return obj
}jQuery.fn.extend({show:function(speed,callback){if(speed){return this.animate(genFx("show",3),speed,callback)
}else{for(var i=0,l=this.length;
i<l;
i++){var old=jQuery.data(this[i],"olddisplay");
this[i].style.display=old||"";
if(jQuery.css(this[i],"display")==="none"){var tagName=this[i].tagName,display;
if(elemdisplay[tagName]){display=elemdisplay[tagName]
}else{var elem=jQuery("<"+tagName+" />").appendTo("body");
display=elem.css("display");
if(display==="none"){display="block"
}elem.remove();
elemdisplay[tagName]=display
}jQuery.data(this[i],"olddisplay",display)
}}for(var i=0,l=this.length;
i<l;
i++){this[i].style.display=jQuery.data(this[i],"olddisplay")||""
}return this
}},hide:function(speed,callback){if(speed){return this.animate(genFx("hide",3),speed,callback)
}else{for(var i=0,l=this.length;
i<l;
i++){var old=jQuery.data(this[i],"olddisplay");
if(!old&&old!=="none"){jQuery.data(this[i],"olddisplay",jQuery.css(this[i],"display"))
}}for(var i=0,l=this.length;
i<l;
i++){this[i].style.display="none"
}return this
}},_toggle:jQuery.fn.toggle,toggle:function(fn,fn2){var bool=typeof fn==="boolean";
return jQuery.isFunction(fn)&&jQuery.isFunction(fn2)?this._toggle.apply(this,arguments):fn==null||bool?this.each(function(){var state=bool?fn:jQuery(this).is(":hidden");
jQuery(this)[state?"show":"hide"]()
}):this.animate(genFx("toggle",3),fn,fn2)
},fadeTo:function(speed,to,callback){return this.animate({opacity:to},speed,callback)
},animate:function(prop,speed,easing,callback){var optall=jQuery.speed(speed,easing,callback);
return this[optall.queue===false?"each":"queue"](function(){var opt=jQuery.extend({},optall),p,hidden=this.nodeType==1&&jQuery(this).is(":hidden"),self=this;
for(p in prop){if(prop[p]=="hide"&&hidden||prop[p]=="show"&&!hidden){return opt.complete.call(this)
}if((p=="height"||p=="width")&&this.style){opt.display=jQuery.css(this,"display");
opt.overflow=this.style.overflow
}}if(opt.overflow!=null){this.style.overflow="hidden"
}opt.curAnim=jQuery.extend({},prop);
jQuery.each(prop,function(name,val){var e=new jQuery.fx(self,opt,name);
if(/toggle|show|hide/.test(val)){e[val=="toggle"?hidden?"show":"hide":val](prop)
}else{var parts=val.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),start=e.cur(true)||0;
if(parts){var end=parseFloat(parts[2]),unit=parts[3]||"px";
if(unit!="px"){self.style[name]=(end||1)+unit;
start=((end||1)/e.cur(true))*start;
self.style[name]=start+unit
}if(parts[1]){end=((parts[1]=="-="?-1:1)*end)+start
}e.custom(start,end,unit)
}else{e.custom(start,val,"")
}}});
return true
})
},stop:function(clearQueue,gotoEnd){var timers=jQuery.timers;
if(clearQueue){this.queue([])
}this.each(function(){for(var i=timers.length-1;
i>=0;
i--){if(timers[i].elem==this){if(gotoEnd){timers[i](true)
}timers.splice(i,1)
}}});
if(!gotoEnd){this.dequeue()
}return this
}});
jQuery.each({slideDown:genFx("show",1),slideUp:genFx("hide",1),slideToggle:genFx("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(name,props){jQuery.fn[name]=function(speed,callback){return this.animate(props,speed,callback)
}
});
jQuery.extend({speed:function(speed,easing,fn){var opt=typeof speed==="object"?speed:{complete:fn||!fn&&easing||jQuery.isFunction(speed)&&speed,duration:speed,easing:fn&&easing||easing&&!jQuery.isFunction(easing)&&easing};
opt.duration=jQuery.fx.off?0:typeof opt.duration==="number"?opt.duration:jQuery.fx.speeds[opt.duration]||jQuery.fx.speeds._default;
opt.old=opt.complete;
opt.complete=function(){if(opt.queue!==false){jQuery(this).dequeue()
}if(jQuery.isFunction(opt.old)){opt.old.call(this)
}};
return opt
},easing:{linear:function(p,n,firstNum,diff){return firstNum+diff*p
},swing:function(p,n,firstNum,diff){return((-Math.cos(p*Math.PI)/2)+0.5)*diff+firstNum
}},timers:[],fx:function(elem,options,prop){this.options=options;
this.elem=elem;
this.prop=prop;
if(!options.orig){options.orig={}
}}});
jQuery.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)
}(jQuery.fx.step[this.prop]||jQuery.fx.step._default)(this);
if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"
}},cur:function(force){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]
}var r=parseFloat(jQuery.css(this.elem,this.prop,force));
return r&&r>-10000?r:parseFloat(jQuery.curCSS(this.elem,this.prop))||0
},custom:function(from,to,unit){this.startTime=now();
this.start=from;
this.end=to;
this.unit=unit||this.unit||"px";
this.now=this.start;
this.pos=this.state=0;
var self=this;
function t(gotoEnd){return self.step(gotoEnd)
}t.elem=this.elem;
if(t()&&jQuery.timers.push(t)&&!timerId){timerId=setInterval(function(){var timers=jQuery.timers;
for(var i=0;
i<timers.length;
i++){if(!timers[i]()){timers.splice(i--,1)
}}if(!timers.length){clearInterval(timerId);
timerId=undefined
}},13)
}},show:function(){this.options.orig[this.prop]=jQuery.attr(this.elem.style,this.prop);
this.options.show=true;
this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());
jQuery(this.elem).show()
},hide:function(){this.options.orig[this.prop]=jQuery.attr(this.elem.style,this.prop);
this.options.hide=true;
this.custom(this.cur(),0)
},step:function(gotoEnd){var t=now();
if(gotoEnd||t>=this.options.duration+this.startTime){this.now=this.end;
this.pos=this.state=1;
this.update();
this.options.curAnim[this.prop]=true;
var done=true;
for(var i in this.options.curAnim){if(this.options.curAnim[i]!==true){done=false
}}if(done){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;
this.elem.style.display=this.options.display;
if(jQuery.css(this.elem,"display")=="none"){this.elem.style.display="block"
}}if(this.options.hide){jQuery(this.elem).hide()
}if(this.options.hide||this.options.show){for(var p in this.options.curAnim){jQuery.attr(this.elem.style,p,this.options.orig[p])
}}this.options.complete.call(this.elem)
}return false
}else{var n=t-this.startTime;
this.state=n/this.options.duration;
this.pos=jQuery.easing[this.options.easing||(jQuery.easing.swing?"swing":"linear")](this.state,n,0,1,this.options.duration);
this.now=this.start+((this.end-this.start)*this.pos);
this.update()
}return true
}};
jQuery.extend(jQuery.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(fx){jQuery.attr(fx.elem.style,"opacity",fx.now)
},_default:function(fx){if(fx.elem.style&&fx.elem.style[fx.prop]!=null){fx.elem.style[fx.prop]=fx.now+fx.unit
}else{fx.elem[fx.prop]=fx.now
}}}});
if(document.documentElement.getBoundingClientRect){jQuery.fn.offset=function(){if(!this[0]){return{top:0,left:0}
}if(this[0]===this[0].ownerDocument.body){return jQuery.offset.bodyOffset(this[0])
}var box=this[0].getBoundingClientRect(),doc=this[0].ownerDocument,body=doc.body,docElem=doc.documentElement,clientTop=docElem.clientTop||body.clientTop||0,clientLeft=docElem.clientLeft||body.clientLeft||0,top=box.top+(self.pageYOffset||jQuery.boxModel&&docElem.scrollTop||body.scrollTop)-clientTop,left=box.left+(self.pageXOffset||jQuery.boxModel&&docElem.scrollLeft||body.scrollLeft)-clientLeft;
return{top:top,left:left}
}
}else{jQuery.fn.offset=function(){if(!this[0]){return{top:0,left:0}
}if(this[0]===this[0].ownerDocument.body){return jQuery.offset.bodyOffset(this[0])
}jQuery.offset.initialized||jQuery.offset.initialize();
var elem=this[0],offsetParent=elem.offsetParent,prevOffsetParent=elem,doc=elem.ownerDocument,computedStyle,docElem=doc.documentElement,body=doc.body,defaultView=doc.defaultView,prevComputedStyle=defaultView.getComputedStyle(elem,null),top=elem.offsetTop,left=elem.offsetLeft;
while((elem=elem.parentNode)&&elem!==body&&elem!==docElem){computedStyle=defaultView.getComputedStyle(elem,null);
top-=elem.scrollTop,left-=elem.scrollLeft;
if(elem===offsetParent){top+=elem.offsetTop,left+=elem.offsetLeft;
if(jQuery.offset.doesNotAddBorder&&!(jQuery.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(elem.tagName))){top+=parseInt(computedStyle.borderTopWidth,10)||0,left+=parseInt(computedStyle.borderLeftWidth,10)||0
}prevOffsetParent=offsetParent,offsetParent=elem.offsetParent
}if(jQuery.offset.subtractsBorderForOverflowNotVisible&&computedStyle.overflow!=="visible"){top+=parseInt(computedStyle.borderTopWidth,10)||0,left+=parseInt(computedStyle.borderLeftWidth,10)||0
}prevComputedStyle=computedStyle
}if(prevComputedStyle.position==="relative"||prevComputedStyle.position==="static"){top+=body.offsetTop,left+=body.offsetLeft
}if(prevComputedStyle.position==="fixed"){top+=Math.max(docElem.scrollTop,body.scrollTop),left+=Math.max(docElem.scrollLeft,body.scrollLeft)
}return{top:top,left:left}
}
}jQuery.offset={initialize:function(){if(this.initialized){return 
}var body=document.body,container=document.createElement("div"),innerDiv,checkDiv,table,td,rules,prop,bodyMarginTop=body.style.marginTop,html='<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>';
rules={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};
for(prop in rules){container.style[prop]=rules[prop]
}container.innerHTML=html;
body.insertBefore(container,body.firstChild);
innerDiv=container.firstChild,checkDiv=innerDiv.firstChild,td=innerDiv.nextSibling.firstChild.firstChild;
this.doesNotAddBorder=(checkDiv.offsetTop!==5);
this.doesAddBorderForTableAndCells=(td.offsetTop===5);
innerDiv.style.overflow="hidden",innerDiv.style.position="relative";
this.subtractsBorderForOverflowNotVisible=(checkDiv.offsetTop===-5);
body.style.marginTop="1px";
this.doesNotIncludeMarginInBodyOffset=(body.offsetTop===0);
body.style.marginTop=bodyMarginTop;
body.removeChild(container);
this.initialized=true
},bodyOffset:function(body){jQuery.offset.initialized||jQuery.offset.initialize();
var top=body.offsetTop,left=body.offsetLeft;
if(jQuery.offset.doesNotIncludeMarginInBodyOffset){top+=parseInt(jQuery.curCSS(body,"marginTop",true),10)||0,left+=parseInt(jQuery.curCSS(body,"marginLeft",true),10)||0
}return{top:top,left:left}
}};
jQuery.fn.extend({position:function(){var left=0,top=0,results;
if(this[0]){var offsetParent=this.offsetParent(),offset=this.offset(),parentOffset=/^body|html$/i.test(offsetParent[0].tagName)?{top:0,left:0}:offsetParent.offset();
offset.top-=num(this,"marginTop");
offset.left-=num(this,"marginLeft");
parentOffset.top+=num(offsetParent,"borderTopWidth");
parentOffset.left+=num(offsetParent,"borderLeftWidth");
results={top:offset.top-parentOffset.top,left:offset.left-parentOffset.left}
}return results
},offsetParent:function(){var offsetParent=this[0].offsetParent||document.body;
while(offsetParent&&(!/^body|html$/i.test(offsetParent.tagName)&&jQuery.css(offsetParent,"position")=="static")){offsetParent=offsetParent.offsetParent
}return jQuery(offsetParent)
}});
jQuery.each(["Left","Top"],function(i,name){var method="scroll"+name;
jQuery.fn[method]=function(val){if(!this[0]){return null
}return val!==undefined?this.each(function(){this==window||this==document?window.scrollTo(!i?val:jQuery(window).scrollLeft(),i?val:jQuery(window).scrollTop()):this[method]=val
}):this[0]==window||this[0]==document?self[i?"pageYOffset":"pageXOffset"]||jQuery.boxModel&&document.documentElement[method]||document.body[method]:this[0][method]
}
});
jQuery.each(["Height","Width"],function(i,name){var tl=i?"Left":"Top",br=i?"Right":"Bottom",lower=name.toLowerCase();
jQuery.fn["inner"+name]=function(){return this[0]?jQuery.css(this[0],lower,false,"padding"):null
};
jQuery.fn["outer"+name]=function(margin){return this[0]?jQuery.css(this[0],lower,false,margin?"margin":"border"):null
};
var type=name.toLowerCase();
jQuery.fn[type]=function(size){return this[0]==window?document.compatMode=="CSS1Compat"&&document.documentElement["client"+name]||document.body["client"+name]:this[0]==document?Math.max(document.documentElement["client"+name],document.body["scroll"+name],document.documentElement["scroll"+name],document.body["offset"+name],document.documentElement["offset"+name]):size===undefined?(this.length?jQuery.css(this[0],type):null):this.css(type,typeof size==="string"?size:size+"px")
}
})
})();
function WikispacesAutocomplete(){}WikispacesAutocomplete.callBackMap={};
WikispacesAutocomplete.idCounter=0;
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,C,A){return jQuery("<div/>").text(B[0]).append(jQuery('<span class="autocompleteId"/>').hide().text(B[2])).html()
};
WikispacesAutocomplete.formatTagItem=function(B,C,A){return jQuery("<div/>").text(B[0]).append(jQuery('<span class="autocompleteId"/>').hide().text(B[0])).html()
};
WikispacesAutocomplete.formatPageItem=function(B,C,A){return jQuery("<div/>").text(B[0]).append(jQuery('<span class="autocompleteId"/>').hide().text(B[0])).html()
};
WikispacesAutocomplete.formatSpaceItem=function(B,C,A){return'<span class="autocompleteSpaceMember-'+B[3]+'">'+jQuery("<div/>").text(B[0]).html()+'</span><br/><span class="autocompleteSupplemental">http://'+B[2]+"</span>"+(B[1]?'<br/><span Class="autocompleteSupplemental">Member Since '+B[1]+"</span>":"")+'<span class="autocompleteId" style="display: none;">'+B[4]+"</span>"
};
WikispacesAutocomplete.findValue=function(E,B){var D=jQuery(E.input).nextAll(".autocompleteStatusImage").eq(0);
var G=jQuery(E.input).nextAll("input.autocompleteData:first").eq(0);
var C;
var H="/i/icon_16_cross.png";
if(jQuery(E.input).hasClass("autocompletePage")){C="page";
H="/i/error_add.png"
}else{if(jQuery(E.input).hasClass("autocompleteSpace")){C="space"
}else{if(jQuery(E.input).hasClass("autocompleteInstance")){C="instance"
}else{if(jQuery(E.input).hasClass("autocompleteTag")){C="tag"
}}}}var A=WikispacesAutocomplete.messageMap[C]["failure"];
var F=WikispacesAutocomplete.messageMap[C]["success"];
if(B==null){D.attr("src",H);
D.attr("title",A);
D.show();
jQuery(E.input).css("color","darkred");
G.val("")
}else{D.attr("src","/i/checkmark.gif");
D.attr("title",F);
D.show();
jQuery(E.input).css("color","green");
G.val(jQuery(B).find(".autocompleteId").html())
}};
WikispacesAutocomplete.emptyValue=function(A){jQuery(A.input).parents("form").find(".autocompleteStatusImage").hide()
};
WikispacesAutocomplete.selectItem=function(B,A){B.findValue();
var D=jQuery(B.input).val();
var C=jQuery(B.input).nextAll("input.autocompleteData:first").eq(0);
if(C.length){C.val(jQuery(A).find(".autocompleteId").html());
D=C.val()
}var E=WikispacesAutocomplete.callBackMap[jQuery(B.input).attr("id")];
if(E){E(D)
}};
WikispacesAutocomplete.initAutocomplete=function(A){var C={maxItemsToShow:20,onFindValue:WikispacesAutocomplete.findValue,onEmptyValue:WikispacesAutocomplete.emptyValue,formatItem:WikispacesAutocomplete.formatInstanceItem,onItemSelect:WikispacesAutocomplete.selectItem,id:WikispacesAutocomplete.idCounter++};
if(jQuery(A).is(".autocompleteInstance")||jQuery(A).is(".autocompleteSpace")){jQuery(A).after('<input type="text" name="'+jQuery(A).attr("name")+'"  value="'+jQuery(A).val()+'" class="autocompleteData" style="display:none;"/>');
jQuery(A).attr("name","Visible"+jQuery(A).attr("name"));
C.minChars=3
}var B;
if(jQuery(A).is(".autocompleteSpace")){C.formatItem=WikispacesAutocomplete.formatSpaceItem;
B="/space/autocomplete/space"
}if(jQuery(A).is(".autocompleteInstance")){C.formatItem=WikispacesAutocomplete.formatInstanceItem;
B="/space/autocomplete/instance"
}if(jQuery(A).is(".autocompleteTag")){C.formatItem=WikispacesAutocomplete.formatTagItem;
B="/space/autocomplete/tag"
}if(jQuery(A).is(".autocompletePage")){C.formatItem=WikispacesAutocomplete.formatPageItem;
B="/space/autocomplete/page"
}jQuery(A).autocomplete(B,C);
if(jQuery(A).val()){A.autocompleter.findValue()
}jQuery(A).after('<img class="autocompleteStatusImage" src="/i/error_add.png" style="display: none;"/>');
jQuery(A).keyup(function(){A.autocompleter.findValue()
});
jQuery(A).change(function(){A.autocompleter.findValue()
});
jQuery(A).keypress(function(D){if(D.keyCode==13){var F=jQuery(A).val();
var E=jQuery(A).nextAll("input.autocompleteData:first").eq(0);
if(E.length){F=E.val()
}jQuery("."+A.autocompleter.options.resultsClass+" li").each(function(){var H=jQuery(this).html();
var G=jQuery(this).find(".autocompleteId");
if(G.length){H=G.html()
}if(H==F){jQuery(this).click()
}})
}})
};
WikispacesAutocomplete.registerAutocompleters=function(){jQuery("input.autocompleteInstance, input.autocompleteSpace, input.autocompleteTag, input.autocompletePage").each(function(){WikispacesAutocomplete.initAutocomplete(this)
})
};
var helpStack=Array();
var currentId="0";
var currentSection="0";
var currentSectionCount=0;
function showGettingStartedHome(){jQuery("#WikispacesGettingStartedCategory").empty();
jQuery("#WikispacesGettingStartedBreadcrumbHome").addClass("WikispacesHelpBreadcrumbCurrent");
jQuery("#WikispacesGettingStartedNav").empty();
jQuery("#w_gs_"+currentSection+"-"+currentId).hide();
jQuery("#w_gs_index").show();
currentId="0";
currentSection="0";
return false
}function showAllGettingStarted(){jQuery("#w_gs_index").hide();
jQuery(".w_gs").show()
}function showGettingStartedDiv(A,B){jQuery("#WikispacesGettingStartedBreadcrumbs .WikispacesHelpBreadcrumbCurrent").removeClass("WikispacesHelpBreadcrumbCurrent");
jQuery("#WikispacesGettingStartedCategory").html('<span class="WikispacesHelpBreadcrumb WikispacesHelpBreadcrumbCurrent"> &gt; <a href="#" onclick="return false;">'+sectionTitles[A]+"</a></span>");
jQuery("#w_gs_index").hide();
if(A!=currentSection){n=1;
jQuery("#w_gs_s"+A).children().each(function(C){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(B!=currentId){jQuery("#w_gs_n"+currentId).removeClass("navhl");
jQuery("#w_gs_"+currentSection+"-"+currentId).hide()
}jQuery("#w_gs_n"+B).addClass("navhl");
jQuery("#w_gs_"+A+"-"+B).show();
if(parseInt(B)==currentSectionCount){jQuery("#w_gs_next").hide()
}else{jQuery("#w_gs_next").show()
}currentId=B;
currentSection=A;
return false
}function attachGettingStarted(A){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(B){fixEmbedLayers();
loadGettingStarted(A);
B.w.show()
},onHide:function(B){B.w.effect("transfer",{to:"#WikispacesHelpTrigger",className:"jqmTransfer"},1000);
B.w.hide();
B.o.remove()
}})
}var scroll;
function scrollUp(A){if(A){scroll=true
}if(scroll){jQuery("#WikispacesHelpContent").scrollTop(jQuery("#WikispacesHelpContent").scrollTop()-20);
setTimeout("scrollUp(false);",50)
}}function scrollDown(A){if(A){scroll=true
}if(scroll){jQuery("#WikispacesHelpContent").scrollTop(jQuery("#WikispacesHelpContent").scrollTop()+20);
setTimeout("scrollDown(false);",50)
}}function stopScroll(){scroll=false
}function attachHelpWindow(A){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(B){if(helpStack.length==0){fixEmbedLayers();
loadHelp(A)
}B.w.show()
},onHide:function(B){B.w.effect("transfer",{to:"#WikispacesHelpTrigger",className:"jqmTransfer"},1000);
B.w.hide();
B.o.remove()
}})
}function loadGettingStarted(B){jQuery("#WikispacesHelpControls").hide();
jQuery("#WikispacesHelpContent").hide();
jQuery("#WikispacesGettingStartedControls").show();
jQuery("#WikispacesGettingStartedContent").show();
var A="/site/helpcontent/none?mode=gettingstarted"+B;
jQuery.ajax({url:A,type:"GET",dataType:"html",success:function(C,D){jQuery("#WikispacesGettingStartedContent").html(C);
reloadSessionSuccess()
},error:function(C,E,D){reloadSession(function(){loadGettingStarted(B)
},500,function(){alert("Error: Could Not Display Help")
})
}})
}function loadHelp(D){jQuery("#WikispacesHelpControls").show();
jQuery("#WikispacesHelpContent").show();
jQuery("#WikispacesGettingStartedControls").hide();
jQuery("#WikispacesGettingStartedContent").hide();
var C=document.location.protocol+"//"+document.location.hostname;
if(D.substring(0,C.length)==C&&D.substr(C.length,6)=="/Help."){D=D.substr(C.length)
}if(D.substring(0,7)=="http://"||D.substring(0,8)=="https://"){return false
}jQuery("#WikispacesHelpBreadcrumbSpinner").css("display","inline");
if(D.substr(0,1)=="/"){D=D.substr(1)
}var B="";
if(D.indexOf("#")>0){B=D.substr(D.indexOf("#")+1);
D=D.substr(0,D.indexOf("#"))
}if(D==helpStack[helpStack.length]){if(B){jQuery("#WikispacesHelpContent").scrollTo(jQuery("#WikispacesHelpContent a[name='"+B+"']"))
}else{jQuery("#WikispacesHelpContent").scrollTop(0)
}}else{var A="/site/helpcontent/"+D;
jQuery.ajax({url:A,type:"GET",dataType:"html",success:function(E,F){reloadSessionSuccess();
jQuery("#WikispacesHelpContent").html(E);
fixHelpContent(jQuery("#WikispacesHelpContent"));
generateHelpToc(jQuery("#WikispacesHelpContent"));
attachNavigation(jQuery("#WikispacesHelpContent"));
helpStack.push(D);
showBreadcrumbs();
jQuery("#WikispacesHelpBreadcrumbSpinner").hide();
if(B){jQuery("#WikispacesHelpContent").scrollTo(jQuery("#WikispacesHelpContent a[name='"+B+"']"))
}else{jQuery("#WikispacesHelpContent").scrollTop(0)
}},error:function(E,G,F){reloadSession(function(){loadHelp(D)
},500,function(){alert("Error: Could Not Display Help")
})
}})
}return true
}function attachNavigation(A){if(jQuery.browser.firefox&&2==parseInt(jQuery.browser.version)&&-1!=navigator.userAgent.toLowerCase().indexOf("mac")){jQuery(A).append('<div class="WikispacesHelpPageUp" onmouseover="scrollUp(true);" onmouseout="stopScroll();"><img src="/i/arrow_up.png"/></div>');
jQuery(A).append('<div class="WikispacesHelpPageDown" onmouseover="scrollDown(true);" onmouseout="stopScroll();"><img src="/i/arrow_down.png"/></div>')
}}function getHelpPageText(B){var A=B;
if(!A){A=""
}if(A.substr(0,1)=="/"){A=A.substr(1)
}A=decodeURIComponent(A);
A=A.replace(/\+/g," ");
if(A.lastIndexOf(".")>0){A=A.substr(A.lastIndexOf(".")+1)
}return A
}var MAX_BREADCRUMBS=4;
function showBreadcrumbs(){jQuery("#WikispacesHelpBreadcrumbs span.WikispacesHelpBreadcrumb").remove(":not(#WikispacesHelpBreadcrumbHome)");
var A=helpStack.length-MAX_BREADCRUMBS;
if(A<1){A=1
}for(var C=A;
C<helpStack.length;
C++){var E=helpStack[C];
var D=getHelpPageText(E);
var F=jQuery("#WikispacesHelpBreadcrumbs span:last");
var B='<span class="WikispacesHelpBreadcrumb"> &gt; <a href="#" onclick="return gotoBreadcrumb(\''+C+"');\">"+D+"</a></span>";
F.after(" "+B)
}if(helpStack.length-1>MAX_BREADCRUMBS){jQuery("#WikispacesHelpBreadcrumbsEllipsis").show()
}else{jQuery("#WikispacesHelpBreadcrumbsEllipsis").hide()
}jQuery("#WikispacesHelpBreadcrumbs .WikispacesHelpBreadcrumbCurrent").removeClass("WikispacesHelpBreadcrumbCurrent");
jQuery("#WikispacesHelpBreadcrumbs .WikispacesHelpBreadcrumb:last").addClass("WikispacesHelpBreadcrumbCurrent")
}function gotoBreadcrumb(A){var C=helpStack[A];
for(var B=helpStack.length;
B>A;
B--){helpStack.pop()
}loadHelp(C);
return false
}function generateHelpToc(A){var B=jQuery('<div id="toc"><h1 class="nopad">Table of Contents</h1></div>');
A.find("h1,h2,h3,h4,h5,h6").each(function(){var C=jQuery('<a href="#">'+jQuery(this).text()+"</a>");
var D=jQuery(this);
C.click(function(F){jQuery("#WikispacesHelpContent").scrollTo(D,300);
F.preventDefault()
});
var E=jQuery('<div style="margin-left: '+this.tagName.substr(1,2)+'em;"></div>');
E.append(C);
B.append(E)
});
A.prepend(B)
}function fixHelpContent(A){jQuery(A).find("a").each(function(){var B=jQuery(this);
B.unbind();
B.click(function(C){if(loadHelp(B.attr("href"))){C.preventDefault()
}})
});
jQuery(A).find("div.includeBody").each(function(){var B=jQuery(this);
if(wikispaces_isMain&&B.attr("class").indexOf(".PL.")>0){B.remove()
}if(!wikispaces_isMain&&B.attr("class").indexOf(".Wikispaces.")>0){B.remove()
}});
jQuery(A).find("img").each(function(){var B=jQuery(this);
B.attr("src",B.attr("src").replace(/^\//,window.location.protocol+"//help.wikispaces.com/"))
})
}jQuery.effects||(function(D){D.effects={version:"1.7.1",save:function(G,H){for(var F=0;
F<H.length;
F++){if(H[F]!==null){G.data("ec.storage."+H[F],G[0].style[H[F]])
}}},restore:function(G,H){for(var F=0;
F<H.length;
F++){if(H[F]!==null){G.css(H[F],G.data("ec.storage."+H[F]))
}}},setMode:function(F,G){if(G=="toggle"){G=F.is(":hidden")?"show":"hide"
}return G
},getBaseline:function(G,H){var I,F;
switch(G[0]){case"top":I=0;
break;
case"middle":I=0.5;
break;
case"bottom":I=1;
break;
default:I=G[0]/H.height
}switch(G[1]){case"left":F=0;
break;
case"center":F=0.5;
break;
case"right":F=1;
break;
default:F=G[1]/H.width
}return{x:F,y:I}
},createWrapper:function(F){if(F.parent().is(".ui-effects-wrapper")){return F.parent()
}var G={width:F.outerWidth(true),height:F.outerHeight(true),"float":F.css("float")};
F.wrap('<div class="ui-effects-wrapper" style="font-size:100%;background:transparent;border:none;margin:0;padding:0"></div>');
var J=F.parent();
if(F.css("position")=="static"){J.css({position:"relative"});
F.css({position:"relative"})
}else{var I=F.css("top");
if(isNaN(parseInt(I,10))){I="auto"
}var H=F.css("left");
if(isNaN(parseInt(H,10))){H="auto"
}J.css({position:F.css("position"),top:I,left:H,zIndex:F.css("z-index")}).show();
F.css({position:"relative",top:0,left:0})
}J.css(G);
return J
},removeWrapper:function(F){if(F.parent().is(".ui-effects-wrapper")){return F.parent().replaceWith(F)
}return F
},setTransition:function(G,I,F,H){H=H||{};
D.each(I,function(K,J){unit=G.cssUnit(J);
if(unit[0]>0){H[J]=unit[0]*F+unit[1]
}});
return H
},animateClass:function(H,I,K,J){var F=(typeof K=="function"?K:(J?J:null));
var G=(typeof K=="string"?K:null);
return this.each(function(){var P={};
var N=D(this);
var O=N.attr("style")||"";
if(typeof O=="object"){O=O.cssText
}if(H.toggle){N.hasClass(H.toggle)?H.remove=H.toggle:H.add=H.toggle
}var L=D.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));
if(H.add){N.addClass(H.add)
}if(H.remove){N.removeClass(H.remove)
}var M=D.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));
if(H.add){N.removeClass(H.add)
}if(H.remove){N.addClass(H.remove)
}for(var Q in M){if(typeof M[Q]!="function"&&M[Q]&&Q.indexOf("Moz")==-1&&Q.indexOf("length")==-1&&M[Q]!=L[Q]&&(Q.match(/color/i)||(!Q.match(/color/i)&&!isNaN(parseInt(M[Q],10))))&&(L.position!="static"||(L.position=="static"&&!Q.match(/left|top|bottom|right/)))){P[Q]=M[Q]
}}N.animate(P,I,G,function(){if(typeof D(this).attr("style")=="object"){D(this).attr("style")["cssText"]="";
D(this).attr("style")["cssText"]=O
}else{D(this).attr("style",O)
}if(H.add){D(this).addClass(H.add)
}if(H.remove){D(this).removeClass(H.remove)
}if(F){F.apply(this,arguments)
}})
})
}};
function C(G,F){var I=G[1]&&G[1].constructor==Object?G[1]:{};
if(F){I.mode=F
}var H=G[1]&&G[1].constructor!=Object?G[1]:(I.duration?I.duration:G[2]);
H=D.fx.off?0:typeof H==="number"?H:D.fx.speeds[H]||D.fx.speeds._default;
var J=I.callback||(D.isFunction(G[1])&&G[1])||(D.isFunction(G[2])&&G[2])||(D.isFunction(G[3])&&G[3]);
return[G[0],I,H,J]
}D.fn.extend({_show:D.fn.show,_hide:D.fn.hide,__toggle:D.fn.toggle,_addClass:D.fn.addClass,_removeClass:D.fn.removeClass,_toggleClass:D.fn.toggleClass,effect:function(G,F,H,I){return D.effects[G]?D.effects[G].call(this,{method:G,options:F||{},duration:H,callback:I}):null
},show:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._show.apply(this,arguments)
}else{return this.effect.apply(this,C(arguments,"show"))
}},hide:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._hide.apply(this,arguments)
}else{return this.effect.apply(this,C(arguments,"hide"))
}},toggle:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))||(arguments[0].constructor==Function)){return this.__toggle.apply(this,arguments)
}else{return this.effect.apply(this,C(arguments,"toggle"))
}},addClass:function(G,F,I,H){return F?D.effects.animateClass.apply(this,[{add:G},F,I,H]):this._addClass(G)
},removeClass:function(G,F,I,H){return F?D.effects.animateClass.apply(this,[{remove:G},F,I,H]):this._removeClass(G)
},toggleClass:function(G,F,I,H){return((typeof F!=="boolean")&&F)?D.effects.animateClass.apply(this,[{toggle:G},F,I,H]):this._toggleClass(G,F)
},morph:function(F,H,G,J,I){return D.effects.animateClass.apply(this,[{add:H,remove:F},G,J,I])
},switchClass:function(){return this.morph.apply(this,arguments)
},cssUnit:function(F){var G=this.css(F),H=[];
D.each(["em","px","%","pt"],function(I,J){if(G.indexOf(J)>0){H=[parseFloat(G),J]
}});
return H
}});
D.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(G,F){D.fx.step[F]=function(H){if(H.state==0){H.start=E(H.elem,F);
H.end=B(H.end)
}H.elem.style[F]="rgb("+[Math.max(Math.min(parseInt((H.pos*(H.end[0]-H.start[0]))+H.start[0],10),255),0),Math.max(Math.min(parseInt((H.pos*(H.end[1]-H.start[1]))+H.start[1],10),255),0),Math.max(Math.min(parseInt((H.pos*(H.end[2]-H.start[2]))+H.start[2],10),255),0)].join(",")+")"
}
});
function B(G){var F;
if(G&&G.constructor==Array&&G.length==3){return G
}if(F=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(G)){return[parseInt(F[1],10),parseInt(F[2],10),parseInt(F[3],10)]
}if(F=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(G)){return[parseFloat(F[1])*2.55,parseFloat(F[2])*2.55,parseFloat(F[3])*2.55]
}if(F=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(G)){return[parseInt(F[1],16),parseInt(F[2],16),parseInt(F[3],16)]
}if(F=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(G)){return[parseInt(F[1]+F[1],16),parseInt(F[2]+F[2],16),parseInt(F[3]+F[3],16)]
}if(F=/rgba\(0, 0, 0, 0\)/.exec(G)){return A.transparent
}return A[D.trim(G).toLowerCase()]
}function E(H,F){var G;
do{G=D.curCSS(H,F);
if(G!=""&&G!="transparent"||D.nodeName(H,"body")){break
}F="backgroundColor"
}while(H=H.parentNode);
return B(G)
}var A={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]};
D.easing.jswing=D.easing.swing;
D.extend(D.easing,{def:"easeOutQuad",swing:function(G,H,F,J,I){return D.easing[D.easing.def](G,H,F,J,I)
},easeInQuad:function(G,H,F,J,I){return J*(H/=I)*H+F
},easeOutQuad:function(G,H,F,J,I){return -J*(H/=I)*(H-2)+F
},easeInOutQuad:function(G,H,F,J,I){if((H/=I/2)<1){return J/2*H*H+F
}return -J/2*((--H)*(H-2)-1)+F
},easeInCubic:function(G,H,F,J,I){return J*(H/=I)*H*H+F
},easeOutCubic:function(G,H,F,J,I){return J*((H=H/I-1)*H*H+1)+F
},easeInOutCubic:function(G,H,F,J,I){if((H/=I/2)<1){return J/2*H*H*H+F
}return J/2*((H-=2)*H*H+2)+F
},easeInQuart:function(G,H,F,J,I){return J*(H/=I)*H*H*H+F
},easeOutQuart:function(G,H,F,J,I){return -J*((H=H/I-1)*H*H*H-1)+F
},easeInOutQuart:function(G,H,F,J,I){if((H/=I/2)<1){return J/2*H*H*H*H+F
}return -J/2*((H-=2)*H*H*H-2)+F
},easeInQuint:function(G,H,F,J,I){return J*(H/=I)*H*H*H*H+F
},easeOutQuint:function(G,H,F,J,I){return J*((H=H/I-1)*H*H*H*H+1)+F
},easeInOutQuint:function(G,H,F,J,I){if((H/=I/2)<1){return J/2*H*H*H*H*H+F
}return J/2*((H-=2)*H*H*H*H+2)+F
},easeInSine:function(G,H,F,J,I){return -J*Math.cos(H/I*(Math.PI/2))+J+F
},easeOutSine:function(G,H,F,J,I){return J*Math.sin(H/I*(Math.PI/2))+F
},easeInOutSine:function(G,H,F,J,I){return -J/2*(Math.cos(Math.PI*H/I)-1)+F
},easeInExpo:function(G,H,F,J,I){return(H==0)?F:J*Math.pow(2,10*(H/I-1))+F
},easeOutExpo:function(G,H,F,J,I){return(H==I)?F+J:J*(-Math.pow(2,-10*H/I)+1)+F
},easeInOutExpo:function(G,H,F,J,I){if(H==0){return F
}if(H==I){return F+J
}if((H/=I/2)<1){return J/2*Math.pow(2,10*(H-1))+F
}return J/2*(-Math.pow(2,-10*--H)+2)+F
},easeInCirc:function(G,H,F,J,I){return -J*(Math.sqrt(1-(H/=I)*H)-1)+F
},easeOutCirc:function(G,H,F,J,I){return J*Math.sqrt(1-(H=H/I-1)*H)+F
},easeInOutCirc:function(G,H,F,J,I){if((H/=I/2)<1){return -J/2*(Math.sqrt(1-H*H)-1)+F
}return J/2*(Math.sqrt(1-(H-=2)*H)+1)+F
},easeInElastic:function(G,I,F,M,L){var J=1.70158;
var K=0;
var H=M;
if(I==0){return F
}if((I/=L)==1){return F+M
}if(!K){K=L*0.3
}if(H<Math.abs(M)){H=M;
var J=K/4
}else{var J=K/(2*Math.PI)*Math.asin(M/H)
}return -(H*Math.pow(2,10*(I-=1))*Math.sin((I*L-J)*(2*Math.PI)/K))+F
},easeOutElastic:function(G,I,F,M,L){var J=1.70158;
var K=0;
var H=M;
if(I==0){return F
}if((I/=L)==1){return F+M
}if(!K){K=L*0.3
}if(H<Math.abs(M)){H=M;
var J=K/4
}else{var J=K/(2*Math.PI)*Math.asin(M/H)
}return H*Math.pow(2,-10*I)*Math.sin((I*L-J)*(2*Math.PI)/K)+M+F
},easeInOutElastic:function(G,I,F,M,L){var J=1.70158;
var K=0;
var H=M;
if(I==0){return F
}if((I/=L/2)==2){return F+M
}if(!K){K=L*(0.3*1.5)
}if(H<Math.abs(M)){H=M;
var J=K/4
}else{var J=K/(2*Math.PI)*Math.asin(M/H)
}if(I<1){return -0.5*(H*Math.pow(2,10*(I-=1))*Math.sin((I*L-J)*(2*Math.PI)/K))+F
}return H*Math.pow(2,-10*(I-=1))*Math.sin((I*L-J)*(2*Math.PI)/K)*0.5+M+F
},easeInBack:function(G,H,F,K,J,I){if(I==undefined){I=1.70158
}return K*(H/=J)*H*((I+1)*H-I)+F
},easeOutBack:function(G,H,F,K,J,I){if(I==undefined){I=1.70158
}return K*((H=H/J-1)*H*((I+1)*H+I)+1)+F
},easeInOutBack:function(G,H,F,K,J,I){if(I==undefined){I=1.70158
}if((H/=J/2)<1){return K/2*(H*H*(((I*=(1.525))+1)*H-I))+F
}return K/2*((H-=2)*H*(((I*=(1.525))+1)*H+I)+2)+F
},easeInBounce:function(G,H,F,J,I){return J-D.easing.easeOutBounce(G,I-H,0,J,I)+F
},easeOutBounce:function(G,H,F,J,I){if((H/=I)<(1/2.75)){return J*(7.5625*H*H)+F
}else{if(H<(2/2.75)){return J*(7.5625*(H-=(1.5/2.75))*H+0.75)+F
}else{if(H<(2.5/2.75)){return J*(7.5625*(H-=(2.25/2.75))*H+0.9375)+F
}else{return J*(7.5625*(H-=(2.625/2.75))*H+0.984375)+F
}}}},easeInOutBounce:function(G,H,F,J,I){if(H<I/2){return D.easing.easeInBounce(G,H*2,0,J,I)*0.5+F
}return D.easing.easeOutBounce(G,H*2-I,0,J,I)*0.5+J*0.5+F
}})
})(jQuery);
jQuery.ui||(function(C){var I=C.fn.remove,D=C.browser.mozilla&&(parseFloat(C.browser.version)<1.9);
C.ui={version:"1.7.1",plugin:{add:function(K,L,N){var M=C.ui[K].prototype;
for(var J in N){M.plugins[J]=M.plugins[J]||[];
M.plugins[J].push([L,N[J]])
}},call:function(J,L,K){var N=J.plugins[L];
if(!N||!J.element[0].parentNode){return 
}for(var M=0;
M<N.length;
M++){if(J.options[N[M][0]]){N[M][1].apply(J.element,K)
}}}},contains:function(K,J){return document.compareDocumentPosition?K.compareDocumentPosition(J)&16:K!==J&&K.contains(J)
},hasScroll:function(M,K){if(C(M).css("overflow")=="hidden"){return false
}var J=(K&&K=="left")?"scrollLeft":"scrollTop",L=false;
if(M[J]>0){return true
}M[J]=1;
L=(M[J]>0);
M[J]=0;
return L
},isOverAxis:function(K,J,L){return(K>J)&&(K<(J+L))
},isOver:function(O,K,N,M,J,L){return C.ui.isOverAxis(O,N,J)&&C.ui.isOverAxis(K,M,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(D){var F=C.attr,E=C.fn.removeAttr,H="http://www.w3.org/2005/07/aaa",A=/^aria-/,B=/^wairole:/;
C.attr=function(K,J,L){var M=L!==undefined;
return(J=="role"?(M?F.call(this,K,J,"wairole:"+L):(F.apply(this,arguments)||"").replace(B,"")):(A.test(J)?(M?K.setAttributeNS(H,J.replace(A,"aaa:"),L):F.call(this,K,J.replace(A,"aaa:"))):F.apply(this,arguments)))
};
C.fn.removeAttr=function(J){return(A.test(J)?this.each(function(){this.removeAttributeNS(H,J.replace(A,""))
}):E.call(this,J))
}
}C.fn.extend({remove:function(){C("*",this).add(this).each(function(){C(this).triggerHandler("remove")
});
return I.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 J;
if((C.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){J=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(C.curCSS(this,"position",1))&&(/(auto|scroll)/).test(C.curCSS(this,"overflow",1)+C.curCSS(this,"overflow-y",1)+C.curCSS(this,"overflow-x",1))
}).eq(0)
}else{J=this.parents().filter(function(){return(/(auto|scroll)/).test(C.curCSS(this,"overflow",1)+C.curCSS(this,"overflow-y",1)+C.curCSS(this,"overflow-x",1))
}).eq(0)
}return(/fixed/).test(this.css("position"))||!J.length?C(document):J
}});
C.extend(C.expr[":"],{data:function(L,K,J){return !!C.data(L,J[3])
},focusable:function(K){var L=K.nodeName.toLowerCase(),J=C.attr(K,"tabindex");
return(/input|select|textarea|button|object/.test(L)?!K.disabled:"a"==L||"area"==L?K.href||!isNaN(J):!isNaN(J))&&!C(K)["area"==L?"parents":"closest"](":hidden").length
},tabbable:function(K){var J=C.attr(K,"tabindex");
return(isNaN(J)||J>=0)&&C(K).is(":focusable")
}});
function G(M,N,O,L){function K(Q){var P=C[M][N][Q]||[];
return(typeof P=="string"?P.split(/,?\s+/):P)
}var J=K("getter");
if(L.length==1&&typeof L[0]=="string"){J=J.concat(K("getterSetter"))
}return(C.inArray(O,J)!=-1)
}C.widget=function(K,J){var L=K.split(".")[0];
K=K.split(".")[1];
C.fn[K]=function(P){var N=(typeof P=="string"),O=Array.prototype.slice.call(arguments,1);
if(N&&P.substring(0,1)=="_"){return this
}if(N&&G(L,K,P,O)){var M=C.data(this[0],K);
return(M?M[P].apply(M,O):undefined)
}return this.each(function(){var Q=C.data(this,K);
(!Q&&!N&&C.data(this,K,new C[L][K](this,P))._init());
(Q&&N&&C.isFunction(Q[P])&&Q[P].apply(Q,O))
})
};
C[L]=C[L]||{};
C[L][K]=function(O,N){var M=this;
this.namespace=L;
this.widgetName=K;
this.widgetEventPrefix=C[L][K].eventPrefix||K;
this.widgetBaseClass=L+"-"+K;
this.options=C.extend({},C.widget.defaults,C[L][K].defaults,C.metadata&&C.metadata.get(O)[K],N);
this.element=C(O).bind("setData."+K,function(Q,P,R){if(Q.target==O){return M._setData(P,R)
}}).bind("getData."+K,function(Q,P){if(Q.target==O){return M._getData(P)
}}).bind("remove",function(){return M.destroy()
})
};
C[L][K].prototype=C.extend({},C.widget.prototype,J);
C[L][K].getterSetter="option"
};
C.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")
},option:function(L,M){var K=L,J=this;
if(typeof L=="string"){if(M===undefined){return this._getData(L)
}K={};
K[L]=M
}C.each(K,function(N,O){J._setData(N,O)
})
},_getData:function(J){return this.options[J]
},_setData:function(J,K){this.options[J]=K;
if(J=="disabled"){this.element[K?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",K)
}},enable:function(){this._setData("disabled",false)
},disable:function(){this._setData("disabled",true)
},_trigger:function(L,M,N){var P=this.options[L],J=(L==this.widgetEventPrefix?L:this.widgetEventPrefix+L);
M=C.Event(M);
M.type=J;
if(M.originalEvent){for(var K=C.event.props.length,O;
K;
){O=C.event.props[--K];
M[O]=M.originalEvent[O]
}}this.element.trigger(M,N);
return !(C.isFunction(P)&&P.call(this.element[0],M,N)===false||M.isDefaultPrevented())
}};
C.widget.defaults={disabled:false};
C.ui.mouse={_mouseInit:function(){var J=this;
this.element.bind("mousedown."+this.widgetName,function(K){return J._mouseDown(K)
}).bind("click."+this.widgetName,function(K){if(J._preventClickEvent){J._preventClickEvent=false;
K.stopImmediatePropagation();
return false
}});
if(C.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");
this.element.attr("unselectable","on")
}this.started=false
},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);
(C.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable))
},_mouseDown:function(L){L.originalEvent=L.originalEvent||{};
if(L.originalEvent.mouseHandled){return 
}(this._mouseStarted&&this._mouseUp(L));
this._mouseDownEvent=L;
var K=this,M=(L.which==1),J=(typeof this.options.cancel=="string"?C(L.target).parents().add(L.target).filter(this.options.cancel).length:false);
if(!M||J||!this._mouseCapture(L)){return true
}this.mouseDelayMet=!this.options.delay;
if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){K.mouseDelayMet=true
},this.options.delay)
}if(this._mouseDistanceMet(L)&&this._mouseDelayMet(L)){this._mouseStarted=(this._mouseStart(L)!==false);
if(!this._mouseStarted){L.preventDefault();
return true
}}this._mouseMoveDelegate=function(N){return K._mouseMove(N)
};
this._mouseUpDelegate=function(N){return K._mouseUp(N)
};
C(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);
(C.browser.safari||L.preventDefault());
L.originalEvent.mouseHandled=true;
return true
},_mouseMove:function(J){if(C.browser.msie&&!J.button){return this._mouseUp(J)
}if(this._mouseStarted){this._mouseDrag(J);
return J.preventDefault()
}if(this._mouseDistanceMet(J)&&this._mouseDelayMet(J)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,J)!==false);
(this._mouseStarted?this._mouseDrag(J):this._mouseUp(J))
}return !this._mouseStarted
},_mouseUp:function(J){C(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);
if(this._mouseStarted){this._mouseStarted=false;
this._preventClickEvent=(J.target==this._mouseDownEvent.target);
this._mouseStop(J)
}return false
},_mouseDistanceMet:function(J){return(Math.max(Math.abs(this._mouseDownEvent.pageX-J.pageX),Math.abs(this._mouseDownEvent.pageY-J.pageY))>=this.options.distance)
},_mouseDelayMet:function(J){return this.mouseDelayMet
},_mouseStart:function(J){},_mouseDrag:function(J){},_mouseStop:function(J){},_mouseCapture:function(J){return true
}};
C.ui.mouse.defaults={cancel:null,distance:1,delay:0}
})(jQuery);
(function(A){A.effects.highlight=function(B){return this.queue(function(){var E=A(this),D=["backgroundImage","backgroundColor","opacity"];
var H=A.effects.setMode(E,B.options.mode||"show");
var C=B.options.color||"#ffff99";
var G=E.css("backgroundColor");
A.effects.save(E,D);
E.show();
E.css({backgroundImage:"none",backgroundColor:C});
var F={backgroundColor:G};
if(H=="hide"){F.opacity=0
}E.animate(F,{queue:false,duration:B.duration,easing:B.options.easing,complete:function(){if(H=="hide"){E.hide()
}A.effects.restore(E,D);
if(H=="show"&&A.browser.msie){this.style.removeAttribute("filter")
}if(B.callback){B.callback.apply(this,arguments)
}E.dequeue()
}})
})
}
})(jQuery);
(function(A){A.effects.transfer=function(B){return this.queue(function(){var F=A(this),H=A(B.options.to),E=H.offset(),G={top:E.top,left:E.left,height:H.innerHeight(),width:H.innerWidth()},D=F.offset(),C=A('<div class="ui-effects-transfer"></div>').appendTo(document.body).addClass(B.options.className).css({top:D.top,left:D.left,height:F.innerHeight(),width:F.innerWidth(),position:"absolute"}).animate(G,B.duration,B.options.easing,function(){C.remove();
(B.callback&&B.callback.apply(F[0],arguments));
F.dequeue()
})
})
}
})(jQuery);
jQuery.ajaxq=function(A,C){if(typeof document.ajaxq=="undefined"){document.ajaxq={q:{},r:null,rq:null}
}if(typeof document.ajaxq.q[A]=="undefined"){document.ajaxq.q[A]=[]
}if(typeof C!="undefined"){var B={};
for(var E in C){B[E]=C[E]
}C=B;
var D=C.complete;
C.complete=function(G,F){document.ajaxq.q[A].shift();
document.ajaxq.r=null;
document.ajaxq.rq=null;
if(D){D(G,F)
}if(document.ajaxq.q[A].length>0){document.ajaxq.rq=A;
document.ajaxq.r=jQuery.ajax(document.ajaxq.q[A][0])
}};
document.ajaxq.q[A].push(C);
if(document.ajaxq.q[A].length==1){document.ajaxq.rq=A;
document.ajaxq.r=jQuery.ajax(C)
}}else{if(document.ajaxq.rq==A){document.ajaxq.r.abort();
document.ajaxq.r=null;
document.ajaxq.rq=null
}document.ajaxq.q[A]=[]
}};
(function(E){E.fn.jqm=function(F){var A={overlay:50,overlayClass:"jqmOverlay",closeClass:"jqmClose",trigger:".jqModal",ajax:O,ajaxText:"",target:O,modal:O,toTop:O,onShow:O,onHide:O,onLoad:O};
return this.each(function(){if(this._jqm){return N[this._jqm].c=E.extend({},N[this._jqm].c,F)
}P++;
this._jqm=P;
N[P]={c:E.extend(A,E.jqm.params,F),a:O,w:E(this).addClass("jqmID"+P),s:P};
if(A.trigger){E(this).jqmAddTrigger(A.trigger)
}})
};
E.fn.jqmAddClose=function(A){return M(this,A,"jqmHide")
};
E.fn.jqmAddTrigger=function(A){return M(this,A,"jqmShow")
};
E.fn.jqmShow=function(A){return this.each(function(){A=A||window.event;
E.jqm.open(this._jqm,A)
})
};
E.fn.jqmHide=function(A){return this.each(function(){A=A||window.event;
E.jqm.close(this._jqm,A)
})
};
E.jqm={hash:{},open:function(V,U){var L=N[V],Q=L.c,H="."+Q.closeClass,R=(parseInt(L.w.css("z-index"))),R=(R>0)?R:3000,F=E("<div></div>").css({height:"100%",width:"100%",position:"fixed",left:0,top:0,"z-index":R-1,opacity:Q.overlay/100});
if(L.a){return O
}L.t=U;
L.a=true;
L.w.css("z-index",R);
if(Q.modal){if(!B[0]){K("bind")
}B.push(V)
}else{if(Q.overlay>0){L.w.jqmAddClose(F)
}else{F=O
}}L.o=(F)?F.addClass(Q.overlayClass).prependTo("body"):O;
if(D){E("html,body").css({height:"100%",width:"100%"});
if(F){F=F.css({position:"absolute"})[0];
for(var S in {Top:1,Left:1}){F.style.setExpression(S.toLowerCase(),"(_=(document.documentElement.scroll"+S+" || document.body.scroll"+S+"))+'px'")
}}}if(Q.ajax){var A=Q.target||L.w,T=Q.ajax,A=(typeof A=="string")?E(A,L.w):E(A),T=(T.substr(0,1)=="@")?E(U).attr(T.substring(1)):T;
A.html(Q.ajaxText).load(T,function(){if(Q.onLoad){Q.onLoad.call(this,L)
}if(H){L.w.jqmAddClose(E(H,L.w))
}J(L)
})
}else{if(H){L.w.jqmAddClose(E(H,L.w))
}}if(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();
J(L);
return O
},close:function(F){var A=N[F];
if(!A.a){return O
}A.a=O;
if(B[0]){B.pop();
if(!B[0]){K("unbind")
}}if(A.c.toTop&&A.o){E("#jqmP"+A.w[0]._jqm).after(A.w).remove()
}if(A.c.onHide){A.c.onHide(A)
}else{A.w.hide();
if(A.o){A.o.remove()
}}return O
},params:{}};
var P=0,N=E.jqm.hash,B=[],D=E.browser.msie&&(E.browser.version=="6.0"),O=false,G=E('<iframe src="javascript:false;document.write(\'\');" class="jqm"></iframe>').css({opacity:0}),J=function(A){if(D){if(A.o){A.o.html('<p style="width:100%;height:100%"/>').prepend(G)
}else{if(!E("iframe.jqm",A.w)[0]){A.w.prepend(G)
}}}I(A)
},I=function(F){try{E(":input:visible",F.w)[0].focus()
}catch(A){}},K=function(A){E()[A]("keypress",C)[A]("keydown",C)[A]("mousedown",C)
},C=function(H){var A=N[B[B.length-1]],F=(!E(H.target).parents(".jqmID"+A.s)[0]);
if(F){I(A)
}return !F
},M=function(A,F,H){return A.each(function(){var L=this._jqm;
E(F).each(function(){if(!this[H]){this[H]=[];
E(this).click(function(){for(var Q in {jqmShow:1,jqmHide:1}){for(var R in this[Q]){if(N[this[Q][R]]){N[this[Q][R]].w[Q](this)
}}}return O
})
}this[H].push(L)
})
})
}
})(jQuery);
(function(A){jQuery.autocomplete=function(E,T){var O=this;
this.options=T;
this.input=E;
var X=A(E).attr("autocomplete","off");
if(T.inputClass){X.addClass(T.inputClass)
}var P=document.createElement("div");
var I=A(P);
I.hide().addClass(T.resultsClass).css("position","absolute");
if(T.width>0){I.css("width",T.width)
}A("body").append(P);
E.autocompleter=O;
var f=null;
var W="";
var g=-1;
var J={};
var Z=false;
var K=false;
var B=null;
function L(){J={};
J.data={};
J.length=0
}L();
if(T.data!=null){var R="",o={},M=[];
if(typeof T.url!="string"){T.cacheLength=1
}for(var l=0;
l<T.data.length;
l++){M=((typeof T.data[l]=="string")?[T.data[l]]:T.data[l]);
if(M[0].length>0){R=M[0].substring(0,1).toLowerCase();
if(!o[R]){o[R]=[]
}o[R].push(M)
}}for(var j in o){T.cacheLength++;
F(j,o[j])
}}X.keydown(function(k){B=k.keyCode;
switch(k.keyCode){case 38:k.preventDefault();
c(-1);
break;
case 40:k.preventDefault();
c(1);
break;
case 9:case 13:if(e()){X.get(0).blur();
k.preventDefault()
}break;
default:g=-1;
if(f){clearTimeout(f)
}f=setTimeout(function(){S()
},T.delay);
break
}}).focus(function(){K=true
}).blur(function(){K=false;
D()
});
U();
function S(){if(B==46||(B>8&&B<32)){return I.hide()
}var k=X.val();
if(k==W){return 
}W=k;
if(k.length>=T.minChars){X.addClass(T.loadingClass);
b(k)
}else{X.removeClass(T.loadingClass);
I.hide()
}}function c(p){var k=A("li",P);
if(!k){return 
}g+=p;
if(g<0){g=0
}else{if(g>=k.size()){g=k.size()-1
}}k.removeClass("ac_over");
A(k[g]).addClass("ac_over")
}function e(){var k=A("li.ac_over",P)[0];
if(!k){var p=A("li",P);
if(T.selectOnly){if(p.length==1){k=p[0]
}}else{if(T.selectFirst){k=p[0]
}}}if(k){Q(k);
return true
}else{return false
}}function Q(k){var q=X.get(0).autocompleter;
if(!k){k=document.createElement("li");
k.extra=[];
k.selectValue=""
}var p=A.trim(k.selectValue?k.selectValue:k.innerHTML);
E.lastSelected=p;
W=p;
I.html("");
X.val(p);
U();
if(T.onItemSelect){setTimeout(function(){T.onItemSelect(q,k)
},1)
}}function C(r,p){var q=X.get(0);
if(q.createTextRange){var k=q.createTextRange();
k.collapse(true);
k.moveStart("character",r);
k.moveEnd("character",p);
k.select()
}else{if(q.setSelectionRange){q.setSelectionRange(r,p)
}else{if(q.selectionStart){q.selectionStart=r;
q.selectionEnd=p
}}}q.focus()
}function V(k){if(B!=8){X.val(X.val()+k.substring(W.length));
C(W.length,k.length)
}}function d(){var p=E;
var r=0;
while(p.tagName.toUpperCase()!="BODY"){if(A(p).css("z-index")!="auto"){r=A(p).css("z-index");
break
}else{p=p.parentNode
}}A(E);
var q=Y(E);
var k=(T.width>0)?T.width:X.width();
I.css({zIndex:r,width:parseInt(k)+"px",top:(q.y+E.offsetHeight)+"px",left:q.x+"px"}).show()
}function D(){if(f){clearTimeout(f)
}f=setTimeout(U,200)
}function U(){if(f){clearTimeout(f)
}X.removeClass(T.loadingClass);
if(I.is(":visible")){I.hide()
}if(T.mustMatch){var k=X.val();
if(k!=E.lastSelected){Q(null)
}}}function H(p,k){if(k){X.removeClass(T.loadingClass);
P.innerHTML="";
if(!K||k.length==0){return U()
}if(A.browser.msie){I.append(document.createElement("iframe"))
}P.appendChild(h(k));
if(T.autoFill&&(X.val().toLowerCase()==p.toLowerCase())){V(k[0][0])
}d()
}else{U()
}}function G(r){if(!r){return null
}var k=[];
var q=r.split(T.lineSeparator);
for(var p=0;
p<q.length;
p++){var s=A.trim(q[p]);
if(s){k[k.length]=s.split(T.cellSeparator)
}}return k
}function h(u){var t=document.createElement("ul");
var r=u.length;
if((T.maxItemsToShow>0)&&(T.maxItemsToShow<r)){r=T.maxItemsToShow
}for(var s=0;
s<r;
s++){var v=u[s];
if(!v){continue
}var p=document.createElement("li");
if(T.formatItem){p.innerHTML=T.formatItem(v,s,r);
p.selectValue=v[0]
}else{p.innerHTML=v[0];
p.selectValue=v[0]
}var k=null;
if(v.length>1){k=[];
for(var q=1;
q<v.length;
q++){k[k.length]=v[q]
}}p.extra=k;
t.appendChild(p);
A(p).hover(function(){A("li",t).removeClass("ac_over");
A(this).addClass("ac_over");
g=A("li",t).indexOf(A(this).get(0))
},function(){A(this).removeClass("ac_over")
}).click(function(w){w.preventDefault();
w.stopPropagation();
Q(this)
})
}return t
}function b(p){if(!T.matchCase){p=p.toLowerCase()
}var k=T.cacheLength?m(p):null;
if(k){H(p,k)
}else{if((typeof T.url=="string")&&(T.url.length>0)){A.ajaxq("autocomplete"+T.id);
A.ajaxq("autocomplete"+T.id,{type:"GET",url:N(p),success:function(q){reloadSessionSuccess();
q=G(q);
F(p,q);
H(p,q)
},error:function(q,s,r){reloadSession(function(){b(p)
},3000)
}})
}else{X.removeClass(T.loadingClass)
}}}function N(r){var k=T.url+"?q="+encodeURI(r);
for(var p in T.extraParams){k+="&"+p+"="+encodeURI(T.extraParams[p])
}return k
}function m(v){if(!v){return null
}if(J.data[v]){return J.data[v]
}if(T.matchSubset){for(var t=v.length-1;
t>=T.minChars;
t--){var p=v.substr(0,t);
var w=J.data[p];
if(w){var u=[];
for(var r=0;
r<w.length;
r++){var k=w[r];
var s=k[0];
if(a(s,v)){u[u.length]=k
}}return u
}}}return null
}function a(q,p){if(!T.matchCase){q=q.toLowerCase()
}var k=q.indexOf(p);
if(k==-1){return false
}return k==0||T.matchContains
}this.flushCache=function(){L()
};
this.setExtraParams=function(k){T.extraParams=k
};
this.findValue=function(){var r=X.val();
var k=this;
if(!r.length){if(T.onEmptyValue){setTimeout(function(){T.onEmptyValue(k)
},1)
}return 
}if(!T.matchCase){r=r.toLowerCase()
}var p=T.cacheLength?m(r):null;
if(p){this.findValueCallback(k,r,p)
}else{if((typeof T.url=="string")&&(T.url.length>0)){A.ajaxq("autocomplete"+T.id);
A.ajaxq("autocomplete"+T.id,{type:"GET",url:N(r),success:function(q){reloadSessionSuccess();
q=G(q);
F(r,q);
k.findValueCallback(k,r,q)
},error:function(q,t,s){reloadSession(function(){k.findValue()
},3000)
}})
}else{this.findValueCallback(k,r,null)
}}};
this.findValueCallback=function(t,k,s){if(s){X.removeClass(T.loadingClass)
}var v=(s)?s.length:0;
var w=null;
for(var u=0;
u<v;
u++){var x=s[u];
if(x[0].toLowerCase()==k.toLowerCase()){w=document.createElement("li");
if(T.formatItem){w.innerHTML=T.formatItem(x,u,v);
w.selectValue=x[0]
}else{w.innerHTML=x[0];
w.selectValue=x[0]
}var p=null;
if(x.length>1){p=[];
for(var r=1;
r<x.length;
r++){p[p.length]=x[r]
}}w.extra=p
}}if(T.onFindValue){setTimeout(function(){T.onFindValue(t,w)
},1)
}};
function F(p,k){if(!k||!p||!T.cacheLength){return 
}if(!J.length||J.length>T.cacheLength){L();
J.length++
}else{if(!J[p]){J.length++
}}J.data[p]=k
}function Y(p){var q=p.offsetLeft||0;
var k=p.offsetTop||0;
while(p=p.offsetParent){q+=p.offsetLeft;
k+=p.offsetTop
}return{x:q,y:k}
}};
jQuery.fn.autocomplete=function(C,B,D){B=B||{};
B.url=C;
B.data=((typeof D=="object")&&(D.constructor==Array))?D:null;
B.inputClass=B.inputClass||"ac_input";
B.resultsClass=B.resultsClass||"ac_results";
B.lineSeparator=B.lineSeparator||"\n";
B.cellSeparator=B.cellSeparator||"|";
B.minChars=B.minChars||1;
B.delay=B.delay||400;
B.matchCase=B.matchCase||0;
B.matchSubset=B.matchSubset||0;
B.matchContains=B.matchContains||0;
B.cacheLength=B.cacheLength||10;
B.mustMatch=B.mustMatch||0;
B.extraParams=B.extraParams||{};
B.loadingClass=B.loadingClass||"ac_loading";
B.selectFirst=B.selectFirst||false;
B.selectOnly=B.selectOnly||false;
B.maxItemsToShow=B.maxItemsToShow||-1;
B.autoFill=B.autoFill||false;
B.width=parseInt(B.width,10)||0;
this.each(function(){var E=this;
new jQuery.autocomplete(E,B)
});
return this
};
jQuery.fn.autocompleteArray=function(C,B){return this.autocomplete(null,B,C)
};
jQuery.fn.indexOf=function(C){for(var B=0;
B<this.length;
B++){if(this[B]==C){return B
}}return -1
}
})(jQuery);
(function(C){var A=C.scrollTo=function(F,E,D){C(window).scrollTo(F,E,D)
};
A.defaults={axis:"xy",duration:parseFloat(C.fn.jquery)>=1.3?0:1};
A.window=function(D){return C(window)._scrollable()
};
C.fn._scrollable=function(){return this.map(function(){var E=this,D=!E.nodeName||C.inArray(E.nodeName.toLowerCase(),["iframe","#document","html","body"])!=-1;
if(!D){return E
}var F=(E.contentWindow||E).document||E.ownerDocument||E;
return C.browser.safari||F.compatMode=="BackCompat"?F.body:F.documentElement
})
};
C.fn.scrollTo=function(F,E,D){if(typeof E=="object"){D=E;
E=0
}if(typeof D=="function"){D={onAfter:D}
}if(F=="max"){F=9000000000
}D=C.extend({},A.defaults,D);
E=E||D.speed||D.duration;
D.queue=D.queue&&D.axis.length>1;
if(D.queue){E/=2
}D.offset=B(D.offset);
D.over=B(D.over);
return this._scrollable().each(function(){var L=this,J=C(L),K=F,I,G={},M=J.is("html,body");
switch(typeof K){case"number":case"string":if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(K)){K=B(K);
break
}K=C(K,this);
case"object":if(K.is||K.style){I=(K=C(K)).offset()
}}C.each(D.axis.split(""),function(Q,R){var S=R=="x"?"Left":"Top",U=S.toLowerCase(),P="scroll"+S,O=L[P],N=A.max(L,R);
if(I){G[P]=I[U]+(M?0:O-J.offset()[U]);
if(D.margin){G[P]-=parseInt(K.css("margin"+S))||0;
G[P]-=parseInt(K.css("border"+S+"Width"))||0
}G[P]+=D.offset[U]||0;
if(D.over[U]){G[P]+=K[R=="x"?"width":"height"]()*D.over[U]
}}else{var T=K[U];
G[P]=T.slice&&T.slice(-1)=="%"?parseFloat(T)/100*N:T
}if(/^\d+$/.test(G[P])){G[P]=G[P]<=0?0:Math.min(G[P],N)
}if(!Q&&D.queue){if(O!=G[P]){H(D.onAfterFirst)
}delete G[P]
}});
H(D.onAfter);
function H(N){J.animate(G,E,D.easing,N&&function(){N.call(this,F,D)
})
}}).end()
};
A.max=function(J,I){var H=I=="x"?"Width":"Height",E="scroll"+H;
if(!C(J).is("html,body")){return J[E]-C(J)[H.toLowerCase()]()
}var G="client"+H,F=J.ownerDocument.documentElement,D=J.ownerDocument.body;
return Math.max(F[E],D[E])-Math.min(F[G],D[G])
};
function B(D){return typeof D=="object"?D:{top:D,left:D}
}})(jQuery);
(function(A){A.fn.hoverIntent=function(I,H){var J={sensitivity:7,interval:100,timeout:0};
J=A.extend(J,H?{over:I,out:H}:I);
var L,K,F,D;
var E=function(M){L=M.pageX;
K=M.pageY
};
var C=function(N,M){M.hoverIntent_t=clearTimeout(M.hoverIntent_t);
if((Math.abs(F-L)+Math.abs(D-K))<J.sensitivity){A(M).unbind("mousemove",E);
M.hoverIntent_s=1;
return J.over.apply(M,[N])
}else{F=L;
D=K;
M.hoverIntent_t=setTimeout(function(){C(N,M)
},J.interval)
}};
var G=function(N,M){M.hoverIntent_t=clearTimeout(M.hoverIntent_t);
M.hoverIntent_s=0;
return J.out.apply(M,[N])
};
var B=function(P){var O=(P.type=="mouseover"?P.fromElement:P.toElement)||P.relatedTarget;
while(O&&O!=this){try{O=O.parentNode
}catch(P){O=this
}}if(O==this){return false
}var N=jQuery.extend({},P);
var M=this;
if(M.hoverIntent_t){M.hoverIntent_t=clearTimeout(M.hoverIntent_t)
}if(P.type=="mouseover"){F=N.pageX;
D=N.pageY;
A(M).bind("mousemove",E);
if(M.hoverIntent_s!=1){M.hoverIntent_t=setTimeout(function(){C(N,M)
},J.interval)
}}else{A(M).unbind("mousemove",E);
if(M.hoverIntent_s==1){M.hoverIntent_t=setTimeout(function(){G(N,M)
},J.timeout)
}}};
return this.mouseover(B).mouseout(B)
}
})(jQuery);
jQuery(function($){$.fn.fcbkcomplete=function(opt){return this.each(function(){function init(){createFCBK();
preSet();
updateSelected();
reset();
bindEvents()
}function createFCBK(){element.hide();
element.attr("multiple","multiple");
if(element.attr("name").indexOf("[]")==-1){element.attr("name",element.attr("name")+"[]")
}holder=$("<ul/>").attr("class","holder");
element.after(holder);
complete=$("<div/>").addClass("facebook-auto");
complete.append('<div class="default">'+options.complete_text+"</div>");
feed=$("<ul/>").attr("id",elemid+"_feed");
complete.prepend(feed);
holder.after(complete)
}function reset(){element.children("option").not(originalSelected).removeAttr("selected").removeClass("selected");
holder.empty();
$(originalSelected).attr("selected","selected").addClass("selected").each(function(i,option){option=$(option);
addItem(option.text(),option.val(),true)
});
addInput(0);
complete.children(".default").show()
}function updateSelected(){originalSelected=[];
element.children("option.selected").each(function(){originalSelected[originalSelected.length]=this
})
}function preSet(){var filter=options.filter_case?"":"i";
element.children("option").each(function(i,option){option=$(option);
var myexistingregexp=new RegExp(search_delim+"\\d+:"+WikispacesCommon.escapeRegExp(option.text())+search_delim,"g"+filter);
var match=myexistingregexp.exec(search_string);
if(!match){cache.push({caption:option.text(),value:option.val(),count:option.attr("count")});
search_string+=""+(cache.length-1)+":"+option.text()+search_delim
}})
}function addItem(title,value,preadded){title=$.trim(title);
value=$.trim(value).toLowerCase();
title=value;
if(!title||!value){return false
}var escapedVal=$("<div/>").text(value).html();
var exists=holder.find("li").filter(function(){return $(this).attr("rel")==value
});
if(exists.length){$(exists).effect("highlight",{},3000);
$("#"+elemid+"_annoninput").children(".maininput").val("");
return 
}var aclose=$("<a/>").attr({"class":"closebutton",href:"#"}).click(function(){$(this).parent("li").fadeOut("fast",function(){removeItem($(this))
});
return false
});
$("<li/>").attr({"class":"bit-box",rel:value}).text(title).append(aclose).appendTo(holder);
if(!preadded){$("#"+elemid+"_annoninput").remove();
var _item;
addInput(1);
var exists=element.children("option").filter(function(){return $(this).val()==value
});
if(exists.length){_item=exists;
_item.attr("selected","selected");
if(!_item.hasClass("selected")){_item.addClass("selected")
}}else{var _item=$("<option/>").attr("value",value).attr("selected","selected").addClass("selected").text(title).appendTo(element)
}if(options.onselect.length){funCall(options.onselect,_item)
}}holder.children("li.bit-box.deleted").removeClass("deleted");
feed.hide()
}function removeItem(item){var val=item.attr("rel");
var exists=element.children("option").filter(function(){return $(this).val()==val
});
exists.removeAttr("selected").removeClass("selected");
item.remove();
if(options.onremove.length){funCall(options.onremove,item)
}}function addInput(focusme){var li=$("<li/>").attr({"class":"bit-input",id:elemid+"_annoninput"});
var input=$("<input/>").attr({type:"text","class":"maininput"});
holder.append(li.append(input));
input.focus(function(){complete.fadeIn("fast")
});
input.blur(function(){complete.fadeOut("fast")
});
holder.click(function(){input.focus();
if(feed.length&&input.val().length){feed.show();
complete.children(".default").hide()
}else{feed.hide();
complete.children(".default").show()
}});
bindEvents();
input.keyup(function(event){var etext=$.trim(input.val());
if(!(event.keyCode==40||event.keyCode==38||(event.keyCode==188&&!event.shiftKey&&options.comma_is_enter))){if(etext.length!=0){counter=0;
if(options.json_url){if(options.json_cache&&json_cache){addMembers(etext);
bindEvents()
}else{$.ajaxq("fcbkcomplete");
$.ajaxq("fcbkcomplete",{url:options.json_url+"?tag="+etext,data:null,dataType:"json",type:"GET",success:function(data,textStatus){addMembers(etext,data);
json_cache=true;
bindEvents()
}})
}}else{addMembers(etext);
bindEvents()
}complete.children(".default").hide();
feed.show()
}else{feed.hide();
complete.children(".default").show()
}}});
if(focusme){setTimeout(function(){input.focus();
complete.children(".default").show()
},1)
}}function addMembers(etext,data){feed.html("");
focuson=null;
var filter=options.filter_case?"":"i";
if(data!=null&&data.length){$.each(data,function(i,val){var myexistingregexp=new RegExp(search_delim+"\\d+:"+WikispacesCommon.escapeRegExp(val.caption)+search_delim,"g"+filter);
var match=myexistingregexp.exec(search_string);
if(!match){cache.push({caption:val.caption,value:val.value,count:val.count});
search_string+=""+(cache.length-1)+":"+val.caption+search_delim
}})
}var maximum=options.maxshownitems<cache.length?options.maxshownitems:cache.length;
var myregexp=new RegExp(search_delim+"(\\d+):[^"+search_delim+"]*?"+WikispacesCommon.escapeRegExp(etext)+"[^"+search_delim+"]*","g"+filter);
var match=myregexp.exec(search_string);
var illuminator=getItemIlluminator($("<div/>").text(etext).html());
var content="";
while(match!=null&&maximum>0){var id=match[1];
var object=cache[id];
var filtered=false;
var val=object.value;
var exists=element.children("option").filter(function(){return $(this).val()==val
});
if(options.filter_case&&options.filter_selected&&exists.hasClass("selected")){filtered=true
}else{if(!options.filter_case&&options.filter_selected){element.find("option").each(function(){if(this.value.toLowerCase()==object.value.toLowerCase()&&$(this).hasClass("selected")){filtered=true
}})
}}if(!filtered){content+='<li rel="'+object.value+'">'+illuminator($("<div/>").text(object.caption).html())+(object.count!=null?" ("+object.count+")":"")+"</li>";
counter++;
maximum--
}match=myregexp.exec(search_string)
}feed.append(content);
if(counter>options.height){feed.css({height:(options.height*24)+"px",overflow:"auto"})
}else{feed.css("height","auto")
}}function getItemIlluminator(etext){var filter=options.filter_case?"":"i";
var regex=new RegExp("("+WikispacesCommon.escapeRegExp(etext)+")",filter);
return function(text){return text.replace(regex,"<em>$1</em>")
}
}function bindFeedEvent(){feed.children("li").mouseover(function(){feed.children("li.auto-focus").removeClass("auto-focus");
$(this).addClass("auto-focus");
focuson=$(this)
}).mouseout(function(){$(this).removeClass("auto-focus");
focuson=null
})
}function removeFeedEvent(){feed.children("li").unbind("mouseover").unbind("mouseout");
feed.mousemove(function(){feed.unbind("mousemove");
bindFeedEvent()
})
}function bindEvents(){var maininput=$("#"+elemid+"_annoninput").children(".maininput");
feed.mousemove(function(){bindFeedEvent();
feed.unbind("mousemove")
});
feed.children("li").unbind("click");
feed.children("li").click(function(){var option=$(this);
addItem(option.text(),option.attr("rel"));
feed.hide();
complete.hide()
});
maininput.unbind("keydown");
maininput.keydown(function(event){if(event.keyCode!=8){holder.children("li.bit-box.deleted").removeClass("deleted")
}var etext=$.trim(maininput.val());
if(event.keyCode==8&&etext.length==0){feed.hide();
if(holder.children("li.bit-box.deleted").length==0){holder.children("li.bit-box:last").addClass("deleted");
return false
}else{holder.children("li.bit-box.deleted").fadeOut("fast",function(){removeItem($(this));
return false
})
}}if((event.keyCode==13||(options.comma_is_enter&&event.keyCode==188&&!event.shiftKey))&&focuson!=null){var option=focuson;
addItem(option.text(),option.attr("rel"));
complete.hide();
event.preventDefault();
focuson=null;
return false
}if((event.keyCode==13||(options.comma_is_enter&&event.keyCode==188&&!event.shiftKey))&&focuson==null){if(options.newel){var value=$(this).val();
addItem(value,value);
complete.hide();
event.preventDefault();
focuson=null
}return false
}if(event.keyCode==40){removeFeedEvent();
if(focuson==null||focuson.length==0){focuson=feed.children("li:visible:first");
feed.get(0).scrollTop=0
}else{focuson.removeClass("auto-focus");
focuson=focuson.nextAll("li:visible:first");
var prev=parseInt(focuson.prevAll("li:visible").length,10);
var next=parseInt(focuson.nextAll("li:visible").length,10);
if((prev>Math.round(options.height/2)||next<=Math.round(options.height/2))&&typeof (focuson.get(0))!="undefined"){feed.get(0).scrollTop=parseInt(focuson.get(0).scrollHeight,10)*(prev-Math.round(options.height/2))
}}feed.children("li").removeClass("auto-focus");
focuson.addClass("auto-focus")
}if(event.keyCode==38){removeFeedEvent();
if(focuson==null||focuson.length==0){focuson=feed.children("li:visible:last");
feed.get(0).scrollTop=parseInt(focuson.get(0).scrollHeight,10)*(parseInt(feed.children("li:visible").length,10)-Math.round(options.height/2))
}else{focuson.removeClass("auto-focus");
focuson=focuson.prevAll("li:visible:first");
var prev=parseInt(focuson.prevAll("li:visible").length,10);
var next=parseInt(focuson.nextAll("li:visible").length,10);
if((next>Math.round(options.height/2)||prev<=Math.round(options.height/2))&&typeof (focuson.get(0))!="undefined"){feed.get(0).scrollTop=parseInt(focuson.get(0).scrollHeight,10)*(prev-Math.round(options.height/2))
}}feed.children("li").removeClass("auto-focus");
focuson.addClass("auto-focus")
}})
}function addTextItem(value){if(options.newel){feed.children("li[fckb=1]").remove();
if(value.length==0){return 
}$("<li/>").attr({rel:value,fckb:"1"}).html(value).prependTo(feed);
counter++
}else{return 
}}function funCall(func,item){var _object="";
for(i=0;
i<item.get(0).attributes.length;
i++){if(item.get(0).attributes[i].nodeValue!=null){_object+='"_'+item.get(0).attributes[i].nodeName+'": "'+item.get(0).attributes[i].nodeValue+'",'
}}_object="{"+_object+" notinuse: 0}";
eval(func+"("+_object+")")
}var options=$.extend({json_url:null,json_cache:false,height:"10",newel:false,filter_case:false,comma_is_enter:false,filter_hide:false,complete_text:"Start to type...",maxshownitems:30,onselect:"",onremove:""},opt);
var holder=null;
var feed=null;
var complete=null;
var counter=0;
var cache=new Array();
var json_cache=false;
var search_delim=",";
var search_string=search_delim;
var focuson=null;
var originalSelected=[];
var element=$(this);
var elemid=element.attr("id");
this.addFinalItem=function(){var maininput=$("#"+elemid+"_annoninput").children(".maininput");
var etext=$.trim(maininput.val());
if(etext){addItem(etext,etext)
}};
this.reset=reset;
this.updateSelected=updateSelected;
init();
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(A){if(this.created){return 
}this.created=true;
this.settings=jQuery.fn.extend(this.settings,A);
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>');
if(jQuery.browser.msie&&jQuery.browser.version<8){document.write('<iframe id="'+this.settings.iframeid+'" src="'+this.settings.blankurl+"?"+this.getHash()+'"></iframe>')
}document.write("</div>");
if(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(A){if(jQuery.browser.msie&&A=="ready"){return 
}if(!jQuery.browser.msie&&A=="load"){return 
}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.zerolength=history.length;
this.pointer=this.zerolength;
this.stack[this.pointer]=this.getHash();
this.save()
}this.rid=this.getRID(this.stack[this.pointer]);
this.rid++;
if(this.functions.pageload){this.functions.pageload(this.stack[this.pointer])
}if(!jQuery.browser.msie||(jQuery.browser.msie&&jQuery.browser.version<8)){this.poll()
}},poll:function(){if(jssm.getHash()!=jssm.stack[jssm.pointer]){jQuery(window).trigger("hashchange")
}setTimeout(jssm.poll,jssm.interval)
},fixOpera:function(){},iframeEvent:function(A){if(A||window.location.hash){window.location.hash=A
}},hashchange:function(){var D=jssm.getHash();
var C=D;
if(D===""){C=jssm.getCurrentPage()
}if(jQuery.browser.msie&&jQuery.browser.version<8&&jssm.iframe.contentWindow.document.body.innerText!=D){jssm.setHash(D)
}if(jssm.functions.beforeunload){jssm.functions.beforeunload(C)
}if(jssm.functions.unload){jssm.functions.unload(C)
}if(jssm.functions.afterunload){jssm.functions.afterunload(C)
}if(jssm.functions.beforeload){jssm.functions.beforeload(C)
}if(jssm.functions.load){jssm.functions.load(C)
}if(jssm.functions.afterload){jssm.functions.afterload(C)
}var B=[];
for(var A=jssm.zerolength;
A<jssm.stack.length;
A++){if(D===jssm.stack[A]){B.push(A)
}}switch(B.length){case 0:jssm.pointer++;
jssm.stack[jssm.pointer]=D;
jssm.stack.length=jssm.pointer+1;
break;
case 1:jssm.pointer=B[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(){if(jQuery.browser.safari&&parseInt(jQuery.browser.version,10)<522&&!/adobeair/i.test(jQuery.browser.userAgent)){this.getHash=function(){return jssm.stack[history.length-jssm.zerolength-1]
}
}else{this.getHash=function(){var B=window.location.href;
var A=B.indexOf("#");
return(A>=0?B.substr(A+1):"")
}
}return this.getHash()
},setHash:function(A){if(jQuery.browser.msie&&jQuery.browser.version<8){this.setHash=function(C){var B=jssm.iframe.contentWindow.document;
B.open("javascript:'<html></html>'");
B.write('<html><head><script type="text/javascript">window.parent.jssm.iframeEvent("'+C+'");<\/script></head><body>'+C+"</body></html>");
B.close()
}
}else{this.setHash=function(B){window.location.hash=B
}
}return this.setHash(A)
},getRID:function(A){if(!A){return 0
}var B=A.match(/rid=[\d]+/);
return B?B[0].substr(4):0
},getHref:function(){var A=window.location.href.indexOf("#");
return(A>=0?window.location.href.substr(0,A):window.location.href)
},getPathTokens:function(B){var D=B.indexOf("#");
var C=B.indexOf("?");
var A="";
var F="";
if(D!=-1){if(C!=-1&&C<D){A=B.substring(C,D);
F=B.substring(D)
}else{F=B.substring(D)
}}else{if(C>=0){A=B.substring(C)
}else{}}if(D!=-1&&C!=-1){B=B.substring(0,Math.min(D,C))
}else{if(D!=-1){B=B.substring(0,D)
}else{if(C!=-1){B=B.substring(0,C)
}}}var E=/^(https?:\/\/){0,1}([A-Za-z0-9\-\.]+){0,1}(\:\d+){0,1}(\/){0,1}((?:[^\/]*\/)*){0,1}(.*)$/;
B=E.exec(B);
if(B[5]){B[5]=B[5].split("/");
B[5].pop()
}else{B[5]=[]
}B.push(A);
B.push(F);
return B
},getCurrentPath:function(){var A=this.getPathTokens(this.getHref());
return(A&&A[5]?A[5].join("/")+"/":"")
},getCurrentPage:function(){var A=this.getPathTokens(this.getHref());
return(A&&A[6]?A[6]:"")
},getRelativePath:function(F,E,B){if(F==E&&E.indexOf("?")==-1){return this.getCurrentPage(E)
}F=this.getPathTokens(F);
E=this.getPathTokens(E);
B=B||false;
if((B||E[1])&&(F[1]!==E[1])){return false
}if((B||E[2])&&(F[2]!==E[2])){return false
}if(F[3]!==E[3]){if(B){return false
}var C=false;
switch(F[1]){case"http":C=80;
break;
case"https":C=443;
break
}if(!C){return false
}if(!(F[3]===""&&E[3]==C)&&!(F[3]==C&&E[3]==="")){return false
}}var A="";
if(!F[5].length||!E[4]){A+=E[5].join("/")+"/"+(E[6]?E[6]:"")
}else{var D=0;
if(F[5].length&&E[5].length){for(D=0;
D<F[5].length;
D++){if(F[5][D]==E[5][D]){F[5].shift();
E[5].shift();
D--
}else{break
}}for(D=0;
D<F[5].length;
D++){A+="../"
}A+=E[5].join("/")+(E[5].length?"/":"")+(E[6]?E[6]:"")
}else{for(D=0;
D<F[5].length;
D++){A+="../"
}A+=(E[6]?E[6]:"")
}}if(E[7]){A+=E[7]
}if(E[8]){A+=E[8]
}return A
},getRootRelativePath:function(F,E,B){if(arguments.length==1){var D=jssm.getPathTokens(F);
return"/"+D[5].join("/")+"/"+(D[6]?D[6]:"")
}F=this.getPathTokens(F);
E=this.getPathTokens(E);
B=B||false;
if((B||E[1])&&(F[1]!==E[1])){return false
}if((B||E[2])&&(F[2]!==E[2])){return false
}if(F[3]!==E[3]){if(B){return false
}var C=false;
switch(F[1]){case"http":C=80;
break;
case"https":C=443;
break
}if(!C){return false
}if(!(F[3]===""&&E[3]==C)&&!(F[3]==C&&E[3]==="")){return false
}}var A="/";
if(!E[4]){A+=F[5].join("/")+"/"
}if(E[5].length){A+=E[5].join("/")+"/"
}if(E[6]){A+=E[6]
}if(E[7]){A+=E[7]
}if(E[8]){A+=E[8]
}return A
},setTitle:function(A){document.title=A
},buildTitle:function(B,A){A=A||this.settings.titleseparator;
return this.settings.basetitle+(B?A+B:"")
}};
jQuery.fn.jssm=function(A,B){return this.each(function(C){jQuery(this).bind(A,function(E){var H=jQuery.data(this,"jssm");
var D="";
var F="";
if(A=="submit"&&this.action){D=jQuery('<a href="'+this.action+'"></a>').get(0).href;
F="&"+jQuery(this).serialize()
}else{if(this.href){D=this.href
}}var G=jssm.getRelativePath(jssm.getHref(),D);
if(G!==false){G=G+(G.indexOf("?")>=0?"&":"?")+"rid="+(jssm.rid++)+F;
jssm.setHash(G)
}E.preventDefault();
return false
})
})
};
/*
 * jquery.qtip. The jQuery tooltip plugin
 *
 * Copyright (c) 2009 Craig Thompson
 * http://craigsworks.com
 *
 * Licensed under MIT
 * http://www.opensource.org/licenses/mit-license.php
 *
 * Launch  : February 2009
 * Version : 1.0.0-rc3
 * Released: Tuesday 12th May, 2009 - 00:00
 * Debug: jquery.qtip.debug.js
 */
(function(F){F.fn.qtip=function(a,T){var X,S,Z,R,W,V,U,Y;
if(typeof a=="string"){if(typeof F(this).data("qtip")!=="object"){F.fn.qtip.log.error.call(self,1,F.fn.qtip.constants.NO_TOOLTIP_PRESENT,false)
}if(a=="api"){return F(this).data("qtip").interfaces[F(this).data("qtip").current]
}else{if(a=="interfaces"){return F(this).data("qtip").interfaces
}}}else{if(!a){a={}
}if(typeof a.content!=="object"||(a.content.jquery&&a.content.length>0)){a.content={text:a.content}
}if(typeof a.content.title!=="object"){a.content.title={text:a.content.title}
}if(typeof a.position!=="object"){a.position={corner:a.position}
}if(typeof a.position.corner!=="object"){a.position.corner={target:a.position.corner,tooltip:a.position.corner}
}if(typeof a.show!=="object"){a.show={when:a.show}
}if(typeof a.show.when!=="object"){a.show.when={event:a.show.when}
}if(typeof a.show.effect!=="object"){a.show.effect={type:a.show.effect}
}if(typeof a.hide!=="object"){a.hide={when:a.hide}
}if(typeof a.hide.when!=="object"){a.hide.when={event:a.hide.when}
}if(typeof a.hide.effect!=="object"){a.hide.effect={type:a.hide.effect}
}if(typeof a.style!=="object"){a.style={name:a.style}
}a.style=C(a.style);
R=F.extend(true,{},F.fn.qtip.defaults,a);
R.style=A.call({options:R},R.style);
R.user=F.extend(true,{},a)
}return F(this).each(function(){if(typeof a=="string"){V=a.toLowerCase();
Z=F(this).qtip("interfaces");
if(typeof Z=="object"){if(T===true&&V=="destroy"){while(Z.length>0){Z[Z.length-1].destroy()
}}else{if(T!==true){Z=[F(this).qtip("api")]
}for(X=0;
X<Z.length;
X++){if(V=="destroy"){Z[X].destroy()
}else{if(Z[X].status.rendered===true){if(V=="show"){Z[X].show()
}else{if(V=="hide"){Z[X].hide()
}else{if(V=="focus"){Z[X].focus()
}else{if(V=="disable"){Z[X].disable(true)
}else{if(V=="enable"){Z[X].disable(false)
}}}}}}}}}}}else{U=F.extend(true,{},R);
U.hide.effect.length=R.hide.effect.length;
U.show.effect.length=R.show.effect.length;
if(U.position.container===false){U.position.container=F(document.body)
}if(U.position.target===false){U.position.target=F(this)
}if(U.show.when.target===false){U.show.when.target=F(this)
}if(U.hide.when.target===false){U.hide.when.target=F(this)
}S=F.fn.qtip.interfaces.length;
for(X=0;
X<S;
X++){if(typeof F.fn.qtip.interfaces[X]=="undefined"){S=X;
break
}}W=new D(F(this),U,S);
F.fn.qtip.interfaces[S]=W;
if(typeof F(this).data("qtip")=="object"){if(typeof F(this).attr("qtip")==="undefined"){F(this).data("qtip").current=F(this).data("qtip").interfaces.length
}F(this).data("qtip").interfaces.push(W)
}else{F(this).data("qtip",{current:0,interfaces:[W]})
}if(U.content.prerender===false&&U.show.when.event!==false&&U.show.ready!==true){U.show.when.target.bind(U.show.when.event+".qtip-"+S+"-create",{qtip:S},function(b){Y=F.fn.qtip.interfaces[b.data.qtip];
Y.options.show.when.target.unbind(Y.options.show.when.event+".qtip-"+b.data.qtip+"-create");
Y.cache.mouse={x:b.pageX,y:b.pageY};
O.call(Y);
Y.options.show.when.target.trigger(Y.options.show.when.event)
})
}else{W.cache.mouse={x:U.show.when.target.offset().left,y:U.show.when.target.offset().top};
O.call(W)
}}})
};
function D(T,S,U){var R=this;
R.id=U;
R.options=S;
R.status={animated:false,rendered:false,disabled:false,focused:false};
R.elements={target:T.addClass(R.options.style.classes.target),tooltip:null,wrapper:null,content:null,contentWrapper:null,title:null,button:null,tip:null,bgiframe:null};
R.cache={mouse:{},position:{},toggle:0};
R.timers={};
F.extend(R,R.options.api,{show:function(X){var W,Y;
if(!R.status.rendered){return F.fn.qtip.log.error.call(R,2,F.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"show")
}if(R.elements.tooltip.css("display")!=="none"){return R
}R.elements.tooltip.stop(true,false);
W=R.beforeShow.call(R,X);
if(W===false){return R
}function V(){if(R.options.position.type!=="static"){R.focus()
}R.onShow.call(R,X);
if(F.browser.msie){R.elements.tooltip.get(0).style.removeAttribute("filter")
}}R.cache.toggle=1;
if(R.options.position.type!=="static"){R.updatePosition(X,(R.options.show.effect.length>0))
}if(typeof R.options.show.solo=="object"){Y=F(R.options.show.solo)
}else{if(R.options.show.solo===true){Y=F("div.qtip").not(R.elements.tooltip)
}}if(Y){Y.each(function(){if(F(this).qtip("api").status.rendered===true){F(this).qtip("api").hide()
}})
}if(typeof R.options.show.effect.type=="function"){R.options.show.effect.type.call(R.elements.tooltip,R.options.show.effect.length);
R.elements.tooltip.queue(function(){V();
F(this).dequeue()
})
}else{switch(R.options.show.effect.type.toLowerCase()){case"fade":R.elements.tooltip.fadeIn(R.options.show.effect.length,V);
break;
case"slide":R.elements.tooltip.slideDown(R.options.show.effect.length,function(){V();
if(R.options.position.type!=="static"){R.updatePosition(X,true)
}});
break;
case"grow":R.elements.tooltip.show(R.options.show.effect.length,V);
break;
default:R.elements.tooltip.show(null,V);
break
}R.elements.tooltip.addClass(R.options.style.classes.active)
}return F.fn.qtip.log.error.call(R,1,F.fn.qtip.constants.EVENT_SHOWN,"show")
},hide:function(X){var W;
if(!R.status.rendered){return F.fn.qtip.log.error.call(R,2,F.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"hide")
}else{if(R.elements.tooltip.css("display")==="none"){return R
}}clearTimeout(R.timers.show);
R.elements.tooltip.stop(true,false);
W=R.beforeHide.call(R,X);
if(W===false){return R
}function V(){R.onHide.call(R,X)
}R.cache.toggle=0;
if(typeof R.options.hide.effect.type=="function"){R.options.hide.effect.type.call(R.elements.tooltip,R.options.hide.effect.length);
R.elements.tooltip.queue(function(){V();
F(this).dequeue()
})
}else{switch(R.options.hide.effect.type.toLowerCase()){case"fade":R.elements.tooltip.fadeOut(R.options.hide.effect.length,V);
break;
case"slide":R.elements.tooltip.slideUp(R.options.hide.effect.length,V);
break;
case"grow":R.elements.tooltip.hide(R.options.hide.effect.length,V);
break;
default:R.elements.tooltip.hide(null,V);
break
}R.elements.tooltip.removeClass(R.options.style.classes.active)
}return F.fn.qtip.log.error.call(R,1,F.fn.qtip.constants.EVENT_HIDDEN,"hide")
},updatePosition:function(V,W){var b,f,l,j,g,d,X,h,a,c,k,Z,e,Y;
if(!R.status.rendered){return F.fn.qtip.log.error.call(R,2,F.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updatePosition")
}else{if(R.options.position.type=="static"){return F.fn.qtip.log.error.call(R,1,F.fn.qtip.constants.CANNOT_POSITION_STATIC,"updatePosition")
}}f={position:{left:0,top:0},dimensions:{height:0,width:0},corner:R.options.position.corner.target};
l={position:R.getPosition(),dimensions:R.getDimensions(),corner:R.options.position.corner.tooltip};
if(R.options.position.target!=="mouse"){if(R.options.position.target.get(0).nodeName.toLowerCase()=="area"){j=R.options.position.target.attr("coords").split(",");
for(b=0;
b<j.length;
b++){j[b]=parseInt(j[b])
}g=R.options.position.target.parent("map").attr("name");
d=F('img[usemap="#'+g+'"]:first').offset();
f.position={left:Math.floor(d.left+j[0]),top:Math.floor(d.top+j[1])};
switch(R.options.position.target.attr("shape").toLowerCase()){case"rect":f.dimensions={width:Math.ceil(Math.abs(j[2]-j[0])),height:Math.ceil(Math.abs(j[3]-j[1]))};
break;
case"circle":f.dimensions={width:j[2]+1,height:j[2]+1};
break;
case"poly":f.dimensions={width:j[0],height:j[1]};
for(b=0;
b<j.length;
b++){if(b%2==0){if(j[b]>f.dimensions.width){f.dimensions.width=j[b]
}if(j[b]<j[0]){f.position.left=Math.floor(d.left+j[b])
}}else{if(j[b]>f.dimensions.height){f.dimensions.height=j[b]
}if(j[b]<j[1]){f.position.top=Math.floor(d.top+j[b])
}}}f.dimensions.width=f.dimensions.width-(f.position.left-d.left);
f.dimensions.height=f.dimensions.height-(f.position.top-d.top);
break;
default:return F.fn.qtip.log.error.call(R,4,F.fn.qtip.constants.INVALID_AREA_SHAPE,"updatePosition");
break
}f.dimensions.width-=2;
f.dimensions.height-=2
}else{if(R.options.position.target.add(document.body).length===1){f.position={left:F(document).scrollLeft(),top:F(document).scrollTop()};
f.dimensions={height:F(window).height(),width:F(window).width()}
}else{if(typeof R.options.position.target.attr("qtip")!=="undefined"){f.position=R.options.position.target.qtip("api").cache.position
}else{f.position=R.options.position.target.offset()
}f.dimensions={height:R.options.position.target.outerHeight(),width:R.options.position.target.outerWidth()}
}}X=F.extend({},f.position);
if(f.corner.search(/right/i)!==-1){X.left+=f.dimensions.width
}if(f.corner.search(/bottom/i)!==-1){X.top+=f.dimensions.height
}if(f.corner.search(/((top|bottom)Middle)|center/)!==-1){X.left+=(f.dimensions.width/2)
}if(f.corner.search(/((left|right)Middle)|center/)!==-1){X.top+=(f.dimensions.height/2)
}}else{f.position=X={left:R.cache.mouse.x,top:R.cache.mouse.y};
f.dimensions={height:1,width:1}
}if(l.corner.search(/right/i)!==-1){X.left-=l.dimensions.width
}if(l.corner.search(/bottom/i)!==-1){X.top-=l.dimensions.height
}if(l.corner.search(/((top|bottom)Middle)|center/)!==-1){X.left-=(l.dimensions.width/2)
}if(l.corner.search(/((left|right)Middle)|center/)!==-1){X.top-=(l.dimensions.height/2)
}h=(F.browser.msie)?1:0;
a=(F.browser.msie&&parseInt(F.browser.version.charAt(0))===6)?1:0;
if(R.options.style.border.radius>0){if(l.corner.search(/Left/)!==-1){X.left-=R.options.style.border.radius
}else{if(l.corner.search(/Right/)!==-1){X.left+=R.options.style.border.radius
}}if(l.corner.search(/Top/)!==-1){X.top-=R.options.style.border.radius
}else{if(l.corner.search(/Bottom/)!==-1){X.top+=R.options.style.border.radius
}}}if(h){if(l.corner.search(/top/)!==-1){X.top-=h
}else{if(l.corner.search(/bottom/)!==-1){X.top+=h
}}if(l.corner.search(/left/)!==-1){X.left-=h
}else{if(l.corner.search(/right/)!==-1){X.left+=h
}}if(l.corner.search(/leftMiddle|rightMiddle/)!==-1){X.top-=1
}}if(R.options.position.adjust.screen===true){X=N.call(R,X,f,l)
}if(R.options.position.target==="mouse"&&R.options.position.adjust.mouse===true){if(R.options.position.adjust.screen===true&&R.elements.tip){k=R.elements.tip.attr("rel")
}else{k=R.options.position.corner.tooltip
}X.left+=(k.search(/right/i)!==-1)?-6:6;
X.top+=(k.search(/bottom/i)!==-1)?-6:6
}if(!R.elements.bgiframe&&F.browser.msie&&parseInt(F.browser.version.charAt(0))==6){F("select, object").each(function(){Z=F(this).offset();
Z.bottom=Z.top+F(this).height();
Z.right=Z.left+F(this).width();
if(X.top+l.dimensions.height>=Z.top&&X.left+l.dimensions.width>=Z.left){J.call(R)
}})
}X.left+=R.options.position.adjust.x;
X.top+=R.options.position.adjust.y;
e=R.getPosition();
if(X.left!=e.left||X.top!=e.top){Y=R.beforePositionUpdate.call(R,V);
if(Y===false){return R
}R.cache.position=X;
if(W===true){R.status.animated=true;
R.elements.tooltip.animate(X,200,"swing",function(){R.status.animated=false
})
}else{R.elements.tooltip.css(X)
}R.onPositionUpdate.call(R,V);
if(typeof V!=="undefined"&&V.type&&V.type!=="mousemove"){F.fn.qtip.log.error.call(R,1,F.fn.qtip.constants.EVENT_POSITION_UPDATED,"updatePosition")
}}return R
},updateWidth:function(V){var W;
if(!R.status.rendered){return F.fn.qtip.log.error.call(R,2,F.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateWidth")
}else{if(V&&typeof V!=="number"){return F.fn.qtip.log.error.call(R,2,"newWidth must be of type number","updateWidth")
}}W=R.elements.contentWrapper.siblings().add(R.elements.tip).add(R.elements.button);
if(!V){if(typeof R.options.style.width.value=="number"){V=R.options.style.width.value
}else{R.elements.tooltip.css({width:"auto"});
W.hide();
if(F.browser.msie){R.elements.wrapper.add(R.elements.contentWrapper.children()).css({zoom:"normal"})
}V=R.getDimensions().width+1;
if(!R.options.style.width.value){if(V>R.options.style.width.max){V=R.options.style.width.max
}if(V<R.options.style.width.min){V=R.options.style.width.min
}}}}if(V%2!==0){V-=1
}R.elements.tooltip.width(V);
W.show();
if(R.options.style.border.radius){R.elements.tooltip.find(".qtip-betweenCorners").each(function(X){F(this).width(V-(R.options.style.border.radius*2))
})
}if(F.browser.msie){R.elements.wrapper.add(R.elements.contentWrapper.children()).css({zoom:"1"});
R.elements.wrapper.width(V);
if(R.elements.bgiframe){R.elements.bgiframe.width(V).height(R.getDimensions.height)
}}return F.fn.qtip.log.error.call(R,1,F.fn.qtip.constants.EVENT_WIDTH_UPDATED,"updateWidth")
},updateStyle:function(V){var Y,Z,W,X,a;
if(!R.status.rendered){return F.fn.qtip.log.error.call(R,2,F.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateStyle")
}else{if(typeof V!=="string"||!F.fn.qtip.styles[V]){return F.fn.qtip.log.error.call(R,2,F.fn.qtip.constants.STYLE_NOT_DEFINED,"updateStyle")
}}R.options.style=A.call(R,F.fn.qtip.styles[V],R.options.user.style);
R.elements.content.css(P(R.options.style));
if(R.options.content.title.text!==false){R.elements.title.css(P(R.options.style.title,true))
}R.elements.contentWrapper.css({borderColor:R.options.style.border.color});
if(R.options.style.tip.corner!==false){if(F("<canvas>").get(0).getContext){Y=R.elements.tooltip.find(".qtip-tip canvas:first");
W=Y.get(0).getContext("2d");
W.clearRect(0,0,300,300);
X=Y.parent("div[rel]:first").attr("rel");
a=B(X,R.options.style.tip.size.width,R.options.style.tip.size.height);
H.call(R,Y,a,R.options.style.tip.color||R.options.style.border.color)
}else{if(F.browser.msie){Y=R.elements.tooltip.find('.qtip-tip [nodeName="shape"]');
Y.attr("fillcolor",R.options.style.tip.color||R.options.style.border.color)
}}}if(R.options.style.border.radius>0){R.elements.tooltip.find(".qtip-betweenCorners").css({backgroundColor:R.options.style.border.color});
if(F("<canvas>").get(0).getContext){Z=G(R.options.style.border.radius);
R.elements.tooltip.find(".qtip-wrapper canvas").each(function(){W=F(this).get(0).getContext("2d");
W.clearRect(0,0,300,300);
X=F(this).parent("div[rel]:first").attr("rel");
Q.call(R,F(this),Z[X],R.options.style.border.radius,R.options.style.border.color)
})
}else{if(F.browser.msie){R.elements.tooltip.find('.qtip-wrapper [nodeName="arc"]').each(function(){F(this).attr("fillcolor",R.options.style.border.color)
})
}}}return F.fn.qtip.log.error.call(R,1,F.fn.qtip.constants.EVENT_STYLE_UPDATED,"updateStyle")
},updateContent:function(Z,X){var Y,W,V;
if(!R.status.rendered){return F.fn.qtip.log.error.call(R,2,F.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateContent")
}else{if(!Z){return F.fn.qtip.log.error.call(R,2,F.fn.qtip.constants.NO_CONTENT_PROVIDED,"updateContent")
}}Y=R.beforeContentUpdate.call(R,Z);
if(typeof Y=="string"){Z=Y
}else{if(Y===false){return 
}}if(F.browser.msie){R.elements.contentWrapper.children().css({zoom:"normal"})
}if(Z.jquery&&Z.length>0){Z.clone(true).appendTo(R.elements.content).show()
}else{R.elements.content.html(Z)
}W=R.elements.content.find("img[complete=false]");
if(W.length>0){V=0;
W.each(function(b){F('<img src="'+F(this).attr("src")+'" />').load(function(){if(++V==W.length){a()
}})
})
}else{a()
}function a(){R.updateWidth();
if(X!==false){if(R.options.position.type!=="static"){R.updatePosition(R.elements.tooltip.is(":visible"),true)
}if(R.options.style.tip.corner!==false){M.call(R)
}}}R.onContentUpdate.call(R);
return F.fn.qtip.log.error.call(R,1,F.fn.qtip.constants.EVENT_CONTENT_UPDATED,"loadContent")
},loadContent:function(V,Y,Z){var X;
if(!R.status.rendered){return F.fn.qtip.log.error.call(R,2,F.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"loadContent")
}X=R.beforeContentLoad.call(R);
if(X===false){return R
}if(Z=="post"){F.post(V,Y,W)
}else{F.get(V,Y,W)
}function W(a){R.onContentLoad.call(R);
F.fn.qtip.log.error.call(R,1,F.fn.qtip.constants.EVENT_CONTENT_LOADED,"loadContent");
R.updateContent(a)
}return R
},updateTitle:function(V){if(!R.status.rendered){return F.fn.qtip.log.error.call(R,2,F.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateTitle")
}else{if(!V){return F.fn.qtip.log.error.call(R,2,F.fn.qtip.constants.NO_CONTENT_PROVIDED,"updateTitle")
}}returned=R.beforeTitleUpdate.call(R);
if(returned===false){return R
}if(R.elements.button){R.elements.button=R.elements.button.clone(true)
}R.elements.title.html(V);
if(R.elements.button){R.elements.title.prepend(R.elements.button)
}R.onTitleUpdate.call(R);
return F.fn.qtip.log.error.call(R,1,F.fn.qtip.constants.EVENT_TITLE_UPDATED,"updateTitle")
},focus:function(Z){var X,W,V,Y;
if(!R.status.rendered){return F.fn.qtip.log.error.call(R,2,F.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"focus")
}else{if(R.options.position.type=="static"){return F.fn.qtip.log.error.call(R,1,F.fn.qtip.constants.CANNOT_FOCUS_STATIC,"focus")
}}X=parseInt(R.elements.tooltip.css("z-index"));
W=6000+F("div.qtip[qtip]").length-1;
if(!R.status.focused&&X!==W){Y=R.beforeFocus.call(R,Z);
if(Y===false){return R
}F("div.qtip[qtip]").not(R.elements.tooltip).each(function(){if(F(this).qtip("api").status.rendered===true){V=parseInt(F(this).css("z-index"));
if(typeof V=="number"&&V>-1){F(this).css({zIndex:parseInt(F(this).css("z-index"))-1})
}F(this).qtip("api").status.focused=false
}});
R.elements.tooltip.css({zIndex:W});
R.status.focused=true;
R.onFocus.call(R,Z);
F.fn.qtip.log.error.call(R,1,F.fn.qtip.constants.EVENT_FOCUSED,"focus")
}return R
},disable:function(V){if(!R.status.rendered){return F.fn.qtip.log.error.call(R,2,F.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"disable")
}if(V){if(!R.status.disabled){R.status.disabled=true;
F.fn.qtip.log.error.call(R,1,F.fn.qtip.constants.EVENT_DISABLED,"disable")
}else{F.fn.qtip.log.error.call(R,1,F.fn.qtip.constants.TOOLTIP_ALREADY_DISABLED,"disable")
}}else{if(R.status.disabled){R.status.disabled=false;
F.fn.qtip.log.error.call(R,1,F.fn.qtip.constants.EVENT_ENABLED,"disable")
}else{F.fn.qtip.log.error.call(R,1,F.fn.qtip.constants.TOOLTIP_ALREADY_ENABLED,"disable")
}}return R
},destroy:function(){var V,W,X;
W=R.beforeDestroy.call(R);
if(W===false){return R
}if(R.status.rendered){R.options.show.when.target.unbind("mousemove.qtip",R.updatePosition);
R.options.show.when.target.unbind("mouseout.qtip",R.hide);
R.options.show.when.target.unbind(R.options.show.when.event+".qtip");
R.options.hide.when.target.unbind(R.options.hide.when.event+".qtip");
R.elements.tooltip.unbind(R.options.hide.when.event+".qtip");
R.elements.tooltip.unbind("mouseover.qtip",R.focus);
R.elements.tooltip.remove()
}else{R.options.show.when.target.unbind(R.options.show.when.event+".qtip-create")
}if(typeof R.elements.target.data("qtip")=="object"){X=R.elements.target.data("qtip").interfaces;
if(typeof X=="object"&&X.length>0){for(V=0;
V<X.length-1;
V++){if(X[V].id==R.id){X.splice(V,1)
}}}}delete F.fn.qtip.interfaces[R.id];
if(typeof X=="object"&&X.length>0){R.elements.target.data("qtip").current=X.length-1
}else{R.elements.target.removeData("qtip")
}R.onDestroy.call(R);
F.fn.qtip.log.error.call(R,1,F.fn.qtip.constants.EVENT_DESTROYED,"destroy");
return R.elements.target
},getPosition:function(){var V,W;
if(!R.status.rendered){return F.fn.qtip.log.error.call(R,2,F.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"getPosition")
}V=(R.elements.tooltip.css("display")!=="none")?false:true;
if(V){R.elements.tooltip.css({visiblity:"hidden"}).show()
}W=R.elements.tooltip.offset();
if(V){R.elements.tooltip.css({visiblity:"visible"}).hide()
}return W
},getDimensions:function(){var V,W;
if(!R.status.rendered){return F.fn.qtip.log.error.call(R,2,F.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"getDimensions")
}V=(!R.elements.tooltip.is(":visible"))?true:false;
if(V){R.elements.tooltip.css({visiblity:"hidden"}).show()
}W={height:R.elements.tooltip.outerHeight(),width:R.elements.tooltip.outerWidth()};
if(V){R.elements.tooltip.css({visiblity:"visible"}).hide()
}return W
}})
}function O(){var R,V,T,S,U,X,W;
R=this;
R.beforeRender.call(R);
R.status.rendered=true;
R.elements.tooltip='<div qtip="'+R.id+'" class="qtip '+(R.options.style.classes.tooltip||R.options.style)+'"style="display:none; -moz-border-radius:0; -webkit-border-radius:0; border-radius:0;position:'+R.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 '+R.options.style.classes.content+'"></div></div></div></div>';
R.elements.tooltip=F(R.elements.tooltip);
R.elements.tooltip.appendTo(R.options.position.container);
R.elements.tooltip.data("qtip",{current:0,interfaces:[R]});
R.elements.wrapper=R.elements.tooltip.children("div:first");
R.elements.contentWrapper=R.elements.wrapper.children("div:first").css({background:R.options.style.background});
R.elements.content=R.elements.contentWrapper.children("div:first").css(P(R.options.style));
if(F.browser.msie){R.elements.wrapper.add(R.elements.content).css({zoom:1})
}if(R.options.hide.when.event=="unfocus"){R.elements.tooltip.attr("unfocus",true)
}if(typeof R.options.style.width.value=="number"){R.updateWidth()
}if(F("<canvas>").get(0).getContext||F.browser.msie){if(R.options.style.border.radius>0){L.call(R)
}else{R.elements.contentWrapper.css({border:R.options.style.border.width+"px solid "+R.options.style.border.color})
}if(R.options.style.tip.corner!==false){E.call(R)
}}else{R.elements.contentWrapper.css({border:R.options.style.border.width+"px solid "+R.options.style.border.color});
R.options.style.border.radius=0;
R.options.style.tip.corner=false;
F.fn.qtip.log.error.call(R,2,F.fn.qtip.constants.CANVAS_VML_NOT_SUPPORTED,"render")
}if((typeof R.options.content.text=="string"&&R.options.content.text.length>0)||(R.options.content.text.jquery&&R.options.content.text.length>0)){T=R.options.content.text
}else{if(typeof R.elements.target.attr("title")=="string"&&R.elements.target.attr("title").length>0){T=R.elements.target.attr("title").replace("\\n","<br />");
R.elements.target.attr("title","")
}else{if(typeof R.elements.target.attr("alt")=="string"&&R.elements.target.attr("alt").length>0){T=R.elements.target.attr("alt").replace("\\n","<br />");
R.elements.target.attr("alt","")
}else{T=" ";
F.fn.qtip.log.error.call(R,1,F.fn.qtip.constants.NO_VALID_CONTENT,"render")
}}}if(R.options.content.title.text!==false){I.call(R)
}R.updateContent(T);
K.call(R);
if(R.options.show.ready===true){R.show()
}if(R.options.content.url!==false){S=R.options.content.url;
U=R.options.content.data;
X=R.options.content.method||"get";
R.loadContent(S,U,X)
}R.onRender.call(R);
F.fn.qtip.log.error.call(R,1,F.fn.qtip.constants.EVENT_RENDERED,"render")
}function L(){var e,Y,S,a,W,d,T,f,c,X,V,b,Z,R,U;
e=this;
e.elements.wrapper.find(".qtip-borderBottom, .qtip-borderTop").remove();
S=e.options.style.border.width;
a=e.options.style.border.radius;
W=e.options.style.border.color||e.options.style.tip.color;
d=G(a);
T={};
for(Y in d){T[Y]='<div rel="'+Y+'" style="'+((Y.search(/Left/)!==-1)?"left":"right")+":0; position:absolute; height:"+a+"px; width:"+a+'px; overflow:hidden; line-height:0.1px; font-size:1px">';
if(F("<canvas>").get(0).getContext){T[Y]+='<canvas height="'+a+'" width="'+a+'" style="vertical-align: top"></canvas>'
}else{if(F.browser.msie){f=a*2+3;
T[Y]+='<v:arc stroked="false" fillcolor="'+W+'" startangle="'+d[Y][0]+'" endangle="'+d[Y][1]+'" style="width:'+f+"px; height:"+f+"px; margin-top:"+((Y.search(/bottom/)!==-1)?-2:-1)+"px; margin-left:"+((Y.search(/Right/)!==-1)?d[Y][2]-3.5:-1)+'px; vertical-align:top; display:inline-block; behavior:url(#default#VML)"></v:arc>'
}}T[Y]+="</div>"
}c=e.getDimensions().width-(Math.max(S,a)*2);
X='<div class="qtip-betweenCorners" style="height:'+a+"px; width:"+c+"px; overflow:hidden; background-color:"+W+'; line-height:0.1px; font-size:1px;">';
V='<div class="qtip-borderTop" dir="ltr" style="height:'+a+"px; margin-left:"+a+'px; line-height:0.1px; font-size:1px; padding:0;">'+T.topLeft+T.topRight+X;
e.elements.wrapper.prepend(V);
b='<div class="qtip-borderBottom" dir="ltr" style="height:'+a+"px; margin-left:"+a+'px; line-height:0.1px; font-size:1px; padding:0;">'+T.bottomLeft+T.bottomRight+X;
e.elements.wrapper.append(b);
if(F("<canvas>").get(0).getContext){e.elements.wrapper.find("canvas").each(function(){Z=d[F(this).parent("[rel]:first").attr("rel")];
Q.call(e,F(this),Z,a,W)
})
}else{if(F.browser.msie){e.elements.tooltip.append('<v:image style="behavior:url(#default#VML);"></v:image>')
}}R=Math.max(a,(a+(S-a)));
U=Math.max(S-a,0);
e.elements.contentWrapper.css({border:"0px solid "+W,borderWidth:U+"px "+R+"px"})
}function Q(T,V,R,S){var U=T.get(0).getContext("2d");
U.fillStyle=S;
U.beginPath();
U.arc(V[0],V[1],R,0,Math.PI*2,false);
U.fill()
}function E(U){var S,R,W,T,V;
S=this;
if(S.elements.tip!==null){S.elements.tip.remove()
}R=S.options.style.tip.color||S.options.style.border.color;
if(S.options.style.tip.corner===false){return 
}else{if(!U){U=S.options.style.tip.corner
}}W=B(U,S.options.style.tip.size.width,S.options.style.tip.size.height);
S.elements.tip='<div class="'+S.options.style.classes.tip+'" dir="ltr" rel="'+U+'" style="position:absolute; height:'+S.options.style.tip.size.height+"px; width:"+S.options.style.tip.size.width+'px; margin:0 auto; line-height:0.1px; font-size:1px;">';
if(F("<canvas>").get(0).getContext){S.elements.tip+='<canvas height="'+S.options.style.tip.size.height+'" width="'+S.options.style.tip.size.width+'"></canvas>'
}else{if(F.browser.msie){T=S.options.style.tip.size.width+","+S.options.style.tip.size.height;
V="m"+W[0][0]+","+W[0][1];
V+=" l"+W[1][0]+","+W[1][1];
V+=" "+W[2][0]+","+W[2][1];
V+=" xe";
S.elements.tip+='<v:shape fillcolor="'+R+'" stroked="false" filled="true" path="'+V+'" coordsize="'+T+'" style="width:'+S.options.style.tip.size.width+"px; height:"+S.options.style.tip.size.height+"px; line-height:0.1px; display:inline-block; behavior:url(#default#VML); vertical-align:"+((U.search(/top/)!==-1)?"bottom":"top")+'"></v:shape>';
S.elements.tip+='<v:image style="behavior:url(#default#VML);"></v:image>';
S.elements.contentWrapper.css("position","relative")
}}S.elements.tooltip.prepend(S.elements.tip+"</div>");
S.elements.tip=S.elements.tooltip.find("."+S.options.style.classes.tip).eq(0);
if(F("<canvas>").get(0).getContext){H.call(S,S.elements.tip.find("canvas:first"),W,R)
}if(U.search(/top/)!==-1&&F.browser.msie&&parseInt(F.browser.version.charAt(0))===6){S.elements.tip.css({marginTop:-4})
}M.call(S,U)
}function H(S,U,R){var T=S.get(0).getContext("2d");
T.fillStyle=R;
T.beginPath();
T.moveTo(U[0][0],U[0][1]);
T.lineTo(U[1][0],U[1][1]);
T.lineTo(U[2][0],U[2][1]);
T.fill()
}function M(T){var S,V,R,W,U;
S=this;
if(S.options.style.tip.corner===false||!S.elements.tip){return 
}if(!T){T=S.elements.tip.attr("rel")
}V=positionAdjust=(F.browser.msie)?1:0;
S.elements.tip.css(T.match(/left|right|top|bottom/)[0],0);
if(T.search(/top|bottom/)!==-1){if(F.browser.msie){if(parseInt(F.browser.version.charAt(0))===6){positionAdjust=(T.search(/top/)!==-1)?-3:1
}else{positionAdjust=(T.search(/top/)!==-1)?1:2
}}if(T.search(/Middle/)!==-1){S.elements.tip.css({left:"50%",marginLeft:-(S.options.style.tip.size.width/2)})
}else{if(T.search(/Left/)!==-1){S.elements.tip.css({left:S.options.style.border.radius-V})
}else{if(T.search(/Right/)!==-1){S.elements.tip.css({right:S.options.style.border.radius+V})
}}}if(T.search(/top/)!==-1){S.elements.tip.css({top:-positionAdjust})
}else{S.elements.tip.css({bottom:positionAdjust})
}}else{if(T.search(/left|right/)!==-1){if(F.browser.msie){positionAdjust=(parseInt(F.browser.version.charAt(0))===6)?1:((T.search(/left/)!==-1)?1:2)
}if(T.search(/Middle/)!==-1){S.elements.tip.css({top:"50%",marginTop:-(S.options.style.tip.size.height/2)})
}else{if(T.search(/Top/)!==-1){S.elements.tip.css({top:S.options.style.border.radius-V})
}else{if(T.search(/Bottom/)!==-1){S.elements.tip.css({bottom:S.options.style.border.radius+V})
}}}if(T.search(/left/)!==-1){S.elements.tip.css({left:-positionAdjust})
}else{S.elements.tip.css({right:positionAdjust})
}}}R="padding-"+T.match(/left|right|top|bottom/)[0];
W=S.options.style.tip.size[(R.search(/left|right/)!==-1)?"width":"height"];
S.elements.tooltip.css("padding",0);
S.elements.tooltip.css(R,W);
if(F.browser.msie&&parseInt(F.browser.version.charAt(0))==6){U=parseInt(S.elements.tip.css("margin-top"))||0;
U+=parseInt(S.elements.content.css("margin-top"))||0;
S.elements.tip.css({marginTop:U})
}}function I(){var R=this;
if(R.elements.title!==null){R.elements.title.remove()
}R.elements.title=F('<div class="'+R.options.style.classes.title+'">').css(P(R.options.style.title,true)).css({zoom:(F.browser.msie)?1:0}).prependTo(R.elements.contentWrapper);
if(R.options.content.title.text){R.updateTitle.call(R,R.options.content.title.text)
}if(R.options.content.title.button!==false&&typeof R.options.content.title.button=="string"){R.elements.button=F('<a class="'+R.options.style.classes.button+'" style="float:right; position: relative"></a>').css(P(R.options.style.button,true)).html(R.options.content.title.button).prependTo(R.elements.title).click(function(S){if(!R.status.disabled){R.hide(S)
}})
}}function K(){var S,U,T,R;
S=this;
U=S.options.show.when.target;
T=S.options.hide.when.target;
if(S.options.hide.fixed){T=T.add(S.elements.tooltip)
}if(S.options.hide.when.event=="inactive"){R=["click","dblclick","mousedown","mouseup","mousemove","mouseout","mouseenter","mouseleave","mouseover"];
function X(Y){if(S.status.disabled===true){return 
}clearTimeout(S.timers.inactive);
S.timers.inactive=setTimeout(function(){F(R).each(function(){T.unbind(this+".qtip-inactive");
S.elements.content.unbind(this+".qtip-inactive")
});
S.hide(Y)
},S.options.hide.delay)
}}else{if(S.options.hide.fixed===true){S.elements.tooltip.bind("mouseover.qtip",function(){if(S.status.disabled===true){return 
}clearTimeout(S.timers.hide)
})
}}function W(Y){if(S.status.disabled===true){return 
}if(S.options.hide.when.event=="inactive"){F(R).each(function(){T.bind(this+".qtip-inactive",X);
S.elements.content.bind(this+".qtip-inactive",X)
});
X()
}clearTimeout(S.timers.show);
clearTimeout(S.timers.hide);
S.timers.show=setTimeout(function(){S.show(Y)
},S.options.show.delay)
}function V(Y){if(S.status.disabled===true){return 
}if(S.options.hide.fixed===true&&S.options.hide.when.event.search(/mouse(out|leave)/i)!==-1&&F(Y.relatedTarget).parents("div.qtip[qtip]").length>0){Y.stopPropagation();
Y.preventDefault();
clearTimeout(S.timers.hide);
return false
}clearTimeout(S.timers.show);
clearTimeout(S.timers.hide);
S.elements.tooltip.stop(true,true);
S.timers.hide=setTimeout(function(){S.hide(Y)
},S.options.hide.delay)
}if((S.options.show.when.target.add(S.options.hide.when.target).length===1&&S.options.show.when.event==S.options.hide.when.event&&S.options.hide.when.event!=="inactive")||S.options.hide.when.event=="unfocus"){S.cache.toggle=0;
U.bind(S.options.show.when.event+".qtip",function(Y){if(S.cache.toggle==0){W(Y)
}else{V(Y)
}})
}else{U.bind(S.options.show.when.event+".qtip",W);
if(S.options.hide.when.event!=="inactive"){T.bind(S.options.hide.when.event+".qtip",V)
}}if(S.options.position.type.search(/(fixed|absolute)/)!==-1){S.elements.tooltip.bind("mouseover.qtip",S.focus)
}if(S.options.position.target==="mouse"&&S.options.position.type!=="static"){U.bind("mousemove.qtip",function(Y){S.cache.mouse={x:Y.pageX,y:Y.pageY};
if(S.status.disabled===false&&S.options.position.adjust.mouse===true&&S.options.position.type!=="static"&&S.elements.tooltip.css("display")!=="none"){S.updatePosition(Y)
}})
}}function N(T,U,Z){var Y,R,W,X,S,V;
Y=this;
if(Z.corner=="center"){return U.position
}R=F.extend({},T);
X={x:false,y:false};
S={left:(R.left<F.fn.qtip.cache.screen.scroll.left),right:(R.left+Z.dimensions.width+2>=F.fn.qtip.cache.screen.width+F.fn.qtip.cache.screen.scroll.left),top:(R.top<F.fn.qtip.cache.screen.scroll.top),bottom:(R.top+Z.dimensions.height+2>=F.fn.qtip.cache.screen.height+F.fn.qtip.cache.screen.scroll.top)};
W={left:(S.left&&(Z.corner.search(/right/i)!=-1||(Z.corner.search(/right/i)==-1&&!S.right))),right:(S.right&&(Z.corner.search(/left/i)!=-1||(Z.corner.search(/left/i)==-1&&!S.left))),top:(S.top&&Z.corner.search(/top/i)==-1),bottom:(S.bottom&&Z.corner.search(/bottom/i)==-1)};
if(W.left){if(Y.options.position.target!=="mouse"){R.left=U.position.left+U.dimensions.width
}else{R.left=Y.cache.mouse.x
}X.x="Left"
}else{if(W.right){if(Y.options.position.target!=="mouse"){R.left=U.position.left-Z.dimensions.width
}else{R.left=Y.cache.mouse.x-Z.dimensions.width
}X.x="Right"
}}if(W.top){if(Y.options.position.target!=="mouse"){R.top=U.position.top+U.dimensions.height
}else{R.top=Y.cache.mouse.y
}X.y="top"
}else{if(W.bottom){if(Y.options.position.target!=="mouse"){R.top=U.position.top-Z.dimensions.height
}else{R.top=Y.cache.mouse.y-Z.dimensions.height
}X.y="bottom"
}}if(R.left<0){R.left=T.left;
X.x=false
}if(R.top<0){R.top=T.top;
X.y=false
}if(Y.options.style.tip.corner!==false){R.corner=new String(Z.corner);
if(X.x!==false){R.corner=R.corner.replace(/Left|Right|Middle/,X.x)
}if(X.y!==false){R.corner=R.corner.replace(/top|bottom/,X.y)
}if(R.corner!==Y.elements.tip.attr("rel")){E.call(Y,R.corner)
}}return R
}function P(T,S){var U,R;
U=F.extend(true,{},T);
for(R in U){if(S===true&&R.search(/(tip|classes)/i)!==-1){delete U[R]
}else{if(!S&&R.search(/(width|border|tip|title|classes|user)/i)!==-1){delete U[R]
}}}return U
}function C(R){if(typeof R.tip!=="object"){R.tip={corner:R.tip}
}if(typeof R.tip.size!=="object"){R.tip.size={width:R.tip.size,height:R.tip.size}
}if(typeof R.border!=="object"){R.border={width:R.border}
}if(typeof R.width!=="object"){R.width={value:R.width}
}if(typeof R.width.max=="string"){R.width.max=parseInt(R.width.max.replace(/([0-9]+)/i,"$1"))
}if(typeof R.width.min=="string"){R.width.min=parseInt(R.width.min.replace(/([0-9]+)/i,"$1"))
}if(typeof R.tip.size.x=="number"){R.tip.size.width=R.tip.size.x;
delete R.tip.size.x
}if(typeof R.tip.size.y=="number"){R.tip.size.height=R.tip.size.y;
delete R.tip.size.y
}return R
}function A(){var R,S,T,W,U,V;
R=this;
T=[true,{}];
for(S=0;
S<arguments.length;
S++){T.push(arguments[S])
}W=[F.extend.apply(F,T)];
while(typeof W[0].name=="string"){W.unshift(C(F.fn.qtip.styles[W[0].name]))
}W.unshift(true,{classes:{tooltip:"qtip-"+(arguments[0].name||"defaults")}},F.fn.qtip.styles.defaults);
U=F.extend.apply(F,W);
V=(F.browser.msie)?1:0;
U.tip.size.width+=V;
U.tip.size.height+=V;
if(U.tip.size.width%2>0){U.tip.size.width+=1
}if(U.tip.size.height%2>0){U.tip.size.height+=1
}if(U.tip.corner===true){U.tip.corner=(R.options.position.corner.tooltip==="center")?false:R.options.position.corner.tooltip
}return U
}function B(U,T,S){var R={bottomRight:[[0,0],[T,S],[T,0]],bottomLeft:[[0,0],[T,0],[0,S]],topRight:[[0,S],[T,0],[T,S]],topLeft:[[0,0],[0,S],[T,S]],topMiddle:[[0,S],[T/2,0],[T,S]],bottomMiddle:[[0,0],[T,0],[T/2,S]],rightMiddle:[[0,0],[T,S/2],[0,S]],leftMiddle:[[T,0],[T,S],[0,S/2]]};
R.leftTop=R.bottomRight;
R.rightTop=R.bottomLeft;
R.leftBottom=R.topRight;
R.rightBottom=R.topLeft;
return R[U]
}function G(R){var S;
if(F("<canvas>").get(0).getContext){S={topLeft:[R,R],topRight:[0,R],bottomLeft:[R,0],bottomRight:[0,0]}
}else{if(F.browser.msie){S={topLeft:[-90,90,0],topRight:[-90,90,-R],bottomLeft:[90,270,0],bottomRight:[90,270,-R]}
}}return S
}function J(){var R,S,T;
R=this;
T=R.getDimensions();
S='<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:'+T.height+"px; width:"+T.width+'px" />';
R.elements.bgiframe=R.elements.wrapper.prepend(S).children(".qtip-bgiframe:first")
}F(document).ready(function(){F.fn.qtip.cache={screen:{scroll:{left:F(window).scrollLeft(),top:F(window).scrollTop()},width:F(window).width(),height:F(window).height()}};
var R;
F(window).bind("resize scroll",function(S){clearTimeout(R);
R=setTimeout(function(){if(S.type==="scroll"){F.fn.qtip.cache.screen.scroll={left:F(window).scrollLeft(),top:F(window).scrollTop()}
}else{F.fn.qtip.cache.screen.width=F(window).width();
F.fn.qtip.cache.screen.height=F(window).height()
}for(i=0;
i<F.fn.qtip.interfaces.length;
i++){var T=F.fn.qtip.interfaces[i];
if(T.status.rendered===true&&(T.options.position.type!=="static"||T.options.position.adjust.scroll&&S.type==="scroll"||T.options.position.adjust.resize&&S.type==="resize")){T.updatePosition(S,true)
}}},100)
});
F(document).bind("mousedown.qtip",function(S){if(F(S.target).parents("div.qtip").length===0){F(".qtip[unfocus]").each(function(){var T=F(this).qtip("api");
if(F(this).is(":visible")&&!T.status.disabled&&F(S.target).add(T.elements.target).length>1){T.hide(S)
}})
}})
});
F.fn.qtip.interfaces=[];
F.fn.qtip.log={error:function(){return this
}};
F.fn.qtip.constants={};
F.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(){}}};
F.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"}};
if(!this.JSON){JSON=function(){function f(n){return n<10?"0"+n:n
}Date.prototype.toJSON=function(key){return this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z"
};
String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(key){return this.valueOf()
};
var cx=new RegExp("/[\\u0000\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g"),escapeable=new RegExp('/[\\\\\\"\\x00-\\x1f\\x7f-\\x9f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g'),gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;
function quote(string){escapeable.lastIndex=0;
return escapeable.test(string)?'"'+string.replace(escapeable,function(a){var c=meta[a];
if(typeof c==="string"){return c
}return"\\u"+("0000"+(+(a.charCodeAt(0))).toString(16)).slice(-4)
})+'"':'"'+string+'"'
}function str(key,holder){var i,k,v,length,mind=gap,partial,value=holder[key];
if(value&&typeof value==="object"&&typeof value.toJSON==="function"){value=value.toJSON(key)
}if(typeof rep==="function"){value=rep.call(holder,key,value)
}switch(typeof value){case"string":return quote(value);
case"number":return isFinite(value)?String(value):"null";
case"boolean":case"null":return String(value);
case"object":if(!value){return"null"
}gap+=indent;
partial=[];
if(typeof value.length==="number"&&!(value.propertyIsEnumerable("length"))){length=value.length;
for(i=0;
i<length;
i+=1){partial[i]=str(i,value)||"null"
}v=partial.length===0?"[]":gap?"[\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"]":"["+partial.join(",")+"]";
gap=mind;
return v
}if(rep&&typeof rep==="object"){length=rep.length;
for(i=0;
i<length;
i+=1){k=rep[i];
if(typeof k==="string"){v=str(k,value);
if(v){partial.push(quote(k)+(gap?": ":":")+v)
}}}}else{for(k in value){if(Object.hasOwnProperty.call(value,k)){v=str(k,value);
if(v){partial.push(quote(k)+(gap?": ":":")+v)
}}}}v=partial.length===0?"{}":gap?"{\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"}":"{"+partial.join(",")+"}";
gap=mind;
return v
}}return{stringify:function(value,replacer,space){var i;
gap="";
indent="";
if(typeof space==="number"){for(i=0;
i<space;
i+=1){indent+=" "
}}else{if(typeof space==="string"){indent=space
}}rep=replacer;
if(replacer&&typeof replacer!=="function"&&(typeof replacer!=="object"||typeof replacer.length!=="number")){throw new Error("JSON.stringify")
}return str("",{"":value})
},parse:function(text,reviver){var j;
function walk(holder,key){var k,v,value=holder[key];
if(value&&typeof value==="object"){for(k in value){if(Object.hasOwnProperty.call(value,k)){v=walk(value,k);
if(v!==undefined){value[k]=v
}else{delete value[k]
}}}}return reviver.call(holder,key,value)
}cx.lastIndex=0;
if(cx.test(text)){text=text.replace(cx,function(a){return"\\u"+("0000"+(+(a.charCodeAt(0))).toString(16)).slice(-4)
})
}if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){j=eval("("+text+")");
return typeof reviver==="function"?walk({"":j},""):j
}throw new SyntaxError("JSON.parse")
}}
}()
}var SWFUpload;
if(SWFUpload==undefined){SWFUpload=function(A){this.initSWFUpload(A)
}
}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(A){delete SWFUpload.instances[this.movieName];
throw A
}};
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(A){if(typeof (A)!=="string"||A.match(/^https?:\/\//i)||A.match(/^\//)){return A
}var C=window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"");
var B=window.location.pathname.lastIndexOf("/");
if(B<=0){path="/"
}else{path=window.location.pathname.substr(0,B)+"/"
}return path+A
};
SWFUpload.prototype.initSettings=function(){this.ensureDefault=function(B,A){this.settings[B]=(this.settings[B]==undefined)?A: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
};
SWFUpload.prototype.loadFlash=function(){var A,B;
if(document.getElementById(this.movieName)!==null){throw"ID "+this.movieName+" is already in use. The Flash Object could not be added"
}A=document.getElementById(this.settings.button_placeholder_id)||this.settings.button_placeholder;
if(A==undefined){throw"Could not find the placeholder element: "+this.settings.button_placeholder_id
}B=document.createElement("div");
B.innerHTML=this.getFlashHTML();
A.parentNode.replaceChild(B.firstChild,A);
if(window[this.movieName]==undefined){window[this.movieName]=this.getMovieElement()
}};
SWFUpload.prototype.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("")
};
SWFUpload.prototype.getFlashVars=function(){var B=this.buildParamString();
var A=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(A),"&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("")
};
SWFUpload.prototype.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
};
SWFUpload.prototype.buildParamString=function(){var C=this.settings.post_params;
var B=[];
if(typeof (C)==="object"){for(var A in C){if(C.hasOwnProperty(A)){B.push(encodeURIComponent(A.toString())+"="+encodeURIComponent(C[A].toString()))
}}}return B.join("&amp;")
};
SWFUpload.prototype.destroy=function(){try{this.cancelUpload(null,false);
var A=null;
A=this.getMovieElement();
if(A&&typeof (A.CallFunction)==="unknown"){for(var C in A){try{if(typeof (A[C])==="function"){A[C]=null
}}catch(E){}}try{A.parentNode.removeChild(A)
}catch(B){}}window[this.movieName]=null;
SWFUpload.instances[this.movieName]=null;
delete SWFUpload.instances[this.movieName];
this.movieElement=null;
this.settings=null;
this.customSettings=null;
this.eventQueue=null;
this.movieName=null;
return true
}catch(D){return false
}};
SWFUpload.prototype.displayDebugInfo=function(){this.debug(["---SWFUpload Instance Info---\n","Version: ",SWFUpload.version,"\n","Movie Name: ",this.movieName,"\n","Settings:\n","\t","upload_url:               ",this.settings.upload_url,"\n","\t","flash_url:                ",this.settings.flash_url,"\n","\t","use_query_string:         ",this.settings.use_query_string.toString(),"\n","\t","requeue_on_error:         ",this.settings.requeue_on_error.toString(),"\n","\t","http_success:             ",this.settings.http_success.join(", "),"\n","\t","assume_success_timeout:   ",this.settings.assume_success_timeout,"\n","\t","file_post_name:           ",this.settings.file_post_name,"\n","\t","post_params:              ",this.settings.post_params.toString(),"\n","\t","file_types:               ",this.settings.file_types,"\n","\t","file_types_description:   ",this.settings.file_types_description,"\n","\t","file_size_limit:          ",this.settings.file_size_limit,"\n","\t","file_upload_limit:        ",this.settings.file_upload_limit,"\n","\t","file_queue_limit:         ",this.settings.file_queue_limit,"\n","\t","debug:                    ",this.settings.debug.toString(),"\n","\t","prevent_swf_caching:      ",this.settings.prevent_swf_caching.toString(),"\n","\t","button_placeholder_id:    ",this.settings.button_placeholder_id.toString(),"\n","\t","button_placeholder:       ",(this.settings.button_placeholder?"Set":"Not Set"),"\n","\t","button_image_url:         ",this.settings.button_image_url.toString(),"\n","\t","button_width:             ",this.settings.button_width.toString(),"\n","\t","button_height:            ",this.settings.button_height.toString(),"\n","\t","button_text:              ",this.settings.button_text.toString(),"\n","\t","button_text_style:        ",this.settings.button_text_style.toString(),"\n","\t","button_text_top_padding:  ",this.settings.button_text_top_padding.toString(),"\n","\t","button_text_left_padding: ",this.settings.button_text_left_padding.toString(),"\n","\t","button_action:            ",this.settings.button_action.toString(),"\n","\t","button_disabled:          ",this.settings.button_disabled.toString(),"\n","\t","custom_settings:          ",this.settings.custom_settings.toString(),"\n","Event Handlers:\n","\t","swfupload_loaded_handler assigned:  ",(typeof this.settings.swfupload_loaded_handler==="function").toString(),"\n","\t","file_dialog_start_handler assigned: ",(typeof this.settings.file_dialog_start_handler==="function").toString(),"\n","\t","file_queued_handler assigned:       ",(typeof this.settings.file_queued_handler==="function").toString(),"\n","\t","file_queue_error_handler assigned:  ",(typeof this.settings.file_queue_error_handler==="function").toString(),"\n","\t","upload_start_handler assigned:      ",(typeof this.settings.upload_start_handler==="function").toString(),"\n","\t","upload_progress_handler assigned:   ",(typeof this.settings.upload_progress_handler==="function").toString(),"\n","\t","upload_error_handler assigned:      ",(typeof this.settings.upload_error_handler==="function").toString(),"\n","\t","upload_success_handler assigned:    ",(typeof this.settings.upload_success_handler==="function").toString(),"\n","\t","upload_complete_handler assigned:   ",(typeof this.settings.upload_complete_handler==="function").toString(),"\n","\t","debug_handler assigned:             ",(typeof this.settings.debug_handler==="function").toString(),"\n"].join(""))
};
SWFUpload.prototype.addSetting=function(B,C,A){if(C==undefined){return(this.settings[B]=A)
}else{return(this.settings[B]=C)
}};
SWFUpload.prototype.getSetting=function(A){if(this.settings[A]!=undefined){return this.settings[A]
}return""
};
SWFUpload.prototype.callFlash=function(functionName,argumentArray){argumentArray=argumentArray||[];
var movieElement=this.getMovieElement();
var returnValue,returnString;
try{returnString=movieElement.CallFunction('<invoke name="'+functionName+'" returntype="javascript">'+__flash__argumentsToXML(argumentArray,0)+"</invoke>");
returnValue=eval(returnString)
}catch(ex){throw"Call to "+functionName+" failed"
}if(returnValue!=undefined&&typeof returnValue.post==="object"){returnValue=this.unescapeFilePostParams(returnValue)
}return returnValue
};
SWFUpload.prototype.selectFile=function(){this.callFlash("SelectFile")
};
SWFUpload.prototype.selectFiles=function(){this.callFlash("SelectFiles")
};
SWFUpload.prototype.startUpload=function(A){this.callFlash("StartUpload",[A])
};
SWFUpload.prototype.cancelUpload=function(A,B){if(B!==false){B=true
}this.callFlash("CancelUpload",[A,B])
};
SWFUpload.prototype.stopUpload=function(){this.callFlash("StopUpload")
};
SWFUpload.prototype.getStats=function(){return this.callFlash("GetStats")
};
SWFUpload.prototype.setStats=function(A){this.callFlash("SetStats",[A])
};
SWFUpload.prototype.getFile=function(A){if(typeof (A)==="number"){return this.callFlash("GetFileByIndex",[A])
}else{return this.callFlash("GetFile",[A])
}};
SWFUpload.prototype.addFileParam=function(A,B,C){return this.callFlash("AddFileParam",[A,B,C])
};
SWFUpload.prototype.removeFileParam=function(A,B){this.callFlash("RemoveFileParam",[A,B])
};
SWFUpload.prototype.setUploadURL=function(A){this.settings.upload_url=A.toString();
this.callFlash("SetUploadURL",[A])
};
SWFUpload.prototype.setPostParams=function(A){this.settings.post_params=A;
this.callFlash("SetPostParams",[A])
};
SWFUpload.prototype.addPostParam=function(A,B){this.settings.post_params[A]=B;
this.callFlash("SetPostParams",[this.settings.post_params])
};
SWFUpload.prototype.removePostParam=function(A){delete this.settings.post_params[A];
this.callFlash("SetPostParams",[this.settings.post_params])
};
SWFUpload.prototype.setFileTypes=function(A,B){this.settings.file_types=A;
this.settings.file_types_description=B;
this.callFlash("SetFileTypes",[A,B])
};
SWFUpload.prototype.setFileSizeLimit=function(A){this.settings.file_size_limit=A;
this.callFlash("SetFileSizeLimit",[A])
};
SWFUpload.prototype.setFileUploadLimit=function(A){this.settings.file_upload_limit=A;
this.callFlash("SetFileUploadLimit",[A])
};
SWFUpload.prototype.setFileQueueLimit=function(A){this.settings.file_queue_limit=A;
this.callFlash("SetFileQueueLimit",[A])
};
SWFUpload.prototype.setFilePostName=function(A){this.settings.file_post_name=A;
this.callFlash("SetFilePostName",[A])
};
SWFUpload.prototype.setUseQueryString=function(A){this.settings.use_query_string=A;
this.callFlash("SetUseQueryString",[A])
};
SWFUpload.prototype.setRequeueOnError=function(A){this.settings.requeue_on_error=A;
this.callFlash("SetRequeueOnError",[A])
};
SWFUpload.prototype.setHTTPSuccess=function(A){if(typeof A==="string"){A=A.replace(" ","").split(",")
}this.settings.http_success=A;
this.callFlash("SetHTTPSuccess",[A])
};
SWFUpload.prototype.setAssumeSuccessTimeout=function(A){this.settings.assume_success_timeout=A;
this.callFlash("SetAssumeSuccessTimeout",[A])
};
SWFUpload.prototype.setDebugEnabled=function(A){this.settings.debug_enabled=A;
this.callFlash("SetDebugEnabled",[A])
};
SWFUpload.prototype.setButtonImageURL=function(A){if(A==undefined){A=""
}this.settings.button_image_url=A;
this.callFlash("SetButtonImageURL",[A])
};
SWFUpload.prototype.setButtonDimensions=function(C,A){this.settings.button_width=C;
this.settings.button_height=A;
var B=this.getMovieElement();
if(B!=undefined){B.style.width=C+"px";
B.style.height=A+"px"
}this.callFlash("SetButtonDimensions",[C,A])
};
SWFUpload.prototype.setButtonText=function(A){this.settings.button_text=A;
this.callFlash("SetButtonText",[A])
};
SWFUpload.prototype.setButtonTextPadding=function(B,A){this.settings.button_text_top_padding=A;
this.settings.button_text_left_padding=B;
this.callFlash("SetButtonTextPadding",[B,A])
};
SWFUpload.prototype.setButtonTextStyle=function(A){this.settings.button_text_style=A;
this.callFlash("SetButtonTextStyle",[A])
};
SWFUpload.prototype.setButtonDisabled=function(A){this.settings.button_disabled=A;
this.callFlash("SetButtonDisabled",[A])
};
SWFUpload.prototype.setButtonAction=function(A){this.settings.button_action=A;
this.callFlash("SetButtonAction",[A])
};
SWFUpload.prototype.setButtonCursor=function(A){this.settings.button_cursor=A;
this.callFlash("SetButtonCursor",[A])
};
SWFUpload.prototype.queueEvent=function(B,C){if(C==undefined){C=[]
}else{if(!(C instanceof Array)){C=[C]
}}var A=this;
if(typeof this.settings[B]==="function"){this.eventQueue.push(function(){this.settings[B].apply(this,C)
});
setTimeout(function(){A.executeNextEvent()
},0)
}else{if(this.settings[B]!==null){throw"Event handler "+B+" is unknown or is not a function"
}}};
SWFUpload.prototype.executeNextEvent=function(){var A=this.eventQueue?this.eventQueue.shift():null;
if(typeof (A)==="function"){A.apply(this)
}};
SWFUpload.prototype.unescapeFilePostParams=function(C){var E=/[$]([0-9a-f]{4})/i;
var F={};
var D;
if(C!=undefined){for(var A in C.post){if(C.post.hasOwnProperty(A)){D=A;
var B;
while((B=E.exec(D))!==null){D=D.replace(B[0],String.fromCharCode(parseInt("0x"+B[1],16)))
}F[D]=C.post[A]
}}C.post=F
}return C
};
SWFUpload.prototype.testExternalInterface=function(){try{return this.callFlash("TestExternalInterface")
}catch(A){return false
}};
SWFUpload.prototype.flashReady=function(){var A=this.getMovieElement();
if(!A){this.debug("Flash called back ready but the flash movie can't be found.");
return 
}this.cleanUp(A);
this.queueEvent("swfupload_loaded_handler")
};
SWFUpload.prototype.cleanUp=function(A){try{if(this.movieElement&&typeof (A.CallFunction)==="unknown"){this.debug("Removing Flash functions hooks (this should only run in IE and should prevent memory leaks)");
for(var C in A){try{if(typeof (A[C])==="function"){A[C]=null
}}catch(B){}}}}catch(D){}window.__flash__removeCallback=function(E,F){try{if(E){E[F]=null
}}catch(G){}}
};
SWFUpload.prototype.fileDialogStart=function(){this.queueEvent("file_dialog_start_handler")
};
SWFUpload.prototype.fileQueued=function(A){A=this.unescapeFilePostParams(A);
this.queueEvent("file_queued_handler",A)
};
SWFUpload.prototype.fileQueueError=function(A,C,B){A=this.unescapeFilePostParams(A);
this.queueEvent("file_queue_error_handler",[A,C,B])
};
SWFUpload.prototype.fileDialogComplete=function(B,C,A){this.queueEvent("file_dialog_complete_handler",[B,C,A])
};
SWFUpload.prototype.uploadStart=function(A){A=this.unescapeFilePostParams(A);
this.queueEvent("return_upload_start_handler",A)
};
SWFUpload.prototype.returnUploadStart=function(A){var B;
if(typeof this.settings.upload_start_handler==="function"){A=this.unescapeFilePostParams(A);
B=this.settings.upload_start_handler.call(this,A)
}else{if(this.settings.upload_start_handler!=undefined){throw"upload_start_handler must be a function"
}}if(B===undefined){B=true
}B=!!B;
this.callFlash("ReturnUploadStart",[B])
};
SWFUpload.prototype.uploadProgress=function(A,C,B){A=this.unescapeFilePostParams(A);
this.queueEvent("upload_progress_handler",[A,C,B])
};
SWFUpload.prototype.uploadError=function(A,C,B){A=this.unescapeFilePostParams(A);
this.queueEvent("upload_error_handler",[A,C,B])
};
SWFUpload.prototype.uploadSuccess=function(B,A,C){B=this.unescapeFilePostParams(B);
this.queueEvent("upload_success_handler",[B,A,C])
};
SWFUpload.prototype.uploadComplete=function(A){A=this.unescapeFilePostParams(A);
this.queueEvent("upload_complete_handler",A)
};
SWFUpload.prototype.debug=function(A){this.queueEvent("debug_handler",A)
};
SWFUpload.prototype.debugMessage=function(C){if(this.settings.debug){var A,D=[];
if(typeof C==="object"&&typeof C.name==="string"&&typeof C.message==="string"){for(var B in C){if(C.hasOwnProperty(B)){D.push(B+": "+C[B])
}}A=D.join("\n")||"";
D=A.split("\n");
A="EXCEPTION: "+D.join("\nEXCEPTION: ");
SWFUpload.Console.writeLine(A)
}else{SWFUpload.Console.writeLine(C)
}}};
SWFUpload.Console={};
SWFUpload.Console.writeLine=function(D){var B,A;
try{B=document.getElementById("SWFUpload_Console");
if(!B){A=document.createElement("form");
document.getElementsByTagName("body")[0].appendChild(A);
B=document.createElement("textarea");
B.id="SWFUpload_Console";
B.style.fontFamily="monospace";
B.setAttribute("wrap","off");
B.wrap="off";
B.style.overflow="auto";
B.style.width="700px";
B.style.height="350px";
B.style.margin="5px";
A.appendChild(B)
}B.value+=D+"\n";
B.scrollTop=B.scrollHeight-B.clientHeight
}catch(C){alert("Exception: "+C.name+" Message: "+C.message)
}};
var SWFUpload;
if(typeof (SWFUpload)==="function"){SWFUpload.prototype.initSettings=function(A){return function(){if(typeof (A)==="function"){A.call(this)
}this.refreshCookies(false)
}
}(SWFUpload.prototype.initSettings);
SWFUpload.prototype.refreshCookies=function(I){if(I===undefined){I=true
}I=!!I;
var E=this.settings.post_params;
var C,H=document.cookie.split(";"),B=H.length,D,G,A,F;
for(C=0;
C<B;
C++){D=H[C];
while(D.charAt(0)===" "){D=D.substring(1,D.length)
}G=D.indexOf("=");
if(G>0){A=D.substring(0,G);
F=D.substring(G+1);
E[A]=F
}}if(I){this.setPostParams(E)
}}
}var SWFUpload;
if(typeof (SWFUpload)==="function"){SWFUpload.queue={};
SWFUpload.prototype.initSettings=(function(A){return function(){if(typeof (A)==="function"){A.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(A){this.queueSettings.queue_cancelled_flag=false;
this.callFlash("StartUpload",[A])
};
SWFUpload.prototype.cancelQueue=function(){this.queueSettings.queue_cancelled_flag=true;
this.stopUpload();
var A=this.getStats();
while(A.files_queued>0){this.cancelUpload();
A=this.getStats()
}};
SWFUpload.queue.uploadStartHandler=function(A){var B;
if(typeof (this.queueSettings.user_upload_start_handler)==="function"){B=this.queueSettings.user_upload_start_handler.call(this,A)
}B=(B===false)?false:true;
this.queueSettings.queue_cancelled_flag=!B;
return B
};
SWFUpload.queue.uploadCompleteHandler=function(B){var C=this.queueSettings.user_upload_complete_handler;
var D;
if(B.filestatus===SWFUpload.FILE_STATUS.COMPLETE){this.queueSettings.queue_upload_count++
}if(typeof (C)==="function"){D=(C.call(this,B)===false)?false:true
}else{if(B.filestatus===SWFUpload.FILE_STATUS.QUEUED){D=false
}else{D=true
}}if(D){var A=this.getStats();
if(A.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]);
this.queueSettings.queue_upload_count=0
}else{this.queueSettings.queue_cancelled_flag=false;
this.queueSettings.queue_upload_count=0
}}}}
}var SWFUpload;
if(typeof (SWFUpload)==="function"){SWFUpload.speed={};
SWFUpload.prototype.initSettings=(function(A){return function(){if(typeof (A)==="function"){A.call(this)
}this.ensureDefault=function(C,B){this.settings[C]=(this.settings[C]==undefined)?B:this.settings[C]
};
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(A){if(typeof this.speedSettings.user_file_queued_handler==="function"){A=SWFUpload.speed.extendFile(A);
return this.speedSettings.user_file_queued_handler.call(this,A)
}};
SWFUpload.speed.fileQueueErrorHandler=function(A,C,B){if(typeof this.speedSettings.user_file_queue_error_handler==="function"){A=SWFUpload.speed.extendFile(A);
return this.speedSettings.user_file_queue_error_handler.call(this,A,C,B)
}};
SWFUpload.speed.uploadStartHandler=function(A){if(typeof this.speedSettings.user_upload_start_handler==="function"){A=SWFUpload.speed.extendFile(A,this.fileSpeedStats);
return this.speedSettings.user_upload_start_handler.call(this,A)
}};
SWFUpload.speed.uploadErrorHandler=function(A,C,B){A=SWFUpload.speed.extendFile(A,this.fileSpeedStats);
SWFUpload.speed.removeTracking(A,this.fileSpeedStats);
if(typeof this.speedSettings.user_upload_error_handler==="function"){return this.speedSettings.user_upload_error_handler.call(this,A,C,B)
}};
SWFUpload.speed.uploadProgressHandler=function(A,C,B){this.updateTracking(A,C);
A=SWFUpload.speed.extendFile(A,this.fileSpeedStats);
if(typeof this.speedSettings.user_upload_progress_handler==="function"){return this.speedSettings.user_upload_progress_handler.call(this,A,C,B)
}};
SWFUpload.speed.uploadSuccessHandler=function(B,A){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,A)
}};
SWFUpload.speed.uploadCompleteHandler=function(A){A=SWFUpload.speed.extendFile(A,this.fileSpeedStats);
SWFUpload.speed.removeTracking(A,this.fileSpeedStats);
if(typeof this.speedSettings.user_upload_complete_handler==="function"){return this.speedSettings.user_upload_complete_handler.call(this,A)
}};
SWFUpload.speed.extendFile=function(B,A){var C;
if(A){C=A[B.id]
}if(C){B.currentSpeed=C.currentSpeed;
B.averageSpeed=C.averageSpeed;
B.movingAverageSpeed=C.movingAverageSpeed;
B.timeRemaining=C.timeRemaining;
B.timeElapsed=C.timeElapsed;
B.percentUploaded=C.percentUploaded;
B.sizeUploaded=C.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(D,G){var F=this.fileSpeedStats[D.id];
if(!F){this.fileSpeedStats[D.id]=F={}
}G=G||F.bytesUploaded||0;
if(G<0){G=0
}if(G>D.size){G=D.size
}var H=(new Date()).getTime();
if(!F.startTime){F.startTime=(new Date()).getTime();
F.lastTime=F.startTime;
F.currentSpeed=0;
F.averageSpeed=0;
F.movingAverageSpeed=0;
F.movingAverageHistory=[];
F.timeRemaining=0;
F.timeElapsed=0;
F.percentUploaded=G/D.size;
F.bytesUploaded=G
}else{if(F.startTime>H){this.debug("When backwards in time")
}else{var C=(new Date()).getTime();
var E=F.lastTime;
var B=C-E;
var A=G-F.bytesUploaded;
if(A===0||B===0){return F
}F.lastTime=C;
F.bytesUploaded=G;
F.currentSpeed=(A*8)/(B/1000);
F.averageSpeed=(F.bytesUploaded*8)/((C-F.startTime)/1000);
F.movingAverageHistory.push(F.currentSpeed);
if(F.movingAverageHistory.length>this.settings.moving_average_history_size){F.movingAverageHistory.shift()
}F.movingAverageSpeed=SWFUpload.speed.calculateMovingAverage(F.movingAverageHistory);
F.timeRemaining=(D.size-F.bytesUploaded)*8/F.movingAverageSpeed;
F.timeElapsed=(C-F.startTime)/1000;
F.percentUploaded=(F.bytesUploaded/D.size*100)
}}return F
};
SWFUpload.speed.removeTracking=function(C,A){try{A[C.id]=null;
delete A[C.id]
}catch(B){}};
SWFUpload.speed.formatUnits=function(G,C,B,H){var D,F,A,J;
if(G===0){return"0 "+B[B.length-1]
}if(H){F=G;
J=B.length>=C.length?B[C.length-1]:"";
for(D=0;
D<C.length;
D++){if(G>=C[D]){F=(G/C[D]).toFixed(2);
J=B.length>=D?" "+B[D]:"";
break
}}return F+J
}else{var E=[];
var I=G;
for(D=0;
D<C.length;
D++){A=C[D];
J=B.length>D?" "+B[D]:"";
F=I/A;
if(D<C.length-1){F=Math.floor(F)
}else{F=F.toFixed(2)
}if(F>0){I=I%A;
E.push(F+J)
}}return E.join(" ")
}};
SWFUpload.speed.formatBPS=function(B){var C=[1073741824,1048576,1024,1],A=["Gbps","Mbps","Kbps","bps"];
return SWFUpload.speed.formatUnits(B,C,A,true)
};
SWFUpload.speed.formatTime=function(C){var A=[86400,3600,60,1],B=["d","h","m","s"];
return SWFUpload.speed.formatUnits(C,A,B,false)
};
SWFUpload.speed.formatBytes=function(C){var B=[1073741824,1048576,1024,1],A=["GB","MB","KB","bytes"];
return SWFUpload.speed.formatUnits(C,B,A,true)
};
SWFUpload.speed.formatPercent=function(A){return A.toFixed(2)+" %"
};
SWFUpload.speed.calculateMovingAverage=function(H){var I=[],K,G=0,L=0,E=0,B=0,D=0;
var F;
var C=0,J=0;
K=H.length;
if(K>=8){for(F=0;
F<K;
F++){I[F]=H[F];
G+=I[F]
}L=G/K;
for(F=0;
F<K;
F++){E+=Math.pow((I[F]-L),2)
}B=E/K;
D=Math.sqrt(B);
for(F=0;
F<K;
F++){I[F]=(I[F]-L)/D
}var A=2;
for(F=0;
F<K;
F++){if(I[F]<=A&&I[F]>=-A){J++;
C+=H[F]
}}}else{J=K;
for(F=0;
F<K;
F++){C+=H[F]
}}return C/J
};
/*	SWFObject v2.2 <http://code.google.com/p/swfobject/> 
	is released under the MIT License <http://www.opensource.org/licenses/mit-license.php> 
*/
}var swfobject=function(){var d="undefined",R="object",u="Shockwave Flash",y="ShockwaveFlash.ShockwaveFlash",Q="application/x-shockwave-flash",t="SWFObjectExprInst",X="onreadystatechange",q=window,J=document,T=navigator,v=false,w=[H],O=[],p=[],j=[],L,s,e,b,k=false,A=false,N,g,M=true,o=function(){var AC=typeof J.getElementById!=d&&typeof J.getElementsByTagName!=d&&typeof J.createElement!=d,AJ=T.userAgent.toLowerCase(),AA=T.platform.toLowerCase(),AG=AA?/win/.test(AA):/win/.test(AJ),AE=AA?/mac/.test(AA):/mac/.test(AJ),AH=/webkit/.test(AJ)?parseFloat(AJ.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,z=!+"\v1",AI=[0,0,0],AD=null;
if(typeof T.plugins!=d&&typeof T.plugins[u]==R){AD=T.plugins[u].description;
if(AD&&!(typeof T.mimeTypes!=d&&T.mimeTypes[Q]&&!T.mimeTypes[Q].enabledPlugin)){v=true;
z=false;
AD=AD.replace(/^.*\s+(\S+\s+\S+$)/,"$1");
AI[0]=parseInt(AD.replace(/^(.*)\..*$/,"$1"),10);
AI[1]=parseInt(AD.replace(/^.*\.(.*)\s.*$/,"$1"),10);
AI[2]=/[a-zA-Z]/.test(AD)?parseInt(AD.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0
}}else{if(typeof q.ActiveXObject!=d){try{var AF=new ActiveXObject(y);
if(AF){AD=AF.GetVariable("$version");
if(AD){z=true;
AD=AD.split(" ")[1].split(",");
AI=[parseInt(AD[0],10),parseInt(AD[1],10),parseInt(AD[2],10)]
}}}catch(AB){}}}return{w3:AC,pv:AI,wk:AH,ie:z,win:AG,mac:AE}
}(),K=function(){if(!o.w3){return 
}if((typeof J.readyState!=d&&J.readyState=="complete")||(typeof J.readyState==d&&(J.getElementsByTagName("body")[0]||J.body))){F()
}if(!k){if(typeof J.addEventListener!=d){J.addEventListener("DOMContentLoaded",F,false)
}if(o.ie&&o.win){J.attachEvent(X,function(){if(J.readyState=="complete"){J.detachEvent(X,arguments.callee);
F()
}});
if(q==top){(function(){if(k){return 
}try{J.documentElement.doScroll("left")
}catch(z){setTimeout(arguments.callee,0);
return 
}F()
})()
}}if(o.wk){(function(){if(k){return 
}if(!/loaded|complete/.test(J.readyState)){setTimeout(arguments.callee,0);
return 
}F()
})()
}S(F)
}}();
function F(){if(k){return 
}try{var AB=J.getElementsByTagName("body")[0].appendChild(c("span"));
AB.parentNode.removeChild(AB)
}catch(AC){return 
}k=true;
var z=w.length;
for(var AA=0;
AA<z;
AA++){w[AA]()
}}function l(z){if(k){z()
}else{w[w.length]=z
}}function S(AA){if(typeof q.addEventListener!=d){q.addEventListener("load",AA,false)
}else{if(typeof J.addEventListener!=d){J.addEventListener("load",AA,false)
}else{if(typeof q.attachEvent!=d){I(q,"onload",AA)
}else{if(typeof q.onload=="function"){var z=q.onload;
q.onload=function(){z();
AA()
}
}else{q.onload=AA
}}}}}function H(){if(v){x()
}else{h()
}}function x(){var z=J.getElementsByTagName("body")[0];
var AC=c(R);
AC.setAttribute("type",Q);
var AB=z.appendChild(AC);
if(AB){var AA=0;
(function(){if(typeof AB.GetVariable!=d){var AD=AB.GetVariable("$version");
if(AD){AD=AD.split(" ")[1].split(",");
o.pv=[parseInt(AD[0],10),parseInt(AD[1],10),parseInt(AD[2],10)]
}}else{if(AA<10){AA++;
setTimeout(arguments.callee,10);
return 
}}z.removeChild(AC);
AB=null;
h()
})()
}else{h()
}}function h(){var AI=O.length;
if(AI>0){for(var AH=0;
AH<AI;
AH++){var AA=O[AH].id;
var AD=O[AH].callbackFn;
var AC={success:false,id:AA};
if(o.pv[0]>0){var AG=C(AA);
if(AG){if(f(O[AH].swfVersion)&&!(o.wk&&o.wk<312)){W(AA,true);
if(AD){AC.success=true;
AC.ref=Z(AA);
AD(AC)
}}else{if(O[AH].expressInstall&&a()){var AK={};
AK.data=O[AH].expressInstall;
AK.width=AG.getAttribute("width")||"0";
AK.height=AG.getAttribute("height")||"0";
if(AG.getAttribute("class")){AK.styleclass=AG.getAttribute("class")
}if(AG.getAttribute("align")){AK.align=AG.getAttribute("align")
}var AJ={};
var z=AG.getElementsByTagName("param");
var AE=z.length;
for(var AF=0;
AF<AE;
AF++){if(z[AF].getAttribute("name").toLowerCase()!="movie"){AJ[z[AF].getAttribute("name")]=z[AF].getAttribute("value")
}}r(AK,AJ,AA,AD)
}else{P(AG);
if(AD){AD(AC)
}}}}}else{W(AA,true);
if(AD){var AB=Z(AA);
if(AB&&typeof AB.SetVariable!=d){AC.success=true;
AC.ref=AB
}AD(AC)
}}}}}function Z(AC){var z=null;
var AA=C(AC);
if(AA&&AA.nodeName=="OBJECT"){if(typeof AA.SetVariable!=d){z=AA
}else{var AB=AA.getElementsByTagName(R)[0];
if(AB){z=AB
}}}return z
}function a(){return !A&&f("6.0.65")&&(o.win||o.mac)&&!(o.wk&&o.wk<312)
}function r(AC,AD,z,AB){A=true;
e=AB||null;
b={success:false,id:z};
var AG=C(z);
if(AG){if(AG.nodeName=="OBJECT"){L=G(AG);
s=null
}else{L=AG;
s=z
}AC.id=t;
if(typeof AC.width==d||(!/%$/.test(AC.width)&&parseInt(AC.width,10)<310)){AC.width="310"
}if(typeof AC.height==d||(!/%$/.test(AC.height)&&parseInt(AC.height,10)<137)){AC.height="137"
}J.title=J.title.slice(0,47)+" - Flash Player Installation";
var AF=o.ie&&o.win?"ActiveX":"PlugIn",AE="MMredirectURL="+q.location.toString().replace(/&/g,"%26")+"&MMplayerType="+AF+"&MMdoctitle="+J.title;
if(typeof AD.flashvars!=d){AD.flashvars+="&"+AE
}else{AD.flashvars=AE
}if(o.ie&&o.win&&AG.readyState!=4){var AA=c("div");
z+="SWFObjectNew";
AA.setAttribute("id",z);
AG.parentNode.insertBefore(AA,AG);
AG.style.display="none";
(function(){if(AG.readyState==4){AG.parentNode.removeChild(AG)
}else{setTimeout(arguments.callee,10)
}})()
}U(AC,AD,z)
}}function P(AA){if(o.ie&&o.win&&AA.readyState!=4){var z=c("div");
AA.parentNode.insertBefore(z,AA);
z.parentNode.replaceChild(G(AA),z);
AA.style.display="none";
(function(){if(AA.readyState==4){AA.parentNode.removeChild(AA)
}else{setTimeout(arguments.callee,10)
}})()
}else{AA.parentNode.replaceChild(G(AA),AA)
}}function G(AD){var AC=c("div");
if(o.win&&o.ie){AC.innerHTML=AD.innerHTML
}else{var AA=AD.getElementsByTagName(R)[0];
if(AA){var AE=AA.childNodes;
if(AE){var z=AE.length;
for(var AB=0;
AB<z;
AB++){if(!(AE[AB].nodeType==1&&AE[AB].nodeName=="PARAM")&&!(AE[AB].nodeType==8)){AC.appendChild(AE[AB].cloneNode(true))
}}}}}return AC
}function U(AK,AI,AA){var z,AC=C(AA);
if(o.wk&&o.wk<312){return z
}if(AC){if(typeof AK.id==d){AK.id=AA
}if(o.ie&&o.win){var AJ="";
for(var AG in AK){if(AK[AG]!=Object.prototype[AG]){if(AG.toLowerCase()=="data"){AI.movie=AK[AG]
}else{if(AG.toLowerCase()=="styleclass"){AJ+=' class="'+AK[AG]+'"'
}else{if(AG.toLowerCase()!="classid"){AJ+=" "+AG+'="'+AK[AG]+'"'
}}}}}var AH="";
for(var AF in AI){if(AI[AF]!=Object.prototype[AF]){AH+='<param name="'+AF+'" value="'+AI[AF]+'" />'
}}AC.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+AJ+">"+AH+"</object>";
p[p.length]=AK.id;
z=C(AK.id)
}else{var AB=c(R);
AB.setAttribute("type",Q);
for(var AE in AK){if(AK[AE]!=Object.prototype[AE]){if(AE.toLowerCase()=="styleclass"){AB.setAttribute("class",AK[AE])
}else{if(AE.toLowerCase()!="classid"){AB.setAttribute(AE,AK[AE])
}}}}for(var AD in AI){if(AI[AD]!=Object.prototype[AD]&&AD.toLowerCase()!="movie"){E(AB,AD,AI[AD])
}}AC.parentNode.replaceChild(AB,AC);
z=AB
}}return z
}function E(AB,z,AA){var AC=c("param");
AC.setAttribute("name",z);
AC.setAttribute("value",AA);
AB.appendChild(AC)
}function Y(AA){var z=C(AA);
if(z&&z.nodeName=="OBJECT"){if(o.ie&&o.win){z.style.display="none";
(function(){if(z.readyState==4){B(AA)
}else{setTimeout(arguments.callee,10)
}})()
}else{z.parentNode.removeChild(z)
}}}function B(AB){var AA=C(AB);
if(AA){for(var z in AA){if(typeof AA[z]=="function"){AA[z]=null
}}AA.parentNode.removeChild(AA)
}}function C(AB){var z=null;
try{z=J.getElementById(AB)
}catch(AA){}return z
}function c(z){return J.createElement(z)
}function I(AB,z,AA){AB.attachEvent(z,AA);
j[j.length]=[AB,z,AA]
}function f(AB){var AA=o.pv,z=AB.split(".");
z[0]=parseInt(z[0],10);
z[1]=parseInt(z[1],10)||0;
z[2]=parseInt(z[2],10)||0;
return(AA[0]>z[0]||(AA[0]==z[0]&&AA[1]>z[1])||(AA[0]==z[0]&&AA[1]==z[1]&&AA[2]>=z[2]))?true:false
}function V(AE,AA,AF,AD){if(o.ie&&o.mac){return 
}var AC=J.getElementsByTagName("head")[0];
if(!AC){return 
}var z=(AF&&typeof AF=="string")?AF:"screen";
if(AD){N=null;
g=null
}if(!N||g!=z){var AB=c("style");
AB.setAttribute("type","text/css");
AB.setAttribute("media",z);
N=AC.appendChild(AB);
if(o.ie&&o.win&&typeof J.styleSheets!=d&&J.styleSheets.length>0){N=J.styleSheets[J.styleSheets.length-1]
}g=z
}if(o.ie&&o.win){if(N&&typeof N.addRule==R){N.addRule(AE,AA)
}}else{if(N&&typeof J.createTextNode!=d){N.appendChild(J.createTextNode(AE+" {"+AA+"}"))
}}}function W(AB,z){if(!M){return 
}var AA=z?"visible":"hidden";
if(k&&C(AB)){C(AB).style.visibility=AA
}else{V("#"+AB,"visibility:"+AA)
}}function m(AA){var AB=/[\\\"<>\.;]/;
var z=AB.exec(AA)!=null;
return z&&typeof encodeURIComponent!=d?encodeURIComponent(AA):AA
}var D=function(){if(o.ie&&o.win){window.attachEvent("onunload",function(){var AE=j.length;
for(var AD=0;
AD<AE;
AD++){j[AD][0].detachEvent(j[AD][1],j[AD][2])
}var AB=p.length;
for(var AC=0;
AC<AB;
AC++){Y(p[AC])
}for(var AA in o){o[AA]=null
}o=null;
for(var z in swfobject){swfobject[z]=null
}swfobject=null
})
}}();
return{registerObject:function(AD,z,AC,AB){if(o.w3&&AD&&z){var AA={};
AA.id=AD;
AA.swfVersion=z;
AA.expressInstall=AC;
AA.callbackFn=AB;
O[O.length]=AA;
W(AD,false)
}else{if(AB){AB({success:false,id:AD})
}}},getObjectById:function(z){if(o.w3){return Z(z)
}},embedSWF:function(AD,AJ,AG,AI,AA,AC,AB,AF,AH,AE){var z={success:false,id:AJ};
if(o.w3&&!(o.wk&&o.wk<312)&&AD&&AJ&&AG&&AI&&AA){W(AJ,false);
l(function(){AG+="";
AI+="";
var AL={};
if(AH&&typeof AH===R){for(var AN in AH){AL[AN]=AH[AN]
}}AL.data=AD;
AL.width=AG;
AL.height=AI;
var AO={};
if(AF&&typeof AF===R){for(var AM in AF){AO[AM]=AF[AM]
}}if(AB&&typeof AB===R){for(var AK in AB){if(typeof AO.flashvars!=d){AO.flashvars+="&"+AK+"="+AB[AK]
}else{AO.flashvars=AK+"="+AB[AK]
}}}if(f(AA)){var AP=U(AL,AO,AJ);
if(AL.id==AJ){W(AJ,true)
}z.success=true;
z.ref=AP
}else{if(AC&&a()){AL.data=AC;
r(AL,AO,AJ,AE);
return 
}else{W(AJ,true)
}}if(AE){AE(z)
}})
}else{if(AE){AE(z)
}}},switchOffAutoHideShow:function(){M=false
},ua:o,getFlashPlayerVersion:function(){return{major:o.pv[0],minor:o.pv[1],release:o.pv[2]}
},hasFlashPlayerVersion:f,createSWF:function(AB,AA,z){if(o.w3){return U(AB,AA,z)
}else{return undefined
}},showExpressInstall:function(AB,AC,z,AA){if(o.w3&&a()){r(AB,AC,z,AA)
}},removeSWF:function(z){if(o.w3){Y(z)
}},createCSS:function(AC,AB,AA,z){if(o.w3){V(AC,AB,AA,z)
}},addDomLoadEvent:l,addLoadEvent:S,getQueryParamValue:function(AC){var AB=J.location.search||J.location.hash;
if(AB){if(/\?/.test(AB)){AB=AB.split("?")[1]
}if(AC==null){return m(AB)
}var AA=AB.split("&");
for(var z=0;
z<AA.length;
z++){if(AA[z].substring(0,AA[z].indexOf("="))==AC){return m(AA[z].substring((AA[z].indexOf("=")+1)))
}}}return""
},expressInstallCallback:function(){if(A){var z=C(t);
if(z&&L){z.parentNode.replaceChild(L,z);
if(s){W(s,true);
if(o.ie&&o.win){L.style.display="block"
}}if(e){e(b)
}}A=false
}}}
}();
var SWFUpload;
if(typeof (SWFUpload)==="function"){SWFUpload.onload=function(){};
swfobject.addDomLoadEvent(function(){if(typeof (SWFUpload.onload)==="function"){SWFUpload.onload.call(window)
}});
SWFUpload.prototype.initSettings=(function(A){return function(){if(typeof (A)==="function"){A.call(this)
}this.ensureDefault=function(C,B){this.settings[C]=(this.settings[C]==undefined)?B:this.settings[C]
};
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(A){return function(){var B=swfobject.hasFlashPlayerVersion(this.settings.minimum_flash_version);
if(B){this.queueEvent("swfupload_pre_load_handler");
if(typeof (A)==="function"){A.call(this)
}}else{this.queueEvent("swfupload_load_failed_handler")
}}
}(SWFUpload.prototype.loadFlash);
SWFUpload.prototype.displayDebugInfo=function(A){return function(){if(typeof (A)==="function"){A.call(this)
}this.debug(["SWFUpload.SWFObject Plugin settings:","\n","\t","minimum_flash_version:                      ",this.settings.minimum_flash_version,"\n","\t","swfupload_pre_load_handler assigned:     ",(typeof (this.settings.swfupload_pre_load_handler)==="function").toString(),"\n","\t","swfupload_load_failed_handler assigned:     ",(typeof (this.settings.swfupload_load_failed_handler)==="function").toString(),"\n",].join(""))
}
}(SWFUpload.prototype.displayDebugInfo);
/* http://wikispaces.com/ Copyright 2005 Tangient LLC */
}function WikispacesCommon(){}WikispacesCommon.jumpToAnchor=function(A){window.location=window.location.toString().replace(/\#.*$/,"")+A
};
WikispacesCommon.truncate=function(C,B,A){if(!A){A="..."
}if(C.length>B){return C.substr(0,B)+A
}return C
};
WikispacesCommon.updateTags=function(B){var A=Array();
jQuery(B).find("select option.selected").each(function(){A[A.length]=jQuery(this).val()
});
jQuery.post("/tag/update?object="+encodeURIComponent(wikispaces_object)+"&page="+encodeURIComponent(wikispaces_page),{"tags[]":A},function(){var D="";
jQuery("#Wiki"+ucfirst(wikispaces_object)+"Tags ul").empty();
for(var F=0;
F<A.length;
F++){var E=jQuery("<a/>").attr("rel","tag").attr("href","/tag/view/"+encodeURIComponent(A[F])).text(A[F]);
var C=jQuery("<li/>").addClass("Wiki"+ucfirst(wikispaces_object)+"Tag").append(E);
jQuery("#Wiki"+ucfirst(wikispaces_object)+"Tags ul").append(C);
jQuery("#Wiki"+ucfirst(wikispaces_object)+"Tags ul").append(" ")
}})
};
WikispacesCommon.track=function(B,A,D){try{pageTracker._trackEvent(B,A,D)
}catch(C){}};
WikispacesCommon.escapeRegExp=function(A){return A.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")
};
if((typeof WIKISPACES=="undefined")||(null==WIKISPACES)){var WIKISPACES={}
}WIKISPACES.namespace=function(E){var D,F,C;
if(typeof E==="string"){D=[E]
}else{if(E.length!==undefined){D=E
}else{return{}
}}for(var B=0;
B<D.length;
B++){C=D[B].split(".");
F=WIKISPACES;
for(var A=(C[0]=="WIKISPACES")?1:0;
A<C.length;
A++){F[C[A]]=F[C[A]]||{};
F=F[C[A]]
}}return F
};
WIKISPACES.namespace("common");
var Cookie={set:function(C,D,B){var A="";
if(B!=undefined){var E=new Date();
E.setTime(E.getTime()+(86400000*parseFloat(B)));
A="; expires="+E.toGMTString()
}return(document.cookie=escape(C)+"="+escape(D||"")+A)
},get:function(A){var B=document.cookie.match(new RegExp("(^|;)\\s*"+escape(A)+"=([^;\\s]*)"));
return(B?unescape(B[2]):null)
},erase:function(A){var B=Cookie.get(A)||true;
Cookie.set(A,"",-1);
return B
},accept:function(){if(typeof navigator.cookieEnabled=="boolean"){return navigator.cookieEnabled
}Cookie.set("_test","1");
return(Cookie.erase("_test")="1")
}};
function pop(url,w,h){id=Math.floor(Math.random()*10000);
eval("pop_"+id+" = window.open(url, '"+id+"', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=' + w + ',height=' + h);")
}function htod(A){return parseInt(A,16)
}var 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 A=0;
A<arguments.length;
A++){window.console.log(arguments[A])
}}}}function logTimeStart(A){if(jsDebugMode&&window.console){window.console.time(A)
}}function logTimeEnd(A){if(jsDebugMode&&window.console){window.console.timeEnd(A)
}}function dumpObject(B){var A="";
if(B){if(B.nodeType==1){A+="Element Object (tag: "+B.nodeName+")";
if(B.id){A+=" (id: "+B.id+")"
}}else{if(B.nodeType==3){A+="Text Object (length: "+B.data.length+') (data: "'+B.data+'")'
}}return A
}return false
}function highlightIncludeSection(B,D){B.className="includeEditButtonActive";
var C=document.getElementsByClassName("includeBody-"+D);
for(var A=0;
A<C.length;
A++){C[A].className="includeBodyActive includeBody-"+D
}}function unHighlightIncludeSection(B,D){B.className="includeEditButton";
var C=document.getElementsByClassName("includeBody-"+D);
for(var A=0;
A<C.length;
A++){C[A].className="includeBody includeBody-"+D
}}function embed_odeo(A){document.writeln('<embed src="http://odeo.com/flash/audio_player_fullsize.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" quality="high" width="440" height="80" wmode="transparent" allowScriptAccess="any" flashvars="valid_sample_rate=true&external_url='+A+'"></embed>')
}function embed_quicktime(E,C,D,A,F,G,B){if(G!=""){document.writeln('<embed type="'+E+'" style="cursor:hand; cursor:pointer;" href="'+F+'" src="'+G+'" width="'+D+'" height="'+A+'" autoplay="false" target="myself" controller="false" loop="'+B+'" scale="aspect" bgcolor="'+C+'" pluginspage="http://www.apple.com/quicktime/download/"></embed>')
}else{document.writeln('<embed type="'+E+'" style="cursor:hand; cursor:pointer;" src="'+F+'" width="'+D+'" height="'+A+'" autoplay="false" target="myself" controller="true" loop="'+B+'" scale="aspect" bgcolor="'+C+'" pluginspage="http://www.apple.com/quicktime/download/"></embed>')
}}function embed_flash(C,E,A,F,B,D){document.writeln('<embed src="'+F+'" pluginspage="http://www.macromedia.com/go/getflashplayer" type="'+D+'" quality="high" width="'+E+'" height="'+A+'" bgcolor="'+C+'" loop="'+B+'"></embed>')
}function embed_flv(D,A,E,F,B,C){document.writeln('<embed src="'+C+'" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" quality="high" width="'+D+'" height="'+A+'" wmode="transparent" flashvars="file='+E+"&autostart=false&repeat="+B+"&showdigits=true&showfsbutton=false&width="+D+"&height="+A+'"></embed>')
}function embed_wmedia(B,A,C){document.writeln('<embed type="application/x-mplayer2" src="'+C+'" autosize="1" width="'+B+'" height="'+A+'" showcontrols="1" showstatusbar="0" showdisplay="0" autostart="0"></embed>')
}function embed_generic(B,A,C,D){document.writeln('<embed src="'+C+'" type="'+D+'" quality="high" width="'+B+'" height="'+A+'"></embed>')
}function enableDelayedImages(A){jQuery("#"+A+" img").each(function(B){var C=jQuery(this);
if(C){C.attr("src",C.attr("longdesc"));
C.removeAttr("longdesc")
}})
}var sessionReloadAttempt=0;
var sessionReloadHandle=null;
function reloadSessionSuccess(){jQuery("iframe.sessionReloadIframe").remove();
sessionReloadAttempt=0
}function reloadSession(C,A,B){log("reloadSession",C,"attempt "+sessionReloadAttempt);
if(sessionReloadAttempt>4){if(typeof (B)=="function"){B.call(this)
}return 
}else{reloadSessionIframe(C,A)
}}function reloadSessionIframe(D,B){var C=(new Date()).getTime();
var A='<iframe class="sessionReloadIframe" id="sessionReloadIfr'+sessionReloadAttempt+'" src="/space/sessionreload?_='+C+'" name="sessionReloadIfr'+sessionReloadAttempt+'" style="display: none; width:0; height:0; border:0; padding:0; margin:0; visibility: hidden;"></iframe>';
jQuery("body").append(A);
sessionReloadAttempt++;
setTimeout(D,B)
}function reloadSessionAt(C){if(typeof sessionReloadHandle=="number"){clearTimeout(sessionReloadHandle)
}var B=Math.floor((new Date()).getTime()/1000);
var A=C-B;
if(A<1){A=1
}sessionReloadHandle=setTimeout(function(){reloadSessionIframe(function(){reloadSessionSuccess()
},1)
},A*1000)
}function fixEmbedLayers(){var B;
var A;
if(jQuery.browser.mozilla){B=jQuery("embed[type='application/x-shockwave-flash']:not([wmode])");
A=jQuery("object:has(param[name='type'][value='application/x-shockwave-flash']):not(:has(param[name='wmode']))")
}else{B=jQuery("embed:not([wmode])");
A=jQuery("object:not(:has(param[name='wmode']))")
}B.each(function(){this.setAttribute("wmode","Transparent");
jQuery(this).replaceWith(jQuery(this).clone(true))
});
A.each(function(){var C=jQuery(this);
C.prepend('<param name="wmode" value="transparent"/>');
C.replaceWith(C.clone(true))
})
}var preventMenuClose=false;
function showMenu(A){jQuery(".WikiMenu").not(jQuery(A).next()).removeClass("WikiMenuEnabled").addClass("WikiMenuDisabled");
jQuery(A).removeClass("WikiMenuDisabled").addClass("WikiMenuEnabled");
return false
}function hideMenu(A){if(!preventMenuClose){jQuery(A).addClass("WikiMenuDisabled").removeClass("WikiMenuEnabled")
}}function loadMenuHandlers(){jQuery(".WikiMenuControl").live("mouseover",function(A){var B=jQuery(this);
var C=B.nextAll(".WikiMenu:first");
if(C.length==0){C=B.parent().nextAll(".WikiMenu:first")
}if(!B.data("init")){B.data("init",true);
C.hover(function(D){preventMenuClose=true;
return true
},function(D){preventMenuClose=false;
setTimeout(function(){hideMenu(C[0])
},500);
return true
});
B.hoverIntent({sensitivity:3,interval:200,over:function(){showMenu(C[0])
},timeout:500,out:function(){hideMenu(C[0])
}});
B.click(function(){showMenu(C[0])
});
C.find(".WikiMenuEntry").click(function(E){if(jQuery(E.target).children("a").length==1){var D=jQuery(E.target).children("a:first");
if(D.attr("href")&&D.attr("href")!="#"){window.location=D.attr("href")
}else{jQuery(D).trigger("click")
}}preventMenuClose=false;
hideMenu(C[0])
});
B.trigger(A)
}})
}WIKISPACES.common.setInputDefaults=function(B,A,C){if(!B.val()&&A){B.addClass(A)
}if(!C){B.val(B.attr("title"))
}B.focus(function(){if(B.val()==B.attr("title")||(C&&""==B.val())){B.val("");
if(A){B.removeClass(A)
}}});
B.blur(function(){if(B.val()==""){if(A){B.addClass(A)
}if(!C){B.val(B.attr("title"))
}}})
};
function jumpToSpace(){var A=jQuery.trim(jQuery("#jumpToSpaceName").nextAll(".autocompleteData:first").val());
if(A){var B="http://"+A+"."+wikispaces_domain;
document.location.href=B
}else{alert("Please enter a wiki name")
}return false
}function trackFileLink(A){pageTracker._trackPageview(A);
if(typeof pageTrackerInstance=="object"){pageTrackerInstance._trackPageview(A)
}if(typeof pageTrackerSpace=="object"){pageTrackerSpace._trackPageview(A)
}}var spaceNavLoading=false;
var spaceNavLoaded=false;
function showSpaceNavigation(){if(!spaceNavLoading){spaceNavLoading=true;
jQuery.get("/site/spacenav",{},function(A,B){jQuery("body").append(A);
jQuery("#SpaceNavigationTool").hover(function(C){preventSpaceNavigationClose=true
},function(C){preventSpaceNavigationClose=false;
setTimeout(hideSpaceNavigation,500)
});
jQuery("#SpaceNavigationTool").click(function(C){C.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.callBackMap.jumpToSpaceName=jumpToSpace;
WikispacesAutocomplete.initAutocomplete(jQuery("#jumpToSpaceName").get(0));
spaceNavLoaded=true;
showSpaceNavigationReal()
},"html")
}else{if(spaceNavLoaded){showSpaceNavigationReal()
}}}function showSpaceNavigationReal(){enableDelayedImages("SpaceNavigationTool");
jQuery("#SpaceNavigationTool").show();
var A=jQuery("body").width()-jQuery("#SpaceNavigationTool").width();
var B=jQuery("#SpaceNavigationButton").offset()["left"];
if(B>A){B=A
}jQuery("#SpaceNavigationTool").css("left",B)
}var preventSpaceNavigationClose=false;
function hideSpaceNavigation(A){if(!preventSpaceNavigationClose){jQuery("#SpaceNavigationTool").hide()
}}function toggleDetails(B){var A=jQuery("#WikiPageInfo");
if(A.is(":hidden")){Cookie.set("pageInfo",1,365);
A.show();
WikispacesCommon.track("PageMenu","Show Details")
}else{Cookie.erase("pageInfo");
A.hide();
WikispacesCommon.track("PageMenu","Hide Details")
}if(B){B.preventDefault()
}return false
}jQuery(document).ready(function(){jQuery("#detailsMenuEntry").click(toggleDetails);
jQuery("a.userLink").live("click",function(B){var A=jQuery(this);
jQuery(".userMenu").remove();
var C=document.createElement("div");
C.className="userMenu";
document.body.appendChild(C);
var D=A.attr("href").substring(A.attr("href").lastIndexOf("/")+1);
jQuery(C).load("/user/menu/"+D,{},function(){var E=jQuery(this);
E.fadeIn("slow");
E.css("position","absolute");
E.css("left",A.offset().left-3);
E.css("top",A.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(A){A.stopPropagation();
showSpaceNavigation();
return false
});
WikispacesAutocomplete.registerAutocompleters();
jQuery("#Wiki"+ucfirst(wikispaces_object)+"TagsEditLink").click(function(A){jQuery(".Wiki"+ucfirst(wikispaces_object)+"TagForm").find("select.WikiTagInput").get(0).reset();
jQuery("#Wiki"+ucfirst(wikispaces_object)+"Tags").hide().parents("td:first").css("width","500px");
jQuery("#Wiki"+ucfirst(wikispaces_object)+"TagsEdit, #Wiki"+ucfirst(wikispaces_object)+"TagsInput").show().find("input.maininput").focus();
A.preventDefault();
return false
});
jQuery(".Wiki"+ucfirst(wikispaces_object)+"TagForm").submit(function(B){var A=jQuery(this).find("select.WikiTagInput").get(0);
A.addFinalItem();
WikispacesCommon.updateTags(this);
A.updateSelected();
jQuery("#Wiki"+ucfirst(wikispaces_object)+"Tags").show().parents("td:first").css("width","auto");
jQuery("#Wiki"+ucfirst(wikispaces_object)+"TagsEdit, #Wiki"+ucfirst(wikispaces_object)+"TagsInput").hide();
B.preventDefault();
return false
});
jQuery(".Wiki"+ucfirst(wikispaces_object)+"TagFormCancel").click(function(A){jQuery("#Wiki"+ucfirst(wikispaces_object)+"Tags").show().parents("td:first").css("width","auto");
jQuery("#Wiki"+ucfirst(wikispaces_object)+"TagsEdit, #Wiki"+ucfirst(wikispaces_object)+"TagsInput").hide();
A.preventDefault();
return false
});
jQuery("body").click(function(A){hideSpaceNavigation();
jQuery(".userMenu").remove()
});
if(jQuery.browser.msie&&parseInt(jQuery.browser.version)<7){jQuery("button.btn[type=submit]").bind("click",function(A){jQuery(A.target).closest("form").find("button.btn[type=submit]").attr("disabled","disabled");
jQuery(A.target).removeAttr("disabled")
})
}});
function ucfirst(B){B+="";
var A=B.charAt(0).toUpperCase();
return A+B.substr(1)
}jQuery.extend(jQuery.expr[":"],{inView:function(B){var C=(document.documentElement.scrollTop||document.body.scrollTop),D=jQuery(B).offset().top,A=(window.innerHeight&&window.innerHeight<jQuery(window).height())?window.innerHeight:jQuery(window).height();
return D>C&&(jQuery(B).height()+D)<(C+A)
}});
WikispacesCommon.swfUpload=function(A,C){this.requireRefresh=false;
var B=this;
this.showSWFUploadUI=function(){jQuery(".swfuploadUI").show();
jQuery(".defaultUI").hide()
};
this.hideSWFUploadUI=function(){jQuery(".swfuploadUI").hide();
jQuery(".defaultUI").show()
};
this.fileQueued=function(D){jQuery("#WikiUploadFileContainer").show();
jQuery("#WikiUploadFileContainer").append('<div id="'+D.id+'" class="WikiUploadFile"><div class="progressContainer"><div class="progressBar" id="'+D.id+'progress"></div></div>'+D.name+" - <a id='"+D.id+'deletebtn\'  href="#">cancel</a></div>');
jQuery("#"+D.id+"deletebtn").click(function(){B.swfu.cancelUpload(D.id)
});
jQuery("#cancelQueueBtn").attr("disabled",false)
};
this.fileDialogComplete=function(D,E){this.startUpload()
};
this.uploadProgress=function(D,E,F){jQuery("#"+D.id).addClass("fileUploading");
jQuery("#"+D.id+"progress").css("width",Math.ceil(E/F*100)+"%")
};
this.fileQueueError=function(E,D,F){if(D==SWFUpload.QUEUE_ERROR.QUEUE_LIMIT_EXCEEDED){alert("You have attempted to queue too many files.\n"+(F==0?"You have reached the upload limit.":"You may select "+(F>1?"up to "+F+" files.":"one file.")));
return 
}if(jQuery("#"+E.id).length){alertMethod=function(G){jQuery("#"+E.id).text(G)
};
jQuery("#"+E.id).removeClass("fileUploading").addClass("uploadError")
}else{alertMethod=function(G){alert(G)
}
}switch(D){case SWFUpload.QUEUE_ERROR.FILE_EXCEEDS_SIZE_LIMIT:alertMethod(E.name+" - this file is too large.  Please see the size limits listed on this page.");
break;
case SWFUpload.QUEUE_ERROR.ZERO_BYTE_FILE:alertMethod(E.name+" - this file is 0 bytes, we're unable to upload it.");
break;
default:alertMethod(E.name+" - error during upload, please try again. ("+D+": "+F+")");
break
}};
this.uploadError=function(E,D,F){if(jQuery("#"+E.id).length){alertMethod=function(G){jQuery("#"+E.id).text(G)
};
jQuery("#"+E.id).removeClass("fileUploading").addClass("uploadError")
}else{alertMethod=function(G){alert(G)
}
}switch(D){case SWFUpload.UPLOAD_ERROR.HTTP_ERROR:alertMethod(E.name+" - error during upload, please try again. (HTTP Error)");
break;
case SWFUpload.UPLOAD_ERROR.UPLOAD_FAILED:alertMethod(E.name+" - error during upload, please try again. (Failed Upload)");
break;
case SWFUpload.UPLOAD_ERROR.IO_ERROR:alertMethod(E.name+" - error during upload, please try again. (IO Error)");
break;
case SWFUpload.UPLOAD_ERROR.SECURITY_ERROR:alertMethod(E.name+" - error during upload, please try again. (Security Error)");
break;
case SWFUpload.UPLOAD_ERROR.UPLOAD_LIMIT_EXCEEDED:alertMethod(E.name+" - you've run out of space.  Please see the size limits listed on this page.");
break;
case SWFUpload.UPLOAD_ERROR.FILE_CANCELLED:jQuery("#"+E.id).text(E.name+" - cancelled").removeClass("fileUploading").addClass("uploadCancelled");
default:alertMethod(E.name+" - error during upload, please try again. ("+D+": "+F+")");
break
}};
this.uploadFileComplete=function(D){jQuery("#"+D.id+".fileUploading").text(D.name+" - done!").removeClass("fileUploading").addClass("uploadCompleted");
this.requireRefresh=true;
return true
};
this.cancelQueue=function(){this.swfu.cancelQueue();
jQuery("#cancelQueueBtn").attr("disabled",true);
if(this.requireRefresh){jQuery("#uploadFileBtn").attr("disabled",true);
document.location=this.customSettings.confirmUploadUrl
}};
this.uploadQueueComplete=function(D){jQuery("#cancelQueueBtn").attr("disabled",true);
if(this.requireRefresh){jQuery("#uploadFileBtn").attr("disabled",true);
document.location=this.customSettings.confirmUploadUrl
}};
this.uploadStart=function(){this.refreshCookies(false)
};
this.swfu=new SWFUpload({upload_url:A,flash_url:"/s/swfupload-2.2.0.1.swf",file_size_limit:C,file_types:"*.*;*",file_types_description:"All files...",file_upload_limit:"50",file_queue_limit:"0",button_image_url:"/i/button-120-swfupload.gif",button_placeholder_id:"uploadFileBtn",button_width:"120",button_height:"30",button_text_style:".WikispacesButtonSwfUpload { display: block; margin: 1px auto; font-family: sans-serif; font-size: 14px; text-align: center; text-decoration: none; color: #000; }",button_text:'<span class="WikispacesButtonSwfUpload">Upload</span>',button_text_left_padding:0,button_text_top_padding:5,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})
};