var AIDAJS={build:20091114,baseUrl:""},Agent={chromeFrame:function(){if(document.all){var a=navigator.userAgent.toLowerCase();if(a.indexOf("chromeframe")>=0||a.indexOf("x-clock")>=0)return true;if(typeof window.ActiveXObject!="undefined")try{if(new ActiveXObject("ChromeTab.ChromeFrame"))return true}catch(e){}}return false}};function isArray(a){return a instanceof Array}function isElement(a,e){return a&&(e?(a=a.nodeName)&&a.toLowerCase()==e.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||Agent.trident){for(var e=[],m=a.length-1;m>=0;m--)e[m]=a[m]&&a[m].nodeType==1&&Agent.trident&&Agent.version<8?I(a[m]):a[m];return e}return Array.prototype.slice.call(a)}
function getType(a){var e=typeof a;if(e=="object"){if(a===null)return"null";if(a instanceof Array)return"array";if(a instanceof Date)return"date";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 e}function I(a,e){if(!e||!e.documentElement)e=document;(a=is(a)?typeof a=="string"?e.getElementById(a):a:null)&&!a._extended&&AidaElements.prototypize(a);return a}
function H(a,e,m){function o(j,u){var y=u.length;if(y>0){var z=u.indexOf("<");if(z>-1)if(z>0){j.appendChild(m.createTextNode(u.substring(0,z).entitiesDecode()));return o(j,u.substring(z,y))}else{z=u.indexOf(">");if(z>-1){var w=u.substring(1,z).trim();u=u.substring(z+1,y);if(w.substring(0,1)=="/"){w=w.replace("/","").trim().toLowerCase();y=j.parentNode;if(w!=j.nodeName.toLowerCase()||!j)return false;return o(y,u)}var q=w.match(/^([^\s\/]+)(\s+.*|\/)?$/);if(!q)return false;z=w.match(/\/\s*$/);w=q[1];
y=m.createElement(w);y=I(y);if(w=(q[2]||"").trim()){q=/(?:^|\s+)([a-z0-9_-]+)(?:\=("[^"]*"|'[^']*'|[a-z0-9_-]+))?/gi;for(var r;r=q.exec(w);){var x=r[1];r=r[2];if(x){r=r?r.replace(/^['"]|['"]$/g,"").entitiesDecode():x;y.set(x,r)}}}j.appendChild(y);if(z)y=j;return o(y,u)}else return false}else j.appendChild(m.createTextNode(u.entitiesDecode()))}return true}m=m||document;var n=m.createDocumentFragment();if(o(n,a)){e&&I(e).appendChild(n);return n}return false}
function N(a,e,m){if(!is(a))return null;m=m||document;var o=null;switch(typeof a){case "object":if(a instanceof Array)for(var n=a.length,j;n--;){j=a.shift();if(o)switch(typeof j){case "object":if(!(j instanceof Array)&&!j.nodeType){I(o).set(j);break}case "string":case "number":N(j,o);break;default:return null}else o=I(m.createElement(j))}else if(a.nodeType)o=a;break;case "number":case "string":o=m.createTextNode(a+"");break}e&&o&&I(e).appendChild(o);return o};(function(){function a(b){for(var i="",k,v=0;b[v];v++){k=b[v];if(k.nodeType===3||k.nodeType===4)i+=k.nodeValue;else if(k.nodeType!==8)i+=a(k.childNodes)}return i}function e(b,i,k,v,C,E){C=0;for(var K=v.length;C<K;C++){var G=v[C];if(G){G=G[b];for(var L=false;G;){if(G.sizcache===k){L=v[G.sizset];break}if(G.nodeType===1&&!E){G.sizcache=k;G.sizset=C}if(G.nodeName.toLowerCase()===i){L=G;break}G=G[b]}v[C]=L}}}function m(b,i,k,v,C,E){C=0;for(var K=v.length;C<K;C++){var G=v[C];if(G){G=G[b];for(var L=false;G;){if(G.sizcache===
k){L=v[G.sizset];break}if(G.nodeType===1){if(!E){G.sizcache=k;G.sizset=C}if(typeof i!=="string"){if(G===i){L=true;break}}else if(z.filter(i,[G]).length>0){L=G;break}}G=G[b]}v[C]=L}}}var o=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,n=0,j=Object.prototype.toString,u=false,y=true;[0,0].sort(function(){y=false;return 0});var z=function(b,i,k,v){k=k||[];var C=i=i||document;if(i.nodeType!==1&&i.nodeType!==9)return[];
if(!b||typeof b!=="string")return k;var E=[],K,G,L,U,Q=true,R=J(i),P=b,M;do{o.exec("");if(K=o.exec(P)){P=K[3];E.push(K[1]);if(K[2]){U=K[3];break}}}while(K);if(E.length>1&&q.exec(b))if(E.length===2&&w.relative[E[0]])G=g(E[0]+E[1],i);else for(G=w.relative[E[0]]?[i]:z(E.shift(),i);E.length;){b=E.shift();if(w.relative[b])b+=E.shift();G=g(b,G)}else{if(!v&&E.length>1&&i.nodeType===9&&!R&&w.match.ID.test(E[0])&&!w.match.ID.test(E[E.length-1])){K=z.find(E.shift(),i,R);i=K.expr?z.filter(K.expr,K.set)[0]:K.set[0]}if(i){K=
v?{expr:E.pop(),set:B(v)}:z.find(E.pop(),E.length===1&&(E[0]==="~"||E[0]==="+")&&i.parentNode?i.parentNode:i,R);G=K.expr?z.filter(K.expr,K.set):K.set;if(E.length>0)L=B(G);else Q=false;for(;E.length;){K=M=E.pop();if(w.relative[M])K=E.pop();else M="";if(K==null)K=i;w.relative[M](L,K,R)}}else L=[]}L||(L=G);L||z.error(M||b);if(j.call(L)==="[object Array]")if(Q)if(i&&i.nodeType===1)for(b=0;L[b]!=null;b++){if(L[b]&&(L[b]===true||L[b].nodeType===1&&F(i,L[b])))k.push(G[b])}else for(b=0;L[b]!=null;b++)L[b]&&
L[b].nodeType===1&&k.push(G[b]);else k.push.apply(k,L);else B(L,k);if(U){z(U,C,k,v);z.uniqueSort(k)}return k};z.uniqueSort=function(b){if(A){u=y;b.sort(A);if(u)for(var i=1;i<b.length;i++)b[i]===b[i-1]&&b.splice(i--,1)}return b};z.matches=function(b,i){return z(b,null,null,i)};z.find=function(b,i,k){var v;if(!b)return[];for(var C=0,E=w.order.length;C<E;C++){var K=w.order[C],G;if(G=w.leftMatch[K].exec(b)){var L=G[1];G.splice(1,1);if(L.substr(L.length-1)!=="\\"){G[1]=(G[1]||"").replace(/\\/g,"");v=w.find[K](G,
i,k);if(v!=null){b=b.replace(w.match[K],"");break}}}}v||(v=i.getElementsByTagName("*"));return{set:v,expr:b}};z.filter=function(b,i,k,v){for(var C=b,E=[],K=i,G,L,U=i&&i[0]&&J(i[0]);b&&i.length;){for(var Q in w.filter)if((G=w.leftMatch[Q].exec(b))!=null&&G[2]){var R=w.filter[Q],P,M;M=G[1];L=false;G.splice(1,1);if(M.substr(M.length-1)!=="\\"){if(K===E)E=[];if(w.preFilter[Q])if(G=w.preFilter[Q](G,K,k,E,v,U)){if(G===true)continue}else L=P=true;if(G)for(var O=0;(M=K[O])!=null;O++)if(M){P=R(M,G,O,K);var S=
v^!!P;if(k&&P!=null)if(S)L=true;else K[O]=false;else if(S){E.push(M);L=true}}if(P!==undefined){k||(K=E);b=b.replace(w.match[Q],"");if(!L)return[];break}}}if(b===C)if(L==null)z.error(b);else break;C=b}return K};z.error=function(b){throw"Syntax error, unrecognized expression: "+b;};var w=z.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,
TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+\-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(b){return b.getAttribute("href")}},relative:{"+":function(b,i){var k=typeof i==="string",v=k&&!/\W/.test(i);k=k&&!v;if(v)i=i.toLowerCase();v=0;for(var C=b.length,
E;v<C;v++)if(E=b[v]){for(;(E=E.previousSibling)&&E.nodeType!==1;);b[v]=k||E&&E.nodeName.toLowerCase()===i?E||false:E===i}k&&z.filter(i,b,true)},">":function(b,i){var k=typeof i==="string",v,C=0,E=b.length;if(k&&!/\W/.test(i))for(i=i.toLowerCase();C<E;C++){if(v=b[C]){k=v.parentNode;b[C]=k.nodeName.toLowerCase()===i?k:false}}else{for(;C<E;C++)if(v=b[C])b[C]=k?v.parentNode:v.parentNode===i;k&&z.filter(i,b,true)}},"":function(b,i,k){var v=n++,C=m,E;if(typeof i==="string"&&!/\W/.test(i)){E=i=i.toLowerCase();
C=e}C("parentNode",i,v,b,E,k)},"~":function(b,i,k){var v=n++,C=m,E;if(typeof i==="string"&&!/\W/.test(i)){E=i=i.toLowerCase();C=e}C("previousSibling",i,v,b,E,k)}},find:{ID:function(b,i,k){if(typeof i.getElementById!=="undefined"&&!k)return(b=i.getElementById(b[1]))?[b]:[]},NAME:function(b,i){if(typeof i.getElementsByName!=="undefined"){var k=[];i=i.getElementsByName(b[1]);for(var v=0,C=i.length;v<C;v++)i[v].getAttribute("name")===b[1]&&k.push(i[v]);return k.length===0?null:k}},TAG:function(b,i){return i.getElementsByTagName(b[1])}},
preFilter:{CLASS:function(b,i,k,v,C,E){b=" "+b[1].replace(/\\/g,"")+" ";if(E)return b;E=0;for(var K;(K=i[E])!=null;E++)if(K)if(C^(K.className&&(" "+K.className+" ").replace(/[\t\n]/g," ").indexOf(b)>=0))k||v.push(K);else if(k)i[E]=false;return false},ID:function(b){return b[1].replace(/\\/g,"")},TAG:function(b){return b[1].toLowerCase()},CHILD:function(b){if(b[1]==="nth"){var i=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(b[2]==="even"&&"2n"||b[2]==="odd"&&"2n+1"||!/\D/.test(b[2])&&"0n+"+b[2]||b[2]);b[2]=i[1]+
(i[2]||1)-0;b[3]=i[3]-0}b[0]=n++;return b},ATTR:function(b,i,k,v,C,E){i=b[1].replace(/\\/g,"");if(!E&&w.attrMap[i])b[1]=w.attrMap[i];if(b[2]==="~=")b[4]=" "+b[4]+" ";return b},PSEUDO:function(b,i,k,v,C){if(b[1]==="not")if((o.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=z(b[3],null,null,i);else{b=z.filter(b[3],i,k,true^C);k||v.push.apply(v,b);return false}else if(w.match.POS.test(b[0])||w.match.CHILD.test(b[0]))return true;return b},POS:function(b){b.unshift(true);return b}},filters:{enabled:function(b){return b.disabled===
false&&b.type!=="hidden"},disabled:function(b){return b.disabled===true},checked:function(b){return b.checked===true},selected:function(b){return b.selected===true},parent:function(b){return!!b.firstChild},empty:function(b){return!b.firstChild},has:function(b,i,k){return!!z(k[3],b).length},header:function(b){return/h\d/i.test(b.nodeName)},text:function(b){return"text"===b.type},radio:function(b){return"radio"===b.type},checkbox:function(b){return"checkbox"===b.type},file:function(b){return"file"===
b.type},password:function(b){return"password"===b.type},submit:function(b){return"submit"===b.type},image:function(b){return"image"===b.type},reset:function(b){return"reset"===b.type},button:function(b){return"button"===b.type||b.nodeName.toLowerCase()==="button"},input:function(b){return/input|select|textarea|button/i.test(b.nodeName)}},setFilters:{first:function(b,i){return i===0},last:function(b,i,k,v){return i===v.length-1},even:function(b,i){return i%2===0},odd:function(b,i){return i%2===1},
lt:function(b,i,k){return i<k[3]-0},gt:function(b,i,k){return i>k[3]-0},nth:function(b,i,k){return k[3]-0===i},eq:function(b,i,k){return k[3]-0===i}},filter:{PSEUDO:function(b,i,k,v){var C=i[1],E=w.filters[C];if(E)return E(b,k,i,v);else if(C==="contains")return(b.textContent||b.innerText||a([b])||"").indexOf(i[3])>=0;else if(C==="not"){i=i[3];k=0;for(v=i.length;k<v;k++)if(i[k]===b)return false;return true}else z.error("Syntax error, unrecognized expression: "+C)},CHILD:function(b,i){var k=i[1],v=
b;switch(k){case "only":case "first":for(;v=v.previousSibling;)if(v.nodeType===1)return false;if(k==="first")return true;v=b;case "last":for(;v=v.nextSibling;)if(v.nodeType===1)return false;return true;case "nth":k=i[2];var C=i[3];if(k===1&&C===0)return true;i=i[0];var E=b.parentNode;if(E&&(E.sizcache!==i||!b.nodeIndex)){var K=0;for(v=E.firstChild;v;v=v.nextSibling)if(v.nodeType===1)v.nodeIndex=++K;E.sizcache=i}b=b.nodeIndex-C;return k===0?b===0:b%k===0&&b/k>=0}},ID:function(b,i){return b.nodeType===
1&&b.getAttribute("id")===i},TAG:function(b,i){return i==="*"&&b.nodeType===1||b.nodeName.toLowerCase()===i},CLASS:function(b,i){return(" "+(b.className||b.getAttribute("class"))+" ").indexOf(i)>-1},ATTR:function(b,i){var k=i[1];b=w.attrHandle[k]?w.attrHandle[k](b):b[k]!=null?b[k]:b.getAttribute(k);k=b+"";var v=i[2];i=i[4];return b==null?v==="!=":v==="="?k===i:v==="*="?k.indexOf(i)>=0:v==="~="?(" "+k+" ").indexOf(i)>=0:!i?k&&b!==false:v==="!="?k!==i:v==="^="?k.indexOf(i)===0:v==="$="?k.substr(k.length-
i.length)===i:v==="|="?k===i||k.substr(0,i.length+1)===i+"-":false},POS:function(b,i,k,v){var C=w.setFilters[i[2]];if(C)return C(b,k,i,v)}}},q=w.match.POS,r=function(b,i){return"\\"+(i-0+1)};for(var x in w.match){w.match[x]=new RegExp(w.match[x].source+/(?![^\[]*\])(?![^\(]*\))/.source);w.leftMatch[x]=new RegExp(/(^(?:.|\r|\n)*?)/.source+w.match[x].source.replace(/\\(\d+)/g,r))}var B=function(b,i){b=Array.prototype.slice.call(b,0);if(i){i.push.apply(i,b);return i}return b};try{Array.prototype.slice.call(document.documentElement.childNodes,
0)}catch(D){B=function(b,i){i=i||[];var k=0;if(j.call(b)==="[object Array]")Array.prototype.push.apply(i,b);else if(typeof b.length==="number")for(var v=b.length;k<v;k++)i.push(b[k]);else for(;b[k];k++)i.push(b[k]);return i}}var A;if(document.documentElement.compareDocumentPosition)A=function(b,i){if(!b.compareDocumentPosition||!i.compareDocumentPosition){if(b==i)u=true;return b.compareDocumentPosition?-1:1}b=b.compareDocumentPosition(i)&4?-1:b===i?0:1;if(b===0)u=true;return b};else if("sourceIndex"in
document.documentElement)A=function(b,i){if(!b.sourceIndex||!i.sourceIndex){if(b==i)u=true;return b.sourceIndex?-1:1}b=b.sourceIndex-i.sourceIndex;if(b===0)u=true;return b};else if(document.createRange)A=function(b,i){if(!b.ownerDocument||!i.ownerDocument){if(b==i)u=true;return b.ownerDocument?-1:1}var k=b.ownerDocument.createRange(),v=i.ownerDocument.createRange();k.setStart(b,0);k.setEnd(b,0);v.setStart(i,0);v.setEnd(i,0);b=k.compareBoundaryPoints(Range.START_TO_END,v);if(b===0)u=true;return b};
(function(){var b=document.createElement("div"),i="script"+(new Date).getTime();b.innerHTML="<a name='"+i+"'/>";var k=document.documentElement;k.insertBefore(b,k.firstChild);if(document.getElementById(i)){w.find.ID=function(v,C,E){if(typeof C.getElementById!=="undefined"&&!E)return(C=C.getElementById(v[1]))?C.id===v[1]||typeof C.getAttributeNode!=="undefined"&&C.getAttributeNode("id").nodeValue===v[1]?[C]:undefined:[]};w.filter.ID=function(v,C){var E=typeof v.getAttributeNode!=="undefined"&&v.getAttributeNode("id");
return v.nodeType===1&&E&&E.nodeValue===C}}k.removeChild(b);k=b=null})();(function(){var b=document.createElement("div");b.appendChild(document.createComment(""));if(b.getElementsByTagName("*").length>0)w.find.TAG=function(i,k){k=k.getElementsByTagName(i[1]);if(i[1]==="*"){i=[];for(var v=0;k[v];v++)k[v].nodeType===1&&i.push(k[v]);k=i}return k};b.innerHTML="<a href='#'></a>";if(b.firstChild&&typeof b.firstChild.getAttribute!=="undefined"&&b.firstChild.getAttribute("href")!=="#")w.attrHandle.href=function(i){return i.getAttribute("href",
2)};b=null})();document.querySelectorAll&&function(){var b=z,i=document.createElement("div");i.innerHTML="<p class='TEST'></p>";if(!(i.querySelectorAll&&i.querySelectorAll(".TEST").length===0)){z=function(v,C,E,K){C=C||document;if(!K&&C.nodeType===9&&!J(C))try{return B(C.querySelectorAll(v),E)}catch(G){}return b(v,C,E,K)};for(var k in b)z[k]=b[k];i=null}}();(function(){var b=document.createElement("div");b.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!b.getElementsByClassName||
b.getElementsByClassName("e").length===0)){b.lastChild.className="e";if(b.getElementsByClassName("e").length!==1){w.order.splice(1,0,"CLASS");w.find.CLASS=function(i,k,v){if(typeof k.getElementsByClassName!=="undefined"&&!v)return k.getElementsByClassName(i[1])};b=null}}})();var F=document.compareDocumentPosition?function(b,i){return!!(b.compareDocumentPosition(i)&16)}:function(b,i){return b!==i&&(b.contains?b.contains(i):true)},J=function(b){return(b=(b?b.ownerDocument||b:0).documentElement)?b.nodeName!==
"HTML":false},g=function(b,i){var k=[],v="",C;for(i=i.nodeType?[i]:i;C=w.match.PSEUDO.exec(b);){v+=C[0];b=b.replace(w.match.PSEUDO,"")}b=w.relative[b]?b+"*":b;C=0;for(var E=i.length;C<E;C++)z(b,i[C],k);return z.filter(v,k)};window.Sizzle=z})();function $(a){for(var e,m,o,n,j=arguments.length,u=1;u<j;){var y=arguments[u++];switch(typeof y){case "boolean":m=y;break;case "string":case "object":if(y instanceof Array)n=y;else e=y;break;case "function":o=y;break}}if(is(e)){e=I(e);if(!e)return n||[]}e=e||document;if(m&&e.querySelector)e=[e.querySelector(a)];else if(e.querySelectorAll)e=toArray(e.querySelectorAll(a));else{e=Sizzle(a,e);if(_MUST_EXTEND)for(u=e.length;u;){--u;e[u]=I(e[u])}}if(m&&e.length>1)e=e.slice(0,1);if(n)e=n.concat(e);o&&e.each(o);
return m?e[0]:e}$.first=function(){return $.apply(null,toArray(arguments).push(true))};
var _MUST_EXTEND=false,AidaElements={prototypize:function(a){if(a&&a.nodeType==1&&!a._extended){var e,m;if(_MUST_EXTEND||Agent.trident){a._extended=true;m=Element.prototype;for(e in m)a[e]=m[e];AidaElements._extended.push(a);return a}m=a.ownerDocument;m=(m?m.defaultView:window).Element.prototype;a=AidaElements._extensions;for(e in a)m[e]=a[e]}},implement:function(a){var e,m=Element.prototype,o=AidaElements._extensions;for(e in a)m[e]=o[e]=a[e];if(_MUST_EXTEND){m=AidaElements._extended;o=m.length-
1;for(var n;o>=0;o--){n=m[o];for(e in a)n[e]||(n[e]=a[e])}}},_extended:[],_extensions:{}},TextNodes={spanSubtext:function(a,e,m){var o=a.nodeValue,n=o.substring(e,m);n=N(["span",n]);var j=o.length,u=[];e>0&&u.push(o.substring(0,e));u.push(n);m&&m<j&&u.push(o.substring(m,j));e=a.parentNode;var y;for(m=u.length-1;m>=0;m--){o=N(u[m]);(y=a.nextSibling)?e.insertBefore(o,y):e.appendChild(o)}e.removeChild(a);return n}};
(function(a,e,m){function o(g){for(var b=g.length,i;b>0;){i=g[--b];Event.remove(i);ElementStorage.removeStorage(i)}}for(var n=e.getElementsByTagName("script"),j=n.length,u;j;)if(u=n[--j]){u=(u.src+"").split("/");if(u.pop()=="aida.js"){AIDAJS.baseUrl=u.join("/");break}}n="prototype";j=Object;u=Date;var y=u[n],z=String,w=z[n],q=Array[n],r=Number[n],x=Function;n=x[n];var B=Math,D=RegExp,A=m.userAgent,F,J=0;if(a.ActiveXObject&&(F=A.match(/MSIE ([0-9\.]+)/i))){Agent.engine="trident";Agent.version=parseFloat(F[1],
10);Agent.trident=true;Agent.msie=true}else if(!/Konqueror|Safari|KHTML/.test(A)&&A.indexOf("Gecko")>-1&&(F=A.match(/rv:([0-9\.]+)/i))){Agent.engine="gecko";Agent.version=parseFloat(F[1],10);Agent.gecko=true}else if(!m.taintEnabled&&(F=A.match(/WebKit\/([0-9\.]+)/i))){Agent.engine="webkit";Agent.version=parseFloat(F[1],10);Agent.webkit=true}else if(a.opera&&(F=A.match(/Opera[ \/]([0-9\.]+)/i))){if(m=A.match(/Version[ \/]([0-9\.]+)/i))F=m;Agent.engine="presto";Agent.version=parseFloat(F[1],10);Agent.presto=
true;Agent.opera=true}else if(F=A.match(/KHTML\/([0-9\.]+)/i)){Agent.engine="khtml";Agent.version=parseFloat(F[1],10);Agent.khtml=true}if(A.indexOf("Win")>-1){Agent.system="win";Agent.win=true}else if(A.indexOf("Mac OS X")>-1){Agent.system="mac";Agent.mac=true}else if(A.indexOf("Linux")>-1){Agent.system="linux";Agent.linux=true}if(F=A.match(/(iPhone|iPod|iPad)/))Agent.iphone=F[1];Agent.itouch=a.orientation!==undefined;Agent.rgba=Agent.webkit||Agent.gecko||Agent.presto&&Agent.version>=10.5;j.extend=
function(g){g=g||{};for(var b=0,i=arguments.length,k;++b<i;)if(k=arguments[b])for(var v in k)g[v]=k[v];return g};j.params=function(g){var b=[],i,k;for(i in g){k=g[i];if(typeof k=="object"){var v=0,C=encodeURIComponent(i);if(k instanceof Array)for(var E=k.length;v<E;v++)b.push(C+"[]="+encodeURIComponent(k[v]));else for(v in k)b.push(C+"["+encodeURIComponent(v)+"]="+encodeURIComponent(k[v]))}else b.push(encodeURIComponent(i)+"="+encodeURIComponent(k))}return b.join("&").replace(/%20/g,"+")};j.each=
function(g,b,i){if(g instanceof Array)return g.each(b,i);for(var k in g)b.call(i,g[k],k,g)};j.keys=function(g){var b=[],i;for(i in g)b.push(i);return b};u.parse=function(g,b){g=g.trim();var i,k=new Date,v;if(i=g.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])$/)){g=i[1].toInt();b=i[2].toInt()-1;v=i[3].toInt();g||(g=k.getFullYear());if(b<0)b=k.getMonth();v||(v=k.getDate());return new Date(g,b,v,i[4].toInt(),i[5].toInt(),i[6].toInt())}if(i=
g.match(/^([0-3]?[0-9])[\/\s-]+([0-2]?[0-9])[\/\s-]+([0-9]{4})$/)){g=i[3].toInt();b=i[2].toInt()-1;v=i[1].toInt();g||(g=k.getFullYear());if(b<0)b=k.getMonth();v||(v=k.getDate());return new Date(g,b,v)}if(i=g.match(/^([0-9]{4})[\/\s-]+([0-2]?[0-9])[\/\s-]+([0-3]?[0-9])$/)){g=i[1].toInt();b=i[2].toInt()-1;v=i[3].toInt();g||(g=k.getFullYear());if(b<0)b=k.getMonth();v||(v=k.getDate());return new Date(g,b,v)}if(i=g.match(/^([0-2]?[0-9])[\:\s]+([0-5]?[0-9])(?:[\:\s]+([0-5]?[0-9]))?$/))return new Date(k.getFullYear(),
k.getMonth(),k.getDate(),i[1].toInt(),i[2].toInt(),(i[3]||"0").toInt());if(i=g.match(/^([0-9]{2})[\s\/\.-]+([a-z]{3,})[\s\/\.-]+([0-9]{4})$/i)){g=i[3].toInt();b=i[2].substr(0,3).toLowerCase();v=i[1].toInt();switch(b){case "jan":case "gen":b=0;break;case "feb":b=1;break;case "mar":b=2;break;case "apr":b=3;break;case "may":case "mag":b=4;break;case "jun":case "giu":b=5;break;case "jul":case "lug":b=6;break;case "aug":case "ago":b=7;break;case "sep":case "set":b=8;break;case "oct":case "ott":b=9;break;
case "nov":b=10;break;case "dec":case "dic":b=11;break;default:b=-1;break}g||(g=k.getFullYear());if(b<0)b=k.getMonth();v||(v=k.getDate());return new Date(g,b,v)}return b?b instanceof Date?b:k:null};u.now=function(){return(new Date).getTime()};u.formats={en:{m:["January","February","March","April","May","June","July","August","September","October","November","December"],w:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},it:{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:{m:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],w:["Lunes","Martes","Mi\u00c8rcoles","Jueves","Viernes","Sabado","Domingo"]},fr:{m:["Janvier","F\u00e9vrier","Mars","Avril","Mai","Juin","Juillet","Ao\u00fbt","Septembre","Octobre","Novembre","D\u00e9cembre"],
w:["Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi","Dimanche"]}};y.format=function(g,b){var i=Date.formats,k=this.getFullYear(),v=this.getMonth()+1,C=this.getDate(),E=this.getDay(),K=this.getHours(),G=K%12||12,L=this.getMinutes(),U=this.getSeconds(),Q=G==K?"am":"pm",R=new Date(k,v-1,1),P=new Date(k,v,1);R=((R.getTime()-P.getTime())/864E5).round()+1;P=/(a|A|M|F|D|l)/g;b=i[(b||"en").toLowerCase()]||i.en;g=g.replace("G",K).replace("g",G).replace("H",K.zeroFill(2)).replace("h",G.zeroFill(2));g=
g.replace("i",L.zeroFill(2)).replace("s",U.zeroFill(2));g=g.replace("Y",k).replace("y",k.zeroFill(2,true)).replace("n",v).replace("m",v.zeroFill(2));g=g.replace("j",C).replace("d",C.zeroFill(2)).replace("w",E).replace("t",R);if(g.match(P))g=g.replace(P,function(M,O){switch(O){case "a":return Q;case "A":return Q.toUpperCase();case "M":return b.m[v-1].substr(0,3);case "F":return b.m[v-1];case "D":return b.w[E].substr(0,3);case "l":return b.w[E]}return O});return g};z.random=function(g,b){b=b||"0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";
for(var i=b.length,k="",v=g||8;v>0;v--){g=Math.floor(Math.random()*i);k+=b.substring(g,g+1)}return k};z.randomId=function(){return"aidajs_rid_"+String.random()};z.uniqueId=function(){return"aidajs_uid_"+J++};z.buildQueryString=function(g,b){var i=[],k;for(k in g)i.push(k+"="+encodeURIComponent(g[k]));return i.join(b||"&")};w.cleanSize=function(g){var b=0,i="",k=this.match(/(-?[0-9\.]+)(in|cm|mm|pt|pc|em|ex|px|%)?/i);if(k){b=parseFloat(k[1],10)||0;if(isNaN(b))b=0;i=k[2]||""}return g?[b,i]:b};w.parseNumber=
function(){var g=this.replace(/[^0-9\.,-]/,""),b=g.indexOf("."),i=g.indexOf(",");if(b>-1&&i>-1)g=g.replace(b<i?".":",","");g=g.replace(",",".");g=parseFloat(g,10);return isNaN(g)?0:g};w.ipInt=function(){var g=this;if(g){g=g.split(".");return parseInt(g[3]||0,10)+parseInt(g[2]||0,10)*256+parseInt(g[1]||0,10)*65536+parseInt(g[0]||0,10)*16777216}return 0};w.entitiesDecode=function(){return this.replace(/&#?[a-z0-9]+;/gi,function(g){var b=w.entitiesDecode.$div||(w.entitiesDecode.$div=e.createElement("div"));
b.innerHTML=g;return b.textContent!==undefined?b.textContent:b.innerText})};w.htmlEntities=function(){return this.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")};w.nl2br=function(){return this.replace(/[^>]\n/g,"<br/>")};w.stripTags=function(){return this.replace(/<[^>]+>/g,"")};(function(){var g=["\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"],b=["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;"};w.tidy=function(){var k=this;for(var v in i){var C=i[v];k=k.replace(new RegExp(v,"g"),C)}return k};w.standardize=function(){var k=this;g.each(function(v,C){k=k.replace(new RegExp(v,"g"),b[C])});return k};w.makeSlug=function(){return this.tidy().standardize().replace(/[\s']+/g,"-").toLowerCase().replace(/(^[^a-z0-9]+|[^a-z0-9\-]+|[^a-z0-9]+$)/g,"")}})();w.has=function(g){return this.indexOf(g)>=0};if(!w.trim)w.trim=function(){return this.replace(/^\s+|\s+$/g,"")};if(w.trimLeft)w.trimLeft=
function(){return this.replace(/^\s+/g,"")};if(!w.trimRight)w.trimRight=function(){return this.replace(/^\s+$/g,"")};w.clean=function(){return this.replace(/\s{2,}/g," ").trim()};w.empty=function(g){return this.length===0||g&&this.match(/^[\s]*$/gm)?true:false};w.toInt=function(g){return parseInt(this,g||10)};w.toFloat=function(g){return parseFloat(this,g||10)};w.camelCase=function(){return this.replace(/-\D/g,function(g){return g.charAt(1).toUpperCase()})};w.hyphenate=function(){return this.replace(/\w[A-Z]/g,
function(g){return g.charAt(0)+"-"+g.charAt(1).toLowerCase()})};w.capitalize=function(){return this.toLowerCase().replace(/\b[a-z]/g,function(g){return g.toUpperCase()})};w.parseCss=function(){for(var g=this.split(";"),b={},i=g.length-1,k,v;i>=0;i--){k=g[i].split(":");if(v=k[0].trim().camelize())b[v]=k[1].trim()}return b};w.repeat=function(g){for(var b="";--g>=0;)b+=this;return b};w.whiteSpaceChar=function(g){return this.charCodeAt(g||0)<=32};w.digitChar=function(g){return(g=this.charCodeAt(g||0))&&
g>=48&&g<=57};w.letterChar=function(g){return(g=this.charCodeAt(g||0))&&(g>=65&&g<=90||g>=97&&g<=122)};w.upperCaseChar=function(g){return(g=this.charCodeAt(g||0))&&g>=65&&g<=90};w.lowerCaseChar=function(g){return(g=this.charCodeAt(g||0))&&g>=97&&g<=122};w.parseJSON=function(g){var b=null;try{b=JSON.parse(this.toString())}catch(i){b=g||null}return b};w.compareVersion=function(g){g=(g+"").split(".");var b=this.split("."),i,k,v,C=Math.min(b.length,g.length);for(i=0;i<C;i++){k=b[i].toInt();v=g[i].toInt();
if(k>v)return 1;if(k<v)return-1}return 0};w.htmlEntities=function(){return this.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")};w.stripTags=function(){return this.replace(/<([^>]+)>/g,"")};if(!q.indexOf)q.indexOf=function(g,b){b=+b||0;for(var i=this.length;b<i;b++)if(this[b]===g)return b;return-1};if(!q.filter)q.filter=function(g,b){if(typeof g!="function")throw new TypeError;for(var i=this.length,k=[],v=0,C=0,E;v<i;v++){E=this[v];if(g.call(b,E,v,this))k[C++]=E}return k};if(!q.forEach)q.forEach=
function(g,b){if(typeof g!="function")throw new TypeError;for(var i=0,k=this.length;i<k;i++)g.call(b,this[i],i,this)};q.each=q.forEach;if(!q.every)q.every=function(g,b){for(var i=0,k=this.length;i<k;i++)if(!g.call(b,this[i],i,this))return false;return true};if(!q.map)q.map=function(g,b){for(var i=this.length,k=[],v=0;v<i;v++)k=k.push(g.call(b,this[v],v,this));return k};if(!q.some)q.some=function(g,b){for(var i=0,k=this.length;i<k;i++)if(g.call(b,this[i],i,this))return true;return false};q.unique=
function(g){for(var b=[],i=0,k=this.length,v;i<k;){v=this[i++];b.indexOf(v,0,g)<0&&b.push(v)}return b};q.replace=function(g,b){for(var i=[],k=0,v=this.length,C;k<v;){C=this[k];i[k]=C===g?b:C;k++}return i};q.intersect=function(g){for(var b=[],i=this.length,k=0,v;k<i;){v=this[k++];g.indexOf(v)>=0&&b.push(v)}return b};q.remove=function(g){for(var b=0;b<this.length;)if(this[b]===g)this.splice(b,1);else++b;return this};q.copy=function(g,b){var i=this.length,k=0,v=[];g=(g=g||0)<0?i+g:g;for(b=b||i-g;k<b;)v[k++]=
this[g++];return v};q.exists=function(g,b){return this.indexOf(g,b)!=-1};q.has=q.exists;q.clean=function(){for(var g=[],b=0,i=this.length,k;b<i;)if(is(k=this[b++]))g.push(k);return g};q.nearest=function(g){for(var b,i=null,k,v=this.length;v;){b=this[--v];k=Math.abs(b-g);if(i===null||k<i){i=k;result=b}}return result};q.randomize=function(){return this.copy().sort(Sort.random)};q.random=function(){return this[Math.floor(Math.random()*this.length)]};q.call=function(){var g=toArray(arguments),b=g.shift(),
i=this.length,k=0,v,C;if(typeof f=="function")for(;k<i;)b.apply(this[k++],g);else for(;k<i;){v=this[k++];if(typeof(C=v[b])=="function")C.apply(v,g)}};q.first=function(){return this[0]};q.last=function(){return this[this.length-1]};r.bound=function(g,b){return this<g?g:this>b?b:this*1};r.round=function(g){g=Math.pow(10,g||0);return Math.round(this*g)/g};r.ceil=function(){return Math.ceil(this)};r.floor=function(){return Math.floor(this)};r.pow=function(g){return Math.pow(this,g)};r.toInt=function(g){return parseInt(this,
g||10)};r.toFloat=function(g){return parseFloat(this,g||10)};r.zeroFill=function(g,b){var i=0,k="",v=this,C;v=parseInt(v,10)+"";C=v.length;if(b&&C>g)return v.substr(C-g,g);for(C=g-C;i++<C;)k+="0";return k+""+v};r.format=function(g,b,i){var k=(this+"").split(".");g=k[0];b=k.length>1?(b||".")+k[1]:"";for(k=/(\d+)(\d{3})/;k.test(g);)g=g.replace(k,"$1"+(i||"")+"$2");return g+b};x.empty=function(){};x.value=function(g){return typeof g==="function"?g:function(){return g}};x.exists=function(g){return typeof g==
"string"?typeof a[g]=="function":g instanceof Function};n.interval=function(g,b){var i=this;return a.setInterval(function(){i.apply(null,b||[])},g)};n.defer=function(g){this.timeout(1,g)};n.timeout=function(g,b){var i=this;return a.setTimeout(function(){i.apply(null,b||[])},g)};n.tryCatch=function(g,b,i){try{return this.apply(g,b||[])}catch(k){return(i||function(){return false}).apply(g,k)}};n.bind=function(g){return function(){return fn.apply(g,arguments)}};B.ipo=function(g,b){return Math.sqrt(g*
g+b*b)};B.rand=function(g,b){if(arguments.length<2){b=g;g=0}return(Math.random()*(b-g+1)+g).floor()};B.rad=function(g){return Math.PI/180*g};B.deg=function(g){return g*180/Math.PI};B.angle=function(g,b){g=Math.asin(g);var i=Math.PI;return(b>0?-(g-i/2):g+i*3/2)/(i*2)};B.coordsAngle=function(g,b){return Math.atan2(b,g)};B.angleCoords=function(g,b){b=b||1;return[Math.cos(g)*b,Math.sin(g)*b]};n=1.618033988749895;B.PHI=n;B.LOW_PHI=1/n;D.EMAIL=/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
D.TIMESTAMP=/([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})/;D.URL=/(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/;if(Agent.trident&&Agent.version<9){e.nativeGetElementById=e.getElementById;e.getElementById=function(g){var b=e.nativeGetElementById(g);if(b){if(b.id==g)return b;for(var i=1,k=e.all[g],v=k.length;i<v;)if((b=k[i++]).id==g)return b}return null};F=["abbr","article","aside","audio","bb","canvas","datagrid","datalist","details","dialog","figure",
"footer","header","mark","menu","meter","nav","output","progress","section","source","time","video"];for(m=F.length;m;)e.createElement(F[--m])}if(typeof Element=="undefined"){F={};a.Element=function(){};if(m=a["[[DOMElement.prototype]]"])Element.prototype=d;else if((m=e.createElement("html").constructor)&&(m=m.__proto__))Element.prototype=d;else if((m=e.createElement("div").__proto__)&&m==e.createElement("span").__proto__)Element.prototype=m;else{Element.prototype={};_MUST_EXTEND=true}if(typeof n==
"undefined")Element.prototype.__proto__=F.__proto__=Element.prototype;AidaElements.implement(F);F=m=null}Element.prototype._extended=true;AidaElements.implement({$:function(g,b){return $(g,this,b)},empty:function(){for(var g=this.childNodes,b=g.length,i;b;)if((i=g[--b].nodeType)&&(i==1||i==3))return false;return true},first:function(g){if(g)return I(this.firstChild);g=this.childNodes;for(var b=g.length,i,k=0;k<b;)if((i=g[k++]).nodeType==1)return I(i);return null},last:function(g){if(g)return I(this.lastChild);
g=this.childNodes;for(var b=g.length,i;b;)if((i=g[--b]).nodeType==1)return I(i);return null},next:function(g){var b=this.nextSibling;if(b){if(g)return I(b);do if(b.nodeType==1)return I(b);while(b=b.nextSibling)}return null},prev:function(g){var b=this.previousSibling;if(b){if(g)return I(b);do if(b.nodeType==1)return I(b);while(b=b.previousSibling)}return null},getText:function(){return this.textContent!==undefined?this.textContent:this.innerText},firstLetter:function(g){for(var b=this.childNodes,
i=b.length,k=0,v,C;k<i;k++){v=I(b[k]);switch(v.nodeType){case 1:if(C=v.firstLetter(t))return C;break;case 3:C=v.nodeValue;if(!C.match(/^[\s]*$/gm)){if(g)return C.substr(0,1);if(C.length==1&&!v.previousSibling&&!v.nextSibling&&v.parentNode.nodeName.toLowerCase()=="span")return v.parentNode;return TextNodes.spanSubtext(v,0,1)}break}}return null},hasClass:function(g){g=g.split(/[\.\s]+/gi);for(var b=this.className,i=g.length,k;i;)if((k=g[--i])&&!(new RegExp("(^|\\s)"+k+"(\\s|$)","g")).test(b))return false;
return true},addClass:function(g){this.removeClass(g);this.className=(this.className+" "+g.split(/[\.\s]+/g).join(" ")).trim();return this},removeClass:function(g){this.className=this.className.replace(new RegExp("(^|\\s+)("+g.split(/[\.\s]+/gi).join("|")+")(\\s+|$)","g")," ").trim();return this},getClasses:function(){return this.className.trim().split(/[\.\s]+/gi)},switchClass:function(){for(var g=arguments.length,b=0,i;b<g;){i=arguments[b];if(this.hasClass(i)){this.removeClass(i).addClass(b==g-
1?arguments[1]:arguments[b+1]);return this}++b}this.addClass(arguments[1]);return this},toggleClass:function(g){return this[this.hasClass(g)?"removeClass":"addClass"](g)},remove:function(g){g||o(this.getElementsByTagName("*"));this.parentNode.removeChild(this);return this},append:function(){for(var g=e.createDocumentFragment(),b=arguments.length,i=0;i<b;)g.appendChild(N(arguments[i++]));this.appendChild(g);return this},appendTo:function(g){I(g).append(this);return this},prepend:function(){for(var g=
e.createDocumentFragment(),b=arguments.length,i=0,k;i<b;)g.appendChild(N(arguments[i++]));(k=this.firstChild)?this.insertBefore(g,k):this.appendChild(g);return this},prependTo:function(g){I(g).prepend(this);return this},before:function(){for(var g=e.createDocumentFragment(),b=arguments.length,i=0,k=this.parentNode;i<b;)g.appendChild(N(arguments[i++]));k.insertBefore(g,this);return this},beforeOf:function(g){I(g).before(this);return this},after:function(){for(var g=e.createDocumentFragment(),b=arguments.length,
i=0,k=this.parentNode,v;i<b;)g.appendChild(N(arguments[i++]));(v=this.nextSibling)?k.insertBefore(g,v):k.appendChild(g);return this},afterOf:function(g){I(g).after(this);return this},clone:function(g){var b=I(this.cloneNode(true));g&&I(g).append(b);return b},move:function(g){this.remove(true);I(g).append(this);return this},childs:function(){for(var g=this.childNodes,b=g.length,i=0,k=[];i<b;){node=g[i];node.nodeType==1&&k.push(I(node));++i}return k},removeChilds:function(g){var b=this.style,i=b.display;
b.display="none";for(g||o(this.getElementsByTagName("*"));this.firstChild;)this.removeChild(this.firstChild);b.display=i;return this},moveChilds:function(g){g=I(g);for(var b=e.createDocumentFragment(),i,k=this.style,v=k.display;this.hasChildNodes();){i=this.firstChild;b.appendChild(i.cloneNode(true));this.removeChild(i)}k.display=v;I(g).appendChild(b);return this},replaceChilds:function(){return this.removeChilds().append.apply(this,arguments)},cloneChilds:function(g){this.moveChilds.call(I(this.cloneNode(true)),
g);return this},into:function(g){g=I(g);var b=this;do if(b===g)return true;while(b=b.parentNode);return false},parent:function(g){if(g){g=g.toLowerCase();for(var b=this,i;b&&(i=b.nodeName);){if(i.toLowerCase()==g)return b;b=b.parentNode}return null}return I(this.parentNode)},removeToInsertLater:function(){var g=this.parentNode,b=this.nextSibling,i=this;g.removeChild(this);return function(){b?g.insertBefore(i,b):g.appendChild(i)}},html:function(g){if(!is(g))return this.innerHTML;switch(typeof g){case "string":this.removeChilds();
try{this.append(H(g))}catch(b){this.append(g)}break;case "function":this.html(g.call(this,this.innerHTML));break;default:this.append(g);break}return this},get:function(){if(arguments.length==1){var g=arguments[0];switch(g){case "class":case "className":return this.className;case "style":case "css":return this.css()}return this.getAttribute(g)}for(var b={},i=0;i;){g=arguments[--i];b[g]=this.get(g)}return b},set:function(g,b){if(typeof g=="object")for(b in g)this.set(b,g[b]);else if(typeof b=="function")this.addEvent(g,
b);else switch(g){case "class":case "className":this.addClass(b);break;case "style":case "css":this.css(b);break;case "html":case "innerHTML":this.html(b);break;case "unselectable":this.disableSelect();break;default:this.setAttribute(g,b);break}return this},cssGet:function(g,b){if(!g)return this.style.cssText||this.getAttribute("style");var i=this.style,k=Agent.engine,v=k=="trident";g=g.camelCase();if(!b)b=((b=(this.ownerDocument||{}).defaultView)?b.getComputedStyle(this,null):this.currentStyle)||
{};switch(g){case "opacity":if(v){if(value=(i.filter||b.filter||"").match(/progid\:DXImageTransform\.Microsoft\.Alpha\([\s]*Opacity=([0-9]+)[\s]*\)/i))value=parseInt(value[1],10)/100}else value=i.opacity||b.opacity||"";return isNumeric(value)?parseFloat(value,10):1;case "backgroundImageUrl":return(i.backgroundImage||b.backgroundImage||"").match(/^(url\(['" ]*)?([^'" \)]+)/i)[2]||"";case "backgroundPositionX":if(v)return i.backgroundPositionX||b.backgroundPositionX;value=(i.backgroundPosition||b.backgroundPosition||
"").split(/[^a-z0-9%\.-]+/i)[0]||"0%";switch(value){case "left":value="0%";break;case "center":value="50%";break;case "right":value="100%";break}return value;case "backgroundPositionY":if(v)return i.backgroundPositionY||b.backgroundPositionY;value=(i.backgroundPosition||b.backgroundPosition||"").split(/[^a-z0-9%\.-]+/i)[1]||"0%";switch(value){case "top":value="0%";break;case "center":value="50%";break;case "bottom":value="100%";break}return value;case "flaot":g=v?"styleFloat":"cssFloat";break;case "borderRadius":switch(k){case "gecko":g=
"MozBorderRadius";break;case "webkit":g="WebkitBorderRadius";break}break;case "borderTopLeftRadius":switch(k){case "gecko":g="MozBorderRadiusTopleft";break;case "webkit":g="WebkitBorderTopLeftRadius";break}break;case "borderTopRightRadius":switch(k){case "gecko":g="MozBorderRadiusTopright";break;case "webkit":g="WebkitBorderTopRightRadius";break}break;case "borderBottomLeftRadius":switch(k){case "gecko":g="MozBorderRadiusBottomleft";break;case "webkit":g="WebkitBorderBottomLeftRadius";break}break;
case "borderBottomRightRadius":switch(k){case "gecko":g="MozBorderRadiusBottomright";break;case "webkit":g="WebkitBorderBottomRightRadius";break}break;case "boxShadow":switch(k){case "gecko":g="MozBoxShadow";break;case "webkit":g="WebkitBoxShadow";break}break;case "borderImage":switch(k){case "gecko":g="MozBorderImage";break;case "webkit":g="WebkitBorderImage";break}break;case "backgroundSize":switch(k){case "gecko":g="MozBackgroundSize";break;case "webkit":g="WebkitBackgroundSize";break}break;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":var C=
g=="matrix";if(v){value=(ElementStorage.getData(this,"cssTransform")||ElementStorage.storeData(this,"cssTransform",{}))[g];if(is(value))return value}else{v=g;switch(k){case "webkit":g="WebkitTransform";break;case "gecko":g="MozTransform";break;case "presto":g="OTransform";break;default:g="transform";break}b=b||this.cssComputed();value=i[g]||b[g]||"";if((value=value.match(new RegExp("\\s*"+v+"\\(([^\\)]*)\\)\\s*")))&&(value=value[1]))return C?matrix.split(/[,\s]+/):value}return C?[1,0,0,1]:g.has("scale")?
"1":"0"}return i[g]||b[g]||""},cssSet:function(g,b,i){var k=this.style,v=Agent.engine,C=v=="trident";if(!is(b)){if(C)k.cssText=g;else this.setAttribute("style",g);return this}g=g.camelCase();if(typeof b=="number"&&["opacity","zIndex"].indexOf(g)<0)b+="px";switch(g){case "opacity":if(C){i=i||this.cssComputed();k.filter=(k.filter||i.filter||"").replace(/progid\:DXImageTransform\.Microsoft\.Alpha\([^\)]*\)/gi,"")+(b===""?"":"progid:DXImageTransform.Microsoft.Alpha(Opacity="+Math.round(parseFloat(b,10).bound(0,
1)*100)+")")}else k.opacity=b===""?"":parseFloat(b,10).bound(0,1);break;case "background":case "backgroundImage":case "backgroundColor":if(!Agent.rgba){b=b.replace(/\-[a-z]+\-gradient\(.*\)/i,"");b=b.replace(/rgba\((.*), .*\)/i,"rgb($1)")}k[g]=b;break;case "backgroundImageUrl":k.backgroundImage="url('"+b+"')";break;case "backgroundPositionX":if(C){k.backgroundPositionX=b;return}k.backgroundPosition=b+" "+this.cssGet("backgroundPositionY");break;case "backgroundPositionY":if(C){k.backgroundPositionY=
b;return}k.backgroundPosition=this.cssGet("backgroundPositionX")+" "+b;break;case "float":k[C?"styleFloat":"cssFloat"]=b;break;case "borderRadius":switch(v){case "gecko":k.MozBorderRadius=b;break;case "webkit":k.WebkitBorderRadius=b;break;default:k.borderRadius=b;break}break;case "borderTopLeftRadius":switch(v){case "gecko":k.MozBorderRadiusTopleft=b;break;case "webkit":k.WebkitBorderTopLeftRadius=b;break}break;case "borderTopRightRadius":switch(v){case "gecko":k.MozBorderRadiusTopright=b;break;case "webkit":k.WebkitBorderTopRightRadius=
b;break}break;case "borderBottomLeftRadius":switch(v){case "gecko":k.MozBorderRadiusBottomleft=b;break;case "webkit":k.WebkitBorderBottomLeftRadius=b;break}break;case "borderBottomRightRadius":switch(v){case "gecko":k.MozBorderRadiusBottomright=b;break;case "webkit":k.WebkitBorderBottomRightRadius=b;break}break;case "boxShadow":switch(v){case "gecko":k.MozBoxShadow=b;break;case "webkit":k.WebkitBoxShadow=b;break;case "trident":b=b.trim().split(/\s+/);i=i||this.cssComputed();v=parseInt(b.shift(),10);
g=parseInt(b.shift(),10);parseInt(b.shift(),10);var E=new Color(b.join(""));k.filter=(k.filter||i.filter||"").replace(/progid\:DXImageTransform\.Microsoft\.DropShadow\([^\)]*\)/gi,"")+(b===""?"":"progid:DXImageTransform.Microsoft.DropShadow(OffX="+v+", OffY="+g+", Color='"+E.ahex()+"', Positive=true)");break;default:k.boxShadow=b;break}break;case "borderImage":switch(v){case "gecko":k.MozBorderImage=b;break;case "webkit":k.WebkitBorderImage=b;break;default:k.BorderImage=b;break}break;case "backgroundSize":switch(v){case "presto":k.OBackgroundSize=
b;break;case "webkit":k.WebkitBackgroundSize=b;break}break;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":if(C){v=ElementStorage.getData(this,"cssTransform",{});i=i||this.cssComputed();if(g=="translateX"){g=v.translateX||0;i=parseFloat(i.left,10);k.left=i-g+b+"px";v.translateX=b}else if(g=="translateY"){g=v.translateY||0;i=parseFloat(i.top,
10);k.top=i-g+b;v.translateY=b}else if(Matrix[g]){v[g]=b;b=[];for(E in v)b.push(E=="matrix"?v[E]:Matrix[E](parseFloat(v[E],10)));b=Matrix.blend.apply(Matrix,b.reverse());if(!this.filters["DXImageTransform.Microsoft.Matrix"])k.filter=(k.filter||i.filter||"")+" progid:DXImageTransform.Microsoft.Matrix(M11='1.0', sizingMethod='auto expand')";k=this.filters["DXImageTransform.Microsoft.Matrix"];k.M11=b[0];k.M12=b[2];k.M21=b[1];k.M22=b[3]}}else{E=new RegExp("\\s*("+g+"\\([^\\)]+\\)|none)\\s*","i");i=i||
this.cssComputed();b=g=="matrix"?"matrix("+b.join(", ")+", 0, 0) ":g+"("+b+") ";switch(v){case "webkit":g="WebkitTransform";break;case "gecko":g="MozTransform";break;case "presto":g="OTransform";break;default:g="transform";break}k[g]=(k[g]||i[g]||"").replace(E," ").trim()+" "+b}break;case "backgroundGradient":b=b.trim().split(/\s+/);v=new Color(b[0]);g=new Color(b[1]);E=b[2];switch(Agent.engine){case "webkit":k.background="-webkit-gradient(linear, left top, "+(E?"right top":"left bottom")+", from("+
v.rgba()+"), to("+g.rgba()+"))";break;case "gecko":k.background="-moz-linear-gradient("+(E?"left":"top")+", "+v.rgba()+", "+g.rgba()+")";break;case "trident":i=i||this.cssComputed();k.background="transparent";k.filter=(k.filter||i.filter||"").replace(/progid\:DXImageTransform\.Microsoft\.Gradient\([^\)]*\)/gi,"")+(b===""?"":"progid:DXImageTransform.Microsoft.Gradient(enabled='true', StartColorStr='"+v.ahex()+"', EndColorStr='"+g.ahex()+"', GradientType="+(E?1:0)+")");break}break;default:k[g]=b;break}return this},
cssComputed:function(){var g=(this.ownerDocument||{}).defaultView;return(g?g.getComputedStyle(this,null):this.currentStyle)||{}},css:function(g,b){if(!g)return this.cssGet();if(typeof g=="object"){var i=0,k=this.cssComputed();if(g instanceof Array){for(var v={};b=g[i++];)v[b]=this.cssGet(b,k);return v}for(i in g)this.cssSet(i,g[i],k)}else if(is(b)||g.has(":"))this.cssSet(g,b);else return this.cssGet(g);return this},cssClone:function(g){g=g.cssComputed();var b=this.style;for(var i in g)if(g[i]&&typeof i==
"string"&&i!="cssText"&&!/\d/.test(i)&&typeof g[i]=="string")try{b[i]=g[i];b.fontSize=g.fontSize}catch(k){}},val:function(g){if(is(g)){if(/radio|checkbox/.test(this.type))if(typeof g=="boolean")this.checked=g;else{g=[].concat(g);this.checked=g.has(this.value)||g.has(this.name)}else if(this.nodeName.toLowerCase()=="select"){g=[].concat(g);for(var b=this.options,i=b.length,k;i;){k=b[--i];k.selected=g.has(k.value)||g.has(k.text)}}else this.value=g;return this}else{switch(this.nodeName.toLowerCase()){case "select":i=
this.selectedIndex;b=this.options;if(i<0)return null;if(this.type=="select-multiple"){i=b.length;for(g=[];i;){k=I(b[--i]);k.selected&&g.push(k.val())}return g}k=I(b[i]);if(k.selected)return k.val();break;case "option":return(this.attributes.value||{}).specified?this.value:this.text}return this.value||""}},realWidth:function(g){var b=this.css(["paddingLeft","paddingRight","borderLeftWidth","borderRightWidth","marginLeft","marginRight"]);switch(g){case "margin":return this.offsetWidth+b.marginLeft.cleanSize()+
b.marginRight.cleanSize();case "padding":return this.offsetWidth-b.borderLeftWidth.cleanSize()-b.borderRightWidth.cleanSize();case "border":return this.offsetWidth}return this.offsetWidth-b.paddingLeft.cleanSize()-b.paddingRight.cleanSize()-b.borderLeftWidth.cleanSize()-b.borderRightWidth.cleanSize()},realHeight:function(g){var b=typeof g;if(b=="boolean"||b=="number"){var i=I(this.cloneNode(true)),k=i.style,v=this.css(["paddingTop","paddingBottom"]);k.visibility="hidden";k.display="block";k.height=
"auto";if(b=="number")k.width=g+"px";this.before(i);g=i.clientHeight-(v.paddingTop+"").cleanSize()-(v.paddingBottom+"").cleanSize();i.remove();return g||0}i=this.css(["paddingTop","paddingBottom","borderTopWidth","borderBottomWidth","marginTop","marginBottom"]);switch(g){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()},getPixelSize:function(g){var b=N(["div",{style:{width:g,height:"0px",padding:"0px",border:"0px",margine:"0px",visibility:"hidden"}}],this);g=b.sizes()[0];b.remove();return g},hide:function(){this.style.display="none";return this},show:function(){this.style.display="block";return this},hidden:function(){return!this.offsetWidth||!this.offsetHeight},visible:function(){return this.offsetWidth&&
this.offsetHeight},translate:function(g,b){typeof g=="number"&&this.cssSet("left",parseFloat(this.cssGet("left"),10)+g);typeof b=="number"&&this.cssSet("top",parseFloat(this.cssGet("top"),10)+b);return this},resize:function(g,b){typeof g=="number"&&this.cssSet("width",parseFloat(this.cssGet("width"),10)+g);typeof b=="number"&&this.cssSet("height",parseFloat(this.cssGet("height"),10)+b);return this},getId:function(){var g=this.getAttribute("id");if(!g)this.id=g="unique_id_"+J++;return g},position:function(g){var b=
this,i=0,k=0,v,C=this.ownerDocument.defaultView;do{i+=b.offsetLeft;k+=b.offsetTop;if(b=b.offsetParent){v=C?C.getComputedStyle(b,null):b.currentStyle;i+=parseInt(v.borderLeftWidth,10);k+=parseInt(v.borderTopWidth,10)}}while(b);if(g){b=typeof g=="string"||isElement(g)?g:g.target;if(b=I(b)){b=b.position();i-=b[0];k-=b[1]}i+=Math.round(this.offsetWidth*(g.x||0));k+=Math.round(this.offsetHeight*(g.y||0))}return[i,k]},sizes:function(){return[this.offsetWidth,this.offsetHeight]},at:function(g,b){var i=this.position(),
k=this.sizes(),v=i[0];i=i[1];return g>=v&&g<v+k[0]&&b>=i&&b<i+k[1]},distance:function(g,b,i,k,v){if(typeof i!="number")i=0.5;if(typeof k!="number")k=i;if(typeof v!="number")v=1;i=this.position({x:i,y:k});g=i[0]-g;b=i[1]-b;return[Math.sqrt(g*g+b*b)/v,g/v,b/v]},disableSelect:function(){e.all&&Event.add(this,"selectstart",function(g){return g.stop()});this.setAttribute("unselectable","on");this.css({MozUserSelect:"-moz-none",KhtmlUserSelect:"none",WebkitUserSelect:"none"});return this},call:function(){var g=
toArray(arguments),b=g.shift();if(typeof b=="function"||typeof(b=this[b])=="function")return b.apply(this,g);return false}})})(window,document,navigator);
var Matrix={reflectH:function(){return[-1,0,0,1]},reflectV:function(){return[1,0,0,-1]},rotate:function(a){var e=Math.rad(a);a=Math.round(Math.sin(e)*100)/100;e=Math.round(Math.cos(e)*100)/100;return[e,a,-a,e]},scale:function(a,e){return[a,0,0,is(e)?e:a]},scaleX:function(a){return[a,0,0,1]},scaleY:function(a){return[1,0,0,a]},rotateFromVector:function(a,e){return Matrix.rotate(Math.deg(Math.atan2(e,a)))},skew:function(a,e){return[1,Math.tan(Math.rad(e)),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,e){return[a[0]*e[0]+a[1]*e[2],a[0]*e[1]+a[1]*e[3],a[2]*e[0]+a[3]*e[2],a[2]*e[1]+a[3]*e[3]]},blend:function(){for(var a=0,e=arguments[a++],m;m=arguments[a++];)e=Matrix.multiply(e,m);return e}};(function(a){var e=String.uniqueId(),m=0,o={},n={};a.ElementStorage={getStorage:function(j){if(j==a)j=n;else{j=j[e]||(j[e]=j=++m);j=o[j]||(o[j]={})}return j},removeStorage:function(j){if(j==a)n={};else{var u=j[e];if(u){delete o[u];try{delete j[e]}catch(y){j.removeAttribute&&j.removeAttribute(e)}}}},storeData:function(j,u,y){if(typeof j=="string"&&!y){y=u;u=j;j=a}j=ElementStorage.getStorage(j);if(y!==undefined)j[u]=y;return j[u]},retrieveData:function(j,u,y){if(!u){u=j;j=a}j=ElementStorage.getStorage(j);
return is(j[u])?j[u]:(j[u]=y)},removeData:function(j,u){var y=ElementStorage.getStorage(j);if(u){delete y[u];u=null;for(u in y)break;u||ElementStorage.removeStorage(j)}}};ElementStorage.setData=ElementStorage.storeData;ElementStorage.getData=ElementStorage.retrieveData;ElementStorage.deleteData=ElementStorage.removeData;a.attachEvent&&!a.addEventListener&&a.attachEvent("onunload",function(){for(var j in o){var u=o[j].events;if(u)try{Event.remove(u.$element)}catch(y){}}if(Agent.version<8){j=AidaElements._extended;
for(u=j.length;u>0;)delete j[--u]}});if(!a.Storage){a.Storage=function(j,u){this.prefix=j;this.time=u};a.Storage.prototype={setItem:function(j,u){return Cookie.set(this.prefix+j,u,this.time)},getItem:function(j){return Cookie.get(this.prefix+j)},clear:function(){var j=Cookie.getAll();for(var u in j)u.substr(0,3)==this.prefix&&Cookie.unset(u)}};a.sessionStorage=new Storage("ss_");a.localStorage=new Storage("ls_"+new Date/1E3+31536E3)}Storage.prototype.setObject=function(j,u){this.setItem(j,JSON.stringify(u))};
Storage.prototype.getObject=function(j){return JSON.parse(this.getItem(j))}})(window);function Event(a,e,m){this.event=a;this.element=e;this.type=m}
Event.prototype={event:null,element:null,mousePosition:function(a,e){var m,o,n,j,u=this.event;if((m=u.pageX)!==undefined&&!u.touches)o=u.pageY;else{if(u.touches)u=u.touches[0];if((m=u.clientX)!==undefined&&(n=document.body)&&(j=document.documentElement)){m+=n.scrollLeft+j.scrollLeft;o=u.clientY+n.scrollTop+j.scrollTop}}return a&&(a=typeof a=="boolean"?Env.pageScroll():I(a).position(e))?[m-a[0],o-a[1]]:[m,o]},touchesNumber:function(){var a=this.event.touches;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 e=this.relatedTarget();e&&e!=a;)e=e.parentNode;return e==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},getKey:function(){var a=this.event,e=a.which||a.keyCode||"",m=String.fromCharCode(e).toUpperCase(),o=a.shiftKey,n=a.ctrlKey,j=a.metaKey;a=a.altKey;var u,y="",z;if(u=Event.keysMap[e])if(typeof u=="string")m=u;else{m=u[0];z=u.indexOf((j?8:0)+(o?4:0)+(n?2:0)+(a?1:0));if(z>0)y=u[z+1]}return{ctrl:n,alt:a,shift:o,meta:j,code:e,key:m,chombo:y,capsLock:e>64&&
e<91&&!o||e>96&&e<123&&o}},getButton:function(){var a=this.event,e=a.button,m,o,n;if(e){m=e&1;n=e&2;o=e&4}else{e=a.which;m=e==1;n=e==2;o=e==3}return{button:e,left:m,middle:o,right:n,shift:a.shiftKey,ctrl:a.ctrlKey,alt:a.altKey,meta:a.metaKey}},getWheel:function(){var a=this.event,e=a.detail;if(e)e=-e/3;else{e=a.wheelDelta/120;if(window.opera)e=-e}return{wheel:e,shift:a.shiftKey,ctrl:a.ctrlKey,alt:a.altKey,meta:a.metaKey}},getOrientation:function(){var a=this.event,e="normal";switch(Agent.engine){case "gecko":var m=
Math.round(m);switch(m){case 0:e="normal";break;case -1:e="right";break;case 1:e="left";break;case 2:e="flipped";break}return{x:a.x||0,y:a.y||0,z:a.z||0,orientation:e};case "webkit":switch(window.orientation){case 0:e="normal";break;case -90:e="right";break;case 90:e="left";break;case 180:e="flipped";break}return{x:window.orientation/90,y:0,z:0,orientation:e}}return{x:0,y:0,z:0,orientation:"normal"}},get:function(a){return this.event[a]}};
Event.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",2,"GoToBottom"],36:["CursorHome",2,"ControlHome"],37:"CursorLeft",38:"CursorUp",39:"CursorRight",40:"CursorDown",44:"Print",45:"Insert",46:["Delete",4,"EraseField",2,"EraseEOP",1,"ClearScreen"],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,e){function m(){if(!y){y=true;j.each(function(q){q.call(e)});j=null;m=Function.empty}}function o(q){var r;if(typeof(r=a["inner"+q])=="number")return r;q="client"+q;return e.documentElement[q]||e.body[q]}function n(q,r){var x,B,D=e.body,A=e.documentElement;if(typeof(x=a["inner"+q])=="number"&&typeof(B=a["scrollMax"+r])=="number")return x+B;return Math.max(Math.max(D["scroll"+q],A["scroll"+q]),Math.max(D["offset"+q],A["offset"+q]))}var j=[],u=false,y=false;Event.onLoad=function(q,r){Event.add(a,
"load",q,r)};Event.onReady=function(q){if(typeof q!=="function")throw new TypeError("Argument is not a Function");if(y){q.call(e);return true}j.push(q);if(!u){if(e.addEventListener)e.addEventListener("DOMContentLoaded",Agent.engine=="presto"?function(){if(!y){for(var r=0,x=e.styleSheets,B=e.styleSheets.length;r<B;r++)if(x[r].disabled){a.setTimeout(arguments.callee,0);return}e.removeEventListener("DOMContentLoaded",arguments.callee,false);m()}}:function(){e.removeEventListener("DOMContentLoaded",arguments.callee,
false);m()},false);else if(e.attachEvent){e.attachEvent("onreadystatechange",function(){if(e.readyState==="complete"){e.detachEvent("onreadystatechange",arguments.callee);m()}});e.documentElement.doScroll&&a==a.top&&function(){if(!y){try{e.documentElement.doScroll("left")}catch(r){a.setTimeout(arguments.callee,0);return}m()}}()}Event.add(a,"load",m);u=true}return true};Event.specials={mouseenter:function(q,r,x){var B=x,D=Agent.engine=="trident";if(!D||D&&Agent.version<8){r="mouseover";B=function(A){return A.withinElement()?
true:x.call(q,A)}}return[[q,r,B]]},mouseleave:function(q,r,x){var B=x,D=Agent.engine=="trident";if(!D||D&&Agent.version<8){r="mouseout";B=function(A){return A.withinElement()?true:x.call(q,A)}}return[[q,r,B]]},mousedownlong:function(q,r,x){r=[];var B,D=true,A=x.data;r.push([q,Agent.itouch?"touchstart":"mousedown",function(F){D=false;B=a.setTimeout(function(){D=true;x.call(q,F,true)},(A||1)*1E3);return true}]);r.push([e,Agent.itouch?"touchend":"mouseup",function(F){a.clearTimeout(B);!D&&x&&x.call(q,
F,false);return D=true}]);return r},mousedowntimed:function(q,r,x){r=[];var B,D=false,A;r.push([q,Agent.itouch?"touchstart":"mousedown",function(F){D=true;A=x.data||500;var J=function(){if(D){x.call(q,F);A=(A/2).bound(40,2E3);B=a.setTimeout(J,A)}};J()}]);r.push([e,Agent.itouch?"touchend":"mouseup",function(){D=false;a.clearTimeout(B);return true}]);return r},mouseoverlong:function(q,r,x){r=[];var B,D=true,A=x.data;r.push([q,"mouseover",function(F){D=false;B=a.setTimeout(function(){D=true;x.call(q,
F,true)},(A||1)*1E3);return true}]);r.push([q,"mouseout",function(F){a.clearTimeout(B);!D&&x&&x.call(q,F,false);return D=true}]);return r},focus:function(q,r,x){if(Agent.trident)r="focusin";return[[q,r,x]]},blur:function(q,r,x){if(Agent.trident)r="focusout";return[[q,r,x]]},paste:function(q,r,x){Agent.trident||(r="input");return[[q,r,x]]},orientationchange:function(q,r,x){if(Agent.gecko)r="MozOrientation";return[[q,r,x]]},mousewheel:function(q,r,x){if(Agent.gecko)r="DOMMouseScroll";return[[q,r,x]]},
domloaded:function(q,r,x){if(q==a||q==e)Event.onReady(x);return false},ready:function(q,r,x){q==a&&Event.onReady(x);return false},mousedown:function(q,r,x){if(Agent.itouch)r="touchstart";return[[q,r,x]]},mousemove:function(q,r,x){if(Agent.itouch)r="touchmove";return[[q,r,x]]},mouseup:function(q,r,x){if(Agent.itouch)r="touchend";return[[q,r,x]]},click:function(q,r,x){if(Agent.itouch)return z.tap(q,r,x);return[[q,r,x]]},tap:function(q,r,x){r=[];var B=x.data||1,D=0,A;r.push([q,Agent.itouch?"touchstart":
"mousedown",function(){a.clearTimeout(A);return true}]);r.push([q,Agent.itouch?"touchend":"mouseup",function(F){if(B==1)x.call(q,F,D);else{++D;A=a.setTimeout(function(){D==B&&x.call(q,F,D);D=0},250)}return true}]);return r},swipe:function(q,r,x){r=[];var B=x.data,D,A,F,J,g;if(typeof B=="number")D=B;else{D=B.move;A=B.touches;F=B.vertical;J=B.multiple}D=D||200;A=A||1;F=!!F;J=!!J;r.push([q,Agent.itouch?"touchstart":"mousedown",function(b){if(b.touchesNumber()==A)g=b.mousePosition();return true}]);r.push([e,
Agent.itouch?"touchmove":"mousemove",function(b){b.preventDefault();if(g){var i=b.mousePosition(),k=F?i[1]-g[1]:i[0]-g[0];if(D>0&&k>D||D<0&&k<D){b.swipe={direction:F?D>0?"bottom":"top":D>0?"left":"right",multiple:J,vertical:F,move:k,touches:A};x.call(q,b,k);g=J?i:null}}return true}]);r.push([e,Agent.itouch?"touchend":"mouseup",function(){g=null;return true}]);return r},scrollbottom:function(q,r,x){var B=null;return[[q,"scroll",function(D){Env.pageSize()[1]==Env.viewSize()[1]+Env.pageScroll()[1]&&
B!=Env.pageScroll()[1]&&x.call(q,D);B=Env.pageScroll()[1]}]]},scrolltop:function(q,r,x){var B=null;return[[q,"scroll",function(D){Env.pageScroll()[1]===0&&B!==0&&x.call(q,D);B=Env.pageScroll()[1]}]]}};var z=Event.specials;z.mouseover=z.mousedown;z.mouseout=z.mouseup;z.clickout=z.dblclickout=z.mousemoveout=function(q,r,x){r=r.replace(/out$/,"");if(Agent.itouch)r=r=="mousemove"?"touchmove":"touchstart";return[[e,r,function(B){var D=B.target();do if(D===q)return true;while((D=D.parentNode)&&D.nodeName&&
D.nodeName.toLowerCase()!="body");return x.call(q,B)}]]};Event.add=function(q,r,x,B){if(typeof x!=="function")throw new TypeError("Argument #2 is not a Function!");if(!(q=I(q)))throw new TypeError("Argument #0 is not an Element!");if(Agent.engine=="trident"&&q.setInterval)q=a;if(!q.eventsUID)q.eventsUID=Event.eventsUID++;if(!x.eventsUID)x.eventsUID=Event.eventsUID++;if(B!==undefined){x=Event.proxy(x);x.data=B}var D=ElementStorage.retrieveData(q,"events")||ElementStorage.storeData(q,"events",{$element:q});
r.split(/[^a-zA-Z]+/g).each(function(A){A=A.toLowerCase().replace(/^on/,"");var F=D[A]||(D[A]={}),J=Event.getKey(q,A,x),g=Event.getRules(q,A,x);if(g){g.each(function(b){var i=b[0],k=b[1],v=b[2],C=function(E){return v.call(i,new Event(E||Windows.getWindow(i).event,i,A))};if(i.addEventListener)i.addEventListener(k,C,false);else i.attachEvent&&i.attachEvent("on"+k,C);b[2]=C});F[J]=g}});return true};Event.addLive=function(q,r,x,B){var D=function(A){for(var F=$(r,q),J=A.target();J;){if(F.indexOf(J)>-1){B.apply(J,
arguments);if(A.stopped)break}J=I(J.parentNode)}};Event.add(q,x,D);return D};Event.remove=function(q,r,x){if(!(q=I(q)))throw new TypeError("Argument #0 is not an Element!");var B=ElementStorage.retrieveData(q,"events");if(B)if(r)r.split(/[^a-zA-Z]+/gi).each(function(D){D=D.toLowerCase().replace(/^on/,"");var A=B[D];if(A)if(x){var F=Event.getKey(q,D,x);if(D=A[F]){D.each(function(J){var g=J[0],b=J[1];J=J[2];if(g.removeEventListener)g.removeEventListener(b,J,false);else g.detachEvent&&g.detachEvent("on"+
b,J)});delete A[F]}}else{for(F in A)Event.remove(q,D,F.split("|").pop());delete B[D]}});else for(r in B)Event.remove(q,r)};Event.get=function(q,r){if(!(q=I(q)))throw new TypeError("Argument #0 is not an Element!");var x={};r.split(/[^a-zA-Z]+/gi).each(function(B){B=B.toLowerCase().replace(/^on/,"");var D=ElementStorage.retrieveData(q,"events"),A;if(D)A=D[B];x[B]=A||{}});return x};Event.proxy=function(q,r){r=r||function(){return q.apply(this,arguments)};r.eventsUID=q.eventsUID=q.eventsUID||r.eventsUID||
Event.eventsUID++;return r};Event.getRules=function(q,r,x){if(z[r])return z[r](q,r,x);return[[q,r,x]]};Event.getKey=function(q,r,x){return[q.eventsUID,r,typeof x=="function"?x.eventsUID:x].join("|")};var w={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"};
Event.create=function(q,r){var x,B;if(e.createEvent){q=(q||"dataavailable").replace(/^on/,"");B=w[q]||"Event";x=e.createEvent(B);r=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},r||{});switch(B){case "HTMLEvents":case "Event":case "Events":x.initEvent(q,
r.bubbles,r.cancelable);break;case "UIEvent":x.initUIEvent(q,r.bubble,r.cancelable,r.view,r.detail);break;case "MouseEvent":x.initMouseEvent(q,r.bubble,r.cancelable,r.view,r.detail,r.screenX,r.screenY,r.clientX,r.clientY,r.ctrlKey,r.altKey,r.shiftKey,r.metaKey,r.button,r.relatedTarget);break;case "KeyboardEvent":x.initKeyEvent(q,r.bubble,r.cancelable,r.view,r.ctrlKey,r.altKey,r.shiftKey,r.metaKey,r.keyCode,r.charCode);break;case "MutationEvent":x.initMutationEvent(q,r.bubble,r.cancelable,r.relatedNode,
r.prevValue,r.newValue,r.attrName,r.attrChange);break;case "MutationNameEvent":x.initMutationNameEvent(q,r.bubble,r.cancelable,relatedNode,prevNamespaceUri,prevNodeName);break;case "TextEvent":x.initTextEvent(q,r.bubble,r.cancelable,r.view,r.data);break;case "PopupBlocked":x.initPopupBlockedEvent();break;case "XULCommandEvent":x.initCommandEvent();break}}else if(e.createEventObject){x=e.createEventObject();r&&Object.extend(x,r)}return x};Event.fire=function(q,r,x){q=I(q);if(q==e&&e.createEvent&&!q.dispatchEvent)q=
e.documentElement;r=(r||"dataavailable").replace(/^on/,"");x=Event.create(r,x);if(e.createEvent)q.dispatchEvent(x);else e.createEventObject&&q.fireEvent("on"+r,x);return x};AidaElements.implement({addEvent:function(q,r,x){Event.add(this,q,r,x);return this},removeEvent:function(q,r){Event.remove(this,q,r);return this},getEvent:function(q){return Event.getEvent(this,q)},fireEvent:function(q,r){return Event.fire(this,q,r)}});a.addEvent=e.addEvent=function(q,r,x){Event.add(this,q,r,x);return this};a.removeEvent=
e.removeEvent=function(q,r,x){Event.remove(this,q,r,x);return this};a.Env={dpi:function(){var q=this._dpi;if(q)return q;if(!(q=screen.logicalXDPI)){var r=N(["div",{style:{position:"absolute",left:"-1000px",top:"-1000px",visibility:"hidden",width:"1in",height:"1in"}}],e.body);q=r.offsetHeight;r.remove()}return this._dpi=q=q||96},scrollbarSize:function(){var q=this._scrollbarSize;if(q)return q;var r=N(["div",{style:{position:"absolute",left:"-1000px",top:"-1000px",visibility:"hidden",width:"50px",height:"50px",
overflow:"hidden"}}],e.body);q=parseInt(r.clientWidth,10);r.css("overflow","scroll");this._scrollbarSize=q=q-=parseInt(r.clientWidth,10);r.remove();return q},viewWidth:function(){return o("Width")},viewHeight:function(){return o("Height")},viewSize:function(){return[o("Width"),o("Height")]},scrollWidth:function(){var q=e.body,r=e.documentElement;return a.pageXOffset||q.scrollLeft||r.scrollLeft||0},scrollHeight:function(){var q=e.body,r=e.documentElement;return a.pageYOffset||q.scrollTop||r.scrollTop||
0},pageScroll:function(){return[Env.scrollWidth(),Env.scrollHeight()]},maxScrollWidth:function(){return n("Width","X","Left")-o("Width")},maxScrollHeight:function(){return n("Height","Y","Top")-o("Height")},maxScroll:function(){return[n("Width","X","Left")-o("Width"),n("Height","Y","Top")-o("Height")]},pageWidth:function(){return n("Width","X","Left")},pageHeight:function(){return n("Height","Y","Top")},pageSize:function(){return[n("Width","X","Left"),n("Height","Y","Top")]},viewBounds:function(){var q=
Env.viewSize(),r=Env.pageScroll();r[2]=r[0]+q[0];r[3]=r[1]+q[1];return r},viewCenter:function(q,r,x,B){var D=Env.viewSize(),A=Env.pageScroll();if(q instanceof Array||isElement(q)&&(q=I(q).sizes())){B=x;x=r;r=q[1];q=q[0]}return[Math.round((D[0]-(q||0))*(x||0.5))+A[0],Math.round((D[1]-(r||0))*(B||0.5))+A[1]]},gridPosition:function(q,r,x){var B=Env.clientSizes(),D=(x||(x={})).cols,A=x.rows,F=x.width;x=x.height;var J=0,g=0,b=0;F=D?B[0]/D:F||50;for(x=A?B[1]/A:x||50;F*J<=q;)g=J++;for(J=0;x*J<=r;)b=J++;
return[g,b]},generateGrid:function(q,r,x,B){for(var D=0,A=0,F=0,J=0,g=[];D<x;D++,A++){F=q*A;if(F+q>B){F=A=0;J+=r}g[D]=[F,J]}return g},gridCoords:function(q,r,x,B){B=Math.floor(B/q);return[x%B*q,Math.floor(x/B)*r]},star:function(q,r,x,B){r=r||5;B=B||0;var D=Math.PI*2,A=D/r,F=0,J=[];for(D=D/4;F<r;)J.push(Math.angleCoords(-D+A*++F+B,q));if(x){q=A/2;for(F=0;F<r;)J.push(Math.angleCoords(-D+A*++F+q+B,x))}return J},positionRatio:function(q,r,x){if(!x)return r/q;x=x.bound(0,1);x=r*x;r=r-x;return q<x?q/x-
1:q>x?(q-x)/r:0},getAllImages:function(){for(var q=e.getElementsByTagName("*"),r,x=0,B=[],D;r=q[x++];){if(r.tagName.toLowerCase()=="img")(D=r.src)&&B.push(D);(D=r.css("backgroundImageUrl"))&&D!="none"&&B.push(D)}return B.unique()},scroll:function(q){var r=Env.pageScroll(),x=r[0],B=r[1];r=q.x||q.left;var D=q.y||q.top;r=Env.validateScroll(is(r)?r:x,is(D)?D:B);var A=r[0]-x,F=r[1]-B,J=q.effect||EE.linear;r=new Cinematic(function(g,b){a.scrollTo(J(g,x,A,b),J(g,B,F,b))},q);q.noStart||r.start();return r},
validateScroll:function(q,r){var x=Env.maxScroll();return[Math.min(q||0,x[0]),Math.min(r||0,x[1])]},coordsToBounds:function(q,r,x,B,D,A){return[B,x+D,B+A,x]},boundsToCoords:function(q,r,x,B,D,A){return[A,x,B-A,D-x]}}})(window,document);var Require={};
Require.JS=function(){var a={},e={},m={},o=document.getElementsByTagName("head")[0],n=function(u,y){m[u].each(function(z){z[0].call(z[1])});y.onreadystatechange=y.onload=null;y.parentNode.removeChild(y);e[u]=true;m[u]=y=undefined},j=function(u,y,z){if(a[u]){if(y)e[u]?y():m[u].push([y,z]);return true}m[u]=[];y&&m[u].push([y,z]);var w=document.createElement("script"),q;w.src=u;w.type="text/javascript";w.defer="defer";if(Agent.engine=="trident")w.onreadystatechange=function(){if("loaded,complete".has(w.readyState))if(!q){n(u,
w);q=true;w=undefined}};else{Agent.engine=="webkit"&&function(){if(!q)if("loaded,complete".has(w.readyState)){n(u,w);q=true;w=undefined}else window.setTimeout(arguments.callee,20)}();w.onload=function(){if(!q){n(u,w);q=true;w=undefined}}}o.appendChild(w);return a[u]=true};j.required=function(u){return!!a[u]};j.more=function(u,y){u instanceof Array||(u=[u]);if(typeof y=="function")y={onComplete:y};var z=u.length,w=0,q=Function.empty,r=y.onProgress||q,x=y.onComplete||q,B=y.bind;(y.onStart||q).call(B,
w,z);if(Agent.trident){var D=function(A){var F=q,J,g;if(A=="object"){F=A.onload||q;J=A.bind;g=A.once;A=A.url}Require.JS(A,function(){F.call(J||B||this,w,z);r.call(J||B||this,w,z);++w<z?D(u[w]):x.call(J||B||this,z)},null,g)};D(u[w])}else u.each(function(A){var F=q,J,g;if(A=="object"){F=A.onload||q;J=A.bind;g=A.once;A=A.url}Require.JS(A,function(){F.call(J||B||this,w,z);r.call(J||B||this,w,z);if(++w>=z)x.call(J||B||this,z)},null,g)})};return j}();
Require.module=function(a,e,m){if(typeof a=="string"&&a.indexOf(",")>-1)a=a.split(",");if(a instanceof Array){for(var o=0,n=a.length;o<n;){a[o]=AIDAJS.baseUrl+"/"+a[o].replace(".","/")+".js";++o}return Require.JS.more(a,{onComplete:e,bind:m})}return Require.JS(AIDAJS.baseUrl+"/"+a.replace(".","/")+".js",e,m)};
Require.CSS=function(){var a={},e={},m={},o=function(j,u){m[j].each(function(y){y[0].call(y[1]||u)});e[j]=true;delete m[j]},n=function(j,u,y){var z=a[j],w;if(z){if(u)e[j]?u():m[j].push([u,y]);return z}m[j]=[];u&&m[j].push([u,y]);z=document.createElement("link");z.href=j;z.type="text/css";z.rel="stylesheet";z.media="all";if(m[j].length)if("webkit,gecko".has(Agent.engine))(function(){if(!w){o(j);w=true}})();else{z.onreadystatechange=function(){if("loaded,complete".has(z.readyState))if(!w){o(j);w=true}};
z.onload=function(){if(!w){o(j);w=true}}}document.getElementsByTagName("head")[0].appendChild(z);return a[j]=z};n.required=function(j){return a[j]?true:false};return n}();
Require.Image=function(){var a=function(e){var m=new Image,o=Function.empty,n=e.onLoad||o;m.onload=function(){var j=arguments.callee;if(j.done)return false;j.done=true;this.onload=null;return n.call(this)};m.onerror=e.onError||o;m.onabort=e.onAbort||o;m.src=e.url;return m};a.more=function(e,m){isArray(e)||(e=[e]);var o=e.length,n=0,j=[],u=Function.empty,y=m.onProgress||u,z=m.onComplete||u;(m.onStart||u).call(e[0],0,o);e.each(function(w){if(typeof w!="object")w={url:w};var q=w.onLoad||u,r=w.onError||
u,x=w.onAbort||u;w.onload=function(B){q.call(this,B);n++;y.call(this,n,o);n==o&&z.call(this,o)};w.onerror=function(B){r.call(this,B);n++;y.call(this,n,o);n==o&&z.call(this,o)};w.onabort=function(B){x.call(this,B);n++;y.call(this,n,o);n==o&&z.call(this,o)};j.push(Require.Image(w))});return j};return a}();
var Sort={random:function(){return 0.5-Math.random()},number:function(a,e){return a-e},numberDesc:function(a,e){return e-a},string:function(a,e){a=(a+"").toLowerCase();e=(e+"").toLowerCase();return a<e?-1:a>e?1:0},stringDesc:function(a,e){a=(a+"").toLowerCase();e=(e+"").toLowerCase();return a<e?1:a>e?-1:0},date:function(a,e){return a.getTime()-e.getTime()},dateDesc:function(a,e){return e.getTime()-a.getTime()},natural:function(a,e){a+="";e+="";for(var m=function(q,r){for(var x=0,B=0,D=0,A,F,J,g;;){A=
q.charAt(B++);F=r.charAt(D++);J=A.digitChar();g=F.digitChar();if(!J&&!g)return x;else if(J)if(g)if(A<F){if(x===0)x=-1}else if(A>F){if(x===0)x=+1}else{if(A===0&&F===0)return x}else return+1;else return-1}},o=0,n=0,j,u,y,z,w;;){for(j=u=0;(y=a.charAt(o++))&&(y.whiteSpaceChar()||y=="0");)j=y=="0"?j+1:0;for(;(z=e.charAt(n++))&&(z.whiteSpaceChar()||z=="0");)u=z=="0"?u+1:0;if(y.digitChar()&&z.digitChar()&&(w=m(a.substring(o),e.substring(n)))!==0)return w;if(y===0&&z===0)return j-u;if(y<z)return-1;else if(y>
z)return+1}}},Windows={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 Windows.popup(a);var e=a.url,m=a.center!==false?"yes":"no",o=a.width||800,n=a.height||450,j=a.left,u=a.top,y=a.resize?"yes":"no",z=a.scroll?"yes":"no";a=a.data||a.arguments||a.params||"";if(m=="yes"){j=Math.floor(window.screenX+(window.outerWidth-o)/2);u=Math.floor(window.screenY+(window.outerHeight-
n)/2)}return window.showModalDialog(e,a,"dialogwidth: "+o+"; dialogheight: "+n+"; center: "+m+"; "+(j?"dialogleft: "+j+"; ":"")+(u?"dialogtop: "+u+"; ":"")+"resizable: "+y+"; scroll: "+z+";")},popup:function(a){var e=a.width||800,m=a.height||600,o=screen.availWidth,n=screen.availHeight,j=a.left,u=a.top;if(a.fullscreen){e=o;m=n;u=j=0}else{is(j)||(j=Math.floor((o-(e||o))/2)-(screen.width-o));is(u)||(u=Math.floor((n-(m||n))/2)-(screen.height-n))}return window.open(a.url,a.name||"_blank","width="+e+",height="+
m+",screenx="+j+",screeny="+u+",left="+j+",top="+u+",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()}},Cookie={set:function(a,
e,m,o,n,j,u){if(is(m))m instanceof Date||(m=new Date(m*1E3));document.cookie=a+"="+escape(e||"")+(m?"; expires="+m.toGMTString():"")+(o?"; path="+o:"")+(n?"; domain="+n:"")+(n?"; secure":"")+(u?"; HttpOnly":"")},getAll:function(){for(var a=document.cookie.split(";"),e=0,m=a.length,o={};e<m;e++){c=a[e].split("=");o[c[0]]=unescape(c[1])}return o},get:function(a){return(a=(document.cookie+"").match(new RegExp("(?:^|;)\\s*"+a+"=([^;]*)")))&&is(a[1])?unescape(a[1]):null},unset:function(a){(a||(a={})).expire=
-30000000;Cookie.set(a)}};function Cinematic(a,e){this._init(a,e)}
Cinematic.prototype={_interval:null,_func:"",_stepTime:0,step:0,wait:0,_init:function(a,e){if(typeof a!="function"){e=a||{};a=e.onFrame}e=e||{};a=a||Function.empty;var m=e.fps||25,o=Math.floor((e.time||1)*m),n=e.effect||EE.linear,j=this,u=e.target||this,y=e.onStart||Function.empty,z=e.onChange||Function.empty,w=e.onFinish||Function.empty;this.loops=e.loops||1;this.wait=e.wait||0;this._func=function(){var q=j.step,r=n(q,0,1,o);r=[q,o,r,j];if(q===0){j.loops--;y.apply(u,r)}a.apply(u,r)&&z.apply(u,r);
if(j.step>=o){if(j.loops>0)j.step=0;else clearInterval(j._interval);w.apply(u,r)}else j.step++};this._stepTime=(1E3/m).round()},start:function(){var a=this;setTimeout(function(){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 Point(a,e){this.set(a,e)}
Point.prototype={x:0,y:0,set:function(a,e){switch(getType(a)){case "string":case "element":a=I(a).position(e);case "array":e=a[1];a=a[0];break;case "object":e=a.y;a=a.x;break}this.x=this[0]=a||0;this.y=this[1]=e||0},copy:function(){return new Point(this)},add:function(a,e){if(e){this.x+=a.x;this.y+=a.y;return this}return new Point(this.x+a.x,this.y+a.y)},sub:function(a,e){if(e){this.x-=a.x;this.y-=a.y;return this}return new Point(this.x-a.x,this.y-a.y)},mul:function(a){if(self){this.x*=a;this.y*=
a;return this}return new Point(this.x*a,this.y*a)},div:function(a){if(self){this.x/=a;this.y/=a;return this}return new Point(this.x/a,this.y/a)},toArray:function(){return[this.x,this.y]},toString:function(){return this.x+", "+this.y},distance:function(a){var e=this.x,m=this.y,o=a.x;a=a.y;o=o>e?o-e:e-o;a=a>m?a-m:m-a;return Math.sqrt(o*o+a*a)},length:function(){return Math.sqrt(this.x*this.x+this.y*this.y)}};function Url(a,e){this.set(a,e)}
Url.prototype={scheme:"",host:"",port:"",user:"",pass:"",path:"",query:"",fragment:"",extension:"",relative:false,set:function(a,e){switch(typeof a){case "string":if(a=a.match(Url.URL_EREG)){var m,o,n;this.scheme=m=a[1]||"";this.user=a[2]||"";this.pass=a[3]||"";this.host=o=a[4]||"";this.port=a[5]||"";this.path=n=a[6]||"";this.query=a[7]||"";this.fragment=a[8]||"";if(!m){n=o+n;this.host=o=""}if(!o)this.relative=true;if(this.relative&&e){e=typeof e!="string"?document.location+"":e;a=new Url(e,false);
e=n.substr(0,1);this.relativeTo=a;if(e){if(e!="/"){var j=a.path.split("/"),u,y=j[j.length-1];if(!y||y.has("."))j.pop();if(n.substr(0,2)==".."&&((u=n.substr(2,1))=="/"||!u))n=n.substr(2);else if(e=="."&&((u=n.substr(1,1))=="/"||!u))n=n.substr(1);if(n.substr(0,1)!="/")n="/"+n;n=j.join("/")+n}}else n=a.path;if(!o)this.host=a.host;if(!m)this.scheme=a.scheme;this.path=n}if(this.path=n=n.replace("/./","/").replace(/\/+/,"/").replace(/\/[^\/]*[^\/\.]+[^\/]*\/..\//i,"/"))this.extension=n.split("/").pop().split(".").pop()||
"";return true}break}return false},getDirUrl:function(){var a="",e;if(e=this.scheme)a+=e=="mailto"?e+":":e+"://";if(e=this.path)a+=e;return a},toString:function(){var a="",e;if(e=this.scheme)a+=e=="mailto"?e+":":e+"://";if(e=this.user){a+=e;if(e=this.pass)a+=":"+e;a+="@"}a+=this.host;if(e=this.port)a+=":"+e;if(e=this.path)a+=e;if(e=this.query)a+="?"+e;if(e=this.fragment)a+="#"+e;return a},getParams:function(){for(var a=this.query.split("&"),e=a.length,m={},o;e;)if(o=a[--e]){o.split("=");m[p[0]]=p[1]||
""}return m}};Url.URL_EREG=/^(?:(?:([a-z]+):(?:\/\/)?)?(?:([^:]+):?([^@]+)@)?([a-z0-9\.-]+)?(?::([0-9]+))?(\/[^\?#]*)(?:\?([^#]*))?)?(?:#(.*))?$/i;Url.isUrl=function(a){return a.match(Url.URL_EREG)};
Url.anchors=function(a){var e=a.all,m=a.extensions,o=a.externals,n=a.internals,j=a.hosts,u=a.schemes,y=new Url(document.location+""),z=y.host,w=a.attribute||"href";(a.elements||$("a",a.parent)).each(function(q){var r=q.get(w);if(r){r=new Url(r,true);var x=r.extension,B=r.host,D=r.scheme,A;e&&e.call(q,r,y);if(m&&x&&(A=m[x]))A.call(q,r,y);o&&B!=z&&o.call(q,r,y);n&&B==z&&n.call(q,r,y);if(j&&(A=j[B]))A.call(q,r,y);if(u&&(A=u[D]))A.call(q,r,y)}})};
function Color(a){this.blue=this.green=this.red=0;this.alpha=1;this.set(a)}
Color.prototype={set:function(a){if(a){var e=0,m=0,o=0,n=1;if(typeof a=="string"){a=a.replace(/[\s]+/g,"");var j,u=Color.names;if(a.match(/^[a-z]+$/gi)){a=a.toLowerCase();for(j in u)if(a==j.toLowerCase()){a=u[j];break}}if(a.match(/^#[0-9A-F]{3,8}$/gi)){switch(a.length){case 4:case 5:e=a.substring(1,2);m=a.substring(2,3);o=a.substring(3,4);n=a.substring(4,5);e+=e;m+=m;o+=o;n+=n;break;default:case 7:case 9:e=a.substring(1,3);m=a.substring(3,5);o=a.substring(5,7);n=a.substring(7,9);break}e=e.toInt(16);
m=m.toInt(16);o=o.toInt(16);n=(n||"FF").toInt(16)/255}else if((j=a.match(/rgb\(([0-9]+%?),([0-9]+%?),([0-9]+%?)\)/i))||(j=a.match(/rgba\(([0-9]+%?),([0-9]+%?),([0-9]+%?),([0-9\.]+%?)\)/i))){e=j[1];m=j[2];o=j[3];n=j[4];e=e.toInt()*(e.has("%")?2.55:1);m=m.toInt()*(m.has("%")?2.55:1);o=o.toInt()*(o.has("%")?2.55:1);n=n?n.has("%")?n.toInt()/100:n.toFloat():1}else if((j=a.match(/cmyk\(([0-9]+%?),([0-9]+%?),([0-9]+%?),([0-9]+%?)\)/i))||(j=a.match(/cmyka\(([0-9]+%?),([0-9]+%?),([0-9]+%?),([0-9]+%?),([0-9\.]+%?)\)/i))){o=
j[3];u=j[4];a=j[1];j=j[2];a=a.toInt()*(a.has("%")?2.55:1);j=j.toInt()*(j.has("%")?2.55:1);o=o.toInt()*(o.has("%")?2.55:1);u=(255-u.toInt()*(u.has("%")?2.55:1))/255;e=(255-a)*u;m=(255-j)*u;o=(255-o)*u;n=n?n.has("%")?n.toInt()*2.55:n.toFloat():1}else if((j=a.match(/hsl\(([0-9]+),*([0-9]+)%,*([0-9]+)%\)/i))||(j=a.match(/hsla\(([0-9]+),*([0-9]+)%,*([0-9]+)%,([0-9\.]+%?)\)/i)))return this.fromHSL(j[1].toInt(),j[2].toInt(),j[3].toInt(),j[4]);else if((j=a.match(/hsv\(([0-9]+),*([0-9]+)%,*([0-9]+)%\)/i))||
(j=a.match(/hsva\(([0-9]+),*([0-9]+)%,*([0-9]+)%,([0-9\.]+%?)\)/i)))return this.fromHSV(j[1].toInt(),j[2].toInt(),j[3].toInt(),j[4])}else if(a instanceof Array){e=a[0];m=a[1];o=a[2];n=a[3];is(n)||(n=1)}else if(a.red||a.green||a.blue||a.alpha){e=a.red;m=a.green;o=a.blue;n=a.alpha}this.red=(!isNaN(e)?e:255).bound(0,255).round();this.green=(!isNaN(m)?m:255).bound(0,255).round();this.blue=(!isNaN(o)?o:255).bound(0,255).round();this.alpha=(!isNaN(n)?n:1).bound(0,1);return true}return false},media:function(){var a=
arguments,e=a.length,m,o,n=0,j=0,u=0;for(m=e-1;m>=0;m--){o=new Color(a[m]);n+=o.red;j+=o.green;u+=o.blue}this.set([n/e,j/e,u/e])},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,e,m,o){a/=360;e/=100;m/=100;var n=function(j,u,y){if(y<0)y+=1;if(y>1)y-=1;if(y*6<1)return j+(u-j)*y*6;if(y*2<1)return u;if(y*3<2)return j+(u-j)*(2/3-y)*6;return j};e=m<=0.5?m*(e+1):m+e-m*e;m=m*2-e;o+="";this.red=n(m,e,a+1/3)*255;this.green=n(m,e,a)*255;this.blue=n(m,e,a-
1/3)*255;this.alpha=o?o.has("%")?o.toInt()*2.55:o.toFloat():1},toHSL:function(){var a=this.red/255,e=this.green/255,m=this.blue/255,o,n,j,u,y;l=s=h=0;o=Math.max(a,e,m);n=Math.min(a,e,m);l=(n+o)/2;if(l<=0)return[h*360,s*100,l*100];s=j=o-n;if(s>0)s/=l<=0.5?o+n:2-o-n;else return[h*360,s*100,l*100];u=(o-a)/j;y=(o-e)/j;j=(o-m)/j;h=a==o?e==n?5+j:1-y:e==o?m==n?1+u:3-j:a==n?3+y:5-u;h/=6;return[h*360,s*100,l*100]},setHue:function(a){a=parseFloat(a,10).bound(0,360);var e=this.toHSL();this.fromHSL(a,e[1],e[2],
this.alpha)},setSaturation:function(a){a=parseFloat(a,10).bound(0,100);var e=this.toHSL();this.fromHSL(e[0],a,e[2],this.alpha)},setLightness:function(a){a=parseFloat(a,10).bound(0,100);var e=this.toHSL();this.fromHSL(e[0],e[1],a,this.alpha)},fromHSV:function(a,e,m,o){a%=360;e/=100;m/=100;var n;if(e===0)n=e=m=m;else{a/=60;n=Math.floor(a);var j=a-n;a=m*(1-e);var u=m*(1-e*j);j=m*(1-e*(1-j));switch(n){case 0:n=m;e=j;m=a;break;case 1:n=u;e=m;m=a;break;case 2:n=a;e=m;m=j;break;case 3:n=a;e=u;m=m;break;
case 4:n=j;e=a;m=m;break;default:n=m;e=a;m=u}}n*=255;e*=255;m*=255;o=o?o.has("%")?o.toInt()*2.55:o.toFloat():1;this.red=(!isNaN(n)?n:255).bound(0,255).round();this.green=(!isNaN(e)?e:255).bound(0,255).round();this.blue=(!isNaN(m)?m:255).bound(0,255).round();this.alpha=(!isNaN(o)?o:1).bound(0,1)},toHSV:function(){var a=this.red,e=this.green,m=this.blue,o=Math.max(a,e,m),n=Math.min(a,e,m);if(n==o)n=a=0;else{var j=o-n;n=j/o;a=a==o?(e-m)/j:e==o?2+(m-a)/j:4+(a-e)/j;a/=6;if(a<0)a+=1;if(a>1)a-=1}return[a*
360,n*100,o/255*100]},sepia:function(){var a=this.red,e=this.green,m=this.blue;return new Color([(a*0.393+e*0.769+m*0.189).round(),(a*0.349+e*0.686+m*0.168).round(),(a*0.272+e*0.534+m*0.131).round(),this.alpha])},negative:function(){return new Color([255-this.red,255-this.green,255-this.blue,this.alpha])},grayscale:function(a){var e=this.red,m=this.blue,o=this.green;switch(a){case 1:case "SimpleAverage":a=[((e+m+o)/3).round(),((e+m+o)/3).round(),((e+m+o)/3).round()];break;case 2:case "WeightAverage":a=
[(3*e+4*o+2*m/9).round(),(3*e+4*o+2*m/9).round(),(3*e+4*o+2*m/9).round()];break;case 3:case "CCIRRec709":a=[(0.2125*e+0.7154*m+0.0721*o).round(),(0.2125*e+0.7154*m+0.0721*o).round(),(0.2125*e+0.7154*m+0.0721*o).round()];break;default:case 4:case "NtscPal":a=[(0.299*e+0.587*m+0.114*o).round(),(0.299*e+0.587*m+0.114*o).round(),(0.299*e+0.587*m+0.114*o).round()];break}a[3]=this.alpha;return new Color(a)},colorize:function(a){a=new Color(a);var e=this.red,m=this.green,o=this.blue,n=a.red,j=a.green;a=
a.blue;return new Color([(e*(n/255)+m*(n/255)+o*(n/255)).round(),(e*(j/255)+m*(j/255)+o*(j/255)).round(),(e*(a/255)+m*(a/255)+o*(a/255)).round(),this.alpha])},color:function(a){var e=this.red,m=this.green,o=this.blue;a=new Color(a);return new Color([e+(e/100*a.red).round(),m+(m/100*a.green).round(),o+(o/100*a.blue).round(),this.alpha])},contrast:function(a){var e=function(m){return((m/255-0.5)*(1+(a/100).pow(2))+0.5)*255};return new Color([e(this.red),e(this.green),e(this.blue),this.alpha])},brightness:function(a,
e){return new Color([this.red+(2.55*e).round(),this.green+(2.55*e).round(),this.red+(2.55*e).round(),this.alpha])},alphaBlending:function(a){a=new Color(a);return new Color([(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()}};Color.hex=function(a){return(new Color(a)).hex()};Color.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)};
Color.names={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 ViewPort={_onOpen:[],_onClose:[],animation:false,config:{},opacity:0.5,effect:null,time:0.2,getAppsLayer:function(){if(this.$appsLayer)return this.$appsLayer;this.$appsLayer=N(["div",{style:{position:"absolute",left:"0px",top:"0px",zIndex:"26",width:"100%",height:"0px"}}]);this.$background?this.$background.after(this.$appsLayer):I(document.body).append(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:"25",opacity:"0"},onclick:function(){ViewPort.close()}}]);this.$appsLayer?this.$appsLayer.before(this.$background):I(document.body).append(this.$background);return this.$background},setBackgroundStyle:function(a){this.getBackground().css(a);this.opacity=a.opacity||this.opacity},open:function(a){var e=this.getBackground();if(e.hidden()){this.animation?e.morph({styles:{opacity:[0,this.opacity||0.5],display:["block",
"block"]},time:this.time||0.2,effect:this.effect,fps:20,stop:true}):e.css({opacity:this.opacity||0.5,display:"block"});ViewPort._onOpen.each(function(m){m[0].call(m[1],a)})}e=null},close:function(a){var e=this.getBackground();if(!e.hidden()){this.animation?e.morph({styles:{opacity:[ACTUAL,0],display:["block","none"]},time:this.time||0.2,effect:this.effect,fps:20,stop:true}):e.css({opacity:0,display:"none"});ViewPort._onClose.each(function(m){m[0].call(m[1],a)})}},addOpenEvent:function(a,e){ViewPort._onOpen.push([a,
e||null])},addCloseEvent:function(a,e){ViewPort._onClose.push([a,e||null])},getMask:function(){if(this._mask)return this._mask;var a=this.getAppsLayer(),e=N(["div",{style:{position:"absolute",left:0,top:0,zIndex:24,width:"100%",height:0,display:"none",cursor:"pointer"},click:function(){ViewPort.closeMask();if(ViewPort._mask.onClose){ViewPort._mask.onClose();ViewPort._mask.onClose=null}}}]);a.before(e);a=N(["div",{style:{position:"absolute",left:0,top:0,width:"100%"}}],e);var m=N(["div",{style:{position:"absolute",
left:0}}],e),o=N(["div",{style:{position:"absolute",right:0}}],e),n=N(["div",{style:{position:"absolute",left:0,width:"100%"}}],e);this._mask={$mask:e,$T:a,$L:m,$R:o,$B:n,color:"#000000",opacity:0.8};e=a=m=o=n=undefined;Event.add(window,"resize",function(){ViewPort.mask()});return this._mask},mask:function(a,e,m,o){var n=this.getMask();n.$target=a=I(a)||n.$target;n.color=e=e||n.color;n.opacity=m=m||n.opacity;if(o)n.onClose=o;n.$mask.hide();o=a.sizes();a=a.position();var j=this.getAppsLayer().sizes(),
u=Env.pageSize();if(Agent.trident)u[1]-=Env.scrollbarSize();n.$T.css({height:a[1],background:e,opacity:m});n.$L.css({top:a[1],width:a[0],height:o[1],background:e,opacity:m});n.$R.css({top:a[1],width:j[0]-(a[0]+o[0]),height:o[1],background:e,opacity:m});n.$B.css({top:a[1]+o[1],height:u[1]-(a[1]+o[1]),background:e,opacity:m});n.$mask.show()},closeMask:function(){this.getMask().$mask.hide()}};Event.onReady(function(){document.head=I(document.getElementsByTagName("head")[0])});var ACTUAL="actual";
(function(a){function e(n,j){if(!isNaN(n)){switch(j){case "em":case "":case "%":case "deg":n=Math.floor(n*100)/100;break;default:n=Math.floor(n);break}return n+j}return false}function m(n){var j=ElementStorage.retrieveData(n,"morph"),u;if(j)u=j.paused.shift();else{j={paused:[],cache:[]};ElementStorage.storeData(n,"morph",j)}j.wait=null;j.animation=null;j.animated=false;j.locked=false;j.loop=null;u&&n.morph(u);return n}function o(n,j,u){var y=ElementStorage.retrieveData(n,"morph"),z=j.css||j.styles||
j.style,w,q,r,x=j.fps||25,B=Math.round((j.time||0.5)*x),D=B+(j.noLast?-1:0),A=j.effect||EE.outCubic,F,J,g,b={},i=["in","cm","mm","pt","pc","em","ex","px","deg","%"];for(q in z){F=J=null;g=n.css(q);w=z[q];if(typeof w=="object")if(w instanceof Array){w=w.copy();if(typeof w[0]=="function")F=w.shift();if(i.has(w[0]))J=w.shift()}else{F=w.effect;J=w.unit||"";w=w.steps;w instanceof Array||(w=[w])}else w=[w];w=w.replace(ACTUAL,g);r=w.length;if(q.toLowerCase().has("color")){if(r<2){w=[g].concat(w);++r}g=1}else if(J||
typeof w[0]=="number"){if(r<2){w=[(g+"").cleanSize()].concat(w);++r}g=2}else{if(r<2){w=[w[0],w[0]];++r}g=3}b[q]=[g,F||A,J||"",r,B/(r-1||1),w]}g=F=A=J=i=w=undefined;y.wait=u.setTimeout(function(){var k=Function.empty,v=j.onStart||k,C=j.onFinish||k,E=j.onChange||k,K=j.onFrame||k,G=0,L={};k={};var U=function(R,P,M,O,S){P===0&&v.call(R,S,P,M);if(O){R.css(S);E.call(R,S,P,M)}K.call(R,S,P,M);if(P==D){clearInterval(y.animation);m(R);b=L=j=z=y=U=v=K=E=undefined;C.call(R,S,P,M);C=undefined}};for(q in b){var Q=
b[q];switch(Q[0]){case 1:Q=new Color(Q[5][0]);k[q]=L[q]=Agent.rgba&&Q.alpha<1?Q.rgba():Q.rgb();break;case 2:if((Q=e(parseFloat(Q[5][0],10),Q[2]))||Q===0)k[q]=L[q]=Q;break;case 3:k[q]=L[q]=Q[5][0];break}}U(n,G,B,true,k);++G;k=undefined;y.animation=u.setInterval(function(){var R=false,P={};for(q in b){var M=b[q],O;switch(G){case B:switch(M[0]){case 1:O=new Color(M[5][M[3]-1]);P[q]=L[q]=Agent.rgba&&O.alpha<1?O.rgba():O.rgb();break;case 2:if((O=e(parseFloat(M[5][M[3]-1],10),M[2]))||O===0)P[q]=L[q]=O;
break;case 3:P[q]=L[q]=M[5][M[3]-1];break}R=true;break;default:O=M[1];var S=M[4],W=M[5],T,V;switch(M[0]){case 1:T=Math.floor(G/S);V=G%S;eqSteps=T>0?S:S-1;T>0&&++V;M=new Color(W[T]);T=new Color(W[T+1]);O=new Color([Math.floor(O(V,M.red,T.red-M.red,eqSteps)),Math.floor(O(V,M.green,T.green-M.green,eqSteps)),Math.floor(O(V,M.blue,T.blue-M.blue,eqSteps)),O(V,M.alpha,T.alpha-M.alpha,eqSteps)]);O=Agent.rgba&&O.alpha<1?O.rgba():O.rgb();if(O!==L[q]){P[q]=L[q]=O;R=true}break;case 2:T=Math.floor(G/S);V=G%S;
T>0&&++V;var X=parseFloat(W[T],10);W=parseFloat(W[T+1],10);if(((O=e(O(V,X,W-X,T>0?S:S-1),M[2]))||O===0)&&O!==L[q]){P[q]=L[q]=O;R=true}break;case 3:if(Math.floor(G%S)===0){P[q]=W[Math.floor(G/S)];R=true}break}break}}U(n,G,B,R,P);++G},1E3/x)},(j.wait||0)*1E3);y.locked=j.locked;y.animated=true}AidaElements.implement({morph:function(n){var j=ElementStorage.retrieveData(this,"morph")||m(this);if(n.stop)n.prority="stop";if(j.animated)if(n.stop!==false&&!j.locked)o(this.stopMorph(),n,a);else n.cancel||j.paused.push(n);
else o(this,n,a);return this},forceMorph:function(n){n.stop=true;return this.morph(n)},loopMorph:function(n){var j=n.onFinish;n.onFinish=function(){j&&j.call(this);this.morph(n)};this.morph(n)},stopMorph:function(){var n=ElementStorage.retrieveData(this,"morph");if(n){a.clearInterval(n.animation);a.clearTimeout(n.wait);n.paused=[]}m(this);return this},opacityUp:function(n){((n||(n={})).styles||(n.styles={})).opacity=[ACTUAL,1];return this.morph(n)},opacityDown:function(n){((n||(n={})).styles||(n.styles=
{})).opacity=[ACTUAL,0];return this.morph(n)},opacityShift:function(n){return this[this.css("opacity")<0.5?"opacityUp":"opacityDown"](n)},opacityPulse:function(n){for(var j=[ACTUAL],u=(n||(n={})).hits||3;u>0;u--)j=j.concat([0,ACTUAL]);(n.styles||(n.styles={})).opacity=j;return this.morph(n)},blindInit:function(n){var j=this.style;j.overflow="hidden";j.display="block";if(is(n))j.height=(n===true?0:n)+"px";return this},blindUp:function(n){this.blindInit();((n||(n={})).styles||(n.styles={})).height=
["px",ACTUAL,n.min||0];if(!n.effect)n.effect=EE.outCubic;return this.morph(n)},blindDown:function(n){this.blindInit();((n||(n={})).styles||(n.styles={})).height=["px",ACTUAL,this.realHeight(true)];if(!n.effect)n.effect=EE.outCubic;return this.morph(n)},blindShift:function(n){return this[this.blindState(n)>0.5?"blindUp":"blindDown"](n)},blindState:function(n){n=(n||{}).min||0;return(this.css("height").cleanSize()-n)/(this.realHeight(true)-n)}})})(window,document);
var EE={blend:function(){var a=arguments,e=a.length;return function(m,o,n,j){var u=Math.min(Math.floor(m/j*e),e-1);j/=e;m=m/e==j?j:m%j;n/=e;o+=n*u;return a[u](m,o,n,j)}},repeat:function(a,e){e=e||2;for(var m=[];e--;)m.push(a);return EE.blend.apply(null,m)},path:function(a,e,m){var o;return function(n,j,u,y){o||(o=e.getPoints(y,m));return o[n-1][a]}},linear:function(a,e,m,o){return m*a/o+e},inQuad:function(a,e,m,o){return m*(a/=o)*a+e},outQuad:function(a,e,m,o){return-m*(a/=o)*(a-2)+e},inOutQuad:function(a,
e,m,o){if((a/=o/2)<1)return m/2*a*a+e;return-m/2*(--a*(a-2)-1)+e},inCubic:function(a,e,m,o){return m*(a/=o)*a*a+e},outCubic:function(a,e,m,o){return m*((a=a/o-1)*a*a+1)+e},inOutCubic:function(a,e,m,o){if((a/=o/2)<1)return m/2*a*a*a+e;return m/2*((a-=2)*a*a+2)+e},inQuart:function(a,e,m,o){return m*(a/=o)*a*a*a+e},outQuart:function(a,e,m,o){return-m*((a=a/o-1)*a*a*a-1)+e},inOutQuart:function(a,e,m,o){if((a/=o/2)<1)return m/2*a*a*a*a+e;return-m/2*((a-=2)*a*a*a-2)+e},inQuint:function(a,e,m,o){return m*
(a/=o)*a*a*a*a+e},outQuint:function(a,e,m,o){return m*((a=a/o-1)*a*a*a*a+1)+e},inOutQuint:function(a,e,m,o){if((a/=o/2)<1)return m/2*a*a*a*a*a+e;return m/2*((a-=2)*a*a*a*a+2)+e},inSine:function(a,e,m,o){return-m*Math.cos(a/o*(Math.PI/2))+m+e},outSine:function(a,e,m,o){return m*Math.sin(a/o*(Math.PI/2))+e},inOutSine:function(a,e,m,o){return-m/2*(Math.cos(Math.PI*a/o)-1)+e},inExpo:function(a,e,m,o){return a===0?e:m*Math.pow(2,10*(a/o-1))+e},outExpo:function(a,e,m,o){return a==o?e+m:m*(-Math.pow(2,-10*
a/o)+1)+e},inOutExpo:function(a,e,m,o){if(a===0)return e;if(a==o)return e+m;if((a/=o/2)<1)return m/2*Math.pow(2,10*(a-1))+e;return m/2*(-Math.pow(2,-10*--a)+2)+e},inCirc:function(a,e,m,o){return-m*(Math.sqrt(1-(a/=o)*a)-1)+e},outCirc:function(a,e,m,o){return m*Math.sqrt(1-(a=a/o-1)*a)+e},inOutCirc:function(a,e,m,o){if((a/=o/2)<1)return-m/2*(Math.sqrt(1-a*a)-1)+e;return m/2*(Math.sqrt(1-(a-=2)*a)+1)+e},inElastic:function(a,e,m,o,n,j){if(a===0)return e;if((a/=o)==1)return e+m;j||(j=o*0.3);n||(n=0);
if(n<Math.abs(m)){n=m;m=j/4}else m=j/(2*Math.PI)*Math.asin(m/n);return-(n*Math.pow(2,10*(a-=1))*Math.sin((a*o-m)*2*Math.PI/j))+e},outElastic:function(a,e,m,o,n,j){if(a===0)return e;if((a/=o)==1)return e+m;j||(j=o*0.3);n||(n=0);var u;if(n<Math.abs(m)){n=m;u=j/4}else u=j/(2*Math.PI)*Math.asin(m/n);return n*Math.pow(2,-10*a)*Math.sin((a*o-u)*2*Math.PI/j)+m+e},inOutElastic:function(a,e,m,o,n,j){if(a===0)return e;if((a/=o/2)==2)return e+m;j||(j=o*0.3*1.5);n||(n=0);var u;if(n<Math.abs(m)){n=m;u=j/4}else u=
j/(2*Math.PI)*Math.asin(m/n);if(a<1)return-0.5*n*Math.pow(2,10*(a-=1))*Math.sin((a*o-u)*2*Math.PI/j)+e;return n*Math.pow(2,-10*(a-=1))*Math.sin((a*o-u)*2*Math.PI/j)*0.5+m+e},inBack:function(a,e,m,o,n){if(n===undefined)n=1.70158;return m*(a/=o)*a*((n+1)*a-n)+e},outBack:function(a,e,m,o,n){if(n===undefined)n=1.70158;return m*((a=a/o-1)*a*((n+1)*a+n)+1)+e},inOutBack:function(a,e,m,o,n){if(n===undefined)n=1.70158;if((a/=o/2)<1)return m/2*a*a*(((n*=1.525)+1)*a-n)+e;return m/2*((a-=2)*a*(((n*=1.525)+1)*
a+n)+2)+e},inBounce:function(a,e,m,o){return m-EE.outBounce(o-a,0,m,o)+e},outBounce:function(a,e,m,o){return(a/=o)<1/2.75?m*7.5625*a*a+e:a<2/2.75?m*(7.5625*(a-=1.5/2.75)*a+0.75)+e:a<2.5/2.75?m*(7.5625*(a-=2.25/2.75)*a+0.9375)+e:m*(7.5625*(a-=2.625/2.75)*a+0.984375)+e},inOutBounce:function(a,e,m,o){if(a<o/2)return EE.inBounce(a*2,0,m,o)*0.5+e;return EE.outBounce(a*2-o,0,m,o)*0.5+m*0.5+e},circleY:function(a,e,m,o){return m*Math.sin(a/o*2*Math.PI)+e},circleX:function(a,e,m,o){return m*Math.cos(a/o*2*
Math.PI)+e},outSpiralY:function(a,e,m,o){return m/o*a*Math.sin(a/o*2*Math.PI)+e},outSpiralX:function(a,e,m,o){return m/o*a*Math.cos(a/o*2*Math.PI)+e},inSpiralY:function(a,e,m,o){return m/o*(o-a)*Math.sin(a/o*2*Math.PI)+e},inSpiralX:function(a,e,m,o){return m/o*(o-a)*Math.cos(a/o*2*Math.PI)+e}};function Ajax(a){this.reset();this.createRequest();Object.extend(this.options,a||{})}
(function(a){function e(j){return[j.url,Object.params(j.get||{}),Object.params(j.post||{})].join(" ")}function m(j){j=e(j);var u=n[j];if(u){if(u[0]>(new Date).getTime())return u[1];delete n[j]}return false}function o(j,u){var y=isNumeric(j.cache)?parseFloat(j.cache,10):Infinity;y=(new Date).getTime()+y*1E3;j=e(j);n[j]=[y,u];return j}if(!a.XMLHttpRequest)a.XMLHttpRequest=function(){for(var j=["Microsoft.XMLHTTP","MSXML2.XMLHTTP","MSXML2.XMLHTTP.3.0","Msxml2.XMLHTTP.4.0","Msxml2.XMLHTTP.5.0","Msxml2.XMLHTTP.6.0",
"Msxml2.XMLHTTP.7.0"],u=j.length,y,z;u;){y=j[--u];try{z=new ActiveXObject(y)}catch(w){z=null}}return z};Ajax.prototype={resetData:function(){this.xhr=null;this.GETs={};this.POSTs={};this.HEADs={};this.data=null;this.path="";this.response={text:"",XML:null,headers:{}};this.status={code:0,text:"Unknown",type:"Unknown"};this.timeout=0;this.escapeCache=true;this.escapeCacheName="_Escape_Cache_";this.encoding="utf-8";this.async=true;this.type=null},resetFunctions:function(){this.onRequest=this.onLoaded=
this.onInteractive=this.onSuccess=this.onFailure=this.onFinish=this.onTimeout=this.onAbort=this.onException=Function.empty},reset:function(){this.resetFunctions();this.resetData()},createRequest:function(){var j=null;try{j=new XMLHttpRequest}catch(u){j=null;this.onException(u,c)}return(this.xhr=j)?true:false},addGETparams:function(j,u){var y=this.GETs;if(typeof j=="object")for(var z in j)y[z]=j[z];else y[j]=u},addPOSTparams:function(j,u){var y=this.POSTs;if(typeof j=="object")for(var z in j)y[z]=
j[z];else y[j]=u},setHeaders:function(j,u){var y=this.HEADs;if(typeof j=="object")for(var z in j)y[z]=j[z];else y[j]=u},urlPath:function(j){this.path=j.split("?")[0]},urlParameters:function(j){if(j=j.split("?")[1]){j=j.replace("&amp;","&").split("&");for(var u=j.length,y,z=this.GETs;u;){y=j[--u].split("=");z[y[0]]=y[1]}}},url:function(j){this.urlPath(j);this.urlParameters(j)},abort:function(){if(this.running){this.running=false;var j=this.xhr;j.onreadystatechange=Function.empty;j.abort();this.createRequest();
this.onAbort()}},getHeaders:function(){for(var j={},u=this.xhr.getAllResponseHeaders().split(/(\n)/gmi),y=u.length,z;y;)if(z=u[--y].trim()){z=z.split(/:[\s]+/gmi);j[z[0]]=z[1]}return j},getStatus:function(){var j=this.xhr,u=j.status;j=j.statusText;var y;if(u){j||(j=Ajax.getStatusText(u));y=Ajax.getStatusType(u)}return{code:u,text:j||"Unknown",type:y||"Unknown"}},run:function(){if(this.xhr&&!this.runnig){var j=this,u=this.response,y=this.xhr,z=this.timeout,w,q=this.encoding,r=this.HEADs,x=this.GETs,
B=this.POSTs,D=(this.method||this.type||"").toUpperCase(),A=this.data;if(this.escapeCache)x[this.escapeCacheName]=(new Date).getTime();x=Object.params(x);B=Object.params(B)||null;x=this.path+(x?"?"+x:"");var F;D||(D=B||A?"POST":"GET");y.onreadystatechange=function(){if(z>0&&!w){z=(new Date).getTime()+z*1E3;(function(){if((new Date).getTime()>=z){j.abort();j.onTimeout()}else w=a.setTimeout(arguments.callee,100)})()}switch(y.readyState){case 1:j.onRequest();break;case 2:j.onLoaded();break;case 3:j.onInteractive();
break;case 4:w&&a.clearTimeout(w);var g,b,i,k;g=u.text=y.responseText;b=u.XML=y.responseXML;i=u.headers=j.getHeaders();if(j.json)g=JSON.parse(g);j.status=k=j.getStatus();j.runnig=false;j[k.type=="Success"?"onSuccess":"onFailure"](g,b,i,k);j.onFinish(g,b,i,k);if(g=j.polling)j._pollingTimeout=a.setTimeout(function(){j.run()},g*1E3);break}};r.Connection="close";r["X-Ajax-Request"]="AIDA-JS";r.Accept="text/javascript, text/html, application/xml, text/xml, */*";if(!r["Content-type"]&&D=="POST")r["Content-type"]=
"application/x-www-form-urlencoded"+(q?"; charset="+q:"");this.running=true;this.username?y.open(D,x,this.async,this.username,this.password):y.open(D,x,this.async);for(F in r)try{y.setRequestHeader(F,r[F])}catch(J){this.onException(J,F,r[F])}y.send(A||B)}},_pollingTimeout:null,stopPolling:function(){a.clearTimeout(this._pollingTimeout);this.polling=null},runPolling:function(j){this.stopPolling();this.polling=j;this.run()}};Ajax.getStatusText=function(j){switch(j){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"}};Ajax.getStatusType=function(j){if(j<200)return"Informational";if(j<300)return"Success";if(j<400)return"Redirection";if(j<500)return"Client Error";
if(j<600)return"Server Error"};var n={};Ajax.get=function(j,u){var y=I(j.element||j.target),z=j.url,w=Function.empty,q=j.onSuccess||w,r=j.onFinish||w,x=j.cache;if(x&&(u=m(j))){q.apply(y,u);r.apply(y,u)}else{u=new Ajax;Object.extend(u,j.options||{});u.url(z);u.polling=j.polling;u.addGETparams(j.get||{});u.addPOSTparams(j.post||{});u.onRequest=j.onRequest||w;u.onLoaded=j.onLoaded||w;u.onInteractive=j.onInteractive||w;u.onAbort=j.onAbort||w;u.onTimeout=j.onTimeout||w;u.onFinish=r;u.onFailure=j.onFailure||
w;u.onSuccess=function(){x&&o(j,arguments);q.apply(y,arguments)};u.run();return u}}})(window,document);if(!this.JSON)this.JSON={};
(function(){function a(w){return w<10?"0"+w:w}function e(w){n.lastIndex=0;return n.test(w)?'"'+w.replace(n,function(q){var r=y[q];return typeof r==="string"?r:"\\u"+("0000"+q.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+w+'"'}function m(w,q){var r,x,B=j,D,A=q[w];if(A&&typeof A==="object"&&typeof A.toJSON==="function")A=A.toJSON(w);if(typeof z==="function")A=z.call(q,w,A);switch(typeof A){case "string":return e(A);case "number":return isFinite(A)?String(A):"null";case "boolean":case "null":return String(A);
case "object":if(!A)return"null";j+=u;D=[];if(Object.prototype.toString.apply(A)==="[object Array]"){x=A.length;for(w=0;w<x;w+=1)D[w]=m(w,A)||"null";q=D.length===0?"[]":j?"[\n"+j+D.join(",\n"+j)+"\n"+B+"]":"["+D.join(",")+"]";j=B;return q}if(z&&typeof z==="object"){x=z.length;for(w=0;w<x;w+=1){r=z[w];if(typeof r==="string")if(q=m(r,A))D.push(e(r)+(j?": ":":")+q)}}else for(r in A)if(Object.hasOwnProperty.call(A,r))if(q=m(r,A))D.push(e(r)+(j?": ":":")+q);q=D.length===0?"{}":j?"{\n"+j+D.join(",\n"+j)+
"\n"+B+"}":"{"+D.join(",")+"}";j=B;return q}}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,
n=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,j,u,y={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},z;if(typeof JSON.stringify!=="function")JSON.stringify=function(w,q,r){var x;u=j="";if(typeof r==="number")for(x=0;x<r;x+=1)u+=" ";else if(typeof r==="string")u=r;if((z=q)&&typeof q!=="function"&&(typeof q!=="object"||typeof q.length!=="number"))throw new Error("JSON.stringify");return m("",
{"":w})};if(typeof JSON.parse!=="function")JSON.parse=function(w,q){function r(x,B){var D,A,F=x[B];if(F&&typeof F==="object")for(D in F)if(Object.hasOwnProperty.call(F,D)){A=r(F,D);if(A!==undefined)F[D]=A;else delete F[D]}return q.call(x,B,F)}w=String(w);o.lastIndex=0;if(o.test(w))w=w.replace(o,function(x){return"\\u"+("0000"+x.charCodeAt(0).toString(16)).slice(-4)});if(/^[\],:{}\s]*$/.test(w.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,
"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){w=eval("("+w+")");return typeof q==="function"?r({"":w},""):w}throw new SyntaxError("JSON.parse");}})();

