(function(){var S=this,Ac,E=S.jQuery,G=S.$,V=S.jQuery=S.$=function(A,B){return new V.fn.init(A,B)
},Ag=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,Ab=/^.[^:#\[\.,]*$/;V.fn=V.prototype={init:function(D,B){D=D||document;
if(D.nodeType){this[0]=D;this.length=1;this.context=D;return this}if(typeof D==="string"){var A=Ag.exec(D);
if(A&&(A[1]||!B)){if(A[1]){D=V.clean([A[1]],B)}else{var C=document.getElementById(A[3]);
if(C&&C.id!=A[3]){return V().find(D)}var a=V(C||[]);a.context=document;a.selector=D;
return a}}else{return V(B).find(D)}}else{if(V.isFunction(D)){return V(document).ready(D)
}}if(D.selector&&D.context){this.selector=D.selector;this.context=D.context}return this.setArray(V.isArray(D)?D:V.makeArray(D))
},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(A){return A===Ac?Array.prototype.slice.call(this):this[A]
},pushStack:function(D,B,C){var A=V(D);A.prevObject=this;A.context=this.context;if(B==="find"){A.selector=this.selector+(this.selector?" ":"")+C
}else{if(B){A.selector=this.selector+"."+B+"("+C+")"}}return A},setArray:function(A){this.length=0;
Array.prototype.push.apply(this,A);return this},each:function(B,A){return V.each(this,B,A)
},index:function(A){return V.inArray(A&&A.jquery?A[0]:A,this)},attr:function(D,B,A){var C=D;
if(typeof D==="string"){if(B===Ac){return this[0]&&V[A||"attr"](this[0],D)}else{C={};
C[D]=B}}return this.each(function(a){for(D in C){V.attr(A?this.style:this,D,V.prop(this,C[D],A,a,D))
}})},css:function(A,B){if((A=="width"||A=="height")&&parseFloat(B)<0){B=Ac}return this.attr(A,B,"curCSS")
},text:function(B){if(typeof B!=="object"&&B!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(B))
}var A="";V.each(B||this,function(){V.each(this.childNodes,function(){if(this.nodeType!=8){A+=this.nodeType!=1?this.nodeValue:V.fn.text([this])
}})});return A},wrapAll:function(A){if(this[0]){var B=V(A,this[0].ownerDocument).clone();
if(this[0].parentNode){B.insertBefore(this[0])}B.map(function(){var C=this;while(C.firstChild){C=C.firstChild
}return C}).append(this)}return this},wrapInner:function(A){return this.each(function(){V(this).contents().wrapAll(A)
})},wrap:function(A){return this.each(function(){V(this).wrapAll(A)})},append:function(){return this.domManip(arguments,true,function(A){if(this.nodeType==1){this.appendChild(A)
}})},prepend:function(){return this.domManip(arguments,true,function(A){if(this.nodeType==1){this.insertBefore(A,this.firstChild)
}})},before:function(){return this.domManip(arguments,false,function(A){this.parentNode.insertBefore(A,this)
})},after:function(){return this.domManip(arguments,false,function(A){this.parentNode.insertBefore(A,this.nextSibling)
})},end:function(){return this.prevObject||V([])},push:[].push,sort:[].sort,splice:[].splice,find:function(A){if(this.length===1){var B=this.pushStack([],"find",A);
B.length=0;V.find(A,this[0],B);return B}else{return this.pushStack(V.unique(V.map(this,function(C){return V.find(A,C)
})),"find",A)}},clone:function(A){var C=this.map(function(){if(!V.support.noCloneEvent&&!V.isXMLDoc(this)){var a=this.outerHTML;
if(!a){var b=this.ownerDocument.createElement("div");b.appendChild(this.cloneNode(true));
a=b.innerHTML}return V.clean([a.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]
}else{return this.cloneNode(true)}});if(A===true){var B=this.find("*").andSelf(),D=0;
C.find("*").andSelf().each(function(){if(this.nodeName!==B[D].nodeName){return}var a=V.data(B[D],"events");
for(var c in a){for(var b in a[c]){V.event.add(this,c,a[c][b],a[c][b].data)}}D++})
}return C},filter:function(A){return this.pushStack(V.isFunction(A)&&V.grep(this,function(B,C){return A.call(B,C)
})||V.multiFilter(A,V.grep(this,function(B){return B.nodeType===1})),"filter",A)},closest:function(B){var A=V.expr.match.POS.test(B)?V(B):null,C=0;
return this.map(function(){var D=this;while(D&&D.ownerDocument){if(A?A.index(D)>-1:V(D).is(B)){V.data(D,"closest",C);
return D}D=D.parentNode;C++}})},not:function(A){if(typeof A==="string"){if(Ab.test(A)){return this.pushStack(V.multiFilter(A,this,true),"not",A)
}else{A=V.multiFilter(A,this)}}var B=A.length&&A[A.length-1]!==Ac&&!A.nodeType;return this.filter(function(){return B?V.inArray(this,A)<0:this!=A
})},add:function(A){return this.pushStack(V.unique(V.merge(this.get(),typeof A==="string"?V(A):V.makeArray(A))))
},is:function(A){return !!A&&V.multiFilter(A,this).length>0},hasClass:function(A){return !!A&&this.is("."+A)
},val:function(c){if(c===Ac){var A=this[0];if(A){if(V.nodeName(A,"option")){return(A.attributes.value||{}).specified?A.value:A.text
}if(V.nodeName(A,"select")){var a=A.selectedIndex,d=[],e=A.options,D=A.type=="select-one";
if(a<0){return null}for(var B=D?a:0,b=D?a+1:e.length;B<b;B++){var C=e[B];if(C.selected){c=V(C).val();
if(D){return c}d.push(c)}}return d}return(A.value||"").replace(/\r/g,"")}return Ac
}if(typeof c==="number"){c+=""}return this.each(function(){if(this.nodeType!=1){return
}if(V.isArray(c)&&/radio|checkbox/.test(this.type)){this.checked=(V.inArray(this.value,c)>=0||V.inArray(this.name,c)>=0)
}else{if(V.nodeName(this,"select")){var f=V.makeArray(c);V("option",this).each(function(){this.selected=(V.inArray(this.value,f)>=0||V.inArray(this.text,f)>=0)
});if(!f.length){this.selectedIndex=-1}}else{this.value=c}}})},html:function(A){return A===Ac?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(A)
},replaceWith:function(A){return this.after(A).remove()},eq:function(A){return this.slice(A,+A+1)
},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))
},map:function(A){return this.pushStack(V.map(this,function(B,C){return A.call(B,C,B)
}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(b,e,d){if(this[0]){var a=(this[0].ownerDocument||this[0]).createDocumentFragment(),B=V.clean(b,(this[0].ownerDocument||this[0]),a),D=a.firstChild;
if(D){for(var C=0,A=this.length;C<A;C++){d.call(c(this[C],D),this.length>1||C>0?a.cloneNode(true):a)
}}if(B){V.each(B,F)}}return this;function c(f,g){return e&&V.nodeName(f,"table")&&V.nodeName(g,"tr")?(f.getElementsByTagName("tbody")[0]||f.appendChild(f.ownerDocument.createElement("tbody"))):f
}}};V.fn.init.prototype=V.fn;function F(A,B){if(B.src){V.ajax({url:B.src,async:false,dataType:"script"})
}else{V.globalEval(B.text||B.textContent||B.innerHTML||"")}if(B.parentNode){B.parentNode.removeChild(B)
}}function Aa(){return +new Date}V.extend=V.fn.extend=function(){var b=arguments[0]||{},D=1,a=arguments.length,A=false,C;
if(typeof b==="boolean"){A=b;b=arguments[1]||{};D=2}if(typeof b!=="object"&&!V.isFunction(b)){b={}
}if(a==D){b=this;--D}for(;D<a;D++){if((C=arguments[D])!=null){for(var B in C){var c=b[B],d=C[B];
if(b===d){continue}if(A&&d&&typeof d==="object"&&!d.nodeType){b[B]=V.extend(A,c||(d.length!=null?[]:{}),d)
}else{if(d!==Ac){b[B]=d}}}}}return b};var X=/z-?index|font-?weight|opacity|zoom|line-?height/i,H=document.defaultView||{},J=Object.prototype.toString;
V.extend({noConflict:function(A){S.$=G;if(A){S.jQuery=E}return V},isFunction:function(A){return J.call(A)==="[object Function]"
},isArray:function(A){return J.call(A)==="[object Array]"},isXMLDoc:function(A){return A.nodeType===9&&A.documentElement.nodeName!=="HTML"||!!A.ownerDocument&&V.isXMLDoc(A.ownerDocument)
},globalEval:function(A){if(A&&/\S/.test(A)){var C=document.getElementsByTagName("head")[0]||document.documentElement,B=document.createElement("script");
B.type="text/javascript";if(V.support.scriptEval){B.appendChild(document.createTextNode(A))
}else{B.text=A}C.insertBefore(B,C.firstChild);C.removeChild(B)}},nodeName:function(B,A){return B.nodeName&&B.nodeName.toUpperCase()==A.toUpperCase()
},each:function(A,c,C){var b,D=0,a=A.length;if(C){if(a===Ac){for(b in A){if(c.apply(A[b],C)===false){break
}}}else{for(;D<a;){if(c.apply(A[D++],C)===false){break}}}}else{if(a===Ac){for(b in A){if(c.call(A[b],b,A[b])===false){break
}}}else{for(var B=A[0];D<a&&c.call(B,D,B)!==false;B=A[++D]){}}}return A},prop:function(B,C,A,a,D){if(V.isFunction(C)){C=C.call(B,a)
}return typeof C==="number"&&A=="curCSS"&&!X.test(D)?C+"px":C},className:{add:function(A,B){V.each((B||"").split(/\s+/),function(C,D){if(A.nodeType==1&&!V.className.has(A.className,D)){A.className+=(A.className?" ":"")+D
}})},remove:function(A,B){if(A.nodeType==1){A.className=B!==Ac?V.grep(A.className.split(/\s+/),function(C){return !V.className.has(B,C)
}).join(" "):""}},has:function(B,A){return B&&V.inArray(A,(B.className||B).toString().split(/\s+/))>-1
}},swap:function(B,A,C){var D={};for(var a in A){D[a]=B.style[a];B.style[a]=A[a]}C.call(B);
for(var a in A){B.style[a]=D[a]}},css:function(D,B,b,A){if(B=="width"||B=="height"){var d,C={position:"absolute",visibility:"hidden",display:"block"},c=B=="width"?["Left","Right"]:["Top","Bottom"];
function a(){d=B=="width"?D.offsetWidth:D.offsetHeight;if(A==="border"){return}V.each(c,function(){if(!A){d-=parseFloat(V.curCSS(D,"padding"+this,true))||0
}if(A==="margin"){d+=parseFloat(V.curCSS(D,"margin"+this,true))||0}else{d-=parseFloat(V.curCSS(D,"border"+this+"Width",true))||0
}})}if(D.offsetWidth!==0){a()}else{V.swap(D,C,a)}return Math.max(0,Math.round(d))
}return V.curCSS(D,B,b)},curCSS:function(a,B,C){var d,A=a.style;if(B=="opacity"&&!V.support.opacity){d=V.attr(A,"opacity");
return d==""?"1":d}if(B.match(/float/i)){B=N}if(!C&&A&&A[B]){d=A[B]}else{if(H.getComputedStyle){if(B.match(/float/i)){B="float"
}B=B.replace(/([A-Z])/g,"-$1").toLowerCase();var e=H.getComputedStyle(a,null);if(e){d=e.getPropertyValue(B)
}if(B=="opacity"&&d==""){d="1"}}else{if(a.currentStyle){var b=B.replace(/\-(\w)/g,function(f,g){return g.toUpperCase()
});d=a.currentStyle[B]||a.currentStyle[b];if(!/^\d+(px)?$/i.test(d)&&/^\d/.test(d)){var D=A.left,c=a.runtimeStyle.left;
a.runtimeStyle.left=a.currentStyle.left;A.left=d||0;d=A.pixelLeft+"px";A.left=D;a.runtimeStyle.left=c
}}}}return d},clean:function(B,c,a){c=c||document;if(typeof c.createElement==="undefined"){c=c.ownerDocument||c[0]&&c[0].ownerDocument||document
}if(!a&&B.length===1&&typeof B[0]==="string"){var D=/^<(\w+)\s*\/?>$/.exec(B[0]);
if(D){return[c.createElement(D[1])]}}var C=[],A=[],d=c.createElement("div");V.each(B,function(l,g){if(typeof g==="number"){g+=""
}if(!g){return}if(typeof g==="string"){g=g.replace(/(<(\w+)[^>]*?)\/>/g,function(n,o,m){return m.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?n:o+"></"+m+">"
});var h=g.replace(/^\s+/,"").substring(0,10).toLowerCase();var e=!h.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!h.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||h.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!h.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!h.indexOf("<td")||!h.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!h.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!V.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];
d.innerHTML=e[1]+g+e[2];while(e[0]--){d=d.lastChild}if(!V.support.tbody){var f=/<tbody/i.test(g),k=!h.indexOf("<table")&&!f?d.firstChild&&d.firstChild.childNodes:e[1]=="<table>"&&!f?d.childNodes:[];
for(var j=k.length-1;j>=0;--j){if(V.nodeName(k[j],"tbody")&&!k[j].childNodes.length){k[j].parentNode.removeChild(k[j])
}}}if(!V.support.leadingWhitespace&&/^\s/.test(g)){d.insertBefore(c.createTextNode(g.match(/^\s*/)[0]),d.firstChild)
}g=V.makeArray(d.childNodes)}if(g.nodeType){C.push(g)}else{C=V.merge(C,g)}});if(a){for(var b=0;
C[b];b++){if(V.nodeName(C[b],"script")&&(!C[b].type||C[b].type.toLowerCase()==="text/javascript")){A.push(C[b].parentNode?C[b].parentNode.removeChild(C[b]):C[b])
}else{if(C[b].nodeType===1){C.splice.apply(C,[b+1,0].concat(V.makeArray(C[b].getElementsByTagName("script"))))
}a.appendChild(C[b])}}return A}return C},attr:function(b,C,c){if(!b||b.nodeType==3||b.nodeType==8){return Ac
}var D=!V.isXMLDoc(b),d=c!==Ac;C=D&&V.props[C]||C;if(b.tagName){var B=/href|src|style/.test(C);
if(C=="selected"&&b.parentNode){b.parentNode.selectedIndex}if(C in b&&D&&!B){if(d){if(C=="type"&&V.nodeName(b,"input")&&b.parentNode){throw"type property can't be changed"
}b[C]=c}if(V.nodeName(b,"form")&&b.getAttributeNode(C)){return b.getAttributeNode(C).nodeValue
}if(C=="tabIndex"){var a=b.getAttributeNode("tabIndex");return a&&a.specified?a.value:b.nodeName.match(/(button|input|object|select|textarea)/i)?0:b.nodeName.match(/^(a|area)$/i)&&b.href?0:Ac
}return b[C]}if(!V.support.style&&D&&C=="style"){return V.attr(b.style,"cssText",c)
}if(d){b.setAttribute(C,""+c)}var A=!V.support.hrefNormalized&&D&&B?b.getAttribute(C,2):b.getAttribute(C);
return A===null?Ac:A}if(!V.support.opacity&&C=="opacity"){if(d){b.zoom=1;b.filter=(b.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(c)+""=="NaN"?"":"alpha(opacity="+c*100+")")
}return b.filter&&b.filter.indexOf("opacity=")>=0?(parseFloat(b.filter.match(/opacity=([^)]*)/)[1])/100)+"":""
}C=C.replace(/-([a-z])/ig,function(e,f){return f.toUpperCase()});if(d){b[C]=c}return b[C]
},trim:function(A){return(A||"").replace(/^\s+|\s+$/g,"")},makeArray:function(A){var B=[];
if(A!=null){var C=A.length;if(C==null||typeof A==="string"||V.isFunction(A)||A.setInterval){B[0]=A
}else{while(C){B[--C]=A[C]}}}return B},inArray:function(A,B){for(var C=0,D=B.length;
C<D;C++){if(B[C]===A){return C}}return -1},merge:function(B,D){var a=0,A,C=B.length;
if(!V.support.getAll){while((A=D[a++])!=null){if(A.nodeType!=8){B[C++]=A}}}else{while((A=D[a++])!=null){B[C++]=A
}}return B},unique:function(c){var C=[],b={};try{for(var A=0,D=c.length;A<D;A++){var B=V.data(c[A]);
if(!b[B]){b[B]=true;C.push(c[A])}}}catch(a){C=c}return C},grep:function(b,a,B){var A=[];
for(var C=0,D=b.length;C<D;C++){if(!B!=!a(b[C],C)){A.push(b[C])}}return A},map:function(a,B){var b=[];
for(var A=0,C=a.length;A<C;A++){var D=B(a[A],A);if(D!=null){b[b.length]=D}}return b.concat.apply([],b)
}});var Af=navigator.userAgent.toLowerCase();V.browser={version:(Af.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(Af),opera:/opera/.test(Af),msie:/msie/.test(Af)&&!/opera/.test(Af),mozilla:/mozilla/.test(Af)&&!/(compatible|webkit)/.test(Af)};
V.each({parent:function(A){return A.parentNode},parents:function(A){return V.dir(A,"parentNode")
},next:function(A){return V.nth(A,2,"nextSibling")},prev:function(A){return V.nth(A,2,"previousSibling")
},nextAll:function(A){return V.dir(A,"nextSibling")},prevAll:function(A){return V.dir(A,"previousSibling")
},siblings:function(A){return V.sibling(A.parentNode.firstChild,A)},children:function(A){return V.sibling(A.firstChild)
},contents:function(A){return V.nodeName(A,"iframe")?A.contentDocument||A.contentWindow.document:V.makeArray(A.childNodes)
}},function(A,B){V.fn[A]=function(C){var D=V.map(this,B);if(C&&typeof C=="string"){D=V.multiFilter(C,D)
}return this.pushStack(V.unique(D),A,C)}});V.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(A,B){V.fn[A]=function(C){var c=[],D=V(C);
for(var d=0,a=D.length;d<a;d++){var b=(d>0?this.clone(true):this).get();V.fn[B].apply(V(D[d]),b);
c=c.concat(b)}return this.pushStack(c,A,C)}});V.each({removeAttr:function(A){V.attr(this,A,"");
if(this.nodeType==1){this.removeAttribute(A)}},addClass:function(A){V.className.add(this,A)
},removeClass:function(A){V.className.remove(this,A)},toggleClass:function(B,A){if(typeof A!=="boolean"){A=!V.className.has(this,B)
}V.className[A?"add":"remove"](this,B)},remove:function(A){if(!A||V.filter(A,[this]).length){V("*",this).add([this]).each(function(){V.event.remove(this);
V.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){V(this).children().remove();
while(this.firstChild){this.removeChild(this.firstChild)}}},function(A,B){V.fn[A]=function(){return this.each(B,arguments)
}});function Q(A,B){return A[0]&&parseInt(V.curCSS(A[0],B,true),10)||0}var O="jQuery"+Aa(),M=0,Ad={};
V.extend({cache:{},data:function(D,C,A){D=D==S?Ad:D;var B=D[O];if(!B){B=D[O]=++M}if(C&&!V.cache[B]){V.cache[B]={}
}if(A!==Ac){V.cache[B][C]=A}return C?V.cache[B][C]:B},removeData:function(D,C){D=D==S?Ad:D;
var B=D[O];if(C){if(V.cache[B]){delete V.cache[B][C];C="";for(C in V.cache[B]){break
}if(!C){V.removeData(D)}}}else{try{delete D[O]}catch(A){if(D.removeAttribute){D.removeAttribute(O)
}}delete V.cache[B]}},queue:function(D,C,B){if(D){C=(C||"fx")+"queue";var A=V.data(D,C);
if(!A||V.isArray(B)){A=V.data(D,C,V.makeArray(B))}else{if(B){A.push(B)}}}return A
},dequeue:function(B,A){var C=V.queue(B,A),D=C.shift();if(!A||A==="fx"){D=C[0]}if(D!==Ac){D.call(B)
}}});V.fn.extend({data:function(C,A){var B=C.split(".");B[1]=B[1]?"."+B[1]:"";if(A===Ac){var D=this.triggerHandler("getData"+B[1]+"!",[B[0]]);
if(D===Ac&&this.length){D=V.data(this[0],C)}return D===Ac&&B[1]?this.data(B[0]):D
}else{return this.trigger("setData"+B[1]+"!",[B[0],A]).each(function(){V.data(this,C,A)
})}},removeData:function(A){return this.each(function(){V.removeData(this,A)})},queue:function(A,B){if(typeof A!=="string"){B=A;
A="fx"}if(B===Ac){return V.queue(this[0],A)}return this.each(function(){var C=V.queue(this,A,B);
if(A=="fx"&&C.length==1){C[0].call(this)}})},dequeue:function(A){return this.each(function(){V.dequeue(this,A)
})}});(function(){var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,g=0,c=Object.prototype.toString;
var B=function(Ai,r,v,m){v=v||[];r=r||document;if(r.nodeType!==1&&r.nodeType!==9){return[]
}if(!Ai||typeof Ai!=="string"){return v}var Aj=[],t,o,n,q,w,s,z=true;a.lastIndex=0;
while((t=a.exec(Ai))!==null){Aj.push(t[1]);if(t[2]){s=RegExp.rightContext;break}}if(Aj.length>1&&h.exec(Ai)){if(Aj.length===2&&d.relative[Aj[0]]){o=e(Aj[0]+Aj[1],r)
}else{o=d.relative[Aj[0]]?[r]:B(Aj.shift(),r);while(Aj.length){Ai=Aj.shift();if(d.relative[Ai]){Ai+=Aj.shift()
}o=e(Ai,o)}}}else{var y=m?{expr:Aj.pop(),set:A(m)}:B.find(Aj.pop(),Aj.length===1&&r.parentNode?r.parentNode:r,D(r));
o=B.filter(y.expr,y.set);if(Aj.length>0){n=A(o)}else{z=false}while(Aj.length){var x=Aj.pop(),u=x;
if(!d.relative[x]){x=""}else{u=Aj.pop()}if(u==null){u=r}d.relative[x](n,u,D(r))}}if(!n){n=o
}if(!n){throw"Syntax error, unrecognized expression: "+(x||Ai)}if(c.call(n)==="[object Array]"){if(!z){v.push.apply(v,n)
}else{if(r.nodeType===1){for(var p=0;n[p]!=null;p++){if(n[p]&&(n[p]===true||n[p].nodeType===1&&f(r,n[p]))){v.push(o[p])
}}}else{for(var p=0;n[p]!=null;p++){if(n[p]&&n[p].nodeType===1){v.push(o[p])}}}}}else{A(n,v)
}if(s){B(s,r,v,m);if(C){hasDuplicate=false;v.sort(C);if(hasDuplicate){for(var p=1;
p<v.length;p++){if(v[p]===v[p-1]){v.splice(p--,1)}}}}}return v};B.matches=function(m,n){return B(m,null,null,n)
};B.find=function(m,n,r){var u,s;if(!m){return[]}for(var q=0,p=d.order.length;q<p;
q++){var t=d.order[q],s;if((s=d.match[t].exec(m))){var o=RegExp.leftContext;if(o.substr(o.length-1)!=="\\"){s[1]=(s[1]||"").replace(/\\/g,"");
u=d.find[t](s,n,r);if(u!=null){m=m.replace(d.match[t],"");break}}}}if(!u){u=n.getElementsByTagName("*")
}return{set:u,expr:m}};B.filter=function(r,m,v,u){var t=r,n=[],q=m,Ai,y,Aj=m&&m[0]&&D(m[0]);
while(r&&m.length){for(var w in d.filter){if((Ai=d.match[w].exec(r))!=null){var s=d.filter[w],x,p;
y=false;if(q==n){n=[]}if(d.preFilter[w]){Ai=d.preFilter[w](Ai,q,v,n,u,Aj);if(!Ai){y=x=true
}else{if(Ai===true){continue}}}if(Ai){for(var z=0;(p=q[z])!=null;z++){if(p){x=s(p,Ai,z,q);
var o=u^!!x;if(v&&x!=null){if(o){y=true}else{q[z]=false}}else{if(o){n.push(p);y=true
}}}}}if(x!==Ac){if(!v){q=n}r=r.replace(d.match[w],"");if(!y){return[]}break}}}if(r==t){if(y==null){throw"Syntax error, unrecognized expression: "+r
}else{break}}t=r}return q};var d=B.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(m){return m.getAttribute("href")
}},relative:{"+":function(m,n,u){var s=typeof n==="string",r=s&&!/\W/.test(n),t=s&&!r;
if(r&&!u){n=n.toUpperCase()}for(var q=0,p=m.length,o;q<p;q++){if((o=m[q])){while((o=o.previousSibling)&&o.nodeType!==1){}m[q]=t||o&&o.nodeName===n?o||false:o===n
}}if(t){B.filter(n,m,true)}},">":function(t,o,m){var r=typeof o==="string";if(r&&!/\W/.test(o)){o=m?o:o.toUpperCase();
for(var p=0,n=t.length;p<n;p++){var s=t[p];if(s){var q=s.parentNode;t[p]=q.nodeName===o?q:false
}}}else{for(var p=0,n=t.length;p<n;p++){var s=t[p];if(s){t[p]=r?s.parentNode:s.parentNode===o
}}if(r){B.filter(o,t,true)}}},"":function(q,o,n){var p=g++,r=b;if(!o.match(/\W/)){var m=o=n?o:o.toUpperCase();
r=l}r("parentNode",o,p,q,m,n)},"~":function(q,o,n){var p=g++,r=b;if(typeof o==="string"&&!o.match(/\W/)){var m=o=n?o:o.toUpperCase();
r=l}r("previousSibling",o,p,q,m,n)}},find:{ID:function(n,o,p){if(typeof o.getElementById!=="undefined"&&!p){var m=o.getElementById(n[1]);
return m?[m]:[]}},NAME:function(p,n,o){if(typeof n.getElementsByName!=="undefined"){var s=[],m=n.getElementsByName(p[1]);
for(var q=0,r=m.length;q<r;q++){if(m[q].getAttribute("name")===p[1]){s.push(m[q])
}}return s.length===0?null:s}},TAG:function(m,n){return n.getElementsByTagName(m[1])
}},preFilter:{CLASS:function(q,o,p,n,t,m){q=" "+q[1].replace(/\\/g,"")+" ";if(m){return q
}for(var r=0,s;(s=o[r])!=null;r++){if(s){if(t^(s.className&&(" "+s.className+" ").indexOf(q)>=0)){if(!p){n.push(s)
}}else{if(p){o[r]=false}}}}return false},ID:function(m){return m[1].replace(/\\/g,"")
},TAG:function(n,m){for(var o=0;m[o]===false;o++){}return m[o]&&D(m[o])?n[1]:n[1].toUpperCase()
},CHILD:function(m){if(m[1]=="nth"){var n=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(m[2]=="even"&&"2n"||m[2]=="odd"&&"2n+1"||!/\D/.test(m[2])&&"0n+"+m[2]||m[2]);
m[2]=(n[1]+(n[2]||1))-0;m[3]=n[3]-0}m[0]=g++;return m},ATTR:function(m,o,p,n,r,s){var q=m[1].replace(/\\/g,"");
if(!s&&d.attrMap[q]){m[1]=d.attrMap[q]}if(m[2]==="~="){m[4]=" "+m[4]+" "}return m
},PSEUDO:function(m,o,p,n,r){if(m[1]==="not"){if(m[3].match(a).length>1||/^\w/.test(m[3])){m[3]=B(m[3],null,null,o)
}else{var q=B.filter(m[3],o,p,true^r);if(!p){n.push.apply(n,q)}return false}}else{if(d.match.POS.test(m[0])||d.match.CHILD.test(m[0])){return true
}}return m},POS:function(m){m.unshift(true);return m}},filters:{enabled:function(m){return m.disabled===false&&m.type!=="hidden"
},disabled:function(m){return m.disabled===true},checked:function(m){return m.checked===true
},selected:function(m){m.parentNode.selectedIndex;return m.selected===true},parent:function(m){return !!m.firstChild
},empty:function(m){return !m.firstChild},has:function(o,n,m){return !!B(m[3],o).length
},header:function(m){return/h\d/i.test(m.nodeName)},text:function(m){return"text"===m.type
},radio:function(m){return"radio"===m.type},checkbox:function(m){return"checkbox"===m.type
},file:function(m){return"file"===m.type},password:function(m){return"password"===m.type
},submit:function(m){return"submit"===m.type},image:function(m){return"image"===m.type
},reset:function(m){return"reset"===m.type},button:function(m){return"button"===m.type||m.nodeName.toUpperCase()==="BUTTON"
},input:function(m){return/input|select|textarea|button/i.test(m.nodeName)}},setFilters:{first:function(n,m){return m===0
},last:function(o,n,m,p){return n===p.length-1},even:function(n,m){return m%2===0
},odd:function(n,m){return m%2===1},lt:function(o,n,m){return n<m[3]-0},gt:function(o,n,m){return n>m[3]-0
},nth:function(o,n,m){return m[3]-0==n},eq:function(o,n,m){return m[3]-0==n}},filter:{PSEUDO:function(t,p,q,m){var o=p[1],r=d.filters[o];
if(r){return r(t,q,p,m)}else{if(o==="contains"){return(t.textContent||t.innerText||"").indexOf(p[3])>=0
}else{if(o==="not"){var s=p[3];for(var q=0,n=s.length;q<n;q++){if(s[q]===t){return false
}}return true}}}},CHILD:function(o,r){var v=r[1],p=o;switch(v){case"only":case"first":while(p=p.previousSibling){if(p.nodeType===1){return false
}}if(v=="first"){return true}p=o;case"last":while(p=p.nextSibling){if(p.nodeType===1){return false
}}return true;case"nth":var q=r[2],m=r[3];if(q==1&&m==0){return true}var u=r[0],s=o.parentNode;
if(s&&(s.sizcache!==u||!o.nodeIndex)){var t=0;for(p=s.firstChild;p;p=p.nextSibling){if(p.nodeType===1){p.nodeIndex=++t
}}s.sizcache=u}var n=o.nodeIndex-m;if(q==0){return n==0}else{return(n%q==0&&n/q>=0)
}}},ID:function(n,m){return n.nodeType===1&&n.getAttribute("id")===m},TAG:function(n,m){return(m==="*"&&n.nodeType===1)||n.nodeName===m
},CLASS:function(n,m){return(" "+(n.className||n.getAttribute("class"))+" ").indexOf(m)>-1
},ATTR:function(n,q){var p=q[1],r=d.attrHandle[p]?d.attrHandle[p](n):n[p]!=null?n[p]:n.getAttribute(p),o=r+"",m=q[2],s=q[4];
return r==null?m==="!=":m==="="?o===s:m==="*="?o.indexOf(s)>=0:m==="~="?(" "+o+" ").indexOf(s)>=0:!s?o&&r!==false:m==="!="?o!=s:m==="^="?o.indexOf(s)===0:m==="$="?o.substr(o.length-s.length)===s:m==="|="?o===s||o.substr(0,s.length+1)===s+"-":false
},POS:function(m,o,p,n){var r=o[2],q=d.setFilters[r];if(q){return q(m,p,o,n)}}}};
var h=d.match.POS;for(var k in d.match){d.match[k]=RegExp(d.match[k].source+/(?![^\[]*\])(?![^\(]*\))/.source)
}var A=function(n,m){n=Array.prototype.slice.call(n);if(m){m.push.apply(m,n);return m
}return n};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(j){A=function(m,q){var o=q||[];
if(c.call(m)==="[object Array]"){Array.prototype.push.apply(o,m)}else{if(typeof m.length==="number"){for(var p=0,n=m.length;
p<n;p++){o.push(m[p])}}else{for(var p=0;m[p];p++){o.push(m[p])}}}return o}}var C;
if(document.documentElement.compareDocumentPosition){C=function(n,m){var o=n.compareDocumentPosition(m)&4?-1:n===m?0:1;
if(o===0){hasDuplicate=true}return o}}else{if("sourceIndex" in document.documentElement){C=function(n,m){var o=n.sourceIndex-m.sourceIndex;
if(o===0){hasDuplicate=true}return o}}else{if(document.createRange){C=function(q,o){var p=q.ownerDocument.createRange(),n=o.ownerDocument.createRange();
p.selectNode(q);p.collapse(true);n.selectNode(o);n.collapse(true);var m=p.compareBoundaryPoints(Range.START_TO_END,n);
if(m===0){hasDuplicate=true}return m}}}}(function(){var n=document.createElement("form"),o="script"+(new Date).getTime();
n.innerHTML="<input name='"+o+"'/>";var m=document.documentElement;m.insertBefore(n,m.firstChild);
if(!!document.getElementById(o)){d.find.ID=function(p,q,r){if(typeof q.getElementById!=="undefined"&&!r){var s=q.getElementById(p[1]);
return s?s.id===p[1]||typeof s.getAttributeNode!=="undefined"&&s.getAttributeNode("id").nodeValue===p[1]?[s]:Ac:[]
}};d.filter.ID=function(q,r){var p=typeof q.getAttributeNode!=="undefined"&&q.getAttributeNode("id");
return q.nodeType===1&&p&&p.nodeValue===r}}m.removeChild(n)})();(function(){var m=document.createElement("div");
m.appendChild(document.createComment(""));if(m.getElementsByTagName("*").length>0){d.find.TAG=function(p,o){var n=o.getElementsByTagName(p[1]);
if(p[1]==="*"){var r=[];for(var q=0;n[q];q++){if(n[q].nodeType===1){r.push(n[q])}}n=r
}return n}}m.innerHTML="<a href='#'></a>";if(m.firstChild&&typeof m.firstChild.getAttribute!=="undefined"&&m.firstChild.getAttribute("href")!=="#"){d.attrHandle.href=function(n){return n.getAttribute("href",2)
}}})();if(document.querySelectorAll){(function(){var m=B,n=document.createElement("div");
n.innerHTML="<p class='TEST'></p>";if(n.querySelectorAll&&n.querySelectorAll(".TEST").length===0){return
}B=function(p,o,r,s){o=o||document;if(!s&&o.nodeType===9&&!D(o)){try{return A(o.querySelectorAll(p),r)
}catch(q){}}return m(p,o,r,s)};B.find=m.find;B.filter=m.filter;B.selectors=m.selectors;
B.matches=m.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var m=document.createElement("div");
m.innerHTML="<div class='test e'></div><div class='test'></div>";if(m.getElementsByClassName("e").length===0){return
}m.lastChild.className="e";if(m.getElementsByClassName("e").length===1){return}d.order.splice(1,0,"CLASS");
d.find.CLASS=function(n,o,p){if(typeof o.getElementsByClassName!=="undefined"&&!p){return o.getElementsByClassName(n[1])
}}})()}function l(q,w,v,p,o,m){var t=q=="previousSibling"&&!m;for(var s=0,r=p.length;
s<r;s++){var n=p[s];if(n){if(t&&n.nodeType===1){n.sizcache=v;n.sizset=s}n=n[q];var u=false;
while(n){if(n.sizcache===v){u=p[n.sizset];break}if(n.nodeType===1&&!m){n.sizcache=v;
n.sizset=s}if(n.nodeName===w){u=n;break}n=n[q]}p[s]=u}}}function b(q,w,v,p,o,m){var t=q=="previousSibling"&&!m;
for(var s=0,r=p.length;s<r;s++){var n=p[s];if(n){if(t&&n.nodeType===1){n.sizcache=v;
n.sizset=s}n=n[q];var u=false;while(n){if(n.sizcache===v){u=p[n.sizset];break}if(n.nodeType===1){if(!m){n.sizcache=v;
n.sizset=s}if(typeof w!=="string"){if(n===w){u=true;break}}else{if(B.filter(w,[n]).length>0){u=n;
break}}}n=n[q]}p[s]=u}}}var f=document.compareDocumentPosition?function(n,m){return n.compareDocumentPosition(m)&16
}:function(n,m){return n!==m&&(n.contains?n.contains(m):true)};var D=function(m){return m.nodeType===9&&m.documentElement.nodeName!=="HTML"||!!m.ownerDocument&&D(m.ownerDocument)
};var e=function(n,m){var q=[],r="",s,p=m.nodeType?[m]:m;while((s=d.match.PSEUDO.exec(n))){r+=s[0];
n=n.replace(d.match.PSEUDO,"")}n=d.relative[n]?n+"*":n;for(var t=0,o=p.length;t<o;
t++){B(n,p[t],q)}return B.filter(r,q)};V.find=B;V.filter=B.filter;V.expr=B.selectors;
V.expr[":"]=V.expr.filters;B.selectors.filters.hidden=function(m){return m.offsetWidth===0||m.offsetHeight===0
};B.selectors.filters.visible=function(m){return m.offsetWidth>0||m.offsetHeight>0
};B.selectors.filters.animated=function(m){return V.grep(V.timers,function(n){return m===n.elem
}).length};V.multiFilter=function(o,m,n){if(n){o=":not("+o+")"}return B.matches(o,m)
};V.dir=function(o,n){var m=[],p=o[n];while(p&&p!=document){if(p.nodeType==1){m.push(p)
}p=p[n]}return m};V.nth=function(m,n,p,q){n=n||1;var o=0;for(;m;m=m[p]){if(m.nodeType==1&&++o==n){break
}}return m};V.sibling=function(o,n){var m=[];for(;o;o=o.nextSibling){if(o.nodeType==1&&o!=n){m.push(o)
}}return m};return;S.Sizzle=B})();V.event={add:function(a,c,D,C){if(a.nodeType==3||a.nodeType==8){return
}if(a.setInterval&&a!=S){a=S}if(!D.guid){D.guid=this.guid++}if(C!==Ac){var A=D;D=this.proxy(A);
D.data=C}var b=V.data(a,"events")||V.data(a,"events",{}),B=V.data(a,"handle")||V.data(a,"handle",function(){return typeof V!=="undefined"&&!V.event.triggered?V.event.handle.apply(arguments.callee.elem,arguments):Ac
});B.elem=a;V.each(c.split(/\s+/),function(e,f){var g=f.split(".");f=g.shift();D.type=g.slice().sort().join(".");
var d=b[f];if(V.event.specialAll[f]){V.event.specialAll[f].setup.call(a,C,g)}if(!d){d=b[f]={};
if(!V.event.special[f]||V.event.special[f].setup.call(a,C,g)===false){if(a.addEventListener){a.addEventListener(f,B,false)
}else{if(a.attachEvent){a.attachEvent("on"+f,B)}}}}d[D.guid]=D;V.event.global[f]=true
});a=null},guid:1,global:{},remove:function(c,D,b){if(c.nodeType==3||c.nodeType==8){return
}var C=V.data(c,"events"),B,A;if(C){if(D===Ac||(typeof D==="string"&&D.charAt(0)==".")){for(var a in C){this.remove(c,a+(D||""))
}}else{if(D.type){b=D.handler;D=D.type}V.each(D.split(/\s+/),function(f,h){var e=h.split(".");
h=e.shift();var g=RegExp("(^|\\.)"+e.slice().sort().join(".*\\.")+"(\\.|$)");if(C[h]){if(b){delete C[h][b.guid]
}else{for(var j in C[h]){if(g.test(C[h][j].type)){delete C[h][j]}}}if(V.event.specialAll[h]){V.event.specialAll[h].teardown.call(c,e)
}for(B in C[h]){break}if(!B){if(!V.event.special[h]||V.event.special[h].teardown.call(c,e)===false){if(c.removeEventListener){c.removeEventListener(h,V.data(c,"handle"),false)
}else{if(c.detachEvent){c.detachEvent("on"+h,V.data(c,"handle"))}}}B=null;delete C[h]
}}})}for(B in C){break}if(!B){var d=V.data(c,"handle");if(d){d.elem=null}V.removeData(c,"events");
V.removeData(c,"handle")}}},trigger:function(a,c,D,A){var C=a.type||a;if(!A){a=typeof a==="object"?a[O]?a:V.extend(V.Event(C),a):V.Event(C);
if(C.indexOf("!")>=0){a.type=C=C.slice(0,-1);a.exclusive=true}if(!D){a.stopPropagation();
if(this.global[C]){V.each(V.cache,function(){if(this.events&&this.events[C]){V.event.trigger(a,c,this.handle.elem)
}})}}if(!D||D.nodeType==3||D.nodeType==8){return Ac}a.result=Ac;a.target=D;c=V.makeArray(c);
c.unshift(a)}a.currentTarget=D;var b=V.data(D,"handle");if(b){b.apply(D,c)}if((!D[C]||(V.nodeName(D,"a")&&C=="click"))&&D["on"+C]&&D["on"+C].apply(D,c)===false){a.result=false
}if(!A&&D[C]&&!a.isDefaultPrevented()&&!(V.nodeName(D,"a")&&C=="click")){this.triggered=true;
try{D[C]()}catch(d){}}this.triggered=false;if(!a.isPropagationStopped()){var B=D.parentNode||D.ownerDocument;
if(B){V.event.trigger(a,c,B,true)}}},handle:function(c){var b,A;c=arguments[0]=V.event.fix(c||S.event);
c.currentTarget=this;var d=c.type.split(".");c.type=d.shift();b=!d.length&&!c.exclusive;
var a=RegExp("(^|\\.)"+d.slice().sort().join(".*\\.")+"(\\.|$)");A=(V.data(this,"events")||{})[c.type];
for(var C in A){var D=A[C];if(b||a.test(D.type)){c.handler=D;c.data=D.data;var B=D.apply(this,arguments);
if(B!==Ac){c.result=B;if(B===false){c.preventDefault();c.stopPropagation()}}if(c.isImmediatePropagationStopped()){break
}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(C){if(C[O]){return C
}var b=C;C=V.Event(b);for(var A=this.props.length,a;A;){a=this.props[--A];C[a]=b[a]
}if(!C.target){C.target=C.srcElement||document}if(C.target.nodeType==3){C.target=C.target.parentNode
}if(!C.relatedTarget&&C.fromElement){C.relatedTarget=C.fromElement==C.target?C.toElement:C.fromElement
}if(C.pageX==null&&C.clientX!=null){var D=document.documentElement,B=document.body;
C.pageX=C.clientX+(D&&D.scrollLeft||B&&B.scrollLeft||0)-(D.clientLeft||0);C.pageY=C.clientY+(D&&D.scrollTop||B&&B.scrollTop||0)-(D.clientTop||0)
}if(!C.which&&((C.charCode||C.charCode===0)?C.charCode:C.keyCode)){C.which=C.charCode||C.keyCode
}if(!C.metaKey&&C.ctrlKey){C.metaKey=C.ctrlKey}if(!C.which&&C.button){C.which=(C.button&1?1:(C.button&2?3:(C.button&4?2:0)))
}return C},proxy:function(B,A){A=A||function(){return B.apply(this,arguments)};A.guid=B.guid=B.guid||A.guid||this.guid++;
return A},special:{ready:{setup:Ae,teardown:function(){}}},specialAll:{live:{setup:function(A,B){V.event.add(this,B[0],Y)
},teardown:function(A){if(A.length){var B=0,C=RegExp("(^|\\.)"+A[0]+"(\\.|$)");V.each((V.data(this,"events").live||{}),function(){if(C.test(this.type)){B++
}});if(B<1){V.event.remove(this,A[0],Y)}}}}}};V.Event=function(A){if(!this.preventDefault){return new V.Event(A)
}if(A&&A.type){this.originalEvent=A;this.type=A.type}else{this.type=A}this.timeStamp=Aa();
this[O]=true};function R(){return false}function L(){return true}V.Event.prototype={preventDefault:function(){this.isDefaultPrevented=L;
var A=this.originalEvent;if(!A){return}if(A.preventDefault){A.preventDefault()}A.returnValue=false
},stopPropagation:function(){this.isPropagationStopped=L;var A=this.originalEvent;
if(!A){return}if(A.stopPropagation){A.stopPropagation()}A.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=L;
this.stopPropagation()},isDefaultPrevented:R,isPropagationStopped:R,isImmediatePropagationStopped:R};
var W=function(C){var B=C.relatedTarget;while(B&&B!=this){try{B=B.parentNode}catch(A){B=this
}}if(B!=this){C.type=C.data;V.event.handle.apply(this,arguments)}};V.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(B,A){V.event.special[A]={setup:function(){V.event.add(this,B,W,A)
},teardown:function(){V.event.remove(this,B,W)}}});V.fn.extend({bind:function(C,A,B){return C=="unload"?this.one(C,A,B):this.each(function(){V.event.add(this,C,B||A,B&&A)
})},one:function(A,B,D){var C=V.event.proxy(D||B,function(a){V(this).unbind(a,C);
return(D||B).apply(this,arguments)});return this.each(function(){V.event.add(this,A,C,D&&B)
})},unbind:function(B,A){return this.each(function(){V.event.remove(this,B,A)})},trigger:function(A,B){return this.each(function(){V.event.trigger(A,B,this)
})},triggerHandler:function(B,A){if(this[0]){var C=V.Event(B);C.preventDefault();
C.stopPropagation();V.event.trigger(C,A,this[0]);return C.result}},toggle:function(A){var B=arguments,C=1;
while(C<B.length){V.event.proxy(A,B[C++])}return this.click(V.event.proxy(A,function(D){this.lastToggle=(this.lastToggle||0)%C;
D.preventDefault();return B[this.lastToggle++].apply(this,arguments)||false}))},hover:function(A,B){return this.mouseenter(A).mouseleave(B)
},ready:function(A){Ae();if(V.isReady){A.call(document,V)}else{V.readyList.push(A)
}return this},live:function(A,C){var B=V.event.proxy(C);B.guid+=this.selector+A;V(document).bind(P(A,this.selector),this.selector,B);
return this},die:function(B,A){V(document).unbind(P(B,this.selector),A?{guid:A.guid+this.selector+B}:null);
return this}});function Y(B){var C=RegExp("(^|\\.)"+B.type+"(\\.|$)"),A=true,D=[];
V.each(V.data(this,"events").live||[],function(a,b){if(C.test(b.type)){var c=V(B.target).closest(b.data)[0];
if(c){D.push({elem:c,fn:b})}}});D.sort(function(b,a){return V.data(b.elem,"closest")-V.data(a.elem,"closest")
});V.each(D,function(){if(this.fn.call(this.elem,B,this.fn.data)===false){return(A=false)
}});return A}function P(B,A){return["live",B,A.replace(/\./g,"`").replace(/ /g,"|")].join(".")
}V.extend({isReady:false,readyList:[],ready:function(){if(!V.isReady){V.isReady=true;
if(V.readyList){V.each(V.readyList,function(){this.call(document,V)});V.readyList=null
}V(document).triggerHandler("ready")}}});var Ah=false;function Ae(){if(Ah){return
}Ah=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);
V.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);
V.ready()}});if(document.documentElement.doScroll&&S==S.top){(function(){if(V.isReady){return
}try{document.documentElement.doScroll("left")}catch(A){setTimeout(arguments.callee,0);
return}V.ready()})()}}}V.event.add(S,"load",V.ready)}V.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(B,A){V.fn[A]=function(C){return C?this.bind(A,C):this.trigger(A)
}});V(S).bind("unload",function(){for(var A in V.cache){if(A!=1&&V.cache[A].handle){V.event.remove(V.cache[A].handle.elem)
}}});(function(){V.support={};var c=document.documentElement,A=document.createElement("script"),C=document.createElement("div"),b="script"+(new Date).getTime();
C.style.display="none";C.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 D=C.getElementsByTagName("*"),B=C.getElementsByTagName("a")[0];if(!D||!D.length||!B){return
}V.support={leadingWhitespace:C.firstChild.nodeType==3,tbody:!C.getElementsByTagName("tbody").length,objectAll:!!C.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!C.getElementsByTagName("link").length,style:/red/.test(B.getAttribute("style")),hrefNormalized:B.getAttribute("href")==="/a",opacity:B.style.opacity==="0.5",cssFloat:!!B.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};
A.type="text/javascript";try{A.appendChild(document.createTextNode("window."+b+"=1;"))
}catch(a){}c.insertBefore(A,c.firstChild);if(S[b]){V.support.scriptEval=true;delete S[b]
}c.removeChild(A);if(C.attachEvent&&C.fireEvent){C.attachEvent("onclick",function(){V.support.noCloneEvent=false;
C.detachEvent("onclick",arguments.callee)});C.cloneNode(true).fireEvent("onclick")
}V(function(){var d=document.createElement("div");d.style.width=d.style.paddingLeft="1px";
document.body.appendChild(d);V.boxModel=V.support.boxModel=d.offsetWidth===2;document.body.removeChild(d).style.display="none"
})})();var N=V.support.cssFloat?"cssFloat":"styleFloat";V.props={"for":"htmlFor","class":"className","float":N,cssFloat:N,styleFloat:N,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};
V.fn.extend({_load:V.fn.load,load:function(A,b,c){if(typeof A!=="string"){return this._load(A)
}var a=A.indexOf(" ");if(a>=0){var B=A.slice(a,A.length);A=A.slice(0,a)}var D="GET";
if(b){if(V.isFunction(b)){c=b;b=null}else{if(typeof b==="object"){b=V.param(b);D="POST"
}}}var C=this;V.ajax({url:A,type:D,dataType:"html",data:b,complete:function(e,d){if(d=="success"||d=="notmodified"){C.html(B?V("<div/>").append(e.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(B):e.responseText)
}if(c){C.each(c,[e.responseText,d,e])}}});return this},serialize:function(){return V.param(this.serializeArray())
},serializeArray:function(){return this.map(function(){return this.elements?V.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(B,C){var A=V(this).val();return A==null?null:V.isArray(A)?V.map(A,function(a,D){return{name:C.name,value:a}
}):{name:C.name,value:A}}).get()}});V.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(A,B){V.fn[B]=function(C){return this.bind(B,C)
}});var I=Aa();V.extend({get:function(C,A,B,D){if(V.isFunction(A)){B=A;A=null}return V.ajax({type:"GET",url:C,data:A,success:B,dataType:D})
},getScript:function(A,B){return V.get(A,null,B,"script")},getJSON:function(B,C,A){return V.get(B,C,A,"json")
},post:function(C,A,B,D){if(V.isFunction(A)){B=A;A={}}return V.ajax({type:"POST",url:C,data:A,success:B,dataType:D})
},ajaxSetup:function(A){V.extend(V.ajaxSettings,A)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return S.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(k){k=V.extend(true,k,V.extend(true,{},V.ajaxSettings,k));
var d,o=/=\?(&|$)/g,C,c,p=k.type.toUpperCase();if(k.data&&k.processData&&typeof k.data!=="string"){k.data=V.param(k.data)
}if(k.dataType=="jsonp"){if(p=="GET"){if(!k.url.match(o)){k.url+=(k.url.match(/\?/)?"&":"?")+(k.jsonp||"callback")+"=?"
}}else{if(!k.data||!k.data.match(o)){k.data=(k.data?k.data+"&":"")+(k.jsonp||"callback")+"=?"
}}k.dataType="json"}if(k.dataType=="json"&&(k.data&&k.data.match(o)||k.url.match(o))){d="jsonp"+I++;
if(k.data){k.data=(k.data+"").replace(o,"="+d+"$1")}k.url=k.url.replace(o,"="+d+"$1");
k.dataType="script";S[d]=function(q){c=q;f();j();S[d]=Ac;try{delete S[d]}catch(r){}if(e){e.removeChild(a)
}}}if(k.dataType=="script"&&k.cache==null){k.cache=false}if(k.cache===false&&p=="GET"){var n=Aa();
var b=k.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+n+"$2");k.url=b+((b==k.url)?(k.url.match(/\?/)?"&":"?")+"_="+n:"")
}if(k.data&&p=="GET"){k.url+=(k.url.match(/\?/)?"&":"?")+k.data;k.data=null}if(k.global&&!V.active++){V.event.trigger("ajaxStart")
}var B=/^(\w+:)?\/\/([^\/?#]+)/.exec(k.url);if(k.dataType=="script"&&p=="GET"&&B&&(B[1]&&B[1]!=location.protocol||B[2]!=location.host)){var e=document.getElementsByTagName("head")[0];
var a=document.createElement("script");a.src=k.url;if(k.scriptCharset){a.charset=k.scriptCharset
}if(!d){var m=false;a.onload=a.onreadystatechange=function(){if(!m&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){m=true;
f();j();a.onload=a.onreadystatechange=null;e.removeChild(a)}}}e.appendChild(a);return Ac
}var h=false;var g=k.xhr();if(k.username){g.open(p,k.url,k.async,k.username,k.password)
}else{g.open(p,k.url,k.async)}try{if(k.data){g.setRequestHeader("Content-Type",k.contentType)
}if(k.ifModified){g.setRequestHeader("If-Modified-Since",V.lastModified[k.url]||"Thu, 01 Jan 1970 00:00:00 GMT")
}g.setRequestHeader("X-Requested-With","XMLHttpRequest");g.setRequestHeader("Accept",k.dataType&&k.accepts[k.dataType]?k.accepts[k.dataType]+", */*":k.accepts._default)
}catch(D){}if(k.beforeSend&&k.beforeSend(g,k)===false){if(k.global&&!--V.active){V.event.trigger("ajaxStop")
}g.abort();return false}if(k.global){V.event.trigger("ajaxSend",[g,k])}var l=function(q){if(g.readyState==0){if(A){clearInterval(A);
A=null;if(k.global&&!--V.active){V.event.trigger("ajaxStop")}}}else{if(!h&&g&&(g.readyState==4||q=="timeout")){h=true;
if(A){clearInterval(A);A=null}C=q=="timeout"?"timeout":!V.httpSuccess(g)?"error":k.ifModified&&V.httpNotModified(g,k.url)?"notmodified":"success";
if(C=="success"){try{c=V.httpData(g,k.dataType,k)}catch(s){C="parsererror"}}if(C=="success"){var r;
try{r=g.getResponseHeader("Last-Modified")}catch(s){}if(k.ifModified&&r){V.lastModified[k.url]=r
}if(!d){f()}}else{V.handleError(k,g,C)}j();if(q){g.abort()}if(k.async){g=null}}}};
if(k.async){var A=setInterval(l,13);if(k.timeout>0){setTimeout(function(){if(g&&!h){l("timeout")
}},k.timeout)}}try{g.send(k.data)}catch(D){V.handleError(k,g,null,D)}if(!k.async){l()
}function f(){if(k.success){k.success(c,C)}if(k.global){V.event.trigger("ajaxSuccess",[g,k])
}}function j(){if(k.complete){k.complete(g,C)}if(k.global){V.event.trigger("ajaxComplete",[g,k])
}if(k.global&&!--V.active){V.event.trigger("ajaxStop")}}return g},handleError:function(D,B,C,A){if(D.error){D.error(B,C,A)
}if(D.global){V.event.trigger("ajaxError",[B,D,A])}},active:0,httpSuccess:function(B){try{return !B.status&&location.protocol=="file:"||(B.status>=200&&B.status<300)||B.status==304||B.status==1223
}catch(A){}return false},httpNotModified:function(A,C){try{var B=A.getResponseHeader("Last-Modified");
return A.status==304||B==V.lastModified[C]}catch(D){}return false},httpData:function(a,C,A){var b=a.getResponseHeader("content-type"),B=C=="xml"||!C&&b&&b.indexOf("xml")>=0,D=B?a.responseXML:a.responseText;
if(B&&D.documentElement.tagName=="parsererror"){throw"parsererror"}if(A&&A.dataFilter){D=A.dataFilter(D,C)
}if(typeof D==="string"){if(C=="script"){V.globalEval(D)}if(C=="json"){D=S["eval"]("("+D+")")
}}return D},param:function(C){var A=[];function B(a,b){A[A.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)
}if(V.isArray(C)||C.jquery){V.each(C,function(){B(this.name,this.value)})}else{for(var D in C){if(V.isArray(C[D])){V.each(C[D],function(){B(D,this)
})}else{B(D,V.isFunction(C[D])?C[D]():C[D])}}}return A.join("&").replace(/%20/g,"+")
}});var T={},U,Z=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];
function K(C,B){var A={};V.each(Z.concat.apply([],Z.slice(0,B)),function(){A[this]=C
});return A}V.fn.extend({show:function(b,d){if(b){return this.animate(K("show",3),b,d)
}else{for(var D=0,B=this.length;D<B;D++){var A=V.data(this[D],"olddisplay");this[D].style.display=A||"";
if(V.css(this[D],"display")==="none"){var C=this[D].tagName,c;if(T[C]){c=T[C]}else{var a=V("<"+C+" />").appendTo("body");
c=a.css("display");if(c==="none"){c="block"}a.remove();T[C]=c}V.data(this[D],"olddisplay",c)
}}for(var D=0,B=this.length;D<B;D++){this[D].style.display=V.data(this[D],"olddisplay")||""
}return this}},hide:function(B,C){if(B){return this.animate(K("hide",3),B,C)}else{for(var A=0,a=this.length;
A<a;A++){var D=V.data(this[A],"olddisplay");if(!D&&D!=="none"){V.data(this[A],"olddisplay",V.css(this[A],"display"))
}}for(var A=0,a=this.length;A<a;A++){this[A].style.display="none"}return this}},_toggle:V.fn.toggle,toggle:function(A,C){var B=typeof A==="boolean";
return V.isFunction(A)&&V.isFunction(C)?this._toggle.apply(this,arguments):A==null||B?this.each(function(){var D=B?A:V(this).is(":hidden");
V(this)[D?"show":"hide"]()}):this.animate(K("toggle",3),A,C)},fadeTo:function(B,A,C){return this.animate({opacity:A},B,C)
},animate:function(C,a,B,A){var D=V.speed(a,B,A);return this[D.queue===false?"each":"queue"](function(){var e=V.extend({},D),c,b=this.nodeType==1&&V(this).is(":hidden"),d=this;
for(c in C){if(C[c]=="hide"&&b||C[c]=="show"&&!b){return e.complete.call(this)}if((c=="height"||c=="width")&&this.style){e.display=V.css(this,"display");
e.overflow=this.style.overflow}}if(e.overflow!=null){this.style.overflow="hidden"
}e.curAnim=V.extend({},C);V.each(C,function(j,h){var g=new V.fx(d,e,j);if(/toggle|show|hide/.test(h)){g[h=="toggle"?b?"show":"hide":h](C)
}else{var f=h.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),l=g.cur(true)||0;if(f){var k=parseFloat(f[2]),m=f[3]||"px";
if(m!="px"){d.style[j]=(k||1)+m;l=((k||1)/g.cur(true))*l;d.style[j]=l+m}if(f[1]){k=((f[1]=="-="?-1:1)*k)+l
}g.custom(l,k,m)}else{g.custom(l,h,"")}}});return true})},stop:function(C,B){var A=V.timers;
if(C){this.queue([])}this.each(function(){for(var D=A.length-1;D>=0;D--){if(A[D].elem==this){if(B){A[D](true)
}A.splice(D,1)}}});if(!B){this.dequeue()}return this}});V.each({slideDown:K("show",1),slideUp:K("hide",1),slideToggle:K("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(A,B){V.fn[A]=function(C,D){return this.animate(B,C,D)
}});V.extend({speed:function(A,B,D){var C=typeof A==="object"?A:{complete:D||!D&&B||V.isFunction(A)&&A,duration:A,easing:D&&B||B&&!V.isFunction(B)&&B};
C.duration=V.fx.off?0:typeof C.duration==="number"?C.duration:V.fx.speeds[C.duration]||V.fx.speeds._default;
C.old=C.complete;C.complete=function(){if(C.queue!==false){V(this).dequeue()}if(V.isFunction(C.old)){C.old.call(this)
}};return C},easing:{linear:function(A,B,C,D){return C+D*A},swing:function(A,B,C,D){return((-Math.cos(A*Math.PI)/2)+0.5)*D+C
}},timers:[],fx:function(C,B,A){this.options=B;this.elem=C;this.prop=A;if(!B.orig){B.orig={}
}}});V.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)
}(V.fx.step[this.prop]||V.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"
}},cur:function(B){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]
}var A=parseFloat(V.css(this.elem,this.prop,B));return A&&A>-10000?A:parseFloat(V.curCSS(this.elem,this.prop))||0
},custom:function(C,B,A){this.startTime=Aa();this.start=C;this.end=B;this.unit=A||this.unit||"px";
this.now=this.start;this.pos=this.state=0;var D=this;function a(b){return D.step(b)
}a.elem=this.elem;if(a()&&V.timers.push(a)&&!U){U=setInterval(function(){var c=V.timers;
for(var b=0;b<c.length;b++){if(!c[b]()){c.splice(b--,1)}}if(!c.length){clearInterval(U);
U=Ac}},13)}},show:function(){this.options.orig[this.prop]=V.attr(this.elem.style,this.prop);
this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());
V(this.elem).show()},hide:function(){this.options.orig[this.prop]=V.attr(this.elem.style,this.prop);
this.options.hide=true;this.custom(this.cur(),0)},step:function(C){var A=Aa();if(C||A>=this.options.duration+this.startTime){this.now=this.end;
this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var a=true;
for(var b in this.options.curAnim){if(this.options.curAnim[b]!==true){a=false}}if(a){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;
this.elem.style.display=this.options.display;if(V.css(this.elem,"display")=="none"){this.elem.style.display="block"
}}if(this.options.hide){V(this.elem).hide()}if(this.options.hide||this.options.show){for(var D in this.options.curAnim){V.attr(this.elem.style,D,this.options.orig[D])
}}this.options.complete.call(this.elem)}return false}else{var B=A-this.startTime;
this.state=B/this.options.duration;this.pos=V.easing[this.options.easing||(V.easing.swing?"swing":"linear")](this.state,B,0,1,this.options.duration);
this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};
V.extend(V.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(A){V.attr(A.elem.style,"opacity",A.now)
},_default:function(A){if(A.elem.style&&A.elem.style[A.prop]!=null){A.elem.style[A.prop]=A.now+A.unit
}else{A.elem[A.prop]=A.now}}}});if(document.documentElement.getBoundingClientRect){V.fn.offset=function(){if(!this[0]){return{top:0,left:0}
}if(this[0]===this[0].ownerDocument.body){return V.offset.bodyOffset(this[0])}var C=this[0].getBoundingClientRect(),b=this[0].ownerDocument,B=b.body,A=b.documentElement,d=A.clientTop||B.clientTop||0,c=A.clientLeft||B.clientLeft||0,a=C.top+(self.pageYOffset||V.boxModel&&A.scrollTop||B.scrollTop)-d,D=C.left+(self.pageXOffset||V.boxModel&&A.scrollLeft||B.scrollLeft)-c;
return{top:a,left:D}}}else{V.fn.offset=function(){if(!this[0]){return{top:0,left:0}
}if(this[0]===this[0].ownerDocument.body){return V.offset.bodyOffset(this[0])}V.offset.initialized||V.offset.initialize();
var b=this[0],C=b.offsetParent,B=b,g=b.ownerDocument,e,D=g.documentElement,c=g.body,d=g.defaultView,A=d.getComputedStyle(b,null),f=b.offsetTop,a=b.offsetLeft;
while((b=b.parentNode)&&b!==c&&b!==D){e=d.getComputedStyle(b,null);f-=b.scrollTop,a-=b.scrollLeft;
if(b===C){f+=b.offsetTop,a+=b.offsetLeft;if(V.offset.doesNotAddBorder&&!(V.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.tagName))){f+=parseInt(e.borderTopWidth,10)||0,a+=parseInt(e.borderLeftWidth,10)||0
}B=C,C=b.offsetParent}if(V.offset.subtractsBorderForOverflowNotVisible&&e.overflow!=="visible"){f+=parseInt(e.borderTopWidth,10)||0,a+=parseInt(e.borderLeftWidth,10)||0
}A=e}if(A.position==="relative"||A.position==="static"){f+=c.offsetTop,a+=c.offsetLeft
}if(A.position==="fixed"){f+=Math.max(D.scrollTop,c.scrollTop),a+=Math.max(D.scrollLeft,c.scrollLeft)
}return{top:f,left:a}}}V.offset={initialize:function(){if(this.initialized){return
}var d=document.body,B=document.createElement("div"),D,C,f,a,e,A,b=d.style.marginTop,c='<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>';
e={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};
for(A in e){B.style[A]=e[A]}B.innerHTML=c;d.insertBefore(B,d.firstChild);D=B.firstChild,C=D.firstChild,a=D.nextSibling.firstChild.firstChild;
this.doesNotAddBorder=(C.offsetTop!==5);this.doesAddBorderForTableAndCells=(a.offsetTop===5);
D.style.overflow="hidden",D.style.position="relative";this.subtractsBorderForOverflowNotVisible=(C.offsetTop===-5);
d.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(d.offsetTop===0);d.style.marginTop=b;
d.removeChild(B);this.initialized=true},bodyOffset:function(B){V.offset.initialized||V.offset.initialize();
var A=B.offsetTop,C=B.offsetLeft;if(V.offset.doesNotIncludeMarginInBodyOffset){A+=parseInt(V.curCSS(B,"marginTop",true),10)||0,C+=parseInt(V.curCSS(B,"marginLeft",true),10)||0
}return{top:A,left:C}}};V.fn.extend({position:function(){var D=0,C=0,b;if(this[0]){var A=this.offsetParent(),a=this.offset(),B=/^body|html$/i.test(A[0].tagName)?{top:0,left:0}:A.offset();
a.top-=Q(this,"marginTop");a.left-=Q(this,"marginLeft");B.top+=Q(A,"borderTopWidth");
B.left+=Q(A,"borderLeftWidth");b={top:a.top-B.top,left:a.left-B.left}}return b},offsetParent:function(){var A=this[0].offsetParent||document.body;
while(A&&(!/^body|html$/i.test(A.tagName)&&V.css(A,"position")=="static")){A=A.offsetParent
}return V(A)}});V.each(["Left","Top"],function(C,B){var A="scroll"+B;V.fn[A]=function(D){if(!this[0]){return null
}return D!==Ac?this.each(function(){this==S||this==document?S.scrollTo(!C?D:V(S).scrollLeft(),C?D:V(S).scrollTop()):this[A]=D
}):this[0]==S||this[0]==document?self[C?"pageYOffset":"pageXOffset"]||V.boxModel&&document.documentElement[A]||document.body[A]:this[0][A]
}});V.each(["Height","Width"],function(D,A){var a=D?"Left":"Top",C=D?"Right":"Bottom",b=A.toLowerCase();
V.fn["inner"+A]=function(){return this[0]?V.css(this[0],b,false,"padding"):null};
V.fn["outer"+A]=function(c){return this[0]?V.css(this[0],b,false,c?"margin":"border"):null
};var B=A.toLowerCase();V.fn[B]=function(c){return this[0]==S?document.compatMode=="CSS1Compat"&&document.documentElement["client"+A]||document.body["client"+A]:this[0]==document?Math.max(document.documentElement["client"+A],document.body["scroll"+A],document.documentElement["scroll"+A],document.body["offset"+A],document.documentElement["offset"+A]):c===Ac?(this.length?V.css(this[0],B):null):this.css(B,typeof c==="string"?c:c+"px")
}})})();(function(C){var H=C.fn.remove,A=C.browser.mozilla&&(parseFloat(C.browser.version)<1.9);
C.ui={version:"1.6rc6",plugin:{add:function(L,M,J){var K=C.ui[L].prototype;for(var N in J){K.plugins[N]=K.plugins[N]||[];
K.plugins[N].push([M,J[N]])}},call:function(M,K,L){var J=M.plugins[K];if(!J){return
}for(var N=0;N<J.length;N++){if(M.options[J[N][0]]){J[N][1].apply(M.element,L)}}}},contains:function(J,K){return document.compareDocumentPosition?J.compareDocumentPosition(K)&16:J!==K&&J.contains(K)
},cssCache:{},css:function(J){if(C.ui.cssCache[J]){return C.ui.cssCache[J]}var K=C('<div class="ui-gen"></div>').addClass(J).css({position:"absolute",top:"-5000px",left:"-5000px",display:"block"}).appendTo("body");
C.ui.cssCache[J]=!!((!(/auto|default/).test(K.css("cursor"))||(/^[1-9]/).test(K.css("height"))||(/^[1-9]/).test(K.css("width"))||!(/none/).test(K.css("backgroundImage"))||!(/transparent|rgba\(0, 0, 0, 0\)/).test(K.css("backgroundColor"))));
try{C("body").get(0).removeChild(K.get(0))}catch(L){}return C.ui.cssCache[J]},hasScroll:function(J,K){if(C(J).css("overflow")=="hidden"){return false
}var L=(K&&K=="left")?"scrollLeft":"scrollTop",M=false;if(J[L]>0){return true}J[L]=1;
M=(J[L]>0);J[L]=0;return M},isOverAxis:function(K,L,J){return(K>L)&&(K<(L+J))},isOver:function(K,J,L,O,M,N){return C.ui.isOverAxis(K,L,M)&&C.ui.isOverAxis(J,O,N)
},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(A){var B=C.attr,D=C.fn.removeAttr,G="http://www.w3.org/2005/07/aaa",E=/^aria-/,I=/^wairole:/;
C.attr=function(L,K,M){var J=M!==undefined;return(K=="role"?(J?B.call(this,L,K,"wairole:"+M):(B.apply(this,arguments)||"").replace(I,"")):(E.test(K)?(J?L.setAttributeNS(G,K.replace(E,"aaa:"),M):B.call(this,L,K.replace(E,"aaa:"))):B.apply(this,arguments)))
};C.fn.removeAttr=function(J){return(E.test(J)?this.each(function(){this.removeAttributeNS(G,J.replace(E,""))
}):D.call(this,J))}}C.fn.extend({remove:function(){C("*",this).add(this).each(function(){C(this).triggerHandler("remove")
});return H.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")
},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false
})},scrollParent:function(){var 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(K,L,J){return !!C.data(K,J[3])
},focusable:function(L){var J=L.nodeName.toLowerCase(),K=C.attr(L,"tabindex");return(/input|select|textarea|button|object/.test(J)?!L.disabled:"a"==J||"area"==J?L.href||!isNaN(K):!isNaN(K))&&!C(L)["area"==J?"parents":"closest"](":hidden").length
},tabbable:function(K){var J=C.attr(K,"tabindex");return(isNaN(J)||J>=0)&&C(K).is(":focusable")
}});function F(J,N,K,L){function M(Q){var P=C[J][N][Q]||[];return(typeof P=="string"?P.split(/,?\s+/):P)
}var O=M("getter");if(L.length==1&&typeof L[0]=="string"){O=O.concat(M("getterSetter"))
}return(C.inArray(K,O)!=-1)}C.widget=function(K,L){var J=K.split(".")[0];K=K.split(".")[1];
C.fn[K]=function(P){var N=(typeof P=="string"),M=Array.prototype.slice.call(arguments,1);
if(N&&P.substring(0,1)=="_"){return this}if(N&&F(J,K,P,M)){var O=C.data(this[0],K);
return(O?O[P].apply(O,M):undefined)}return this.each(function(){var Q=C.data(this,K);
(!Q&&!N&&C.data(this,K,new C[J][K](this,P))._init());(Q&&N&&C.isFunction(Q[P])&&Q[P].apply(Q,M))
})};C[J]=C[J]||{};C[J][K]=function(N,O){var M=this;this.namespace=J;this.widgetName=K;
this.widgetEventPrefix=C[J][K].eventPrefix||K;this.widgetBaseClass=J+"-"+K;this.options=C.extend({},C.widget.defaults,C[J][K].defaults,C.metadata&&C.metadata.get(N)[K],O);
this.element=C(N).bind("setData."+K,function(R,Q,P){if(R.target==N){return M._setData(Q,P)
}}).bind("getData."+K,function(Q,P){if(Q.target==N){return M._getData(P)}}).bind("remove",function(){return M.destroy()
})};C[J][K].prototype=C.extend({},C.widget.prototype,L);C[J][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(K,J){var M=K,L=this;if(typeof K=="string"){if(J===undefined){return this._getData(K)
}M={};M[K]=J}C.each(M,function(O,N){L._setData(O,N)})},_getData:function(J){return this.options[J]
},_setData:function(K,J){this.options[K]=J;if(K=="disabled"){this.element[J?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",J)
}},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)
},_trigger:function(L,P,M){var K=this.options[L],O=(L==this.widgetEventPrefix?L:this.widgetEventPrefix+L);
P=C.Event(P);P.type=O;if(P.originalEvent){for(var N=C.event.props.length,J;N;){J=C.event.props[--N];
P[J]=P.originalEvent[J]}}this.element.trigger(P,M);return !(C.isFunction(K)&&K.call(this.element[0],P,M)===false||P.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;
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(K){if(K.originalEvent.mouseHandled){return
}(this._mouseStarted&&this._mouseUp(K));this._mouseDownEvent=K;var L=this,J=(K.which==1),M=(typeof this.options.cancel=="string"?C(K.target).parents().add(K.target).filter(this.options.cancel).length:false);
if(!J||M||!this._mouseCapture(K)){return true}this.mouseDelayMet=!this.options.delay;
if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){L.mouseDelayMet=true
},this.options.delay)}if(this._mouseDistanceMet(K)&&this._mouseDelayMet(K)){this._mouseStarted=(this._mouseStart(K)!==false);
if(!this._mouseStarted){K.preventDefault();return true}}this._mouseMoveDelegate=function(N){return L._mouseMove(N)
};this._mouseUpDelegate=function(N){return L._mouseUp(N)};C(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);
(C.browser.safari||K.preventDefault());K.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=true;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(B){var A={dragStart:"start.draggable",drag:"drag.draggable",dragStop:"stop.draggable",maxHeight:"maxHeight.resizable",minHeight:"minHeight.resizable",maxWidth:"maxWidth.resizable",minWidth:"minWidth.resizable",resizeStart:"start.resizable",resize:"drag.resizable",resizeStop:"stop.resizable"};
B.widget("ui.dialog",{_init:function(){this.originalTitle=this.element.attr("title");
var K=this,C=this.options,E=C.title||this.originalTitle||"&nbsp;",H=B.ui.dialog.getTitleId(this.element),J=(this.uiDialog=B("<div/>")).appendTo(document.body).hide().addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+C.dialogClass).css({position:"absolute",overflow:"hidden",zIndex:C.zIndex}).attr("tabIndex",-1).css("outline",0).keydown(function(M){(C.closeOnEscape&&M.keyCode&&M.keyCode==B.ui.keyCode.ESCAPE&&K.close(M))
}).attr({role:"dialog","aria-labelledby":H}).mousedown(function(M){K.moveToTop(M)
}),I=this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(J),F=(this.uiDialogTitlebar=B("<div></div>")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(J),G=B('<a href="#"/>').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role","button").hover(function(){G.addClass("ui-state-hover")
},function(){G.removeClass("ui-state-hover")}).focus(function(){G.addClass("ui-state-focus")
}).blur(function(){G.removeClass("ui-state-focus")}).mousedown(function(M){M.stopPropagation()
}).click(function(M){K.close(M);return false}).appendTo(F),L=(this.uiDialogTitlebarCloseText=B("<span/>")).addClass("ui-icon ui-icon-closethick").text(C.closeText).appendTo(G),D=B("<span/>").addClass("ui-dialog-title").attr("id",H).html(E).prependTo(F);
F.find("*").add(F).disableSelection();(C.draggable&&B.fn.draggable&&this._makeDraggable());
(C.resizable&&B.fn.resizable&&this._makeResizable());this._createButtons(C.buttons);
this._isOpen=false;(C.bgiframe&&B.fn.bgiframe&&J.bgiframe());(C.autoOpen&&this.open())
},destroy:function(){(this.overlay&&this.overlay.destroy());(this.shadow&&this._destroyShadow());
this.uiDialog.hide();this.element.unbind(".dialog").removeData("dialog").removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body");
this.uiDialog.remove();(this.originalTitle&&this.element.attr("title",this.originalTitle))
},close:function(C){if(false===this._trigger("beforeclose",C)){return}(this.overlay&&this.overlay.destroy());
(this.shadow&&this._destroyShadow());this.uiDialog.hide(this.options.hide).unbind("keypress.ui-dialog");
this._trigger("close",C);B.ui.dialog.overlay.resize();this._isOpen=false},isOpen:function(){return this._isOpen
},moveToTop:function(E,D){if((this.options.modal&&!E)||(!this.options.stack&&!this.options.modal)){return this._trigger("focus",D)
}var G=this.options.zIndex,F=this.options;B(".ui-dialog:visible").each(function(){G=Math.max(G,parseInt(B(this).css("z-index"),10)||F.zIndex)
});(this.overlay&&this.overlay.$el.css("z-index",++G));(this.shadow&&this.shadow.css("z-index",++G));
var C={scrollTop:this.element.attr("scrollTop"),scrollLeft:this.element.attr("scrollLeft")};
this.uiDialog.css("z-index",++G);this.element.attr(C);this._trigger("focus",D)},open:function(D){if(this._isOpen){return
}var E=this.options,C=this.uiDialog;this.overlay=E.modal?new B.ui.dialog.overlay(this):null;
(C.next().length&&C.appendTo("body"));this._size();this._position(E.position);C.show(E.show);
this.moveToTop(true,D);(E.modal&&C.bind("keypress.ui-dialog",function(H){if(H.keyCode!=B.ui.keyCode.TAB){return
}var F=B(":tabbable",this),G=F.filter(":first")[0],I=F.filter(":last")[0];if(H.target==I&&!H.shiftKey){setTimeout(function(){G.focus()
},1)}else{if(H.target==G&&H.shiftKey){setTimeout(function(){I.focus()},1)}}}));B([]).add(C.find(".ui-dialog-content :tabbable:first")).add(C.find(".ui-dialog-buttonpane :tabbable:first")).add(C.find(".ui-dialog-titlebar :tabbable:first")).filter(":first").focus();
if(E.shadow){this._createShadow()}this._trigger("open",D);this._isOpen=true},_createButtons:function(D){var E=this,F=false,C=B("<div></div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix");
this.uiDialog.find(".ui-dialog-buttonpane").remove();(typeof D=="object"&&D!==null&&B.each(D,function(){return !(F=true)
}));if(F){B.each(D,function(H,G){B('<button type="button"></button>').addClass("ui-state-default ui-corner-all").text(H).click(function(){G.apply(E.element[0],arguments)
}).hover(function(){B(this).addClass("ui-state-hover")},function(){B(this).removeClass("ui-state-hover")
}).focus(function(){B(this).addClass("ui-state-focus")}).blur(function(){B(this).removeClass("ui-state-focus")
}).appendTo(C)});C.appendTo(this.uiDialog)}},_makeDraggable:function(){var C=this,D=this.options;
this.uiDialog.draggable({cancel:".ui-dialog-content",helper:D.dragHelper,handle:".ui-dialog-titlebar",containment:"document",start:function(){(D.dragStart&&D.dragStart.apply(C.element[0],arguments));
if(B.browser.msie&&B.browser.version<7&&C.shadow){C.shadow.hide()}},drag:function(){(D.drag&&D.drag.apply(C.element[0],arguments));
C._refreshShadow(1)},stop:function(){(D.dragStop&&D.dragStop.apply(C.element[0],arguments));
B.ui.dialog.overlay.resize();if(B.browser.msie&&B.browser.version<7&&C.shadow){C.shadow.show()
}C._refreshShadow()}})},_makeResizable:function(C){C=(C===undefined?this.options.resizable:C);
var E=this,F=this.options,D=typeof C=="string"?C:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",alsoResize:this.element,helper:F.resizeHelper,maxWidth:F.maxWidth,maxHeight:F.maxHeight,minWidth:F.minWidth,minHeight:F.minHeight,start:function(){(F.resizeStart&&F.resizeStart.apply(E.element[0],arguments));
if(B.browser.msie&&B.browser.version<7&&E.shadow){E.shadow.hide()}},resize:function(){(F.resize&&F.resize.apply(E.element[0],arguments));
E._refreshShadow(1)},handles:D,stop:function(){(F.resizeStop&&F.resizeStop.apply(E.element[0],arguments));
B.ui.dialog.overlay.resize();if(B.browser.msie&&B.browser.version<7&&E.shadow){E.shadow.show()
}E._refreshShadow()}}).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")
},_position:function(F){var D=B(window),C=B(document),E=C.scrollTop(),G=C.scrollLeft(),H=E;
if(B.inArray(F,["center","top","right","bottom","left"])>=0){F=[F=="right"||F=="left"?F:"center",F=="top"||F=="bottom"?F:"middle"]
}if(F.constructor!=Array){F=["center","middle"]}if(F[0].constructor==Number){G+=F[0]
}else{switch(F[0]){case"left":G+=0;break;case"right":G+=D.width()-this.uiDialog.outerWidth();
break;default:case"center":G+=(D.width()-this.uiDialog.outerWidth())/2}}if(F[1].constructor==Number){E+=F[1]
}else{switch(F[1]){case"top":E+=0;break;case"bottom":E+=D.height()-this.uiDialog.outerHeight();
break;default:case"middle":E+=(D.height()-this.uiDialog.outerHeight())/2}}E=Math.max(E,H);
this.uiDialog.css({top:E,left:G})},_setData:function(E,D){(A[E]&&this.uiDialog.data(A[E],D));
switch(E){case"buttons":this._createButtons(D);break;case"closeText":this.uiDialogTitlebarCloseText.text(D);
break;case"draggable":(D?this._makeDraggable():this.uiDialog.draggable("destroy"));
break;case"height":this.uiDialog.height(D);break;case"position":this._position(D);
break;case"resizable":var F=this.uiDialog,C=this.uiDialog.is(":data(resizable)");
(C&&!D&&F.resizable("destroy"));(C&&typeof D=="string"&&F.resizable("option","handles",D));
(C||this._makeResizable(D));break;case"title":B(".ui-dialog-title",this.uiDialogTitlebar).html(D||"&nbsp;");
break;case"width":this.uiDialog.width(D);break}B.widget.prototype._setData.apply(this,arguments)
},_size:function(){var C=this.options;this.element.css({height:0,minHeight:0,width:"auto"});
var D=this.uiDialog.css({height:"auto",width:C.width}).height();this.element.css({minHeight:Math.max(C.minHeight-D,0),height:C.height=="auto"?"auto":C.height-D})
},_createShadow:function(){this.shadow=B('<div class="ui-widget-shadow"></div>').css("position","absolute").appendTo(document.body);
this._refreshShadow();return this.shadow},_refreshShadow:function(C){if(C&&B.browser.msie&&B.browser.version<7){return
}var D=this.uiDialog.offset();this.shadow.css({left:D.left,top:D.top,width:this.uiDialog.outerWidth(),height:this.uiDialog.outerHeight()})
},_destroyShadow:function(){this.shadow.remove();this.shadow=null}});B.extend(B.ui.dialog,{version:"1.6rc6",defaults:{autoOpen:true,bgiframe:false,buttons:{},closeOnEscape:true,closeText:"close",draggable:true,height:"auto",minHeight:150,minWidth:150,modal:false,position:"center",resizable:true,shadow:true,stack:true,title:"",width:300,zIndex:1000},getter:"isOpen",uuid:0,getTitleId:function(C){return"ui-dialog-title-"+(C.attr("id")||++this.uuid)
},overlay:function(C){this.$el=B.ui.dialog.overlay.create(C)}});B.extend(B.ui.dialog.overlay,{instances:[],events:B.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(C){return C+".dialog-overlay"
}).join(" "),create:function(D){if(this.instances.length===0){setTimeout(function(){B("a, :input").bind(B.ui.dialog.overlay.events,function(){var G=false;
var E=B(this).parents(".ui-dialog");if(E.length){var F=B(".ui-dialog-overlay");if(F.length){var H=parseInt(F.css("z-index"),10);
F.each(function(){H=Math.max(H,parseInt(B(this).css("z-index"),10))});G=parseInt(E.css("z-index"),10)>H
}else{G=true}}return G})},1);B(document).bind("keydown.dialog-overlay",function(E){(D.options.closeOnEscape&&E.keyCode&&E.keyCode==B.ui.keyCode.ESCAPE&&D.close(E))
});B(window).bind("resize.dialog-overlay",B.ui.dialog.overlay.resize)}var C=B("<div></div>").appendTo(document.body).addClass("ui-widget-overlay").css({width:this.width(),height:this.height()});
(D.options.bgiframe&&B.fn.bgiframe&&C.bgiframe());this.instances.push(C);return C
},destroy:function(C){this.instances.splice(B.inArray(this.instances,C),1);if(this.instances.length===0){B("a, :input").add([document,window]).unbind(".dialog-overlay")
}C.remove()},height:function(){if(B.browser.msie&&B.browser.version<7){var C=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);
var D=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight);
if(C<D){return B(window).height()+"px"}else{return C+"px"}}else{return B(document).height()+"px"
}},width:function(){if(B.browser.msie&&B.browser.version<7){var D=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth);
var C=Math.max(document.documentElement.offsetWidth,document.body.offsetWidth);if(D<C){return B(window).width()+"px"
}else{return D+"px"}}else{return B(document).width()+"px"}},resize:function(){var C=B([]);
B.each(B.ui.dialog.overlay.instances,function(){C=C.add(this)});C.css({width:0,height:0}).css({width:B.ui.dialog.overlay.width(),height:B.ui.dialog.overlay.height()})
}});B.extend(B.ui.dialog.overlay.prototype,{destroy:function(){B.ui.dialog.overlay.destroy(this.$el)
}})})(jQuery);(function(A){A.widget("ui.draggable",A.extend({},A.ui.mouse,{_init:function(){if(this.options.helper=="original"&&!(/^(?:r|a|f)/).test(this.element.css("position"))){this.element[0].style.position="relative"
}(this.options.cssNamespace&&this.element.addClass(this.options.cssNamespace+"-draggable"));
(this.options.disabled&&this.element.addClass(this.options.cssNamespace+"-draggable-disabled"));
this._mouseInit()},destroy:function(){if(!this.element.data("draggable")){return}this.element.removeData("draggable").unbind(".draggable").removeClass(this.options.cssNamespace+"-draggable "+this.options.cssNamespace+"-draggable-dragging "+this.options.cssNamespace+"-draggable-disabled");
this._mouseDestroy()},_mouseCapture:function(C){var B=this.options;if(this.helper||B.disabled||A(C.target).is("."+this.options.cssNamespace+"-resizable-handle")){return false
}this.handle=this._getHandle(C);if(!this.handle){return false}return true},_mouseStart:function(C){var B=this.options;
this.helper=this._createHelper(C);this._cacheHelperProportions();if(A.ui.ddmanager){A.ui.ddmanager.current=this
}this._cacheMargins();this.cssPosition=this.helper.css("position");this.scrollParent=this.helper.scrollParent();
this.offset=this.element.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};
A.extend(this.offset,{click:{left:C.pageX-this.offset.left,top:C.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});
this.originalPosition=this._generatePosition(C);this.originalPageX=C.pageX;this.originalPageY=C.pageY;
if(B.cursorAt){this._adjustOffsetFromHelper(B.cursorAt)}if(B.containment){this._setContainment()
}this._trigger("start",C);this._cacheHelperProportions();if(A.ui.ddmanager&&!B.dropBehaviour){A.ui.ddmanager.prepareOffsets(this,C)
}this.helper.addClass(B.cssNamespace+"-draggable-dragging");this._mouseDrag(C,true);
return true},_mouseDrag:function(D,B){this.position=this._generatePosition(D);this.positionAbs=this._convertPositionTo("absolute");
if(!B){var C=this._uiHash();this._trigger("drag",D,C);this.position=C.position}if(!this.options.axis||this.options.axis!="y"){this.helper[0].style.left=this.position.left+"px"
}if(!this.options.axis||this.options.axis!="x"){this.helper[0].style.top=this.position.top+"px"
}if(A.ui.ddmanager){A.ui.ddmanager.drag(this,D)}return false},_mouseStop:function(B){var D=false;
if(A.ui.ddmanager&&!this.options.dropBehaviour){D=A.ui.ddmanager.drop(this,B)}if(this.dropped){D=this.dropped;
this.dropped=false}if((this.options.revert=="invalid"&&!D)||(this.options.revert=="valid"&&D)||this.options.revert===true||(A.isFunction(this.options.revert)&&this.options.revert.call(this.element,D))){var C=this;
A(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){C._trigger("stop",B);
C._clear()})}else{this._trigger("stop",B);this._clear()}return false},_getHandle:function(B){var C=!this.options.handle||!A(this.options.handle,this.element).length?true:false;
A(this.options.handle,this.element).find("*").andSelf().each(function(){if(this==B.target){C=true
}});return C},_createHelper:function(D){var B=this.options;var C=A.isFunction(B.helper)?A(B.helper.apply(this.element[0],[D])):(B.helper=="clone"?this.element.clone():this.element);
if(!C.parents("body").length){C.appendTo((B.appendTo=="parent"?this.element[0].parentNode:B.appendTo))
}if(C[0]!=this.element[0]&&!(/(fixed|absolute)/).test(C.css("position"))){C.css("position","absolute")
}return C},_adjustOffsetFromHelper:function(B){if(B.left!=undefined){this.offset.click.left=B.left+this.margins.left
}if(B.right!=undefined){this.offset.click.left=this.helperProportions.width-B.right+this.margins.left
}if(B.top!=undefined){this.offset.click.top=B.top+this.margins.top}if(B.bottom!=undefined){this.offset.click.top=this.helperProportions.height-B.bottom+this.margins.top
}},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var B=this.offsetParent.offset();
if(this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&A.ui.contains(this.scrollParent[0],this.offsetParent[0])){B.left+=this.scrollParent.scrollLeft();
B.top+=this.scrollParent.scrollTop()}if((this.offsetParent[0]==document.body&&A.browser.mozilla)||(this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&A.browser.msie)){B={top:0,left:0}
}return{top:B.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:B.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}
},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var B=this.element.position();
return{top:B.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:B.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}
}else{return{top:0,left:0}}},_cacheMargins:function(){this.margins={left:(parseInt(this.element.css("marginLeft"),10)||0),top:(parseInt(this.element.css("marginTop"),10)||0)}
},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}
},_setContainment:function(){var C=this.options;if(C.containment=="parent"){C.containment=this.helper[0].parentNode
}if(C.containment=="document"||C.containment=="window"){this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,A(C.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(A(C.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]
}if(!(/^(document|window|parent)$/).test(C.containment)&&C.containment.constructor!=Array){var D=A(C.containment)[0];
if(!D){return}var E=A(C.containment).offset();var B=(A(D).css("overflow")!="hidden");
this.containment=[E.left+(parseInt(A(D).css("borderLeftWidth"),10)||0)+(parseInt(A(D).css("paddingLeft"),10)||0)-this.margins.left,E.top+(parseInt(A(D).css("borderTopWidth"),10)||0)+(parseInt(A(D).css("paddingTop"),10)||0)-this.margins.top,E.left+(B?Math.max(D.scrollWidth,D.offsetWidth):D.offsetWidth)-(parseInt(A(D).css("borderLeftWidth"),10)||0)-(parseInt(A(D).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,E.top+(B?Math.max(D.scrollHeight,D.offsetHeight):D.offsetHeight)-(parseInt(A(D).css("borderTopWidth"),10)||0)-(parseInt(A(D).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]
}else{if(C.containment.constructor==Array){this.containment=C.containment}}},_convertPositionTo:function(E,D){if(!D){D=this.position
}var G=E=="absolute"?1:-1;var C=this.options,F=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&A.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,B=(/(html|body)/i).test(F[0].tagName);
return{top:(D.top+this.offset.relative.top*G+this.offset.parent.top*G-(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():(B?0:F.scrollTop()))*G),left:(D.left+this.offset.relative.left*G+this.offset.parent.left*G-(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():B?0:F.scrollLeft())*G)}
},_generatePosition:function(G){var F=this.options,I=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&A.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,H=(/(html|body)/i).test(I[0].tagName);
if(this.cssPosition=="relative"&&!(this.scrollParent[0]!=document&&this.scrollParent[0]!=this.offsetParent[0])){this.offset.relative=this._getRelativeOffset()
}var D=G.pageX;var E=G.pageY;if(this.originalPosition){if(this.containment){if(G.pageX-this.offset.click.left<this.containment[0]){D=this.containment[0]+this.offset.click.left
}if(G.pageY-this.offset.click.top<this.containment[1]){E=this.containment[1]+this.offset.click.top
}if(G.pageX-this.offset.click.left>this.containment[2]){D=this.containment[2]+this.offset.click.left
}if(G.pageY-this.offset.click.top>this.containment[3]){E=this.containment[3]+this.offset.click.top
}}if(F.grid){var C=this.originalPageY+Math.round((E-this.originalPageY)/F.grid[1])*F.grid[1];
E=this.containment?(!(C-this.offset.click.top<this.containment[1]||C-this.offset.click.top>this.containment[3])?C:(!(C-this.offset.click.top<this.containment[1])?C-F.grid[1]:C+F.grid[1])):C;
var B=this.originalPageX+Math.round((D-this.originalPageX)/F.grid[0])*F.grid[0];D=this.containment?(!(B-this.offset.click.left<this.containment[0]||B-this.offset.click.left>this.containment[2])?B:(!(B-this.offset.click.left<this.containment[0])?B-F.grid[0]:B+F.grid[0])):B
}}return{top:(E-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():(H?0:I.scrollTop()))),left:(D-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():H?0:I.scrollLeft()))}
},_clear:function(){this.helper.removeClass(this.options.cssNamespace+"-draggable-dragging");
if(this.helper[0]!=this.element[0]&&!this.cancelHelperRemoval){this.helper.remove()
}this.helper=null;this.cancelHelperRemoval=false},_trigger:function(C,D,B){B=B||this._uiHash();
A.ui.plugin.call(this,C,[D,B]);if(C=="drag"){this.positionAbs=this._convertPositionTo("absolute")
}return A.widget.prototype._trigger.call(this,C,D,B)},plugins:{},_uiHash:function(B){return{helper:this.helper,position:this.position,absolutePosition:this.positionAbs,offset:this.positionAbs}
}}));A.extend(A.ui.draggable,{version:"1.6rc6",eventPrefix:"drag",defaults:{appendTo:"parent",axis:false,cancel:":input,option",connectToSortable:false,containment:false,cssNamespace:"ui",cursor:"default",cursorAt:false,delay:0,distance:1,grid:false,handle:false,helper:"original",iframeFix:false,opacity:false,refreshPositions:false,revert:false,revertDuration:500,scope:"default",scroll:true,scrollSensitivity:20,scrollSpeed:20,snap:false,snapMode:"both",snapTolerance:20,stack:false,zIndex:false}});
A.ui.plugin.add("draggable","connectToSortable",{start:function(D,C){var B=A(this).data("draggable"),E=B.options;
B.sortables=[];A(E.connectToSortable).each(function(){A(typeof this=="string"?this+"":this).each(function(){if(A.data(this,"sortable")){var F=A.data(this,"sortable");
B.sortables.push({instance:F,shouldRevert:F.options.revert});F._refreshItems();F._trigger("activate",D,B)
}})})},stop:function(D,C){var B=A(this).data("draggable");A.each(B.sortables,function(){if(this.instance.isOver){this.instance.isOver=0;
B.cancelHelperRemoval=true;this.instance.cancelHelperRemoval=false;if(this.shouldRevert){this.instance.options.revert=true
}this.instance._mouseStop(D);this.instance.options.helper=this.instance.options._helper;
if(B.options.helper=="original"){this.instance.currentItem.css({top:"auto",left:"auto"})
}}else{this.instance.cancelHelperRemoval=false;this.instance._trigger("deactivate",D,B)
}})},drag:function(E,D){var B=A(this).data("draggable"),F=this;var C=function(I){var N=this.offset.click.top,M=this.offset.click.left;
var H=this.positionAbs.top,L=this.positionAbs.left;var J=I.height,O=I.width;var G=I.top,K=I.left;
return A.ui.isOver(H+N,L+M,G,K,J,O)};A.each(B.sortables,function(G){if(C.call(B,this.instance.containerCache)){if(!this.instance.isOver){this.instance.isOver=1;
this.instance.currentItem=A(F).clone().appendTo(this.instance.element).data("sortable-item",true);
this.instance.options._helper=this.instance.options.helper;this.instance.options.helper=function(){return D.helper[0]
};E.target=this.instance.currentItem[0];this.instance._mouseCapture(E,true);this.instance._mouseStart(E,true,true);
this.instance.offset.click.top=B.offset.click.top;this.instance.offset.click.left=B.offset.click.left;
this.instance.offset.parent.left-=B.offset.parent.left-this.instance.offset.parent.left;
this.instance.offset.parent.top-=B.offset.parent.top-this.instance.offset.parent.top;
B._trigger("toSortable",E);B.dropped=this.instance.element;this.instance.fromOutside=B
}if(this.instance.currentItem){this.instance._mouseDrag(E)}}else{if(this.instance.isOver){this.instance.isOver=0;
this.instance.cancelHelperRemoval=true;this.instance.options.revert=false;this.instance._mouseStop(E,true);
this.instance.options.helper=this.instance.options._helper;this.instance.currentItem.remove();
if(this.instance.placeholder){this.instance.placeholder.remove()}B._trigger("fromSortable",E);
B.dropped=false}}})}});A.ui.plugin.add("draggable","cursor",{start:function(D,C){var B=A("body"),E=A(this).data("draggable").options;
if(B.css("cursor")){E._cursor=B.css("cursor")}B.css("cursor",E.cursor)},stop:function(D,C){var B=A(this).data("draggable").options;
if(B._cursor){A("body").css("cursor",B._cursor)}}});A.ui.plugin.add("draggable","iframeFix",{start:function(D,C){var B=A(this).data("draggable").options;
A(B.iframeFix===true?"iframe":B.iframeFix).each(function(){A('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1000}).css(A(this).offset()).appendTo("body")
})},stop:function(C,B){A("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)
})}});A.ui.plugin.add("draggable","opacity",{start:function(D,C){var B=A(C.helper),E=A(this).data("draggable").options;
if(B.css("opacity")){E._opacity=B.css("opacity")}B.css("opacity",E.opacity)},stop:function(D,C){var B=A(this).data("draggable").options;
if(B._opacity){A(C.helper).css("opacity",B._opacity)}}});A.ui.plugin.add("draggable","scroll",{start:function(C,B){var D=A(this).data("draggable");
if(D.scrollParent[0]!=document&&D.scrollParent[0].tagName!="HTML"){D.overflowOffset=D.scrollParent.offset()
}},drag:function(E,D){var F=A(this).data("draggable"),C=F.options,B=false;if(F.scrollParent[0]!=document&&F.scrollParent[0].tagName!="HTML"){if(!C.axis||C.axis!="x"){if((F.overflowOffset.top+F.scrollParent[0].offsetHeight)-E.pageY<C.scrollSensitivity){F.scrollParent[0].scrollTop=B=F.scrollParent[0].scrollTop+C.scrollSpeed
}else{if(E.pageY-F.overflowOffset.top<C.scrollSensitivity){F.scrollParent[0].scrollTop=B=F.scrollParent[0].scrollTop-C.scrollSpeed
}}}if(!C.axis||C.axis!="y"){if((F.overflowOffset.left+F.scrollParent[0].offsetWidth)-E.pageX<C.scrollSensitivity){F.scrollParent[0].scrollLeft=B=F.scrollParent[0].scrollLeft+C.scrollSpeed
}else{if(E.pageX-F.overflowOffset.left<C.scrollSensitivity){F.scrollParent[0].scrollLeft=B=F.scrollParent[0].scrollLeft-C.scrollSpeed
}}}}else{if(!C.axis||C.axis!="x"){if(E.pageY-A(document).scrollTop()<C.scrollSensitivity){B=A(document).scrollTop(A(document).scrollTop()-C.scrollSpeed)
}else{if(A(window).height()-(E.pageY-A(document).scrollTop())<C.scrollSensitivity){B=A(document).scrollTop(A(document).scrollTop()+C.scrollSpeed)
}}}if(!C.axis||C.axis!="y"){if(E.pageX-A(document).scrollLeft()<C.scrollSensitivity){B=A(document).scrollLeft(A(document).scrollLeft()-C.scrollSpeed)
}else{if(A(window).width()-(E.pageX-A(document).scrollLeft())<C.scrollSensitivity){B=A(document).scrollLeft(A(document).scrollLeft()+C.scrollSpeed)
}}}}if(B!==false&&A.ui.ddmanager&&!C.dropBehaviour){A.ui.ddmanager.prepareOffsets(F,E)
}}});A.ui.plugin.add("draggable","snap",{start:function(D,C){var E=A(this).data("draggable"),B=E.options;
E.snapElements=[];A(B.snap.constructor!=String?(B.snap.items||":data(draggable)"):B.snap).each(function(){var G=A(this);
var F=G.offset();if(this!=E.element[0]){E.snapElements.push({item:this,width:G.outerWidth(),height:G.outerHeight(),top:F.top,left:F.left})
}})},drag:function(C,I){var T=A(this).data("draggable"),L=T.options;var P=L.snapTolerance;
var M=I.absolutePosition.left,Q=M+T.helperProportions.width,N=I.absolutePosition.top,R=N+T.helperProportions.height;
for(var J=T.snapElements.length-1;J>=0;J--){var K=T.snapElements[J].left,E=K+T.snapElements[J].width,G=T.snapElements[J].top,O=G+T.snapElements[J].height;
if(!((K-P<M&&M<E+P&&G-P<N&&N<O+P)||(K-P<M&&M<E+P&&G-P<R&&R<O+P)||(K-P<Q&&Q<E+P&&G-P<N&&N<O+P)||(K-P<Q&&Q<E+P&&G-P<R&&R<O+P))){if(T.snapElements[J].snapping){(T.options.snap.release&&T.options.snap.release.call(T.element,C,A.extend(T._uiHash(),{snapItem:T.snapElements[J].item})))
}T.snapElements[J].snapping=false;continue}if(L.snapMode!="inner"){var B=Math.abs(G-R)<=P;
var H=Math.abs(O-N)<=P;var D=Math.abs(K-Q)<=P;var S=Math.abs(E-M)<=P;if(B){I.position.top=T._convertPositionTo("relative",{top:G-T.helperProportions.height,left:0}).top-T.margins.top
}if(H){I.position.top=T._convertPositionTo("relative",{top:O,left:0}).top-T.margins.top
}if(D){I.position.left=T._convertPositionTo("relative",{top:0,left:K-T.helperProportions.width}).left-T.margins.left
}if(S){I.position.left=T._convertPositionTo("relative",{top:0,left:E}).left-T.margins.left
}}var F=(B||H||D||S);if(L.snapMode!="outer"){var B=Math.abs(G-N)<=P;var H=Math.abs(O-R)<=P;
var D=Math.abs(K-M)<=P;var S=Math.abs(E-Q)<=P;if(B){I.position.top=T._convertPositionTo("relative",{top:G,left:0}).top-T.margins.top
}if(H){I.position.top=T._convertPositionTo("relative",{top:O-T.helperProportions.height,left:0}).top-T.margins.top
}if(D){I.position.left=T._convertPositionTo("relative",{top:0,left:K}).left-T.margins.left
}if(S){I.position.left=T._convertPositionTo("relative",{top:0,left:E-T.helperProportions.width}).left-T.margins.left
}}if(!T.snapElements[J].snapping&&(B||H||D||S||F)){(T.options.snap.snap&&T.options.snap.snap.call(T.element,C,A.extend(T._uiHash(),{snapItem:T.snapElements[J].item})))
}T.snapElements[J].snapping=(B||H||D||S||F)}}});A.ui.plugin.add("draggable","stack",{start:function(D,C){var B=A(this).data("draggable").options;
var E=A.makeArray(A(B.stack.group)).sort(function(F,G){return(parseInt(A(F).css("zIndex"),10)||B.stack.min)-(parseInt(A(G).css("zIndex"),10)||B.stack.min)
});A(E).each(function(F){this.style.zIndex=B.stack.min+F});this[0].style.zIndex=B.stack.min+E.length
}});A.ui.plugin.add("draggable","zIndex",{start:function(D,C){var B=A(C.helper),E=A(this).data("draggable").options;
if(B.css("zIndex")){E._zIndex=B.css("zIndex")}B.css("zIndex",E.zIndex)},stop:function(D,C){var B=A(this).data("draggable").options;
if(B._zIndex){A(C.helper).css("zIndex",B._zIndex)}}})})(jQuery);(function(A){A.widget("ui.resizable",A.extend({},A.ui.mouse,{_init:function(){var G=this,D=this.options;
this.element.addClass("ui-resizable");A.extend(this,{_aspectRatio:!!(D.aspectRatio),aspectRatio:D.aspectRatio,originalElement:this.element,proportionallyResize:D.proportionallyResize?[D.proportionallyResize]:[],_helper:D.helper||D.ghost||D.animate?D.helper||"ui-resizable-helper":null});
if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){if(/relative/.test(this.element.css("position"))&&A.browser.opera){this.element.css({position:"relative",top:"auto",left:"auto"})
}this.element.wrap(A('<div class="ui-wrapper" style="overflow: hidden;"></div>').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));
this.element=this.element.parent();this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});
this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});
if(A.browser.safari&&D.preventDefault){this.originalElement.css("resize","none")}this.proportionallyResize.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));
this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()
}this.handles=D.handles||(!A(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});
if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"
}var C=this.handles.split(",");this.handles={};for(var E=0;E<C.length;E++){var I=A.trim(C[E]),F="ui-resizable-"+I;
var H=A('<div class="ui-resizable-handle '+F+'"></div>');if(/sw|se|ne|nw/.test(I)){H.css({zIndex:++D.zIndex})
}if("se"==I){H.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[I]=".ui-resizable-"+I;
this.element.append(H)}}this._renderAxis=function(L){L=L||this.element;for(var M in this.handles){if(this.handles[M].constructor==String){this.handles[M]=A(this.handles[M],this.element).show()
}if(D.transparent){this.handles[M].css({opacity:0})}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var N=A(this.handles[M],this.element),J=0;
J=/sw|ne|nw|se|n|s/.test(M)?N.outerHeight():N.outerWidth();var K=["padding",/ne|nw|n/.test(M)?"Top":/se|sw|s/.test(M)?"Bottom":/^e$/.test(M)?"Right":"Left"].join("");
if(!D.transparent){L.css(K,J)}this._proportionallyResize()}if(!A(this.handles[M]).length){continue
}}};this._renderAxis(this.element);this._handles=A(".ui-resizable-handle",this.element);
if(D.disableSelection){this._handles.disableSelection()}this._handles.mouseover(function(){if(!G.resizing){if(this.className){var J=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)
}G.axis=J&&J[1]?J[1]:"se"}});if(D.autoHide){this._handles.hide();A(this.element).addClass("ui-resizable-autohide").hover(function(){A(this).removeClass("ui-resizable-autohide");
G._handles.show()},function(){if(!G.resizing){A(this).addClass("ui-resizable-autohide");
G._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var C=function(D){A(D).removeClass("ui-resizable ui-resizable-disabled").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()
};if(this.elementIsWrapper){C(this.element);this.wrapper.parent().append(this.originalElement.css({position:this.wrapper.css("position"),width:this.wrapper.outerWidth(),height:this.wrapper.outerHeight(),top:this.wrapper.css("top"),left:this.wrapper.css("left")})).end().remove()
}C(this.originalElement)},_mouseCapture:function(C){var E=false;for(var D in this.handles){if(A(this.handles[D])[0]==C.target){E=true
}}return this.options.disabled||!!E},_mouseStart:function(G){var D=this.options,I=this.element.position(),E=this.element;
this.resizing=true;this.documentScroll={top:A(document).scrollTop(),left:A(document).scrollLeft()};
if(E.is(".ui-draggable")||(/absolute/).test(E.css("position"))){E.css({position:"absolute",top:I.top,left:I.left})
}if(A.browser.opera&&(/relative/).test(E.css("position"))){E.css({position:"relative",top:"auto",left:"auto"})
}this._renderProxy();var H=B(this.helper.css("left")),F=B(this.helper.css("top"));
if(D.containment){H+=A(D.containment).scrollLeft()||0;F+=A(D.containment).scrollTop()||0
}this.offset=this.helper.offset();this.position={left:H,top:F};this.size=this._helper?{width:E.outerWidth(),height:E.outerHeight()}:{width:E.width(),height:E.height()};
this.originalSize=this._helper?{width:E.outerWidth(),height:E.outerHeight()}:{width:E.width(),height:E.height()};
this.originalPosition={left:H,top:F};this.sizeDiff={width:E.outerWidth()-E.width(),height:E.outerHeight()-E.height()};
this.originalMousePosition={left:G.pageX,top:G.pageY};this.aspectRatio=(typeof D.aspectRatio=="number")?D.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);
if(D.preserveCursor){var C=A(".ui-resizable-"+this.axis).css("cursor");A("body").css("cursor",C=="auto"?this.axis+"-resize":C)
}this._propagate("start",G);return true},_mouseDrag:function(O){var I=this.helper,E=this.options,D={},N=this,F=this.originalMousePosition,G=this.axis;
var L=(O.pageX-F.left)||0,M=(O.pageY-F.top)||0;var C=this._change[G];if(!C){return false
}var H=C.apply(this,[O,L,M]),K=A.browser.msie&&A.browser.version<7,J=this.sizeDiff;
if(this._aspectRatio||O.shiftKey){H=this._updateRatio(H,O)}H=this._respectSize(H,O);
this._propagate("resize",O);I.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});
if(!this._helper&&this.proportionallyResize.length){this._proportionallyResize()}this._updateCache(H);
this._trigger("resize",O,this.ui());return false},_mouseStop:function(G){this.resizing=false;
var F=this.options,L=this;if(this._helper){var J=this.proportionallyResize,H=J.length&&(/textarea/i).test(J[0].nodeName),D=H&&A.ui.hasScroll(J[0],"left")?0:L.sizeDiff.height,I=H?0:L.sizeDiff.width;
var K={width:(L.size.width-I),height:(L.size.height-D)},E=(parseInt(L.element.css("left"),10)+(L.position.left-L.originalPosition.left))||null,C=(parseInt(L.element.css("top"),10)+(L.position.top-L.originalPosition.top))||null;
if(!F.animate){this.element.css(A.extend(K,{top:C,left:E}))}if(this._helper&&!F.animate){this._proportionallyResize()
}}if(F.preserveCursor){A("body").css("cursor","auto")}this._propagate("stop",G);if(this._helper){this.helper.remove()
}return false},_updateCache:function(D){var C=this.options;this.offset=this.helper.offset();
if(D.left){this.position.left=D.left}if(D.top){this.position.top=D.top}if(D.height){this.size.height=D.height
}if(D.width){this.size.width=D.width}},_updateRatio:function(H,F){var D=this.options,G=this.position,C=this.size,E=this.axis;
if(H.height){H.width=(C.height*this.aspectRatio)}else{if(H.width){H.height=(C.width/this.aspectRatio)
}}if(E=="sw"){H.left=G.left+(C.width-H.width);H.top=null}if(E=="nw"){H.top=G.top+(C.height-H.height);
H.left=G.left+(C.width-H.width)}return H},_respectSize:function(F,D){var Q=function(S){return !isNaN(parseInt(S,10))
};var G=this.helper,C=this.options,N=this._aspectRatio||D.shiftKey,E=this.axis,I=Q(F.width)&&C.maxWidth&&(C.maxWidth<F.width),M=Q(F.height)&&C.maxHeight&&(C.maxHeight<F.height),H=Q(F.width)&&C.minWidth&&(C.minWidth>F.width),L=Q(F.height)&&C.minHeight&&(C.minHeight>F.height);
if(H){F.width=C.minWidth}if(L){F.height=C.minHeight}if(I){F.width=C.maxWidth}if(M){F.height=C.maxHeight
}var K=this.originalPosition.left+this.originalSize.width,O=this.position.top+this.size.height;
var J=/sw|nw|w/.test(E),R=/nw|ne|n/.test(E);if(H&&J){F.left=K-C.minWidth}if(I&&J){F.left=K-C.maxWidth
}if(L&&R){F.top=O-C.minHeight}if(M&&R){F.top=O-C.maxHeight}var P=!F.width&&!F.height;
if(P&&!F.left&&F.top){F.top=null}else{if(P&&!F.top&&F.left){F.left=null}}return F
},_proportionallyResize:function(){var D=this.options;if(!this.proportionallyResize.length){return
}var G=this.helper||this.element;for(var E=0;E<this.proportionallyResize.length;E++){var H=this.proportionallyResize[E];
if(!this.borderDif){var F=[H.css("borderTopWidth"),H.css("borderRightWidth"),H.css("borderBottomWidth"),H.css("borderLeftWidth")],C=[H.css("paddingTop"),H.css("paddingRight"),H.css("paddingBottom"),H.css("paddingLeft")];
this.borderDif=A.map(F,function(J,L){var K=parseInt(J,10)||0,I=parseInt(C[L],10)||0;
return K+I})}if(A.browser.msie&&!(!(A(G).is(":hidden")||A(G).parents(":hidden").length))){continue
}H.css({height:(G.height()-this.borderDif[0]-this.borderDif[2])||0,width:(G.width()-this.borderDif[1]-this.borderDif[3])||0})
}},_renderProxy:function(){var E=this.element,D=this.options;this.elementOffset=E.offset();
if(this._helper){this.helper=this.helper||A('<div style="overflow:hidden;"></div>');
var G=A.browser.msie&&A.browser.version<7,C=(G?1:0),F=(G?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+F,height:this.element.outerHeight()+F,position:"absolute",left:this.elementOffset.left-C+"px",top:this.elementOffset.top-C+"px",zIndex:++D.zIndex});
this.helper.appendTo("body");if(D.disableSelection){this.helper.disableSelection()
}}else{this.helper=this.element}},_change:{e:function(C,E,D){return{width:this.originalSize.width+E}
},w:function(E,H,F){var D=this.options,G=this.originalSize,C=this.originalPosition;
return{left:C.left+H,width:G.width-H}},n:function(E,H,F){var D=this.options,G=this.originalSize,C=this.originalPosition;
return{top:C.top+F,height:G.height-F}},s:function(C,E,D){return{height:this.originalSize.height+D}
},se:function(C,E,D){return A.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[C,E,D]))
},sw:function(C,E,D){return A.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[C,E,D]))
},ne:function(C,E,D){return A.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[C,E,D]))
},nw:function(C,E,D){return A.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[C,E,D]))
}},_propagate:function(C,D){A.ui.plugin.call(this,C,[D,this.ui()]);(C!="resize"&&this._trigger(C,D,this.ui()))
},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}
}}));A.extend(A.ui.resizable,{version:"1.6rc6",eventPrefix:"resize",defaults:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,cancel:":input,option",containment:false,delay:0,disableSelection:true,distance:1,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,preserveCursor:true,preventDefault:true,proportionallyResize:false,transparent:false,zIndex:1000}});
A.ui.plugin.add("resizable","alsoResize",{start:function(E,D){var F=A(this).data("resizable"),C=F.options;
_store=function(G){A(G).each(function(){A(this).data("resizable-alsoresize",{width:parseInt(A(this).width(),10),height:parseInt(A(this).height(),10),left:parseInt(A(this).css("left"),10),top:parseInt(A(this).css("top"),10)})
})};if(typeof(C.alsoResize)=="object"&&!C.alsoResize.parentNode){if(C.alsoResize.length){C.alsoResize=C.alsoResize[0];
_store(C.alsoResize)}else{A.each(C.alsoResize,function(G,H){_store(G)})}}else{_store(C.alsoResize)
}},resize:function(E,H){var J=A(this).data("resizable"),D=J.options,I=J.originalSize,G=J.originalPosition;
var C={height:(J.size.height-I.height)||0,width:(J.size.width-I.width)||0,top:(J.position.top-G.top)||0,left:(J.position.left-G.left)||0},F=function(K,L){A(K).each(function(){var N=A(this),O=A(this).data("resizable-alsoresize"),P={},M=L&&L.length?L:["width","height","top","left"];
A.each(M||["width","height","top","left"],function(Q,S){var R=(O[S]||0)+(C[S]||0);
if(R&&R>=0){P[S]=R||null}});if(/relative/.test(N.css("position"))&&A.browser.opera){J._revertToRelativePosition=true;
N.css({position:"absolute",top:"auto",left:"auto"})}N.css(P)})};if(typeof(D.alsoResize)=="object"&&!D.alsoResize.nodeType){A.each(D.alsoResize,function(K,L){F(K,L)
})}else{F(D.alsoResize)}},stop:function(D,C){var E=A(this).data("resizable");if(E._revertToRelativePosition&&A.browser.opera){E._revertToRelativePosition=false;
el.css({position:"relative"})}A(this).removeData("resizable-alsoresize-start")}});
A.ui.plugin.add("resizable","animate",{stop:function(G,J){var M=A(this).data("resizable"),F=M.options;
var K=F.proportionallyResize,H=K&&(/textarea/i).test(K.get(0).nodeName),D=H&&A.ui.hasScroll(K.get(0),"left")?0:M.sizeDiff.height,I=H?0:M.sizeDiff.width;
var L={width:(M.size.width-I),height:(M.size.height-D)},E=(parseInt(M.element.css("left"),10)+(M.position.left-M.originalPosition.left))||null,C=(parseInt(M.element.css("top"),10)+(M.position.top-M.originalPosition.top))||null;
M.element.animate(A.extend(L,C&&E?{top:C,left:E}:{}),{duration:F.animateDuration,easing:F.animateEasing,step:function(){var N={width:parseInt(M.element.css("width"),10),height:parseInt(M.element.css("height"),10),top:parseInt(M.element.css("top"),10),left:parseInt(M.element.css("left"),10)};
if(K){K.css({width:N.width,height:N.height})}M._updateCache(N);M._propagate("resize",G)
}})}});A.ui.plugin.add("resizable","containment",{start:function(F,K){var P=A(this).data("resizable"),E=P.options,H=P.element;
var O=E.containment,N=(O instanceof A)?O.get(0):(/parent/.test(O))?H.parent().get(0):O;
if(!N){return}P.containerElement=A(N);if(/document/.test(O)||O==document){P.containerOffset={left:0,top:0};
P.containerPosition={left:0,top:0};P.parentData={element:A(document),left:0,top:0,width:A(document).width(),height:A(document).height()||document.body.parentNode.scrollHeight}
}else{var D=A(N),L=[];A(["Top","Right","Left","Bottom"]).each(function(R,Q){L[R]=B(D.css("padding"+Q))
});P.containerOffset=D.offset();P.containerPosition=D.position();P.containerSize={height:(D.innerHeight()-L[3]),width:(D.innerWidth()-L[1])};
var J=P.containerOffset,M=P.containerSize.height,G=P.containerSize.width,C=(A.ui.hasScroll(N,"left")?N.scrollWidth:G),I=(A.ui.hasScroll(N)?N.scrollHeight:M);
P.parentData={element:N,left:J.left,top:J.top,width:C,height:I}}},resize:function(G,J){var N=A(this).data("resizable"),F=N.options,C=N.containerSize,I=N.containerOffset,M=N.size,K=N.position,L=F._aspectRatio||G.shiftKey,O={top:0,left:0},E=N.containerElement;
if(E[0]!=document&&(/static/).test(E.css("position"))){O=I}if(K.left<(N._helper?I.left:0)){N.size.width=N.size.width+(N._helper?(N.position.left-I.left):(N.position.left-O.left));
if(L){N.size.height=N.size.width/F.aspectRatio}N.position.left=F.helper?I.left:0}if(K.top<(N._helper?I.top:0)){N.size.height=N.size.height+(N._helper?(N.position.top-I.top):N.position.top);
if(L){N.size.width=N.size.height*F.aspectRatio}N.position.top=N._helper?I.top:0}var H=Math.abs((N._helper?N.offset.left-O.left:(N.offset.left-O.left))+N.sizeDiff.width),D=Math.abs((N._helper?N.offset.top-O.top:(N.offset.top-I.top))+N.sizeDiff.height);
if(H+N.size.width>=N.parentData.width){N.size.width=N.parentData.width-H;if(L){N.size.height=N.size.width/F.aspectRatio
}}if(D+N.size.height>=N.parentData.height){N.size.height=N.parentData.height-D;if(L){N.size.width=N.size.height*F.aspectRatio
}}},stop:function(G,I){var L=A(this).data("resizable"),F=L.options,J=L.position,H=L.containerOffset,K=L.containerPosition,E=L.containerElement;
var D=A(L.helper),C=D.offset(),M=D.outerWidth()-L.sizeDiff.width,N=D.outerHeight()-L.sizeDiff.height;
if(L._helper&&!F.animate&&(/relative/).test(E.css("position"))){A(this).css({left:C.left-K.left-H.left,width:M,height:N})
}if(L._helper&&!F.animate&&(/static/).test(E.css("position"))){A(this).css({left:C.left-K.left-H.left,width:M,height:N})
}}});A.ui.plugin.add("resizable","ghost",{start:function(F,E){var G=A(this).data("resizable"),D=G.options,C=D.proportionallyResize,H=G.size;
G.ghost=G.originalElement.clone();G.ghost.css({opacity:0.25,display:"block",position:"relative",height:H.height,width:H.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof D.ghost=="string"?D.ghost:"");
G.ghost.appendTo(G.helper)},resize:function(E,D){var F=A(this).data("resizable"),C=F.options;
if(F.ghost){F.ghost.css({position:"relative",height:F.size.height,width:F.size.width})
}},stop:function(E,D){var F=A(this).data("resizable"),C=F.options;if(F.ghost&&F.helper){F.helper.get(0).removeChild(F.ghost.get(0))
}}});A.ui.plugin.add("resizable","grid",{resize:function(E,H){var M=A(this).data("resizable"),D=M.options,L=M.size,J=M.originalSize,G=M.originalPosition,F=M.axis,I=D._aspectRatio||E.shiftKey;
D.grid=typeof D.grid=="number"?[D.grid,D.grid]:D.grid;var C=Math.round((L.width-J.width)/(D.grid[0]||1))*(D.grid[0]||1),K=Math.round((L.height-J.height)/(D.grid[1]||1))*(D.grid[1]||1);
if(/^(se|s|e)$/.test(F)){M.size.width=J.width+C;M.size.height=J.height+K}else{if(/^(ne)$/.test(F)){M.size.width=J.width+C;
M.size.height=J.height+K;M.position.top=G.top-K}else{if(/^(sw)$/.test(F)){M.size.width=J.width+C;
M.size.height=J.height+K;M.position.left=G.left-C}else{M.size.width=J.width+C;M.size.height=J.height+K;
M.position.top=G.top-K;M.position.left=G.left-C}}}}});var B=function(C){return parseInt(C,10)||0
}})(jQuery);(function(C){C.fn.media=function(L,M,K){return this.each(function(){if(typeof L=="function"){K=M;
M=L;L={}}var P=H(this,L);if(typeof M=="function"){M(this,P)}var N=I();var R=N.exec(P.src)||[""];
P.type?R[0]=P.type:R.shift();for(var Q=0;Q<R.length;Q++){fn=R[Q].toLowerCase();if(G(fn[0])){fn="fn"+fn
}if(!C.fn.media[fn]){continue}var S=C.fn.media[fn+"_player"];if(!P.params){P.params={}
}if(S){var T=S.autoplayAttr=="autostart";P.params[S.autoplayAttr||"autoplay"]=T?(P.autoplay?1:0):P.autoplay?true:false
}var O=C.fn.media[fn](this,P);O.css("backgroundColor",P.bgColor).width(P.width);if(typeof K=="function"){K(this,O[0],P,S.name)
}break}})};C.fn.media.mapFormat=function(L,K){if(!L||!K||!C.fn.media.defaults.players[K]){return
}L=L.toLowerCase();if(G(L[0])){L="fn"+L}C.fn.media[L]=C.fn.media[K];C.fn.media[L+"_player"]=C.fn.media.defaults.players[K]
};C.fn.media.defaults={width:400,height:400,autoplay:0,bgColor:"#ffffff",params:{wmode:"transparent"},attrs:{},flvKeyName:"file",flashvars:{},flashVersion:"7",expressInstaller:null,flvPlayer:"mediaplayer.swf",mp3Player:"mediaplayer.swf",silverlight:{inplaceInstallPrompt:"true",isWindowless:"true",framerate:"24",version:"0.9",onError:null,onLoad:null,initParams:null,userContext:null}};
C.fn.media.defaults.players={flash:{name:"flash",types:"flv,mp3,swf",oAttrs:{classid:"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000",type:"application/x-oleobject",codebase:"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version="+C.fn.media.defaults.flashVersion},eAttrs:{type:"application/x-shockwave-flash",pluginspage:"http://www.adobe.com/go/getflashplayer"}},quicktime:{name:"quicktime",types:"aif,aiff,aac,au,bmp,gsm,mov,mid,midi,mpg,mpeg,mp4,m4a,psd,qt,qtif,qif,qti,snd,tif,tiff,wav,3g2,3gp",oAttrs:{classid:"clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B",codebase:"http://www.apple.com/qtactivex/qtplugin.cab"},eAttrs:{pluginspage:"http://www.apple.com/quicktime/download/"}},realplayer:{name:"real",types:"ra,ram,rm,rpm,rv,smi,smil",autoplayAttr:"autostart",oAttrs:{classid:"clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"},eAttrs:{type:"audio/x-pn-realaudio-plugin",pluginspage:"http://www.real.com/player/"}},winmedia:{name:"winmedia",types:"asf,avi,wma,wmv",autoplayAttr:"autostart",oUrl:"url",oAttrs:{classid:"clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6",type:"application/x-oleobject"},eAttrs:{type:C.browser.mozilla&&D()?"application/x-ms-wmp":"application/x-mplayer2",pluginspage:"http://www.microsoft.com/Windows/MediaPlayer/"}},iframe:{name:"iframe",types:"html,pdf"},silverlight:{name:"silverlight",types:"xaml"}};
function D(){var K=navigator.plugins;for(i=0;i<K.length;i++){var L=K[i];if(L["filename"]=="np-mswmp.dll"){return true
}}return false}var F=1;for(var E in C.fn.media.defaults.players){var B=C.fn.media.defaults.players[E].types;
C.each(B.split(","),function(L,K){if(G(K[0])){K="fn"+K}C.fn.media[K]=C.fn.media[E]=J(E);
C.fn.media[K+"_player"]=C.fn.media.defaults.players[E]})}function I(){var L="";for(var K in C.fn.media.defaults.players){if(L.length){L+=","
}L+=C.fn.media.defaults.players[K].types}return new RegExp("\\.("+L.replace(/,/g,"|")+")($|&|\\?)")
}function J(K){return function(L,M){return A(L,M,K)}}function G(K){return"0123456789".indexOf(K)>-1
}function H(P,K){K=K||{};var L=C(P);var M=P.className||"";var S=C.metadata?L.metadata():C.meta?L.data():{};
S=S||{};var U=S.width||parseInt(((M.match(/w:(\d+)/)||[])[1]||0));var V=S.height||parseInt(((M.match(/h:(\d+)/)||[])[1]||0));
if(U){S.width=U}if(V){S.height=V}if(M){S.cls=M}var N=C.fn.media.defaults;var O=K;
var T=S;var R={params:{bgColor:K.bgColor||C.fn.media.defaults.bgColor}};var Q=C.extend({},N,O,T);
C.each(["attrs","params","flashvars","silverlight"],function(X,W){Q[W]=C.extend({},R[W]||{},N[W]||{},O[W]||{},T[W]||{})
});if(typeof Q.caption=="undefined"){Q.caption=L.text()}Q.src=Q.src||L.attr("href")||L.attr("src")||"unknown";
return Q}C.fn.media.swf=function(N,S){if(!window.SWFObject&&!window.swfobject){if(S.flashvars){var M=[];
for(var O in S.flashvars){M.push(O+"="+S.flashvars[O])}if(!S.params){S.params={}}S.params.flashvars=M.join("&")
}return A(N,S,"flash")}var K=N.id?(' id="'+N.id+'"'):"";var L=S.cls?(' class="'+S.cls+'"'):"";
var Q=C("<div"+K+L+">");if(window.swfobject){C(N).after(Q).appendTo(Q);if(!N.id){N.id="movie_player_"+F++
}swfobject.embedSWF(S.src,N.id,S.width,S.height,S.flashVersion,S.expressInstaller,S.flashvars,S.params,S.attrs)
}else{C(N).after(Q).remove();var R=new SWFObject(S.src,"movie_player_"+F++,S.width,S.height,S.flashVersion,S.bgColor);
if(S.expressInstaller){R.useExpressInstall(S.expressInstaller)}for(var P in S.params){if(P!="bgColor"){R.addParam(P,S.params[P])
}}for(var O in S.flashvars){R.addVariable(O,S.flashvars[O])}R.write(Q[0])}if(S.caption){C("<div>").appendTo(Q).html(S.caption)
}return Q};C.fn.media.flv=C.fn.media.mp3=function(M,K){var P=K.src;var O=/\.mp3\b/i.test(P)?C.fn.media.defaults.mp3Player:C.fn.media.defaults.flvPlayer;
var L=K.flvKeyName;P=encodeURIComponent(P);K.src=O;K.src=K.src+"?"+L+"="+(P);var N={};
N[L]=P;K.flashvars=C.extend({},N,K.flashvars);return C.fn.media.swf(M,K)};C.fn.media.xaml=function(O,R){if(!window.Sys||!window.Sys.Silverlight){if(C.fn.media.xaml.warning){return
}C.fn.media.xaml.warning=1;alert("You must include the Silverlight.js script.");return
}var M={width:R.width,height:R.height,background:R.bgColor,inplaceInstallPrompt:R.silverlight.inplaceInstallPrompt,isWindowless:R.silverlight.isWindowless,framerate:R.silverlight.framerate,version:R.silverlight.version};
var N={onError:R.silverlight.onError,onLoad:R.silverlight.onLoad};var P=O.id?(' id="'+O.id+'"'):"";
var K=R.id||"AG"+F++;var L=R.cls?(' class="'+R.cls+'"'):"";var Q=C("<div"+P+L+">");
C(O).after(Q).remove();Sys.Silverlight.createObjectEx({source:R.src,initParams:R.silverlight.initParams,userContext:R.silverlight.userContext,id:K,parentElement:Q[0],properties:M,events:N});
if(R.caption){C("<div>").appendTo(Q).html(R.caption)}return Q};function A(R,W,S){var P=C(R);
var O=C.fn.media.defaults.players[S];if(S=="iframe"){var O=C('<iframe width="'+W.width+'" height="'+W.height+'" >');
O.attr("src",W.src);O.css("backgroundColor",O.bgColor)}else{if(C.browser.msie){var Q=['<object width="'+W.width+'" height="'+W.height+'" '];
for(var M in W.attrs){Q.push(M+'="'+W.attrs[M]+'" ')}for(var M in O.oAttrs||{}){var V=O.oAttrs[M];
if(M=="codebase"&&window.location.protocol=="https"){V=V.replace("http","https")}Q.push(M+'="'+V+'" ')
}Q.push("></object>");var T=['<param name="'+(O.oUrl||"src")+'" value="'+W.src+'">'];
for(var M in W.params){T.push('<param name="'+M+'" value="'+W.params[M]+'">')}var O=document.createElement(Q.join(""));
for(var K=0;K<T.length;K++){O.appendChild(document.createElement(T[K]))}}else{var Q=['<embed width="'+W.width+'" height="'+W.height+'" style="display:block"'];
if(W.src){Q.push(' src="'+W.src+'" ')}for(var M in W.attrs){Q.push(M+'="'+W.attrs[M]+'" ')
}for(var M in O.eAttrs||{}){Q.push(M+'="'+O.eAttrs[M]+'" ')}for(var M in W.params){Q.push(M+'="'+W.params[M]+'" ')
}Q.push("></embed>")}}var L=R.id?(' id="'+R.id+'"'):"";var N=W.cls?(' class="'+W.cls+'"'):"";
var U=C("<div"+L+N+">");P.after(U).remove();(C.browser.msie||S=="iframe")?U.append(O):U.html(Q.join(""));
if(W.caption){C("<div>").appendTo(U).html(W.caption)}return U}})(jQuery);(function($){$.extend({metadata:{defaults:{type:"class",name:"metadata",cre:/({.*})/,single:"metadata"},setType:function(type,name){this.defaults.type=type;
this.defaults.name=name},get:function(elem,opts){var settings=$.extend({},this.defaults,opts);
if(!settings.single.length){settings.single="metadata"}var data=$.data(elem,settings.single);
if(data){return data}data="{}";if(settings.type=="class"){var m=settings.cre.exec(elem.className);
if(m){data=m[1]}}else{if(settings.type=="elem"){if(!elem.getElementsByTagName){return undefined
}var e=elem.getElementsByTagName(settings.name);if(e.length){data=$.trim(e[0].innerHTML)
}}else{if(elem.getAttribute!=undefined){var attr=elem.getAttribute(settings.name);
if(attr){data=attr}}}}if(data.indexOf("{")<0){data="{"+data+"}"}data=eval("("+data+")");
$.data(elem,settings.single,data);return data}}});$.fn.metadata=function(opts){return $.metadata.get(this[0],opts)
}})(jQuery);