var Aida={baseUrl:""};if(!window.console)window.console={log:function(){}};function _(a){console.log(a)}
function checkGlobals(){var a=["console","window","location","document","navigator","netscape","parent","top","scrollbars","name","scrollX","scrollY","frames","applicationCache","self","screen","history","content","menubar","toolbar","locationbar","personalbar","statusbar","directories","closed","crypto","pkcs11","controllers","opener","status","defaultStatus","innerWidth","innerHeight","outerWidth","outerHeight","screenX","screenY","pageXOffset","pageYOffset","scrollMaxX","scrollMaxY","length","fullScreen",
"frameElement","sessionStorage","globalStorage","localStorage","eventsUID","mozInnerScreenX","mozInnerScreenY","firebug"],d;for(d in window){var g=d.substr(0,1);typeof window[d]=="function"||a.indexOf(d)>=0||g.toUpperCase()==g||console.log(d+": ",window[d])}}var AidaAgent={onLine:function(){return navigator.onLine}};function isArray(a){return a instanceof Array}function isElement(a,d){return a&&(d?(a=a.nodeName)&&a.toLowerCase()==d.toLowerCase():a.nodeName&&a.ownerDocument)}
function isNumeric(a){return!isNaN(parseInt(a,10))}function is(a){return a!==false&&a!==undefined&&a!==null}function toArray(a){if(_MUST_EXTEND||AidaAgent.trident){for(var d=[],g=a.length-1;g>=0;g--)d[g]=a[g]&&a[g].nodeType==1&&AidaAgent.trident&&AidaAgent.version<8?I(a[g]):a[g];return d}return Array.prototype.slice.call(a)}
function getType(a){var d=typeof a;if(d=="object"){if(a===null)return"null";if(a instanceof Array)return"array";if(a instanceof Date)return"date";if(a instanceof RegExp)return"regexp";if(a.nodeName)switch(a.nodeType){case 1:return"element";case 3:return"textnode"}if(a.callee)return"arguments";if(a instanceof Error)return"error"}return d}
function I(a,d){if(!d||!d.documentElement)d=document;(a=is(a)?typeof a=="string"?d.getElementById(a.replace("#","")):a:null)&&!a._extended&&AidaElements.prototypize(a);return a}
function H(a,d,g){function o(q,p){var v=p.length;if(v>0){var y=p.indexOf("<");if(y>-1)if(y>0){q.appendChild(g.createTextNode(p.substring(0,y).entitiesDecode()));return o(q,p.substring(y,v))}else{y=p.indexOf(">");if(y>-1){var z=p.substring(1,y).trim();p=p.substring(y+1,v);if(z.substring(0,1)=="/"){z=z.replace("/","").trim().toLowerCase();v=q.parentNode;if(z!=q.nodeName.toLowerCase()||!q)return false;return o(v,p)}var r=z.match(/^([^\s\/]+)(\s+.*|\/)?$/);if(!r)return false;y=z.match(/\/\s*$/);z=r[1];
v=g.createElement(z);v=I(v);if(z=(r[2]||"").trim()){r=/(?:^|\s+)([a-z0-9_-]+)(?:\=("[^"]*"|'[^']*'|[a-z0-9_-]+))?/gi;for(var j;j=r.exec(z);){var t=j[1];j=j[2];if(t){j=j?j.replace(/^['"]|['"]$/g,"").entitiesDecode():t;v.ajSet(t,j)}}}q.appendChild(v);if(y)v=q;return o(v,p)}else return false}else q.appendChild(g.createTextNode(p.entitiesDecode()))}return true}g=g||document;var m=g.createDocumentFragment();if(o(m,a)){d&&I(d).appendChild(m);return m}return false}
function N(a,d,g){if(!is(a))return null;g=g||document;var o=null;switch(typeof a){case "object":if(a instanceof Array)for(var m=a.length,q;m--;){q=a.shift();if(o)switch(typeof q){case "object":if(!(q instanceof Array)&&!q.nodeType){I(o).ajSet(q);break}case "string":case "number":N(q,o);break;default:return null}else o=I(g.createElement(q))}else if(a.nodeType)o=a;break;case "number":case "string":o=g.createTextNode(a+"")}d&&o&&I(d).appendChild(o);return o}
function $(a){for(var d,g,o,m,q=arguments.length,p=1;p<q;){var v=arguments[p++];switch(typeof v){case "boolean":g=v;break;case "string":case "object":if(v instanceof Array)m=v;else d=v;break;case "function":o=v}}if(is(d)){d=I(d);if(!d)return m||[]}d=Sizzle(a,d||document);if(_MUST_EXTEND)for(p=d.length;p;){--p;d[p]=I(d[p])}if(g&&d.length>1)d=d.slice(0,1);if(m)d=m.concat(d);o&&d.each(o);return g?d[0]:d}$.first=function(){return $.apply(null,toArray(arguments).push(true))};
var _MUST_EXTEND=false,AidaElements={randomId:function(){return"aidajs_rid_"+String.random()},prototypize:function(a){if(a&&a.nodeType==1&&!a._extended){var d,g;if(_MUST_EXTEND||AidaAgent.trident){a._extended=true;g=Element.prototype;for(d in g)a[d]=g[d];AidaElements._extended.push(a);return a}g=a.ownerDocument;g=(g?g.defaultView:window).Element.prototype;a=AidaElements._extensions;for(d in a)g[d]=a[d]}},implement:function(a){var d,g=Element.prototype,o=AidaElements._extensions;for(d in a)g[d]=o[d]=
a[d];if(_MUST_EXTEND){g=AidaElements._extended;o=g.length-1;for(var m;o>=0;o--){m=g[o];for(d in a)m[d]||(m[d]=a[d])}}},_extended:[],_extensions:{}},AidaTextNodes={spanSubtext:function(a,d,g){var o=a.nodeValue,m=o.substring(d,g);m=N(["span",m]);var q=o.length,p=[];d>0&&p.push(o.substring(0,d));p.push(m);g&&g<q&&p.push(o.substring(g,q));d=a.parentNode;var v;for(g=p.length-1;g>=0;g--){o=N(p[g]);(v=a.nextSibling)?d.insertBefore(o,v):d.appendChild(o)}d.removeChild(a);return m}};
(function(a,d,g){function o(b){for(var e=b.length,i;e>0;){i=b[--e];AidaEvent.remove(i);AidaElementStorage.removeStorage(i)}}for(var m=d.getElementsByTagName("script"),q=m.length,p;q;)if(p=m[--q]){p=(p.src+"").split("/");if(p.pop()=="aida.js"){Aida.baseUrl=p.join("/");break}}var v="prototype";m=Object;q=Date;p=q[v];var y=String,z=y[v],r=Array[v],j=Number[v],t=Function;v=t[v];var w=Math,B=RegExp,x=g.userAgent,D,k=0;if(a.ActiveXObject&&(D=x.match(/MSIE ([0-9\.]+)/i))){AidaAgent.engine="trident";AidaAgent.version=
parseFloat(D[1],10);AidaAgent.trident=true;AidaAgent.msie=true}else if(!/Konqueror|Safari|KHTML/.test(x)&&x.indexOf("Gecko")>-1&&(D=x.match(/rv:([0-9\.]+)/i))){AidaAgent.engine="gecko";AidaAgent.version=parseFloat(D[1],10);AidaAgent.gecko=true}else if(!g.taintEnabled&&(D=x.match(/WebKit\/([0-9\.]+)/i))){AidaAgent.engine="webkit";AidaAgent.version=parseFloat(D[1],10);AidaAgent.webkit=true}else if(a.opera&&(D=x.match(/Opera[ \/]([0-9\.]+)/i))){if(g=x.match(/Version[ \/]([0-9\.]+)/i))D=g;AidaAgent.engine=
"presto";AidaAgent.version=parseFloat(D[1],10);AidaAgent.presto=true;AidaAgent.opera=true}else if(D=x.match(/KHTML\/([0-9\.]+)/i)){AidaAgent.engine="khtml";AidaAgent.version=parseFloat(D[1],10);AidaAgent.khtml=true}if(x.indexOf("Win")>-1){AidaAgent.system="win";AidaAgent.win=true}else if(x.indexOf("Mac OS X")>-1){AidaAgent.system="mac";AidaAgent.mac=true}else if(x.indexOf("Linux")>-1){AidaAgent.system="linux";AidaAgent.linux=true}if(D=x.match(/(iPhone|iPod|iPad)/)){AidaAgent.itouch=D[1];AidaAgent[D[1]]=
true}m.extend=function(b){b=b||{};for(var e=0,i=arguments.length,n;++e<i;)if(n=arguments[e])for(var u in n)b[u]=n[u];return b};m.params=function(b){var e=[],i,n;for(i in b){n=b[i];if(typeof n=="object"){var u=0,A=encodeURIComponent(i);if(n instanceof Array)for(var C=n.length;u<C;u++)e.push(A+"[]="+encodeURIComponent(n[u]));else for(u in n)e.push(A+"["+encodeURIComponent(u)+"]="+encodeURIComponent(n[u]))}else e.push(encodeURIComponent(i)+"="+encodeURIComponent(n))}return e.join("&").replace(/%20/g,
"+")};m.each=function(b,e,i){if(b instanceof Array)return b.each(e,i);for(var n in b)e.call(i,b[n],n,b)};m.keys=function(b){var e=[],i;for(i in b)e.push(i);return e};m.destroy=function(b){for(var e in b){b[e]=null;delete b[e]}};q.parse=function(b,e){b=b.trim();var i,n=new Date,u,A,C;if(i=b.match(/^([0-9]{4})[\/\s-]*([0-2]?[0-9])[\/\s-]*([0-3]?[0-9])[\s]*([0-2]?[0-9])[\:\s]*([0-5]?[0-9])[\:\s]*([0-5]?[0-9])$/)){u=i[1].toInt();A=i[2].toInt()-1;C=i[3].toInt();u||(u=n.getFullYear());if(A<0)A=n.getMonth();
C||(C=n.getDate());return new Date(u,A,C,i[4].toInt(),i[5].toInt(),i[6].toInt())}if(i=b.match(/^([0-3]?[0-9])[\/\s-]+([0-2]?[0-9])[\/\s-]+([0-9]{4})$/)){u=i[3].toInt();A=i[2].toInt()-1;C=i[1].toInt();u||(u=n.getFullYear());if(A<0)A=n.getMonth();C||(C=n.getDate());return new Date(u,A,C)}if(i=b.match(/^([0-9]{4})[\/\s-]+([0-2]?[0-9])[\/\s-]+([0-3]?[0-9])$/)){u=i[1].toInt();A=i[2].toInt()-1;C=i[3].toInt();u||(u=n.getFullYear());if(A<0)A=n.getMonth();C||(C=n.getDate());return new Date(u,A,C)}if(i=b.match(/^([0-2]?[0-9])[\:\s]+([0-5]?[0-9])(?:[\:\s]+([0-5]?[0-9]))?$/))return new Date(n.getFullYear(),
n.getMonth(),n.getDate(),i[1].toInt(),i[2].toInt(),(i[3]||"0").toInt());if(i=b.match(/^([0-9]{2})[\s\/\.-]+([a-z]{3,})[\s\/\.-]+([0-9]{4})$/i)){u=i[3].toInt();A=i[2].substr(0,3).toLowerCase();C=i[1].toInt();switch(A){case "jan":case "gen":A=0;break;case "feb":A=1;break;case "mar":A=2;break;case "apr":A=3;break;case "may":case "mag":A=4;break;case "jun":case "giu":A=5;break;case "jul":case "lug":A=6;break;case "aug":case "ago":A=7;break;case "sep":case "set":A=8;break;case "oct":case "ott":A=9;break;
case "nov":A=10;break;case "dec":case "dic":A=11;break;default:A=-1}u||(u=n.getFullYear());if(A<0)A=n.getMonth();C||(C=n.getDate());return new Date(u,A,C)}return e?e instanceof Date?e:n:null};q.now=function(){return(new Date).getTime()};p.format=function(b,e){var i=AidaI18N.get("_date_formats",e,{}),n=this.getFullYear(),u=this.getMonth()+1,A=this.getDate(),C=this.getDay(),E=this.getHours(),G=E%12||12,J=this.getMinutes(),K=this.getSeconds(),F=G==E?"am":"pm",P=new Date(n,u,1);P=(((new Date(n,u-1,1)).getTime()-
P.getTime())/864E5).round()+1;var T=/(a|A|M|F|D|l)/g;b=b.replace("G",E).replace("g",G).replace("H",E.zeroFill(2)).replace("h",G.zeroFill(2));b=b.replace("i",J.zeroFill(2)).replace("s",K.zeroFill(2));b=b.replace("Y",n).replace("y",n.zeroFill(2,true)).replace("n",u).replace("m",u.zeroFill(2));b=b.replace("j",A).replace("d",A.zeroFill(2)).replace("w",C).replace("t",P);if(b.match(T))b=b.replace(T,function(U,Q){switch(Q){case "a":return F;case "A":return F.toUpperCase();case "M":return i.m[u-1].substr(0,
3);case "F":return i.m[u-1];case "D":return i.w[C].substr(0,3);case "l":return i.w[C]}return Q});return b};p.plus=function(b){this.setTime(this.getTime()+b);return this.getTime()};p.minus=function(b){this.setTime(this.getTime()-b);return this.getTime()};y.random=function(b,e){e=e||"0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";for(var i=e.length,n="",u,A=b||8;A>0;A--){u=Math.floor(Math.random()*i);n+=e.substring(u,u+1)}return n};y.buildQueryString=function(b,e){var i=[],n;for(n in b)i.push(n+
"="+encodeURIComponent(b[n]));return i.join(e||"&")};z.parseQueryString=function(){for(var b=(this+"").split("&"),e=b.length,i={},n;e;)if(n=b[--e]){n=n.split("=");i[n[0]]=n[1]||""}return i};z.cleanSize=function(b){var e=0,i="",n=this.match(/(-?[0-9\.]+)(in|cm|mm|pt|pc|em|ex|px|%)?/i);if(n){e=parseFloat(n[1],10)||0;if(isNaN(e))e=0;i=n[2]||""}return b?[e,i]:e};z.parseNumber=function(){var b=this.replace(/[^0-9\.,-]/,""),e=b.indexOf("."),i=b.indexOf(",");if(e>-1&&i>-1)b=b.replace(e<i?".":",","");b=b.replace(",",
".");b=parseFloat(b,10);return isNaN(b)?0:b};z.ipInt=function(){var b=this;if(b){b=b.split(".");return parseInt(b[3]||0,10)+parseInt(b[2]||0,10)*256+parseInt(b[1]||0,10)*65536+parseInt(b[0]||0,10)*16777216}return 0};z.entitiesDecode=function(){return this.replace(/&#?[a-z0-9]+;/gi,function(b){var e=String.prototype.entitiesDecode.$div||(String.prototype.entitiesDecode.$div=d.createElement("div"));e.innerHTML=b;return typeof e.textContent!="undefined"?e.textContent:e.innerText})};z.htmlEntities=function(){return this.replace(/&/g,
"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")};z.nl2br=function(){return this.replace(/[^>]\n/g,"<br/>")};z.stripTags=function(){return this.replace(/<[^>]+>/g,"")};(function(){var b=["\u00c0","\u00e0","\u00c1","\u00e1","\u00c2","\u00e2","\u00c3","\u00e3","\u00c4","\u00e4","\u00c5","\u00e5","\u0102","\u0103","\u0104","\u0105","\u0106","\u0107","\u010c","\u010d","\u00c7","\u00e7","\u010e","\u010f","\u0110","\u0111","\u00c8","\u00e8","\u00c9","\u00e9","\u00ca","\u00ea","\u00cb","\u00eb","\u011a",
"\u011b","\u0118","\u0119","\u011e","\u011f","\u00cc","\u00ec","\u00cd","\u00ed","\u00ce","\u00ee","\u00cf","\u00ef","\u0139","\u013a","\u013d","\u013e","\u0141","\u0142","\u00d1","\u00f1","\u0147","\u0148","\u0143","\u0144","\u00d2","\u00f2","\u00d3","\u00f3","\u00d4","\u00f4","\u00d5","\u00f5","\u00d6","\u00f6","\u00d8","\u00f8","\u0151","\u0158","\u0159","\u0154","\u0155","\u0160","\u0161","\u015e","\u015f","\u015a","\u015b","\u0164","\u0165","\u0164","\u0165","\u0162","\u0163","\u00d9","\u00f9",
"\u00da","\u00fa","\u00db","\u00fb","\u00dc","\u00fc","\u016e","\u016f","\u0178","\u00ff","\u00fd","\u00dd","\u017d","\u017e","\u0179","\u017a","\u017b","\u017c","\u00de","\u00fe","\u00d0","\u00f0","\u00df","\u0152","\u0153","\u00c6","\u00e6","\u00b5"],e=["A","a","A","a","A","a","A","a","Ae","ae","A","a","A","a","A","a","C","c","C","c","C","c","D","d","D","d","E","e","E","e","E","e","E","e","E","e","E","e","G","g","I","i","I","i","I","i","I","i","L","l","L","l","L","l","N","n","N","n","N","n","O",
"o","O","o","O","o","O","o","Oe","oe","O","o","o","R","r","R","r","S","s","S","s","S","s","T","t","T","t","T","t","U","u","U","u","U","u","Ue","ue","U","u","Y","y","Y","y","Z","z","Z","z","Z","z","TH","th","DH","dh","ss","OE","oe","AE","ae","u"],i={"[\u00a0\u2002\u2003\u2009]":" ","\u00b7":"*","[\u2018\u2019]":"'","[\u201c\u201d]":'"',"\u2026":"...","\u2013":"-","\u2014":"--","\ufffd":"&raquo;"};z.tidy=function(){var n=this,u;for(u in i)n=n.replace(RegExp(u,"g"),i[u]);return n};z.standardize=function(){var n=
this;b.each(function(u,A){n=n.replace(RegExp(u,"g"),e[A])});return n};z.makeSlug=function(){return this.tidy().standardize().replace(/[\s']+/g,"-").toLowerCase().replace(/(^[^a-z0-9]+|[^a-z0-9\-]+|[^a-z0-9]+$)/g,"")}})();z.has=function(b){return this.indexOf(b)>=0};if(!z.trim)z.trim=function(){return this.replace(/^\s+|\s+$/g,"")};if(!z.trimLeft)z.trimLeft=function(){return this.replace(/^\s+/g,"")};if(!z.trimRight)z.trimRight=function(){return this.replace(/^\s+$/g,"")};z.clean=function(){return this.replace(/\s{2,}/g,
" ").trim()};z.empty=function(b){return this.length===0||b&&this.match(/^[\s]*$/gm)?true:false};z.toInt=function(b){return parseInt(this,b||10)};z.toFloat=function(b){return parseFloat(this,b||10)};z.camelCase=function(){return this.replace(/-\D/g,function(b){return b.charAt(1).toUpperCase()})};z.hyphenate=function(){return this.replace(/[A-Z]/g,function(b){return"-"+b.toLowerCase()})};z.capitalize=function(){return this.toLowerCase().replace(/\b[a-z]/g,function(b){return b.toUpperCase()})};z.parseCss=
function(){for(var b=this.split(";"),e={},i=b.length-1,n,u;i>=0;i--){n=b[i].split(":");if(u=n[0].trim().camelCase())e[u]=n[1].trim()}return e};z.repeat=function(b){for(var e="";--b>=0;)e+=this;return e};z.whiteSpaceChar=function(b){return this.charCodeAt(b||0)<=32};z.digitChar=function(b){return(b=this.charCodeAt(b||0))&&b>=48&&b<=57};z.letterChar=function(b){return(b=this.charCodeAt(b||0))&&(b>=65&&b<=90||b>=97&&b<=122)};z.upperCaseChar=function(b){return(b=this.charCodeAt(b||0))&&b>=65&&b<=90};
z.lowerCaseChar=function(b){return(b=this.charCodeAt(b||0))&&b>=97&&b<=122};z.parseJSON=function(b){var e=null;try{e=JSON.parse(this.toString())}catch(i){e=b||null}return e};z.compareVersion=function(b){b=(b+"").split(".");var e=this.split("."),i,n,u,A=Math.min(e.length,b.length);for(i=0;i<A;i++){n=e[i].toInt();u=b[i].toInt();if(n>u)return 1;if(n<u)return-1}return 0};z.htmlEntities=function(){return this.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")};z.stripTags=function(){return this.replace(/<([^>]+)>/g,
"")};if(!r.indexOf)r.indexOf=function(b,e){for(var i=+e||0,n=this.length;i<n;i++)if(this[i]===b)return i;return-1};if(!r.filter)r.filter=function(b,e){if(typeof b!="function")throw new TypeError;for(var i=this.length,n=[],u=0,A=0,C;u<i;u++){C=this[u];if(b.call(e,C,u,this))n[A++]=C}return n};if(!r.forEach)r.forEach=function(b,e){if(typeof b!="function")throw new TypeError;for(var i=0,n=this.length;i<n;i++)b.call(e,this[i],i,this)};r.each=r.forEach;r.eachAsync=function(b,e,i){i=i||10;this.each(function(){var n=
arguments;setTimeout(function(){b.apply(this,n)},i)},e)};if(!r.every)r.every=function(b,e){for(var i=0,n=this.length;i<n;i++)if(!b.call(e,this[i],i,this))return false;return true};if(!r.map)r.map=function(b,e){for(var i=this.length,n=[],u=0;u<i;u++)n=n.push(b.call(e,this[u],u,this));return n};if(!r.some)r.some=function(b,e){for(var i=0,n=this.length;i<n;i++)if(b.call(e,this[i],i,this))return true;return false};r.unique=function(b){for(var e=[],i=0,n=this.length,u;i<n;){u=this[i++];e.indexOf(u,0,b)<
0&&e.push(u)}return e};r.replace=function(b,e){for(var i=[],n=0,u=this.length,A;n<u;){A=this[n];i[n]=A===b?e:A;n++}return i};r.intersect=function(b){for(var e=[],i=this.length,n=0,u;n<i;){u=this[n++];b.indexOf(u)>=0&&e.push(u)}return e};r.remove=function(b){for(var e=0;e<this.length;)if(this[e]===b)this.splice(e,1);else++e;return this};r.copy=function(b,e){var i=this.length,n=0,u=[];b=(b=b||0)<0?i+b:b;for(e=e||i-b;n<e;)u[n++]=this[b++];return u};r.has=function(b,e){return this.indexOf(b,e)!=-1};r.clean=
function(){for(var b=[],e=0,i=this.length,n;e<i;)if(is(n=this[e++]))b.push(n);return b};r.nearest=function(b){for(var e,i=null,n,u=this.length;u;){e=this[--u];n=Math.abs(e-b);if(i===null||n<i){i=n;result=e}}return result};r.randomize=function(){return this.copy().sort(AidaSort.random)};r.random=function(){return this[Math.floor(Math.random()*this.length)]};r.call=function(){var b=toArray(arguments),e=b.shift(),i=this.length,n=0,u,A;if(typeof f=="function")for(;n<i;)e.apply(this[n++],b);else for(;n<
i;){u=this[n++];if(typeof(A=u[e])=="function")A.apply(u,b)}};r.first=function(){return this[0]};r.last=function(){return this[this.length-1]};r.findAll=function(b,e){var i=[];this.each(function(n,u){b.call(e,n,u)&&i.push(n)});return i};r.compact=function(){return this.findAll(function(b){return b!=null})};r.flatten=function(){return this.inject([],function(b,e){if(e instanceof Array)return b.concat(e.flatten());b.push(e);return b})};r.inject=function(b,e,i){this.each(function(n,u){b=e.call(i,b,n,
u)});return b};j.bound=function(b,e){return this<b?b:this>e?e:this*1};j.round=function(b){b=Math.pow(10,b||0);return Math.round(this*b)/b};j.ceil=function(){return Math.ceil(this)};j.floor=function(){return Math.floor(this)};j.pow=function(b){return Math.pow(this,b)};j.toInt=function(b){return parseInt(this,b||10)};j.toFloat=function(b){return parseFloat(this,b||10)};j.zeroFill=function(b,e){var i=0,n="",u,A;u=parseInt(this,10)+"";A=u.length;if(e&&A>b)return u.substr(A-b,b);for(A=b-A;i++<A;)n+="0";
return n+""+u};j.format=function(b,e,i){var n=(this+"").split(".");b=n[0];e=n.length>1?(e||".")+n[1]:"";for(n=/(\d+)(\d{3})/;n.test(b);)b=b.replace(n,"$1"+(i||"")+"$2");return b+e};t.empty=function(){};t.value=function(b){return typeof b==="function"?b:function(){return b}};t.exists=function(b){return typeof b=="string"?typeof a[b]=="function":b instanceof Function};v.execTime=function(b,e){var i=new Date;this.apply(b,e);return new Date-i};v.benchmark=function(b,e,i){i=i||100;for(var n=0,u,A=i+1;--A;){u=
new Date;this.apply(b,e);n+=new Date-u}return n/i};v.interval=function(b,e){var i=this;return a.setInterval(function(){i.apply(null,e||[])},b)};v.defer=function(b){this.timeout(1,b)};v.timeout=function(b,e){var i=this;return a.setTimeout(function(){i.apply(null,e||[])},b)};v.tryCatch=function(b,e,i){try{return this.apply(b,e||[])}catch(n){return(i||function(){return false}).apply(b,n)}};if(!v.bind)v.bind=function(b){if(typeof this!=="function")throw new TypeError;var e=Array.prototype.slice.call(arguments,
1),i=this,n=Array.prototype.concat,u=function(){return i.apply(this instanceof A?this:b,n.apply(e,arguments))},A=function(){};A.prototype=i.prototype;u.prototype=new A;return u};t.eventStop=function(b){return b.stop()};w.ipo=function(b,e){return Math.sqrt(b*b+e*e)};w.rand=function(b,e){if(arguments.length<2){e=b;b=0}return(Math.random()*(e-b+1)+b).floor()};w.rad=function(b){return Math.PI/180*b};w.deg=function(b){return b*180/Math.PI};w.angle=function(b,e){var i=Math.asin(b),n=Math.PI;return(e>0?
-(i-n/2):i+n*3/2)/(n*2)};w.coordsAngle=function(b,e){return Math.atan2(e,b)};w.angleCoords=function(b,e){e=e||1;return[Math.cos(b)*e,Math.sin(b)*e]};v=1.618033988749895;w.PHI=v;w.LOW_PHI=1/v;B.EMAIL=/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;B.TIMESTAMP=/([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})/;B.URL=/(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/;m=q=p=y=z=r=j=t=v=w=B=null;if(AidaAgent.trident&&AidaAgent.version<9){d.nativeGetElementById=
d.getElementById;d.getElementById=function(b){var e=d.nativeGetElementById(b);if(e){if(e.id==b)return e;for(var i=1,n=d.all[b],u=n.length;i<u;)if((e=n[i++]).id==b)return e}return null};D=["abbr","article","aside","audio","bb","canvas","command","datagrid","datalist","details","embed","dialog","figure","figcaption","footer","header","hgroup","keygen","mark","menu","meter","nav","output","progress","section","rp","rt","ruby","section","source","summary","time","video"];for(g=D.length;g;)d.createElement(D[--g])}if(typeof a.Element==
"undefined"){a.Element=function(){};Element.prototype={};_MUST_EXTEND=true}Element.prototype._extended=true;AidaElements.uniqueId=function(){return"aidajs_uid_"+k++};AidaElements.implement({ajEmpty:function(){for(var b=this.childNodes,e=b.length,i;e;)if((i=b[--e].nodeType)&&(i==1||i==3))return false;return true},ajFirst:function(b){if(b)return I(this.firstChild);b=this.childNodes;for(var e=b.length,i,n=0;n<e;)if((i=b[n++]).nodeType==1)return I(i);return null},ajLast:function(b){if(b)return I(this.lastChild);
b=this.childNodes;for(var e=b.length,i;e;)if((i=b[--e]).nodeType==1)return I(i);return null},ajNext:function(b){var e=this.nextSibling;if(e){if(b)return I(e);do if(e.nodeType==1)return I(e);while(e=e.nextSibling)}return null},ajPrev:function(b){var e=this.previousSibling;if(e){if(b)return I(e);do if(e.nodeType==1)return I(e);while(e=e.previousSibling)}return null},ajText:function(){return typeof this.textContent!=="undefined"?this.textContent:this.innerText},ajHasClass:function(b){b=b.split(/[\.\s]+/gi);
for(var e=this.className,i=b.length,n;i;)if((n=b[--i])&&!RegExp("(^|\\s)"+n+"(\\s|$)","g").test(e))return false;return true},ajAddClass:function(b){this.ajRemoveClass(b);this.className=(this.className+" "+b.split(/[\.\s]+/g).join(" ")).trim();return this},ajRemoveClass:function(b){this.className=this.className.replace(RegExp("(^|\\s+)("+b.split(/[\.\s]+/gi).join("|")+")(\\s+|$)","g")," ").trim();return this},ajToggleClass:function(b){return this[this.ajHasClass(b)?"ajRemoveClass":"ajAddClass"](b)},
ajRemove:function(b){b||o(this.getElementsByTagName("*"));this.parentNode.removeChild(this);return this},ajReplace:function(){this.ajAfter.apply(this,arguments).ajRemove()},ajAppend:function(){for(var b=d.createDocumentFragment(),e=arguments.length,i=0;i<e;)b.appendChild(N(arguments[i++]));this.appendChild(b);return this},ajAppendTo:function(b){I(b).ajAppend(this);return this},ajPrepend:function(){for(var b=d.createDocumentFragment(),e=arguments.length,i=0,n;i<e;)b.appendChild(N(arguments[i++]));
(n=this.firstChild)?this.insertBefore(b,n):this.appendChild(b);return this},ajPrependTo:function(b){I(b).ajPrepend(this);return this},ajBefore:function(){for(var b=d.createDocumentFragment(),e=arguments.length,i=0,n=this.parentNode;i<e;)b.appendChild(N(arguments[i++]));n.insertBefore(b,this);return this},ajBeforeOf:function(b){I(b).ajBefore(this);return this},ajAfter:function(){for(var b=d.createDocumentFragment(),e=arguments.length,i=0,n=this.parentNode,u;i<e;)b.appendChild(N(arguments[i++]));(u=
this.nextSibling)?n.insertBefore(b,u):n.appendChild(b);return this},ajAfterOf:function(b){I(b).ajAfter(this);return this},ajClone:function(b){var e=I(this.cloneNode(true));b&&I(b).ajAppend(e);return e},ajMove:function(b){this.ajRemove(true);I(b).ajAppend(this);return this},ajChilds:function(){for(var b=this.childNodes,e=b.length,i=0,n=[],u;i<e;){u=b[i];u.nodeType==1&&n.push(I(u));++i}return n},ajRemoveChilds:function(b){var e=this.style,i=e.display;e.display="none";for(b||o(this.getElementsByTagName("*"));this.firstChild;)this.removeChild(this.firstChild);
e.display=i;return this},ajMoveChilds:function(b){b=I(b);for(var e=d.createDocumentFragment(),i,n=this.style,u=n.display;this.hasChildNodes();){i=this.firstChild;e.appendChild(i.cloneNode(true));this.removeChild(i)}n.display=u;I(b).appendChild(e);return this},ajReplaceChilds:function(){return this.ajRemoveChilds().ajAppend.apply(this,arguments)},ajInto:function(b){b=I(b);var e=this;do if(e===b)return true;while(e=e.parentNode);return false},ajParent:function(b){if(b){if(typeof b=="number")for(var e=
this;e=e.parentNode;){if(--b===0)return I(e)}else{b=b.toLowerCase();e=this;for(var i;e&&(i=e.nodeName);){if(i.toLowerCase()==b)return I(e);e=e.parentNode}}return null}return I(this.parentNode)},ajHtml:function(b){if(!is(b))return this.innerHTML;switch(typeof b){case "string":this.ajRemoveChilds();try{this.ajAppend(H(b))}catch(e){this.ajAppend(b)}break;case "function":this.ajHtml(b.call(this,this.innerHTML));break;default:this.ajAppend(b)}return this},ajGet:function(){if(arguments.length==1){var b=
arguments[0];switch(b){case "class":case "className":return this.className;case "style":case "css":return this.ajCss()}return this.getAttribute(b)}for(var e={},i=0;i;){b=arguments[--i];e[b]=this.ajGet(b)}return e},ajSet:function(b,e){if(typeof b=="object")for(e in b)this.ajSet(e,b[e]);else if(typeof e=="function")this.ajAddEvent(b,e);else switch(b){case "class":case "className":this.ajAddClass(e);break;case "style":case "css":this.ajCss(e);break;case "html":case "innerHTML":this.ajHtml(e);break;case "unselectable":this.ajDisableSelect();
break;default:this.setAttribute(b,e)}return this},ajCssGet:function(b,e,i){if(!b)return this.style.cssText||this.getAttribute("style");var n=this.style,u=AidaAgent.engine,A=u=="trident";if(b.indexOf("-")>-1)b=b.camelCase();if(e===true){i=true;e=null}if(!e)e=((e=(this.ownerDocument||{}).defaultView)?e.getComputedStyle(this,null):this.currentStyle)||{};switch(b){case "opacity":if(A&&AidaAgent.version<9){if(value=(n.filter||e.filter||"").match(/progid\:DXImageTransform\.Microsoft\.Alpha\([\s]*Opacity=([0-9]+)[\s]*\)/i))value=
parseInt(value[1],10)/100}else value=n.opacity||e.opacity||"";return isNumeric(value)?parseFloat(value,10):1;case "backgroundImageUrl":return(n.backgroundImage||e.backgroundImage||"").match(/^(url\(['" ]*)?([^'" \)]+)/i)[2]||"";case "backgroundPositionX":if(A||u=="webkit")return n.backgroundPositionX||e.backgroundPositionX;value=(n.backgroundPosition||e.backgroundPosition||"").split(/[^a-z0-9%\.-]+/i)[0]||"0%";switch(value){case "left":value="0%";break;case "center":value="50%";break;case "right":value=
"100%"}return value;case "backgroundPositionY":if(A||u=="webkit")return n.backgroundPositionY||e.backgroundPositionY;value=(n.backgroundPosition||e.backgroundPosition||"").split(/[^a-z0-9%\.-]+/i)[1]||"0%";switch(value){case "top":value="0%";break;case "center":value="50%";break;case "bottom":value="100%"}return value;case "transform":case "matrix":case "rotate":case "rotateX":case "rotateY":case "rotateZ":case "scale":case "scaleX":case "scaleY":case "scaleZ":case "skewX":case "skewY":case "skewZ":case "translateX":case "translateY":case "translateZ":i=
b=="matrix";if(A&&AidaAgent.version<9){value=(AidaElementStorage.getData(this,"cssTransform")||AidaElementStorage.storeData(this,"cssTransform",{}))[b];if(is(value))return value}else{var C=b;b=AidaCSS.vendorKeys.transform||"transform";e=e||this.ajCssComputed();value=n[b]||e[b]||"";if(C=="transform")return value;if((value=value.match(RegExp("\\s*"+C+"\\(([^\\)]*)\\)\\s*")))&&(value=value[1]))return i?matrix.split(/[,\s]+/):value}return i?[1,0,0,1]:C.has("scale")?"1":"0deg"}b=AidaCSS.vendorKeys[b]||
b;if(i)return e[b]||"";return n[b]||e[b]||""},ajCssSet:function(b,e,i){var n=this.style,u=AidaAgent.engine,A=u=="trident";if(!is(e)){if(A)n.cssText=b;else this.setAttribute("style",b);return this}if(b.indexOf("-")>-1)b=b.camelCase();if(typeof e=="number"){if(isNaN(e))return;AidaCSS.onlyNumbers[b]||(e+="px")}switch(b){case "opacity":if(A&&AidaAgent.version<9){i=i||this.ajCssComputed();n.filter=(n.filter||i.filter||"").replace(/progid\:DXImageTransform\.Microsoft\.Alpha\([^\)]*\)/gi,"")+(e===""?"":
"progid:DXImageTransform.Microsoft.Alpha(Opacity="+Math.round(parseFloat(e,10).bound(0,1)*100)+")")}else n.opacity=e===""?"":parseFloat(e,10).bound(0,1);break;case "background":case "backgroundImage":case "backgroundColor":AidaAgent.support("cssrgba")||(e=e.replace(/rgba\((.*),.*\)/i,"rgb($1)"));n[b]=e;break;case "backgroundImageUrl":n.backgroundImage="url('"+e+"')";break;case "backgroundPositionX":if(A||u=="webkit"){n.backgroundPositionX=e;return}else n.backgroundPosition=e+" "+this.ajCssGet("backgroundPositionY");
break;case "backgroundPositionY":if(A||u=="webkit")n.backgroundPositionY=e;else n.backgroundPosition=this.ajCssGet("backgroundPositionX")+" "+e;break;case "transform":case "matrix":case "rotate":case "rotateX":case "rotateY":case "rotateZ":case "scale":case "scaleX":case "scaleY":case "scaleZ":case "skewX":case "skewY":case "skewZ":case "translateX":case "translateY":case "translateZ":i=i||this.ajCssComputed();if(A&&AidaAgent.version<9){u=AidaElementStorage.getData(this,"cssTransform",{});if(b=="translateX"){b=
u.translateX||0;i=parseFloat(i.left,10);n.left=i-b+e+"px";u.translateX=e}else if(b=="translateY"){b=u.translateY||0;i=parseFloat(i.top,10);n.top=i-b+e;u.translateY=e}else if(Matrix[b]){u[b]=e;e=[];for(var C in u)e.push(C=="matrix"?u[C]:AidaMatrix[C](parseFloat(u[C],10)));e=AidaMatrix.blend.apply(AidaMatrix,e.reverse());if(!this.filters["DXImageTransform.Microsoft.Matrix"])n.filter=(n.filter||i.filter||"")+" progid:DXImageTransform.Microsoft.Matrix(M11='1.0', sizingMethod='auto expand')";n=this.filters["DXImageTransform.Microsoft.Matrix"];
n.M11=e[0];n.M12=e[2];n.M21=e[1];n.M22=e[3]}}else{u=b;b=AidaCSS.vendorKeys.transform||"transform";if(u=="transform"){n[b]=e;return}C=RegExp("\\s*("+u+"\\([^\\)]+\\)|none)\\s*","i");e=typeof e!="string"?"matrix("+e.join(", ")+", 0, 0) ":u+"("+e+") ";e=(n[b]||i[b]||"").replace(C," ").trim()+" "+e;if(u!="matrix")e=e.replace(/\s*matrix\([^\)]*\)\s*/," ");n[b]=e}break;case "backgroundGradient":e=e.trim().split(/\s+/);u=new AidaColor(e[0]);b=new AidaColor(e[1]);C=e[2];switch(AidaAgent.engine){case "webkit":n.background=
"-webkit-gradient(linear, left top, "+(C?"right top":"left bottom")+", from("+u.rgba()+"), to("+b.rgba()+"))";break;case "gecko":n.background="-moz-linear-gradient("+(C?"left":"top")+", "+u.rgba()+", "+b.rgba()+")";break;case "trident":i=i||this.ajCssComputed();n.background="transparent";n.filter=(n.filter||i.filter||"").replace(/progid\:DXImageTransform\.Microsoft\.Gradient\([^\)]*\)/gi,"")+(e===""?"":"progid:DXImageTransform.Microsoft.Gradient(enabled='true', StartColorStr='"+u.ahex()+"', EndColorStr='"+
b.ahex()+"', GradientType="+(C?1:0)+")")}break;default:try{n[AidaCSS.vendorKeys[b]||b]=e}catch(E){}}return this},ajCssComputed:function(){var b=(this.ownerDocument||{}).defaultView;return(b?b.getComputedStyle(this,null):this.currentStyle)||{}},ajCss:function(b,e){if(!b)return this.ajCssGet();if(typeof b=="object"){var i=0,n=this.ajCssComputed();if(b instanceof Array){for(var u={},A=b.length;i<A;){var C=b[i++];u[C]=this.ajCssGet(C,n,e)}return u}for(i in b)this.ajCssSet(i,b[i],n)}else if(is(e)||b.has(":"))this.ajCssSet(b,
e);else return this.ajCssGet(b,null,e);return this},ajCssClone:function(b){b=b.ajCssComputed();var e=this.style,i={border:true,font:true,padding:true,margin:true,background:true},n;for(n in b)if(b[n]&&typeof n=="string"&&n!="cssText"&&!/\d/.test(n)&&typeof b[n]=="string"&&!i[n])try{e[n]=b[n]}catch(u){}return this},ajCssSwap:function(b,e){var i={},n;for(n in b){i[n]=this.style[n];this.style[n]=b[n]}var u=e.call(this,i,b);for(n in i)this.style[n]=i[n];return u},ajValue:function(b,e){if(is(b)){if(/radio|checkbox/.test(this.type))if(typeof b==
"boolean")this.checked=b;else{b=[].concat(b);this.checked=b.has(this.value)||b.has(this.name)}else if(this.nodeName.toLowerCase()=="select"){b=[].concat(b);for(var i=this.options,n=i.length,u;n;){u=i[--n];u.selected=b.has(u.value)||b.has(u.text)}}else this.value=b;return this}else{switch(this.nodeName.toLowerCase()){case "select":n=this.selectedIndex;i=this.options;if(n<0)return null;if(this.type=="select-multiple"){n=i.length;for(var A=[];n;){u=I(i[--n]);u.selected&&A.push(u.ajValue(null,e))}return A}u=
I(i[n]);if(u.selected)return u.ajValue(null,e);break;case "option":return(this.attributes.value||{}).specified&&!e?this.value:this.text}return this.value||""}},ajRealWidth:function(b){var e=this.ajCss(["paddingLeft","paddingRight","borderLeftWidth","borderRightWidth","marginLeft","marginRight"]);switch(b){case "margin":return this.offsetWidth+e.marginLeft.cleanSize()+e.marginRight.cleanSize();case "padding":return this.offsetWidth-e.borderLeftWidth.cleanSize()-e.borderRightWidth.cleanSize();case "border":return this.offsetWidth}return this.offsetWidth-
e.paddingLeft.cleanSize()-e.paddingRight.cleanSize()-e.borderLeftWidth.cleanSize()-e.borderRightWidth.cleanSize()},ajRealHeight:function(b){var e=typeof b;if(e=="boolean"||e=="number"){var i=I(this.cloneNode(true)),n=i.style,u=this.ajCss(["paddingTop","paddingBottom"]);n.visibility="hidden";n.display="block";n.height="auto";if(e=="number")n.width=b+"px";this.ajBefore(i);b=i.clientHeight-(u.paddingTop+"").cleanSize()-(u.paddingBottom+"").cleanSize();i.ajRemove();return b||0}i=this.ajCss(["paddingTop",
"paddingBottom","borderTopWidth","borderBottomWidth","marginTop","marginBottom"]);switch(b){case "margin":return this.offsetHeight+i.marginTop.cleanSize()+i.marginBottom.cleanSize();case "padding":return this.offsetHeight-i.borderTopWidth.cleanSize()-i.borderBottomWidth.cleanSize();case "border":return this.offsetHeight}return this.offsetHeight-i.paddingTop.cleanSize()-i.paddingBottom.cleanSize()-i.borderTopWidth.cleanSize()-i.borderBottomWidth.cleanSize()},ajHide:function(){this.style.display="none";
return this},ajShow:function(){this.style.display="block";return this},ajHidden:function(){return!this.offsetWidth||!this.offsetHeight},ajVisible:function(){return this.offsetWidth&&this.offsetHeight},ajInView:function(b){b=b||0;var e=AidaEnv.pageScroll(),i=AidaEnv.viewSize(),n=this.ajPosition(),u=this.ajSize();return n.top-b<e.top+i.height&&n.top+u.height>e.top-b&&n.left-b<e.left+i.width&&n.left+u.width>e.left-b},ajTranslate:function(b,e){typeof b=="number"&&this.ajCssSet("left",parseFloat(this.ajCssGet("left"),
10)+b);typeof e=="number"&&this.ajCssSet("top",parseFloat(this.ajCssGet("top"),10)+e);return this},ajResize:function(b,e){typeof b=="number"&&this.ajCssSet("width",parseFloat(this.ajCssGet("width"),10)+b);typeof e=="number"&&this.ajCssSet("height",parseFloat(this.ajCssGet("height"),10)+e);return this},ajId:function(){var b=this.getAttribute("id");if(!b){b="unique_id_"+k++;this.setAttribute("id",b)}return b},ajPosition:function(b){var e=this,i=0,n=0,u=this.ownerDocument.defaultView,A=e.ownerDocument,
C=A.documentElement;A=A.body;do{i+=e.offsetLeft-e.scrollLeft;n+=e.offsetTop-e.scrollTop;if(e=e.offsetParent){var E=u?u.getComputedStyle(e,null):e.currentStyle,G=parseInt(E.borderLeftWidth,10);isNaN(G)||(i+=G);G=parseInt(E.borderTopWidth,10);isNaN(G)||(n+=G)}}while(e&&e!==A&&e!==C);if(b){if(typeof b=="string"||isElement(b)){e=b;b={}}else e=b.target;if(e=I(e)){e=e.ajPosition();i-=e.left;n-=e.top}i+=Math.round(this.offsetWidth*(b.x||0));n+=Math.round(this.offsetHeight*(b.y||0))}return{left:i,top:n}},
ajSize:function(){if(!this.offsetWidth&&!this.offsetHeight)return this.ajCssSwap(AidaCSS.presets.hideWithLayout,function(){return{width:this.offsetWidth,height:this.offsetHeight}});return{width:this.offsetWidth,height:this.offsetHeight}},ajAt:function(b,e){var i=this.ajPosition(),n=this.ajSize(),u=i.left;i=i.top;return b>=u&&b<u+n.width&&e>=i&&e<i+n.height},ajDistance:function(b,e,i,n,u){if(typeof i!="number")i=0.5;if(typeof n!="number")n=i;if(typeof u!="number")u=1;i=this.ajPosition({x:i,y:n});b=
i.left-b;e=i.top-e;return{distance:Math.sqrt(b*b+e*e)/u,x:b/u,y:e/u}},ajDisableSelect:function(){d.all&&AidaEvent.add(this,"selectstart",Function.eventStop);this.setAttribute("unselectable","on");this.ajCss({MozUserSelect:"-moz-none",KhtmlUserSelect:"none",WebkitUserSelect:"none"});return this},ajEnableSelect:function(){d.all&&AidaEvent.remove(this,"selectstart",Function.eventStop);this.removeAttribute("unselectable");this.ajCss({MozUserSelect:"",KhtmlUserSelect:"",WebkitUserSelect:""});return this},
ajAddEvent:function(b,e,i){AidaEvent.add(this,b,e,i);return this},ajRemoveEvent:function(b,e){AidaEvent.remove(this,b,e);return this},ajFireEvent:function(b,e){return AidaEvent.fire(this,b,e)},ajData:function(b,e){if(is(e)){AidaElementStorage.storeData(this,b,e);return this}var i=AidaElementStorage.retrieveData(this,b);if(!i){i=this.getAttribute("data-"+b);if(typeof i==="string"){var n=i.parseJSON();if(is(n))i=n}}return i},ajRemoveData:function(b){AidaElementStorage.removeData(this,b);return this}})})(window,
document,navigator);
var AidaMatrix={reflectH:function(){return[-1,0,0,1]},reflectV:function(){return[1,0,0,-1]},rotate:function(a){var d=Math.rad(a);a=Math.round(Math.sin(d)*100)/100;d=Math.round(Math.cos(d)*100)/100;return[d,a,-a,d]},scale:function(a,d){return[a,0,0,is(d)?d:a]},scaleX:function(a){return[a,0,0,1]},scaleY:function(a){return[1,0,0,a]},rotateFromVector:function(a,d){return this.rotate(Math.deg(Math.atan2(d,a)))},skew:function(a,d){return[1,Math.tan(Math.rad(d)),Math.tan(Math.rad(a)),1]},skewX:function(a){return[1,
0,Math.tan(Math.rad(a)),1]},skewY:function(a){return[1,Math.tan(Math.rad(a)),0,1]},multiply:function(a,d){return[a[0]*d[0]+a[1]*d[2],a[0]*d[1]+a[1]*d[3],a[2]*d[0]+a[3]*d[2],a[2]*d[1]+a[3]*d[3]]},blend:function(){for(var a=0,d=arguments[a++],g;g=arguments[a++];)d=this.multiply(d,g);return d}};
(function(a,d,g){function o(q,p){var v=d.createElement("div").style,y,z=false,r=q.substr(0,1).toUpperCase()+q.substr(1);r=[q,"Webkit"+r,"Moz"+r,"O"+r,"Ms"+r];v.cssText=p;for(y in r)if(v[r[y]]){z=true;break}return z}var m={};AidaAgent.support=function(q){q=q.toLowerCase();if(is(m[q]))return m[q];var p=false;switch(q){case "canvas":p=!!("getContext"in d.createElement("canvas"));break;case "canvastext":p=!!(this.support("canvas")&&typeof d.createElement("canvas").getContext("2d").fillText=="function");
break;case "geolocation":p=!!g.geolocation;break;case "audio":p=!!d.createElement("audio").canPlayType;break;case "audiotypes":var v=d.createElement("audio");p={};if(v.canPlayType){p.ogg=v.canPlayType('audio/ogg; codecs="vorbis"');p.mp3=v.canPlayType("audio/mpeg3;");p.wav=v.canPlayType('audio/wav; codecs="1"');p.m4a=v.canPlayType("audio/x-m4a;")}break;case "video":p=!!d.createElement("video").canPlayType;break;case "videotypes":v=d.createElement("video");p={};if(v.canPlayType){p.ogg=v.canPlayType('video/ogg; codecs="theora, vorbis"');
p.hs264=v.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"')}break;case "cssrgba":p=d.createElement("div");p=p.style;p.cssText="background-color: rgba(150, 255, 150, 0.5)";p=p.backgroundColor.indexOf("rgba")>-1;break;case "csshsl":p=d.createElement("div");p=p.style;p.cssText="background-color: hsl(120,40%,100%)";p=p.backgroundColor;p=p.indexOf("hsl")>-1||p.indexOf("rgb")>-1;break;case "csshsla":p=d.createElement("div");p=p.style;p.cssText="background-color: hsla(120,40%,100%, .5)";p=p.backgroundColor;
p=p.indexOf("rgba")>-1||p.indexOf("hsla")>-1;break;case "cssmultiplebackgrounds":p=d.createElement("div");p=p.style;p.cssText="background: url(a.png), url(b.png), #FF0000 url(c.png);";v=(p.background.match(/url\(/g)||[]).length;p=v==3;break;case "cssborderimage":p=o("borderImage","border-image: url(m.png) 1 1 stretch; -webkit-border-image: url(m.png) 1 1 stretch; -moz-border-image: url(m.png) 1 1 stretch; -o-border-image: url(m.png) 1 1 stretch; -ms-border-image: url(m.png) 1 1 stretch;");break;case "cssborderradius":p=
o("borderRadius","border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; -o-border-radius: 10px; -ms-border-radius: 10px;");break;case "cssboxshadow":p=o("boxShadow","box-shadow: #000 1px 2px 1px; -webkit-box-shadow: #000 1px 2px 3px; -moz-box-shadow: #000 1px 2px 3px; -o-box-shadow: #000 1px 2px 3px; -ms-box-shadow: #000 1px 2px 3px;");break;case "csstextshadow":p=o("textShadow","text-shadow: #000 1px 2px 1px; -webkit-text-shadow: #000 1px 2px 3px; -moz-text-shadow: #000 1px 2px 3px; -o-text-shadow: #000 1px 2px 3px; -ms-text-shadow: #000 1px 2px 3px;");
break;case "cssopacity":p=o("opacity","opacity: 0.5; -webkit-opacity: 0.5; -moz-opacity: 0.5; -oopacity: 0.5; -ms-opacity: 0.5;");break;case "cssanimations":p=o("animation","position:relative; animation: 'animate' 3s ease 2; -webkit-animation: 'animate' 3s ease 2; -moz-animation: 'animate' 3s ease 2; -o-animation: 'animate' 3s ease 2; -ms-animation: 'animate' 3s ease 2;");break;case "csscolumns":p=o("columnCount","column-count: 4; -webkit-column-count: 4; -moz-column-count: 4; -o-column-count: 4; -ms-column-count: 4;");
break;case "cssgradients":p=d.createElement("div");p=p.style;p.cssText="background-image: gradient(linear, left top, right bottom, from(#000), to(white)); background-image: -webkit-gradient(linear, left top, right bottom, from(#000), to(white)); background-image: -moz-gradient(linear, left top, right bottom, from(#000), to(white)); background-image: -o-gradient(linear, left top, right bottom, from(#000), to(white)); background-image: -ms-gradient(linear, left top, right bottom, from(#000), to(white));";
p=p.backgroundImage.indexOf("gradient")>-1;break;case "cssreflections":p=o("boxReflect","box-reflect: right 1px; -webkit-box-reflect: right 1px; -moz-box-reflect: right 1px; -o-box-reflect: right 1px; -ms-box-reflect: right 1px;");break;case "csstransforms":p=o("transform","transform: rotate(3deg); -webkit-transform: rotate(3deg); -moz-transform: rotate(3deg); -o-transform: rotate(3deg); -ms-transform: rotate(3deg);");break;case "csstransforms3d":p=o("perspective","perspective: 400; -webkit-perspective: 400; -moz-perspective: 400; -o-perspective: 400; -ms-perspective: 400;");
break;case "csstransitions":p=o("transitionProperty","transition: all 0.5s linear; -webkit-transition: all 0.5s linear; -moz-transition: all 0.5s linear; -o-transition: all 0.5s linear; -ms-transition: all 0.5s linear;");break;case "inputattributes":var y=["autocomplete","autofocus","list","placeholder","max","min","multiple","pattern","required","step"];v=0;var z=d.createElement("input");for(p={};prop=y[v++];)p[prop]=!!(prop in z);break;case "inputautocomplete":case "inputautofocus":case "inputlist":case "inputplaceholder":case "inputmax":case "inputmin":case "inputmultiple":case "inputpattern":case "inputrequired":case "inputstep":p=
this.support("inputattributes")[q.replace("input","")];break;case "inputtypes":var r=["search","tel","url","email","datetime","date","month","week","time","datetime-local","number","range","color"];v=0;z=d.createElement("input");for(p={};y=r[v++];){z.setAttribute("type",y);p[y]=z.type!="text"}break;case "inputsearch":case "inputtel":case "inputurl":case "inputemail":case "inputdatetime":case "inputdate":case "inputmonth":case "inputweek":case "inputtime":case "inputdatetime-local":case "inputnumber":case "inputrange":case "inputcolor":p=
this.support("inputtypes")[q.replace("input","")];break;case "textareamaxlength":p=!!("maxlength"in d.createElement("textarea"));break;case "webworkers":p=!!a.Worker;break;case "websocket":p="WebSocket"in a;break;case "applicationcache":p=!!a.applicationCache;break;case "sessionstorage":p="sessionStorage"in a;break;case "localstorage":p="localStorage"in a}return m[q]=p};AidaAgent.supportFont=function(){};AidaAgent.rgba=AidaAgent.support("cssrgba")})(window,document,navigator);(function(){function a(k,b,e,i,n,u){n=0;for(var A=i.length;n<A;n++){var C=i[n];if(C){var E=false;for(C=C[k];C;){if(C.sizcache===e){E=i[C.sizset];break}if(C.nodeType===1&&!u){C.sizcache=e;C.sizset=n}if(C.nodeName.toLowerCase()===b){E=C;break}C=C[k]}i[n]=E}}}function d(k,b,e,i,n,u){n=0;for(var A=i.length;n<A;n++){var C=i[n];if(C){var E=false;for(C=C[k];C;){if(C.sizcache===e){E=i[C.sizset];break}if(C.nodeType===1){if(!u){C.sizcache=e;C.sizset=n}if(typeof b!=="string"){if(C===b){E=true;break}}else if(v.filter(b,
[C]).length>0){E=C;break}}C=C[k]}i[n]=E}}}var g=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,o=0,m=Object.prototype.toString,q=false,p=true;[0,0].sort(function(){p=false;return 0});var v=function(k,b,e,i){e=e||[];var n=b=b||document;if(b.nodeType!==1&&b.nodeType!==9)return[];if(!k||typeof k!=="string")return e;var u,A,C,E,G,J=true,K=v.isXML(b),F=[],P=k;do{g.exec("");if(u=g.exec(P)){P=u[3];F.push(u[1]);if(u[2]){E=
u[3];break}}}while(u);if(F.length>1&&z.exec(k))if(F.length===2&&y.relative[F[0]])A=D(F[0]+F[1],b);else for(A=y.relative[F[0]]?[b]:v(F.shift(),b);F.length;){k=F.shift();if(y.relative[k])k+=F.shift();A=D(k,A)}else{if(!i&&F.length>1&&b.nodeType===9&&!K&&y.match.ID.test(F[0])&&!y.match.ID.test(F[F.length-1])){u=v.find(F.shift(),b,K);b=u.expr?v.filter(u.expr,u.set)[0]:u.set[0]}if(b){u=i?{expr:F.pop(),set:t(i)}:v.find(F.pop(),F.length===1&&(F[0]==="~"||F[0]==="+")&&b.parentNode?b.parentNode:b,K);A=u.expr?
v.filter(u.expr,u.set):u.set;if(F.length>0)C=t(A);else J=false;for(;F.length;){u=G=F.pop();if(y.relative[G])u=F.pop();else G="";if(u==null)u=b;y.relative[G](C,u,K)}}else C=[]}C||(C=A);C||v.error(G||k);if(m.call(C)==="[object Array]")if(J)if(b&&b.nodeType===1)for(k=0;C[k]!=null;k++){if(C[k]&&(C[k]===true||C[k].nodeType===1&&v.contains(b,C[k])))e.push(A[k])}else for(k=0;C[k]!=null;k++)C[k]&&C[k].nodeType===1&&e.push(A[k]);else e.push.apply(e,C);else t(C,e);if(E){v(E,n,e,i);v.uniqueSort(e)}return e};
v.uniqueSort=function(k){if(B){q=p;k.sort(B);if(q)for(var b=1;b<k.length;b++)k[b]===k[b-1]&&k.splice(b--,1)}return k};v.matches=function(k,b){return v(k,null,null,b)};v.matchesSelector=function(k,b){return v(b,null,null,[k]).length>0};v.find=function(k,b,e){var i;if(!k)return[];for(var n=0,u=y.order.length;n<u;n++){var A,C=y.order[n];if(A=y.leftMatch[C].exec(k)){var E=A[1];A.splice(1,1);if(E.substr(E.length-1)!=="\\"){A[1]=(A[1]||"").replace(/\\/g,"");i=y.find[C](A,b,e);if(i!=null){k=k.replace(y.match[C],
"");break}}}}i||(i=typeof b.getElementsByTagName!=="undefined"?b.getElementsByTagName("*"):[]);return{set:i,expr:k}};v.filter=function(k,b,e,i){for(var n,u,A=k,C=[],E=b,G=b&&b[0]&&v.isXML(b[0]);k&&b.length;){for(var J in y.filter)if((n=y.leftMatch[J].exec(k))!=null&&n[2]){var K,F,P=y.filter[J];F=n[1];u=false;n.splice(1,1);if(F.substr(F.length-1)!=="\\"){if(E===C)C=[];if(y.preFilter[J])if(n=y.preFilter[J](n,E,e,C,i,G)){if(n===true)continue}else u=K=true;if(n)for(var T=0;(F=E[T])!=null;T++)if(F){K=
P(F,n,T,E);var U=i^!!K;if(e&&K!=null)if(U)u=true;else E[T]=false;else if(U){C.push(F);u=true}}if(K!==undefined){e||(E=C);k=k.replace(y.match[J],"");if(!u)return[];break}}}if(k===A)if(u==null)v.error(k);else break;A=k}return E};v.error=function(k){throw"Syntax error, unrecognized expression: "+k;};var y=v.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,
TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(k){return k.getAttribute("href")}},relative:{"+":function(k,b){var e=typeof b==="string",i=e&&!/\W/.test(b);e=e&&
!i;if(i)b=b.toLowerCase();i=0;for(var n=k.length,u;i<n;i++)if(u=k[i]){for(;(u=u.previousSibling)&&u.nodeType!==1;);k[i]=e||u&&u.nodeName.toLowerCase()===b?u||false:u===b}e&&v.filter(b,k,true)},">":function(k,b){var e,i=typeof b==="string",n=0,u=k.length;if(i&&!/\W/.test(b))for(b=b.toLowerCase();n<u;n++){if(e=k[n]){e=e.parentNode;k[n]=e.nodeName.toLowerCase()===b?e:false}}else{for(;n<u;n++)if(e=k[n])k[n]=i?e.parentNode:e.parentNode===b;i&&v.filter(b,k,true)}},"":function(k,b,e){var i,n=o++,u=d;if(typeof b===
"string"&&!/\W/.test(b)){i=b=b.toLowerCase();u=a}u("parentNode",b,n,k,i,e)},"~":function(k,b,e){var i,n=o++,u=d;if(typeof b==="string"&&!/\W/.test(b)){i=b=b.toLowerCase();u=a}u("previousSibling",b,n,k,i,e)}},find:{ID:function(k,b,e){if(typeof b.getElementById!=="undefined"&&!e)return(k=b.getElementById(k[1]))&&k.parentNode?[k]:[]},NAME:function(k,b){if(typeof b.getElementsByName!=="undefined"){for(var e=[],i=b.getElementsByName(k[1]),n=0,u=i.length;n<u;n++)i[n].getAttribute("name")===k[1]&&e.push(i[n]);
return e.length===0?null:e}},TAG:function(k,b){if(typeof b.getElementsByTagName!=="undefined")return b.getElementsByTagName(k[1])}},preFilter:{CLASS:function(k,b,e,i,n,u){k=" "+k[1].replace(/\\/g,"")+" ";if(u)return k;u=0;for(var A;(A=b[u])!=null;u++)if(A)if(n^(A.className&&(" "+A.className+" ").replace(/[\t\n\r]/g," ").indexOf(k)>=0))e||i.push(A);else if(e)b[u]=false;return false},ID:function(k){return k[1].replace(/\\/g,"")},TAG:function(k){return k[1].toLowerCase()},CHILD:function(k){if(k[1]===
"nth"){k[2]||v.error(k[0]);k[2]=k[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(k[2]==="even"&&"2n"||k[2]==="odd"&&"2n+1"||!/\D/.test(k[2])&&"0n+"+k[2]||k[2]);k[2]=b[1]+(b[2]||1)-0;k[3]=b[3]-0}else k[2]&&v.error(k[0]);k[0]=o++;return k},ATTR:function(k,b,e,i,n,u){b=k[1]=k[1].replace(/\\/g,"");if(!u&&y.attrMap[b])k[1]=y.attrMap[b];k[4]=(k[4]||k[5]||"").replace(/\\/g,"");if(k[2]==="~=")k[4]=" "+k[4]+" ";return k},PSEUDO:function(k,b,e,i,n){if(k[1]==="not")if((g.exec(k[3])||"").length>
1||/^\w/.test(k[3]))k[3]=v(k[3],null,null,b);else{k=v.filter(k[3],b,e,true^n);e||i.push.apply(i,k);return false}else if(y.match.POS.test(k[0])||y.match.CHILD.test(k[0]))return true;return k},POS:function(k){k.unshift(true);return k}},filters:{enabled:function(k){return k.disabled===false&&k.type!=="hidden"},disabled:function(k){return k.disabled===true},checked:function(k){return k.checked===true},selected:function(k){return k.selected===true},parent:function(k){return!!k.firstChild},empty:function(k){return!k.firstChild},
has:function(k,b,e){return!!v(e[3],k).length},header:function(k){return/h\d/i.test(k.nodeName)},text:function(k){return"text"===k.type},radio:function(k){return"radio"===k.type},checkbox:function(k){return"checkbox"===k.type},file:function(k){return"file"===k.type},password:function(k){return"password"===k.type},submit:function(k){return"submit"===k.type},image:function(k){return"image"===k.type},reset:function(k){return"reset"===k.type},button:function(k){return"button"===k.type||k.nodeName.toLowerCase()===
"button"},input:function(k){return/input|select|textarea|button/i.test(k.nodeName)}},setFilters:{first:function(k,b){return b===0},last:function(k,b,e,i){return b===i.length-1},even:function(k,b){return b%2===0},odd:function(k,b){return b%2===1},lt:function(k,b,e){return b<e[3]-0},gt:function(k,b,e){return b>e[3]-0},nth:function(k,b,e){return e[3]-0===b},eq:function(k,b,e){return e[3]-0===b}},filter:{PSEUDO:function(k,b,e,i){var n=b[1],u=y.filters[n];if(u)return u(k,e,b,i);else if(n==="contains")return(k.textContent||
k.innerText||v.getText([k])||"").indexOf(b[3])>=0;else if(n==="not"){b=b[3];e=0;for(i=b.length;e<i;e++)if(b[e]===k)return false;return true}else v.error(n)},CHILD:function(k,b){var e=b[1],i=k;switch(e){case "only":case "first":for(;i=i.previousSibling;)if(i.nodeType===1)return false;if(e==="first")return true;i=k;case "last":for(;i=i.nextSibling;)if(i.nodeType===1)return false;return true;case "nth":e=b[2];var n=b[3];if(e===1&&n===0)return true;var u=b[0],A=k.parentNode;if(A&&(A.sizcache!==u||!k.nodeIndex)){var C=
0;for(i=A.firstChild;i;i=i.nextSibling)if(i.nodeType===1)i.nodeIndex=++C;A.sizcache=u}i=k.nodeIndex-n;return e===0?i===0:i%e===0&&i/e>=0}},ID:function(k,b){return k.nodeType===1&&k.getAttribute("id")===b},TAG:function(k,b){return b==="*"&&k.nodeType===1||k.nodeName.toLowerCase()===b},CLASS:function(k,b){return(" "+(k.className||k.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(k,b){var e=b[1];e=y.attrHandle[e]?y.attrHandle[e](k):k[e]!=null?k[e]:k.getAttribute(e);var i=e+"",n=b[2],u=b[4];
return e==null?n==="!=":n==="="?i===u:n==="*="?i.indexOf(u)>=0:n==="~="?(" "+i+" ").indexOf(u)>=0:!u?i&&e!==false:n==="!="?i!==u:n==="^="?i.indexOf(u)===0:n==="$="?i.substr(i.length-u.length)===u:n==="|="?i===u||i.substr(0,u.length+1)===u+"-":false},POS:function(k,b,e,i){var n=y.setFilters[b[2]];if(n)return n(k,e,b,i)}}},z=y.match.POS,r=function(k,b){return"\\"+(b-0+1)},j;for(j in y.match){y.match[j]=RegExp(y.match[j].source+/(?![^\[]*\])(?![^\(]*\))/.source);y.leftMatch[j]=RegExp(/(^(?:.|\r|\n)*?)/.source+
y.match[j].source.replace(/\\(\d+)/g,r))}var t=function(k,b){k=Array.prototype.slice.call(k,0);if(b){b.push.apply(b,k);return b}return k};try{Array.prototype.slice.call(document.documentElement.childNodes,0)}catch(w){t=function(k,b){var e=0,i=b||[];if(m.call(k)==="[object Array]")Array.prototype.push.apply(i,k);else if(typeof k.length==="number")for(var n=k.length;e<n;e++)i.push(k[e]);else for(;k[e];e++)i.push(k[e]);return i}}var B,x;if(document.documentElement.compareDocumentPosition)B=function(k,
b){if(k===b){q=true;return 0}if(!k.compareDocumentPosition||!b.compareDocumentPosition)return k.compareDocumentPosition?-1:1;return k.compareDocumentPosition(b)&4?-1:1};else{B=function(k,b){var e,i,n=[],u=[];e=k.parentNode;i=b.parentNode;var A=e;if(k===b){q=true;return 0}else if(e===i)return x(k,b);else if(e){if(!i)return 1}else return-1;for(;A;){n.unshift(A);A=A.parentNode}for(A=i;A;){u.unshift(A);A=A.parentNode}e=n.length;i=u.length;for(A=0;A<e&&A<i;A++)if(n[A]!==u[A])return x(n[A],u[A]);return A===
e?x(k,u[A],-1):x(n[A],b,1)};x=function(k,b,e){if(k===b)return e;for(k=k.nextSibling;k;){if(k===b)return-1;k=k.nextSibling}return 1}}v.getText=function(k){for(var b="",e,i=0;k[i];i++){e=k[i];if(e.nodeType===3||e.nodeType===4)b+=e.nodeValue;else if(e.nodeType!==8)b+=v.getText(e.childNodes)}return b};(function(){var k=document.createElement("div"),b="script"+(new Date).getTime(),e=document.documentElement;k.innerHTML="<a name='"+b+"'/>";e.insertBefore(k,e.firstChild);if(document.getElementById(b)){y.find.ID=
function(i,n,u){if(typeof n.getElementById!=="undefined"&&!u)return(n=n.getElementById(i[1]))?n.id===i[1]||typeof n.getAttributeNode!=="undefined"&&n.getAttributeNode("id").nodeValue===i[1]?[n]:undefined:[]};y.filter.ID=function(i,n){var u=typeof i.getAttributeNode!=="undefined"&&i.getAttributeNode("id");return i.nodeType===1&&u&&u.nodeValue===n}}e.removeChild(k);e=k=null})();(function(){var k=document.createElement("div");k.appendChild(document.createComment(""));if(k.getElementsByTagName("*").length>
0)y.find.TAG=function(b,e){var i=e.getElementsByTagName(b[1]);if(b[1]==="*"){for(var n=[],u=0;i[u];u++)i[u].nodeType===1&&n.push(i[u]);i=n}return i};k.innerHTML="<a href='#'></a>";if(k.firstChild&&typeof k.firstChild.getAttribute!=="undefined"&&k.firstChild.getAttribute("href")!=="#")y.attrHandle.href=function(b){return b.getAttribute("href",2)};k=null})();document.querySelectorAll&&function(){var k=v,b=document.createElement("div");b.innerHTML="<p class='TEST'></p>";if(!(b.querySelectorAll&&b.querySelectorAll(".TEST").length===
0)){v=function(i,n,u,A){n=n||document;if(!A&&!v.isXML(n)){var C=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(i);if(C&&(n.nodeType===1||n.nodeType===9))if(C[1])return t(n.getElementsByTagName(i),u);else if(C[2]&&y.find.CLASS&&n.getElementsByClassName)return t(n.getElementsByClassName(C[2]),u);if(n.nodeType===9){if(i==="body"&&n.body)return t([n.body],u);else if(C&&C[3]){var E=n.getElementById(C[3]);if(E&&E.parentNode){if(E.id===C[3])return t([E],u)}else return t([],u)}try{return t(n.querySelectorAll(i),
u)}catch(G){}}else if(n.nodeType===1&&n.nodeName.toLowerCase()!=="object"){E=(C=n.getAttribute("id"))||"__sizzle__";var J=n.parentNode,K=/^\s*[+~]/.test(i);if(C)E=E.replace(/'/g,"\\$&");else n.setAttribute("id",E);if(K&&J)n=n.parentNode;try{if(!K||J)return t(n.querySelectorAll("[id='"+E+"'] "+i),u)}catch(F){}finally{C||n.removeAttribute("id")}}}return k(i,n,u,A)};for(var e in k)v[e]=k[e];b=null}}();(function(){var k=document.documentElement,b=k.matchesSelector||k.mozMatchesSelector||k.webkitMatchesSelector||
k.msMatchesSelector,e=false;try{b.call(document.documentElement,"[test!='']:sizzle")}catch(i){e=true}if(b)v.matchesSelector=function(n,u){u=u.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!v.isXML(n))try{if(e||!y.match.PSEUDO.test(u)&&!/!=/.test(u))return b.call(n,u)}catch(A){}return v(u,null,null,[n]).length>0}})();(function(){var k=document.createElement("div");k.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!k.getElementsByClassName||k.getElementsByClassName("e").length===
0)){k.lastChild.className="e";if(k.getElementsByClassName("e").length!==1){y.order.splice(1,0,"CLASS");y.find.CLASS=function(b,e,i){if(typeof e.getElementsByClassName!=="undefined"&&!i)return e.getElementsByClassName(b[1])};k=null}}})();v.contains=document.documentElement.contains?function(k,b){return k!==b&&(k.contains?k.contains(b):true)}:document.documentElement.compareDocumentPosition?function(k,b){return!!(k.compareDocumentPosition(b)&16)}:function(){return false};v.isXML=function(k){return(k=
(k?k.ownerDocument||k:0).documentElement)?k.nodeName!=="HTML":false};var D=function(k,b){for(var e,i=[],n="",u=b.nodeType?[b]:b;e=y.match.PSEUDO.exec(k);){n+=e[0];k=k.replace(y.match.PSEUDO,"")}k=y.relative[k]?k+"*":k;e=0;for(var A=u.length;e<A;e++)v(k,u[e],i);return v.filter(n,i)};window.Sizzle=v})();(function(a){var d=AidaElements.uniqueId(),g=0,o={},m={};a.AidaElementStorage={getStorage:function(q){if(q==a)q=m;else{q=q[d]||(q[d]=q=++g);q=o[q]||(o[q]={})}return q},removeStorage:function(q){if(q==a)m={};else{var p=q[d];if(p){delete o[p];try{delete q[d]}catch(v){q.removeAttribute&&q.removeAttribute(d)}}}},storeData:function(q,p,v){if(typeof q=="string"&&!v){v=p;p=q;q=a}q=this.getStorage(q);if(typeof v!="undefined")q[p]=v;return q[p]},retrieveData:function(q,p,v){if(!p){p=q;q=a}q=this.getStorage(q);
return is(q[p])?q[p]:q[p]=v},removeData:function(q,p){var v=this.getStorage(q);if(p){delete v[p];p=null;for(p in v)break;p||this.removeStorage(q)}}};AidaElementStorage.setData=AidaElementStorage.storeData;AidaElementStorage.getData=AidaElementStorage.retrieveData;AidaElementStorage.deleteData=AidaElementStorage.removeData;a.attachEvent&&!a.addEventListener&&a.attachEvent("onunload",function(){for(var q in o){var p=o[q].events;if(p)try{AidaEvent.remove(p.$element)}catch(v){}}if(AidaAgent.version<8){q=
AidaElements._extended;for(p=q.length;p>0;)delete q[--p]}})})(window,document);function AidaEvent(a,d,g){this.event=a;this.element=d;this.type=g}
AidaEvent.prototype={event:null,element:null,mousePosition:function(a,d){var g=this.event,o=g.pageX,m;if(typeof o!="undefined"&&!g.changedTouches)m=g.pageY;else{if(g.changedTouches)g=g.changedTouches[0];o=g.clientX;if(typeof o!="undefined"){m=document.body;var q=document.documentElement;o+=m.scrollLeft+q.scrollLeft;m=g.clientY+m.scrollTop+q.scrollTop}}return a&&(a=typeof a=="boolean"?AidaEnv.pageScroll():I(a).ajPosition(d))?{left:o-a.left,top:m-a.top}:{left:o,top:m}},touchesNumber:function(){var a=
this.event.changedTouches;if(a)return a.length;return 1},target:function(){return this.event.target||this.event.srcElement||document},relatedTarget:function(){return this.event.relatedTarget||(this.target()==this.event.fromElement?this.event.toElement:this.event.fromElement)},withinElement:function(a){a=a?I(a):this.element;for(var d=this.relatedTarget();d&&d!=a;)d=d.parentNode;return d==a},preventDefault:function(){if(this.event.preventDefault)this.event.preventDefault();else this.event.returnValue=
false;return this},stopPropagation:function(){if(this.event.stopPropagation)this.event.stopPropagation();else this.event.cancelBubble=true;this.stopped=true;return this},stopped:false,stop:function(){this.stopPropagation().preventDefault();return false},shiftKey:function(){return this.event.shiftKey},ctrlKey:function(){return this.event.ctrlKey},altKey:function(){return this.event.altKey},metaKey:function(){return this.event.metaKey},key:function(){var a=this.event;a=a.which||a.keyCode||"";return AidaEvent.keysMap[a]||
String.fromCharCode(a).toUpperCase()},capsLock:function(){var a=this.event,d=a.which||a.keyCode||0;a=a.shiftKey;return d>64&&d<91&&!a||d>96&&d<123&&a},mouseButton:function(){var a=this.event,d=a.button,g,o;if(d){a=d&1;o=d&2;g=d&4}else{d=a.which;a=d==1;o=d==2;g=d==3}return{button:d,left:a,middle:g,right:o}},mouseWheel:function(){var a=this.event,d=a.detail;if(d)d=-d/3;else{d=a.wheelDelta/120;if(window.opera)d=-d}return d},mouseWheelAxis:function(){var a=this.event;return a.axis==1||a.wheelDeltaX?"horizontal":
"vertical"},orientation:function(){var a=this.event,d="normal";switch(AidaAgent.engine){case "gecko":var g=Math.round(g);switch(g){case 0:d="normal";break;case -1:d="right";break;case 1:d="left";break;case 2:d="flipped"}return{x:a.x||0,y:a.y||0,z:a.z||0,orientation:d};case "webkit":switch(window.orientation){case 0:d="normal";break;case -90:d="right";break;case 90:d="left";break;case 180:d="flipped"}return{x:window.orientation/90,y:0,z:0,orientation:d}}return{x:0,y:0,z:0,orientation:"normal"}},get:function(a){return this.event[a]}};
AidaEvent.keysMap={8:"BackSpace",9:"Tab",12:"CursorCenter",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"CursorHome",37:"CursorLeft",38:"CursorUp",39:"CursorRight",40:"CursorDown",44:"Print",45:"Insert",46:"Delete",91:"LeftWin",92:"RightWin",96:"NumLock0",97:"NumLock1",98:"NumLock2",99:"NumLock3",100:"NumLock4",101:"NumLock5",102:"NumLock6",103:"NumLock7",104:"NumLock8",105:"NumLock9",112:"F1",113:"F2",114:"F3",115:"F4",
116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",124:"F13",125:"F14",126:"F15",144:"NumLock",145:"ScrollLock",224:"Cmd"};
(function(a,d){function g(){if(!v){if(!d.body)return setTimeout(g,1);v=true;p.each(function(r){r.call(d)});p=null;g=Function.empty}}function o(){AidaEvent.add(a,"load",g);if(AidaAgent.trident)(function(){try{d.documentElement.doScroll("left")}catch(r){return a.setTimeout(arguments.callee,1)}g()})();else AidaAgent.webkit&&AidaAgent.version<525?function(){if(["loaded","complete"].has(d.readyState))return g();a.setTimeout(arguments.callee,20)}():d.removeEventListener("DOMContentLoaded",function(){d.removeEventListener("DOMContentLoaded",
arguments.callee,false);g()},false);o=Function.empty}function m(r){var j;if(typeof(j=a["inner"+r])=="number")return j;r="client"+r;return d.documentElement[r]||d.body[r]}function q(r,j){var t,w,B=d.body,x=d.documentElement;if(typeof(t=a["inner"+r])=="number"&&typeof(w=a["scrollMax"+j])=="number")return t+w;return Math.max(Math.max(B["scroll"+r],x["scroll"+r]),Math.max(B["offset"+r],x["offset"+r]))}var p=[],v=false;AidaEvent.onLoad=function(r,j){AidaEvent.add(a,"load",r,j)};AidaEvent.onReady=function(r){if(typeof r!==
"function")throw new TypeError("Argument is not a Function");if(v)return r.call(d);p.push(r);o()};AidaEvent.specials={mouseenter:function(r,j,t){var w=t,B=AidaAgent.engine=="trident";if(!B||B&&AidaAgent.version<8){j="mouseover";w=function(x){return x.withinElement()?true:t.call(r,x)}}return[[r,j,w]]},mouseleave:function(r,j,t){var w=t,B=AidaAgent.engine=="trident";if(!B||B&&AidaAgent.version<8){j="mouseout";w=function(x){return x.withinElement()?true:t.call(r,x)}}return[[r,j,w]]},mousedownlong:function(r,
j,t){j=[];var w,B=true,x=t.data;j.push([r,AidaAgent.itouch?"touchstart":"mousedown",function(D){B=false;w=a.setTimeout(function(){B=true;t.call(r,D,true)},(x||1)*1E3);return true}]);j.push([d,AidaAgent.itouch?"touchend":"mouseup",function(D){a.clearTimeout(w);!B&&t&&t.call(r,D,false);return B=true}]);return j},mousedowntimed:function(r,j,t){j=[];var w,B=false,x;j.push([r,AidaAgent.itouch?"touchstart":"mousedown",function(D){B=true;x=t.data||500;var k=function(){if(B){t.call(r,D);x=(x/2).bound(40,
2E3);w=a.setTimeout(k,x)}};k()}]);j.push([d,AidaAgent.itouch?"touchend":"mouseup",function(){B=false;a.clearTimeout(w);return true}]);return j},mouseoverlong:function(r,j,t){j=[];var w,B=true,x=t.data;j.push([r,"mouseover",function(D){B=false;w=a.setTimeout(function(){B=true;t.call(r,D,true)},(x||1)*1E3);return true}]);j.push([r,"mouseout",function(D){a.clearTimeout(w);!B&&t&&t.call(r,D,false);return B=true}]);return j},focus:function(r,j,t){if(AidaAgent.trident)j="focusin";return[[r,j,t]]},blur:function(r,
j,t){if(AidaAgent.trident)j="focusout";return[[r,j,t]]},paste:function(r,j,t){AidaAgent.trident||(j="input");return[[r,j,t]]},orientationchange:function(r,j,t){if(AidaAgent.gecko)j="MozOrientation";return[[r,j,t]]},mousewheel:function(r,j,t){if(AidaAgent.gecko)j="DOMMouseScroll";return[[r,j,t]]},transitionend:function(r,j,t){switch(AidaAgent.engine){case "gecko":j="transitionend";break;case "webkit":j="webkitTransitionEnd";break;case "presto":j="oTransitionEnd";break;default:return false}return[[r,
j,t]]},animationend:function(r,j,t){switch(AidaAgent.engine){case "gecko":j="animationend";break;case "webkit":j="webkitAnimationEnd";break;case "presto":j="oAnimationEnd";break;default:return false}return[[r,j,t]]},domloaded:function(r,j,t){if(r==a||r==d)AidaEvent.onReady(t);return false},ready:function(r,j,t){if(r==a)AidaEvent.onReady(t);return false},mousedown:function(r,j,t){if(AidaAgent.itouch)j="touchstart";return[[r,j,t]]},mousemove:function(r,j,t){if(AidaAgent.itouch)j="touchmove";return[[r,
j,t]]},mouseup:function(r,j,t){if(AidaAgent.itouch)j="touchend";return[[r,j,t]]},click:function(r,j,t){return[[r,j,t]]},tap:function(r,j,t){j=[];var w=t.data||1,B=0,x,D;j.push([r,AidaAgent.itouch?"touchstart":"mousedown",function(){a.clearTimeout(x);D=AidaEnv.pageScroll();return true}]);j.push([r,AidaAgent.itouch?"touchend":"mouseup",function(k){if(w==1){var b=AidaEnv.pageScroll();b.left==D.left&&b.top==D.top&&t.call(r,k,B)}else{++B;x=a.setTimeout(function(){B==w&&b.left==D.left&&b.top==D.top&&t.call(r,
k,B);B=0},250)}return true}]);return j},swipe:function(r,j,t){j=[];var w=t.data,B,x,D,k,b;if(typeof w=="number")B=w;else{B=w.move;x=w.touches;D=w.vertical;k=w.multiple}B=B||200;x=x||1;D=!!D;k=!!k;j.push([r,AidaAgent.itouch?"touchstart":"mousedown",function(e){if(e.touchesNumber()==x)b=e.mousePosition();return true}]);j.push([d,AidaAgent.itouch?"touchmove":"mousemove",function(e){e.preventDefault();if(b){var i=e.mousePosition(),n=D?i.top-b.top:i.left-b.left;if(B>0&&n>B||B<0&&n<B){e.swipe={direction:D?
B>0?"bottom":"top":B>0?"left":"right",multiple:k,vertical:D,move:n,touches:x};t.call(r,e,n);b=k?i:null}}return true}]);j.push([d,AidaAgent.itouch?"touchend":"mouseup",function(){b=null;return true}]);return j},scrollbottom:function(r,j,t){var w=false,B=t.data;return[[r,"scroll",function(x){if(AidaEnv.scrollAtBottom(B)){if(!w){w=x.data=true;t.call(r,x,true)}}else if(w){w=x.data=false;t.call(r,x,false)}}]]},scrolltop:function(r,j,t){var w=false,B=t.data;return[[r,"scroll",function(x){if(AidaEnv.scrollAtTop(B)){if(!w){w=
x.data=true;t.call(r,x,true)}}else if(w){w=x.data=false;t.call(r,x,false)}}]]},scrollshow:function(r,j,t){var w=false,B=t.data||0;return[[a,"scroll",function(x){if(r.ajInView(B)){if(!w){w=x.data=true;t.call(r,x,true)}}else if(w){w=x.data=false;t.call(r,x,false)}}]]}};var y=AidaEvent.specials;y.mouseover=y.mousedown;y.mouseout=y.mouseup;y.clickout=y.dblclickout=y.mousemoveout=function(r,j,t){j=j.replace(/out$/,"");if(AidaAgent.itouch)j=j=="mousemove"?"touchmove":"touchstart";return[[d,j,function(w){var B=
w.target();do if(B===r)return true;while((B=B.parentNode)&&B.nodeName&&B.nodeName.toLowerCase()!="body");return t.call(r,w)}]]};AidaEvent.add=function(r,j,t,w){if(typeof t!=="function")throw new TypeError("Argument #2 is not a Function!");if(!(r=I(r)))throw new TypeError("Argument #0 is not an Element!");if(AidaAgent.engine=="trident"&&r.setInterval)r=a;if(!r.eventsUID)r.eventsUID=AidaEvent.eventsUID++;if(!t.eventsUID)t.eventsUID=AidaEvent.eventsUID++;if(typeof w!="undefined"){t=AidaEvent.proxy(t);
t.data=w}var B=AidaElementStorage.retrieveData(r,"events")||AidaElementStorage.storeData(r,"events",{$element:r});j.split(/[^a-zA-Z]+/g).each(function(x){x=x.toLowerCase().replace(/^on/,"");var D=B[x]||(B[x]={}),k=AidaEvent.getKey(r,x,t),b=AidaEvent.getRules(r,x,t);if(b){b.each(function(e){var i=e[0],n=e[1],u=e[2],A=function(C){return u.call(i,new AidaEvent(C||AidaWindow.getWindow(i).event,i,x))};if(i.addEventListener)i.addEventListener(n,A,false);else i.attachEvent&&i.attachEvent("on"+n,A);e[2]=
A});D[k]=b}});return true};AidaEvent.addLive=function(r,j,t,w,B){if(typeof t=="function"&&!B){B=w;w=t;j=r;r=d}var x=function(D){for(var k=$(j,r),b=D.target();b;){if(k.indexOf(b)>-1){w.apply(b,arguments);if(D.stopped)break}b=I(b.parentNode)}};AidaEvent.add(r,t,x,B);return x};AidaEvent.remove=function(r,j,t){if(!(r=I(r)))throw new TypeError("Argument #0 is not an Element!");var w=AidaElementStorage.retrieveData(r,"events");if(w)if(j)j.split(/[^a-zA-Z]+/gi).each(function(B){B=B.toLowerCase().replace(/^on/,
"");var x=w[B];if(x)if(t){var D=AidaEvent.getKey(r,B,t);if(B=x[D]){B.each(function(k){var b=k[0],e=k[1];k=k[2];if(b.removeEventListener)b.removeEventListener(e,k,false);else b.detachEvent&&b.detachEvent("on"+e,k)});delete x[D]}}else{for(D in x)AidaEvent.remove(r,B,D.split("|").pop());delete w[B]}});else for(j in w)AidaEvent.remove(r,j)};AidaEvent.get=function(r,j){if(!(r=I(r)))throw new TypeError("Argument #0 is not an Element!");var t={};j.split(/[^a-zA-Z]+/gi).each(function(w){w=w.toLowerCase().replace(/^on/,
"");var B=AidaElementStorage.retrieveData(r,"events"),x;if(B)x=B[w];t[w]=x||{}});return t};AidaEvent.proxy=function(r,j){j=j||function(){return r.apply(this,arguments)};j.eventsUID=r.eventsUID=r.eventsUID||j.eventsUID||AidaEvent.eventsUID++;return j};AidaEvent.getRules=function(r,j,t){if(y[j])return y[j](r,j,t);return[[r,j,t]]};AidaEvent.getKey=function(r,j,t){return[r.eventsUID,j,typeof t=="function"?t.eventsUID:t].join("|")};var z={DOMFocusIn:"UIEvent",DOMFocusOut:"UIEvent",DOMActivate:"UIEvent",
focus:"UIEvent",blur:"UIEvent",click:"MouseEvent",mousedown:"MouseEvent",mouseup:"MouseEvent",mouseover:"MouseEvent",mousemove:"MouseEvent",mouseout:"MouseEvent",keydown:"KeyboardEvent",keyup:"KeyboardEvent",textInput:"TextEvent",DOMSubtreeModified:"MutationEvent",DOMNodeInserted:"MutationEvent",DOMNodeRemoved:"MutationEvent",DOMNodeRemovedFromDocument:"MutationEvent",DOMNodeInsertedIntoDocument:"MutationEvent",DOMAttrModified:"MutationEvent",DOMCharacterDataModified:"MutationEvent",DOMElementNameChanged:"MutationNameEvent",
DOMAttributeNameChanged:"MutationNameEvent",load:"Event",unload:"Event",abort:"Event",error:"Event",select:"Event",change:"Event",submit:"Event",reset:"Event",resize:"Event",scroll:"Event",dataavailable:"HTMLEvents"};AidaEvent.create=function(r,j){var t,w;if(d.createEvent){r=(r||"dataavailable").replace(/^on/,"");w=z[r]||"Event";t=d.createEvent(w);j=Object.extend({altKey:false,bubbles:true,button:0,cancelable:true,charCode:0,clientX:0,clientY:0,ctrlKey:false,currentTarget:null,detail:0,eventPhase:null,
isChar:false,keyCode:0,layerX:0,layerY:0,metaKey:false,pageX:0,pageY:0,relatedTarget:null,screenX:0,screenY:0,shiftKey:false,target:null,timeStamp:0,type:"",view:a,which:0},j||{});switch(w){case "HTMLEvents":case "Event":case "Events":t.initEvent(r,j.bubbles,j.cancelable);break;case "UIEvent":t.initUIEvent(r,j.bubble,j.cancelable,j.view,j.detail);break;case "MouseEvent":t.initMouseEvent(r,j.bubble,j.cancelable,j.view,j.detail,j.screenX,j.screenY,j.clientX,j.clientY,j.ctrlKey,j.altKey,j.shiftKey,j.metaKey,
j.button,j.relatedTarget);break;case "KeyboardEvent":t.initKeyEvent(r,j.bubble,j.cancelable,j.view,j.ctrlKey,j.altKey,j.shiftKey,j.metaKey,j.keyCode,j.charCode);break;case "MutationEvent":t.initMutationEvent(r,j.bubble,j.cancelable,j.relatedNode,j.prevValue,j.newValue,j.attrName,j.attrChange);break;case "MutationNameEvent":t.initMutationNameEvent(r,j.bubble,j.cancelable,relatedNode,prevNamespaceUri,prevNodeName);break;case "TextEvent":t.initTextEvent(r,j.bubble,j.cancelable,j.view,j.data);break;case "PopupBlocked":t.initPopupBlockedEvent();
break;case "XULCommandEvent":t.initCommandEvent()}}else if(d.createEventObject){t=d.createEventObject();j&&Object.extend(t,j)}return t};AidaEvent.fire=function(r,j,t){r=I(r);if(r==d&&d.createEvent&&!r.dispatchEvent)r=d.documentElement;j=(j||"dataavailable").replace(/^on/,"");t=AidaEvent.create(j,t);if(r.createEvent)r.dispatchEvent(t);else r.fireEvent&&r.fireEvent("on"+j,t);return t};a.ajAddEvent=d.ajAddEvent=function(r,j,t){AidaEvent.add(this,r,j,t);return this};a.ajRemoveEvent=d.ajRemoveEvent=function(r,
j,t){AidaEvent.remove(this,r,j,t);return this};a.AidaEnv={dpi:function(){var r=this._dpi;if(r)return r;if(!(r=screen.logicalXDPI)){var j=N(["div",{style:{position:"absolute",left:"-1000px",top:"-1000px",visibility:"hidden",width:"1in",height:"1in"}}],d.body);r=j.offsetHeight;j.ajRemove()}return this._dpi=r=r||96},scrollbarSize:function(){var r=this._scrollbarSize;if(r)return r;var j=N(["div",{style:{position:"absolute",left:"-1000px",top:"-1000px",visibility:"hidden",width:"50px",height:"50px",overflow:"hidden"}}],
d.body);r=parseInt(j.clientWidth,10);j.ajCss("overflow","scroll");this._scrollbarSize=r=r-=parseInt(j.clientWidth,10);j.ajRemove();return r},viewWidth:function(){return m("Width")},viewHeight:function(){return m("Height")},viewSize:function(){return{width:m("Width"),height:m("Height")}},scrollLeft:function(){var r=d.body,j=d.documentElement;return a.pageXOffset||r.scrollLeft||j.scrollLeft||0},scrollTop:function(){var r=d.body,j=d.documentElement;return a.pageYOffset||r.scrollTop||j.scrollTop||0},
pageScroll:function(){return{left:this.scrollLeft(),top:this.scrollTop()}},maxScrollLeft:function(){return q("Width","X","Left")-m("Width")},maxScrollTop:function(){return q("Height","Y","Top")-m("Height")},maxScroll:function(){return{left:q("Width","X","Left")-m("Width"),top:q("Height","Y","Top")-m("Height")}},scrollAtTop:function(r){return AidaEnv.scrollTop()<=Math.abs(r||0)},scrollAtBottom:function(r){return this.viewHeight()+this.scrollTop()>=AidaEnv.pageHeight()-Math.abs(r||0)},pageWidth:function(){return q("Width",
"X","Left")},pageHeight:function(){return q("Height","Y","Top")},pageSize:function(){return{width:q("Width","X","Left"),height:q("Height","Y","Top")}},viewBounds:function(){var r=this.viewSize(),j=this.pageScroll();return[j,{left:j.left+r.width,top:j.top+r.height}]},viewCenter:function(r,j,t,w){var B=this.viewSize(),x=this.pageScroll();if(isElement(r)&&(r=I(r).ajSize())||typeof r=="object"){w=t;t=j;j=r.height;r=r.width}return{left:Math.round((B.width-(r||0))*(t||0.5))+x.left,top:Math.round((B.height-
(j||0))*(w||0.5))+x.top}},gridPosition:function(r,j,t){var w=this.clientSizes(),B=(t||(t={})).cols,x=t.rows,D=t.width;t=t.height;var k=0,b=0,e=0;D=B?w[0]/B:D||50;for(t=x?w[1]/x:t||50;D*k<=r;)b=k++;for(k=0;t*k<=j;)e=k++;return{left:b,top:e}},generateGrid:function(r,j,t,w){for(var B=0,x=0,D=0,k=0,b=[];B<t;B++,x++){D=r*x;if(D+r>w){D=x=0;k+=j}b[B]={left:D,top:k}}return b},gridCoords:function(r,j,t,w){w=Math.floor(w/r);return{left:t%w*r,top:Math.floor(t/w)*j}},star:function(r,j,t,w){j=j||5;w=w||0;var B=
Math.PI*2,x=B/j,D=0,k=[];for(B/=4;D<j;)k.push(Math.angleCoords(-B+x*++D+w,r));if(t){r=x/2;for(D=0;D<j;)k.push(Math.angleCoords(-B+x*++D+r+w,t))}return k},positionRatio:function(r,j,t){if(!t)return j/r;t=t.bound(0,1);t*=j;return r<t?r/t-1:r>t?(r-t)/(j-t):0},getAllImages:function(){for(var r=d.getElementsByTagName("*"),j,t=0,w=[],B;j=r[t++];){if(j.tagName.toLowerCase()=="img")(B=j.src)&&w.push(B);(B=j.ajCss("backgroundImageUrl"))&&B!="none"&&w.push(B)}return w.unique()},_scrollCin:null,scrollTo:function(r){var j=
typeof r;if(j=="string"){r=I(r);if(!r)return false}if(j=="number")r={top:r};if(isElement(r))r=I(r).ajPosition();j=this.pageScroll();var t=j.left,w=j.top;j=r.left;var B=r.top;j=this.validateScroll(is(j)?j:t,is(B)?B:w);var x=j.left-t,D=j.top-w,k=(typeof r.easing=="string"?AidaEasing[r.easing]:r.easing)||AidaEasing.outCubic;j=new AidaCinematic(function(b,e){a.scrollTo(k(b,t,x,e),k(b,w,D,e))},r);this._scrollCin&&this._scrollCin.stop();r.noStart||j.start();return this._scrollCin=j},validateScroll:function(r,
j){var t=this.maxScroll();return{left:Math.min(r||0,t.left),top:Math.min(j||0,t.top)}},coordsToBounds:function(r,j,t,w,B,x){return[w,t+B,w+x,t]},boundsToCoords:function(r,j,t,w,B,x){return[x,t,w-x,B-t]}}})(window,document);var AidaRequire={};AidaRequire.libraries={ckeditor:"/ckeditor/ckeditor.js",plupload:"/plupload/plupload.full.min.js"};
AidaRequire.js=function(){function a(p,v){m[p].each(function(y){y[0].call(y[1])});v.onreadystatechange=v.onload=null;v.parentNode.removeChild(v);o[p]=true;m[p]=v=null}function d(p,v,y){if(g[p]){if(v)o[p]?v():m[p].push([v,y]);return true}m[p]=[];v&&m[p].push([v,y]);var z=document.createElement("script"),r;z.src=p;z.type="text/javascript";z.defer="defer";if(AidaAgent.engine=="trident")z.onreadystatechange=function(){if("loaded,complete".has(z.readyState))if(!r){a(p,z);r=true;z=null}};else{AidaAgent.engine==
"webkit"&&function(){if(!r)if("loaded,complete".has(z.readyState)){a(p,z);r=true;z=null}else window.setTimeout(arguments.callee,20)}();z.onload=function(){if(!r){a(p,z);r=true;z=null}}}q.appendChild(z);return g[p]=true}var g={},o={},m={},q=document.getElementsByTagName("head")[0];d.required=function(p){return!!g[p]};d.more=function(p,v){p instanceof Array||(p=[p]);if(typeof v=="function")v={onComplete:v};var y=p.length,z=0,r=Function.empty,j=v.onProgress||r,t=v.onComplete||r,w=v.bind;(v.onStart||
r).call(w,z,y);if(AidaAgent.trident){var B=function(x){var D=r,k,b;if(x=="object"){D=x.onload||r;k=x.bind;b=x.once;x=x.url}AidaRequire.js(x,function(){D.call(k||w||this,z,y);j.call(k||w||this,z,y);++z<y?B(p[z]):t.call(k||w||this,y)},null,b)};B(p[z])}else p.each(function(x){var D=r,k,b;if(x=="object"){D=x.onload||r;k=x.bind;b=x.once;x=x.url}AidaRequire.js(x,function(){D.call(k||w||this,z,y);j.call(k||w||this,z,y);if(++z>=y)t.call(k||w||this,y)},null,b)})};return d}();
AidaRequire.library=function(a,d,g){if(typeof a=="string"&&a.indexOf(",")>-1)a=a.split(",");if(a instanceof Array){for(var o=0,m=a.length;o<m;){var q=a[o],p=AidaRequire.libraries[q];a[o]=Aida.baseUrl+(p?p:"/"+q+".js");++o}return AidaRequire.js.more(a,{onComplete:d,bind:g})}p=AidaRequire.libraries[a];return AidaRequire.js(Aida.baseUrl+(p?p:"/"+a+".js"),d,g)};
AidaRequire.css=function(){var a={},d={},g={},o=function(q,p){g[q].each(function(v){v[0].call(v[1]||p)});d[q]=true;delete g[q]},m=function(q,p,v){var y=a[q],z;if(y){if(p)d[q]?p():g[q].push([p,v]);return y}g[q]=[];p&&g[q].push([p,v]);y=document.createElement("link");y.href=q;y.type="text/css";y.rel="stylesheet";y.media="all";if(g[q].length)if("webkit,gecko".has(AidaAgent.engine)){if(!z){o(q);z=true}}else{y.onreadystatechange=function(){if("loaded,complete".has(y.readyState))if(!z){o(q);z=true}};y.onload=
function(){if(!z){o(q);z=true}}}document.getElementsByTagName("head")[0].appendChild(y);return a[q]=y};m.required=function(q){return a[q]?true:false};return m}();
AidaRequire.image=function(){var a=function(d){var g=new Image,o=Function.empty,m=d.onLoad||o;g.onload=function(){var q=arguments.callee;if(q.done)return false;q.done=true;this.onload=null;return m.call(this)};g.onerror=d.onError||o;g.onabort=d.onAbort||o;g.src=d.url;return g};a.more=function(d,g){isArray(d)||(d=[d]);var o=d.length,m=0,q=[],p=Function.empty,v=g.onProgress||p,y=g.onComplete||p;(g.onStart||p).call(d[0],0,o);d.each(function(z){if(typeof z!="object")z={url:z};var r=z.onLoad||p,j=z.onError||
p,t=z.onAbort||p;z.onload=function(w){r.call(this,w);m++;v.call(this,m,o);m==o&&y.call(this,o)};z.onerror=function(w){j.call(this,w);m++;v.call(this,m,o);m==o&&y.call(this,o)};z.onabort=function(w){t.call(this,w);m++;v.call(this,m,o);m==o&&y.call(this,o)};q.push(AidaRequire.image(z))});return q};return a}();
var AidaSort={random:function(){return 0.5-Math.random()},number:function(a,d){return a-d},numberDesc:function(a,d){return d-a},string:function(a,d){a=(a+"").toLowerCase();d=(d+"").toLowerCase();return a<d?-1:a>d?1:0},stringDesc:function(a,d){a=(a+"").toLowerCase();d=(d+"").toLowerCase();return a<d?1:a>d?-1:0},date:function(a,d){return a.getTime()-d.getTime()},dateDesc:function(a,d){return d.getTime()-a.getTime()},natural:function(a,d){a+="";d+="";for(var g=function(r,j){for(var t=0,w=0,B=0,x,D,k,
b;;){x=r.charAt(w++);D=j.charAt(B++);k=x.digitChar();b=D.digitChar();if(!k&&!b)return t;else if(k)if(b)if(x<D){if(t===0)t=-1}else if(x>D){if(t===0)t=+1}else{if(x===0&&D===0)return t}else return+1;else return-1}},o=0,m=0,q,p,v,y,z;;){for(q=p=0;(v=a.charAt(o++))&&(v.whiteSpaceChar()||v=="0");)q=v=="0"?q+1:0;for(;(y=d.charAt(m++))&&(y.whiteSpaceChar()||y=="0");)p=y=="0"?p+1:0;if(v.digitChar()&&y.digitChar()&&(z=g(a.substring(o),d.substring(m)))!==0)return z;if(v===0&&y===0)return q-p;if(v<y)return-1;
else if(v>y)return+1}}},AidaWindow={mailto:function(a,d,g,o){var m="";document.location="mailto:"+(d+("@"+a))+("?subject="+(g||"")+"&body="+(o||""));return false},modalArguments:function(){return window.dialogArguments},modalReturn:function(a){window.returnValue=a},modal:function(a){if(typeof a=="string")a={url:a};if(!window.showModalDialog)return AidaWindow.popup(a);var d=a.url,g=a.center!==false?"yes":"no",o=a.width||800,m=a.height||450,q=a.left,p=a.top,v=a.resize?"yes":"no",y=a.scroll?"yes":"no";
a=a.data||a.arguments||a.params||"";if(g=="yes"){q=Math.floor(window.screenX+(window.outerWidth-o)/2);p=Math.floor(window.screenY+(window.outerHeight-m)/2)}return window.showModalDialog(d,a,"dialogwidth: "+o+"; dialogheight: "+m+"; center: "+g+"; "+(q?"dialogleft: "+q+"; ":"")+(p?"dialogtop: "+p+"; ":"")+"resizable: "+v+"; scroll: "+y+";")},popup:function(a){var d=a.width||800,g=a.height||600,o=screen.availWidth,m=screen.availHeight,q=a.left,p=a.top;if(a.fullscreen){d=o;g=m;p=q=0}else{is(q)||(q=Math.floor((o-
(d||o))/2)-(screen.width-o));is(p)||(p=Math.floor((m-(g||m))/2)-(screen.height-m))}return window.open(a.url,a.name||"_blank","width="+d+",height="+g+",screenx="+q+",screeny="+p+",left="+q+",top="+p+",scrollbars="+(a.scrollbars?1:0)+",menubar="+(a.menubar?1:0)+",location="+(a.locationbar?1:0)+",resizable="+(a.resizable?1:0)+",")},getWindow:function(a){a=I(a);return a.contentWindow||a.defaultView||a.parentWindow||window},getDocument:function(a){a=I(a);a=a.contentWindow||a.defaultView||a.contentDocument||
a.document||document;return a.document||a},focus:function(a){a=I(a);a.contentWindow?a.contentWindow.focus():a.focus()}},AidaStyleSheets={_getLastStyleSheet:function(){var a=document.styleSheets;if(a)return a[a.length-1];return false},_getLastRule:function(a,d){d=d.toLowerCase();for(var g=this._getRules(a),o=g.length,m,q;o;){m=g[--o];if((q=m.selectorText)&&q.toLowerCase()==d)return m}return false},_getRules:function(a){return a.cssRules||a.rules},_insertRule:function(a,d){a.insertRule?a.insertRule(d+
" { }",this._getRules(a).length):a.addRule(d,null,this._getRules(a).length);return this._getLastRule(a,d)},_removeRule:function(a,d){a.deleteRule?a.deleteRule(d):a.removeRule(d)},getRule:function(a){var d={},g=document.styleSheets;if(g){a=a.toLowerCase();for(var o=g.length;o;)for(var m=0,q=this._getRules(g[--o]),p=q.length,v,y;m<p;){v=q[m++];if((y=v.selectorText)&&y.toLowerCase()==a){v=v.style;y=v.length;for(var z,r;y;){z=v[--y].camelCase();r=v[z];if(typeof r!="undefined")d[z]=v[z]}}}}return d},setRule:function(a,
d,g){if(a=this.rule(a)){if(typeof d=="object")for(var o in d)a.style[o]=d[o];else a.style[d]=g;return true}return false},deleteRule:function(a){var d=document.styleSheets;if(d){a=a.toLowerCase();for(var g=d.length;g;)for(var o=d[--g],m=this._getRules(o),q=m.length,p,v;q;){p=m[--q];if((v=p.selectorText)&&v.toLowerCase()==a)this._removeRule(o,q)}return true}return false},rule:function(a){var d=this._getLastStyleSheet();if(d){var g=this._getLastRule(d,a);g||(g=this._insertRule(d,a));return g}return false}},
AidaLocalStorage=function(a){if(a.localStorage){var d=a.localStorage;return{type:"localstorage",set:function(g,o){d.setItem(g,JSON.stringify(o))},get:function(g){return JSON.parse(d.getItem(g))},remove:function(g){d.removeItem(g)}}}else if(a.globalStorage){d=a.globalStorage[a.location.hostname];return{type:"globalstorage",set:function(g,o){d[g]=JSON.stringify(o)},get:function(g){return JSON.parse(d[g].value)},remove:function(g){delete d[g]}}}else storageHandler={type:"cookie",set:function(g,o){var m=
new Date;m.plus(31536E6);AidaCookie.set("als"+g,JSON.stringify(o),m,"*")},get:function(g){return JSON.parse(AidaCookie.get("als"+g))},remove:function(g){AidaCookie.remove("als"+g)}}}(window,document);
(function(a,d){var g=[],o;a.AidaHash={setHash:function(m){d.location.hash=m},root:function(m){var q=d.location.hash+"";if(!is(m)){if(q[0]=="#")q=q.substr(1);if(q.indexOf("?")>-1)q=q.split("?").shift();return q}if(q.indexOf("?")>-1){q=q.split("?");q[0]="";q=q.join("?")}this.setHash(m+q)},param:function(m,q){if(typeof m=="object"){var p=this.root()+"?"+String.buildQueryString(m);this.setHash(p);return p}p=d.location.hash+"";var v={};if(p.indexOf("?")>-1){p=p.split("?");p.shift();p=p.join("?");v=p.parseQueryString()}if(is(m)){if(is(q)){v[m]=
q;p=this.root()+"?"+String.buildQueryString(v);this.setHash(p);return p}return v[m]}return v},onChange:function(m){g.push(m);this.init()},init:Function.empty};AidaEvent.onHashChange=AidaHash.onChange;if("onhashchange"in a)AidaEvent.add(a,"hashchange",function(m){for(var q=0,p=g.length;q<p;)g[q++].call(a,m)});else AidaHash.init=function(){AidaEvent.onReady(function(){var m=d.location.hash;N(["div",{style:{overflow:"hidden",width:"0px",height:"0px",marginLeft:"-9999px"}}],d.body).innerHTML='<iframe src="'+
Aida.baseUrl+"/styles/blank.html?q="+(m+"").substr(1)+'" id="aj_hash_history_frame" name="aj_hash_history_frame"></iframe><form id="aj_hash_history_form" action="'+Aida.baseUrl+'/styles/blank.html" method="get" target="aj_hash_history_frame"><input type="hidden" name="q" id="aj_hash_history_input" value="" /></form>';var q=I("aj_hash_history_frame"),p=I("aj_hash_history_input"),v=I("aj_hash_history_form");AidaEvent.add(q,"load",function(){var y=AidaWindow.getWindow(q).location.search.toString().match(/q=(.*)/i);
if(y){y=y[1];y=decodeURIComponent(y);y!=(m+"").substr(1)&&AidaHash.setHash(y)}});a.setInterval(function(){var y=d.location.hash;if(m!==y){for(var z=0,r=g.length;z<r;)g[z++].call(a);m=y;p.value=(y+"").substr(1);v.submit()}},200)});AidaHash.init=Function.empty}})(window,document);
var AidaCookie={set:function(a,d,g,o,m,q,p){if(is(g))g instanceof Date||(g=new Date(g*1E3));document.cookie=a+"="+escape(d||"")+(g?"; expires="+g.toGMTString():"")+(o?"; path="+o:"")+(m?"; domain="+m:"")+(m?"; secure":"")+(p?"; HttpOnly":"")},getAll:function(){for(var a=document.cookie.split(";"),d=0,g=a.length,o={};d<g;d++){c=a[d].split("=");o[c[0]]=unescape(c[1])}return o},get:function(a){return(a=(document.cookie+"").match(RegExp("(?:^|;)\\s*"+a+"=([^;]*)")))&&is(a[1])?unescape(a[1]):null},unset:function(a){(a||
(a={})).expire=-3E7;this.set(a)}};function AidaCinematic(a,d){this._init(a,d)}
AidaCinematic.prototype={_interval:null,_func:"",_stepTime:0,step:0,wait:0,_init:function(a,d){if(typeof a!="function"){d=a||{};a=d.onFrame}d=d||{};this.onStart=d.onStart||Function.empty;this.onFrame=a||Function.empty;this.onFinish=d.onFinish||Function.empty;this.loops=d.loops||1;this.wait=d.wait||0;var g=d.fps||50,o=1E3/g,m=Math.floor((d.time||1)*g),q=d.easing||AidaEasing.linear,p=this,v=d.target||this;this._func=function(){var y=p.step,z=(new Date-p.startTime)/o;if(z>m)z=m;var r=q(z,0,1,m);if(y===
0){p.loops--;p.onStart.call(v,z,m,r,p)}p.onFrame.call(v,z,m,r,p);if(z>=m){if(p.loops>0)p.step=0;else clearInterval(p._interval);p.onFinish.call(v,z,m,r,p)}else p.step++};this._stepTime=o.floor()},start:function(){var a=this;setTimeout(function(){a.startTime=new Date;a._func();a._interval=setInterval(a._func,a._stepTime)},(this.step===0?this.wait:0)*1E3)},pause:function(){clearInterval(this._interval)},stop:function(){this.pause();this.reset()},reset:function(){this.step=0},oneStep:function(){this._func()}};
function AidaBrake(a){this.delay=a;this.last=new Date}AidaBrake.prototype={check:function(){var a=new Date;if(a-this.last>=this.delay){this.last=a;return true}return false}};function AidaInertia(a){this.onInertia=a.onInertia||Function.empty;this.friction=1-(a.friction||5)/100;this.time=new Date}
AidaInertia.prototype={stop:function(){clearInterval(this.interval)},change:function(){this.time=new Date},inertia:function(){var a=this,d=this.friction,g=d;this.interval=setInterval(function(){g*=d;a.onInertia(g);Math.round(g*100)===0&&a.stop()},new Date-this.time)},toString:function(){return this.value.toString()}};
function AidaBuffer(a){this.restY=this.restX=0;this.ratio=a.ratio||0.05;this.onFrame=a.onFrame||Function.empty;var d=this;this.interval=setInterval(function(){d.onFrame.apply(d,d.step())},1E3/(a.fps||50))}AidaBuffer.prototype={add:function(a,d){this.restX+=a||0;this.restY+=d||0},step:function(){var a=this.restX*this.ratio,d=this.restY*this.ratio;this.restX-=a;this.restY-=d;return[a,d]}};function AidaUrl(a,d){this.set(a,d)}
AidaUrl.prototype={scheme:"",host:"",port:"",user:"",pass:"",path:"",query:"",fragment:"",extension:"",relative:false,set:function(a,d){switch(typeof a){case "string":if(a=a.match(AidaUrl.URL_EREG)){var g,o,m;this.scheme=g=a[1]||"";this.user=a[2]||"";this.pass=a[3]||"";this.host=o=a[4]||"";this.port=a[5]||"";this.path=m=a[6]||"";this.query=a[7]||"";this.fragment=a[8]||"";if(!g){m=o+m;this.host=o=""}if(!o)this.relative=true;if(this.relative&&d){d=typeof d!="string"?document.location+"":d;var q=new AidaUrl(d,
false),p=m.substr(0,1);this.relativeTo=q;if(p){if(p!="/"){var v=q.path.split("/"),y,z=v[v.length-1];if(!z||z.has("."))v.pop();if(m.substr(0,2)==".."&&((y=m.substr(2,1))=="/"||!y))m=m.substr(2);else if(p=="."&&((y=m.substr(1,1))=="/"||!y))m=m.substr(1);if(m.substr(0,1)!="/")m="/"+m;m=v.join("/")+m}}else m=q.path;if(!o)this.host=q.host;if(!g)this.scheme=q.scheme;this.path=m}if(this.path=m=m.replace("/./","/").replace(/\/+/,"/").replace(/\/[^\/]*[^\/\.]+[^\/]*\/\.\.\//i,"/"))this.extension=m.split("/").pop().split(".").pop()||
"";return true}}return false},getDirUrl:function(){var a="",d;if(d=this.scheme)a+=d=="mailto"?d+":":d+"://";if(d=this.path)a+=d;return a},toString:function(){var a="",d;if(d=this.scheme)a+=d=="mailto"?d+":":d+"://";if(d=this.user){a+=d;if(d=this.pass)a+=":"+d;a+="@"}a+=this.host;if(d=this.port)a+=":"+d;if(d=this.path)a+=d;if(d=this.query)a+="?"+d;if(d=this.fragment)a+="#"+d;return a},getParams:function(){return this.query.parseQueryString()}};AidaUrl.URL_EREG=/^(?:(?:([a-z]+):(?:\/\/)?)?(?:([^:]+):?([^@]+)@)?([a-z0-9\.-]+)?(?::([0-9]+))?(\/[^\?#]*)(?:\?([^#]*))?)?(?:#(.*))?$/i;
AidaUrl.isUrl=function(a){return a.match(AidaUrl.URL_EREG)};
AidaUrl.anchors=function(a){var d=a.all,g=a.extensions,o=a.externals,m=a.internals,q=a.hosts,p=a.schemes,v=new AidaUrl(document.location+""),y=v.host,z=a.attribute||"href";(a.elements||$("a",a.parent)).each(function(r){var j=r.ajGet(z);if(j){j=new AidaUrl(j,true);var t=j.extension,w=j.host,B=j.scheme,x;d&&d.call(r,j,v);if(g&&t&&(x=g[t]))x.call(r,j,v);o&&w!=y&&o.call(r,j,v);m&&w==y&&m.call(r,j,v);if(q&&(x=q[w]))x.call(r,j,v);if(p&&(x=p[B]))x.call(r,j,v)}})};
function AidaColor(a){this.blue=this.green=this.red=0;this.alpha=1;this.set(a)}
AidaColor.prototype={set:function(a){if(a){var d=0,g=0,o=0,m=1;if(typeof a=="string"){a=a.replace(/[\s]+/g,"");var q,p=AidaColor.names;if(a.match(/^[a-z]+$/gi)){a=a.toLowerCase();for(q in p)if(a==q.toLowerCase()){a=p[q];break}}if(a.match(/^#?[0-9A-F]{3,8}$/gi)){if(a.substr(0,1)!="#")a="#"+a;switch(a.length){case 4:case 5:d=a.substring(1,2);g=a.substring(2,3);o=a.substring(3,4);m=a.substring(4,5);d+=d;g+=g;o+=o;m+=m;break;default:case 7:case 9:d=a.substring(1,3);g=a.substring(3,5);o=a.substring(5,
7);m=a.substring(7,9)}d=d.toInt(16);g=g.toInt(16);o=o.toInt(16);m=(m||"FF").toInt(16)/255}else if((q=a.match(/rgb\(([0-9]+%?),([0-9]+%?),([0-9]+%?)\)/i))||(q=a.match(/rgba\(([0-9]+%?),([0-9]+%?),([0-9]+%?),([0-9\.]+%?)\)/i))){d=q[1];g=q[2];o=q[3];m=q[4];d=d.toInt()*(d.has("%")?2.55:1);g=g.toInt()*(g.has("%")?2.55:1);o=o.toInt()*(o.has("%")?2.55:1);m=m?m.has("%")?m.toInt()/100:m.toFloat():1}else if((q=a.match(/cmyk\(([0-9]+%?),([0-9]+%?),([0-9]+%?),([0-9]+%?)\)/i))||(q=a.match(/cmyka\(([0-9]+%?),([0-9]+%?),([0-9]+%?),([0-9]+%?),([0-9\.]+%?)\)/i))){o=
q[3];p=q[4];a=q[1];q=q[2];a=a.toInt()*(a.has("%")?2.55:1);q=q.toInt()*(q.has("%")?2.55:1);o=o.toInt()*(o.has("%")?2.55:1);p=(255-p.toInt()*(p.has("%")?2.55:1))/255;d=(255-a)*p;g=(255-q)*p;o=(255-o)*p;m=m?m.has("%")?m.toInt()*2.55:m.toFloat():1}else if((q=a.match(/hsl\(([0-9]+),*([0-9]+)%,*([0-9]+)%\)/i))||(q=a.match(/hsla\(([0-9]+),*([0-9]+)%,*([0-9]+)%,([0-9\.]+%?)\)/i)))return this.fromHSL(q[1].toInt(),q[2].toInt(),q[3].toInt(),q[4]);else if((q=a.match(/hsv\(([0-9]+),*([0-9]+)%,*([0-9]+)%\)/i))||
(q=a.match(/hsva\(([0-9]+),*([0-9]+)%,*([0-9]+)%,([0-9\.]+%?)\)/i)))return this.fromHSV(q[1].toInt(),q[2].toInt(),q[3].toInt(),q[4])}else if(a instanceof Array){d=a[0];g=a[1];o=a[2];m=a[3];is(m)||(m=1)}else if(a.red||a.green||a.blue||a.alpha){d=a.red;g=a.green;o=a.blue;m=a.alpha}this.red=(!isNaN(d)?d:255).bound(0,255).round();this.green=(!isNaN(g)?g:255).bound(0,255).round();this.blue=(!isNaN(o)?o:255).bound(0,255).round();this.alpha=(!isNaN(m)?m:1).bound(0,1);return true}return false},ease:function(a,
d){a=new AidaColor(a);d=d<0?0:d>1?1:d;var g=new AidaColor;g.red=this.red+(a.red-this.red)*d;g.green=this.green+(a.green-this.green)*d;g.blue=this.blue+(a.blue-this.blue)*d;g.alpha=this.alpha+(a.alpha-this.alpha)*d;return g},media:function(){var a=arguments,d=a.length,g,o,m=0,q=0,p=0;for(g=d-1;g>=0;g--){o=new AidaColor(a[g]);m+=o.red;q+=o.green;p+=o.blue}this.set([m/d,q/d,p/d])},decHex:function(a){a=Math.round(a).bound(0,255);return(a<16?"0":"")+a.toString(16)},hex:function(a){return("#"+this.decHex(this.red)+
this.decHex(this.green)+this.decHex(this.blue)+(a?this.decHex(this.alpha*255):"")).toUpperCase()},hexa:function(){return this.hex(true)},ahex:function(){return("#"+this.decHex(this.alpha*255)+this.decHex(this.red)+this.decHex(this.green)+this.decHex(this.blue)).toUpperCase()},rgb:function(){return"rgb("+this.red+", "+this.green+", "+this.blue+")"},rgba:function(){return"rgba("+this.red+", "+this.green+", "+this.blue+", "+this.alpha.round(2)+")"},fromHSL:function(a,d,g,o){a/=360;d/=100;g/=100;var m=
function(q,p,v){if(v<0)v+=1;if(v>1)v-=1;if(v*6<1)return q+(p-q)*v*6;if(v*2<1)return p;if(v*3<2)return q+(p-q)*(2/3-v)*6;return q};d=g<=0.5?g*(d+1):g+d-g*d;g=g*2-d;o+="";this.red=m(g,d,a+1/3)*255;this.green=m(g,d,a)*255;this.blue=m(g,d,a-1/3)*255;this.alpha=o?o.has("%")?o.toInt()*2.55:o.toFloat():1},toHSL:function(){var a=this.red/255,d=this.green/255,g=this.blue/255,o,m,q,p,v;l=s=h=0;o=Math.max(a,d,g);m=Math.min(a,d,g);l=(m+o)/2;if(l<=0)return[h*360,s*100,l*100];s=q=o-m;if(s>0)s/=l<=0.5?o+m:2-o-m;
else return[h*360,s*100,l*100];p=(o-a)/q;v=(o-d)/q;q=(o-g)/q;h=a==o?d==m?5+q:1-v:d==o?g==m?1+p:3-q:a==m?3+v:5-p;h/=6;return[h*360,s*100,l*100]},setHue:function(a){a=parseFloat(a,10).bound(0,360);var d=this.toHSL();this.fromHSL(a,d[1],d[2],this.alpha)},setSaturation:function(a){a=parseFloat(a,10).bound(0,100);var d=this.toHSL();this.fromHSL(d[0],a,d[2],this.alpha)},setLightness:function(a){a=parseFloat(a,10).bound(0,100);var d=this.toHSL();this.fromHSL(d[0],d[1],a,this.alpha)},fromHSV:function(a,d,
g,o){a%=360;d/=100;g/=100;var m;if(d===0)m=d=g;else{a/=60;m=Math.floor(a);var q=a-m;a=g*(1-d);var p=g*(1-d*q);q=g*(1-d*(1-q));switch(m){case 0:m=g;d=q;g=a;break;case 1:m=p;d=g;g=a;break;case 2:m=a;d=g;g=q;break;case 3:m=a;d=p;break;case 4:m=q;d=a;break;default:m=g;d=a;g=p}}m*=255;d*=255;g*=255;o=o?o.has("%")?o.toInt()*2.55:o.toFloat():1;this.red=(!isNaN(m)?m:255).bound(0,255).round();this.green=(!isNaN(d)?d:255).bound(0,255).round();this.blue=(!isNaN(g)?g:255).bound(0,255).round();this.alpha=(!isNaN(o)?
o:1).bound(0,1)},toHSV:function(){var a=this.red,d=this.green,g=this.blue,o=Math.max(a,d,g),m=Math.min(a,d,g);if(m==o)m=a=0;else{var q=o-m;m=q/o;a=a==o?(d-g)/q:d==o?2+(g-a)/q:4+(a-d)/q;a/=6;if(a<0)a+=1;if(a>1)a-=1}return[a*360,m*100,o/255*100]},sepia:function(){var a=this.red,d=this.green,g=this.blue;return new AidaColor([(a*0.393+d*0.769+g*0.189).round(),(a*0.349+d*0.686+g*0.168).round(),(a*0.272+d*0.534+g*0.131).round(),this.alpha])},negative:function(){return new AidaColor([255-this.red,255-this.green,
255-this.blue,this.alpha])},grayscale:function(a){var d=this.red,g=this.blue,o=this.green;switch(a){case 1:case "SimpleAverage":a=[((d+g+o)/3).round(),((d+g+o)/3).round(),((d+g+o)/3).round()];break;case 2:case "WeightAverage":a=[(3*d+4*o+2*g/9).round(),(3*d+4*o+2*g/9).round(),(3*d+4*o+2*g/9).round()];break;case 3:case "CCIRRec709":a=[(0.2125*d+0.7154*g+0.0721*o).round(),(0.2125*d+0.7154*g+0.0721*o).round(),(0.2125*d+0.7154*g+0.0721*o).round()];break;default:case 4:case "NtscPal":a=[(0.299*d+0.587*
g+0.114*o).round(),(0.299*d+0.587*g+0.114*o).round(),(0.299*d+0.587*g+0.114*o).round()]}a[3]=this.alpha;return new AidaColor(a)},colorize:function(a){a=new AidaColor(a);var d=this.red,g=this.green,o=this.blue,m=a.red,q=a.green;a=a.blue;return new AidaColor([(d*(m/255)+g*(m/255)+o*(m/255)).round(),(d*(q/255)+g*(q/255)+o*(q/255)).round(),(d*(a/255)+g*(a/255)+o*(a/255)).round(),this.alpha])},color:function(a){var d=this.red,g=this.green,o=this.blue;a=new AidaColor(a);return new AidaColor([d+(d/100*a.red).round(),
g+(g/100*a.green).round(),o+(o/100*a.blue).round(),this.alpha])},contrast:function(a){var d=function(g){return((g/255-0.5)*(1+(a/100).pow(2))+0.5)*255};return new AidaColor([d(this.red),d(this.green),d(this.blue),this.alpha])},brightness:function(a){return new AidaColor([this.red+(2.55*a).round(),this.green+(2.55*a).round(),this.red+(2.55*a).round(),this.alpha])},alphaBlending:function(a){a=new AidaColor(a);return new AidaColor([(1-this.alpha)*a.red+this.alpha*this.red,(1-this.alpha)*a.green+this.alpha*
this.green,(1-this.alpha)*a.blue+this.alpha*this.blue,Math.max(a.alpha,this.alpha)+Math.min(a.alpha,this.alpha)/2])},toString:function(){return this.hex()},filter:function(a,d){d=new AidaColor(d);switch(a){case "multiply":d.red=this.red*d.red/255;d.green=this.green*d.green/255;d.blue=this.blue*d.blue/255;break;case "screen":d.red=255-((255-this.red)*(255-d.red)>>8);d.green=255-((255-this.green)*(255-d.green)>>8);d.blue=255-((255-this.blue)*(255-d.blue)>>8);break;case "overlay":d.red=d.red<128?2*this.red*
d.red/255:255-2*(255-d.red)*(255-this.red)/255;d.green=d.green<128?2*this.green*d.green/255:255-2*(255-d.green)*(255-this.green)/255;d.blue=d.blue<128?2*this.blue*d.blue/255:255-2*(255-d.blue)*(255-this.blue)/255;break;case "dodge":d.red=d.red==255?d.red:Math.min(255,(this.red<<8)/(255-d.red));d.green=d.green==255?d.green:Math.min(255,(this.green<<8)/(255-d.green));d.blue=d.blue==255?d.blue:Math.min(255,(this.blue<<8)/(255-d.blue));break;case "burn":d.red=d.red==0?d.red:Math.max(0,255-(255-this.red<<
8)/d.red);d.green=d.green==0?d.green:Math.max(0,255-(255-this.green<<8)/d.green);d.blue=d.blue==0?d.blue:Math.max(0,255-(255-this.blue<<8)/d.blue);break;case "negate":d.red=255-Math.abs(255-d.red-this.red);d.green=255-Math.abs(255-d.green-this.green);d.blue=255-Math.abs(255-d.blue-this.blue)}d.red=d.red.round().bound(0,255);d.green=d.green.round().bound(0,255);d.blue=d.blue.round().bound(0,255);d.alpha=this.alpha;return d}};AidaColor.hex=function(a){return(new AidaColor(a)).hex()};
AidaColor.isColor=function(a){return a.match(/((rgb|rgba|hsl|hsla|cmyk|cmyka)\([0-9]%?,[\s]*[0-9]+%?,[\s]*[0-9]+%?(,[\s]*[0-9\.]+)?\)|#[0-9A-F]{3,8})/gi)};
AidaColor.names={transparent:"#00000000",Jiki:"#009999",AliceBlue:"#F0F8FF",AntiqueWhite:"#FAEBD7",Aqua:"#00FFFF",Aquamarine:"#7FFFD4",Azure:"#F0FFFF",Beige:"#F5F5DC",Bisque:"#FFE4C4",Black:"#000000",BlanchedAlmond:"#FFEBCD",Blue:"#0000FF",BlueViolet:"#8A2BE2",Brown:"#A52A2A",BurlyWood:"#DEB887",CadetBlue:"#5F9EA0",Chartreuse:"#7FFF00",Chocolate:"#D2691E",Coral:"#FF7F50",CornflowerBlue:"#6495ED",Cornsilk:"#FFF8DC",Crimson:"#DC143C",Cyan:"#00FFFF",DarkBlue:"#00008B",DarkCyan:"#008B8B",DarkGoldenRod:"#B8860B",
DarkGray:"#A9A9A9",DarkGrey:"#A9A9A9",DarkGreen:"#006400",DarkKhaki:"#BDB76B",DarkMagenta:"#8B008B",DarkOliveGreen:"#556B2F",Darkorange:"#FF8C00",DarkOrchid:"#9932CC",DarkRed:"#8B0000",DarkSalmon:"#E9967A",DarkSeaGreen:"#8FBC8F",DarkSlateBlue:"#483D8B",DarkSlateGray:"#2F4F4F",DarkSlateGrey:"#2F4F4F",DarkTurquoise:"#00CED1",DarkViolet:"#9400D3",DeepPink:"#FF1493",DeepSkyBlue:"#00BFFF",DimGray:"#696969",DimGrey:"#696969",DodgerBlue:"#1E90FF",FireBrick:"#B22222",FloralWhite:"#FFFAF0",ForestGreen:"#228B22",
Fuchsia:"#FF00FF",Gainsboro:"#DCDCDC",GhostWhite:"#F8F8FF",Gold:"#FFD700",GoldenRod:"#DAA520",Gray:"#808080",Grey:"#808080",Green:"#008000",GreenYellow:"#ADFF2F",HoneyDew:"#F0FFF0",HotPink:"#FF69B4",IndianRed:"#CD5C5C",Indigo:"#4B0082",Ivory:"#FFFFF0",Khaki:"#F0E68C",Lavender:"#E6E6FA",LavenderBlush:"#FFF0F5",LawnGreen:"#7CFC00",LemonChiffon:"#FFFACD",LightBlue:"#ADD8E6",LightCoral:"#F08080",LightCyan:"#E0FFFF",LightGoldenRodYellow:"#FAFAD2",LightGray:"#D3D3D3",LightGrey:"#D3D3D3",LightGreen:"#90EE90",
LightPink:"#FFB6C1",LightSalmon:"#FFA07A",LightSeaGreen:"#20B2AA",LightSkyBlue:"#87CEFA",LightSlateGray:"#778899",LightSlateGrey:"#778899",LightSteelBlue:"#B0C4DE",LightYellow:"#FFFFE0",Lime:"#00FF00",LimeGreen:"#32CD32",Linen:"#FAF0E6",Magenta:"#FF00FF",Maroon:"#800000",MediumAquaMarine:"#66CDAA",MediumBlue:"#0000CD",MediumOrchid:"#BA55D3",MediumPurple:"#9370D8",MediumSeaGreen:"#3CB371",MediumSlateBlue:"#7B68EE",MediumSpringGreen:"#00FA9A",MediumTurquoise:"#48D1CC",MediumVioletRed:"#C71585",MidnightBlue:"#191970",
MintCream:"#F5FFFA",MistyRose:"#FFE4E1",Moccasin:"#FFE4B5",NavajoWhite:"#FFDEAD",Navy:"#000080",OldLace:"#FDF5E6",Olive:"#808000",OliveDrab:"#6B8E23",Orange:"#FFA500",OrangeRed:"#FF4500",Orchid:"#DA70D6",PaleGoldenRod:"#EEE8AA",PaleGreen:"#98FB98",PaleTurquoise:"#AFEEEE",PaleVioletRed:"#D87093",PapayaWhip:"#FFEFD5",PeachPuff:"#FFDAB9",Peru:"#CD853F",Pink:"#FFC0CB",Plum:"#DDA0DD",PowderBlue:"#B0E0E6",Purple:"#800080",Red:"#FF0000",RosyBrown:"#BC8F8F",RoyalBlue:"#4169E1",SaddleBrown:"#8B4513",Salmon:"#FA8072",
SandyBrown:"#F4A460",SeaGreen:"#2E8B57",SeaShell:"#FFF5EE",Sienna:"#A0522D",Silver:"#C0C0C0",SkyBlue:"#87CEEB",SlateBlue:"#6A5ACD",SlateGray:"#708090",SlateGrey:"#708090",Snow:"#FFFAFA",SpringGreen:"#00FF7F",SteelBlue:"#4682B4",Tan:"#D2B48C",Teal:"#008080",Thistle:"#D8BFD8",Tomato:"#FF6347",Turquoise:"#40E0D0",Violet:"#EE82EE",Wheat:"#F5DEB3",White:"#FFFFFF",WhiteSmoke:"#F5F5F5",Yellow:"#FFFF00",YellowGreen:"#9ACD32"};
var AidaI18N={getLanguage:function(a){var d;if(a){a=I(a);if(d=a.getAttribute("lang"))return d.substring(0,2);try{if(d=a.getAttribute("xml:lang"))return d.substring(0,2)}catch(g){}if(a.parentNode&&a.tagName!="HTML")return a.ajParent().getLanguage();return null}if(this.actLang)return this.actLang;d=this.getLanguage($("html")[0]);if(!d){a=document.getElementsByTagName("meta");for(var o=a.length,m;o&&!d;){m=a[--o];if(name=m.getAttribute("http-equiv")){if(name.toLowerCase()=="content-language")d=m.getAttribute("content").substring(0,
2)}else if(name=m.getAttribute("name")){name=name.toLowerCase();if(name=="dc.language"||name=="language")d=m.getAttribute("content").substring(0,2)}}}d||(d="en");return this.actLang=d},actLang:null,strings:{en:{_date_formats:{m:["January","February","March","April","May","June","July","August","September","October","November","December"],w:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]}},it:{_date_formats:{m:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio",
"Agosto","Settembre","Ottobre","Novembre","Dicembre"],w:["Domenica","Luned\u00ec","Marted\u00ec","Mercoled\u00ec","Gioved\u00ec","Venerd\u00ec","Sabato"]}},es:{_date_formats:{m:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],w:["Lunes","Martes","Mi\u00c8rcoles","Jueves","Viernes","Sabado","Domingo"]}},fr:{_date_formats:{m:["Janvier","F\u00e9vrier","Mars","Avril","Mai","Juin","Juillet","Ao\u00fbt","Septembre","Octobre","Novembre","D\u00e9cembre"],
w:["Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi","Dimanche"]}}},set:function(a,d,g){a=a.substr(0,2).toLowerCase();a=this.strings[a]||(this.strings[a]={});if(typeof d=="object")Object.extend(a,d);else a[d]=g;return this},get:function(a,d,g){return(d=this.strings[(d||this.getLanguage()).substr(0,2).toLowerCase()])?d[a]:g}},AidaViewport={_onOpen:[],_onClose:[],animation:false,config:{},opacity:0.5,easing:null,time:0.2,locked:false,getAppsLayer:function(){if(this.$appsLayer)return this.$appsLayer;
this.$appsLayer=N(["div",{style:{position:"absolute",left:"0px",top:"0px",zIndex:"300",width:"100%",height:"0px"}}]);this.$background?this.$background.ajAfter(this.$appsLayer):I(document.body).ajAppend(this.$appsLayer);return this.$appsLayer},getBackground:function(){if(this.$background)return this.$background;this.$background=N(["div",{style:{backgroundColor:"#000000",color:"#FFFFFF",position:"fixed",top:0,bottom:0,left:0,right:0,display:"none",zIndex:"299",opacity:"0"},onclick:function(){AidaViewport.locked||
AidaViewport.close()}}]);this.$appsLayer?this.$appsLayer.ajBefore(this.$background):I(document.body).ajAppend(this.$background);return this.$background},setBackgroundStyle:function(a){this.getBackground().ajCss(a);this.opacity=a.opacity||this.opacity},open:function(a){var d=this.getBackground();if(d.ajHidden()){this.animation?d.ajCss({opacity:0,display:"block"}).ajMorph({css:{opacity:this.opacity||0.5},time:this.time||0.2,easing:this.easing,fps:20,stop:true}):d.ajCss({opacity:this.opacity||0.5,display:"block"});
this._onOpen.each(function(g){g[0].call(g[1])});this.locked=a}d=null},close:function(a){var d=this.getBackground();if(!d.ajHidden()){this.animation?d.ajMorph({css:{opacity:0},time:this.time||0.2,easing:this.easing,fps:20,stop:true,onFinish:function(){this.ajCssSet("display","none")}}):d.ajCss({opacity:0,display:"none"});this._onClose.each(function(g){g[0].call(g[1],a)});this.locked=false}},addOpenEvent:function(a,d){this._onOpen.push([a,d||null])},addCloseEvent:function(a,d){this._onClose.push([a,
d||null])},getMask:function(){if(this._mask)return this._mask;var a=this.getAppsLayer(),d=N(["div",{style:{position:"absolute",left:0,top:0,zIndex:"298",width:"100%",height:0,display:"none",cursor:"pointer"},click:function(){AidaViewport.closeMask();if(AidaViewport._mask.onClose){AidaViewport._mask.onClose();AidaViewport._mask.onClose=null}}}]);a.ajBefore(d);a=N(["div",{style:{position:"absolute",left:0,top:0,width:"100%"}}],d);var g=N(["div",{style:{position:"absolute",left:0}}],d),o=N(["div",{style:{position:"absolute",
right:0}}],d),m=N(["div",{style:{position:"absolute",left:0,width:"100%"}}],d);this._mask={$mask:d,$T:a,$L:g,$R:o,$B:m,color:"#000000",opacity:0.8};d=a=g=o=m=null;AidaEvent.add(window,"resize",function(){AidaViewport.mask()});return this._mask},mask:function(a,d,g,o){var m=this.getMask();m.$target=a=I(a)||m.$target;m.color=d=d||m.color;m.opacity=g=g||m.opacity;if(o)m.onClose=o;m.$mask.ajHide();o=a.ajSize();a=a.ajPosition();var q=this.getAppsLayer().ajSize(),p=AidaEnv.pageSize();if(AidaAgent.trident)p.width-=
AidaEnv.scrollbarSize();m.$T.ajCss({height:a.top,background:d,opacity:g});m.$L.ajCss({top:a.top,width:a.left,height:o.height,background:d,opacity:g});m.$R.ajCss({top:a.top,width:q.width-(a.left+o.width),height:o.height,background:d,opacity:g});m.$B.ajCss({top:a.top+o.height,height:p.height-(a.top+o.height),background:d,opacity:g});m.$mask.ajShow()},closeMask:function(){this.getMask().$mask.ajHide()}};
AidaEvent.onReady(function(){document.head=I(document.getElementsByTagName("head")[0]);var a=document.body,d=document.createElement("DIV"),g=document.createElement("SPAN"),o=g.style;d.style.fontFamily="monospace";d.style.lineHeight="1em";d.style.letterSpacing="0px";o.fontFamily="monospace";o.fontSize="72px";g.innerHTML="qwertyuiopasfghjklzxcvbnm1234567890";d.appendChild(g);a.appendChild(d);var m=g.offsetWidth,q=g.offsetHeight;a.removeChild(d);AidaAgent.supportFont=function(y,z,r){setTimeout(function(){var j=
false;o.fontFamily=(y.match(/\s/)?'"'+y+'"':y)+", monospace";a.appendChild(d);var t=g.offsetWidth,w=g.offsetHeight;a.removeChild(d);if(t!=m||w!=q)j=true;z(j,y,t,w,m,q)},r||500)};var p=AidaAgent.engine;if(AidaAgent.msie)p+=" msie"+AidaAgent.version;a.className+=" "+p;if(navigator.userAgent.match(/(MSIE 6)/)){p=Aida.baseUrl+"/styles/browsers.jpg";var v='<img src="'+Aida.baseUrl+'/styles/pixel.gif" width="145" height="50" border="0" style="width: 145px; height: 50px; border: none;">';
a.innerHTML+='<div style="width: 600px; height: 300px; position: absolute; left: 50%; top: 50%; z-index: 9999; margin: -150px 0px 0px -324px; padding: 20px; text-align: center; font-size: 16px; line-height: 20px; font-family: Arial, Verdana; background: #FFF9D4; color: #000000; border: 4px solid #996600"><b>IT - Questo sito necessita di browser pi\u00f9 recente rispetto di quello che stai usando e potrebbe non essere visualizzato correttamente.<br>Si prega di passare a un browser moderno.<br><br>EN - This site requires a browser newer than what you\'re using, and may not display correctly.<br>Please upgrade to a modern browser.</b><br><br><a href="http://www.getfirefox.com/" style="line-height: 50px; background: url(\''+
p+'\') no-repeat 0px -50px; border: 1px solid #996600; display: inline-block; height: 50px;" title="Mozilla Firefox">'+v+'</a>&nbsp;<a href="http://www.google.com/chrome/" style="line-height: 50px; background: url(\''+p+'\') no-repeat 0px -100px; border: 1px solid #996600; display: inline-block; height: 50px;" title="Google Chrome">'+v+'</a>&nbsp;<a href="http://www.apple.com/safari/" style="line-height: 50px; background: url(\''+p+'\') no-repeat 0px -150px; border: 1px solid #996600; display: inline-block; height: 50px;" title="Apple Safari">'+
v+'</a><br><a href="http://www.opera.com/browser/" style="line-height: 50px; background: url(\''+p+'\') no-repeat 0px -200px; border: 1px solid #996600; display: inline-block; height: 50px;" title="Opera">'+v+'</a>&nbsp;<a href="http://www.microsoft.com/windows/internet-explorer/default.aspx" style="line-height: 50px; background: url(\''+p+'\') no-repeat 0px 0px; border: 1px solid #996600; display: inline-block; height: 50px;" title="Internet Explorer 8">'+v+'</a><div style="height: 20px; position: absolute; top: -15px; right: -15px; cursor: pointer; background: #996600; color: #FFFFFF; padding: 5px 10px;" onclick="this.parentNode.parentNode.removeChild(this.parentNode); return false;"><b>Chiudi - Close</b></div>'}});var AidaCSS={onlyNumbers:{zIndex:true,fontWeight:true,opacity:true,zoom:true,lineHeight:true},vendorKeys:{"float":"styleFloat"},presets:{hideWithLayout:{position:"absolute",visibility:"hidden",display:"block"}}};
(function(a){function d(j){j=j.split(";");for(var t={},w,B,x,D=j.length,k=0;k<D;){var b=j[k++].trim();if(b.indexOf(":")>-1){b=b.split(":");t[b[0].trim()]=b[1].trim()}else if(b.match(/^[0-9\.]+m?s$/i)){b=b.indexOf("m")>-1?parseFloat(b,10)/1E3:parseFloat(b,10);if(w)B=b;else w=b}else x=b}return{css:t,time:w,wait:B,easing:x}}function g(j,t){if(!isNaN(j)){switch(t){case "em":case "":case "%":case "deg":j=Math.round(j*1E3)/1E3;break;default:j=Math.round(j)}return j+t}return false}function o(j){var t=j.border;
if(t){t instanceof Array||(t=[t]);for(var w=0,B=t.length,x=[],D=[],k=[];w<B;){var b=t[w].split(/\s+/);if(b.length==3){x.push(b[0]);D.push(b[1]);k.push(b[2])}w++}if(x.length){j.borderWidth=x;j.borderStyle=D;j.borderColor=k;delete j.border}}}function m(j){var t=j.transform;if(t){t instanceof Array||(t=[t]);for(var w=0,B=t.length,x,D=/(^|[^a-z])([a-z]+)\(([^\)]*)\)/gi,k={};w<B;){for(;x=D.exec(t[w]);){var b=x[2];x=x[3];if(!k[b]){k[b]=[];for(var e=0;e<w;e++)k[b][e]="actual"}k[b][w]=x}w++}for(w in k)j[w]=
k[w];delete j.transform}}switch(AidaAgent.engine){case "webkit":AidaCSS.vendorKeys={"float":"cssFloat",backgroundSize:"WebkitBackgroundSize",borderRadius:"WebkitBorderRadius",borderTopLeftRadius:"WebkitBorderTopLeftRadius",borderTopRightRadius:"WebkitBorderTopRightRadius",borderBottomLeftRadius:"WebkitBorderBottomLeftRadius",borderBottomRightRadius:"WebkitBorderBottomRightRadius",boxShadow:"WebkitBoxShadow",borderImage:"WebkitBorderImage",transform:"WebkitTransform",transformOrigin:"WebkitTransformOrigin",
transition:"WebkitTransition",transitionProperty:"WebkitTransitionProperty",transitionDuration:"WebkitTransitionDuration",transitionTimingFunction:"WebkitTransitionTimingFunction",transitionDelay:"WebkitTransitionDelay",animationName:"WebkitAnimationName",animationDuration:"WebkitAnimationDuration",animationIterationCount:"WebkitAnimationnIterationCount",animationTimingFunction:"WebkitAnimationnTimingFunction",mask:"WebkitMask"};break;case "gecko":AidaCSS.vendorKeys=AidaAgent.version<2?{"float":"cssFloat",
backgroundSize:"MozBackgroundSize",borderRadius:"MozBorderRadius",borderTopLeftRadius:"MozBorderRadiusTopleft",borderTopRightRadius:"MozBorderRadiusTopright",borderBottomLeftRadius:"MozBorderRadiusBottomleft",borderBottomRightRadius:"MozBorderRadiusBottomright",boxShadow:"MozBoxShadow",borderImage:"MozBorderImage",transform:"MozTransform",transformOrigin:"MozTransformOrigin",transition:"MozTransition",transitionProperty:"MozTransitionProperty",transitionDuration:"MozTransitionDuration",transitionTimingFunction:"MozTransitionTimingFunction",
transitionDelay:"MozTransitionDelay"}:{"float":"cssFloat",backgroundSize:"MozBackgroundSize",borderImage:"MozBorderImage",transform:"MozTransform",transformOrigin:"MozTransformOrigin",transition:"MozTransition",transitionProperty:"MozTransitionProperty",transitionDuration:"MozTransitionDuration",transitionTimingFunction:"MozTransitionTimingFunction",transitionDelay:"MozTransitionDelay"};break;case "presto":AidaCSS.vendorKeys={"float":"cssFloat",transform:"OTransform",transformOrigin:"OTransformOrigin",
transition:"OTransition",transitionProperty:"OTransitionProperty",transitionDuration:"OTransitionDuration",transitionTimingFunction:"OTransitionTimingFunction",transitionDelay:"OTransitionDelay"};break;case "trident":AidaCSS.vendorKeys={"float":"styleFloat",transform:"msTransform",transformOrigin:"msTransformOrigin"}}var q=["in","cm","mm","pt","pc","em","ex","px","deg","%"];if(AidaAgent.support("csstransitions")){var p=function(j,t){var w=AidaElementStorage.retrieveData(j,"transition");if(w){if(typeof t!=
"object")t=w.paused.shift()}else{w={};j.ajAddEvent("transitionend",y);w.origProps=j.ajCss(["transitionProperty","transitionDuration","transitionTimingFunction","transitionDelay"]);w.paused=[];AidaElementStorage.storeData(j,"transition",w)}w.active=false;w.locked=false;w.origCss=null;t&&j.ajMorph(t);return w},v=function(j,t){if(typeof t=="string")t=d(t);var w=AidaElementStorage.retrieveData(j,"transition"),B=t.css;if(typeof B=="string")B=B.parseCss();var x=Object.keys(B),D=(t.time||0.5)*1E3,k=(t.wait||
t.delay||0)*1E3,b=t.easing||"ease-out";w.actProps=x;var e=[];x.each(function(i){i=AidaCSS.vendorKeys[i]||i;e.push(i.hyphenate())});x=j.ajCss(x,true);w.origCss=x;j.ajCss(x);j.ajCss({transitionProperty:e.join(", "),transitionDuration:D+"ms",transitionTimingFunction:b,transitionDelay:"0ms"});w.onFinish=t.onFinish||t.onComplete;w.onFrame=t.onFrame;w.next=t.after;w.delayTimeout=setTimeout(function(){j.ajCss(B);w.active=true;if(w.onFrame)w.framesInterval=setInterval(function(){w.onFrame.call(j)},40);w.endTimeout=
setTimeout(function(){y.call(j)},D)},k+50);t=null},y=function(j){var t=AidaElementStorage.retrieveData(this,"transition")||p(this);if(t.active){this.ajCss(t.origProps);var w=t.onFinish;if(t.framesInterval){clearInterval(t.framesInterval);t.framesInterval=null}if(t.endTimeout){clearTimeout(t.endTimeout);t.endTimeout=null}if(t.delayTimeout){clearTimeout(t.delayTimeout);t.delayTimeout=null}t.onFinish=null;t.actProps=null;t.active=false;w&&w.call(this,j);j=t.next;t.next=null;j||(j=t.paused.shift());j&&
v(this,j)}};AidaElements.implement({ajMorphStop:function(){var j=AidaElementStorage.retrieveData(this,"transition")||{},t=j.actProps,w;if(t){if(t.indexOf("border")>-1){t.remove("border");t=t.concat(["borderTopWidth","borderTopStyle","borderTopColor","borderRightWidth","borderRightStyle","borderRightColor","borderBottomWidth","borderBottomStyle","borderBottomColor","borderLeftWidth","borderLeftStyle","borderLeftColor"])}w=this.ajCss(t,true)}this.ajCss({transitionProperty:"none",transitionDuration:"",
transitionTimingFunction:"",transitionDelay:"0"});t&&this.ajCss(w);j.paused=[];p(this);return this},ajMorphReset:function(){var j=AidaElementStorage.retrieveData(this,"transition");if(j&&j.origCss){this.ajCss(j.origCss);j.origCss=null}this.ajCss({transitionProperty:"none",transitionDuration:"",transitionTimingFunction:"",transitionDelay:"0"})},ajMorphEnd:function(){this.ajCss({transitionProperty:"none",transitionDuration:"",transitionTimingFunction:"",transitionDelay:"0"})},ajMorph:function(j){if(typeof j==
"string")j=d(j);var t=AidaElementStorage.retrieveData(this,"transition")||p(this),w;if(t.active)if(j.concat===true)t.paused.push(j);else if(t.locked)w=true;else v(this.ajMorphStop(),j);else v(this,j);if(!w&&arguments.length>1){w=1;for(var B=arguments.length;w<B;w++)t.paused.push(arguments[w])}j=null;return this}})}else{var z=function(j,t){var w=AidaElementStorage.retrieveData(j,"morph");if(w){if(typeof t!="object")t=w.paused.shift()}else{w={paused:[]};AidaElementStorage.storeData(j,"morph",w)}w.wait=
null;w.animation=null;w.animated=false;w.locked=false;w.loop=null;w.origCss=null;t&&j.ajMorph(t);return w},r=function(j,t,w,B){if(typeof t=="string")t=d(t);var x=AidaElementStorage.retrieveData(j,"morph"),D=t.css||{},k=t.fps||50,b=1E3/k,e=Math.round((t.time||0.5)*k),i=e+(t.noLast?-1:0);k=t.easing;var n={},u={};if(typeof D=="string")D=D.parseCss();k=(typeof k=="string"?AidaEasing[k]:k)||AidaEasing.outCubic;o(D);m(D);for(var A in D){var C,E="",G=D[A],J=j.ajCss(A),K=null,F=3;u[A]=J;if(typeof G=="object")if(G instanceof
Array){if(typeof G[0]=="function")C=G.shift();if(q.indexOf(G[0])>-1)E=G.shift();K=G[0]}else{C=G.easing;E=G.unit||"";K=G.value}else K=G;if(!E&&typeof J=="string")if(G=J.match(RegExp("^-?[0-9.]+("+q.join("|")+")?$"))){J=parseFloat(J,10);E=G[1];G=null}is(K)||(K=J);if(A.match(/color/i))F=1;else if(E||typeof J=="number"){J=J.toString().cleanSize();K=K.toString().cleanSize();F=2}n[A]={type:F,easing:C||k,unit:E||"",from:J,to:K};G=F=C=E=null}x.origCss=u;u=k=null;x.locked=t.locked;x.animated=true;x.wait=w.setTimeout(function(){var P=
t.onFrame||Function.empty,T=t.onFinish||Function.empty,U=1,Q={},X=new Date;x.animation=w.setInterval(function(){var R={},S=(new Date-X)/b;if(S>e)S=e;else if(U==e)S=e;switch(S){case e:for(var O in n){var M=n[O];switch(M.type){case 1:var L=new AidaColor(M.to);R[O]=Q[O]=AidaAgent.rgba&&L.alpha<1?L.rgba():L.rgb();break;case 2:if((L=B(parseFloat(M.to,10),M.unit))||L===0)R[O]=Q[O]=L;break;default:R[O]=Q[O]=M.to}}j.ajCss(R);P.call(j,R,U,e);break;default:for(O in n){M=n[O];var W;L=M.easing;switch(M.type){case 1:var V=
new AidaColor(M.from);M=new AidaColor(M.to);L=new AidaColor([Math.floor(L(S,V.red,M.red-V.red,e)),Math.floor(L(S,V.green,M.green-V.green,e)),Math.floor(L(S,V.blue,M.blue-V.blue,e)),L(S,V.alpha,M.alpha-V.alpha,e)]);L=L.alpha<1&&AidaAgent.rgba?L.rgba():L.rgb();if(L!==Q[O]){R[O]=Q[O]=L;W=true}break;case 2:if(((L=B(L(S,M.from,M.to-M.from,e),M.unit))||L===0)&&L!==Q[O]){R[O]=Q[O]=L;W=true}}}if(W){j.ajCss(R);P.call(j,R,U,e)}}if(U==i){clearInterval(x.animation);z(j,t.after);t=n=Q=D=x=null;P.call(j,R,S,e);
T.call(j,R,S,e);j=T=null}++U},b)},(t.wait||0)*1E3)};AidaElements.implement({ajMorph:function(j){if(typeof j=="string")j=d(j);var t=AidaElementStorage.retrieveData(this,"morph")||z(this),w;if(t.animated)if(j.concat===true)t.paused.push(j);else if(t.locked)w=true;else r(this.ajMorphStop(),j,a,g);else r(this,j,a,g);if(!w&&arguments.length>1){w=1;for(var B=arguments.length;w<B;w++)t.paused.push(arguments[w])}j=null;return this},ajMorphLoop:function(j){var t=j.onFinish;j.onFinish=function(){t&&t.call(this);
this.ajMorph(j)};this.ajMorph(j)},ajMorphStop:function(){var j=AidaElementStorage.retrieveData(this,"morph");if(j){a.clearInterval(j.animation);a.clearTimeout(j.wait);j.paused=[]}z(this);return this},ajMorphReset:function(){var j=AidaElementStorage.retrieveData(this,"morph");if(j&&j.origCss){this.ajCss(j.origCss);j.origCss=null}}})}AidaElements.implement({ajBlindInit:function(j){var t=this.style;t.overflow="hidden";t.display="block";if(is(j))t.height=(j===true?0:j)+"px";return this},ajBlindUp:function(j){j=
j||{};j.css=j.css||{};j.css.height=(j.min||0)+"px";return this.ajMorph(j)},ajBlindDown:function(j){j=j||{};j.css=j.css||{};j.css.height=this.ajRealHeight(true)+"px";return this.ajMorph(j)},ajBlindToggle:function(j){return this[this.ajBlindState(j)>0.5?"ajBlindUp":"ajBlindDown"](j)},ajBlindState:function(j){j=(j||{}).min||0;return(this.ajCss("height").cleanSize()-j)/(this.ajRealHeight(true)-j)}})})(window,document);
var AidaEasing={blend:function(){var a=arguments,d=a.length;return function(g,o,m,q){var p=Math.min(Math.floor(g/q*d),d-1);q/=d;g=g/d==q?q:g%q;m/=d;o+=m*p;return a[p](g,o,m,q)}},repeat:function(a,d){d=d||2;for(var g=[];d--;)g.push(a);return AidaEasing.blend.apply(null,g)},path:function(a,d,g){var o;return function(m,q,p,v){o||(o=d.getPoints(v,g));return o[Math.floor(m)][a]}},linear:function(a,d,g,o){return g*a/o+d},inQuad:function(a,d,g,o){return g*(a/=o)*a+d},outQuad:function(a,d,g,o){return-g*(a/=
o)*(a-2)+d},inOutQuad:function(a,d,g,o){if((a/=o/2)<1)return g/2*a*a+d;return-g/2*(--a*(a-2)-1)+d},inCubic:function(a,d,g,o){return g*(a/=o)*a*a+d},outCubic:function(a,d,g,o){return g*((a=a/o-1)*a*a+1)+d},inOutCubic:function(a,d,g,o){if((a/=o/2)<1)return g/2*a*a*a+d;return g/2*((a-=2)*a*a+2)+d},inQuart:function(a,d,g,o){return g*(a/=o)*a*a*a+d},outQuart:function(a,d,g,o){return-g*((a=a/o-1)*a*a*a-1)+d},inOutQuart:function(a,d,g,o){if((a/=o/2)<1)return g/2*a*a*a*a+d;return-g/2*((a-=2)*a*a*a-2)+d},
inQuint:function(a,d,g,o){return g*(a/=o)*a*a*a*a+d},outQuint:function(a,d,g,o){return g*((a=a/o-1)*a*a*a*a+1)+d},inOutQuint:function(a,d,g,o){if((a/=o/2)<1)return g/2*a*a*a*a*a+d;return g/2*((a-=2)*a*a*a*a+2)+d},inSine:function(a,d,g,o){return-g*Math.cos(a/o*(Math.PI/2))+g+d},outSine:function(a,d,g,o){return g*Math.sin(a/o*(Math.PI/2))+d},inOutSine:function(a,d,g,o){return-g/2*(Math.cos(Math.PI*a/o)-1)+d},inExpo:function(a,d,g,o){return a===0?d:g*Math.pow(2,10*(a/o-1))+d},outExpo:function(a,d,g,
o){return a==o?d+g:g*(-Math.pow(2,-10*a/o)+1)+d},inOutExpo:function(a,d,g,o){if(a===0)return d;if(a==o)return d+g;if((a/=o/2)<1)return g/2*Math.pow(2,10*(a-1))+d;return g/2*(-Math.pow(2,-10*--a)+2)+d},inCirc:function(a,d,g,o){return-g*(Math.sqrt(1-(a/=o)*a)-1)+d},outCirc:function(a,d,g,o){return g*Math.sqrt(1-(a=a/o-1)*a)+d},inOutCirc:function(a,d,g,o){if((a/=o/2)<1)return-g/2*(Math.sqrt(1-a*a)-1)+d;return g/2*(Math.sqrt(1-(a-=2)*a)+1)+d},inElastic:function(a,d,g,o,m,q){if(a===0)return d;if((a/=o)==
1)return d+g;q||(q=o*0.3);m||(m=0);if(m<Math.abs(g)){m=g;g=q/4}else g=q/(2*Math.PI)*Math.asin(g/m);return-(m*Math.pow(2,10*(a-=1))*Math.sin((a*o-g)*2*Math.PI/q))+d},outElastic:function(a,d,g,o,m,q){if(a===0)return d;if((a/=o)==1)return d+g;q||(q=o*0.3);m||(m=0);var p;if(m<Math.abs(g)){m=g;p=q/4}else p=q/(2*Math.PI)*Math.asin(g/m);return m*Math.pow(2,-10*a)*Math.sin((a*o-p)*2*Math.PI/q)+g+d},inOutElastic:function(a,d,g,o,m,q){if(a===0)return d;if((a/=o/2)==2)return d+g;q||(q=o*0.3*1.5);m||(m=0);var p;
if(m<Math.abs(g)){m=g;p=q/4}else p=q/(2*Math.PI)*Math.asin(g/m);if(a<1)return-0.5*m*Math.pow(2,10*(a-=1))*Math.sin((a*o-p)*2*Math.PI/q)+d;return m*Math.pow(2,-10*(a-=1))*Math.sin((a*o-p)*2*Math.PI/q)*0.5+g+d},inBack:function(a,d,g,o,m){m||(m=1.70158);return g*(a/=o)*a*((m+1)*a-m)+d},outBack:function(a,d,g,o,m){m||(m=1.70158);return g*((a=a/o-1)*a*((m+1)*a+m)+1)+d},inOutBack:function(a,d,g,o,m){m||(m=1.70158);if((a/=o/2)<1)return g/2*a*a*(((m*=1.525)+1)*a-m)+d;return g/2*((a-=2)*a*(((m*=1.525)+1)*
a+m)+2)+d},inBounce:function(a,d,g,o){return g-AidaEasing.outBounce(o-a,0,g,o)+d},outBounce:function(a,d,g,o){return(a/=o)<1/2.75?g*7.5625*a*a+d:a<2/2.75?g*(7.5625*(a-=1.5/2.75)*a+0.75)+d:a<2.5/2.75?g*(7.5625*(a-=2.25/2.75)*a+0.9375)+d:g*(7.5625*(a-=2.625/2.75)*a+0.984375)+d},inOutBounce:function(a,d,g,o){if(a<o/2)return AidaEasing.inBounce(a*2,0,g,o)*0.5+d;return AidaEasing.outBounce(a*2-o,0,g,o)*0.5+g*0.5+d},circleY:function(a,d,g,o){return g*Math.sin(a/o*2*Math.PI)+d},circleX:function(a,d,g,o){return g*
Math.cos(a/o*2*Math.PI)+d},outSpiralY:function(a,d,g,o){return g/o*a*Math.sin(a/o*2*Math.PI)+d},outSpiralX:function(a,d,g,o){return g/o*a*Math.cos(a/o*2*Math.PI)+d},inSpiralY:function(a,d,g,o){return g/o*(o-a)*Math.sin(a/o*2*Math.PI)+d},inSpiralX:function(a,d,g,o){return g/o*(o-a)*Math.cos(a/o*2*Math.PI)+d}};AidaEasing["ease-out"]=AidaEasing.outSine;AidaEasing["ease-in"]=AidaEasing.inSine;AidaEasing["ease-in-out"]=AidaEasing.inOutSine;function AidaAjax(a){this.xhr=null;this.GETs={};this.POSTs={};this.HEADs={};this.data=null;this.path="";this.response={headers:{},body:"",XML:null};this.status={code:0,text:"Unknown",type:"Unknown"};this.target=a.target;this.timeout=a.timeout||0;this.escapeCache=is(a.escapeCache)?a.escapeCache:"_Escape_Cache_";this.encoding=a.encoding||"utf-8";this.async=is(a.async)?a.async:true;this.method=a.method;this.crossDomain=a.crossDomain;this.polling=a.polling;this.json=a.json;this.forceXML=a.forceXML;this.onRequest=
a.onRequest||Function.empty;this.onSuccess=a.onSuccess||Function.empty;this.onFailure=a.onFailure||Function.empty;this.onFinish=a.onFinish||Function.empty;this.onTimeout=a.onTimeout||Function.empty;this.onAbort=a.onAbort||Function.empty;this.onError=a.onError||Function.empty;this.url(a.url);this.addGETparams(a.get||{});this.addPOSTparams(a.post||{});this.createRequest()}
(function(a){function d(m){return[m.url,Object.params(m.get||{}),Object.params(m.post||{})].join(" ")}function g(m){m=d(m);var q=o[m];if(q){if(q[0]>(new Date).getTime())return q[1];delete o[m]}return false}if(!a.XMLHttpRequest)a.XMLHttpRequest=function(){for(var m=["Microsoft.XMLHTTP","MSXML2.XMLHTTP","MSXML2.XMLHTTP.3.0","Msxml2.XMLHTTP.4.0","Msxml2.XMLHTTP.5.0","Msxml2.XMLHTTP.6.0","Msxml2.XMLHTTP.7.0"],q=m.length,p,v;q;){p=m[--q];try{v=new ActiveXObject(p)}catch(y){v=null}}return v};AidaAjax.prototype=
{createRequest:function(){var m=null;try{m=new XMLHttpRequest;if(this.crossDomain)if(typeof XDomainRequest!="undefined")m=new XDomainRequest;else"withCredentials"in m||(m=null)}catch(q){m=null;this.onError(q,c)}return(this.xhr=m)?true:false},addGETparams:function(m,q){var p=this.GETs;if(typeof m=="object")for(var v in m)p[v]=m[v];else p[m]=q},addPOSTparams:function(m,q){var p=this.POSTs;if(typeof m=="object")for(var v in m)p[v]=m[v];else p[m]=q},setHeaders:function(m,q){var p=this.HEADs;if(typeof m==
"object")for(var v in m)p[v]=m[v];else p[m]=q},urlPath:function(m){this.path=m.split("?")[0]},urlParameters:function(m){if(m=m.split("?")[1]){m=m.replace("&amp;","&").split("&");for(var q=m.length,p,v=this.GETs;q;){p=m[--q].split("=");v[p[0]]=p[1]}}},url:function(m){this.urlPath(m);this.urlParameters(m)},abort:function(){if(this.running){this.running=false;this.xhr.onreadystatechange=Function.empty;this.xhr.abort();this.createRequest();this.onAbort()}},getHeaders:function(){for(var m={},q=this.xhr.getAllResponseHeaders().split(/(\n)/gmi),
p=q.length,v;p;)if(v=q[--p].trim()){v=v.split(/:[\s]+/gmi);m[v[0]]=v[1]}return m},getStatus:function(){var m=this.xhr,q=m.status;m=m.statusText;var p;if(q){m||(m=AidaAjax.getStatusText(q));p=AidaAjax.getStatusType(q)}return{code:q,text:m||"Unknown",type:p||"Unknown"}},run:function(){if(this.xhr&&!this.running){var m=this,q=this.response,p=this.xhr,v=this.timeout,y,z=this.encoding,r=this.HEADs,j=this.GETs,t=this.POSTs,w=(this.method||"").toUpperCase(),B=this.data;if(this.escapeCache)j[this.escapeCache]=
(new Date).getTime();j=Object.params(j);t=Object.params(t)||null;j=this.path+(j?"?"+j:"");var x;w||(w=t||B?"POST":"GET");p.onreadystatechange=function(){if(v>0&&!y){v=(new Date).getTime()+v*1E3;(function(){if((new Date).getTime()>=v){m.abort();m.onTimeout()}else y=a.setTimeout(arguments.callee,100)})()}switch(p.readyState){case 1:m.onRequest();break;case 4:y&&a.clearTimeout(y);var k,b,e;responseBody=q.body=p.responseText;k=q.XML=p.responseXML;b=q.headers=m.getHeaders();if(m.json)try{responseBody=
JSON.parse(responseBody)}catch(i){m.onError()}if(m.forceXML&&!k){k=responseBody.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"");if(e=k.match(/<body[^>]*>([\s\S]*?)<\/body>/i))k=e[1];k=H(k)}m.status=e=m.getStatus();m.running=false;if(e.type=="Success")m.onSuccess(responseBody,k,b,e);else m.onFailure(responseBody,k,b,e);m.onFinish(responseBody,k,b,e);if(b=m.polling)m._pollingTimeout=a.setTimeout(function(){m.run()},b*1E3)}};r.Connection="close";r["X-Ajax-Request"]="AIDA-JS";r.Accept=
"text/javascript, text/html, application/xml, text/xml, */*";if(!r["Content-type"]&&w=="POST")r["Content-type"]="application/x-www-form-urlencoded"+(z?"; charset="+z:"");this.running=true;this.username?p.open(w,j,this.async,this.username,this.password):p.open(w,j,this.async);for(x in r)try{p.setRequestHeader(x,r[x])}catch(D){this.onError(D,x,r[x])}p.send(B||t)}},_pollingTimeout:null,stopPolling:function(){a.clearTimeout(this._pollingTimeout);this.polling=null},runPolling:function(m){this.stopPolling();
this.polling=m;this.run()}};AidaAjax.getStatusText=function(m){switch(m){case 100:return"Continue";case 101:return"Switching Protocols";case 200:return"OK";case 201:return"Created";case 202:return"Accepted";case 203:return"Non-Authoritative Information";case 204:return"No Content";case 205:return"Reset Content";case 206:return"Partial Content";case 207:return"Multi-Status";case 300:return"Multiple Choices";case 301:return"Moved Permanently";case 302:return"Found";case 303:return"See Other";case 304:return"Not Modified";
case 305:return"Use Proxy";case 306:return"Switch Proxy";case 307:return"Temporary Redirect";case 400:return"Bad Request";case 401:return"Unauthorized";case 402:return"Payment Required";case 403:return"Forbidden";case 404:return"Not Found";case 405:return"Method Not Allowed";case 406:return"Not Acceptable";case 407:return"Proxy Authentication Required";case 408:return"Request Timeout";case 409:return"Conflict";case 410:return"Gone";case 411:return"Length Required";case 412:return"Precondition Failed";
case 413:return"Request Entity Too Large";case 414:return"Request-URI Too Long";case 415:return"Unsupported Media Type";case 416:return"Requested Range Not Satisfiable";case 417:return"Expectation Failed";case 449:return"Retry With";case 500:return"Internal Server Error";case 501:return"Not Implemented";case 502:return"Bad Gateway";case 503:return"Service Unavailable";case 504:return"Gateway Timeout";case 505:return"HTTP Version Not Supported";case 509:return"Bandwidth Limit Exceeded"}};AidaAjax.getStatusType=
function(m){if(m<200)return"Informational";if(m<300)return"Success";if(m<400)return"Redirection";if(m<500)return"Client Error";if(m<600)return"Server Error"};var o={};AidaAjax.request=function(m,q){var p=m.onSuccess||Function.empty,v=m.onFinish||Function.empty;if(m.cache&&(q=g(m))){p.apply(m.target,q);v.apply(m.target,q)}else{v=new AidaAjax(m);v.onSuccess=function(){if(m.cache){var y=arguments,z=isNumeric(m.cache)?parseFloat(m.cache,10):Infinity;z=(new Date).getTime()+z*1E3;var r=d(m);o[r]=[z,y]}p.apply(m.target,
arguments)};v.run();return v}};AidaAjax.jsonp=function(m){var q=m.url,p=AidaAjax._jsonpCalls.length,v;m.onRequest&&m.onRequest.call(m.target);AidaAjax._jsonpCalls[p]=function(){v&&clearTimeout(v);m.onFinish&&m.onFinish.call(m.target,arguments)};if(m.callbackKey)q+=(q.test("\\?")?"&":"?")+m.callbackKey+"AidaAjax._jsonpCalls["+p+"]";else q=q.replace("{$callback}","AidaAjax._jsonpCalls["+p+"]");AidaRequire.js(q);if(m.timeout)v=setTimeout(function(){AidaAjax._jsonpCalls[p]=Function.empty;m.onTimeout&&
m.onTimeout.call(m.target)},m.timeout*1E3)};AidaAjax._jsonpCalls=[]})(window,document);if(!this.JSON)this.JSON={};
(function(){function a(z){return z<10?"0"+z:z}function d(z){m.lastIndex=0;return m.test(z)?'"'+z.replace(m,function(r){var j=v[r];return typeof j==="string"?j:"\\u"+("0000"+r.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+z+'"'}function g(z,r){var j,t,w,B,x=q,D,k=r[z];if(k&&typeof k==="object"&&typeof k.toJSON==="function")k=k.toJSON(z);if(typeof y==="function")k=y.call(r,z,k);switch(typeof k){case "string":return d(k);case "number":return isFinite(k)?String(k):"null";case "boolean":case "null":return String(k);
case "object":if(!k)return"null";q+=p;D=[];if(Object.prototype.toString.apply(k)==="[object Array]"){B=k.length;for(j=0;j<B;j+=1)D[j]=g(j,k)||"null";w=D.length===0?"[]":q?"[\n"+q+D.join(",\n"+q)+"\n"+x+"]":"["+D.join(",")+"]";q=x;return w}if(y&&typeof y==="object"){B=y.length;for(j=0;j<B;j+=1){t=y[j];if(typeof t==="string")if(w=g(t,k))D.push(d(t)+(q?": ":":")+w)}}else for(t in k)if(Object.hasOwnProperty.call(k,t))if(w=g(t,k))D.push(d(t)+(q?": ":":")+w);w=D.length===0?"{}":q?"{\n"+q+D.join(",\n"+q)+
"\n"+x+"}":"{"+D.join(",")+"}";q=x;return w}}if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+a(this.getUTCMonth()+1)+"-"+a(this.getUTCDate())+"T"+a(this.getUTCHours())+":"+a(this.getUTCMinutes())+":"+a(this.getUTCSeconds())+"Z":null};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()}}var o=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
m=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,q,p,v={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},y;if(typeof JSON.stringify!=="function")JSON.stringify=function(z,r,j){var t;p=q="";if(typeof j==="number")for(t=0;t<j;t+=1)p+=" ";else if(typeof j==="string")p=j;if((y=r)&&typeof r!=="function"&&(typeof r!=="object"||typeof r.length!=="number"))throw Error("JSON.stringify");return g("",
{"":z})};if(typeof JSON.parse!=="function")JSON.parse=function(z,r){function j(w,B){var x,D,k=w[B];if(k&&typeof k==="object")for(x in k)if(Object.hasOwnProperty.call(k,x)){D=j(k,x);if(typeof D!="undefined")k[x]=D;else delete k[x]}return r.call(w,B,k)}var t;z=String(z);o.lastIndex=0;if(o.test(z))z=z.replace(o,function(w){return"\\u"+("0000"+w.charCodeAt(0).toString(16)).slice(-4)});if(/^[\],:{}\s]*$/.test(z.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,
"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){t=eval("("+z+")");return typeof r==="function"?j({"":t},""):t}throw new SyntaxError("JSON.parse");}})();

