/*!
 * jQuery JavaScript Library v1.7.1
 * http://jquery.com/
 *
 * Copyright 2011, John Resig
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 * Copyright 2011, The Dojo Foundation
 * Released under the MIT, BSD, and GPL Licenses.
 *
 * Date: Mon Nov 21 21:11:03 2011 -0500
 */
function hide(a){document.getElementById&&(obj=document.getElementById(a),obj.style.display="none")}function show(a){document.getElementById&&(obj=document.getElementById(a),obj.style.display="")}function ajaxshow(a){$(a).fadeIn("slow")}function ajaxhide(a){$(a).fadeOut("slow")}function toggle(a){$(a).slideToggle("fast")}function getCookie(a){var b=new RegExp(a+"=[^;]+","i");return document.cookie.match(b)?document.cookie.match(b)[0].split("=")[1]:null}function setCookie(a,b,c){var d=new Date,e=typeof c!="undefined"?d.setDate(d.getDate()+parseInt(c)):d.setDate(d.getDate()-5);document.cookie=a+"="+b+"; expires="+d.toGMTString()+"; path=/"}function deleteCookie(a){setCookie(a,"moot")}function setStylesheet(a,b){var c,d,e=[""];for(c=0;d=document.getElementsByTagName("link")[c];c++)d.getAttribute("rel").toLowerCase()=="alternate stylesheet"&&d.getAttribute("title")&&(d.disabled=!0,e.push(d),d.getAttribute("title")==a&&(d.disabled=!1));if(typeof b!="undefined"){var f=Math.floor(Math.random()*e.length);e[f].disabled=!1}return typeof b!="undefined"&&e[f]!=""?e[f].getAttribute("title"):""}function chooseStyle(a,b){document.getElementById&&(setStylesheet(a),setCookie("apptastiksheet",a,b),window.location.reload())}function indicateSelected(a){if(selectedtitle!=null&&(a.type==undefined||a.type=="select-one")){var a=a.type=="select-one"?a.options:a;for(var b=0;b<a.length;b++)if(a[b].value==selectedtitle){a[b].tagName=="OPTION"?a[b].selected=!0:a[b].checked=!0;break}}}(function(a,b){function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c<d;c++)b[a[c]]=!0;return b}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function J(){return!1}function K(){return!0}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function T(a,b,c){b=b||0;if(f.isFunction(b))return f.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return f.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=f.grep(a,function(a){return a.nodeType===1});if(O.test(b))return f.filter(b,d,!c);b=f.filter(b,d)}return f.grep(a,function(a,d){return f.inArray(a,b)>=0===c})}function U(a){var b=V.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function bi(a,b){return f.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function bj(a,b){if(b.nodeType!==1||!f.hasData(a))return;var c,d,e,g=f._data(a),h=f._data(b,g),i=g.events;if(i){delete h.handle,h.events={};for(c in i)for(d=0,e=i[c].length;d<e;d++)f.event.add(b,c+(i[c][d].namespace?".":"")+i[c][d].namespace,i[c][d],i[c][d].data)}h.data&&(h.data=f.extend({},h.data))}function bk(a,b){var c;if(b.nodeType!==1)return;b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(f.expando)}function bl(a){return typeof a.getElementsByTagName!="undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!="undefined"?a.querySelectorAll("*"):[]}function bm(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bn(a){var b=(a.nodeName||"").toLowerCase();b==="input"?bm(a):b!=="script"&&typeof a.getElementsByTagName!="undefined"&&f.grep(a.getElementsByTagName("input"),bm)}function bo(a){var b=c.createElement("div");return bh.appendChild(b),b.innerHTML=a.outerHTML,b.firstChild}function bp(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(bf,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function bC(a,b,c){var d=b==="width"?a.offsetWidth:a.offsetHeight,e=b==="width"?bx:by,g=0,h=e.length;if(d>0){if(c!=="border")for(;g<h;g++)c||(d-=parseFloat(f.css(a,"padding"+e[g]))||0),c==="margin"?d+=parseFloat(f.css(a,c+e[g]))||0:d-=parseFloat(f.css(a,"border"+e[g]+"Width"))||0;return d+"px"}d=bz(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parseFloat(d)||0;if(c)for(;g<h;g++)d+=parseFloat(f.css(a,"padding"+e[g]))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+e[g]+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+e[g]))||0);return d+"px"}function bZ(a){return function(b,c){typeof b!="string"&&(c=b,b="*");if(f.isFunction(c)){var d=b.toLowerCase().split(bP),e=0,g=d.length,h,i,j;for(;e<g;e++)h=d[e],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function b$(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bT,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l=="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=b$(a,c,d,e,l,g)));return(k||!l)&&!g["*"]&&(l=b$(a,c,d,e,"*",g)),l}function b_(a,c){var d,e,g=f.ajaxSettings.flatOptions||{};for(d in c)c[d]!==b&&((g[d]?a:e||(e={}))[d]=c[d]);e&&f.extend(!0,a,e)}function ca(a,b,c,d){if(f.isArray(b))f.each(b,function(b,e){c||bE.test(a)?d(a,e):ca(a+"["+(typeof e=="object"||f.isArray(e)?b:"")+"]",e,c,d)});else if(!c&&b!=null&&typeof b=="object")for(var e in b)ca(a+"["+e+"]",b[e],c,d);else d(a,b)}function cb(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j)return j!==f[0]&&f.unshift(j),d[j]}function cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h=="string"&&(e[h.toLowerCase()]=a.converters[h]);l=k,k=d[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=e[m]||e["* "+k];if(!n){p=b;for(o in e){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=e[j[1]+" "+k];if(p){o=e[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&f.error("No conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function ci(){try{return new a.XMLHttpRequest}catch(b){}}function cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function cs(){return setTimeout(ct,0),cr=f.now()}function ct(){cr=b}function cu(a,b){var c={};return f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a}),c}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>"),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return ck[a]}function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}var c=a.document,d=a.navigator,e=a.location,f=function(){function J(){if(e.isReady)return;try{c.documentElement.doScroll("left")}catch(a){setTimeout(J,1);return}e.ready()}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};return e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if(a==="body"&&!d&&c.body)return this.context=c,this[0]=c.body,this.selector=a,this.length=1,this;if(typeof a=="string"){a.charAt(0)==="<"&&a.charAt(a.length-1)===">"&&a.length>=3?g=[null,a,null]:g=i.exec(a);if(g&&(g[1]||!d)){if(g[1])return d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes),e.merge(this,a);h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}return this.context=c,this.selector=a,this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}return e.isFunction(a)?f.ready(a):(a.selector!==b&&(this.selector=a.selector,this.context=a.context),e.makeArray(a,this))},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();return e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")"),d},each:function(a,b){return e.each(this,a,b)},ready:function(a){return e.bindReady(),A.add(a),this},eq:function(a){return a=+a,a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){d=i[c],f=a[c];if(i===f)continue;l&&f&&(e.isPlainObject(f)||(g=e.isArray(f)))?(g?(g=!1,h=d&&e.isArray(d)?d:[]):h=d&&e.isPlainObject(d)?d:{},i[c]=e.extend(l,h,f)):f!==b&&(i[c]=f)}return i},e.extend({noConflict:function(b){return a.$===e&&(a.$=g),b&&a.jQuery===e&&(a.jQuery=f),e},isReady:!1,readyWait:1,holdReady:function(a){a?e.readyWait++:e.ready(!0)},ready:function(a){if(a===!0&&!--e.readyWait||a!==!0&&!e.isReady){if(!c.body)return setTimeout(e.ready,1);e.isReady=!0;if(a!==!0&&--e.readyWait>0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(A)return;A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}return(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c),d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g<h;)if(c.apply(a[g++],d)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(;g<h;)if(c.call(a[g],g,a[g++])===!1)break;return a},trim:G?function(a){return a==null?"":G.call(a)}:function(a){return a==null?"":a.toString().replace(k,"").replace(l,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var d=e.type(a);a.length==null||d==="string"||d==="function"||d==="regexp"||e.isWindow(a)?E.call(c,a):e.merge(c,a)}return c},inArray:function(a,b,c){var d;if(b){if(H)return H.call(b,a,c);d=b.length,c=c?c<0?Math.max(0,d+c):c:0;for(;c<d;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length=="number")for(var f=c.length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];return a.length=d,a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,c,d){var f,g,h=[],i=0,j=a.length,k=a instanceof e||j!==b&&typeof j=="number"&&(j>0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i<j;i++)f=c(a[i],i,d),f!=null&&(h[h.length]=f);else for(g in a)f=c(a[g],g,d),f!=null&&(h[h.length]=f);return h.concat.apply([],h)},guid:1,proxy:function(a,c){if(typeof c=="string"){var d=a[c];c=a,a=d}if(!e.isFunction(a))return b;var f=F.call(arguments,2),g=function(){return a.apply(c,f.concat(F.call(arguments)))};return g.guid=a.guid=a.guid||g.guid||e.guid++,g},access:function(a,c,d,f,g,h){var i=a.length;if(typeof c=="object"){for(var j in c)e.access(a,j,c[j],f,g,d);return a}if(d!==b){f=!h&&f&&e.isFunction(d);for(var k=0;k<i;k++)g(a[k],c,f?d.call(a[k],k,g(a[k],c)):d,h);return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();var b=r.exec(a)||s.exec(a)||t.exec(a)||a.indexOf("compatible")<0&&u.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}e.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function(d,f){return f&&f instanceof e&&!(f instanceof a)&&(f=a(f)),e.fn.init.call(this,d,f,b)},a.fn.init.prototype=a.fn;var b=a(c);return a},browser:{}}),e.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){I["[object "+b+"]"]=b.toLowerCase()}),z=e.uaMatch(y),z.browser&&(e.browser[z.browser]=!0,e.browser.version=z.version),e.browser.webkit&&(e.browser.safari=!0),j.test(" ")&&(k=/^[\s\xA0]+/,l=/[\s\xA0]+$/),h=e(c),c.addEventListener?B=function(){c.removeEventListener("DOMContentLoaded",B,!1),e.ready()}:c.attachEvent&&(B=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",B),e.ready())}),e}(),g={};f.Callbacks=function(a){a=a?g[a]||h(a):{};var c=[],d=[],e,i,j,k,l,m=function(b){var d,e,g,h,i;for(d=0,e=b.length;d<e;d++)g=b[d],h=f.type(g),h==="array"?m(g):h==="function"&&(!a.unique||!o.has(g))&&c.push(g)},n=function(b,f){f=f||[],e=!a.memory||[b,f],i=!0,l=j||0,j=0,k=c.length;for(;c&&l<k;l++)if(c[l].apply(b,f)===!1&&a.stopOnFalse){e=!0;break}i=!1,c&&(a.once?e===!0?o.disable():c=[]:d&&d.length&&(e=d.shift(),o.fireWith(e[0],e[1])))},o={add:function(){if(c){var a=c.length;m(arguments),i?k=c.length:e&&e!==!0&&(j=a,n(e[0],e[1]))}return this},remove:function(){if(c){var b=arguments,d=0,e=b.length;for(;d<e;d++)for(var f=0;f<c.length;f++)if(b[d]===c[f]){i&&f<=k&&(k--,f<=l&&l--),c.splice(f--,1);if(a.unique)break}}return this},has:function(a){if(c){var b=0,d=c.length;for(;b<d;b++)if(a===c[b])return!0}return!1},empty:function(){return c=[],this},disable:function(){return c=d=e=b,this},disabled:function(){return!c},lock:function(){return d=b,(!e||e===!0)&&o.disable(),this},locked:function(){return!d},fireWith:function(b,c){return d&&(i?a.once||d.push([b,c]):(!a.once||!e)&&n(b,c)),this},fire:function(){return o.fireWith(this,arguments),this},fired:function(){return!!e}};return o};var i=[].slice;f.extend({Deferred:function(a){var b=f.Callbacks("once memory"),c=f.Callbacks("once memory"),d=f.Callbacks("memory"),e="pending",g={resolve:b,reject:c,notify:d},h={done:b.add,fail:c.add,progress:d.add,state:function(){return e},isResolved:b.fired,isRejected:c.fired,then:function(a,b,c){return i.done(a).fail(b).progress(c),this},always:function(){return i.done.apply(i,arguments).fail.apply(i,arguments),this},pipe:function(a,b,c){return f.Deferred(function(d){f.each({done:[a,"resolve"],fail:[b,"reject"],progress:[c,"notify"]},function(a,b){var c=b[0],e=b[1],g;f.isFunction(c)?i[a](function(){g=c.apply(this,arguments),g&&f.isFunction(g.promise)?g.promise().then(d.resolve,d.reject,d.notify):d[e+"With"](this===i?d:this,[g])}):i[a](d[e])})}).promise()},promise:function(a){if(a==null)a=h;else for(var b in h)a[b]=h[b];return a}},i=h.promise({}),j;for(j in g)i[j]=g[j].fire,i[j+"With"]=g[j].fireWith;return i.done(function(){e="resolved"},c.disable,d.lock).fail(function(){e="rejected"},b.disable,d.lock),a&&a.call(i,i),i},when:function(a){function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}function m(a){return function(b){e[a]=arguments.length>1?i.call(arguments,0):b,j.notifyWith(k,e)}}var b=i.call(arguments,0),c=0,d=b.length,e=new Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c<d;c++)b[c]&&b[c].promise&&f.isFunction(b[c].promise)?b[c].promise().then(l(c),j.reject,m(c)):--g;g||j.resolveWith(j,b)}else j!==a&&j.resolveWith(j,d?[a]:[]);return k}}),f.support=function(){var b,d,e,g,h,i,j,k,l,m,n,o,p,q=c.createElement("div"),r=c.documentElement;q.setAttribute("className","t"),q.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;return k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];if(!r)return;j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="<div "+n+"><div></div></div>"+"<table "+n+" cellpadding='0' cellspacing='0'>"+"<tr><td></td></tr></table>",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="<div style='width:4px;'></div>",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i)}),b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){return a=a.nodeType?f.cache[a[f.expando]]:a[f.expando],!!a&&!m(a)},data:function(a,c,d,e){if(!f.acceptData(a))return;var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);return g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d),o&&!h[c]?g.events:(k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h,i)},removeData:function(a,b,c){if(!f.acceptData(a))return;var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e<g;e++)delete d[b[e]];if(!(c?m:f.isEmptyObject)(d))return}}if(!c){delete j[k].data;if(!m(j[k]))return}f.support.deleteExpando||!j.setInterval?delete j[k]:j[k]=null,i&&(f.support.deleteExpando?delete a[h]:a.removeAttribute?a.removeAttribute(h):a[h]=null)},_data:function(a,b,c){return f.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=f.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),f.fn.extend({data:function(a,c){var d,e,g,h=null;if(typeof a=="undefined"){if(this.length){h=f.data(this[0]);if(this[0].nodeType===1&&!f._data(this[0],"parsedAttrs")){e=this[0].attributes;for(var i=0,j=e.length;i<j;i++)g=e[i].name,g.indexOf("data-")===0&&(g=f.camelCase(g.substring(5)),l(this[0],g,h[g]));f._data(this[0],"parsedAttrs",!0)}}return h}return typeof a=="object"?this.each(function(){f.data(this,a)}):(d=a.split("."),d[1]=d[1]?"."+d[1]:"",c===b?(h=this.triggerHandler("getData"+d[1]+"!",[d[0]]),h===b&&this.length&&(h=f.data(this[0],a),h=l(this[0],a,h)),h===b&&d[1]?this.data(d[0]):h):this.each(function(){var b=f(this),e=[d[0],c];b.triggerHandler("setData"+d[1]+"!",e),f.data(this,a,c),b.triggerHandler("changeData"+d[1]+"!",e)}))},removeData:function(a){return this.each(function(){f.removeData(this,a)})}}),f.extend({_mark:function(a,b){a&&(b=(b||"fx")+"mark",f._data(a,b,(f._data(a,b)||0)+1))},_unmark:function(a,b,c){a!==!0&&(c=b,b=a,a=!1);if(b){c=c||"fx";var d=c+"mark",e=a?0:(f._data(b,d)||1)-1;e?f._data(b,d,e):(f.removeData(b,d,!0),n(b,c,"mark"))}},queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=f._data(a,b),c&&(!d||f.isArray(c)?d=f._data(a,b,f.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=f.queue(a,b),d=c.shift(),e={};d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),f._data(a,b+".run",e),d.call(a,function(){f.dequeue(a,b)},e)),c.length||(f.removeData(a,b+"queue "+b+".run",!0),n(a,b,"queue"))}}),f.fn.extend({queue:function(a,c){return typeof a!="string"&&(c=a,a="fx"),c===b?f.queue(this[0],a):this.each(function(){var b=f.queue(this,a,c);a==="fx"&&b[0]!=="inprogress"&&f.dequeue(this,a)})},dequeue:function(a){return this.each(function(){f.dequeue(this,a)})},delay:function(a,b){return a=f.fx?f.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,c){function m(){--h||d.resolveWith(e,[e])}typeof a!="string"&&(c=a,a=b),a=a||"fx";var d=f.Deferred(),e=this,g=e.length,h=1,i=a+"defer",j=a+"queue",k=a+"mark",l;while(g--)if(l=f.data(e[g],i,b,!0)||(f.data(e[g],j,b,!0)||f.data(e[g],k,b,!0))&&f.data(e[g],i,f.Callbacks("once memory"),!0))h++,l.add(m);return m(),d.promise()}});var o=/[\n\t\r]/g,p=/\s+/,q=/\r/g,r=/^(?:button|input)$/i,s=/^(?:button|input|object|select|textarea)$/i,t=/^a(?:rea)?$/i,u=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,v=f.support.getSetAttribute,w,x,y;f.fn.extend({attr:function(a,b){return f.access(this,a,b,!0,f.attr)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return f.access(this,a,b,!0,f.prop)},removeProp:function(a){return a=f.propFix[a]||a,this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,g,h,i;if(f.isFunction(a))return this.each(function(b){f(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(p);for(c=0,d=this.length;c<d;c++){e=this[c];if(e.nodeType===1)if(!e.className&&b.length===1)e.className=a;else{g=" "+e.className+" ";for(h=0,i=b.length;h<i;h++)~g.indexOf(" "+b[h]+" ")||(g+=b[h]+" ");e.className=f.trim(g)}}}return this},removeClass:function(a){var c,d,e,g,h,i,j;if(f.isFunction(a))return this.each(function(b){f(this).removeClass(a.call(this,b,this.className))});if(a&&typeof a=="string"||a===b){c=(a||"").split(p);for(d=0,e=this.length;d<e;d++){g=this[d];if(g.nodeType===1&&g.className)if(a){h=(" "+g.className+" ").replace(o," ");for(i=0,j=c.length;i<j;i++)h=h.replace(" "+c[i]+" "," ");g.className=f.trim(h)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";return f.isFunction(a)?this.each(function(c){f(this).toggleClass(a.call(this,c,this.className,b),b)}):this.each(function(){if(c==="string"){var e,g=0,h=f(this),i=b,j=a.split(p);while(e=j[g++])i=d?i:!h.hasClass(e),h[i?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&f._data(this,"__className__",this.className),this.className=this.className||a===!1?"":f._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ",c=0,d=this.length;for(;c<d;c++)if(this[c].nodeType===1&&(" "+this[c].className+" ").replace(o," ").indexOf(b)>-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];if(!arguments.length){if(g)return c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type],c&&"get"in c&&(d=c.get(g,"value"))!==b?d:(d=g.value,typeof d=="string"?d.replace(q,""):d==null?"":d);return}return e=f.isFunction(a),this.each(function(d){var g=f(this),h;if(this.nodeType!==1)return;e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h})}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c<d;c++){e=i[c];if(e.selected&&(f.support.optDisabled?!e.disabled:e.getAttribute("disabled")===null)&&(!e.parentNode.disabled||!f.nodeName(e.parentNode,"optgroup"))){b=f(e).val();if(j)return b;h.push(b)}}return j&&!h.length&&i.length?f(i[g]).val():h},set:function(a,b){var c=f.makeArray(b);return f(a).find("option").each(function(){this.selected=f.inArray(f(this).val(),c)>=0}),c.length||(a.selectedIndex=-1),c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!a||j===3||j===8||j===2)return;if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}return h&&"set"in h&&i&&(g=h.set(a,d,c))!==b?g:(a.setAttribute(c,""+d),d)}return h&&"get"in h&&i&&(g=h.get(a,c))!==null?g:(g=a.getAttribute(c),g===null?b:g)},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h<g;h++)e=d[h],e&&(c=f.propFix[e]||e,f.attr(a,e,""),a.removeAttribute(v?e:c),u.test(e)&&c in a&&(a[c]=!1))}},attrHooks:{type:{set:function(a,b){if(r.test(a.nodeName)&&a.parentNode)f.error("type property can't be changed");else if(!f.support.radioValue&&b==="radio"&&f.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}},value:{get:function(a,b){return w&&f.nodeName(a,"button")?w.get(a,b):b in a?a.value:null},set:function(a,b,c){if(w&&f.nodeName(a,"button"))return w.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,c,d){var e,g,h,i=a.nodeType;if(!a||i===3||i===8||i===2)return;return h=i!==1||!f.isXMLDoc(a),h&&(c=f.propFix[c]||c,g=f.propHooks[c]),d!==b?g&&"set"in g&&(e=g.set(a,d,c))!==b?e:a[c]=d:g&&"get"in g&&(e=g.get(a,c))!==null?e:a[c]},propHooks:{tabIndex:{get:function(a){var c=a.getAttributeNode("tabindex");return c&&c.specified?parseInt(c.value,10):s.test(a.nodeName)||t.test(a.nodeName)&&a.href?0:b}}}}),f.attrHooks.tabindex=f.propHooks.tabIndex,x={get:function(a,c){var d,e=f.prop(a,c);return e===!0||typeof e!="boolean"&&(d=a.getAttributeNode(c))&&d.nodeValue!==!1?c.toLowerCase():b},set:function(a,b,c){var d;return b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase())),c}},v||(y={name:!0,id:!0},w=f.valHooks.button={get:function(a,c){var d;return d=a.getAttributeNode(c),d&&(y[c]?d.nodeValue!=="":d.specified)?d.nodeValue:b},set:function(a,b,d){var e=a.getAttributeNode(d);return e||(e=c.createAttribute(d),a.setAttributeNode(e)),e.nodeValue=b+""}},f.attrHooks.tabindex.set=w.set,f.each(["width","height"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks[b],{set:function(a,c){if(c==="")return a.setAttribute(b,"auto"),c}})}),f.attrHooks.contenteditable={get:w.get,set:function(a,b,c){b===""&&(b="false"),w.set(a,b,c)}}),f.support.hrefNormalized||f.each(["href"
,"src","width","height"],function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),f.support.style||(f.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=""+b}}),f.support.optSelected||(f.propHooks.selected=f.extend(f.propHooks.selected,{get:function(a){var b=a.parentNode;return b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex),null}})),f.support.enctype||(f.propFix.enctype="encoding"),f.support.checkOn||f.each(["radio","checkbox"],function(){f.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.isArray(b))return a.checked=f.inArray(f(a).val(),b)>=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/\bhover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a);return b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)")),b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")};f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))return;d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f=="undefined"||!!a&&f.event.triggered===a.type?b:f.event.dispatch.apply(i.elem,arguments)},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k<c.length;k++){l=A.exec(c[k])||[],m=l[1],n=(l[2]||"").split(".").sort(),s=f.event.special[m]||{},m=(g?s.delegateType:s.bindType)||m,s=f.event.special[m]||{},o=f.extend({type:m,origType:l[1],data:e,handler:d,guid:d.guid,selector:g,quick:G(g),namespace:n.join(".")},p),r=j[m];if(!r){r=j[m]=[],r.delegateCount=0;if(!s.setup||s.setup.call(a,e,n,i)===!1)a.addEventListener?a.addEventListener(m,i,!1):a.attachEvent&&a.attachEvent("on"+m,i)}s.add&&(s.add.call(a,o),o.handler.guid||(o.handler.guid=d.guid)),g?r.splice(r.delegateCount++,0,o):r.push(o),f.event.global[m]=!0}a=null},global:{},remove:function(a,b,c,d,e){var g=f.hasData(a)&&f._data(a),h,i,j,k,l,m,n,o,p,q,r,s;if(!g||!(o=g.events))return;b=f.trim(I(b||"")).split(" ");for(h=0;h<b.length;h++){i=A.exec(b[h])||[],j=k=i[1],l=i[2];if(!j){for(j in o)f.event.remove(a,j+b[h],c,d,!0);continue}p=f.event.special[j]||{},j=(d?p.delegateType:p.bindType)||j,r=o[j]||[],m=r.length,l=l?new RegExp("(^|\\.)"+l.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;for(n=0;n<r.length;n++)s=r[n],(e||k===s.origType)&&(!c||c.guid===s.guid)&&(!l||l.test(s.namespace))&&(!d||d===s.selector||d==="**"&&s.selector)&&(r.splice(n--,1),s.selector&&r.delegateCount--,p.remove&&p.remove.call(a,s));r.length===0&&m!==r.length&&((!p.teardown||p.teardown.call(a,l)===!1)&&f.removeEvent(a,j,g.handle),delete o[j])}f.isEmptyObject(o)&&(q=g.handle,q&&(q.elem=null),f.removeData(a,["events","handle"],!0))},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,d,e,g){if(!e||e.nodeType!==3&&e.nodeType!==8){var h=c.type||c,i=[],j,k,l,m,n,o,p,q,r,s;if(E.test(h+f.event.triggered))return;h.indexOf("!")>=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;l<r.length&&!c.isPropagationStopped();l++)m=r[l][0],c.type=r[l][1],q=(f._data(m,"events")||{})[c.type]&&f._data(m,"handle"),q&&q.apply(m,d),q=o&&m[o],q&&f.acceptData(m)&&q.apply(m,d)===!1&&c.preventDefault();return c.type=h,!g&&!c.isDefaultPrevented()&&(!p._default||p._default.apply(e.ownerDocument,d)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)&&o&&e[h]&&(h!=="focus"&&h!=="blur"||c.target.offsetWidth!==0)&&!f.isWindow(e)&&(n=e[o],n&&(e[o]=null),f.event.triggered=h,e[h](),f.event.triggered=b,n&&(e[o]=n)),c.result}return},dispatch:function(c){c=f.event.fix(c||a.event);var d=(f._data(this,"events")||{})[c.type]||[],e=d.delegateCount,g=[].slice.call(arguments,0),h=!c.exclusive&&!c.namespace,i=[],j,k,l,m,n,o,p,q,r,s,t;g[0]=c,c.delegateTarget=this;if(e&&!c.target.disabled&&(!c.button||c.type!=="click")){m=f(this),m.context=this.ownerDocument||this;for(l=c.target;l!=this;l=l.parentNode||this){o={},q=[],m[0]=l;for(j=0;j<e;j++)r=d[j],s=r.selector,o[s]===b&&(o[s]=r.quick?H(l,r.quick):m.is(s)),o[s]&&q.push(r);q.length&&i.push({elem:l,matches:q})}}d.length>e&&i.push({elem:this,matches:d.slice(e)});for(j=0;j<i.length&&!c.isPropagationStopped();j++){p=i[j],c.currentTarget=p.elem;for(k=0;k<p.matches.length&&!c.isImmediatePropagationStopped();k++){r=p.matches[k];if(h||!c.namespace&&!r.namespace||c.namespace_re&&c.namespace_re.test(r.namespace))c.data=r.data,c.handleObj=r,n=((f.event.special[r.origType]||{}).handle||r.handler).apply(p.elem,g),n!==b&&(c.result=n,n===!1&&(c.preventDefault(),c.stopPropagation()))}}return c.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return a.which==null&&(a.which=b.charCode!=null?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,d){var e,f,g,h=d.button,i=d.fromElement;return a.pageX==null&&d.clientX!=null&&(e=a.target.ownerDocument||c,f=e.documentElement,g=e.body,a.pageX=d.clientX+(f&&f.scrollLeft||g&&g.scrollLeft||0)-(f&&f.clientLeft||g&&g.clientLeft||0),a.pageY=d.clientY+(f&&f.scrollTop||g&&g.scrollTop||0)-(f&&f.clientTop||g&&g.clientTop||0)),!a.relatedTarget&&i&&(a.relatedTarget=i===a.target?d.toElement:i),!a.which&&h!==b&&(a.which=h&1?1:h&2?3:h&4?2:0),a}},fix:function(a){if(a[f.expando])return a;var d,e,g=a,h=f.event.fixHooks[a.type]||{},i=h.props?this.props.concat(h.props):this.props;a=f.Event(g);for(d=i.length;d;)e=i[--d],a[e]=g[e];return a.target||(a.target=g.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),a.metaKey===b&&(a.metaKey=a.ctrlKey),h.filter?h.filter(a,g):a},special:{ready:{setup:f.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(a,b,c){f.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}},simulate:function(a,b,c,d){var e=f.extend(new f.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?f.event.trigger(e,null,b):f.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},f.event.handle=f.event.dispatch,f.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},f.Event=function(a,b){if(!(this instanceof f.Event))return new f.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?K:J):this.type=a,b&&f.extend(this,b),this.timeStamp=a&&a.timeStamp||f.now(),this[f.expando]=!0},f.Event.prototype={preventDefault:function(){this.isDefaultPrevented=K;var a=this.originalEvent;if(!a)return;a.preventDefault?a.preventDefault():a.returnValue=!1},stopPropagation:function(){this.isPropagationStopped=K;var a=this.originalEvent;if(!a)return;a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=K,this.stopPropagation()},isDefaultPrevented:J,isPropagationStopped:J,isImmediatePropagationStopped:J},f.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){f.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c=this,d=a.relatedTarget,e=a.handleObj,g=e.selector,h;if(!d||d!==c&&!f.contains(c,d))a.type=e.origType,h=e.handler.apply(this,arguments),a.type=b;return h}}}),f.support.submitBubbles||(f.event.special.submit={setup:function(){if(f.nodeName(this,"form"))return!1;f.event.add(this,"click._submit keypress._submit",function(a){var c=a.target,d=f.nodeName(c,"input")||f.nodeName(c,"button")?c.form:b;d&&!d._submit_attached&&(f.event.add(d,"submit._submit",function(a){this.parentNode&&!a.isTrigger&&f.event.simulate("submit",this.parentNode,a,!0)}),d._submit_attached=!0)})},teardown:function(){if(f.nodeName(this,"form"))return!1;f.event.remove(this,"._submit")}}),f.support.changeBubbles||(f.event.special.change={setup:function(){if(z.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio")f.event.add(this,"propertychange._change",function(a){a.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),f.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1,f.event.simulate("change",this,a,!0))});return!1}f.event.add(this,"beforeactivate._change",function(a){var b=a.target;z.test(b.nodeName)&&!b._change_attached&&(f.event.add(b,"change._change",function(a){this.parentNode&&!a.isSimulated&&!a.isTrigger&&f.event.simulate("change",this.parentNode,a,!0)}),b._change_attached=!0)})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)},teardown:function(){return f.event.remove(this,"._change"),z.test(this.nodeName)}}),f.support.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){var d=0,e=function(a){f.event.simulate(b,a.target,f.event.fix(a),!0)};f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.fn.extend({on:function(a,c,d,e,g){var h,i;if(typeof a=="object"){typeof c!="string"&&(d=c,c=b);for(i in a)this.on(i,c,d,a[i],g);return this}d==null&&e==null?(e=c,d=c=b):e==null&&(typeof c=="string"?(e=d,d=b):(e=d,d=c,c=b));if(e===!1)e=J;else if(!e)return this;return g===1&&(h=e,e=function(a){return f().off(a),h.apply(this,arguments)},e.guid=h.guid||(h.guid=f.guid++)),this.each(function(){f.event.add(this,a,e,d,c)})},one:function(a,b,c,d){return this.on.call(this,a,b,c,d,1)},off:function(a,c,d){if(a&&a.preventDefault&&a.handleObj){var e=a.handleObj;return f(a.delegateTarget).off(e.namespace?e.type+"."+e.namespace:e.type,e.selector,e.handler),this}if(typeof a=="object"){for(var g in a)this.off(g,c,a[g]);return this}if(c===!1||typeof c=="function")d=c,c=b;return d===!1&&(d=J),this.each(function(){f.event.remove(this,a,d,c)})},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},live:function(a,b,c){return f(this.context).on(a,this.selector,b,c),this},die:function(a,b){return f(this.context).off(a,this.selector||"**",b),this},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return arguments.length==1?this.off(a,"**"):this.off(b,a,c)},trigger:function(a,b){return this.each(function(){f.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return f.event.trigger(a,b,this[0],!0)},toggle:function(a){var b=arguments,c=a.guid||f.guid++,d=0,e=function(c){var e=(f._data(this,"lastToggle"+a.guid)||0)%d;return f._data(this,"lastToggle"+a.guid,e+1),c.preventDefault(),b[e].apply(this,arguments)||!1};e.guid=c;while(d<b.length)b[d++].guid=c;return this.click(e)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),f.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){f.fn[b]=function(a,c){return c==null&&(c=a,a=null),arguments.length>0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function w(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}j.nodeType===1&&!g&&(j[d]=c,j.sizset=h);if(j.nodeName.toLowerCase()===b){k=j;break}j=j[a]}e[h]=k}}}function x(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}if(j.nodeType===1){g||(j[d]=c,j.sizset=h);if(typeof b!="string"){if(j===b){k=!0;break}}else if(m.filter(b,[j]).length>0){k=j;break}}j=j[a]}e[h]=k}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){return i=!1,0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length!==1||w[0]!=="~"&&w[0]!=="+"||!d.parentNode?d:d.parentNode,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);return l&&(m(l,h,e,f),m.uniqueSort(e)),e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},m.matches=function(a,b){return m(a,null,null,b)},m.matchesSelector=function(a,b){return m(b,null,null,[a]).length>0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e<f;e++){h=o.order[e];if(g=o.leftMatch[h].exec(a)){i=g[1],g.splice(1,1);if(i.substr(i.length-1)!=="\\"){g[1]=(g[1]||"").replace(j,""),d=o.find[h](g,b,c);if(d!=null){a=a.replace(o.match[h],"");break}}}}return d||(d=typeof b.getElementsByTagName!="undefined"?b.getElementsByTagName("*"):[]),{set:d,expr:a}},m.filter=function(a,c,d,e){var f,g,h,i,j,k,l,n,p,q=a,r=[],s=c,t=c&&c[0]&&m.isXML(c[0]);while(a&&c.length){for(h in o.filter)if((f=o.leftMatch[h].exec(a))!=null&&f[2]){k=o.filter[h],l=f[1],g=!1,f.splice(1,1);if(l.substr(l.length-1)==="\\")continue;s===r&&(r=[]);if(o.preFilter[h]){f=o.preFilter[h](f,s,d,r,e,t);if(!f)g=i=!0;else if(f===!0)continue}if(f)for(n=0;(j=s[n])!=null;n++)j&&(i=k(j,f,n,s),p=e^i,d&&i!=null?p?g=!0:s[n]=!1:p&&(r.push(j),g=!0));if(i!==b){d||(s=r),a=a.replace(o.match[h],"");if(!g)return[];break}}if(a===q){if(g!=null)break;m.error(a)}q=a}return s},m.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)};var n=m.getText=function(a){var b,c,d=a.nodeType,e="";if(d){if(d===1||d===9){if(typeof a.textContent=="string")return a.textContent;if(typeof a.innerText=="string")return a.innerText.replace(k,"");for(a=a.firstChild;a;a=a.nextSibling)e+=n(a)}else if(d===3||d===4)return a.nodeValue}else for(b=0;c=a[b];b++)c.nodeType!==8&&(e+=n(c));return e},o=m.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b=="string",d=c&&!l.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1);a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&m.filter(b,a,!0)},">":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&m.filter(b,a,!0)}},"":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("parentNode",b,f,a,d,c)},"~":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("previousSibling",b,f,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(j,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);return a[0]=e++,a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");return!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" "),a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not"){if(!((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))){var g=m.filter(b[3],c,d,!0^f);return d||e.push.apply(e,g),!1}b[3]=m(b[3],null,null,c)}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){return a.unshift(!0),a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}m.error(e)},CHILD:function(a,b){var c,e,f,g,h,i,j,k=b[1],l=a;switch(k){case"only":case"first":while(l=l.previousSibling)if(l.nodeType===1)return!1;if(k==="first")return!0;l=a;case"last":while(l=l.nextSibling)if(l.nodeType===1)return!1;return!0;case"nth":c=b[2],e=b[3];if(c===1&&e===0)return!0;f=b[0],g=a.parentNode;if(g&&(g[d]!==f||!a.nodeIndex)){i=0;for(l=g.firstChild;l;l=l.nextSibling)l.nodeType===1&&(l.nodeIndex=++i);g[d]=f}return j=a.nodeIndex-e,c===0?j===0:j%c===0&&j/c>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){return a=Array.prototype.slice.call(a,0),b?(b.push.apply(b,a),b):a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var u,v;c.documentElement.compareDocumentPosition?u=function(a,b){return a===b?(h=!0,0):!a.compareDocumentPosition||!b.compareDocumentPosition?a.compareDocumentPosition?-1:1:a.compareDocumentPosition(b)&4?-1:1}:(u=function(a,b){if(a===b)return h=!0,0;if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var c,d,e=[],f=[],g=a.parentNode,i=b.parentNode,j=g;if(g===i)return v(a,b);if(!g)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return v(e[k],f[k]);return k===c?v(a,f[k],-1):v(e[k],b,1)},v=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(b.querySelectorAll&&b.querySelectorAll(".TEST").length===0)return;m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(!a.getElementsByClassName||a.getElementsByClassName("e").length===0)return;a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h<i;h++)m(a,g[h],e,c);return m.filter(f,e)};m.attr=f.attr,m.selectors.attrMap={},f.find=m,f.expr=m.selectors,f.expr[":"]=f.expr.filters,f.unique=m.uniqueSort,f.text=m.getText,f.isXMLDoc=m.isXML,f.contains=m.contains}();var L=/Until$/,M=/^(?:parents|prevUntil|prevAll)/,N=/,/,O=/^.[^:#\[\.,]*$/,P=Array.prototype.slice,Q=f.expr.match.POS,R={children:!0,contents:!0,next:!0,prev:!0};f.fn.extend({find:function(a){var b=this,c,d;if(typeof a!="string")return f(a).filter(function(){for(c=0,d=b.length;c<d;c++)if(f.contains(b[c],this))return!0});var e=this.pushStack("","find",a),g,h,i;for(c=0,d=this.length;c<d;c++){g=e.length,f.find(a,this[c],e);if(c>0)for(h=g;h<e.length;h++)for(i=0;i<g;i++)if(e[i]===e[h]){e.splice(h--,1);break}}return e},has:function(a){var b=f(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(f.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(T(this,a,!1),"not",a)},filter:function(a){return this.pushStack(T(this,a,!0),"filter",a)},is:function(a){return!!a&&(typeof a=="string"?Q.test(a)?f(a,this.context).index(this[0])>=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d<a.length;d++)f(g).is(a[d])&&c.push({selector:a[d],elem:g,level:h});g=g.parentNode,h++}return c}var i=Q.test(a)||typeof a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d<e;d++){g=this[d];while(g){if(i?i.index(g)>-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}return c=c.length>1?f.unique(c):c,this.pushStack(c,"closest",a)},index:function(a){return a?typeof a=="string"?f.inArray(this[0],f(a)):f.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);return L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse()),this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){return c&&(a=":not("+a+")"),b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/<tbody/i,_=/<|&#?\w+;/,ba=/<(?:script|style)/i,bb=/<(?:script|object|embed|option|style)/i,bc=new RegExp("<(?:"+V+")","i"),bd=/checked\s*(?:[^=]|=\s*.checked.)/i,be=/\/(java|ecma)script/i,bf=/^\s*<!(?:\[CDATA\[|\-\-)/,bg={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div<div>","</div>"]),f.fn.extend({text:function(a){return f.isFunction(a)?this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))}):typeof a!="object"&&a!==b?this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a)):f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return f
.isFunction(a)?this.each(function(b){f(this).wrapInner(a.call(this,b))}):this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f.clean(arguments);return a.push.apply(a,this.toArray()),this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);return a.push.apply(a,f.clean(arguments)),a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){return a=a==null?!1:a,b=b==null?a:b,this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1></$2>");try{for(var c=0,d=this.length;c<d;c++)this[c].nodeType===1&&(f.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a)}catch(e){this.empty().append(a)}}else f.isFunction(a)?this.each(function(b){var c=f(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);return this},replaceWith:function(a){return this[0]&&this[0].parentNode?f.isFunction(a)?this.each(function(b){var c=f(this),d=c.html();c.replaceWith(a.call(this,b,d))}):(typeof a!="string"&&(a=f(a).detach()),this.each(function(){var b=this.nextSibling,c=this.parentNode;f(this).remove(),b?f(b).before(a):f(c).append(a)})):this.length?this.pushStack(f(f.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,d){var e,g,h,i,j=a[0],k=[];if(!f.support.checkClone&&arguments.length===3&&typeof j=="string"&&bd.test(j))return this.each(function(){f(this).domManip(a,c,d,!0)});if(f.isFunction(j))return this.each(function(e){var g=f(this);a[0]=j.call(this,e,c?g.html():b),g.domManip(a,c,d)});if(this[0]){i=j&&j.parentNode,f.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?e={fragment:i}:e=f.buildFragment(a,this,k),h=e.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&f.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)d.call(c?bi(this[l],g):this[l],e.cacheable||m>1&&l<n?f.clone(h,!0,!0):h)}k.length&&f.each(k,bp)}return this}}),f.buildFragment=function(a,b,d){var e,g,h,i,j=a[0];return b&&b[0]&&(i=b[0].ownerDocument||b[0]),i.createDocumentFragment||(i=c),a.length===1&&typeof j=="string"&&j.length<512&&i===c&&j.charAt(0)==="<"&&!bb.test(j)&&(f.support.checkClone||!bd.test(j))&&(f.support.html5Clone||!bc.test(j))&&(g=!0,h=f.fragments[j],h&&h!==1&&(e=h)),e||(e=i.createDocumentFragment(),f.clean(a,i,e,d)),g&&(f.fragments[j]=h?e:1),{fragment:e,cacheable:g}},f.fragments={},f.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){f.fn[a]=function(c){var d=[],e=f(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&e.length===1)return e[b](this[0]),this;for(var h=0,i=e.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||!bc.test("<"+a.nodeName)?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}return d=e=null,h},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!_.test(k))k=b.createTextNode(k);else{k=k.replace(Y,"<$1></$2>");var l=(Z.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");b===c?bh.appendChild(o):U(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=$.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]==="<table>"&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createTextNode(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i<r;i++)bn(k[i]);else bn(k);k.nodeType?h.push(k):h=f.merge(h,k)}if(d){g=function(a){return!a.type||be.test(a.type)};for(j=0;h[j];j++)if(e&&f.nodeName(h[j],"script")&&(!h[j].type||h[j].type.toLowerCase()==="text/javascript"))e.push(h[j].parentNode?h[j].parentNode.removeChild(h[j]):h[j]);else{if(h[j].nodeType===1){var s=f.grep(h[j].getElementsByTagName("script"),g);h.splice.apply(h,[j+1,0].concat(s))}d.appendChild(h[j])}}return h},cleanData:function(a){var b,c,d=f.cache,e=f.event.special,g=f.support.deleteExpando;for(var h=0,i;(i=a[h])!=null;h++){if(i.nodeName&&f.noData[i.nodeName.toLowerCase()])continue;c=i[f.expando];if(c){b=d[c];if(b&&b.events){for(var j in b.events)e[j]?f.event.remove(i,j):f.removeEvent(i,j,b.handle);b.handle&&(b.handle.elem=null)}g?delete i[f.expando]:i.removeAttribute&&i.removeAttribute(f.expando),delete d[c]}}}});var bq=/alpha\([^)]*\)/i,br=/opacity=([^)]*)/,bs=/([A-Z]|^ms)/g,bt=/^-?\d+(?:px)?$/i,bu=/^-?\d/,bv=/^([\-+])=([\-+.\de]+)/,bw={position:"absolute",visibility:"hidden",display:"block"},bx=["Left","Right"],by=["Top","Bottom"],bz,bA,bB;f.fn.css=function(a,c){return arguments.length===2&&c===b?this:f.access(this,a,c,!0,function(a,c,d){return d!==b?f.style(a,c,d):f.css(a,c)})},f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bz(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":f.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!a||a.nodeType===3||a.nodeType===8||!a.style)return;var g,h,i=f.camelCase(c),j=a.style,k=f.cssHooks[i];c=f.cssProps[i]||i;if(d===b)return k&&"get"in k&&(g=k.get(a,!1,e))!==b?g:j[c];h=typeof d,h==="string"&&(g=bv.exec(d))&&(d=+(g[1]+1)*+g[2]+parseFloat(f.css(a,c)),h="number");if(d==null||h==="number"&&isNaN(d))return;h==="number"&&!f.cssNumber[i]&&(d+="px");if(!k||!("set"in k)||(d=k.set(a,d))!==b)try{j[c]=d}catch(l){}},css:function(a,c,d){var e,g;c=f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c==="cssFloat"&&(c="float");if(g&&"get"in g&&(e=g.get(a,!0,d))!==b)return e;if(bz)return bz(a,c)},swap:function(a,b,c){var d={};for(var e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]}}),f.curCSS=f.css,f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,d){var e;if(c)return a.offsetWidth!==0?bC(a,b,d):(f.swap(a,bw,function(){e=bC(a,b,d)}),e)},set:function(a,b){if(!bt.test(b))return b;b=parseFloat(b);if(b>=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return br.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bq,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bq.test(g)?g.replace(bq,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;return f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight}),c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,b){var c,d,e;return b=b.replace(bs,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b))),c}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;return f===null&&g&&(e=g[b])&&(f=e),!bt.test(f)&&bu.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d)),f===""?"auto":f}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bD=/%20/g,bE=/\[\]$/,bF=/\r?\n/g,bG=/#.*$/,bH=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bI=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bK=/^(?:GET|HEAD)$/,bL=/^\/\//,bM=/\?/,bN=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bO=/^(?:select|textarea)/i,bP=/\s+/,bQ=/([?&])_=[^&]*/,bR=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bS=f.fn.load,bT={},bU={},bV,bW,bX=["*/"]+["*"];try{bV=e.href}catch(bY){bV=c.createElement("a"),bV.href="",bV=bV.href}bW=bR.exec(bV.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bS)return bS.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;return f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("<div>").append(c.replace(bN,"")).find(g):c)),d&&i.each(d,[c,b,a])}}),this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bO.test(this.nodeName)||bI.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bF,"\r\n")}}):{name:b.name,value:c.replace(bF,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){return f.isFunction(d)&&(g=g||e,e=d,d=b),f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){return b?b_(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b_(a,b),a},ajaxSettings:{url:bV,isLocal:bJ.test(bW[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bX},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bZ(bT),ajaxTransport:bZ(bU),ajax:function(a,c){function w(a,c,l,m){if(s===2)return;s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cc(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bH.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){return s||(d.mimeType=a),this},abort:function(a){return a=a||"abort",p&&p.abort(a),w(0,a),this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bG,"").replace(bL,bW[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bP),d.crossDomain==null&&(r=bR.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bW[1]&&r[2]==bW[2]&&(r[3]||(r[1]==="http:"?80:443))==(bW[3]||(bW[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bT,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bK.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bM.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bQ,"$1_="+x);d.url=y+(y===d.url?(bM.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bX+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(!d.beforeSend||d.beforeSend.call(e,v,d)!==!1&&s!==2){for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bU,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(!(s<2))throw z;w(-1,z)}}return v}return v.abort(),!1},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)ca(g,a[g],c,e);return d.join("&").replace(bD,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cd=f.now(),ce=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cd++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ce.test(b.url)||e&&ce.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";return b.jsonp!==!1&&(j=j.replace(ce,l),b.url===j&&(e&&(k=k.replace(ce,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){return g||f.error(h+" was not called"),g[0]},b.dataTypes[0]="json","script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){return f.globalEval(a),a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cf=a.ActiveXObject?function(){for(var a in ch)ch[a](0,1)}:!1,cg=0,ch;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ci()||cj()}:ci,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cf&&delete ch[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cg,cf&&(ch||(ch={},f(a).unload(cf)),ch[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var ck={},cl,cm,cn=/^(?:toggle|show|hide)$/,co=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cp,cq=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cr;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)d=this[g],d.style&&(e=d.style.display,!f._data(d,"olddisplay")&&e==="none"&&(e=d.style.display=""),e===""&&f.css(d,"display")==="none"&&f._data(d,"olddisplay",cv(d.nodeName)));for(g=0;g<h;g++){d=this[g];if(d.style){e=d.style.display;if(e===""||e==="none")d.style.display=f._data(d,"olddisplay")||""}}return this},hide:function(a,b,c){if(a||a===0)return this.animate(cu("hide",3),a,b,c);var d,e,g=0,h=this.length;for(;g<h;g++)d=this[g],d.style&&(e=f.css(d,"display"),e!=="none"&&!f._data(d,"olddisplay")&&f._data(d,"olddisplay",e));for(g=0;g<h;g++)this[g].style&&(this[g].style.display="none");return this},_toggle:f.fn.toggle,toggle:function(a,b,c){var d=typeof a=="boolean";return f.isFunction(a)&&f.isFunction(b)?this._toggle.apply(this,arguments):a==null||d?this.each(function(){var b=d?a:f(this).is(":hidden");f(this)[b?"show":"hide"]()}):this.animate(cu("toggle",3),a,b,c),this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){function g(){e.queue===!1&&f._mark(this);var b=f.extend({},e),c=this.nodeType===1,d=c&&f(this).is(":hidden"),g,h,i,j,k,l,m,n,o;b.animatedProperties={};for(i in a){g=f.camelCase(i),i!==g&&(a[g]=a[i],delete a[i]),h=a[g],f.isArray(h)?(b.animatedProperties[g]=h[1],h=a[g]=h[0]):b.animatedProperties[g]=b.specialEasing&&b.specialEasing[g]||b.easing||"swing";if(h==="hide"&&d||h==="show"&&!d)return b.complete.call(this);c&&(g==="height"||g==="width")&&(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],f.css(this,"display")==="inline"&&f.css(this,"float")==="none"&&(!f.support.inlineBlockNeedsLayout||cv(this.nodeName)==="inline"?this.style.display="inline-block":this.style.zoom=1))}b.overflow!=null&&(this.style.overflow="hidden");for(i in a)j=new f.fx(this,b,i),h=a[i],cn.test(h)?(o=f._data(this,"toggle"+i)||(h==="toggle"?d?"show":"hide":0),o?(f._data(this,"toggle"+i,o==="show"?"hide":"show"),j[o]()):j[h]()):(k=co.exec(h),l=j.cur(),k?(m=parseFloat(k[2]),n=k[3]||(f.cssNumber[i]?"":"px"),n!=="px"&&(f.style(this,i,(m||1)+n),l=(m||1)/j.cur()*l,f.style(this,i,l+n)),k[1]&&(m=(k[1]==="-="?-1:1)*m+l),j.custom(l,m,n)):j.custom(l,h,""));return!0}var e=f.speed(b,c,d);return f.isEmptyObject(a)?this.each(e.complete,[!1]):(a=f.extend({},a),e.queue===!1?this.each(g):this.queue(e.queue,g))},stop:function(a,c,d){return typeof a!="string"&&(d=c,c=a,a=b),c&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){function h(a,b,c){var e=b[c];f.removeData(a,c,!0),e.stop(d)}var b,c=!1,e=f.timers,g=f._data(this);d||f._unmark(!0,this);if(a==null)for(b in g)g[b]&&g[b].stop&&b.indexOf(".run")===b.length-4&&h(this,g,b);else g[b=a+".run"]&&g[b].stop&&h(this,g,b);for(b=e.length;b--;)e[b].elem===this&&(a==null||e[b].queue===a)&&(d?e[b](!0):e[b].saveState(),c=!0,e.splice(b,1));(!d||!c)&&f.dequeue(this,a)})}}),f.each({slideDown:cu("show",1),slideUp:cu("hide",1),slideToggle:cu("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){f.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),f.extend({speed:function(a,b,c){var d=a&&typeof a=="object"?f.extend({},a):{complete:c||!c&&b||f.isFunction(a)&&a,duration:a,easing:c&&b||b&&!f.isFunction(b)&&b};d.duration=f.fx.off?0:typeof d.duration=="number"?d.duration:d.duration in f.fx.speeds?f.fx.speeds[d.duration]:f.fx.speeds._default;if(d.queue==null||d.queue===!0)d.queue="fx";return d.old=d.complete,d.complete=function(a){f.isFunction(d.old)&&d.old.call(this),d.queue?f.dequeue(this,d.queue):a!==!1&&f._unmark(this)},d},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig=b.orig||{}}}),f.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(f.fx.step[this.prop]||f.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]==null||!!this.elem.style&&this.elem.style[this.prop]!=null){var a,b=f.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a}return this.elem[this.prop]},custom:function(a,c,d){function h(a){return e.step(a)}var e=this,g=f.fx;this.startTime=cr||cs(),this.end=c,this.now=this.start=a,this.pos=this.state=0,this.unit=d||this.unit||(f.cssNumber[this.prop]?"":"px"),h.queue=this.options.queue,h.elem=this.elem,h.saveState=function(){e.options.hide&&f._data(e.elem,"fxshow"+e.prop)===b&&f._data(e.elem,"fxshow"+e.prop,e.start)},h()&&f.timers.push(h)&&!cp&&(cp=setInterval(g.tick,g.interval))},show:function(){var a=f._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=a||f.style(this.elem,this.prop),this.options.show=!0,a!==b?this.custom(this.cur(),a):this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),f(this.elem).show()},hide:function(){this.options.orig[this.prop]=f._data(this.elem,"fxshow"+this.prop)||f.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b,c,d,e=cr||cs(),g=!0,h=this.elem,i=this.options;if(a||e>=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}return i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update(),!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c<b.length;c++)a=b[c],!a()&&b[c]===a&&b.splice(c--,1);b.length||f.fx.stop()},interval:13,stop:function(){clearInterval(cp),cp=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){f.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=a.now+a.unit:a.elem[a.prop]=a.now}}}),f.each(["width","height"],function(a,b){f.fx.step[b]=function(a){f.style(a.elem,b,Math.max(0,a.now)+a.unit)}}),f.expr&&f.expr.filters&&(f.expr.filters.animated=function(a){return f.grep(f.timers,function(b){return a===b.elem}).length});var cw=/^t(?:able|d|h)$/i,cx=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?f.fn.offset=function(a){var b=this[0],c;if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);try{c=b.getBoundingClientRect()}catch(d){}var e=b.ownerDocument,g=e.documentElement;if(!c||!f.contains(g,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var h=e.body,i=cy(e),j=g.clientTop||h.clientTop||0,k=g.clientLeft||h.clientLeft||0,l=i.pageYOffset||f.support.boxModel&&g.scrollTop||h.scrollTop,m=i.pageXOffset||f.support.boxModel&&g.scrollLeft||h.scrollLeft,n=c.top+l-j,o=c.left+m-k;return{top:n,left:o}}:f.fn.offset=function(a){var b=this[0];if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);var c,d=b.offsetParent,e=b,g=b.ownerDocument,h=g.documentElement,i=g.body,j=g.defaultView,k=j?j.getComputedStyle(b,null):b.currentStyle,l=b.offsetTop,m=b.offsetLeft;while((b=b.parentNode)&&b!==i&&b!==h){if(f.support.fixedPosition&&k.position==="fixed")break;c=j?j.getComputedStyle(b,null):b.currentStyle,l-=b.scrollTop,m-=b.scrollLeft,b===d&&(l+=b.offsetTop,m+=b.offsetLeft,f.support.doesNotAddBorder&&(!f.support.doesAddBorderForTableAndCells||!cw.test(b.nodeName))&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),e=d,d=b.offsetParent),f.support.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),k=c}if(k.position==="relative"||k.position==="static")l+=i.offsetTop,m+=i.offsetLeft;return f.support.fixedPosition&&k.position==="fixed"&&(l+=Math.max(h.scrollTop,i.scrollTop),m+=Math.max(h.scrollLeft,i.scrollLeft)),{top:l,left:m}},f.offset={bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;return f.support.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(f.css(a,"marginTop"))||0,c+=parseFloat(f.css(a,"marginLeft"))||0),{top:b,left:c}},setOffset:function(a,b,c){var d=f.css(a,"position");d==="static"&&(a.style.position="relative");var e=f(a),g=e.offset(),h=f.css(a,"top"),i=f.css(a,"left"),j=(d==="absolute"||d==="fixed")&&f.inArray("auto",[h,i])>-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();return c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0,{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;return c===b?(e=this[0],e?(g=cy(e),g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]):null):this.each(function(){g=cy(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window),function(a,b){var c;a.rails=c={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote], a[data-disable-with]",inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form",formInputClickSelector:"form input[type=submit], form input[type=image], form button[type=submit], form button:not(button[type])",disableSelector:"input[data-disable-with], button[data-disable-with], textarea[data-disable-with]",enableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled",requiredInputSelector:"input[name][required]:not([disabled]),textarea[name][required]:not([disabled])",fileInputSelector:"input:file",linkDisableSelector:"a[data-disable-with]",CSRFProtection:function(b){var c=a('meta[name="csrf-token"]').attr("content");c&&b.setRequestHeader("X-CSRF-Token",c)},fire:function(b,c,d){var e=a.Event(c);return b.trigger(e,d),e.result!==!1},confirm:function(a){return confirm(a)},ajax:function(b){return a.ajax(b)},handleRemote:function(d){var e,f,g,h=d.data("cross-domain")||null,i=d.data("type")||a.ajaxSettings&&a.ajaxSettings.dataType,j;if(c.fire(d,"ajax:before")){if(d.is("form")){e=d.attr("method"),f=d.attr("action"),g=d.serializeArray();var k=d.data("ujs:submit-button");k&&(g.push(k),d.data("ujs:submit-button",null))}else d.is(c.inputChangeSelector)?(e=d.data("method"),f=d.data("url"),g=d.serialize(),d.data("params")&&(g=g+"&"+d.data("params"))):(e=d.data("method"),f=d.attr("href"),g=d.data("params")||null);return j={type:e||"GET",data:g,dataType:i,crossDomain:h,beforeSend:function(a,e){return e.dataType===b&&a.setRequestHeader("accept","*/*;q=0.5, "+e.accepts.script),c.fire(d,"ajax:beforeSend",[a,e])},success:function(a,b,c){d.trigger("ajax:success",[a,b,c])},complete:function(a,b){d.trigger("ajax:complete",[a,b])},error:function(a,b,c){d.trigger("ajax:error",[a,b,c])}},f&&(j.url=f),c.ajax(j)}return!1},handleMethod:function(c){var d=c.attr("href"),e=c.data("method"),f=c.attr("target"),g=a("meta[name=csrf-token]").attr("content"),h=a("meta[name=csrf-param]").attr("content"),i=a('<form method="post" action="'+d+'"></form>'),j='<input name="_method" value="'+e+'" type="hidden" />';h!==b&&g!==b&&(j+='<input name="'+h+'" value="'+g+'" type="hidden" />'),f&&i.attr("target",f),i.hide().append(j).appendTo("body"),i.submit()},disableFormElements:function(b){b.find(c.disableSelector).each(function(){var b=a(this),c=b.is("button")?"html":"val";b.data("ujs:enable-with",b[c]()),b[c](b.data("disable-with")),b.prop("disabled",!0)})},enableFormElements:function(b){b.find(c.enableSelector).each(function(){var b=a(this),c=b.is("button")?"html":"val";b.data("ujs:enable-with")&&b[c](b.data("ujs:enable-with")),b.prop("disabled",!1)})},allowAction:function(a){var b=a.data("confirm"),d=!1
,e;return b?(c.fire(a,"confirm")&&(d=c.confirm(b),e=c.fire(a,"confirm:complete",[d])),d&&e):!0},blankInputs:function(b,c,d){var e=a(),f,g=c||"input,textarea";return b.find(g).each(function(){f=a(this);if(d?f.val():!f.val())e=e.add(f)}),e.length?e:!1},nonBlankInputs:function(a,b){return c.blankInputs(a,b,!0)},stopEverything:function(b){return a(b.target).trigger("ujs:everythingStopped"),b.stopImmediatePropagation(),!1},callFormSubmitBindings:function(c,d){var e=c.data("events"),f=!0;return e!==b&&e.submit!==b&&a.each(e.submit,function(a,b){if(typeof b.handler=="function")return f=b.handler(d)}),f},disableElement:function(a){a.data("ujs:enable-with",a.html()),a.html(a.data("disable-with")),a.bind("click.railsDisable",function(a){return c.stopEverything(a)})},enableElement:function(a){a.data("ujs:enable-with")!==b&&(a.html(a.data("ujs:enable-with")),a.data("ujs:enable-with",!1)),a.unbind("click.railsDisable")}},a.ajaxPrefilter(function(a,b,d){a.crossDomain||c.CSRFProtection(d)}),a(document).delegate(c.linkDisableSelector,"ajax:complete",function(){c.enableElement(a(this))}),a(document).delegate(c.linkClickSelector,"click.rails",function(d){var e=a(this),f=e.data("method"),g=e.data("params");if(!c.allowAction(e))return c.stopEverything(d);e.is(c.linkDisableSelector)&&c.disableElement(e);if(e.data("remote")!==b)return(d.metaKey||d.ctrlKey)&&(!f||f==="GET")&&!g?!0:(c.handleRemote(e)===!1&&c.enableElement(e),!1);if(e.data("method"))return c.handleMethod(e),!1}),a(document).delegate(c.inputChangeSelector,"change.rails",function(b){var d=a(this);return c.allowAction(d)?(c.handleRemote(d),!1):c.stopEverything(b)}),a(document).delegate(c.formSubmitSelector,"submit.rails",function(d){var e=a(this),f=e.data("remote")!==b,g=c.blankInputs(e,c.requiredInputSelector),h=c.nonBlankInputs(e,c.fileInputSelector);if(!c.allowAction(e))return c.stopEverything(d);if(g&&e.attr("novalidate")==b&&c.fire(e,"ajax:aborted:required",[g]))return c.stopEverything(d);if(f)return h?c.fire(e,"ajax:aborted:file",[h]):!a.support.submitBubbles&&a().jquery<"1.7"&&c.callFormSubmitBindings(e,d)===!1?c.stopEverything(d):(c.handleRemote(e),!1);setTimeout(function(){c.disableFormElements(e)},13)}),a(document).delegate(c.formInputClickSelector,"click.rails",function(b){var d=a(this);if(!c.allowAction(d))return c.stopEverything(b);var e=d.attr("name"),f=e?{name:e,value:d.val()}:null;d.closest("form").data("ujs:submit-button",f)}),a(document).delegate(c.formSubmitSelector,"ajax:beforeSend.rails",function(b){this==b.target&&c.disableFormElements(a(this))}),a(document).delegate(c.formSubmitSelector,"ajax:complete.rails",function(b){this==b.target&&c.enableFormElements(a(this))})}(jQuery);var BrowserDetect={init:function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser",this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version",this.OS=this.searchString(this.dataOS)||"an unknown OS"},searchString:function(a){for(var b=0;b<a.length;b++){var c=a[b].string,d=a[b].prop;this.versionSearchString=a[b].versionSearch||a[b].identity;if(c){if(c.indexOf(a[b].subString)!=-1)return a[b].identity}else if(d)return a[b].identity}},searchVersion:function(a){var b=a.indexOf(this.versionSearchString);if(b==-1)return;return parseFloat(a.substring(b+this.versionSearchString.length+1))},dataBrowser:[{string:navigator.userAgent,subString:"Chrome",identity:"Chrome"},{string:navigator.userAgent,subString:"OmniWeb",versionSearch:"OmniWeb/",identity:"OmniWeb"},{string:navigator.vendor,subString:"Apple",identity:"Safari",versionSearch:"Version"},{prop:window.opera,identity:"Opera"},{string:navigator.vendor,subString:"iCab",identity:"iCab"},{string:navigator.vendor,subString:"KDE",identity:"Konqueror"},{string:navigator.userAgent,subString:"Firefox",identity:"Firefox"},{string:navigator.vendor,subString:"Camino",identity:"Camino"},{string:navigator.userAgent,subString:"Netscape",identity:"Netscape"},{string:navigator.userAgent,subString:"MSIE",identity:"Explorer",versionSearch:"MSIE"},{string:navigator.userAgent,subString:"Gecko",identity:"Mozilla",versionSearch:"rv"},{string:navigator.userAgent,subString:"Mozilla",identity:"Netscape",versionSearch:"Mozilla"}],dataOS:[{string:navigator.platform,subString:"Win",identity:"Windows"},{string:navigator.platform,subString:"Mac",identity:"Mac"},{string:navigator.userAgent,subString:"iPhone",identity:"iPhone/iPod"},{string:navigator.platform,subString:"Linux",identity:"Linux"}]};BrowserDetect.init();var Cufon=function(){function d(a){var b=this.face=a.face,c={" ":1," ":1,"　":1};this.glyphs=function(a){var b,c={"‑":"-","­":"‑"};for(b in c){if(!o(c,b))continue;a[b]||(a[b]=a[c[b]])}return a}(a.glyphs),this.w=a.w,this.baseSize=parseInt(b["units-per-em"],10),this.family=b["font-family"].toLowerCase(),this.weight=b["font-weight"],this.style=b["font-style"]||"normal",this.viewBox=function(){var a=b.bbox.split(/\s+/),c={minX:parseInt(a[0],10),minY:parseInt(a[1],10),maxX:parseInt(a[2],10),maxY:parseInt(a[3],10)};return c.width=c.maxX-c.minX,c.height=c.maxY-c.minY,c.toString=function(){return[this.minX,this.minY,this.width,this.height].join(" ")},c}(),this.ascent=-parseInt(b.ascent,10),this.descent=-parseInt(b.descent,10),this.height=-this.ascent+this.descent,this.spacing=function(a,b,d){var e=this.glyphs,f,g,h,i=[],j=0,k,l=-1,m=-1,n;while(n=a[++l]){f=e[n]||this.missingGlyph;if(!f)continue;g&&(j-=h=g[n]||0,i[m]-=h),k=f.w,isNaN(k)&&(k=+this.w),k>0&&(k+=b,c[n]&&(k+=d)),j+=i[++m]=~~k,g=f.k}return i.total=j,i}}function e(){var a={},b={oblique:"italic",italic:"oblique"};this.add=function(b){(a[b.style]||(a[b.style]={}))[b.weight]=b},this.get=function(c,d){var e=a[c]||a[b[c]]||a.normal||a.italic||a.oblique;if(!e)return null;d={normal:400,bold:700}[d]||parseInt(d,10);if(e[d])return e[d];var f={1:1,99:0}[d%100],g=[],h,i;f===undefined&&(f=d>400),d==500&&(d=400);for(var j in e){if(!o(e,j))continue;j=parseInt(j,10);if(!h||j<h)h=j;if(!i||j>i)i=j;g.push(j)}return d<h&&(d=h),d>i&&(d=i),g.sort(function(a,b){return(f?a>=d&&b>=d?a<b:a>b:a<=d&&b<=d?a>b:a<b)?-1:1}),e[g[0]]}}function f(){function b(a,b){try{return a.contains?a.contains(b):a.compareDocumentPosition(b)&16}catch(c){}return!1}function c(a){var c=a.relatedTarget;if(c&&b(this,c))return;e(this,a.type=="mouseover")}function d(a){e(this,a.type=="mouseenter")}function e(b,c){setTimeout(function(){var d=z.get(b).options;a.replace(b,c?p(d,d.hover):d,!0)},10)}this.attach=function(a){a.onmouseenter===undefined?(j(a,"mouseover",c),j(a,"mouseout",c)):(j(a,"mouseenter",d),j(a,"mouseleave",d))}}function g(){function d(a){var d=[],e;for(var f=0;e=a[f];++f)d[f]=b[c[e]];return d}var b=[],c={};this.add=function(a,d){c[a]=b.push(d)-1},this.repeat=function(){var c=arguments.length?d(arguments):b,e;for(var f=0;e=c[f++];)a.replace(e[0],e[1],!0)}}function h(){function c(a){return a.cufid||(a.cufid=++b)}var a={},b=0;this.get=function(b){var d=c(b);return a[d]||(a[d]={})}}function i(a){var b={},d={};this.extend=function(a){for(var c in a)o(a,c)&&(b[c]=a[c]);return this},this.get=function(c){return b[c]!=undefined?b[c]:a[c]},this.getSize=function(a,b){return d[a]||(d[a]=new c.Size(this.get(a),b))},this.isUsable=function(){return!!a}}function j(a,b,c){a.addEventListener?a.addEventListener(b,c,!1):a.attachEvent&&a.attachEvent("on"+b,function(){return c.call(a,window.event)})}function k(a,b){var c=z.get(a);return c.options?a:(b.hover&&b.hoverables[a.nodeName.toLowerCase()]&&A.attach(a),c.options=b,a)}function l(a){var b={};return function(c){return o(b,c)||(b[c]=a.apply(null,arguments)),b[c]}}function m(a,b){var d=c.quotedList(b.get("fontFamily").toLowerCase()),e;for(var f=0;e=d[f];++f)if(H[e])return H[e].get(b.get("fontStyle"),b.get("fontWeight"));return null}function n(a){return document.getElementsByTagName(a)}function o(a,b){return a.hasOwnProperty(b)}function p(){var a={},b,c;for(var d=0,e=arguments.length;b=arguments[d],d<e;++d)for(c in b)o(b,c)&&(a[c]=b[c]);return a}function q(a,b,d,e,f,g){var h=document.createDocumentFragment(),i;if(b==="")return h;var j=e.separate,k=b.split(J[j]),l=j=="words";l&&u&&(/^\s/.test(b)&&k.unshift(""),/\s$/.test(b)&&k.push(""));for(var m=0,n=k.length;m<n;++m)i=G[e.engine](a,l?c.textAlign(k[m],d,m,n):k[m],d,e,f,g,m<n-1),i&&h.appendChild(i);return h}function r(a,b){var d=a.nodeName.toLowerCase();if(b.ignore[d])return;b.onBeforeReplace&&b.onBeforeReplace(a,b);var e=!b.textless[d],f=b.trim==="simple",g=c.getStyle(k(a,b)).extend(b);if(parseFloat(g.get("fontSize"))===0)return;var h=m(a,g),i,l,n,o,p,r,u=b.softHyphens,v=!1,x,y,z=/\u00ad/g,A=b.modifyText;if(!h)return;for(i=a.firstChild;i;i=n){l=i.nodeType,n=i.nextSibling;if(e&&l==3){u&&a.nodeName.toLowerCase()!=w&&(x=i.data.indexOf("­"),x>=0&&(i.splitText(x),n=i.nextSibling,n.deleteData(0,1),y=document.createElement(w),y.appendChild(document.createTextNode("­")),a.insertBefore(y,n),n=y,v=!0)),o?(o.appendData(i.data),a.removeChild(i)):o=i;if(n)continue}o&&(p=o.data,u||(p=p.replace(z,"")),p=c.whiteSpace(p,g,o,r,f),A&&(p=A(p,o,a,b)),a.replaceChild(q(h,p,g,b,i,a),o),o=null),l==1&&(i.firstChild&&(i.nodeName.toLowerCase()=="cufon"?G[b.engine](h,null,g,b,i,a):arguments.callee(i,b)),r=i)}u&&v&&(s(a),D||j(window,"resize",t),D=!0),b.onAfterReplace&&b.onAfterReplace(a,b)}function s(a){var b,c,d,e,f,g,h,i;b=a.getElementsByTagName(w);for(i=0;c=b[i];++i){c.className=x,e=d=c.parentNode;if(e.nodeName.toLowerCase()!=v)f=document.createElement(v),f.appendChild(c.previousSibling),d.insertBefore(f,c),f.appendChild(c);else{e=e.parentNode;if(e.nodeName.toLowerCase()==v){d=e.parentNode;while(e.firstChild)d.insertBefore(e.firstChild,e);d.removeChild(e)}}}for(i=0;c=b[i];++i)c.className="",e=c.parentNode,d=e.parentNode,g=e.nextSibling||d.nextSibling,h=g.nodeName.toLowerCase()==v?e:c.previousSibling,h.offsetTop>=g.offsetTop&&(c.className=x,h.offsetTop<g.offsetTop&&(f=document.createElement(v),d.insertBefore(f,e),f.appendChild(e),f.appendChild(g)))}function t(){if(F)return;c.addClass(b.root(),y),clearTimeout(E),E=setTimeout(function(){F=!0,c.removeClass(b.root(),y),s(document),F=!1},100)}var a=function(){return a.replace.apply(null,arguments)},b=a.DOM={ready:function(){var a=!1,b={loaded:1,complete:1},c=[],d=function(){if(a)return;a=!0;for(var b;b=c.shift();b());};return document.addEventListener&&(document.addEventListener("DOMContentLoaded",d,!1),window.addEventListener("pageshow",d,!1)),!window.opera&&document.readyState&&function(){b[document.readyState]?d():setTimeout(arguments.callee,10)}(),document.readyState&&document.createStyleSheet&&function(){try{document.body.doScroll("left"),d()}catch(a){setTimeout(arguments.callee,1)}}(),j(window,"load",d),function(b){arguments.length?a?b():c.push(b):d()}}(),root:function(){return document.documentElement||document.body}},c=a.CSS={Size:function(a,b){this.value=parseFloat(a),this.unit=String(a).match(/[a-z%]*$/)[0]||"px",this.convert=function(a){return a/b*this.value},this.convertFrom=function(a){return a/this.value*b},this.toString=function(){return this.value+this.unit}},addClass:function(a,b){var c=a.className;return a.className=c+(c&&" ")+b,a},color:l(function(a){var b={};return b.color=a.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(a,c,d){return b.opacity=parseFloat(d),"rgb("+c+")"}),b}),fontStretch:l(function(a){return typeof a=="number"?a:/%$/.test(a)?parseFloat(a)/100:{"ultra-condensed":.5,"extra-condensed":.625,condensed:.75,"semi-condensed":.875,"semi-expanded":1.125,expanded:1.25,"extra-expanded":1.5,"ultra-expanded":2}[a]||1}),getStyle:function(a){var b=document.defaultView;return b&&b.getComputedStyle?new i(b.getComputedStyle(a,null)):a.currentStyle?new i(a.currentStyle):new i(a.style)},gradient:l(function(a){var b={id:a,type:a.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},c=a.substr(a.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);for(var d=0,e=c.length,f;d<e;++d)f=c[d].split("=",2).reverse(),b.stops.push([f[1]||d/(e-1),f[0]]);return b}),quotedList:l(function(a){var b=[],c=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,d;while(d=c.exec(a))b.push(d[3]||d[1]);return b}),recognizesMedia:l(function(a){var b=document.createElement("style"),c,d,e;b.type="text/css",b.media=a;try{b.appendChild(document.createTextNode("/**/"))}catch(f){}return d=n("head")[0],d.insertBefore(b,d.firstChild),c=b.sheet||b.styleSheet,e=c&&!c.disabled,d.removeChild(b),e}),removeClass:function(a,b){var c=RegExp("(?:^|\\s+)"+b+"(?=\\s|$)","g");return a.className=a.className.replace(c,""),a},supports:function(a,b){var c=document.createElement("span").style;return c[a]===undefined?!1:(c[a]=b,c[a]===b)},textAlign:function(a,b,c,d){return b.get("textAlign")=="right"?c>0&&(a=" "+a):c<d-1&&(a+=" "),a},textShadow:l(function(a){if(a=="none")return null;var b=[],c={},d,e=0,f=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(d=f.exec(a))d[0]==","?(b.push(c),c={},e=0):d[1]?c.color=d[1]:c[["offX","offY","blur"][e++]]=d[2];return b.push(c),b}),textTransform:function(){var a={uppercase:function(a){return a.toUpperCase()},lowercase:function(a){return a.toLowerCase()},capitalize:function(a){return a.replace(/(?:^|\s)./g,function(a){return a.toUpperCase()})}};return function(b,c){var d=a[c.get("textTransform")];return d?d(b):b}}(),whiteSpace:function(){var a={inline:1,"inline-block":1,"run-in":1},b=/^\s+/,c=/\s+$/;return function(d,e,f,g,h){return h?d.replace(b,"").replace(c,""):(g&&g.nodeName.toLowerCase()=="br"&&(d=d.replace(b,"")),a[e.get("display")]?d:(f.previousSibling||(d=d.replace(b,"")),f.nextSibling||(d=d.replace(c,"")),d))}}()};c.ready=function(){function i(a){return a.disabled||j(a.sheet,a.media||"screen")}function j(a,b){if(!c.recognizesMedia(b||"all"))return!0;if(!a||a.disabled)return!1;try{var d=a.cssRules,e;if(d)a:for(var f=0,g=d.length;e=d[f],f<g;++f)switch(e.type){case 2:break;case 3:if(!j(e.styleSheet,e.media.mediaText))return!1;break;default:break a}}catch(h){}return!0}function k(){if(document.createStyleSheet)return!0;var a,b;for(b=0;a=g[b];++b)if(a.rel.toLowerCase()=="stylesheet"&&!i(a))return!1;for(b=0;a=h[b];++b)if(!i(a))return!1;return!0}var a=!c.recognizesMedia("all"),d=!1,e=[],f=function(){a=!0;for(var b;b=e.shift();b());},g=n("link"),h=n("style");return b.ready(function(){d||(d=c.getStyle(document.body).isUsable()),a||d&&k()?f():setTimeout(arguments.callee,10)}),function(b){a?b():e.push(b)}}();var u=" ".split(/\s+/).length==0,v="cufonglue",w="cufonshy",x="cufon-shy-disabled",y="cufon-viewport-resizing",z=new h,A=new f,B=new g,C=!1,D=!1,E,F=!1,G={},H={},I={autoDetect:!1,engine:null,forceHitArea:!1,hover:!1,hoverables:{a:!0},ignore:{applet:1,canvas:1,col:1,colgroup:1,head:1,iframe:1,map:1,noscript:1,optgroup:1,option:1,script:1,select:1,style:1,textarea:1,title:1,pre:1},modifyText:null,onAfterReplace:null,onBeforeReplace:null,printable:!0,selector:window.Sizzle||window.jQuery&&function(a){return jQuery(a)}||window.dojo&&dojo.query||window.glow&&glow.dom&&glow.dom.get||window.Ext&&Ext.query||window.YAHOO&&YAHOO.util&&YAHOO.util.Selector&&YAHOO.util.Selector.query||window.$$&&function(a){return $$(a)}||window.$&&function(a){return $(a)}||document.querySelectorAll&&function(a){return document.querySelectorAll(a)}||n,separate:"words",softHyphens:!0,textless:{dl:1,html:1,ol:1,table:1,tbody:1,thead:1,tfoot:1,tr:1,ul:1},textShadow:"none",trim:"advanced"},J={words:/\s/.test(" ")?/[^\S\u00a0]+/:/\s+/,characters:"",none:/^/};return a.now=function(){return b.ready(),a},a.refresh=function(){return B.repeat.apply(B,arguments),a},a.registerEngine=function(b,c){return c?(G[b]=c,a.set("engine",b)):a},a.registerFont=function(b){if(!b)return a;var c=new d(b),f=c.family;return H[f]||(H[f]=new e),H[f].add(c),a.set("fontFamily",'"'+f+'"')},a.replace=function(d,e,f){e=p(I,e);if(!e.engine)return a;C||(c.addClass(b.root(),"cufon-active cufon-loading"),c.ready(function(){c.addClass(c.removeClass(b.root(),"cufon-loading"),"cufon-ready")}),C=!0),e.hover&&(e.forceHitArea=!0),e.autoDetect&&delete e.fontFamily,typeof e.textShadow=="string"&&(e.textShadow=c.textShadow(e.textShadow)),typeof e.color=="string"&&/^-/.test(e.color)?e.textGradient=c.gradient(e.color):delete e.textGradient,f||B.add(d,arguments);if(d.nodeType||typeof d=="string")d=[d];return c.ready(function(){for(var b=0,c=d.length;b<c;++b){var f=d[b];typeof f=="string"?a.replace(e.selector(f),e,!0):r(f,e)}}),a},a.set=function(b,c){return I[b]=c,a},a}();Cufon.registerEngine("vml",function(){function d(a,b){return e(a,/(?:em|ex|%)$|^[a-z-]+$/i.test(b)?"1em":b)}function e(a,b){if(!isNaN(b)||/px$/i.test(b))return parseFloat(b);var c=a.style.left,d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left,a.style.left=b.replace("%","em");var e=a.style.pixelLeft;return a.style.left=c,a.runtimeStyle.left=d,e}function f(a,b,c,d){var f="computed"+d,g=b[f];return isNaN(g)&&(g=b.get(d),b[f]=g=g=="normal"?0:~~c.convertFrom(e(a,g))),g}function h(a){var b=a.id;if(!g[b]){var c=a.stops,d=document.createElement("cvml:fill"),e=[];d.type="gradient",d.angle=180,d.focus="0",d.method="none",d.color=c[0][1];for(var f=1,h=c.length-1;f<h;++f)e.push(c[f][0]*100+"% "+c[f][1]);d.colors=e.join(","),d.color2=c[h][1],g[b]=d}return g[b]}var a=document.namespaces;if(!a)return;a.add("cvml","urn:schemas-microsoft-com:vml"),a=null;var b=document.createElement("cvml:shape");b.style.behavior="url(#default#VML)";if(!b.coordsize)return;b=null;var c=(document.documentMode||0)<8;document.write(('<style type="text/css">cufoncanvas{text-indent:0;}@media screen{cvml\\:shape,cvml\\:rect,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}cufoncanvas{position:absolute;text-align:left;}cufon{display:inline-block;position:relative;vertical-align:'+(c?"middle":"text-bottom")+";}"+"cufon cufontext{position:absolute;left:-10000in;font-size:1px;text-align:left;}"+"cufonshy.cufon-shy-disabled,.cufon-viewport-resizing cufonshy{display:none;}"+"cufonglue{white-space:nowrap;display:inline-block;}"+".cufon-viewport-resizing cufonglue{white-space:normal;}"+"a cufon{cursor:pointer}"+"}"+"@media print{"+"cufon cufoncanvas{display:none;}"+"}"+"</style>").replace(/;/g,"!important;"));var g={};return function(a,b,g,i,j,k,l){var m=b===null;m&&(b=j.alt);var n=a.viewBox,o=g.computedFontSize||(g.computedFontSize=new Cufon.CSS.Size(d(k,g.get("fontSize"))+"px",a.baseSize)),p,q;if(m)p=j,q=j.firstChild;else{p=document.createElement("cufon"),p.className="cufon cufon-vml",p.alt=b,q=document.createElement("cufoncanvas"),p.appendChild(q);if(i.printable){var r=document.createElement("cufontext");r.appendChild(document.createTextNode(b)),p.appendChild(r)}l||p.appendChild(document.createElement("cvml:shape"))}var s=p.style,t=q.style,u=o.convert(n.height),v=Math.ceil(u),w=v/u,x=w*Cufon.CSS.fontStretch(g.get("fontStretch")),y=n.minX,z=n.minY;t.height=v,t.top=Math.round(o.convert(z-a.ascent)),t.left=Math.round(o.convert(y)),s.height=o.convert(a.height)+"px";var A=g.get("color"),B=Cufon.CSS.textTransform(b,g).split(""),C=a.spacing(B,f(k,g,o,"letterSpacing"),f(k,g,o,"wordSpacing"));if(!C.length)return null;var D=C.total,E=-y+D+(n.width-C[C.length-1]),F=o.convert(E*x),G=Math.round(F),H=E+","+n.height,I,J="r"+H+"ns",K=i.textGradient&&h(i.textGradient),L=a.glyphs,M=0,N=i.textShadow,O=-1,P=0,Q;while(Q=B[++O]){var R=L[B[O]]||a.missingGlyph,S;if(!R)continue;if(m){S=q.childNodes[P];while(S.firstChild)S.removeChild(S.firstChild)}else S=document.createElement("cvml:shape"),q.appendChild(S);S.stroked="f",S.coordsize=H,S.coordorigin=I=y-M+","+z,S.path=(R.d?"m"+R.d+"xe":"")+"m"+I+J,S.fillcolor=A,K&&S.appendChild(K.cloneNode(!1));var T=S.style;T.width=G,T.height=v;if(N){var U=N[0],V=N[1],W=Cufon.CSS.color(U.color),X,Y=document.createElement("cvml:shadow");Y.on="t",Y.color=W.color,Y.offset=U.offX+","+U.offY,V&&(X=Cufon.CSS.color(V.color),Y.type="double",Y.color2=X.color,Y.offset2=V.offX+","+V.offY),Y.opacity=W.opacity||X&&X.opacity||1,S.appendChild(Y)}M+=C[P++]}var Z=S.nextSibling,$,_;i.forceHitArea?(Z||(Z=document.createElement("cvml:rect"),Z.stroked="f",Z.className="cufon-vml-cover",$=document.createElement("cvml:fill"),$.opacity=0,Z.appendChild($),q.appendChild(Z)),_=Z.style,_.width=G,_.height=v):Z&&q.removeChild(Z),s.width=Math.max(Math.ceil(o.convert(D*x)),0);if(c){var ba=g.computedYAdjust;if(ba===undefined){var bb=g.get("lineHeight");bb=="normal"?bb="1em":isNaN(bb)||(bb+="em"),g.computedYAdjust=ba=.5*(e(k,bb)-parseFloat(s.height))}ba&&(s.marginTop=Math.ceil(ba)+"px",s.marginBottom=ba+"px")}return p}}()),Cufon.registerEngine("canvas",function(){function e(a,b){var c=0,d=0,e=[],f=/([mrvxe])([^a-z]*)/g,g;a:for(var h=0;g=f.exec(a);++h){var i=g[2].split(",");switch(g[1]){case"v":e[h]={m:"bezierCurveTo",a:[c+~~i[0],d+~~i[1],c+~~i[2],d+~~i[3],c+=~~i[4],d+=~~i[5]]};break;case"r":e[h]={m:"lineTo",a:[c+=~~i[0],d+=~~i[1]]};break;case"m":e[h]={m:"moveTo",a:[c=~~i[0],d=~~i[1]]};break;case"x":e[h]={m:"closePath"};break;case"e":break a}b[e[h].m].apply(b,e[h].a)}return e}function f(a,b){for(var c=0,d=a.length;c<d;++c){var e=a[c];b[e.m].apply(b,e.a)}}var a=document.createElement("canvas");if(!a||!a.getContext||!a.getContext.apply)return;a=null;var b=Cufon.CSS.supports("display","inline-block"),c=!b&&(document.compatMode=="BackCompat"||/frameset|transitional/i.test(document.doctype.publicId)),d=document.createElement("style");return d.type="text/css",d.appendChild(document.createTextNode(("cufon{text-indent:0;}@media screen,projection{cufon{display:inline;display:inline-block;position:relative;vertical-align:middle;"+(c?"":"font-size:1px;line-height:1px;")+"}cufon cufontext{display:-moz-inline-box;display:inline-block;width:0;height:0;text-align:left;text-indent:-10000in;}"+(b?"cufon canvas{position:relative;}":"cufon canvas{position:absolute;}")+"cufonshy.cufon-shy-disabled,.cufon-viewport-resizing cufonshy{display:none;}"+"cufonglue{white-space:nowrap;display:inline-block;}"+".cufon-viewport-resizing cufonglue{white-space:normal;}"+"}"+"@media print{"+"cufon{padding:0;}"+"cufon canvas{display:none;}"+"}").replace(/;/g,"!important;"))),document.getElementsByTagName("head")[0].appendChild(d),function(a,c,d,g,h,i){function O(){var b=a.glyphs,c,d=-1,g=-1,h;M.scale(H,1);while(h=w[++d]){var c=b[w[d]]||a.missingGlyph;if(!c)continue;c.d&&(M.beginPath(),c.code?f(c.code,M):c.code=e("m"+c.d,M),M.fill()),M.translate(x[++g],0)}M.restore()}var j=c===null;j&&(c=h.getAttribute("alt"));var k=a.viewBox,l=d.getSize("fontSize",a.baseSize),m=0,n=0,o=0,p=0,q=g.textShadow,r=[];if(q)for(var s=q.length;s--;){var t=q[s],u=l.convertFrom(parseFloat(t.offX)),v=l.convertFrom(parseFloat(t.offY));r[s]=[u,v],v<m&&(m=v),u>n&&(n=u),v>o&&(o=v),u<p&&(p=u)}var w=Cufon.CSS.textTransform(c,d).split(""),x=a.spacing(w,~~l.convertFrom(parseFloat(d.get("letterSpacing"))||0),~~l.convertFrom(parseFloat(d.get("wordSpacing"))||0));if(!x.length)return null;var y=x.total;n+=k.width-x[x.length-1],p+=k.minX;var z,A;if(j)z=h,A=h.firstChild;else{z=document.createElement("cufon"),z.className="cufon cufon-canvas",z.setAttribute("alt",c),A=document.createElement("canvas"),z.appendChild(A);if(g.printable){var B=document.createElement("cufontext");B.appendChild(document.createTextNode(c)),z.appendChild(B)}}var C=z.style,D=A.style,E=l.convert(k.height),F=Math.ceil(E),G=F/E,H=G*Cufon.CSS.fontStretch(d.get("fontStretch")),I=y*H,J=Math.ceil(l.convert(I+n-p)),K=Math.ceil(l.convert(k.height-m+o));A.width=J,A.height=K,D.width=J+"px",D.height=K+"px",m+=k.minY,D.top=Math.round(l.convert(m-a.ascent))+"px",D.left=Math.round(l.convert(p))+"px";var L=Math.max(Math.ceil(l.convert(I)),0)+"px";b?(C.width=L,C.height=l.convert(a.height)+"px"):(C.paddingLeft=L,C.paddingBottom=l.convert(a.height)-1+"px");var M=A.getContext("2d"),N=E/k.height;M.scale(N,N*G),M.translate(-p,-m),M.save();if(q)for(var s=q.length;s--;){var t=q[s];M.save(),M.fillStyle=t.color,M.translate.apply(M,r[s]),O()}var P=g.textGradient;if(P){var Q=P.stops,R=M.createLinearGradient(0,k.minY,0,k.maxY);for(var s=0,S=Q.length;s<S;++s)R.addColorStop.apply(R,Q[s]);M.fillStyle=R}else M.fillStyle=d.get("color");return O(),z}}()),jQuery(document).ready(function(){$("ul.tabs").tabs("div.panes > div"),$("ul.css-tabs").tabs("div.css-panes > div"),$(".scrollable").scrollable(),$(".accordion").tabs(".pane",{tabs:"h2",effect:"slide"}),$(".accordion-faq").tabs(".pane",{tabs:"span",effect:"slide"}),$("img.captify").captify({}),$("a[rel='external']").bind("click.external",function(){return window.open(this.href),!1}),$("a[rel^='prettyPhoto']").prettyPhoto(),$(".tweet").tweet({join_text:"auto",username:"bogdanspn",avatar_size:0,count:2,auto_join_text_default:"we said,",auto_join_text_ed:"we",auto_join_text_ing:"we were",auto_join_text_reply:"we replied",auto_join_text_url:"we were checking out",loading_text:"Loading tweets..."})}),Cufon.replace(" h1, h2, h3",{hover:!0,fontFamily:"Zurich"}),Cufon.replace(" .applyfont",{textShadow:"1px 1px #ffffff",hover:!0,fontFamily:"Zurich"}),Cufon.replace(" .bubble-one h2, .bubble-one h3, .bubble-one-alt h2, .bubble-one-alt h3",{textShadow:"1px 1px #5b5b5b",hover:!0,fontFamily:"Zurich"}),Cufon.replace(" .bubble-two h2, .bubble-two h3",{textShadow:"1px 1px #125ea1",hover:!0,fontFamily:"Zurich"}),Cufon.replace(" .footer-big h3",{textShadow:"1px 1px #424242",fontFamily:"Zurich"}),Cufon.replace(" .btn-big-action, .btn-small-action, .btn-big-action-fixed, .form-button",{textShadow:"1px 1px #5d5d5d",hover:!0,fontFamily:"Arials"}),Cufon.replace(" .btn-big-neutral,.btn-small-neutral, .btn-big-neutral-fixed",{textShadow:"1px 1px #ffffff",hover:!0,fontFamily:"Arials"}),Cufon.replace(" ul.pricing-col li.tops h2, ul.pricing-col-highlight li.tops h2",{textShadow:"1px 1px #5d5d5d",hover:!0,fontFamily:"Zurich"}),$(window).bind("load",function(){var a=1;while($("#trigger"+a+"_up").length>0)$("#trigger"+a+"_up").bubbletip($("#tip"+a+"_up"),{deltaDirection:"up",deltaPosition:50,offsetTop:5,calculateOnShow:!0}),a++}),function(a){var b=0;a.fn.extend({bubbletip:function(c,d){function r(){var b;if(l)return;l=!0,m&&n.stop(!0,!1),h.calculateOnShow&&t(),h.positionAt.match(/^element|body$/i)?h.deltaDirection.match(/^up|down$/i)?(m||n.css("top",parseInt(i.top+i.delta)+"px"),b={top:i.top+"px"}):(m||n.css("left",parseInt(i.left+i.delta)+"px"),b={left:i.left+"px"}):h.deltaDirection.match(/^up|down$/i)?(m||(i.mouseTop=e.pageY+i.top,n.css({top:parseInt(i.mouseTop+i.delta)+"px",left:parseInt(e.pageX-n.width()/2)+"px"})),b={top:i.mouseTop+"px"}):(m||(i.mouseLeft=e.pageX+i.left,n.css({left:parseInt(i.mouseLeft+i.delta)+"px",top:parseInt(e.pageY-n.height()/2)+"px"})),b={left:i.left+"px"}),m=!1,n.show(),b=a.extend(b,{opacity:1}),n.animate(b,h.animationDuration,h.animationEasing,function(){n.css("opacity",""),l=!0})}function s(){var b;l=!1,m=!0,h.positionAt.match(/^element|body$/i)?h.deltaDirection.match(/^up|down$/i)?b={top:parseInt(i.top-i.delta)+"px"}:b={left:parseInt(i.left-i.delta)+"px"}:h.deltaDirection.match(/^up|down$/i)?b={top:parseInt(i.mouseTop-i.delta)+"px"}:b={left:parseInt(i.mouseLeft-i.delta)+"px"},b=a.extend(b,{opacity:0}),n.animate(b,h.animationDuration,h.animationEasing,function(){n.hide(),m=!1})}function t(){if(h.positionAt.match(/^element$/i)){var a=h.positionAtElement.offset();h.deltaDirection.match(/^up$/i)?(i.top=a.top+h.offsetTop-n.outerHeight(),i.left=a.left+h.offsetLeft+(h.positionAtElement.outerWidth()-n.outerWidth())/2,i.delta=h.deltaPosition):h.deltaDirection.match(/^down$/i)?(i.top=a.top+h.positionAtElement.outerHeight()+h.offsetTop,i.left=a.left+h.offsetLeft+(h.positionAtElement.outerWidth()-n.outerWidth())/2,i.delta=-h.deltaPosition):h.deltaDirection.match(/^left$/i)?(i.top=a.top+h.offsetTop+(h.positionAtElement.outerHeight()-n.outerHeight())/2,i.left=a.left+h.offsetLeft-n.outerWidth(),i.delta=h.deltaPosition):h.deltaDirection.match(/^right$/i)&&(i.top=a.top+h.offsetTop+(h.positionAtElement.outerHeight()-n.outerHeight())/2,i.left=a.left+h.positionAtElement.outerWidth()+h.offsetLeft,i.delta=-h.deltaPosition)}else h.positionAt.match(/^body$/i)?h.deltaDirection.match(/^up|left$/i)?(i.top=h.offsetTop,i.left=h.offsetLeft,i.delta=h.deltaPosition):(h.deltaDirection.match(/^down$/i)?(i.top=parseInt(h.offsetTop+n.outerHeight()),i.left=h.offsetLeft):(i.top=h.offsetTop,i.left=parseInt(h.offsetLeft+n.outerWidth())),i.delta=-h.deltaPosition):h.positionAt.match(/^mouse$/i)&&(h.deltaDirection.match(/^up|left$/i)?(h.deltaDirection.match(/^up$/i)?(i.top=-(h.offsetTop+n.outerHeight()),i.left=h.offsetLeft):h.deltaDirection.match(/^left$/i)&&(i.top=h.offsetTop,i.left=-(h.offsetLeft+n.outerWidth())),i.delta=h.deltaPosition):(i.top=h.offsetTop,i.left=h.offsetLeft,i.delta=-h.deltaPosition));h.positionAt.match(/^element|body$/i)&&n.css({position:"absolute",top:i.top+"px",left:i.left+"px"})}if(a(c).length==0||a(c).eq(0).closest("table.bubbletip").length>0)return this;var f,g,h,i,j,k,l,m,n,o,p,q;return f=a(this),g=a(c).eq(0),o=b++,h={positionAt:"element",positionAtElement:f,offsetTop:0,offsetLeft:0,deltaPosition:30,deltaDirection:"up",animationDuration:250,animationEasing:"swing",bindShow:"mouseover",bindHide:"mouseout",delayShow:0,delayHide:500,calculateOnShow:!1},d&&(h=a.extend(h,d)),i={top:0,left:0,delta:0,mouseTop:0,mouseLeft:0,tipHeight:0,bindShow:(h.bindShow+" ").replace(/ +/g,".bubbletip"+o+" "),bindHide:(h.bindHide+" ").replace(/ +/g,".bubbletip"+o+" ")},j=null,k=null,l=!1,m=!1,f.data("bubbletip_tips")?f.data("bubbletip_tips",a.merge(f.data("bubbletip_tips"),[[g.get(0),o]])):f.data("bubbletip_tips",[[g.get(0),o]]),h.positionAt.match(/^element|body|mouse$/i)||(h.positionAt="element"),h.deltaDirection.match(/^up|down|left|right$/i)||(h.deltaDirection="up"),h.deltaDirection.match(/^up$/i)?n=a('<table class="bubbletip" cellspacing="0" cellpadding="0"><tbody><tr><td class="bt-topleft"></td><td class="bt-top"></td><td class="bt-topright"></td></tr><tr><td class="bt-left"></td><td class="bt-content"></td><td class="bt-right"></td></tr><tr><td class="bt-bottomleft"></td><td><table class="bt-bottom" cellspacing="0" cellpadding="0"><tr><th></th><td><div></div></td><th></th></tr></table></td><td class="bt-bottomright"></td></tr></tbody></table>'):h.deltaDirection.match(/^down$/i)?n=a('<table class="bubbletip" cellspacing="0" cellpadding="0"><tbody><tr><td class="bt-topleft"></td><td><table class="bt-top" cellspacing="0" cellpadding="0"><tr><th></th><td><div></div></td><th></th></tr></table></td><td class="bt-topright"></td></tr><tr><td class="bt-left"></td><td class="bt-content"></td><td class="bt-right"></td></tr><tr><td class="bt-bottomleft"></td><td class="bt-bottom"></td><td class="bt-bottomright"></td></tr></tbody></table>'):h.deltaDirection.match(/^left$/i)?n=a('<table class="bubbletip" cellspacing="0" cellpadding="0"><tbody><tr><td class="bt-topleft"></td><td class="bt-top"></td><td class="bt-topright"></td></tr><tr><td class="bt-left"></td><td class="bt-content"></td><td class="bt-right-tail"><div class="bt-right"></div><div class="bt-right-tail"></div><div class="bt-right"></div></td></tr><tr><td class="bt-bottomleft"></td><td class="bt-bottom"></td><td class="bt-bottomright"></td></tr></tbody></table>'):h.deltaDirection.match(/^right$/i)&&(n=a('<table class="bubbletip" cellspacing="0" cellpadding="0"><tbody><tr><td class="bt-topleft"></td><td class="bt-top"></td><td class="bt-topright"></td></tr><tr><td class="bt-left-tail"><div class="bt-left"></div><div class="bt-left-tail"></div><div class="bt-left"></div></td><td class="bt-content"></td><td class="bt-right"></td></tr><tr><td class="bt-bottomleft"></td><td class="bt-bottom"></td><td class="bt-bottomright"></td></tr></tbody></table>')),n.appendTo("body"),/msie/.test(navigator.userAgent.toLowerCase())&&!/opera/.test(navigator.userAgent.toLowerCase())&&a("*",n).each(function(){var b=a(this).css("background-image");b.match(/^url\(["']?(.*\.png)["']?\)$/i)&&(b=RegExp.$1,a(this).css({backgroundImage:"none",filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod="+(a(this).css("backgroundRepeat")=="no-repeat"?"crop":"scale")+", src='"+b+"')"}).each(function(){var b=a(this).css("position");b!="absolute"&&b!="relative"&&a(this).css("position","relative")}))}),a(".bt-content",n).append(g),g.show(),h.deltaDirection.match(/^left|right$/i)&&(i.tipHeight=parseInt(g.height()/2),g.height()%2==1&&i.tipHeight++,i.tipHeight=i.tipHeight<20?1:i.tipHeight-20,h.deltaDirection.match(/^left$/i)?a("div.bt-right",n).css("height",i.tipHeight+"px"):a("div.bt-left",n).css("height",i.tipHeight+"px")),n.css("opacity",0),n.css({width:n.width(),height:n.height()}),t(),n.hide(),a(window).bind("resize.bubbletip"+o,function(){var b=a(window).width(),c=a(window).height();if(b===p&&c===q)return;p=b,q=c,k&&clearTimeout(k),k=setTimeout(function(){t()},250)}),a([n.get(0),this.get(0)]).bind(i.bindShow,function(){return j&&clearTimeout(j),h.delayShow===0?r():j=setTimeout(function(
){r()},h.delayShow),!1}).bind(i.bindHide,function(){return j&&clearTimeout(j),h.delayHide===0?s():j=setTimeout(function(){s()},h.delayHide),!1}),this},removeBubbletip:function(b){var c,d=new Array,e=new Array,f,g,h,i;c=a.makeArray(a(this).data("bubbletip_tips")),f=a.makeArray(b);for(g=0;g<f.length;g++)d.push(a(f[g]).get(0));for(g=0;g<c.length;g++)h=null,d.length==0||(h=a.inArray(c[g][0],d))>=0?(i=a(c[g][0]).closest("table.bubbletip"),a(c[g][0]).appendTo("body").hide(),a(i).remove(),a(this).unbind(".bubbletip"+c[g][1]),a(window).unbind(".bubbletip"+c[g][1])):e.push(c[g]);return a(this).data("bubbletip_tips",e),this}})}(jQuery),jQuery.fn.extend({captify:function(a){var b=$.extend({speedOver:"fast",speedOut:"fast",hideDelay:300,animation:"slide",prefix:"",opacity:"0.45",className:"caption-top",position:"top",spanWidth:"100%"},a);$(this).each(function(){var a=this;$(this).load(function(){if(a.hasInit)return!1;a.hasInit=!0;var c=!1,d=!1,e=$("#"+$(this).attr("rel")),f=e.length?e.html():$(this).attr("alt");e.remove();var g=this.parent&&this.parent.tagName=="a"?this.parent:$(this),h=g.wrap("<div></div>").parent().css({overflow:"hidden",padding:0,fontSize:.1}).addClass("caption-wrapper").width($(this).width()).height($(this).height());$.map(["top","right","bottom","left"],function(b){h.css("margin-"+b,$(a).css("margin-"+b)),$.map(["style","width","color"],function(c){var d="border-"+b+"-"+c;h.css(d,$(a).css(d))})}),$(a).css({border:"0 none"});var i=$("div:last",h.append("<div></div>")).addClass(b.className),j=$("div:last",h.append("<div></div>")).addClass(b.className).append(b.prefix).append(f);$("*",h).css({margin:0}).show();var k=jQuery.browser.msie?"static":"relative";i.css({zIndex:1,position:k,opacity:b.animation=="fade"?0:b.opacity,width:b.spanWidth});if(b.position=="bottom"){var l=parseInt(i.css("border-top-width").replace("px",""))+parseInt(j.css("padding-top").replace("px",""))-1;j.css("paddingTop",l)}j.css({position:k,zIndex:2,background:"none",border:"0 none",opacity:b.animation=="fade"?0:1,width:b.spanWidth}),i.width(j.outerWidth()),i.height(j.height());var m=b.position=="bottom"&&jQuery.browser.msie?-4:0,n=b.position=="top"?{hide:-$(a).height()-i.outerHeight()-1,show:-$(a).height()}:{hide:0,show:-i.outerHeight()+m};j.css("marginTop",-i.outerHeight()),i.css("marginTop",n[b.animation=="fade"||b.animation=="always-on"?"show":"hide"]);var p=function(){if(!c&&!d){var a=b.animation=="fade"?{opacity:0}:{marginTop:n.hide};i.animate(a,b.speedOut),b.animation=="fade"&&j.animate({opacity:0},b.speedOver)}};b.animation!="always-on"&&($(this).hover(function(){d=!0;if(!c){var a=b.animation=="fade"?{opacity:b.opacity}:{marginTop:n.show};i.animate(a,b.speedOver),b.animation=="fade"&&j.animate({opacity:1},b.speedOver/2)}},function(){d=!1,window.setTimeout(p,b.hideDelay)}),$("div",h).hover(function(){c=!0},function(){c=!1,window.setTimeout(p,b.hideDelay)}))}),(this.complete||this.naturalWidth>0)&&$(a).trigger("load")})}}),function(a){function c(b){a.fn.cycle.debug&&d(b)}function d(){window.console&&window.console.log&&window.console.log("[cycle] "+Array.prototype.join.call(arguments," "))}function e(b,c,e){function i(b,c,e){if(!b&&c===!0){var g=a(e).data("cycle.opts");if(!g)return d("options not found, can not resume"),!1;e.cycleTimeout&&(clearTimeout(e.cycleTimeout),e.cycleTimeout=0),l(g.elements,g,1,!f.rev&&!f.backwards)}}b.cycleStop==undefined&&(b.cycleStop=0);if(c===undefined||c===null)c={};if(c.constructor==String){switch(c){case"destroy":case"stop":var f=a(b).data("cycle.opts");if(!f)return!1;return b.cycleStop++,b.cycleTimeout&&clearTimeout(b.cycleTimeout),b.cycleTimeout=0,a(b).removeData("cycle.opts"),c=="destroy"&&g(f),!1;case"toggle":return b.cyclePause=b.cyclePause===1?0:1,i(b.cyclePause,e,b),!1;case"pause":return b.cyclePause=1,!1;case"resume":return b.cyclePause=0,i(!1,e,b),!1;case"prev":case"next":var f=a(b).data("cycle.opts");if(!f)return d('options not found, "prev/next" ignored'),!1;return a.fn.cycle[c](f),!1;default:c={fx:c}}return c}if(c.constructor==Number){var h=c;return c=a(b).data("cycle.opts"),c?h<0||h>=c.elements.length?(d("invalid slide index: "+h),!1):(c.nextSlide=h,b.cycleTimeout&&(clearTimeout(b.cycleTimeout),b.cycleTimeout=0),typeof e=="string"&&(c.oneTimeFx=e),l(c.elements,c,1,h>=c.currSlide),!1):(d("options not found, can not advance slide"),!1)}return c}function f(b,c){if(!a.support.opacity&&c.cleartype&&b.style.filter)try{b.style.removeAttribute("filter")}catch(d){}}function g(b){b.next&&a(b.next).unbind(b.prevNextEvent),b.prev&&a(b.prev).unbind(b.prevNextEvent),(b.pager||b.pagerAnchorBuilder)&&a.each(b.pagerAnchors||[],function(){this.unbind().remove()}),b.pagerAnchors=null,b.destroy&&b.destroy(b)}function h(b,c,e,g,h){var m=a.extend({},a.fn.cycle.defaults,g||{},a.metadata?b.metadata():a.meta?b.data():{});m.autostop&&(m.countdown=m.autostopCount||e.length);var p=b[0];b.data("cycle.opts",m),m.$cont=b,m.stopCount=p.cycleStop,m.elements=e,m.before=m.before?[m.before]:[],m.after=m.after?[m.after]:[],m.after.unshift(function(){m.busy=0}),!a.support.opacity&&m.cleartype&&m.after.push(function(){f(this,m)}),m.continuous&&m.after.push(function(){l(e,m,0,!m.rev&&!m.backwards)}),i(m),!a.support.opacity&&m.cleartype&&!m.cleartypeNoBg&&q(c),b.css("position")=="static"&&b.css("position","relative"),m.width&&b.width(m.width),m.height&&m.height!="auto"&&b.height(m.height),m.startingSlide?m.startingSlide=parseInt(m.startingSlide):m.backwards&&(m.startingSlide=e.length-1);if(m.random){m.randomMap=[];for(var r=0;r<e.length;r++)m.randomMap.push(r);m.randomMap.sort(function(a,b){return Math.random()-.5}),m.randomIndex=1,m.startingSlide=m.randomMap[1]}else m.startingSlide>=e.length&&(m.startingSlide=0);m.currSlide=m.startingSlide||0;var s=m.startingSlide;c.css({position:"absolute",top:0,left:0}).hide().each(function(b){var c;m.backwards?c=s?b<=s?e.length+(b-s):s-b:e.length-b:c=s?b>=s?e.length-(b-s):s-b:e.length-b,a(this).css("z-index",c)}),a(e[s]).css("opacity",1).show(),f(e[s],m),m.fit&&m.width&&c.width(m.width),m.fit&&m.height&&m.height!="auto"&&c.height(m.height);var t=m.containerResize&&!b.innerHeight();if(t){var u=0,v=0;for(var w=0;w<e.length;w++){var x=a(e[w]),y=x[0],z=x.outerWidth(),A=x.outerHeight();z||(z=y.offsetWidth||y.width||x.attr("width")),A||(A=y.offsetHeight||y.height||x.attr("height")),u=z>u?z:u,v=A>v?A:v}u>0&&v>0&&b.css({width:u+"px",height:v+"px"})}m.pause&&b.hover(function(){this.cyclePause++},function(){this.cyclePause--});if(j(m)===!1)return!1;var B=!1;g.requeueAttempts=g.requeueAttempts||0,c.each(function(){var b=a(this);this.cycleH=m.fit&&m.height?m.height:b.height()||this.offsetHeight||this.height||b.attr("height")||0,this.cycleW=m.fit&&m.width?m.width:b.width()||this.offsetWidth||this.width||b.attr("width")||0;if(b.is("img")){var c=a.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete,e=a.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete,f=a.browser.opera&&(this.cycleW==42&&this.cycleH==19||this.cycleW==37&&this.cycleH==17)&&!this.complete,i=this.cycleH==0&&this.cycleW==0&&!this.complete;if(c||e||f||i){if(h.s&&m.requeueOnImageNotLoaded&&++g.requeueAttempts<100)return d(g.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH),setTimeout(function(){a(h.s,h.c).cycle(g)},m.requeueTimeout),B=!0,!1;d("could not determine size of image: "+this.src,this.cycleW,this.cycleH)}}return!0});if(B)return!1;m.cssBefore=m.cssBefore||{},m.animIn=m.animIn||{},m.animOut=m.animOut||{},c.not(":eq("+s+")").css(m.cssBefore),m.cssFirst&&a(c[s]).css(m.cssFirst);if(m.timeout){m.timeout=parseInt(m.timeout),m.speed.constructor==String&&(m.speed=a.fx.speeds[m.speed]||parseInt(m.speed)),m.sync||(m.speed=m.speed/2);var C=m.fx=="shuffle"?500:250;while(m.timeout-m.speed<C)m.timeout+=m.speed}m.easing&&(m.easeIn=m.easeOut=m.easing),m.speedIn||(m.speedIn=m.speed),m.speedOut||(m.speedOut=m.speed),m.slideCount=e.length,m.currSlide=m.lastSlide=s,m.random?(++m.randomIndex==e.length&&(m.randomIndex=0),m.nextSlide=m.randomMap[m.randomIndex]):m.backwards?m.nextSlide=m.startingSlide==0?e.length-1:m.startingSlide-1:m.nextSlide=m.startingSlide>=e.length-1?0:m.startingSlide+1;if(!m.multiFx){var D=a.fn.cycle.transitions[m.fx];if(a.isFunction(D))D(b,c,m);else if(m.fx!="custom"&&!m.multiFx)return d("unknown transition: "+m.fx,"; slideshow terminating"),!1}var E=c[s];return m.before.length&&m.before[0].apply(E,[E,E,m,!0]),m.after.length>1&&m.after[1].apply(E,[E,E,m,!0]),m.next&&a(m.next).bind(m.prevNextEvent,function(){return n(m,m.rev?-1:1)}),m.prev&&a(m.prev).bind(m.prevNextEvent,function(){return n(m,m.rev?1:-1)}),(m.pager||m.pagerAnchorBuilder)&&o(e,m),k(m,e),m}function i(b){b.original={before:[],after:[]},b.original.cssBefore=a.extend({},b.cssBefore),b.original.cssAfter=a.extend({},b.cssAfter),b.original.animIn=a.extend({},b.animIn),b.original.animOut=a.extend({},b.animOut),a.each(b.before,function(){b.original.before.push(this)}),a.each(b.after,function(){b.original.after.push(this)})}function j(b){var e,f,g=a.fn.cycle.transitions;if(b.fx.indexOf(",")>0){b.multiFx=!0,b.fxs=b.fx.replace(/\s*/g,"").split(",");for(e=0;e<b.fxs.length;e++){var h=b.fxs[e];f=g[h];if(!f||!g.hasOwnProperty(h)||!a.isFunction(f))d("discarding unknown transition: ",h),b.fxs.splice(e,1),e--}if(!b.fxs.length)return d("No valid transitions named; slideshow terminating."),!1}else if(b.fx=="all"){b.multiFx=!0,b.fxs=[];for(p in g)f=g[p],g.hasOwnProperty(p)&&a.isFunction(f)&&b.fxs.push(p)}if(b.multiFx&&b.randomizeEffects){var i=Math.floor(Math.random()*20)+30;for(e=0;e<i;e++){var j=Math.floor(Math.random()*b.fxs.length);b.fxs.push(b.fxs.splice(j,1)[0])}c("randomized fx sequence: ",b.fxs)}return!0}function k(b,c){b.addSlide=function(d,e){var f=a(d),g=f[0];b.autostopCount||b.countdown++,c[e?"unshift":"push"](g),b.els&&b.els[e?"unshift":"push"](g),b.slideCount=c.length,f.css("position","absolute"),f[e?"prependTo":"appendTo"](b.$cont),e&&(b.currSlide++,b.nextSlide++),!a.support.opacity&&b.cleartype&&!b.cleartypeNoBg&&q(f),b.fit&&b.width&&f.width(b.width),b.fit&&b.height&&b.height!="auto"&&$slides.height(b.height),g.cycleH=b.fit&&b.height?b.height:f.height(),g.cycleW=b.fit&&b.width?b.width:f.width(),f.css(b.cssBefore),(b.pager||b.pagerAnchorBuilder)&&a.fn.cycle.createPagerAnchor(c.length-1,g,a(b.pager),c,b),a.isFunction(b.onAddSlide)?b.onAddSlide(f):f.hide()}}function l(b,d,e,f){e&&d.busy&&d.manualTrump&&(c("manualTrump in go(), stopping active transition"),a(b).stop(!0,!0),d.busy=!1);if(d.busy){c("transition active, ignoring new tx request");return}var g=d.$cont[0],h=b[d.currSlide],i=b[d.nextSlide];if(g.cycleStop!=d.stopCount||g.cycleTimeout===0&&!e)return;if(!e&&!g.cyclePause&&!d.bounce&&(d.autostop&&--d.countdown<=0||d.nowrap&&!d.random&&d.nextSlide<d.currSlide)){d.end&&d.end(d);return}var j=!1;if((e||!g.cyclePause)&&d.nextSlide!=d.currSlide){j=!0;var k=d.fx;h.cycleH=h.cycleH||a(h).height(),h.cycleW=h.cycleW||a(h).width(),i.cycleH=i.cycleH||a(i).height(),i.cycleW=i.cycleW||a(i).width();if(d.multiFx){if(d.lastFx==undefined||++d.lastFx>=d.fxs.length)d.lastFx=0;k=d.fxs[d.lastFx],d.currFx=k}d.oneTimeFx&&(k=d.oneTimeFx,d.oneTimeFx=null),a.fn.cycle.resetState(d,k),d.before.length&&a.each(d.before,function(a,b){if(g.cycleStop!=d.stopCount)return;b.apply(i,[h,i,d,f])});var n=function(){a.each(d.after,function(a,b){if(g.cycleStop!=d.stopCount)return;b.apply(i,[h,i,d,f])})};c("tx firing; currSlide: "+d.currSlide+"; nextSlide: "+d.nextSlide),d.busy=1,d.fxFn?d.fxFn(h,i,d,n,f,e&&d.fastOnEvent):a.isFunction(a.fn.cycle[d.fx])?a.fn.cycle[d.fx](h,i,d,n,f,e&&d.fastOnEvent):a.fn.cycle.custom(h,i,d,n,f,e&&d.fastOnEvent)}if(j||d.nextSlide==d.currSlide){d.lastSlide=d.currSlide;if(d.random)d.currSlide=d.nextSlide,++d.randomIndex==b.length&&(d.randomIndex=0),d.nextSlide=d.randomMap[d.randomIndex],d.nextSlide==d.currSlide&&(d.nextSlide=d.currSlide==d.slideCount-1?0:d.currSlide+1);else if(d.backwards){var o=d.nextSlide-1<0;o&&d.bounce?(d.backwards=!d.backwards,d.nextSlide=1,d.currSlide=0):(d.nextSlide=o?b.length-1:d.nextSlide-1,d.currSlide=o?0:d.nextSlide+1)}else{var o=d.nextSlide+1==b.length;o&&d.bounce?(d.backwards=!d.backwards,d.nextSlide=b.length-2,d.currSlide=b.length-1):(d.nextSlide=o?0:d.nextSlide+1,d.currSlide=o?b.length-1:d.nextSlide-1)}}j&&d.pager&&d.updateActivePagerLink(d.pager,d.currSlide,d.activePagerClass);var p=0;d.timeout&&!d.continuous?p=m(b[d.currSlide],b[d.nextSlide],d,f):d.continuous&&g.cyclePause&&(p=10),p>0&&(g.cycleTimeout=setTimeout(function(){l(b,d,0,!d.rev&&!d.backwards)},p))}function m(a,b,d,e){if(d.timeoutFn){var f=d.timeoutFn.call(a,a,b,d,e);while(f-d.speed<250)f+=d.speed;c("calculated timeout: "+f+"; speed: "+d.speed);if(f!==!1)return f}return d.timeout}function n(b,c){var d=b.elements,e=b.$cont[0],f=e.cycleTimeout;f&&(clearTimeout(f),e.cycleTimeout=0);if(b.random&&c<0)b.randomIndex--,--b.randomIndex==-2?b.randomIndex=d.length-2:b.randomIndex==-1&&(b.randomIndex=d.length-1),b.nextSlide=b.randomMap[b.randomIndex];else if(b.random)b.nextSlide=b.randomMap[b.randomIndex];else{b.nextSlide=b.currSlide+c;if(b.nextSlide<0){if(b.nowrap)return!1;b.nextSlide=d.length-1}else if(b.nextSlide>=d.length){if(b.nowrap)return!1;b.nextSlide=0}}var g=b.onPrevNextEvent||b.prevNextClick;return a.isFunction(g)&&g(c>0,b.nextSlide,d[b.nextSlide]),l(d,b,1,c>=0),!1}function o(b,c){var d=a(c.pager);a.each(b,function(e,f){a.fn.cycle.createPagerAnchor(e,f,d,b,c)}),c.updateActivePagerLink(c.pager,c.startingSlide,c.activePagerClass)}function q(b){function d(a){return a=parseInt(a).toString(16),a.length<2?"0"+a:a}function e(b){for(;b&&b.nodeName.toLowerCase()!="html";b=b.parentNode){var c=a.css(b,"background-color");if(c.indexOf("rgb")>=0){var e=c.match(/\d+/g);return"#"+d(e[0])+d(e[1])+d(e[2])}if(c&&c!="transparent")return c}return"#ffffff"}c("applying clearType background-color hack"),b.each(function(){a(this).css("background-color",e(this))})}var b="2.88";a.support==undefined&&(a.support={opacity:!a.browser.msie}),a.fn.cycle=function(b,f){var g={s:this.selector,c:this.context};return this.length===0&&b!="stop"?!a.isReady&&g.s?(d("DOM not ready, queuing slideshow"),a(function(){a(g.s,g.c).cycle(b,f)}),this):(d("terminating; zero elements found by selector"+(a.isReady?"":" (DOM not ready)")),this):this.each(function(){var i=e(this,b,f);if(i===!1)return;i.updateActivePagerLink=i.updateActivePagerLink||a.fn.cycle.updateActivePagerLink,this.cycleTimeout&&clearTimeout(this.cycleTimeout),this.cycleTimeout=this.cyclePause=0;var j=a(this),k=i.slideExpr?a(i.slideExpr,this):j.children(),n=k.get();if(n.length<2){d("terminating; too few slides: "+n.length);return}var o=h(j,k,n,i,g);if(o===!1)return;var p=o.continuous?10:m(n[o.currSlide],n[o.nextSlide],o,!o.rev);p&&(p+=o.delay||0,p<10&&(p=10),c("first timeout: "+p),this.cycleTimeout=setTimeout(function(){l(n,o,0,!o.rev&&!i.backwards)},p))})},a.fn.cycle.resetState=function(b,c){c=c||b.fx,b.before=[],b.after=[],b.cssBefore=a.extend({},b.original.cssBefore),b.cssAfter=a.extend({},b.original.cssAfter),b.animIn=a.extend({},b.original.animIn),b.animOut=a.extend({},b.original.animOut),b.fxFn=null,a.each(b.original.before,function(){b.before.push(this)}),a.each(b.original.after,function(){b.after.push(this)});var d=a.fn.cycle.transitions[c];a.isFunction(d)&&d(b.$cont,a(b.elements),b)},a.fn.cycle.updateActivePagerLink=function(b,c,d){a(b).each(function(){a(this).children().removeClass(d).eq(c).addClass(d)})},a.fn.cycle.next=function(a){n(a,a.rev?-1:1)},a.fn.cycle.prev=function(a){n(a,a.rev?1:-1)},a.fn.cycle.createPagerAnchor=function(b,d,e,f,g){var h;a.isFunction(g.pagerAnchorBuilder)?(h=g.pagerAnchorBuilder(b,d),c("pagerAnchorBuilder("+b+", el) returned: "+h)):h='<a href="#">'+(b+1)+"</a>";if(!h)return;var i=a(h);if(i.parents("body").length===0){var j=[];e.length>1?(e.each(function(){var b=i.clone(!0);a(this).append(b),j.push(b[0])}),i=a(j)):i.appendTo(e)}g.pagerAnchors=g.pagerAnchors||[],g.pagerAnchors.push(i),i.bind(g.pagerEvent,function(c){c.preventDefault(),g.nextSlide=b;var d=g.$cont[0],e=d.cycleTimeout;e&&(clearTimeout(e),d.cycleTimeout=0);var h=g.onPagerEvent||g.pagerClick;a.isFunction(h)&&h(g.nextSlide,f[g.nextSlide]),l(f,g,1,g.currSlide<b)}),!/^click/.test(g.pagerEvent)&&!g.allowPagerClickBubble&&i.bind("click.cycle",function(){return!1}),g.pauseOnPagerHover&&i.hover(function(){g.$cont[0].cyclePause++},function(){g.$cont[0].cyclePause--})},a.fn.cycle.hopsFromLast=function(a,b){var c,d=a.lastSlide,e=a.currSlide;return b?c=e>d?e-d:a.slideCount-d:c=e<d?d-e:d+a.slideCount-e,c},a.fn.cycle.commonReset=function(b,c,d,e,f,g){a(d.elements).not(b).hide(),d.cssBefore.opacity=1,d.cssBefore.display="block",e!==!1&&c.cycleW>0&&(d.cssBefore.width=c.cycleW),f!==!1&&c.cycleH>0&&(d.cssBefore.height=c.cycleH),d.cssAfter=d.cssAfter||{},d.cssAfter.display="none",a(b).css("zIndex",d.slideCount+(g===!0?1:0)),a(c).css("zIndex",d.slideCount+(g===!0?0:1))},a.fn.cycle.custom=function(b,c,d,e,f,g){var h=a(b),i=a(c),j=d.speedIn,k=d.speedOut,l=d.easeIn,m=d.easeOut;i.css(d.cssBefore),g&&(typeof g=="number"?j=k=g:j=k=1,l=m=null);var n=function(){i.animate(d.animIn,j,l,e)};h.animate(d.animOut,k,m,function(){d.cssAfter&&h.css(d.cssAfter),d.sync||n()}),d.sync&&n()},a.fn.cycle.transitions={fade:function(b,c,d){c.not(":eq("+d.currSlide+")").css("opacity",0),d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d),d.cssBefore.opacity=0}),d.animIn={opacity:1},d.animOut={opacity:0},d.cssBefore={top:0,left:0}}},a.fn.cycle.ver=function(){return b},a.fn.cycle.defaults={fx:"fade",timeout:4e3,timeoutFn:null,continuous:0,speed:1e3,speedIn:null,speedOut:null,next:null,prev:null,onPrevNextEvent:null,prevNextEvent:"click.cycle",pager:null,onPagerEvent:null,pagerEvent:"click.cycle",allowPagerClickBubble:!1,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:!a.support.opacity,cleartypeNoBg:!1,nowrap:0,fastOnEvent:0,randomizeEffects:1,rev:0,manualTrump:!0,requeueOnImageNotLoaded:!0,requeueTimeout:250,activePagerClass:"activeSlide",updateActivePagerLink:null,backwards:!1}}(jQuery),function(a){a.fn.cycle.transitions.none=function(b,c,d){d.fxFn=function(b,c,d,e){a(c).show(),a(b).hide(),e()}},a.fn.cycle.transitions.scrollUp=function(b,c,d){b.css("overflow","hidden"),d.before.push(a.fn.cycle.commonReset);var e=b.height();d.cssBefore={top:e,left:0},d.cssFirst={top:0},d.animIn={top:0},d.animOut={top:-e}},a.fn.cycle.transitions.scrollDown=function(b,c,d){b.css("overflow","hidden"),d.before.push(a.fn.cycle.commonReset);var e=b.height();d.cssFirst={top:0},d.cssBefore={top:-e,left:0},d.animIn={top:0},d.animOut={top:e}},a.fn.cycle.transitions.scrollLeft=function(b,c,d){b.css("overflow","hidden"),d.before.push(a.fn.cycle.commonReset);var e=b.width();d.cssFirst={left:0},d.cssBefore={left:e,top:0},d.animIn={left:0},d.animOut={left:0-e}},a.fn.cycle.transitions.scrollRight=function(b,c,d){b.css("overflow","hidden"),d.before.push(a.fn.cycle.commonReset);var e=b.width();d.cssFirst={left:0},d.cssBefore={left:-e,top:0},d.animIn={left:0},d.animOut={left:e}},a.fn.cycle.transitions.scrollHorz=function(b,c,d){b.css("overflow","hidden").width(),d.before.push(function(b,c,d,e){a.fn.cycle.commonReset(b,c,d),d.cssBefore.left=e?c.cycleW-1:1-c.cycleW,d.animOut.left=e?-b.cycleW:b.cycleW}),d.cssFirst={left:0},d.cssBefore={top:0},d.animIn={left:0},d.animOut={top:0}},a.fn.cycle.transitions.scrollVert=function(b,c,d){b.css("overflow","hidden"),d.before.push(function(b,c,d,e){a.fn.cycle.commonReset(b,c,d),d.cssBefore.top=e?1-c.cycleH:c.cycleH-1,d.animOut.top=e?b.cycleH:-b.cycleH}),d.cssFirst={top:0},d.cssBefore={left:0},d.animIn={top:0},d.animOut={left:0}},a.fn.cycle.transitions.slideX=function(b,c,d){d.before.push(function(b,c,d){a(d.elements).not(b).hide(),a.fn.cycle.commonReset(b,c,d,!1,!0),d.animIn.width=c.cycleW}),d.cssBefore={left:0,top:0,width:0},d.animIn={width:"show"},d.animOut={width:0}},a.fn.cycle.transitions.slideY=function(b,c,d){d.before.push(function(b,c,d){a(d.elements).not(b).hide(),a.fn.cycle.commonReset(b,c,d,!0,!1),d.animIn.height=c.cycleH}),d.cssBefore={left:0,top:0,height:0},d.animIn={height:"show"},d.animOut={height:0}},a.fn.cycle.transitions.shuffle=function(b,c,d){var e,f=b.css("overflow","visible").width();c.css({left:0,top:0}),d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,!0,!0,!0)}),d.speedAdjusted||(d.speed=d.speed/2,d.speedAdjusted=!0),d.random=0,d.shuffle=d.shuffle||{left:-f,top:15},d.els=[];for(e=0;e<c.length;e++)d.els.push(c[e]);for(e=0;e<d.currSlide;e++)d.els.push(d.els.shift());d.fxFn=function(b,c,d,e,f){var g=f?a(b):a(c);a(c).css(d.cssBefore);var h=d.slideCount;g.animate(d.shuffle,d.speedIn,d.easeIn,function(){var c=a.fn.cycle.hopsFromLast(d,f);for(var i=0;i<c;i++)f?d.els.push(d.els.shift()):d.els.unshift(d.els.pop());if(f)for(var j=0,k=d.els.length;j<k;j++)a(d.els[j]).css("z-index",k-j+h);else{var l=a(b).css("z-index");g.css("z-index",parseInt(l)+1+h)}g.animate({left:0,top:0},d.speedOut,d.easeOut,function(){a(f?this:b).hide(),e&&e()})})},d.cssBefore={display:"block",opacity:1,top:0,left:0}},a.fn.cycle.transitions.turnUp=function(b,c,d){d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,!0,!1),d.cssBefore.top=c.cycleH,d.animIn.height=c.cycleH}),d.cssFirst={top:0},d.cssBefore={left:0,height:0},d.animIn={top:0},d.animOut={height:0}},a.fn.cycle.transitions.turnDown=function(b,c,d){d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,!0,!1),d.animIn.height=c.cycleH,d.animOut.top=b.cycleH}),d.cssFirst={top:0},d.cssBefore={left:0,top:0,height:0},d.animOut={height:0}},a.fn.cycle.transitions.turnLeft=function(b,c,d){d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,!1,!0),d.cssBefore.left=c.cycleW,d.animIn.width=c.cycleW}),d.cssBefore={top:0,width:0},d.animIn={left:0},d.animOut={width:0}},a.fn.cycle.transitions.turnRight=function(b,c,d){d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,!1,!0),d.animIn.width=c.cycleW,d.animOut.left=b.cycleW}),d.cssBefore={top:0,left:0,width:0},d.animIn={left:0},d.animOut={width:0}},a.fn.cycle.transitions.zoom=function(b,c,d){d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,!1,!1,!0),d.cssBefore.top=c.cycleH/2,d.cssBefore.left=c.cycleW/2,d.animIn={top:0,left:0,width:c.cycleW,height:c.cycleH},d.animOut={width:0,height:0,top:b.cycleH/2,left:b.cycleW/2}}),d.cssFirst={top:0,left:0},d.cssBefore={width:0,height:0}},a.fn.cycle.transitions.fadeZoom=function(b,c,d){d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,!1,!1),d.cssBefore.left=c.cycleW/2,d.cssBefore.top=c.cycleH/2,d.animIn={top:0,left:0,width:c.cycleW,height:c.cycleH}}),d.cssBefore={width:0,height:0},d.animOut={opacity:0}},a.fn.cycle.transitions.blindX=function(b,c,d){var e=b.css("overflow","hidden").width();d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d),d.animIn.width=c.cycleW,d.animOut.left=b.cycleW}),d.cssBefore={left:e,top:0},d.animIn={left:0},d.animOut={left:e}},a.fn.cycle.transitions.blindY=function(b,c,d){var e=b.css("overflow","hidden").height();d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d),d.animIn.height=c.cycleH,d.animOut.top=b.cycleH}),d.cssBefore={top:e,left:0},d.animIn={top:0},d.animOut={top:e}},a.fn.cycle.transitions.blindZ=function(b,c,d){var e=b.css("overflow","hidden").height(),f=b.width();d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d),d.animIn.height=c.cycleH,d.animOut.top=b.cycleH}),d.cssBefore={top:e,left:f},d.animIn={top:0,left:0},d.animOut={top:e,left:f}},a.fn.cycle.transitions.growX=function(b,c,d){d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,!1,!0),d.cssBefore.left=this.cycleW/2,d.animIn={left:0,width:this.cycleW},d.animOut={left:0}}),d.cssBefore={width:0,top:0}},a.fn.cycle.transitions.growY=function(b,c,d){d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,!0,!1),d.cssBefore.top=this.cycleH/2,d.animIn={top:0,height:this.cycleH},d.animOut={top:0}}),d.cssBefore={height:0,left:0}},a.fn.cycle.transitions.curtainX=function(b,c,d){d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,!1,!0,!0),d.cssBefore.left=c.cycleW/2,d.animIn={left:0,width:this.cycleW},d.animOut={left:b.cycleW/2,width:0}}),d.cssBefore={top:0,width:0}},a.fn.cycle.transitions.curtainY=function(b,c,d){d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,!0,!1,!0),d.cssBefore.top=c.cycleH/2,d.animIn={top:0,height:c.cycleH},d.animOut={top:b.cycleH/2,height:0}}),d.cssBefore={left:0,height:0}},a.fn.cycle.transitions.cover=function(b,c,d){var e=d.direction||"left",f=b.css("overflow","hidden").width(),g=b.height();d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d),e=="right"?d.cssBefore.left=-f:e=="up"?d.cssBefore.top=g:e=="down"?d.cssBefore.top=-g:d.cssBefore.left=f}),d.animIn={left:0,top:0},d.animOut={opacity:1},d.cssBefore={top:0,left:0}},a.fn.cycle.transitions.uncover=function(b,c,d){var e=d.direction||"left",f=b.css("overflow","hidden").width(),g=b.height();d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,!0,!0,!0),e=="right"?d.animOut.left=f:e=="up"?d.animOut.top=-g:e=="down"?d.animOut.top=g:d.animOut.left=-f}),d.animIn={left:0,top:0},d.animOut={opacity:1},d.cssBefore={top:0,left:0}},a.fn.cycle.transitions.toss=function(b,c,d){var e=b.css("overflow","visible").width(),f=b.height();d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,!0,!0,!0),!d.animOut.left&&!d.animOut.top?d.animOut={left:e*2,top:-f/2,opacity:0}:d.animOut.opacity=0}),d.cssBefore={left:0,top:0},d.animIn={left:0}},a.fn.cycle.transitions.wipe=function(b,c,d){var e=b.css("overflow","hidden").width(),f=b.height();d.cssBefore=d.cssBefore||{};var g;if(d.clip)if(/l2r/.test(d.clip))g="rect(0px 0px "+f+"px 0px)";else if(/r2l/.test(d.clip))g="rect(0px "+e+"px "+f+"px "+e+"px)";else if(/t2b/.test(d.clip))g="rect(0px "+e+"px 0px 0px)";else if(/b2t/.test(d.clip))g="rect("+f+"px "+e+"px "+f+"px 0px)";else if(/zoom/.test(d.clip)){var h=parseInt(f/2),i=parseInt(e/2);g="rect("+h+"px "+i+"px "+h+"px "+i+"px)"}d.cssBefore.clip=d.cssBefore.clip||g||"rect(0px 0px 0px 0px)";var j=d.cssBefore.clip.match(/(\d+)/g),k=parseInt(j[0]),l=parseInt(j[1]),m=parseInt(j[2]),n=parseInt(j[3]);d.before.push(function(b,c,d){if(b==c)return;var g=a(b),h=a(c);a.fn.cycle.commonReset(b,c,d,!0,!0,!1),d.cssAfter.display="block";var i=1,j=parseInt(d.speedIn/13)-1;(function o(){var a=k?k-parseInt(i*(k/j)):0,b=n?n-parseInt(i*(n/j)):0,c=m<f?m+parseInt(i*((f-m)/j||1)):f,d=l<e?l+parseInt(i*((e-l)/j||1)):e;h.css({clip:"rect("+a+"px "+d+"px "+c+"px "+b+"px)"}),i++<=j?setTimeout(o,13):g.css("display","none")})()}),d.cssBefore={display:"block",opacity:1,top:0,left:0},d.animIn={left:0},d.animOut={left:0}}}(jQuery),function(a){function d(){window.console&&window.console.log&&window.console.log("[cycle] "+Array.prototype.join.call(arguments,""))}function e(b,c,d,f){if(c.busy)return;var g=b[0].parentNode,h=b[c.currSlide],i=b[c.nextSlide];if(g.cycleTimeout===0&&!d)return;if(!d&&!g.cyclePause&&(c.autostop&&--c.countdown<=0||c.nowrap&&!c.random&&c.nextSlide<c.currSlide)){c.end&&c.end(c);return}if(d||!g.cyclePause){c.before.length&&a.each(c.before,function(a,b){b.apply(i,[h,i,c,f])});var j=function(){a.browser.msie&&c.cleartype&&this.style.removeAttribute("filter"),a.each(c.after,function(a,b){b.apply(i,[h,i,c,f])})};c.nextSlide!=c.currSlide&&(c.busy=1,c.fxFn?c.fxFn(h,i,c,j,f):a.isFunction(a.fn.cycle[c.fx])?a.fn.cycle[c.fx](h,i,c,j):a.fn.cycle.custom(h,i,c,j));if(c.random)c.currSlide=c.nextSlide,++c.randomIndex==b.length&&(c.randomIndex=0),c.nextSlide=c.randomMap[c.randomIndex];else{var k=c.nextSlide+1==b.length;c.nextSlide=k?0:c.nextSlide+1,c.currSlide=k?b.length-1:c.nextSlide-1}c.pager&&a.fn.cycle.updateActivePagerLink(c.pager,c.currSlide)}c.timeout&&!c.continuous?g.cycleTimeout=setTimeout(function(){e(b,c,0,!c.rev)},c.timeout):c.continuous&&g.cyclePause&&(g.cycleTimeout=setTimeout(function(){e(b,c,0,!c.rev)},10))}function f(a,b,c){var d=a[0].parentNode,f=d.cycleTimeout;f&&(clearTimeout(f),d.cycleTimeout=0),b.nextSlide=b.currSlide+c;if(b.nextSlide<0){if(b.nowrap)return!1;b.nextSlide=a.length-1}else if(b.nextSlide>=a.length){if(b.nowrap)return!1;b.nextSlide=0}return b.prevNextClick&&typeof b.prevNextClick=="function"&&b.prevNextClick(c>0,b.nextSlide,a[b.nextSlide]),e(a,b,1,c>=0),!1}function g(b,c){var d=a(c.pager);a.each(b,function(f,g){var h=typeof c.pagerAnchorBuilder=="function"?a(c.pagerAnchorBuilder(f,g)):a('<a href="#">'+(f+1)+"</a>");h.parents("body").length==0&&h.appendTo(d),h.bind(c.pagerEvent,function(){c.nextSlide=f;var a=b[0].parentNode,d=a.cycleTimeout;return d&&(clearTimeout(d),a.cycleTimeout=0),typeof c.pagerClick=="function"&&c.pagerClick(c.nextSlide,b[c.nextSlide]),e(b,c,1,!c.rev),!1})}),a.fn.cycle.updateActivePagerLink(c.pager,c.startingSlide)}function h(b){function c(a){var a=parseInt(a).toString(16);return a.length<2?"0"+a:a}function d(b){for(;b&&b.nodeName.toLowerCase()!="html";b=b.parentNode){var d=a.css(b,"background-color");if(d.indexOf("rgb")>=0){var e=d.match(/\d+/g);return"#"+c(e[0])+c(e[1])+c(e[2])}if(d&&d!="transparent")return d}return"#ffffff"}b.each(function(){a(this).css("background-color",d(this))})}var b="2.22",c=a.browser.msie&&/MSIE 6.0/.test(navigator.userAgent);a.fn.cycle=function(b){return this.each(function(){b=b||{};if(b.constructor==String)switch(b){case"stop":this.cycleTimeout&&clearTimeout(this.cycleTimeout),this.cycleTimeout=0;return;case"pause":this.cyclePause=1;return;case"resume":this.cyclePause=0;return;default:b={fx:b}}this.cycleTimeout&&clearTimeout(this.cycleTimeout),this.cycleTimeout=0,this.cyclePause=0;var i=a(this),j=b.slideExpr?a(b.slideExpr,this):i.children(),k=j.get();if(k.length<2){d("terminating; too few slides: "+k.length);return}var l=a.extend({},a.fn.cycle.defaults,b||{},a.metadata?i.metadata():a.meta?i.data():{});l.autostop&&(l.countdown=l.autostopCount||k.length),l.before=l.before?[l.before]:[],l.after=l.after?[l.after]:[],l.after.unshift(function(){l.busy=0}),l.continuous&&l.after.push(function(){e(k,l,0,!l.rev)}),c&&l.cleartype&&!l.cleartypeNoBg&&h(j);var m=this.className;l.width=parseInt((m.match(/w:(\d+)/)||[])[1])||l.width,l.height=parseInt((m.match(/h:(\d+)/)||[])[1])||l.height,l.timeout=parseInt((m.match(/t:(\d+)/)||[])[1])||l.timeout,i.css("position")=="static"&&i.css("position","relative"),l.width&&i.width(l.width),l.height&&l.height!="auto"&&i.height(l.height);if(l.random){l.randomMap=[];for(var n=0;n<k.length;n++)l.randomMap.push(n);l.randomMap.sort(function(a,b){return Math.random()-.5}),l.randomIndex=0,l.startingSlide=l.randomMap[0]}else l.startingSlide>=k.length&&(l.startingSlide=0);var o=l.startingSlide||0;j.css({position:"absolute",top:0,left:0}).hide().each(function(b){var c=o?b>=o?k.length-(b-o):o-b:k.length-b;a(this).css("z-index",c)}),a(k[o]).css("opacity",1).show(),a.browser.msie&&k[o].style.removeAttribute("filter"),l.fit&&l.width&&j.width(l.width),l.fit&&l.height&&l.height!="auto"&&j.height(l.height),l.pause&&i.hover(function(){this.cyclePause=1},function(){this.cyclePause=0});var p=a.fn.cycle.transitions[l.fx];a.isFunction(p)?p(i,j,l):l.fx!="custom"&&d("unknown transition: "+l.fx),j.each(function(){var b=a(this);this.cycleH=l.fit&&l.height?l.height:b.height(),this.cycleW=l.fit&&l.width?l.width:b.width()}),l.cssBefore=l.cssBefore||{},l.animIn=l.animIn||{},l.animOut=l.animOut||{},j.not(":eq("+o+")").css(l.cssBefore),l.cssFirst&&a(j[o]).css(l.cssFirst);if(l.timeout){l.speed.constructor==String&&(l.speed={slow:600,fast:200}[l.speed]||400),l.sync||(l.speed=l.speed/2);while(l.timeout-l.speed<250)l.timeout+=l.speed}l.easing&&(l.easeIn=l.easeOut=l.easing),l.speedIn||(l.speedIn=l.speed),l.speedOut||(l.speedOut=l.speed),l.slideCount=k.length,l.currSlide=o,l.random?(l.nextSlide=l.currSlide,++l.randomIndex==k.length&&(l.randomIndex=0),l.nextSlide=l.randomMap[l.randomIndex]):l.nextSlide=l.startingSlide>=k.length-1?0:l.startingSlide+1;var q=j[o];l.before.length&&l.before[0].apply(q,[q,q,l,!0]),l.after.length>1&&l.after[1].apply(q,[q,q,l,!0]),l.click&&!l.next&&(l.next=l.click),l.next&&a(l.next).bind("click",function(){return f(k,l,l.rev?-1:1)}),l.prev&&a(l.prev).bind("click",function(){return f(k,l,l.rev?1:-1)}),l.pager&&g(k,l),l.addSlide=function(b){var d=a(b),e=d[0];l.autostopCount||l.countdown++,k.push(e),l.els&&l.els.push(e),l.slideCount=k.length,d.css("position","absolute").appendTo(i),c&&l.cleartype&&!l.cleartypeNoBg&&h(d),l.fit&&l.width&&d.width(l.width),l.fit&&l.height&&l.height!="auto"&&j.height(l.height),e.cycleH=l.fit&&l.height?l.height:d.height(),e.cycleW=l.fit&&l.width?l.width:d.width(),d.css(l.cssBefore),typeof l.onAddSlide=="function"&&l.onAddSlide(d)};if(l.timeout||l.continuous
)this.cycleTimeout=setTimeout(function(){e(k,l,0,!l.rev)},l.continuous?10:l.timeout+(l.delay||0))})},a.fn.cycle.updateActivePagerLink=function(b,c){a(b).find("a").removeClass("activeSlide").filter("a:eq("+c+")").addClass("activeSlide")},a.fn.cycle.custom=function(b,c,d,e){var f=a(b),g=a(c);g.css(d.cssBefore);var h=function(){g.animate(d.animIn,d.speedIn,d.easeIn,e)};f.animate(d.animOut,d.speedOut,d.easeOut,function(){d.cssAfter&&f.css(d.cssAfter),d.sync||h()}),d.sync&&h()},a.fn.cycle.transitions={fade:function(b,c,d){c.not(":eq("+d.startingSlide+")").css("opacity",0),d.before.push(function(){a(this).show()}),d.animIn={opacity:1},d.animOut={opacity:0},d.cssBefore={opacity:0},d.cssAfter={display:"none"}}},a.fn.cycle.ver=function(){return b},a.fn.cycle.defaults={fx:"fade",timeout:4e3,continuous:0,speed:1e3,speedIn:null,speedOut:null,next:null,prev:null,prevNextClick:null,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,pause:0,autostop:0,autostopCount:0,delay:0,slideExpr:null,cleartype:0,nowrap:0}}(jQuery),function(a){a.fn.cycle.transitions.scrollUp=function(b,c,d){b.css("overflow","hidden"),d.before.push(function(b,c,d){a(this).show(),d.cssBefore.top=c.offsetHeight,d.animOut.top=0-b.offsetHeight}),d.cssFirst={top:0},d.animIn={top:0},d.cssAfter={display:"none"}},a.fn.cycle.transitions.scrollDown=function(b,c,d){b.css("overflow","hidden"),d.before.push(function(b,c,d){a(this).show(),d.cssBefore.top=0-c.offsetHeight,d.animOut.top=b.offsetHeight}),d.cssFirst={top:0},d.animIn={top:0},d.cssAfter={display:"none"}},a.fn.cycle.transitions.scrollLeft=function(b,c,d){b.css("overflow","hidden"),d.before.push(function(b,c,d){a(this).show(),d.cssBefore.left=c.offsetWidth,d.animOut.left=0-b.offsetWidth}),d.cssFirst={left:0},d.animIn={left:0}},a.fn.cycle.transitions.scrollRight=function(b,c,d){b.css("overflow","hidden"),d.before.push(function(b,c,d){a(this).show(),d.cssBefore.left=0-c.offsetWidth,d.animOut.left=b.offsetWidth}),d.cssFirst={left:0},d.animIn={left:0}},a.fn.cycle.transitions.scrollHorz=function(b,c,d){b.css("overflow","hidden").width(),d.before.push(function(b,d,e,f){a(this).show();var g=b.offsetWidth,h=d.offsetWidth;e.cssBefore=f?{left:h}:{left:-h},e.animIn.left=0,e.animOut.left=f?-g:g,c.not(b).css(e.cssBefore)}),d.cssFirst={left:0},d.cssAfter={display:"none"}},a.fn.cycle.transitions.scrollVert=function(b,c,d){b.css("overflow","hidden"),d.before.push(function(b,d,e,f){a(this).show();var g=b.offsetHeight,h=d.offsetHeight;e.cssBefore=f?{top:-h}:{top:h},e.animIn.top=0,e.animOut.top=f?g:-g,c.not(b).css(e.cssBefore)}),d.cssFirst={top:0},d.cssAfter={display:"none"}},a.fn.cycle.transitions.slideX=function(b,c,d){d.before.push(function(b,c,d){a(b).css("zIndex",1)}),d.onAddSlide=function(a){a.hide()},d.cssBefore={zIndex:2},d.animIn={width:"show"},d.animOut={width:"hide"}},a.fn.cycle.transitions.slideY=function(b,c,d){d.before.push(function(b,c,d){a(b).css("zIndex",1)}),d.onAddSlide=function(a){a.hide()},d.cssBefore={zIndex:2},d.animIn={height:"show"},d.animOut={height:"hide"}},a.fn.cycle.transitions.shuffle=function(b,c,d){var e=b.css("overflow","visible").width();c.css({left:0,top:0}),d.before.push(function(){a(this).show()}),d.speed=d.speed/2,d.random=0,d.shuffle=d.shuffle||{left:-e,top:15},d.els=[];for(var f=0;f<c.length;f++)d.els.push(c[f]);for(var f=0;f<d.startingSlide;f++)d.els.push(d.els.shift());d.fxFn=function(b,c,d,e,f){var g=f?a(b):a(c);g.animate(d.shuffle,d.speedIn,d.easeIn,function(){f?d.els.push(d.els.shift()):d.els.unshift(d.els.pop());if(f)for(var c=0,h=d.els.length;c<h;c++)a(d.els[c]).css("z-index",h-c);else{var i=a(b).css("z-index");g.css("z-index",parseInt(i)+1)}g.animate({left:0,top:0},d.speedOut,d.easeOut,function(){a(f?this:b).hide(),e&&e()})})},d.onAddSlide=function(a){a.hide()}},a.fn.cycle.transitions.turnUp=function(b,c,d){d.before.push(function(b,c,d){a(this).show(),d.cssBefore.top=c.cycleH,d.animIn.height=c.cycleH}),d.onAddSlide=function(a){a.hide()},d.cssFirst={top:0},d.cssBefore={height:0},d.animIn={top:0},d.animOut={height:0},d.cssAfter={display:"none"}},a.fn.cycle.transitions.turnDown=function(b,c,d){d.before.push(function(b,c,d){a(this).show(),d.animIn.height=c.cycleH,d.animOut.top=b.cycleH}),d.onAddSlide=function(a){a.hide()},d.cssFirst={top:0},d.cssBefore={top:0,height:0},d.animOut={height:0},d.cssAfter={display:"none"}},a.fn.cycle.transitions.turnLeft=function(b,c,d){d.before.push(function(b,c,d){a(this).show(),d.cssBefore.left=c.cycleW,d.animIn.width=c.cycleW}),d.onAddSlide=function(a){a.hide()},d.cssBefore={width:0},d.animIn={left:0},d.animOut={width:0},d.cssAfter={display:"none"}},a.fn.cycle.transitions.turnRight=function(b,c,d){d.before.push(function(b,c,d){a(this).show(),d.animIn.width=c.cycleW,d.animOut.left=b.cycleW}),d.onAddSlide=function(a){a.hide()},d.cssBefore={left:0,width:0},d.animIn={left:0},d.animOut={width:0},d.cssAfter={display:"none"}},a.fn.cycle.transitions.zoom=function(b,c,d){d.cssFirst={top:0,left:0},d.cssAfter={display:"none"},d.before.push(function(b,c,d){a(this).show(),d.cssBefore={width:0,height:0,top:c.cycleH/2,left:c.cycleW/2},d.cssAfter={display:"none"},d.animIn={top:0,left:0,width:c.cycleW,height:c.cycleH},d.animOut={width:0,height:0,top:b.cycleH/2,left:b.cycleW/2},a(b).css("zIndex",2),a(c).css("zIndex",1)}),d.onAddSlide=function(a){a.hide()}},a.fn.cycle.transitions.fadeZoom=function(a,b,c){c.before.push(function(a,b,c){c.cssBefore={width:0,height:0,opacity:1,left:b.cycleW/2,top:b.cycleH/2,zIndex:1},c.animIn={top:0,left:0,width:b.cycleW,height:b.cycleH}}),c.animOut={opacity:0},c.cssAfter={zIndex:0}},a.fn.cycle.transitions.blindX=function(b,c,d){var e=b.css("overflow","hidden").width();c.show(),d.before.push(function(b,c,d){a(b).css("zIndex",1)}),d.cssBefore={left:e,zIndex:2},d.cssAfter={zIndex:1},d.animIn={left:0},d.animOut={left:e}},a.fn.cycle.transitions.blindY=function(b,c,d){var e=b.css("overflow","hidden").height();c.show(),d.before.push(function(b,c,d){a(b).css("zIndex",1)}),d.cssBefore={top:e,zIndex:2},d.cssAfter={zIndex:1},d.animIn={top:0},d.animOut={top:e}},a.fn.cycle.transitions.blindZ=function(b,c,d){var e=b.css("overflow","hidden").height(),f=b.width();c.show(),d.before.push(function(b,c,d){a(b).css("zIndex",1)}),d.cssBefore={top:e,left:f,zIndex:2},d.cssAfter={zIndex:1},d.animIn={top:0,left:0},d.animOut={top:e,left:f}},a.fn.cycle.transitions.growX=function(b,c,d){d.before.push(function(b,c,d){d.cssBefore={left:this.cycleW/2,width:0,zIndex:2},d.animIn={left:0,width:this.cycleW},d.animOut={left:0},a(b).css("zIndex",1)}),d.onAddSlide=function(a){a.hide().css("zIndex",1)}},a.fn.cycle.transitions.growY=function(b,c,d){d.before.push(function(b,c,d){d.cssBefore={top:this.cycleH/2,height:0,zIndex:2},d.animIn={top:0,height:this.cycleH},d.animOut={top:0},a(b).css("zIndex",1)}),d.onAddSlide=function(a){a.hide().css("zIndex",1)}},a.fn.cycle.transitions.curtainX=function(b,c,d){d.before.push(function(b,c,d){d.cssBefore={left:c.cycleW/2,width:0,zIndex:1,display:"block"},d.animIn={left:0,width:this.cycleW},d.animOut={left:b.cycleW/2,width:0},a(b).css("zIndex",2)}),d.onAddSlide=function(a){a.hide()},d.cssAfter={zIndex:1,display:"none"}},a.fn.cycle.transitions.curtainY=function(b,c,d){d.before.push(function(b,c,d){d.cssBefore={top:c.cycleH/2,height:0,zIndex:1,display:"block"},d.animIn={top:0,height:this.cycleH},d.animOut={top:b.cycleH/2,height:0},a(b).css("zIndex",2)}),d.onAddSlide=function(a){a.hide()},d.cssAfter={zIndex:1,display:"none"}},a.fn.cycle.transitions.cover=function(b,c,d){var e=d.direction||"left",f=b.css("overflow","hidden").width(),g=b.height();d.before.push(function(b,c,d){d.cssBefore=d.cssBefore||{},d.cssBefore.zIndex=2,d.cssBefore.display="block",e=="right"?d.cssBefore.left=-f:e=="up"?d.cssBefore.top=g:e=="down"?d.cssBefore.top=-g:d.cssBefore.left=f,a(b).css("zIndex",1)}),d.animIn||(d.animIn={left:0,top:0}),d.animOut||(d.animOut={left:0,top:0}),d.cssAfter=d.cssAfter||{},d.cssAfter.zIndex=2,d.cssAfter.display="none"},a.fn.cycle.transitions.uncover=function(b,c,d){var e=d.direction||"left",f=b.css("overflow","hidden").width(),g=b.height();d.before.push(function(b,c,d){d.cssBefore.display="block",e=="right"?d.animOut.left=f:e=="up"?d.animOut.top=-g:e=="down"?d.animOut.top=g:d.animOut.left=-f,a(b).css("zIndex",2),a(c).css("zIndex",1)}),d.onAddSlide=function(a){a.hide()},d.animIn||(d.animIn={left:0,top:0}),d.cssBefore=d.cssBefore||{},d.cssBefore.top=0,d.cssBefore.left=0,d.cssAfter=d.cssAfter||{},d.cssAfter.zIndex=1,d.cssAfter.display="none"},a.fn.cycle.transitions.toss=function(b,c,d){var e=b.css("overflow","visible").width(),f=b.height();d.before.push(function(b,c,d){a(b).css("zIndex",2),d.cssBefore.display="block",!d.animOut.left&&!d.animOut.top?d.animOut={left:e*2,top:-f/2,opacity:0}:d.animOut.opacity=0}),d.onAddSlide=function(a){a.hide()},d.cssBefore={left:0,top:0,zIndex:1,opacity:1},d.animIn={left:0},d.cssAfter={zIndex:2,display:"none"}},a.fn.cycle.transitions.wipe=function(b,c,d){var e=b.css("overflow","hidden").width(),f=b.height();d.cssBefore=d.cssBefore||{};var g;if(d.clip)if(/l2r/.test(d.clip))g="rect(0px 0px "+f+"px 0px)";else if(/r2l/.test(d.clip))g="rect(0px "+e+"px "+f+"px "+e+"px)";else if(/t2b/.test(d.clip))g="rect(0px "+e+"px 0px 0px)";else if(/b2t/.test(d.clip))g="rect("+f+"px "+e+"px "+f+"px 0px)";else if(/zoom/.test(d.clip)){var h=parseInt(f/2),i=parseInt(e/2);g="rect("+h+"px "+i+"px "+h+"px "+i+"px)"}d.cssBefore.clip=d.cssBefore.clip||g||"rect(0px 0px 0px 0px)";var j=d.cssBefore.clip.match(/(\d+)/g),h=parseInt(j[0]),k=parseInt(j[1]),l=parseInt(j[2]),i=parseInt(j[3]);d.before.push(function(b,c,d){function o(){var a=h?h-parseInt(m*(h/n)):0,b=i?i-parseInt(m*(i/n)):0,c=l<f?l+parseInt(m*((f-l)/n||1)):f,d=k<e?k+parseInt(m*((e-k)/n||1)):e;j.css({clip:"rect("+a+"px "+d+"px "+c+"px "+b+"px)"}),m++<=n?setTimeout(o,13):g.css("display","none")}if(b==c)return;var g=a(b).css("zIndex",2),j=a(c).css({zIndex:3,display:"block"}),m=1,n=parseInt(d.speedIn/13)-1;o()}),d.cssAfter={},d.animIn={left:0},d.animOut={left:0}}}(jQuery),function(a){function b(a,b){a=a.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var c="[\\?&]"+a+"=([^&#]*)",d=new RegExp(c),e=d.exec(b);return e==null?"":e[1]}a.prettyPhoto={version:"3.0"},a.fn.prettyPhoto=function(c){function n(b){$pp_pic_holder.find("#pp_full_res object,#pp_full_res embed").css("visibility","hidden"),$pp_pic_holder.find(".pp_fade").fadeOut(settings.animationSpeed,function(){a(".pp_loaderIcon").show(),b()})}function o(b){setPosition==b-1?($pp_pic_holder.find("a.pp_next").css("visibility","hidden"),$pp_pic_holder.find(".pp_nav a.pp_arrow_next").addClass("disabled").unbind("click")):($pp_pic_holder.find("a.pp_next").css("visibility","visible"),$pp_pic_holder.find(".pp_nav a.pp_arrow_next.disabled").removeClass("disabled").bind("click",function(){return a.prettyPhoto.changePage("next"),!1})),setPosition==0?($pp_pic_holder.find("a.pp_previous").css("visibility","hidden"),$pp_pic_holder.find(".pp_nav a.pp_arrow_previous").addClass("disabled").unbind("click")):($pp_pic_holder.find("a.pp_previous").css("visibility","visible"),$pp_pic_holder.find(".pp_nav a.pp_arrow_previous.disabled").removeClass("disabled").bind("click",function(){return a.prettyPhoto.changePage("previous"),!1})),b>1?a(".pp_nav").show():a(".pp_nav").hide()}function p(a,b){resized=!1,q(a,b),imageWidth=a,imageHeight=b;if((j>l||i>k)&&doresize&&settings.allowresize&&!e){resized=!0,fitting=!1;while(!fitting)j>l?(imageWidth=l-200,imageHeight=b/a*imageWidth):i>k?(imageHeight=k-200,imageWidth=a/b*imageHeight):fitting=!0,i=imageHeight,j=imageWidth;q(imageWidth,imageHeight)}return{width:Math.floor(imageWidth),height:Math.floor(imageHeight),containerHeight:Math.floor(i),containerWidth:Math.floor(j)+40,contentHeight:Math.floor(g),contentWidth:Math.floor(h),resized:resized}}function q(b,c){b=parseFloat(b),c=parseFloat(c),$pp_details=$pp_pic_holder.find(".pp_details"),$pp_details.width(b),detailsHeight=parseFloat($pp_details.css("marginTop"))+parseFloat($pp_details.css("marginBottom")),$pp_details=$pp_details.clone().appendTo(a("body")).css({position:"absolute",top:-1e4}),detailsHeight+=$pp_details.height(),detailsHeight=detailsHeight<=34?36:detailsHeight,a.browser.msie&&a.browser.version==7&&(detailsHeight+=8),$pp_details.remove(),g=c+detailsHeight,h=b,i=g+$ppt.height()+$pp_pic_holder.find(".pp_top").height()+$pp_pic_holder.find(".pp_bottom").height(),j=b}function r(a){return a.match(/youtube\.com\/watch/i)?"youtube":a.match(/vimeo\.com/i)?"vimeo":a.indexOf(".mov")!=-1?"quicktime":a.indexOf(".swf")!=-1?"flash":a.indexOf("iframe")!=-1?"iframe":a.substr(0,1)=="#"?"inline":"image"}function s(){doresize&&typeof $pp_pic_holder!="undefined"&&(titleHeight=$ppt.height(),contentHeight=$pp_pic_holder.height(),contentwidth=$pp_pic_holder.width(),projectedTop=k/2+scrollPos.scrollTop-contentHeight/2,$pp_pic_holder.css({top:projectedTop,left:l/2+scrollPos.scrollLeft-contentwidth/2}))}function t(){if(self.pageYOffset)return{scrollTop:self.pageYOffset,scrollLeft:self.pageXOffset};if(document.documentElement&&document.documentElement.scrollTop)return{scrollTop:document.documentElement.scrollTop,scrollLeft:document.documentElement.scrollLeft};if(document.body)return{scrollTop:document.body.scrollTop,scrollLeft:document.body.scrollLeft}}function u(){k=a(window).height(),l=a(window).width(),typeof $pp_overlay!="undefined"&&$pp_overlay.height(a(document).height())}function v(b){theRel=a(b).attr("rel"),galleryRegExp=/\[(?:.*)\]/,isSet=galleryRegExp.exec(theRel)?!0:!1,pp_images=isSet?jQuery.map(d,function(b,c){if(a(b).attr("rel").indexOf(theRel)!=-1)return a(b).attr("href")}):a.makeArray(a(b).attr("href")),pp_titles=isSet?jQuery.map(d,function(b,c){if(a(b).attr("rel").indexOf(theRel)!=-1)return a(b).find("img").attr("alt")?a(b).find("img").attr("alt"):""}):a.makeArray(a(b).find("img").attr("alt")),pp_descriptions=isSet?jQuery.map(d,function(b,c){if(a(b).attr("rel").indexOf(theRel)!=-1)return a(b).attr("title")?a(b).attr("title"):""}):a.makeArray(a(b).attr("title")),a("body").append(settings.markup),$pp_pic_holder=a(".pp_pic_holder"),$ppt=a(".ppt"),$pp_overlay=a("div.pp_overlay");if(isSet&&settings.overlay_gallery){currentGalleryPage=0,toInject="";for(var c=0;c<pp_images.length;c++){var e=new RegExp("(.*?).(jpg|jpeg|png|gif)$");pp_images[c]=pp_images[c].toLowerCase();var f=e.exec(pp_images[c]);f?classname="":classname="default",toInject+="<li class='"+classname+"'><a href='#'><img src='"+pp_images[c]+"' width='50' alt='' /></a></li>"}toInject=settings.gallery_markup.replace(/{gallery}/g,toInject),$pp_pic_holder.find("#pp_full_res").after(toInject),$pp_pic_holder.find(".pp_gallery .pp_arrow_next").click(function(){return a.prettyPhoto.changeGalleryPage("next"),a.prettyPhoto.stopSlideshow(),!1}),$pp_pic_holder.find(".pp_gallery .pp_arrow_previous").click(function(){return a.prettyPhoto.changeGalleryPage("previous"),a.prettyPhoto.stopSlideshow(),!1}),$pp_pic_holder.find(".pp_content").hover(function(){$pp_pic_holder.find(".pp_gallery").fadeIn()},function(){$pp_pic_holder.find(".pp_gallery").fadeOut()}),itemWidth=57,$pp_pic_holder.find(".pp_gallery ul li").each(function(b){a(this).css({position:"absolute",left:b*itemWidth}),a(this).find("a").unbind("click").click(function(){return a.prettyPhoto.changePage(b),a.prettyPhoto.stopSlideshow(),!1})})}settings.slideshow&&($pp_pic_holder.find(".pp_nav").prepend('<a href="#" class="pp_play">Play</a>'),$pp_pic_holder.find(".pp_nav .pp_play").click(function(){return a.prettyPhoto.startSlideshow(),!1})),$pp_pic_holder.attr("class","pp_pic_holder "+settings.theme),$pp_overlay.css({opacity:0,height:a(document).height(),width:a(document).width()}).bind("click",function(){settings.modal||a.prettyPhoto.close()}),a("a.pp_close").bind("click",function(){return a.prettyPhoto.close(),!1}),a("a.pp_expand").bind("click",function(b){return a(this).hasClass("pp_expand")?(a(this).removeClass("pp_expand").addClass("pp_contract"),doresize=!1):(a(this).removeClass("pp_contract").addClass("pp_expand"),doresize=!0),n(function(){a.prettyPhoto.open()}),!1}),$pp_pic_holder.find(".pp_previous, .pp_nav .pp_arrow_previous").bind("click",function(){return a.prettyPhoto.changePage("previous"),a.prettyPhoto.stopSlideshow(),!1}),$pp_pic_holder.find(".pp_next, .pp_nav .pp_arrow_next").bind("click",function(){return a.prettyPhoto.changePage("next"),a.prettyPhoto.stopSlideshow(),!1}),s()}c=jQuery.extend({animationSpeed:"fast",slideshow:!1,autoplay_slideshow:!1,opacity:.4,showTitle:!1,allowresize:!1,default_width:500,default_height:344,counter_separator_label:"/",theme:"facebook",hideflash:!1,wmode:"opaque",autoplay:!0,modal:!1,overlay_gallery:!1,changepicturecallback:function(){},callback:function(){},markup:'<div class="pp_pic_holder"> \t\t\t\t\t\t<div class="ppt">&nbsp;</div> \t\t\t\t\t\t<div class="pp_top"> \t\t\t\t\t\t\t<div class="pp_left"></div> \t\t\t\t\t\t\t<div class="pp_middle"></div> \t\t\t\t\t\t\t<div class="pp_right"></div> \t\t\t\t\t\t</div> \t\t\t\t\t\t<div class="pp_content_container"> \t\t\t\t\t\t\t<div class="pp_left"> \t\t\t\t\t\t\t<div class="pp_right"> \t\t\t\t\t\t\t\t<div class="pp_content"> \t\t\t\t\t\t\t\t\t<div class="pp_loaderIcon"></div> \t\t\t\t\t\t\t\t\t<div class="pp_fade"> \t\t\t\t\t\t\t\t\t\t<a href="#" class="pp_expand" title="Expand the image">Expand</a> \t\t\t\t\t\t\t\t\t\t<div class="pp_hoverContainer"> \t\t\t\t\t\t\t\t\t\t\t<a class="pp_next" href="#">next</a> \t\t\t\t\t\t\t\t\t\t\t<a class="pp_previous" href="#">previous</a> \t\t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t\t\t<div id="pp_full_res"></div> \t\t\t\t\t\t\t\t\t\t<div class="pp_details clearfix"> \t\t\t\t\t\t\t\t\t\t\t<a class="pp_close" href="#">Close</a> \t\t\t\t\t\t\t\t\t\t\t<p class="pp_description"></p> \t\t\t\t\t\t\t\t\t\t\t<div class="pp_nav"> \t\t\t\t\t\t\t\t\t\t\t\t<a href="#" class="pp_arrow_previous">Previous</a> \t\t\t\t\t\t\t\t\t\t\t\t<p class="currentTextHolder">0/0</p> \t\t\t\t\t\t\t\t\t\t\t\t<a href="#" class="pp_arrow_next">Next</a> \t\t\t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t</div> \t\t\t\t\t\t<div class="pp_bottom"> \t\t\t\t\t\t\t<div class="pp_left"></div> \t\t\t\t\t\t\t<div class="pp_middle"></div> \t\t\t\t\t\t\t<div class="pp_right"></div> \t\t\t\t\t\t</div> \t\t\t\t\t</div> \t\t\t\t\t<div class="pp_overlay"></div>',gallery_markup:'<div class="pp_gallery"> \t\t\t\t\t\t\t\t<a href="#" class="pp_arrow_previous">Previous</a> \t\t\t\t\t\t\t\t<ul> \t\t\t\t\t\t\t\t\t{gallery} \t\t\t\t\t\t\t\t</ul> \t\t\t\t\t\t\t\t<a href="#" class="pp_arrow_next">Next</a> \t\t\t\t\t\t\t</div>',image_markup:'<img id="fullResImage" src="" />',flash_markup:'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="{width}" height="{height}"><param name="wmode" value="{wmode}" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="{path}" /><embed src="{path}" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="{width}" height="{height}" wmode="{wmode}"></embed></object>',quicktime_markup:'<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="{height}" width="{width}"><param name="src" value="{path}"><param name="autoplay" value="{autoplay}"><param name="type" value="video/quicktime"><embed src="{path}" height="{height}" width="{width}" autoplay="{autoplay}" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/"></embed></object>',iframe_markup:'<iframe src ="{path}" width="{width}" height="{height}" frameborder="no"></iframe>',inline_markup:'<div class="pp_inline clearfix">{content}</div>'},c);var d=this,e=!1,f,g,h,i,j,k=a(window).height(),l=a(window).width(),m;return doresize=!0,scrollPos=t(),a(window).unbind("scroll").scroll(function(){scrollPos=t(),s()}),a(window).unbind("resize").resize(function(){s(),u()}),a(document).unbind("keydown").keydown(function(b){if(typeof $pp_pic_holder!="undefined"&&$pp_pic_holder.is(":visible")){switch(b.keyCode){case 37:a.prettyPhoto.changePage("previous");break;case 39:a.prettyPhoto.changePage("next");break;case 27:settings.modal||a.prettyPhoto.close()}return!1}}),a.prettyPhoto.initialize=function(){return settings=c,a.browser.msie&&parseInt(a.browser.version)==6&&(settings.theme="light_square"),v(this),setItem=r(a(this).attr("href"))!="youtube"?a(this).attr("href").toLowerCase():a(this).attr("href"),setPosition=jQuery.inArray(setItem,pp_images),a.prettyPhoto.open(),!1},a.prettyPhoto.open=function(){typeof settings=="undefined"&&(settings=c,v(this),pp_images=a.makeArray(arguments[0]),pp_titles=arguments[1]?a.makeArray(arguments[1]):a.makeArray(""),pp_descriptions=arguments[2]?a.makeArray(arguments[2]):a.makeArray(""),isSet=pp_images.length>1?!0:!1,setPosition=0),a.browser.msie&&a.browser.version==6&&a("select").css("visibility","hidden"),settings.hideflash&&a("object,embed").css("visibility","hidden"),o(a(pp_images).size()),a(".pp_loaderIcon").show(),$ppt.is(":hidden")&&$ppt.css("opacity",0).show(),$pp_overlay.show().fadeTo(settings.animationSpeed,settings.opacity),$pp_pic_holder.find(".currentTextHolder").text(setPosition+1+settings.counter_separator_label+a(pp_images).size()),$pp_pic_holder.find(".pp_description").show().html(unescape(pp_descriptions[setPosition])),settings.showTitle&&pp_titles[setPosition]!=""?$ppt.html(unescape(pp_titles[setPosition])):$ppt.html("&nbsp;"),movie_width=parseFloat(b("width",pp_images[setPosition]))?b("width",pp_images[setPosition]):settings.default_width.toString(),movie_height=parseFloat(b("height",pp_images[setPosition]))?b("height",pp_images[setPosition]):settings.default_height.toString();if(movie_width.indexOf("%")!=-1||movie_height.indexOf("%")!=-1)movie_height=parseFloat(a(window).height()*parseFloat(movie_height)/100-100),movie_width=parseFloat(a(window).width()*parseFloat(movie_width)/100-100),e=!0;return $pp_pic_holder.fadeIn(function(){imgPreloader="";switch(r(pp_images[setPosition])){case"image":imgPreloader=new Image,nextImage=new Image,isSet&&setPosition>a(pp_images).size()&&(nextImage.src=pp_images[setPosition+1]),prevImage=new Image,isSet&&pp_images[setPosition-1]&&(prevImage.src=pp_images[setPosition-1]),$pp_pic_holder.find("#pp_full_res")[0].innerHTML=settings.image_markup,$pp_pic_holder.find("#fullResImage").attr("src",pp_images[setPosition]),imgPreloader.onload=function(){f=p(imgPreloader.width,imgPreloader.height),_showContent()},imgPreloader.onerror=function(){alert("Image cannot be loaded. Make sure the path is correct and image exist."),a.prettyPhoto.close()},imgPreloader.src=pp_images[setPosition];break;case"youtube":f=p(movie_width,movie_height),movie="http://www.youtube.com/v/"+b("v",pp_images[setPosition]),settings.autoplay&&(movie+="&autoplay=1"),toInject=settings.flash_markup.replace(/{width}/g,f.width).replace(/{height}/g,f.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,movie);break;case"vimeo":f=p(movie_width,movie_height),movie_id=pp_images[setPosition],movie="http://vimeo.com/moogaloop.swf?clip_id="+movie_id.replace("http://vimeo.com/",""),settings.autoplay&&(movie+="&autoplay=1"),toInject=settings.flash_markup.replace(/{width}/g,f.width).replace(/{height}/g,f.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,movie);break;case"quicktime":f=p(movie_width,movie_height),f.height+=15,f.contentHeight+=15,f.containerHeight+=15,toInject=settings.quicktime_markup.replace(/{width}/g,f.width).replace(/{height}/g,f.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,pp_images[setPosition]).replace(/{autoplay}/g,settings.autoplay);break;case"flash":f=p(movie_width,movie_height),flash_vars=pp_images[setPosition],flash_vars=flash_vars.substring(pp_images[setPosition].indexOf("flashvars")+10,pp_images[setPosition].length),filename=pp_images[setPosition],filename=filename.substring(0,filename.indexOf("?")),toInject=settings.flash_markup.replace(/{width}/g,f.width).replace(/{height}/g,f.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,filename+"?"+flash_vars);break;case"iframe":f=p(movie_width,movie_height),frame_url=pp_images[setPosition],frame_url=frame_url.substr(0,frame_url.indexOf("iframe")-1),toInject=settings.iframe_markup.replace(/{width}/g,f.width).replace(/{height}/g,f.height).replace(/{path}/g,frame_url);break;case"inline":myClone=a(pp_images[setPosition]).clone().css({width:settings.default_width}).wrapInner('<div id="pp_full_res"><div class="pp_inline clearfix"></div></div>').appendTo(a("body")),f=p(a(myClone).width(),a(myClone).height()),a(myClone).remove(),toInject=settings.inline_markup.replace(/{content}/g,a(pp_images[setPosition]).html())}imgPreloader||($pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject,_showContent())}),!1},a.prettyPhoto.changePage=function(b){currentGalleryPage=0;if(b=="previous"){setPosition--;if(setPosition<0){setPosition=0;return}}else if(b=="next"){if(m&&a(".pp_arrow_next").is(".disabled"))setPosition=-1;else if(a(".pp_arrow_next").is(".disabled"))return;setPosition++}else setPosition=b;doresize||(doresize=!0),n(function(){a.prettyPhoto.open()})},a.prettyPhoto.changeGalleryPage=function(b){b=="next"?(currentGalleryPage++,currentGalleryPage>totalPage&&(currentGalleryPage=0)):b=="previous"&&(currentGalleryPage--,currentGalleryPage<0&&(currentGalleryPage=totalPage)),$pp_pic_holder.find(".pp_gallery li").each(function(b){a(this).animate({left:b*itemWidth-itemsPerPage*itemWidth*currentGalleryPage})})},a.prettyPhoto.startSlideshow=function(){typeof m=="undefined"?$pp_pic_holder.find(".pp_play").unbind("click").removeClass("pp_play").addClass("pp_pause").click(function(){return a.prettyPhoto.stopSlideshow(),!1}):a.prettyPhoto.changePage("next"),m=setTimeout(a.prettyPhoto.startSlideshow,settings.slideshow)},a.prettyPhoto.stopSlideshow=function(){$pp_pic_holder.find(".pp_pause").unbind("click").removeClass("pp_pause").addClass("pp_play").click(function(){return a.prettyPhoto.startSlideshow(),!1}),clearTimeout(m)},a.prettyPhoto.close=function(){clearTimeout(m),$pp_pic_holder.find("object,embed").css("visibility","hidden"),a("div.pp_pic_holder,div.ppt,.pp_fade").fadeOut(settings.animationSpeed,function(){a(this).remove()}),$pp_overlay.fadeOut(settings.animationSpeed,function(){a.browser.msie&&a.browser.version==6&&a("select").css("visibility","visible"),settings.hideflash&&a("object,embed").css("visibility","visible"),a(this).remove(),settings.callback(),doresize=!0,delete settings})},_showContent=function(){a(".pp_loaderIcon").hide(),$ppt.fadeTo(settings.animationSpeed,1),projectedTop=scrollPos.scrollTop+(k/2-f.containerHeight/2),projectedTop<0&&(projectedTop=0),$pp_pic_holder.find(".pp_content").animate({height:f.contentHeight},settings.animationSpeed),$pp_pic_holder.animate({top:projectedTop,left:l/2-f.containerWidth/2,width:f.containerWidth},settings.animationSpeed,function(){$pp_pic_holder.find(".pp_hoverContainer,#fullResImage").height(f.height).width(f.width),$pp_pic_holder.find(".pp_fade").fadeIn(settings.animationSpeed),isSet&&r(pp_images[setPosition])=="image"?$pp_pic_holder.find(".pp_hoverContainer").show():$pp_pic_holder.find(".pp_hoverContainer").hide(),f.resized&&a("a.pp_expand,a.pp_contract").fadeIn(settings.animationSpeed),settings.changepicturecallback()}),isSet&&settings.overlay_gallery&&r(pp_images[setPosition])=="image"?(itemWidth=57,navWidth=settings.theme=="facebook"?58:38,itemsPerPage=Math.floor((f.containerWidth-100-navWidth)/itemWidth),itemsPerPage=itemsPerPage<pp_images.length?itemsPerPage:pp_images.length,totalPage=Math.ceil(pp_images.length/itemsPerPage)-1,totalPage==0?(navWidth=0,$pp_pic_holder.find(".pp_gallery .pp_arrow_next,.pp_gallery .pp_arrow_previous").hide()):(navWidth=settings.theme=="facebook"?58:38,$pp_pic_holder.find(".pp_gallery .pp_arrow_next,.pp_gallery .pp_arrow_previous").show()),galleryWidth=itemsPerPage*itemWidth+navWidth,$pp_pic_holder.find(".pp_gallery").width(galleryWidth).css("margin-left",-(galleryWidth/2)),$pp_pic_holder.find(".pp_gallery ul").width(itemsPerPage*itemWidth),$pp_pic_holder.find(".pp_gallery ul li").each(function(b){a(this).css({position:"absolute",left:b*itemWidth})})):($pp_pic_holder.find(".pp_content").unbind("mouseenter mouseleave"),$pp_pic_holder.find(".pp_gallery").hide()),settings.autoplay_slideshow&&(m=clearTimeout(m),a.prettyPhoto.startSlideshow(),settings.autoplay_slideshow=!1)},this.unbind("click").click(a.prettyPhoto.initialize)}}(jQuery),jQuery.extend({roundabout_shape:{def:"lazySusan",lazySusan:function(a,b,c){return{x:Math.sin(a+b),y:Math.sin(a+3*Math.PI/2+b)/8*c,z:(Math.cos(a+b)+1)/2,scale:Math.sin(a+Math.PI/2+b)/2+.5}}}}),jQuery.fn.roundabout=function(){var a=typeof arguments[0]!="object"?{}:arguments[0];a={bearing:typeof a.bearing=="undefined"?0:jQuery.roundabout_toFloat(a.bearing%360),tilt:typeof a.tilt=="undefined"?0:jQuery.roundabout_toFloat(a.tilt),minZ:typeof a.minZ=="undefined"?100:parseInt(a.minZ,10),maxZ:typeof a.maxZ=="undefined"?400:parseInt(a.maxZ,10),minOpacity:typeof a.minOpacity=="undefined"?.4:jQuery.roundabout_toFloat(a.minOpacity),maxOpacity:typeof a.maxOpacity=="undefined"?1:jQuery.roundabout_toFloat(a.maxOpacity),minScale:typeof a.minScale=="undefined"?.4:jQuery.roundabout_toFloat(a.minScale),maxScale:typeof a.maxScale=="undefined"?1:jQuery.roundabout_toFloat(a.maxScale),duration:typeof a.duration=="undefined"?600:parseInt(a.duration,10),btnNext:a.btnNext||null,btnPrev:a.btnPrev||null,easing:a.easing||"swing",clickToFocus:a.clickToFocus!==!1,focusBearing:typeof a.focusBearing=="undefined"?0:jQuery.roundabout_toFloat(a.focusBearing%360),shape:a.shape||"lazySusan",debug:a.debug||!1,childSelector:a.childSelector||"li",startingChild:typeof a.startingChild=="undefined"?null:parseInt(a.startingChild,10),reflect:typeof a.reflect=="undefined"||a.reflect===!1?!1:!0},this.each(function(b){var c=jQuery(this),d=jQuery.roundabout_toFloat(360/c.children(a.childSelector).length),e=a.startingChild===null?a.bearing:a.startingChild*d;c.addClass("roundabout-holder").css("padding",0).css("position","relative").css("z-index",a.minZ),c.data("roundabout",{bearing:e,tilt:a.tilt,minZ:a.minZ,maxZ:a.maxZ,minOpacity:a.minOpacity,maxOpacity:a.maxOpacity,minScale:a.minScale,maxScale:a.maxScale,duration:a.duration,easing:a.easing,clickToFocus:a.clickToFocus,focusBearing:a.focusBearing,animating:0,childInFocus:-1,shape:a.shape,period:d,debug:a.debug,childSelector:a.childSelector,reflect:a.reflect}),a.clickToFocus===!0&&c.children(a.childSelector).each(function(b){jQuery(this).click(function(e){var f=a.reflect===!0?360-d*b:d*b;f=jQuery.roundabout_toFloat(f);if(!jQuery.roundabout_isInFocus(c,f))return e.preventDefault(),c.data("roundabout").animating===0&&c.roundabout_animateAngleToFocus(f),!1})}),a.btnNext&&jQuery(a.btnNext).bind("click.roundabout",function(a){return a.preventDefault(),c.data("roundabout").animating===0&&c.roundabout_animateToNextChild(),!1}),a.btnPrev&&jQuery(a.btnPrev).bind("click.roundabout",function(a){return a.preventDefault(),c.data("roundabout").animating===0&&c.roundabout_animateToPreviousChild(),!1})}),this.roundabout_startChildren();if(typeof arguments[1]=="function"){var b=arguments[1],c=this;setTimeout(function(){b(c)},0)}return this},jQuery.fn.roundabout_startChildren=function(){return this.each(function(a){var b=jQuery(this),c=b.data("roundabout"),d=b.children(c.childSelector);d.each(function(a){var b=c.reflect===!0?360-c.period*a:c.period*a;jQuery(this).addClass("roundabout-moveable-item").css("position","absolute"),jQuery(this).data("roundabout",{startWidth:jQuery(this).width(),startHeight:jQuery(this).height(),startFontSize:parseInt(jQuery(this).css("font-size"),10),degrees:b})}),b.roundabout_updateChildPositions()}),this},jQuery.fn.roundabout_setTilt=function(a){this.each(function(b){jQuery(this).data("roundabout").tilt=a,jQuery(this).roundabout_updateChildPositions()});if(typeof arguments[1]=="function"){var b=arguments[1],c=this;setTimeout(function(){b(c)},0)}return this},jQuery.fn.roundabout_setBearing=function(a){this.each(function(b){jQuery(this).data("roundabout").bearing=jQuery.roundabout_toFloat(a%360,2),jQuery(this).roundabout_updateChildPositions()});if(typeof arguments[1]=="function"){var b=arguments[1],c=this;setTimeout(function(){b(c)},0)}return this},jQuery.fn.roundabout_adjustBearing=function(a){a=jQuery.roundabout_toFloat(a),a!==0&&this.each(function(b){jQuery(this).data("roundabout").bearing=jQuery.roundabout_getBearing(jQuery(this))+a,jQuery(this).roundabout_updateChildPositions()});if(typeof 
arguments[1]=="function"){var b=arguments[1],c=this;setTimeout(function(){b(c)},0)}return this},jQuery.fn.roundabout_adjustTilt=function(a){a=jQuery.roundabout_toFloat(a),a!==0&&this.each(function(b){jQuery(this).data("roundabout").tilt=jQuery.roundabout_toFloat(jQuery(this).roundabout_get("tilt")+a),jQuery(this).roundabout_updateChildPositions()});if(typeof arguments[1]=="function"){var b=arguments[1],c=this;setTimeout(function(){b(c)},0)}return this},jQuery.fn.roundabout_animateToBearing=function(a){a=jQuery.roundabout_toFloat(a);var b=new Date,c=typeof arguments[1]=="undefined"?null:arguments[1],d=typeof arguments[2]=="undefined"?null:arguments[2],e=typeof arguments[3]!="object"?null:arguments[3];return this.each(function(f){var g=jQuery(this),h=g.data("roundabout"),i,j,k,l=c===null?h.duration:c,m=d!==null?d:h.easing||"swing";e===null&&(e={timerStart:b,start:jQuery.roundabout_getBearing(g),totalTime:l}),i=b-e.timerStart,i<l?(h.animating=1,typeof jQuery.easing.def=="string"?(j=jQuery.easing[m]||jQuery.easing[jQuery.easing.def],k=j(null,i,e.start,a-e.start,e.totalTime)):k=jQuery.easing[m](i/e.totalTime,i,e.start,a-e.start,e.totalTime),g.roundabout_setBearing(k,function(){g.roundabout_animateToBearing(a,l,m,e)})):(a=a<0?a+360:a%360,h.animating=0,g.roundabout_setBearing(a))}),this},jQuery.fn.roundabout_animateToDelta=function(a){var b=arguments[1],c=arguments[2];return this.each(function(d){a=jQuery.roundabout_getBearing(jQuery(this))+jQuery.roundabout_toFloat(a),jQuery(this).roundabout_animateToBearing(a,b,c)}),this},jQuery.fn.roundabout_animateToChild=function(a){var b=arguments[1],c=arguments[2];return this.each(function(d){var e=jQuery(this),f=e.data("roundabout");if(f.childInFocus!==a&&f.animating===0){var g=jQuery(e.children(f.childSelector)[a]);e.roundabout_animateAngleToFocus(g.data("roundabout").degrees,b,c)}}),this},jQuery.fn.roundabout_animateToNearbyChild=function(a,b){var c=a[0],d=a[1];return this.each(function(a){var e=jQuery(this).data("roundabout"),f=jQuery.roundabout_toFloat(360-jQuery.roundabout_getBearing(jQuery(this))),g=e.period,h=0,i,j=e.reflect,k=jQuery(this).children(e.childSelector).length;f=j===!0?f%360:f;if(e.animating===0)if(j===!1&&b==="next"||j===!0&&b!=="next"){f=f===0?360:f;while(h<k){i={lower:jQuery.roundabout_toFloat(g*h),upper:jQuery.roundabout_toFloat(g*(h+1))},i.upper=h==k-1?360:i.upper;if(f<=i.upper&&f>i.lower){jQuery(this).roundabout_animateToDelta(f-i.lower,c,d);break}h++}}else for(;;){i={lower:jQuery.roundabout_toFloat(g*h),upper:jQuery.roundabout_toFloat(g*(h+1))},i.upper=h==k-1?360:i.upper;if(f>=i.lower&&f<i.upper){jQuery(this).roundabout_animateToDelta(f-i.upper,c,d);break}h++}}),this},jQuery.fn.roundabout_animateToNextChild=function(){return this.roundabout_animateToNearbyChild(arguments,"next")},jQuery.fn.roundabout_animateToPreviousChild=function(){return this.roundabout_animateToNearbyChild(arguments,"previous")},jQuery.fn.roundabout_animateAngleToFocus=function(a){var b=arguments[1],c=arguments[2];return this.each(function(d){var e=jQuery.roundabout_getBearing(jQuery(this))-a;e=Math.abs(360-e)<Math.abs(0-e)?360-e:0-e,e=e>180?-(360-e):e,e!==0&&jQuery(this).roundabout_animateToDelta(e,b,c)}),this},jQuery.fn.roundabout_updateChildPositions=function(){return this.each(function(a){var b=jQuery(this),c=b.data("roundabout"),d=-1,e={bearing:jQuery.roundabout_getBearing(b),tilt:c.tilt,stage:{width:Math.floor(b.width()*.9),height:Math.floor(b.height()*.9)},animating:c.animating,inFocus:c.childInFocus,focusBearingRad:jQuery.roundabout_degToRad(c.focusBearing),shape:jQuery.roundabout_shape[c.shape]||jQuery.roundabout_shape[jQuery.roundabout_shape.def]};e.midStage={width:e.stage.width/2,height:e.stage.height/2},e.nudge={width:e.midStage.width+e.stage.width*.05,height:e.midStage.height+e.stage.height*.05},e.zValues={min:c.minZ,max:c.maxZ,diff:c.maxZ-c.minZ},e.opacity={min:c.minOpacity,max:c.maxOpacity,diff:c.maxOpacity-c.minOpacity},e.scale={min:c.minScale,max:c.maxScale,diff:c.maxScale-c.minScale},b.children(c.childSelector).each(function(a){jQuery.roundabout_updateChildPosition(jQuery(this),b,e,a)&&e.animating===0?(d=a,jQuery(this).addClass("roundabout-in-focus")):jQuery(this).removeClass("roundabout-in-focus")}),d!==e.inFocus&&(jQuery.roundabout_triggerEvent(b,e.inFocus,"blur"),d!==-1&&jQuery.roundabout_triggerEvent(b,d,"focus"),c.childInFocus=d)}),this},jQuery.roundabout_getBearing=function(a){return jQuery.roundabout_toFloat(a.data("roundabout").bearing)%360},jQuery.roundabout_degToRad=function(a){return a%360*Math.PI/180},jQuery.roundabout_isInFocus=function(a,b){return jQuery.roundabout_getBearing(a)%360===b%360},jQuery.roundabout_triggerEvent=function(a,b,c){return b<0?this:jQuery(a.children(a.data("roundabout").childSelector)[b]).trigger(c)},jQuery.roundabout_toFloat=function(a){return a=Math.round(parseFloat(a)*1e3)/1e3,parseFloat(a.toFixed(2))},jQuery.roundabout_updateChildPosition=function(a,b,c,d){var e=jQuery(a),f=e.data("roundabout"),g=[],h=jQuery.roundabout_degToRad(360-e.data("roundabout").degrees+c.bearing);while(h<0)h+=Math.PI*2;while(h>Math.PI*2)h-=Math.PI*2;var i=c.shape(h,c.focusBearingRad,c.tilt);return i.scale=i.scale>1?1:i.scale,i.adjustedScale=(c.scale.min+c.scale.diff*i.scale).toFixed(4),i.width=(i.adjustedScale*f.startWidth).toFixed(4),i.height=(i.adjustedScale*f.startHeight).toFixed(4),e.css("left",(i.x*c.midStage.width+c.nudge.width-i.width/2).toFixed(1)+"px").css("top",(i.y*c.midStage.height+c.nudge.height-i.height/2).toFixed(1)+"px").css("width",i.width+"px").css("height",i.height+"px").css("opacity",(c.opacity.min+c.opacity.diff*i.scale).toFixed(2)).css("z-index",Math.round(c.zValues.min+c.zValues.diff*i.z)).css("font-size",(i.adjustedScale*f.startFontSize).toFixed(2)+"px").attr("current-scale",i.adjustedScale),b.data("roundabout").debug===!0&&(g.push('<div style="font-weight: normal; font-size: 10px; padding: 2px; width: '+e.css("width")+'; background-color: #ffc;">'),g.push('<strong style="font-size: 12px; white-space: nowrap;">Child '+d+"</strong><br />"),g.push("<strong>left:</strong> "+e.css("left")+"<br /><strong>top:</strong> "+e.css("top")+"<br />"),g.push("<strong>width:</strong> "+e.css("width")+"<br /><strong>opacity:</strong> "+e.css("opacity")+"<br />"),g.push("<strong>z-index:</strong> "+e.css("z-index")+"<br /><strong>font-size:</strong> "+e.css("font-size")+"<br />"),g.push("<strong>scale:</strong> "+e.attr("current-scale")),g.push("</div>"),e.html(g.join(""))),jQuery.roundabout_isInFocus(b,e.data("roundabout").degrees)},function(){function a(a,b){if(b)for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a}function b(a,b){var c=[];for(var d in a)a.hasOwnProperty(d)&&(c[d]=b(a[d]));return c}function c(b,c,f){if(i.isSupported(c.version))b.innerHTML=i.getHTML(c,f);else if(c.expressInstall&&i.isSupported([6,65]))b.innerHTML=i.getHTML(a(c,{src:c.expressInstall}),{MMredirectURL:location.href,MMplayerType:"PlugIn",MMdoctitle:document.title});else{b.innerHTML.replace(/\s/g,"")||(b.innerHTML="<h2>Flash version "+c.version+" or greater is required</h2><h3>"+(j[0]>0?"Your version is "+j:"You have no flash plugin installed")+"</h3>"+(b.tagName=="A"?"<p>Click here to download latest version</p>":"<p>Download latest version from <a href='"+e+"'>here</a></p>"),b.tagName=="A"&&(b.onclick=function(){location.href=e}));if(c.onFail){var g=c.onFail.call(this);typeof g=="string"&&(b.innerHTML=g)}}d&&(window[c.id]=document.getElementById(c.id)),a(this,{getRoot:function(){return b},getOptions:function(){return c},getConf:function(){return f},getApi:function(){return b.firstChild}})}var d=document.all,e="http://www.adobe.com/go/getflashplayer",f=typeof jQuery=="function",g=/(\d+)[^\d]+(\d+)[^\d]*(\d*)/,h={width:"100%",height:"100%",id:"_"+(""+Math.random()).slice(9),allowfullscreen:!0,allowscriptaccess:"always",quality:"high",version:[3,0],onFail:null,expressInstall:null,w3c:!1,cachebusting:!1};window.attachEvent&&window.attachEvent("onbeforeunload",function(){__flash_unloadHandler=function(){},__flash_savedUnloadHandler=function(){}}),window.flashembed=function(b,d,e){typeof b=="string"&&(b=document.getElementById(b.replace("#","")));if(b)return typeof d=="string"&&(d={src:d}),new c(b,a(a({},h),d),e)};var i=a(window.flashembed,{conf:h,getVersion:function(){var a,b;try{b=navigator.plugins["Shockwave Flash"].description.slice(16)}catch(c){try{b=(a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"))&&a.GetVariable("$version")}catch(d){try{b=(a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"))&&a.GetVariable("$version")}catch(e){}}}return(b=g.exec(b))?[b[1],b[3]]:[0,0]},asString:function(a){if(a===null||a===undefined)return null;var c=typeof a;c=="object"&&a.push&&(c="array");switch(c){case"string":return a=a.replace(new RegExp('(["\\\\])',"g"),"\\$1"),a=a.replace(/^\s?(\d+\.?\d+)%/,"$1pct"),'"'+a+'"';case"array":return"["+b(a,function(a){return i.asString(a)}).join(",")+"]";case"function":return'"function()"';case"object":c=[];for(var d in a)a.hasOwnProperty(d)&&c.push('"'+d+'":'+i.asString(a[d]));return"{"+c.join(",")+"}"}return String(a).replace(/\s/g," ").replace(/\'/g,'"')},getHTML:function(b,c){b=a({},b);var e='<object width="'+b.width+'" height="'+b.height+'" id="'+b.id+'" name="'+b.id+'"';b.cachebusting&&(b.src+=(b.src.indexOf("?")!=-1?"&":"?")+Math.random()),e+=b.w3c||!d?' data="'+b.src+'" type="application/x-shockwave-flash"':' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"',e+=">";if(b.w3c||d)e+='<param name="movie" value="'+b.src+'" />';b.width=b.height=b.id=b.w3c=b.src=null,b.onFail=b.version=b.expressInstall=null;for(var f in b)b[f]&&(e+='<param name="'+f+'" value="'+b[f]+'" />');b="";if(c){for(var g in c)c[g]&&(f=c[g],b+=g+"="+(/function|object/.test(typeof f)?i.asString(f):f)+"&");b=b.slice(0,-1),e+='<param name="flashvars" value=\''+b+"' />"}return e+="</object>",e},isSupported:function(a){return j[0]>a[0]||j[0]==a[0]&&j[1]>=a[1]}}),j=i.getVersion();f&&(jQuery.tools=jQuery.tools||{version:"1.2.4"},jQuery.tools.flashembed={conf:h},jQuery.fn.flashembed=function(a,b){return this.each(function(){$(this).data("flashembed",flashembed(this,a,b))})})}(),function(a){function b(a){if(a){var b=d.contentWindow.document;b.open().close(),b.location.hash=a}}var c,d,e,f;a.tools=a.tools||{version:"1.2.4"},a.tools.history={init:function(j){f||(a.browser.msie&&a.browser.version<"8"?d||(d=a("<iframe/>").attr("src","javascript:false;").hide().get(0),a("body").append(d),setInterval(function(){var b=d.contentWindow.document;b=b.location.hash,c!==b&&a.event.trigger("hash",b)},100),b(location.hash||"#")):setInterval(function(){var b=location.hash;b!==c&&a.event.trigger("hash",b)},100),e=e?e.add(j):j,j.click(function(c){var e=a(this).attr("href");d&&b(e);if(e.slice(0,1)!="#")return location.href="#"+e,c.preventDefault()}),f=!0)}},a(window).bind("hash",function(b,d){d?e.filter(function(){var b=a(this).attr("href");return b==d||b==d.replace("#","")}).trigger("history",[d]):e.eq(0).trigger("history",[d]),c=d,window.location.hash=c}),a.fn.history=function(b){return a.tools.history.init(this),this.bind("history",b)}}(jQuery),function(a){function b(){if(a.browser.msie){var b=a(document).height(),c=a(window).height();return[window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,b-c<20?c:b]}return[a(document).width(),a(document).height()]}function c(b){if(b)return b.call(a.mask)}a.tools=a.tools||{version:"1.2.4"};var d;d=a.tools.expose={conf:{maskId:"exposeMask",loadSpeed:"slow",closeSpeed:"fast",closeOnClick:!0,closeOnEsc:!0,zIndex:9998,opacity:.8,startOpacity:0,color:"#fff",onLoad:null,onClose:null}};var e,f,g,h,i;a.mask={load:function(m,n){if(g)return this;typeof m=="string"&&(m={color:m}),m=m||h,h=m=a.extend(a.extend({},d.conf),m),e=a("#"+m.maskId),e.length||(e=a("<div/>").attr("id",m.maskId),a("body").append(e));var o=b();return e.css({position:"absolute",top:0,left:0,width:o[0],height:o[1],display:"none",opacity:m.startOpacity,zIndex:m.zIndex}),m.color&&e.css("backgroundColor",m.color),c(m.onBeforeLoad)===!1?this:(m.closeOnEsc&&a(document).bind("keydown.mask",function(b){b.keyCode==27&&a.mask.close(b)}),m.closeOnClick&&e.bind("click.mask",function(b){a.mask.close(b)}),a(window).bind("resize.mask",function(){a.mask.fit()}),n&&n.length&&(i=n.eq(0).css("zIndex"),a.each(n,function(){var b=a(this);/relative|absolute|fixed/i.test(b.css("position"))||b.css("position","relative")}),f=n.css({zIndex:Math.max(m.zIndex+1,i=="auto"?0:i)})),e.css({display:"block"}).fadeTo(m.loadSpeed,m.opacity,function(){a.mask.fit(),c(m.onLoad),g="full"}),g=!0,this)},close:function(){if(g){if(c(h.onBeforeClose)===!1)return this;e.fadeOut(h.closeSpeed,function(){c(h.onClose),f&&f.css({zIndex:i}),g=!1}),a(document).unbind("keydown.mask"),e.unbind("click.mask"),a(window).unbind("resize.mask")}return this},fit:function(){if(g){var a=b();e.css({width:a[0],height:a[1]})}},getMask:function(){return e},isLoaded:function(a){return a?g=="full":g},getConf:function(){return h},getExposed:function(){return f}},a.fn.mask=function(b){return a.mask.load(b),this},a.fn.expose=function(b){return a.mask.load(b,this),this}}(jQuery),function(a){function b(b){switch(b.type){case"mousemove":return a.extend(b.data,{clientX:b.clientX,clientY:b.clientY,pageX:b.pageX,pageY:b.pageY});case"DOMMouseScroll":a.extend(b,b.data),b.delta=-b.detail/3;break;case"mousewheel":b.delta=b.wheelDelta/120}return b.type="wheel",a.event.handle.call(this,b,b.delta)}a.fn.mousewheel=function(a){return this[a?"bind":"trigger"]("wheel",a)},a.event.special.wheel={setup:function(){a.event.add(this,c,b,{})},teardown:function(){a.event.remove(this,c,b)}};var c=a.browser.mozilla?"DOMMouseScroll"+(a.browser.version<"1.9"?" mousemove":""):"mousewheel"}(jQuery),function(a){function b(b,d,e){var f=this,g=b.add(this),h=b.find(e.tabs),i=d.jquery?d:b.children(d),j;h.length||(h=b.children()),i.length||(i=b.parent().find(d)),i.length||(i=a(d)),a.extend(this,{click:function(b,d){var i=h.eq(b);typeof b=="string"&&b.replace("#","")&&(i=h.filter("[href*="+b.replace("#","")+"]"),b=Math.max(h.index(i),0));if(e.rotate){var k=h.length-1;if(b<0)return f.click(k,d);if(b>k)return f.click(0,d)}if(!i.length){if(j>=0)return f;b=e.initialIndex,i=h.eq(b)}if(b===j)return f;d=d||a.Event(),d.type="onBeforeClick",g.trigger(d,[b]);if(!d.isDefaultPrevented())return c[e.effect].call(f,b,function(){d.type="onClick",g.trigger(d,[b])}),j=b,h.removeClass(e.current),i.addClass(e.current),f},getConf:function(){return e},getTabs:function(){return h},getPanes:function(){return i},getCurrentPane:function(){return i.eq(j)},getCurrentTab:function(){return h.eq(j)},getIndex:function(){return j},next:function(){return f.click(j+1)},prev:function(){return f.click(j-1)},destroy:function(){return h.unbind(e.event).removeClass(e.current),i.find("a[href^=#]").unbind("click.T"),f}}),a.each("onBeforeClick,onClick".split(","),function(b,c){a.isFunction(e[c])&&a(f).bind(c,e[c]),f[c]=function(b){return b&&a(f).bind(c,b),f}}),e.history&&a.fn.history&&(a.tools.history.init(h),e.event="history"),h.each(function(b){a(this).bind(e.event,function(a){return f.click(b,a),a.preventDefault()})}),i.find("a[href^=#]").bind("click.T",function(b){f.click(a(this).attr("href"),b)}),location.hash&&e.tabs==="a"&&b.find(e.tabs+location.hash).length?f.click(location.hash):(e.initialIndex===0||e.initialIndex>0)&&f.click(e.initialIndex)}a.tools=a.tools||{version:"1.2.4"},a.tools.tabs={conf:{tabs:"a",current:"current",onBeforeClick:null,onClick:null,effect:"default",initialIndex:0,event:"click",rotate:!1,history:!1},addEffect:function(a,b){c[a]=b}};var c={"default":function(a,b){this.getPanes().hide().eq(a).show(),b.call()},fade:function(a,b){var c=this.getConf(),d=c.fadeOutSpeed,e=this.getPanes();d?e.fadeOut(d):e.hide(),e.eq(a).fadeIn(c.fadeInSpeed,b)},slide:function(a,b){this.getPanes().slideUp(200),this.getPanes().eq(a).slideDown(400,b)},ajax:function(a,b){this.getPanes().eq(0).load(this.getTabs().eq(a).attr("href"),b)}},d;a.tools.tabs.addEffect("horizontal",function(b,c){d||(d=this.getPanes().eq(0).width()),this.getCurrentPane().animate({width:0},function(){a(this).hide()}),this.getPanes().eq(b).animate({width:d},function(){a(this).show(),c.call()})}),a.fn.tabs=function(c,d){var e=this.data("tabs");return e&&(e.destroy(),this.removeData("tabs")),a.isFunction(d)&&(d={onBeforeClick:d}),d=a.extend({},a.tools.tabs.conf,d),this.each(function(){e=new b(a(this),c,d),a(this).data("tabs",e)}),d.api?e:this}}(jQuery),function(a){function b(b,c){function e(c){var e=a(c);return e.length<2?e:b.parent().find(c)}var f=this,g=b.add(this),h=b.data("tabs"),i,j,k,l=!1,m=e(c.next).click(function(){h.next()}),n=e(c.prev).click(function(){h.prev()});a.extend(f,{getTabs:function(){return h},getConf:function(){return c},play:function(){if(!i){var b=a.Event("onBeforePlay");g.trigger(b);if(b.isDefaultPrevented())return f;l=!1,i=setInterval(h.next,c.interval),g.trigger("onPlay"),h.next()}},pause:function(){if(!i&&!k)return f;var b=a.Event("onBeforePause");g.trigger(b);if(b.isDefaultPrevented())return f;i=clearInterval(i),k=clearInterval(k),g.trigger("onPause")},stop:function(){f.pause(),l=!0}}),a.each("onBeforePlay,onPlay,onBeforePause,onPause".split(","),function(b,e){a.isFunction(c[e])&&f.bind(e,c[e]),f[e]=function(a){return f.bind(e,a)}});if(c.autopause){var o=h.getTabs().add(m).add(n).add(h.getPanes());o.hover(function(){f.pause(),j=clearInterval(j)},function(){l||(j=setTimeout(f.play,c.interval))})}c.autoplay?k=setTimeout(f.play,c.interval):f.stop(),c.clickable&&h.getPanes().click(function(){h.next()});if(!h.getConf().rotate){var p=c.disabledClass;h.getIndex()||n.addClass(p),h.onBeforeClick(function(a,b){b?(n.removeClass(p),b==h.getTabs().length-1?m.addClass(p):m.removeClass(p)):n.addClass(p)})}}var c;c=a.tools.tabs.slideshow={conf:{next:".forward",prev:".backward",disabledClass:"disabled",autoplay:!1,autopause:!0,interval:3e3,clickable:!0,api:!1}},a.fn.slideshow=function(e){var f=this.data("slideshow");return f?f:(e=a.extend({},c.conf,e),this.each(function(){f=new b(a(this),e),a(this).data("slideshow",f)}),e.api?f:this)}}(jQuery),function(a){function b(a,b,c){var d=c.relative?a.position().top:a.offset().top,e=c.relative?a.position().left:a.offset().left,f=c.position[0];d-=b.outerHeight()-c.offset[0],e+=a.outerWidth()+c.offset[1];var g=b.outerHeight()+a.outerHeight();return f=="center"&&(d+=g/2),f=="bottom"&&(d+=g),f=c.position[1],a=b.outerWidth()+a.outerWidth(),f=="center"&&(e-=a/2),f=="left"&&(e-=a),{top:d,left:e}}function c(c,e){var g=this,h=c.add(g),i,j=0,k=0,l=c.attr("title"),m=c.attr("data-tooltip"),o=d[e.effect],q,r=c.is(":input"),s=r&&c.is(":checkbox, :radio, select, :button, :submit"),t=c.attr("type"),u=e.events[t]||e.events[r?s?"widget":"input":"def"];if(!o)throw'Nonexistent effect "'+e.effect+'"';u=u.split(/,\s*/);if(u.length!=2)throw"Tooltip: bad events configuration for "+t;c.bind(u[0],function(a){clearTimeout(j),e.predelay?k=setTimeout(function(){g.show(a)},e.predelay):g.show(a)}).bind(u[1],function(a){clearTimeout(k),e.delay?j=setTimeout(function(){g.hide(a)},e.delay):g.hide(a)}),l&&e.cancelDefault&&(c.removeAttr("title"),c.data("title",l)),a.extend(g,{show:function(d){if(!i){m?i=a(m):l?i=a(e.layout).addClass(e.tipClass).appendTo(document.body).hide().append(l):e.tip?i=a(e.tip).eq(0):(i=c.next(),i.length||(i=c.parent().next()));if(!i.length)throw"Cannot find tooltip for "+c}if(g.isShown())return g;i.stop(!0,!0);var n=b(c,i,e);return d=d||a.Event(),d.type="onBeforeShow",h.trigger(d,[n]),d.isDefaultPrevented()?g:(n=b(c,i,e),i.css({position:"absolute",top:n.top,left:n.left}),q=!0,o[0].call(g,function(){d.type="onShow",q="full",h.trigger(d)}),n=e.events.tooltip.split(/,\s*/),i.bind(n[0],function(){clearTimeout(j),clearTimeout(k)}),n[1]&&!c.is("input:not(:checkbox, :radio), textarea")&&i.bind(n[1],function(a){a.relatedTarget!=c[0]&&c.trigger(u[1].split(" ")[0])}),g)},hide:function(b){if(!i||!g.isShown())return g;b=b||a.Event(),b.type="onBeforeHide",h.trigger(b);if(!b.isDefaultPrevented())return q=!1,d[e.effect][1].call(g,function(){b.type="onHide",h.trigger(b)}),g},isShown:function(a){return a?q=="full":q},getConf:function(){return e},getTip:function(){return i},getTrigger:function(){return c}}),a.each("onHide,onBeforeShow,onShow,onBeforeHide".split(","),function(b,c){a.isFunction(e[c])&&a(g).bind(c,e[c]),g[c]=function(b){return a(g).bind(c,b),g}})}a.tools=a.tools||{version:"1.2.4"},a.tools.tooltip={conf:{effect:"toggle",fadeOutSpeed:"fast",predelay:0,delay:30,opacity:1,tip:0,position:["top","center"],offset:[0,0],relative:!1,cancelDefault:!0,events:{def:"mouseenter,mouseleave",input:"focus,blur",widget:"focus mouseenter,blur mouseleave",tooltip:"mouseenter,mouseleave"},layout:"<div/>",tipClass:"tooltip"},addEffect:function(a,b,c){d[a]=[b,c]}};var d={toggle:[function(a){var b=this.getConf(),c=this.getTip();b=b.opacity,b<1&&c.css({opacity:b}),c.show(),a.call()},function(a){this.getTip().hide(),a.call()}],fade:[function(a){var b=this.getConf();this.getTip().fadeTo(b.fadeInSpeed,b.opacity,a)},function(a){this.getTip().fadeOut(this.getConf().fadeOutSpeed,a)}]};a.fn.tooltip=function(b){var d=this.data("tooltip");return d?d:(b=a.extend(!0,{},a.tools.tooltip.conf,b),typeof b.position=="string"&&(b.position=b.position.split(/,?\s/)),this.each(function(){d=new c(a(this),b),a(this).data("tooltip",d)}),b.api?d:this)}}(jQuery),function(a){var b=a.tools.tooltip;a.extend(b.conf,{direction:"up",bounce:!1,slideOffset:10,slideInSpeed:200,slideOutSpeed:200,slideFade:!a.browser.msie});var c={up:["-","top"],down:["+","top"],left:["-","left"],right:["+","left"]};b.addEffect("slide",function(a){var b=this.getConf(),d=this.getTip(),f=b.slideFade?{opacity:b.opacity}:{},g=c[b.direction]||c.up;f[g[1]]=g[0]+"="+b.slideOffset,b.slideFade&&d.css({opacity:0}),d.show().animate(f,b.slideInSpeed,a)},function(b){var f=this.getConf(),g=f.slideOffset,h=f.slideFade?{opacity:0}:{},i=c[f.direction]||c.up,j=""+i[0];f.bounce&&(j=j=="+"?"-":"+"),h[i[1]]=j+"="+g,this.getTip().animate(h,f.slideOutSpeed,function(){a(this).hide(),b.call()})})}(jQuery),function(a){function b(b){var c=a(window),d=c.width()+c.scrollLeft(),e=c.height()+c.scrollTop();return[b.offset().top<=c.scrollTop(),d<=b.offset().left+b.width(),e<=b.offset().top+b.height(),c.scrollLeft()>=b.offset().left]}function c(a){for(var b=a.length;b--;)if(a[b])return!1;return!0}var d=a.tools.tooltip;d.dynamic={conf:{classNames:"top right bottom left"}},a.fn.dynamic=function(e){typeof e=="number"&&(e={speed:e}),e=a.extend({},d.dynamic.conf,e);var f=e.classNames.split(/\s/),h;return this.each(function(){var d=a(this).tooltip().onBeforeShow(function(d,i){d=this.getTip();var l=this.getConf();h||(h=[l.position[0],l.position[1],l.offset[0],l.offset[1],a.extend({},l)]),a.extend(l,h[4]),l.position=[h[0],h[1]],l.offset=[h[2],h[3]],d.css({visibility:"hidden",position:"absolute",top:i.top,left:i.left}).show(),i=b(d);if(!c(i)){i[2]&&(a.extend(l,e.top),l.position[0]="top",d.addClass(f[0])),i[3]&&(a.extend(l,e.right),l.position[1]="right",d.addClass(f[1])),i[0]&&(a.extend(l,e.bottom),l.position[0]="bottom",d.addClass(f[2])),i[1]&&(a.extend(l,e.left),l.position[1]="left",d.addClass(f[3]));if(i[0]||i[2])l.offset[0]*=-1;if(i[1]||i[3])l.offset[1]*=-1}d.css({visibility:"visible"}).hide()});d.onBeforeShow(function(){var a=this.getConf();this.getTip(),setTimeout(function(){a.position=[h[0],h[1]],a.offset=[h[2],h[3]]},0)}),d.onHide(function(){var a=this.getTip();a.removeClass(e.classNames)}),ret=d}),e.api?ret:this}}(jQuery),function(a){function b(b,c){var d=a(c);return d.length<2?d:b.parent().find(c)}function c(c,f){var g=this,h=c.add(g),i=c.children(),k=0,l=f.vertical;d||(d=g),i.length>1&&(i=a(f.items,c)),a.extend(g,{getConf:function(){return f},getIndex:function(){return k},getSize:function(){return g.getItems().size()},getNaviButtons:function(){return p.add(q)},getRoot:function(){return c},getItemWrap:function(){return i},getItems:function(){return i.children(f.item).not("."+f.clonedClass)},move:function(a,b){return g.seekTo(k+a,b)},next:function(a){return g.move(1,a)},prev:function(a){return g.move(-1,a)},begin:function(a){return g.seekTo(0,a)},end:function(a){return g.seekTo(g.getSize()-1,a)},focus:function(){return d=g},addItem:function(b){return b=a(b),f.circular?(i.children("."+f.clonedClass+":last").before(b),i.children("."+f.clonedClass+":first").replaceWith(b.clone().addClass(f.clonedClass))):i.append(b),h.trigger("onAddItem",[b]),g},seekTo:function(b,c,m){b.jquery||(b*=1);if(f.circular&&b===0&&k==-1&&c!==0)return g;if(!f.circular&&b<0||b>g.getSize()||b<-1)return g;var n=b;b.jquery?b=g.getItems().index(b):n=g.getItems().eq(b);var o=a.Event("onBeforeSeek");if(!m){h.trigger(o,[b,c]);if(o.isDefaultPrevented()||!n.length)return g}return n=l?{top:-n.position().top}:{left:-n.position().left},k=b,d=g,c===undefined&&(c=f.speed),i.animate(n,c,f.easing,m||function(){h.trigger("onSeek",[b])}),g}}),a.each(["onBeforeSeek","onSeek","onAddItem"],function(b,c){a.isFunction(f[c])&&a(g).bind(c,f[c]),g[c]=function(b){return a(g).bind(c,b),g}});if(f.circular){var m=g.getItems().slice(-1).clone().prependTo(i),o=g.getItems().eq(1).clone().appendTo(i);m.add(o).addClass(f.clonedClass),g.onBeforeSeek(function(a,b,c){if(!a.isDefaultPrevented()){if(b==-1)return g.seekTo(m,c,function(){g.end(0)}),a.preventDefault();b==g.getSize()&&g.seekTo(o,c,function(){g.begin(0)})}}),g.seekTo(0,0,function(){})}var p=b(c,f.prev).click(function(){g.prev()}),q=b(c,f.next).click(function(){g.next()});!f.circular&&g.getSize()>1&&g.onBeforeSeek(function(a,b){setTimeout(function(){a.isDefaultPrevented()||(p.toggleClass(f.disabledClass,b<=0),q.toggleClass(f.disabledClass,b>=g.getSize()-1))},1)}),f.mousewheel&&a.fn.mousewheel&&c.mousewheel(function(a,b){if(f.mousewheel)return g.move(b<0?1:-1,f.wheelSpeed||50),!1}),f.keyboard&&a(document).bind("keydown.scrollable",function(b){if(!(!f.keyboard||b.altKey||b.ctrlKey||a(b.target).is(":input")))if(f.keyboard=="static"||d==g){var c=b.keyCode;if(!(!l||c!=38&&c!=40))return g.move(c==38?-1:1),b.preventDefault();if(!l&&(c==37||c==39))return g.move(c==37?-1:1),b.preventDefault()}}),f.initialIndex&&g.seekTo(f.initialIndex,0,function(){})}a.tools=a.tools||{version:"1.2.4"},a.tools.scrollable={conf:{activeClass:"active",circular:!1,clonedClass:"cloned",disabledClass:"disabled",easing:"swing",initialIndex:0,item:null,items:".items",keyboard:!0,mousewheel:!1,next:".next",prev:".prev",speed:400,vertical:!1,wheelSpeed:0}};var d;a.fn.scrollable=function(b){var d=this.data("scrollable");return d?d:(b=a.extend({},a.tools.scrollable.conf,b),this.each(function(){d=new c(a(this),b),a(this).data("scrollable",d)}),b.api?d:this)}}(jQuery),function(a){var b=a.tools.scrollable;b.autoscroll={conf:{autoplay:!0,interval:3e3,autopause:!0}},a.fn.autoscroll=function(d){typeof d=="number"&&(d={interval:d});var e=a.extend({},b.autoscroll.conf,d),f;return this.each(function(){var b=a(this).data("scrollable");b&&(f=b);var d,g,i=!0;b.play=function(){d||(i=!1,d=setInterval(function(){b.next()},e.interval),b.next())},b.pause=function(){d=clearInterval(d)},b.stop=function(){b.pause(),i=!0},e.autopause&&b.getRoot().add(b.getNaviButtons()).hover(function(){b.pause(),clearInterval(g)},function(){i||(g=setTimeout(b.play,e.interval))}),e.autoplay&&setTimeout(b.play,e.interval)}),e.api?f:this}}(jQuery),function(a){function b(b,c){var e=a(c);return e.length<2?e:b.parent().find(c)}var c=a.tools.scrollable;c.navigator={conf:{navi:".navi",naviItem:null,activeClass:"active",indexed:!1,idPrefix:null,history:!1}},a.fn.navigator=function(e){typeof e=="string"&&(e={navi:e}),e=a.extend({},c.navigator.conf,e);var f;return this.each(function(){function c(a,b,c){k.seekTo(b);if(!o)return c.preventDefault();location.hash&&(location.hash=a.attr("href").replace("#",""))}function h(){return l.find(e.naviItem||"> *")}function i(b){var f=a("<"+(e.naviItem||"a")+"/>").click(function(e){c(a(this),b,e)}).attr("href","#"+b);return b===0&&f.addClass(n),e.indexed&&f.text(b+1),e.idPrefix&&f.attr("id",e.idPrefix+b),f.appendTo(l)}function j(a,b){a=h().eq(b.replace("#","")),a.length||(a=h().filter("[href="+b+"]")),a.click()}var k=a(this).data("scrollable"),l=e.navi.jquery?e.navi:b(k.getRoot(),e.navi),m=k.getNaviButtons(),n=e.activeClass,o=e.history&&a.fn.history;k&&(f=k),k.getNaviButtons=function(){return m.add(l)},h().length?h().each(function(b){a(this).click(function(e){c(a(this),b,e)})}):a.each(k.getItems(),function(a){i(a)}),k.onBeforeSeek(function(a,b){setTimeout(function(){if(!a.isDefaultPrevented()){var c=h().eq(b);!a.isDefaultPrevented()&&c.length&&h().removeClass(n).eq(b).addClass(n)}},1)}),k.onAddItem(function(a,b){b=i(k.getItems().index(b)),o&&b.history(j)}),o&&h().history(j)}),e.api?f:this}}(jQuery),function(a){function b(b,e){var f=this,g=b.add(f),h=a(window),i,j,k,l=a.tools.expose&&(e.mask||e.expose),m=Math.random().toString().slice(10);l&&(typeof l=="string"&&(l={color:l}),l.closeOnClick=l.closeOnEsc=!1);var n=e.target||b.attr("rel");j=n?a(n):b;if(!j.length)throw"Could not find Overlay: "+n;b&&b.index(j)==-1&&b.click(function(a){return f.load(a),a.preventDefault()}),a.extend(f,{load:function(b){if(f.isOpened())return f;var i=d[e.effect];if(!i)throw'Overlay: cannot find effect : "'+e.effect+'"';e.oneInstance&&a.each(c,function(){this.close(b)}),b=b||a.Event(),b.type="onBeforeLoad",g.trigger(b);if(b.isDefaultPrevented())return f;k=!0,l&&a(j).expose(l);var n=e.top,p=e.left,r=j.outerWidth({margin:!0}),t=j.outerHeight({margin:!0});return typeof n=="string"&&(n=n=="center"?Math.max((h.height()-t)/2,0):parseInt(n,10)/100*h.height()),p=="center"&&(p=Math.max((h.width()-r)/2,0)),i[0].call(f,{top:n,left:p},function(){k&&(b.type="onLoad",g.trigger(b))}),l&&e.closeOnClick&&a.mask.getMask().one("click",f.close),e.closeOnClick&&a(document).bind("click."+m,function(b){a(b.target).parents(j).length||f.close(b)}),e.closeOnEsc&&a(document).bind("keydown."+m,function(a){a.keyCode==27&&f.close(a)}),f},close:function(b){if(!f.isOpened())return f;b=b||a.Event(),b.type="onBeforeClose",g.trigger(b);if(!b.isDefaultPrevented())return k=!1,d[e.effect][1].call(f,function(){b.type="onClose",g.trigger(b)}),a(document).unbind("click."+m).unbind("keydown."+m),l&&a.mask.close(),f},getOverlay:function(){return j},getTrigger:function(){return b},getClosers:function(){return i},isOpened:function(){return k},getConf:function(){return e}}),a.each("onBeforeLoad,onStart,onLoad,onBeforeClose,onClose".split(","),function(b,c){a.isFunction(e[c])&&a(f).bind(c,e[c]),f[c]=function(b){return a(f).bind(c,b),f}}),i=j.find(e.close||".close"),!i.length&&!e.close&&(i=a('<a class="close"></a>'),j.prepend(i)),i.click(function(a){f.close(a)}),e.load&&f.load()}a.tools=a.tools||{version:"1.2.4"},a.tools.overlay={addEffect:function(a,b,c){d[a]=[b,c]},conf:{close:null,closeOnClick:!0,closeOnEsc:!0,closeSpeed:"fast",effect:"default",fixed:!a.browser.msie||a.browser.version>6,left:"center",load:!1,mask:null,oneInstance:!0,speed:"normal",target:null,top:"10%"}};var c=[],d={};a.tools.overlay.addEffect("default",function(b,c){var d=this.getConf(),e=a(window);d.fixed||(b.top+=e.scrollTop(),b.left+=e.scrollLeft()),b.position=d.fixed?"fixed":"absolute",this.getOverlay().css(b).fadeIn(d.speed,c)},function(a){this.getOverlay().fadeOut(this.getConf().closeSpeed,a)}),a.fn.overlay=function(d){var e=this.data("overlay");return e?e:(a.isFunction(d)&&(d={onBeforeLoad:d}),d=a.extend(!0,{},a.tools.overlay.conf,d),this.each(function(){e=new b(a(this),d),c.push(e),a(this).data("overlay",e)}),d.api?e:this)}}(jQuery),function(a){function b(a){var b=a.offset();return{top:b.top+a.height()/2,left:b.left+a.width()/2}}function e(c,e){var f=this.getOverlay(),g=this.getConf(),h=this.getTrigger(),k=this,l=f.outerWidth({margin:!0}),m=f.data("img");if(!m){var n=f.css("backgroundImage");if(!n)throw"background-image CSS property not set for overlay";n=n.slice(n.indexOf("(")+1,n.indexOf(")")).replace(/\"/g,""),f.css("backgroundImage","none"),m=a('<img src="'+n+'"/>'),m.css({border:0,display:"none"}).width(l),a("body").append(m),f.data("img",m)}n=g.start.top||Math.round(d.height()/2);var o=g.start.left||Math.round(d.width()/2);h&&(h=b(h),n=h.top,o=h.left),m.css({position:"absolute",top:n,left:o,width:0,zIndex:g.zIndex}).show(),c.top+=d.scrollTop(),c.left+=d.scrollLeft(),c.position="absolute",f.css(c),m.animate({top:f.css("top"),left:f.css("left"),width:l},g.speed,function(){g.fixed&&(c.top-=d.scrollTop(),c.left-=d.scrollLeft(),c.position="fixed",m.add(f).css(c)),f.css("zIndex",g.zIndex+1).fadeIn(g.fadeInSpeed,function(){k.isOpened()&&!a(this).index(f)?e.call():f.hide()})})}function f(c){var e=this.getOverlay().hide(),f=this.getConf(),g=this.getTrigger();e=e.data("img");var h={top:f.start.top,left:f.start.left,width:0};g&&a.extend(h,b(g)),f.fixed&&e.css({position:"absolute"}
).animate({top:"+="+d.scrollTop(),left:"+="+d.scrollLeft()},0),e.animate(h,f.closeSpeed,c)}var c=a.tools.overlay,d=a(window);a.extend(c.conf,{start:{top:null,left:null},fadeInSpeed:"fast",zIndex:9999}),c.addEffect("apple",e,f)}(jQuery),function(a){function b(a,b){return 32-(new Date(a,b,32)).getDate()}function c(a,b){a=""+a;for(b=b||2;a.length<b;)a="0"+a;return a}function d(a,b,d){var e=a.getDate(),f=a.getDay(),g=a.getMonth();a=a.getFullYear();var h={d:e,dd:c(e),ddd:l[d].shortDays[f],dddd:l[d].days[f],m:g+1,mm:c(g+1),mmm:l[d].shortMonths[g],mmmm:l[d].months[g],yy:String(a).slice(2),yyyy:a};return b=b.replace(m,function(a){return a in h?h[a]:a.slice(1,a.length-1)}),n.html(b).html()}function e(a){return parseInt(a,10)}function f(a,b){return a.getFullYear()===b.getFullYear()&&a.getMonth()==b.getMonth()&&a.getDate()==b.getDate()}function g(a){if(a){if(a.constructor==Date)return a;if(typeof a=="string"){var b=a.split("-");if(b.length==3)return new Date(e(b[0]),e(b[1])-1,e(b[2]));if(!/^-?\d+$/.test(a))return;a=e(a)}return b=new Date,b.setDate(b.getDate()+a),b}}function h(c,h){function j(b,e,f){A=b,w=b.getFullYear(),x=b.getMonth(),z=b.getDate(),f=f||a.Event("api"),f.type="change",H.trigger(f,[b]),f.isDefaultPrevented()||(c.val(d(b,e.format,e.lang)),c.data("date",b),n.hide(f))}function m(b){b.type="onShow",H.trigger(b),a(document).bind("keydown.d",function(b){if(b.ctrlKey)return!0;var d=b.keyCode;if(d==8)return c.val(""),n.hide(b);if(d==27)return n.hide(b);if(a(k).index(d)>=0){if(!F)return n.show(b),b.preventDefault();var e=a("#"+p.weeks+" a"),f=a("."+p.focus),g=e.index(f);f.removeClass(p.focus);if(d==74||d==40)g+=7;else if(d==75||d==38)g-=7;else if(d==76||d==39)g+=1;else if(d==72||d==37)g-=1;return g>41?(n.addMonth(),f=a("#"+p.weeks+" a:eq("+(g-42)+")")):g<0?(n.addMonth(-1),f=a("#"+p.weeks+" a:eq("+(g+42)+")")):f=e.eq(g),f.addClass(p.focus),b.preventDefault()}return d==34?n.addMonth():d==33?n.addMonth(-1):d==36?n.today():(d==13&&(a(b.target).is("select")||a("."+p.focus).click()),a([16,17,18,9]).index(d)>=0)}),a(document).bind("click.d",function(b){var d=b.target;!a(d).parents("#"+p.root).length&&d!=c[0]&&(!t||d!=t[0])&&n.hide(b)})}var n=this,o=new Date,p=h.css,q=l[h.lang],r=a("#"+p.root),s=r.find("#"+p.title),t,u,v,w,x,z,A=c.attr("data-value")||h.value||c.val(),D=c.attr("min")||h.min,E=c.attr("max")||h.max,F;D===0&&(D="0"),A=g(A)||o,D=g(D||h.yearRange[0]*365),E=g(E||h.yearRange[1]*365);if(!q)throw"Dateinput: invalid language: "+h.lang;if(c.attr("type")=="date"){var G=a("<input/>");a.each("class,disabled,id,maxlength,name,readonly,required,size,style,tabindex,title,value".split(","),function(a,b){G.attr(b,c.attr(b))}),c.replaceWith(G),c=G}c.addClass(p.input);var H=c.add(n);if(!r.length){r=a("<div><div><a/><div/><a/></div><div><div/><div/></div></div>").hide().css({position:"absolute"}).attr("id",p.root),r.children().eq(0).attr("id",p.head).end().eq(1).attr("id",p.body).children().eq(0).attr("id",p.days).end().eq(1).attr("id",p.weeks).end().end().end().find("a").eq(0).attr("id",p.prev).end().eq(1).attr("id",p.next),s=r.find("#"+p.head).find("div").attr("id",p.title);if(h.selectors){var I=a("<select/>").attr("id",p.month),J=a("<select/>").attr("id",p.year);s.append(I.add(J))}for(var K=r.find("#"+p.days),L=0;L<7;L++)K.append(a("<span/>").text(q.shortDays[(L+h.firstDay)%7]));a("body").append(r)}h.trigger&&(t=a("<a/>").attr("href","#").addClass(p.trigger).click(function(a){return n.show(),a.preventDefault()}).insertAfter(c));var M=r.find("#"+p.weeks);J=r.find("#"+p.year),I=r.find("#"+p.month),a.extend(n,{show:function(b){if(!c.is("[readonly]")&&!F){b=b||a.Event(),b.type="onBeforeShow",H.trigger(b);if(!b.isDefaultPrevented()){a.each(i,function(){this.hide()}),F=!0,I.unbind("change").change(function(){n.setValue(J.val(),a(this).val())}),J.unbind("change").change(function(){n.setValue(a(this).val(),I.val())}),u=r.find("#"+p.prev).unbind("click").click(function(){return u.hasClass(p.disabled)||n.addMonth(-1),!1}),v=r.find("#"+p.next).unbind("click").click(function(){return v.hasClass(p.disabled)||n.addMonth(),!1}),n.setValue(A);var d=c.position();return r.css({top:d.top+c.outerHeight({margins:!0})+h.offset[0],left:d.left+h.offset[1]}),h.speed?r.show(h.speed,function(){m(b)}):(r.show(),m(b)),n}}},setValue:function(c,d,g){var i;parseInt(d,10)>=-1?(c=e(c),d=e(d),g=e(g),i=new Date(c,d,g)):(i=c||A,c=i.getFullYear(),d=i.getMonth(),g=i.getDate()),d==-1?(d=11,c--):d==12&&(d=0,c++);if(!F)return j(i,h),n;x=d,w=c,g=new Date(c,d,1-h.firstDay),g=g.getDay();var k=b(c,d),l=b(c,d-1),m;if(h.selectors){I.empty(),a.each(q.months,function(b,d){D<new Date(c,b+1,-1)&&E>new Date(c,b,0)&&I.append(a("<option/>").html(d).attr("value",b))}),J.empty(),i=o.getFullYear();for(var r=i+h.yearRange[0];r<i+h.yearRange[1];r++)D<new Date(r+1,-1,0)&&E>new Date(r,0,0)&&J.append(a("<option/>").text(r));I.val(d),J.val(c)}else s.html(q.months[d]+" "+c);M.empty(),u.add(v).removeClass(p.disabled),r=g?0:-7;for(var t,z;r<(g?42:35);r++)t=a("<a/>"),r%7===0&&(m=a("<div/>").addClass(p.week),M.append(m)),r<g?(t.addClass(p.off),z=l-g+r+1,i=new Date(c,d-1,z)):r>=g+k?(t.addClass(p.off),z=r-k-g+1,i=new Date(c,d+1,z)):(z=r-g+1,i=new Date(c,d,z),f(A,i)?t.attr("id",p.current).addClass(p.focus):f(o,i)&&t.attr("id",p.today)),D&&i<D&&t.add(u).addClass(p.disabled),E&&i>E&&t.add(v).addClass(p.disabled),t.attr("href","#"+z).text(z).data("date",i),m.append(t);return M.find("a").click(function(b){var c=a(this);return c.hasClass(p.disabled)||(a("#"+p.current).removeAttr("id"),c.attr("id",p.current),j(c.data("date"),h,b)),!1}),p.sunday&&M.find(p.week).each(function(){var b=h.firstDay?7-h.firstDay:0;a(this).children().slice(b,b+1).addClass(p.sunday)}),n},setMin:function(a,b){return D=g(a),b&&A<D&&n.setValue(D),n},setMax:function(a,b){return E=g(a),b&&A>E&&n.setValue(E),n},today:function(){return n.setValue(o)},addDay:function(a){return this.setValue(w,x,z+(a||1))},addMonth:function(a){return this.setValue(w,x+(a||1),z)},addYear:function(a){return this.setValue(w+(a||1),x,z)},hide:function(b){if(F){b=a.Event(),b.type="onHide",H.trigger(b),a(document).unbind("click.d").unbind("keydown.d");if(b.isDefaultPrevented())return;r.hide(),F=!1}return n},getConf:function(){return h},getInput:function(){return c},getCalendar:function(){return r},getValue:function(a){return a?d(A,a,h.lang):A},isOpen:function(){return F}}),a.each(["onBeforeShow","onShow","change","onHide"],function(b,c){a.isFunction(h[c])&&a(n).bind(c,h[c]),n[c]=function(b){return a(n).bind(c,b),n}}),c.bind("focus click",n.show).keydown(function(b){var c=b.keyCode;return!F&&a(k).index(c)>=0?(n.show(b),b.preventDefault()):b.shiftKey||b.ctrlKey||b.altKey||c==9?!0:b.preventDefault()}),g(c.val())&&j(A,h)}a.tools=a.tools||{version:"1.2.4"};var i=[],j,k=[75,76,38,39,74,72,40,37],l={};j=a.tools.dateinput={conf:{format:"mm/dd/yy",selectors:!1,yearRange:[-5,5],lang:"en",offset:[0,0],speed:0,firstDay:0,min:undefined,max:undefined,trigger:!1,css:{prefix:"cal",input:"date",root:0,head:0,title:0,prev:0,next:0,month:0,year:0,days:0,body:0,weeks:0,today:0,current:0,week:0,off:0,sunday:0,focus:0,disabled:0,trigger:0}},localize:function(b,c){a.each(c,function(a,b){c[a]=b.split(",")}),l[b]=c}},j.localize("en",{months:"January,February,March,April,May,June,July,August,September,October,November,December",shortMonths:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec",days:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday",shortDays:"Sun,Mon,Tue,Wed,Thu,Fri,Sat"});var m=/d{1,4}|m{1,4}|yy(?:yy)?|"[^"]*"|'[^']*'/g,n=a("<a/>");a.expr[":"].date=function(b){var c=b.getAttribute("type");return c&&c=="date"||!!a(b).data("dateinput")},a.fn.dateinput=function(b){if(this.data("dateinput"))return this;b=a.extend(!0,{},j.conf,b),a.each(b.css,function(a,c){!c&&a!="prefix"&&(b.css[a]=(b.css.prefix||"")+(c||a))});var c;return this.each(function(){var d=new h(a(this),b);i.push(d),d=d.getInput().data("dateinput",d),c=c?c.add(d):d}),c?c:this}}(jQuery),function(a){function b(a,b){return b=Math.pow(10,b),Math.round(a*b)/b}function c(a,b){return(b=parseInt(a.css(b),10))?b:(a=a[0].currentStyle)&&a.width&&parseInt(a.width,10)}function d(a){return(a=a.data("events"))&&a.onSlide}function e(e,f){function g(a,c,d,g){d===undefined?d=c/q*u:g&&(d-=f.min),v&&(d=Math.round(d/v)*v);if(c===undefined||v)c=d*q/u;if(isNaN(d))return j;c=Math.max(0,Math.min(c,q)),d=c/q*u;if(g||!m)d+=f.min;m&&(g?c=q-c:d=f.max-d),d=b(d,w);var h=a.type=="click";if(A&&n!==undefined&&!h){a.type="onSlide",z.trigger(a,[d,c]);if(a.isDefaultPrevented())return j}return g=h?f.speed:0,h=h?function(){a.type="change",z.trigger(a,[d])}:null,m?(s.animate({top:c},g,h),f.progress&&t.animate({height:q-c+s.width()/2},g)):(s.animate({left:c},g,h),f.progress&&t.animate({width:c+s.width()/2},g)),n=d,r=c,e.val(d),j}function h(){(m=f.vertical||c(l,"height")>c(l,"width"))?(q=c(l,"height")-c(s,"height"),o=l.offset().top+q):(q=c(l,"width")-c(s,"width"),o=l.offset().left)}function i(){h(),j.setValue(f.value||f.min)}var j=this,k=f.css,l=a("<div><div/><a href='#'/></div>").data("rangeinput",j),m,n,o,q,r;e.before(l);var s=l.addClass(k.slider).find("a").addClass(k.handle),t=l.find("div").addClass(k.progress);a.each("min,max,step,value".split(","),function(a,b){a=e.attr(b),parseFloat(a)&&(f[b]=parseFloat(a,10))});var u=f.max-f.min,v=f.step=="any"?0:f.step,w=f.precision;if(w===undefined)try{w=v.toString().split(".")[1].length}catch(x){w=0}if(e.attr("type")=="range"){var y=a("<input/>");a.each("class,disabled,id,maxlength,name,readonly,required,size,style,tabindex,title,value".split(","),function(a,b){y.attr(b,e.attr(b))}),y.val(f.value),e.replaceWith(y),e=y}e.addClass(k.input);var z=a(j).add(e),A=!0;a.extend(j,{getValue:function(){return n},setValue:function(b,c){return g(c||a.Event("api"),undefined,b,!0)},getConf:function(){return f},getProgress:function(){return t},getHandle:function(){return s},getInput:function(){return e},step:function(b,c){c=c||a.Event();var d=f.step=="any"?1:f.step;j.setValue(n+d*(b||1),c)},stepUp:function(a){return j.step(a||1)},stepDown:function(a){return j.step(-a||-1)}}),a.each("onSlide,change".split(","),function(b,c){a.isFunction(f[c])&&a(j).bind(c,f[c]),j[c]=function(b){return a(j).bind(c,b),j}}),s.drag({drag:!1}).bind("dragStart",function(){A=d(a(j))||d(e)}).bind("drag",function(a,b,c){if(e.is(":disabled"))return!1;g(a,m?b:c)}).bind("dragEnd",function(a){a.isDefaultPrevented()||(a.type="change",z.trigger(a,[n]))}).click(function(a){return a.preventDefault()}),l.click(function(a){if(e.is(":disabled")||a.target==s[0])return a.preventDefault();h();var b=s.width()/2;g(a,m?q-o-b+a.pageY:a.pageX-o-b)}),f.keyboard&&e.keydown(function(b){if(!e.attr("readonly")){var c=b.keyCode,d=a([75,76,38,33,39]).index(c)!=-1,f=a([74,72,40,34,37]).index(c)!=-1;if((d||f)&&!(b.shiftKey||b.altKey||b.ctrlKey))return d?j.step(c==33?10:1,b):f&&j.step(c==34?-10:-1,b),b.preventDefault()}}),e.blur(function(b){var c=a(this).val();c!==n&&j.setValue(c,b)}),a.extend(e[0],{stepUp:j.stepUp,stepDown:j.stepDown}),i(),q||a(window).load(i)}a.tools=a.tools||{version:"1.2.4"};var f;f=a.tools.rangeinput={conf:{min:0,max:100,step:"any",steps:0,value:0,precision:undefined,vertical:0,keyboard:!0,progress:!1,speed:100,css:{input:"range",slider:"slider",progress:"progress",handle:"handle"}}};var g,h;a.fn.drag=function(b){return document.ondragstart=function(){return!1},b=a.extend({x:!0,y:!0,drag:!0},b),g=g||a(document).bind("mousedown mouseup",function(c){var d=a(c.target);if(c.type=="mousedown"&&d.data("drag")){var e=d.position(),f=c.pageX-e.left,i=c.pageY-e.top,j=!0;g.bind("mousemove.drag",function(a){var c=a.pageX-f;a=a.pageY-i;var e={};b.x&&(e.left=c),b.y&&(e.top=a),j&&(d.trigger("dragStart"),j=!1),b.drag&&d.css(e),d.trigger("drag",[a,c]),h=d}),c.preventDefault()}else try{h&&h.trigger("dragEnd")}finally{g.unbind("mousemove.drag"),h=null}}),this.data("drag",!0)},a.expr[":"].range=function(b){var c=b.getAttribute("type");return c&&c=="range"||!!a(b).filter("input").data("rangeinput")},a.fn.rangeinput=function(b){if(this.data("rangeinput"))return this;b=a.extend(!0,{},f.conf,b);var c;return this.each(function(){var d=new e(a(this),a.extend(!0,{},b));d=d.getInput().data("rangeinput",d),c=c?c.add(d):d}),c?c:this}}(jQuery),function(a){function b(a,b,c){var d=a.offset().top,e=a.offset().left,f=c.position.split(/,?\s+/),g=f[0];return f=f[1],d-=b.outerHeight()-c.offset[0],e+=a.outerWidth()+c.offset[1],c=b.outerHeight()+a.outerHeight(),g=="center"&&(d+=c/2),g=="bottom"&&(d+=c),a=a.outerWidth(),f=="center"&&(e-=(a+b.outerWidth())/2),f=="left"&&(e-=a),{top:d,left:e}}function c(a){function b(){return this.getAttribute("type")==a}return b.key="[type="+a+"]",b}function d(c,d,e){function f(b,c,d){if(!!e.grouped||!b.length){var f;d===!1||a.isArray(d)?(f=i.messages[c.key||c]||i.messages["*"],f=f[e.lang]||i.messages["*"].en,(c=f.match(/\$\d/g))&&a.isArray(d)&&a.each(c,function(a){f=f.replace(this,d[a])})):f=d[e.lang]||d,b.push(f)}}var g=this,h=d.add(g);c=c.not(":button, :image, :reset, :submit"),a.extend(g,{getConf:function(){return e},getForm:function(){return d},getInputs:function(){return c},reflow:function(){return c.each(function(){var c=a(this),d=c.data("msg.el");d&&(c=b(c,d,e),d.css({top:c.top,left:c.left}))}),g},invalidate:function(b,d){if(!d){var f=[];a.each(b,function(a,b){a=c.filter("[name='"+a+"']"),a.length&&(a.trigger("OI",[b]),f.push({input:a,messages:[b]}))}),b=f,d=a.Event()}return d.type="onFail",h.trigger(d,[b]),d.isDefaultPrevented()||k[e.effect][0].call(g,b,d),g},reset:function(b){return b=b||c,b.removeClass(e.errorClass).each(function(){var b=a(this).data("msg.el");b&&(b.remove(),a(this).data("msg.el",null))}).unbind(e.errorInputEvent||""),g},destroy:function(){return d.unbind(e.formEvent).unbind("reset.V"),c.unbind(e.inputEvent||"").unbind("change.V"),g.reset()},checkValidity:function(b,d){b=b||c,b=b.not(":disabled");if(!b.length)return!0;d=d||a.Event(),d.type="onBeforeValidate",h.trigger(d,[b]);if(d.isDefaultPrevented())return d.result;var i=[],l=e.errorInputEvent+".v";b.not(":radio:not(:checked)").each(function(){var b=[],c=a(this).unbind(l).data("messages",b);a.each(j,function(){var a=this,i=a[0];if(c.filter(i).length){a=a[1].call(g,c,c.val());if(a!==!0){d.type="onBeforeFail",h.trigger(d,[c,i]);if(d.isDefaultPrevented())return!1;var j=c.attr(e.messageAttr);if(j)return b=[j],!1;f(b,i,a)}}}),b.length&&(i.push({input:c,messages:b}),c.trigger("OI",[b]),e.errorInputEvent&&c.bind(l,function(a){g.checkValidity(c,a)}));if(e.singleError&&i.length)return!1});var m=k[e.effect];if(!m)throw'Validator: cannot find effect "'+e.effect+'"';return i.length?(g.invalidate(i,d),!1):(m[1].call(g,b,d),d.type="onSuccess",h.trigger(d,[b]),b.unbind(l),!0)}}),a.each("onBeforeValidate,onBeforeFail,onFail,onSuccess".split(","),function(b,c){a.isFunction(e[c])&&a(g).bind(c,e[c]),g[c]=function(b){return a(g).bind(c,b),g}}),e.formEvent&&d.bind(e.formEvent,function(a){if(!g.checkValidity(null,a))return a.preventDefault()}),d.bind("reset.V",function(){g.reset()}),c[0]&&c[0].validity&&c.each(function(){this.oninvalid=function(){return!1}}),d[0]&&(d[0].checkValidity=g.checkValidity),e.inputEvent&&c.bind(e.inputEvent,function(b){g.checkValidity(a(this),b)}),c.filter(":checkbox, select").filter("[required]").bind("change.V",function(b){var c=a(this);(this.checked||c.is("select")&&a(this).val())&&k[e.effect][1].call(g,c,b)});var l=c.filter(":radio").change(function(a){g.checkValidity(l,a)});a(window).resize(function(){g.reflow()})}a.tools=a.tools||{version:"1.2.4"};var e=/\[type=([a-z]+)\]/,f=/^-?[0-9]*(\.[0-9]+)?$/,g=/^([a-z0-9_\.\-\+]+)@([\da-z\.\-]+)\.([a-z\.]{2,6})$/i,h=/^(https?:\/\/)?[\da-z\.\-]+\.[a-z\.]{2,6}[#\?\/\w \.\-=]*$/i,i;i=a.tools.validator={conf:{grouped:!1,effect:"default",errorClass:"invalid",inputEvent:null,errorInputEvent:"keyup",formEvent:"submit",lang:"en",message:"<div/>",messageAttr:"data-message",messageClass:"error",offset:[0,0],position:"center right",singleError:!1,speed:"normal"},messages:{"*":{en:"Please correct this value"}},localize:function(b,c){a.each(c,function(a,c){i.messages[a]=i.messages[a]||{},i.messages[a][b]=c})},localizeFn:function(b,c){i.messages[b]=i.messages[b]||{},a.extend(i.messages[b],c)},fn:function(b,d,f){a.isFunction(d)?f=d:(typeof d=="string"&&(d={en:d}),this.messages[b.key||b]=d);if(d=e.exec(b))b=c(d[1]);j.push([b,f])},addEffect:function(a,b,c){k[a]=[b,c]}};var j=[],k={"default":[function(c){var d=this.getConf();a.each(c,function(c,e){c=e.input,c.addClass(d.errorClass);var f=c.data("msg.el");f||(f=a(d.message).addClass(d.messageClass).appendTo(document.body),c.data("msg.el",f)),f.css({visibility:"hidden",display:"none"}).find("span").remove(),a.each(e.messages,function(b,c){a("<span/>").html(c).appendTo(f)}),f.outerWidth()==f.parent().width()&&f.add(f.find("p")).css({display:"inline"}),e=b(c,f,d),f.css({visibility:"visible",position:"absolute",top:e.top,left:e.left}).fadeIn(d.speed)})},function(b){var c=this.getConf();b.removeClass(c.errorClass).each(function(){var b=a(this).data("msg.el");b&&b.css({visibility:"hidden"})})}]};a.each("email,url,number".split(","),function(b,c){a.expr[":"][c]=function(a){return a.getAttribute("type")===c}}),a.fn.oninvalid=function(a){return this[a?"bind":"trigger"]("OI",a)},i.fn(":email","Please enter a valid email address",function(a,b){return!b||g.test(b)}),i.fn(":url","Please enter a valid URL",function(a,b){return!b||h.test(b)}),i.fn(":number","Please enter a numeric value.",function(a,b){return f.test(b)}),i.fn("[max]","Please enter a value smaller than $1",function(b,c){return c===""||a.tools.dateinput&&b.is(":date")?!0:(b=b.attr("max"),parseFloat(c)<=parseFloat(b)?!0:[b])}),i.fn("[min]","Please enter a value larger than $1",function(b,c){return c===""||a.tools.dateinput&&b.is(":date")?!0:(b=b.attr("min"),parseFloat(c)>=parseFloat(b)?!0:[b])}),i.fn("[required]","Please complete this mandatory field.",function(a,b){return a.is(":checkbox")?a.is(":checked"):!!b}),i.fn("[pattern]",function(a){var b=new RegExp("^"+a.attr("pattern")+"$");return b.test(a.val())}),a.fn.validator=function(b){var c=this.data("validator");return c&&(c.destroy(),this.removeData("validator")),b=a.extend(!0,{},i.conf,b),this.is("form")?this.each(function(){var e=a(this);c=new d(e.find(":input"),e,b),e.data("validator",c)}):(c=new d(this,this.eq(0).closest("form"),b),this.data("validator",c))}}(jQuery),function(a){a.fn.tweet=function(b){function d(a){return Date.parse(a.replace(/^([a-z]{3})( [a-z]{3} \d\d?)(.*)( \d{4})$/i,"$1,$2$4$3"))}function e(a){var b=d(a),c=arguments.length>1?arguments[1]:new Date,e=parseInt((c.getTime()-b)/1e3),f="";return e<60?f=e+" seconds ago":e<120?f="a minute ago":e<2700?f=parseInt(e/60,10).toString()+" minutes ago":e<7200?f="an hour ago":e<86400?f=""+parseInt(e/3600,10).toString()+" hours ago":e<172800?f="a day ago":f=parseInt(e/86400,10).toString()+" days ago",f}function f(){var a="https:"==document.location.protocol?"https:":"http:";if(c.list)return a+"//"+c.twitter_api_url+"/1/"+c.username[0]+"/lists/"+c.list+"/statuses.json?per_page="+c.count+"&callback=?";if(c.query==null&&c.username.length==1)return a+"//"+c.twitter_api_url+"/1/statuses/user_timeline.json?screen_name="+c.username[0]+"&count="+c.count+"&include_rts=1&callback=?";var b=c.query||"from:"+c.username.join(" OR from:");return a+"//"+c.twitter_search_url+"/search.json?&q="+encodeURIComponent(b)+"&rpp="+c.count+"&callback=?"}var c={username:["seaofclouds"],list:null,avatar_size:null,count:3,intro_text:null,outro_text:null,join_text:null,auto_join_text_default:"i said,",auto_join_text_ed:"i",auto_join_text_ing:"i am",auto_join_text_reply:"i replied to",auto_join_text_url:"i was looking at",loading_text:null,query:null,refresh_interval:null,twitter_url:"twitter.com",twitter_api_url:"api.twitter.com",twitter_search_url:"search.twitter.com"};return b&&a.extend(c,b),a.fn.extend({linkUrl:function(){var b=[],c=/\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/gi;return this.each(function(){b.push(this.replace(c,function(a){var b=/^[a-z]+:/i.test(a)?a:"http://"+a;return'<a href="'+b+'">'+a+"</a>"}))}),a(b)},linkUser:function(){var b=[],d=/[\@]+([A-Za-z0-9-_]+)/gi;return this.each(function(){b.push(this.replace(d,'<a href="http://'+c.twitter_url+'/$1">@$1</a>'))}),a(b)},linkHash:function(){var b=[],d=/(?:^| )[\#]+([A-Za-z0-9-_]+)/gi;return this.each(function(){b.push(this.replace(d,' <a href="http://'+c.twitter_search_url+"/search?q=&tag=$1&lang=all&from="+c.username.join("%2BOR%2B")+'">#$1</a>'))}),a(b)},capAwesome:function(){var b=[];return this.each(function(){b.push(this.replace(/\b(awesome)\b/gi,'<span class="awesome">$1</span>'))}),a(b)},capEpic:function(){var b=[];return this.each(function(){b.push(this.replace(/\b(epic)\b/gi,'<span class="epic">$1</span>'))}),a(b)},makeHeart:function(){var b=[];return this.each(function(){b.push(this.replace(/(&lt;)+[3]/gi,"<tt class='heart'>&#x2665;</tt>"))}),a(b)}}),this.each(function(b,d){var g=a('<ul class="tweet_list">').appendTo(d),h='<p class="tweet_intro">'+c.intro_text+"</p>",i='<p class="tweet_outro">'+c.outro_text+"</p>",j=a('<p class="loading">'+c.loading_text+"</p>");typeof c.username=="string"&&(c.username=[c.username]),c.loading_text&&a(d).append(j),a(d).bind("load",function(){a.getJSON(f(),function(b){c.loading_text&&j.remove(),c.intro_text&&g.before(h),g.empty();var f=b.results||b;a.each(f,function(b,d){if(c.join_text=="auto")if(d.text.match(/^(@([A-Za-z0-9-_]+)) .*/i))var f=c.auto_join_text_reply;else if(d.text.match(/(^\w+:\/\/[A-Za-z0-9-_]+\.[A-Za-z0-9-_:%&\?\/.=]+) .*/i))var f=c.auto_join_text_url;else if(d.text.match(/^((\w+ed)|just) .*/im))var f=c.auto_join_text_ed;else if(d.text.match(/^(\w*ing) .*/i))var f=c.auto_join_text_ing;else var f=c.auto_join_text_default;else var f=c.join_text;var h=d.from_user||d.user.screen_name,i=d.profile_image_url||d.user.profile_image_url,j='<span class="tweet_join"> '+f+" </span>",k=c.join_text?j:" ",l='<a class="tweet_avatar" href="http://'+c.twitter_url+"/"+h+'"><img src="'+i+'" height="'+c.avatar_size+'" width="'+c.avatar_size+'" alt="'+h+'\'s avatar" title="'+h+'\'s avatar" border="0"/></a>',m=c.avatar_size?l:"",n='<span class="tweet_time"><a href="http://'+c.twitter_url+"/"+h+"/statuses/"+d.id_str+'" title="view tweet on twitter">'+e(d.created_at)+"</a></span>",o='<span class="tweet_text">'+a([d.text]).linkUrl().linkUser().linkHash().makeHeart().capAwesome().capEpic()[0]+"</span>";g.append("<li>"+m+n+k+o+"</li>"),g.children("li:first").addClass("tweet_first"),g.children("li:odd").addClass("tweet_even"),g.children("li:even").addClass("tweet_odd")}),c.outro_text&&g.after(i),a(d).trigger("loaded").trigger(f.length==0?"empty":"full"),c.refresh_interval&&window.setTimeout(function(){a(d).trigger("load")},1e3*c.refresh_interval)})}).trigger("load")})}}(jQuery),function(){}.call(this),function(){}.call(this),function(){}.call(this),function(){}.call(this);var DD_belatedPNG={ns:"DD_belatedPNG",imgSize:{},delay:10,nodesFixed:0,createVmlNameSpace:function(){document.namespaces&&!document.namespaces[this.ns]&&document.namespaces.add(this.ns,"urn:schemas-microsoft-com:vml")},createVmlStyleSheet:function(){var a,b;a=document.createElement("style"),a.setAttribute("media","screen"),document.documentElement.firstChild.insertBefore(a,document.documentElement.firstChild.firstChild),a.styleSheet&&(a=a.styleSheet,a.addRule(this.ns+"\\:*","{behavior:url(#default#VML)}"),a.addRule(this.ns+"\\:shape","position:absolute;"),a.addRule("img."+this.ns+"_sizeFinder","behavior:none; border:none; position:absolute; z-index:-1; top:-10000px; visibility:hidden;"),this.screenStyleSheet=a,b=document.createElement("style"),b.setAttribute("media","print"),document.documentElement.firstChild.insertBefore(b,document.documentElement.firstChild.firstChild),b=b.styleSheet,b.addRule(this.ns+"\\:*","{display: none !important;}"),b.addRule("img."+this.ns+"_sizeFinder","{display: none !important;}"))},readPropertyChange:function(){var a,b,c;a=event.srcElement;if(!a.vmlInitiated)return;(event.propertyName.search("background")!=-1||event.propertyName.search("border")!=-1)&&DD_belatedPNG.applyVML(a);if(event.propertyName=="style.display"){b=a.currentStyle.display=="none"?"none":"block";for(c in a.vml)a.vml.hasOwnProperty(c)&&(a.vml[c].shape.style.display=b)}event.propertyName.search("filter")!=-1&&DD_belatedPNG.vmlOpacity(a)},vmlOpacity:function(a){if(a.currentStyle.filter.search("lpha")!=-1){var b=a.currentStyle.filter;b=parseInt(b.substring(b.lastIndexOf("=")+1,b.lastIndexOf(")")),10)/100,a.vml.color.shape.style.filter=a.currentStyle.filter,a.vml.image.fill.opacity=b}},handlePseudoHover:function(a){setTimeout(function(){DD_belatedPNG.applyVML(a)},1)},fix:function(a){if(this.screenStyleSheet){var b,c;b=a.split(",");for(c=0;c<b.length;c++)this.screenStyleSheet.addRule(b[c],"behavior:expression(DD_belatedPNG.fixPng(this))")}},applyVML:function(a){a.runtimeStyle.cssText="",this.vmlFill(a),this.vmlOffsets(a),this.vmlOpacity(a),a.isImg&&this.copyImageBorders(a)},attachHandlers:function(a){var b,c,d,e,f,g;b=this,c={resize:"vmlOffsets",move:"vmlOffsets"};if(a.nodeName=="A"){e={mouseleave:"handlePseudoHover",mouseenter:"handlePseudoHover",focus:"handlePseudoHover",blur:"handlePseudoHover"};for(f in e)e.hasOwnProperty(f)&&(c[f]=e[f])}for(g in c)c.hasOwnProperty(g)&&(d=function(){b[c[g]](a)},a.attachEvent("on"+g,d));a.attachEvent("onpropertychange",this.readPropertyChange)},giveLayout:function(a){a.style.zoom=1,a.currentStyle.position=="static"&&(a.style.position="relative")},copyImageBorders:function(a){var b,c;b={borderStyle:!0,borderWidth:!0,borderColor:!0};for(c in b)b.hasOwnProperty(c)&&(a.vml.color.shape.style[c]=a.currentStyle[c])},vmlFill:function(a){if(!a.currentStyle)return;var b,c,d,e,f,g;b=a.currentStyle;for(e in a.vml)a.vml.hasOwnProperty(e)&&(a.vml[e].shape.style.zIndex=b.zIndex);a.runtimeStyle.backgroundColor="",a.runtimeStyle.backgroundImage="",c=!0;if(b.backgroundImage!="none"||a.isImg)a.isImg?a.vmlBg=a.src:(a.vmlBg=b.backgroundImage,a.vmlBg=a.vmlBg.substr(5,a.vmlBg.lastIndexOf('")')-5)),d=this,d.imgSize[a.vmlBg]||(f=document.createElement("img"),d.imgSize[a.vmlBg]=f,f.className=d.ns+"_sizeFinder",f.runtimeStyle.cssText="behavior:none; position:absolute; left:-10000px; top:-10000px; border:none; margin:0; padding:0;",g=function(){this.width=this.offsetWidth,this.height=this.offsetHeight,d.vmlOffsets(a)},f.attachEvent("onload",g),f.src=a.vmlBg,f.removeAttribute("width"),f.removeAttribute("height"),document.body.insertBefore(f,document.body.firstChild)),a.vml.image.fill.src=a.vmlBg,c=!1;a.vml.image.fill.on=!c,a.vml.image.fill.color="none",a.vml.color.shape.style.backgroundColor=b.backgroundColor,a.runtimeStyle.backgroundImage="none",a.runtimeStyle.backgroundColor="transparent"},vmlOffsets:function(a){var b,c,d,e,f,g,h,i,j,k,l;b=a.currentStyle,c={W:a.clientWidth+1,H:a.clientHeight+1,w:this.imgSize[a.vmlBg].width,h:this.imgSize[a.vmlBg].height,L:a.offsetLeft,T:a.offsetTop,bLW:a.clientLeft,bTW:a.clientTop},d=c.L+c.bLW==1?1:0,e=function(a,b,c,d,e,f){a.coordsize=d+","+e,a.coordorigin=f+","+f,a.path="m0,0l"+d+",0l"+d+","+e+"l0,"+e+" xe",a.style.width=d+"px",a.style.height=e+"px",a.style.left=b+"px",a.style.top=c+"px"},e(a.vml.color.shape,c.L+(a.isImg?0:c.bLW),c.T+(a.isImg?0:c.bTW),c.W-1,c.H-1,0),e(a.vml.image.shape,c.L+c.bLW,c.T+c.bTW,c.W,c.H,1),f={X:0,Y:0};if(a.isImg)f.X=parseInt(b.paddingLeft,10)+1,f.Y=parseInt(b.paddingTop,10)+1;else for(j in f)f.hasOwnProperty(j)&&this.figurePercentage(f,c,j,b["backgroundPosition"+j]);a.vml.image.fill.position=f.X/c.W+","+f.Y/c.H,g=b.backgroundRepeat,h={T:1,R:c.W+d,B:c.H,L:1+d},i={X:{b1:"L",b2:"R",d:"W"},Y:{b1:"T",b2:"B",d:"H"}},g!="repeat"||a.isImg?(k={T:f.Y,R:f.X+c.w,B:f.Y+c.h,L:f.X},g.search("repeat-")!=-1&&(l=g.split("repeat-")[1].toUpperCase(),k[i[l].b1]=1,k[i[l].b2]=c[i[l].d]),k.B>c.H&&(k.B=c.H),a.vml.image.shape.style.clip="rect("+k.T+"px "+(k.R+d)+"px "+k.B+"px "+(k.L+d)+"px)"):a.vml.image.shape.style.clip="rect("+h.T+"px "+h.R+"px "+h.B+"px "+h.L+"px)"},figurePercentage:function(a,b,c,d){var e,f;f=!0,e=c=="X";switch(d){case"left":case"top":a[c]=0;break;case"center":a[c]=.5;break;case"right":case"bottom":a[c]=1;break;default:d.search("%")!=-1?a[c]=parseInt(d,10)/100:f=!1}return a[c]=Math.ceil(f?b[e?"W":"H"]*a[c]-b[e?"w":"h"]*a[c]:parseInt(d,10)),a[c]%2===0&&a[c]++,a[c]},fixPng:function(a){a.style.behavior="none";var b,c,d,e,f;if(a.nodeName=="BODY"||a.nodeName=="TD"||a.nodeName=="TR")return;a.isImg=!1;if(a.nodeName=="IMG"){if(a.src.toLowerCase().search(/\.png$/)==-1)return;a.isImg=!0,a.style.visibility="hidden"}else if(a.currentStyle.backgroundImage.toLowerCase().search(".png")==-1)return;b=DD_belatedPNG,a.vml={color:{},image:{}},c={shape:{},fill:{}};for(e in a.vml)if(a.vml.hasOwnProperty(e)){for(f in c)c.hasOwnProperty(f)&&(d=b.ns+":"+f,a.vml[e][f]=document.createElement(d));a.vml[e].shape.stroked=!1,a.vml[e].shape.appendChild(a.vml[e].fill),a.parentNode.insertBefore(a.vml[e].shape,a)}a.vml.image.shape.fillcolor="none",a.vml.image.fill.type="tile",a.vml.color.fill.on=!1,b.attachHandlers(a),b.giveLayout(a),b.giveLayout(a.offsetParent),a.vmlInitiated=!0,b.applyVML(a)}};try{document.execCommand("BackgroundImageCache",!1,!0)}catch(r){}DD_belatedPNG.createVmlNameSpace(),DD_belatedPNG.createVmlStyleSheet(),function(){}.call(this);if(BrowserDetect.browser!="Opera"){var DD_roundies={ns:"DD_roundies",IE6:!1,IE7:!1,IE8:!1,IEversion:function(){document.documentMode!=8&&document.namespaces&&!document.namespaces[this.ns]?(this.IE6=!0,this.IE7=!0):document.documentMode==8&&(this.IE8=!0)},querySelector:document.querySelectorAll,selectorsToProcess:[],imgSize:{},createVmlNameSpace:function(){(this.IE6||this.IE7)&&document.namespaces.add(this.ns,"urn:schemas-microsoft-com:vml"),this.IE8&&document.writeln('<?import namespace="'+this.ns+'" implementation="#default#VML" ?>')},createVmlStyleSheet:function(){var a=document.createElement("style");document.documentElement.firstChild.insertBefore(a,document.documentElement.firstChild.firstChild);if(a.styleSheet)try{var b=a.styleSheet;b.addRule(this.ns+"\\:*","{behavior:url(#default#VML)}"),this.styleSheet=b}catch(c){}else this.styleSheet=a},addRule:function(a,b,c){if(typeof b=="undefined"||b===null)b=0;b.constructor.toString().search("Array")==-1&&(b=b.toString().replace(/[^0-9 ]/g,"").split(" "));for(var d=0;d<4;d++)b[d]=!b[d]&&b[d]!==0?b[Math.max(d-2,0)]:b[d];if(this.styleSheet){if(this.styleSheet.addRule){var e=a.split(",");for(var d=0;d<e.length;d++)this.styleSheet.addRule(e[d],"behavior:expression(DD_roundies.roundify.call(this, ["+b.join(",")+"]))")}else if(c){var f=b.join("px ")+"px";this.styleSheet.appendChild(document.createTextNode(a+" {border-radius:"+f+"; -moz-border-radius:"+f+";}")),this.styleSheet.appendChild(document.createTextNode(a+" {-webkit-border-top-left-radius:"+b[0]+"px "+b[0]+"px; -webkit-border-top-right-radius:"+b[1]+"px "+b[1]+"px; -webkit-border-bottom-right-radius:"+b[2]+"px "+b[2]+"px; -webkit-border-bottom-left-radius:"+b[3]+"px "+b[3]+"px;}"))}}else this.IE8&&this.selectorsToProcess.push({selector:a,radii:b})},readPropertyChanges:function(a){switch(event.propertyName){case"style.border":case"style.borderWidth":case"style.padding":this.applyVML(a);break;case"style.borderColor":this.vmlStrokeColor(a);break;case"style.backgroundColor":case"style.backgroundPosition":case"style.backgroundRepeat":this.applyVML(a);break;case"style.display":a.vmlBox.style.display=a.style.display=="none"?"none":"block";break;case"style.filter":this.vmlOpacity(a);break;case"style.zIndex":a.vmlBox.style.zIndex=a.style.zIndex}},applyVML:function(a){a.runtimeStyle.cssText="",this.vmlFill(a),this.vmlStrokeColor(a),this.vmlStrokeWeight(a),this.vmlOffsets(a),this.vmlPath(a),this.nixBorder(a),this.vmlOpacity(a)},vmlOpacity:function(a){if(a.currentStyle.filter.search("lpha")!=-1){var b=a.currentStyle.filter;b=parseInt(b.substring(b.lastIndexOf("=")+1,b.lastIndexOf(")")),10)/100;for(var c in a.vml)a.vml[c].filler.opacity=b}},vmlFill:function(a){if(!a.currentStyle)return;var b=a.currentStyle;a.runtimeStyle.backgroundColor="",a.runtimeStyle.backgroundImage="";var c=b.backgroundColor=="transparent",d=!0;if(b.backgroundImage!="none"||a.isImg){a.isImg?a.vmlBg=a.src:(a.vmlBg=b.backgroundImage,a.vmlBg=a.vmlBg.substr(5,a.vmlBg.lastIndexOf('")')-5));var e=this;if(!e.imgSize[a.vmlBg]){var f=document.createElement("img");f.attachEvent("onload",function(){this.width=this.offsetWidth,this.height=this.offsetHeight,e.vmlOffsets(a)}),f.className=e.ns+"_sizeFinder",f.runtimeStyle.cssText="behavior:none; position:absolute; top:-10000px; left:-10000px; border:none;",f.src=a.vmlBg,f.removeAttribute("width"),f.removeAttribute
("height"),document.body.insertBefore(f,document.body.firstChild),e.imgSize[a.vmlBg]=f}a.vml.image.filler.src=a.vmlBg,d=!1}a.vml.image.filled=!d,a.vml.image.fillcolor="none",a.vml.color.filled=!c,a.vml.color.fillcolor=b.backgroundColor,a.runtimeStyle.backgroundImage="none",a.runtimeStyle.backgroundColor="transparent"},vmlStrokeColor:function(a){a.vml.stroke.fillcolor=a.currentStyle.borderColor},vmlStrokeWeight:function(a){var b=["Top","Right","Bottom","Left"];a.bW={};for(var c=0;c<4;c++)a.bW[b[c]]=parseInt(a.currentStyle["border"+b[c]+"Width"],10)||0},vmlOffsets:function(a){var b=["Left","Top","Width","Height"];for(var c=0;c<4;c++)a.dim[b[c]]=a["offset"+b[c]];var d=function(b,c){b.style.left=(c?0:a.dim.Left)+"px",b.style.top=(c?0:a.dim.Top)+"px",b.style.width=a.dim.Width+"px",b.style.height=a.dim.Height+"px"};for(var e in a.vml){var f=e=="image"?1:2;a.vml[e].coordsize=a.dim.Width*f+", "+a.dim.Height*f,d(a.vml[e],!0)}d(a.vmlBox,!1),DD_roundies.IE8&&(a.vml.stroke.style.margin="-1px",typeof a.bW=="undefined"&&this.vmlStrokeWeight(a),a.vml.color.style.margin=a.bW.Top-1+"px "+(a.bW.Left-1)+"px")},vmlPath:function(a){var b=function(a,b,c,d,e,f,g){var h=a?["m","qy","l","qx","l","qy","l","qx","l"]:["qx","l","qy","l","qx","l","qy","l","m"];e*=g,f*=g,b*=g,c*=g;var i=d.slice();for(var j=0;j<4;j++)i[j]*=g,i[j]=Math.min(b/2,c/2,i[j]);var k=[h[0]+Math.floor(0+e)+","+Math.floor(i[0]+f),h[1]+Math.floor(i[0]+e)+","+Math.floor(0+f),h[2]+Math.ceil(b-i[1]+e)+","+Math.floor(0+f),h[3]+Math.ceil(b+e)+","+Math.floor(i[1]+f),h[4]+Math.ceil(b+e)+","+Math.ceil(c-i[2]+f),h[5]+Math.ceil(b-i[2]+e)+","+Math.ceil(c+f),h[6]+Math.floor(i[3]+e)+","+Math.ceil(c+f),h[7]+Math.floor(0+e)+","+Math.ceil(c-i[3]+f),h[8]+Math.floor(0+e)+","+Math.floor(i[0]+f)];a||k.reverse();var l=k.join("");return l};typeof a.bW=="undefined"&&this.vmlStrokeWeight(a);var c=a.bW,d=a.DD_radii.slice(),e=b(!0,a.dim.Width,a.dim.Height,d,0,0,2);d[0]-=Math.max(c.Left,c.Top),d[1]-=Math.max(c.Top,c.Right),d[2]-=Math.max(c.Right,c.Bottom),d[3]-=Math.max(c.Bottom,c.Left);for(var f=0;f<4;f++)d[f]=Math.max(d[f],0);var g=b(!1,a.dim.Width-c.Left-c.Right,a.dim.Height-c.Top-c.Bottom,d,c.Left,c.Top,2),h=b(!0,a.dim.Width-c.Left-c.Right+1,a.dim.Height-c.Top-c.Bottom+1,d,c.Left,c.Top,1);a.vml.color.path=g,a.vml.image.path=h,a.vml.stroke.path=e+g,this.clipImage(a)},nixBorder:function(a){var b=a.currentStyle,c=["Top","Left","Right","Bottom"];for(var d=0;d<4;d++)a.runtimeStyle["padding"+c[d]]=(parseInt(b["padding"+c[d]],10)||0)+(parseInt(b["border"+c[d]+"Width"],10)||0)+"px";a.runtimeStyle.border="none"},clipImage:function(a){var b=DD_roundies;if(!a.vmlBg||!b.imgSize[a.vmlBg])return;var c=a.currentStyle,d={X:0,Y:0},e=function(c,e){var f=!0;switch(e){case"left":case"top":d[c]=0;break;case"center":d[c]=.5;break;case"right":case"bottom":d[c]=1;break;default:e.search("%")!=-1?d[c]=parseInt(e,10)*.01:f=!1}var g=c=="X";d[c]=Math.ceil(f?(a.dim[g?"Width":"Height"]-(a.bW[g?"Left":"Top"]+a.bW[g?"Right":"Bottom"]))*d[c]-b.imgSize[a.vmlBg][g?"width":"height"]*d[c]:parseInt(e,10)),d[c]+=1};for(var f in d)e(f,c["backgroundPosition"+f]);a.vml.image.filler.position=d.X/(a.dim.Width-a.bW.Left-a.bW.Right+1)+","+d.Y/(a.dim.Height-a.bW.Top-a.bW.Bottom+1);var g=c.backgroundRepeat,h={T:1,R:a.dim.Width+1,B:a.dim.Height+1,L:1},i={X:{b1:"L",b2:"R",d:"Width"},Y:{b1:"T",b2:"B",d:"Height"}};if(g!="repeat"){h={T:d.Y,R:d.X+b.imgSize[a.vmlBg].width,B:d.Y+b.imgSize[a.vmlBg].height,L:d.X};if(g.search("repeat-")!=-1){var j=g.split("repeat-")[1].toUpperCase();h[i[j].b1]=1,h[i[j].b2]=a.dim[i[j].d]+1}h.B>a.dim.Height&&(h.B=a.dim.Height+1)}a.vml.image.style.clip="rect("+h.T+"px "+h.R+"px "+h.B+"px "+h.L+"px)"},pseudoClass:function(a){var b=this;setTimeout(function(){b.applyVML(a)},1)},reposition:function(a){this.vmlOffsets(a),this.vmlPath(a)},roundify:function(a){this.style.behavior="none";if(!this.currentStyle)return;var b=this.currentStyle,c={BODY:!1,TABLE:!1,TR:!1,TD:!1,SELECT:!1,OPTION:!1,TEXTAREA:!1};if(c[this.nodeName]===!1)return;var d=this,e=DD_roundies;this.DD_radii=a,this.dim={};var f={resize:"reposition",move:"reposition"};if(this.nodeName=="A"){var g={mouseleave:"pseudoClass",mouseenter:"pseudoClass",focus:"pseudoClass",blur:"pseudoClass"};for(var h in g)f[h]=g[h]}for(var i in f)this.attachEvent("on"+i,function(){e[f[i]](d)});this.attachEvent("onpropertychange",function(){e.readPropertyChanges(d)});var j=function(a){a.style.zoom=1,a.currentStyle.position=="static"&&(a.style.position="relative")};j(this.offsetParent),j(this),this.vmlBox=document.createElement("ignore"),this.vmlBox.runtimeStyle.cssText="behavior:none; position:absolute; margin:0; padding:0; border:0; background:none;",this.vmlBox.style.zIndex=b.zIndex,this.vml={color:!0,image:!0,stroke:!0};for(var k in this.vml)this.vml[k]=document.createElement(e.ns+":shape"),this.vml[k].filler=document.createElement(e.ns+":fill"),this.vml[k].appendChild(this.vml[k].filler),this.vml[k].stroked=!1,this.vml[k].style.position="absolute",this.vml[k].style.zIndex=b.zIndex,this.vml[k].coordorigin="1,1",this.vmlBox.appendChild(this.vml[k]);this.vml.image.fillcolor="none",this.vml.image.filler.type="tile",this.parentNode.insertBefore(this.vmlBox,this),this.isImg=!1,this.nodeName=="IMG"&&(this.isImg=!0,this.style.visibility="hidden"),setTimeout(function(){e.applyVML(d)},1)}};try{document.execCommand("BackgroundImageCache",!1,!0)}catch(err){}DD_roundies.IEversion(),DD_roundies.createVmlNameSpace(),DD_roundies.createVmlStyleSheet(),DD_roundies.IE8&&document.attachEvent&&DD_roundies.querySelector&&document.attachEvent("onreadystatechange",function(){if(document.readyState=="complete"){var a=DD_roundies.selectorsToProcess,b=a.length,c=function(a,b,c){setTimeout(function(){DD_roundies.roundify.call(a,b)},c*100)};for(var d=0;d<b;d++){var e=document.querySelectorAll(a[d].selector),f=e.length;for(var g=0;g<f;g++)e[g].nodeName!="INPUT"&&c(e[g],a[d].radii,g)}}})}var manual_or_random="manual",randomsetting="3 days";if(manual_or_random=="manual"){var selectedtitle=getCookie("apptastiksheet");document.getElementById&&selectedtitle!=null&&setStylesheet(selectedtitle)}else manual_or_random=="random"&&(randomsetting=="eachtime"?setStylesheet("","random"):randomsetting=="sessiononly"?getCookie("apptastiksheet_s")==null?document.cookie="apptastiksheet_s="+setStylesheet("","random")+"; path=/":setStylesheet(getCookie("apptastiksheet_s")):randomsetting.search(/^[1-9]+ days/i)!=-1&&(getCookie("apptastiksheet_r")==null||parseInt(getCookie("apptastiksheet_r_days"))!=parseInt(randomsetting)?(setCookie("apptastiksheet_r",setStylesheet("","random"),parseInt(randomsetting)),setCookie("apptastiksheet_r_days",randomsetting,parseInt(randomsetting))):setStylesheet(getCookie("apptastiksheet_r"))));(function(a){a.fn.superfish=function(b){var c=a.fn.superfish,d=c.c,e=a(['<span class="',d.arrowClass,'"> &#187;</span>'].join("")),f=function(){var b=a(this),c=h(b);clearTimeout(c.sfTimer),b.showSuperfishUl().siblings().hideSuperfishUl()},g=function(){var b=a(this),d=h(b),e=c.op;clearTimeout(d.sfTimer),d.sfTimer=setTimeout(function(){e.retainPath=a.inArray(b[0],e.$path)>-1,b.hideSuperfishUl(),e.$path.length&&b.parents(["li.",e.hoverClass].join("")).length<1&&f.call(e.$path)},e.delay)},h=function(a){var b=a.parents(["ul.",d.menuClass,":first"].join(""))[0];return c.op=c.o[b.serial],b},i=function(a){a.addClass(d.anchorClass).append(e.clone())};return this.each(function(){var e=this.serial=c.o.length,h=a.extend({},c.defaults,b);h.$path=a("li."+h.pathClass,this).slice(0,h.pathLevels).each(function(){a(this).addClass([h.hoverClass,d.bcClass].join(" ")).filter("li:has(ul)").removeClass(h.pathClass)}),c.o[e]=c.op=h,a("li:has(ul)",this)[a.fn.hoverIntent&&!h.disableHI?"hoverIntent":"hover"](f,g).each(function(){h.autoArrows&&i(a(">a:first-child",this))}).not("."+d.bcClass).hideSuperfishUl();var j=a("a",this);j.each(function(a){var b=j.eq(a).parents("li");j.eq(a).focus(function(){f.call(b)}).blur(function(){g.call(b)})}),h.onInit.call(this)}).each(function(){var b=[d.menuClass];c.op.dropShadows&&!(a.browser.msie&&a.browser.version<7)&&b.push(d.shadowClass),a(this).addClass(b.join(" "))})};var b=a.fn.superfish;b.o=[],b.op={},b.IE7fix=function(){var c=b.op;a.browser.msie&&a.browser.version>6&&c.dropShadows&&c.animation.opacity!=undefined&&this.toggleClass(b.c.shadowClass+"-off")},b.c={bcClass:"sf-breadcrumb",menuClass:"sf-js-enabled",anchorClass:"sf-with-ul",arrowClass:"sf-sub-indicator",shadowClass:"sf-shadow"},b.defaults={hoverClass:"sfHover",pathClass:"overideThisToUse",pathLevels:1,delay:800,animation:{opacity:"show"},speed:"normal",autoArrows:!0,dropShadows:!0,disableHI:!1,onInit:function(){},onBeforeShow:function(){},onShow:function(){},onHide:function(){}},a.fn.extend({hideSuperfishUl:function(){var c=b.op,d=c.retainPath===!0?c.$path:"";c.retainPath=!1;var e=a(["li.",c.hoverClass].join(""),this).add(this).not(d).removeClass(c.hoverClass).find(">ul").hide().css("visibility","hidden");return c.onHide.call(e),this},showSuperfishUl:function(){var a=b.op,c=b.c.shadowClass+"-off",d=this.addClass(a.hoverClass).find(">ul:hidden").css("visibility","visible");return b.IE7fix.call(d),a.onBeforeShow.call(d),d.animate(a.animation,a.speed,function(){b.IE7fix.call(d),a.onShow.call(d)}),this}})})(jQuery);var swfobject=function(){function A(){if(t)return;try{var a=i.getElementsByTagName("body")[0].appendChild(Q("span"));a.parentNode.removeChild(a)}catch(b){return}t=!0;var c=l.length;for(var d=0;d<c;d++)l[d]()}function B(a){t?a():l[l.length]=a}function C(b){if(typeof h.addEventListener!=a)h.addEventListener("load",b,!1);else if(typeof i.addEventListener!=a)i.addEventListener("load",b,!1);else if(typeof h.attachEvent!=a)R(h,"onload",b);else if(typeof h.onload=="function"){var c=h.onload;h.onload=function(){c(),b()}}else h.onload=b}function D(){k?E():F()}function E(){var c=i.getElementsByTagName("body")[0],d=Q(b);d.setAttribute("type",e);var f=c.appendChild(d);if(f){var g=0;(function(){if(typeof f.GetVariable!=a){var b=f.GetVariable("$version");b&&(b=b.split(" ")[1].split(","),y.pv=[parseInt(b[0],10),parseInt(b[1],10),parseInt(b[2],10)])}else if(g<10){g++,setTimeout(arguments.callee,10);return}c.removeChild(d),f=null,F()})()}else F()}function F(){var b=m.length;if(b>0)for(var c=0;c<b;c++){var d=m[c].id,e=m[c].callbackFn,f={success:!1,id:d};if(y.pv[0]>0){var g=P(d);if(g)if(S(m[c].swfVersion)&&!(y.wk&&y.wk<312))U(d,!0),e&&(f.success=!0,f.ref=G(d),e(f));else if(m[c].expressInstall&&H()){var h={};h.data=m[c].expressInstall,h.width=g.getAttribute("width")||"0",h.height=g.getAttribute("height")||"0",g.getAttribute("class")&&(h.styleclass=g.getAttribute("class")),g.getAttribute("align")&&(h.align=g.getAttribute("align"));var i={},j=g.getElementsByTagName("param"),k=j.length;for(var l=0;l<k;l++)j[l].getAttribute("name").toLowerCase()!="movie"&&(i[j[l].getAttribute("name")]=j[l].getAttribute("value"));I(h,i,d,e)}else J(g),e&&e(f)}else{U(d,!0);if(e){var n=G(d);n&&typeof n.SetVariable!=a&&(f.success=!0,f.ref=n),e(f)}}}}function G(c){var d=null,e=P(c);if(e&&e.nodeName=="OBJECT")if(typeof e.SetVariable!=a)d=e;else{var f=e.getElementsByTagName(b)[0];f&&(d=f)}return d}function H(){return!u&&S("6.0.65")&&(y.win||y.mac)&&!(y.wk&&y.wk<312)}function I(b,c,d,e){u=!0,r=e||null,s={success:!1,id:d};var g=P(d);if(g){g.nodeName=="OBJECT"?(p=K(g),q=null):(p=g,q=d),b.id=f;if(typeof b.width==a||!/%$/.test(b.width)&&parseInt(b.width,10)<310)b.width="310";if(typeof b.height==a||!/%$/.test(b.height)&&parseInt(b.height,10)<137)b.height="137";i.title=i.title.slice(0,47)+" - Flash Player Installation";var j=y.ie&&y.win?"ActiveX":"PlugIn",k="MMredirectURL="+h.location.toString().replace(/&/g,"%26")+"&MMplayerType="+j+"&MMdoctitle="+i.title;typeof c.flashvars!=a?c.flashvars+="&"+k:c.flashvars=k;if(y.ie&&y.win&&g.readyState!=4){var l=Q("div");d+="SWFObjectNew",l.setAttribute("id",d),g.parentNode.insertBefore(l,g),g.style.display="none",function(){g.readyState==4?g.parentNode.removeChild(g):setTimeout(arguments.callee,10)}()}L(b,c,d)}}function J(a){if(y.ie&&y.win&&a.readyState!=4){var b=Q("div");a.parentNode.insertBefore(b,a),b.parentNode.replaceChild(K(a),b),a.style.display="none",function(){a.readyState==4?a.parentNode.removeChild(a):setTimeout(arguments.callee,10)}()}else a.parentNode.replaceChild(K(a),a)}function K(a){var c=Q("div");if(y.win&&y.ie)c.innerHTML=a.innerHTML;else{var d=a.getElementsByTagName(b)[0];if(d){var e=d.childNodes;if(e){var f=e.length;for(var g=0;g<f;g++)(e[g].nodeType!=1||e[g].nodeName!="PARAM")&&e[g].nodeType!=8&&c.appendChild(e[g].cloneNode(!0))}}}return c}function L(c,d,f){var g,h=P(f);if(y.wk&&y.wk<312)return g;if(h){typeof c.id==a&&(c.id=f);if(y.ie&&y.win){var i="";for(var j in c)c[j]!=Object.prototype[j]&&(j.toLowerCase()=="data"?d.movie=c[j]:j.toLowerCase()=="styleclass"?i+=' class="'+c[j]+'"':j.toLowerCase()!="classid"&&(i+=" "+j+'="'+c[j]+'"'));var k="";for(var l in d)d[l]!=Object.prototype[l]&&(k+='<param name="'+l+'" value="'+d[l]+'" />');h.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+i+">"+k+"</object>",n[n.length]=c.id,g=P(c.id)}else{var m=Q(b);m.setAttribute("type",e);for(var o in c)c[o]!=Object.prototype[o]&&(o.toLowerCase()=="styleclass"?m.setAttribute("class",c[o]):o.toLowerCase()!="classid"&&m.setAttribute(o,c[o]));for(var p in d)d[p]!=Object.prototype[p]&&p.toLowerCase()!="movie"&&M(m,p,d[p]);h.parentNode.replaceChild(m,h),g=m}}return g}function M(a,b,c){var d=Q("param");d.setAttribute("name",b),d.setAttribute("value",c),a.appendChild(d)}function N(a){var b=P(a);b&&b.nodeName=="OBJECT"&&(y.ie&&y.win?(b.style.display="none",function(){b.readyState==4?O(a):setTimeout(arguments.callee,10)}()):b.parentNode.removeChild(b))}function O(a){var b=P(a);if(b){for(var c in b)typeof b[c]=="function"&&(b[c]=null);b.parentNode.removeChild(b)}}function P(a){var b=null;try{b=i.getElementById(a)}catch(c){}return b}function Q(a){return i.createElement(a)}function R(a,b,c){a.attachEvent(b,c),o[o.length]=[a,b,c]}function S(a){var b=y.pv,c=a.split(".");return c[0]=parseInt(c[0],10),c[1]=parseInt(c[1],10)||0,c[2]=parseInt(c[2],10)||0,b[0]>c[0]||b[0]==c[0]&&b[1]>c[1]||b[0]==c[0]&&b[1]==c[1]&&b[2]>=c[2]?!0:!1}function T(c,d,e,f){if(y.ie&&y.mac)return;var g=i.getElementsByTagName("head")[0];if(!g)return;var h=e&&typeof e=="string"?e:"screen";f&&(v=null,w=null);if(!v||w!=h){var j=Q("style");j.setAttribute("type","text/css"),j.setAttribute("media",h),v=g.appendChild(j),y.ie&&y.win&&typeof i.styleSheets!=a&&i.styleSheets.length>0&&(v=i.styleSheets[i.styleSheets.length-1]),w=h}y.ie&&y.win?v&&typeof v.addRule==b&&v.addRule(c,d):v&&typeof i.createTextNode!=a&&v.appendChild(i.createTextNode(c+" {"+d+"}"))}function U(a,b){if(!x)return;var c=b?"visible":"hidden";t&&P(a)?P(a).style.visibility=c:T("#"+a,"visibility:"+c)}function V(b){var c=/[\\\"<>\.;]/,d=c.exec(b)!=null;return d&&typeof encodeURIComponent!=a?encodeURIComponent(b):b}var a="undefined",b="object",c="Shockwave Flash",d="ShockwaveFlash.ShockwaveFlash",e="application/x-shockwave-flash",f="SWFObjectExprInst",g="onreadystatechange",h=window,i=document,j=navigator,k=!1,l=[D],m=[],n=[],o=[],p,q,r,s,t=!1,u=!1,v,w,x=!0,y=function(){var f=typeof i.getElementById!=a&&typeof i.getElementsByTagName!=a&&typeof i.createElement!=a,g=j.userAgent.toLowerCase(),l=j.platform.toLowerCase(),m=l?/win/.test(l):/win/.test(g),n=l?/mac/.test(l):/mac/.test(g),o=/webkit/.test(g)?parseFloat(g.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):!1,p=!1,q=[0,0,0],r=null;if(typeof j.plugins!=a&&typeof j.plugins[c]==b)r=j.plugins[c].description,r&&(typeof j.mimeTypes==a||!j.mimeTypes[e]||!!j.mimeTypes[e].enabledPlugin)&&(k=!0,p=!1,r=r.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),q[0]=parseInt(r.replace(/^(.*)\..*$/,"$1"),10),q[1]=parseInt(r.replace(/^.*\.(.*)\s.*$/,"$1"),10),q[2]=/[a-zA-Z]/.test(r)?parseInt(r.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0);else if(typeof h.ActiveXObject!=a)try{var s=new ActiveXObject(d);s&&(r=s.GetVariable("$version"),r&&(p=!0,r=r.split(" ")[1].split(","),q=[parseInt(r[0],10),parseInt(r[1],10),parseInt(r[2],10)]))}catch(t){}return{w3:f,pv:q,wk:o,ie:p,win:m,mac:n}}(),z=function(){if(!y.w3)return;(typeof i.readyState!=a&&i.readyState=="complete"||typeof i.readyState==a&&(i.getElementsByTagName("body")[0]||i.body))&&A(),t||(typeof i.addEventListener!=a&&i.addEventListener("DOMContentLoaded",A,!1),y.ie&&y.win&&(i.attachEvent(g,function(){i.readyState=="complete"&&(i.detachEvent(g,arguments.callee),A())}),h==top&&function(){if(t)return;try{i.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}A()}()),y.wk&&function(){if(t)return;if(!/loaded|complete/.test(i.readyState)){setTimeout(arguments.callee,0);return}A()}(),C(A))}(),W=function(){y.ie&&y.win&&window.attachEvent("onunload",function(){var a=o.length;for(var b=0;b<a;b++)o[b][0].detachEvent(o[b][1],o[b][2]);var c=n.length;for(var d=0;d<c;d++)N(n[d]);for(var e in y)y[e]=null;y=null;for(var f in swfobject)swfobject[f]=null;swfobject=null})}();return{registerObject:function(a,b,c,d){if(y.w3&&a&&b){var e={};e.id=a,e.swfVersion=b,e.expressInstall=c,e.callbackFn=d,m[m.length]=e,U(a,!1)}else d&&d({success:!1,id:a})},getObjectById:function(a){if(y.w3)return G(a)},embedSWF:function(c,d,e,f,g,h,i,j,k,l){var m={success:!1,id:d};y.w3&&!(y.wk&&y.wk<312)&&c&&d&&e&&f&&g?(U(d,!1),B(function(){e+="",f+="";var n={};if(k&&typeof k===b)for(var o in k)n[o]=k[o];n.data=c,n.width=e,n.height=f;var p={};if(j&&typeof j===b)for(var q in j)p[q]=j[q];if(i&&typeof i===b)for(var r in i)typeof p.flashvars!=a?p.flashvars+="&"+r+"="+i[r]:p.flashvars=r+"="+i[r];if(S(g)){var s=L(n,p,d);n.id==d&&U(d,!0),m.success=!0,m.ref=s}else{if(h&&H()){n.data=h,I(n,p,d,l);return}U(d,!0)}l&&l(m)})):l&&l(m)},switchOffAutoHideShow:function(){x=!1},ua:y,getFlashPlayerVersion:function(){return{major:y.pv[0],minor:y.pv[1],release:y.pv[2]}},hasFlashPlayerVersion:S,createSWF:function(a,b,c){return y.w3?L(a,b,c):undefined},showExpressInstall:function(a,b,c,d){y.w3&&H()&&I(a,b,c,d)},removeSWF:function(a){y.w3&&N(a)},createCSS:function(a,b,c,d){y.w3&&T(a,b,c,d)},addDomLoadEvent:B,addLoadEvent:C,getQueryParamValue:function(a){var b=i.location.search||i.location.hash;if(b){/\?/.test(b)&&(b=b.split("?")[1]);if(a==null)return V(b);var c=b.split("&");for(var d=0;d<c.length;d++)if(c[d].substring(0,c[d].indexOf("="))==a)return V(c[d].substring(c[d].indexOf("=")+1))}return""},expressInstallCallback:function(){if(u){var a=P(f);a&&p&&(a.parentNode.replaceChild(p,a),q&&(U(q,!0),y.ie&&y.win&&(p.style.display="block")),r&&r(s)),u=!1}}}}();((function(){})).call(this),function(){}.call(this);
