(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 e=V(c||[]);e.context=document;e.selector=d;return e}}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(e){for(d in c){V.attr(a?this.style:this,d,V.prop(this,c[d],a,e,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 e=this.outerHTML;
if(!e){var f=this.ownerDocument.createElement("div");f.appendChild(this.cloneNode(true));e=f.innerHTML}return V.clean([e.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 e=V.data(b[d],"events");for(var g in e){for(var f in e[g]){V.event.add(this,g,e[g][f],e[g][f].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(g){if(g===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 e=a.selectedIndex,h=[],j=a.options,d=a.type=="select-one";if(e<0){return null}for(var b=d?e:0,f=d?e+1:j.length;b<f;b++){var c=j[b];if(c.selected){g=V(c).val();if(d){return g}h.push(g)}}return h}return(a.value||"").replace(/\r/g,"")}return ac}if(typeof g==="number"){g+=""}return this.each(function(){if(this.nodeType!=1){return}if(V.isArray(g)&&/radio|checkbox/.test(this.type)){this.checked=(V.inArray(this.value,g)>=0||V.inArray(this.name,g)>=0)}else{if(V.nodeName(this,"select")){var k=V.makeArray(g);V("option",this).each(function(){this.selected=(V.inArray(this.value,k)>=0||V.inArray(this.text,k)>=0)
});if(!k.length){this.selectedIndex=-1}}else{this.value=g}}})},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(f,j,h){if(this[0]){var e=(this[0].ownerDocument||this[0]).createDocumentFragment(),b=V.clean(f,(this[0].ownerDocument||this[0]),e),d=e.firstChild;if(d){for(var c=0,a=this.length;c<a;c++){h.call(g(this[c],d),this.length>1||c>0?e.cloneNode(true):e)}}if(b){V.each(b,F)}}return this;function g(k,l){return j&&V.nodeName(k,"table")&&V.nodeName(l,"tr")?(k.getElementsByTagName("tbody")[0]||k.appendChild(k.ownerDocument.createElement("tbody"))):k
}}};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 f=arguments[0]||{},d=1,e=arguments.length,a=false,c;if(typeof f==="boolean"){a=f;f=arguments[1]||{};d=2}if(typeof f!=="object"&&!V.isFunction(f)){f={}}if(e==d){f=this;--d}for(;d<e;d++){if((c=arguments[d])!=null){for(var b in c){var g=f[b],h=c[b];if(f===h){continue}if(a&&h&&typeof h==="object"&&!h.nodeType){f[b]=V.extend(a,g||(h.length!=null?[]:{}),h)}else{if(h!==ac){f[b]=h}}}}}return f};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,g,c){var f,d=0,e=a.length;if(c){if(e===ac){for(f in a){if(g.apply(a[f],c)===false){break}}}else{for(;d<e;){if(g.apply(a[d++],c)===false){break}}}}else{if(e===ac){for(f in a){if(g.call(a[f],f,a[f])===false){break}}}else{for(var b=a[0];d<e&&g.call(b,d,b)!==false;b=a[++d]){}}}return a},prop:function(b,c,a,e,d){if(V.isFunction(c)){c=c.call(b,e)}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 e in a){d[e]=b.style[e];b.style[e]=a[e]}c.call(b);for(var e in a){b.style[e]=d[e]}},css:function(d,b,f,a){if(b=="width"||b=="height"){var h,c={position:"absolute",visibility:"hidden",display:"block"},g=b=="width"?["Left","Right"]:["Top","Bottom"];function e(){h=b=="width"?d.offsetWidth:d.offsetHeight;if(a==="border"){return}V.each(g,function(){if(!a){h-=parseFloat(V.curCSS(d,"padding"+this,true))||0}if(a==="margin"){h+=parseFloat(V.curCSS(d,"margin"+this,true))||0}else{h-=parseFloat(V.curCSS(d,"border"+this+"Width",true))||0}})}if(d.offsetWidth!==0){e()}else{V.swap(d,c,e)}return Math.max(0,Math.round(h))}return V.curCSS(d,b,f)},curCSS:function(e,b,c){var h,a=e.style;if(b=="opacity"&&!V.support.opacity){h=V.attr(a,"opacity");return h==""?"1":h}if(b.match(/float/i)){b=N}if(!c&&a&&a[b]){h=a[b]}else{if(H.getComputedStyle){if(b.match(/float/i)){b="float"}b=b.replace(/([A-Z])/g,"-$1").toLowerCase();
var j=H.getComputedStyle(e,null);if(j){h=j.getPropertyValue(b)}if(b=="opacity"&&h==""){h="1"}}else{if(e.currentStyle){var f=b.replace(/\-(\w)/g,function(k,l){return l.toUpperCase()});h=e.currentStyle[b]||e.currentStyle[f];if(!/^\d+(px)?$/i.test(h)&&/^\d/.test(h)){var d=a.left,g=e.runtimeStyle.left;e.runtimeStyle.left=e.currentStyle.left;a.left=h||0;h=a.pixelLeft+"px";a.left=d;e.runtimeStyle.left=g}}}}return h},clean:function(b,g,e){g=g||document;if(typeof g.createElement==="undefined"){g=g.ownerDocument||g[0]&&g[0].ownerDocument||document}if(!e&&b.length===1&&typeof b[0]==="string"){var d=/^<(\w+)\s*\/?>$/.exec(b[0]);if(d){return[g.createElement(d[1])]}}var c=[],a=[],h=g.createElement("div");V.each(b,function(p,l){if(typeof l==="number"){l+=""}if(!l){return}if(typeof l==="string"){l=l.replace(/(<(\w+)[^>]*?)\/>/g,function(r,s,q){return q.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?r:s+"></"+q+">"});var m=l.replace(/^\s+/,"").substring(0,10).toLowerCase();var j=!m.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!m.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||m.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!m.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!m.indexOf("<td")||!m.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!m.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!V.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];
h.innerHTML=j[1]+l+j[2];while(j[0]--){h=h.lastChild}if(!V.support.tbody){var k=/<tbody/i.test(l),o=!m.indexOf("<table")&&!k?h.firstChild&&h.firstChild.childNodes:j[1]=="<table>"&&!k?h.childNodes:[];for(var n=o.length-1;n>=0;--n){if(V.nodeName(o[n],"tbody")&&!o[n].childNodes.length){o[n].parentNode.removeChild(o[n])}}}if(!V.support.leadingWhitespace&&/^\s/.test(l)){h.insertBefore(g.createTextNode(l.match(/^\s*/)[0]),h.firstChild)}l=V.makeArray(h.childNodes)}if(l.nodeType){c.push(l)}else{c=V.merge(c,l)}});if(e){for(var f=0;c[f];f++){if(V.nodeName(c[f],"script")&&(!c[f].type||c[f].type.toLowerCase()==="text/javascript")){a.push(c[f].parentNode?c[f].parentNode.removeChild(c[f]):c[f])}else{if(c[f].nodeType===1){c.splice.apply(c,[f+1,0].concat(V.makeArray(c[f].getElementsByTagName("script"))))}e.appendChild(c[f])}}return a}return c},attr:function(f,c,g){if(!f||f.nodeType==3||f.nodeType==8){return ac}var d=!V.isXMLDoc(f),h=g!==ac;c=d&&V.props[c]||c;if(f.tagName){var b=/href|src|style/.test(c);if(c=="selected"&&f.parentNode){f.parentNode.selectedIndex
}if(c in f&&d&&!b){if(h){if(c=="type"&&V.nodeName(f,"input")&&f.parentNode){throw"type property can't be changed"}f[c]=g}if(V.nodeName(f,"form")&&f.getAttributeNode(c)){return f.getAttributeNode(c).nodeValue}if(c=="tabIndex"){var e=f.getAttributeNode("tabIndex");return e&&e.specified?e.value:f.nodeName.match(/(button|input|object|select|textarea)/i)?0:f.nodeName.match(/^(a|area)$/i)&&f.href?0:ac}return f[c]}if(!V.support.style&&d&&c=="style"){return V.attr(f.style,"cssText",g)}if(h){f.setAttribute(c,""+g)}var a=!V.support.hrefNormalized&&d&&b?f.getAttribute(c,2):f.getAttribute(c);return a===null?ac:a}if(!V.support.opacity&&c=="opacity"){if(h){f.zoom=1;f.filter=(f.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(g)+""=="NaN"?"":"alpha(opacity="+g*100+")")}return f.filter&&f.filter.indexOf("opacity=")>=0?(parseFloat(f.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}c=c.replace(/-([a-z])/ig,function(j,k){return k.toUpperCase()});if(h){f[c]=g}return f[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 e=0,a,c=b.length;if(!V.support.getAll){while((a=d[e++])!=null){if(a.nodeType!=8){b[c++]=a}}}else{while((a=d[e++])!=null){b[c++]=a}}return b},unique:function(g){var c=[],f={};try{for(var a=0,d=g.length;a<d;a++){var b=V.data(g[a]);if(!f[b]){f[b]=true;c.push(g[a])}}}catch(e){c=g}return c},grep:function(f,e,b){var a=[];for(var c=0,d=f.length;c<d;c++){if(!b!=!e(f[c],c)){a.push(f[c])}}return a},map:function(e,b){var f=[];for(var a=0,c=e.length;a<c;a++){var d=b(e[a],a);if(d!=null){f[f.length]=d}}return f.concat.apply([],f)}});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 g=[],d=V(c);for(var h=0,e=d.length;h<e;h++){var f=(h>0?this.clone(true):this).get();V.fn[b].apply(V(d[h]),f);g=g.concat(f)}return this.pushStack(g,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 e=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,l=0,g=Object.prototype.toString;
var b=function(ai,v,z,q){z=z||[];v=v||document;if(v.nodeType!==1&&v.nodeType!==9){return[]}if(!ai||typeof ai!=="string"){return z}var aj=[],x,s,r,u,A,w,D=true;e.lastIndex=0;while((x=e.exec(ai))!==null){aj.push(x[1]);if(x[2]){w=RegExp.rightContext;break}}if(aj.length>1&&m.exec(ai)){if(aj.length===2&&h.relative[aj[0]]){s=j(aj[0]+aj[1],v)}else{s=h.relative[aj[0]]?[v]:b(aj.shift(),v);while(aj.length){ai=aj.shift();if(h.relative[ai]){ai+=aj.shift()}s=j(ai,s)}}}else{var C=q?{expr:aj.pop(),set:a(q)}:b.find(aj.pop(),aj.length===1&&v.parentNode?v.parentNode:v,d(v));s=b.filter(C.expr,C.set);if(aj.length>0){r=a(s)}else{D=false}while(aj.length){var B=aj.pop(),y=B;if(!h.relative[B]){B=""}else{y=aj.pop()}if(y==null){y=v}h.relative[B](r,y,d(v))}}if(!r){r=s}if(!r){throw"Syntax error, unrecognized expression: "+(B||ai)}if(g.call(r)==="[object Array]"){if(!D){z.push.apply(z,r)}else{if(v.nodeType===1){for(var t=0;r[t]!=null;t++){if(r[t]&&(r[t]===true||r[t].nodeType===1&&k(v,r[t]))){z.push(s[t])}}}else{for(var t=0;r[t]!=null;t++){if(r[t]&&r[t].nodeType===1){z.push(s[t])
}}}}}else{a(r,z)}if(w){b(w,v,z,q);if(c){hasDuplicate=false;z.sort(c);if(hasDuplicate){for(var t=1;t<z.length;t++){if(z[t]===z[t-1]){z.splice(t--,1)}}}}}return z};b.matches=function(q,r){return b(q,null,null,r)};b.find=function(q,r,v){var y,w;if(!q){return[]}for(var u=0,t=h.order.length;u<t;u++){var x=h.order[u],w;if((w=h.match[x].exec(q))){var s=RegExp.leftContext;if(s.substr(s.length-1)!=="\\"){w[1]=(w[1]||"").replace(/\\/g,"");y=h.find[x](w,r,v);if(y!=null){q=q.replace(h.match[x],"");break}}}}if(!y){y=r.getElementsByTagName("*")}return{set:y,expr:q}};b.filter=function(v,q,z,y){var x=v,r=[],u=q,ai,C,aj=q&&q[0]&&d(q[0]);while(v&&q.length){for(var A in h.filter){if((ai=h.match[A].exec(v))!=null){var w=h.filter[A],B,t;C=false;if(u==r){r=[]}if(h.preFilter[A]){ai=h.preFilter[A](ai,u,z,r,y,aj);if(!ai){C=B=true}else{if(ai===true){continue}}}if(ai){for(var D=0;(t=u[D])!=null;D++){if(t){B=w(t,ai,D,u);var s=y^!!B;if(z&&B!=null){if(s){C=true}else{u[D]=false}}else{if(s){r.push(t);C=true}}}}}if(B!==ac){if(!z){u=r}v=v.replace(h.match[A],"");
if(!C){return[]}break}}}if(v==x){if(C==null){throw"Syntax error, unrecognized expression: "+v}else{break}}x=v}return u};var h=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(q){return q.getAttribute("href")}},relative:{"+":function(q,r,y){var w=typeof r==="string",v=w&&!/\W/.test(r),x=w&&!v;if(v&&!y){r=r.toUpperCase()}for(var u=0,t=q.length,s;u<t;u++){if((s=q[u])){while((s=s.previousSibling)&&s.nodeType!==1){}q[u]=x||s&&s.nodeName===r?s||false:s===r}}if(x){b.filter(r,q,true)}},">":function(x,s,q){var v=typeof s==="string";
if(v&&!/\W/.test(s)){s=q?s:s.toUpperCase();for(var t=0,r=x.length;t<r;t++){var w=x[t];if(w){var u=w.parentNode;x[t]=u.nodeName===s?u:false}}}else{for(var t=0,r=x.length;t<r;t++){var w=x[t];if(w){x[t]=v?w.parentNode:w.parentNode===s}}if(v){b.filter(s,x,true)}}},"":function(u,s,r){var t=l++,v=f;if(!s.match(/\W/)){var q=s=r?s:s.toUpperCase();v=p}v("parentNode",s,t,u,q,r)},"~":function(u,s,r){var t=l++,v=f;if(typeof s==="string"&&!s.match(/\W/)){var q=s=r?s:s.toUpperCase();v=p}v("previousSibling",s,t,u,q,r)}},find:{ID:function(r,s,t){if(typeof s.getElementById!=="undefined"&&!t){var q=s.getElementById(r[1]);return q?[q]:[]}},NAME:function(t,r,s){if(typeof r.getElementsByName!=="undefined"){var w=[],q=r.getElementsByName(t[1]);for(var u=0,v=q.length;u<v;u++){if(q[u].getAttribute("name")===t[1]){w.push(q[u])}}return w.length===0?null:w}},TAG:function(q,r){return r.getElementsByTagName(q[1])}},preFilter:{CLASS:function(u,s,t,r,x,q){u=" "+u[1].replace(/\\/g,"")+" ";if(q){return u}for(var v=0,w;(w=s[v])!=null;v++){if(w){if(x^(w.className&&(" "+w.className+" ").indexOf(u)>=0)){if(!t){r.push(w)
}}else{if(t){s[v]=false}}}}return false},ID:function(q){return q[1].replace(/\\/g,"")},TAG:function(r,q){for(var s=0;q[s]===false;s++){}return q[s]&&d(q[s])?r[1]:r[1].toUpperCase()},CHILD:function(q){if(q[1]=="nth"){var r=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(q[2]=="even"&&"2n"||q[2]=="odd"&&"2n+1"||!/\D/.test(q[2])&&"0n+"+q[2]||q[2]);q[2]=(r[1]+(r[2]||1))-0;q[3]=r[3]-0}q[0]=l++;return q},ATTR:function(q,s,t,r,v,w){var u=q[1].replace(/\\/g,"");if(!w&&h.attrMap[u]){q[1]=h.attrMap[u]}if(q[2]==="~="){q[4]=" "+q[4]+" "}return q},PSEUDO:function(q,s,t,r,v){if(q[1]==="not"){if(q[3].match(e).length>1||/^\w/.test(q[3])){q[3]=b(q[3],null,null,s)}else{var u=b.filter(q[3],s,t,true^v);if(!t){r.push.apply(r,u)}return false}}else{if(h.match.POS.test(q[0])||h.match.CHILD.test(q[0])){return true}}return q},POS:function(q){q.unshift(true);return q}},filters:{enabled:function(q){return q.disabled===false&&q.type!=="hidden"},disabled:function(q){return q.disabled===true},checked:function(q){return q.checked===true},selected:function(q){q.parentNode.selectedIndex;
return q.selected===true},parent:function(q){return !!q.firstChild},empty:function(q){return !q.firstChild},has:function(s,r,q){return !!b(q[3],s).length},header:function(q){return/h\d/i.test(q.nodeName)},text:function(q){return"text"===q.type},radio:function(q){return"radio"===q.type},checkbox:function(q){return"checkbox"===q.type},file:function(q){return"file"===q.type},password:function(q){return"password"===q.type},submit:function(q){return"submit"===q.type},image:function(q){return"image"===q.type},reset:function(q){return"reset"===q.type},button:function(q){return"button"===q.type||q.nodeName.toUpperCase()==="BUTTON"},input:function(q){return/input|select|textarea|button/i.test(q.nodeName)}},setFilters:{first:function(r,q){return q===0},last:function(s,r,q,t){return r===t.length-1},even:function(r,q){return q%2===0},odd:function(r,q){return q%2===1},lt:function(s,r,q){return r<q[3]-0},gt:function(s,r,q){return r>q[3]-0},nth:function(s,r,q){return q[3]-0==r},eq:function(s,r,q){return q[3]-0==r}},filter:{PSEUDO:function(x,t,u,q){var s=t[1],v=h.filters[s];
if(v){return v(x,u,t,q)}else{if(s==="contains"){return(x.textContent||x.innerText||"").indexOf(t[3])>=0}else{if(s==="not"){var w=t[3];for(var u=0,r=w.length;u<r;u++){if(w[u]===x){return false}}return true}}}},CHILD:function(s,v){var z=v[1],t=s;switch(z){case"only":case"first":while(t=t.previousSibling){if(t.nodeType===1){return false}}if(z=="first"){return true}t=s;case"last":while(t=t.nextSibling){if(t.nodeType===1){return false}}return true;case"nth":var u=v[2],q=v[3];if(u==1&&q==0){return true}var y=v[0],w=s.parentNode;if(w&&(w.sizcache!==y||!s.nodeIndex)){var x=0;for(t=w.firstChild;t;t=t.nextSibling){if(t.nodeType===1){t.nodeIndex=++x}}w.sizcache=y}var r=s.nodeIndex-q;if(u==0){return r==0}else{return(r%u==0&&r/u>=0)}}},ID:function(r,q){return r.nodeType===1&&r.getAttribute("id")===q},TAG:function(r,q){return(q==="*"&&r.nodeType===1)||r.nodeName===q},CLASS:function(r,q){return(" "+(r.className||r.getAttribute("class"))+" ").indexOf(q)>-1},ATTR:function(r,u){var t=u[1],v=h.attrHandle[t]?h.attrHandle[t](r):r[t]!=null?r[t]:r.getAttribute(t),s=v+"",q=u[2],w=u[4];
return v==null?q==="!=":q==="="?s===w:q==="*="?s.indexOf(w)>=0:q==="~="?(" "+s+" ").indexOf(w)>=0:!w?s&&v!==false:q==="!="?s!=w:q==="^="?s.indexOf(w)===0:q==="$="?s.substr(s.length-w.length)===w:q==="|="?s===w||s.substr(0,w.length+1)===w+"-":false},POS:function(q,s,t,r){var v=s[2],u=h.setFilters[v];if(u){return u(q,t,s,r)}}}};var m=h.match.POS;for(var o in h.match){h.match[o]=RegExp(h.match[o].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var a=function(r,q){r=Array.prototype.slice.call(r);if(q){q.push.apply(q,r);return q}return r};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(n){a=function(q,u){var s=u||[];if(g.call(q)==="[object Array]"){Array.prototype.push.apply(s,q)}else{if(typeof q.length==="number"){for(var t=0,r=q.length;t<r;t++){s.push(q[t])}}else{for(var t=0;q[t];t++){s.push(q[t])}}}return s}}var c;if(document.documentElement.compareDocumentPosition){c=function(r,q){var s=r.compareDocumentPosition(q)&4?-1:r===q?0:1;if(s===0){hasDuplicate=true}return s}}else{if("sourceIndex" in document.documentElement){c=function(r,q){var s=r.sourceIndex-q.sourceIndex;
if(s===0){hasDuplicate=true}return s}}else{if(document.createRange){c=function(u,s){var t=u.ownerDocument.createRange(),r=s.ownerDocument.createRange();t.selectNode(u);t.collapse(true);r.selectNode(s);r.collapse(true);var q=t.compareBoundaryPoints(Range.START_TO_END,r);if(q===0){hasDuplicate=true}return q}}}}(function(){var r=document.createElement("form"),s="script"+(new Date).getTime();r.innerHTML="<input name='"+s+"'/>";var q=document.documentElement;q.insertBefore(r,q.firstChild);if(!!document.getElementById(s)){h.find.ID=function(t,u,v){if(typeof u.getElementById!=="undefined"&&!v){var w=u.getElementById(t[1]);return w?w.id===t[1]||typeof w.getAttributeNode!=="undefined"&&w.getAttributeNode("id").nodeValue===t[1]?[w]:ac:[]}};h.filter.ID=function(u,v){var t=typeof u.getAttributeNode!=="undefined"&&u.getAttributeNode("id");return u.nodeType===1&&t&&t.nodeValue===v}}q.removeChild(r)})();(function(){var q=document.createElement("div");q.appendChild(document.createComment(""));if(q.getElementsByTagName("*").length>0){h.find.TAG=function(t,s){var r=s.getElementsByTagName(t[1]);
if(t[1]==="*"){var v=[];for(var u=0;r[u];u++){if(r[u].nodeType===1){v.push(r[u])}}r=v}return r}}q.innerHTML="<a href='#'></a>";if(q.firstChild&&typeof q.firstChild.getAttribute!=="undefined"&&q.firstChild.getAttribute("href")!=="#"){h.attrHandle.href=function(r){return r.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var q=b,r=document.createElement("div");r.innerHTML="<p class='TEST'></p>";if(r.querySelectorAll&&r.querySelectorAll(".TEST").length===0){return}b=function(t,s,v,w){s=s||document;if(!w&&s.nodeType===9&&!d(s)){try{return a(s.querySelectorAll(t),v)}catch(u){}}return q(t,s,v,w)};b.find=q.find;b.filter=q.filter;b.selectors=q.selectors;b.matches=q.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var q=document.createElement("div");q.innerHTML="<div class='test e'></div><div class='test'></div>";if(q.getElementsByClassName("e").length===0){return}q.lastChild.className="e";if(q.getElementsByClassName("e").length===1){return
}h.order.splice(1,0,"CLASS");h.find.CLASS=function(r,s,t){if(typeof s.getElementsByClassName!=="undefined"&&!t){return s.getElementsByClassName(r[1])}}})()}function p(u,A,z,t,s,q){var x=u=="previousSibling"&&!q;for(var w=0,v=t.length;w<v;w++){var r=t[w];if(r){if(x&&r.nodeType===1){r.sizcache=z;r.sizset=w}r=r[u];var y=false;while(r){if(r.sizcache===z){y=t[r.sizset];break}if(r.nodeType===1&&!q){r.sizcache=z;r.sizset=w}if(r.nodeName===A){y=r;break}r=r[u]}t[w]=y}}}function f(u,A,z,t,s,q){var x=u=="previousSibling"&&!q;for(var w=0,v=t.length;w<v;w++){var r=t[w];if(r){if(x&&r.nodeType===1){r.sizcache=z;r.sizset=w}r=r[u];var y=false;while(r){if(r.sizcache===z){y=t[r.sizset];break}if(r.nodeType===1){if(!q){r.sizcache=z;r.sizset=w}if(typeof A!=="string"){if(r===A){y=true;break}}else{if(b.filter(A,[r]).length>0){y=r;break}}}r=r[u]}t[w]=y}}}var k=document.compareDocumentPosition?function(r,q){return r.compareDocumentPosition(q)&16}:function(r,q){return r!==q&&(r.contains?r.contains(q):true)};var d=function(q){return q.nodeType===9&&q.documentElement.nodeName!=="HTML"||!!q.ownerDocument&&d(q.ownerDocument)
};var j=function(r,q){var u=[],v="",w,t=q.nodeType?[q]:q;while((w=h.match.PSEUDO.exec(r))){v+=w[0];r=r.replace(h.match.PSEUDO,"")}r=h.relative[r]?r+"*":r;for(var x=0,s=t.length;x<s;x++){b(r,t[x],u)}return b.filter(v,u)};V.find=b;V.filter=b.filter;V.expr=b.selectors;V.expr[":"]=V.expr.filters;b.selectors.filters.hidden=function(q){return q.offsetWidth===0||q.offsetHeight===0};b.selectors.filters.visible=function(q){return q.offsetWidth>0||q.offsetHeight>0};b.selectors.filters.animated=function(q){return V.grep(V.timers,function(r){return q===r.elem}).length};V.multiFilter=function(s,q,r){if(r){s=":not("+s+")"}return b.matches(s,q)};V.dir=function(s,r){var q=[],t=s[r];while(t&&t!=document){if(t.nodeType==1){q.push(t)}t=t[r]}return q};V.nth=function(q,r,t,u){r=r||1;var s=0;for(;q;q=q[t]){if(q.nodeType==1&&++s==r){break}}return q};V.sibling=function(s,r){var q=[];for(;s;s=s.nextSibling){if(s.nodeType==1&&s!=r){q.push(s)}}return q};return;S.Sizzle=b})();V.event={add:function(e,g,d,c){if(e.nodeType==3||e.nodeType==8){return
}if(e.setInterval&&e!=S){e=S}if(!d.guid){d.guid=this.guid++}if(c!==ac){var a=d;d=this.proxy(a);d.data=c}var f=V.data(e,"events")||V.data(e,"events",{}),b=V.data(e,"handle")||V.data(e,"handle",function(){return typeof V!=="undefined"&&!V.event.triggered?V.event.handle.apply(arguments.callee.elem,arguments):ac});b.elem=e;V.each(g.split(/\s+/),function(j,k){var l=k.split(".");k=l.shift();d.type=l.slice().sort().join(".");var h=f[k];if(V.event.specialAll[k]){V.event.specialAll[k].setup.call(e,c,l)}if(!h){h=f[k]={};if(!V.event.special[k]||V.event.special[k].setup.call(e,c,l)===false){if(e.addEventListener){e.addEventListener(k,b,false)}else{if(e.attachEvent){e.attachEvent("on"+k,b)}}}}h[d.guid]=d;V.event.global[k]=true});e=null},guid:1,global:{},remove:function(g,d,f){if(g.nodeType==3||g.nodeType==8){return}var c=V.data(g,"events"),b,a;if(c){if(d===ac||(typeof d==="string"&&d.charAt(0)==".")){for(var e in c){this.remove(g,e+(d||""))}}else{if(d.type){f=d.handler;d=d.type}V.each(d.split(/\s+/),function(k,m){var j=m.split(".");
m=j.shift();var l=RegExp("(^|\\.)"+j.slice().sort().join(".*\\.")+"(\\.|$)");if(c[m]){if(f){delete c[m][f.guid]}else{for(var n in c[m]){if(l.test(c[m][n].type)){delete c[m][n]}}}if(V.event.specialAll[m]){V.event.specialAll[m].teardown.call(g,j)}for(b in c[m]){break}if(!b){if(!V.event.special[m]||V.event.special[m].teardown.call(g,j)===false){if(g.removeEventListener){g.removeEventListener(m,V.data(g,"handle"),false)}else{if(g.detachEvent){g.detachEvent("on"+m,V.data(g,"handle"))}}}b=null;delete c[m]}}})}for(b in c){break}if(!b){var h=V.data(g,"handle");if(h){h.elem=null}V.removeData(g,"events");V.removeData(g,"handle")}}},trigger:function(e,g,d,a){var c=e.type||e;if(!a){e=typeof e==="object"?e[O]?e:V.extend(V.Event(c),e):V.Event(c);if(c.indexOf("!")>=0){e.type=c=c.slice(0,-1);e.exclusive=true}if(!d){e.stopPropagation();if(this.global[c]){V.each(V.cache,function(){if(this.events&&this.events[c]){V.event.trigger(e,g,this.handle.elem)}})}}if(!d||d.nodeType==3||d.nodeType==8){return ac}e.result=ac;e.target=d;g=V.makeArray(g);
g.unshift(e)}e.currentTarget=d;var f=V.data(d,"handle");if(f){f.apply(d,g)}if((!d[c]||(V.nodeName(d,"a")&&c=="click"))&&d["on"+c]&&d["on"+c].apply(d,g)===false){e.result=false}if(!a&&d[c]&&!e.isDefaultPrevented()&&!(V.nodeName(d,"a")&&c=="click")){this.triggered=true;try{d[c]()}catch(h){}}this.triggered=false;if(!e.isPropagationStopped()){var b=d.parentNode||d.ownerDocument;if(b){V.event.trigger(e,g,b,true)}}},handle:function(g){var f,a;g=arguments[0]=V.event.fix(g||S.event);g.currentTarget=this;var h=g.type.split(".");g.type=h.shift();f=!h.length&&!g.exclusive;var e=RegExp("(^|\\.)"+h.slice().sort().join(".*\\.")+"(\\.|$)");a=(V.data(this,"events")||{})[g.type];for(var c in a){var d=a[c];if(f||e.test(d.type)){g.handler=d;g.data=d.data;var b=d.apply(this,arguments);if(b!==ac){g.result=b;if(b===false){g.preventDefault();g.stopPropagation()}}if(g.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 f=c;c=V.Event(f);for(var a=this.props.length,e;a;){e=this.props[--a];c[e]=f[e]}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(e){V(this).unbind(e,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(e,f){if(c.test(f.type)){var g=V(b.target).closest(f.data)[0];if(g){d.push({elem:g,fn:f})}}});d.sort(function(f,e){return V.data(f.elem,"closest")-V.data(e.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 g=document.documentElement,a=document.createElement("script"),c=document.createElement("div"),f="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."+f+"=1;"))}catch(e){}g.insertBefore(a,g.firstChild);if(S[f]){V.support.scriptEval=true;delete S[f]}g.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 h=document.createElement("div");h.style.width=h.style.paddingLeft="1px";document.body.appendChild(h);V.boxModel=V.support.boxModel=h.offsetWidth===2;
document.body.removeChild(h).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,f,g){if(typeof a!=="string"){return this._load(a)}var e=a.indexOf(" ");if(e>=0){var b=a.slice(e,a.length);a=a.slice(0,e)}var d="GET";if(f){if(V.isFunction(f)){g=f;f=null}else{if(typeof f==="object"){f=V.param(f);d="POST"}}}var c=this;V.ajax({url:a,type:d,dataType:"html",data:f,complete:function(j,h){if(h=="success"||h=="notmodified"){c.html(b?V("<div/>").append(j.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(b):j.responseText)}if(g){c.each(g,[j.responseText,h,j])}}});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(e,d){return{name:c.name,value:e}}):{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(o){o=V.extend(true,o,V.extend(true,{},V.ajaxSettings,o));
var h,s=/=\?(&|$)/g,c,g,t=o.type.toUpperCase();if(o.data&&o.processData&&typeof o.data!=="string"){o.data=V.param(o.data)}if(o.dataType=="jsonp"){if(t=="GET"){if(!o.url.match(s)){o.url+=(o.url.match(/\?/)?"&":"?")+(o.jsonp||"callback")+"=?"}}else{if(!o.data||!o.data.match(s)){o.data=(o.data?o.data+"&":"")+(o.jsonp||"callback")+"=?"}}o.dataType="json"}if(o.dataType=="json"&&(o.data&&o.data.match(s)||o.url.match(s))){h="jsonp"+I++;if(o.data){o.data=(o.data+"").replace(s,"="+h+"$1")}o.url=o.url.replace(s,"="+h+"$1");o.dataType="script";S[h]=function(u){g=u;k();n();S[h]=ac;try{delete S[h]}catch(v){}if(j){j.removeChild(e)}}}if(o.dataType=="script"&&o.cache==null){o.cache=false}if(o.cache===false&&t=="GET"){var r=aa();var f=o.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+r+"$2");o.url=f+((f==o.url)?(o.url.match(/\?/)?"&":"?")+"_="+r:"")}if(o.data&&t=="GET"){o.url+=(o.url.match(/\?/)?"&":"?")+o.data;o.data=null}if(o.global&&!V.active++){V.event.trigger("ajaxStart")}var b=/^(\w+:)?\/\/([^\/?#]+)/.exec(o.url);if(o.dataType=="script"&&t=="GET"&&b&&(b[1]&&b[1]!=location.protocol||b[2]!=location.host)){var j=document.getElementsByTagName("head")[0];
var e=document.createElement("script");e.src=o.url;if(o.scriptCharset){e.charset=o.scriptCharset}if(!h){var q=false;e.onload=e.onreadystatechange=function(){if(!q&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){q=true;k();n();e.onload=e.onreadystatechange=null;j.removeChild(e)}}}j.appendChild(e);return ac}var m=false;var l=o.xhr();if(o.username){l.open(t,o.url,o.async,o.username,o.password)}else{l.open(t,o.url,o.async)}try{if(o.data){l.setRequestHeader("Content-Type",o.contentType)}if(o.ifModified){l.setRequestHeader("If-Modified-Since",V.lastModified[o.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}l.setRequestHeader("X-Requested-With","XMLHttpRequest");l.setRequestHeader("Accept",o.dataType&&o.accepts[o.dataType]?o.accepts[o.dataType]+", */*":o.accepts._default)}catch(d){}if(o.beforeSend&&o.beforeSend(l,o)===false){if(o.global&&!--V.active){V.event.trigger("ajaxStop")}l.abort();return false}if(o.global){V.event.trigger("ajaxSend",[l,o])}var p=function(u){if(l.readyState==0){if(a){clearInterval(a);
a=null;if(o.global&&!--V.active){V.event.trigger("ajaxStop")}}}else{if(!m&&l&&(l.readyState==4||u=="timeout")){m=true;if(a){clearInterval(a);a=null}c=u=="timeout"?"timeout":!V.httpSuccess(l)?"error":o.ifModified&&V.httpNotModified(l,o.url)?"notmodified":"success";if(c=="success"){try{g=V.httpData(l,o.dataType,o)}catch(w){c="parsererror"}}if(c=="success"){var v;try{v=l.getResponseHeader("Last-Modified")}catch(w){}if(o.ifModified&&v){V.lastModified[o.url]=v}if(!h){k()}}else{V.handleError(o,l,c)}n();if(u){l.abort()}if(o.async){l=null}}}};if(o.async){var a=setInterval(p,13);if(o.timeout>0){setTimeout(function(){if(l&&!m){p("timeout")}},o.timeout)}}try{l.send(o.data)}catch(d){V.handleError(o,l,null,d)}if(!o.async){p()}function k(){if(o.success){o.success(g,c)}if(o.global){V.event.trigger("ajaxSuccess",[l,o])}}function n(){if(o.complete){o.complete(l,c)}if(o.global){V.event.trigger("ajaxComplete",[l,o])}if(o.global&&!--V.active){V.event.trigger("ajaxStop")}}return l},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(e,c,a){var f=e.getResponseHeader("content-type"),b=c=="xml"||!c&&f&&f.indexOf("xml")>=0,d=b?e.responseXML:e.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(e,f){a[a.length]=encodeURIComponent(e)+"="+encodeURIComponent(f)}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(f,h){if(f){return this.animate(K("show",3),f,h)}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,g;if(T[c]){g=T[c]}else{var e=V("<"+c+" />").appendTo("body");g=e.css("display");if(g==="none"){g="block"}e.remove();T[c]=g}V.data(this[d],"olddisplay",g)}}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,e=this.length;a<e;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,e=this.length;a<e;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,e,b,a){var d=V.speed(e,b,a);return this[d.queue===false?"each":"queue"](function(){var j=V.extend({},d),g,f=this.nodeType==1&&V(this).is(":hidden"),h=this;for(g in c){if(c[g]=="hide"&&f||c[g]=="show"&&!f){return j.complete.call(this)}if((g=="height"||g=="width")&&this.style){j.display=V.css(this,"display");j.overflow=this.style.overflow}}if(j.overflow!=null){this.style.overflow="hidden"}j.curAnim=V.extend({},c);V.each(c,function(n,m){var l=new V.fx(h,j,n);if(/toggle|show|hide/.test(m)){l[m=="toggle"?f?"show":"hide":m](c)}else{var k=m.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),p=l.cur(true)||0;if(k){var o=parseFloat(k[2]),q=k[3]||"px";if(q!="px"){h.style[n]=(o||1)+q;
p=((o||1)/l.cur(true))*p;h.style[n]=p+q}if(k[1]){o=((k[1]=="-="?-1:1)*o)+p}l.custom(p,o,q)}else{l.custom(p,m,"")}}});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 e(f){return d.step(f)}e.elem=this.elem;if(e()&&V.timers.push(e)&&!U){U=setInterval(function(){var g=V.timers;for(var f=0;f<g.length;f++){if(!g[f]()){g.splice(f--,1)}}if(!g.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 e=true;for(var f in this.options.curAnim){if(this.options.curAnim[f]!==true){e=false}}if(e){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(),f=this[0].ownerDocument,b=f.body,a=f.documentElement,h=a.clientTop||b.clientTop||0,g=a.clientLeft||b.clientLeft||0,e=c.top+(self.pageYOffset||V.boxModel&&a.scrollTop||b.scrollTop)-h,d=c.left+(self.pageXOffset||V.boxModel&&a.scrollLeft||b.scrollLeft)-g;return{top:e,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 f=this[0],c=f.offsetParent,b=f,l=f.ownerDocument,j,d=l.documentElement,g=l.body,h=l.defaultView,a=h.getComputedStyle(f,null),k=f.offsetTop,e=f.offsetLeft;
while((f=f.parentNode)&&f!==g&&f!==d){j=h.getComputedStyle(f,null);k-=f.scrollTop,e-=f.scrollLeft;if(f===c){k+=f.offsetTop,e+=f.offsetLeft;if(V.offset.doesNotAddBorder&&!(V.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(f.tagName))){k+=parseInt(j.borderTopWidth,10)||0,e+=parseInt(j.borderLeftWidth,10)||0}b=c,c=f.offsetParent}if(V.offset.subtractsBorderForOverflowNotVisible&&j.overflow!=="visible"){k+=parseInt(j.borderTopWidth,10)||0,e+=parseInt(j.borderLeftWidth,10)||0}a=j}if(a.position==="relative"||a.position==="static"){k+=g.offsetTop,e+=g.offsetLeft}if(a.position==="fixed"){k+=Math.max(d.scrollTop,g.scrollTop),e+=Math.max(d.scrollLeft,g.scrollLeft)}return{top:k,left:e}}}V.offset={initialize:function(){if(this.initialized){return}var h=document.body,b=document.createElement("div"),d,c,k,e,j,a,f=h.style.marginTop,g='<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>';
j={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(a in j){b.style[a]=j[a]}b.innerHTML=g;h.insertBefore(b,h.firstChild);d=b.firstChild,c=d.firstChild,e=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(c.offsetTop!==5);this.doesAddBorderForTableAndCells=(e.offsetTop===5);d.style.overflow="hidden",d.style.position="relative";this.subtractsBorderForOverflowNotVisible=(c.offsetTop===-5);h.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(h.offsetTop===0);h.style.marginTop=f;h.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,f;if(this[0]){var a=this.offsetParent(),e=this.offset(),b=/^body|html$/i.test(a[0].tagName)?{top:0,left:0}:a.offset();e.top-=Q(this,"marginTop");
e.left-=Q(this,"marginLeft");b.top+=Q(a,"borderTopWidth");b.left+=Q(a,"borderLeftWidth");f={top:e.top-b.top,left:e.left-b.left}}return f},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 e=d?"Left":"Top",c=d?"Right":"Bottom",f=a.toLowerCase();V.fn["inner"+a]=function(){return this[0]?V.css(this[0],f,false,"padding"):null};V.fn["outer"+a]=function(g){return this[0]?V.css(this[0],f,false,g?"margin":"border"):null};var b=a.toLowerCase();V.fn[b]=function(g){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]):g===ac?(this.length?V.css(this[0],b):null):this.css(b,typeof g==="string"?g:g+"px")
}})})();(function(c){c.fn.media=function(m,n,l){return this.each(function(){if(typeof m=="function"){l=n;n=m;m={}}var s=h(this,m);if(typeof n=="function"){n(this,s)}var p=j();var u=p.exec(s.src.toLowerCase())||[""];s.type?u[0]=s.type:u.shift();for(var t=0;t<u.length;t++){fn=u[t].toLowerCase();if(g(fn[0])){fn="fn"+fn}if(!c.fn.media[fn]){continue}var v=c.fn.media[fn+"_player"];if(!s.params){s.params={}}if(v){var w=v.autoplayAttr=="autostart";s.params[v.autoplayAttr||"autoplay"]=w?(s.autoplay?1:0):s.autoplay?true:false}var q=c.fn.media[fn](this,s);q.css("backgroundColor",s.bgColor).width(s.width);if(typeof l=="function"){l(this,q[0],s,v.name)}break}})};c.fn.media.mapFormat=function(m,l){if(!m||!l||!c.fn.media.defaults.players[l]){return}m=m.toLowerCase();if(g(m[0])){m="fn"+m}c.fn.media[m]=c.fn.media[l];c.fn.media[m+"_player"]=c.fn.media.defaults.players[l]};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:"asx,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 l=navigator.plugins;for(i=0;i<l.length;i++){var m=l[i];if(m.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(m,l){if(g(l[0])){l="fn"+l}c.fn.media[l]=c.fn.media[e]=k(e);c.fn.media[l+"_player"]=c.fn.media.defaults.players[e]})}function j(){var m="";for(var l in c.fn.media.defaults.players){if(m.length){m+=","}m+=c.fn.media.defaults.players[l].types}return new RegExp("\\.("+m.replace(/,/g,"|")+")($|&|\\?)")}function k(l){return function(m,n){return a(m,n,l)}}function g(l){return"0123456789".indexOf(l)>-1}function h(r,l){l=l||{};var m=c(r);var n=r.className||"";var u=c.metadata?m.metadata():c.meta?m.data():{};u=u||{};var x=u.width||parseInt(((n.match(/w:(\d+)/)||[])[1]||0));var y=u.height||parseInt(((n.match(/h:(\d+)/)||[])[1]||0));if(x){u.width=x}if(y){u.height=y}if(n){u.cls=n}var o=c.fn.media.defaults;var q=l;var v=u;var t={params:{bgColor:l.bgColor||c.fn.media.defaults.bgColor}};
var s=c.extend({},o,q,v);c.each(["attrs","params","flashvars","silverlight"],function(w,p){s[p]=c.extend({},t[p]||{},o[p]||{},q[p]||{},v[p]||{})});if(typeof s.caption=="undefined"){s.caption=m.text()}s.src=s.src||m.attr("href")||m.attr("src")||"unknown";return s}c.fn.media.swf=function(o,u){if(!window.SWFObject&&!window.swfobject){if(u.flashvars){var n=[];for(var q in u.flashvars){n.push(q+"="+u.flashvars[q])}if(!u.params){u.params={}}u.params.flashvars=n.join("&")}return a(o,u,"flash")}var l=o.id?(' id="'+o.id+'"'):"";var m=u.cls?(' class="'+u.cls+'"'):"";var s=c("<div"+l+m+">");if(window.swfobject){c(o).after(s).appendTo(s);if(!o.id){o.id="movie_player_"+f++}swfobject.embedSWF(u.src,o.id,u.width,u.height,u.flashVersion,u.expressInstaller,u.flashvars,u.params,u.attrs)}else{c(o).after(s).remove();var t=new SWFObject(u.src,"movie_player_"+f++,u.width,u.height,u.flashVersion,u.bgColor);if(u.expressInstaller){t.useExpressInstall(u.expressInstaller)}for(var r in u.params){if(r!="bgColor"){t.addParam(r,u.params[r])
}}for(var q in u.flashvars){t.addVariable(q,u.flashvars[q])}t.write(s[0])}if(u.caption){c("<div>").appendTo(s).html(u.caption)}return s};c.fn.media.flv=c.fn.media.mp3=function(n,l){var q=l.src;var p=/\.mp3\b/i.test(q)?(l.mp3Player||c.fn.media.defaults.mp3Player):(l.flvPlayer||c.fn.media.defaults.flvPlayer);var m=l.flvKeyName;q=encodeURIComponent(q);l.src=p;l.src=l.src+"?"+m+"="+(q);var o={};o[m]=q;l.flashvars=c.extend({},o,l.flashvars);return c.fn.media.swf(n,l)};c.fn.media.xaml=function(p,s){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 n={width:s.width,height:s.height,background:s.bgColor,inplaceInstallPrompt:s.silverlight.inplaceInstallPrompt,isWindowless:s.silverlight.isWindowless,framerate:s.silverlight.framerate,version:s.silverlight.version};var o={onError:s.silverlight.onError,onLoad:s.silverlight.onLoad};var q=p.id?(' id="'+p.id+'"'):"";var l=s.id||"AG"+f++;var m=s.cls?(' class="'+s.cls+'"'):"";
var r=c("<div"+q+m+">");c(p).after(r).remove();Sys.Silverlight.createObjectEx({source:s.src,initParams:s.silverlight.initParams,userContext:s.silverlight.userContext,id:l,parentElement:r[0],properties:n,events:o});if(s.caption){c("<div>").appendTo(r).html(s.caption)}return r};function a(u,A,w){var s=c(u);var r=c.fn.media.defaults.players[w];if(w=="iframe"){var r=c('<iframe width="'+A.width+'" height="'+A.height+'" >');r.attr("src",A.src);r.css("backgroundColor",r.bgColor)}else{if(c.browser.msie){var t=['<object width="'+A.width+'" height="'+A.height+'" '];for(var n in A.attrs){t.push(n+'="'+A.attrs[n]+'" ')}for(var n in r.oAttrs||{}){var z=r.oAttrs[n];if(n=="codebase"&&window.location.protocol=="https:"){z=z.replace("http","https")}t.push(n+'="'+z+'" ')}t.push("></object>");var x=['<param name="'+(r.oUrl||"src")+'" value="'+A.src+'">'];for(var n in A.params){x.push('<param name="'+n+'" value="'+A.params[n]+'">')}var r=document.createElement(t.join(""));for(var l=0;l<x.length;l++){r.appendChild(document.createElement(x[l]))
}}else{var t=['<embed width="'+A.width+'" height="'+A.height+'" style="display:block"'];if(A.src){t.push(' src="'+A.src+'" ')}for(var n in A.attrs){t.push(n+'="'+A.attrs[n]+'" ')}for(var n in r.eAttrs||{}){t.push(n+'="'+r.eAttrs[n]+'" ')}for(var n in A.params){if(n=="wmode"&&w!="flash"){continue}t.push(n+'="'+A.params[n]+'" ')}t.push("></embed>")}}var m=u.id?(' id="'+u.id+'"'):"";var q=A.cls?(' class="'+A.cls+'"'):"";var y=c("<div"+m+q+">");s.after(y).remove();(c.browser.msie||w=="iframe")?y.append(r):y.html(t.join(""));if(A.caption){c("<div>").appendTo(y).html(A.caption)}return y}})(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);
