var browserName=navigator.appName,browserVer=parseInt(navigator.appVersion),version="",msie4=(browserName=="Microsoft Internet Explorer"&&browserVer>=4);if((browserName=="Netscape"&&browserVer>=3)||msie4||browserName=="Konqueror"||browserName=="Opera"){version="n3"}else version="n2"
function blurLink(theObject){if(msie4)theObject.blur()}
function decryptCharcode(n,start,end,offset){n=n+offset;if(offset>0&&n>end){n=start+(n-end-1)}else if(offset<0&&n<start)n=end-(start-n-1);return String.fromCharCode(n)}
function decryptString(enc,offset){var dec="",len=enc.length;for(var i=0;i<len;i++){var n=enc.charCodeAt(i);if(n>=0x2B&&n<=0x3A){dec+=decryptCharcode(n,0x2B,0x3A,offset)}else if(n>=0x40&&n<=0x5A){dec+=decryptCharcode(n,0x40,0x5A,offset)}else if(n>=0x61&&n<=0x7A){dec+=decryptCharcode(n,0x61,0x7A,offset)}else dec+=enc.charAt(i)};return dec}
function linkTo_UnCryptMailto(s){location.href=decryptString(s,-2)};
(function(a,b){function s(a){for(var b=1,c;c=arguments[b];b++)for(var d in c)a[d]=c[d];return a}
function t(a){return Array.prototype.slice.call(a)}
function v(a,b){for(var c=0,d;d=a[c];c++)if(b==d)return c;return-1}
function w(){var a=t(arguments),b=[];for(var c=0,d=a.length;c<d;c++)a[c].length>0&&b.push(a[c].replace(/\/$/,""));return b.join("/")}
function x(a,b,c){var d=b.split("/"),e=a;while(d.length>1){var f=d.shift();e=e[f]=e[f]||{}};e[d[0]]=c}
function y(){}
function z(a,b){this.id=this.path=a,this.force=!!b}
function A(a,b){this.id=a,this.body=b,typeof b=="undefined"&&(this.path=this.resolvePath(a))}
function B(a,b){this.deps=a,this.collectResults=b,this.deps.length==0&&this.complete()}
function C(a,b){this.deps=a,this.collectResults=b}
function D(){for(var a in d)if(d[a].readyState=="interactive")return l[d[a].id]}
function E(a,b){var d;return!a&&c&&(d=k||D()),d?(delete l[d.scriptId],d.body=b,d.execute()):(j=d=new A(a,b),i[d.id]=d),d}
function F(){var a=t(arguments),b,c;return typeof a[0]=="string"&&(b=a.shift()),c=a.shift(),E(b,c)}
function G(a,b){var c=b.id||"",d=c.split("/");d.pop();var e=d.join("/");return a.replace(/^\./,e)}
function H(a,b){function d(a){return A.exports[G(a,b)]};var c=[];for(var e=0,f=a.length;e<f;e++){if(a[e]=="require"){c.push(d);continue};if(a[e]=="exports"){b.exports=b.exports||{},c.push(b.exports);continue};c.push(d(a[e]))};return c}
function I(){var a=t(arguments),b=[],c,d;return typeof a[0]=="string"&&(c=a.shift()),u(a[0])&&(b=a.shift()),d=a.shift(),E(c,function(a){function f(){var e=H(t(b),c),f;typeof d=="function"?f=d.apply(c,e):f=d,typeof f=="undefined"&&(f=c.exports),a(f)};var c=this,e=[];for(var g=0,h=b.length;g<h;g++){var i=b[g];v(["require","exports"],i)==-1&&e.push(G(i,c))};e.length>0?J.apply(this,e.concat(f)):f()})}
function J(){var a=t(arguments),b,c;typeof a[a.length-1]=="function"&&(b=a.pop()),typeof a[a.length-1]=="boolean"&&(c=a.pop());var d=new B(K(a,c),c);return b&&d.then(b),d}
function K(a,b){var c=[];for(var d=0,e;e=a[d];d++)typeof e=="string"&&(e=L(e)),u(e)&&(e=new C(K(e,b),b)),c.push(e);return c}
function L(a){var b,c;for(var d=0,e;e=J.matchers[d];d++){var f=e[0],g=e[1];if(b=a.match(f))return g(a)};throw new Error(a+" was not recognised by loader")}
function N(){return a.using=m,a.provide=n,a.define=o,a.loadrunner=p,M}
function O(a){for(var b=0;b<J.bundles.length;b++)for(var c in J.bundles[b])if(c!=a&&v(J.bundles[b][c],a)>-1)return c};var c=a.attachEvent&&!a.opera,d=b.getElementsByTagName("script"),e=0,f,g=b.createElement("script"),h={},i={},j,k,l={},m=a.using,n=a.provide,o=a.define,p=a.loadrunner;for(var q=0,r;r=d[q];q++)if(r.src.match(/loadrunner\.js(\?|#|$)/)){f=r;break};var u=Array.isArray||function(a){return a.constructor==Array};y.prototype.then=function(b){var c=this;return this.started||(this.started=!0,this.start()),this.completed?b.apply(a,this.results):(this.callbacks=this.callbacks||[],this.callbacks.push(b)),this},y.prototype.start=function(){},y.prototype.complete=function(){if(!this.completed){this.results=t(arguments),this.completed=!0;if(this.callbacks)for(var b=0,c;c=this.callbacks[b];b++)c.apply(a,this.results)}},z.loaded=[],z.prototype=new y(),z.prototype.start=function(){var a=this,b,c,d;return(d=i[this.id])?(d.then(function(){a.complete()}),this):((b=h[this.id])?b.then(function(){a.loaded()}):!this.force&&v(z.loaded,this.id)>-1?this.loaded():(c=O(this.id))?J(c,function(){a.loaded()}):this.load(),this)},z.prototype.load=function(){var b=this;h[this.id]=b;var c=g.cloneNode(!1);this.scriptId=c.id="LR"+ ++e,c.type="text/javascript",c.async=!0,c.onerror=function(){throw new Error(b.path+" not loaded")},c.onreadystatechange=c.onload=function(c){c=a.event||c;if(c.type=="load"||v(["loaded","complete"],this.readyState)>-1)this.onreadystatechange=null,b.loaded()},c.src=this.path,k=this,d[0].parentNode.insertBefore(c,d[0]),k=null,l[c.id]=this},z.prototype.loaded=function(){this.complete()},z.prototype.complete=function(){v(z.loaded,this.id)==-1&&z.loaded.push(this.id),delete h[this.id],y.prototype.complete.apply(this,arguments)},A.exports={},A.prototype=new z(),A.prototype.resolvePath=function(a){return w(J.path,a+".js")},A.prototype.start=function(){var a,b,c=this,d;this.body?this.execute():(a=A.exports[this.id])?this.exp(a):(b=i[this.id])?b.then(function(a){c.exp(a)}):(bundle=O(this.id))?J(bundle,function(){c.start()}):(i[this.id]=this,this.load())},A.prototype.loaded=function(){var a,b,d=this;c?(b=A.exports[this.id])?this.exp(b):(a=i[this.id])&&a.then(function(a){d.exp(a)}):(a=j,j=null,a.id=a.id||this.id,a.then(function(a){d.exp(a)}))},A.prototype.complete=function(){delete i[this.id],z.prototype.complete.apply(this,arguments)},A.prototype.execute=function(){var a=this;typeof this.body=="object"?this.exp(this.body):typeof this.body=="function"&&this.body.apply(window,[function(b){a.exp(b)}])},A.prototype.exp=function(a){this.complete(this.exports=A.exports[this.id]=a||{})},B.prototype=new y(),B.prototype.start=function(){function b(){var b=[];a.collectResults&&(b[0]={});for(var c=0,d;d=a.deps[c];c++){if(!d.completed)return;d.results.length>0&&(a.collectResults?d instanceof C?s(b[0],d.results[0]):x(b[0],d.id,d.results[0]):b=b.concat(d.results))};a.complete.apply(a,b)};var a=this;for(var c=0,d;d=this.deps[c];c++)d.then(b);return this},C.prototype=new y(),C.prototype.start=function(){var a=this,b=0,c=[];return a.collectResults&&(c[0]={}),function d(){var e=a.deps[b++];e?e.then(function(b){e.results.length>0&&(a.collectResults?e instanceof C?s(c[0],e.results[0]):x(c[0],e.id,e.results[0]):c.push(e.results[0])),d()}):a.complete.apply(a,c)}(),this},I.amd={};var M=function(a){return a(J,F,M,define)};M.Script=z,M.Module=A,M.Collection=B,M.Sequence=C,M.Dependency=y,M.noConflict=N,a.loadrunner=M,a.using=J,a.provide=F,a.define=I,J.path="",J.matchers=[],J.matchers.add=function(a,b){this.unshift([a,b])},J.matchers.add(/(^script!|\.js$)/,function(a){var b=new z(a.replace(/^\$/,J.path.replace(/\/$/,"")+"/").replace(/^script!/,""),!1);return b.id=a,b}),J.matchers.add(/^[a-zA-Z0-9_\-\/]+$/,function(a){return new A(a)}),J.bundles=[],f&&(J.path=f.getAttribute("data-path")||f.src.split(/loadrunner\.js/)[0]||"",(main=f.getAttribute("data-main"))&&J.apply(a,main.split(/\s*,\s*/)).then(function(){}))})(this,document);window.__twttrlr=loadrunner.noConflict();__twttrlr(function(using,provide,loadrunner,define){provide("$xd/json2.js",function(exports){window.JSON||(window.JSON={}),function(){function f(a){return a<10?"0"+a:a}
function quote(a){return escapable.lastIndex=0,escapable.test(a)?'"'+a.replace(escapable,function(a){var b=meta[a];return typeof b=="string"?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}
function str(a,b){var c,d,e,f,g=gap,h,i=b[a];i&&typeof i=="object"&&typeof i.toJSON=="function"&&(i=i.toJSON(a)),typeof rep=="function"&&(i=rep.call(b,a,i));switch(typeof i){case"string":return quote(i);case"number":return isFinite(i)?String(i):"null";case"boolean":case"null":return String(i);case"object":if(!i)return"null";gap+=indent,h=[];if(Object.prototype.toString.apply(i)==="[object Array]"){f=i.length;for(c=0;c<f;c+=1)h[c]=str(c,i)||"null";return e=h.length===0?"[]":gap?"[\n"+gap+h.join(",\n"+gap)+"\n"+g+"]":"["+h.join(",")+"]",gap=g,e};if(rep&&typeof rep=="object"){f=rep.length;for(c=0;c<f;c+=1)d=rep[c],typeof d=="string"&&(e=str(d,i),e&&h.push(quote(d)+(gap?": ":":")+e))}else for(d in i)Object.hasOwnProperty.call(i,d)&&(e=str(d,i),e&&h.push(quote(d)+(gap?": ":":")+e));return e=h.length===0?"{}":gap?"{\n"+gap+h.join(",\n"+gap)+"\n"+g+"}":"{"+h.join(",")+"}",gap=g,e}};typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(a){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(a){return this.valueOf()});var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;typeof JSON.stringify!="function"&&(JSON.stringify=function(a,b,c){var d;gap="",indent="";if(typeof c=="number"){for(d=0;d<c;d+=1)indent+=" "}else typeof c=="string"&&(indent=c);rep=b;if(!b||typeof b=="function"||typeof b=="object"&&typeof b.length=="number")return str("",{"":a});throw new Error("JSON.stringify")}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){function walk(a,b){var c,d,e=a[b];if(e&&typeof e=="object")for(c in e)Object.hasOwnProperty.call(e,c)&&(d=walk(e,c),d!==undefined?e[c]=d:delete e[c]);return reviver.call(a,b,e)};var j;cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),typeof reviver=="function"?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}();exports();loadrunner.Script.loaded.push("$xd/json2.js")});provide("util/util",function(a){function b(a){for(var b=1,c;c=arguments[b];b++)for(var d in c)a[d]=c[d];return a}
function c(a){return b([],a)}
function d(a){for(var b in a)a.hasOwnProperty(b)&&!a[b]&&a[b]!==!1&&a[b]!==0&&delete a[b]}
function e(a,b){for(var c=0,d;d=a[c];c++)if(b==d)return c;return-1}
function f(a,b){if(!a)return null;var c=[];for(var d=0,e=a.length;d<e;d++)b(a[d])&&c.push(a[d]);return c};a({aug:b,array:c,indexOf:e,filter:f,compact:d})});provide("util/events",function(a){using("util/util",function(b){function d(){this.completed=!1,this.callbacks=[]};var c={bind:function(a,b){return this._handlers=this._handlers||{},this._handlers[a]=this._handlers[a]||[],this._handlers[a].push(b)},unbind:function(a,c){if(!this._handlers[a])return;if(c){var d=b.indexOf(this._handlers[a],c);d>=0&&this._handlers[a].splice(d,1)}else this._handlers[a]=[]},trigger:function(a,b){var c=this._handlers&&this._handlers[a];b.type=a;if(c)for(var d=0,e;e=c[d];d++)e.call(this,b)}};d.prototype.addCallback=function(a){this.completed?a.apply(this,this.results):this.callbacks.push(a)},d.prototype.complete=function(){this.results=makeArray(arguments),this.completed=!0;for(var a=0,b;b=this.callbacks[a];a++)b.apply(this,this.results)},a({Emitter:c,Promise:d})})});provide("xd/jsonrpc",function(a){using("util/util","util/events",function(b,c){function d(a){this.con=a}
function e(){this.id=e.id++}
function f(){a(function(a){return new d(a)})};b.aug(d.prototype,{expose:function(a){this.con.bind("message",this._handleRequest(a))},call:function(a){var b,c=this;b||(b={},this.con.bind("message",function(a){var c;try{a=JSON.parse(a)}catch(d){return};typeof a.id=="number"&&(c=b[a.id])&&(a.error?c.trigger("error",a):c.trigger("success",a),delete b[a.id])}));var d=new e();return b[d.id]=d,d.send(this.con,a,Array.prototype.slice.call(arguments,1))},_handleRequest:function(a){var b=this;return function c(c){var d,e;try{c=JSON&&JSON.parse?JSON.parse(c):JSON&&JSON.decode?JSON.decode(c):(new Function("return "+c))()}catch(f){return};typeof c.id=="number"&&typeof a[c.method]=="function"&&(e=b._responseCallbacks(c.id),d=a[c.method].apply(a,c.params.concat(e)),typeof d!="undefined"&&e[0](d))}},_responseCallbacks:function(a){var b=this.con;return[function c(c){b.send(JSON.stringify({id:a,result:c}))},function d(d){b.send(JSON.stringify({id:a,error:d}))}]}}),e.id=0,b.aug(e.prototype,c.Emitter,{send:function(a,b,c){return a.send(JSON.stringify({id:this.id,method:b,params:c})),this},success:function(a){return this.bind("success",a),this},error:function(a){return this.bind("error",a),this}}),typeof JSON=="undefined"?using("$xd/json2.js",function(){f()}):f()})});provide("xd/flash",function(a){function b(a,b){var c=b||Math.floor(Math.random()*100),d=['<object id="xdflashshim'+c+'" name="xdflashshim'+c+'"','type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"','width="1" height="1" style="position:absolute;left:-9999px;top:-9999px;">','<param name="movie" value="'+a+"&debug="+window.__XDDEBUG__+'"/>','<param name="wmode" value="window"/>','<param name="allowscriptaccess" value="always"/>',"</object>"].join(" ");return d};a({object:b})});provide("xd/detection",function(a){function b(){try{return!!navigator.plugins["Shockwave Flash"]||!!(new ActiveXObject("ShockwaveFlash.ShockwaveFlash"))}catch(a){return!1}};a({getFlashEnabled:b,hasPostMessage:!!window.postMessage,isIE:!!navigator.userAgent.match("MSIE")})});provide("xd/base",function(a){using("util/util","util/events",function(b,c){function d(){};b.aug(d.prototype,c.Emitter,{transportMethod:"",init:function(){},send:function(a){var b;this._ready?this._performSend(a):b=this.bind("ready",function(){this.unbind("ready",b),this._performSend(a)})},ready:function(){this.trigger("ready",this),this._ready=!0},isReady:function(){return!!this._ready},receive:function(a){this.trigger("message",a)}}),a({Connection:d})})});provide("xd/parent",function(a){using("xd/base","util/util","xd/detection",function(b,c,d){function h(a){var b=[];for(var c in a)b.push(c+"="+a[c]);return b.join(",")}
function i(){};var e="__ready__",f=0,g;i.prototype=new b.Connection(),c.aug(i.prototype,{_createChild:function(){this.options.window?this._createWindow():this._createIframe()},_createIframe:function(){var a={allowTransparency:!0,frameBorder:"0",scrolling:"no",tabIndex:"0",name:this._name()},b,e,f,h=c.aug(c.aug({},a),this.options.iframe);window.postMessage?(g||(g=document.createElement("iframe")),b=g.cloneNode(!1)):b=document.createElement('<iframe name="'+h.name+'">'),b.id=h.name;for(var i in h)i!="style"&&b.setAttribute(i,h[i]);var j=b.getAttribute("style");j&&typeof j.cssText!="undefined"?j.cssText=h.style:b.style.cssText=h.style;var k=this,l=function(){k.child=b.contentWindow,k._ready||k.init()};if(!b.addEventListener){var m=!1;b.attachEvent("onload",function(){if(m)return;m=!0,l()})}else b.addEventListener("load",l,!1);b.src=this._source(),(e=this.options.appendTo)?e.appendChild(b):(f=this.options.replace)?(e=f.parentNode,e&&e.replaceChild(b,f)):document.body.insertBefore(b,document.body.firstChild),d.isIE&&this.transportMethod&&this.transportMethod==="Flash"&&(b.src=b.src)},_createWindow:function(){var a={width:550,height:450,personalbar:"0",toolbar:"0",scrollbars:"1",resizable:"1"},b,d,e,f=c.aug(c.aug({},a),this.options.window),g=screen.width,i=screen.height;f.left=f.left||Math.round(g/2-f.width/2),f.top=f.top||Math.round(i/2-f.height/2),i<f.height&&(f.top=0,f.height=i);var j=this._name();b=window.open(this._source(),j,h(f)),b&&b.focus(),this.child=b,this.init()},_source:function(){return this.options.src},_name:function(){var a="_xd_"+ f++;return window.parent&&window.parent!=window&&window.name&&(a=window.name+a),a}});var j=function(a){this.transportMethod="PostMessage",this.options=a,this._createChild()};j.prototype=new i(),c.aug(j.prototype,{init:function(){function b(b){b.source===a.child&&(!a._ready&&b.data===e?a.ready():a.receive(b.data))};var a=this;window.addEventListener?window.addEventListener("message",b,!1):window.attachEvent("onmessage",b)},_performSend:function(a){this.child.postMessage(a,this.options.src)}});var k=function(a){this.transportMethod="Flash",this.options=a,this.token=Math.random().toString(16).substring(2),this._setup()};k.prototype=new i(),c.aug(k.prototype,{_setup:function(){var a=this;using("xd/flash",function(b){window["__xdcb"+a.token]={receive:function(b){!a._ready&&b===e?a.ready():a.receive(b)},loaded:function(){}};var c=document.createElement("div");c.innerHTML=b.object("https://tfw-current.s3.amazonaws.com/xd/ft.swf?&token="+a.token+"&parent=true&callback=__xdcb"+a.token+"&xdomain="+a._host(),a.token),document.body.insertBefore(c,document.body.firstChild),a.proxy=c.firstChild,a._createChild()})},init:function(){},_performSend:function(a){this.proxy.send(a)},_host:function(){return this.options.src.replace(/https?:\/\//,"").split(/(:|\/)/)[0]},_source:function(){return this.options.src+(this.options.src.match(/\?/)?"&":"?")+"xd_token="+escape(this.token)}});var l=function(a){this.transportMethod="Fallback",this.options=a,this._createChild()};l.prototype=new i(),c.aug(l.prototype,{init:function(){},_performSend:function(a){}}),a({connect:function(a){var b;return d.hasPostMessage?d.isIE&&a.window?d.getFlashEnabled()&&(b=new k(a)):b=new j(a):d.isIE&&d.getFlashEnabled()&&(b=new k(a)),b||(b=new l(a)),b}})})});provide("i18n/languages",function(a){a(["it","no","de","ja","fr","zh-cn","hi","ru","es","sv","fi","pt","ko","zh-tw","id","msa","pl","da","nl","tr","fil"])});provide("util/iframe",function(a){a(function(a){var b=document.createElement("div"),c;b.innerHTML="<iframe allowtransparency='true' frameborder='0' scrolling='no'></iframe>",c=b.firstChild,c.src=a.url,c.className=a.className||"";if(a.css)for(var d in a.css)c.style[d]=a.css[d];if(a.attributes)for(var e in a.attributes)c.setAttribute(e,a.attributes[e]);return a.replace?a.replace.parentNode.replaceChild(c,a.replace):document.body.insertBefore(c,document.body.firstChild),c})});provide("util/querystring",function(a){function b(a){return encodeURIComponent(a).replace(/\+/g,"%2B")}
function c(a){return decodeURIComponent(a)}
function d(a){var c=[];for(var d in a)a[d]!==null&&typeof a[d]!="undefined"&&c.push(b(d)+"="+b(a[d]));return c.sort().join("&")}
function e(a){var b={},d,e,f,g;if(a){d=a.split("&");for(g=0;f=d[g];g++)e=f.split("="),e.length==2&&(b[c(e[0])]=c(e[1]))};return b}
function f(a,b){var c=d(b);return c.length>0?a.indexOf("?")>=0?a+"&"+d(b):a+"?"+d(b):a};a({url:f,decode:e,encode:d,encodePart:b,decodePart:c})});provide("util/nodeselect",function(a){var b=document,c="querySelectorAll"in b?function(a,c){return b.querySelectorAll(a+"."+c)}:"getElementsByClassName"in b?function(a,c){var d=b.getElementsByClassName(c),e,f=[];for(i=0;e=d[i];i++)e.tagName.toLowerCase()==a&&f.push(e);return f}:function(a,c){var d=b.getElementsByTagName(a),e,f=new RegExp("(?:^|\\s+)"+c+"(?:\\s+|$)"),g=[];for(i=0;e=d[i];i++)f.test(e.className)&&g.push(e);return g};a(c)});provide("$vendor/domready/ready.js",function(exports){!function(a){function k(){b=1;for(var a=0,d=c.length;a<d;a++)c[a]()};var b=0,c=[],d,e,f=!1,g=a.createElement("a"),h="DOMContentLoaded",i="addEventListener",j="onreadystatechange";/^loade|c/.test(a.readyState)&&(b=1),a[i]&&a[i](h,e=function(){a.removeEventListener(h,e,f),k()},f),g.doScroll&&a.attachEvent(j,d=function(){/^c/.test(a.readyState)&&(a.detachEvent(j,d),k())});var l=g.doScroll?function(a){self!=top?b?a():c.push(a):!function(){try{g.doScroll("left")}catch(b){return setTimeout(function(){l(a)},50)};a()}()}:function(a){b?a():c.push(a)};typeof module!="undefined"&&module.exports?module.exports={domReady:l}:window.domReady=l}(document);exports();loadrunner.Script.loaded.push("$vendor/domready/ready.js")});provide("util/domready",function(a){using("$vendor/domready/ready.js",function(){a(domReady)})});provide("tfw/widget/base",function(a){using("util/util","util/domready","util/nodeselect","util/querystring","util/iframe","i18n/languages",function(b,c,d,e,f,g){function n(){return window.location.href&&!!window.location.href.match("twitter-test-autosize")}
function o(a){var b;if(!a)return;return(b=a.lang)?b:o(a.parentNode)}
function p(){var a=j.widgets,b,c;for(var e in a){e.match(/\./)?b=d.apply(this,e.split(".")):b=document.getElementsByTagName(e);for(var f=0,g;g=b[f];f++){if(g.getAttribute("data-rendering"))continue;g.setAttribute("data-rendering","true"),c=new a[e](g),k.list.push(c),k.byId[c.id]=c,c.render(j)}}}
function q(a){j=a}
function r(){p()}
function s(a){return a&&k.byId[a]?k.byId[a].element:null};var h=0,i,j,k={list:[],byId:{}},l=2,m=function(){};b.aug(m.prototype,{setLanguage:function(a){var c;a||(a=this.params().lang||this.originElement.getAttribute("data-lang")||o(this.originElement)),a=a&&a.toLowerCase();if(!a)return this.lang="en";if(~b.indexOf(g,a))return this.lang=a;c=a.replace(/[-_].*/,"");if(~b.indexOf(g,c))return this.lang=c;this.lang="en"},_:function(a,b){var c=this.lang;b=b||{};if(this.langs){if(!c||!this.langs.hasOwnProperty(c))c="en";a=this.langs[c][a]||a};return this.ringo(a,b)},ringo:function(a,b){return a.replace(/\{\{([\w_]+)\}\}/g,function(a,c){return b[c]!==undefined?b[c]:a})},add:function(a){k.list.push(this),k.byId[this.id]=a},create:function(a,b,c,d){return this.id=this.generateId(),f({url:a,css:{width:c[0]+(typeof c[0]!="string"?"px":""),height:c[1]+(typeof c[1]!="string"?"px":"")},className:b,id:this.id,attributes:d,replace:this.originElement})},params:function(){var a=this.originElement.href&&this.originElement.href.split("?")[1],b=a?e.decode(a):{};return b.enableNewSizing=n(),(this.params=function(){return b})()},generateId:function(){return this.originElement.id||"twitter-widget-"+ h++},wjsVersion:function(){return l}}),a({Base:m,init:q,embed:r,find:s,TWITTER_PROFILE_URL:/^https?\:\/\/(?:www\.)?twitter\.com\/(?:#!?\/)?([\w_]{1,20})\/?$/})})});provide("util/uri",function(a){using("util/querystring","util/util",function(b,c){function d(a){var b;return a.match(/^https?:\/\//)?a:(b=location.host,location.port.length>0&&(b+=":"+location.port),[location.protocol,"//",b,a].join(""))}
function e(){var a=document.getElementsByTagName("link");for(var b=0,c;c=a[b];b++)if(c.getAttribute("rel")=="canonical")return d(c.getAttribute("href"));return null}
function f(){var a=document.getElementsByTagName("a"),b=document.getElementsByTagName("link"),d=/\bme\b/,e=/^https?\:\/\/(www\.)?twitter.com\/([a-zA-Z0-9_]+)$/,f=c.array(a).concat(c.array(b)),g,h,i;for(var j=0,k;k=f[j];j++){h=k.getAttribute("rel"),i=k.getAttribute("href");if(h&&i&&h.match(d)&&(g=i.match(e)))return g[2]}};a({absolutize:d,getCanonicalURL:e,getScreenNameFromPage:f})})});provide("tfw/widget/intent",function(a){using("util/util","tfw/widget/base","util/querystring","util/uri",function(b,c,d,e){function m(a){var b=Math.round(k/2-h/2),c=0;j>i&&(c=Math.round(j/2-i/2)),window.open(a,"intent",g+",width="+h+",height="+i+",left="+b+",top="+c)}
function n(a,b){using("xd/parent","xd/jsonrpc",function(c,d){var e=c.connect({window:{width:550,height:450},src:a});d(e).expose({trigger:function(a,c){twttr.events.trigger(a,{target:b,region:"intent",type:a,data:c})}})})}
function o(a){var b="original_referer="+location.href;return[a,b].join(a.indexOf("?")==-1?"?":"&")}
function q(a){a=a||window.event;var b=a.target||a.srcElement,c,d;while(b&&b.nodeName.toLowerCase()!=="a")b=b.parentNode;if(b&&b.nodeName.toLowerCase()==="a"&&b.href){c=b.href.match(f);if(c){var e=o(b.href);e=e.replace(/^http[:]/,"https:"),e=e.replace(/^\/\//,"https://"),twttr.events.hub?(d=new p(l.generateId(),b),l.add(d),n(e,b),twttr.events.trigger("click",{target:b,region:"intent",type:"click",data:{}})):m(e),a.returnValue=!1,a.preventDefault&&a.preventDefault()}}};var f=/twitter\.com(\:\d{2,4})?\/intent\/(\w+)/,g="scrollbars=yes,resizable=yes,toolbar=no,location=yes",h=550,i=520,j=screen.height,k=screen.width,l,p=function(a,b){this.id=a,this.element=this.originElement=b},r=function(a){this.originElement=[],this.element=a};r.prototype=new c.Base(),b.aug(r.prototype,{render:function(a){l=this,window.__twitterIntentHandler||(document.addEventListener?document.addEventListener("click",q,!1):document.attachEvent&&document.attachEvent("onclick",q),window.__twitterIntentHandler=!0)}}),a({Listener:r})})});provide("lib/twt",function(a){a(function(a,b){var c=a!="en"?a+".":"";using("$vendor/twt/dist/twt."+c+"min.js",function(){twt.settings.lang=a,b(twt)})})});provide("util/params",function(a){using("util/querystring",function(b){var c=function(a){var c=a.search.substr(1);return b.decode(c)},d=function(a){var c=a.href,d=c.indexOf("#"),e=d<0?"":c.substring(d+1);return b.decode(e)},e=function(a){var b={},e=c(a),f=d(a);for(var g in e)e.hasOwnProperty(g)&&(b[g]=e[g]);for(var g in f)f.hasOwnProperty(g)&&(b[g]=f[g]);return b};a({combined:e,fromQuery:c,fromFragment:d})})});provide("util/widgetrpc",function(a){using("util/params",function(b){function i(){if(!j())return;var a=0,b=parent.frames.length,e;if(d)return d;try{d=parent.frames[c];if(d)return d}catch(f){};for(;a<b;a++)try{e=parent.frames[a];if(e&&typeof e.openIntent=="function")return d=e}catch(f){}}
function j(){var a=36e5;if(f!==undefined)return f;f=!1;var c=b.combined(document.location)._;return c?/^\d+$/.test(c)&&(f=+(new Date())-parseInt(c)<a):f=!1,f}
function k(a,b,c){l(function(d){d.trigger("_resize",{width:b,height:c},a)})}
function l(){var a={};(typeof arguments[0]).toLowerCase()==="function"?a.success=arguments[0]:a=arguments[0];var b=a.success||function(){},c=a.timeout||function(){},d=a.nohub||function(){},f=a.attempt!==undefined?a.attempt:h;if(!j()||e)return d(),!1;var k=i();f--;try{if(k&&k.trigger){b(k);return}}catch(m){};if(f<=0){e=!0,c();return};window.setTimeout(function(){l({success:b,timeout:c,nohub:d,attempt:f})},g)};var c="twttrHubFrame",d,e,f,g=100,h=20;a({resize:k,withHub:l,isDynamicWidget:j})})});provide("dom/cookie",function(a){using("util/util",function(b){a(function(a,c,d){var e=b.aug({},d);if(arguments.length>1&&String(c)!=="[object Object]"){if(c===null||c===undefined)e.expires=-1;if(typeof e.expires=="number"){var f=e.expires,g=new Date((new Date()).getTime()+f*60*1e3);e.expires=g};return c=String(c),document.cookie=[encodeURIComponent(a),"=",e.raw?c:encodeURIComponent(c),e.expires?"; expires="+e.expires.toUTCString():"",e.path?"; path="+e.path:"",e.domain?"; domain="+e.domain:"",e.secure?"; secure":""].join("")};e=c||{};var h,i=e.raw?function(a){return a}:decodeURIComponent;return(h=(new RegExp("(?:^|; )"+encodeURIComponent(a)+"=([^;]*)")).exec(document.cookie))?i(h[1]):null})})});provide("util/donottrack",function(a){using("dom/cookie",function(b){a(function(){return b("dnt")?!0:document.navigator?document.navigator["doNotTrack"]==1:navigator?navigator.doNotTrack==1||navigator.msDoNotTrack==1:!1})})});provide("tfw/widget/guest_cookie",function(a){using("dom/cookie","util/donottrack",function(b,c){function f(){if(c()){b(d)&&b(d,null,{domain:".twitter.com",path:"/"})}else if(!b(d)){var a="v1:",f=(+(new Date())).toString()+Math.round(Math.random()*999999999);b(d,a+f,{domain:".twitter.com",path:"/",expires:e})}};var d="pid",e=1051897;a({set:f,guest_id_cookie:d,default_expire:e})})});provide("tfw/widget/tracking",function(a){using("dom/cookie","util/donottrack","tfw/widget/guest_cookie","util/widgetrpc",function(b,c,d,e){function i(a,b,c){var d=f+b;if(!a)return;return a[d]=c,a}
function j(a,f,j,k,l){k||(k=!1),l||(l=!1),j=j||"tweetbutton",j=h[j]||h.tweetbutton;var m=a.ownerDocument.createElement("img"),n=[];k||(i(f,"referrer",document.referrer.toString()),i(f,"widget",+e.isDynamicWidget()),!l&&!c()?(i(f,"li",+!!b("twid")),i(f,d.guest_id_cookie,b(d.guest_id_cookie)||"")):i(f,"dnt","1"));for(var o in f)if(f.hasOwnProperty(o)){var p=encodeURIComponent(o),q=encodeURIComponent(f[o]);q=q.replace(/'/g,"%27"),n.push(p+"="+q)};m.src=g+j+"?"+n.join("&"),m.alt="",m.style.position="absolute",m.style.height="1px",m.style.width="1px",m.style.top="-9999px",m.style.left="-9999px",a.appendChild(m)};var f="twttr_",g="//platform.twitter.com/widgets/images/",h={tweetbutton:"t.gif",followbutton:"f.gif",tweetembed:"e.gif"};a({addPixel:j,addVar:i})})});provide("$vendor/qwery/qwery.js",function(exports){!function(a,b){function G(a){k=[];for(d=0,o=a.length;d<o;d++)k[d]=a[d];return k}
function M(a){return a.match(F)}
function N(a,b,c,e,f,g,h){var j,k,l;if(b&&this.tagName.toLowerCase()!==b)return!1;if(c&&(j=c.match(v))&&j[1]!==this.id)return!1;if(c&&(q=c.match(w)))for(d=q.length;d--;){k=q[d].slice(1);if(!(I.g(k)||I.s(k,new RegExp("(^|\\s+)"+k+"(\\s+|$)"))).test(this.className))return!1};if(e&&!h){i=this.attributes;for(l in i)if(Object.prototype.hasOwnProperty.call(i,l)&&(i[l].name||l)==f)return this};return e&&!Q(g,this.getAttribute(f)||"",h)?!1:this}
function O(a){var c=[],d=a.pop(),e=M(d),f=e[1]||"*",g,i,j,k=a.length&&(h=a[0].match(x))?b.getElementById(h[1]):b;if(!k)return c;j=k.getElementsByTagName(f);for(g=0,i=j.length;g<i;g++)m=j[g],(r=N.apply(m,e))&&c.push(r);return c}
function P(a){return J.g(a)||J.s(a,a.replace(/([.*+?\^=!:${}()|\[\]\/\\])/g,"\\$1"))}
function Q(a,b,c){switch(a){case"=":return b==c;case"^=":return b.match(K.g("^="+c)||K.s("^="+c,new RegExp("^"+P(c))));case"$=":return b.match(K.g("$="+c)||K.s("$="+c,new RegExp(P(c)+"$")));case"*=":return b.match(K.g(c)||K.s(c,new RegExp(P(c))));case"~=":return b.match(K.g("~="+c)||K.s("~="+c,new RegExp("(?:^|\\s+)"+P(c)+"(?:\\s+|$)")));case"|=":return b.match(K.g("|="+c)||K.s("|="+c,new RegExp("^"+P(c)+"(-|$)")))};return!1}
function R(a){var b=[],c=[],d,g,h=L.g(a)||L.s(a,a.split(C));h=h.slice(0);if(!h.length)return b;b=O(h);if(!h.length)return b;for(e=0,g=b.length,f=0;e<g;e++){n=b[e],j=n;for(d=h.length;d--;)i:while(j!==B&&(j=j.parentNode))if(p=N.apply(j,M(h[d])))break i;p&&(c[f++]=n)};return c}
function T(a,c,d){var e=typeof c=="string"?d(c)[0]:c||b;return U(a)?!c||U(e)&&S(a,e)?[a]:[]:a&&typeof a=="object"&&a.length&&isFinite(a.length)?G(a):(h=a.match(x))?(m=b.getElementById(h[1]))?[m]:[]:(h=a.match(z))?G(e.getElementsByTagName(h[1])):!1}
function U(a){return a===window||a&&a.nodeType&&a.nodeType.toString().match(/[19]/)}
function V(a,c){var d=typeof c=="string"?V(c)[0]:c||b;return d?(h=T(a,c,V))?h:b.getElementsByClassName&&(h=a.match(y))?G(d.getElementsByClassName(h[1])):G(d.querySelectorAll(a)):[]}
function W(a){var b=[],c,d;e:for(c=0;c<a.length;c++){for(d=0;d<b.length;d++)if(b[d]==a[c])continue e;b[b.length]=a[c]};return b};var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v=/#([\w\-]+)/,w=/\.[\w\-]+/g,x=/^#([\w\-]+$)/,y=/^\.([\w\-]+)$/,z=/^([\w\-]+)$/,A=/^([\w]+)?\.([\w\-]+)$/,B=b.documentElement,C=/\s(?![\s\w\-\/\?\&\=\:\.\(\)\!,@#%<>\{\}\$\*\^'"]*\])/,D=/^([a-z0-9]+)?(?:([\.\#]+[\w\-\.#]+)?)/,E=/\[([\w\-]+)(?:([\|\^\$\*\~]?\=)['"]?([ \w\-\/\?\&\=\:\.\(\)\!,@#%<>\{\}\$\*\^]+)["']?)?\]/,F=new RegExp(D.source+"("+E.source+")?"),H=function(){this.c={}};H.prototype={g:function(a){return this.c[a]||undefined},s:function(a,b){return this.c[a]=b,b}};var I=new H(),J=new H(),K=new H(),L=new H(),S="compareDocumentPosition"in B?function(a,b){return(b.compareDocumentPosition(a)&16)==16}:"contains"in B?function(a,b){return b!==a&&b.contains(a)}:function(a,b){while(a=a.parentNode)if(a===b)return 1;return 0},X=function(){return b.querySelector&&b.querySelectorAll?V:function(a,c){var d=typeof c=="string"?X(c)[0]:c||b;if(!d)return[];var f,g,i=[],j=[],l;if(h=T(a,c,X))return h;if(h=a.match(A)){s=d.getElementsByTagName(h[1]||"*"),k=I.g(h[2])||I.s(h[2],new RegExp("(^|\\s+)"+h[2]+"(\\s+|$)"));for(f=0,g=s.length,e=0;f<g;f++)k.test(s[f].className)&&(i[e++]=s[f]);return i};for(f=0,s=a.split(","),g=s.length;f<g;f++)j[f]=R(s[f]);for(f=0,g=j.length;f<g&&(u=j[f]);f++){var m=u;if(d!==b){m=[];for(e=0,h=u.length;e<h&&(l=u[e]);e++)S(l,d)&&m.push(l)};i=i.concat(m)};return W(i)}}(),Y=a.qwery;X.noConflict=function(){return a.qwery=Y,this},a.qwery=X}(this,document);exports();loadrunner.Script.loaded.push("$vendor/qwery/qwery.js")});provide("lib/qwery",function(a){using("$vendor/qwery/qwery.js",function(){a(qwery)})});provide("util/qweryutil",function(a){using("lib/qwery",function(b){function c(a,c,d,e){var f=b(a,c);if(f.length){f=f[0];if(d)switch(d){case"textContent":return f.textContent||f.innerText||e||!1;case"innerHTML":return f.innerHTML;default:return f.getAttribute(d)};return f};return e||!1};a({qwery:b,qwprop:c})})});provide("util/tweetparser",function(a){using("util/qweryutil",function(b){function g(a){return a&&c.test(a)&&RegExp.$1}
function h(a){if(!a||!a.nodeName||!/blockquote/i.test(a.nodeName))return;var c={},d=b.qwery("p",a).shift(),e=b.qwery("a",a).pop();return d&&(c.text=d.textContent||d.innerText||"",c.rendered_text=d.innerHTML||""),e&&(e.getAttribute("data-datetime")?c.created_at=e.getAttribute("data-datetime"):c.time=e.textContent||e.innerText),c.user=i(a),c.id=c.id_str=g(e.href),c.id_str&&c.text&&c.user&&c}
function i(a){var c={},d=0,g=a.childNodes.length,h,i;for(;d<g;d++){h=a.childNodes[d];if(h.nodeType===3&&e.test(h.nodeValue)||h.nodeType===1&&/^[p]$/i.test(h.nodeName)&&e.test(h.innerText)){c.name=RegExp.$1.split(" ").slice(1).join(" "),c.screen_name=RegExp.$2;break}};if(c.screen_name)return c;i=b.qwery("a",a).pop();if(f.test(i.href))return c.name="",c.screen_name=RegExp.$2,c};var c=/\/(\d+)\/?$/,d=/^https?:\/\/(?:www\.)?twitter\.com\/(?:#!\/)?[\w_]+\/status(?:es)?\/(\d+)\/?/,e=/^\s*(.+)\s+\(@([\w_]{1,20})\)\s*$/,f=/^https?:\/\/(?:www\.)?twitter\.com\/(#!\/)?([\w_]{1,20})/;a({parseTweet:h,parseId:g,parseAuthor:i})})});provide("i18n/i18n",function(a){function b(){twttr.i18n_missing_interval||(twttr.i18n_missing_interval=window.setInterval(function(){twttr.i18n_missing&&twttr.i18n_missing.length>0&&($.ajax({type:"POST",data:$.param({authenticity_token:twttr.form_authenticity_token,location:window.location.href,"strings[]":twttr.i18n_missing}),url:"/translate/untranslated_javascript"}),twttr.i18n_missing=new Array())},1e4))}
function c(a){twttr.i18n_missing||(twttr.i18n_missing=new Array()),twttr.i18n_missing_reported||(twttr.i18n_missing_reported={}),twttr.i18n_missing_reported[a]||(twttr.i18n_missing.push(encodeURIComponent(a)),twttr.i18n_missing_reported[a]=!0)}
function d(a,b){if(b)for(var c in b)a=a.replace(new RegExp("\\%\\{"+c+"\\}","gi"),b[c]);return a};window.setupTranslationCallback=b,a({_:function(a,b){if(twttr.i18n){var e=twttr.i18n[a];e?a=e:c(a)};return d(a,b)},setupTranslationCallback:b})});provide("tfw/data",function(a){using("util/querystring",function(b){window.twttr=window.twttr||{},window.twttr.tfw=window.twttr.tfw||{},window.twttr.tfw.callbacks=window.twttr.tfw.callbacks||{};var c="twttr.tfw.callbacks",d=twttr.tfw.callbacks,e="cb",f=0,g=!1,h=function(a,b){return a=={}.toString.call(b).match(/\s([a-zA-Z]+)/)[1].toLowerCase()},i=function(a){return function(b){b.error?a.error&&a.error(b):a.success&&a.success(b),a.complete&&a.complete(b),j(a)}},j=function(a){var b=a.script;b&&(b.onload=b.onreadystatechange=null,b.parentNode&&b.parentNode.removeChild(b),a.script=undefined,b=undefined),a.callbackName&&twttr.tfw.callbacks[a.callbackName]&&delete twttr.tfw.callbacks[a.callbackName]},k=function(a){var b={};return a.success&&h("function",a.success)&&(b.success=a.success),a.error&&h("function",a.error)&&(b.error=a.error),a.complete&&h("function",a.complete)&&(b.complete=a.complete),b},l=function(a,h){g&&(a=a.replace(/^\/\//,"https://"));var j=e+f,k=c+"."+j;d[j]=i(h);var l=document.createElement("script"),m={callback:k,suppress_response_codes:!0};l.src=b.url(a,m),l.async="async";var n=document.head||document.getElementsByTagName("head")[0]||document.documentElement;n.appendChild(l),h.script=l,h.callbackName=j,f++},m=function(a,b,c){var d=a.length,e=[],f={},g=0;return function(e){var h;h=c(e),f[h]=e;if(++g===d){var i=[],j=[],k=[];for(var l=0;l<d;l++){var e=f[a[l]];i.push(e),e.error?k.push(e):j.push(e)};b.error&&k.length>0&&b.error(k),b.success&&j.length>0&&b.success(j),b.complete&&b.complete(i)}}},n={};n.config=function(a){if(a.forceSSL===!0||a.forceSSL===!1)g=a.forceSSL},n.user=function(){var a="//api.twitter.com/1/users/lookup.json",c="//cdn.api.twitter.com/1/users/show.json";return function(){var d,e={};arguments.length===1?(d=arguments[0].screenName,e=k(arguments[0])):(d=arguments[0],e.success=arguments[1]);var f=h("array",d)?a:c;d=h("array",d)?d.join(","):d;var g={screen_name:d},i=b.url(f,g);l(i,e)}}(),n.status=function(){var a="//cdn.api.twitter.com/1/statuses/show.json";return function(){var c,d={};arguments.length===1?(c=arguments[0].id,d=k(arguments[0])):(c=arguments[0],d.success=arguments[1]);if(!h("array",c)){var e={id:c,include_entities:!0},f=b.url(a,e);l(f,d)}else{var g=m(c,d,function(a){var b;return a.error?b=a.request.split("id=")[1].split("&")[0]:b=a.id_str,b});for(var i=0;i<c.length;i++){var e={id:c[i],include_entities:!0},f=b.url(a,e);l(f,{success:g,error:g})}}}}(),n.tweet=n.status,n.count=function(){var a="//cdn.api.twitter.com/1/urls/count.json";return function(){var c="",d={};arguments.length===1?(c=arguments[0].url,d=k(arguments[0])):arguments.length===2&&(c=arguments[0],d.success=arguments[1]);var e={url:c},f=b.url(a,e);l(f,d)}}(),n.friendshipExists=function(){var a="//cdn.api.twitter.com/1/friendships/exists.json";return function(c){var d=arguments[0],e=k(arguments[0]),f={screen_name_a:c.screenNameA,screen_name_b:c.screenNameB},g=b.url(a,f);l(g,e)}}(),a(n)})});provide("util/insert",function(a){a(function(a,b){if(b){if(!b.parentNode)return b;b.parentNode.replaceChild(a,b),delete b}else document.body.insertBefore(a,document.body.firstChild);return a})});provide("tfw/widget/tweet",function(a){using("util/util","tfw/widget/base","util/querystring","util/uri",function(b,c,d,e){var f=document.title,g=encodeURI(location.href),h=function(a){this.originElement=a,this.id=this.generateId(),this.version=this.wjsVersion();var b=this.params(),c=b.count||a.getAttribute("data-count"),d=b.size||a.getAttribute("data-size"),h=e.getScreenNameFromPage();this.setLanguage(),~a.className.indexOf("twitter-hashtag-button")?this.type="hashtag":~a.className.indexOf("twitter-mention-button")&&(this.type="mention"),this.text=b.text||a.getAttribute("data-text"),this.align=b.align||a.getAttribute("data-align")||"",this.via=b.via||a.getAttribute("data-via"),this.related=b.related||a.getAttribute("data-related"),this.counturl=b.counturl||a.getAttribute("data-counturl"),this.searchlink=b.searchlink||a.getAttribute("data-searchlink"),this.placeid=b.placeid||a.getAttribute("data-placeid"),this.hashtags=b.hashtags||a.getAttribute("data-hashtags"),this.screen_name=b.screen_name||a.getAttribute("data-button-screen-name"),this.button_hashtag=b.button_hashtag||a.getAttribute("data-button-hashtag"),this.url=b.url||a.getAttribute("data-url"),this.size=d=="large"?"l":"m",this.dnt=b.dnt||a.getAttribute("data-dnt")||"",this.enableNewSizing=b.enableNewSizing||a.getAttribute("data-enable-new-sizing"),this.enableNewSizing=this.enableNewSizing||!this.langDimensions[this.lang]||this.size!="m"||!!this.type,this.type?(this.count="none",h&&(this.related=this.related?h+","+this.related:h)):(this.text=this.text||f,this.url=this.url||e.getCanonicalURL()||g,this.count=this.supportCount[c]?c:"horizontal",this.count=this.count=="vertical"&&this.size=="l"?"none":this.count,this.via=this.via||h)};h.prototype=new c.Base(),b.aug(h.prototype,{supportCount:{vertical:1,horizontal:1,none:1},titles:{en:"Twitter Tweet Button"},langDimensions:{en:{vertical:55,horizontal:110,none:55},de:{vertical:67,horizontal:122,none:67},es:{vertical:64,horizontal:118,none:64},fr:{vertical:65,horizontal:118,none:65},id:{vertical:55,horizontal:110,none:55},it:{vertical:55,horizontal:110,none:55},ko:{vertical:55,horizontal:110,none:55},ja:{vertical:80,horizontal:130,none:80},nl:{vertical:55,horizontal:110,none:55},pt:{vertical:66,horizontal:120,none:66},ru:{vertical:68,horizontal:120,none:68},tr:{vertical:66,horizontal:120,none:66}},dimensions:{x:{m:{normal:85,horizontal:130},l:{normal:104,horizontal:162}},y:{m:{normal:20,vertical:62},l:{normal:28,vertical:28}}},parameters:function(){var a={text:this.text,url:this.url,via:this.via,related:this.related,count:this.count,lang:this.lang,counturl:this.counturl,searchlink:this.searchlink,placeid:this.placeid,original_referer:location.href,id:this.id,size:this.size,type:this.type,screen_name:this.screen_name,button_hashtag:this.button_hashtag,hashtags:this.hashtags,align:this.align,dnt:this.dnt,enableNewSizing:!!this.enableNewSizing,_:+(new Date()),_version:this.version};return b.compact(a),d.encode(a)},render:function(a){var b=a.assetUrl()+"/widgets/tweet_button.1326407570.html#"+this.parameters(),c=this.enableNewSizing?this.dimensions.x[this.size]["horizontal"==this.count?"horizontal":"normal"]:this.langDimensions[this.lang][this.count],d=this.dimensions.y[this.size]["vertical"==this.count?"vertical":"normal"],e=this.titles.en,f=this;this.originElement.className+=this.count?" twitter-count-"+this.count:"",this.element=this.create(b,this.originElement.className,[this.enableNewSizing?1:c,d],{title:e}),window.setTimeout(function(){f.element.getAttribute("data-resized")||(f.element.style.width=c+(typeof c!="string"?"px":""))},15e3)}}),a({Embeddable:h})})});provide("tfw/widget/tweetembed",function(a){using("util/util","tfw/widget/base","tfw/widget/tweet","util/uri","util/insert","tfw/data","i18n/i18n","util/params","util/qweryutil","util/tweetparser","tfw/widget/tracking",function(b,c,d,e,f,g,h,i,j,k,l){function s(a){var b=document.createElement("link");b.rel="stylesheet",b.type="text/css",b.href=twttr.widgets.config.assetUrl()+"/"+a,document.getElementsByTagName("head")[0].appendChild(b)}
function t(){if(o)return;s("embed/embed.css"),o=!0}
function u(a,b){var c={};c.status_id=a.id_str,c.context=q,l.addVar(c,"variant",m),l.addVar(c,"referrer",document.location.href),l.addPixel(document.body,c,"tweetembed",!0),b&&a._wjs_reply&&(c.status_id=a._wjs_reply.id_str,c.context=r,l.addPixel(document.body,c,"tweetembed",!0))};var m="1.0",n=i.fromQuery(document.location),o,p=/^([0-9]+)( ?px)?$/,q="subject",r="thread",v=function(a){var c,d,e=a.getAttribute("width")||"";this.originElement=a,this.id=this.generateId(),c=this.params(),this.setLanguage(),this.related=c.related||a.getAttribute("data-related"),this.partner=c.partner||a.getAttribute("data-partner"),this.classNames=b.filter(a.className.split(" "),function(a){return a!="twitter-tweet"}),this.classNames.push(["twitter-tweet-rendered"]),this.styleAttr=[],this.styleAttr.push(a.getAttribute("style")||""),p.test(e)?this.width=RegExp.$1:a.className.match(/(?:\b|^)tw-align-[lr]/i)&&(this.width="350"),this.width&&this.styleAttr.push("width:"+this.width+"px!important"),this.showThread=!~b.indexOf(this.classNames,"tw-hide-thread"),this.showMedia=!~b.indexOf(this.classNames,"tw-hide-media"),this.data=k.parseTweet(this.originElement),this.inReplyTo=a.getAttribute("data-in-reply-to")||""};v.prototype=new c.Base(),b.aug(v.prototype,{create:function(a,b){var c=this,d,e=!!a._wjs_stub_data;return!e&&u(a,c.showThread),using("lib/twt",function(g){g(c.lang,function(g){var h=document.createElement("div"),i=g.autoFormat(c.width||c.element),j=g(a,{format:i,popupWebIntents:!1,tweetElement:"blockquote",showMedia:c.showMedia,showErrors:!1,showFollowButton:!e,renderActions:!e,product:"tweetembed",partner:c.partner,related:c.related}),k='<div id="{{id}}" class="{{classNames}}" lang="{{lang}}" style="{{style}}">{{twt}}</div>',l={id:c.id,classNames:b||"",style:c.styleAttr.join(";"),lang:c.lang,twt:c.data._wjs_reply?j.inReplyTo(a._wjs_reply).html():j.html()};h.innerHTML=c.ringo(k,l),d=f(h.firstChild,c.element)})}),d},render:function(a){var b=this,c,d;if(!b.data)return;t(),using("lib/twt",function(a){a(b.lang,function(){c=b.classNames.join(" "),b.data._wjs_stub_data=!0,b.element=b.originElement,b.element=b.create(b.data,c),d=[b.data.id_str],b.inReplyTo&&b.showThread&&d.push(b.inReplyTo),g.status({id:d,complete:function(a){var d=a[0],e=a[1];if(d.error)return;b.data=d;if(b.showThread&&d.in_reply_to_status_id_str&&(!e||d.in_reply_to_status_id_str!=e.id_str)){g.status({id:d.in_reply_to_status_id_str,complete:function(a){a&&!a.error&&(b.data._wjs_reply=a),b.element=b.create(b.data,c)}});return};d.in_reply_to_status_id_str&&e&&!e.error&&(b.data._wjs_reply=e),b.element=b.create(b.data,c)}})})})}}),a({Embeddable:v})})});provide("tfw/widget/follow",function(a){using("util/util","tfw/widget/base","util/querystring","util/uri",function(b,c,d,e){var f=function(a){this.originElement=a;var b=this.params(),c=b.size||a.getAttribute("data-size");this.id=this.generateId(),this.version=this.wjsVersion(),this.setLanguage(),this.showScreenName=b.show_screen_name||a.getAttribute("data-show-screen-name")||"",this.showCount=b.show_count||a.getAttribute("data-show-count")||"",this.width=b.width||a.getAttribute("data-width")||"",this.screenName=this.screenNameFromHref(),this.preview=b.preview||a.getAttribute("data-preview")||"",this.align=b.align||a.getAttribute("data-align")||"",this.dnt=b.dnt||a.getAttribute("data-dnt")||"",this.size=c=="large"?"l":"m",this.enableNewSizing=b.enableNewSizing||a.getAttribute("data-enable-new-sizing")};f.prototype=new c.Base(),b.aug(f.prototype,{titles:{en:"Twitter Follow Button"},dimensions:{x:{m:300,l:350},y:{m:20,l:28}},parameters:function(){var a={screen_name:this.screenName,lang:this.lang,show_count:this.showCount,show_screen_name:this.showScreenName,align:this.align,id:this.id,preview:this.preview,size:this.size,dnt:this.dnt,enableNewSizing:!!this.enableNewSizing,_:+(new Date()),_version:this.version};return b.compact(a),d.encode(a)},screenNameFromHref:function(){var a=this.originElement.href,b;if(b=a.match(c.TWITTER_PROFILE_URL))return b[1]},render:function(a){if(!this.screenName)return;var b=a.assetUrl()+"/widgets/follow_button.1326407570.html#"+this.parameters(),c=this.width||this.dimensions.x[this.size],d=this.dimensions.y[this.size],e=this.titles.en,f=this;this.element=this.create(b,"twitter-follow-button",[this.enableNewSizing?1:c,d],{title:e}),window.setTimeout(function(){f.element.getAttribute("data-resized")||(f.element.style.width=c+(typeof c!="string"?"px":""))},15e3)}}),a({Embeddable:f})})});(function(){window.twttr=window.twttr||{};if(twttr.widgets)return twttr.widgets.loaded&&twttr.widgets.load(),!1;if(twttr.init)return!1;twttr.init=!0,function(){twttr._e=twttr._e||[],twttr.ready=twttr.ready||function(a){twttr.widgets&&twttr.widgets.loaded?a(twttr):twttr._e.push(a)}}(),twttr.host=twttr.host||"platform.twitter.com",using.path.length===0&&(using.path="//"+twttr.host+"/js"),typeof twttr.ignoreSSL=="undefined"&&(twttr.ignoreSSL=!1);var a=[];twttr.events={bind:function(b,c){return a.push([b,c])}},using("util/domready",function(b){b(function(){using("util/util","tfw/widget/follow","tfw/widget/tweet","tfw/widget/tweetembed","tfw/widget/intent","util/events","tfw/widget/base",function(b,c,d,e,f,g,h){function j(a){return(window.location.protocol.match(/s\:$/)||a)&&!twttr.ignoreSSL?"https":"http"};var i={};i.widgets={"a.twitter-share-button":d.Embeddable,"a.twitter-mention-button":d.Embeddable,"a.twitter-hashtag-button":d.Embeddable,"a.twitter-follow-button":c.Embeddable,"blockquote.twitter-tweet":e.Embeddable,body:f.Listener},i.assetUrl=function(a){return j(a)+"://"+twttr.host},using("xd/parent","xd/jsonrpc",function(a,b){var c="twttrHubFrame",d=i.assetUrl()+"/widgets/hub.1326407570.html";if(window.location&&window.location.href.match(/LinkedIn\.app/))return!1;if(document.getElementById(c))return;twttr.events.hub=a.connect({src:d,iframe:{name:c,style:"position:absolute;top:-9999em;width:10px;height:10px"}}),b(twttr.events.hub).expose({trigger:function(a,b,c){b=b||{};var d=b.region;delete b.region,twttr.events.trigger(a,{target:h.find(c),data:b,region:d,type:a})}})});var k=twttr.events&&twttr.events.hub?twttr.events:{};twttr.events=b.aug(k,g.Emitter),twttr.events.bind("_resize",function(a){a.target&&a.target.style&&(a.target.style.width=a.data.width+"px",a.target.style.height=a.data.height+"px",a.target.setAttribute("data-resized","true"))}),twttr.widgets={load:function(){h.init(i),h.embed(),twttr.widgets.loaded=!0},config:i};var l,m;for(l=0;m=a[l];l++)twttr.events.bind(m[0],m[1]);for(l=0;m=twttr._e[l];l++)m(twttr);twttr.ready=function(a){a(twttr)},twttr.widgets.load()})})})})()});
(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>-1e4?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);
(function($){var colorbox='colorbox',hover='hover',TRUE=true,FALSE=false,cboxPublic,isIE=!$.support.opacity,isIE6=isIE&&!window.XMLHttpRequest,cbox_open='cbox_open',cbox_load='cbox_load',cbox_complete='cbox_complete',cbox_cleanup='cbox_cleanup',cbox_closed='cbox_closed',cbox_resize='resize.cbox_resize',$overlay,$cbox,$wrap,$content,$topBorder,$leftBorder,$rightBorder,$bottomBorder,$related,$window,$loaded,$loadingBay,$loadingOverlay,$loadingGraphic,$title,$current,$slideshow,$next,$prev,$close,interfaceHeight,interfaceWidth,loadedHeight,loadedWidth,element,bookmark,index,settings,open,active,defaults={transition:"elastic",speed:350,width:FALSE,height:FALSE,innerWidth:FALSE,innerHeight:FALSE,initialWidth:"400",initialHeight:"400",maxWidth:FALSE,maxHeight:FALSE,scalePhotos:TRUE,scrolling:TRUE,inline:FALSE,html:FALSE,iframe:FALSE,photo:FALSE,href:FALSE,title:FALSE,rel:FALSE,opacity:0.9,preloading:TRUE,current:"image {current} of {total}",previous:"previous",next:"next",close:"close",open:FALSE,overlayClose:TRUE,slideshow:FALSE,slideshowAuto:TRUE,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",onOpen:FALSE,onLoad:FALSE,onComplete:FALSE,onCleanup:FALSE,onClosed:FALSE}
function setSize(size,dimension){dimension=dimension==='x'?$window.width():$window.height();return(typeof size==='string')?Math.round((size.match(/%/)?(dimension/100)*parseInt(size,10):parseInt(size,10))):size}
function isImage(url){url=$.isFunction(url)?url.call(element):url;return settings.photo||url.match(/\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i)}
function process(){for(var i in settings)if($.isFunction(settings[i])&&i.substring(0,2)!=='on')settings[i]=settings[i].call(element);settings.rel=settings.rel||element.rel;settings.href=settings.href||element.href;settings.title=settings.title||element.title}
function launch(elem){element=elem;settings=$(element).data(colorbox);process();if(settings.rel&&settings.rel!=='nofollow'){$related=$('.cboxElement').filter(function(){var relRelated=$(this).data(colorbox).rel||this.rel;return(relRelated===settings.rel)});index=$related.index(element);if(index<0){$related=$related.add(element);index=$related.length-1}}else{$related=$(element);index=0};if(!open){open=TRUE;active=TRUE;bookmark=element;bookmark.blur();$(document).bind("keydown.cbox_close",function(e){if(e.keyCode===27){e.preventDefault();cboxPublic.close()}}).bind("keydown.cbox_arrows",function(e){if($related.length>1)if(e.keyCode===37){e.preventDefault();$prev.click()}else if(e.keyCode===39){e.preventDefault();$next.click()}});if(settings.overlayClose)$overlay.css({cursor:"pointer"}).one('click',cboxPublic.close);$.event.trigger(cbox_open);if(settings.onOpen)settings.onOpen.call(element);$overlay.css({opacity:settings.opacity}).show();settings.w=setSize(settings.initialWidth,'x');settings.h=setSize(settings.initialHeight,'y');cboxPublic.position(0);if(isIE6)$window.bind('resize.cboxie6 scroll.cboxie6',function(){$overlay.css({width:$window.width(),height:$window.height(),top:$window.scrollTop(),left:$window.scrollLeft()})}).trigger("scroll.cboxie6")};$current.add($prev).add($next).add($slideshow).add($title).hide();$close.html(settings.close).show();cboxPublic.slideshow();cboxPublic.load()};cboxPublic=$.fn.colorbox=function(options,callback){var $this=this;if(!$this.length)if($this.selector===''){$this=$('<a/>');options.open=TRUE}else return this;$this.each(function(){var data=$.extend({},$(this).data(colorbox)?$(this).data(colorbox):defaults,options);$(this).data(colorbox,data).addClass("cboxElement");if(callback)$(this).data(colorbox).onComplete=callback});if(options&&options.open)launch($this);return this};cboxPublic.init=function(){function $div(id){return $('<div id="cbox'+id+'"/>')};$window=$(window);$cbox=$('<div id="colorbox"/>');$overlay=$div("Overlay").hide();$wrap=$div("Wrapper");$content=$div("Content").append($loaded=$div("LoadedContent").css({width:0,height:0}),$loadingOverlay=$div("LoadingOverlay"),$loadingGraphic=$div("LoadingGraphic"),$title=$div("Title"),$current=$div("Current"),$slideshow=$div("Slideshow"),$next=$div("Next"),$prev=$div("Previous"),$close=$div("Close"));$wrap.append($('<div/>').append($div("TopLeft"),$topBorder=$div("TopCenter"),$div("TopRight")),$('<div/>').append($leftBorder=$div("MiddleLeft"),$content,$rightBorder=$div("MiddleRight")),$('<div/>').append($div("BottomLeft"),$bottomBorder=$div("BottomCenter"),$div("BottomRight"))).children().children().css({'float':'left'});$loadingBay=$("<div style='position:absolute; top:0; left:0; width:9999px; height:0;'/>");$('body').prepend($overlay,$cbox.append($wrap,$loadingBay));if(isIE){$cbox.addClass('cboxIE');if(isIE6)$overlay.css('position','absolute')};$content.children().bind('mouseover mouseout',function(){$(this).toggleClass(hover)}).addClass(hover);interfaceHeight=$topBorder.height()+$bottomBorder.height()+$content.outerHeight(TRUE)-$content.height();interfaceWidth=$leftBorder.width()+$rightBorder.width()+$content.outerWidth(TRUE)-$content.width();loadedHeight=$loaded.outerHeight(TRUE);loadedWidth=$loaded.outerWidth(TRUE);$cbox.css({"padding-bottom":interfaceHeight,"padding-right":interfaceWidth}).hide();$next.click(cboxPublic.next);$prev.click(cboxPublic.prev);$close.click(cboxPublic.close);$content.children().removeClass(hover);$('.cboxElement').live('click',function(e){if(e.button!==0&&typeof e.button!=='undefined'){return TRUE}else{launch(this);return FALSE}})};cboxPublic.position=function(speed,loadedCallback){var animate_speed,winHeight=$window.height(),posTop=Math.max(winHeight-settings.h-loadedHeight-interfaceHeight,0)/2+$window.scrollTop(),posLeft=Math.max(document.documentElement.clientWidth-settings.w-loadedWidth-interfaceWidth,0)/2+$window.scrollLeft();animate_speed=($cbox.width()===settings.w+loadedWidth&&$cbox.height()===settings.h+loadedHeight)?0:speed;$wrap[0].style.width=$wrap[0].style.height="9999px"
function modalDimensions(that){$topBorder[0].style.width=$bottomBorder[0].style.width=$content[0].style.width=that.style.width;$loadingGraphic[0].style.height=$loadingOverlay[0].style.height=$content[0].style.height=$leftBorder[0].style.height=$rightBorder[0].style.height=that.style.height};$cbox.dequeue().animate({width:settings.w+loadedWidth,height:settings.h+loadedHeight,top:posTop,left:posLeft},{duration:animate_speed,complete:function(){modalDimensions(this);active=FALSE;$wrap[0].style.width=(settings.w+loadedWidth+interfaceWidth)+"px";$wrap[0].style.height=(settings.h+loadedHeight+interfaceHeight)+"px";if(loadedCallback)loadedCallback()},step:function(){modalDimensions(this)}})};cboxPublic.resize=function(object){if(!open)return;var topMargin,prev,prevSrc,next,nextSrc,photo,timeout,speed=settings.transition==="none"?0:settings.speed;$window.unbind(cbox_resize);if(!object){timeout=setTimeout(function(){var $child=$loaded.wrapInner("<div style='overflow:auto'></div>").children();settings.h=$child.height();$loaded.css({height:settings.h});$child.replaceWith($child.children());cboxPublic.position(speed)},1);return};$loaded.remove();$loaded=$('<div id="cboxLoadedContent"/>').html(object)
function getWidth(){settings.w=settings.w||$loaded.width();settings.w=settings.mw&&settings.mw<settings.w?settings.mw:settings.w;return settings.w}
function getHeight(){settings.h=settings.h||$loaded.height();settings.h=settings.mh&&settings.mh<settings.h?settings.mh:settings.h;return settings.h};$loaded.hide().appendTo($loadingBay).css({width:getWidth(),overflow:settings.scrolling?'auto':'hidden'}).css({height:getHeight()}).prependTo($content);$('#cboxPhoto').css({cssFloat:'none'});if(isIE6)$('select:not(#colorbox select)').filter(function(){return this.style.visibility!=='hidden'}).css({visibility:'hidden'}).one(cbox_cleanup,function(){this.style.visibility='inherit'})
function setPosition(s){cboxPublic.position(s,function(){if(!open)return;if(isIE){if(photo)$loaded.fadeIn(100);$cbox[0].style.removeAttribute("filter")};if(settings.iframe)$loaded.append("<iframe id='cboxIframe'"+(settings.scrolling?" ":"scrolling='no'")+" name='iframe_"+new Date().getTime()+"' frameborder=0 src='"+settings.href+"' "+(isIE?"allowtransparency='true'":'')+" />");$loaded.show();$title.show().html(settings.title);if($related.length>1){$current.html(settings.current.replace(/\{current\}/,index+1).replace(/\{total\}/,$related.length)).show();$next.html(settings.next).show();$prev.html(settings.previous).show();if(settings.slideshow)$slideshow.show()};$loadingOverlay.hide();$loadingGraphic.hide();$.event.trigger(cbox_complete);if(settings.onComplete)settings.onComplete.call(element);if(settings.transition==='fade')$cbox.fadeTo(speed,1,function(){if(isIE)$cbox[0].style.removeAttribute("filter")});$window.bind(cbox_resize,function(){cboxPublic.position(0)})})};if((settings.transition==='fade'&&$cbox.fadeTo(speed,0,function(){setPosition(0)}))||setPosition(speed));if(settings.preloading&&$related.length>1){prev=index>0?$related[index-1]:$related[$related.length-1];next=index<$related.length-1?$related[index+1]:$related[0];nextSrc=$(next).data(colorbox).href||next.href;prevSrc=$(prev).data(colorbox).href||prev.href;if(isImage(nextSrc))$('<img />').attr('src',nextSrc);if(isImage(prevSrc))$('<img />').attr('src',prevSrc)}};cboxPublic.load=function(){var href,img,setResize,resize=cboxPublic.resize;active=TRUE;element=$related[index];settings=$(element).data(colorbox);process();$.event.trigger(cbox_load);if(settings.onLoad)settings.onLoad.call(element);settings.h=settings.height?setSize(settings.height,'y')-loadedHeight-interfaceHeight:settings.innerHeight?setSize(settings.innerHeight,'y'):FALSE;settings.w=settings.width?setSize(settings.width,'x')-loadedWidth-interfaceWidth:settings.innerWidth?setSize(settings.innerWidth,'x'):FALSE;settings.mw=settings.w;settings.mh=settings.h;if(settings.maxWidth){settings.mw=setSize(settings.maxWidth,'x')-loadedWidth-interfaceWidth;settings.mw=settings.w&&settings.w<settings.mw?settings.w:settings.mw};if(settings.maxHeight){settings.mh=setSize(settings.maxHeight,'y')-loadedHeight-interfaceHeight;settings.mh=settings.h&&settings.h<settings.mh?settings.h:settings.mh};href=settings.href;$loadingOverlay.show();$loadingGraphic.show();if(settings.inline){$('<div id="cboxInlineTemp" />').hide().insertBefore($(href)[0]).bind(cbox_load+' '+cbox_cleanup,function(){$(this).replaceWith($loaded.children())});resize($(href))}else if(settings.iframe){resize(" ")}else if(settings.html){resize(settings.html)}else if(isImage(href)){img=new Image();img.onload=function(){var percent;img.onload=null;img.id='cboxPhoto';$(img).css({margin:'auto',border:'none',display:'block',cssFloat:'left'});if(settings.scalePhotos){setResize=function(){img.height-=img.height*percent;img.width-=img.width*percent};if(settings.mw&&img.width>settings.mw){percent=(img.width-settings.mw)/img.width;setResize()};if(settings.mh&&img.height>settings.mh){percent=(img.height-settings.mh)/img.height;setResize()}};if(settings.h)img.style.marginTop=Math.max(settings.h-img.height,0)/2+'px';resize(img);if($related.length>1)$(img).css({cursor:'pointer'}).click(cboxPublic.next);if(isIE)img.style.msInterpolationMode='bicubic'};img.src=href}else $('<div />').appendTo($loadingBay).load(href,function(data,textStatus){if(textStatus==="success"){resize(this)}else resize($("<p>Request unsuccessful.</p>"))})};cboxPublic.next=function(){if(!active){index=index<$related.length-1?index+1:0;cboxPublic.load()}};cboxPublic.prev=function(){if(!active){index=index>0?index-1:$related.length-1;cboxPublic.load()}};cboxPublic.slideshow=function(){var stop,timeOut,className='cboxSlideshow_';$slideshow.bind(cbox_closed,function(){$slideshow.unbind();clearTimeout(timeOut);$cbox.removeClass(className+"off "+className+"on")})
function start(){$slideshow.text(settings.slideshowStop).bind(cbox_complete,function(){timeOut=setTimeout(cboxPublic.next,settings.slideshowSpeed)}).bind(cbox_load,function(){clearTimeout(timeOut)}).one("click",function(){stop();$(this).removeClass(hover)});$cbox.removeClass(className+"off").addClass(className+"on")};stop=function(){clearTimeout(timeOut);$slideshow.text(settings.slideshowStart).unbind(cbox_complete+' '+cbox_load).one("click",function(){start();timeOut=setTimeout(cboxPublic.next,settings.slideshowSpeed);$(this).removeClass(hover)});$cbox.removeClass(className+"on").addClass(className+"off")};if(settings.slideshow&&$related.length>1)if(settings.slideshowAuto){start()}else stop()};cboxPublic.close=function(){$.event.trigger(cbox_cleanup);if(settings.onCleanup)settings.onCleanup.call(element);open=FALSE;$(document).unbind("keydown.cbox_close keydown.cbox_arrows");$window.unbind(cbox_resize+' resize.cboxie6 scroll.cboxie6');$overlay.css({cursor:'auto'}).fadeOut('fast');$cbox.stop(TRUE,FALSE).fadeOut('fast',function(){$('#colorbox iframe').attr('src','about:blank');$loaded.remove();$cbox.css({opacity:1});try{bookmark.focus()}catch(er){};$.event.trigger(cbox_closed);if(settings.onClosed)settings.onClosed.call(element)})};cboxPublic.element=function(){return $(element)};cboxPublic.settings=defaults;$(cboxPublic.init)}(jQuery));
jQuery(document).ready(function(){jQuery(".rzcolorbox").colorbox({current:"Image {current} of {total}",opacity:"0.85",transition:"fade",speed:"6000",slideshowSpeed:"2500"})});
(function(){this.MooTools={version:"1.3.2",build:"c9f1ff10e9e7facb65e9481049ed1b450959d587"};var o=this.typeOf=function(i){if(i==null)return"null";if(i.$family)return i.$family();if(i.nodeName){if(i.nodeType==1)return"element";if(i.nodeType==3)return/\S/.test(i.nodeValue)?"textnode":"whitespace"}else if(typeof i.length=="number"){if(i.callee)return"arguments";if("item"in i)return"collection"};return typeof i},j=this.instanceOf=function(t,i){if(t==null)return false;var s=t.$constructor||t.constructor;while(s){if(s===i)return true;s=s.parent};return t instanceof i},f=this.Function,p=true;for(var k in {toString:1})p=null;if(p)p=["hasOwnProperty","valueOf","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","constructor"];f.prototype.overloadSetter=function(s){var i=this;return function(u,t){if(u==null)return this;if(s||typeof u!="string"){for(var v in u)i.call(this,v,u[v]);if(p)for(var w=p.length;w--;){v=p[w];if(u.hasOwnProperty(v))i.call(this,v,u[v])}}else i.call(this,u,t);return this}};f.prototype.overloadGetter=function(s){var i=this;return function(u){var v,t;if(s||typeof u!="string"){v=u}else if(arguments.length>1)v=arguments;if(v){t={};for(var w=0;w<v.length;w++)t[v[w]]=i.call(this,v[w])}else t=i.call(this,u);return t}};f.prototype.extend=function(i,s){this[i]=s}.overloadSetter();f.prototype.implement=function(i,s){this.prototype[i]=s}.overloadSetter();var n=Array.prototype.slice;f.from=function(i){return(o(i)=="function")?i:function(){return i}};Array.from=function(i){if(i==null)return[];return(a.isEnumerable(i)&&typeof i!="string")?(o(i)=="array")?i:n.call(i):[i]};Number.from=function(s){var i=parseFloat(s);return isFinite(i)?i:null};String.from=function(i){return i+""};f.implement({hide:function(){this.$hidden=true;return this},protect:function(){this.$protected=true;return this}});var a=this.Type=function(u,t){if(u){var s=u.toLowerCase(),i=function(v){return(o(v)==s)};a["is"+u]=i;if(t!=null)t.prototype.$family=(function(){return s}).hide()};if(t==null)return null;t.extend(this);t.$constructor=a;t.prototype.$constructor=t;return t},e=Object.prototype.toString;a.isEnumerable=function(i){return(i!=null&&typeof i.length=="number"&&e.call(i)!="[object Function]")};var q={},r=function(i){var s=o(i.prototype);return q[s]||(q[s]=[])},b=function(t,x){if(x&&x.$hidden)return;var s=r(this);for(var u=0;u<s.length;u++){var w=s[u];if(o(w)=="type"){b.call(w,t,x)}else w.call(this,t,x)};var v=this.prototype[t];if(v==null||!v.$protected)this.prototype[t]=x;if(this[t]==null&&o(x)=="function")m.call(this,t,function(i){return x.apply(i,n.call(arguments,1))})},m=function(i,t){if(t&&t.$hidden)return;var s=this[i];if(s==null||!s.$protected)this[i]=t};a.implement({implement:b.overloadSetter(),extend:m.overloadSetter(),alias:function(i,s){b.call(this,i,this.prototype[s])}.overloadSetter(),mirror:function(i){r(this).push(i);return this}});new a("Type",a);var d=function(s,w,u){var t=(w!=Object),A=w.prototype;if(t)w=new a(s,w);for(var x=0,v=u.length;x<v;x++){var B=u[x],z=w[B],y=A[B];if(z)z.protect();if(t&&y){delete A[B];A[B]=y.protect()}};if(t)w.implement(A);return d};d("String",String,["charAt","charCodeAt","concat","indexOf","lastIndexOf","match","quote","replace","search","slice","split","substr","substring","toLowerCase","toUpperCase"])("Array",Array,["pop","push","reverse","shift","sort","splice","unshift","concat","join","slice","indexOf","lastIndexOf","filter","forEach","every","map","some","reduce","reduceRight"])("Number",Number,["toExponential","toFixed","toLocaleString","toPrecision"])("Function",f,["apply","call","bind"])("RegExp",RegExp,["exec","test"])("Object",Object,["create","defineProperty","defineProperties","keys","getPrototypeOf","getOwnPropertyDescriptor","getOwnPropertyNames","preventExtensions","isExtensible","seal","isSealed","freeze","isFrozen"])("Date",Date,["now"]);Object.extend=m.overloadSetter();Date.extend("now",function(){return+(new Date())});new a("Boolean",Boolean);Number.prototype.$family=function(){return isFinite(this)?"number":"null"}.hide();Number.extend("random",function(s,i){return Math.floor(Math.random()*(i-s+1)+s)});var g=Object.prototype.hasOwnProperty;Object.extend("forEach",function(i,t,u){for(var s in i)if(g.call(i,s))t.call(u,i[s],s,i)});Object.each=Object.forEach;Array.implement({forEach:function(u,v){for(var t=0,s=this.length;t<s;t++)if(t in this)u.call(v,this[t],t,this)},each:function(i,s){Array.forEach(this,i,s);return this}});var l=function(i){switch(o(i)){case"array":return i.clone();case"object":return Object.clone(i);default:return i}};Array.implement("clone",function(){var s=this.length,t=new Array(s);while(s--)t[s]=l(this[s]);return t});var h=function(s,i,t){switch(o(t)){case"object":if(o(s[i])=="object"){Object.merge(s[i],t)}else s[i]=Object.clone(t);break;case"array":s[i]=t.clone();break;default:s[i]=t};return s};Object.extend({merge:function(z,u,t){if(o(u)=="string")return h(z,u,t);for(var y=1,s=arguments.length;y<s;y++){var w=arguments[y];for(var x in w)h(z,x,w[x])};return z},clone:function(i){var t={};for(var s in i)t[s]=l(i[s]);return t},append:function(w){for(var v=1,t=arguments.length;v<t;v++){var s=arguments[v]||{};for(var u in s)w[u]=s[u]};return w}});["Object","WhiteSpace","TextNode","Collection","Arguments"].each(function(i){new a(i)});var c=Date.now();String.extend("uniqueID",function(){return(c++).toString(36)})})();Array.implement({every:function(c,d){for(var b=0,a=this.length;b<a;b++)if((b in this)&&!c.call(d,this[b],b,this))return false;return true},filter:function(d,e){var c=[];for(var b=0,a=this.length;b<a;b++)if((b in this)&&d.call(e,this[b],b,this))c.push(this[b]);return c},indexOf:function(c,d){var a=this.length;for(var b=(d<0)?Math.max(0,a+d):d||0;b<a;b++)if(this[b]===c)return b;return-1},map:function(d,e){var c=[];for(var b=0,a=this.length;b<a;b++)if(b in this)c[b]=d.call(e,this[b],b,this);return c},some:function(c,d){for(var b=0,a=this.length;b<a;b++)if((b in this)&&c.call(d,this[b],b,this))return true;return false},clean:function(){return this.filter(function(a){return a!=null})},invoke:function(a){var b=Array.slice(arguments,1);return this.map(function(c){return c[a].apply(c,b)})},associate:function(c){var d={},b=Math.min(this.length,c.length);for(var a=0;a<b;a++)d[c[a]]=this[a];return d},link:function(c){var a={};for(var e=0,b=this.length;e<b;e++)for(var d in c)if(c[d](this[e])){a[d]=this[e];delete c[d];break};return a},contains:function(a,b){return this.indexOf(a,b)!=-1},append:function(a){this.push.apply(this,a);return this},getLast:function(){return(this.length)?this[this.length-1]:null},getRandom:function(){return(this.length)?this[Number.random(0,this.length-1)]:null},include:function(a){if(!this.contains(a))this.push(a);return this},combine:function(c){for(var b=0,a=c.length;b<a;b++)this.include(c[b]);return this},erase:function(b){for(var a=this.length;a--;)if(this[a]===b)this.splice(a,1);return this},empty:function(){this.length=0;return this},flatten:function(){var d=[];for(var b=0,a=this.length;b<a;b++){var c=typeOf(this[b]);if(c=="null")continue;d=d.concat((c=="array"||c=="collection"||c=="arguments"||instanceOf(this[b],Array))?Array.flatten(this[b]):this[b])};return d},pick:function(){for(var b=0,a=this.length;b<a;b++)if(this[b]!=null)return this[b];return null},hexToRgb:function(b){if(this.length!=3)return null;var a=this.map(function(c){if(c.length==1)c+=c;return c.toInt(16)});return b?a:"rgb("+a+")"},rgbToHex:function(d){if(this.length<3)return null;if(this.length==4&&this[3]==0&&!d)return"transparent";var b=[];for(var a=0;a<3;a++){var c=(this[a]-0).toString(16);b.push((c.length==1)?"0"+c:c)};return d?b:"#"+b.join("")}});String.implement({test:function(a,b){return((typeOf(a)=="regexp")?a:new RegExp(""+a,b)).test(this)},contains:function(a,b){return b?(b+this+b).indexOf(b+a+b)>-1:this.indexOf(a)>-1},trim:function(){return this.replace(/^\s+|\s+$/g,"")},clean:function(){return this.replace(/\s+/g," ").trim()},camelCase:function(){return this.replace(/-\D/g,function(a){return a.charAt(1).toUpperCase()})},hyphenate:function(){return this.replace(/[A-Z]/g,function(a){return("-"+a.charAt(0).toLowerCase())})},capitalize:function(){return this.replace(/\b[a-z]/g,function(a){return a.toUpperCase()})},escapeRegExp:function(){return this.replace(/([-.*+?^${}()|[\]\/\\])/g,"\\$1")},toInt:function(a){return parseInt(this,a||10)},toFloat:function(){return parseFloat(this)},hexToRgb:function(b){var a=this.match(/^#?(\w{1,2})(\w{1,2})(\w{1,2})$/);return a?a.slice(1).hexToRgb(b):null},rgbToHex:function(b){var a=this.match(/\d{1,3}/g);return a?a.rgbToHex(b):null},substitute:function(a,b){return this.replace(b||/\\?\{([^{}]+)\}/g,function(d,c){if(d.charAt(0)=="\\")return d.slice(1);return(a[c]!=null)?a[c]:""})}});Number.implement({limit:function(b,a){return Math.min(a,Math.max(b,this))},round:function(a){a=Math.pow(10,a||0).toFixed(a<0?-a:0);return Math.round(this*a)/a},times:function(b,c){for(var a=0;a<this;a++)b.call(c,a,this)},toFloat:function(){return parseFloat(this)},toInt:function(a){return parseInt(this,a||10)}});Number.alias("each","times");(function(b){var a={};b.each(function(c){if(!Number[c])a[c]=function(){return Math[c].apply(null,[this].concat(Array.from(arguments)))}});Number.implement(a)})(["abs","acos","asin","atan","atan2","ceil","cos","exp","floor","log","max","min","pow","sin","sqrt","tan"]);Function.extend({attempt:function(){for(var b=0,a=arguments.length;b<a;b++)try{return arguments[b]()}catch(c){};return null}});Function.implement({attempt:function(a,c){try{return this.apply(c,Array.from(a))}catch(b){};return null},bind:function(c){var a=this,b=(arguments.length>1)?Array.slice(arguments,1):null;return function(){if(!b&&!arguments.length)return a.call(c);if(b&&arguments.length)return a.apply(c,b.concat(Array.from(arguments)));return a.apply(c,b||arguments)}},pass:function(b,c){var a=this;if(b!=null)b=Array.from(b);return function(){return a.apply(c,b||arguments)}},delay:function(b,c,a){return setTimeout(this.pass((a==null?[]:a),c),b)},periodical:function(c,b,a){return setInterval(this.pass((a==null?[]:a),b),c)}});(function(){var a=Object.prototype.hasOwnProperty;Object.extend({subset:function(d,g){var f={};for(var e=0,b=g.length;e<b;e++){var c=g[e];if(c in d)f[c]=d[c]};return f},map:function(b,e,f){var d={};for(var c in b)if(a.call(b,c))d[c]=e.call(f,b[c],c,b);return d},filter:function(b,e,g){var d={};for(var c in b){var f=b[c];if(a.call(b,c)&&e.call(g,f,c,b))d[c]=f};return d},every:function(b,d,e){for(var c in b)if(a.call(b,c)&&!d.call(e,b[c],c))return false;return true},some:function(b,d,e){for(var c in b)if(a.call(b,c)&&d.call(e,b[c],c))return true;return false},keys:function(b){var d=[];for(var c in b)if(a.call(b,c))d.push(c);return d},values:function(c){var b=[];for(var d in c)if(a.call(c,d))b.push(c[d]);return b},getLength:function(b){return Object.keys(b).length},keyOf:function(b,d){for(var c in b)if(a.call(b,c)&&b[c]===d)return c;return null},contains:function(b,c){return Object.keyOf(b,c)!=null},toQueryString:function(b,c){var d=[];Object.each(b,function(h,g){if(c)g=c+"["+g+"]";var f;switch(typeOf(h)){case"object":f=Object.toQueryString(h,g);break;case"array":var e={};h.each(function(k,j){e[j]=k});f=Object.toQueryString(e,g);break;default:f=g+"="+encodeURIComponent(h)};if(h!=null)d.push(f)});return d.join("&")}})})();(function(){var k=this.document,i=k.window=this,b=1;this.$uid=(i.ActiveXObject)?function(e){return(e.uid||(e.uid=[b++]))[0]}:function(e){return e.uid||(e.uid=b++)};$uid(i);$uid(k);var a=navigator.userAgent.toLowerCase(),c=navigator.platform.toLowerCase(),j=a.match(/(opera|ie|firefox|chrome|version)[\s\/:]([\w\d\.]+)?.*?(safari|version[\s\/:]([\w\d\.]+)|$)/)||[null,"unknown",0],f=j[1]=="ie"&&k.documentMode,o=this.Browser={extend:Function.prototype.extend,name:(j[1]=="version")?j[3]:j[1],version:f||parseFloat((j[1]=="opera"&&j[4])?j[4]:j[2]),Platform:{name:a.match(/ip(?:ad|od|hone)/)?"ios":(a.match(/(?:webos|android)/)||c.match(/mac|win|linux/)||["other"])[0]},Features:{xpath:!!(k.evaluate),air:!!(i.runtime),query:!!(k.querySelector),json:!!(i.JSON)},Plugins:{}};o[o.name]=true;o[o.name+parseInt(o.version,10)]=true;o.Platform[o.Platform.name]=true;o.Request=(function(){var q=function(){return new XMLHttpRequest()},p=function(){return new ActiveXObject("MSXML2.XMLHTTP")},e=function(){return new ActiveXObject("Microsoft.XMLHTTP")};return Function.attempt(function(){q();return q},function(){p();return p},function(){e();return e})})();o.Features.xhr=!!(o.Request);var h=(Function.attempt(function(){return navigator.plugins["Shockwave Flash"].description},function(){return new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version")})||"0 r0").match(/\d+/g);o.Plugins.Flash={version:Number(h[0]||"0."+h[1])||0,build:Number(h[2])||0};o.exec=function(p){if(!p)return p;if(i.execScript){i.execScript(p)}else{var e=k.createElement("script");e.setAttribute("type","text/javascript");e.text=p;k.head.appendChild(e);k.head.removeChild(e)};return p};String.implement("stripScripts",function(p){var e="",q=this.replace(/<script[^>]*>([\s\S]*?)<\/script>/gi,function(r,s){e+=s+"\n";return""});if(p===true){o.exec(e)}else if(typeOf(p)=="function")p(e,q);return q});o.extend({Document:this.Document,Window:this.Window,Element:this.Element,Event:this.Event});this.Window=this.$constructor=new Type("Window",function(){});this.$family=Function.from("window").hide();Window.mirror(function(e,p){i[e]=p});this.Document=k.$constructor=new Type("Document",function(){});k.$family=Function.from("document").hide();Document.mirror(function(e,p){k[e]=p});k.html=k.documentElement;if(!k.head)k.head=k.getElementsByTagName("head")[0];if(k.execCommand)try{k.execCommand("BackgroundImageCache",false,true)}catch(g){};if(this.attachEvent&&!this.addEventListener){var d=function(){this.detachEvent("onunload",d);k.head=k.html=k.window=null};this.attachEvent("onunload",d)};var m=Array.from;try{m(k.html.childNodes)}catch(g){Array.from=function(p){if(typeof p!="string"&&Type.isEnumerable(p)&&typeOf(p)!="array"){var e=p.length,q=new Array(e);while(e--)q[e]=p[e];return q};return m(p)};var l=Array.prototype,n=l.slice;["pop","push","reverse","shift","sort","splice","unshift","concat","join","slice"].each(function(e){var p=l[e];Array[e]=function(q){return p.apply(Array.from(q),n.call(arguments,1))}})}})();var Event=new Type("Event",function(a,i){if(!i)i=window;var o=i.document;a=a||i.event;if(a.$extended)return a;this.$extended=true;var n=a.type,k=a.target||a.srcElement,m={},c={},q=null,h,l,b,p;while(k&&k.nodeType==3)k=k.parentNode;if(n.indexOf("key")!=-1){b=a.which||a.keyCode;p=Object.keyOf(Event.Keys,b);if(n=="keydown"){var d=b-111;if(d>0&&d<13)p="f"+d};if(!p)p=String.fromCharCode(b).toLowerCase()}else if(/click|mouse|menu/i.test(n)){o=(!o.compatMode||o.compatMode=="CSS1Compat")?o.html:o.body;m={x:(a.pageX!=null)?a.pageX:a.clientX+o.scrollLeft,y:(a.pageY!=null)?a.pageY:a.clientY+o.scrollTop};c={x:(a.pageX!=null)?a.pageX-i.pageXOffset:a.clientX,y:(a.pageY!=null)?a.pageY-i.pageYOffset:a.clientY};if(/DOMMouseScroll|mousewheel/.test(n))l=(a.wheelDelta)?a.wheelDelta/120:-(a.detail||0)/3;h=(a.which==3)||(a.button==2);if(/over|out/.test(n)){q=a.relatedTarget||a[(n=="mouseover"?"from":"to")+"Element"];var j=function(){while(q&&q.nodeType==3)q=q.parentNode;return true},g=(Browser.firefox2)?j.attempt():j();q=g?q:null}}else if(/gesture|touch/i.test(n)){this.rotation=a.rotation;this.scale=a.scale;this.targetTouches=a.targetTouches;this.changedTouches=a.changedTouches;var f=this.touches=a.touches;if(f&&f[0]){var e=f[0];m={x:e.pageX,y:e.pageY};c={x:e.clientX,y:e.clientY}}};return Object.append(this,{event:a,type:n,page:m,client:c,rightClick:h,wheel:l,relatedTarget:document.id(q),target:document.id(k),code:b,key:p,shift:a.shiftKey,control:a.ctrlKey,alt:a.altKey,meta:a.metaKey})});Event.Keys={enter:13,up:38,down:40,left:37,right:39,esc:27,space:32,backspace:8,tab:9,"delete":46};Event.implement({stop:function(){return this.stopPropagation().preventDefault()},stopPropagation:function(){if(this.event.stopPropagation){this.event.stopPropagation()}else this.event.cancelBubble=true;return this},preventDefault:function(){if(this.event.preventDefault){this.event.preventDefault()}else this.event.returnValue=false;return this}});(function(){var a=this.Class=new Type("Class",function(h){if(instanceOf(h,Function))h={initialize:h};var g=function(){e(this);if(g.$prototyping)return this;this.$caller=null;var i=(this.initialize)?this.initialize.apply(this,arguments):this;this.$caller=this.caller=null;return i}.extend(this).implement(h);g.$constructor=a;g.prototype.$constructor=g;g.prototype.parent=c;return g}),c=function(){if(!this.$caller)throw new Error('The method "parent" cannot be called.');var g=this.$caller.$name,h=this.$caller.$owner.parent,i=h?h.prototype[g]:null;if(!i)throw new Error('The method "'+g+'" has no parent.');return i.apply(this,arguments)},e=function(g){for(var h in g){var j=g[h];switch(typeOf(j)){case"object":var i=function(){};i.prototype=j;g[h]=e(new i());break;case"array":g[h]=j.clone();break}};return g},b=function(g,h,j){if(j.$origin)j=j.$origin;var i=function(){if(j.$protected&&this.$caller==null)throw new Error('The method "'+h+'" cannot be called.');var l=this.caller,m=this.$caller;this.caller=m;this.$caller=i;var k=j.apply(this,arguments);this.$caller=m;this.caller=l;return k}.extend({$owner:g,$origin:j,$name:h});return i},f=function(h,i,g){if(a.Mutators.hasOwnProperty(h)){i=a.Mutators[h].call(this,i);if(i==null)return this};if(typeOf(i)=="function"){if(i.$hidden)return this;this.prototype[h]=g?i:b(this,h,i)}else Object.merge(this.prototype,h,i);return this},d=function(g){g.$prototyping=true;var h=new g();delete g.$prototyping;return h};a.implement("implement",f.overloadSetter());a.Mutators={Extends:function(g){this.parent=g;this.prototype=d(g)},Implements:function(g){Array.from(g).each(function(j){var h=new j();for(var i in h)f.call(this,i,h[i],true)},this)}}})();(function(){this.Chain=new Class({$chain:[],chain:function(){this.$chain.append(Array.flatten(arguments));return this},callChain:function(){return(this.$chain.length)?this.$chain.shift().apply(this,arguments):false},clearChain:function(){this.$chain.empty();return this}});var a=function(b){return b.replace(/^on([A-Z])/,function(c,d){return d.toLowerCase()})};this.Events=new Class({$events:{},addEvent:function(d,c,b){d=a(d);this.$events[d]=(this.$events[d]||[]).include(c);if(b)c.internal=true;return this},addEvents:function(b){for(var c in b)this.addEvent(c,b[c]);return this},fireEvent:function(e,c,b){e=a(e);var d=this.$events[e];if(!d)return this;c=Array.from(c);d.each(function(f){if(b){f.delay(b,this,c)}else f.apply(this,c)},this);return this},removeEvent:function(e,d){e=a(e);var c=this.$events[e];if(c&&!d.internal){var b=c.indexOf(d);if(b!=-1)delete c[b]};return this},removeEvents:function(d){var e;if(typeOf(d)=="object"){for(e in d)this.removeEvent(e,d[e]);return this};if(d)d=a(d);for(e in this.$events){if(d&&d!=e)continue;var c=this.$events[e];for(var b=c.length;b--;)if(b in c)this.removeEvent(e,c[b])};return this}});this.Options=new Class({setOptions:function(){var b=this.options=Object.merge.apply(null,[{},this.options].append(arguments));if(this.addEvent)for(var c in b){if(typeOf(b[c])!="function"||!/^on[A-Z]/.test(c))continue;this.addEvent(c,b[c]);delete b[c]};return this}})})();(function(){var k,n,l,g,a={},c={},m=/\\/g,e=function(q,p){if(q==null)return null;if(q.Slick===true)return q;q=(""+q).replace(/^\s+|\s+$/g,"");g=!!p;var o=g?c:a;if(o[q])return o[q];k={Slick:true,expressions:[],raw:q,reverse:function(){return e(this.raw,true)}};n=-1;while(q!=(q=q.replace(j,b)));k.length=k.expressions.length;return o[k.raw]=g?h(k):k},i=function(o){if(o==="!"){return" "}else if(o===" "){return"!"}else if(/^!/.test(o)){return o.replace(/^!/,"")}else return"!"+o},h=function(u){var r=u.expressions;for(var p=0;p<r.length;p++){var t=r[p],q={parts:[],tag:"*",combinator:i(t[0].combinator)};for(var o=0;o<t.length;o++){var s=t[o];if(!s.reverseCombinator)s.reverseCombinator=" ";s.combinator=s.reverseCombinator;delete s.reverseCombinator};t.reverse().push(q)};return u},f=function(o){return o.replace(/[-[\]{}()*+?.\\^$|,#\s]/g,function(p){return"\\"+p})},j=new RegExp("^(?:\\s*(,)\\s*|\\s*(<combinator>+)\\s*|(\\s+)|(<unicode>+|\\*)|\\#(<unicode>+)|\\.(<unicode>+)|\\[\\s*(<unicode1>+)(?:\\s*([*^$!~|]?=)(?:\\s*(?:([\"']?)(.*?)\\9)))?\\s*\\](?!\\])|(:+)(<unicode>+)(?:\\((?:(?:([\"'])([^\\13]*)\\13)|((?:\\([^)]+\\)|[^()]*)+))\\))?)".replace(/<combinator>/,"["+f(">+~`!@$%^&={}\\;</")+"]").replace(/<unicode>/g,"(?:[\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])").replace(/<unicode1>/g,"(?:[:\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])"))
function b(x,s,D,z,r,C,q,B,A,y,u,F,G,v,p,w){if(s||n===-1){k.expressions[++n]=[];l=-1;if(s)return""};if(D||z||l===-1){D=D||" ";var t=k.expressions[n];if(g&&t[l])t[l].reverseCombinator=i(D);t[++l]={combinator:D,tag:"*"}};var o=k.expressions[n][l];if(r){o.tag=r.replace(m,"")}else if(C){o.id=C.replace(m,"")}else if(q){q=q.replace(m,"");if(!o.classList)o.classList=[];if(!o.classes)o.classes=[];o.classList.push(q);o.classes.push({value:q,regexp:new RegExp("(^|\\s)"+f(q)+"(\\s|$)")})}else if(G){w=w||p;w=w?w.replace(m,""):null;if(!o.pseudos)o.pseudos=[];o.pseudos.push({key:G.replace(m,""),value:w,type:F.length==1?"class":"element"})}else if(B){B=B.replace(m,"");u=(u||"").replace(m,"");var E,H;switch(A){case"^=":H=new RegExp("^"+f(u));break;case"$=":H=new RegExp(f(u)+"$");break;case"~=":H=new RegExp("(^|\\s)"+f(u)+"(\\s|$)");break;case"|=":H=new RegExp("^"+f(u)+"(-|$)");break;case"=":E=function(I){return u==I};break;case"*=":E=function(I){return I&&I.indexOf(u)>-1};break;case"!=":E=function(I){return u!=I};break;default:E=function(I){return!!I}};if(u==""&&/^[*$^]=$/.test(A))E=function(){return false};if(!E)E=function(I){return I&&H.test(I)};if(!o.attributes)o.attributes=[];o.attributes.push({key:B,operator:A,value:u,test:E})};return""};var d=(this.Slick||{});d.parse=function(o){return e(o)};d.escapeRegExp=f;if(!this.Slick)this.Slick=d}).apply((typeof exports!="undefined")?exports:this);(function(){var j={},l={},b=Object.prototype.toString;j.isNativeCode=function(c){return/\{\s*\[native code\]\s*\}/.test(""+c)};j.isXML=function(c){return(!!c.xmlVersion)||(!!c.xml)||(b.call(c)=="[object XMLDocument]")||(c.nodeType==9&&c.documentElement.nodeName!="HTML")};j.setDocument=function(w){var t=w.nodeType;if(t==9);else if(t){w=w.ownerDocument}else if(w.navigator){w=w.document}else return;if(this.document===w)return;this.document=w;var y=w.documentElement,u=this.getUIDXML(y),o=l[u],A;if(o){for(A in o)this[A]=o[A];return};o=l[u]={};o.root=y;o.isXMLDocument=this.isXML(w);o.brokenStarGEBTN=o.starSelectsClosedQSA=o.idGetsName=o.brokenMixedCaseQSA=o.brokenGEBCN=o.brokenCheckedQSA=o.brokenEmptyAttributeQSA=o.isHTMLDocument=o.nativeMatchesSelector=false;var m,n,x,q,r,s,c="slick_uniqueid",z=w.createElement("div"),p=w.body||w.getElementsByTagName("body")[0]||y;p.appendChild(z);try{z.innerHTML='<a id="'+c+'"></a>';o.isHTMLDocument=!!w.getElementById(c)}catch(v){};if(o.isHTMLDocument){z.style.display="none";z.appendChild(w.createComment(""));n=(z.getElementsByTagName("*").length>1);try{z.innerHTML="foo</foo>";s=z.getElementsByTagName("*");m=(s&&!!s.length&&s[0].nodeName.charAt(0)=="/")}catch(v){};o.brokenStarGEBTN=n||m;try{z.innerHTML='<a name="'+c+'"></a><b id="'+c+'"></b>';o.idGetsName=w.getElementById(c)===z.firstChild}catch(v){};if(z.getElementsByClassName){try{z.innerHTML='<a class="f"></a><a class="b"></a>';z.getElementsByClassName("b").length;z.firstChild.className="b";q=(z.getElementsByClassName("b").length!=2)}catch(v){};try{z.innerHTML='<a class="a"></a><a class="f b a"></a>';x=(z.getElementsByClassName("a").length!=2)}catch(v){};o.brokenGEBCN=q||x};if(z.querySelectorAll){try{z.innerHTML="foo</foo>";s=z.querySelectorAll("*");o.starSelectsClosedQSA=(s&&!!s.length&&s[0].nodeName.charAt(0)=="/")}catch(v){};try{z.innerHTML='<a class="MiX"></a>';o.brokenMixedCaseQSA=!z.querySelectorAll(".MiX").length}catch(v){};try{z.innerHTML='<select><option selected="selected">a</option></select>';o.brokenCheckedQSA=(z.querySelectorAll(":checked").length==0)}catch(v){};try{z.innerHTML='<a class=""></a>';o.brokenEmptyAttributeQSA=(z.querySelectorAll('[class*=""]').length!=0)}catch(v){}};try{z.innerHTML='<form action="s"><input id="action"/></form>';r=(z.firstChild.getAttribute("action")!="s")}catch(v){};o.nativeMatchesSelector=y.matchesSelector||y.mozMatchesSelector||y.webkitMatchesSelector;if(o.nativeMatchesSelector)try{o.nativeMatchesSelector.call(y,":slick");o.nativeMatchesSelector=null}catch(v){}};try{y.slick_expando=1;delete y.slick_expando;o.getUID=this.getUIDHTML}catch(v){o.getUID=this.getUIDXML};p.removeChild(z);z=s=p=null;o.getAttribute=(o.isHTMLDocument&&r)?function(D,B){var E=this.attributeGetters[B];if(E)return E.call(D);var C=D.getAttributeNode(B);return C?C.nodeValue:null}:function(C,B){var D=this.attributeGetters[B];return D?D.call(C):C.getAttribute(B)};o.hasAttribute=(y&&this.isNativeCode(y.hasAttribute))?function(C,B){return C.hasAttribute(B)}:function(C,B){C=C.getAttributeNode(B);return!!(C&&(C.specified||C.nodeValue))};o.contains=(y&&this.isNativeCode(y.contains))?function(B,C){return B.contains(C)}:(y&&y.compareDocumentPosition)?function(B,C){return B===C||!!(B.compareDocumentPosition(C)&16)}:function(B,C){if(C)do{if(C===B)return true}while((C=C.parentNode));return false};o.documentSorter=(y.compareDocumentPosition)?function(C,B){if(!C.compareDocumentPosition||!B.compareDocumentPosition)return 0;return C.compareDocumentPosition(B)&4?-1:C===B?0:1}:("sourceIndex"in y)?function(C,B){if(!C.sourceIndex||!B.sourceIndex)return 0;return C.sourceIndex-B.sourceIndex}:(w.createRange)?function(E,C){if(!E.ownerDocument||!C.ownerDocument)return 0;var D=E.ownerDocument.createRange(),B=C.ownerDocument.createRange();D.setStart(E,0);D.setEnd(E,0);B.setStart(C,0);B.setEnd(C,0);return D.compareBoundaryPoints(Range.START_TO_END,B)}:null;y=null;for(A in o)this[A]=o[A]};var e=/^([#.]?)((?:[\w-]+|\*))$/,g=/\[.+[*$^]=(?:""|'')?\]/,f={};j.search=function(U,z,H,s){var p=this.found=s?null:(H||[]);if(!U){return p}else if(U.navigator){U=U.document}else if(!U.nodeType)return p;var F,O,V=this.uniques={},I=!!(H&&H.length),y=(U.nodeType==9);if(this.document!==(y?U:U.ownerDocument))this.setDocument(U);if(I)for(O=p.length;O--;)V[this.getUID(p[O])]=true;if(typeof z=="string"){var r=z.match(e);simpleSelectors:if(r){var u=r[1],v=r[2],A,E;if(!u){if(v=="*"&&this.brokenStarGEBTN)break simpleSelectors;E=U.getElementsByTagName(v);if(s)return E[0]||null;for(O=0;A=E[O++];)if(!(I&&V[this.getUID(A)]))p.push(A)}else if(u=="#"){if(!this.isHTMLDocument||!y)break simpleSelectors;A=U.getElementById(v);if(!A)return p;if(this.idGetsName&&A.getAttributeNode("id").nodeValue!=v)break simpleSelectors;if(s)return A||null;if(!(I&&V[this.getUID(A)]))p.push(A)}else if(u=="."){if(!this.isHTMLDocument||((!U.getElementsByClassName||this.brokenGEBCN)&&U.querySelectorAll))break simpleSelectors;if(U.getElementsByClassName&&!this.brokenGEBCN){E=U.getElementsByClassName(v);if(s)return E[0]||null;for(O=0;A=E[O++];)if(!(I&&V[this.getUID(A)]))p.push(A)}else{var T=new RegExp("(^|\\s)"+d.escapeRegExp(v)+"(\\s|$)");E=U.getElementsByTagName("*");for(O=0;A=E[O++];){className=A.className;if(!(className&&T.test(className)))continue;if(s)return A;if(!(I&&V[this.getUID(A)]))p.push(A)}}};if(I)this.sort(p);return s?null:p};querySelector:if(U.querySelectorAll){if(!this.isHTMLDocument||f[z]||this.brokenMixedCaseQSA||(this.brokenCheckedQSA&&z.indexOf(":checked")>-1)||(this.brokenEmptyAttributeQSA&&g.test(z))||(!y&&z.indexOf(",")>-1)||d.disableQSA)break querySelector;var S=z,x=U;if(!y){var C=x.getAttribute("id"),t="slickid__";x.setAttribute("id",t);S="#"+t+" "+S;U=x.parentNode};try{if(s){return U.querySelector(S)||null}else E=U.querySelectorAll(S)}catch(Q){f[z]=1;break querySelector}finally{if(!y){if(C){x.setAttribute("id",C)}else x.removeAttribute("id");U=x}};if(this.starSelectsClosedQSA){for(O=0;A=E[O++];)if(A.nodeName>"@"&&!(I&&V[this.getUID(A)]))p.push(A)}else for(O=0;A=E[O++];)if(!(I&&V[this.getUID(A)]))p.push(A);if(I)this.sort(p);return p};F=this.Slick.parse(z);if(!F.length)return p}else if(z==null){return p}else if(z.Slick){F=z}else if(this.contains(U.documentElement||U,z)){p?p.push(z):p=z;return p}else return p;this.posNTH={};this.posNTHLast={};this.posNTHType={};this.posNTHTypeLast={};this.push=(!I&&(s||(F.length==1&&F.expressions[0].length==1)))?this.pushArray:this.pushUID;if(p==null)p=[];var M,L,K,B,J,D,c,q,G,W,N,P,o,w,R=F.expressions;search:for(O=0;(P=R[O]);O++)for(M=0;(o=P[M]);M++){B="combinator:"+o.combinator;if(!this[B])continue search;J=(this.isXMLDocument)?o.tag:o.tag.toUpperCase();D=o.id;c=o.classList;q=o.classes;G=o.attributes;W=o.pseudos;w=(M===(P.length-1));this.bitUniques={};if(w){this.uniques=V;this.found=p}else{this.uniques={};this.found=[]};if(M===0){this[B](U,J,D,q,G,W,c);if(s&&w&&p.length)break search}else if(s&&w){for(L=0,K=N.length;L<K;L++){this[B](N[L],J,D,q,G,W,c);if(p.length)break search}}else for(L=0,K=N.length;L<K;L++)this[B](N[L],J,D,q,G,W,c);N=this.found};if(I||(F.expressions.length>1))this.sort(p);return s?(p[0]||null):p};j.uidx=1;j.uidk="slick-uniqueid";j.getUIDXML=function(m){var c=m.getAttribute(this.uidk);if(!c){c=this.uidx++;m.setAttribute(this.uidk,c)};return c};j.getUIDHTML=function(c){return c.uniqueNumber||(c.uniqueNumber=this.uidx++)};j.sort=function(c){if(!this.documentSorter)return c;c.sort(this.documentSorter);return c};j.cacheNTH={};j.matchNTH=/^([+-]?\d*)?([a-z]+)?([+-]\d+)?$/;j.parseNTHArgument=function(p){var n=p.match(this.matchNTH);if(!n)return false;var o=n[2]||false,m=n[1]||1;if(m=="-")m=-1;var c=+n[3]||0;n=(o=="n")?{a:m,b:c}:(o=="odd")?{a:2,b:1}:(o=="even")?{a:2,b:0}:{a:0,b:m};return(this.cacheNTH[p]=n)};j.createNTHPseudo=function(o,m,c,n){return function(r,p){var t=this.getUID(r);if(!this[c][t]){var z=r.parentNode;if(!z)return false;var q=z[o],s=1;if(n){var y=r.nodeName;do{if(q.nodeName!=y)continue;this[c][this.getUID(q)]=s++}while((q=q[m]))}else do{if(q.nodeType!=1)continue;this[c][this.getUID(q)]=s++}while((q=q[m]))};p=p||"n";var u=this.cacheNTH[p]||this.parseNTHArgument(p);if(!u)return false;var x=u.a,w=u.b,v=this[c][t];if(x==0)return w==v;if(x>0){if(v<w)return false}else if(w<v)return false;return((v-w)%x)==0}};j.pushArray=function(o,c,q,n,m,p){if(this.matchSelector(o,c,q,n,m,p))this.found.push(o)};j.pushUID=function(p,c,r,o,m,q){var n=this.getUID(p);if(!this.uniques[n]&&this.matchSelector(p,c,r,o,m,q)){this.uniques[n]=true;this.found.push(p)}};j.matchNode=function(m,n){if(this.isHTMLDocument&&this.nativeMatchesSelector)try{return this.nativeMatchesSelector.call(m,n.replace(/\[([^=]+)=\s*([^'"\]]+?)\s*\]/g,'[$1="$2"]'))}catch(u){};var t=this.Slick.parse(n);if(!t)return true;var r=t.expressions,p,s=0,q;for(q=0;(currentExpression=r[q]);q++)if(currentExpression.length==1){var o=currentExpression[0];if(this.matchSelector(m,(this.isXMLDocument)?o.tag:o.tag.toUpperCase(),o.id,o.classes,o.attributes,o.pseudos))return true;s++};if(s==t.length)return false;var c=this.search(this.document,t),v;for(q=0;v=c[q++];)if(v===m)return true;return false};j.matchPseudo=function(p,c,o){var m="pseudo:"+c;if(this[m])return this[m](p,o);var n=this.getAttribute(p,c);return o?o==n:!!n};j.matchSelector=function(n,u,c,o,p,r){if(u){var s=(this.isXMLDocument)?n.nodeName:n.nodeName.toUpperCase();if(u=="*"){if(s<"@")return false}else if(s!=u)return false};if(c&&n.getAttribute("id")!=c)return false;var q,m,t;if(o)for(q=o.length;q--;){t=n.getAttribute("class")||n.className;if(!(t&&o[q].regexp.test(t)))return false};if(p)for(q=p.length;q--;){m=p[q];if(m.operator?!m.test(this.getAttribute(n,m.key)):!this.hasAttribute(n,m.key))return false};if(r)for(q=r.length;q--;){m=r[q];if(!this.matchPseudo(n,m.key,m.value))return false};return true};var i={" ":function(p,v,m,q,r,t,o){var s,u,n;if(this.isHTMLDocument){getById:if(m){u=this.document.getElementById(m);if((!u&&p.all)||(this.idGetsName&&u&&u.getAttributeNode("id").nodeValue!=m)){n=p.all[m];if(!n)return;if(!n[0])n=[n];for(s=0;u=n[s++];){var c=u.getAttributeNode("id");if(c&&c.nodeValue==m){this.push(u,v,null,q,r,t);break}};return};if(!u){if(this.contains(this.root,p)){return}else break getById}else if(this.document!==p&&!this.contains(p,u))return;this.push(u,v,null,q,r,t);return};getByClass:if(q&&p.getElementsByClassName&&!this.brokenGEBCN){n=p.getElementsByClassName(o.join(" "));if(!(n&&n.length))break getByClass;for(s=0;u=n[s++];)this.push(u,v,m,null,r,t);return}};getByTag:{n=p.getElementsByTagName(v);if(!(n&&n.length))break getByTag;if(!this.brokenStarGEBTN)v=null;for(s=0;u=n[s++];)this.push(u,v,m,q,r,t)}},">":function(o,c,q,n,m,p){if((o=o.firstChild))do{if(o.nodeType==1)this.push(o,c,q,n,m,p)}while((o=o.nextSibling))},"+":function(o,c,q,n,m,p){while((o=o.nextSibling))if(o.nodeType==1){this.push(o,c,q,n,m,p);break}},"^":function(o,c,q,n,m,p){o=o.firstChild;if(o)if(o.nodeType==1){this.push(o,c,q,n,m,p)}else this["combinator:+"](o,c,q,n,m,p)},"~":function(p,c,r,o,m,q){while((p=p.nextSibling)){if(p.nodeType!=1)continue;var n=this.getUID(p);if(this.bitUniques[n])break;this.bitUniques[n]=true;this.push(p,c,r,o,m,q)}},"++":function(o,c,q,n,m,p){this["combinator:+"](o,c,q,n,m,p);this["combinator:!+"](o,c,q,n,m,p)},"~~":function(o,c,q,n,m,p){this["combinator:~"](o,c,q,n,m,p);this["combinator:!~"](o,c,q,n,m,p)},"!":function(o,c,q,n,m,p){while((o=o.parentNode))if(o!==this.document)this.push(o,c,q,n,m,p)},"!>":function(o,c,q,n,m,p){o=o.parentNode;if(o!==this.document)this.push(o,c,q,n,m,p)},"!+":function(o,c,q,n,m,p){while((o=o.previousSibling))if(o.nodeType==1){this.push(o,c,q,n,m,p);break}},"!^":function(o,c,q,n,m,p){o=o.lastChild;if(o)if(o.nodeType==1){this.push(o,c,q,n,m,p)}else this["combinator:!+"](o,c,q,n,m,p)},"!~":function(p,c,r,o,m,q){while((p=p.previousSibling)){if(p.nodeType!=1)continue;var n=this.getUID(p);if(this.bitUniques[n])break;this.bitUniques[n]=true;this.push(p,c,r,o,m,q)}}};for(var h in i)j["combinator:"+h]=i[h];var k={empty:function(c){var m=c.firstChild;return!(m&&m.nodeType==1)&&!(c.innerText||c.textContent||"").length},not:function(c,m){return!this.matchNode(c,m)},contains:function(c,m){return(c.innerText||c.textContent||"").indexOf(m)>-1},"first-child":function(c){while((c=c.previousSibling))if(c.nodeType==1)return false;return true},"last-child":function(c){while((c=c.nextSibling))if(c.nodeType==1)return false;return true},"only-child":function(n){var m=n;while((m=m.previousSibling))if(m.nodeType==1)return false;var c=n;while((c=c.nextSibling))if(c.nodeType==1)return false;return true},"nth-child":j.createNTHPseudo("firstChild","nextSibling","posNTH"),"nth-last-child":j.createNTHPseudo("lastChild","previousSibling","posNTHLast"),"nth-of-type":j.createNTHPseudo("firstChild","nextSibling","posNTHType",true),"nth-last-of-type":j.createNTHPseudo("lastChild","previousSibling","posNTHTypeLast",true),index:function(m,c){return this["pseudo:nth-child"](m,""+c+1)},even:function(c){return this["pseudo:nth-child"](c,"2n")},odd:function(c){return this["pseudo:nth-child"](c,"2n+1")},"first-of-type":function(c){var m=c.nodeName;while((c=c.previousSibling))if(c.nodeName==m)return false;return true},"last-of-type":function(c){var m=c.nodeName;while((c=c.nextSibling))if(c.nodeName==m)return false;return true},"only-of-type":function(n){var m=n,o=n.nodeName;while((m=m.previousSibling))if(m.nodeName==o)return false;var c=n;while((c=c.nextSibling))if(c.nodeName==o)return false;return true},enabled:function(c){return!c.disabled},disabled:function(c){return c.disabled},checked:function(c){return c.checked||c.selected},focus:function(c){return this.isHTMLDocument&&this.document.activeElement===c&&(c.href||c.type||this.hasAttribute(c,"tabindex"))},root:function(c){return(c===this.root)},selected:function(c){return c.selected}};for(var a in k)j["pseudo:"+a]=k[a];j.attributeGetters={"class":function(){return this.getAttribute("class")||this.className},"for":function(){return("htmlFor"in this)?this.htmlFor:this.getAttribute("for")},href:function(){return("href"in this)?this.getAttribute("href",2):this.getAttribute("href")},style:function(){return(this.style)?this.style.cssText:this.getAttribute("style")},tabindex:function(){var c=this.getAttributeNode("tabindex");return(c&&c.specified)?c.nodeValue:null},type:function(){return this.getAttribute("type")}};var d=j.Slick=(this.Slick||{});d.version="1.1.5";d.search=function(m,n,c){return j.search(m,n,c)};d.find=function(c,m){return j.search(c,m,null,true)};d.contains=function(c,m){j.setDocument(c);return j.contains(c,m)};d.getAttribute=function(m,c){return j.getAttribute(m,c)};d.match=function(m,c){if(!(m&&c))return false;if(!c||c===m)return true;j.setDocument(m);return j.matchNode(m,c)};d.defineAttributeGetter=function(c,m){j.attributeGetters[c]=m;return this};d.lookupAttributeGetter=function(c){return j.attributeGetters[c]};d.definePseudo=function(c,m){j["pseudo:"+c]=function(o,n){return m.call(o,n)};return this};d.lookupPseudo=function(c){var m=j["pseudo:"+c];if(m)return function(n){return m.call(this,n)};return null};d.override=function(m,c){j.override(m,c);return this};d.isXML=j.isXML;d.uidOf=function(c){return j.getUIDHTML(c)};if(!this.Slick)this.Slick=d}).apply((typeof exports!="undefined")?exports:this);var Element=function(b,g){var h=Element.Constructors[b];if(h)return h(g);if(typeof b!="string")return document.id(b).set(g);if(!g)g={};if(!/^[\w-]+$/.test(b)){var e=Slick.parse(b).expressions[0][0];b=(e.tag=="*")?"div":e.tag;if(e.id&&g.id==null)g.id=e.id;var d=e.attributes;if(d)for(var f=0,c=d.length;f<c;f++){var a=d[f];if(g[a.key]!=null)continue;if(a.value!=null&&a.operator=="="){g[a.key]=a.value}else if(!a.value&&!a.operator)g[a.key]=true};if(e.classList&&g["class"]==null)g["class"]=e.classList.join(" ")};return document.newElement(b,g)};if(Browser.Element)Element.prototype=Browser.Element.prototype;new Type("Element",Element).mirror(function(a){if(Array.prototype[a])return;var b={};b[a]=function(){var h=[],e=arguments,j=true;for(var g=0,d=this.length;g<d;g++){var f=this[g],c=h[g]=f[a].apply(f,e);j=(j&&typeOf(c)=="element")};return j?new Elements(h):h};Elements.implement(b)});if(!Browser.Element){Element.parent=Object;Element.Prototype={"$family":Function.from("element").hide()};Element.mirror(function(a,b){Element.Prototype[a]=b})};Element.Constructors={};var IFrame=new Type("IFrame",function(){var e=Array.link(arguments,{properties:Type.isObject,iframe:function(f){return(f!=null)}}),c=e.properties||{},b;if(e.iframe)b=document.id(e.iframe);var d=c.onload||function(){};delete c.onload;c.id=c.name=[c.id,c.name,b?(b.id||b.name):"IFrame_"+String.uniqueID()].pick();b=new Element(b||"iframe",c);var a=function(){d.call(b.contentWindow)};if(window.frames[c.id]){a()}else b.addListener("load",a);return b}),Elements=this.Elements=function(a){if(a&&a.length){var e={},d;for(var c=0;d=a[c++];){var b=Slick.uidOf(d);if(!e[b]){e[b]=true;this.push(d)}}}};Elements.prototype={length:0};Elements.parent=Array;new Type("Elements",Elements).implement({filter:function(a,b){if(!a)return this;return new Elements(Array.filter(this,(typeOf(a)=="string")?function(c){return c.match(a)}:a,b))}.protect(),push:function(){var d=this.length;for(var b=0,a=arguments.length;b<a;b++){var c=document.id(arguments[b]);if(c)this[d++]=c};return(this.length=d)}.protect(),unshift:function(){var b=[];for(var c=0,a=arguments.length;c<a;c++){var d=document.id(arguments[c]);if(d)b.push(d)};return Array.prototype.unshift.apply(this,b)}.protect(),concat:function(){var b=new Elements(this);for(var c=0,a=arguments.length;c<a;c++){var d=arguments[c];if(Type.isEnumerable(d)){b.append(d)}else b.push(d)};return b}.protect(),append:function(c){for(var b=0,a=c.length;b<a;b++)this.push(c[b]);return this}.protect(),empty:function(){while(this.length)delete this[--this.length];return this}.protect()});(function(){var g=Array.prototype.splice,b={"0":0,"1":1,length:2};g.call(b,1,1);if(b[1]==1)Elements.implement("splice",function(){var e=this.length;g.apply(this,arguments);while(e>=this.length)delete this[e--];return this}.protect());Elements.implement(Array.prototype);Array.mirror(Elements);var f;try{var a=document.createElement("<input name=x>");f=(a.name=="x")}catch(c){};var d=function(e){return(""+e).replace(/&/g,"&amp;").replace(/"/g,"&quot;")};Document.implement({newElement:function(e,h){if(h&&h.checked!=null)h.defaultChecked=h.checked;if(f&&h){e="<"+e;if(h.name)e+=' name="'+d(h.name)+'"';if(h.type)e+=' type="'+d(h.type)+'"';e+=">";delete h.name;delete h.type};return this.id(this.createElement(e)).set(h)}})})();Document.implement({newTextNode:function(a){return this.createTextNode(a)},getDocument:function(){return this},getWindow:function(){return this.window},id:(function(){var a={string:function(d,c,b){d=Slick.find(b,"#"+d.replace(/(\W)/g,"\\$1"));return d?a.element(d,c):null},element:function(b,c){$uid(b);if(!c&&!b.$family&&!/^(?:object|embed)$/i.test(b.tagName))Object.append(b,Element.Prototype);return b},object:function(c,d,b){if(c.toElement)return a.element(c.toElement(b),d);return null}};a.textnode=a.whitespace=a.window=a.document=function(b){return b};return function(c,e,d){if(c&&c.$family&&c.uid)return c;var b=typeOf(c);return(a[b])?a[b](c,e,d||document):null}})()});if(window.$==null)Window.implement("$",function(a,b){return document.id(a,b,this.document)});Window.implement({getDocument:function(){return this.document},getWindow:function(){return this}});[Document,Element].invoke("implement",{getElements:function(a){return Slick.search(this,a,new Elements())},getElement:function(a){return document.id(Slick.find(this,a))}});if(window.$$==null)Window.implement("$$",function(a){if(arguments.length==1)if(typeof a=="string"){return Slick.search(this.document,a,new Elements())}else if(Type.isEnumerable(a))return new Elements(a);return new Elements(arguments)});(function(){var k={},i={},n={input:"checked",option:"selected",textarea:"value"},e=function(p){return(i[p]||(i[p]={}))},j=function(q){var p=q.uid;if(q.removeEvents)q.removeEvents();if(q.clearAttributes)q.clearAttributes();if(p!=null){delete k[p];delete i[p]};return q},o=["defaultValue","accessKey","cellPadding","cellSpacing","colSpan","frameBorder","maxLength","readOnly","rowSpan","tabIndex","useMap"],d=["compact","nowrap","ismap","declare","noshade","checked","disabled","readOnly","multiple","selected","noresize","defer","defaultChecked"],g={html:"innerHTML","class":"className","for":"htmlFor",text:(function(){var p=document.createElement("div");return(p.textContent==null)?"innerText":"textContent"})()},m=["type"],h=["value","defaultValue"],l=/^(?:href|src|usemap)$/i;d=d.associate(d);o=o.associate(o.map(String.toLowerCase));m=m.associate(m);Object.append(g,h.associate(h));var c={before:function(q,p){var r=p.parentNode;if(r)r.insertBefore(q,p)},after:function(q,p){var r=p.parentNode;if(r)r.insertBefore(q,p.nextSibling)},bottom:function(q,p){p.appendChild(q)},top:function(q,p){p.insertBefore(q,p.firstChild)}};c.inside=c.bottom;var b=function(s,r){if(!s)return r;s=Object.clone(Slick.parse(s));var q=s.expressions;for(var p=q.length;p--;)q[p][0].combinator=r;return s};Element.implement({set:function(r,q){var p=Element.Properties[r];(p&&p.set)?p.set.call(this,q):this.setProperty(r,q)}.overloadSetter(),get:function(q){var p=Element.Properties[q];return(p&&p.get)?p.get.apply(this):this.getProperty(q)}.overloadGetter(),erase:function(q){var p=Element.Properties[q];(p&&p.erase)?p.erase.apply(this):this.removeProperty(q);return this},setProperty:function(q,r){q=o[q]||q;if(r==null)return this.removeProperty(q);var p=g[q];p?this[p]=r:(d[q])?this[q]=!!r:this.setAttribute(q,""+r);return this},setProperties:function(p){for(var q in p)this.setProperty(q,p[q]);return this},getProperty:function(q){q=o[q]||q;var p=g[q]||m[q];return p?this[p]:(d[q])?!!this[q]:(l.test(q)?this.getAttribute(q,2):(p=this.getAttributeNode(q))?p.nodeValue:null)||null},getProperties:function(){var p=Array.from(arguments);return p.map(this.getProperty,this).associate(p)},removeProperty:function(q){q=o[q]||q;var p=g[q];p?this[p]="":(d[q])?this[q]=false:this.removeAttribute(q);return this},removeProperties:function(){Array.each(arguments,this.removeProperty,this);return this},hasClass:function(p){return this.className.clean().contains(p," ")},addClass:function(p){if(!this.hasClass(p))this.className=(this.className+" "+p).clean();return this},removeClass:function(p){this.className=this.className.replace(new RegExp("(^|\\s)"+p+"(?:\\s|$)"),"$1");return this},toggleClass:function(p,q){if(q==null)q=!this.hasClass(p);return q?this.addClass(p):this.removeClass(p)},adopt:function(){var s=this,p,u=Array.flatten(arguments),t=u.length;if(t>1)s=p=document.createDocumentFragment();for(var r=0;r<t;r++){var q=document.id(u[r],true);if(q)s.appendChild(q)};if(p)this.appendChild(p);return this},appendText:function(q,p){return this.grab(this.getDocument().newTextNode(q),p)},grab:function(q,p){c[p||"bottom"](document.id(q,true),this);return this},inject:function(q,p){c[p||"bottom"](this,document.id(q,true));return this},replaces:function(p){p=document.id(p,true);p.parentNode.replaceChild(this,p);return this},wraps:function(q,p){q=document.id(q,true);return this.replaces(q).grab(q,p)},getPrevious:function(p){return document.id(Slick.find(this,b(p,"!~")))},getAllPrevious:function(p){return Slick.search(this,b(p,"!~"),new Elements())},getNext:function(p){return document.id(Slick.find(this,b(p,"~")))},getAllNext:function(p){return Slick.search(this,b(p,"~"),new Elements())},getFirst:function(p){return document.id(Slick.search(this,b(p,">"))[0])},getLast:function(p){return document.id(Slick.search(this,b(p,">")).getLast())},getParent:function(p){return document.id(Slick.find(this,b(p,"!")))},getParents:function(p){return Slick.search(this,b(p,"!"),new Elements())},getSiblings:function(p){return Slick.search(this,b(p,"~~"),new Elements())},getChildren:function(p){return Slick.search(this,b(p,">"),new Elements())},getWindow:function(){return this.ownerDocument.window},getDocument:function(){return this.ownerDocument},getElementById:function(p){return document.id(Slick.find(this,"#"+(""+p).replace(/(\W)/g,"\\$1")))},getSelected:function(){this.selectedIndex;return new Elements(Array.from(this.options).filter(function(p){return p.selected}))},toQueryString:function(){var p=[];this.getElements("input, select, textarea").each(function(r){var q=r.type;if(!r.name||r.disabled||q=="submit"||q=="reset"||q=="file"||q=="image")return;var s=(r.get("tag")=="select")?r.getSelected().map(function(t){return document.id(t).get("value")}):((q=="radio"||q=="checkbox")&&!r.checked)?null:r.get("value");Array.from(s).each(function(t){if(typeof t!="undefined")p.push(encodeURIComponent(r.name)+"="+encodeURIComponent(t))})});return p.join("&")},destroy:function(){var p=j(this).getElementsByTagName("*");Array.each(p,j);Element.dispose(this);return null},empty:function(){Array.from(this.childNodes).each(Element.dispose);return this},dispose:function(){return(this.parentNode)?this.parentNode.removeChild(this):this},match:function(p){return!p||Slick.match(this,p)}});var a=function(t,s,q){if(!q)t.setAttributeNode(document.createAttribute("id"));if(t.clearAttributes){t.clearAttributes();t.mergeAttributes(s);t.removeAttribute("uid");if(t.options){var u=t.options,p=s.options;for(var r=u.length;r--;)u[r].selected=p[r].selected}};var v=n[s.tagName.toLowerCase()];if(v&&s[v])t[v]=s[v]};Element.implement("clone",function(r,p){r=r!==false;var w=this.cloneNode(r),q;if(r){var s=w.getElementsByTagName("*"),u=this.getElementsByTagName("*");for(q=s.length;q--;)a(s[q],u[q],p)};a(w,this,p);if(Browser.ie){var t=w.getElementsByTagName("object"),v=this.getElementsByTagName("object");for(q=t.length;q--;)t[q].outerHTML=v[q].outerHTML};return document.id(w)});var f={contains:function(p){return Slick.contains(this,p)}};if(!document.contains)Document.implement(f);if(!document.createElement("div").contains)Element.implement(f);[Element,Window,Document].invoke("implement",{addListener:function(s,r){if(s=="unload"){var p=r,q=this;r=function(){q.removeListener("unload",r);p()}}else k[$uid(this)]=this;if(this.addEventListener){this.addEventListener(s,r,!!arguments[2])}else this.attachEvent("on"+s,r);return this},removeListener:function(q,p){if(this.removeEventListener){this.removeEventListener(q,p,!!arguments[2])}else this.detachEvent("on"+q,p);return this},retrieve:function(q,p){var s=e($uid(this)),r=s[q];if(p!=null&&r==null)r=s[q]=p;return r!=null?r:null},store:function(q,p){var r=e($uid(this));r[q]=p;return this},eliminate:function(p){var q=e($uid(this));delete q[p];return this}});if(window.attachEvent&&!window.addEventListener)window.addListener("unload",function(){Object.each(k,j);if(window.CollectGarbage)CollectGarbage()})})();Element.Properties={};Element.Properties.style={set:function(a){this.style.cssText=a},get:function(){return this.style.cssText},erase:function(){this.style.cssText=""}};Element.Properties.tag={get:function(){return this.tagName.toLowerCase()}};(function(a){if(a!=null)Element.Properties.maxlength=Element.Properties.maxLength={get:function(){var b=this.getAttribute("maxLength");return b==a?null:b}}})(document.createElement("input").getAttribute("maxLength"));Element.Properties.html=(function(){var c=Function.attempt(function(){var e=document.createElement("table");e.innerHTML="<tr><td></td></tr>"}),d=document.createElement("div"),a={table:[1,"<table>","</table>"],select:[1,"<select>","</select>"],tbody:[2,"<table><tbody>","</tbody></table>"],tr:[3,"<table><tbody><tr>","</tr></tbody></table>"]};a.thead=a.tfoot=a.tbody;var b={set:function(){var f=Array.flatten(arguments).join(""),g=(!c&&a[this.get("tag")]);if(g){var h=d;h.innerHTML=g[1]+f+g[2];for(var e=g[0];e--;)h=h.firstChild;this.empty().adopt(h.childNodes)}else this.innerHTML=f}};b.erase=b.set;return b})();(function(){var c=document.html;Element.Properties.styles={set:function(f){this.setStyles(f)}};var e=(c.style.opacity!=null),d=/alpha\(opacity=([\d.]+)\)/i,b=function(g,f){if(!g.currentStyle||!g.currentStyle.hasLayout)g.style.zoom=1;if(e){g.style.opacity=f}else{f=(f*100).limit(0,100).round();f=(f==100)?"":"alpha(opacity="+f+")";var h=g.style.filter||g.getComputedStyle("filter")||"";g.style.filter=d.test(h)?h.replace(d,f):h+f}};Element.Properties.opacity={set:function(g){var f=this.style.visibility;if(g==0&&f!="hidden"){this.style.visibility="hidden"}else if(g!=0&&f!="visible")this.style.visibility="visible";b(this,g)},get:e?function(){var f=this.style.opacity||this.getComputedStyle("opacity");return(f=="")?1:f}:function(){var f,g=(this.style.filter||this.getComputedStyle("filter"));if(g)f=g.match(d);return(f==null||g==null)?1:(f[1]/100)}};var a=(c.style.cssFloat==null)?"styleFloat":"cssFloat";Element.implement({getComputedStyle:function(h){if(this.currentStyle)return this.currentStyle[h.camelCase()];var g=Element.getDocument(this).defaultView,f=g?g.getComputedStyle(this,null):null;return f?f.getPropertyValue((h==a)?"float":h.hyphenate()):null},setOpacity:function(f){b(this,f);return this},getOpacity:function(){return this.get("opacity")},setStyle:function(g,f){switch(g){case"opacity":return this.set("opacity",parseFloat(f));case"float":g=a};g=g.camelCase();if(typeOf(f)!="string"){var h=(Element.Styles[g]||"@").split(" ");f=Array.from(f).map(function(k,j){if(!h[j])return"";return(typeOf(k)=="number")?h[j].replace("@",Math.round(k)):k}).join(" ")}else if(f==String(Number(f)))f=Math.round(f);this.style[g]=f;return this},getStyle:function(l){switch(l){case"opacity":return this.get("opacity");case"float":l=a};l=l.camelCase();var f=this.style[l];if(!f||l=="zIndex"){f=[];for(var k in Element.ShortStyles){if(l!=k)continue;for(var j in Element.ShortStyles[k])f.push(this.getStyle(j));return f.join(" ")};f=this.getComputedStyle(l)};if(f){f=String(f);var h=f.match(/rgba?\([\d\s,]+\)/);if(h)f=f.replace(h[0],h[0].rgbToHex())};if(Browser.opera||(Browser.ie&&isNaN(parseFloat(f)))){if(/^(height|width)$/.test(l)){var g=(l=="width")?["left","right"]:["top","bottom"],i=0;g.each(function(m){i+=this.getStyle("border-"+m+"-width").toInt()+this.getStyle("padding-"+m).toInt()},this);return this["offset"+l.capitalize()]-i+"px"};if(Browser.opera&&String(f).indexOf("px")!=-1)return f;if(/^border(.+)Width|margin|padding/.test(l))return"0px"};return f},setStyles:function(g){for(var f in g)this.setStyle(f,g[f]);return this},getStyles:function(){var f={};Array.flatten(arguments).each(function(g){f[g]=this.getStyle(g)},this);return f}});Element.Styles={left:"@px",top:"@px",bottom:"@px",right:"@px",width:"@px",height:"@px",maxWidth:"@px",maxHeight:"@px",minWidth:"@px",minHeight:"@px",backgroundColor:"rgb(@, @, @)",backgroundPosition:"@px @px",color:"rgb(@, @, @)",fontSize:"@px",letterSpacing:"@px",lineHeight:"@px",clip:"rect(@px @px @px @px)",margin:"@px @px @px @px",padding:"@px @px @px @px",border:"@px @ rgb(@, @, @) @px @ rgb(@, @, @) @px @ rgb(@, @, @)",borderWidth:"@px @px @px @px",borderStyle:"@ @ @ @",borderColor:"rgb(@, @, @) rgb(@, @, @) rgb(@, @, @) rgb(@, @, @)",zIndex:"@",zoom:"@",fontWeight:"@",textIndent:"@px",opacity:"@"};Element.ShortStyles={margin:{},padding:{},border:{},borderWidth:{},borderStyle:{},borderColor:{}};["Top","Right","Bottom","Left"].each(function(l){var k=Element.ShortStyles,g=Element.Styles;["margin","padding"].each(function(m){var n=m+l;k[m][n]=g[n]="@px"});var j="border"+l;k.border[j]=g[j]="@px @ rgb(@, @, @)";var i=j+"Width",f=j+"Style",h=j+"Color";k[j]={};k.borderWidth[i]=k[j][i]=g[i]="@px";k.borderStyle[f]=k[j][f]=g[f]="@";k.borderColor[h]=k[j][h]=g[h]="rgb(@, @, @)"})})();(function(){Element.Properties.events={set:function(b){this.addEvents(b)}};[Element,Window,Document].invoke("implement",{addEvent:function(f,h){var i=this.retrieve("events",{});if(!i[f])i[f]={keys:[],values:[]};if(i[f].keys.contains(h))return this;i[f].keys.push(h);var g=f,b=Element.Events[f],d=h,j=this;if(b){if(b.onAdd)b.onAdd.call(this,h);if(b.condition)d=function(k){if(b.condition.call(this,k))return h.call(this,k);return true};g=b.base||g};var e=function(){return h.call(j)},c=Element.NativeEvents[g];if(c){if(c==2)e=function(k){k=new Event(k,j.getWindow());if(d.call(j,k)===false)k.stop()};this.addListener(g,e,arguments[2])};i[f].values.push(e);return this},removeEvent:function(e,d){var c=this.retrieve("events");if(!c||!c[e])return this;var h=c[e],b=h.keys.indexOf(d);if(b==-1)return this;var g=h.values[b];delete h.keys[b];delete h.values[b];var f=Element.Events[e];if(f){if(f.onRemove)f.onRemove.call(this,d);e=f.base||e};return(Element.NativeEvents[e])?this.removeListener(e,g,arguments[2]):this},addEvents:function(b){for(var c in b)this.addEvent(c,b[c]);return this},removeEvents:function(b){var d;if(typeOf(b)=="object"){for(d in b)this.removeEvent(d,b[d]);return this};var c=this.retrieve("events");if(!c)return this;if(!b){for(d in c)this.removeEvents(d);this.eliminate("events")}else if(c[b]){c[b].keys.each(function(e){this.removeEvent(b,e)},this);delete c[b]};return this},fireEvent:function(e,c,b){var d=this.retrieve("events");if(!d||!d[e])return this;c=Array.from(c);d[e].keys.each(function(f){if(b){f.delay(b,this,c)}else f.apply(this,c)},this);return this},cloneEvents:function(e,d){e=document.id(e);var c=e.retrieve("events");if(!c)return this;if(!d){for(var b in c)this.cloneEvents(e,b)}else if(c[d])c[d].keys.each(function(f){this.addEvent(d,f)},this);return this}});Element.NativeEvents={click:2,dblclick:2,mouseup:2,mousedown:2,contextmenu:2,mousewheel:2,DOMMouseScroll:2,mouseover:2,mouseout:2,mousemove:2,selectstart:2,selectend:2,keydown:2,keypress:2,keyup:2,orientationchange:2,touchstart:2,touchmove:2,touchend:2,touchcancel:2,gesturestart:2,gesturechange:2,gestureend:2,focus:2,blur:2,change:2,reset:2,select:2,submit:2,load:2,unload:1,beforeunload:2,resize:1,move:1,DOMContentLoaded:1,readystatechange:1,error:1,abort:1,scroll:1};var a=function(b){var c=b.relatedTarget;if(c==null)return true;if(!c)return false;return(c!=this&&c.prefix!="xul"&&typeOf(this)!="document"&&!this.contains(c))};Element.Events={mouseenter:{base:"mouseover",condition:a},mouseleave:{base:"mouseout",condition:a},mousewheel:{base:(Browser.firefox)?"DOMMouseScroll":"mousewheel"}}})();(function(){var h=document.createElement("div"),e=document.createElement("div");h.style.height="0";h.appendChild(e);var d=(e.offsetParent===h);h=e=null;var l=function(m){return k(m,"position")!="static"||a(m)},i=function(m){return l(m)||/^(?:table|td|th)$/i.test(m.tagName)};Element.implement({scrollTo:function(m,n){if(a(this)){this.getWindow().scrollTo(m,n)}else{this.scrollLeft=m;this.scrollTop=n};return this},getSize:function(){if(a(this))return this.getWindow().getSize();return{x:this.offsetWidth,y:this.offsetHeight}},getScrollSize:function(){if(a(this))return this.getWindow().getScrollSize();return{x:this.scrollWidth,y:this.scrollHeight}},getScroll:function(){if(a(this))return this.getWindow().getScroll();return{x:this.scrollLeft,y:this.scrollTop}},getScrolls:function(){var n=this.parentNode,m={x:0,y:0};while(n&&!a(n)){m.x+=n.scrollLeft;m.y+=n.scrollTop;n=n.parentNode};return m},getOffsetParent:d?function(){var m=this;if(a(m)||k(m,"position")=="fixed")return null;var n=(k(m,"position")=="static")?i:l;while((m=m.parentNode))if(n(m))return m;return null}:function(){var m=this;if(a(m)||k(m,"position")=="fixed")return null;try{return m.offsetParent}catch(n){};return null},getOffsets:function(){if(this.getBoundingClientRect&&!Browser.Platform.ios){var r=this.getBoundingClientRect(),o=document.id(this.getDocument().documentElement),q=o.getScroll(),t=this.getScrolls(),s=(k(this,"position")=="fixed");return{x:r.left.toInt()+t.x+(s?0:q.x)-o.clientLeft,y:r.top.toInt()+t.y+(s?0:q.y)-o.clientTop}};var n=this,m={x:0,y:0};if(a(this))return m;while(n&&!a(n)){m.x+=n.offsetLeft;m.y+=n.offsetTop;if(Browser.firefox){if(!c(n)){m.x+=b(n);m.y+=g(n)};var p=n.parentNode;if(p&&k(p,"overflow")!="visible"){m.x+=b(p);m.y+=g(p)}}else if(n!=this&&Browser.safari){m.x+=b(n);m.y+=g(n)};n=n.offsetParent};if(Browser.firefox&&!c(this)){m.x-=b(this);m.y-=g(this)};return m},getPosition:function(p){if(a(this))return{x:0,y:0};var q=this.getOffsets(),n=this.getScrolls(),m={x:q.x-n.x,y:q.y-n.y};if(p&&(p=document.id(p))){var o=p.getPosition();return{x:m.x-o.x-b(p),y:m.y-o.y-g(p)}};return m},getCoordinates:function(o){if(a(this))return this.getWindow().getCoordinates();var m=this.getPosition(o),n=this.getSize(),p={left:m.x,top:m.y,width:n.x,height:n.y};p.right=p.left+p.width;p.bottom=p.top+p.height;return p},computePosition:function(m){return{left:m.x-j(this,"margin-left"),top:m.y-j(this,"margin-top")}},setPosition:function(m){return this.setStyles(this.computePosition(m))}});[Document,Window].invoke("implement",{getSize:function(){var m=f(this);return{x:m.clientWidth,y:m.clientHeight}},getScroll:function(){var n=this.getWindow(),m=f(this);return{x:n.pageXOffset||m.scrollLeft,y:n.pageYOffset||m.scrollTop}},getScrollSize:function(){var o=f(this),n=this.getSize(),m=this.getDocument().body;return{x:Math.max(o.scrollWidth,m.scrollWidth,n.x),y:Math.max(o.scrollHeight,m.scrollHeight,n.y)}},getPosition:function(){return{x:0,y:0}},getCoordinates:function(){var m=this.getSize();return{top:0,left:0,bottom:m.y,right:m.x,height:m.y,width:m.x}}});var k=Element.getComputedStyle
function j(m,n){return k(m,n).toInt()||0}
function c(m){return k(m,"-moz-box-sizing")=="border-box"}
function g(m){return j(m,"border-top-width")}
function b(m){return j(m,"border-left-width")}
function a(m){return/^(?:body|html)$/i.test(m.tagName)}
function f(m){var n=m.getDocument();return(!n.compatMode||n.compatMode=="CSS1Compat")?n.html:n.body}})();Element.alias({position:"setPosition"});[Window,Document,Element].invoke("implement",{getHeight:function(){return this.getSize().y},getWidth:function(){return this.getSize().x},getScrollTop:function(){return this.getScroll().y},getScrollLeft:function(){return this.getScroll().x},getScrollHeight:function(){return this.getScrollSize().y},getScrollWidth:function(){return this.getScrollSize().x},getTop:function(){return this.getPosition().y},getLeft:function(){return this.getPosition().x}});(function(){var f=this.Fx=new Class({Implements:[Chain,Events,Options],options:{fps:60,unit:false,duration:500,frames:null,frameSkip:true,link:"ignore"},initialize:function(g){this.subject=this.subject||this;this.setOptions(g)},getTransition:function(){return function(g){return-(Math.cos(Math.PI*g)-1)/2}},step:function(g){if(this.options.frameSkip){var h=(this.time!=null)?(g-this.time):0,i=h/this.frameInterval;this.time=g;this.frame+=i}else this.frame++;if(this.frame<this.frames){var j=this.transition(this.frame/this.frames);this.set(this.compute(this.from,this.to,j))}else{this.frame=this.frames;this.set(this.compute(this.from,this.to,1));this.stop()}},set:function(g){return g},compute:function(i,h,g){return f.compute(i,h,g)},check:function(){if(!this.isRunning())return true;switch(this.options.link){case"cancel":this.cancel();return true;case"chain":this.chain(this.caller.pass(arguments,this));return false};return false},start:function(k,j){if(!this.check(k,j))return this;this.from=k;this.to=j;this.frame=(this.options.frameSkip)?0:-1;this.time=null;this.transition=this.getTransition();var i=this.options.frames,h=this.options.fps,g=this.options.duration;this.duration=f.Durations[g]||g.toInt();this.frameInterval=1e3/h;this.frames=i||Math.round(this.duration/this.frameInterval);this.fireEvent("start",this.subject);b.call(this,h);return this},stop:function(){if(this.isRunning()){this.time=null;d.call(this,this.options.fps);if(this.frames==this.frame){this.fireEvent("complete",this.subject);if(!this.callChain())this.fireEvent("chainComplete",this.subject)}else this.fireEvent("stop",this.subject)};return this},cancel:function(){if(this.isRunning()){this.time=null;d.call(this,this.options.fps);this.frame=this.frames;this.fireEvent("cancel",this.subject).clearChain()};return this},pause:function(){if(this.isRunning()){this.time=null;d.call(this,this.options.fps)};return this},resume:function(){if((this.frame<this.frames)&&!this.isRunning())b.call(this,this.options.fps);return this},isRunning:function(){var g=e[this.options.fps];return g&&g.contains(this)}});f.compute=function(i,h,g){return(h-i)*g+i};f.Durations={"short":250,normal:500,"long":1e3};var e={},c={},a=function(){var h=Date.now();for(var j=this.length;j--;){var g=this[j];if(g)g.step(h)}},b=function(h){var g=e[h]||(e[h]=[]);g.push(this);if(!c[h])c[h]=a.periodical(Math.round(1e3/h),g)},d=function(h){var g=e[h];if(g){g.erase(this);if(!g.length&&c[h]){delete e[h];c[h]=clearInterval(c[h])}}}})();Fx.CSS=new Class({Extends:Fx,prepare:function(c,d,b){b=Array.from(b);if(b[1]==null){b[1]=b[0];b[0]=c.getStyle(d)};var a=b.map(this.parse);return{from:a[0],to:a[1]}},parse:function(a){a=Function.from(a)();a=(typeof a=="string")?a.split(" "):Array.from(a);return a.map(function(c){c=String(c);var b=false;Object.each(Fx.CSS.Parsers,function(f,e){if(b)return;var d=f.parse(c);if(d||d===0)b={value:d,parser:f}});b=b||{value:c,parser:Fx.CSS.Parsers.String};return b})},compute:function(d,c,b){var a=[];(Math.min(d.length,c.length)).times(function(e){a.push({value:d[e].parser.compute(d[e].value,c[e].value,b),parser:d[e].parser})});a.$family=Function.from("fx:css:value");return a},serve:function(c,b){if(typeOf(c)!="fx:css:value")c=this.parse(c);var a=[];c.each(function(d){a=a.concat(d.parser.serve(d.value,b))});return a},render:function(a,d,c,b){a.setStyle(d,this.serve(c,b))},search:function(a){if(Fx.CSS.Cache[a])return Fx.CSS.Cache[a];var c={},b=new RegExp("^"+a.escapeRegExp()+"$");Array.each(document.styleSheets,function(f,e){var d=f.href;if(d&&d.contains("://")&&!d.contains(document.domain))return;var g=f.rules||f.cssRules;Array.each(g,function(k,h){if(!k.style)return;var j=(k.selectorText)?k.selectorText.replace(/^\w+/,function(i){return i.toLowerCase()}):null;if(!j||!b.test(j))return;Object.each(Element.Styles,function(l,i){if(!k.style[i]||Element.ShortStyles[i])return;l=String(k.style[i]);c[i]=(/^rgb/.test(l))?l.rgbToHex():l})})});return Fx.CSS.Cache[a]=c}});Fx.CSS.Cache={};Fx.CSS.Parsers={Color:{parse:function(a){if(a.match(/^#[0-9a-f]{3,6}$/i))return a.hexToRgb(true);return(a=a.match(/(\d+),\s*(\d+),\s*(\d+)/))?[a[1],a[2],a[3]]:false},compute:function(c,b,a){return c.map(function(e,d){return Math.round(Fx.compute(c[d],b[d],a))})},serve:function(a){return a.map(Number)}},Number:{parse:parseFloat,compute:Fx.compute,serve:function(b,a){return a?b+a:b}},String:{parse:Function.from(false),compute:function(b,a){return a},serve:function(a){return a}}};Fx.Tween=new Class({Extends:Fx.CSS,initialize:function(b,a){this.element=this.subject=document.id(b);this.parent(a)},set:function(b,a){if(arguments.length==1){a=b;b=this.property||this.options.property};this.render(this.element,b,a,this.options.unit);return this},start:function(c,e,d){if(!this.check(c,e,d))return this;var b=Array.flatten(arguments);this.property=this.options.property||b.shift();var a=this.prepare(this.element,this.property,b);return this.parent(a.from,a.to)}});Element.Properties.tween={set:function(a){this.get("tween").cancel().setOptions(a);return this},get:function(){var a=this.retrieve("tween");if(!a){a=new Fx.Tween(this,{link:"cancel"});this.store("tween",a)};return a}};Element.implement({tween:function(a,c,b){this.get("tween").start(arguments);return this},fade:function(c){var e=this.get("tween"),d="opacity",a;c=[c,"toggle"].pick();switch(c){case"in":e.start(d,1);break;case"out":e.start(d,0);break;case"show":e.set(d,1);break;case"hide":e.set(d,0);break;case"toggle":var b=this.retrieve("fade:flag",this.get("opacity")==1);e.start(d,b?0:1);this.store("fade:flag",!b);a=true;break;default:e.start(d,arguments)};if(!a)this.eliminate("fade:flag");return this},highlight:function(c,a){if(!a){a=this.retrieve("highlight:original",this.getStyle("background-color"));a=(a=="transparent")?"#fff":a};var b=this.get("tween");b.start("background-color",c||"#ffff88",a).chain(function(){this.setStyle("background-color",this.retrieve("highlight:original"));b.callChain()}.bind(this));return this}});Fx.Morph=new Class({Extends:Fx.CSS,initialize:function(b,a){this.element=this.subject=document.id(b);this.parent(a)},set:function(a){if(typeof a=="string")a=this.search(a);for(var b in a)this.render(this.element,b,a[b],this.options.unit);return this},compute:function(e,d,c){var a={};for(var b in e)a[b]=this.parent(e[b],d[b],c);return a},start:function(b){if(!this.check(b))return this;if(typeof b=="string")b=this.search(b);var e={},d={};for(var c in b){var a=this.prepare(this.element,c,b[c]);e[c]=a.from;d[c]=a.to};return this.parent(e,d)}});Element.Properties.morph={set:function(a){this.get("morph").cancel().setOptions(a);return this},get:function(){var a=this.retrieve("morph");if(!a){a=new Fx.Morph(this,{link:"cancel"});this.store("morph",a)};return a}};Element.implement({morph:function(a){this.get("morph").start(a);return this}});Fx.implement({getTransition:function(){var a=this.options.transition||Fx.Transitions.Sine.easeInOut;if(typeof a=="string"){var b=a.split(":");a=Fx.Transitions;a=a[b[0]]||a[b[0].capitalize()];if(b[1])a=a["ease"+b[1].capitalize()+(b[2]?b[2].capitalize():"")]};return a}});Fx.Transition=function(c,b){b=Array.from(b);var a=function(d){return c(d,b)};return Object.append(a,{easeIn:a,easeOut:function(d){return 1-c(1-d,b)},easeInOut:function(d){return(d<=0.5?c(2*d,b):(2-c(2*(1-d),b)))/2}})};Fx.Transitions={linear:function(a){return a}};Fx.Transitions.extend=function(a){for(var b in a)Fx.Transitions[b]=new Fx.Transition(a[b])};Fx.Transitions.extend({Pow:function(b,a){return Math.pow(b,a&&a[0]||6)},Expo:function(a){return Math.pow(2,8*(a-1))},Circ:function(a){return 1-Math.sin(Math.acos(a))},Sine:function(a){return 1-Math.cos(a*Math.PI/2)},Back:function(b,a){a=a&&a[0]||1.618;return Math.pow(b,2)*((a+1)*b-a)},Bounce:function(f){var e;for(var d=0,c=1;1;d+=c,c/=2)if(f>=(7-4*d)/11){e=c*c-Math.pow((11-6*d-11*f)/4,2);break};return e},Elastic:function(b,a){return Math.pow(2,10*--b)*Math.cos(20*b*Math.PI*(a&&a[0]||1)/3)}});["Quad","Cubic","Quart","Quint"].each(function(b,a){Fx.Transitions[b]=new Fx.Transition(function(c){return Math.pow(c,a+2)})});(function(){var d=function(){},a=("onprogress"in new Browser.Request()),c=this.Request=new Class({Implements:[Chain,Events,Options],options:{url:"",data:"",headers:{"X-Requested-With":"XMLHttpRequest",Accept:"text/javascript, text/html, application/xml, text/xml, */*"},async:true,format:false,method:"post",link:"ignore",isSuccess:null,emulation:true,urlEncoded:true,encoding:"utf-8",evalScripts:false,evalResponse:false,timeout:0,noCache:false},initialize:function(e){this.xhr=new Browser.Request();this.setOptions(e);this.headers=this.options.headers},onStateChange:function(){var e=this.xhr;if(e.readyState!=4||!this.running)return;this.running=false;this.status=0;Function.attempt(function(){var f=e.status;this.status=(f==1223)?204:f}.bind(this));e.onreadystatechange=d;if(a)e.onprogress=e.onloadstart=d;clearTimeout(this.timer);this.response={text:this.xhr.responseText||"",xml:this.xhr.responseXML};if(this.options.isSuccess.call(this,this.status)){this.success(this.response.text,this.response.xml)}else this.failure()},isSuccess:function(){var e=this.status;return(e>=200&&e<300)},isRunning:function(){return!!this.running},processScripts:function(e){if(this.options.evalResponse||/(ecma|java)script/.test(this.getHeader("Content-type")))return Browser.exec(e);return e.stripScripts(this.options.evalScripts)},success:function(f,e){this.onSuccess(this.processScripts(f),e)},onSuccess:function(){this.fireEvent("complete",arguments).fireEvent("success",arguments).callChain()},failure:function(){this.onFailure()},onFailure:function(){this.fireEvent("complete").fireEvent("failure",this.xhr)},loadstart:function(e){this.fireEvent("loadstart",[e,this.xhr])},progress:function(e){this.fireEvent("progress",[e,this.xhr])},timeout:function(){this.fireEvent("timeout",this.xhr)},setHeader:function(e,f){this.headers[e]=f;return this},getHeader:function(e){return Function.attempt(function(){return this.xhr.getResponseHeader(e)}.bind(this))},check:function(){if(!this.running)return true;switch(this.options.link){case"cancel":this.cancel();return true;case"chain":this.chain(this.caller.pass(arguments,this));return false};return false},send:function(o){if(!this.check(o))return this;this.options.isSuccess=this.options.isSuccess||this.isSuccess;this.running=true;var l=typeOf(o);if(l=="string"||l=="element")o={data:o};var h=this.options;o=Object.append({data:h.data,url:h.url,method:h.method},o);var j=o.data,f=String(o.url),e=o.method.toLowerCase();switch(typeOf(j)){case"element":j=document.id(j).toQueryString();break;case"object":case"hash":j=Object.toQueryString(j)};if(this.options.format){var m="format="+this.options.format;j=j?m+"&"+j:m};if(this.options.emulation&&!["get","post"].contains(e)){var k="_method="+e;j=j?k+"&"+j:k;e="post"};if(this.options.urlEncoded&&["post","put"].contains(e)){var g=(this.options.encoding)?"; charset="+this.options.encoding:"";this.headers["Content-type"]="application/x-www-form-urlencoded"+g};if(!f)f=document.location.pathname;var i=f.lastIndexOf("/");if(i>-1&&(i=f.indexOf("#"))>-1)f=f.substr(0,i);if(this.options.noCache)f+=(f.contains("?")?"&":"?")+String.uniqueID();if(j&&e=="get"){f+=(f.contains("?")?"&":"?")+j;j=null};var n=this.xhr;if(a){n.onloadstart=this.loadstart.bind(this);n.onprogress=this.progress.bind(this)};n.open(e.toUpperCase(),f,this.options.async,this.options.user,this.options.password);if(this.options.user&&"withCredentials"in n)n.withCredentials=true;n.onreadystatechange=this.onStateChange.bind(this);Object.each(this.headers,function(q,p){try{n.setRequestHeader(p,q)}catch(r){this.fireEvent("exception",[p,q])}},this);this.fireEvent("request");n.send(j);if(!this.options.async)this.onStateChange();if(this.options.timeout)this.timer=this.timeout.delay(this.options.timeout,this);return this},cancel:function(){if(!this.running)return this;this.running=false;var e=this.xhr;e.abort();clearTimeout(this.timer);e.onreadystatechange=d;if(a)e.onprogress=e.onloadstart=d;this.xhr=new Browser.Request();this.fireEvent("cancel");return this}}),b={};["get","post","put","delete","GET","POST","PUT","DELETE"].each(function(e){b[e]=function(g){var f={method:e};if(g!=null)f.data=g;return this.send(f)}});c.implement(b);Element.Properties.send={set:function(e){var f=this.get("send").cancel();f.setOptions(e);return this},get:function(){var e=this.retrieve("send");if(!e){e=new c({data:this,link:"cancel",method:this.get("method")||"post",url:this.get("action")});this.store("send",e)};return e}};Element.implement({send:function(e){var f=this.get("send");f.send({data:this,url:e||f.options.url});return this}})})();Request.HTML=new Class({Extends:Request,options:{update:false,append:false,evalScripts:true,filter:false,headers:{Accept:"text/html, application/xml, text/xml, */*"}},success:function(e){var d=this.options,b=this.response;b.html=e.stripScripts(function(f){b.javascript=f});var c=b.html.match(/<body[^>]*>([\s\S]*?)<\/body>/i);if(c)b.html=c[1];var a=new Element("div").set("html",b.html);b.tree=a.childNodes;b.elements=a.getElements("*");if(d.filter)b.tree=b.elements.filter(d.filter);if(d.update){document.id(d.update).empty().set("html",b.html)}else if(d.append)document.id(d.append).adopt(a.getChildren());if(d.evalScripts)Browser.exec(b.javascript);this.onSuccess(b.tree,b.elements,b.html,b.javascript)}});Element.Properties.load={set:function(a){var b=this.get("load").cancel();b.setOptions(a);return this},get:function(){var a=this.retrieve("load");if(!a){a=new Request.HTML({data:this,link:"cancel",update:this,method:"get"});this.store("load",a)};return a}};Element.implement({load:function(){this.get("load").send(Array.link(arguments,{data:Type.isObject,url:Type.isString}));return this}});if(typeof JSON=="undefined")this.JSON={};(function(){var special={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},escape=function(chr){return special[chr]||"\\u"+("0000"+chr.charCodeAt(0).toString(16)).slice(-4)};JSON.validate=function(string){string=string.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"");return/^[\],:{}\s]*$/.test(string)};JSON.encode=JSON.stringify?function(obj){return JSON.stringify(obj)}:function(obj){if(obj&&obj.toJSON)obj=obj.toJSON();switch(typeOf(obj)){case"string":return'"'+obj.replace(/[\x00-\x1f\\"]/g,escape)+'"';case"array":return"["+obj.map(JSON.encode).clean()+"]";case"object":case"hash":var string=[];Object.each(obj,function(value,key){var json=JSON.encode(value);if(json)string.push(JSON.encode(key)+":"+json)});return"{"+string+"}";case"number":case"boolean":return""+obj;case"null":return"null"};return null};JSON.decode=function(string,secure){if(!string||typeOf(string)!="string")return null;if(secure||JSON.secure){if(JSON.parse)return JSON.parse(string);if(!JSON.validate(string))throw new Error("JSON could not decode the input; security is enabled and the value is not secure.")};return eval("("+string+")")}})();Request.JSON=new Class({Extends:Request,options:{secure:true},initialize:function(a){this.parent(a);Object.append(this.headers,{Accept:"application/json","X-Request":"JSON"})},success:function(c){var b;try{b=this.response.json=JSON.decode(c,this.options.secure)}catch(a){this.fireEvent("error",[c,a]);return};if(b==null){this.onFailure()}else this.onSuccess(b,c)}});var Cookie=new Class({Implements:Options,options:{path:"/",domain:false,duration:false,secure:false,document:document,encode:true},initialize:function(b,a){this.key=b;this.setOptions(a)},write:function(b){if(this.options.encode)b=encodeURIComponent(b);if(this.options.domain)b+="; domain="+this.options.domain;if(this.options.path)b+="; path="+this.options.path;if(this.options.duration){var a=new Date();a.setTime(a.getTime()+this.options.duration*24*60*60*1e3);b+="; expires="+a.toGMTString()};if(this.options.secure)b+="; secure";this.options.document.cookie=this.key+"="+b;return this},read:function(){var a=this.options.document.cookie.match("(?:^|;)\\s*"+this.key.escapeRegExp()+"=([^;]*)");return a?decodeURIComponent(a[1]):null},dispose:function(){new Cookie(this.key,Object.merge({},this.options,{duration:-1})).write("");return this}});Cookie.write=function(b,c,a){return new Cookie(b,a).write(c)};Cookie.read=function(a){return new Cookie(a).read()};Cookie.dispose=function(b,a){return new Cookie(b,a).dispose()};(function(i,k){var l,f,e=[],c,b,d=k.createElement("div"),g=function(){clearTimeout(b);if(l)return;Browser.loaded=l=true;k.removeListener("DOMContentLoaded",g).removeListener("readystatechange",a);k.fireEvent("domready");i.fireEvent("domready")},a=function(){for(var m=e.length;m--;)if(e[m]()){g();return true};return false},j=function(){clearTimeout(b);if(!a())b=setTimeout(j,10)};k.addListener("DOMContentLoaded",g);var h=function(){try{d.doScroll();return true}catch(m){};return false};if(d.doScroll&&!h()){e.push(h);c=true};if(k.readyState)e.push(function(){var m=k.readyState;return(m=="loaded"||m=="complete")});if("onreadystatechange"in k){k.addListener("readystatechange",a)}else c=true;if(c)j();Element.Events.domready={onAdd:function(m){if(l)m.call(this)}};Element.Events.load={base:"load",onAdd:function(m){if(f&&this==i)m.call(this)},condition:function(){if(this==i){g();delete Element.Events.load};return true}};i.addEvent("load",function(){f=true})})(window,document);(function(){var Swiff=this.Swiff=new Class({Implements:Options,options:{id:null,height:1,width:1,container:null,properties:{},params:{quality:"high",allowScriptAccess:"always",wMode:"window",swLiveConnect:true},callBacks:{},vars:{}},toElement:function(){return this.object},initialize:function(path,options){this.instance="Swiff_"+String.uniqueID();this.setOptions(options);options=this.options;var id=this.id=options.id||this.instance,container=document.id(options.container);Swiff.CallBacks[this.instance]={};var params=options.params,vars=options.vars,callBacks=options.callBacks,properties=Object.append({height:options.height,width:options.width},options.properties),self=this;for(var callBack in callBacks){Swiff.CallBacks[this.instance][callBack]=(function(option){return function(){return option.apply(self.object,arguments)}})(callBacks[callBack]);vars[callBack]="Swiff.CallBacks."+this.instance+"."+callBack};params.flashVars=Object.toQueryString(vars);if(Browser.ie){properties.classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000";params.movie=path}else properties.type="application/x-shockwave-flash";properties.data=path;var build='<object id="'+id+'"';for(var property in properties)build+=" "+property+'="'+properties[property]+'"';build+=">";for(var param in params)if(params[param])build+='<param name="'+param+'" value="'+params[param]+'" />';build+="</object>";this.object=(container?container.empty():new Element("div")).set("html",build).firstChild},replaces:function(element){element=document.id(element,true);element.parentNode.replaceChild(this.toElement(),element);return this},inject:function(element){document.id(element,true).appendChild(this.toElement());return this},remote:function(){return Swiff.remote.apply(Swiff,[this.toElement()].append(arguments))}});Swiff.CallBacks={};Swiff.remote=function(obj,fn){var rs=obj.CallFunction('<invoke name="'+fn+'" returntype="javascript">'+__flash__argumentsToXML(arguments,2)+"</invoke>");return eval(rs)}})();MooTools.More={version:"1.3.2.1",build:"e586bcd2496e9b22acfde32e12f84d49ce09e59d"};Fx.Elements=new Class({Extends:Fx.CSS,initialize:function(b,a){this.elements=this.subject=$$(b);this.parent(a)},compute:function(g,h,j){var c={};for(var d in g){var a=g[d],e=h[d],f=c[d]={};for(var b in a)f[b]=this.parent(a[b],e[b],j)};return c},set:function(b){for(var c in b){if(!this.elements[c])continue;var a=b[c];for(var d in a)this.render(this.elements[c],d,a[d],this.options.unit)};return this},start:function(c){if(!this.check(c))return this;var h={},j={};for(var d in c){if(!this.elements[d])continue;var f=c[d],a=h[d]={},g=j[d]={};for(var b in f){var e=this.prepare(this.elements[d],b,f[b]);a[b]=e.from;g[b]=e.to}};return this.parent(h,j)}});var Asset={javascript:function(f,c){if(!c)c={};var a=new Element("script",{src:f,type:"text/javascript"}),g=c.document||document,b=0,d=c.onload||c.onLoad,e=d?function(){if(++b==1)d.call(this)}:function(){};delete c.onload;delete c.onLoad;delete c.document;return a.addEvents({load:e,readystatechange:function(){if(["loaded","complete"].contains(this.readyState))e.call(this)}}).set(c).inject(g.head)},css:function(d,a){if(!a)a={};var b=new Element("link",{rel:"stylesheet",media:"screen",type:"text/css",href:d}),c=a.onload||a.onLoad,e=a.document||document;delete a.onload;delete a.onLoad;delete a.document;if(c)b.addEvent("load",c);return b.set(a).inject(e.head)},image:function(c,b){if(!b)b={};var d=new Image(),a=document.id(d)||new Element("img");["load","abort","error"].each(function(e){var g="on"+e,f="on"+e.capitalize(),h=b[g]||b[f]||function(){};delete b[f];delete b[g];d[g]=function(){if(!d)return;if(!a.parentNode){a.width=d.width;a.height=d.height};d=d.onload=d.onabort=d.onerror=null;h.delay(1,a,a);a.fireEvent(e,a,1)}});d.src=a.src=c;if(d&&d.complete)d.onload.delay(1);return a.set(b)},images:function(c,b){c=Array.from(c);var d=function(){},a=0;b=Object.merge({onComplete:d,onProgress:d,onError:d,properties:{}},b);return new Elements(c.map(function(f,e){return Asset.image(f,Object.append(b.properties,{onload:function(){a++;b.onProgress.call(this,a,e,f);if(a==c.length)b.onComplete()},onerror:function(){a++;b.onError.call(this,a,e,f);if(a==c.length)b.onComplete()}}))}))}};
(function(){WhenPaused=1<<0;WhenPlaying=1<<1;OnStart=1<<2;Slideshow=new Class({Implements:[Chain,Events,Options],options:{accesskeys:{first:{key:'shift left',label:'Shift + Leftwards Arrow'},prev:{key:'left',label:'Leftwards Arrow'},pause:{key:'p',label:'P'},next:{key:'right',label:'Rightwards Arrow'},last:{key:'shift right',label:'Shift + Rightwards Arrow'}},captions:true,center:true,classes:[],controller:true,data:null,delay:2e3,duration:1e3,fast:false,height:false,href:'',hu:'',linked:false,loader:true,loop:true,match:/\?slide=(\d+)$/,overlap:true,paused:false,random:false,replace:[/(\.[^\.]+)$/,'t$1'],resize:'fill',slide:0,thumbnails:true,titles:false,transition:'sine:in:out',width:false},initialize:function(el,data,options){this.setOptions(options);this.el=document.id(el);if(!this.el)return;var match=window.location.href.match(this.options.match);this.slide=this._slide=this.options.match&&match?match[1].toInt():this.options.slide;this.counter=this.timeToNextTransition=this.timeToTransitionComplete=0;this.direction='left';this.cache={};this.paused=false;if(!this.options.overlap)this.options.duration*=2;var anchor=this.el.getElement('a')||new Element('a');if(!this.options.href)this.options.href=anchor.get('href')||'';if(this.options.hu.length&&!this.options.hu.test(/\/$/))this.options.hu+='/';if(this.options.fast===true)this.options.fast=WhenPaused|WhenPlaying;var keys='slideshow first prev play pause next last images captions controller thumbnails hidden visible inactive active loader'.split(' '),values=keys.map(function(key,i){return this.options.classes[i]||key},this);this.classes=values.associate(keys);this.classes.get=function(){var str='.'+this.slideshow;for(var i=0,l=arguments.length;i<l;i++)str+='-'+this[arguments[i]];return str}.bind(this.classes);if(!data){this.options.hu='';data={};var thumbnails=this.el.getElements(this.classes.get('thumbnails')+' img');this.el.getElements(this.classes.get('images')+' img').each(function(img,i){var src=img.src,caption=img.alt||img.title,href=img.getParent().href,thumbnail=thumbnails[i]?thumbnails[i].src:'';data[src]={caption:caption,href:href,thumbnail:thumbnail}})};var loaded=this.load(data);if(!loaded)return;this.events={};this.events.push=function(type,fn){if(!this[type])this[type]=[];this[type].push(fn);document.addEvent(type,fn);return this}.bind(this.events);this.accesskeys={};for(action in this.options.accesskeys){var obj=this.options.accesskeys[action];this.accesskeys[action]=accesskey={label:obj.label};['shift','control','alt'].each(function(modifier){var re=new RegExp(modifier,'i');accesskey[modifier]=obj.key.test(re);obj.key=obj.key.replace(re,'')});accesskey.key=obj.key.trim()};this.events.push('keyup',function(e){Object.each(this.accesskeys,function(accesskey,action){if(e.key==accesskey.key&&e.shift==accesskey.shift&&e.control==accesskey.control&&e.alt==accesskey.alt)this[action]()},this)}.bind(this));var el=this.el.getElement(this.classes.get('images')),img=this.el.getElement('img')||new Element('img'),images=el?el.empty():new Element('div',{'class':this.classes.get('images').substr(1)}).inject(this.el),div=images.getSize();this.height=this.options.height||div.y;this.width=this.options.width||div.x;images.set({styles:{height:this.height,width:this.width}});this.el.store('images',images);this.a=this.image=img;if(Browser.ie&&Browser.version>=7)this.a.style.msInterpolationMode='bicubic';this.a.set('styles',{display:'none'});this.b=this.a.clone();[this.a,this.b].each(function(img){anchor.clone().cloneEvents(anchor).grab(img).inject(images)});this.options.captions&&new Caption(this);this.options.controller&&new Controller(this);this.options.loader&&new Loader(this);this.options.thumbnails&&new Thumbnails(this);this._preload(this.options.fast&OnStart)},go:function(n,direction){var nextSlide=(this.slide+this.data.images.length)%this.data.images.length;if(n==nextSlide||Date.now()<this.timeToTransitionComplete)return;clearTimeout(this.timer);this.timeToNextTransition=0;this.direction=direction?direction:n<this._slide?'right':'left';this.slide=this._slide=n;if(this.preloader)this.preloader=this.preloader.destroy();this._preload((this.options.fast&WhenPlaying)||(this.paused&&this.options.fast&WhenPaused))},first:function(){this.prev(true)},prev:function(first){var n=0;if(!first)if(this.options.random){if(this.showed.i<2)return;this.showed.i-=2;n=this.showed.array[this.showed.i]}else n=(this.slide-1+this.data.images.length)%this.data.images.length;this.go(n,'right')},pause:function(p){if(p!=undefined)this.paused=p?false:true;if(this.paused){this.paused=false;this.timeToTransitionComplete=Date.now()+this.timeToTransitionComplete;this.timer=this._preload.delay(50,this);[this.a,this.b].each(function(img){['morph','tween'].each(function(p){if(this.retrieve(p))this.get(p).resume()},img)});this.controller&&this.el.retrieve('pause').getParent().removeClass(this.classes.play)}else{this.paused=true;this.timeToTransitionComplete=this.timeToTransitionComplete-Date.now();clearTimeout(this.timer);[this.a,this.b].each(function(img){['morph','tween'].each(function(p){if(this.retrieve(p))this.get(p).pause()},img)});this.controller&&this.el.retrieve('pause').getParent().addClass(this.classes.play)}},next:function(last){var n=last?this.data.images.length-1:this._slide;this.go(n,'left')},last:function(){this.next(true)},load:function(data){this.firstrun=true;this.showed={array:[],i:0};if(typeOf(data)=='array'){this.options.captions=false;data=new Array(data.length).associate(data.map(function(image,i){return image+'?'+i}))};this.data={images:[],captions:[],hrefs:[],thumbnails:[],targets:[],titles:[]};for(var image in data){var obj=data[image]||{},image=this.options.hu+image,caption=obj.caption?obj.caption.trim():'',href=obj.href?obj.href.trim():this.options.linked?image:this.options.href,target=obj.target?obj.target.trim():'_self',thumbnail=obj.thumbnail?this.options.hu+obj.thumbnail.trim():image.replace(this.options.replace[0],this.options.replace[1]),title=caption.replace(/<.+?>/gm,'').replace(/</g,'&lt;').replace(/>/g,'&gt;').replace(/"/g,"'");this.data.images.push(image);this.data.captions.push(caption);this.data.hrefs.push(href);this.data.targets.push(target);this.data.thumbnails.push(thumbnail);this.data.titles.push(title)};if(this.options.random)this.slide=this._slide=Number.random(0,this.data.images.length-1);if(this.options.thumbnails&&this.el.retrieve('thumbnails'))this._thumbnails();if(this.el.retrieve('images')){[this.a,this.b].each(function(img){['morph','tween'].each(function(p){if(this.retrieve(p))this.get(p).cancel()},img)});this.slide=this._slide=this.timeToTransitionComplete=0;this.go(0)};return this.data.images.length},destroy:function(p){Object.each(this.events,function(array,e){if('each'in array)array.each(function(fn){document.removeEvent(e,fn)})});this.pause(1);'caption loader thumbnails'.split(' ').each(function(i,timer){this.options[i]&&(timer=this[i].retrieve('timer'))&&clearTimeout(timer)},this);typeOf(this.el[p])=='function'&&this.el[p]();delete this.el.uid},_preload:function(fast){var src=this.data.images[this._slide].replace(/([^?]+).*/,'$1'),cached=loaded=!!this.cache[src];if(!cached){if(!this.preloader)this.preloader=new Asset.image(src,{onerror:function(){},onload:function(){this.store('loaded',true)}});loaded=this.preloader.retrieve('loaded')&&this.preloader.get('width')};if(loaded&&Date.now()>this.timeToNextTransition&&Date.now()>this.timeToTransitionComplete){var src=this.data.images[this._slide].replace(/([^?]+).*/,'$1');if(this.preloader)this.cache[src]={height:this.preloader.get('height'),src:src,width:this.preloader.get('width')};if(this.stopped){if(this.options.captions)this.caption.get('morph').cancel().start(this.classes.get('captions','hidden'));this.pause(1);if(this.end)this.fireEvent('end');this.stopped=this.end=false;return};this.image=this.counter%2?this.b:this.a;this.image.set('styles',{display:'block',height:null,visibility:'hidden',width:null,zIndex:this.counter});this.image.set(this.cache[src]);this.image.width=this.cache[src].width;this.image.height=this.cache[src].height;this.options.resize&&this._resize(this.image);this.options.center&&this._center(this.image);var anchor=this.image.getParent();if(this.data.hrefs[this._slide]){anchor.set('href',this.data.hrefs[this._slide]);anchor.set('target',this.data.targets[this._slide])}else{anchor.erase('href');anchor.erase('target')};var title=this.data.titles[this._slide];this.image.set('alt',title);this.options.titles&&anchor.set('title',title);this.options.loader&&this.loader.fireEvent('hide');this.options.captions&&this.caption.fireEvent('update',fast);this.options.thumbnails&&this.thumbnails.fireEvent('update',fast);this._show(fast);this._loaded(fast)}else{if(Date.now()>this.timeToNextTransition&&this.options.loader)this.loader.fireEvent('show');this.timer=this._preload.delay(50,this,fast)}},_show:function(fast){if(!this.image.retrieve('morph')){var options=this.options.overlap?{link:'cancel'}:{link:'chain'};$$(this.a,this.b).set('morph',Object.merge(options,{duration:this.options.duration,onStart:this._start.bind(this),onComplete:this._complete.bind(this),transition:this.options.transition}))};var hidden=this.classes.get('images',(this.direction=='left'?'next':'prev')),visible=this.classes.get('images','visible'),img=this.counter%2?this.a:this.b;if(fast){img.get('morph').cancel().set(hidden);this.image.get('morph').cancel().set(visible)}else if(this.options.overlap){img.get('morph').set(visible);this.image.get('morph').set(hidden).start(visible)}else{var fn=function(visible){this.image.get('morph').start(visible)}.pass(visible,this);if(this.firstrun)return fn();hidden=this.classes.get('images',(this.direction=='left'?'prev':'next'));this.image.get('morph').set(hidden);img.get('morph').set(visible).start(hidden).chain(fn)}},_loaded:function(fast){this.counter++;this.timeToNextTransition=Date.now()+this.options.duration+this.options.delay;this.direction='left';this.timeToTransitionComplete=fast?0:Date.now()+this.options.duration;if(this._slide==(this.data.images.length-1)&&!this.options.loop&&!this.options.random)this.stopped=this.end=true;if(this.options.random){this.showed.i++;if(this.showed.i>=this.showed.array.length){var n=this._slide;if(this.showed.array.getLast()!=n)this.showed.array.push(n);while(this._slide==n)this.slide=this._slide=Number.random(0,this.data.images.length-1)}else this.slide=this._slide=this.showed.array[this.showed.i]}else{this.slide=this._slide;this._slide=(this.slide+1)%this.data.images.length};if(this.image.getStyle('visibility')!='visible')(function(){this.image.setStyle('visibility','visible')}).delay(1,this);if(this.preloader)this.preloader=this.preloader.destroy();this.paused||this._preload()},_center:function(img){var size=img.getSize(),h=size.y,w=size.x;img.set('styles',{left:(w-this.width)/-2,top:(h-this.height)/-2})},_resize:function(img){var h=img.get('height').toFloat(),w=img.get('width').toFloat(),dh=this.height/h,dw=this.width/w;if(this.options.resize=='fit')dh=dw=dh>dw?dw:dh;if(this.options.resize=='fill')dh=dw=dh>dw?dh:dw;img.set('styles',{height:Math.ceil(h*dh),width:Math.ceil(w*dw)})},_start:function(){this.fireEvent('start')},_complete:function(){if(this.firstrun&&this.options.paused)this.pause(1);this.firstrun=false;this.fireEvent('complete')}});var Caption=new Class({Implements:[Chain,Events,Options],options:{delay:0,link:'cancel'},initialize:function(slideshow){if(!slideshow)return;var options=slideshow.options.captions;if(options===true)options={};this.setOptions(options);var el=slideshow.el.getElement(slideshow.classes.get('captions')),caption=el?el.dispose().empty():new Element('div',{'class':slideshow.classes.get('captions').substr(1)});slideshow.caption=caption;caption.set({'aria-busy':false,'aria-hidden':false,events:{update:this.update.bind(slideshow)},morph:this.options,role:'description'}).store('delay',this.options.delay);if(!caption.get('id'))caption.set('id','Slideshow-'+Date.now());slideshow.el.retrieve('images').set('aria-labelledby',caption.get('id'));caption.inject(slideshow.el)},update:function(fast){var empty=!this.data.captions[this._slide].length,timer;if(timer=this.caption.retrieve('timer'))clearTimeout(timer);if(fast){var p=empty?'hidden':'visible';this.caption.set({'aria-hidden':empty,html:this.data.captions[this._slide]}).get('morph').cancel().set(this.classes.get('captions',p))}else{var fn1=empty?function(){}:function(caption){this.caption.store('timer',setTimeout(function(caption){this.caption.set('html',caption).morph(this.classes.get('captions','visible'))}.pass(caption,this),this.caption.retrieve('delay')))}.pass(this.data.captions[this._slide],this),fn2=function(){this.caption.set('aria-busy',false)}.bind(this);this.caption.set('aria-busy',true).get('morph').cancel().start(this.classes.get('captions','hidden')).chain(fn1,fn2)}}}),Controller=new Class({Implements:[Chain,Events,Options],options:{link:'cancel'},initialize:function(slideshow){if(!slideshow)return;var options=slideshow.options.captions;if(options===true)options={};this.setOptions(options);var el=slideshow.el.getElement(slideshow.classes.get('controller')),controller=el?el.dispose().empty():new Element('div',{'class':slideshow.classes.get('controller').substr(1)});slideshow.controller=controller;controller.set({'aria-hidden':false,role:'menubar'});var ul=new Element('ul',{role:'menu'}).inject(controller),i=0;Object.each(slideshow.accesskeys,function(accesskey,action){var li=new Element('li',{'class':(action=='pause'&&this.options.paused)?this.classes.play+' '+this.classes[action]:this.classes[action]}).inject(ul),a=this.el.retrieve(action,new Element('a',{role:'menuitem',tabindex:i++,title:accesskey.label}).inject(li));a.set('events',{click:function(action){this[action]()}.pass(action,this),mouseenter:function(active){this.addClass(active)}.pass(this.classes.active,a),mouseleave:function(active){this.removeClass(active)}.pass(this.classes.active,a)})},slideshow);controller.set({events:{hide:this.hide.pass(slideshow.classes.get('controller','hidden'),controller),show:this.show.pass(slideshow.classes.get('controller','visible'),controller)},morph:this.options}).store('hidden',false);slideshow.events.push('keydown',this.keydown.bind(slideshow)).push('keyup',this.keyup.bind(slideshow)).push('mousemove',this.mousemove.bind(slideshow));controller.inject(slideshow.el).fireEvent('hide')},hide:function(hidden){if(this.get('aria-hidden')=='false')this.set('aria-hidden',true).morph(hidden)},keydown:function(e){Object.each(this.accesskeys,function(accesskey,action){if(e.key==accesskey.key&&e.shift==accesskey.shift&&e.control==accesskey.control&&e.alt==accesskey.alt){if(this.controller.get('aria-hidden')=='true')this.controller.get('morph').set(this.classes.get('controller','visible'));this.el.retrieve(action).fireEvent('mouseenter')}},this)},keyup:function(e){Object.each(this.accesskeys,function(accesskey,action){if(e.key==accesskey.key&&e.shift==accesskey.shift&&e.control==accesskey.control&&e.alt==accesskey.alt){if(this.controller.get('aria-hidden')=='true')this.controller.set('aria-hidden',false).fireEvent('hide');this.el.retrieve(action).fireEvent('mouseleave')}},this)},mousemove:function(e){var images=this.el.retrieve('images').getCoordinates(),action=(e.page.x>images.left&&e.page.x<images.right&&e.page.y>images.top&&e.page.y<images.bottom)?'show':'hide';this.controller.fireEvent(action)},show:function(visible){if(this.get('aria-hidden')=='true')this.set('aria-hidden',false).morph(visible)}}),Loader=new Class({Implements:[Chain,Events,Options],options:{fps:20,link:'cancel'},initialize:function(slideshow){if(!slideshow)return;var options=slideshow.options.loader;if(options===true)options={};this.setOptions(options);var loader=new Element('div',{'aria-hidden':false,'class':slideshow.classes.get('loader').substr(1),morph:this.options,role:'progressbar'}).store('animate',false).store('i',0).store('delay',1e3/this.options.fps).inject(slideshow.el);slideshow.loader=loader;var url=loader.getStyle('backgroundImage').replace(/url\(['"]?(.*?)['"]?\)/,'$1').trim();if(url){if(url.test(/\.png$/)&&Browser.ie&&Browser.version<7)loader.setStyles({backgroundImage:'none',filter:'progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+url+'", sizingMethod="crop")'});new Asset.image(url,{onload:function(){var size=loader.getSize(),width=this.get('width'),height=this.get('height');if(width>size.x)loader.store('x',size.x).store('animate','x').store('frames',(width/size.x).toInt());if(height>size.y)loader.store('y',size.y).store('animate','y').store('frames',(height/size.y).toInt())}})};loader.set('events',{animate:this.animate.bind(loader),hide:this.hide.pass(slideshow.classes.get('loader','hidden'),loader),show:this.show.pass(slideshow.classes.get('loader','visible'),loader)});loader.fireEvent('hide')},animate:function(){var animate=this.retrieve('animate');if(!animate)return;var i=(this.retrieve('i').toInt()+1)%this.retrieve('frames');this.store('i',i);var n=(i*this.retrieve(animate))+'px';if(animate=='x')this.setStyle('backgroundPosition',n+' 0px');if(animate=='y')this.setStyle('backgroundPosition','0px '+n)},hide:function(hidden){if(this.get('aria-hidden')=='false'){this.set('aria-hidden',true).morph(hidden);if(this.retrieve('animate'))clearTimeout(this.retrieve('timer'))}},show:function(visible){if(this.get('aria-hidden')=='true'){this.set('aria-hidden',false).morph(visible);if(this.retrieve('animate'))this.store('timer',function(){this.fireEvent('animate')}.periodical(this.retrieve('delay'),this))}}}),Thumbnails=new Class({Implements:[Chain,Events,Options],options:{columns:null,fps:50,link:'cancel',position:null,rows:null,scroll:null},initialize:function(slideshow){var options=(slideshow.options.thumbnails===true)?{}:slideshow.options.thumbnails;this.setOptions(options);var el=slideshow.el.getElement(slideshow.classes.get('thumbnails')),thumbnails=el?el.empty():new Element('div',{'class':slideshow.classes.get('thumbnails').substr(1)});slideshow.thumbnails=thumbnails;thumbnails.set({role:'menubar',styles:{overflow:'hidden'}});var uid=thumbnails.retrieve('uid','Slideshow-'+Date.now()),ul=new Element('ul',{role:'menu',styles:{left:0,position:'absolute',top:0},tween:{link:'cancel'}}).inject(thumbnails);slideshow.data.thumbnails.each(function(thumbnail,i){var li=new Element('li',{id:uid+i}).inject(ul),a=new Element('a',{'class':slideshow.classes.get('thumbnails','hidden').substr(1),events:{click:this.click.pass(i,slideshow)},href:slideshow.data.images[i],morph:this.options,role:'menuitem',tabindex:i}).store('uid',i).inject(li);if(slideshow.options.titles)a.set('title',slideshow.data.titles[i]);new Asset.image(thumbnail,{onload:this.onload.pass(i,slideshow)}).inject(a)},this);thumbnails.set('events',{scroll:this.scroll.bind(thumbnails),update:this.update.bind(slideshow)});var coords=thumbnails.getCoordinates();if(!options.scroll)options.scroll=(coords.height>coords.width)?'y':'x';var props=(options.scroll=='y')?'top bottom height y width'.split(' '):'left right width x height'.split(' ');thumbnails.store('props',props).store('delay',1e3/this.options.fps);slideshow.events.push('mousemove',this.mousemove.bind(thumbnails));thumbnails.inject(slideshow.el)},click:function(i){this.go(i);return false},mousemove:function(e){var coords=this.getCoordinates();if(e.page.x>coords.left&&e.page.x<coords.right&&e.page.y>coords.top&&e.page.y<coords.bottom){this.store('page',e.page);if(!this.retrieve('mouseover')){this.store('mouseover',true);this.store('timer',function(){this.fireEvent('scroll')}.periodical(this.retrieve('delay'),this))}}else if(this.retrieve('mouseover')){this.store('mouseover',false);clearTimeout(this.retrieve('timer'))}},onload:function(i){var thumbnails=this.thumbnails,a=thumbnails.getElements('a')[i];if(a)(function(a){var visible=i==this.slide?'active':'inactive';a.store('loaded',true).get('morph').set(this.classes.get('thumbnails','hidden')).start(this.classes.get('thumbnails',visible))}).delay(Math.max(1e3/this.data.thumbnails.length,100),this,a);if(thumbnails.retrieve('limit'))return;var props=thumbnails.retrieve('props'),options=this.options.thumbnails,pos=props[1],length=props[2],width=props[4],li=thumbnails.getElement('li:nth-child('+(i+1)+')').getCoordinates();if(options.columns||options.rows){thumbnails.setStyles({height:this.height,width:this.width});if(options.columns.toInt())thumbnails.setStyle('width',li.width*options.columns.toInt());if(options.rows.toInt())thumbnails.setStyle('height',li.height*options.rows.toInt())};var div=thumbnails.getCoordinates();if(options.position){if(options.position.test(/bottom|top/))thumbnails.setStyles({bottom:'auto',top:'auto'}).setStyle(options.position,-div.height);if(options.position.test(/left|right/))thumbnails.setStyles({left:'auto',right:'auto'}).setStyle(options.position,-div.width)};var units=Math.floor(div[width]/li[width]),x=Math.ceil(this.data.images.length/units),r=this.data.images.length%units,len=x*li[length],ul=thumbnails.getElement('ul').setStyle(length,len);ul.getElements('li').setStyles({height:li.height,width:li.width});thumbnails.store('limit',div[length]-len)},scroll:function(n,fast){var div=this.getCoordinates(),ul=this.getElement('ul').getPosition(),props=this.retrieve('props'),axis=props[3],delta,pos=props[0],size=props[2],value,tween=this.getElement('ul').set('tween',{property:pos}).get('tween');if(n!=undefined){var uid=this.retrieve('uid'),li=document.id(uid+n).getCoordinates();delta=div[pos]+(div[size]/2)-(li[size]/2)-li[pos];value=(ul[axis]-div[pos]+delta).limit(this.retrieve('limit'),0);tween[fast?'set':'start'](value)}else{var area=div[props[2]]/3,page=this.retrieve('page'),velocity=-(this.retrieve('delay')*0.01);if(page[axis]<(div[pos]+area)){delta=(page[axis]-div[pos]-area)*velocity}else if(page[axis]>(div[pos]+div[size]-area))delta=(page[axis]-div[pos]-div[size]+area)*velocity;if(delta){value=(ul[axis]-div[pos]+delta).limit(this.retrieve('limit'),0);tween.set(value)}}},update:function(fast){var thumbnails=this.thumbnails,uid=thumbnails.retrieve('uid');thumbnails.getElements('a').each(function(a,i){if(a.retrieve('loaded'))if(a.retrieve('uid')==this._slide){if(!a.retrieve('active',false)){a.store('active',true);var active=this.classes.get('thumbnails','active');if(fast){a.get('morph').set(active)}else a.morph(active)}}else if(a.retrieve('active',true)){a.store('active',false);var inactive=this.classes.get('thumbnails','inactive');if(fast){a.get('morph').set(inactive)}else a.morph(inactive)}},this);if(!thumbnails.retrieve('mouseover'))thumbnails.fireEvent('scroll',[this._slide,fast])}})})();
window.addEvent('domready',function(){var data={'b64a429744.jpg':{caption:'',href:''},'3147fd20c4.jpg':{caption:'',href:''},'9edbba109e.jpg':{caption:'',href:''},'345e7c3251.jpg':{caption:'',href:''},'9e90d41362.jpg':{caption:'',href:''},'89c97ff62b.jpg':{caption:'',href:''},'a88335f1da.jpg':{caption:'',href:''},'7bdd594e56.jpg':{caption:'',href:''},'fdd1396d35.jpg':{caption:'',href:''},'a888c00f2f.jpg':{caption:'',href:''}};myShow_jf_headerslide_slideshow_173=new Slideshow('jf_headerslide_slideshow_173',data,{hu:'typo3temp/pics/',captions:false,controller:false,loader:false,resize:false,center:false,type:'fade',duration:3e3,delay:3e3,pan:20,zoom:10,color:['#cc0000','#ff00ff'],transition:'back:in:out',random:false,paused:false,width:'940',height:'330',thumbnails:false})});
function validateForm(theFormname,theFieldlist,goodMess,badMess,emailMess){var formObject=document[theFormname];if(!formObject)formObject=document.getElementById(theFormname);if(formObject&&theFieldlist){var index=1,theField=split(theFieldlist,",",index),msg="",theEreg='',theEregMsg='',specialMode='',theLabel,a;while(theField){theEreg='';specialMode='';if(theField=='_EREG'){specialMode=theField;index++;theEregMsg=split(theFieldlist,",",index);index++;theEreg=split(theFieldlist,",",index)}else if(theField=='_EMAIL')specialMode=theField;if(specialMode){index++;theField=split(theFieldlist,",",index)};index++;theLabel=split(theFieldlist,",",index);theField=theField;if(formObject[theField]){var fObj=formObject[theField],type=fObj.type;if(!fObj.type)type="radio";var value="";switch(type){case"text":case"textarea":case"password":case"file":value=fObj.value;break;case"select-one":if(fObj.selectedIndex>=0)value=fObj.options[fObj.selectedIndex].value;break;case"select-multiple":var l=fObj.length;for(a=0;a<l;a++)if(fObj.options[a].selected)value+=fObj.options[a].value;break;case"radio":case"checkbox":var len=fObj.length;if(len){for(a=0;a<len;a++)if(fObj[a].checked)value=fObj[a].value}else if(fObj.checked)value=fObj.value;break;default:value=1};switch(specialMode){case"_EMAIL":var theRegEx_notValid=new RegExp("(@.*@)|(\.\.)|(@\.)|(\.@)|(^\.)","gi"),theRegEx_isValid=new RegExp("^.+\@[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,4}|[0-9]{1,3})$","");if(!theRegEx_isValid.test(value))msg+="\n"+theLabel+' ('+(emailMess?emailMess:'Email address not valid!')+')';break;case"_EREG":var theRegEx_isValid=new RegExp(theEreg,"");if(!theRegEx_isValid.test(value))msg+="\n"+theLabel+' ('+theEregMsg+')';break;default:if(!value)msg+="\n"+theLabel}};index++;theField=split(theFieldlist,",",index)};if(msg){var theBadMess=badMess;if(!theBadMess)theBadMess="You must fill in these fields:";theBadMess+="\n";alert(theBadMess+msg);return false}else{var theGoodMess=goodMess;if(theGoodMess)alert(theGoodMess);return true}}}
function split(theStr1,delim,index){var theStr=''+theStr1,lengthOfDelim=delim.length,sPos=-lengthOfDelim,a,ePos;if(index<1)index=1;for(a=1;a<index;a++){sPos=theStr.indexOf(delim,sPos+lengthOfDelim);if(sPos==-1)return null};ePos=theStr.indexOf(delim,sPos+lengthOfDelim);if(ePos==-1)ePos=theStr.length;return(theStr.substring(sPos+lengthOfDelim,ePos))};

