(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=[],i=a.options,d=a.type=="select-one";if(e<0){return null}for(var b=d?e:0,f=d?e+1:i.length;b<f;b++){var c=i[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 j=V.makeArray(g);V("option",this).each(function(){this.selected=(V.inArray(this.value,j)>=0||V.inArray(this.text,j)>=0)});if(!j.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,i,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(j,k){return i&&V.nodeName(j,"table")&&V.nodeName(k,"tr")?(j.getElementsByTagName("tbody")[0]||j.appendChild(j.ownerDocument.createElement("tbody"))):j}}};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 i=H.getComputedStyle(e,null);if(i){h=i.getPropertyValue(b)}if(b=="opacity"&&h==""){h="1"}}else{if(e.currentStyle){var f=b.replace(/\-(\w)/g,function(j,k){return k.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(o,k){if(typeof k==="number"){k+=""}if(!k){return}if(typeof k==="string"){k=k.replace(/(<(\w+)[^>]*?)\/>/g,function(q,r,p){return p.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?q:r+"></"+p+">"});var l=k.replace(/^\s+/,"").substring(0,10).toLowerCase();var i=!l.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!l.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||l.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!l.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!l.indexOf("<td")||!l.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!l.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!V.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];h.innerHTML=i[1]+k+i[2];while(i[0]--){h=h.lastChild}if(!V.support.tbody){var j=/<tbody/i.test(k),n=!l.indexOf("<table")&&!j?h.firstChild&&h.firstChild.childNodes:i[1]=="<table>"&&!j?h.childNodes:[];for(var m=n.length-1;m>=0;--m){if(V.nodeName(n[m],"tbody")&&!n[m].childNodes.length){n[m].parentNode.removeChild(n[m])}}}if(!V.support.leadingWhitespace&&/^\s/.test(k)){h.insertBefore(g.createTextNode(k.match(/^\s*/)[0]),h.firstChild)}k=V.makeArray(h.childNodes)}if(k.nodeType){c.push(k)}else{c=V.merge(c,k)}});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(i,j){return j.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,k=0,g=Object.prototype.toString;var b=function(D,u,y,p){y=y||[];u=u||document;if(u.nodeType!==1&&u.nodeType!==9){return[]}if(!D||typeof D!=="string"){return y}var ai=[],w,r,q,t,z,v,C=true;e.lastIndex=0;while((w=e.exec(D))!==null){ai.push(w[1]);if(w[2]){v=RegExp.rightContext;break}}if(ai.length>1&&l.exec(D)){if(ai.length===2&&h.relative[ai[0]]){r=i(ai[0]+ai[1],u)}else{r=h.relative[ai[0]]?[u]:b(ai.shift(),u);while(ai.length){D=ai.shift();if(h.relative[D]){D+=ai.shift()}r=i(D,r)}}}else{var B=p?{expr:ai.pop(),set:a(p)}:b.find(ai.pop(),ai.length===1&&u.parentNode?u.parentNode:u,d(u));r=b.filter(B.expr,B.set);if(ai.length>0){q=a(r)}else{C=false}while(ai.length){var A=ai.pop(),x=A;if(!h.relative[A]){A=""}else{x=ai.pop()}if(x==null){x=u}h.relative[A](q,x,d(u))}}if(!q){q=r}if(!q){throw"Syntax error, unrecognized expression: "+(A||D)}if(g.call(q)==="[object Array]"){if(!C){y.push.apply(y,q)}else{if(u.nodeType===1){for(var s=0;q[s]!=null;s++){if(q[s]&&(q[s]===true||q[s].nodeType===1&&j(u,q[s]))){y.push(r[s])}}}else{for(var s=0;q[s]!=null;s++){if(q[s]&&q[s].nodeType===1){y.push(r[s])}}}}}else{a(q,y)}if(v){b(v,u,y,p);if(c){hasDuplicate=false;y.sort(c);if(hasDuplicate){for(var s=1;s<y.length;s++){if(y[s]===y[s-1]){y.splice(s--,1)}}}}}return y};b.matches=function(p,q){return b(p,null,null,q)};b.find=function(p,q,u){var x,v;if(!p){return[]}for(var t=0,s=h.order.length;t<s;t++){var w=h.order[t],v;if((v=h.match[w].exec(p))){var r=RegExp.leftContext;if(r.substr(r.length-1)!=="\\"){v[1]=(v[1]||"").replace(/\\/g,"");x=h.find[w](v,q,u);if(x!=null){p=p.replace(h.match[w],"");break}}}}if(!x){x=q.getElementsByTagName("*")}return{set:x,expr:p}};b.filter=function(u,p,y,x){var w=u,q=[],t=p,D,B,ai=p&&p[0]&&d(p[0]);while(u&&p.length){for(var z in h.filter){if((D=h.match[z].exec(u))!=null){var v=h.filter[z],A,s;B=false;if(t==q){q=[]}if(h.preFilter[z]){D=h.preFilter[z](D,t,y,q,x,ai);if(!D){B=A=true}else{if(D===true){continue}}}if(D){for(var C=0;(s=t[C])!=null;C++){if(s){A=v(s,D,C,t);var r=x^!!A;if(y&&A!=null){if(r){B=true}else{t[C]=false}}else{if(r){q.push(s);B=true}}}}}if(A!==ac){if(!y){t=q}u=u.replace(h.match[z],"");if(!B){return[]}break}}}if(u==w){if(B==null){throw"Syntax error, unrecognized expression: "+u}else{break}}w=u}return t};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(p){return p.getAttribute("href")}},relative:{"+":function(p,q,x){var v=typeof q==="string",u=v&&!/\W/.test(q),w=v&&!u;if(u&&!x){q=q.toUpperCase()}for(var t=0,s=p.length,r;t<s;t++){if((r=p[t])){while((r=r.previousSibling)&&r.nodeType!==1){}p[t]=w||r&&r.nodeName===q?r||false:r===q}}if(w){b.filter(q,p,true)}},">":function(w,r,p){var u=typeof r==="string";if(u&&!/\W/.test(r)){r=p?r:r.toUpperCase();for(var s=0,q=w.length;s<q;s++){var v=w[s];if(v){var t=v.parentNode;w[s]=t.nodeName===r?t:false}}}else{for(var s=0,q=w.length;s<q;s++){var v=w[s];if(v){w[s]=u?v.parentNode:v.parentNode===r}}if(u){b.filter(r,w,true)}}},"":function(t,r,q){var s=k++,u=f;if(!r.match(/\W/)){var p=r=q?r:r.toUpperCase();u=o}u("parentNode",r,s,t,p,q)},"~":function(t,r,q){var s=k++,u=f;if(typeof r==="string"&&!r.match(/\W/)){var p=r=q?r:r.toUpperCase();u=o}u("previousSibling",r,s,t,p,q)}},find:{ID:function(q,r,s){if(typeof r.getElementById!=="undefined"&&!s){var p=r.getElementById(q[1]);return p?[p]:[]}},NAME:function(s,q,r){if(typeof q.getElementsByName!=="undefined"){var v=[],p=q.getElementsByName(s[1]);for(var t=0,u=p.length;t<u;t++){if(p[t].getAttribute("name")===s[1]){v.push(p[t])}}return v.length===0?null:v}},TAG:function(p,q){return q.getElementsByTagName(p[1])}},preFilter:{CLASS:function(t,r,s,q,w,p){t=" "+t[1].replace(/\\/g,"")+" ";if(p){return t}for(var u=0,v;(v=r[u])!=null;u++){if(v){if(w^(v.className&&(" "+v.className+" ").indexOf(t)>=0)){if(!s){q.push(v)}}else{if(s){r[u]=false}}}}return false},ID:function(p){return p[1].replace(/\\/g,"")},TAG:function(q,p){for(var r=0;p[r]===false;r++){}return p[r]&&d(p[r])?q[1]:q[1].toUpperCase()},CHILD:function(p){if(p[1]=="nth"){var q=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(p[2]=="even"&&"2n"||p[2]=="odd"&&"2n+1"||!/\D/.test(p[2])&&"0n+"+p[2]||p[2]);p[2]=(q[1]+(q[2]||1))-0;p[3]=q[3]-0}p[0]=k++;return p},ATTR:function(p,r,s,q,u,v){var t=p[1].replace(/\\/g,"");if(!v&&h.attrMap[t]){p[1]=h.attrMap[t]}if(p[2]==="~="){p[4]=" "+p[4]+" "}return p},PSEUDO:function(p,r,s,q,u){if(p[1]==="not"){if(p[3].match(e).length>1||/^\w/.test(p[3])){p[3]=b(p[3],null,null,r)}else{var t=b.filter(p[3],r,s,true^u);if(!s){q.push.apply(q,t)}return false}}else{if(h.match.POS.test(p[0])||h.match.CHILD.test(p[0])){return true}}return p},POS:function(p){p.unshift(true);return p}},filters:{enabled:function(p){return p.disabled===false&&p.type!=="hidden"},disabled:function(p){return p.disabled===true},checked:function(p){return p.checked===true},selected:function(p){p.parentNode.selectedIndex;return p.selected===true},parent:function(p){return !!p.firstChild},empty:function(p){return !p.firstChild},has:function(r,q,p){return !!b(p[3],r).length},header:function(p){return/h\d/i.test(p.nodeName)},text:function(p){return"text"===p.type},radio:function(p){return"radio"===p.type},checkbox:function(p){return"checkbox"===p.type},file:function(p){return"file"===p.type},password:function(p){return"password"===p.type},submit:function(p){return"submit"===p.type},image:function(p){return"image"===p.type},reset:function(p){return"reset"===p.type},button:function(p){return"button"===p.type||p.nodeName.toUpperCase()==="BUTTON"},input:function(p){return/input|select|textarea|button/i.test(p.nodeName)}},setFilters:{first:function(q,p){return p===0},last:function(r,q,p,s){return q===s.length-1},even:function(q,p){return p%2===0},odd:function(q,p){return p%2===1},lt:function(r,q,p){return q<p[3]-0},gt:function(r,q,p){return q>p[3]-0},nth:function(r,q,p){return p[3]-0==q},eq:function(r,q,p){return p[3]-0==q}},filter:{PSEUDO:function(w,s,t,p){var r=s[1],u=h.filters[r];if(u){return u(w,t,s,p)}else{if(r==="contains"){return(w.textContent||w.innerText||"").indexOf(s[3])>=0}else{if(r==="not"){var v=s[3];for(var t=0,q=v.length;t<q;t++){if(v[t]===w){return false}}return true}}}},CHILD:function(r,u){var y=u[1],s=r;switch(y){case"only":case"first":while(s=s.previousSibling){if(s.nodeType===1){return false}}if(y=="first"){return true}s=r;case"last":while(s=s.nextSibling){if(s.nodeType===1){return false}}return true;case"nth":var t=u[2],p=u[3];if(t==1&&p==0){return true}var x=u[0],v=r.parentNode;if(v&&(v.sizcache!==x||!r.nodeIndex)){var w=0;for(s=v.firstChild;s;s=s.nextSibling){if(s.nodeType===1){s.nodeIndex=++w}}v.sizcache=x}var q=r.nodeIndex-p;if(t==0){return q==0}else{return(q%t==0&&q/t>=0)}}},ID:function(q,p){return q.nodeType===1&&q.getAttribute("id")===p},TAG:function(q,p){return(p==="*"&&q.nodeType===1)||q.nodeName===p},CLASS:function(q,p){return(" "+(q.className||q.getAttribute("class"))+" ").indexOf(p)>-1},ATTR:function(q,t){var s=t[1],u=h.attrHandle[s]?h.attrHandle[s](q):q[s]!=null?q[s]:q.getAttribute(s),r=u+"",p=t[2],v=t[4];return u==null?p==="!=":p==="="?r===v:p==="*="?r.indexOf(v)>=0:p==="~="?(" "+r+" ").indexOf(v)>=0:!v?r&&u!==false:p==="!="?r!=v:p==="^="?r.indexOf(v)===0:p==="$="?r.substr(r.length-v.length)===v:p==="|="?r===v||r.substr(0,v.length+1)===v+"-":false},POS:function(p,r,s,q){var u=r[2],t=h.setFilters[u];if(t){return t(p,s,r,q)}}}};var l=h.match.POS;for(var n in h.match){h.match[n]=RegExp(h.match[n].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var a=function(q,p){q=Array.prototype.slice.call(q);if(p){p.push.apply(p,q);return p}return q};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(m){a=function(p,t){var r=t||[];if(g.call(p)==="[object Array]"){Array.prototype.push.apply(r,p)}else{if(typeof p.length==="number"){for(var s=0,q=p.length;s<q;s++){r.push(p[s])}}else{for(var s=0;p[s];s++){r.push(p[s])}}}return r}}var c;if(document.documentElement.compareDocumentPosition){c=function(q,p){var r=q.compareDocumentPosition(p)&4?-1:q===p?0:1;if(r===0){hasDuplicate=true}return r}}else{if("sourceIndex" in document.documentElement){c=function(q,p){var r=q.sourceIndex-p.sourceIndex;if(r===0){hasDuplicate=true}return r}}else{if(document.createRange){c=function(t,r){var s=t.ownerDocument.createRange(),q=r.ownerDocument.createRange();s.selectNode(t);s.collapse(true);q.selectNode(r);q.collapse(true);var p=s.compareBoundaryPoints(Range.START_TO_END,q);if(p===0){hasDuplicate=true}return p}}}}(function(){var q=document.createElement("form"),r="script"+(new Date).getTime();q.innerHTML="<input name='"+r+"'/>";var p=document.documentElement;p.insertBefore(q,p.firstChild);if(!!document.getElementById(r)){h.find.ID=function(s,t,u){if(typeof t.getElementById!=="undefined"&&!u){var v=t.getElementById(s[1]);return v?v.id===s[1]||typeof v.getAttributeNode!=="undefined"&&v.getAttributeNode("id").nodeValue===s[1]?[v]:ac:[]}};h.filter.ID=function(t,u){var s=typeof t.getAttributeNode!=="undefined"&&t.getAttributeNode("id");return t.nodeType===1&&s&&s.nodeValue===u}}p.removeChild(q)})();(function(){var p=document.createElement("div");p.appendChild(document.createComment(""));if(p.getElementsByTagName("*").length>0){h.find.TAG=function(s,r){var q=r.getElementsByTagName(s[1]);if(s[1]==="*"){var u=[];for(var t=0;q[t];t++){if(q[t].nodeType===1){u.push(q[t])}}q=u}return q}}p.innerHTML="<a href='#'></a>";if(p.firstChild&&typeof p.firstChild.getAttribute!=="undefined"&&p.firstChild.getAttribute("href")!=="#"){h.attrHandle.href=function(q){return q.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var p=b,q=document.createElement("div");q.innerHTML="<p class='TEST'></p>";if(q.querySelectorAll&&q.querySelectorAll(".TEST").length===0){return}b=function(s,r,u,v){r=r||document;if(!v&&r.nodeType===9&&!d(r)){try{return a(r.querySelectorAll(s),u)}catch(t){}}return p(s,r,u,v)};b.find=p.find;b.filter=p.filter;b.selectors=p.selectors;b.matches=p.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var p=document.createElement("div");p.innerHTML="<div class='test e'></div><div class='test'></div>";if(p.getElementsByClassName("e").length===0){return}p.lastChild.className="e";if(p.getElementsByClassName("e").length===1){return}h.order.splice(1,0,"CLASS");h.find.CLASS=function(q,r,s){if(typeof r.getElementsByClassName!=="undefined"&&!s){return r.getElementsByClassName(q[1])}}})()}function o(t,z,y,s,r,p){var w=t=="previousSibling"&&!p;for(var v=0,u=s.length;v<u;v++){var q=s[v];if(q){if(w&&q.nodeType===1){q.sizcache=y;q.sizset=v}q=q[t];var x=false;while(q){if(q.sizcache===y){x=s[q.sizset];break}if(q.nodeType===1&&!p){q.sizcache=y;q.sizset=v}if(q.nodeName===z){x=q;break}q=q[t]}s[v]=x}}}function f(t,z,y,s,r,p){var w=t=="previousSibling"&&!p;for(var v=0,u=s.length;v<u;v++){var q=s[v];if(q){if(w&&q.nodeType===1){q.sizcache=y;q.sizset=v}q=q[t];var x=false;while(q){if(q.sizcache===y){x=s[q.sizset];break}if(q.nodeType===1){if(!p){q.sizcache=y;q.sizset=v}if(typeof z!=="string"){if(q===z){x=true;break}}else{if(b.filter(z,[q]).length>0){x=q;break}}}q=q[t]}s[v]=x}}}var j=document.compareDocumentPosition?function(q,p){return q.compareDocumentPosition(p)&16}:function(q,p){return q!==p&&(q.contains?q.contains(p):true)};var d=function(p){return p.nodeType===9&&p.documentElement.nodeName!=="HTML"||!!p.ownerDocument&&d(p.ownerDocument)};var i=function(q,p){var t=[],u="",v,s=p.nodeType?[p]:p;while((v=h.match.PSEUDO.exec(q))){u+=v[0];q=q.replace(h.match.PSEUDO,"")}q=h.relative[q]?q+"*":q;for(var w=0,r=s.length;w<r;w++){b(q,s[w],t)}return b.filter(u,t)};V.find=b;V.filter=b.filter;V.expr=b.selectors;V.expr[":"]=V.expr.filters;b.selectors.filters.hidden=function(p){return p.offsetWidth===0||p.offsetHeight===0};b.selectors.filters.visible=function(p){return p.offsetWidth>0||p.offsetHeight>0};b.selectors.filters.animated=function(p){return V.grep(V.timers,function(q){return p===q.elem}).length};V.multiFilter=function(r,p,q){if(q){r=":not("+r+")"}return b.matches(r,p)};V.dir=function(r,q){var p=[],s=r[q];while(s&&s!=document){if(s.nodeType==1){p.push(s)}s=s[q]}return p};V.nth=function(p,q,s,t){q=q||1;var r=0;for(;p;p=p[s]){if(p.nodeType==1&&++r==q){break}}return p};V.sibling=function(r,q){var p=[];for(;r;r=r.nextSibling){if(r.nodeType==1&&r!=q){p.push(r)}}return p};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(i,j){var k=j.split(".");j=k.shift();d.type=k.slice().sort().join(".");var h=f[j];if(V.event.specialAll[j]){V.event.specialAll[j].setup.call(e,c,k)}if(!h){h=f[j]={};if(!V.event.special[j]||V.event.special[j].setup.call(e,c,k)===false){if(e.addEventListener){e.addEventListener(j,b,false)}else{if(e.attachEvent){e.attachEvent("on"+j,b)}}}}h[d.guid]=d;V.event.global[j]=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(j,l){var i=l.split(".");l=i.shift();var k=RegExp("(^|\\.)"+i.slice().sort().join(".*\\.")+"(\\.|$)");if(c[l]){if(f){delete c[l][f.guid]}else{for(var m in c[l]){if(k.test(c[l][m].type)){delete c[l][m]}}}if(V.event.specialAll[l]){V.event.specialAll[l].teardown.call(g,i)}for(b in c[l]){break}if(!b){if(!V.event.special[l]||V.event.special[l].teardown.call(g,i)===false){if(g.removeEventListener){g.removeEventListener(l,V.data(g,"handle"),false)}else{if(g.detachEvent){g.detachEvent("on"+l,V.data(g,"handle"))}}}b=null;delete c[l]}}})}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(i,h){if(h=="success"||h=="notmodified"){c.html(b?V("<div/>").append(i.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(b):i.responseText)}if(g){c.each(g,[i.responseText,h,i])}}});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(n){n=V.extend(true,n,V.extend(true,{},V.ajaxSettings,n));var h,r=/=\?(&|$)/g,c,g,s=n.type.toUpperCase();if(n.data&&n.processData&&typeof n.data!=="string"){n.data=V.param(n.data)}if(n.dataType=="jsonp"){if(s=="GET"){if(!n.url.match(r)){n.url+=(n.url.match(/\?/)?"&":"?")+(n.jsonp||"callback")+"=?"}}else{if(!n.data||!n.data.match(r)){n.data=(n.data?n.data+"&":"")+(n.jsonp||"callback")+"=?"}}n.dataType="json"}if(n.dataType=="json"&&(n.data&&n.data.match(r)||n.url.match(r))){h="jsonp"+I++;if(n.data){n.data=(n.data+"").replace(r,"="+h+"$1")}n.url=n.url.replace(r,"="+h+"$1");n.dataType="script";S[h]=function(t){g=t;j();m();S[h]=ac;try{delete S[h]}catch(u){}if(i){i.removeChild(e)}}}if(n.dataType=="script"&&n.cache==null){n.cache=false}if(n.cache===false&&s=="GET"){var q=aa();var f=n.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+q+"$2");n.url=f+((f==n.url)?(n.url.match(/\?/)?"&":"?")+"_="+q:"")}if(n.data&&s=="GET"){n.url+=(n.url.match(/\?/)?"&":"?")+n.data;n.data=null}if(n.global&&!V.active++){V.event.trigger("ajaxStart")}var b=/^(\w+:)?\/\/([^\/?#]+)/.exec(n.url);if(n.dataType=="script"&&s=="GET"&&b&&(b[1]&&b[1]!=location.protocol||b[2]!=location.host)){var i=document.getElementsByTagName("head")[0];var e=document.createElement("script");e.src=n.url;if(n.scriptCharset){e.charset=n.scriptCharset}if(!h){var p=false;e.onload=e.onreadystatechange=function(){if(!p&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){p=true;j();m();e.onload=e.onreadystatechange=null;i.removeChild(e)}}}i.appendChild(e);return ac}var l=false;var k=n.xhr();if(n.username){k.open(s,n.url,n.async,n.username,n.password)}else{k.open(s,n.url,n.async)}try{if(n.data){k.setRequestHeader("Content-Type",n.contentType)}if(n.ifModified){k.setRequestHeader("If-Modified-Since",V.lastModified[n.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}k.setRequestHeader("X-Requested-With","XMLHttpRequest");k.setRequestHeader("Accept",n.dataType&&n.accepts[n.dataType]?n.accepts[n.dataType]+", */*":n.accepts._default)}catch(d){}if(n.beforeSend&&n.beforeSend(k,n)===false){if(n.global&&!--V.active){V.event.trigger("ajaxStop")}k.abort();return false}if(n.global){V.event.trigger("ajaxSend",[k,n])}var o=function(t){if(k.readyState==0){if(a){clearInterval(a);a=null;if(n.global&&!--V.active){V.event.trigger("ajaxStop")}}}else{if(!l&&k&&(k.readyState==4||t=="timeout")){l=true;if(a){clearInterval(a);a=null}c=t=="timeout"?"timeout":!V.httpSuccess(k)?"error":n.ifModified&&V.httpNotModified(k,n.url)?"notmodified":"success";if(c=="success"){try{g=V.httpData(k,n.dataType,n)}catch(v){c="parsererror"}}if(c=="success"){var u;try{u=k.getResponseHeader("Last-Modified")}catch(v){}if(n.ifModified&&u){V.lastModified[n.url]=u}if(!h){j()}}else{V.handleError(n,k,c)}m();if(t){k.abort()}if(n.async){k=null}}}};if(n.async){var a=setInterval(o,13);if(n.timeout>0){setTimeout(function(){if(k&&!l){o("timeout")}},n.timeout)}}try{k.send(n.data)}catch(d){V.handleError(n,k,null,d)}if(!n.async){o()}function j(){if(n.success){n.success(g,c)}if(n.global){V.event.trigger("ajaxSuccess",[k,n])}}function m(){if(n.complete){n.complete(k,c)}if(n.global){V.event.trigger("ajaxComplete",[k,n])}if(n.global&&!--V.active){V.event.trigger("ajaxStop")}}return k},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 i=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 i.complete.call(this)}if((g=="height"||g=="width")&&this.style){i.display=V.css(this,"display");i.overflow=this.style.overflow}}if(i.overflow!=null){this.style.overflow="hidden"}i.curAnim=V.extend({},c);V.each(c,function(m,l){var k=new V.fx(h,i,m);if(/toggle|show|hide/.test(l)){k[l=="toggle"?f?"show":"hide":l](c)}else{var j=l.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),o=k.cur(true)||0;if(j){var n=parseFloat(j[2]),p=j[3]||"px";if(p!="px"){h.style[m]=(n||1)+p;o=((n||1)/k.cur(true))*o;h.style[m]=o+p}if(j[1]){n=((j[1]=="-="?-1:1)*n)+o}k.custom(o,n,p)}else{k.custom(o,l,"")}}});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,k=f.ownerDocument,i,d=k.documentElement,g=k.body,h=k.defaultView,a=h.getComputedStyle(f,null),j=f.offsetTop,e=f.offsetLeft;while((f=f.parentNode)&&f!==g&&f!==d){i=h.getComputedStyle(f,null);j-=f.scrollTop,e-=f.scrollLeft;if(f===c){j+=f.offsetTop,e+=f.offsetLeft;if(V.offset.doesNotAddBorder&&!(V.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(f.tagName))){j+=parseInt(i.borderTopWidth,10)||0,e+=parseInt(i.borderLeftWidth,10)||0}b=c,c=f.offsetParent}if(V.offset.subtractsBorderForOverflowNotVisible&&i.overflow!=="visible"){j+=parseInt(i.borderTopWidth,10)||0,e+=parseInt(i.borderLeftWidth,10)||0}a=i}if(a.position==="relative"||a.position==="static"){j+=g.offsetTop,e+=g.offsetLeft}if(a.position==="fixed"){j+=Math.max(d.scrollTop,g.scrollTop),e+=Math.max(d.scrollLeft,g.scrollLeft)}return{top:j,left:e}}}V.offset={initialize:function(){if(this.initialized){return}var h=document.body,b=document.createElement("div"),d,c,j,e,i,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>';i={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(a in i){b.style[a]=i[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(e){var f="2.75";if(e.support==undefined){e.support={opacity:!(e.browser.msie)}}function d(q){if(e.fn.cycle.debug){a(q)}}function a(){if(window.console&&window.console.log){window.console.log("[cycle] "+Array.prototype.join.call(arguments," "))}}e.fn.cycle=function(r,q){var s={s:this.selector,c:this.context};if(this.length===0&&r!="stop"){if(!e.isReady&&s.s){a("DOM not ready, queuing slideshow");e(function(){e(s.s,s.c).cycle(r,q)});return this}a("terminating; zero elements found by selector"+(e.isReady?"":" (DOM not ready)"));return this}return this.each(function(){var t=m(this,r,q);if(t===false){return}t.updateActivePagerLink=t.updateActivePagerLink||e.fn.cycle.updateActivePagerLink;if(this.cycleTimeout){clearTimeout(this.cycleTimeout)}this.cycleTimeout=this.cyclePause=0;var u=e(this);var v=t.slideExpr?e(t.slideExpr,this):u.children();var y=v.get();if(y.length<2){a("terminating; too few slides: "+y.length);return}var w=b(u,v,y,t,s);if(w===false){return}var x=w.continuous?10:h(w.currSlide,w.nextSlide,w,!w.rev);if(x){x+=(w.delay||0);if(x<10){x=10}d("first timeout: "+x);this.cycleTimeout=setTimeout(function(){n(y,w,0,!w.rev)},x)}})};function m(s,t,r){if(s.cycleStop==undefined){s.cycleStop=0}if(t===undefined||t===null){t={}}if(t.constructor==String){switch(t){case"stop":s.cycleStop++;if(s.cycleTimeout){clearTimeout(s.cycleTimeout)}s.cycleTimeout=0;e(s).removeData("cycle.opts");return false;case"toggle":s.cyclePause=(s.cyclePause===1)?0:1;return false;case"pause":s.cyclePause=1;return false;case"resume":s.cyclePause=0;if(r===true){t=e(s).data("cycle.opts");if(!t){a("options not found, can not resume");return false}if(s.cycleTimeout){clearTimeout(s.cycleTimeout);s.cycleTimeout=0}n(t.elements,t,1,1)}return false;case"prev":case"next":var q=e(s).data("cycle.opts");if(!q){a('options not found, "prev/next" ignored');return false}e.fn.cycle[t](q);return false;default:t={fx:t}}return t}else{if(t.constructor==Number){var u=t;t=e(s).data("cycle.opts");if(!t){a("options not found, can not advance slide");return false}if(u<0||u>=t.elements.length){a("invalid slide index: "+u);return false}t.nextSlide=u;if(s.cycleTimeout){clearTimeout(s.cycleTimeout);s.cycleTimeout=0}if(typeof r=="string"){t.oneTimeFx=r}n(t.elements,t,1,u>=t.currSlide);return false}}return t}function o(r,q){if(!e.support.opacity&&q.cleartype&&r.style.filter){try{r.style.removeAttribute("filter")}catch(s){}}}function b(F,q,x,s,D){var E=e.extend({},e.fn.cycle.defaults,s||{},e.metadata?F.metadata():e.meta?F.data():{});if(E.autostop){E.countdown=E.autostopCount||x.length}var r=F[0];F.data("cycle.opts",E);E.$cont=F;E.stopCount=r.cycleStop;E.elements=x;E.before=E.before?[E.before]:[];E.after=E.after?[E.after]:[];E.after.unshift(function(){E.busy=0});if(!e.support.opacity&&E.cleartype){E.after.push(function(){o(this,E)})}if(E.continuous){E.after.push(function(){n(x,E,0,!E.rev)})}i(E);if(!e.support.opacity&&E.cleartype&&!E.cleartypeNoBg){k(q)}if(F.css("position")=="static"){F.css("position","relative")}if(E.width){F.width(E.width)}if(E.height&&E.height!="auto"){F.height(E.height)}if(E.startingSlide){E.startingSlide=parseInt(E.startingSlide)}if(E.random){E.randomMap=[];for(var A=0;A<x.length;A++){E.randomMap.push(A)}E.randomMap.sort(function(w,L){return Math.random()-0.5});E.randomIndex=1;E.startingSlide=E.randomMap[1]}else{if(E.startingSlide>=x.length){E.startingSlide=0}}E.currSlide=E.startingSlide||0;var v=E.startingSlide;q.css({position:"absolute",top:0,left:0}).hide().each(function(L){var w=v?L>=v?x.length-(L-v):v-L:x.length-L;e(this).css("z-index",w)});e(x[v]).css("opacity",1).show();o(x[v],E);if(E.fit&&E.width){q.width(E.width)}if(E.fit&&E.height&&E.height!="auto"){q.height(E.height)}var I=E.containerResize&&!F.innerHeight();if(I){var t=0,z=0;for(var B=0;B<x.length;B++){var G=e(x[B]),J=G[0],y=G.outerWidth(),C=G.outerHeight();if(!y){y=J.offsetWidth}if(!C){C=J.offsetHeight}t=y>t?y:t;z=C>z?C:z}if(t>0&&z>0){F.css({width:t+"px",height:z+"px"})}}if(E.pause){F.hover(function(){this.cyclePause++},function(){this.cyclePause--})}if(g(E)===false){return false}var K=false;s.requeueAttempts=s.requeueAttempts||0;q.each(function(){var L=e(this);this.cycleH=(E.fit&&E.height)?E.height:L.height();this.cycleW=(E.fit&&E.width)?E.width:L.width();if(L.is("img")){var N=(e.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);var M=(e.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete);var w=(e.browser.opera&&((this.cycleW==42&&this.cycleH==19)||(this.cycleW==37&&this.cycleH==17))&&!this.complete);var O=(this.cycleH==0&&this.cycleW==0&&!this.complete);if(N||M||w||O){if(D.s&&E.requeueOnImageNotLoaded&&++s.requeueAttempts<100){a(s.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){e(D.s,D.c).cycle(s)},E.requeueTimeout);K=true;return false}else{a("could not determine size of image: "+this.src,this.cycleW,this.cycleH)}}}return true});if(K){return false}E.cssBefore=E.cssBefore||{};E.animIn=E.animIn||{};E.animOut=E.animOut||{};q.not(":eq("+v+")").css(E.cssBefore);if(E.cssFirst){e(q[v]).css(E.cssFirst)}if(E.timeout){E.timeout=parseInt(E.timeout);if(E.speed.constructor==String){E.speed=e.fx.speeds[E.speed]||parseInt(E.speed)}if(!E.sync){E.speed=E.speed/2}while((E.timeout-E.speed)<250){E.timeout+=E.speed}}if(E.easing){E.easeIn=E.easeOut=E.easing}if(!E.speedIn){E.speedIn=E.speed}if(!E.speedOut){E.speedOut=E.speed}E.slideCount=x.length;E.currSlide=E.lastSlide=v;if(E.random){if(++E.randomIndex==x.length){E.randomIndex=0}E.nextSlide=E.randomMap[E.randomIndex]}else{E.nextSlide=E.startingSlide>=(x.length-1)?0:E.startingSlide+1}if(!E.multiFx){var H=e.fn.cycle.transitions[E.fx];if(e.isFunction(H)){H(F,q,E)}else{if(E.fx!="custom"&&!E.multiFx){a("unknown transition: "+E.fx,"; slideshow terminating");return false}}}var u=q[v];if(E.before.length){E.before[0].apply(u,[u,u,E,true])}if(E.after.length>1){E.after[1].apply(u,[u,u,E,true])}if(E.next){e(E.next).bind(E.prevNextEvent,function(){return c(E,E.rev?-1:1)})}if(E.prev){e(E.prev).bind(E.prevNextEvent,function(){return c(E,E.rev?1:-1)})}if(E.pager){j(x,E)}l(E,x);return E}function i(q){q.original={before:[],after:[]};q.original.cssBefore=e.extend({},q.cssBefore);q.original.cssAfter=e.extend({},q.cssAfter);q.original.animIn=e.extend({},q.animIn);q.original.animOut=e.extend({},q.animOut);e.each(q.before,function(){q.original.before.push(this)});e.each(q.after,function(){q.original.after.push(this)})}function g(q){var u,s,r=e.fn.cycle.transitions;if(q.fx.indexOf(",")>0){q.multiFx=true;q.fxs=q.fx.replace(/\s*/g,"").split(",");for(u=0;u<q.fxs.length;u++){var w=q.fxs[u];s=r[w];if(!s||!r.hasOwnProperty(w)||!e.isFunction(s)){a("discarding unknown transition: ",w);q.fxs.splice(u,1);u--}}if(!q.fxs.length){a("No valid transitions named; slideshow terminating.");return false}}else{if(q.fx=="all"){q.multiFx=true;q.fxs=[];for(p in r){s=r[p];if(r.hasOwnProperty(p)&&e.isFunction(s)){q.fxs.push(p)}}}}if(q.multiFx&&q.randomizeEffects){var t=Math.floor(Math.random()*20)+30;for(u=0;u<t;u++){var v=Math.floor(Math.random()*q.fxs.length);q.fxs.push(q.fxs.splice(v,1)[0])}d("randomized fx sequence: ",q.fxs)}return true}function l(q,r){q.addSlide=function(w,v){var u=e(w),t=u[0];if(!q.autostopCount){q.countdown++}r[v?"unshift":"push"](t);if(q.els){q.els[v?"unshift":"push"](t)}q.slideCount=r.length;u.css("position","absolute");u[v?"prependTo":"appendTo"](q.$cont);if(v){q.currSlide++;q.nextSlide++}if(!e.support.opacity&&q.cleartype&&!q.cleartypeNoBg){k(u)}if(q.fit&&q.width){u.width(q.width)}if(q.fit&&q.height&&q.height!="auto"){$slides.height(q.height)}t.cycleH=(q.fit&&q.height)?q.height:u.height();t.cycleW=(q.fit&&q.width)?q.width:u.width();u.css(q.cssBefore);if(q.pager){e.fn.cycle.createPagerAnchor(r.length-1,t,e(q.pager),r,q)}if(e.isFunction(q.onAddSlide)){q.onAddSlide(u)}else{u.hide()}}}e.fn.cycle.resetState=function(q,s){s=s||q.fx;q.before=[];q.after=[];q.cssBefore=e.extend({},q.original.cssBefore);q.cssAfter=e.extend({},q.original.cssAfter);q.animIn=e.extend({},q.original.animIn);q.animOut=e.extend({},q.original.animOut);q.fxFn=null;e.each(q.original.before,function(){q.before.push(this)});e.each(q.original.after,function(){q.after.push(this)});var r=e.fn.cycle.transitions[s];if(e.isFunction(r)){r(q.$cont,e(q.elements),q)}};function n(s,A,z,v){if(z&&A.busy&&A.manualTrump){e(s).stop(true,true);A.busy=false}if(A.busy){return}var x=A.$cont[0],y=s[A.currSlide],q=s[A.nextSlide];if(x.cycleStop!=A.stopCount||x.cycleTimeout===0&&!z){return}if(!z&&!x.cyclePause&&((A.autostop&&(--A.countdown<=0))||(A.nowrap&&!A.random&&A.nextSlide<A.currSlide))){if(A.end){A.end(A)}return}if(z||!x.cyclePause){var t=A.fx;y.cycleH=y.cycleH||e(y).height();y.cycleW=y.cycleW||e(y).width();q.cycleH=q.cycleH||e(q).height();q.cycleW=q.cycleW||e(q).width();if(A.multiFx){if(A.lastFx==undefined||++A.lastFx>=A.fxs.length){A.lastFx=0}t=A.fxs[A.lastFx];A.currFx=t}if(A.oneTimeFx){t=A.oneTimeFx;A.oneTimeFx=null}e.fn.cycle.resetState(A,t);if(A.before.length){e.each(A.before,function(C,B){if(x.cycleStop!=A.stopCount){return}B.apply(q,[y,q,A,v])})}var r=function(){e.each(A.after,function(C,B){if(x.cycleStop!=A.stopCount){return}B.apply(q,[y,q,A,v])})};if(A.nextSlide!=A.currSlide){A.busy=1;if(A.fxFn){A.fxFn(y,q,A,r,v)}else{if(e.isFunction(e.fn.cycle[A.fx])){e.fn.cycle[A.fx](y,q,A,r)}else{e.fn.cycle.custom(y,q,A,r,z&&A.fastOnEvent)}}}A.lastSlide=A.currSlide;if(A.random){A.currSlide=A.nextSlide;if(++A.randomIndex==s.length){A.randomIndex=0}A.nextSlide=A.randomMap[A.randomIndex]}else{var u=(A.nextSlide+1)==s.length;A.nextSlide=u?0:A.nextSlide+1;A.currSlide=u?s.length-1:A.nextSlide-1}if(A.pager){A.updateActivePagerLink(A.pager,A.currSlide,A.activePagerClass)}}var w=0;if(A.timeout&&!A.continuous){w=h(y,q,A,v)}else{if(A.continuous&&x.cyclePause){w=10}}if(w>0){x.cycleTimeout=setTimeout(function(){n(s,A,0,!A.rev)},w)}}e.fn.cycle.updateActivePagerLink=function(s,q,r){e(s).each(function(){e(this).find("a").removeClass(r).filter("a:eq("+q+")").addClass(r)})};function h(s,u,q,v){if(q.timeoutFn){var r=q.timeoutFn(s,u,q,v);while((r-q.speed)<250){r+=q.speed}d("calculated timeout: "+r+"; speed: "+q.speed);if(r!==false){return r}}return q.timeout}e.fn.cycle.next=function(q){c(q,q.rev?-1:1)};e.fn.cycle.prev=function(q){c(q,q.rev?1:-1)};function c(q,t){var u=q.elements;var r=q.$cont[0],s=r.cycleTimeout;if(s){clearTimeout(s);r.cycleTimeout=0}if(q.random&&t<0){q.randomIndex--;if(--q.randomIndex==-2){q.randomIndex=u.length-2}else{if(q.randomIndex==-1){q.randomIndex=u.length-1}}q.nextSlide=q.randomMap[q.randomIndex]}else{if(q.random){q.nextSlide=q.randomMap[q.randomIndex]}else{q.nextSlide=q.currSlide+t;if(q.nextSlide<0){if(q.nowrap){return false}q.nextSlide=u.length-1}else{if(q.nextSlide>=u.length){if(q.nowrap){return false}q.nextSlide=0}}}}if(e.isFunction(q.prevNextClick)){q.prevNextClick(t>0,q.nextSlide,u[q.nextSlide])}n(u,q,1,t>=0);return false}function j(s,q){var r=e(q.pager);e.each(s,function(u,t){e.fn.cycle.createPagerAnchor(u,t,r,s,q)});q.updateActivePagerLink(q.pager,q.startingSlide,q.activePagerClass)}e.fn.cycle.createPagerAnchor=function(q,u,v,s,x){var t;if(e.isFunction(x.pagerAnchorBuilder)){t=x.pagerAnchorBuilder(q,u)}else{t='<a href="#">'+(q+1)+"</a>"}if(!t){return}var r=e(t);if(r.parents("body").length===0){var w=[];if(v.length>1){v.each(function(){var y=r.clone(true);e(this).append(y);w.push(y[0])});r=e(w)}else{r.appendTo(v)}}r.bind(x.pagerEvent,function(z){z.preventDefault();x.nextSlide=q;var A=x.$cont[0],y=A.cycleTimeout;if(y){clearTimeout(y);A.cycleTimeout=0}if(e.isFunction(x.pagerClick)){x.pagerClick(x.nextSlide,s[x.nextSlide])}n(s,x,1,x.currSlide<q);return false});if(x.pagerEvent!="click"){r.click(function(){return false})}if(x.pauseOnPagerHover){r.hover(function(){x.$cont[0].cyclePause++},function(){x.$cont[0].cyclePause--})}};e.fn.cycle.hopsFromLast=function(q,u){var t,s=q.lastSlide,r=q.currSlide;if(u){t=r>s?r-s:q.slideCount-s}else{t=r<s?s-r:s+q.slideCount-r}return t};function k(q){function r(t){t=parseInt(t).toString(16);return t.length<2?"0"+t:t}function s(w){for(;w&&w.nodeName.toLowerCase()!="html";w=w.parentNode){var t=e.css(w,"background-color");if(t.indexOf("rgb")>=0){var u=t.match(/\d+/g);return"#"+r(u[0])+r(u[1])+r(u[2])}if(t&&t!="transparent"){return t}}return"#ffffff"}q.each(function(){e(this).css("background-color",s(this))})}e.fn.cycle.commonReset=function(r,v,q,s,t,u){e(q.elements).not(r).hide();q.cssBefore.opacity=1;q.cssBefore.display="block";if(s!==false&&v.cycleW>0){q.cssBefore.width=v.cycleW}if(t!==false&&v.cycleH>0){q.cssBefore.height=v.cycleH}q.cssAfter=q.cssAfter||{};q.cssAfter.display="none";e(r).css("zIndex",q.slideCount+(u===true?1:0));e(v).css("zIndex",q.slideCount+(u===true?0:1))};e.fn.cycle.custom=function(w,q,v,x,s){var y=e(w),B=e(q);var r=v.speedIn,u=v.speedOut,A=v.easeIn,z=v.easeOut;B.css(v.cssBefore);if(s){if(typeof s=="number"){r=u=s}else{r=u=1}A=z=null}var t=function(){B.animate(v.animIn,r,A,x)};y.animate(v.animOut,u,z,function(){if(v.cssAfter){y.css(v.cssAfter)}if(!v.sync){t()}});if(v.sync){t()}};e.fn.cycle.transitions={fade:function(r,s,q){s.not(":eq("+q.currSlide+")").css("opacity",0);q.before.push(function(u,v,t){e.fn.cycle.commonReset(u,v,t);t.cssBefore.opacity=0});q.animIn={opacity:1};q.animOut={opacity:0};q.cssBefore={top:0,left:0}}};e.fn.cycle.ver=function(){return f};e.fn.cycle.defaults={fx:"fade",timeout:4000,timeoutFn:null,continuous:0,speed:1000,speedIn:null,speedOut:null,next:null,prev:null,prevNextClick:null,prevNextEvent:"click",pager:null,pagerClick:null,pagerEvent:"click",pagerAnchorBuilder:null,before:null,after:null,end:null,easing:null,easeIn:null,easeOut:null,shuffle:null,animIn:null,animOut:null,cssBefore:null,cssAfter:null,fxFn:null,height:"auto",startingSlide:0,sync:1,random:0,fit:0,containerResize:1,pause:0,pauseOnPagerHover:0,autostop:0,autostopCount:0,delay:0,slideExpr:null,cleartype:!e.support.opacity,cleartypeNoBg:false,nowrap:0,fastOnEvent:0,randomizeEffects:1,rev:0,manualTrump:true,requeueOnImageNotLoaded:true,requeueTimeout:250,activePagerClass:"activeSlide",updateActivePagerLink:null}})(jQuery);(function(a){a.fn.cycle.transitions.none=function(c,d,b){b.fxFn=function(g,h,e,f){a(h).show();a(g).hide();f()}};a.fn.cycle.transitions.scrollUp=function(c,d,b){c.css("overflow","hidden");b.before.push(a.fn.cycle.commonReset);var e=c.height();b.cssBefore={top:e,left:0};b.cssFirst={top:0};b.animIn={top:0};b.animOut={top:-e}};a.fn.cycle.transitions.scrollDown=function(c,d,b){c.css("overflow","hidden");b.before.push(a.fn.cycle.commonReset);var e=c.height();b.cssFirst={top:0};b.cssBefore={top:-e,left:0};b.animIn={top:0};b.animOut={top:e}};a.fn.cycle.transitions.scrollLeft=function(c,d,b){c.css("overflow","hidden");b.before.push(a.fn.cycle.commonReset);var e=c.width();b.cssFirst={left:0};b.cssBefore={left:e,top:0};b.animIn={left:0};b.animOut={left:0-e}};a.fn.cycle.transitions.scrollRight=function(c,d,b){c.css("overflow","hidden");b.before.push(a.fn.cycle.commonReset);var e=c.width();b.cssFirst={left:0};b.cssBefore={left:-e,top:0};b.animIn={left:0};b.animOut={left:e}};a.fn.cycle.transitions.scrollHorz=function(c,d,b){c.css("overflow","hidden").width();b.before.push(function(f,g,e,h){a.fn.cycle.commonReset(f,g,e);e.cssBefore.left=h?(g.cycleW-1):(1-g.cycleW);e.animOut.left=h?-f.cycleW:f.cycleW});b.cssFirst={left:0};b.cssBefore={top:0};b.animIn={left:0};b.animOut={top:0}};a.fn.cycle.transitions.scrollVert=function(c,d,b){c.css("overflow","hidden");b.before.push(function(f,g,e,h){a.fn.cycle.commonReset(f,g,e);e.cssBefore.top=h?(1-g.cycleH):(g.cycleH-1);e.animOut.top=h?f.cycleH:-f.cycleH});b.cssFirst={top:0};b.cssBefore={left:0};b.animIn={top:0};b.animOut={left:0}};a.fn.cycle.transitions.slideX=function(c,d,b){b.before.push(function(f,g,e){a(e.elements).not(f).hide();a.fn.cycle.commonReset(f,g,e,false,true);e.animIn.width=g.cycleW});b.cssBefore={left:0,top:0,width:0};b.animIn={width:"show"};b.animOut={width:0}};a.fn.cycle.transitions.slideY=function(c,d,b){b.before.push(function(f,g,e){a(e.elements).not(f).hide();a.fn.cycle.commonReset(f,g,e,true,false);e.animIn.height=g.cycleH});b.cssBefore={left:0,top:0,height:0};b.animIn={height:"show"};b.animOut={height:0}};a.fn.cycle.transitions.shuffle=function(c,d,b){var f,e=c.css("overflow","visible").width();d.css({left:0,top:0});b.before.push(function(h,i,g){a.fn.cycle.commonReset(h,i,g,true,true,true)});if(!b.speedAdjusted){b.speed=b.speed/2;b.speedAdjusted=true}b.random=0;b.shuffle=b.shuffle||{left:-e,top:15};b.els=[];for(f=0;f<d.length;f++){b.els.push(d[f])}for(f=0;f<b.currSlide;f++){b.els.push(b.els.shift())}b.fxFn=function(i,l,g,k,m){var h=m?a(i):a(l);a(l).css(g.cssBefore);var j=g.slideCount;h.animate(g.shuffle,g.speedIn,g.easeIn,function(){var r=a.fn.cycle.hopsFromLast(g,m);for(var s=0;s<r;s++){m?g.els.push(g.els.shift()):g.els.unshift(g.els.pop())}if(m){for(var q=0,n=g.els.length;q<n;q++){a(g.els[q]).css("z-index",n-q+j)}}else{var o=a(i).css("z-index");h.css("z-index",parseInt(o)+1+j)}h.animate({left:0,top:0},g.speedOut,g.easeOut,function(){a(m?this:i).hide();if(k){k()}})})};b.cssBefore={display:"block",opacity:1,top:0,left:0}};a.fn.cycle.transitions.turnUp=function(c,d,b){b.before.push(function(f,g,e){a.fn.cycle.commonReset(f,g,e,true,false);e.cssBefore.top=g.cycleH;e.animIn.height=g.cycleH});b.cssFirst={top:0};b.cssBefore={left:0,height:0};b.animIn={top:0};b.animOut={height:0}};a.fn.cycle.transitions.turnDown=function(c,d,b){b.before.push(function(f,g,e){a.fn.cycle.commonReset(f,g,e,true,false);e.animIn.height=g.cycleH;e.animOut.top=f.cycleH});b.cssFirst={top:0};b.cssBefore={left:0,top:0,height:0};b.animOut={height:0}};a.fn.cycle.transitions.turnLeft=function(c,d,b){b.before.push(function(f,g,e){a.fn.cycle.commonReset(f,g,e,false,true);e.cssBefore.left=g.cycleW;e.animIn.width=g.cycleW});b.cssBefore={top:0,width:0};b.animIn={left:0};b.animOut={width:0}};a.fn.cycle.transitions.turnRight=function(c,d,b){b.before.push(function(f,g,e){a.fn.cycle.commonReset(f,g,e,false,true);e.animIn.width=g.cycleW;e.animOut.left=f.cycleW});b.cssBefore={top:0,left:0,width:0};b.animIn={left:0};b.animOut={width:0}};a.fn.cycle.transitions.zoom=function(c,d,b){b.before.push(function(f,g,e){a.fn.cycle.commonReset(f,g,e,false,false,true);e.cssBefore.top=g.cycleH/2;e.cssBefore.left=g.cycleW/2;e.animIn={top:0,left:0,width:g.cycleW,height:g.cycleH};e.animOut={width:0,height:0,top:f.cycleH/2,left:f.cycleW/2}});b.cssFirst={top:0,left:0};b.cssBefore={width:0,height:0}};a.fn.cycle.transitions.fadeZoom=function(c,d,b){b.before.push(function(f,g,e){a.fn.cycle.commonReset(f,g,e,false,false);e.cssBefore.left=g.cycleW/2;e.cssBefore.top=g.cycleH/2;e.animIn={top:0,left:0,width:g.cycleW,height:g.cycleH}});b.cssBefore={width:0,height:0};b.animOut={opacity:0}};a.fn.cycle.transitions.blindX=function(c,d,b){var e=c.css("overflow","hidden").width();b.before.push(function(g,h,f){a.fn.cycle.commonReset(g,h,f);f.animIn.width=h.cycleW;f.animOut.left=g.cycleW});b.cssBefore={left:e,top:0};b.animIn={left:0};b.animOut={left:e}};a.fn.cycle.transitions.blindY=function(c,d,b){var e=c.css("overflow","hidden").height();b.before.push(function(g,h,f){a.fn.cycle.commonReset(g,h,f);f.animIn.height=h.cycleH;f.animOut.top=g.cycleH});b.cssBefore={top:e,left:0};b.animIn={top:0};b.animOut={top:e}};a.fn.cycle.transitions.blindZ=function(c,d,b){var f=c.css("overflow","hidden").height();var e=c.width();b.before.push(function(h,i,g){a.fn.cycle.commonReset(h,i,g);g.animIn.height=i.cycleH;g.animOut.top=h.cycleH});b.cssBefore={top:f,left:e};b.animIn={top:0,left:0};b.animOut={top:f,left:e}};a.fn.cycle.transitions.growX=function(c,d,b){b.before.push(function(f,g,e){a.fn.cycle.commonReset(f,g,e,false,true);e.cssBefore.left=this.cycleW/2;e.animIn={left:0,width:this.cycleW};e.animOut={left:0}});b.cssBefore={width:0,top:0}};a.fn.cycle.transitions.growY=function(c,d,b){b.before.push(function(f,g,e){a.fn.cycle.commonReset(f,g,e,true,false);e.cssBefore.top=this.cycleH/2;e.animIn={top:0,height:this.cycleH};e.animOut={top:0}});b.cssBefore={height:0,left:0}};a.fn.cycle.transitions.curtainX=function(c,d,b){b.before.push(function(f,g,e){a.fn.cycle.commonReset(f,g,e,false,true,true);e.cssBefore.left=g.cycleW/2;e.animIn={left:0,width:this.cycleW};e.animOut={left:f.cycleW/2,width:0}});b.cssBefore={top:0,width:0}};a.fn.cycle.transitions.curtainY=function(c,d,b){b.before.push(function(f,g,e){a.fn.cycle.commonReset(f,g,e,true,false,true);e.cssBefore.top=g.cycleH/2;e.animIn={top:0,height:g.cycleH};e.animOut={top:f.cycleH/2,height:0}});b.cssBefore={left:0,height:0}};a.fn.cycle.transitions.cover=function(c,e,b){var i=b.direction||"left";var f=c.css("overflow","hidden").width();var g=c.height();b.before.push(function(h,j,d){a.fn.cycle.commonReset(h,j,d);if(i=="right"){d.cssBefore.left=-f}else{if(i=="up"){d.cssBefore.top=g}else{if(i=="down"){d.cssBefore.top=-g}else{d.cssBefore.left=f}}}});b.animIn={left:0,top:0};b.animOut={opacity:1};b.cssBefore={top:0,left:0}};a.fn.cycle.transitions.uncover=function(c,e,b){var i=b.direction||"left";var f=c.css("overflow","hidden").width();var g=c.height();b.before.push(function(h,j,d){a.fn.cycle.commonReset(h,j,d,true,true,true);if(i=="right"){d.animOut.left=f}else{if(i=="up"){d.animOut.top=-g}else{if(i=="down"){d.animOut.top=g}else{d.animOut.left=-f}}}});b.animIn={left:0,top:0};b.animOut={opacity:1};b.cssBefore={top:0,left:0}};a.fn.cycle.transitions.toss=function(c,d,b){var e=c.css("overflow","visible").width();var f=c.height();b.before.push(function(h,i,g){a.fn.cycle.commonReset(h,i,g,true,true,true);if(!g.animOut.left&&!g.animOut.top){g.animOut={left:e*2,top:-f/2,opacity:0}}else{g.animOut.opacity=0}});b.cssBefore={left:0,top:0};b.animIn={left:0}};a.fn.cycle.transitions.wipe=function(c,g,k){var s=c.css("overflow","hidden").width();var u=c.height();k.cssBefore=k.cssBefore||{};var q;if(k.clip){if(/l2r/.test(k.clip)){q="rect(0px 0px "+u+"px 0px)"}else{if(/r2l/.test(k.clip)){q="rect(0px "+s+"px "+u+"px "+s+"px)"}else{if(/t2b/.test(k.clip)){q="rect(0px "+s+"px 0px 0px)"}else{if(/b2t/.test(k.clip)){q="rect("+u+"px "+s+"px "+u+"px 0px)"}else{if(/zoom/.test(k.clip)){var e=parseInt(u/2);var f=parseInt(s/2);q="rect("+e+"px "+f+"px "+e+"px "+f+"px)"}}}}}}k.cssBefore.clip=k.cssBefore.clip||q||"rect(0px 0px 0px 0px)";var j=k.cssBefore.clip.match(/(\d+)/g);var o=parseInt(j[0]),n=parseInt(j[1]),i=parseInt(j[2]),m=parseInt(j[3]);k.before.push(function(l,b,w){if(l==b){return}var r=a(l),d=a(b);a.fn.cycle.commonReset(l,b,w,true,true,false);w.cssAfter.display="block";var t=1,v=parseInt((w.speedIn/13))-1;(function h(){var x=o?o-parseInt(t*(o/v)):0;var z=m?m-parseInt(t*(m/v)):0;var A=i<u?i+parseInt(t*((u-i)/v||1)):u;var y=n<s?n+parseInt(t*((s-n)/v||1)):s;d.css({clip:"rect("+x+"px "+y+"px "+A+"px "+z+"px)"});(t++<=v)?setTimeout(h,13):r.css("display","none")})()});k.cssBefore={display:"block",opacity:1,top:0,left:0};k.animIn={left:0};k.animOut={left:0}}})(jQuery);(function(a){a.fn.simpleFAQ=function(j){var w=this;if(w.length!=1){return w}w.addClass("simpleFAQList");j=(j)?j:{};j=b(a.extend({},a.fn.simpleFAQ.defaults,j));if(w.attr("id").length<1){w.attr("id","simpleFAQ_"+Math.floor(Math.random()*1000))}var k=j.questionClass;var c=j.answerClass;var u=j.nodeType;if(j.data!=null){var q=j.data;w.html("");for(var g=0,f=q.length;g<f;++g){w.append("<"+u+" class='simpleFAQ'> <p class='"+k+"'>"+q[g].question+"</p> <div class='"+c+"'>"+q[g].answer+"<p class='"+j.tagClass+"'>"+q[g].tags+"</p></div></"+u+">")}}var e=a("#"+w.attr("id")+" > "+u);e.find("."+k).css("cursor","pointer").hover(function(){a(this).addClass("simpleFAQHover")},function(){a(this).removeClass("simpleFAQHover")}).bind("click.simpleFAQ",function(d){var h=a(this).parent();if(j.showOnlyOne){w.find(u).not(h).find("."+c).slideUp(j.speed,function(){a(this).parent().removeClass("simpleFAQShowing")})}a(this).siblings("."+c).slideToggle(j.speed,function(){if(a(this).is(":visible")){h.addClass("simpleFAQShowing");var i=h.attr("id");if(i&&i.length>0){}w.trigger("show.simpleFAQ",[h[0]])}else{h.removeClass("simpleFAQShowing")}})});e.find("."+c).hide();if(j.allowSearch){var v=function(d){a(d).hide().removeClass("simpleFAQResult").find("."+c).hide().parent().removeClass("simpleFAQShowing")};var p=a(j.searchNode);if(p.length>0&&typeof a.score=="function"){v(w.find(u));var t;p.append("<input type='text' id='simpleFAQSearch' />").find("#simpleFAQSearch").keyup(function(h){clearTimeout(t);var d=this;if(d.value.length<1){v(w.find(u));return}t=setTimeout(function(){w.trigger("searchStart.simpleFAQ",[]);var l=[];e.each(function(x){var z=a(this);var y=z.find("."+j.tagClass).text();y=(j.caseSensitive)?y:y.toLowerCase();var o=z.text();o=(j.caseSensitive)?o:o.toLowerCase();var A=s(d.value,j);var n=0;if(A.length>0){n=a.score(o,A);n+=r(A,y)}if(n>j.minSearchScore){l.push([n,z])}else{v(a(this))}});if(j.sortSearch){l.sort(function(n,o){return o[0]-n[0]})}var i=[];a.each(l,function(){w.append(this[1].show().addClass("simpleFAQResult"));i.push(this[1][0])});w.trigger("sort.simpleFAQ",[i]);w.trigger("searchEnd.simpleFAQ",[i])},a.fn.simpleFAQ.keyTimeout)})}}var r=function(h,n){var d=0;if(n.length<1){return d}var o=h.split(" ");for(var x=0,y=o.length;x<y;++x){if(o[x].length<1){continue}if(n.indexOf(o[x])>-1){d+=a.fn.simpleFAQ.tagMatchScore}}return d};var s=function(z,n){var y="";z=(n.caseSensitive)?z:z.toLowerCase();var l=n.ignore;if(l.length>0){var A=z.split(" ");for(var d=0;d<A.length;++d){if(A[d].length>0){if(typeof l.indexOf=="function"){if(l.indexOf(A[d])<0){y+=A[d]+" "}}else{var x=false;for(var h=0;h<l.length;++h){if(l[h]==A[d]){x=true;break}}if(!x){y+=A[d]+" "}}}}if(y.length>0){y=y.substr(0,y.length-1)}}else{y=z}return y};var t=document.location.hash;if(t&&t.length>0){var m=a(t);if(m&&m.is(".simpleFAQList>*")){m.find("."+k).trigger("click.simpleFAQ")}}return w};var b=function(c){var e=c.data;if(!e||!e.length||typeof e.splice!="function"){c.data=a.fn.simpleFAQ.defaults.data}if(typeof c.nodeType!="string"){c.nodeType=a.fn.simpleFAQ.defaults.nodeType}if(typeof c.questionClass!="string"){c.questionClass=a.fn.simpleFAQ.defaults.questionClass}if(typeof c.answerClass!="string"){c.answerClass=a.fn.simpleFAQ.defaults.answerClass}if(typeof c.tagClass!="string"){c.tagClass=a.fn.simpleFAQ.defaults.tagClass}if(typeof c.showOnlyOne!="boolean"){c.showOnlyOne=a.fn.simpleFAQ.defaults.showOnlyOne}if(typeof c.allowSearch!="boolean"){c.allowSearch=a.fn.simpleFAQ.defaults.allowSearch}if(typeof c.minSearchScore!="number"){c.minSearchScore=a.fn.simpleFAQ.defaults.minSearchScore}if(typeof c.sortSearch!="boolean"){c.sortSearch=a.fn.simpleFAQ.defaults.sortSearch}if(typeof c.caseSensitive!="boolean"){c.caseSensitive=a.fn.simpleFAQ.defaults.caseSensitive}if(typeof c.speed!="number"){c.speed=a.fn.simpleFAQ.defaults.speed}var f=c.ignore;if(!f||!f.length||typeof f.splice!="function"){c.ignore=a.fn.simpleFAQ.defaults.ignore}return c};a.fn.simpleFAQ.keyTimeout=400;a.fn.simpleFAQ.tagMatchScore=0.1;a.fn.simpleFAQ.defaults={data:null,nodeType:"li",questionClass:"question",answerClass:"answer",tagClass:"tags",showOnlyOne:false,allowSearch:false,searchNode:null,minSearchScore:0,sortSearch:false,caseSensitive:false,speed:500,ignore:["the","a","an","i","we","you","it","that","those","these","them","to","and","or","as","at","by","for","of","so"]}})(jQuery);(function(a){a.score=function(f,n,p){p=p||0;if(n.length==0){return 0.9}if(n.length>f.length){return 0}for(var b=n.length;b>0;b--){var g=n.substring(0,b);var k=f.indexOf(g);if(k<0){continue}if(k+n.length>f.length+p){continue}var m=f.substring(k+g.length);var d=null;if(b>=n.length){d=""}else{d=n.substring(b)}var l=a.score(m,d,p+k);if(l>0){var e=f.length-m.length;if(k!=0){var o=0;var h=f.charCodeAt(k-1);if(h==32||h==9){for(var o=(k-2);o>=0;o--){h=f.charCodeAt(o);e-=((h==32||h==9)?1:0.15)}}else{e-=k}}e+=l*m.length;e/=f.length;return e}}return 0}})(jQuery);jQuery.ui||(function(m){var j=m.fn.remove,n=m.browser.mozilla&&(parseFloat(m.browser.version)<1.9);m.ui={version:"1.7.2",plugin:{add:function(d,e,b){var a=m.ui[d].prototype;for(var c in b){a.plugins[c]=a.plugins[c]||[];a.plugins[c].push([e,b[c]])}},call:function(c,e,d){var b=c.plugins[e];if(!b||!c.element[0].parentNode){return}for(var a=0;a<b.length;a++){if(c.options[b[a][0]]){b[a][1].apply(c.element,d)}}}},contains:function(b,a){return document.compareDocumentPosition?b.compareDocumentPosition(a)&16:b!==a&&b.contains(a)},hasScroll:function(a,c){if(m(a).css("overflow")=="hidden"){return false}var b=(c&&c=="left")?"scrollLeft":"scrollTop",d=false;if(a[b]>0){return true}a[b]=1;d=(a[b]>0);a[b]=0;return d},isOverAxis:function(b,a,c){return(b>a)&&(b<(a+c))},isOver:function(c,e,b,a,d,f){return m.ui.isOverAxis(c,b,d)&&m.ui.isOverAxis(e,a,f)},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(n){var p=m.attr,o=m.fn.removeAttr,r="http://www.w3.org/2005/07/aaa",k=/^aria-/,l=/^wairole:/;m.attr=function(c,b,d){var a=d!==undefined;return(b=="role"?(a?p.call(this,c,b,"wairole:"+d):(p.apply(this,arguments)||"").replace(l,"")):(k.test(b)?(a?c.setAttributeNS(r,b.replace(k,"aaa:"),d):p.call(this,c,b.replace(k,"aaa:"))):p.apply(this,arguments)))};m.fn.removeAttr=function(a){return(k.test(a)?this.each(function(){this.removeAttributeNS(r,a.replace(k,""))}):o.call(this,a))}}m.fn.extend({remove:function(){m("*",this).add(this).each(function(){m(this).triggerHandler("remove")});return j.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 a;if((m.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){a=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(m.curCSS(this,"position",1))&&(/(auto|scroll)/).test(m.curCSS(this,"overflow",1)+m.curCSS(this,"overflow-y",1)+m.curCSS(this,"overflow-x",1))}).eq(0)}else{a=this.parents().filter(function(){return(/(auto|scroll)/).test(m.curCSS(this,"overflow",1)+m.curCSS(this,"overflow-y",1)+m.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!a.length?m(document):a}});m.extend(m.expr[":"],{data:function(c,b,a){return !!m.data(c,a[3])},focusable:function(b){var c=b.nodeName.toLowerCase(),a=m.attr(b,"tabindex");return(/input|select|textarea|button|object/.test(c)?!b.disabled:"a"==c||"area"==c?b.href||!isNaN(a):!isNaN(a))&&!m(b)["area"==c?"parents":"closest"](":hidden").length},tabbable:function(b){var a=m.attr(b,"tabindex");return(isNaN(a)||a>=0)&&m(b).is(":focusable")}});function q(a,b,c,f){function e(h){var g=m[a][b][h]||[];return(typeof g=="string"?g.split(/,?\s+/):g)}var d=e("getter");if(f.length==1&&typeof f[0]=="string"){d=d.concat(e("getterSetter"))}return(m.inArray(c,d)!=-1)}m.widget=function(b,a){var c=b.split(".")[0];b=b.split(".")[1];m.fn[b]=function(g){var e=(typeof g=="string"),f=Array.prototype.slice.call(arguments,1);if(e&&g.substring(0,1)=="_"){return this}if(e&&q(c,b,g,f)){var d=m.data(this[0],b);return(d?d[g].apply(d,f):undefined)}return this.each(function(){var h=m.data(this,b);(!h&&!e&&m.data(this,b,new m[c][b](this,g))._init());(h&&e&&m.isFunction(h[g])&&h[g].apply(h,f))})};m[c]=m[c]||{};m[c][b]=function(f,e){var d=this;this.namespace=c;this.widgetName=b;this.widgetEventPrefix=m[c][b].eventPrefix||b;this.widgetBaseClass=c+"-"+b;this.options=m.extend({},m.widget.defaults,m[c][b].defaults,m.metadata&&m.metadata.get(f)[b],e);this.element=m(f).bind("setData."+b,function(i,h,g){if(i.target==f){return d._setData(h,g)}}).bind("getData."+b,function(h,g){if(h.target==f){return d._getData(g)}}).bind("remove",function(){return d.destroy()})};m[c][b].prototype=m.extend({},m.widget.prototype,a);m[c][b].getterSetter="option"};m.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")},option:function(d,a){var c=d,b=this;if(typeof d=="string"){if(a===undefined){return this._getData(d)}c={};c[d]=a}m.each(c,function(e,f){b._setData(e,f)})},_getData:function(a){return this.options[a]},_setData:function(a,b){this.options[a]=b;if(a=="disabled"){this.element[b?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",b)}},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)},_trigger:function(g,a,b){var f=this.options[g],e=(g==this.widgetEventPrefix?g:this.widgetEventPrefix+g);a=m.Event(a);a.type=e;if(a.originalEvent){for(var d=m.event.props.length,c;d;){c=m.event.props[--d];a[c]=a.originalEvent[c]}}this.element.trigger(a,b);return !(m.isFunction(f)&&f.call(this.element[0],a,b)===false||a.isDefaultPrevented())}};m.widget.defaults={disabled:false};m.ui.mouse={_mouseInit:function(){var a=this;this.element.bind("mousedown."+this.widgetName,function(b){return a._mouseDown(b)}).bind("click."+this.widgetName,function(b){if(a._preventClickEvent){a._preventClickEvent=false;b.stopImmediatePropagation();return false}});if(m.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on")}this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);(m.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable))},_mouseDown:function(d){d.originalEvent=d.originalEvent||{};if(d.originalEvent.mouseHandled){return}(this._mouseStarted&&this._mouseUp(d));this._mouseDownEvent=d;var c=this,a=(d.which==1),b=(typeof this.options.cancel=="string"?m(d.target).parents().add(d.target).filter(this.options.cancel).length:false);if(!a||b||!this._mouseCapture(d)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){c.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(d)&&this._mouseDelayMet(d)){this._mouseStarted=(this._mouseStart(d)!==false);if(!this._mouseStarted){d.preventDefault();return true}}this._mouseMoveDelegate=function(e){return c._mouseMove(e)};this._mouseUpDelegate=function(e){return c._mouseUp(e)};m(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(m.browser.safari||d.preventDefault());d.originalEvent.mouseHandled=true;return true},_mouseMove:function(a){if(m.browser.msie&&!a.button){return this._mouseUp(a)}if(this._mouseStarted){this._mouseDrag(a);return a.preventDefault()}if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,a)!==false);(this._mouseStarted?this._mouseDrag(a):this._mouseUp(a))}return !this._mouseStarted},_mouseUp:function(a){m(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(a.target==this._mouseDownEvent.target);this._mouseStop(a)}return false},_mouseDistanceMet:function(a){return(Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance)},_mouseDelayMet:function(a){return this.mouseDelayMet},_mouseStart:function(a){},_mouseDrag:function(a){},_mouseStop:function(a){},_mouseCapture:function(a){return true}};m.ui.mouse.defaults={cancel:null,distance:1,delay:0}})(jQuery);(function(f){var e={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"},d="ui-dialog ui-widget ui-widget-content ui-corner-all ";f.widget("ui.dialog",{_init:function(){this.originalTitle=this.element.attr("title");var n=this,o=this.options,b=o.title||this.originalTitle||"&nbsp;",q=f.ui.dialog.getTitleId(this.element),c=(this.uiDialog=f("<div/>")).appendTo(document.body).hide().addClass(d+o.dialogClass).css({position:"absolute",overflow:"hidden",zIndex:o.zIndex}).attr("tabIndex",-1).css("outline",0).keydown(function(g){(o.closeOnEscape&&g.keyCode&&g.keyCode==f.ui.keyCode.ESCAPE&&n.close(g))}).attr({role:"dialog","aria-labelledby":q}).mousedown(function(g){n.moveToTop(false,g)}),s=this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(c),r=(this.uiDialogTitlebar=f("<div></div>")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(c),a=f('<a href="#"/>').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role","button").hover(function(){a.addClass("ui-state-hover")},function(){a.removeClass("ui-state-hover")}).focus(function(){a.addClass("ui-state-focus")}).blur(function(){a.removeClass("ui-state-focus")}).mousedown(function(g){g.stopPropagation()}).click(function(g){n.close(g);return false}).appendTo(r),t=(this.uiDialogTitlebarCloseText=f("<span/>")).addClass("ui-icon ui-icon-closethick").text(o.closeText).appendTo(a),p=f("<span/>").addClass("ui-dialog-title").attr("id",q).html(b).prependTo(r);r.find("*").add(r).disableSelection();(o.draggable&&f.fn.draggable&&this._makeDraggable());(o.resizable&&f.fn.resizable&&this._makeResizable());this._createButtons(o.buttons);this._isOpen=false;(o.bgiframe&&f.fn.bgiframe&&c.bgiframe());(o.autoOpen&&this.open())},destroy:function(){(this.overlay&&this.overlay.destroy());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){var a=this;if(false===a._trigger("beforeclose",c)){return}(a.overlay&&a.overlay.destroy());a.uiDialog.unbind("keypress.ui-dialog");(a.options.hide?a.uiDialog.hide(a.options.hide,function(){a._trigger("close",c)}):a.uiDialog.hide()&&a._trigger("close",c));f.ui.dialog.overlay.resize();a._isOpen=false;if(a.options.modal){var b=0;f(".ui-dialog").each(function(){if(this!=a.uiDialog[0]){b=Math.max(b,f(this).css("z-index"))}});f.ui.dialog.maxZ=b}},isOpen:function(){return this._isOpen},moveToTop:function(c,b){if((this.options.modal&&!c)||(!this.options.stack&&!this.options.modal)){return this._trigger("focus",b)}if(this.options.zIndex>f.ui.dialog.maxZ){f.ui.dialog.maxZ=this.options.zIndex}(this.overlay&&this.overlay.$el.css("z-index",f.ui.dialog.overlay.maxZ=++f.ui.dialog.maxZ));var a={scrollTop:this.element.attr("scrollTop"),scrollLeft:this.element.attr("scrollLeft")};this.uiDialog.css("z-index",++f.ui.dialog.maxZ);this.element.attr(a);this._trigger("focus",b)},open:function(){if(this._isOpen){return}var b=this.options,a=this.uiDialog;this.overlay=b.modal?new f.ui.dialog.overlay(this):null;(a.next().length&&a.appendTo("body"));this._size();this._position(b.position);a.show(b.show);this.moveToTop(true);(b.modal&&a.bind("keypress.ui-dialog",function(c){if(c.keyCode!=f.ui.keyCode.TAB){return}var l=f(":tabbable",this),j=l.filter(":first")[0],k=l.filter(":last")[0];if(c.target==k&&!c.shiftKey){setTimeout(function(){j.focus()},1)}else{if(c.target==j&&c.shiftKey){setTimeout(function(){k.focus()},1)}}}));f([]).add(a.find(".ui-dialog-content :tabbable:first")).add(a.find(".ui-dialog-buttonpane :tabbable:first")).add(a).filter(":first").focus();this._trigger("open");this._isOpen=true},_createButtons:function(h){var c=this,a=false,b=f("<div></div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix");this.uiDialog.find(".ui-dialog-buttonpane").remove();(typeof h=="object"&&h!==null&&f.each(h,function(){return !(a=true)}));if(a){f.each(h,function(g,j){f('<button type="button"></button>').addClass("ui-state-default ui-corner-all").text(g).click(function(){j.apply(c.element[0],arguments)}).hover(function(){f(this).addClass("ui-state-hover")},function(){f(this).removeClass("ui-state-hover")}).focus(function(){f(this).addClass("ui-state-focus")}).blur(function(){f(this).removeClass("ui-state-focus")}).appendTo(b)});b.appendTo(this.uiDialog)}},_makeDraggable:function(){var a=this,c=this.options,b;this.uiDialog.draggable({cancel:".ui-dialog-content",handle:".ui-dialog-titlebar",containment:"document",start:function(){b=c.height;f(this).height(f(this).height()).addClass("ui-dialog-dragging");(c.dragStart&&c.dragStart.apply(a.element[0],arguments))},drag:function(){(c.drag&&c.drag.apply(a.element[0],arguments))},stop:function(){f(this).removeClass("ui-dialog-dragging").height(b);(c.dragStop&&c.dragStop.apply(a.element[0],arguments));f.ui.dialog.overlay.resize()}})},_makeResizable:function(h){h=(h===undefined?this.options.resizable:h);var a=this,c=this.options,b=typeof h=="string"?h:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",alsoResize:this.element,maxWidth:c.maxWidth,maxHeight:c.maxHeight,minWidth:c.minWidth,minHeight:c.minHeight,start:function(){f(this).addClass("ui-dialog-resizing");(c.resizeStart&&c.resizeStart.apply(a.element[0],arguments))},resize:function(){(c.resize&&c.resize.apply(a.element[0],arguments))},handles:b,stop:function(){f(this).removeClass("ui-dialog-resizing");c.height=f(this).height();c.width=f(this).width();(c.resizeStop&&c.resizeStop.apply(a.element[0],arguments));f.ui.dialog.overlay.resize()}}).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_position:function(c){var j=f(window),k=f(document),l=k.scrollTop(),a=k.scrollLeft(),b=l;if(f.inArray(c,["center","top","right","bottom","left"])>=0){c=[c=="right"||c=="left"?c:"center",c=="top"||c=="bottom"?c:"middle"]}if(c.constructor!=Array){c=["center","middle"]}if(c[0].constructor==Number){a+=c[0]}else{switch(c[0]){case"left":a+=0;break;case"right":a+=j.width()-this.uiDialog.outerWidth();break;default:case"center":a+=(j.width()-this.uiDialog.outerWidth())/2}}if(c[1].constructor==Number){l+=c[1]}else{switch(c[1]){case"top":l+=0;break;case"bottom":l+=j.height()-this.uiDialog.outerHeight();break;default:case"middle":l+=(j.height()-this.uiDialog.outerHeight())/2}}l=Math.max(l,b);this.uiDialog.css({top:l,left:a})},_setData:function(b,c){(e[b]&&this.uiDialog.data(e[b],c));switch(b){case"buttons":this._createButtons(c);break;case"closeText":this.uiDialogTitlebarCloseText.text(c);break;case"dialogClass":this.uiDialog.removeClass(this.options.dialogClass).addClass(d+c);break;case"draggable":(c?this._makeDraggable():this.uiDialog.draggable("destroy"));break;case"height":this.uiDialog.height(c);break;case"position":this._position(c);break;case"resizable":var a=this.uiDialog,h=this.uiDialog.is(":data(resizable)");(h&&!c&&a.resizable("destroy"));(h&&typeof c=="string"&&a.resizable("option","handles",c));(h||this._makeResizable(c));break;case"title":f(".ui-dialog-title",this.uiDialogTitlebar).html(c||"&nbsp;");break;case"width":this.uiDialog.width(c);break}f.widget.prototype._setData.apply(this,arguments)},_size:function(){var b=this.options;this.element.css({height:0,minHeight:0,width:"auto"});var a=this.uiDialog.css({height:"auto",width:b.width}).height();this.element.css({minHeight:Math.max(b.minHeight-a,0),height:b.height=="auto"?"auto":Math.max(b.height-a,0)})}});f.extend(f.ui.dialog,{version:"1.7.2",defaults:{autoOpen:true,bgiframe:false,buttons:{},closeOnEscape:true,closeText:"close",dialogClass:"",draggable:true,hide:null,height:"auto",maxHeight:false,maxWidth:false,minHeight:150,minWidth:150,modal:false,position:"center",resizable:true,show:null,stack:true,title:"",width:300,zIndex:1000},getter:"isOpen",uuid:0,maxZ:0,getTitleId:function(a){return"ui-dialog-title-"+(a.attr("id")||++this.uuid)},overlay:function(a){this.$el=f.ui.dialog.overlay.create(a)}});f.extend(f.ui.dialog.overlay,{instances:[],maxZ:0,events:f.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(a){return a+".dialog-overlay"}).join(" "),create:function(b){if(this.instances.length===0){setTimeout(function(){if(f.ui.dialog.overlay.instances.length){f(document).bind(f.ui.dialog.overlay.events,function(c){var h=f(c.target).parents(".ui-dialog").css("zIndex")||0;return(h>f.ui.dialog.overlay.maxZ)})}},1);f(document).bind("keydown.dialog-overlay",function(c){(b.options.closeOnEscape&&c.keyCode&&c.keyCode==f.ui.keyCode.ESCAPE&&b.close(c))});f(window).bind("resize.dialog-overlay",f.ui.dialog.overlay.resize)}var a=f("<div></div>").appendTo(document.body).addClass("ui-widget-overlay").css({width:this.width(),height:this.height()});(b.options.bgiframe&&f.fn.bgiframe&&a.bgiframe());this.instances.push(a);return a},destroy:function(a){this.instances.splice(f.inArray(this.instances,a),1);if(this.instances.length===0){f([document,window]).unbind(".dialog-overlay")}a.remove();var b=0;f.each(this.instances,function(){b=Math.max(b,this.css("z-index"))});this.maxZ=b},height:function(){if(f.browser.msie&&f.browser.version<7){var b=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);var a=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight);if(b<a){return f(window).height()+"px"}else{return b+"px"}}else{return f(document).height()+"px"}},width:function(){if(f.browser.msie&&f.browser.version<7){var a=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth);var b=Math.max(document.documentElement.offsetWidth,document.body.offsetWidth);if(a<b){return f(window).width()+"px"}else{return a+"px"}}else{return f(document).width()+"px"}},resize:function(){var a=f([]);f.each(f.ui.dialog.overlay.instances,function(){a=a.add(this)});a.css({width:0,height:0}).css({width:f.ui.dialog.overlay.width(),height:f.ui.dialog.overlay.height()})}});f.extend(f.ui.dialog.overlay.prototype,{destroy:function(){f.ui.dialog.overlay.destroy(this.$el)}})})(jQuery);(function(s){var q,m="watermark",u="watermarkClass",p="watermarkFocus",v="watermarkSubmit",r="watermarkMaxLength",t="watermarkPassword",n="watermarkText",o=":data("+m+")",l=":text,:password,:search,textarea";s.extend(s.expr[":"],{data:function(a,f,c,d){var b,e=/^((?:[^=!^$*]|[!^$*](?!=))+)(?:([!^$*]?=)(.*))?$/.exec(c[3]);if(e){b=s(a).data(e[1]);if(b!==q){if(e[2]){b=""+b;switch(e[2]){case"=":return(b==e[3]);case"!=":return(b!=e[3]);case"^=":return(b.slice(0,e[3].length)==e[3]);case"$=":return(b.slice(-e[3].length)==e[3]);case"*=":return(b.indexOf(e[3])!==-1)}}return true}}return false}});s.watermark={version:"3.0",options:{className:"watermark",useNative:true},hide:function(a){s(a).filter(o).each(function(){s.watermark._hide(s(this))})},_hide:function(c,a){if(c.val()==c.data(n)){c.val("");if(c.data(t)){if(c.attr("type")==="text"){var b=c.data(t),d=c.parent();d[0].removeChild(c[0]);d[0].appendChild(b[0]);c=b}}if(c.data(r)){c.attr("maxLength",c.data(r));c.removeData(r)}if(a){c.attr("autocomplete","off");window.setTimeout(function(){c.select()},0)}}c.removeClass(c.data(u))},show:function(a){s(a).filter(o).each(function(){s.watermark._show(s(this))})},_show:function(a){var g=a.val(),f=a.data(n),b=a.attr("type");if(((g.length==0)||(g==f))&&(!a.data(p))){if(a.data(t)){if(b==="password"){var c=a.data(t),e=a.parent();e[0].removeChild(a[0]);e[0].appendChild(c[0]);a=c;a.attr("maxLength",f.length)}}if((b==="text")||(b==="search")){var d=a.attr("maxLength");if((d>0)&&(f.length>d)){a.data(r,d);a.attr("maxLength",f.length)}}a.addClass(a.data(u));a.val(f)}else{s.watermark._hide(a)}},hideAll:function(){s.watermark.hide(l)},showAll:function(){s.watermark.show(l)}};s.fn.watermark=function(c,d){var b=(typeof(c)==="string"),a;if(typeof(d)==="object"){a=(typeof(d.className)==="string");d=s.extend({},s.watermark.options,d)}else{if(typeof(d)==="string"){a=true;d=s.extend({},s.watermark.options,{className:d})}else{d=s.watermark.options}}if(typeof(d.useNative)!=="function"){d.useNative=d.useNative?function(){return true}:function(){return false}}return this.each(function(){var f=s(this);if(!f.is(l)){return}if(f.data(m)){if(b||a){s.watermark._hide(f);if(b){f.data(n,c)}if(a){f.data(u,d.className)}}}else{if(d.useNative.call(this,f)){if(((""+f.css("-webkit-appearance")).replace("undefined","")!=="")&&(f.attr("tagName")!=="TEXTAREA")){if(b){f.attr("placeholder",c)}return}}f.data(n,b?c:"");f.data(u,d.className);f.data(m,1);if(f.attr("type")==="password"){var g=f.wrap("<span>").parent();var e=s(g.html().replace(/type=["']?password["']?/i,'type="text"'));e.data(n,f.data(n));e.data(u,f.data(u));e.data(m,1);e.attr("maxLength",c.length);e.focus(function(){s.watermark._hide(e,true)}).bind("dragenter",function(){s.watermark._hide(e)}).bind("dragend",function(){window.setTimeout(function(){e.blur()},1)});f.blur(function(){s.watermark._show(f)}).bind("dragleave",function(){s.watermark._show(f)});e.data(t,f);f.data(t,e)}else{f.focus(function(){f.data(p,1);s.watermark._hide(f,true)}).blur(function(){f.data(p,0);s.watermark._show(f)}).bind("dragenter",function(){s.watermark._hide(f)}).bind("dragleave",function(){s.watermark._show(f)}).bind("dragend",function(){window.setTimeout(function(){s.watermark._show(f)},1)}).bind("drop",function(i){var j=i.originalEvent.dataTransfer.getData("Text");if(f.val().replace(j,"")===f.data(n)){f.val(j)}f.focus()})}var h=s(this.form);if(!h.data(v)){h.data(v,this.form.submit);h.submit(s.watermark.hideAll);this.form.submit=function(){var i=h.data(v);s.watermark.hideAll();if(i.apply){i.apply(h[0],arguments)}else{i()}}}}s.watermark._show(f)}).end()}})(jQuery);(function(aI){function ad(){aA.hide();ax.onerror=ax.onload=null;aq&&aq.abort();aF.empty()}function p(){aI.fancybox('<p id="fancybox_error">The requested content cannot be loaded.<br />Please try again later.</p>',{scrolling:"no",padding:20,transitionIn:"none",transitionOut:"none"})}function am(){ad();var e=aw[ay];aK=aI.extend({},aI.fn.fancybox.defaults,typeof aI(e).data("fancybox")=="undefined"?aK:aI(e).data("fancybox"));var h,i,b=e.title||aI(e).title||aK.title||"";if(e.nodeName&&!aK.orig){aK.orig=aI(e).children("img:first").length?aI(e).children("img:first"):aI(e)}if(b==""&&aK.orig){b=aK.orig.attr("alt")}h=e.nodeName&&/^(?:javascript|#)/i.test(e.href)?aK.href||null:aK.href||e.href||null;if(aK.type){i=aK.type;if(!h){h=aK.content}}else{if(aK.content){i="html"}else{if(h){if(h.match(aO)){i="image"}else{if(h.match(w)){i="swf"}else{if(aI(e).hasClass("iframe")){i="iframe"}else{if(h.match(/#/)){e=h.substr(h.indexOf("#"));i=aI(e).length>0?"inline":"ajax"}else{i="ajax"}}}}}else{i="inline"}}}aK.type=i;aK.href=h;aK.title=b;if(aK.autoDimensions&&aK.type!=="iframe"&&aK.type!=="swf"){aK.width="auto";aK.height="auto"}if(aK.modal){aK.overlayShow=true;aK.hideOnOverlayClick=false;aK.hideOnContentClick=false;aK.enableEscapeButton=false;aK.showCloseButton=false}if(aI.isFunction(aK.onStart)){if(aK.onStart(aw,ay,aK)===false){aB=false;return}}aF.css("padding",az+aK.padding+aK.margin);aI(".fancybox-inline-tmp").unbind("fancybox-cancel").bind("fancybox-change",function(){aI(this).replaceWith(aC.children())});switch(i){case"html":aF.html(aK.content);ar();break;case"inline":aI('<div class="fancybox-inline-tmp" />').hide().insertBefore(aI(e)).bind("fancybox-cleanup",function(){aI(this).replaceWith(aC.children())}).bind("fancybox-cancel",function(){aI(this).replaceWith(aF.children())});aI(e).appendTo(aF);ar();break;case"image":aB=false;aI.fancybox.showActivity();ax=new Image;ax.onerror=function(){p()};ax.onload=function(){ax.onerror=null;ax.onload=null;R()};ax.src=h;break;case"swf":var c="",g="";c+='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+aK.width+'" height="'+aK.height+'"><param name="movie" value="'+h+'"></param>';aI.each(aK.swf,function(k,j){c+='<param name="'+k+'" value="'+j+'"></param>';g+=" "+k+'="'+j+'"'});c+='<embed src="'+h+'" type="application/x-shockwave-flash" width="'+aK.width+'" height="'+aK.height+'"'+g+"></embed></object>";aF.html(c);ar();break;case"ajax":e=h.split("#",2);i=aK.ajax.data||{};if(e.length>1){h=e[0];typeof i=="string"?(i+="&selector="+e[1]):(i.selector=e[1])}aB=false;aI.fancybox.showActivity();aq=aI.ajax(aI.extend(aK.ajax,{url:h,data:i,error:p,success:function(j){if(aq.status==200){aF.html(j);ar()}}}));break;case"iframe":aI('<iframe id="fancybox-frame" name="fancybox-frame'+(new Date).getTime()+'" frameborder="0" hspace="0" scrolling="'+aK.scrolling+'" src="'+aK.href+'"></iframe>').appendTo(aF);af();break}}function R(){aB=true;aK.width=ax.width;aK.height=ax.height;aI("<img />").attr({id:"fancybox-img",src:ax.src,alt:aK.title}).appendTo(aF);af()}function ar(){aF.width(aK.width);aF.height(aK.height);if(aK.width=="auto"){aK.width=aF.width()}if(aK.height=="auto"){aK.height=aF.height()}af()}function af(){aA.hide();if(aL.is(":visible")&&aI.isFunction(aJ.onCleanup)){if(aJ.onCleanup(o,aH,aJ)===false){aI.event.trigger("fancybox-cancel");aB=false;return}}o=aw;aH=ay;aJ=aK;aC.get(0).scrollTop=0;aC.get(0).scrollLeft=0;if(aJ.overlayShow){ag&&aI("select:not(#fancybox-tmp select)").filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one("fancybox-cleanup",function(){this.style.visibility="inherit"});au.css({"background-color":aJ.overlayColor,opacity:aJ.overlayOpacity}).unbind().show()}aG=ab();ac();if(aL.is(":visible")){aI(av.add(an).add(ao)).hide();var b=aL.position();aN={top:b.top,left:b.left,width:aL.width(),height:aL.height()};var c=aN.width==aG.width&&aN.height==aG.height;aC.fadeOut(aJ.changeFade,function(){function e(){aC.html(aF.contents()).fadeIn(aJ.changeFade,ah)}aI.event.trigger("fancybox-change");aC.css({top:aJ.padding,left:aJ.padding,width:Math.max(aN.width-aJ.padding*2,1),height:Math.max(aN.height-aJ.padding*2,1)}).empty().css("overflow","hidden");al.prop=0;aI(al).animate({prop:1},{duration:c?0:aJ.changeSpeed,easing:aJ.easingChange,step:ai,complete:e})})}else{aL.css("opacity",1);if(aJ.transitionIn=="elastic"){aN=u();aC.css({top:aJ.padding,left:aJ.padding,width:Math.max(aN.width-aJ.padding*2,1),height:Math.max(aN.height-aJ.padding*2,1)}).html(aF.contents());aL.css(aN).show();if(aJ.opacity){aG.opacity=0}al.prop=0;aI(al).animate({prop:1},{duration:aJ.speedIn,easing:aJ.easingIn,step:ai,complete:ah})}else{aC.css({top:aJ.padding,left:aJ.padding,width:Math.max(aG.width-aJ.padding*2,1),height:Math.max(aG.height-aJ.padding*2-at,1)}).html(aF.contents());aL.css(aG).fadeIn(aJ.transitionIn=="none"?0:aJ.speedIn,ah)}}}function ai(e){var g=Math.round(aN.width+(aG.width-aN.width)*e),h=Math.round(aN.height+(aG.height-aN.height)*e),b=Math.round(aN.top+(aG.top-aN.top)*e),c=Math.round(aN.left+(aG.left-aN.left)*e);aL.css({width:g+"px",height:h+"px",top:b+"px",left:c+"px"});g=Math.max(g-aJ.padding*2,0);h=Math.max(h-(aJ.padding*2+at*e),0);aC.css({width:g+"px",height:h+"px"});if(typeof aG.opacity!=="undefined"){aL.css("opacity",e<0.5?0.5:e)}}function ah(){aC.css("overflow",overflow=aJ.scrolling=="auto"?aJ.type=="image"||aJ.type=="iframe"||aJ.type=="swf"?"hidden":"auto":aJ.scrolling=="yes"?"auto":"visible");if(!aI.support.opacity){aC.get(0).style.removeAttribute("filter");aL.get(0).style.removeAttribute("filter")}aI("#fancybox-title").show();aJ.hideOnContentClick&&aC.one("click",aI.fancybox.close);aJ.hideOnOverlayClick&&au.one("click",aI.fancybox.close);aJ.showCloseButton&&av.show();a();aI(window).bind("resize.fb",aI.fancybox.center);aJ.centerOnScroll?aI(window).bind("scroll.fb",aI.fancybox.center):aI(window).unbind("scroll.fb");aI.isFunction(aJ.onComplete)&&aJ.onComplete(o,aH,aJ);aB=false;d()}function ab(){var g=aj(),i={},j=aJ.margin,c=aJ.autoScale,e=(az+j)*2,h=(az+j)*2,b=aJ.padding*2;if(aJ.width.toString().indexOf("%")>-1){i.width=g[0]*parseFloat(aJ.width)/100-az*2;c=false}else{i.width=aJ.width+b}if(aJ.height.toString().indexOf("%")>-1){i.height=g[1]*parseFloat(aJ.height)/100-az*2;c=false}else{i.height=aJ.height+b}if(c&&(i.width>g[0]-e||i.height>g[1]-h)){if(aK.type=="image"||aK.type=="swf"){e+=b;h+=b;c=Math.min(Math.min(g[0]-e,aJ.width)/aJ.width,Math.min(g[1]-h,aJ.height)/aJ.height);i.width=Math.round(c*(i.width-b))+b;i.height=Math.round(c*(i.height-b))+b}else{i.width=Math.min(i.width,g[0]-e);i.height=Math.min(i.height,g[1]-h)}}i.top=g[3]+(g[1]-(i.height+az*2))*0.5;i.left=g[2]+(g[0]-(i.width+az*2))*0.5;if(aJ.autoScale==false){i.top=Math.max(g[3]+j,i.top);i.left=Math.max(g[2]+j,i.left)}return i}function u(){var b=aK.orig?aI(aK.orig):false,c={};if(b&&b.length){b=f(b);c={width:b.width+aJ.padding*2,height:b.height+aJ.padding*2,top:b.top-aJ.padding-az,left:b.left-aJ.padding-az}}else{b=aj();c={width:1,height:1,top:b[3]+b[1]*0.5,left:b[2]+b[0]*0.5}}return c}function a(){aI(document).unbind("keydown.fb").bind("keydown.fb",function(b){if(b.keyCode==27&&aJ.enableEscapeButton){b.preventDefault();aI.fancybox.close()}else{if(b.keyCode==37){b.preventDefault();aI.fancybox.prev()}else{if(b.keyCode==39){b.preventDefault();aI.fancybox.next()}}}});if(aI.fn.mousewheel){aL.unbind("mousewheel.fb");o.length>1&&aL.bind("mousewheel.fb",function(b,c){b.preventDefault();aB||c==0||(c>0?aI.fancybox.prev():aI.fancybox.next())})}if(aJ.showNavArrows){if(aJ.cyclic&&o.length>1||aH!=0){an.show()}if(aJ.cyclic&&o.length>1||aH!=o.length-1){ao.show()}}}function d(){if(o.length-1>aH){var b=o[aH+1].href;if(typeof b!=="undefined"&&b.match(aO)){var c=new Image;c.src=b}}if(aH>0){b=o[aH-1].href;if(typeof b!=="undefined"&&b.match(aO)){c=new Image;c.src=b}}}function ae(){if(aA.is(":visible")){aI("div",aA).css("top",ak*-40+"px");ak=(ak+1)%12}else{clearInterval(aM)}}function aj(){return[aI(window).width(),aI(window).height(),aI(document).scrollLeft(),aI(document).scrollTop()]}function f(b){var c=b.offset();c.top+=parseFloat(b.css("paddingTop"))||0;c.left+=parseFloat(b.css("paddingLeft"))||0;c.top+=parseFloat(b.css("border-top-width"))||0;c.left+=parseFloat(b.css("border-left-width"))||0;c.width=b.width();c.height=b.height();return c}function ac(){aI("#fancybox-title").remove();at=0;if(aJ.titleShow!=false){var b=aJ.title;b=aI.isFunction(aJ.titleFormat)?aJ.titleFormat(b,o,aH,aJ):aD(b);if(!(!b||b=="")){var c=aG.width-aJ.padding*2;aI('<div id="fancybox-title" class="'+("fancybox-title-"+aJ.titlePosition)+'" />').css({width:c,paddingLeft:aJ.padding,paddingRight:aJ.padding}).html(b).appendTo("body");switch(aJ.titlePosition){case"inside":at=aI("#fancybox-title").outerHeight(true)-aJ.padding;aG.height+=at;break;case"over":aI("#fancybox-title").css("bottom",aJ.padding);break;default:aI("#fancybox-title").css("bottom",aI("#fancybox-title").outerHeight(true)*-1);break}aI("#fancybox-title").appendTo(ap).hide();ag&&aI("#fancybox-title span").fixPNG()}}}function aD(b){if(b&&b.length){switch(aJ.titlePosition){case"inside":return b;case"over":return'<span id="fancybox-title-over">'+b+"</span>";default:return'<span id="fancybox-title-wrap"><span id="fancybox-title-left"></span><span id="fancybox-title-main">'+b+'</span><span id="fancybox-title-right"></span></span>'}}return false}function aE(){if(!aI("#fancybox-wrap").length){aI("body").append(aF=aI('<div id="fancybox-tmp"></div>'),aA=aI('<div id="fancybox-loading"><div></div></div>'),au=aI('<div id="fancybox-overlay"></div>'),aL=aI('<div id="fancybox-wrap"></div>'));ap=aI('<div id="fancybox-outer"></div>').append('<div class="fancy-bg" id="fancy-bg-n"></div><div class="fancy-bg" id="fancy-bg-ne"></div><div class="fancy-bg" id="fancy-bg-e"></div><div class="fancy-bg" id="fancy-bg-se"></div><div class="fancy-bg" id="fancy-bg-s"></div><div class="fancy-bg" id="fancy-bg-sw"></div><div class="fancy-bg" id="fancy-bg-w"></div><div class="fancy-bg" id="fancy-bg-nw"></div>').appendTo(aL);ap.append(aC=aI('<div id="fancybox-inner"></div>'),av=aI('<a id="fancybox-close"></a>'),an=aI('<a href="javascript:;" id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a>'),ao=aI('<a href="javascript:;" id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>'));av.click(aI.fancybox.close);aA.click(aI.fancybox.cancel);an.click(function(b){b.preventDefault();aI.fancybox.prev()});ao.click(function(b){b.preventDefault();aI.fancybox.next()});aI.support.opacity||ap.find(".fancy-bg").fixPNG();if(ag){aI(av.add(".fancy-ico").add("div",aA)).fixPNG();au.get(0).style.setExpression("height","document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'");aA.get(0).style.setExpression("top","(-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px'");ap.prepend('<iframe id="fancybox-hide-sel-frame" src="javascript:\'\';" scrolling="no" frameborder="0" ></iframe>')}}}var aF,aA,au,aL,ap,aC,av,an,ao,ay=0,aK={},aw=[],aH=0,aJ={},o=[],aq=null,ax=new Image,aO=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,w=/[^\.]\.(swf)\s*$/i,aM,ak=1,aN,aG,aB=false,az=20,al=aI.extend(aI("<div/>")[0],{prop:0}),at=0,ag=!aI.support.opacity&&!window.XMLHttpRequest;aI.fn.fixPNG=function(){return this.each(function(){var b=aI(this).css("backgroundImage");if(b.match(/^url\(["']?(.*\.png)["']?\)$/i)){b=RegExp.$1;aI(this).css({backgroundImage:"none",filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod="+(aI(this).css("backgroundRepeat")=="no-repeat"?"crop":"scale")+", src='"+b+"')"}).each(function(){var c=aI(this).css("position");c!="absolute"&&c!="relative"&&aI(this).css("position","relative")}).css("zoom",1)}})};aI.fn.fancybox=function(b){aI(this).data("fancybox",aI.extend({},b));aI(this).unbind("click.fb").bind("click.fb",function(c){c.preventDefault();if(!aB){aB=true;aI(this).blur();aw=[];ay=0;c=aI(this).attr("rel")||"";if(!c||c==""||c==="nofollow"){aw.push(this)}else{aw=aI("a[rel="+c+"], area[rel="+c+"]");ay=aw.index(this)}am();return false}});return this};aI.fancybox=function(c,e){if(!aB){aB=true;aw=[];ay=0;if(aI.isArray(c)){for(var g=0,b=c.length;g<b;g++){if(typeof c[g]=="object"){aI(c[g]).data("fancybox",aI.extend({},e,c[g]))}else{c[g]=aI({}).data("fancybox",aI.extend({content:c[g]},e))}}aw=jQuery.merge(aw,c)}else{if(typeof c=="object"){aI(c).data("fancybox",aI.extend({},e,c))}else{c=aI({}).data("fancybox",aI.extend({content:c},e))}aw.push(c)}am()}};aI.fancybox.showActivity=function(){clearInterval(aM);aA.show();aM=setInterval(ae,66)};aI.fancybox.hideActivity=function(){aA.hide()};aI.fancybox.next=function(){return aI.fancybox.pos(aH+1)};aI.fancybox.prev=function(){return aI.fancybox.pos(aH-1)};aI.fancybox.pos=function(b){if(!aB){b=parseInt(b);if(b>-1&&o.length>b){ay=b;am()}if(aJ.cyclic&&o.length>1&&b<0){ay=o.length-1;am()}if(aJ.cyclic&&o.length>1&&b>=o.length){ay=0;am()}}};aI.fancybox.cancel=function(){if(!aB){aB=true;aI.event.trigger("fancybox-cancel");ad();aK&&aI.isFunction(aK.onCancel)&&aK.onCancel(aw,ay,aK);aB=false}};aI.fancybox.close=function(){function b(){au.fadeOut("fast");aL.hide();aI.event.trigger("fancybox-cleanup");aC.empty();aI.isFunction(aJ.onClosed)&&aJ.onClosed(o,aH,aJ);o=aK=[];aH=ay=0;aJ=aK={};aB=false}if(!(aB||aL.is(":hidden"))){aB=true;if(aJ&&aI.isFunction(aJ.onCleanup)){if(aJ.onCleanup(o,aH,aJ)===false){aB=false;return}}ad();aI(av.add(an).add(ao)).hide();aI("#fancybox-title").remove();aL.add(aC).add(au).unbind();aI(window).unbind("resize.fb scroll.fb");aI(document).unbind("keydown.fb");aC.css("overflow","hidden");if(aJ.transitionOut=="elastic"){aN=u();var c=aL.position();aG={top:c.top,left:c.left,width:aL.width(),height:aL.height()};if(aJ.opacity){aG.opacity=1}al.prop=1;aI(al).animate({prop:0},{duration:aJ.speedOut,easing:aJ.easingOut,step:ai,complete:b})}else{aL.fadeOut(aJ.transitionOut=="none"?0:aJ.speedOut,b)}}};aI.fancybox.resize=function(){if(!(aB||aL.is(":hidden"))){aB=true;var b=aC.wrapInner("<div style='overflow:auto'></div>").children(),c=b.height();aL.css({height:c+aJ.padding*2+at});aC.css({height:c});b.replaceWith(b.children());aI.fancybox.center()}};aI.fancybox.center=function(){aB=true;var b=aj(),c=aJ.margin,e={};e.top=b[3]+(b[1]-(aL.height()-at+az*2))*0.5;e.left=b[2]+(b[0]-(aL.width()+az*2))*0.5;e.top=Math.max(b[3]+c,e.top);e.left=Math.max(b[2]+c,e.left);aL.css(e);aB=false};aI.fn.fancybox.defaults={padding:10,margin:20,opacity:false,modal:false,cyclic:false,scrolling:"auto",width:560,height:340,autoScale:true,autoDimensions:true,centerOnScroll:false,ajax:{},swf:{wmode:"transparent"},hideOnOverlayClick:true,hideOnContentClick:false,overlayShow:true,overlayOpacity:0.3,overlayColor:"#666",titleShow:true,titlePosition:"outside",titleFormat:null,transitionIn:"fade",transitionOut:"fade",speedIn:300,speedOut:300,changeSpeed:300,changeFade:"fast",easingIn:"swing",easingOut:"swing",showCloseButton:true,showNavArrows:true,enableEscapeButton:true,onStart:null,onCancel:null,onComplete:null,onCleanup:null,onClosed:null};aI(document).ready(function(){aE()})})(jQuery);function pageLoad(a,b){if(b.get_isPartialLoad()){docReady()}}var people_baloon_positions=[[261,5],[261,10],[261,0],[266,5],[266,10],[266,0],[266,5],[266,10],[266,0]];var agita_baloon_people_interval_1=null;var agita_baloon_people_interval_2=null;function agita_baloon_people(a){switch(a){case 1:agita_baloon_people_interval_1=window.setInterval("agita_baloon_people_submit()",50);break;case 2:agita_baloon_people_interval_2=window.setInterval("agita_baloon_people_submit()",25);break}}function agita_baloon_people_submit(){var a=Math.floor(Math.random()*9);document.getElementById("hlLogo").style.left=people_baloon_positions[a][0]+"px";document.getElementById("hlLogo").style.top=people_baloon_positions[a][1]+"px"}function ferma_baloon_people(){window.clearInterval(agita_baloon_people_interval_2);document.getElementById("hlLogo").style.left="265px";document.getElementById("hlLogo").style.top="5px"}function docReady(){$("textarea").blur(function(){$("textarea").each(function(){this.value=this.value.replace(/<\s*\/\s*\w\s*.*?>|<\s*br\s*>/g,"");this.value=this.value.replace(/<\s*\w.*?>/g,"")})});$("ul#faqList").simpleFAQ({allowSearch:true,searchNode:"#faqSearch",minSearchScore:0.5,sortSearch:true});$("#simpleFAQSearch").keyup(function(e,f){if(this.value.length<1){$("ul#faqList li").show()}});$("ul#faqList li").show();var a=document.location.toString();if(a.match("#")){var d="#"+a.split("#")[1];$("ul#faqList li"+d+" div").show()}$("#slideshow").cycle({fx:"shuffle",delay:-6000,prev:"#prev",next:"#slideshow",after:b});function b(){$("#outputName").html(this.children[1].value);$("#outputDescription").html(this.children[2].value)}$("#pause").click(function(){$("#slideshow").cycle("pause");return false});$("#next").click(function(){$("#slideshow").cycle("next");return false});$("a.group").fancybox({speedIn:600,speedOut:200,overlayShow:false});$("#txtSearchGoogleMaps").watermark("search google maps",{className:"InputBoxWatermark"});var c=$("[id$='_hfSearchPanel']").val();if(c=="hidden"){$("#divSearchPanel").hide()}if(c=="shown"){$("#divSearchPanel").show();$("#imgSearchPanel").addClass("hide")}$("a#aSearchPanel").click(function(){$("#imgSearchPanel").toggleClass("hide");$("#divSearchPanel").slideToggle(800);if($("#imgSearchPanel").hasClass("hide")){$("[id$='_hfSearchPanel']").val("shown");OnClientShow()}else{$("[id$='_hfSearchPanel']").val("hidden")}return false});$("a#divLoginButton").click(function(){$("#imgShow").toggleClass("hide");$("#divLoginForm").slideToggle(400);return false});$("a#aInvitePanel").click(function(){$("#imgInvitePanel").toggleClass("hide");$("#divInvitePanel").slideToggle(800);return false});$("a#aSendMessage").click(function(){$("#imgSendMessage").toggleClass("hide");$("#divSendMessage").slideToggle(800);return false});$("a#aShowCV").click(function(){$("#imgShowCV").toggleClass("hide");$("#divShowCV").slideToggle(800);return false});$("a#ShowFeedbackForm").click(function(){$(this).parent().children("div:first-child").show(800);return false});$("a#CloseFeedbackForm").click(function(){$(this).parent().hide(880);return false})}$(document).ready(function(){docReady()});
