/****** FILE: mysite/themes/kcw/js/jquery-1.4.2.min.js *****/

(function(A,w){function ma(){if(!c.isReady){try{s.documentElement.doScroll("left")}catch(a){setTimeout(ma,1);return}c.ready()}}function Qa(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function X(a,b,d,f,e,j){var i=a.length;if(typeof b==="object"){for(var o in b)X(a,o,b[o],f,e,d);return a}if(d!==w){f=!j&&f&&c.isFunction(d);for(o=0;o<i;o++)e(a[o],b,f?d.call(a[o],o,e(a[o],b)):d,j);return a}return i?e(a[0],b):w}function J(){return(new Date).getTime()}function Y(){return false}function Z(){return true}function na(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function oa(a){var b,d=[],f=[],e=arguments,j,i,o,k,n,r;i=c.data(this,"events");if(!(a.liveFired===this||!i||!i.live||a.button&&a.type==="click")){a.liveFired=this;var u=i.live.slice(0);for(k=0;k<u.length;k++){i=u[k];i.origType.replace(O,"")===a.type?f.push(i.selector):u.splice(k--,1)}j=c(a.target).closest(f,a.currentTarget);n=0;for(r=j.length;n<r;n++)for(k=0;k<u.length;k++){i=u[k];if(j[n].selector===i.selector){o=j[n].elem;f=null;if(i.preType==="mouseenter"||i.preType==="mouseleave")f=c(a.relatedTarget).closest(i.selector)[0];if(!f||f!==o)d.push({elem:o,handleObj:i})}}n=0;for(r=d.length;n<r;n++){j=d[n];a.currentTarget=j.elem;a.data=j.handleObj.data;a.handleObj=j.handleObj;if(j.handleObj.origHandler.apply(j.elem,e)===false){b=false;break}}return b}}function pa(a,b){return"live."+(a&&a!=="*"?a+".":"")+b.replace(/\./g,"`").replace(/ /g,"&")}function qa(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function ra(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var f=c.data(a[d++]),e=c.data(this,f);if(f=f&&f.events){delete e.handle;e.events={};for(var j in f)for(var i in f[j])c.event.add(this,j,f[j][i],f[j][i].data)}}})}function sa(a,b,d){var f,e,j;b=b&&b[0]?b[0].ownerDocument||b[0]:s;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===s&&!ta.test(a[0])&&(c.support.checkClone||!ua.test(a[0]))){e=true;if(j=c.fragments[a[0]])if(j!==1)f=j}if(!f){f=b.createDocumentFragment();c.clean(a,b,f,d)}if(e)c.fragments[a[0]]=j?f:1;return{fragment:f,cacheable:e}}function K(a,b){var d={};c.each(va.concat.apply([],va.slice(0,b)),function(){d[this]=a});return d}function wa(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var c=function(a,b){return new c.fn.init(a,b)},Ra=A.jQuery,Sa=A.$,s=A.document,T,Ta=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,Ua=/^.[^:#\[\.,]*$/,Va=/\S/,Wa=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Xa=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,P=navigator.userAgent,xa=false,Q=[],L,$=Object.prototype.toString,aa=Object.prototype.hasOwnProperty,ba=Array.prototype.push,R=Array.prototype.slice,ya=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(a==="body"&&!b){this.context=s;this[0]=s.body;this.selector="body";this.length=1;return this}if(typeof a==="string")if((d=Ta.exec(a))&&(d[1]||!b))if(d[1]){f=b?b.ownerDocument||b:s;if(a=Xa.exec(a))if(c.isPlainObject(b)){a=[s.createElement(a[1])];c.fn.attr.call(a,b,true)}else a=[f.createElement(a[1])];else{a=sa([d[1]],[f]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}return c.merge(this,a)}else{if(b=s.getElementById(d[2])){if(b.id!==d[2])return T.find(a);this.length=1;this[0]=b}this.context=s;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=s;a=s.getElementsByTagName(a);return c.merge(this,a)}else return!b||b.jquery?(b||T).find(a):c(b).find(a);else if(c.isFunction(a))return T.ready(a);if(a.selector!==w){this.selector=a.selector;this.context=a.context}return c.makeArray(a,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return R.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,b,d){var f=c();c.isArray(a)?ba.apply(f,a):c.merge(f,a);f.prevObject=this;f.context=this.context;if(b==="find")f.selector=this.selector+(this.selector?" ":"")+d;else if(b)f.selector=this.selector+"."+b+"("+d+")";return f},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(s,c);else Q&&Q.push(a);return this},eq:function(a){return 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(R.apply(this,arguments),"slice",R.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this,function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||c(null)},push:ba,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,f=false,e,j,i,o;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d===b){a=this;--b}for(;b<d;b++)if((e=arguments[b])!=null)for(j in e){i=a[j];o=e[j];if(a!==o)if(f&&o&&(c.isPlainObject(o)||c.isArray(o))){i=i&&(c.isPlainObject(i)||c.isArray(i))?i:c.isArray(o)?[]:{};a[j]=c.extend(f,i,o)}else if(o!==w)a[j]=o}return a};c.extend({noConflict:function(a){A.$=Sa;if(a)A.jQuery=Ra;return c},isReady:false,ready:function(){if(!c.isReady){if(!s.body)return setTimeout(c.ready,13);c.isReady=true;if(Q){for(var a,b=0;a=Q[b++];)a.call(s,c);Q=null}c.fn.triggerHandler&&c(s).triggerHandler("ready")}},bindReady:function(){if(!xa){xa=true;if(s.readyState==="complete")return c.ready();if(s.addEventListener){s.addEventListener("DOMContentLoaded",L,false);A.addEventListener("load",c.ready,false)}else if(s.attachEvent){s.attachEvent("onreadystatechange",L);A.attachEvent("onload",c.ready);var a=false;try{a=A.frameElement==null}catch(b){}s.documentElement.doScroll&&a&&ma()}}},isFunction:function(a){return $.call(a)==="[object Function]"},isArray:function(a){return $.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||$.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;if(a.constructor&&!aa.call(a,"constructor")&&!aa.call(a.constructor.prototype,"isPrototypeOf"))return false;var b;for(b in a);return b===w||aa.call(a,b)},isEmptyObject:function(a){for(var b in a)return false;return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return A.JSON&&A.JSON.parse?A.JSON.parse(a):(new Function("return "+
a))();else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&Va.test(a)){var b=s.getElementsByTagName("head")[0]||s.documentElement,d=s.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(s.createTextNode(a));else d.text=a;b.insertBefore(d,b.firstChild);b.removeChild(d)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,b,d){var f,e=0,j=a.length,i=j===w||c.isFunction(a);if(d)if(i)for(f in a){if(b.apply(a[f],d)===false)break}else for(;e<j;){if(b.apply(a[e++],d)===false)break}else if(i)for(f in a){if(b.call(a[f],f,a[f])===false)break}else for(d=a[0];e<j&&b.call(d,e,d)!==false;d=a[++e]);return a},trim:function(a){return(a||"").replace(Wa,"")},makeArray:function(a,b){b=b||[];if(a!=null)a.length==null||typeof a==="string"||c.isFunction(a)||typeof a!=="function"&&a.setInterval?ba.call(b,a):c.merge(b,a);return b},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var d=0,f=b.length;d<f;d++)if(b[d]===a)return d;return-1},merge:function(a,b){var d=a.length,f=0;if(typeof b.length==="number")for(var e=b.length;f<e;f++)a[d++]=b[f];else for(;b[f]!==w;)a[d++]=b[f++];a.length=d;return a},grep:function(a,b,d){for(var f=[],e=0,j=a.length;e<j;e++)!d!==!b(a[e],e)&&f.push(a[e]);return f},map:function(a,b,d){for(var f=[],e,j=0,i=a.length;j<i;j++){e=b(a[j],j,d);if(e!=null)f[f.length]=e}return f.concat.apply([],f)},guid:1,proxy:function(a,b,d){if(arguments.length===2)if(typeof b==="string"){d=a;a=d[b];b=w}else if(b&&!c.isFunction(b)){d=b;b=w}if(!b&&a)b=function(){return a.apply(d||this,arguments)};if(a)b.guid=a.guid=a.guid||b.guid||c.guid++;return b},uaMatch:function(a){a=a.toLowerCase();a=/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||!/compatible/.test(a)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},browser:{}});P=c.uaMatch(P);if(P.browser){c.browser[P.browser]=true;c.browser.version=P.version}if(c.browser.webkit)c.browser.safari=true;if(ya)c.inArray=function(a,b){return ya.call(b,a)};T=c(s);if(s.addEventListener)L=function(){s.removeEventListener("DOMContentLoaded",L,false);c.ready()};else if(s.attachEvent)L=function(){if(s.readyState==="complete"){s.detachEvent("onreadystatechange",L);c.ready()}};(function(){c.support={};var a=s.documentElement,b=s.createElement("script"),d=s.createElement("div"),f="script"+J();d.style.display="none";d.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var e=d.getElementsByTagName("*"),j=d.getElementsByTagName("a")[0];if(!(!e||!e.length||!j)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(j.getAttribute("style")),hrefNormalized:j.getAttribute("href")==="/a",opacity:/^0.55$/.test(j.style.opacity),cssFloat:!!j.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:s.createElement("select").appendChild(s.createElement("option")).selected,parentNode:d.removeChild(d.appendChild(s.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(s.createTextNode("window."+f+"=1;"))}catch(i){}a.insertBefore(b,a.firstChild);if(A[f]){c.support.scriptEval=true;delete A[f]}try{delete b.test}catch(o){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function k(){c.support.noCloneEvent=false;d.detachEvent("onclick",k)});d.cloneNode(true).fireEvent("onclick")}d=s.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=s.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var k=s.createElement("div");k.style.width=k.style.paddingLeft="1px";s.body.appendChild(k);c.boxModel=c.support.boxModel=k.offsetWidth===2;s.body.removeChild(k).style.display="none"});a=function(k){var n=s.createElement("div");k="on"+k;var r=k in n;if(!r){n.setAttribute(k,"return;");r=typeof n[k]==="function"}return r};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=e=j=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var G="jQuery"+J(),Ya=0,za={};c.extend({cache:{},expando:G,noData:{embed:true,object:true,applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==A?za:a;var f=a[G],e=c.cache;if(!f&&typeof b==="string"&&d===w)return null;f||(f=++Ya);if(typeof b==="object"){a[G]=f;e[f]=c.extend(true,{},b)}else if(!e[f]){a[G]=f;e[f]={}}a=e[f];if(d!==w)a[b]=d;return typeof b==="string"?a[b]:a}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==A?za:a;var d=a[G],f=c.cache,e=f[d];if(b){if(e){delete e[b];c.isEmptyObject(e)&&c.removeData(a)}}else{if(c.support.deleteExpando)delete a[c.expando];else a.removeAttribute&&a.removeAttribute(c.expando);delete f[d]}}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this,a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===w){var f=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(f===w&&this.length)f=c.data(this[0],a);return f===w&&d[1]?this.data(d[0]):f}else return this.trigger("setData"+d[1]+"!",[d[0],b]).each(function(){c.data(this,a,b)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var f=c.data(a,b);if(!d)return f||[];if(!f||c.isArray(d))f=c.data(a,b,c.makeArray(d));else f.push(d);return f}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),f=d.shift();if(f==="inprogress")f=d.shift();if(f){b==="fx"&&d.unshift("inprogress");f.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===w)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var Aa=/[\n\t]/g,ca=/\s+/,Za=/\r/g,$a=/href|src|style/,ab=/(button|input)/i,bb=/(button|input|object|select|textarea)/i,cb=/^(a|area)$/i,Ba=/radio|checkbox/;c.fn.extend({attr:function(a,b){return X(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(n){var r=c(this);r.addClass(a.call(this,n,r.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ca),d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1)if(e.className){for(var j=" "+e.className+" ",i=e.className,o=0,k=b.length;o<k;o++)if(j.indexOf(" "+b[o]+" ")<0)i+=" "+b[o];e.className=c.trim(i)}else e.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(k){var n=c(this);n.removeClass(a.call(this,k,n.attr("class")))});if(a&&typeof a==="string"||a===w)for(var b=(a||"").split(ca),d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1&&e.className)if(a){for(var j=(" "+e.className+" ").replace(Aa," "),i=0,o=b.length;i<o;i++)j=j.replace(" "+b[i]+" "," ");e.className=c.trim(j)}else e.className=""}return this},toggleClass:function(a,b){var d=typeof a,f=typeof b==="boolean";if(c.isFunction(a))return this.each(function(e){var j=c(this);j.toggleClass(a.call(this,e,j.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var e,j=0,i=c(this),o=b,k=a.split(ca);e=k[j++];){o=f?o:!i.hasClass(e);i[o?"addClass":"removeClass"](e)}else if(d==="undefined"||d==="boolean"){this.className&&c.data(this,"__className__",this.className);this.className=this.className||a===false?"":c.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,d=this.length;b<d;b++)if((" "+this[b].className+" ").replace(Aa," ").indexOf(a)>-1)return true;return false},val:function(a){if(a===w){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(c.nodeName(b,"select")){var d=b.selectedIndex,f=[],e=b.options;b=b.type==="select-one";if(d<0)return null;var j=b?d:0;for(d=b?d+1:e.length;j<d;j++){var i=e[j];if(i.selected){a=c(i).val();if(b)return a;f.push(a)}}return f}if(Ba.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Za,"")}return w}var o=c.isFunction(a);return this.each(function(k){var n=c(this),r=a;if(this.nodeType===1){if(o)r=a.call(this,k,n.val());if(typeof r==="number")r+="";if(c.isArray(r)&&Ba.test(this.type))this.checked=c.inArray(n.val(),r)>=0;else if(c.nodeName(this,"select")){var u=c.makeArray(r);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),u)>=0});if(!u.length)this.selectedIndex=-1}else this.value=r}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,f){if(!a||a.nodeType===3||a.nodeType===8)return w;if(f&&b in c.attrFn)return c(a)[b](d);f=a.nodeType!==1||!c.isXMLDoc(a);var e=d!==w;b=f&&c.props[b]||b;if(a.nodeType===1){var j=$a.test(b);if(b in a&&f&&!j){if(e){b==="type"&&ab.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed");a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:bb.test(a.nodeName)||cb.test(a.nodeName)&&a.href?0:w;return a[b]}if(!c.support.style&&f&&b==="style"){if(e)a.style.cssText=""+d;return a.style.cssText}e&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&f&&j?a.getAttribute(b,2):a.getAttribute(b);return a===null?w:a}return c.style(a,b,d)}});var O=/\.(.*)$/,db=function(a){return a.replace(/[^\w\s\.\|`]/g,function(b){return"\\"+b})};c.event={add:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==A&&!a.frameElement)a=A;var e,j;if(d.handler){e=d;d=e.handler}if(!d.guid)d.guid=c.guid++;if(j=c.data(a)){var i=j.events=j.events||{},o=j.handle;if(!o)j.handle=o=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(o.elem,arguments):w};o.elem=a;b=b.split(" ");for(var k,n=0,r;k=b[n++];){j=e?c.extend({},e):{handler:d,data:f};if(k.indexOf(".")>-1){r=k.split(".");k=r.shift();j.namespace=r.slice(0).sort().join(".")}else{r=[];j.namespace=""}j.type=k;j.guid=d.guid;var u=i[k],z=c.event.special[k]||{};if(!u){u=i[k]=[];if(!z.setup||z.setup.call(a,f,r,o)===false)if(a.addEventListener)a.addEventListener(k,o,false);else a.attachEvent&&a.attachEvent("on"+k,o)}if(z.add){z.add.call(a,j);if(!j.handler.guid)j.handler.guid=d.guid}u.push(j);c.event.global[k]=true}a=null}}},global:{},remove:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){var e,j=0,i,o,k,n,r,u,z=c.data(a),C=z&&z.events;if(z&&C){if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(e in C)c.event.remove(a,e+b)}else{for(b=b.split(" ");e=b[j++];){n=e;i=e.indexOf(".")<0;o=[];if(!i){o=e.split(".");e=o.shift();k=new RegExp("(^|\\.)"+c.map(o.slice(0).sort(),db).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(r=C[e])if(d){n=c.event.special[e]||{};for(B=f||0;B<r.length;B++){u=r[B];if(d.guid===u.guid){if(i||k.test(u.namespace)){f==null&&r.splice(B--,1);n.remove&&n.remove.call(a,u)}if(f!=null)break}}if(r.length===0||f!=null&&r.length===1){if(!n.teardown||n.teardown.call(a,o)===false)Ca(a,e,z.handle);delete C[e]}}else for(var B=0;B<r.length;B++){u=r[B];if(i||k.test(u.namespace)){c.event.remove(a,n,u.handler,B);r.splice(B--,1)}}}if(c.isEmptyObject(C)){if(b=z.handle)b.elem=null;delete z.events;delete z.handle;c.isEmptyObject(z)&&c.removeData(a)}}}}},trigger:function(a,b,d,f){var e=a.type||a;if(!f){a=typeof a==="object"?a[G]?a:c.extend(c.Event(e),a):c.Event(e);if(e.indexOf("!")>=0){a.type=e=e.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[e]&&c.each(c.cache,function(){this.events&&this.events[e]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return w;a.result=w;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(f=c.data(d,"handle"))&&f.apply(d,b);f=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+e]&&d["on"+e].apply(d,b)===false)a.result=false}catch(j){}if(!a.isPropagationStopped()&&f)c.event.trigger(a,b,f,true);else if(!a.isDefaultPrevented()){f=a.target;var i,o=c.nodeName(f,"a")&&e==="click",k=c.event.special[e]||{};if((!k._default||k._default.call(d,a)===false)&&!o&&!(f&&f.nodeName&&c.noData[f.nodeName.toLowerCase()])){try{if(f[e]){if(i=f["on"+e])f["on"+e]=null;c.event.triggered=true;f[e]()}}catch(n){}if(i)f["on"+e]=i;c.event.triggered=false}}},handle:function(a){var b,d,f,e;a=arguments[0]=c.event.fix(a||A.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b){d=a.type.split(".");a.type=d.shift();f=new RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)")}e=c.data(this,"events");d=e[a.type];if(e&&d){d=d.slice(0);e=0;for(var j=d.length;e<j;e++){var i=d[e];if(b||f.test(i.namespace)){a.handler=i.handler;a.data=i.data;a.handleObj=i;i=i.handler.apply(this,arguments);if(i!==w){a.result=i;if(i===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(a){if(a[G])return a;var b=a;a=c.Event(b);for(var d=this.props.length,f;d;){f=this.props[--d];a[f]=b[f]}if(!a.target)a.target=a.srcElement||s;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){b=s.documentElement;d=s.body;a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop||d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0)}if(!a.which&&(a.charCode||a.charCode===0?a.charCode:a.keyCode))a.which=a.charCode||a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==w)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a){c.event.add(this,a.origType,c.extend({},a,{handler:oa}))},remove:function(a){var b=true,d=a.origType.replace(O,"");c.each(c.data(this,"events").live||[],function(){if(d===this.origType.replace(O,""))return b=false});b&&c.event.remove(this,a.origType,oa)}},beforeunload:{setup:function(a,b,d){if(this.setInterval)this.onbeforeunload=d;return false},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};var Ca=s.removeEventListener?function(a,b,d){a.removeEventListener(b,d,false)}:function(a,b,d){a.detachEvent("on"+b,d)};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=a;this.timeStamp=J();this[G]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=Z;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=Z;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Z;this.stopPropagation()},isDefaultPrevented:Y,isPropagationStopped:Y,isImmediatePropagationStopped:Y};var Da=function(a){var b=a.relatedTarget;try{for(;b&&b!==this;)b=b.parentNode;if(b!==this){a.type=a.data;c.event.handle.apply(this,arguments)}}catch(d){}},Ea=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(d){c.event.add(this,b,d&&d.selector?Ea:Da,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?Ea:Da)}}});if(!c.support.submitBubbles)c.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!=="form"){c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="submit"||d==="image")&&c(b).closest("form").length)return na("submit",this,arguments)});c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="text"||d==="password")&&c(b).closest("form").length&&a.keyCode===13)return na("submit",this,arguments)})}else return false},teardown:function(){c.event.remove(this,".specialSubmit")}};if(!c.support.changeBubbles){var da=/textarea|input|select/i,ea,Fa=function(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(f){return f.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},fa=function(a,b){var d=a.target,f,e;if(!(!da.test(d.nodeName)||d.readOnly)){f=c.data(d,"_change_data");e=Fa(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",e);if(!(f===w||e===f))if(f!=null||e){a.type="change";return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:fa,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return fa.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return fa.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",Fa(a))}},setup:function(){if(this.type==="file")return false;for(var a in ea)c.event.add(this,a+".specialChange",ea[a]);return da.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return da.test(this.nodeName)}};ea=c.event.special.change.filters}s.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(f){f=c.event.fix(f);f.type=b;return c.event.handle.call(this,f)}c.event.special[b]={setup:function(){this.addEventListener(a,d,true)},teardown:function(){this.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,f,e){if(typeof d==="object"){for(var j in d)this[b](j,f,d[j],e);return this}if(c.isFunction(f)){e=f;f=w}var i=b==="one"?c.proxy(e,function(k){c(this).unbind(k,i);return e.apply(this,arguments)}):e;if(d==="unload"&&b!=="one")this.one(d,f,e);else{j=0;for(var o=this.length;j<o;j++)c.event.add(this[j],d,i,f)}return this}});c.fn.extend({unbind:function(a,b){if(typeof a==="object"&&!a.preventDefault)for(var d in a)this.unbind(d,a[d]);else{d=0;for(var f=this.length;d<f;d++)c.event.remove(this[d],a,b)}return this},delegate:function(a,b,d,f){return this.live(b,d,f,a)},undelegate:function(a,b,d){return arguments.length===0?this.unbind("live"):this.die(b,null,d,a)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){a=c.Event(a);a.preventDefault();a.stopPropagation();c.event.trigger(a,b,this[0]);return a.result}},toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(f){var e=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,e+1);f.preventDefault();return b[e].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var Ga={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(d,f,e,j){var i,o=0,k,n,r=j||this.selector,u=j?this:c(this.context);if(c.isFunction(f)){e=f;f=w}for(d=(d||"").split(" ");(i=d[o++])!=null;){j=O.exec(i);k="";if(j){k=j[0];i=i.replace(O,"")}if(i==="hover")d.push("mouseenter"+k,"mouseleave"+k);else{n=i;if(i==="focus"||i==="blur"){d.push(Ga[i]+k);i+=k}else i=(Ga[i]||i)+k;b==="live"?u.each(function(){c.event.add(this,pa(i,r),{data:f,selector:r,handler:e,origType:i,origHandler:e,preType:n})}):u.unbind(pa(i,r),e)}}return this}});c.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".split(" "),function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});A.attachEvent&&!A.addEventListener&&A.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(g){for(var h="",l,m=0;g[m];m++){l=g[m];if(l.nodeType===3||l.nodeType===4)h+=l.nodeValue;else if(l.nodeType!==8)h+=a(l.childNodes)}return h}function b(g,h,l,m,q,p){q=0;for(var v=m.length;q<v;q++){var t=m[q];if(t){t=t[g];for(var y=false;t;){if(t.sizcache===l){y=m[t.sizset];break}if(t.nodeType===1&&!p){t.sizcache=l;t.sizset=q}if(t.nodeName.toLowerCase()===h){y=t;break}t=t[g]}m[q]=y}}}function d(g,h,l,m,q,p){q=0;for(var v=m.length;q<v;q++){var t=m[q];if(t){t=t[g];for(var y=false;t;){if(t.sizcache===l){y=m[t.sizset];break}if(t.nodeType===1){if(!p){t.sizcache=l;t.sizset=q}if(typeof h!=="string"){if(t===h){y=true;break}}else if(k.filter(h,[t]).length>0){y=t;break}}t=t[g]}m[q]=y}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,j=Object.prototype.toString,i=false,o=true;[0,0].sort(function(){o=false;return 0});var k=function(g,h,l,m){l=l||[];var q=h=h||s;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!g||typeof g!=="string")return l;for(var p=[],v,t,y,S,H=true,M=x(h),I=g;(f.exec(""),v=f.exec(I))!==null;){I=v[3];p.push(v[1]);if(v[2]){S=v[3];break}}if(p.length>1&&r.exec(g))if(p.length===2&&n.relative[p[0]])t=ga(p[0]+p[1],h);else for(t=n.relative[p[0]]?[h]:k(p.shift(),h);p.length;){g=p.shift();if(n.relative[g])g+=p.shift();t=ga(g,t)}else{if(!m&&p.length>1&&h.nodeType===9&&!M&&n.match.ID.test(p[0])&&!n.match.ID.test(p[p.length-1])){v=k.find(p.shift(),h,M);h=v.expr?k.filter(v.expr,v.set)[0]:v.set[0]}if(h){v=m?{expr:p.pop(),set:z(m)}:k.find(p.pop(),p.length===1&&(p[0]==="~"||p[0]==="+")&&h.parentNode?h.parentNode:h,M);t=v.expr?k.filter(v.expr,v.set):v.set;if(p.length>0)y=z(t);else H=false;for(;p.length;){var D=p.pop();v=D;if(n.relative[D])v=p.pop();else D="";if(v==null)v=h;n.relative[D](y,v,M)}}else y=[]}y||(y=t);y||k.error(D||g);if(j.call(y)==="[object Array]")if(H)if(h&&h.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&E(h,y[g])))l.push(t[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodeType===1&&l.push(t[g]);else l.push.apply(l,y);else z(y,l);if(S){k(S,q,l,m);k.uniqueSort(l)}return l};k.uniqueSort=function(g){if(B){i=o;g.sort(B);if(i)for(var h=1;h<g.length;h++)g[h]===g[h-1]&&g.splice(h--,1)}return g};k.matches=function(g,h){return k(g,null,null,h)};k.find=function(g,h,l){var m,q;if(!g)return[];for(var p=0,v=n.order.length;p<v;p++){var t=n.order[p];if(q=n.leftMatch[t].exec(g)){var y=q[1];q.splice(1,1);if(y.substr(y.length-1)!=="\\"){q[1]=(q[1]||"").replace(/\\/g,"");m=n.find[t](q,h,l);if(m!=null){g=g.replace(n.match[t],"");break}}}}m||(m=h.getElementsByTagName("*"));return{set:m,expr:g}};k.filter=function(g,h,l,m){for(var q=g,p=[],v=h,t,y,S=h&&h[0]&&x(h[0]);g&&h.length;){for(var H in n.filter)if((t=n.leftMatch[H].exec(g))!=null&&t[2]){var M=n.filter[H],I,D;D=t[1];y=false;t.splice(1,1);if(D.substr(D.length-
1)!=="\\"){if(v===p)p=[];if(n.preFilter[H])if(t=n.preFilter[H](t,v,l,p,m,S)){if(t===true)continue}else y=I=true;if(t)for(var U=0;(D=v[U])!=null;U++)if(D){I=M(D,t,U,v);var Ha=m^!!I;if(l&&I!=null)if(Ha)y=true;else v[U]=false;else if(Ha){p.push(D);y=true}}if(I!==w){l||(v=p);g=g.replace(n.match[H],"");if(!y)return[];break}}}if(g===q)if(y==null)k.error(g);else break;q=g}return v};k.error=function(g){throw"Syntax error, unrecognized expression: "+g;};var n=k.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(g){return g.getAttribute("href")}},relative:{"+":function(g,h){var l=typeof h==="string",m=l&&!/\W/.test(h);l=l&&!m;if(m)h=h.toLowerCase();m=0;for(var q=g.length,p;m<q;m++)if(p=g[m]){for(;(p=p.previousSibling)&&p.nodeType!==1;);g[m]=l||p&&p.nodeName.toLowerCase()===h?p||false:p===h}l&&k.filter(h,g,true)},">":function(g,h){var l=typeof h==="string";if(l&&!/\W/.test(h)){h=h.toLowerCase();for(var m=0,q=g.length;m<q;m++){var p=g[m];if(p){l=p.parentNode;g[m]=l.nodeName.toLowerCase()===h?l:false}}}else{m=0;for(q=g.length;m<q;m++)if(p=g[m])g[m]=l?p.parentNode:p.parentNode===h;l&&k.filter(h,g,true)}},"":function(g,h,l){var m=e++,q=d;if(typeof h==="string"&&!/\W/.test(h)){var p=h=h.toLowerCase();q=b}q("parentNode",h,m,g,p,l)},"~":function(g,h,l){var m=e++,q=d;if(typeof h==="string"&&!/\W/.test(h)){var p=h=h.toLowerCase();q=b}q("previousSibling",h,m,g,p,l)}},find:{ID:function(g,h,l){if(typeof h.getElementById!=="undefined"&&!l)return(g=h.getElementById(g[1]))?[g]:[]},NAME:function(g,h){if(typeof h.getElementsByName!=="undefined"){var l=[];h=h.getElementsByName(g[1]);for(var m=0,q=h.length;m<q;m++)h[m].getAttribute("name")===g[1]&&l.push(h[m]);return l.length===0?null:l}},TAG:function(g,h){return h.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,h,l,m,q,p){g=" "+g[1].replace(/\\/g,"")+" ";if(p)return g;p=0;for(var v;(v=h[p])!=null;p++)if(v)if(q^(v.className&&(" "+v.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=0))l||m.push(v);else if(l)h[p]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()},CHILD:function(g){if(g[1]==="nth"){var h=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=h[1]+(h[2]||1)-0;g[3]=h[3]-0}g[0]=e++;return g},ATTR:function(g,h,l,m,q,p){h=g[1].replace(/\\/g,"");if(!p&&n.attrMap[h])g[1]=n.attrMap[h];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,h,l,m,q){if(g[1]==="not")if((f.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=k(g[3],null,null,h);else{g=k.filter(g[3],h,l,true^q);l||m.push.apply(m,g);return false}else if(n.match.POS.test(g[0])||n.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,h,l){return!!k(l[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}},setFilters:{first:function(g,h){return h===0},last:function(g,h,l,m){return h===m.length-1},even:function(g,h){return h%2===0},odd:function(g,h){return h%2===1},lt:function(g,h,l){return h<l[3]-0},gt:function(g,h,l){return h>l[3]-0},nth:function(g,h,l){return l[3]-0===h},eq:function(g,h,l){return l[3]-0===h}},filter:{PSEUDO:function(g,h,l,m){var q=h[1],p=n.filters[q];if(p)return p(g,l,h,m);else if(q==="contains")return(g.textContent||g.innerText||a([g])||"").indexOf(h[3])>=0;else if(q==="not"){h=h[3];l=0;for(m=h.length;l<m;l++)if(h[l]===g)return false;return true}else k.error("Syntax error, unrecognized expression: "+q)},CHILD:function(g,h){var l=h[1],m=g;switch(l){case"only":case"first":for(;m=m.previousSibling;)if(m.nodeType===1)return false;if(l==="first")return true;m=g;case"last":for(;m=m.nextSibling;)if(m.nodeType===1)return false;return true;case"nth":l=h[2];var q=h[3];if(l===1&&q===0)return true;h=h[0];var p=g.parentNode;if(p&&(p.sizcache!==h||!g.nodeIndex)){var v=0;for(m=p.firstChild;m;m=m.nextSibling)if(m.nodeType===1)m.nodeIndex=++v;p.sizcache=h}g=g.nodeIndex-q;return l===0?g===0:g%l===0&&g/l>=0}},ID:function(g,h){return g.nodeType===1&&g.getAttribute("id")===h},TAG:function(g,h){return h==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===h},CLASS:function(g,h){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(h)>-1},ATTR:function(g,h){var l=h[1];g=n.attrHandle[l]?n.attrHandle[l](g):g[l]!=null?g[l]:g.getAttribute(l);l=g+"";var m=h[2];h=h[4];return g==null?m==="!=":m==="="?l===h:m==="*="?l.indexOf(h)>=0:m==="~="?(" "+l+" ").indexOf(h)>=0:!h?l&&g!==false:m==="!="?l!==h:m==="^="?l.indexOf(h)===0:m==="$="?l.substr(l.length-h.length)===h:m==="|="?l===h||l.substr(0,h.length+1)===h+"-":false},POS:function(g,h,l,m){var q=n.setFilters[h[2]];if(q)return q(g,l,h,m)}}},r=n.match.POS;for(var u in n.match){n.match[u]=new RegExp(n.match[u].source+/(?![^\[]*\])(?![^\(]*\))/.source);n.leftMatch[u]=new RegExp(/(^(?:.|\r|\n)*?)/.source+n.match[u].source.replace(/\\(\d+)/g,function(g,h){return"\\"+(h-0+1)}))}var z=function(g,h){g=Array.prototype.slice.call(g,0);if(h){h.push.apply(h,g);return h}return g};try{Array.prototype.slice.call(s.documentElement.childNodes,0)}catch(C){z=function(g,h){h=h||[];if(j.call(g)==="[object Array]")Array.prototype.push.apply(h,g);else if(typeof g.length==="number")for(var l=0,m=g.length;l<m;l++)h.push(g[l]);else for(l=0;g[l];l++)h.push(g[l]);return h}}var B;if(s.documentElement.compareDocumentPosition)B=function(g,h){if(!g.compareDocumentPosition||!h.compareDocumentPosition){if(g==h)i=true;return g.compareDocumentPosition?-1:1}g=g.compareDocumentPosition(h)&4?-1:g===h?0:1;if(g===0)i=true;return g};else if("sourceIndex"in s.documentElement)B=function(g,h){if(!g.sourceIndex||!h.sourceIndex){if(g==h)i=true;return g.sourceIndex?-1:1}g=g.sourceIndex-h.sourceIndex;if(g===0)i=true;return g};else if(s.createRange)B=function(g,h){if(!g.ownerDocument||!h.ownerDocument){if(g==h)i=true;return g.ownerDocument?-1:1}var l=g.ownerDocument.createRange(),m=h.ownerDocument.createRange();l.setStart(g,0);l.setEnd(g,0);m.setStart(h,0);m.setEnd(h,0);g=l.compareBoundaryPoints(Range.START_TO_END,m);if(g===0)i=true;return g};(function(){var g=s.createElement("div"),h="script"+(new Date).getTime();g.innerHTML="<a name='"+h+"'/>";var l=s.documentElement;l.insertBefore(g,l.firstChild);if(s.getElementById(h)){n.find.ID=function(m,q,p){if(typeof q.getElementById!=="undefined"&&!p)return(q=q.getElementById(m[1]))?q.id===m[1]||typeof q.getAttributeNode!=="undefined"&&q.getAttributeNode("id").nodeValue===m[1]?[q]:w:[]};n.filter.ID=function(m,q){var p=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&p&&p.nodeValue===q}}l.removeChild(g);l=g=null})();(function(){var g=s.createElement("div");g.appendChild(s.createComment(""));if(g.getElementsByTagName("*").length>0)n.find.TAG=function(h,l){l=l.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var m=0;l[m];m++)l[m].nodeType===1&&h.push(l[m]);l=h}return l};g.innerHTML="<a href='#'></a>";if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(h){return h.getAttribute("href",2)};g=null})();s.querySelectorAll&&function(){var g=k,h=s.createElement("div");h.innerHTML="<p class='TEST'></p>";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){k=function(m,q,p,v){q=q||s;if(!v&&q.nodeType===9&&!x(q))try{return z(q.querySelectorAll(m),p)}catch(t){}return g(m,q,p,v)};for(var l in g)k[l]=g[l];h=null}}();(function(){var g=s.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){n.order.splice(1,0,"CLASS");n.find.CLASS=function(h,l,m){if(typeof l.getElementsByClassName!=="undefined"&&!m)return l.getElementsByClassName(h[1])};g=null}}})();var E=s.compareDocumentPosition?function(g,h){return!!(g.compareDocumentPosition(h)&16)}:function(g,h){return g!==h&&(g.contains?g.contains(h):true)},x=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},ga=function(g,h){var l=[],m="",q;for(h=h.nodeType?[h]:h;q=n.match.PSEUDO.exec(g);){m+=q[0];g=g.replace(n.match.PSEUDO,"")}g=n.relative[g]?g+"*":g;q=0;for(var p=h.length;q<p;q++)k(g,h[q],l);return k.filter(m,l)};c.find=k;c.expr=k.selectors;c.expr[":"]=c.expr.filters;c.unique=k.uniqueSort;c.text=a;c.isXMLDoc=x;c.contains=E})();var eb=/Until$/,fb=/^(?:parents|prevUntil|prevAll)/,gb=/,/;R=Array.prototype.slice;var Ia=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(e,j){return!!b.call(e,j,e)===d});else if(b.nodeType)return c.grep(a,function(e){return e===b===d});else if(typeof b==="string"){var f=c.grep(a,function(e){return e.nodeType===1});if(Ua.test(b))return c.filter(b,f,!d);else b=c.filter(b,f)}return c.grep(a,function(e){return c.inArray(e,b)>=0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,e=this.length;f<e;f++){d=b.length;c.find(a,this[f],b);if(f>0)for(var j=d;j<b.length;j++)for(var i=0;i<d;i++)if(b[i]===b[j]){b.splice(j--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,f=b.length;d<f;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(Ia(this,a,false),"not",a)},filter:function(a){return this.pushStack(Ia(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){if(c.isArray(a)){var d=[],f=this[0],e,j={},i;if(f&&a.length){e=0;for(var o=a.length;e<o;e++){i=a[e];j[i]||(j[i]=c.expr.match.POS.test(i)?c(i,b||this.context):i)}for(;f&&f.ownerDocument&&f!==b;){for(i in j){e=j[i];if(e.jquery?e.index(f)>-1:c(f).is(e)){d.push({selector:i,elem:f});delete j[i]}}f=f.parentNode}}return d}var k=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(n,r){for(;r&&r.ownerDocument&&r!==b;){if(k?k.index(r)>-1:c(r).is(a))return r;r=r.parentNode}return null})},index:function(a){if(!a||typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(qa(a[0])||qa(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);eb.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e):e;if((this.length>1||gb.test(f))&&fb.test(a))e=e.reverse();return this.pushStack(e,a,R.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return c.find.matches(a,b)},dir:function(a,b,d){var f=[];for(a=a[b];a&&a.nodeType!==9&&(d===w||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var Ja=/ jQuery\d+="(?:\d+|null)"/g,V=/^\s+/,Ka=/(<([\w:]+)[^>]*?)\/>/g,hb=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,La=/<([\w:]+)/,ib=/<tbody/i,jb=/<|&#?\w+;/,ta=/<script|<object|<embed|<option|<style/i,ua=/checked\s*(?:[^=]|=\s*.checked.)/i,Ma=function(a,b,d){return hb.test(d)?a:b+"></"+d+">"},F={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,"",""]};F.optgroup=F.option;F.tbody=F.tfoot=F.colgroup=F.caption=F.thead;F.th=F.td;if(!c.support.htmlSerialize)F._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==w)return this.empty().append((this[0]&&this[0].ownerDocument||s).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,f;(f=this[d])!=null;d++)if(!a||c.filter(a,[f]).length){if(!b&&f.nodeType===1){c.cleanData(f.getElementsByTagName("*"));c.cleanData([f])}f.parentNode&&f.parentNode.removeChild(f)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Ja,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(V,"")],f)[0]}else return this.cloneNode(true)});if(a===true){ra(this,b);ra(this.find("*"),b.find("*"))}return b},html:function(a){if(a===w)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Ja,""):null;else if(typeof a==="string"&&!ta.test(a)&&(c.support.leadingWhitespace||!V.test(a))&&!F[(La.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Ka,Ma);try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){c.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(f){this.empty().append(a)}}else c.isFunction(a)?this.each(function(e){var j=c(this),i=j.html();j.empty().append(function(){return a.call(this,e,i)})}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=c(this),f=d.html();d.replaceWith(a.call(this,b,f))});if(typeof a!=="string")a=c(a).detach();return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){function f(u){return c.nodeName(u,"table")?u.getElementsByTagName("tbody")[0]||u.appendChild(u.ownerDocument.createElement("tbody")):u}var e,j,i=a[0],o=[],k;if(!c.support.checkClone&&arguments.length===3&&typeof i==="string"&&ua.test(i))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(i))return this.each(function(u){var z=c(this);a[0]=i.call(this,u,b?z.html():w);z.domManip(a,b,d)});if(this[0]){e=i&&i.parentNode;e=c.support.parentNode&&e&&e.nodeType===11&&e.childNodes.length===this.length?{fragment:e}:sa(a,this,o);k=e.fragment;if(j=k.childNodes.length===1?(k=k.firstChild):k.firstChild){b=b&&c.nodeName(j,"tr");for(var n=0,r=this.length;n<r;n++)d.call(b?f(this[n],j):this[n],n>0||e.cacheable||this.length>1?k.cloneNode(true):k)}o.length&&c.each(o,Qa)}return this}});c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var f=[];d=c(d);var e=this.length===1&&this[0].parentNode;if(e&&e.nodeType===11&&e.childNodes.length===1&&d.length===1){d[b](this[0]);return this}else{e=0;for(var j=d.length;e<j;e++){var i=(e>0?this.clone(true):this).get();c.fn[b].apply(c(d[e]),i);f=f.concat(i)}return this.pushStack(f,a,d.selector)}}});c.extend({clean:function(a,b,d,f){b=b||s;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||s;for(var e=[],j=0,i;(i=a[j])!=null;j++){if(typeof i==="number")i+="";if(i){if(typeof i==="string"&&!jb.test(i))i=b.createTextNode(i);else if(typeof i==="string"){i=i.replace(Ka,Ma);var o=(La.exec(i)||["",""])[1].toLowerCase(),k=F[o]||F._default,n=k[0],r=b.createElement("div");for(r.innerHTML=k[1]+i+k[2];n--;)r=r.lastChild;if(!c.support.tbody){n=ib.test(i);o=o==="table"&&!n?r.firstChild&&r.firstChild.childNodes:k[1]==="<table>"&&!n?r.childNodes:[];for(k=o.length-1;k>=0;--k)c.nodeName(o[k],"tbody")&&!o[k].childNodes.length&&o[k].parentNode.removeChild(o[k])}!c.support.leadingWhitespace&&V.test(i)&&r.insertBefore(b.createTextNode(V.exec(i)[0]),r.firstChild);i=r.childNodes}if(i.nodeType)e.push(i);else e=c.merge(e,i)}}if(d)for(j=0;e[j];j++)if(f&&c.nodeName(e[j],"script")&&(!e[j].type||e[j].type.toLowerCase()==="text/javascript"))f.push(e[j].parentNode?e[j].parentNode.removeChild(e[j]):e[j]);else{e[j].nodeType===1&&e.splice.apply(e,[j+1,0].concat(c.makeArray(e[j].getElementsByTagName("script"))));d.appendChild(e[j])}return e},cleanData:function(a){for(var b,d,f=c.cache,e=c.event.special,j=c.support.deleteExpando,i=0,o;(o=a[i])!=null;i++)if(d=o[c.expando]){b=f[d];if(b.events)for(var k in b.events)e[k]?c.event.remove(o,k):Ca(o,k,b.handle);if(j)delete o[c.expando];else o.removeAttribute&&o.removeAttribute(c.expando);delete f[d]}}});var kb=/z-?index|font-?weight|opacity|zoom|line-?height/i,Na=/alpha\([^)]*\)/,Oa=/opacity=([^)]*)/,ha=/float/i,ia=/-([a-z])/ig,lb=/([A-Z])/g,mb=/^-?\d+(?:px)?$/i,nb=/^-?\d/,ob={position:"absolute",visibility:"hidden",display:"block"},pb=["Left","Right"],qb=["Top","Bottom"],rb=s.defaultView&&s.defaultView.getComputedStyle,Pa=c.support.cssFloat?"cssFloat":"styleFloat",ja=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return X(this,a,b,true,function(d,f,e){if(e===w)return c.curCSS(d,f);if(typeof e==="number"&&!kb.test(f))e+="px";c.style(d,f,e)})};c.extend({style:function(a,b,d){if(!a||a.nodeType===3||a.nodeType===8)return w;if((b==="width"||b==="height")&&parseFloat(d)<0)d=w;var f=a.style||a,e=d!==w;if(!c.support.opacity&&b==="opacity"){if(e){f.zoom=1;b=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+")";a=f.filter||c.curCSS(a,"filter")||"";f.filter=Na.test(a)?a.replace(Na,b):b}return f.filter&&f.filter.indexOf("opacity=")>=0?parseFloat(Oa.exec(f.filter)[1])/100+"":""}if(ha.test(b))b=Pa;b=b.replace(ia,ja);if(e)f[b]=d;return f[b]},css:function(a,b,d,f){if(b==="width"||b==="height"){var e,j=b==="width"?pb:qb;function i(){e=b==="width"?a.offsetWidth:a.offsetHeight;f!=="border"&&c.each(j,function(){f||(e-=parseFloat(c.curCSS(a,"padding"+this,true))||0);if(f==="margin")e+=parseFloat(c.curCSS(a,"margin"+this,true))||0;else e-=parseFloat(c.curCSS(a,"border"+this+"Width",true))||0})}a.offsetWidth!==0?i():c.swap(a,ob,i);return Math.max(0,Math.round(e))}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var f,e=a.style;if(!c.support.opacity&&b==="opacity"&&a.currentStyle){f=Oa.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return f===""?"1":f}if(ha.test(b))b=Pa;if(!d&&e&&e[b])f=e[b];else if(rb){if(ha.test(b))b="float";b=b.replace(lb,"-$1").toLowerCase();e=a.ownerDocument.defaultView;if(!e)return null;if(a=e.getComputedStyle(a,null))f=a.getPropertyValue(b);if(b==="opacity"&&f==="")f="1"}else if(a.currentStyle){d=b.replace(ia,ja);f=a.currentStyle[b]||a.currentStyle[d];if(!mb.test(f)&&nb.test(f)){b=e.left;var j=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;e.left=d==="fontSize"?"1em":f||0;f=e.pixelLeft+"px";e.left=b;a.runtimeStyle.left=j}}return f},swap:function(a,b,d){var f={};for(var e in b){f[e]=a.style[e];a.style[e]=b[e]}d.call(a);for(e in b)a.style[e]=f[e]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetWidth,d=a.offsetHeight,f=a.nodeName.toLowerCase()==="tr";return b===0&&d===0&&!f?true:b>0&&d>0&&!f?false:c.curCSS(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var sb=J(),tb=/<script(.|\s)*?\/script>/gi,ub=/select|textarea/i,vb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,N=/=\?(&|$)/,ka=/\?/,wb=/(\?|&)_=.*?(&|$)/,xb=/^(\w+:)?\/\/([^\/?#]+)/,yb=/%20/g,zb=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!=="string")return zb.call(this,a);else if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var e=a.slice(f,a.length);a=a.slice(0,f)}f="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b==="object"){b=c.param(b,c.ajaxSettings.traditional);f="POST"}var j=this;c.ajax({url:a,type:f,dataType:"html",data:b,complete:function(i,o){if(o==="success"||o==="notmodified")j.html(e?c("<div />").append(i.responseText.replace(tb,"")).find(e):i.responseText);d&&j.each(d,[i.responseText,o,i])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ub.test(this.nodeName)||vb.test(this.type))}).map(function(a,b){a=c(this).val();return a==null?null:c.isArray(a)?c.map(a,function(d){return{name:b.name,value:d}}):{name:b.name,value:a}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:f})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:f})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:A.XMLHttpRequest&&(A.location.protocol!=="file:"||!A.ActiveXObject)?function(){return new A.XMLHttpRequest}:function(){try{return new A.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(a){function b(){e.success&&e.success.call(k,o,i,x);e.global&&f("ajaxSuccess",[x,e])}function d(){e.complete&&e.complete.call(k,x,i);e.global&&f("ajaxComplete",[x,e]);e.global&&!--c.active&&c.event.trigger("ajaxStop")}function f(q,p){(e.context?c(e.context):c.event).trigger(q,p)}var e=c.extend(true,{},c.ajaxSettings,a),j,i,o,k=a&&a.context||e,n=e.type.toUpperCase();if(e.data&&e.processData&&typeof e.data!=="string")e.data=c.param(e.data,e.traditional);if(e.dataType==="jsonp"){if(n==="GET")N.test(e.url)||(e.url+=(ka.test(e.url)?"&":"?")+(e.jsonp||"callback")+"=?");else if(!e.data||!N.test(e.data))e.data=(e.data?e.data+"&":"")+(e.jsonp||"callback")+"=?";e.dataType="json"}if(e.dataType==="json"&&(e.data&&N.test(e.data)||N.test(e.url))){j=e.jsonpCallback||"jsonp"+sb++;if(e.data)e.data=(e.data+"").replace(N,"="+j+"$1");e.url=e.url.replace(N,"="+j+"$1");e.dataType="script";A[j]=A[j]||function(q){o=q;b();d();A[j]=w;try{delete A[j]}catch(p){}z&&z.removeChild(C)}}if(e.dataType==="script"&&e.cache===null)e.cache=false;if(e.cache===false&&n==="GET"){var r=J(),u=e.url.replace(wb,"$1_="+r+"$2");e.url=u+(u===e.url?(ka.test(e.url)?"&":"?")+"_="+r:"")}if(e.data&&n==="GET")e.url+=(ka.test(e.url)?"&":"?")+e.data;e.global&&!c.active++&&c.event.trigger("ajaxStart");r=(r=xb.exec(e.url))&&(r[1]&&r[1]!==location.protocol||r[2]!==location.host);if(e.dataType==="script"&&n==="GET"&&r){var z=s.getElementsByTagName("head")[0]||s.documentElement,C=s.createElement("script");C.src=e.url;if(e.scriptCharset)C.charset=e.scriptCharset;if(!j){var B=false;C.onload=C.onreadystatechange=function(){if(!B&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){B=true;b();d();C.onload=C.onreadystatechange=null;z&&C.parentNode&&z.removeChild(C)}}}z.insertBefore(C,z.firstChild);return w}var E=false,x=e.xhr();if(x){e.username?x.open(n,e.url,e.async,e.username,e.password):x.open(n,e.url,e.async);try{if(e.data||a&&a.contentType)x.setRequestHeader("Content-Type",e.contentType);if(e.ifModified){c.lastModified[e.url]&&x.setRequestHeader("If-Modified-Since",c.lastModified[e.url]);c.etag[e.url]&&x.setRequestHeader("If-None-Match",c.etag[e.url])}r||x.setRequestHeader("X-Requested-With","XMLHttpRequest");x.setRequestHeader("Accept",e.dataType&&e.accepts[e.dataType]?e.accepts[e.dataType]+", */*":e.accepts._default)}catch(ga){}if(e.beforeSend&&e.beforeSend.call(k,x,e)===false){e.global&&!--c.active&&c.event.trigger("ajaxStop");x.abort();return false}e.global&&f("ajaxSend",[x,e]);var g=x.onreadystatechange=function(q){if(!x||x.readyState===0||q==="abort"){E||d();E=true;if(x)x.onreadystatechange=c.noop}else if(!E&&x&&(x.readyState===4||q==="timeout")){E=true;x.onreadystatechange=c.noop;i=q==="timeout"?"timeout":!c.httpSuccess(x)?"error":e.ifModified&&c.httpNotModified(x,e.url)?"notmodified":"success";var p;if(i==="success")try{o=c.httpData(x,e.dataType,e)}catch(v){i="parsererror";p=v}if(i==="success"||i==="notmodified")j||b();else c.handleError(e,x,i,p);d();q==="timeout"&&x.abort();if(e.async)x=null}};try{var h=x.abort;x.abort=function(){x&&h.call(x);g("abort")}}catch(l){}e.async&&e.timeout>0&&setTimeout(function(){x&&!E&&g("timeout")},e.timeout);try{x.send(n==="POST"||n==="PUT"||n==="DELETE"?e.data:null)}catch(m){c.handleError(e,x,null,m);d()}e.async||g();return x}},handleError:function(a,b,d,f){if(a.error)a.error.call(a.context||a,b,d,f);if(a.global)(a.context?c(a.context):c.event).trigger("ajaxError",[b,a,f])},active:0,httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(f)c.etag[b]=f;return a.status===304||a.status===0},httpData:function(a,b,d){var f=a.getResponseHeader("content-type")||"",e=b==="xml"||!b&&f.indexOf("xml")>=0;a=e?a.responseXML:a.responseText;e&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b==="json"||!b&&f.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&f.indexOf("javascript")>=0)c.globalEval(a);return a},param:function(a,b){function d(i,o){if(c.isArray(o))c.each(o,function(k,n){b||/\[\]$/.test(i)?f(i,n):d(i+"["+(typeof n==="object"||c.isArray(n)?k:"")+"]",n)});else!b&&o!=null&&typeof o==="object"?c.each(o,function(k,n){d(i+"["+k+"]",n)}):f(i,o)}function f(i,o){o=c.isFunction(o)?o():o;e[e.length]=encodeURIComponent(i)+"="+encodeURIComponent(o)}var e=[];if(b===w)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery)c.each(a,function(){f(this.name,this.value)});else for(var j in a)d(j,a[j]);return e.join("&").replace(yb,"+")}});var la={},Ab=/toggle|show|hide/,Bb=/^([+-]=)?([\d+-.]+)(.*)$/,W,va=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b){if(a||a===0)return this.animate(K("show",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");this[a].style.display=d||"";if(c.css(this[a],"display")==="none"){d=this[a].nodeName;var f;if(la[d])f=la[d];else{var e=c("<"+d+" />").appendTo("body");f=e.css("display");if(f==="none")f="block";e.remove();la[d]=f}c.data(this[a],"olddisplay",f)}}a=0;for(b=this.length;a<b;a++)this[a].style.display=c.data(this[a],"olddisplay")||"";return this}},hide:function(a,b){if(a||a===0)return this.animate(K("hide",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");!d&&d!=="none"&&c.data(this[a],"olddisplay",c.css(this[a],"display"))}a=0;for(b=this.length;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b){var d=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||d?this.each(function(){var f=d?a:c(this).is(":hidden");c(this)[f?"show":"hide"]()}):this.animate(K("toggle",3),a,b);return this},fadeTo:function(a,b,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d)},animate:function(a,b,d,f){var e=c.speed(b,d,f);if(c.isEmptyObject(a))return this.each(e.complete);return this[e.queue===false?"each":"queue"](function(){var j=c.extend({},e),i,o=this.nodeType===1&&c(this).is(":hidden"),k=this;for(i in a){var n=i.replace(ia,ja);if(i!==n){a[n]=a[i];delete a[i];i=n}if(a[i]==="hide"&&o||a[i]==="show"&&!o)return j.complete.call(this);if((i==="height"||i==="width")&&this.style){j.display=c.css(this,"display");j.overflow=this.style.overflow}if(c.isArray(a[i])){(j.specialEasing=j.specialEasing||{})[i]=a[i][1];a[i]=a[i][0]}}if(j.overflow!=null)this.style.overflow="hidden";j.curAnim=c.extend({},a);c.each(a,function(r,u){var z=new c.fx(k,j,r);if(Ab.test(u))z[u==="toggle"?o?"show":"hide":u](a);else{var C=Bb.exec(u),B=z.cur(true)||0;if(C){u=parseFloat(C[2]);var E=C[3]||"px";if(E!=="px"){k.style[r]=(u||1)+E;B=(u||1)/z.cur(true)*B;k.style[r]=B+E}if(C[1])u=(C[1]==="-="?-1:1)*u+B;z.custom(B,u,E)}else z.custom(B,u,"")}});return true})},stop:function(a,b){var d=c.timers;a&&this.queue([]);this.each(function(){for(var f=d.length-1;f>=0;f--)if(d[f].elem===this){b&&d[f](true);d.splice(f,1)}});b||this.dequeue();return this}});c.each({slideDown:K("show",1),slideUp:K("hide",1),slideToggle:K("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,f){return this.animate(b,d,f)}});c.extend({speed:function(a,b,d){var f=a&&typeof a==="object"?a:{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};f.duration=c.fx.off?0:typeof f.duration==="number"?f.duration:c.fx.speeds[f.duration]||c.fx.speeds._default;f.old=f.complete;f.complete=function(){f.queue!==false&&c(this).dequeue();c.isFunction(f.old)&&f.old.call(this)};return f},easing:{linear:function(a,b,d,f){return d+f*a},swing:function(a,b,d,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(a,b,d){function f(j){return e.step(j)}this.startTime=J();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;var e=this;f.elem=this.elem;if(f()&&c.timers.push(f)&&!W)W=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=J(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var f in this.options.curAnim)if(this.options.curAnim[f]!==true)d=false;if(d){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;a=c.data(this.elem,"olddisplay");this.elem.style.display=a?a:this.options.display;if(c.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var e in this.options.curAnim)c.style(this.elem,e,this.options.orig[e]);this.options.complete.call(this.elem)}return false}else{e=b-this.startTime;this.state=e/this.options.duration;a=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||a](this.state,e,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||c.fx.stop()},stop:function(){clearInterval(W);W=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit;else a.elem[a.prop]=a.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length};c.fn.offset="getBoundingClientRect"in s.documentElement?function(a){var b=this[0];if(a)return this.each(function(e){c.offset.setOffset(this,a,e)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);var d=b.getBoundingClientRect(),f=b.ownerDocument;b=f.body;f=f.documentElement;return{top:d.top+(self.pageYOffset||c.support.boxModel&&f.scrollTop||b.scrollTop)-(f.clientTop||b.clientTop||0),left:d.left+(self.pageXOffset||c.support.boxModel&&f.scrollLeft||b.scrollLeft)-(f.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(a)return this.each(function(r){c.offset.setOffset(this,a,r)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d=b.offsetParent,f=b,e=b.ownerDocument,j,i=e.documentElement,o=e.body;f=(e=e.defaultView)?e.getComputedStyle(b,null):b.currentStyle;for(var k=b.offsetTop,n=b.offsetLeft;(b=b.parentNode)&&b!==o&&b!==i;){if(c.offset.supportsFixedPosition&&f.position==="fixed")break;j=e?e.getComputedStyle(b,null):b.currentStyle;k-=b.scrollTop;n-=b.scrollLeft;if(b===d){k+=b.offsetTop;n+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.nodeName))){k+=parseFloat(j.borderTopWidth)||0;n+=parseFloat(j.borderLeftWidth)||0}f=d;d=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&j.overflow!=="visible"){k+=parseFloat(j.borderTopWidth)||0;n+=parseFloat(j.borderLeftWidth)||0}f=j}if(f.position==="relative"||f.position==="static"){k+=o.offsetTop;n+=o.offsetLeft}if(c.offset.supportsFixedPosition&&f.position==="fixed"){k+=Math.max(i.scrollTop,o.scrollTop);n+=Math.max(i.scrollLeft,o.scrollLeft)}return{top:k,left:n}};c.offset={initialize:function(){var a=s.body,b=s.createElement("div"),d,f,e,j=parseFloat(c.curCSS(a,"marginTop",true))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";a.insertBefore(b,a.firstChild);d=b.firstChild;f=d.firstChild;e=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=f.offsetTop!==5;this.doesAddBorderForTableAndCells=e.offsetTop===5;f.style.position="fixed";f.style.top="20px";this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15;f.style.position=f.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==j;a.removeChild(b);c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS(a,"position")))a.style.position="relative";var f=c(a),e=f.offset(),j=parseInt(c.curCSS(a,"top",true),10)||0,i=parseInt(c.curCSS(a,"left",true),10)||0;if(c.isFunction(b))b=b.call(a,d,e);d={top:b.top-e.top+j,left:b.left-e.left+i};"using"in b?b.using.call(a,d):f.css(d)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),f=/^body|html$/i.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.curCSS(a,"marginTop",true))||0;d.left-=parseFloat(c.curCSS(a,"marginLeft",true))||0;f.top+=parseFloat(c.curCSS(b[0],"borderTopWidth",true))||0;f.left+=parseFloat(c.curCSS(b[0],"borderLeftWidth",true))||0;return{top:d.top-
f.top,left:d.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||s.body;a&&!/^body|html$/i.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(f){var e=this[0],j;if(!e)return null;if(f!==w)return this.each(function(){if(j=wa(this))j.scrollTo(!a?f:c(j).scrollLeft(),a?f:c(j).scrollTop());else this[d]=f});else return(j=wa(e))?"pageXOffset"in j?j[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&j.document.documentElement[d]||j.document.body[d]:e[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?c.css(this[0],d,false,"padding"):null};c.fn["outer"+b]=function(f){return this[0]?c.css(this[0],d,false,f?"margin":"border"):null};c.fn[d]=function(f){var e=this[0];if(!e)return f==null?null:this;if(c.isFunction(f))return this.each(function(j){var i=c(this);i[d](f.call(this,j,i[d]()))});return"scrollTo"in
e&&e.document?e.document.compatMode==="CSS1Compat"&&e.document.documentElement["client"+b]||e.document.body["client"+b]:e.nodeType===9?Math.max(e.documentElement["client"+b],e.body["scroll"+b],e.documentElement["scroll"+b],e.body["offset"+b],e.documentElement["offset"+b]):f===w?c.css(e,d):this.css(d,typeof f==="string"?f:f+"px")}});A.jQuery=A.$=c})(window);
;
/****** FILE: mysite/themes/kcw/js/jquery.dql.autohide.js *****/
"use strict";(function($){$.fn.autohide=function(){return this.each(function(){var input=$(this),startValue=input.val();input.focus(function(){if(input.val()===startValue){input.val('');}});input.blur(function(){if(input.val()===''){input.val(startValue);}});});};}(jQuery));
;
/****** FILE: mysite/themes/kcw/js/cufon-yui.js *****/

var Cufon=(function(){var m=function(){return m.replace.apply(null,arguments)};var x=m.DOM={ready:(function(){var C=false,E={loaded:1,complete:1};var B=[],D=function(){if(C){return}C=true;for(var F;F=B.shift();F()){}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",D,false);window.addEventListener("pageshow",D,false)}if(!window.opera&&document.readyState){(function(){E[document.readyState]?D():setTimeout(arguments.callee,10)})()}if(document.readyState&&document.createStyleSheet){(function(){try{document.body.doScroll("left");D()}catch(F){setTimeout(arguments.callee,1)}})()}q(window,"load",D);return function(F){if(!arguments.length){D()}else{C?F():B.push(F)}}})(),root:function(){return document.documentElement||document.body}};var n=m.CSS={Size:function(C,B){this.value=parseFloat(C);this.unit=String(C).match(/[a-z%]*$/)[0]||"px";this.convert=function(D){return D/B*this.value};this.convertFrom=function(D){return D/this.value*B};this.toString=function(){return this.value+this.unit}},addClass:function(C,B){var D=C.className;C.className=D+(D&&" ")+B;return C},color:j(function(C){var B={};B.color=C.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(E,D,F){B.opacity=parseFloat(F);return"rgb("+D+")"});return B}),fontStretch:j(function(B){if(typeof B=="number"){return B}if(/%$/.test(B)){return parseFloat(B)/100}return{"ultra-condensed":0.5,"extra-condensed":0.625,condensed:0.75,"semi-condensed":0.875,"semi-expanded":1.125,expanded:1.25,"extra-expanded":1.5,"ultra-expanded":2}[B]||1}),getStyle:function(C){var B=document.defaultView;if(B&&B.getComputedStyle){return new a(B.getComputedStyle(C,null))}if(C.currentStyle){return new a(C.currentStyle)}return new a(C.style)},gradient:j(function(F){var G={id:F,type:F.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},C=F.substr(F.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);for(var E=0,B=C.length,D;E<B;++E){D=C[E].split("=",2).reverse();G.stops.push([D[1]||E/(B-1),D[0]])}return G}),quotedList:j(function(E){var D=[],C=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,B;while(B=C.exec(E)){D.push(B[3]||B[1])}return D}),recognizesMedia:j(function(G){var E=document.createElement("style"),D,C,B;E.type="text/css";E.media=G;try{E.appendChild(document.createTextNode("/**/"))}catch(F){}C=g("head")[0];C.insertBefore(E,C.firstChild);D=(E.sheet||E.styleSheet);B=D&&!D.disabled;C.removeChild(E);return B}),removeClass:function(D,C){var B=RegExp("(?:^|\\s+)"+C+"(?=\\s|$)","g");D.className=D.className.replace(B,"");return D},supports:function(D,C){var B=document.createElement("span").style;if(B[D]===undefined){return false}B[D]=C;return B[D]===C},textAlign:function(E,D,B,C){if(D.get("textAlign")=="right"){if(B>0){E=" "+E}}else{if(B<C-1){E+=" "}}return E},textShadow:j(function(F){if(F=="none"){return null}var E=[],G={},B,C=0;var D=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(B=D.exec(F)){if(B[0]==","){E.push(G);G={};C=0}else{if(B[1]){G.color=B[1]}else{G[["offX","offY","blur"][C++]]=B[2]}}}E.push(G);return E}),textTransform:(function(){var B={uppercase:function(C){return C.toUpperCase()},lowercase:function(C){return C.toLowerCase()},capitalize:function(C){return C.replace(/\b./g,function(D){return D.toUpperCase()})}};return function(E,D){var C=B[D.get("textTransform")];return C?C(E):E}})(),whiteSpace:(function(){var D={inline:1,"inline-block":1,"run-in":1};var C=/^\s+/,B=/\s+$/;return function(H,F,G,E){if(E){if(E.nodeName.toLowerCase()=="br"){H=H.replace(C,"")}}if(D[F.get("display")]){return H}if(!G.previousSibling){H=H.replace(C,"")}if(!G.nextSibling){H=H.replace(B,"")}return H}})()};n.ready=(function(){var B=!n.recognizesMedia("all"),E=false;var D=[],H=function(){B=true;for(var K;K=D.shift();K()){}};var I=g("link"),J=g("style");function C(K){return K.disabled||G(K.sheet,K.media||"screen")}function G(M,P){if(!n.recognizesMedia(P||"all")){return true}if(!M||M.disabled){return false}try{var Q=M.cssRules,O;if(Q){search:for(var L=0,K=Q.length;O=Q[L],L<K;++L){switch(O.type){case 2:break;case 3:if(!G(O.styleSheet,O.media.mediaText)){return false}break;default:break search}}}}catch(N){}return true}function F(){if(document.createStyleSheet){return true}var L,K;for(K=0;L=I[K];++K){if(L.rel.toLowerCase()=="stylesheet"&&!C(L)){return false}}for(K=0;L=J[K];++K){if(!C(L)){return false}}return true}x.ready(function(){if(!E){E=n.getStyle(document.body).isUsable()}if(B||(E&&F())){H()}else{setTimeout(arguments.callee,10)}});return function(K){if(B){K()}else{D.push(K)}}})();function s(D){var C=this.face=D.face,B={"\u0020":1,"\u00a0":1,"\u3000":1};this.glyphs=D.glyphs;this.w=D.w;this.baseSize=parseInt(C["units-per-em"],10);this.family=C["font-family"].toLowerCase();this.weight=C["font-weight"];this.style=C["font-style"]||"normal";this.viewBox=(function(){var F=C.bbox.split(/\s+/);var E={minX:parseInt(F[0],10),minY:parseInt(F[1],10),maxX:parseInt(F[2],10),maxY:parseInt(F[3],10)};E.width=E.maxX-E.minX;E.height=E.maxY-E.minY;E.toString=function(){return[this.minX,this.minY,this.width,this.height].join(" ")};return E})();this.ascent=-parseInt(C.ascent,10);this.descent=-parseInt(C.descent,10);this.height=-this.ascent+this.descent;this.spacing=function(L,N,E){var O=this.glyphs,M,K,G,P=[],F=0,J=-1,I=-1,H;while(H=L[++J]){M=O[H]||this.missingGlyph;if(!M){continue}if(K){F-=G=K[H]||0;P[I]-=G}F+=P[++I]=~~(M.w||this.w)+N+(B[H]?E:0);K=M.k}P.total=F;return P}}function f(){var C={},B={oblique:"italic",italic:"oblique"};this.add=function(D){(C[D.style]||(C[D.style]={}))[D.weight]=D};this.get=function(H,I){var G=C[H]||C[B[H]]||C.normal||C.italic||C.oblique;if(!G){return null}I={normal:400,bold:700}[I]||parseInt(I,10);if(G[I]){return G[I]}var E={1:1,99:0}[I%100],K=[],F,D;if(E===undefined){E=I>400}if(I==500){I=400}for(var J in G){if(!k(G,J)){continue}J=parseInt(J,10);if(!F||J<F){F=J}if(!D||J>D){D=J}K.push(J)}if(I<F){I=F}if(I>D){I=D}K.sort(function(M,L){return(E?(M>=I&&L>=I)?M<L:M>L:(M<=I&&L<=I)?M>L:M<L)?-1:1});return G[K[0]]}}function r(){function D(F,G){if(F.contains){return F.contains(G)}return F.compareDocumentPosition(G)&16}function B(G){var F=G.relatedTarget;if(!F||D(this,F)){return}C(this,G.type=="mouseover")}function E(F){C(this,F.type=="mouseenter")}function C(F,G){setTimeout(function(){var H=d.get(F).options;m.replace(F,G?h(H,H.hover):H,true)},10)}this.attach=function(F){if(F.onmouseenter===undefined){q(F,"mouseover",B);q(F,"mouseout",B)}else{q(F,"mouseenter",E);q(F,"mouseleave",E)}}}function u(){var C=[],D={};function B(H){var E=[],G;for(var F=0;G=H[F];++F){E[F]=C[D[G]]}return E}this.add=function(F,E){D[F]=C.push(E)-1};this.repeat=function(){var E=arguments.length?B(arguments):C,F;for(var G=0;F=E[G++];){m.replace(F[0],F[1],true)}}}function A(){var D={},B=0;function C(E){return E.cufid||(E.cufid=++B)}this.get=function(E){var F=C(E);return D[F]||(D[F]={})}}function a(B){var D={},C={};this.extend=function(E){for(var F in E){if(k(E,F)){D[F]=E[F]}}return this};this.get=function(E){return D[E]!=undefined?D[E]:B[E]};this.getSize=function(F,E){return C[F]||(C[F]=new n.Size(this.get(F),E))};this.isUsable=function(){return!!B}}function q(C,B,D){if(C.addEventListener){C.addEventListener(B,D,false)}else{if(C.attachEvent){C.attachEvent("on"+B,function(){return D.call(C,window.event)})}}}function v(C,B){var D=d.get(C);if(D.options){return C}if(B.hover&&B.hoverables[C.nodeName.toLowerCase()]){b.attach(C)}D.options=B;return C}function j(B){var C={};return function(D){if(!k(C,D)){C[D]=B.apply(null,arguments)}return C[D]}}function c(F,E){var B=n.quotedList(E.get("fontFamily").toLowerCase()),D;for(var C=0;D=B[C];++C){if(i[D]){return i[D].get(E.get("fontStyle"),E.get("fontWeight"))}}return null}function g(B){return document.getElementsByTagName(B)}function k(C,B){return C.hasOwnProperty(B)}function h(){var C={},B,F;for(var E=0,D=arguments.length;B=arguments[E],E<D;++E){for(F in B){if(k(B,F)){C[F]=B[F]}}}return C}function o(E,M,C,N,F,D){var K=document.createDocumentFragment(),H;if(M===""){return K}var L=N.separate;var I=M.split(p[L]),B=(L=="words");if(B&&t){if(/^\s/.test(M)){I.unshift("")}if(/\s$/.test(M)){I.push("")}}for(var J=0,G=I.length;J<G;++J){H=z[N.engine](E,B?n.textAlign(I[J],C,J,G):I[J],C,N,F,D,J<G-1);if(H){K.appendChild(H)}}return K}function l(D,M){var C=D.nodeName.toLowerCase();if(M.ignore[C]){return}var E=!M.textless[C];var B=n.getStyle(v(D,M)).extend(M);var F=c(D,B),G,K,I,H,L,J;if(!F){return}for(G=D.firstChild;G;G=I){K=G.nodeType;I=G.nextSibling;if(E&&K==3){if(H){H.appendData(G.data);D.removeChild(G)}else{H=G}if(I){continue}}if(H){D.replaceChild(o(F,n.whiteSpace(H.data,B,H,J),B,M,G,D),H);H=null}if(K==1){if(G.firstChild){if(G.nodeName.toLowerCase()=="cufon"){z[M.engine](F,null,B,M,G,D)}else{arguments.callee(G,M)}}J=G}}}var t=" ".split(/\s+/).length==0;var d=new A();var b=new r();var y=new u();var e=false;var z={},i={},w={autoDetect:false,engine:null,forceHitArea:false,hover:false,hoverables:{a:true},ignore:{applet:1,canvas:1,col:1,colgroup:1,head:1,iframe:1,map:1,optgroup:1,option:1,script:1,select:1,style:1,textarea:1,title:1,pre:1},printable:true,selector:(window.Sizzle||(window.jQuery&&function(B){return jQuery(B)})||(window.dojo&&dojo.query)||(window.Ext&&Ext.query)||(window.YAHOO&&YAHOO.util&&YAHOO.util.Selector&&YAHOO.util.Selector.query)||(window.$$&&function(B){return $$(B)})||(window.$&&function(B){return $(B)})||(document.querySelectorAll&&function(B){return document.querySelectorAll(B)})||g),separate:"words",textless:{dl:1,html:1,ol:1,table:1,tbody:1,thead:1,tfoot:1,tr:1,ul:1},textShadow:"none"};var p={words:/\s/.test("\u00a0")?/[^\S\u00a0]+/:/\s+/,characters:"",none:/^/};m.now=function(){x.ready();return m};m.refresh=function(){y.repeat.apply(y,arguments);return m};m.registerEngine=function(C,B){if(!B){return m}z[C]=B;return m.set("engine",C)};m.registerFont=function(D){if(!D){return m}var B=new s(D),C=B.family;if(!i[C]){i[C]=new f()}i[C].add(B);return m.set("fontFamily",'"'+C+'"')};m.replace=function(D,C,B){C=h(w,C);if(!C.engine){return m}if(!e){n.addClass(x.root(),"cufon-active cufon-loading");n.ready(function(){n.addClass(n.removeClass(x.root(),"cufon-loading"),"cufon-ready")});e=true}if(C.hover){C.forceHitArea=true}if(C.autoDetect){delete C.fontFamily}if(typeof C.textShadow=="string"){C.textShadow=n.textShadow(C.textShadow)}if(typeof C.color=="string"&&/^-/.test(C.color)){C.textGradient=n.gradient(C.color)}else{delete C.textGradient}if(!B){y.add(D,arguments)}if(D.nodeType||typeof D=="string"){D=[D]}n.ready(function(){for(var F=0,E=D.length;F<E;++F){var G=D[F];if(typeof G=="string"){m.replace(C.selector(G),C,true)}else{l(G,C)}}});return m};m.set=function(B,C){w[B]=C;return m};return m})();Cufon.registerEngine("canvas",(function(){var b=document.createElement("canvas");if(!b||!b.getContext||!b.getContext.apply){return}b=null;var a=Cufon.CSS.supports("display","inline-block");var e=!a&&(document.compatMode=="BackCompat"||/frameset|transitional/i.test(document.doctype.publicId));var f=document.createElement("style");f.type="text/css";f.appendChild(document.createTextNode(("cufon{text-indent:0;}@media screen,projection{cufon{display:inline;display:inline-block;position:relative;vertical-align:middle;"+(e?"":"font-size:1px;line-height:1px;")+"}cufon cufontext{display:-moz-inline-box;display:inline-block;width:0;height:0;overflow:hidden;text-indent:-10000in;}"+(a?"cufon canvas{position:relative;}":"cufon canvas{position:absolute;}")+"}@media print{cufon{padding:0;}cufon canvas{display:none;}}").replace(/;/g,"!important;")));document.getElementsByTagName("head")[0].appendChild(f);function d(p,h){var n=0,m=0;var g=[],o=/([mrvxe])([^a-z]*)/g,k;generate:for(var j=0;k=o.exec(p);++j){var l=k[2].split(",");switch(k[1]){case"v":g[j]={m:"bezierCurveTo",a:[n+~~l[0],m+~~l[1],n+~~l[2],m+~~l[3],n+=~~l[4],m+=~~l[5]]};break;case"r":g[j]={m:"lineTo",a:[n+=~~l[0],m+=~~l[1]]};break;case"m":g[j]={m:"moveTo",a:[n=~~l[0],m=~~l[1]]};break;case"x":g[j]={m:"closePath"};break;case"e":break generate}h[g[j].m].apply(h,g[j].a)}return g}function c(m,k){for(var j=0,h=m.length;j<h;++j){var g=m[j];k[g.m].apply(k,g.a)}}return function(V,w,P,t,C,W){var k=(w===null);if(k){w=C.getAttribute("alt")}var A=V.viewBox;var m=P.getSize("fontSize",V.baseSize);var B=0,O=0,N=0,u=0;var z=t.textShadow,L=[];if(z){for(var U=z.length;U--;){var F=z[U];var K=m.convertFrom(parseFloat(F.offX));var I=m.convertFrom(parseFloat(F.offY));L[U]=[K,I];if(I<B){B=I}if(K>O){O=K}if(I>N){N=I}if(K<u){u=K}}}var Z=Cufon.CSS.textTransform(w,P).split("");var E=V.spacing(Z,~~m.convertFrom(parseFloat(P.get("letterSpacing"))||0),~~m.convertFrom(parseFloat(P.get("wordSpacing"))||0));if(!E.length){return null}var h=E.total;O+=A.width-E[E.length-1];u+=A.minX;var s,n;if(k){s=C;n=C.firstChild}else{s=document.createElement("cufon");s.className="cufon cufon-canvas";s.setAttribute("alt",w);n=document.createElement("canvas");s.appendChild(n);if(t.printable){var S=document.createElement("cufontext");S.appendChild(document.createTextNode(w));s.appendChild(S)}}var aa=s.style;var H=n.style;var j=m.convert(A.height);var Y=Math.ceil(j);var M=Y/j;var G=M*Cufon.CSS.fontStretch(P.get("fontStretch"));var J=h*G;var Q=Math.ceil(m.convert(J+O-u));var o=Math.ceil(m.convert(A.height-B+N));n.width=Q;n.height=o;H.width=Q+"px";H.height=o+"px";B+=A.minY;H.top=Math.round(m.convert(B-V.ascent))+"px";H.left=Math.round(m.convert(u))+"px";var r=Math.max(Math.ceil(m.convert(J)),0)+"px";if(a){aa.width=r;aa.height=m.convert(V.height)+"px"}else{aa.paddingLeft=r;aa.paddingBottom=(m.convert(V.height)-1)+"px"}var X=n.getContext("2d"),D=j/A.height;X.scale(D,D*M);X.translate(-u,-B);X.save();function T(){var x=V.glyphs,ab,l=-1,g=-1,y;X.scale(G,1);while(y=Z[++l]){var ab=x[Z[l]]||V.missingGlyph;if(!ab){continue}if(ab.d){X.beginPath();if(ab.code){c(ab.code,X)}else{ab.code=d("m"+ab.d,X)}X.fill()}X.translate(E[++g],0)}X.restore()}if(z){for(var U=z.length;U--;){var F=z[U];X.save();X.fillStyle=F.color;X.translate.apply(X,L[U]);T()}}var q=t.textGradient;if(q){var v=q.stops,p=X.createLinearGradient(0,A.minY,0,A.maxY);for(var U=0,R=v.length;U<R;++U){p.addColorStop.apply(p,v[U])}X.fillStyle=p}else{X.fillStyle=P.get("color")}T();return s}})());Cufon.registerEngine("vml",(function(){var e=document.namespaces;if(!e){return}e.add("cvml","urn:schemas-microsoft-com:vml");e=null;var b=document.createElement("cvml:shape");b.style.behavior="url(#default#VML)";if(!b.coordsize){return}b=null;var h=(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:'+(h?"middle":"text-bottom")+";}cufon cufontext{position:absolute;left:-10000in;font-size:1px;}a cufon{cursor:pointer}}@media print{cufon cufoncanvas{display:none;}}</style>").replace(/;/g,"!important;"));function c(i,j){return a(i,/(?:em|ex|%)$|^[a-z-]+$/i.test(j)?"1em":j)}function a(l,m){if(m==="0"){return 0}if(/px$/i.test(m)){return parseFloat(m)}var k=l.style.left,j=l.runtimeStyle.left;l.runtimeStyle.left=l.currentStyle.left;l.style.left=m.replace("%","em");var i=l.style.pixelLeft;l.style.left=k;l.runtimeStyle.left=j;return i}function f(l,k,j,n){var i="computed"+n,m=k[i];if(isNaN(m)){m=k.get(n);k[i]=m=(m=="normal")?0:~~j.convertFrom(a(l,m))}return m}var g={};function d(p){var q=p.id;if(!g[q]){var n=p.stops,o=document.createElement("cvml:fill"),i=[];o.type="gradient";o.angle=180;o.focus="0";o.method="sigma";o.color=n[0][1];for(var m=1,l=n.length-1;m<l;++m){i.push(n[m][0]*100+"% "+n[m][1])}o.colors=i.join(",");o.color2=n[l][1];g[q]=o}return g[q]}return function(ac,G,Y,C,K,ad,W){var n=(G===null);if(n){G=K.alt}var I=ac.viewBox;var p=Y.computedFontSize||(Y.computedFontSize=new Cufon.CSS.Size(c(ad,Y.get("fontSize"))+"px",ac.baseSize));var y,q;if(n){y=K;q=K.firstChild}else{y=document.createElement("cufon");y.className="cufon cufon-vml";y.alt=G;q=document.createElement("cufoncanvas");y.appendChild(q);if(C.printable){var Z=document.createElement("cufontext");Z.appendChild(document.createTextNode(G));y.appendChild(Z)}if(!W){y.appendChild(document.createElement("cvml:shape"))}}var ai=y.style;var R=q.style;var l=p.convert(I.height),af=Math.ceil(l);var V=af/l;var P=V*Cufon.CSS.fontStretch(Y.get("fontStretch"));var U=I.minX,T=I.minY;R.height=af;R.top=Math.round(p.convert(T-ac.ascent));R.left=Math.round(p.convert(U));ai.height=p.convert(ac.height)+"px";var F=Y.get("color");var ag=Cufon.CSS.textTransform(G,Y).split("");var L=ac.spacing(ag,f(ad,Y,p,"letterSpacing"),f(ad,Y,p,"wordSpacing"));if(!L.length){return null}var k=L.total;var x=-U+k+(I.width-L[L.length-1]);var ah=p.convert(x*P),X=Math.round(ah);var O=x+","+I.height,m;var J="r"+O+"ns";var u=C.textGradient&&d(C.textGradient);var o=ac.glyphs,S=0;var H=C.textShadow;var ab=-1,aa=0,w;while(w=ag[++ab]){var D=o[ag[ab]]||ac.missingGlyph,v;if(!D){continue}if(n){v=q.childNodes[aa];while(v.firstChild){v.removeChild(v.firstChild)}}else{v=document.createElement("cvml:shape");q.appendChild(v)}v.stroked="f";v.coordsize=O;v.coordorigin=m=(U-S)+","+T;v.path=(D.d?"m"+D.d+"xe":"")+"m"+m+J;v.fillcolor=F;if(u){v.appendChild(u.cloneNode(false))}var ae=v.style;ae.width=X;ae.height=af;if(H){var s=H[0],r=H[1];var B=Cufon.CSS.color(s.color),z;var N=document.createElement("cvml:shadow");N.on="t";N.color=B.color;N.offset=s.offX+","+s.offY;if(r){z=Cufon.CSS.color(r.color);N.type="double";N.color2=z.color;N.offset2=r.offX+","+r.offY}N.opacity=B.opacity||(z&&z.opacity)||1;v.appendChild(N)}S+=L[aa++]}var M=v.nextSibling,t,A;if(C.forceHitArea){if(!M){M=document.createElement("cvml:rect");M.stroked="f";M.className="cufon-vml-cover";t=document.createElement("cvml:fill");t.opacity=0;M.appendChild(t);q.appendChild(M)}A=M.style;A.width=X;A.height=af}else{if(M){q.removeChild(M)}}ai.width=Math.max(Math.ceil(p.convert(k*P)),0);if(h){var Q=Y.computedYAdjust;if(Q===undefined){var E=Y.get("lineHeight");if(E=="normal"){E="1em"}else{if(!isNaN(E)){E+="em"}}Y.computedYAdjust=Q=0.5*(a(ad,E)-parseFloat(ai.height))}if(Q){ai.marginTop=Math.ceil(Q)+"px";ai.marginBottom=Q+"px"}}return y}})());
;
/****** FILE: mysite/themes/kcw/js/AvantGarde_LT_Book_500-ITC_Avant_Garde_Gothic_500.font.js *****/

Cufon.registerFont({"w":199,"face":{"font-family":"AvantGarde LT Book","font-weight":500,"font-stretch":"normal","units-per-em":"360","panose-1":"2 0 6 3 3 0 0 2 0 4","ascent":"288","descent":"-72","x-height":"5","bbox":"-16 -292 342 80","underline-thickness":"18","underline-position":"-27","unicode-range":"U+0020-U+007E"},"glyphs":{" ":{"w":99},"\u00a0":{"w":99},"$":{"d":"124,-148v66,15,66,136,-11,138r0,35r-26,0r0,-35v-37,-6,-61,-30,-62,-72r27,0v0,33,18,47,49,50v57,5,61,-83,12,-94v-39,-9,-79,-22,-80,-71v-1,-35,23,-60,54,-65r0,-30r26,0r0,29v37,6,56,29,59,67v-8,-1,-21,2,-27,-1v0,-28,-17,-40,-45,-42v-41,-3,-54,53,-25,73v15,9,29,13,49,18"},"%":{"d":"74,0r-24,0r152,-266r25,0xm116,-206v4,-48,-69,-59,-83,-17v-10,30,8,62,40,61v27,-1,41,-18,43,-44xm73,-141v-38,0,-65,-25,-65,-65v0,-39,26,-64,65,-64v39,0,65,25,65,64v0,40,-27,65,-65,65xm206,5v-39,0,-65,-26,-65,-65v0,-39,26,-64,65,-64v39,0,65,25,65,64v0,39,-26,65,-65,65xm206,-104v-27,0,-44,18,-44,44v0,27,18,45,44,45v26,0,43,-17,43,-45v0,-27,-16,-44,-43,-44","w":279},"&":{"d":"109,-167v18,-8,45,-16,44,-45v-2,-21,-15,-33,-37,-34v-30,-1,-51,36,-28,58v6,7,14,15,21,21xm47,-76v0,51,66,71,96,36v9,-10,16,-22,22,-34r-64,-63v-25,11,-54,28,-54,61xm180,-209v0,34,-27,51,-52,61r50,49r39,-75r30,0r-49,94r67,66r-19,18r-61,-59v-15,28,-37,59,-81,59v-51,0,-84,-32,-84,-81v0,-45,30,-64,62,-79v-14,-14,-30,-29,-30,-56v0,-36,27,-59,64,-59v37,0,64,26,64,62","w":272},"(":{"d":"128,74v-96,-28,-148,-192,-74,-287v20,-25,45,-49,74,-60r0,27v-48,29,-84,76,-84,147v0,71,36,118,84,147r0,26","w":132},")":{"d":"89,-99v0,-71,-37,-117,-84,-147r0,-27v96,28,149,192,74,287v-20,25,-45,49,-74,60r0,-26v48,-30,84,-76,84,-147","w":132},"*":{"d":"66,-266r21,0r-1,41r40,-13r6,20r-39,12r24,33r-17,12r-24,-33r-24,33r-17,-12r25,-33r-39,-13r6,-20r40,14","w":153},"+":{"d":"121,-103r79,0r0,24r-79,0r0,79r-24,0r0,-79r-79,0r0,-24r79,0r0,-79r24,0r0,79","w":218},",":{"d":"37,-45r26,0r-31,69r-27,0","w":99},"-":{"d":"109,-113r0,24r-98,0r0,-24r98,0","w":119},"\u00ad":{"d":"109,-113r0,24r-98,0r0,-24r98,0","w":119},".":{"d":"37,-45r26,0r0,45r-26,0r0,-45","w":99},"\/":{"d":"117,-266r28,0r-102,302r-27,0","w":157},"0":{"d":"100,-19v72,1,62,-82,62,-156v0,-44,-22,-72,-62,-72v-72,0,-65,82,-63,156v1,41,21,72,63,72xm100,-271v57,0,87,36,89,96v3,94,0,180,-89,180v-88,0,-94,-85,-90,-180v3,-60,33,-96,90,-96"},"1":{"d":"94,-242r-45,0r0,-24r72,0r0,266r-27,0r0,-242"},"2":{"d":"102,-271v77,-4,106,95,56,143r-108,104r134,0r0,24r-170,0r0,-24r115,-111v14,-15,29,-28,29,-55v0,-36,-24,-60,-63,-57v-32,3,-53,27,-52,67v-8,-1,-20,2,-26,-1v0,-57,32,-88,85,-90"},"3":{"d":"96,-247v-26,1,-39,20,-39,47r-27,0v2,-42,26,-68,67,-71v67,-5,89,90,40,118v26,14,43,35,45,71v6,90,-121,115,-159,43v-6,-12,-10,-27,-11,-45r27,0v0,39,22,65,59,65v36,0,58,-24,58,-62v0,-40,-30,-61,-77,-59r0,-23v36,2,59,-12,59,-42v0,-25,-15,-43,-42,-42"},"4":{"d":"139,-73r0,-157r-103,157r103,0xm139,-49r-134,0r0,-24r129,-193r32,0r0,193r24,0r0,24r-24,0r0,49r-27,0r0,-49"},"5":{"d":"101,-158v-25,0,-43,16,-56,31r-21,-8r25,-131r119,0r0,24r-98,0r-13,73v57,-33,134,9,134,81v0,98,-142,125,-173,38v-4,-9,-7,-21,-9,-34r27,0v4,38,26,65,64,65v40,0,64,-30,64,-69v0,-41,-24,-70,-63,-70"},"6":{"d":"100,-157v-40,0,-65,28,-65,70v0,39,24,68,65,68v39,0,64,-28,64,-69v0,-40,-25,-69,-64,-69xm100,5v-92,5,-103,-108,-59,-173r66,-98r30,0r-61,91v62,-21,115,25,115,86v0,56,-35,91,-91,94"},"7":{"d":"149,-242r-126,0r0,-24r154,0r0,24r-109,242r-28,0"},"8":{"d":"144,-203v4,-48,-71,-59,-85,-17v-10,31,9,60,41,60v27,0,42,-18,44,-43xm99,-135v-34,0,-58,23,-58,57v0,38,26,55,59,59v33,-3,58,-22,58,-58v0,-36,-25,-58,-59,-58xm15,-77v0,-37,19,-60,45,-72v-54,-30,-29,-122,40,-122v69,0,94,94,39,122v26,14,46,36,46,72v0,48,-34,82,-85,82v-50,0,-85,-32,-85,-82"},"9":{"d":"100,-109v39,0,64,-28,64,-70v0,-39,-24,-68,-64,-68v-40,0,-65,28,-65,69v0,41,25,69,65,69xm100,-271v92,-4,103,108,59,173r-66,98r-31,0v19,-30,46,-61,61,-91v-59,21,-116,-24,-114,-86v2,-56,34,-92,91,-94"},":":{"d":"37,-197r26,0r0,45r-26,0r0,-45xm37,-45r26,0r0,45r-26,0r0,-45","w":99},";":{"d":"37,-197r26,0r0,45r-26,0r0,-45xm37,-45r26,0r-31,69r-27,0","w":99},"<":{"d":"199,-161r-153,70r153,69r0,25r-182,-83r0,-22r182,-83r0,24","w":218},"=":{"d":"18,-67r182,0r0,25r-182,0r0,-25xm200,-115r-182,0r0,-25r182,0r0,25","w":218},">":{"d":"19,-22r153,-69r-153,-70r0,-24r183,83r0,22r-183,83r0,-25","w":218},"?":{"d":"95,-45r26,0r0,45r-26,0r0,-45xm107,-246v-36,0,-58,24,-57,63r-27,0v1,-54,33,-85,85,-88v69,-4,106,82,59,130v-19,20,-43,35,-46,72v-8,-1,-22,3,-26,-2v-1,-63,61,-68,68,-121v-3,-31,-24,-54,-56,-54","w":212},"@":{"d":"149,-76v52,2,68,-103,12,-106v-57,-5,-72,105,-12,106xm159,-202v27,-2,38,15,45,32r5,-27r22,0r-19,106v0,8,5,15,13,15v32,0,42,-39,42,-76v0,-64,-41,-99,-104,-99v-73,0,-118,46,-118,118v0,73,44,117,122,118v34,0,62,-8,85,-18r6,18v-26,13,-55,20,-91,20v-91,0,-144,-52,-144,-138v0,-84,54,-138,139,-138v78,0,127,42,127,118v0,50,-20,97,-65,97v-18,0,-26,-13,-30,-29v-23,49,-112,29,-105,-36v5,-45,25,-79,70,-81","w":312},"A":{"d":"81,-114r103,0r-51,-122xm118,-266r30,0r114,266r-29,0r-38,-90r-124,0r-39,90r-28,0","w":266,"k":{"y":26,"w":23,"v":26,"Y":44,"W":34,"V":44,"T":29}},"B":{"d":"154,-197v0,-47,-51,-46,-101,-45r0,90v51,2,101,3,101,-45xm53,-24v59,2,116,2,116,-52v0,-53,-58,-54,-116,-51r0,103xm196,-76v1,81,-85,79,-169,76r0,-266v78,-3,154,-2,154,71v0,26,-14,42,-29,53v24,11,44,33,44,66","w":206},"C":{"d":"154,-19v43,0,74,-21,94,-51r30,0v-24,42,-63,75,-123,75v-83,0,-134,-55,-140,-138v-10,-145,209,-183,261,-65r-29,0v-19,-29,-50,-49,-93,-49v-67,0,-112,48,-112,115v0,67,46,113,112,113","w":292},"D":{"d":"225,-134v0,-87,-72,-116,-172,-108r0,218v100,7,172,-18,172,-110xm252,-132v0,83,-58,131,-148,132r-77,0r0,-266r77,0v91,1,148,49,148,134","w":267},"E":{"d":"25,-266r146,0r0,24r-119,0r0,95r115,0r0,25r-115,0r0,98r119,0r0,24r-146,0r0,-266","w":192},"F":{"d":"25,-266r135,0r0,24r-108,0r0,96r104,0r0,24r-104,0r0,122r-27,0r0,-266","w":174,"k":{"A":22,".":28,",":44}},"G":{"d":"41,-133v-6,112,159,152,212,63v6,-9,11,-19,13,-28r-149,0r0,-24r181,0v-8,77,-62,127,-141,127v-85,0,-137,-57,-143,-138v-10,-144,217,-184,269,-62r-31,0v-18,-29,-48,-52,-95,-52v-69,0,-111,46,-116,114","w":313},"H":{"d":"27,-266r27,0r0,117r138,0r0,-117r27,0r0,266r-27,0r0,-125r-138,0r0,125r-27,0r0,-266","w":245},"I":{"d":"27,-266r27,0r0,266r-27,0r0,-266","w":81},"J":{"d":"75,-19v37,1,43,-29,43,-65r0,-182r27,0r0,181v16,89,-97,120,-135,52v-5,-9,-7,-18,-8,-30r26,0v2,26,22,43,47,44","w":173},"K":{"d":"29,-266r27,0r1,153r122,-153r34,0r-106,130r106,136r-34,0r-89,-116r-34,43r0,73r-27,0r0,-266","w":212},"L":{"d":"30,-266r26,0r0,242r110,0r0,24r-136,0r0,-266","w":166,"k":{"y":8,"Y":33,"W":24,"V":41,"T":17}},"M":{"d":"27,-266r41,0r97,226r97,-226r41,0r0,266r-26,0r-1,-237r-100,237r-22,0r-100,-237r0,237r-27,0r0,-266","w":330},"N":{"d":"27,-266r36,0r149,221r0,-221r27,0r0,266r-27,0r-158,-234r0,234r-27,0r0,-266","w":266},"O":{"d":"156,-247v-67,0,-114,45,-114,115v0,67,46,113,114,113v68,0,115,-45,115,-114v0,-69,-46,-114,-115,-114xm156,5v-83,0,-141,-55,-141,-137v0,-84,57,-139,141,-139v84,0,141,53,141,138v0,85,-58,138,-141,138","w":312},"P":{"d":"176,-187v0,-57,-60,-58,-122,-55r0,111v59,1,122,2,122,-56xm158,-257v80,36,43,169,-57,150r-47,0r0,107r-27,0r0,-266v44,3,98,-5,131,9","w":213,"k":{"A":27,".":33,",":44}},"Q":{"d":"158,-247v-78,0,-132,64,-112,147v72,-26,157,8,192,49v21,-21,37,-46,37,-81v0,-70,-48,-115,-117,-115xm217,-37v-34,-31,-96,-63,-160,-41v18,48,106,80,160,41xm257,-34v11,9,22,14,40,15r0,24v-29,0,-45,-10,-59,-23v-22,15,-48,23,-80,23v-85,0,-144,-54,-144,-137v0,-84,57,-139,144,-139v85,0,143,53,143,140v0,43,-18,74,-44,97","w":313},"R":{"d":"179,-181v0,-62,-61,-64,-127,-61r0,242r-27,0r0,-266r91,0v54,3,90,32,90,86v0,49,-32,76,-79,81r75,99r-34,0r-90,-121v55,2,101,-8,101,-60","w":218,"k":{"y":-12,"Y":7,"W":-1,"V":14,"T":-2}},"S":{"d":"105,-150v91,14,79,160,-15,155v-49,-3,-81,-28,-82,-80r27,0v1,34,21,56,55,56v51,0,72,-71,31,-95v-40,-24,-106,-19,-106,-85v0,-80,120,-96,143,-27v4,9,6,17,6,27r-27,0v-1,-29,-19,-46,-47,-48v-45,-4,-65,58,-30,80v12,8,29,14,45,17","w":179},"T":{"d":"63,-242r-61,0r0,-24r149,0r0,24r-61,0r0,242r-27,0r0,-242","w":153,"k":{"y":-2,"w":-3,"u":17,"s":8,"r":11,"o":18,"i":-11,"e":18,"c":18,"a":19,"A":29,";":10,":":-1,".":26,",":37}},"U":{"d":"118,5v-61,0,-91,-40,-91,-105r0,-166r27,0v9,95,-34,247,64,247v98,0,55,-152,64,-247r26,0r0,166v0,64,-30,105,-90,105","w":235},"V":{"d":"3,-266r29,0r94,233r95,-233r28,0r-110,266r-26,0","w":252,"k":{"y":9,"u":14,"r":14,"o":36,"i":-2,"e":36,"a":37,"A":44,";":12,".":27,",":38}},"W":{"d":"4,-266r27,0r66,232r64,-232r24,0r65,231r65,-231r27,0r-76,266r-34,0r-60,-219r-58,219r-34,0","w":345,"k":{"y":1,"u":11,"r":10,"o":17,"i":-2,"e":17,"a":18,"A":26,";":12,".":27,",":38}},"X":{"d":"93,-136r-85,-130r31,0r71,106r70,-106r31,0r-85,130r91,136r-32,0r-75,-114r-76,114r-31,0","w":219},"Y":{"d":"93,-89r-93,-177r30,0r76,149r78,-149r29,0r-93,177r0,89r-27,0r0,-89","w":213,"k":{"v":6,"u":25,"q":33,"p":24,"o":32,"i":-5,"e":32,"a":33,"A":44,";":8,":":-3,".":23,",":35}},"Z":{"d":"4,-24r131,-218r-127,0r0,-24r157,0r0,24r-130,218r134,0r0,24r-165,0r0,-24","w":172},"[":{"d":"75,-171v4,81,-22,190,46,208r0,27v-42,-12,-74,-42,-73,-99v2,-98,-21,-216,73,-236r0,27v-28,12,-48,33,-46,73","w":126},"\\":{"d":"172,36r-28,0r-102,-302r29,0","w":217},"]":{"d":"5,-271v43,13,73,43,73,100v0,98,22,217,-73,235r0,-27v69,-19,47,-126,47,-208v0,-39,-18,-62,-47,-73r0,-27","w":126},"^":{"d":"98,-266r23,0r78,155r-25,0r-65,-129r-64,129r-26,0","w":218},"_":{"d":"180,27r0,18r-180,0r0,-18r180,0","w":180},"a":{"d":"121,-179v-51,0,-81,32,-81,81v0,49,31,80,81,80v47,0,79,-31,79,-80v0,-48,-31,-81,-79,-81xm121,-202v35,0,62,16,77,40r0,-35r26,0r0,197r-26,0r0,-35v-17,23,-41,40,-77,40v-64,0,-106,-41,-106,-104v0,-61,42,-103,106,-103","w":245},"b":{"d":"127,-18v50,0,81,-31,81,-80v0,-49,-30,-81,-81,-81v-48,0,-79,33,-79,81v0,48,31,80,79,80xm127,5v-36,0,-61,-17,-77,-40r0,35r-26,0r0,-266r26,0r0,104v17,-23,41,-40,77,-40v64,0,106,42,106,103v0,63,-43,104,-106,104","w":245},"c":{"d":"121,-18v36,1,57,-18,70,-40r28,0v-18,33,-46,63,-98,63v-63,0,-102,-40,-106,-103v-7,-114,170,-137,204,-40r-28,0v-13,-24,-35,-41,-70,-41v-48,0,-81,30,-81,80v0,49,31,80,81,81","w":232},"d":{"d":"120,-179v-51,0,-81,32,-81,81v0,49,31,80,81,80v48,0,79,-32,79,-80v0,-48,-31,-81,-79,-81xm120,-202v35,0,62,16,77,39r0,-103r25,0r0,266r-25,0r0,-35v-15,24,-41,40,-77,40v-64,0,-106,-41,-106,-104v0,-61,42,-103,106,-103","w":246},"e":{"d":"193,-112v-4,-69,-111,-90,-143,-30v-5,9,-8,18,-10,30r153,0xm116,-202v66,0,103,44,103,113r-179,0v4,42,33,71,76,71v36,0,60,-19,70,-46r27,0v-14,40,-47,69,-97,69v-61,0,-102,-41,-102,-103v0,-62,41,-104,102,-104","w":234},"f":{"d":"113,-248v-36,-1,-52,16,-50,51r50,0r0,23r-50,0r0,174r-26,0r0,-174r-30,0r0,-23r30,0v-1,-50,25,-75,76,-74r0,23","w":113,"k":{"f":-1}},"g":{"d":"116,-179v-48,0,-77,33,-77,81v0,48,29,80,77,80v48,0,78,-33,78,-80v0,-48,-29,-81,-78,-81xm13,-98v-5,-98,133,-138,180,-64r0,-35r25,0r0,183v6,93,-127,118,-177,56v-8,-9,-15,-22,-20,-37r27,0v11,28,35,50,74,50v50,0,77,-37,70,-91v-14,25,-40,41,-76,41v-60,0,-100,-40,-103,-103","w":242},"h":{"d":"109,-179v-79,0,-59,103,-61,179r-26,0r0,-266r26,0r0,94v13,-16,31,-30,61,-30v56,2,86,34,86,94r0,108r-25,0v-2,-77,18,-179,-61,-179","w":219},"i":{"d":"23,-266r26,0r0,45r-26,0r0,-45xm23,-197r26,0r0,197r-26,0r0,-197","w":72},"j":{"d":"24,-266r25,0r0,45r-25,0r0,-45xm-16,44v34,1,40,-26,40,-58r0,-183r25,0r0,201v-2,40,-24,64,-65,65r0,-25","w":73},"k":{"d":"25,-266r25,0r1,189r92,-120r32,0r-77,99r81,98r-32,0r-65,-78r-32,41r0,37r-25,0r0,-266","w":180},"l":{"d":"23,-266r26,0r0,266r-26,0r0,-266","w":72},"m":{"d":"49,-174v22,-43,104,-32,120,10v37,-67,145,-39,145,47r0,117r-25,0v-5,-72,22,-179,-54,-179v-76,-1,-49,107,-54,179r-25,0v-5,-71,23,-179,-53,-179v-77,0,-49,107,-54,179r-25,0r0,-197r25,0r0,23","w":337},"n":{"d":"110,-179v-79,0,-59,103,-61,179r-26,0r0,-197r26,0r0,25v13,-16,31,-30,61,-30v57,1,87,35,87,94r0,108r-26,0v-2,-77,18,-179,-61,-179","w":219},"o":{"d":"118,-179v-47,0,-78,33,-78,81v0,47,31,80,78,80v47,0,78,-32,78,-82v0,-47,-32,-79,-78,-79xm118,5v-61,0,-103,-42,-103,-102v0,-63,42,-105,103,-105v61,0,103,42,103,103v0,61,-41,104,-103,104","w":235},"p":{"d":"126,-18v49,0,80,-30,80,-80v0,-50,-31,-81,-80,-81v-49,0,-79,33,-79,81v0,49,31,80,79,80xm231,-99v7,101,-135,136,-183,64r0,104r-25,0r0,-266r25,0v1,11,-2,26,1,35v17,-23,41,-40,77,-40v63,0,101,40,105,103","w":245},"q":{"d":"119,-179v-50,0,-80,31,-80,81v0,50,31,80,80,80v48,0,79,-31,79,-80v0,-48,-30,-81,-79,-81xm119,-202v37,0,61,17,78,40r0,-35r25,0r0,266r-25,0r-1,-104v-15,24,-41,40,-77,40v-64,0,-106,-41,-106,-104v0,-61,42,-103,106,-103","w":245},"r":{"d":"105,-175v-77,0,-52,102,-56,175r-26,0r0,-197r26,0r0,29v9,-22,27,-33,56,-34r0,27","w":108,"k":{"q":3,"o":1,"n":-8,"m":-10,"h":-10,"f":-17,"e":1,"d":2,"c":3,".":26,",":38}},"s":{"d":"69,5v-36,0,-61,-22,-60,-63r25,0v1,24,12,38,35,40v44,3,47,-60,10,-70v-30,-9,-65,-19,-65,-59v0,-34,22,-55,57,-55v32,0,52,21,53,54r-25,0v-2,-18,-10,-31,-30,-31v-29,0,-39,40,-17,52v32,18,80,21,79,72v-1,38,-23,60,-62,60","w":139},"t":{"d":"46,-174r-41,0r0,-23r41,0r0,-69r26,0r0,69r47,0r0,23r-47,0r0,174r-26,0r0,-174","w":122},"u":{"d":"107,-18v80,0,61,-101,63,-179r25,0r0,197r-24,0v-1,-10,2,-23,-1,-31v-10,22,-31,35,-63,36v-100,3,-85,-106,-85,-202r26,0v3,77,-20,179,59,179","w":218},"v":{"d":"3,-197r27,0r69,166r71,-166r27,0r-84,197r-27,0"},"w":{"d":"5,-197r26,0r63,165r45,-141r22,0r46,141r62,-165r26,0r-75,197r-28,0r-43,-131r-41,131r-28,0","w":299},"x":{"d":"72,-100r-68,-97r31,0r51,76r52,-76r30,0r-67,97r67,100r-29,0r-53,-79r-52,79r-30,0","w":172},"y":{"d":"82,-6r-77,-191r27,0r63,157r67,-157r26,0r-114,266r-26,0","w":192},"z":{"d":"4,-22r109,-152r-106,0r0,-23r136,0r0,23r-108,151r114,0r0,23r-145,0r0,-22","w":153},"{":{"d":"25,-111v76,-13,-22,-177,94,-155r0,21v-74,-12,0,127,-66,146v42,9,32,76,32,125v0,19,14,22,34,20r0,22v-40,5,-62,-10,-62,-47v0,-45,11,-105,-32,-108r0,-24","w":126},"|":{"d":"134,-280r0,360r-26,0r0,-360r26,0","w":241},"}":{"d":"74,-99v-59,-14,-7,-128,-49,-146r-18,0r0,-21v40,-5,62,10,62,47v0,45,-10,104,32,108r0,24v-75,5,23,173,-94,155r0,-22v76,16,-3,-129,67,-145","w":126},"~":{"d":"71,-113v42,2,87,52,108,-2r13,18v-11,15,-21,31,-45,31v-33,0,-45,-26,-78,-26v-17,0,-24,15,-30,28r-13,-18v8,-16,20,-32,45,-31","w":218},"'":{"d":"26,-160r-5,-106r29,0r-4,106r-20,0","w":71},"`":{"d":"108,-244r-12,21r-71,-38r11,-22","w":136},"#":{"d":"85,-168r-10,70r45,0r9,-70r-44,0xm47,-74r-35,0r0,-24r38,0r10,-70r-39,0r0,-24r42,0r11,-74r25,0r-11,74r45,0r10,-74r25,0r-10,74r30,0r0,24r-34,0r-10,70r33,0r0,24r-36,0r-10,74r-25,0r10,-74r-44,0r-11,74r-25,0"},"!":{"d":"40,-266r27,0r0,197r-27,0r0,-197xm40,-45r27,0r0,45r-27,0r0,-45","w":106},"\"":{"d":"73,-160r-4,-106r29,0r-4,106r-21,0xm17,-160r-4,-106r29,0r-4,106r-21,0","w":111}}});Cufon.registerFont({"w":199,"face":{"font-family":"ITC Avant Garde Gothic","font-weight":500,"font-stretch":"normal","units-per-em":"360","panose-1":"2 0 6 3 0 0 0 0 0 0","ascent":"288","descent":"-72","x-height":"5","bbox":"0 -296 326 93","underline-thickness":"18","underline-position":"-36","stemh":"34","stemv":"37","unicode-range":"U+0020-U+007E"},"glyphs":{" ":{"w":99},"!":{"d":"69,-44r0,44r-38,0r0,-44r38,0xm69,-266r0,200r-38,0r0,-200r38,0","w":99},"\"":{"d":"40,-160r-26,0r-7,-106r40,0xm103,-160r-26,0r-6,-106r39,0","w":117},"#":{"d":"178,-104r-1,31r-33,0r-10,73r-32,0r10,-73r-36,0r-11,73r-32,0r11,-73r-33,0r1,-31r36,0r6,-44r-32,0r0,-31r36,0r10,-73r32,0r-10,73r37,0r10,-73r32,0r-10,73r30,0r-1,31r-33,0r-6,44r29,0xm123,-148r-37,0r-6,44r37,0"},"$":{"d":"84,-296r34,0r0,40v30,4,53,25,54,62r-38,0v-1,-18,-10,-30,-31,-30v-21,0,-31,18,-31,34v0,24,17,28,43,35v15,4,60,15,60,71v0,25,-11,66,-57,74r0,40r-34,0r0,-40v-31,-8,-57,-29,-60,-73r38,0v3,32,24,41,40,41v25,0,36,-20,36,-42v0,-30,-29,-36,-46,-41v-16,-4,-57,-14,-57,-65v0,-21,10,-56,49,-66r0,-40"},"%":{"d":"184,-60v0,18,15,34,33,34v18,0,33,-16,33,-34v0,-18,-15,-33,-33,-33v-18,0,-33,15,-33,33xm152,-60v0,-36,29,-64,65,-64v36,0,65,28,65,64v0,36,-29,65,-65,65v-36,0,-65,-29,-65,-65xm19,-206v0,-36,29,-64,65,-64v36,0,65,28,65,64v0,36,-29,65,-65,65v-36,0,-65,-29,-65,-65xm51,-206v0,18,15,34,33,34v18,0,33,-16,33,-34v0,-18,-15,-33,-33,-33v-18,0,-33,15,-33,33xm238,-266r-153,266r-24,0r152,-266r25,0","w":301},"&":{"d":"233,-164r-43,88r53,55r-26,26r-46,-47v-9,13,-32,47,-77,47v-87,0,-114,-125,-31,-155v-47,-33,-21,-124,42,-121v67,3,97,101,22,131r35,35r29,-59r42,0xm99,-166v20,-11,33,-19,33,-39v-2,-44,-55,-40,-55,2v0,11,4,20,22,37xm145,-69r-56,-55v-15,5,-38,17,-38,49v0,22,16,44,43,44v32,0,46,-29,51,-38","w":246},"'":{"d":"52,-160r-25,0r-8,-106r40,0","w":78},"(":{"d":"129,46r0,47v-46,-23,-109,-89,-109,-184v0,-77,46,-149,106,-181r0,47v-27,24,-67,61,-67,134v0,80,47,118,70,137","w":146},")":{"d":"18,-225r0,-47v47,24,109,90,109,184v0,77,-47,149,-107,181r0,-47v27,-24,68,-61,68,-134v0,-80,-47,-118,-70,-137","w":146},"*":{"d":"91,-215r0,-51r25,0r-1,51r49,-16r8,24r-50,15r32,42r-21,14r-30,-42r-30,42r-20,-14r31,-42r-49,-15r7,-24","w":206},"+":{"d":"89,-110r0,-72r38,0r0,72r72,0r0,38r-72,0r0,72r-38,0r0,-72r-72,0r0,-38r72,0","w":216},",":{"d":"69,-44v-3,45,13,73,-38,90r0,-23v6,-1,15,-7,14,-23r-14,0r0,-44r38,0","w":99},"-":{"d":"101,-85r-101,0r0,-38r101,0r0,38","w":100},".":{"d":"69,0r-38,0r0,-44r38,0r0,44","w":99},"\/":{"d":"56,36r-41,0r103,-302r41,0","w":179},"0":{"d":"99,5v-95,0,-85,-92,-85,-186v0,-68,53,-91,87,-91v40,0,85,30,85,88r0,98v1,49,-30,91,-87,91xm101,-29v64,-2,48,-88,48,-155v0,-47,-35,-54,-49,-54v-19,0,-49,11,-49,54r0,98v0,55,44,57,50,57"},"1":{"d":"130,-266r0,266r-37,0r0,-232r-40,0r0,-34r77,0"},"2":{"d":"181,0r-166,0r0,-31r105,-107v35,-25,32,-96,-22,-99v-23,-1,-50,19,-47,62r-38,0v-1,-78,56,-96,84,-96v51,0,84,42,84,86v0,35,-19,56,-37,75r-74,76r111,0r0,34"},"3":{"d":"8,-78r37,0v2,47,43,49,50,49v30,0,48,-26,48,-49v-1,-33,-28,-52,-63,-48r0,-37r13,0v39,0,38,-37,38,-38v-2,-39,-60,-61,-71,1r-37,0v4,-60,55,-71,74,-71v68,0,94,95,47,125v75,49,25,151,-50,151v-45,0,-86,-34,-86,-83"},"4":{"d":"163,-266r0,190r29,0r0,34r-29,0r0,42r-37,0r0,-42r-122,0r0,-36r122,-188r37,0xm48,-76r78,0r-1,-128"},"5":{"d":"44,-266r121,0r0,34r-90,0r-11,59v53,-33,127,16,127,83v0,49,-36,95,-91,95v-50,0,-86,-36,-91,-86r37,0v6,69,107,67,107,-6v0,-32,-19,-63,-51,-63v-30,0,-43,19,-48,28r-33,-8"},"6":{"d":"104,-266r44,0r-56,87v59,-11,101,34,101,88v0,53,-38,96,-91,96v-95,-2,-106,-103,-73,-154xm46,-89v0,33,24,60,56,60v32,0,54,-28,54,-58v0,-34,-24,-60,-54,-60v-31,0,-56,27,-56,58"},"7":{"d":"26,-266r154,0r0,34r-98,232r-41,0r100,-232r-115,0r0,-34"},"8":{"d":"148,-147v75,56,25,152,-48,152v-41,0,-85,-32,-85,-83v0,-41,24,-61,35,-69v-9,-9,-22,-22,-22,-51v0,-43,35,-73,72,-73v39,0,72,33,72,73v0,31,-15,43,-24,51xm100,-164v45,-1,48,-71,0,-73v-21,0,-35,17,-35,36v0,17,13,37,35,37xm147,-76v0,-31,-25,-50,-47,-50v-28,0,-47,24,-47,49v0,26,21,48,46,48v28,0,48,-25,48,-47"},"9":{"d":"96,0r-45,0r57,-87v-56,7,-102,-29,-102,-89v0,-51,39,-95,92,-95v94,0,111,93,72,154xm98,-120v75,-1,68,-119,0,-117v-32,0,-54,27,-54,57v0,32,23,60,54,60"},":":{"d":"69,0r-38,0r0,-44r38,0r0,44xm69,-156r-38,0r0,-44r38,0r0,44","w":99},";":{"d":"69,-44v-3,45,13,73,-38,90r0,-23v6,-1,15,-7,14,-23r-14,0r0,-44r38,0xm69,-156r-38,0r0,-44r38,0r0,44","w":99},"<":{"d":"199,-34r0,37r-182,-79r0,-31r182,-78r0,37r-134,57","w":216},"=":{"d":"199,-149r0,37r-182,0r0,-37r182,0xm199,-71r0,38r-182,0r0,-38r182,0","w":216},">":{"d":"17,-34r134,-57r-134,-57r0,-37r182,78r0,31r-182,79r0,-37","w":216},"?":{"d":"92,-234v-31,0,-38,20,-43,44r-37,0v8,-120,162,-93,160,-1v0,34,-16,49,-32,63v-26,23,-28,42,-31,60r-37,0v-2,-64,63,-80,63,-121v0,-25,-20,-45,-43,-45xm109,-44r0,44r-37,0r0,-44r37,0","w":186},"@":{"d":"185,-197r26,0r-18,104v1,6,4,9,9,9v24,0,39,-26,39,-68v0,-58,-42,-92,-98,-92v-68,0,-110,50,-110,111v0,45,22,110,114,110v43,0,73,-12,86,-21r14,22v-37,21,-68,27,-100,27v-104,0,-143,-73,-143,-138v0,-82,61,-138,139,-138v72,0,127,44,127,118v0,52,-30,97,-69,97v-9,0,-28,-5,-31,-22v-43,46,-104,19,-104,-43v0,-41,28,-81,70,-81v34,0,39,21,45,25xm173,-142v0,-25,-15,-33,-35,-33v-22,0,-44,20,-44,53v0,23,13,38,32,38v31,0,47,-26,47,-58","w":273},"A":{"d":"242,0r-41,0r-30,-78r-96,0r-29,78r-41,0r101,-266r35,0xm89,-114r69,0r-35,-102","w":246},"B":{"d":"27,0r0,-266r69,0v75,0,83,54,83,73v0,30,-14,43,-23,51v11,6,39,24,39,65v0,27,-15,77,-88,77r-80,0xm156,-77v-2,-43,-43,-47,-90,-43r0,84r42,0v39,0,48,-27,48,-41xm66,-231r0,75r32,0v36,0,42,-22,42,-37v0,-51,-39,-35,-74,-38","w":208},"C":{"d":"273,-198r-47,0v-8,-9,-31,-38,-74,-38v-55,0,-99,46,-99,102v0,92,117,139,171,68r47,0v-69,127,-258,69,-257,-68v1,-109,120,-178,218,-112v24,17,34,36,41,48","w":281},"D":{"d":"246,-132v4,81,-67,132,-138,132r-85,0r0,-266r87,0v91,-3,132,61,136,134xm62,-231r0,195v81,3,145,-3,145,-96v0,-40,-25,-99,-98,-99r-47,0","w":263},"E":{"d":"167,0r-144,0r0,-266r144,0r0,35r-105,0r0,79r105,0r0,35r-105,0r0,81r105,0r0,36","w":187},"F":{"d":"62,0r-39,0r0,-266r135,0r0,35r-96,0r0,80r96,0r0,36r-96,0r0,115","w":173},"G":{"d":"269,-199r-45,0v-11,-12,-34,-37,-73,-37v-55,0,-98,48,-98,104v0,59,49,101,99,101v8,0,65,0,91,-66r-124,0r0,-35r169,0v-1,89,-73,137,-138,137v-78,0,-136,-62,-136,-137v0,-77,59,-139,136,-139v45,0,93,24,119,72","w":299},"H":{"d":"215,0r-39,0r0,-116r-110,0r0,116r-39,0r0,-266r39,0r0,114r110,0r0,-114r39,0r0,266","w":241},"I":{"d":"66,0r-39,0r0,-266r39,0r0,266","w":92},"J":{"d":"40,-53v21,43,68,22,68,-20r0,-193r39,0r0,191v7,96,-133,106,-147,22r40,0","w":175},"K":{"d":"221,0r-48,0r-102,-134r0,134r-39,0r0,-266r39,0r1,132r101,-132r48,0r-104,132","w":222},"L":{"d":"160,0r-132,0r0,-266r39,0r0,230r93,0r0,36","w":159},"M":{"d":"310,0r-39,0r-1,-225r-90,225r-23,0r-91,-225r0,225r-39,0r0,-266r61,0r80,204r80,-204r62,0r0,266","w":336},"N":{"d":"239,0r-41,0r-132,-206r0,206r-39,0r0,-266r42,0r131,202r0,-202r39,0r0,266","w":265},"O":{"d":"291,-132v0,73,-60,137,-139,137v-80,0,-138,-65,-138,-138v0,-72,57,-138,138,-138v79,0,139,63,139,139xm252,-132v0,-47,-34,-104,-100,-104v-69,0,-99,61,-99,103v0,44,31,102,99,102v69,0,100,-59,100,-101","w":304},"P":{"d":"62,-105r0,105r-39,0r0,-266r77,0v64,0,94,32,94,80v0,61,-55,88,-132,81xm62,-231r0,90r38,0v44,0,56,-25,56,-45v0,-20,-12,-45,-56,-45r-38,0","w":201},"Q":{"d":"294,-31r0,36v-34,0,-52,-11,-67,-20v-94,56,-213,-12,-213,-119v0,-77,59,-137,137,-137v78,0,137,63,137,138v0,47,-22,78,-33,93v13,7,20,9,39,9xm192,-42v-50,-36,-76,-43,-120,-30v20,37,86,53,120,30xm224,-64v9,-11,25,-32,25,-69v0,-54,-42,-103,-97,-103v-63,0,-112,60,-96,131v73,-23,111,-1,168,41","w":301},"R":{"d":"106,-266v67,-2,95,33,95,85v0,71,-59,82,-76,82r74,99r-48,0r-89,-123r0,123r-39,0r0,-266r83,0xm62,-231r0,102r27,0v16,0,73,-1,73,-52v0,-22,-15,-50,-59,-50r-41,0","w":213},"S":{"d":"6,-79r39,0v0,9,5,48,44,48v24,0,42,-17,42,-45v-1,-53,-88,-46,-99,-73v-38,-44,-16,-122,57,-122v44,0,76,29,76,74r-39,0v0,-30,-21,-39,-37,-39v-23,0,-36,22,-36,37v0,26,24,32,36,36v33,13,81,23,81,87v0,46,-32,81,-81,81v-37,0,-83,-25,-83,-84","w":179},"T":{"d":"93,0r-39,0r0,-231r-51,0r0,-35r141,0r0,35r-51,0r0,231","w":146},"U":{"d":"116,5v-51,0,-90,-35,-90,-91r0,-180r39,0r0,179v0,49,37,56,51,56v14,0,50,-7,50,-56r0,-179r39,0r0,180v1,55,-38,91,-89,91","w":231},"V":{"d":"135,0r-23,0r-108,-266r42,0r77,199r78,-199r41,0","w":246},"W":{"d":"246,0r-34,0r-49,-186r-49,186r-34,0r-74,-266r40,0r52,200r51,-200r28,0r52,199r52,-199r39,0","w":326},"X":{"d":"183,0r-67,-102r-67,102r-45,0r88,-134r-88,-132r46,0r66,100r67,-100r46,0r-89,132r88,134r-45,0","w":233},"Y":{"d":"126,0r-39,0r0,-96r-82,-170r43,0r59,125r58,-125r43,0r-82,170r0,96","w":213},"Z":{"d":"165,0r-164,0r0,-36r116,-195r-109,0r0,-35r153,0r0,35r-115,195r119,0r0,36","w":166},"[":{"d":"118,48r0,45v-41,-16,-73,-55,-73,-98r0,-163v0,-60,41,-92,73,-104r0,44v-32,20,-34,44,-34,64r0,146v0,17,-1,45,34,66","w":146},"\\":{"d":"124,36r-104,-302r41,0r104,302r-41,0","w":179},"]":{"d":"28,93r0,-45v35,-21,35,-49,35,-66r0,-146v0,-20,-3,-44,-35,-64r0,-44v32,12,74,44,74,104r0,163v0,43,-33,82,-74,98","w":146},"^":{"d":"61,-128r-37,0r67,-138r34,0r67,138r-37,0r-47,-101","w":216},"_":{"d":"180,45r-180,0r0,-18r180,0r0,18","w":180},"`":{"d":"60,-293r81,44r-16,29r-80,-46"},"a":{"d":"225,0r-37,0v-1,-10,2,-23,-1,-31v-14,24,-40,36,-67,36v-138,0,-144,-207,0,-210v29,-1,52,14,68,34r0,-28r37,0r0,199xm189,-99v0,-42,-30,-72,-69,-72v-93,0,-88,141,-1,142v39,0,70,-32,70,-70","w":249},"b":{"d":"61,0r-37,0r0,-266r38,0r0,94v54,-70,172,-21,172,72v0,88,-109,145,-173,71r0,29xm60,-100v1,95,138,90,137,0v0,-37,-29,-71,-68,-71v-41,0,-69,36,-69,71","w":247},"c":{"d":"214,-133r-41,0v-6,-13,-20,-38,-56,-38v-92,0,-86,140,-1,142v28,0,47,-16,56,-37r42,0v-15,44,-54,71,-98,71v-136,-1,-132,-211,0,-210v57,0,90,42,98,72","w":225},"d":{"d":"223,0r-34,0v-1,-9,2,-21,-1,-28v-16,22,-42,33,-71,33v-134,0,-140,-207,0,-210v29,-1,53,13,69,30r0,-91r37,0r0,266xm189,-99v0,-42,-30,-72,-69,-72v-93,0,-88,141,-1,142v39,0,70,-32,70,-70","w":247},"e":{"d":"217,-84r-166,0v14,69,99,68,123,21r37,0v-43,114,-197,72,-197,-37v0,-60,46,-105,102,-105v60,1,111,51,101,121xm51,-112r129,0v-2,-29,-28,-59,-64,-59v-36,0,-63,30,-65,59","w":231},"f":{"d":"63,0r-38,0r0,-165r-17,0r0,-34r17,0v-4,-46,26,-70,73,-67r0,34v-30,1,-37,10,-35,33r35,0r0,34r-35,0r0,165","w":99},"g":{"d":"227,-199r0,172v0,66,-40,105,-108,105v-46,0,-81,-25,-98,-63r42,0v6,8,21,29,57,29v39,0,73,-21,69,-70v-7,9,-27,31,-69,31v-66,0,-106,-56,-106,-105v0,-44,35,-105,107,-105v30,0,56,14,69,29r0,-23r37,0xm190,-99v0,-108,-140,-84,-139,-1v0,36,29,71,69,71v49,0,70,-44,70,-70","w":250},"h":{"d":"118,-205v50,2,83,32,83,87r0,118r-38,0r0,-108v0,-15,1,-63,-49,-63v-31,0,-53,22,-53,62r0,109r-37,0r0,-266r37,0r1,88v18,-27,48,-27,56,-27","w":223},"i":{"d":"62,-199r0,199r-38,0r0,-199r38,0xm62,-266r0,44r-38,0r0,-44r38,0","w":85},"j":{"d":"66,-199r0,193v8,47,-25,82,-62,84r0,-39v25,-2,25,-20,25,-45r0,-193r37,0xm66,-266r0,44r-37,0r0,-44r37,0","w":89},"k":{"d":"137,-199r44,0r-72,94r84,105r-47,0r-81,-103r0,103r-37,0r0,-266r37,0r1,163","w":196},"l":{"d":"62,-266r0,266r-38,0r0,-266r38,0","w":85},"m":{"d":"244,-205v52,1,82,31,82,85r0,120r-38,0r0,-111v0,-17,-2,-60,-47,-60v-48,0,-47,43,-47,60r0,111r-38,0v-4,-69,21,-171,-45,-171v-49,0,-49,45,-49,60r0,111r-38,0r0,-199r35,0r0,21v7,-8,21,-27,58,-27v24,0,52,12,62,34v6,-10,20,-34,65,-34","w":349},"n":{"d":"118,-205v50,2,83,32,83,87r0,118r-38,0r0,-108v0,-15,1,-63,-49,-63v-31,0,-53,22,-53,62r0,109r-37,0r0,-199r35,0r0,21v20,-27,51,-27,59,-27","w":224},"o":{"d":"229,-100v0,49,-40,105,-108,105v-67,0,-107,-56,-107,-106v0,-54,45,-104,107,-104v60,0,108,48,108,105xm192,-100v0,-35,-29,-71,-71,-71v-42,0,-70,35,-70,71v0,36,28,71,70,71v40,0,71,-33,71,-71","w":243},"p":{"d":"24,67r0,-266r34,0v1,9,-2,23,1,30v18,-26,45,-36,71,-36v135,1,136,209,2,210v-42,0,-62,-21,-70,-34r0,96r-38,0xm196,-99v0,-36,-28,-72,-69,-72v-39,0,-66,34,-66,71v0,40,30,71,68,71v35,0,67,-28,67,-70","w":246},"q":{"d":"223,-199r0,266r-37,0r-1,-95v-14,20,-40,33,-67,33v-138,0,-135,-211,-1,-210v47,0,67,29,72,32r0,-26r34,0xm189,-99v0,-39,-28,-72,-69,-72v-42,0,-69,34,-69,71v0,38,29,71,70,71v40,0,68,-34,68,-70","w":247},"r":{"d":"111,-166v-29,2,-50,16,-49,57r0,109r-38,0r0,-199r35,0v1,6,-2,14,1,18v16,-22,42,-24,51,-24r0,39","w":115},"s":{"d":"140,-147r-37,0v0,-31,-50,-32,-49,-2v0,17,14,21,31,26v15,5,60,16,60,64v0,35,-25,64,-67,64v-25,0,-71,-16,-71,-71r38,0v-5,42,61,51,62,9v0,-18,-16,-23,-35,-30v-22,-8,-56,-18,-56,-60v0,-30,25,-58,63,-58v23,0,60,14,61,58","w":152},"t":{"d":"66,-165r0,165r-38,0r0,-165r-27,0r0,-34r27,0r0,-67r38,0r0,67r33,0r0,34r-33,0","w":99},"u":{"d":"107,5v-56,0,-84,-29,-83,-96r0,-108r37,0r0,108v0,49,22,62,50,62v31,0,52,-20,52,-64r0,-106r38,0r0,199r-35,0r0,-22v-10,17,-34,27,-59,27","w":224},"v":{"d":"189,-199r-79,199r-26,0r-79,-199r40,0r53,142r51,-142r40,0","w":193},"w":{"d":"282,-199r-74,199r-21,0r-44,-134r-43,134r-21,0r-74,-199r40,0r45,129r41,-129r25,0r42,129r44,-129r40,0","w":286},"x":{"d":"136,-199r45,0r-65,97r70,102r-44,0r-49,-71r-49,71r-43,0r69,-102r-67,-97r46,0r44,65","w":186},"y":{"d":"203,-199r-110,266r-39,0r29,-71r-79,-195r40,0r59,154r60,-154r40,0","w":206},"z":{"d":"10,-199r128,0r0,36r-90,129r97,0r0,34r-144,0r0,-29r96,-136r-87,0r0,-34","w":146},"{":{"d":"5,-83r0,-31v12,0,33,-8,33,-30r0,-74v3,-42,33,-51,73,-48r0,28v-54,-10,-35,54,-35,99v0,31,-27,37,-36,41v11,1,36,7,36,42r0,73v-3,19,12,30,35,26r0,28v-41,3,-73,-5,-73,-48r0,-74v0,-24,-21,-32,-33,-32","w":119},"|":{"d":"80,-266r40,0r0,302r-40,0r0,-302"},"}":{"d":"115,-112r0,31v-12,0,-33,8,-33,30r0,74v-3,42,-33,51,-73,48r0,-28v54,10,35,-54,35,-99v0,-31,27,-37,36,-41v-11,-1,-36,-7,-36,-42r0,-73v3,-19,-12,-30,-35,-26r0,-28v40,-3,73,6,73,48r0,74v0,24,21,32,33,32","w":119},"~":{"d":"70,-121v23,0,56,24,77,25v14,0,23,-13,31,-26r13,29v-11,15,-23,31,-45,31v-37,0,-90,-50,-108,2r-13,-30v8,-15,21,-31,45,-31","w":216},"\u00a0":{"w":99}}});
;
/****** FILE: mysite/themes/kcw/js/jquery.dql.imagerotator.js *****/
"use strict";(function($){$.fn.imagerotator=function(options){var $this=$(this),priv={},publ={};options=$.extend({itemSelector:'.item',duration:400,indicators:{},interval:5000,itemActiveClass:'active',indicatorActiveClass:'active',rotate:true},options);priv.init=function(){priv.$items=$(options.itemSelector,$this);priv.$active=priv.$items.filter('.'+options.itemActiveClass);priv.total=priv.$items.length;priv.activeIndex=priv.$items.index(priv.$active.get(0));if(options.indicators.length==priv.total){priv.$indicators=options.indicators;publ.enableIndicators();}
if(options.rotate){publ.enableInterval();}};priv.shift=function(nextIndex){if(typeof nextIndex=='undefined'){nextIndex=priv.activeIndex+1;if(nextIndex>=priv.total){nextIndex=0;}}else if(priv.indicatorsActive){publ.disableInterval();}
if(nextIndex!=priv.activeIndex){var $next=priv.$items.eq(nextIndex);priv.$active.fadeOut(options.duration,function(){$(this).removeClass(options.itemActiveClass);});$next.fadeIn(options.duration,function(){$(this).addClass(options.itemActiveClass);});if(priv.indicatorsActive){var $nextIndicator=priv.$indicators.eq(nextIndex);priv.$activeIndicator.removeClass(options.indicatorActiveClass);priv.$activeIndicator=$nextIndicator.addClass(options.indicatorActiveClass);}
priv.$active=$next;priv.activeIndex=nextIndex;}};publ.enableIndicators=function(){priv.indicatorsActive=true;priv.$activeIndicator=priv.$indicators.eq(priv.activeIndex);priv.$indicators.each(function(index){$(this).click(function(){priv.shift(index);});});};publ.disableIndicators=function(){priv.indicatorsActive=false;priv.$indicators.each(function(){$(this).unbind('click');});};publ.enableInterval=function(){priv.intervalEnabled=true;priv.interval=setInterval(function(){priv.shift();},options.interval);if(typeof options.onEnableInterval=='function'){options.onEnableInterval();}};publ.disableInterval=function(){if(priv.intervalEnabled){priv.intervalEnabled=false;if(typeof options.onDisableInterval=='function'){options.onDisableInterval();}
clearInterval(priv.interval);}};publ.intervalEnabled=function(){return priv.intervalEnabled;};priv.init();return publ;};}(jQuery));
;
/****** FILE: mysite/themes/kcw/js/dql.dock.js *****/
"use strict";(function($,window,document){Array.max=function(array){return Math.max.apply(Math,array);};Array.min=function(array){return Math.min.apply(Math,array);};Array.nearest=function(array,value){var nearest,nearestDistance,distance,i,temp=Math.abs(value)+1;nearestDistance=Array.max([Math.abs(Array.min(array)),Math.abs(Array.max(array))]);nearestDistance=nearestDistance>temp?nearestDistance:temp;for(i=0;i<array.length;i=i+1){if(array.hasOwnProperty(i)){if(array[i]===value){return array[i];}else{distance=Math.abs(array[i]-value);if(distance<nearestDistance){nearest=array[i];nearestDistance=distance;}}}}
return nearest;};$.fn.dock=function(options){var priv={$component:$(this),$window:$(window)},publ={};options=$.extend({imgSelector:"img",itemSelector:"li",infoSelector:"div",minImgRatio:0.6,maxItemWidth:false,yFactor:function(val){var temp=Math.sqrt(3*val);return Math.min(temp,1);},infoPanels:false,overlayCss:{position:'absolute',zIndex:'9999',left:0,top:0,background:'#fff',opacity:0,cursor:'pointer'},clickFunction:false},options);priv.init=function(){priv.animateImages=!$.browser.msie;priv.$items=priv.$component.find(options.itemSelector);if(options.infoPanels){priv.$infos=priv.$component.find(options.infoSelector);priv.infoPanelWidth=priv.$infos.eq(0).width();}
priv.$imgs=priv.$component.find(options.imgSelector);priv.totalItems=priv.$items.length;priv.halfItems=Math.ceil(priv.totalItems/2);priv.componentWidth=priv.$component.width();priv.componentHeight=priv.$component.height();var tempItemWidth=priv.componentWidth/priv.totalItems;if(options.maxItemWidth){priv.itemWidth=tempItemWidth<options.maxItemWidth?tempItemWidth:options.maxItemWidth;}else{priv.itemWidth=tempItemWidth;}
priv.halfItemWidth=priv.itemWidth/2;priv.itemHeight=priv.$items.eq(0).height();priv.halfItemHeight=priv.itemHeight/2;priv.maxRatio=0;priv.maxWidth=0;priv.$imgs.each(function(){var $this=$(this);var width=$this.width();if(width>priv.maxWidth){priv.maxWidth=width;priv.maxRatio=$this.height()/width;}});priv.maxImgHeight=priv.itemWidth*priv.maxRatio;priv.maxImgHeight=Math.floor(priv.maxImgHeight>priv.itemHeight?priv.itemHeight:priv.maxImgHeight);priv.minImgHeight=Math.floor(priv.maxImgHeight*options.minImgRatio);priv.minImgTop=(priv.itemHeight-priv.maxImgHeight)/2;priv.maxImgTop=(priv.itemHeight-priv.minImgHeight)/2;priv.diffImgHeight=priv.maxImgHeight-priv.minImgHeight;priv.diffImgTop=priv.maxImgTop-priv.minImgTop;priv.mids=[];priv.$items.each(function(index){priv.mids.push((priv.itemWidth*(index+1)-(priv.itemWidth/2)));});priv.nearest=false;priv.setDimensions();priv.componentLeft=priv.$component.offset().left;priv.componentTop=priv.$component.offset().top;priv.createOverlay();priv.addEventHandlers();};priv.addEventHandlers=function(){priv.$window.resize(function(){priv.componentLeft=priv.$component.offset().left;priv.componentTop=priv.$component.offset().top;});priv.$overlay.mousemove(function(event){var left=event.clientX-priv.componentLeft,top=event.pageY-priv.componentTop,yFactor=options.yFactor(1-(Math.abs(top-(priv.halfItemHeight))/(priv.halfItemHeight))),nearestPx=Array.nearest(priv.mids,left),nearest=Math.floor(nearestPx/priv.itemWidth),$nearestInfo;if(priv.nearest!==nearest||priv.nearest===false){if(priv.animateImages){priv.$imgs.not(':eq('+nearest+')').animate({opacity:0.7},{queue:false});priv.$imgs.eq(nearest).animate({opacity:0.99},{queue:false});}
priv.nearest=nearest;}
priv.$imgs.each(function(index){var distanceX=Math.abs(priv.mids[index]-left),$this=$(this);if(distanceX<priv.itemWidth){$this.css({height:priv.minImgHeight+(priv.diffImgHeight*((priv.itemWidth-distanceX)/priv.itemWidth)*yFactor),marginTop:priv.maxImgTop+(priv.diffImgTop*((distanceX-priv.itemWidth)/priv.itemWidth)*yFactor)});}else{$this.css({height:priv.minImgHeight,marginTop:priv.maxImgTop});}});if(options.infoPanels){priv.$infos.not(':eq('+priv.nearest+')').hide();$nearestInfo=priv.$infos.eq(priv.nearest);if($nearestInfo.is(':hidden')){$nearestInfo.show();}
if(priv.halfItems>priv.nearest){$nearestInfo.css({left:nearestPx+(priv.$imgs.eq(priv.nearest).width()/2)});}else{$nearestInfo.css({left:nearestPx-(priv.$imgs.eq(priv.nearest).width()/2)-priv.infoPanelWidth});}}}).mouseleave(function(){var ceilMinImgHeight=Math.ceil(priv.minImgHeight);priv.$imgs.each(function(){var $this=$(this);if($this.height()>ceilMinImgHeight){$this.animate({height:priv.minImgHeight,marginTop:priv.maxImgTop},{step:function(){$this.css('display','inline');},queue:false});}});if(options.infoPanels){priv.$infos.css({display:'none'});}
if(priv.animateImages){priv.$imgs.animate({opacity:0.99},{queue:false});}
priv.nearest=false;}).click(function(event){var left=event.clientX-priv.componentLeft,nearest=Math.floor(Array.nearest(priv.mids,left)/priv.itemWidth);if(typeof options.clickFunction==='function'){options.clickFunction(nearest);}else{document.location.href=priv.$items.eq(nearest).find('a:eq(0)').attr('href');}});};priv.setDimensions=function(){priv.$items.width(priv.itemWidth);priv.$imgs.css({height:priv.minImgHeight,marginTop:priv.maxImgTop,width:'auto'});if($.browser.msie){priv.$imgs.css({visibility:'visible'});}else{priv.$imgs.css({opacity:0,visibility:'visible'}).animate({opacity:0.99},1000);}
priv.$component.width(priv.totalItems*priv.itemWidth);};priv.createOverlay=function(){priv.$overlay=$("<div></div>").css($.extend({width:priv.totalItems*priv.itemWidth,height:priv.componentHeight},options.overlayCss));priv.$component.append(priv.$overlay);};priv.init();return publ;};}(jQuery,window,document));
;
/****** FILE: mysite/themes/kcw/js/dql.overlay.js *****/
"use strict";(function($,document,window){$.fn.overlay=function(options){var priv={$component:$(this),$document:$(document),$window:$(window)},publ={};options=$.extend(true,{coverClass:'cover',coverCss:{height:function(){return priv.$document.height();},width:function(){return priv.$window.width();},display:'none',opacity:0.9},componentCss:{left:function(){return(priv.$window.width()-priv.$component.outerWidth())/2;},top:function(){return priv.$window.scrollTop()+(priv.$window.height()-priv.$component.outerHeight())/2;},display:'none'},closeable:true,closeSelector:false},options);priv.init=function(){priv.addCover();priv.applyOverlayCss();priv.addEventHandlers();};priv.addCover=function(){priv.$cover=$('<div></div>').css(options.coverCss).addClass(options.coverClass);$('body').append(priv.$cover);priv.$cover.fadeIn();};priv.removeCover=function(){priv.$cover.fadeOut().remove();};priv.updateComponent=function(animate){if(animate){priv.$component.animate({left:options.componentCss.left(),top:options.componentCss.top()},200);}else{priv.$component.css({left:options.componentCss.left(),top:options.componentCss.top()});}};priv.updateCover=function(){priv.$cover.css({height:options.coverCss.height(),width:options.coverCss.width()});};priv.applyOverlayCss=function(){priv.$component.css(options.componentCss).fadeIn();};priv.addEventHandlers=function(){priv.$window.bind('scroll.overlay',function(){window.clearTimeout(priv.timeout);priv.timeout=window.setTimeout(function(){priv.updateComponent(true);},200);});priv.$window.bind('resize.overlay',function(){priv.updateComponent();priv.updateCover();});if(options.closeable){priv.$cover.bind('click.overlay',function(event){publ.close();});}
if(options.closeSelector){priv.$component.find(options.closeSelector).bind('click.overlay',function(event){publ.close();});}};priv.removeEventHandlers=function(){if(options.closeable){priv.$window.unbind('click.overlay');}
priv.$window.unbind('resize.overlay');priv.$window.unbind('scroll.overlay');};publ.close=function(){priv.$component.fadeOut();priv.removeCover();priv.removeEventHandlers();};publ.open=function(){priv.init();};priv.init();return publ;};}(jQuery,document,window));
;
/****** FILE: mysite/themes/kcw/js/dql.imageoverlay.js *****/

(function($){$.fn.imageoverlay=function(options){options=$.extend({$openers:false,$inners:false,nextSelector:'.next',prevSelector:'.prev',closeSelector:'.close',overlayOptions:{}},options);var priv={},publ={};priv.overlayInstance=false;priv.overlay=function(open){if(!priv.overlayInstance){var $clone=priv.$this.detach();$('body').append($clone);priv.overlayInstance=$clone.overlay(options.overlayOptions);}else if(open){priv.overlayInstance.open();}
return priv.overlayInstance;};priv.$this=$(this);if(options.$openers&&options.$openers.length){options.$openers.bind('click.imageoverlay',function(event){event.preventDefault();priv.overlay(true);options.$inners.filter(':visible').fadeOut();options.$inners.eq(options.$openers.index($(this))).fadeIn();});options.$inners.find(options.closeSelector).bind('click.imageoverlay',function(event){event.preventDefault();priv.overlay().close();});options.$inners.find(options.nextSelector).bind('click.imageoverlay',function(event){event.preventDefault();var index=options.$inners.index(options.$inners.filter(':visible'));options.$inners.filter(':visible').fadeOut();options.$inners.eq((index+1)<options.$inners.length?index+1:0).fadeIn();});options.$inners.find(options.prevSelector).bind('click.imageoverlay',function(event){event.preventDefault();var index=options.$inners.index(options.$inners.filter(':visible'));options.$inners.filter(':visible').fadeOut();options.$inners.eq((index-1)>=0?index-1:options.$inners.length-1).fadeIn();});}};}(jQuery));
;
/****** FILE: mysite/themes/kcw/js/jScrollPane.js *****/

(function($){$.jScrollPane={active:[]};$.fn.jScrollPane=function(settings)
{settings=$.extend({},$.fn.jScrollPane.defaults,settings);var rf=function(){return false;};return this.each(function()
{var $this=$(this);$this.css('overflow','hidden');var paneEle=this;if($(this).parent().is('.jScrollPaneContainer')){var currentScrollPosition=settings.maintainPosition?$this.position().top:0;var $c=$(this).parent();var paneWidth=$c.innerWidth();var paneHeight=$c.outerHeight();var trackHeight=paneHeight;$('>.jScrollPaneTrack2, >.jScrollArrowUp, >.jScrollArrowDown',$c).remove();$this.css({'top':0});}else{var currentScrollPosition=0;this.originalPadding=$this.css('paddingTop')+' '+$this.css('paddingRight')+' '+$this.css('paddingBottom')+' '+$this.css('paddingLeft');this.originalSidePaddingTotal=(parseInt($this.css('paddingLeft'))||0)+(parseInt($this.css('paddingRight'))||0);var paneWidth=$this.innerWidth();var paneHeight=$this.innerHeight();var trackHeight=paneHeight;$this.wrap($('<div></div>').attr({'className':'jScrollPaneContainer'}).css({'height':paneHeight+'px','width':paneWidth+'px'}));$(document).bind('emchange',function(e,cur,prev)
{$this.jScrollPane(settings);});}
if(settings.reinitialiseOnImageLoad){var $imagesToLoad=$.data(paneEle,'jScrollPaneImagesToLoad')||$('img',$this);var loadedImages=[];if($imagesToLoad.length){$imagesToLoad.each(function(i,val){$(this).bind('load',function(){if($.inArray(i,loadedImages)==-1){loadedImages.push(val);$imagesToLoad=$.grep($imagesToLoad,function(n,i){return n!=val;});$.data(paneEle,'jScrollPaneImagesToLoad',$imagesToLoad);settings.reinitialiseOnImageLoad=false;$this.jScrollPane(settings);}}).each(function(i,val){if(this.complete||this.complete===undefined){this.src=this.src;}});});};}
var p=this.originalSidePaddingTotal;var cssToApply={'height':'auto'}
if(settings.scrollbarOnLeft){cssToApply.paddingLeft=settings.scrollbarMargin+settings.scrollbarWidth+'px';}else{cssToApply.paddingRight=settings.scrollbarMargin+'px';}
$this.css(cssToApply);var contentHeight=$this.height();var percentInView=paneHeight/contentHeight;if(percentInView<.99){var $container=$this.parent();$container.append($('<div></div>').attr({'className':'jScrollPaneTrack2'}).css({'width':settings.scrollbarWidth+'px'}).append($('<div></div>').attr({'className':'jScrollPaneDrag2'}).css({'width':settings.scrollbarWidth+'px'}).append($('<div></div>').attr({'className':'jScrollPaneDragTop'}).css({'width':settings.scrollbarWidth+'px'}),jQuery('<div></div>').attr({'className':'jScrollPaneMiddle2'}).css({'width':settings.scrollbarWidth+'px','position':'relative'}).append(jQuery('<div></div>').attr({'className':'jScrollPaneHandle2','title':'Click and Drag to scroll'}).css({'width':settings.scrollbarWidth+'px'})),$('<div></div>').attr({'className':'jScrollPaneDragBottom'}).css({'width':settings.scrollbarWidth+'px'}))));var $track=$('>.jScrollPaneTrack2',$container);var $drag=$('>.jScrollPaneTrack2 .jScrollPaneDrag2',$container);if(settings.showArrows){var currentArrowButton;var currentArrowDirection;var currentArrowInterval;var currentArrowInc;var whileArrowButtonDown=function()
{if(currentArrowInc>4||currentArrowInc%4==0){positionDrag(dragPosition+currentArrowDirection*mouseWheelMultiplier);}
currentArrowInc++;};var onArrowMouseUp=function(event)
{$('html').unbind('mouseup',onArrowMouseUp);currentArrowButton.removeClass('jScrollActiveArrowButton');clearInterval(currentArrowInterval);};var onArrowMouseDown=function(){$('html').bind('mouseup',onArrowMouseUp);currentArrowButton.addClass('jScrollActiveArrowButton');currentArrowInc=0;whileArrowButtonDown();currentArrowInterval=setInterval(whileArrowButtonDown,100);};$container.append($('<a></a>').attr({'href':'javascript:;','className':'jScrollArrowUp'}).css({'width':settings.scrollbarWidth+'px'}).html('Scroll up').bind('mousedown',function()
{currentArrowButton=$(this);currentArrowDirection=-1;onArrowMouseDown();this.blur();return false;}).bind('click',rf),$('<a></a>').attr({'href':'javascript:;','className':'jScrollArrowDown'}).css({'width':settings.scrollbarWidth+'px'}).html('Scroll down').bind('mousedown',function()
{currentArrowButton=$(this);currentArrowDirection=1;onArrowMouseDown();this.blur();return false;}).bind('click',rf));var $upArrow=$('>.jScrollArrowUp',$container);var $downArrow=$('>.jScrollArrowDown',$container);if(settings.arrowSize){trackHeight=paneHeight-settings.arrowSize-settings.arrowSize;$track.css({'height':trackHeight+'px',top:settings.arrowSize+'px'})}else{var topArrowHeight=$upArrow.height();settings.arrowSize=topArrowHeight;trackHeight=paneHeight-topArrowHeight-$downArrow.height();$track.css({'height':trackHeight+'px',top:topArrowHeight+'px'})}}
var $pane=$(this).css({'position':'absolute','overflow':'visible'});var currentOffset;var maxY;var mouseWheelMultiplier;var dragPosition=0;var dragMiddle=percentInView*paneHeight/2;var getPos=function(event,c){var p=c=='X'?'Left':'Top';return event['page'+c]||(event['client'+c]+(document.documentElement['scroll'+p]||document.body['scroll'+p]))||0;};var ignoreNativeDrag=function(){return false;};var initDrag=function()
{ceaseAnimation();currentOffset=$drag.offset(false);currentOffset.top-=dragPosition;maxY=trackHeight-$drag[0].offsetHeight;mouseWheelMultiplier=2*settings.wheelSpeed*maxY/contentHeight;};var onStartDrag=function(event)
{initDrag();dragMiddle=getPos(event,'Y')-dragPosition-currentOffset.top;$('html').bind('mouseup',onStopDrag).bind('mousemove',updateScroll);if($.browser.msie){$('html').bind('dragstart',ignoreNativeDrag).bind('selectstart',ignoreNativeDrag);}
return false;};var onStopDrag=function()
{$('html').unbind('mouseup',onStopDrag).unbind('mousemove',updateScroll);dragMiddle=percentInView*paneHeight/2;if($.browser.msie){$('html').unbind('dragstart',ignoreNativeDrag).unbind('selectstart',ignoreNativeDrag);}};var positionDrag=function(destY)
{destY=destY<0?0:(destY>maxY?maxY:destY);dragPosition=destY;$drag.css({'top':destY+'px'});var p=destY/maxY;$pane.css({'top':((paneHeight-contentHeight)*p)+'px'});$this.trigger('scroll');if(settings.showArrows){$upArrow[destY==0?'addClass':'removeClass']('disabled');$downArrow[destY==maxY?'addClass':'removeClass']('disabled');}};var updateScroll=function(e)
{positionDrag(getPos(e,'Y')-currentOffset.top-dragMiddle);};var dragH=Math.max(Math.min(percentInView*(paneHeight-settings.arrowSize*2),settings.dragMaxHeight),settings.dragMinHeight);$drag.css({'height':dragH+'px'}).bind('mousedown',onStartDrag);var dragHeight=parseFloat($drag.css('height'));var handleHeight=dragHeight-20;if(Math.ceil(handleHeight)<12){jQuery(this).next().children('.jScrollPaneDrag2').height(25+'px');jQuery(this).next().children('.jScrollPaneDrag2').children('.jScrollPaneMiddle2').children('.jScrollPaneHandle2').css('height',5+'px');}else{jQuery(this).next().children('.jScrollPaneDrag2').children('.jScrollPaneMiddle2').children('.jScrollPaneHandle2').css('height',Math.ceil(handleHeight)+'px');}
var trackScrollInterval;var trackScrollInc;var trackScrollMousePos;var doTrackScroll=function()
{if(trackScrollInc>8||trackScrollInc%4==0){positionDrag((dragPosition-((dragPosition-trackScrollMousePos)/2)));}
trackScrollInc++;};var onStopTrackClick=function()
{clearInterval(trackScrollInterval);$('html').unbind('mouseup',onStopTrackClick).unbind('mousemove',onTrackMouseMove);};var onTrackMouseMove=function(event)
{trackScrollMousePos=getPos(event,'Y')-currentOffset.top-dragMiddle;};var onTrackClick=function(event)
{initDrag();onTrackMouseMove(event);trackScrollInc=0;$('html').bind('mouseup',onStopTrackClick).bind('mousemove',onTrackMouseMove);trackScrollInterval=setInterval(doTrackScroll,100);doTrackScroll();};$track.bind('mousedown',onTrackClick);$container.bind('mousewheel',function(event,delta){initDrag();ceaseAnimation();var d=dragPosition;positionDrag(dragPosition-delta*mouseWheelMultiplier);var dragOccured=d!=dragPosition;return!dragOccured;});var _animateToPosition;var _animateToInterval;function animateToPosition()
{var diff=(_animateToPosition-dragPosition)/settings.animateStep;if(diff>1||diff<-1){positionDrag(dragPosition+diff);}else{positionDrag(_animateToPosition);ceaseAnimation();}}
var ceaseAnimation=function()
{if(_animateToInterval){clearInterval(_animateToInterval);delete _animateToPosition;}};var scrollTo=function(pos,preventAni)
{if(typeof pos=="string"){$e=$(pos,$this);if(!$e.length)return;pos=$e.offset().top-$this.offset().top;}
$container.scrollTop(0);ceaseAnimation();var destDragPosition=-pos/(paneHeight-contentHeight)*maxY;if(preventAni||!settings.animateTo){positionDrag(destDragPosition);}else{_animateToPosition=destDragPosition;_animateToInterval=setInterval(animateToPosition,settings.animateInterval);}};$this[0].scrollTo=scrollTo;$this[0].scrollBy=function(delta)
{var currentPos=-parseInt($pane.css('top'))||0;scrollTo(currentPos+delta);};initDrag();scrollTo(-currentScrollPosition,true);$('*',this).bind('focus',function(event)
{var $e=$(this);var eleTop=0;while($e[0]!=$this[0]){eleTop+=$e.position().top;$e=$e.offsetParent();}
var viewportTop=-parseInt($pane.css('top'))||0;var maxVisibleEleTop=viewportTop+paneHeight;var eleInView=eleTop>viewportTop&&eleTop<maxVisibleEleTop;if(!eleInView){var destPos=eleTop-settings.scrollbarMargin;if(eleTop>viewportTop){destPos+=$(this).height()+15+settings.scrollbarMargin-paneHeight;}
scrollTo(destPos);}})
if(location.hash){scrollTo(location.hash);}
$(document).bind('click',function(e)
{$target=$(e.target);if($target.is('a')){var h=$target.attr('href');if(h.substr(0,1)=='#'){scrollTo(h);}}});$.jScrollPane.active.push($this[0]);}else{$this.css({'height':paneHeight+'px','width':paneWidth-this.originalSidePaddingTotal+'px','padding':this.originalPadding});$this.parent().unbind('mousewheel');}})};$.fn.jScrollPane.defaults={scrollbarWidth:10,scrollbarMargin:5,wheelSpeed:18,showArrows:false,arrowSize:0,animateTo:false,dragMinHeight:1,dragMaxHeight:99999,animateInterval:100,animateStep:3,maintainPosition:true,scrollbarOnLeft:false,reinitialiseOnImageLoad:false};$(window).bind('unload',function(){var els=$.jScrollPane.active;for(var i=0;i<els.length;i++){els[i].scrollTo=els[i].scrollBy=null;}});})(jQuery);
;
/****** FILE: mysite/themes/kcw/js/jquery.livequery.js *****/

(function($){$.extend($.fn,{livequery:function(type,fn,fn2){var self=this,q;if($.isFunction(type))
fn2=fn,fn=type,type=undefined;$.each($.livequery.queries,function(i,query){if(self.selector==query.selector&&self.context==query.context&&type==query.type&&(!fn||fn.$lqguid==query.fn.$lqguid)&&(!fn2||fn2.$lqguid==query.fn2.$lqguid))
return(q=query)&&false;});q=q||new $.livequery(this.selector,this.context,type,fn,fn2);q.stopped=false;q.run();return this;},expire:function(type,fn,fn2){var self=this;if($.isFunction(type))
fn2=fn,fn=type,type=undefined;$.each($.livequery.queries,function(i,query){if(self.selector==query.selector&&self.context==query.context&&(!type||type==query.type)&&(!fn||fn.$lqguid==query.fn.$lqguid)&&(!fn2||fn2.$lqguid==query.fn2.$lqguid)&&!this.stopped)
$.livequery.stop(query.id);});return this;}});$.livequery=function(selector,context,type,fn,fn2){this.selector=selector;this.context=context;this.type=type;this.fn=fn;this.fn2=fn2;this.elements=[];this.stopped=false;this.id=$.livequery.queries.push(this)-1;fn.$lqguid=fn.$lqguid||$.livequery.guid++;if(fn2)fn2.$lqguid=fn2.$lqguid||$.livequery.guid++;return this;};$.livequery.prototype={stop:function(){var query=this;if(this.type)
this.elements.unbind(this.type,this.fn);else if(this.fn2)
this.elements.each(function(i,el){query.fn2.apply(el);});this.elements=[];this.stopped=true;},run:function(){if(this.stopped)return;var query=this;var oEls=this.elements,els=$(this.selector,this.context),nEls=els.not(oEls);this.elements=els;if(this.type){nEls.bind(this.type,this.fn);if(oEls.length>0)
$.each(oEls,function(i,el){if($.inArray(el,els)<0)
$.event.remove(el,query.type,query.fn);});}
else{nEls.each(function(){query.fn.apply(this);});if(this.fn2&&oEls.length>0)
$.each(oEls,function(i,el){if($.inArray(el,els)<0)
query.fn2.apply(el);});}}};$.extend($.livequery,{guid:0,queries:[],queue:[],running:false,timeout:null,checkQueue:function(){if($.livequery.running&&$.livequery.queue.length){var length=$.livequery.queue.length;while(length--)
$.livequery.queries[$.livequery.queue.shift()].run();}},pause:function(){$.livequery.running=false;},play:function(){$.livequery.running=true;$.livequery.run();},registerPlugin:function(){$.each(arguments,function(i,n){if(!$.fn[n])return;var old=$.fn[n];$.fn[n]=function(){var r=old.apply(this,arguments);$.livequery.run();return r;}});},run:function(id){if(id!=undefined){if($.inArray(id,$.livequery.queue)<0)
$.livequery.queue.push(id);}
else
$.each($.livequery.queries,function(id){if($.inArray(id,$.livequery.queue)<0)
$.livequery.queue.push(id);});if($.livequery.timeout)clearTimeout($.livequery.timeout);$.livequery.timeout=setTimeout($.livequery.checkQueue,20);},stop:function(id){if(id!=undefined)
$.livequery.queries[id].stop();else
$.each($.livequery.queries,function(id){$.livequery.queries[id].stop();});}});$.livequery.registerPlugin('append','prepend','after','before','wrap','attr','removeAttr','addClass','removeClass','toggleClass','empty','remove');$(function(){$.livequery.play();});})(jQuery);
;
/****** FILE: mysite/themes/kcw/js/jquery.mousewheel.js *****/

(function($){$.event.special.mousewheel={setup:function(){var handler=$.event.special.mousewheel.handler;if($.browser.mozilla)
$(this).bind('mousemove.mousewheel',function(event){$.data(this,'mwcursorposdata',{pageX:event.pageX,pageY:event.pageY,clientX:event.clientX,clientY:event.clientY});});if(this.addEventListener)
this.addEventListener(($.browser.mozilla?'DOMMouseScroll':'mousewheel'),handler,false);else
this.onmousewheel=handler;},teardown:function(){var handler=$.event.special.mousewheel.handler;$(this).unbind('mousemove.mousewheel');if(this.removeEventListener)
this.removeEventListener(($.browser.mozilla?'DOMMouseScroll':'mousewheel'),handler,false);else
this.onmousewheel=function(){};$.removeData(this,'mwcursorposdata');},handler:function(event){var args=Array.prototype.slice.call(arguments,1);event=$.event.fix(event||window.event);$.extend(event,$.data(this,'mwcursorposdata')||{});var delta=0,returnValue=true;if(event.wheelDelta)delta=event.wheelDelta/120;if(event.detail)delta=-event.detail/3;if($.browser.opera)delta=-event.wheelDelta;event.data=event.data||{};event.type="mousewheel";args.unshift(delta);args.unshift(event);return $.event.handle.apply(this,args);}};$.fn.extend({mousewheel:function(fn){return fn?this.bind("mousewheel",fn):this.trigger("mousewheel");},unmousewheel:function(fn){return this.unbind("mousewheel",fn);}});})(jQuery);
;
/****** FILE: mysite/themes/kcw/js/flowplayer-3.2.2.min.js *****/

(function(){function g(o){console.log("$f.fireEvent",[].slice.call(o))}function k(q){if(!q||typeof q!="object"){return q}var o=new q.constructor();for(var p in q){if(q.hasOwnProperty(p)){o[p]=k(q[p])}}return o}function m(t,q){if(!t){return}var o,p=0,r=t.length;if(r===undefined){for(o in t){if(q.call(t[o],o,t[o])===false){break}}}else{for(var s=t[0];p<r&&q.call(s,p,s)!==false;s=t[++p]){}}return t}function c(o){return document.getElementById(o)}function i(q,p,o){if(typeof p!="object"){return q}if(q&&p){m(p,function(r,s){if(!o||typeof s!="function"){q[r]=s}})}return q}function n(s){var q=s.indexOf(".");if(q!=-1){var p=s.slice(0,q)||"*";var o=s.slice(q+1,s.length);var r=[];m(document.getElementsByTagName(p),function(){if(this.className&&this.className.indexOf(o)!=-1){r.push(this)}});return r}}function f(o){o=o||window.event;if(o.preventDefault){o.stopPropagation();o.preventDefault()}else{o.returnValue=false;o.cancelBubble=true}return false}function j(q,o,p){q[o]=q[o]||[];q[o].push(p)}function e(){return"_"+(""+Math.random()).slice(2,10)}var h=function(t,r,s){var q=this,p={},u={};q.index=r;if(typeof t=="string"){t={url:t}}i(this,t,true);m(("Begin*,Start,Pause*,Resume*,Seek*,Stop*,Finish*,LastSecond,Update,BufferFull,BufferEmpty,BufferStop").split(","),function(){var v="on"+this;if(v.indexOf("*")!=-1){v=v.slice(0,v.length-1);var w="onBefore"+v.slice(2);q[w]=function(x){j(u,w,x);return q}}q[v]=function(x){j(u,v,x);return q};if(r==-1){if(q[w]){s[w]=q[w]}if(q[v]){s[v]=q[v]}}});i(this,{onCuepoint:function(x,w){if(arguments.length==1){p.embedded=[null,x];return q}if(typeof x=="number"){x=[x]}var v=e();p[v]=[x,w];if(s.isLoaded()){s._api().fp_addCuepoints(x,r,v)}return q},update:function(w){i(q,w);if(s.isLoaded()){s._api().fp_updateClip(w,r)}var v=s.getConfig();var x=(r==-1)?v.clip:v.playlist[r];i(x,w,true)},_fireEvent:function(v,y,w,A){if(v=="onLoad"){m(p,function(B,C){if(C[0]){s._api().fp_addCuepoints(C[0],r,B)}});return false}A=A||q;if(v=="onCuepoint"){var z=p[y];if(z){return z[1].call(s,A,w)}}if(y&&"onBeforeBegin,onMetaData,onStart,onUpdate,onResume".indexOf(v)!=-1){i(A,y);if(y.metaData){if(!A.duration){A.duration=y.metaData.duration}else{A.fullDuration=y.metaData.duration}}}var x=true;m(u[v],function(){x=this.call(s,A,y,w)});return x}});if(t.onCuepoint){var o=t.onCuepoint;q.onCuepoint.apply(q,typeof o=="function"?[o]:o);delete t.onCuepoint}m(t,function(v,w){if(typeof w=="function"){j(u,v,w);delete t[v]}});if(r==-1){s.onCuepoint=this.onCuepoint}};var l=function(p,r,q,t){var o=this,s={},u=false;if(t){i(s,t)}m(r,function(v,w){if(typeof w=="function"){s[v]=w;delete r[v]}});i(this,{animate:function(y,z,x){if(!y){return o}if(typeof z=="function"){x=z;z=500}if(typeof y=="string"){var w=y;y={};y[w]=z;z=500}if(x){var v=e();s[v]=x}if(z===undefined){z=500}r=q._api().fp_animate(p,y,z,v);return o},css:function(w,x){if(x!==undefined){var v={};v[w]=x;w=v}r=q._api().fp_css(p,w);i(o,r);return o},show:function(){this.display="block";q._api().fp_showPlugin(p);return o},hide:function(){this.display="none";q._api().fp_hidePlugin(p);return o},toggle:function(){this.display=q._api().fp_togglePlugin(p);return o},fadeTo:function(y,x,w){if(typeof x=="function"){w=x;x=500}if(w){var v=e();s[v]=w}this.display=q._api().fp_fadeTo(p,y,x,v);this.opacity=y;return o},fadeIn:function(w,v){return o.fadeTo(1,w,v)},fadeOut:function(w,v){return o.fadeTo(0,w,v)},getName:function(){return p},getPlayer:function(){return q},_fireEvent:function(w,v,x){if(w=="onUpdate"){var z=q._api().fp_getPlugin(p);if(!z){return}i(o,z);delete o.methods;if(!u){m(z.methods,function(){var B=""+this;o[B]=function(){var C=[].slice.call(arguments);var D=q._api().fp_invoke(p,B,C);return D==="undefined"||D===undefined?o:D}});u=true}}var A=s[w];if(A){var y=A.apply(o,v);if(w.slice(0,1)=="_"){delete s[w]}return y}return o}})};function b(q,G,t){var w=this,v=null,D=false,u,s,F=[],y={},x={},E,r,p,C,o,A;i(w,{id:function(){return E},isLoaded:function(){return(v!==null&&v.fp_play!=undefined&&!D)},getParent:function(){return q},hide:function(H){if(H){q.style.height="0px"}if(w.isLoaded()){v.style.height="0px"}return w},show:function(){q.style.height=A+"px";if(w.isLoaded()){v.style.height=o+"px"}return w},isHidden:function(){return w.isLoaded()&&parseInt(v.style.height,10)===0},load:function(J){if(!w.isLoaded()&&w._fireEvent("onBeforeLoad")!==false){var H=function(){u=q.innerHTML;if(u&&!flashembed.isSupported(G.version)){q.innerHTML=""}flashembed(q,G,{config:t});if(J){J.cached=true;j(x,"onLoad",J)}};var I=0;m(a,function(){this.unload(function(K){if(++I==a.length){H()}})})}return w},unload:function(J){if(this.isFullscreen()&&/WebKit/i.test(navigator.userAgent)){if(J){J(false)}return w}if(u.replace(/\s/g,"")!==""){if(w._fireEvent("onBeforeUnload")===false){if(J){J(false)}return w}D=true;try{if(v){v.fp_close();w._fireEvent("onUnload")}}catch(H){}var I=function(){v=null;q.innerHTML=u;D=false;if(J){J(true)}};setTimeout(I,50)}else{if(J){J(false)}}return w},getClip:function(H){if(H===undefined){H=C}return F[H]},getCommonClip:function(){return s},getPlaylist:function(){return F},getPlugin:function(H){var J=y[H];if(!J&&w.isLoaded()){var I=w._api().fp_getPlugin(H);if(I){J=new l(H,I,w);y[H]=J}}return J},getScreen:function(){return w.getPlugin("screen")},getControls:function(){return w.getPlugin("controls")._fireEvent("onUpdate")},getLogo:function(){try{return w.getPlugin("logo")._fireEvent("onUpdate")}catch(H){}},getPlay:function(){return w.getPlugin("play")._fireEvent("onUpdate")},getConfig:function(H){return H?k(t):t},getFlashParams:function(){return G},loadPlugin:function(K,J,M,L){if(typeof M=="function"){L=M;M={}}var I=L?e():"_";w._api().fp_loadPlugin(K,J,M,I);var H={};H[I]=L;var N=new l(K,null,w,H);y[K]=N;return N},getState:function(){return w.isLoaded()?v.fp_getState():-1},play:function(I,H){var J=function(){if(I!==undefined){w._api().fp_play(I,H)}else{w._api().fp_play()}};if(w.isLoaded()){J()}else{if(D){setTimeout(function(){w.play(I,H)},50)}else{w.load(function(){J()})}}return w},getVersion:function(){var I="flowplayer.js 3.2.0";if(w.isLoaded()){var H=v.fp_getVersion();H.push(I);return H}return I},_api:function(){if(!w.isLoaded()){throw"Flowplayer "+w.id()+" not loaded when calling an API method"}return v},setClip:function(H){w.setPlaylist([H]);return w},getIndex:function(){return p}});m(("Click*,Load*,Unload*,Keypress*,Volume*,Mute*,Unmute*,PlaylistReplace,ClipAdd,Fullscreen*,FullscreenExit,Error,MouseOver,MouseOut").split(","),function(){var H="on"+this;if(H.indexOf("*")!=-1){H=H.slice(0,H.length-1);var I="onBefore"+H.slice(2);w[I]=function(J){j(x,I,J);return w}}w[H]=function(J){j(x,H,J);return w}});m(("pause,resume,mute,unmute,stop,toggle,seek,getStatus,getVolume,setVolume,getTime,isPaused,isPlaying,startBuffering,stopBuffering,isFullscreen,toggleFullscreen,reset,close,setPlaylist,addClip,playFeed,setKeyboardShortcutsEnabled,isKeyboardShortcutsEnabled").split(","),function(){var H=this;w[H]=function(J,I){if(!w.isLoaded()){return w}var K=null;if(J!==undefined&&I!==undefined){K=v["fp_"+H](J,I)}else{K=(J===undefined)?v["fp_"+H]():v["fp_"+H](J)}return K==="undefined"||K===undefined?w:K}});w._fireEvent=function(Q){if(typeof Q=="string"){Q=[Q]}var R=Q[0],O=Q[1],M=Q[2],L=Q[3],K=0;if(t.debug){g(Q)}if(!w.isLoaded()&&R=="onLoad"&&O=="player"){v=v||c(r);o=v.clientHeight;m(F,function(){this._fireEvent("onLoad")});m(y,function(S,T){T._fireEvent("onUpdate")});s._fireEvent("onLoad")}if(R=="onLoad"&&O!="player"){return}if(R=="onError"){if(typeof O=="string"||(typeof O=="number"&&typeof M=="number")){O=M;M=L}}if(R=="onContextMenu"){m(t.contextMenu[O],function(S,T){T.call(w)});return}if(R=="onPluginEvent"||R=="onBeforePluginEvent"){var H=O.name||O;var I=y[H];if(I){I._fireEvent("onUpdate",O);return I._fireEvent(M,Q.slice(3))}return}if(R=="onPlaylistReplace"){F=[];var N=0;m(O,function(){F.push(new h(this,N++,w))})}if(R=="onClipAdd"){if(O.isInStream){return}O=new h(O,M,w);F.splice(M,0,O);for(K=M+1;K<F.length;K++){F[K].index++}}var P=true;if(typeof O=="number"&&O<F.length){C=O;var J=F[O];if(J){P=J._fireEvent(R,M,L)}if(!J||P!==false){P=s._fireEvent(R,M,L,J)}}m(x[R],function(){P=this.call(w,O,M);if(this.cached){x[R].splice(K,1)}if(P===false){return false}K++});return P};function B(){if($f(q)){$f(q).getParent().innerHTML="";p=$f(q).getIndex();a[p]=w}else{a.push(w);p=a.length-1}A=parseInt(q.style.height,10)||q.clientHeight;E=q.id||"fp"+e();r=G.id||E+"_api";G.id=r;t.playerId=E;if(typeof t=="string"){t={clip:{url:t}}}if(typeof t.clip=="string"){t.clip={url:t.clip}}t.clip=t.clip||{};if(q.getAttribute("href",2)&&!t.clip.url){t.clip.url=q.getAttribute("href",2)}s=new h(t.clip,-1,w);t.playlist=t.playlist||[t.clip];var H=0;m(t.playlist,function(){var J=this;if(typeof J=="object"&&J.length){J={url:""+J}}m(t.clip,function(K,L){if(L!==undefined&&J[K]===undefined&&typeof L!="function"){J[K]=L}});t.playlist[H]=J;J=new h(J,H,w);F.push(J);H++});m(t,function(J,K){if(typeof K=="function"){if(s[J]){s[J](K)}else{j(x,J,K)}delete t[J]}});m(t.plugins,function(J,K){if(K){y[J]=new l(J,K,w)}});if(!t.plugins||t.plugins.controls===undefined){y.controls=new l("controls",null,w)}y.canvas=new l("canvas",null,w);function I(J){if(!w.isLoaded()&&w._fireEvent("onBeforeClick")!==false){w.load()}return f(J)}u=q.innerHTML;if(u.replace(/\s/g,"")!==""){if(q.addEventListener){q.addEventListener("click",I,false)}else{if(q.attachEvent){q.attachEvent("onclick",I)}}}else{if(q.addEventListener){q.addEventListener("click",f,false)}w.load()}}if(typeof q=="string"){var z=c(q);if(!z){throw"Flowplayer cannot access element: "+q}else{q=z;B()}}else{B()}}var a=[];function d(o){this.length=o.length;this.each=function(p){m(o,p)};this.size=function(){return o.length}}window.flowplayer=window.$f=function(){var p=null;var o=arguments[0];if(!arguments.length){m(a,function(){if(this.isLoaded()){p=this;return false}});return p||a[0]}if(arguments.length==1){if(typeof o=="number"){return a[o]}else{if(o=="*"){return new d(a)}m(a,function(){if(this.id()==o.id||this.id()==o||this.getParent()==o){p=this;return false}});return p}}if(arguments.length>1){var t=arguments[1],q=(arguments.length==3)?arguments[2]:{};if(typeof t=="string"){t={src:t}}t=i({bgcolor:"#000000",version:[9,0],expressInstall:"http://static.flowplayer.org/swf/expressinstall.swf",cachebusting:true},t);if(typeof o=="string"){if(o.indexOf(".")!=-1){var s=[];m(n(o),function(){s.push(new b(this,k(t),k(q)))});return new d(s)}else{var r=c(o);return new b(r!==null?r:o,t,q)}}else{if(o){return new b(o,t,q)}}}return null};i(window.$f,{fireEvent:function(){var o=[].slice.call(arguments);var q=$f(o[0]);return q?q._fireEvent(o.slice(1)):null},addPlugin:function(o,p){b.prototype[o]=p;return $f},each:m,extend:i});if(typeof jQuery=="function"){jQuery.fn.flowplayer=function(q,p){if(!arguments.length||typeof arguments[0]=="number"){var o=[];this.each(function(){var r=$f(this);if(r){o.push(r)}});return arguments.length?o[arguments[0]]:new d(o)}return this.each(function(){$f(this,k(q),p?k(p):{})})}}})();(function(){var h=document.all,j="http://www.adobe.com/go/getflashplayer",c=typeof jQuery=="function",e=/(\d+)[^\d]+(\d+)[^\d]*(\d*)/,b={width:"100%",height:"100%",id:"_"+(""+Math.random()).slice(9),allowfullscreen:true,allowscriptaccess:"always",quality:"high",version:[3,0],onFail:null,expressInstall:null,w3c:false,cachebusting:false};if(window.attachEvent){window.attachEvent("onbeforeunload",function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){}})}function i(l,f){if(f){for(key in f){if(f.hasOwnProperty(key)){l[key]=f[key]}}}return l}function a(f,n){var m=[];for(var l in f){if(f.hasOwnProperty(l)){m[l]=n(f[l])}}return m}window.flashembed=function(f,m,l){if(typeof f=="string"){f=document.getElementById(f.replace("#",""))}if(!f){return}if(typeof m=="string"){m={src:m}}return new d(f,i(i({},b),m),l)};var g=i(window.flashembed,{conf:b,getVersion:function(){var f;try{f=navigator.plugins["Shockwave Flash"].description.slice(16)}catch(n){try{var l=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");f=l&&l.GetVariable("$version")}catch(m){}}f=e.exec(f);return f?[f[1],f[3]]:[0,0]},asString:function(l){if(l===null||l===undefined){return null}var f=typeof l;if(f=="object"&&l.push){f="array"}switch(f){case"string":l=l.replace(new RegExp('(["\\\\])',"g"),"\\$1");l=l.replace(/^\s?(\d+\.?\d+)%/,"$1pct");return'"'+l+'"';case"array":return"["+a(l,function(o){return g.asString(o)}).join(",")+"]";case"function":return'"function()"';case"object":var m=[];for(var n in l){if(l.hasOwnProperty(n)){m.push('"'+n+'":'+g.asString(l[n]))}}return"{"+m.join(",")+"}"}return String(l).replace(/\s/g," ").replace(/\'/g,'"')},getHTML:function(o,l){o=i({},o);var n='<object width="'+o.width+'" height="'+o.height+'" id="'+o.id+'" name="'+o.id+'"';if(o.cachebusting){o.src+=((o.src.indexOf("?")!=-1?"&":"?")+Math.random())}if(o.w3c||!h){n+=' data="'+o.src+'" type="application/x-shockwave-flash"'}else{n+=' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'}n+=">";if(o.w3c||h){n+='<param name="movie" value="'+o.src+'" />'}o.width=o.height=o.id=o.w3c=o.src=null;o.onFail=o.version=o.expressInstall=null;for(var m in o){if(o[m]){n+='<param name="'+m+'" value="'+o[m]+'" />'}}var p="";if(l){for(var f in l){if(l[f]){var q=l[f];p+=f+"="+(/function|object/.test(typeof q)?g.asString(q):q)+"&"}}p=p.slice(0,-1);n+='<param name="flashvars" value=\''+p+"' />"}n+="</object>";return n},isSupported:function(f){return k[0]>f[0]||k[0]==f[0]&&k[1]>=f[1]}});var k=g.getVersion();function d(f,n,m){if(g.isSupported(n.version)){f.innerHTML=g.getHTML(n,m)}else{if(n.expressInstall&&g.isSupported([6,65])){f.innerHTML=g.getHTML(i(n,{src:n.expressInstall}),{MMredirectURL:location.href,MMplayerType:"PlugIn",MMdoctitle:document.title})}else{if(!f.innerHTML.replace(/\s/g,"")){f.innerHTML="<h2>Flash version "+n.version+" or greater is required</h2><h3>"+(k[0]>0?"Your version is "+k:"You have no flash plugin installed")+"</h3>"+(f.tagName=="A"?"<p>Click here to download latest version</p>":"<p>Download latest version from <a href='"+j+"'>here</a></p>");if(f.tagName=="A"){f.onclick=function(){location.href=j}}}if(n.onFail){var l=n.onFail.call(this);if(typeof l=="string"){f.innerHTML=l}}}}if(h){window[n.id]=document.getElementById(n.id)}i(this,{getRoot:function(){return f},getOptions:function(){return n},getConf:function(){return m},getApi:function(){return f.firstChild}})}if(c){jQuery.tools=jQuery.tools||{version:"3.2.0"};jQuery.tools.flashembed={conf:b};jQuery.fn.flashembed=function(l,f){return this.each(function(){$(this).data("flashembed",flashembed(this,l,f))})}}})();
;
/****** FILE: mysite/themes/kcw/js/jquery.dql.slidecontent.js *****/
"use strict";(function($){$.fn.slidecontent=function(options){var $this=$(this),priv={},publ={};options=$.extend({containerSelector:'ul',panelSelector:'li',duration:200,mode:'horizontal',event:'click',hoverInterval:400,position:0,changePosition:false,init:false},options);priv.init=function(){priv.$viewPort=$this;priv.$container=$(options.containerSelector,priv.$viewPort);priv.$prev=$(options.prevSelector);priv.$next=$(options.nextSelector);priv.$panels=$(options.panelSelector,priv.$container);priv.$panel=priv.$panels.eq(0);priv.panelsLength=priv.$panels.length;priv.panelWidth=priv.$panel.outerWidth(true);priv.containerWidth=priv.panelWidth*priv.panelsLength;priv.pages=priv.panelWidth/options.displayNumber;priv.maxPosition=priv.panelsLength-options.displayNumber;priv.position=options.position;priv.setWidth();if(priv.position==0){priv.updateArrows();}else{publ.goToIndex(priv.position,true)}
priv.addEventHandlers();if(typeof options.init==='function'){options.init();}};priv.setWidth=function(){priv.$container.css('width',priv.containerWidth);};priv.updateArrows=function(){if(priv.position>0){priv.$prev.css('visibility','visible');}else{priv.$prev.css('visibility','hidden');}
if(priv.position>=priv.maxPosition){priv.$next.css('visibility','hidden');}else{priv.$next.css('visibility','visible');}
if(typeof options.updateArrows==='function'){options.updateArrows(priv.position);}};priv.addEventHandlers=function(){switch(options.event){case'click':priv.$next.click(function(event){event.preventDefault();publ.animateNext();});priv.$prev.click(function(event){event.preventDefault();publ.animatePrev();});break;case'hover':priv.$next.hover(function(){publ.animateNext();priv.nextHoverInterval=window.setInterval(function(){publ.animateNext();},options.hoverInterval);},function(){if(priv.nextHoverInterval){window.clearInterval(priv.nextHoverInterval);}});priv.$prev.hover(function(){publ.animatePrev();priv.prevHoverInterval=window.setInterval(function(){publ.animatePrev();},options.hoverInterval);},function(){if(priv.prevHoverInterval){window.clearInterval(priv.prevHoverInterval);}});break;}};priv.animate=function(px,dontanimate){var animate={};switch(options.mode){case'horizontal':animate.left=px;break;case'vertical':animate.top=px;break;}
if(dontanimate){priv.$container.css(animate);}else{priv.$container.animate(animate,{queue:false,duration:options.duration});}
if(typeof options.changePosition=='function'){options.changePosition(priv.position);}};publ.goToIndex=function(index,dontanimate){priv.position=index;priv.updateArrows();priv.animate(index*(-priv.panelWidth),dontanimate);};publ.animateNext=function(setPosition){if(priv.position<priv.maxPosition){var pos;priv.position=parseInt(priv.position)+1;priv.updateArrows();if(setPosition!==undefined){pos=setPosition;}else{pos=priv.position;}
priv.animate(pos*(-priv.panelWidth));}};publ.animatePrev=function(setPosition){if(priv.position>0){var pos;priv.position=parseInt(priv.position)-1;priv.updateArrows();if(setPosition!==undefined){pos=setPosition;}else{pos=priv.position;}
priv.animate(pos*(-priv.panelWidth));}};priv.init();return publ;};}(jQuery));
;
/****** FILE: mysite/themes/kcw/js/dql.hashlink.js *****/

(function($,document){$.hashlinkfind=function(find,options){options=$.extend({split:'&',equal:'/'},options);var result={};if(document.location.hash){var parts=document.location.hash.replace('#','').split(options.split);for(var i in parts){var el=parts[i].split(options.equal);if(el[0]!==undefined&&$.inArray(el[0],find)!==-1){result[el[0]]=el[1];}}}
return result.length!==0?result:undefined;};$.hashlinkchange=function(parts,options){options=$.extend({split:'&',equal:'/'},options);var hash=[];var hashpartsArray=document.location.hash!==''?document.location.hash.replace('#','').split(options.split):[];var hashparts={};for(var i in hashpartsArray){var part=hashpartsArray[i].split(options.equal);hashparts[part[0]]=part[1];}
parts=$.extend(hashparts,parts);for(var j in parts){if(parts.hasOwnProperty(j)&&parts[j]!==undefined){hash.push(j+options.equal+parts[j]);}}
document.location.hash='#'+hash.join(options.split);};}(jQuery,document));
;
/****** FILE: mysite/themes/kcw/js/dql.tabs.js *****/

(function($){$.fn.tabs=function($panes,options){options=$.extend({activeClass:'active',clickCallback:false,preventDefault:false,showTransition:function($el){$el.show();},hideTransition:function($el){$el.hide();}},options);var $tabs=$(this);$tabs.each(function(index){var $tab=$(this);$tab.click(function(event){if(options.preventDefault){event.preventDefault();}
options.hideTransition($panes.not(':eq('+index+')'));options.showTransition($panes.eq(index));$tabs.not(':eq('+index+')').removeClass(options.activeClass);$tabs.eq(index).addClass(options.activeClass);if(typeof options.clickCallback==='function'){options.clickCallback(index);}});});if(options.activeTab!==undefined){$tabs.eq(options.activeTab).click();}};}(jQuery));
;
/****** FILE: mysite/themes/kcw/js/jquery.scrollTo-min.js *****/
;(function(d){var k=d.scrollTo=function(a,i,e){d(window).scrollTo(a,i,e)};k.defaults={axis:'xy',duration:parseFloat(d.fn.jquery)>=1.3?0:1};k.window=function(a){return d(window)._scrollable()};d.fn._scrollable=function(){return this.map(function(){var a=this,i=!a.nodeName||d.inArray(a.nodeName.toLowerCase(),['iframe','#document','html','body'])!=-1;if(!i)return a;var e=(a.contentWindow||a).document||a.ownerDocument||a;return d.browser.safari||e.compatMode=='BackCompat'?e.body:e.documentElement})};d.fn.scrollTo=function(n,j,b){if(typeof j=='object'){b=j;j=0}if(typeof b=='function')b={onAfter:b};if(n=='max')n=9e9;b=d.extend({},k.defaults,b);j=j||b.speed||b.duration;b.queue=b.queue&&b.axis.length>1;if(b.queue)j/=2;b.offset=p(b.offset);b.over=p(b.over);return this._scrollable().each(function(){var q=this,r=d(q),f=n,s,g={},u=r.is('html,body');switch(typeof f){case'number':case'string':if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(f)){f=p(f);break}f=d(f,this);case'object':if(f.is||f.style)s=(f=d(f)).offset()}d.each(b.axis.split(''),function(a,i){var e=i=='x'?'Left':'Top',h=e.toLowerCase(),c='scroll'+e,l=q[c],m=k.max(q,i);if(s){g[c]=s[h]+(u?0:l-r.offset()[h]);if(b.margin){g[c]-=parseInt(f.css('margin'+e))||0;g[c]-=parseInt(f.css('border'+e+'Width'))||0}g[c]+=b.offset[h]||0;if(b.over[h])g[c]+=f[i=='x'?'width':'height']()*b.over[h]}else{var o=f[h];g[c]=o.slice&&o.slice(-1)=='%'?parseFloat(o)/100*m:o}if(/^\d+$/.test(g[c]))g[c]=g[c]<=0?0:Math.min(g[c],m);if(!a&&b.queue){if(l!=g[c])t(b.onAfterFirst);delete g[c]}});t(b.onAfter);function t(a){r.animate(g,j,b.easing,a&&function(){a.call(this,n,b)})}}).end()};k.max=function(a,i){var e=i=='x'?'Width':'Height',h='scroll'+e;if(!d(a).is('html,body'))return a[h]-d(a)[e.toLowerCase()]();var c='client'+e,l=a.ownerDocument.documentElement,m=a.ownerDocument.body;return Math.max(l[h],m[h])-Math.min(l[c],m[c])};function p(a){return typeof a=='object'?a:{top:a,left:a}}})(jQuery);
;
/****** FILE: mysite/themes/kcw/js/dql.lateload.js *****/
"use strict";(function($){$.fn.image=function(src,initialcss,callback){var $i=$('<img/>').css(initialcss).load(callback);$i.attr('src',src);$(this).replaceWith($i);};$.fn.lateload=function(options){options=$.extend({show:function(){$(this).css({visibility:'visible',display:'none'}).fadeIn();},initialcss:{visibility:'hidden'},isVisible:function($image){var $window=$(window),topMost=$window.scrollTop(),bottomMost=topMost+$window.height(),imageOffset=$image.offset(),leftMost=$window.scrollLeft(),rightMost=leftMost+$window.width(),imageBottom=imageOffset.top+$image.height(),imageRight=imageOffset.left+$image.width();return(imageOffset.top<=bottomMost&&imageBottom>=topMost)&&(imageOffset.left<=rightMost&&imageRight>=leftMost);},bind:function(checkimages){$(window).bind('scroll.lateload',checkimages);$(window).bind('resize.lateload',checkimages);},unbind:function(){$(window).unbind('.lateload');}},options);if($.browser.msie&&$.browser.version=='6.0'){$(this).each(function(){var $image=$(this),$newImage=$('<img/>');$newImage.attr('src',$image.attr('rel'));$image.replaceWith($newImage);});}else{var images=$(this).toArray(),checkimages=function(){var imagesLeft=[],i,$image;for(i in images){if(images.hasOwnProperty(i)){$image=$(images[i]);if(options.isVisible($image)){if(typeof $image.attr('rel')==='string'){$image.image($image.attr('rel'),options.initialcss,options.show);}}else{imagesLeft.push(images[i]);}}}
if(imagesLeft.length===0){if(typeof options.unbind==='function'){options.unbind(checkimages);}}else{images=imagesLeft;}};checkimages();if(typeof options.bind==='function'){options.bind(checkimages);}}};}(jQuery));
;
/****** FILE: mysite/themes/kcw/js/global.js *****/
"use strict";(function($,$f){Cufon.replace('#Nav a, .tabs a, h2 a',{hover:true});Cufon.replace("h1, h2, h3, h5, .regionWine h4, blockquote, .more, .range strong, #RegionsOverview li a");$(function(){$('#Form_SearchForm_Search').autohide();if($('#Banner').length){$('#Banner').imagerotator({indicators:$('.indicators a'),rotate:true});}
if($('#ImageViewer').length){$('#ImageViewer').imageoverlay({$openers:$('.feature'),$inners:$('#ImageViewer .item'),overlayOptions:{coverCss:{opacity:0.9},coverClass:'imageCover'}});}
if($('#SignUp').length){$('#SignUp').click(function(event){event.preventDefault();$('#SignupOverlay').overlay({coverCss:{opacity:0.6},closeSelector:'.close'});$('#Country').removeClass('notready');});if($('#SignupOverlay').hasClass('open')||$('#SignupOverlay .field span.message').length>0){$('#SignupOverlay').overlay({coverCss:{opacity:0.6},closeSelector:'.close'});}}
if($('#RegionMap').length){$('#RegionMap area').hover(function(){var $area=$(this),pos=-($area.index()+1)*458;$('#Map').css({'background-position':"right "+pos+"px"});});}
if($('#ContactChoice').length){$('#ContactChoice').click(function(event){event.preventDefault();$('#ContactOverlay').overlay({coverCss:{opacity:0.6},closeSelector:'.close'});});}});$(window).load(function(){function stopAllPlayers(){$('.youtube').each(function(){if(typeof this.stopVideo==='function'){this.stopVideo();}});$('.vimeo').each(function(){if(typeof this.api_pause==='function'){this.api_pause();}});$f('*').each(function(){if(typeof this.stop==='function'){this.stop();}});}
if($('#WineDockWrapper').length){if(!($.browser.msie&&$.browser.version=='6.0')){$('#WineDockWrapper').dock({maxItemWidth:115,infoPanels:true,infoSelector:'.info'});}}
if($('.viewPort').length){if(!$.browser.msie){$('.viewPort').css({visibility:'visible',opacity:0});}
var hash=$.hashlinkfind(['wine','tab']),slideposition=hash.wine!==undefined?hash.wine:$('.viewPortLiner .wineContent').index($('.viewPort .active')),slidecontent=$('.viewPort').slidecontent({containerSelector:'.viewPortLiner',panelSelector:'div.wineContent',prevSelector:'#Prev',nextSelector:'#Next',displayNumber:1,mode:'horizontal',position:slideposition,changePosition:function(index){var $a=$('.wineContent').eq(index).find('.toggles li.current a'),tab=$a.length===1?$a.attr('rel').split('/')[1]:undefined;$.hashlinkchange({'wine':index,'tab':tab});stopAllPlayers();},init:function(){if(!$.browser.msie){$('.viewPort').css({opacity:1});}else{$('.viewPort').css({visibility:'visible'});$('.wineRangeViewer').css({'background-image':'none'});}}});if(!($.browser.msie&&$.browser.version=='6.0')){$('#SmallWineDockWrapper').dock({maxItemWidth:45,minImgRatio:0.8,clickFunction:function(nearest){slidecontent.goToIndex(nearest);}});}
$('.viewPort .wineContent').each(function(index){var $this=$(this),active;if(slideposition===index){if(hash.tab!==undefined){active=$this.find('.toggles li a').index($this.find('.toggles li a[rel=tab/'+hash.tab+']'));}}
$this.find('.toggles li').tabs($this.find('.pane'),{preventDefault:true,activeClass:'current',clickCallback:function(index){var $a=$this.find('.toggles li a').eq(index),$parent,position,$player;if($a.hasClass('startVideo')){$parent=$a.closest('.liner');position=$parent.find('.toggles li').index($a.closest('li'));$player=$parent.find('.pane:eq('+position+') .player');if($player.length){$player.flowplayer("/mysite/themes/kcw/swf/flowplayer.swf",{clip:{url:$a.attr('href'),autoPlay:false}});$player.fadeIn();}}
if($a.hasClass('youtube')){$parent=$a.closest('.liner');position=$parent.find('.toggles li').index($a.closest('li'));var $pane=$parent.find('.pane:eq('+position+')');var id=$pane.find('span').text();$.ajax({url:'/our-wines/winevideo/'+id,success:function(data){$pane.html(data);},dataType:'html'});}
$.hashlinkchange({'tab':$a.attr('rel').split('/')[1]});stopAllPlayers();},activeTab:active});});}
if($('.lateload').length){$('.lateload').lateload();}
if($('.isvisibleload').length){$('.isvisibleload').lateload({isVisible:function($image){return $image.closest('.item').is(':visible');},unbind:function(){$('.prev, .next').unbind('.isvisibleload');},bind:function(checkimages){$('.prev, .next').bind('click.isvisibleload',checkimages);$('.overlay .item:visible').livequery(checkimages);}});}
if($('.campaignload').length){$('.campaignload').lateload({isVisible:function($image){return $image.is(':visible');},unbind:function(){$('.indicators a').unbind('.campaignload');},bind:function(checkimages){$('.indicators a').bind('click.campaignload',checkimages);$('#Banner .item:visible').livequery(checkimages);}});}
if($('.wineContentLoad').length){$('.wineContentLoad').lateload({isVisible:function($image){var index=$.hashlinkfind(['wine']).wine;if(typeof index!='undefined'){return index==$image.closest('.viewPortLiner').find('img').index($image);}else{return $image.closest('.wineContent').hasClass('active');}},unbind:function(){$('#Prev,#Next').unbind('.wineContentLoad');$('#SmallWineDock a').unbind('click.wineContentLoad');},bind:function(checkimages){$('#Prev,#Next').bind('click.wineContentLoad',checkimages);$('#SmallWineDockWrapper').bind('click.wineContentLoad',checkimages);}});}});}(jQuery,$f));
;
/****** FILE: mysite/themes/kcw/js/age.js *****/

(function($){$(function(){if($('#AgeVerification').length){$('#AgeVerification').overlay({closeable:false,coverCss:{opacity:0.6}});}});}(jQuery));
;
