// NeauxScript V0.6-1.03 (15-Apr-2011) @15-Apr-2011 18:38:56
/**
 * NeauxScript V0.6 (neauxware.js)
 * Copyright (c) 2007-2011  Neauxware Technologies
 * All rights reserved.
 * License @ http://www.opensource.org/licenses/mit-license.php
 */

(function(){var theUA=navigator.userAgent;Neaux={name:"NeauxScript",version:"V0.6-0",author:"H.G. Laffler",organization:"Neauxware Technologies",homePage:"http://www.neauxware.com",isMSIE:
/*@cc_on!@*/
false,isWebKit:/AppleWebKit/.test(theUA),isGecko:/Gecko/.test(theUA)&&!/AppleWebKit/.test(theUA),isChrome:/Chrome/.test(theUA),isSafari:/Safari/.test(theUA)&&!/Chrome/.test(theUA),isPresto:/Presto/.test(theUA),isArray:function(aVal){return(typeof aVal=="object"&&aVal instanceof Array)},getSWVersion:function(){var info=Neaux.Module.getVersionInfo();var mmm=["","Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var theDate=info.date.substr(6,2)+"-"+mmm[parseInt(info.date.substr(4,2),10)]+"-"+info.date.substr(0,4);return Neaux.name+" V"+info.version+" ("+theDate+") "},getCopyright:function(){return" \xA92007-"+(new Date().getFullYear())+" "+Neaux.organization+" ("+Neaux.homePage+") All Rights Reserved."},show:function(){window.status=Neaux},toString:function(){return Neaux.getSWVersion()+"; "+Neaux.getCopyright()}};Neaux.Module=(function(){var m_registeredModules={},m_loadedModules,m_defaultPath;function initLoadedModules(aModuleFileName){var theScripts=document.getElementsByTagName("script");var rx=new RegExp(aModuleFileName);var theOffset;for(var i=0;i<theScripts.length;i++){if(theScripts[i].src&&(theOffset=theScripts[i].src.search(rx))>=0){m_defaultPath=theScripts[i].src.substring(0,theOffset);m_loadedModules=[aModuleFileName];return}}throw new Error("Neaux::initLoadedModules - unable to initialize using "+aModuleFileName)}function loadModule(aFileName,aPath){var thePath=m_defaultPath+(aPath?aPath+"/":""),theSrc,i,len=m_loadedModules.length,theParts;for(i=0;i<len;++i){theParts=m_loadedModules[i].split("!");theSrc=theParts[0]+".js";if(theSrc==aFileName){throw new Error("DUPLICATE MODULE ERROR: "+aFileName)}}theSrc=aFileName+".js";if(aPath){theSrc+="!"+aPath}m_loadedModules.push(theSrc);theSrc=thePath+aFileName+".js";document.write('<script type="text/javascript" src="'+theSrc+'"><\/script>')}function getVersionInfo(){var theDate="",theVersion="",theMod;for(i in m_registeredModules){theMod=m_registeredModules[i];if(theMod.date>theDate){theDate=theMod.date}if(theMod.version>theVersion){theVersion=theMod.version}}return{date:theDate,version:theVersion}}function register(aModuleName,aFileName,aDateModified,aVersionModified){aModuleName=aModuleName.toLowerCase();aVersionModified=aVersionModified.toUpperCase();if(m_registeredModules[aModuleName]){throw new Error("Register: Module, "+aModuleName+", error - duplicate registration")}if(aDateModified.search(/\d{8}/)<0){throw new Error("Register: Invalid date format ("+aDateModified+") specified for "+aModuleName+" module - YYYYMMDD is required")}if(aVersionModified.search(/\d\.\d\-[0-9X]\.\d{2}/)<0){throw new Error("Register: Invalid version format ("+aVersionModified+") specified for "+aModuleName+"module - N.N-X.NN is required")}m_registeredModules[aModuleName]={file:aFileName,date:aDateModified,version:aVersionModified};if(!m_loadedModules){initLoadedModules(aFileName)}}function include(aModuleName,aModulePath){if(!aModuleName){return}if(!m_loadedModules){throw new Error("Neaux.include - Cannot include, the base script was not registered")}var theModules=typeof aModuleName=="string"?aModuleName.split(","):aModuleName,len,i;if(typeof theModules!="object"||!(theModules instanceof Array)){throw new Error("include: module must be comma-delimited list of or an array of filename strings")}for(i=0,len=theModules.length;i<len;i++){loadModule(theModules[i],aModulePath)}}return{getModules:function(){return m_loadedModules||[]},getRegisteredModules:function(){return m_registeredModules},getDefaultPath:function(){return m_defaultPath},getVersionInfo:getVersionInfo,register:register,include:include,toString:function(){return"[Neaux.Module]"}}}());Neaux.App={toString:function(){return"[Neaux.App]"}};Neaux.register=Neaux.Module.register;Neaux.include=Neaux.Module.include;Neaux.register("Neaux","neauxware.js","20110322","0.6-1.03")}());
(function(){Neaux.Manifest={load:function(){Neaux.include("sizzle","extern");Neaux.include("object,array,string,function,dom,event","lib");Neaux.include("http,easing","lib");Neaux.include("base,event_source","base");Neaux.include("connection,tween,transition","misc");Neaux.include("component,form","proto")},toString:function(){return"[Neaux.Manifest]"}};Neaux.Manifest.load();Neaux.register("Manifest","manifest.js","20110208","0.6-1.03",{include:false})}());
/*
 * Sizzle CSS Selector Engine - v1.0
 *  Copyright 2009, The Dojo Foundation
 *  Released under the MIT, BSD, and GPL Licenses.
 *  More information: http://sizzlejs.com/
 */
(function(){var q=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,j=0,d=Object.prototype.toString,p=false,i=true;[0,0].sort(function(){i=false;return 0});var b=function(w,e,z,A){z=z||[];e=e||document;var C=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!w||typeof w!=="string"){return z}var t,E,H,s,D,G,F,y,v=true,u=b.isXML(e),x=[],B=w;do{q.exec("");t=q.exec(B);if(t){B=t[3];x.push(t[1]);if(t[2]){s=t[3];break}}}while(t);if(x.length>1&&k.exec(w)){if(x.length===2&&f.relative[x[0]]){E=h(x[0]+x[1],e)}else{E=f.relative[x[0]]?[e]:b(x.shift(),e);while(x.length){w=x.shift();if(f.relative[w]){w+=x.shift()}E=h(w,E)}}}else{if(!A&&x.length>1&&e.nodeType===9&&!u&&f.match.ID.test(x[0])&&!f.match.ID.test(x[x.length-1])){D=b.find(x.shift(),e,u);e=D.expr?b.filter(D.expr,D.set)[0]:D.set[0]}if(e){D=A?{expr:x.pop(),set:a(A)}:b.find(x.pop(),x.length===1&&(x[0]==="~"||x[0]==="+")&&e.parentNode?e.parentNode:e,u);E=D.expr?b.filter(D.expr,D.set):D.set;if(x.length>0){H=a(E)}else{v=false}while(x.length){G=x.pop();F=G;if(!f.relative[G]){G=""}else{F=x.pop()}if(F==null){F=e}f.relative[G](H,F,u)}}else{H=x=[]}}if(!H){H=E}if(!H){b.error(G||w)}if(d.call(H)==="[object Array]"){if(!v){z.push.apply(z,H)}else{if(e&&e.nodeType===1){for(y=0;H[y]!=null;y++){if(H[y]&&(H[y]===true||H[y].nodeType===1&&b.contains(e,H[y]))){z.push(E[y])}}}else{for(y=0;H[y]!=null;y++){if(H[y]&&H[y].nodeType===1){z.push(E[y])}}}}}else{a(H,z)}if(s){b(s,C,z,A);b.uniqueSort(z)}return z};b.uniqueSort=function(s){if(c){p=i;s.sort(c);if(p){for(var e=1;e<s.length;e++){if(s[e]===s[e-1]){s.splice(e--,1)}}}}return s};b.matches=function(e,s){return b(e,null,null,s)};b.matchesSelector=function(e,s){return b(s,null,null,[e]).length>0};b.find=function(y,e,z){var x;if(!y){return[]}for(var u=0,t=f.order.length;u<t;u++){var v,w=f.order[u];if((v=f.leftMatch[w].exec(y))){var s=v[1];v.splice(1,1);if(s.substr(s.length-1)!=="\\"){v[1]=(v[1]||"").replace(/\\/g,"");x=f.find[w](v,e,z);if(x!=null){y=y.replace(f.match[w],"");break}}}}if(!x){x=e.getElementsByTagName("*")}return{set:x,expr:y}};b.filter=function(C,B,F,v){var x,e,t=C,H=[],z=B,y=B&&B[0]&&b.isXML(B[0]);while(C&&B.length){for(var A in f.filter){if((x=f.leftMatch[A].exec(C))!=null&&x[2]){var G,E,s=f.filter[A],u=x[1];e=false;x.splice(1,1);if(u.substr(u.length-1)==="\\"){continue}if(z===H){H=[]}if(f.preFilter[A]){x=f.preFilter[A](x,z,F,H,v,y);if(!x){e=G=true}else{if(x===true){continue}}}if(x){for(var w=0;(E=z[w])!=null;w++){if(E){G=s(E,x,w,z);var D=v^!!G;if(F&&G!=null){if(D){e=true}else{z[w]=false}}else{if(D){H.push(E);e=true}}}}}if(G!==undefined){if(!F){z=H}C=C.replace(f.match[A],"");if(!e){return[]}break}}}if(C===t){if(e==null){b.error(C)}else{break}}t=C}return z};b.error=function(e){throw"Syntax error, unrecognized expression: "+e};var f=b.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(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(e){return e.getAttribute("href")}},relative:{"+":function(x,s){var u=typeof s==="string",w=u&&!/\W/.test(s),y=u&&!w;if(w){s=s.toLowerCase()}for(var t=0,e=x.length,v;t<e;t++){if((v=x[t])){while((v=v.previousSibling)&&v.nodeType!==1){}x[t]=y||v&&v.nodeName.toLowerCase()===s?v||false:v===s}}if(y){b.filter(s,x,true)}},">":function(x,s){var w,v=typeof s==="string",t=0,e=x.length;if(v&&!/\W/.test(s)){s=s.toLowerCase();for(;t<e;t++){w=x[t];if(w){var u=w.parentNode;x[t]=u.nodeName.toLowerCase()===s?u:false}}}else{for(;t<e;t++){w=x[t];if(w){x[t]=v?w.parentNode:w.parentNode===s}}if(v){b.filter(s,x,true)}}},"":function(u,s,w){var v,t=j++,e=r;if(typeof s==="string"&&!/\W/.test(s)){s=s.toLowerCase();v=s;e=o}e("parentNode",s,t,u,v,w)},"~":function(u,s,w){var v,t=j++,e=r;if(typeof s==="string"&&!/\W/.test(s)){s=s.toLowerCase();v=s;e=o}e("previousSibling",s,t,u,v,w)}},find:{ID:function(s,t,u){if(typeof t.getElementById!=="undefined"&&!u){var e=t.getElementById(s[1]);return e&&e.parentNode?[e]:[]}},NAME:function(t,w){if(typeof w.getElementsByName!=="undefined"){var s=[],v=w.getElementsByName(t[1]);for(var u=0,e=v.length;u<e;u++){if(v[u].getAttribute("name")===t[1]){s.push(v[u])}}return s.length===0?null:s}},TAG:function(e,s){return s.getElementsByTagName(e[1])}},preFilter:{CLASS:function(u,s,t,e,x,y){u=" "+u[1].replace(/\\/g,"")+" ";if(y){return u}for(var v=0,w;(w=s[v])!=null;v++){if(w){if(x^(w.className&&(" "+w.className+" ").replace(/[\t\n\r]/g," ").indexOf(u)>=0)){if(!t){e.push(w)}}else{if(t){s[v]=false}}}}return false},ID:function(e){return e[1].replace(/\\/g,"")},TAG:function(s,e){return s[1].toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){b.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var s=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(s[1]+(s[2]||1))-0;e[3]=s[3]-0}else{if(e[2]){b.error(e[0])}}e[0]=j++;return e},ATTR:function(v,s,t,e,w,x){var u=v[1].replace(/\\/g,"");if(!x&&f.attrMap[u]){v[1]=f.attrMap[u]}if(v[2]==="~="){v[4]=" "+v[4]+" "}return v},PSEUDO:function(v,s,t,e,w){if(v[1]==="not"){if((q.exec(v[3])||"").length>1||/^\w/.test(v[3])){v[3]=b(v[3],null,null,s)}else{var u=b.filter(v[3],s,t,true^w);if(!t){e.push.apply(e,u)}return false}}else{if(f.match.POS.test(v[0])||f.match.CHILD.test(v[0])){return true}}return v},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){e.parentNode.selectedIndex;return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(t,s,e){return !!b(e[3],t).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(e){return"text"===e.type},radio:function(e){return"radio"===e.type},checkbox:function(e){return"checkbox"===e.type},file:function(e){return"file"===e.type},password:function(e){return"password"===e.type},submit:function(e){return"submit"===e.type},image:function(e){return"image"===e.type},reset:function(e){return"reset"===e.type},button:function(e){return"button"===e.type||e.nodeName.toLowerCase()==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)}},setFilters:{first:function(s,e){return e===0},last:function(t,s,e,u){return s===u.length-1},even:function(s,e){return e%2===0},odd:function(s,e){return e%2===1},lt:function(t,s,e){return s<e[3]-0},gt:function(t,s,e){return s>e[3]-0},nth:function(t,s,e){return e[3]-0===s},eq:function(t,s,e){return e[3]-0===s}},filter:{PSEUDO:function(t,y,x,z){var e=y[1],s=f.filters[e];if(s){return s(t,x,y,z)}else{if(e==="contains"){return(t.textContent||t.innerText||b.getText([t])||"").indexOf(y[3])>=0}else{if(e==="not"){var u=y[3];for(var w=0,v=u.length;w<v;w++){if(u[w]===t){return false}}return true}else{b.error(e)}}}},CHILD:function(e,u){var x=u[1],s=e;switch(x){case"only":case"first":while((s=s.previousSibling)){if(s.nodeType===1){return false}}if(x==="first"){return true}s=e;case"last":while((s=s.nextSibling)){if(s.nodeType===1){return false}}return true;case"nth":var t=u[2],A=u[3];if(t===1&&A===0){return true}var w=u[0],z=e.parentNode;if(z&&(z.sizcache!==w||!e.nodeIndex)){var v=0;for(s=z.firstChild;s;s=s.nextSibling){if(s.nodeType===1){s.nodeIndex=++v}}z.sizcache=w}var y=e.nodeIndex-A;if(t===0){return y===0}else{return(y%t===0&&y/t>=0)}}},ID:function(s,e){return s.nodeType===1&&s.getAttribute("id")===e},TAG:function(s,e){return(e==="*"&&s.nodeType===1)||s.nodeName.toLowerCase()===e},CLASS:function(s,e){return(" "+(s.className||s.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(w,u){var t=u[1],e=f.attrHandle[t]?f.attrHandle[t](w):w[t]!=null?w[t]:w.getAttribute(t),x=e+"",v=u[2],s=u[4];return e==null?v==="!=":v==="="?x===s:v==="*="?x.indexOf(s)>=0:v==="~="?(" "+x+" ").indexOf(s)>=0:!s?x&&e!==false:v==="!="?x!==s:v==="^="?x.indexOf(s)===0:v==="$="?x.substr(x.length-s.length)===s:v==="|="?x===s||x.substr(0,s.length+1)===s+"-":false},POS:function(v,s,t,w){var e=s[2],u=f.setFilters[e];if(u){return u(v,t,s,w)}}}};var k=f.match.POS,g=function(s,e){return"\\"+(e-0+1)};for(var n in f.match){f.match[n]=new RegExp(f.match[n].source+(/(?![^\[]*\])(?![^\(]*\))/.source));f.leftMatch[n]=new RegExp(/(^(?:.|\r|\n)*?)/.source+f.match[n].source.replace(/\\(\d+)/g,g))}var a=function(s,e){s=Array.prototype.slice.call(s,0);if(e){e.push.apply(e,s);return e}return s};try{Array.prototype.slice.call(document.documentElement.childNodes,0)[0].nodeType}catch(l){a=function(v,u){var t=0,s=u||[];if(d.call(v)==="[object Array]"){Array.prototype.push.apply(s,v)}else{if(typeof v.length==="number"){for(var e=v.length;t<e;t++){s.push(v[t])}}else{for(;v[t];t++){s.push(v[t])}}}return s}}var c,m;if(document.documentElement.compareDocumentPosition){c=function(s,e){if(s===e){p=true;return 0}if(!s.compareDocumentPosition||!e.compareDocumentPosition){return s.compareDocumentPosition?-1:1}return s.compareDocumentPosition(e)&4?-1:1}}else{c=function(z,y){var w,s,t=[],e=[],v=z.parentNode,x=y.parentNode,A=v;if(z===y){p=true;return 0}else{if(v===x){return m(z,y)}else{if(!v){return -1}else{if(!x){return 1}}}}while(A){t.unshift(A);A=A.parentNode}A=x;while(A){e.unshift(A);A=A.parentNode}w=t.length;s=e.length;for(var u=0;u<w&&u<s;u++){if(t[u]!==e[u]){return m(t[u],e[u])}}return u===w?m(z,e[u],-1):m(t[u],y,1)};m=function(s,e,t){if(s===e){return t}var u=s.nextSibling;while(u){if(u===e){return -1}u=u.nextSibling}return 1}}b.getText=function(e){var s="",u;for(var t=0;e[t];t++){u=e[t];if(u.nodeType===3||u.nodeType===4){s+=u.nodeValue}else{if(u.nodeType!==8){s+=b.getText(u.childNodes)}}}return s};(function(){var s=document.createElement("div"),t="script"+(new Date()).getTime(),e=document.documentElement;s.innerHTML="<a name='"+t+"'/>";e.insertBefore(s,e.firstChild);if(document.getElementById(t)){f.find.ID=function(v,w,x){if(typeof w.getElementById!=="undefined"&&!x){var u=w.getElementById(v[1]);return u?u.id===v[1]||typeof u.getAttributeNode!=="undefined"&&u.getAttributeNode("id").nodeValue===v[1]?[u]:undefined:[]}};f.filter.ID=function(w,u){var v=typeof w.getAttributeNode!=="undefined"&&w.getAttributeNode("id");return w.nodeType===1&&v&&v.nodeValue===u}}e.removeChild(s);e=s=null})();(function(){var e=document.createElement("div");e.appendChild(document.createComment(""));if(e.getElementsByTagName("*").length>0){f.find.TAG=function(s,w){var v=w.getElementsByTagName(s[1]);if(s[1]==="*"){var u=[];for(var t=0;v[t];t++){if(v[t].nodeType===1){u.push(v[t])}}v=u}return v}}e.innerHTML="<a href='#'></a>";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){f.attrHandle.href=function(s){return s.getAttribute("href",2)}}e=null})();if(document.querySelectorAll){(function(){var e=b,u=document.createElement("div"),t="__sizzle__";u.innerHTML="<p class='TEST'></p>";if(u.querySelectorAll&&u.querySelectorAll(".TEST").length===0){return}b=function(C,w,y,B){w=w||document;C=C.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!B&&!b.isXML(w)){if(w.nodeType===9){try{return a(w.querySelectorAll(C),y)}catch(z){}}else{if(w.nodeType===1&&w.nodeName.toLowerCase()!=="object"){var x=w.getAttribute("id"),v=x||t,E=w.parentNode,D=/^\s*[+~]/.test(C);if(!x){w.setAttribute("id",v)}else{v=v.replace(/'/g,"\\$&")}if(D&&E){w=w.parentNode}try{if(!D||E){return a(w.querySelectorAll("[id='"+v+"'] "+C),y)}}catch(A){}finally{if(!x){w.removeAttribute("id")}}}}}return e(C,w,y,B)};for(var s in e){b[s]=e[s]}u=null})()}(function(){var e=document.documentElement,t=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector,s=false;try{t.call(document.documentElement,"[test!='']:sizzle")}catch(u){s=true}if(t){b.matchesSelector=function(v,x){x=x.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!b.isXML(v)){try{if(s||!f.match.PSEUDO.test(x)&&!/!=/.test(x)){return t.call(v,x)}}catch(w){}}return b(x,null,null,[v]).length>0}}})();(function(){var e=document.createElement("div");e.innerHTML="<div class='test e'></div><div class='test'></div>";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}f.order.splice(1,0,"CLASS");f.find.CLASS=function(s,t,u){if(typeof t.getElementsByClassName!=="undefined"&&!u){return t.getElementsByClassName(s[1])}};e=null})();function o(s,x,w,A,y,z){for(var u=0,t=A.length;u<t;u++){var e=A[u];if(e){var v=false;e=e[s];while(e){if(e.sizcache===w){v=A[e.sizset];break}if(e.nodeType===1&&!z){e.sizcache=w;e.sizset=u}if(e.nodeName.toLowerCase()===x){v=e;break}e=e[s]}A[u]=v}}}function r(s,x,w,A,y,z){for(var u=0,t=A.length;u<t;u++){var e=A[u];if(e){var v=false;e=e[s];while(e){if(e.sizcache===w){v=A[e.sizset];break}if(e.nodeType===1){if(!z){e.sizcache=w;e.sizset=u}if(typeof x!=="string"){if(e===x){v=true;break}}else{if(b.filter(x,[e]).length>0){v=e;break}}}e=e[s]}A[u]=v}}}if(document.documentElement.contains){b.contains=function(s,e){return s!==e&&(s.contains?s.contains(e):true)}}else{if(document.documentElement.compareDocumentPosition){b.contains=function(s,e){return !!(s.compareDocumentPosition(e)&16)}}else{b.contains=function(){return false}}}b.isXML=function(e){var s=(e?e.ownerDocument||e:0).documentElement;return s?s.nodeName!=="HTML":false};var h=function(e,y){var w,u=[],v="",t=y.nodeType?[y]:y;while((w=f.match.PSEUDO.exec(e))){v+=w[0];e=e.replace(f.match.PSEUDO,"")}e=f.relative[e]?e+"*":e;for(var x=0,s=t.length;x<s;x++){b(e,t[x],u)}return b.filter(v,u)};window.Sizzle=b})();
(function(){Neaux.Object=function(){var k=["toString","valueOf","toLocaleString"];function b(o){return(typeof o=="object")&&(o.constructor==Object.prototype.constructor)}function d(o){return(typeof o=="object"||(typeof NodeList!="undefined"&&o instanceof NodeList)&&!o.tagName)&&(typeof o.length=="number")}function l(o){return !!(typeof o=="object"&&typeof o.tagName!="undefined")}function h(o){return(typeof Neaux.Base!="undefined")&&(o instanceof Neaux.Base)}function f(s,r,p){var q=r||0,o=(typeof p=="undefined")?s.length:p;return Array.prototype.slice.call(arguments,q,o)}function n(q){var p=[];for(var o in q){p.push(o)}return p}function m(q){var o=[];for(var p in q){o.push(q[p])}return o}function j(v){var p;for(var s=1,o=arguments.length;s<o;++s){p=arguments[s]||{};if(typeof p!="object"){throw new Error("Object.merge - All arguments must be objects")}for(var r in p){v[r]=p[r]}if(Neaux.isMSIE){for(var q=0,u=k.length;q<u;q++){var t=k[s];if(typeof p[t]=="function"&&Object.prototype[t]!=p[t]){v[t]=p[t]}}}}return v}function c(p){var t=function(){var A=this.constructor.prototype.__construct,y=arguments,z,x=h(this)&&arguments.length>0&&b(arguments[0]);if(x){y=Array.prototype.slice.call(arguments);z=y.shift()}A.apply(this,y);if(x){this.applyParams(z,true)}};var v=(typeof p=="function")?p:null,s=v?arguments[1]:p,w,r;if(!s){r=arguments.length;if(v||arguments.length<=1){throw new Error("Object.createClass - Class object must be specified")}else{if(arguments.length>1){throw new Error("Object.createClass - Superclass object is invalid")}}}if(v){var u=function(){};u.prototype=v.prototype;t.prototype=new u}t.__superclass=v;for(var q in s){w=s[q];if(typeof w=="function"||(typeof w!="undefined"&&w!=null)){t.prototype[q]=w}}var o=s.toString;if(typeof o=="function"&&o!=Object.prototype.toString){t.prototype.toString=o}t.prototype.constructor=t;if(!t.prototype.__construct){t.prototype.__construct=function(){}}return t}function i(r){var o=[],q=Neaux.Object.encodeJson;if(typeof aObject!="object"){throw new Error("Object.encodeJson: Argument must be an object")}for(var p in aObject){o.push('"'+p+'":'+(function(){var s=aObject[p];switch(typeof s){case"object":return(s instanceof Array)?"["+s+"]":q(s);case"string":return'"'+s+'"';case"number":if(isFinite(s)){return s}case"boolean":return s?true:false}throw new Error("Object.encodeJson - Invalid json syntax (internal)")}()))}return"{"+o.join(",")+"}"}function e(p,w){var u=[],o,v,y,x,s,A,z=/%20/g;w=(typeof w=="undefined")?true:w;for(var r in p){v=r,x=p[r],s=false;if(typeof x=="function"){continue}if(typeof x=="object"){s=x instanceof Array;if(!s){continue}}y=(s&&w)?v+"[]":v;for(var q=0,t=p[r].length;q<(s?t:1);q++){if(s){x=p[r][q]}o=encodeURIComponent(y).replace(z,"+")+"="+encodeURIComponent(x).replace(z,"+");u.push(o)}}return u.join("&")}function g(p){if(!aObject.nodeType){throw new Error("encodeHtmlString: the object is not a DOM object")}var o=document.createElement("div");o.appendChild(aObject.cloneNode(true));return o.innerHTML}return{isNative:b,isCollection:d,isHtmlElement:l,isNwcObject:h,collectionToArray:f,keys:n,values:m,merge:j,createClass:c,encodeQueryString:e,encodeJson:i,toString:function(){return"[Neaux.Object]"}}}();var a=Neaux.Object;a.merge(Neaux,{createClass:a.createClass,merge:a.merge});Neaux.register("Object","object.js","20110210","0.6-1.03")}());
(function(){Neaux.Array=function(){function c(f,g,h){var e=f.length>>>0;h=Number(h)||0;h=(h<0)?Math.ceil(h):Math.floor(h);if(h<0){h+=e}for(;h<e;h++){if(h in f&&f[h]===g){return h}}return -1}function d(f,h,j){var e=f.length>>>0;if(typeof h!=="function"){throw TypeError()}for(var g=0;g<e;g++){if(g in f){h.call(j,f[g],g,f)}}}return{indexOf:c,forEach:d,toString:function(){return"[Neaux.Array]"}}}();var b=Array.prototype,a=Neaux.Array;if(typeof Array.prototype.indexOf!="function"){Array.prototype.indexOf=function(c,d){return a.indexOf(this,c,d)}}if(typeof Array.prototype.forEach!="function"){Array.prototype.forEach=function(c,d){return a.forEach(this,c,d)}}Neaux.register("Array","array.js","20101223","0.6-0.00")}());
(function(){Neaux.String=function(){function camelize(aStr){var arr=aStr.split("-"),retVal=arr[0];for(var i=1,len=arr.length;i<len;i++){retVal+=arr[i].charAt(0).toUpperCase()+arr[i].substring(1)}return retVal}function trim(aStr){return aStr.replace(/^\s+/,"").replace(/\s+$/,"")}function ltrim(aStr){return aStr.replace(/^\s+/,"")}function rtrim(aStr){return aStr.replace(/\s+$/,"")}function isQueryString(aStr){var pair,pairs;if(typeof aStr=="string"){pairs=aStr.split("&");for(var i=0,len=pairs.length;i<len;i++){pair=pairs[i].split("=");if((pair.length!=2)||pair[0].length==0){return false}}return true}return false}function decodeJson(aStr){var my_JSON_object=!(/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(aStr.replace(/"(\\.|[^"\\])*"/g,"")))&&eval("("+aStr+")");return my_JSON_object}function decodeQueryString(aStr){var theObj={},key,newKey,value,pair,thePairs=aQueryString.split("&");for(var i=0,len=thePairs.length;i<len;++i){pair=thePairs[i].split("=");key=decodeURIComponent(pair[0]);value=pair[0]||decodeURIComponent(pair[1]);newKey=theObj[field];if(!newKey){newKey=value}else{if(typeof newKey=="string"){newKey=[newKey]}newKey.push(value)}}return theObj}function decodeHtmlString(aStr){var theNodes,theFrag=document.createDocumentFragment(),theObj=document.createElement("div");theObj.innerHTML=aStr;theNodes=theObj.childNodes;for(var i=0,len=theNodes.length;i<len;i++){theFrag.appendChild(theNodes[i].cloneNode(true))}return theFrag}return{trim:trim,ltrim:ltrim,rtrim:rtrim,camelize:camelize,isQueryString:isQueryString,decodeJson:decodeJson,decodeQueryString:decodeQueryString,toString:function(){return"[Neaux.String]"}}}();var $String=Neaux.String,pString=String.prototype;if(pString.trim!=="function"){pString.trim=function(){return $String.trim(this)}}Neaux.register("String","string.js","20110128","0.6-1.02")}());
(function(){Neaux.Function=function(){function f(g,j){if(arguments.length<3&&j===undefined){return g}var h=b.slice,i=h.call(arguments,2);return function(){g.apply(j,i.concat(h.call(arguments)))}}function d(h,g,i){return setTimeout(i?f(h,i):h,g)}function e(h,g,i){return setInterval(i?f(h,i):h,g)}return{bind:f,delay:d,repeat:e,toString:function(){return"[Neaux.Function]"}}}();var a=Function.prototype,b=Array.prototype,c=Neaux.Function;if(typeof a.bind!=="function"){a.bind=function(){return c.bind.apply(this,[this].concat(b.slice.call(arguments)))}}Neaux.register("Function","function.js","20110104","0.6-1.00")}());
(function(){Neaux.Dom=function(){function b(i){return(typeof Document!="undefined"&&i instanceof Document)||!!i.compatMode}function h(i){return(typeof Element!="undefined"&&i instanceof Element)||!!i.nodeName}function e(i){var j=document;if(typeof i=="object"){if(h(i)||i==j.body){return i}if(typeof Neaux.Component!="undefined"&&i instanceof Neaux.Component){return i.getElement()}}else{if(typeof i=="string"){return j.getElementById(i)}}return null}function d(o){var n,k=[],m;if(h(o)){return o}if(typeof o!="string"){throw TypeError()}m=o.split(",");for(var l=0,j=m.length;l<j;++l){n=e(m[l].trim());if(j>1){k.push(n)}}return(j==1)?n:k}function a(q,o){var k=o||document,r,l,n,p,j,m=0;if(typeof k=="string"){k=e(k)}if(!h(k)&&!b(k)){throw new TypeError()}if(typeof document.getElementByClassName!="undefined"){return Array.prototype.slice.call(k.getElementsByClassName(q))}l=[];n=k.getElementsByTagName("*");j=new RegExp("\\b"+q+"\\b");while(p=n[m++]){r=n.className;if(r&&r.indexOf(q)>=0){if(r===q||j.test(r)){l.push(n)}}}return l}function g(i,k){var j=k||document;if(typeof j=="string"){j=document.getElementById(j)}i=i||"*";return Array.prototype.slice.call(j.getElementsByTagName(i))}function f(i,j){return Sizzle(i,j)}function c(i){var j=[],k;k=i.trim();throw new Error("Dom::querySelectorAll is not implemented");return j}return{isDoc:b,isElement:h,getElement:e,getElementsById:d,getElementsByClassName:a,getElementsByTagName:g,getElementsBySelector:f,querySelectorAll:c,toString:function(){return"[Neaux.Dom]"}}}();Neaux.$=Neaux.Dom.getElementsById;Neaux.$$=Neaux.Dom.getElementsBySelector;Neaux.register("Dom","dom.js","20101224","0.6-0.00")}());
(function(){Neaux.Event=(function(){var d={},n;n=(function(){var q=document;var r={Dom:{addListener:function(t,s,u){t.addEventListener(s,u,false)},removeListener:function(t,s,u){t.removeEventListener(s,u,false)},dispatch:function(t,s){if(!t.dispatchEvent){throw new Error("Event:dispatch: A Dispatch request was made to an object that is not an Event Target")}var u=document.createEvent("Events");u.initEvent(s,false,false);t.dispatchEvent(u)},setCapture:function(u,v){for(var t=0,s=aType.length;t<s;t++){q.removeEventListener(aType[t],v,true)}},releaseCapture:function(u,v){for(var t=0,s=aType.length;t<s;t++){q.removeEventListener(aType[t],v,true)}}},IE:{addListener:function(t,s,u){t.attachEvent("on"+s,u)},removeListener:function(t,s,u){t.detachEvent("on"+s,u)},dispatch:function(t,s){if(!t.fireEvent){throw new Error("Event:dispatch: A Dispatch request was made to an object that is not an Event Target")}var u=q.createEventObject();t.fireEvent("on"+s,u)},setCapture:function(t,u){t.setCapture();for(var s=0;s<aType.length;s++){t.attachEvent("on"+aType[s],u)}},releaseCapture:function(u,v){for(var t=0,s=aType.length;t<s;t++){u.detachEvent("on"+aType[t],v)}u.releaseCapture()}},Legacy:{addListener:function(t,s,u){throwLegacyError()},removeListener:function(t,s,u){throwLegacyError()},dispatch:function(t,s){throwLegacyError()},setCapture:function(s,t){throwLegacyError()},releaseCapture:function(){throwLegacyError()}}};return(typeof q.addEventListener=="function")?r.Dom:(q.attachEvent?r.IE:r.Legacy)}());var m=function(q,r){this.initialize(q,r)};m.prototype=(function(){var q=0;var r={CAPTURING_PHASE:1,AT_TARGET:2,BUBBLING_PHASE:3};return{initialize:function(s,t){this.m_event=s||null;this.m_target=t||null},getNativeEvent:function(){return this.m_event},getType:function(){return this.m_event.type},getTarget:function(){var s=this.m_event;return s.target||s.srcElement||document},getCurrentTarget:function(){return this.m_event.currentTarget||this.m_target},getEventPhase:function(){return(this.getCurrentTarget()==this.getTarget())?r.AT_TARGET:r.BUBBLING_PHASE},getScreenPos:function(){return{x:this.m_event.screenX,y:this.m_event.screenY}},getClientPos:function(){return{x:this.m_event.clientX,y:this.m_event.clientY}},getButton:function(){return this.m_event.button},getCtrlKey:function(){return this.m_event.ctrlKey},getShiftKey:function(){return this.m_event.shiftKey},getAltKey:function(){return this.m_event.altKey},getMetaKey:function(){return this.m_event.metaKey},relatedTarget:function(){var s=this.m_event;return s.relatedTarget||function(){switch(s.type){case"mouseover":return s.fromElement;case"mouseout":return s.toElement;default:return null}}},getKeyCode:function(){var s=this.m_event;return s.charCode||s.keyCode},getCharCode:function(){return this.m_event.charCode},stopPropagation:function(){var s=this.m_event;if(s.stopPropagation){return s.stopPropagation()}s.cancelBubble=true},preventDefault:function(){var s=this.m_event;if(s.preventDefault){s.preventDefault()}else{s.returnValue=false}},stopEvents:function(){this.stopPropagation();this.preventDefault()},toString:function(){return"[EventObject]"}}}());function k(s,v,x){var w,r,t=d;if((r=t?t[s]:null)){for(var u=0,q=r.length;u<q;u++){w=r[u];if(w.target==v&&w.listener==x){return w}}}return null}function o(u,s,w){var r,v,q,t=d;r=function(x){var y=new m(x||window.event,u);if(w.call(u,y)===false){y.preventDefault()}};if(k(s,u,w)){throw new Error("ListenerList - LISTENER EXISTS - NOT IMPLEMENTED")}v={target:u,listener:w,proxy:r};q=t[s];if(!q){q=d[s]=[]}q.push(v);return r}function l(v,s,x){var w,t=d,r=t[s];for(var u=0,q=r.length;u<q;u++){var w=r[u];if(w.target==v&&w.listener==x){return r.splice(u,1)[0].proxy}}return null}function g(q){return Neaux.Object.isHtmlElement(q)||((typeof Neaux.EventSource!="undefined")&&(q instanceof Neaux.EventSource))||(q==window)||(!!q.implementation)}function e(t){var s,u,v=Neaux.$;if(typeof t=="string"){s=t.replace(/ /g,"").split(",")}else{if(t instanceof Array){s=t}else{if(g(t)){s=[t]}else{if(Neaux.Object.isCollection(t)){s=Array.prototype.slice.call(t)}else{throw new Error("Event::getTargets - Invalid Event Target(s) specified")}}}}for(var r=0,q=s.length;r<q;r++){u=s[r];if(typeof u=="string"){u=s[r]=v(u)}if(!u||!g(u)){throw new Error("Event::getTargets - Invalid Event Target(s) specified")}}return s}function i(q){if(typeof q=="string"){return q.replace(/ /g,"").split(",")}else{if(q instanceof Array){return q}else{throw new Error("Event::getEventTypes - Invalid Event Type Format Specified")}}}function c(x,A,r){var y=e(x),q,v=i(A),w,B;for(var C=0,u=y.length;C<u;C++){q=y[C];for(var z=0,s=v.length;z<s;z++){w=v[z];if(q.addListener){q.addListener(w,r)}else{if(B=o(q,w,r)){n.addListener(q,w,B)}}}}}function f(x,A,r){var y=e(x),q,v=i(A),w,B;for(var C=0,u=y.length;C<u;C++){q=y[C];for(var z=0,s=v.length;z<s;z++){w=v[z];if(q.removeListener){q.removeListener(w,r)}else{if(B=l(q,w,r)){n.removeListener(q,w,B)}}}}}function j(r,q){throw new Error("Event::dispatch is not implemented")}function h(q,r){throw new Error("Event::setCapture is not implemented")}function p(q,r){throw new Error("Event::releaseCapture is not implemented")}__dbgDumpListenerTable=function(){var q=d,t="",s,r;for(s in q){r=q[s].length;t+=s+" ("+r+" entries):\n"}return t};return{addListener:c,removeListener:f,dispatch:j,setCapture:h,releaseCapture:p,toString:function(){return"[Neaux.Event]"}}}());var b=Neaux.Event;var a=[];Neaux.load=function(){for(var d=0,c=arguments.length;d<c;d++){a.push(arguments[d])}};b.addListener(window,"load",function(d){for(var e=0,c=a.length;e<c;e++){a[e].call(window,d)}if(typeof Neaux.main=="function"){Neaux.main(d)}});Neaux.on=b.addListener;Neaux.register("Event","event.js","20110215","0.6-1.03")}());
(function(){var a={};Neaux.Http=function(){var c=[],i={TEXT:"text/plain",HTML:"text/html",XMLTEXT:"text/xml",JSON:"application/json",FORM:"application/x-www-form-urlencoded",QUERY_STRING:"application/x-www-form-urlencoded",FILE:"multipart/form-data",UPLOAD:"multipart/form-data",XML:"application/xml",XHTML:"application/xhtml+xml"},d={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},f={OK:200,NOT_FOUND:404};Neaux.merge(a,i,d,f);function b(){var n;for(var o=0,m=c.length;o<m;++o){n=c[o];if(!n.__nw_locked){n.__nw_locked=true;return n}}n=(function(){try{return new XMLHttpRequest()}catch(p){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(p){}try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(p){}throw new Error("Http.XhrObject - The User Agent (Browser) does not support XML Http Requests.")})();n.__nw_locked=true;c.push(n);return n}function h(m){var o=Neaux.$(m),n;if(!o){throw new Error("The specified field does not exist")}switch(o.nodeName.toLowerCase()){case"input":var n=o.type.toLowerCase();if(n=="checkbox"||n=="radio"){return null}return o.value;case"button":case"select":return null;case"textarea":case"option":return o.value;default:return null}}function j(r){var s=Neaux.$(r),o={},n,q;if(!s){throw new Error("The specified form does not exist")}q=s.elements;for(var p=0,m=q.length;p<m;p++){n=q[p];o[n.name]=h(n)}return o}function e(E,z,C,n,w){var y,r,m=n||null,q,B,u,p=(typeof w=="string")?{contentType:w}:(w||{}),v=p.headers||{},t=p.contentType||v["content-type"],D=!!v.useFrame,s=!!C,o=(n&&n.tagName=="FORM");if(o){B=n;u=j(B);m=(t==i.JSON)?Neaux.Object.encodeJson(u):Neaux.Object.encodeQueryString(u);if(D||t==i.FILE||g(B)){t=i.FILE;B.method="post"}else{if(!p.contentType){t=B.enctype||i.FORM}}t=t.toLowerCase();if(!z){z=B.method||"get"}if(!E){E=B.action||null}}theUrl=E||(function(){throw new Error("Http.request - A URL was not specified")})();r=z||(n?"post":"get");if(r=="get"){if(m){if(theUrl.indexOf("?")>=0){throw new Error("Http.request - Data may only be specified for a GET request if the URI does not contain a query string")}theUrl+="?"+m;m=null}if(m){throw new Error("Http.request - A GET request may only contain a query string")}}else{if(!m){throw new Error("Http.request - No Data provided for POST request")}else{if(!t){t=undefined}}if(!t){throw new Error("Http.request - Undetectable data type given no content-type")}if(!D&&t!=i.FILE){}}if(D||t==i.FILE){return l(theUrl,r,theCallback,n,p)}q=b();q.open(r,theUrl,s);if(C){try{q.onreadystatechange=function(){var F=q.readyState;if(F==d.HEADERS_RECEIVED||F==d.DONE){C.call(q,k.call(q))}if(F==d.DONE){q.__nw_locked=false;q.onreadystatechange=null}}}catch(A){throw new Error("Http::request - Unable to connect handler to XMLHttpRequest object")}}if(r=="post"){v["content-type"]=t;v["content-length"]=m.length;for(var x in v){q.setRequestHeader(x,v[x].toString())}}q.send(m);return s?true:k(q)}function l(){}e.iframe=l;function k(){var n=null,m=null,o=null,p=this;if(this.readyState==d.DONE){var q=this.getResponseHeader("content-type");q=q?q.toLowerCase():"text/plain";n=this.status;m=(q=="application/xml"||q=="text/xml")?this.responseXML:null;o=(q=="application/json")?Neaux.String.decodeJson(this.responseText):null}return{isOK:function(){return(n==f.OK)?true:false},isDone:function(){return(p.readyState==d.DONE)?true:false},getStatus:function(){return n},getStatusText:function(){return n?p.statusText:null},getReadyState:function(){return p.readyState},isReadyState:function(r){return(r==p.readyState)},getText:function(){return p.responseText},getXml:function(){return m},getJson:function(){return o},getContentType:function(){return p.getResponseHeader("content-type")},unlock:function(){p.__nw_locked=false},toString:function(){return"[Neaux.Http.Response]"}}}function g(q){var o,p=q.elements;for(var n=0,m=p.length;n<m;n++){o=p[n];if(o.tagName=="INPUT"&&o.type=="file"&&o.value){return true}}return false}return{request:e,toString:function(){return"[Neaux.Http]"}}}();Neaux.merge(Neaux.Http,a);Neaux.request=Neaux.Http.request;Neaux.register("Http","http.js","20110129","0.6-1.02")}());
(function(){Neaux.Easing={linear:function(b,a,d,c){return(d*b/c+a)},sinusoidal:function(b,a,d,c){return a+((-Math.cos((b/c)*Math.PI)/2)+0.5)*d}};Neaux.register("Easing","easing.js","20110103","0.6-1.00")}());
(function(){var a=0;Neaux.Base=Neaux.createClass({__params:undefined,__classID:undefined,__construct:function(){},__paramHandler:function(c,b){if(b){this.__classID=a++}},getClassID:function(){return this.__classID},applyParams:function(c,k){if(!c||!this.__params){return}k=!!k;var j={},h,b=this.__params,f=this,d=this.constructor.prototype;for(var e=0,g=b.length;e<g;e++){h=b[e];if(typeof c[h]!="undefined"){j[h]=c[h]}}do{if(d.hasOwnProperty("__paramHandler")){d.__paramHandler.call(f,j,k)}d=d.constructor.__superclass;if(d){d=d.prototype}}while(d);Neaux.merge(this,j);return this},toString:function(){return"[Neaux.Base]"}});Neaux.Base.addParams=function(c,e){var h,g,f;if(!(c.prototype instanceof Neaux.Base)){throw new Error("Base::addParams - The specified class is not a subclass of Object.Base")}g=e||[];if(typeof g=="string"){g=g?g.split(","):[]}else{if(!(g instanceof Array)){throw new Error("Base::addParams - parameters must be specified as an array or comma-delimited list of strings")}}f=c.prototype.__params;f=f?[].concat(f):[];for(var d=0,b=g.length;d<b;d++){h=g[d];if(typeof h!="string"){throw new Error("Neaux.Base - Class parameters must be a string")}if(h&&f.indexOf(h)<0){f.push(h)}}c.prototype.__params=f;c.__params=g;return c};Neaux.register("Base","base.js","20110311","0.6-1.03")}());
(function(){var a=["listeners"];Neaux.EventSource=Neaux.createClass(Neaux.Base,{m_listeners:null,__eventTypes:null,__construct:function(){Neaux.Base.prototype.__construct.apply(this,arguments)},__paramHandler:function(e){if("listeners" in e){var d=e.listeners,c=this.__eventTypes;for(var b in d){if(c.indexOf(b)>=0){this.addListener(b,d[b])}}}},hasListener:function(b){if(this["on"+b]){return true}return !!(this.m_listeners&&this.m_listeners[b])},addListener:function(b,c){if(!this.m_listeners){this.m_listeners={}}if(!this.m_listeners[b]){this.m_listeners[b]=[]}this.m_listeners[b].push(c)},removeListener:function(b,c){},dispatchEvent:function(h,f){var j=this["on"+h],d=this.m_listeners?this.m_listeners[h]:null,c,g,b,e;if(!j&&!d){return null}f=f||{};c={event:h,source:this,cancelled:false};for(g in f){if(!c[g]){c[g]=f[g]}}if(j&&(e=j.call(this,c))===false){c.cancelled=true}if(d&&!c.cancelled){b=d.length;for(g=0;g<b&&!c.cancelled;++g){if(e=d[g].call(this,c)===false){c.cancelled=true}}}return c},toString:function(){return"[Neaux.EventSource]"}});Neaux.Base.addParams(Neaux.EventSource,a);Neaux.EventSource.addEvents=function(c,d){if(!(c.prototype instanceof Neaux.EventSource)){throw new Error("EventSource::addEvents - The specified class is not a subclass of EventSource")}var e=Neaux.Object,j,h=d||[],g=c.prototype.__eventTypes;if(typeof h=="string"){h=h.split(",")}else{if(e.isNative(h)){e.merge(c,h);h=e.values(h)}else{if(!(h instanceof Array)){throw new Error("EventSource::addEvents - event types must be specified as an array, hash or comma-delimited list of strings")}}}g=g?[].concat(g):[];for(var f=0,b=h.length;f<b;f++){j=h[f];if(typeof j!="string"){throw new Error("Neaux.Base - Class parameters must be a string")}if(j&&g.indexOf(j)<0){g.push(j)}}c.prototype.__eventTypes=g;c.__eventTypes=h;return c};Neaux.register("EventSource","event_source.js","20110311","0.6-1.03")}());
(function(){var a={INITIALIZE:"initialize",SUCCESS:"success",FAILURE:"failure",COMPLETE:"complete"},b=["url","method","data","form","contentType","charset","timeout","iframe","auto"];Neaux.Connection=Neaux.createClass(Neaux.EventSource,function(){var e=Neaux.Object,d=Neaux.Function,f=Neaux.Http;function c(g){var h=g.getReadyState();if(h==f.HEADERS_RECEIVED){this.dispatchEvent(a.INITIALIZE,g)}else{if(h==f.DONE){this.dispatchEvent((g.isOK()?a.SUCCESS:a.FAILURE),g);this.dispatchEvent(a.COMPLETE,g)}}}return{__construct:function(){if(this.auto){d.delay(function(){this.request()},0,this)}},request:function(g){var o=g||{},m=o.form||this.form||{},j=o.url||this.url,k=o.method||this.method,q=e.isNative(m)?(o.data||this.data):m,p=d.bind(c,this),l=o.contentType||this.contentType,i=o.charset||this.charset,n=o.timeout||this.timeout,h=o.iframe||this.iframe;theOptions=(n||h)?theOptions:l;if(typeof theOptions=="object"){if(l){theOptions.contentType=l}if(i){theOptions.charset=i}if(n){theOptions.timeout=n}if(h){theOptions.useframe=true}}return f.request(j,k,p,q,theOptions)},get:function(g){g=g||{};g.method="get";return this.request(g)},post:function(g){g=g||{};g.method="post";return this.request(g)},__paramHandler:function(g){},toString:function(){return"[Neaux.Connection]"}}}());Neaux.Base.addParams(Neaux.Connection,b);Neaux.EventSource.addEvents(Neaux.Connection,a);Neaux.register("Connection","connection.js","20110131","0.6-1.02")}());
(function(){var a=["from","to","direction","duration","rate","delay","auto","easing","tween"],c={START:"start",STOP:"stop",RESUME:"resume",CHANGE:"change",FINISH:"finish"},b={IN:0,OUT:1,FORWARD:0,REVERSE:1};Neaux.Tween=Neaux.createClass(Neaux.EventSource,function(){var d=Neaux,i=d.Easing,h=d.Function;function g(){var k=this,s=0,j=Math.ceil(this.duration/1000*this.rate),n=this.direction,m=(n==b.IN)?this.from:this.to,q=(n==b.IN)?(this.to-this.from):(this.from-this.to),l=this.easing,p=this.hasListener(c.CHANGE),o=this.onTweenChange;this.dispatchEvent(c.START);function r(){var t;if(++s>=j){f.call(k)}t=l(s,m,q,j);if(k.__debug){window.status="Tween = "+t}if(o){o.call(k,t)}if(p){k.dispatchEvent(c.CHANGE,{tween:t})}if(s>=j){delete k.m_handler;k.dispatchEvent(c.FINISH)}}e.call(this,r)}function e(l){var j=this.m_interval=1000/this.rate,k=l||this.m_handler;if(this.m_timer=h.repeat(k,j)){this.m_handler=k}}function f(){clearInterval(this.m_timer);delete this.m_timer}return{m_timer:undefined,m_handler:undefined,__debug:undefined,from:0,to:1,direction:b.IN,duration:1000,rate:30,easing:i.sinusoidal,tweenChangeHandler:undefined,__construct:function(){if(this.auto){this.start()}},__paramHandler:function(j){},isTweenInProgress:function(){return !!this.m_timer},start:function(j){if(this.m_timer){f.call(this)}if(this.m_handler){delete this.m_handler}if(j){this.applyParams(j)}var k=this.delay||0;h.delay(g,k,this);return this},stop:function(){f.call(this);this.dispatchEvent(c.STOP)},resume:function(){if(!this.m_handler){throw new Error("Tween::resume - tween is not active, nothing to resume")}this.dispatchEvent(c.RESUME);e.call(this)},rewind:function(){throw new Error("Tween::rewind - NOT IMPLEMENTED")},fastForward:function(){throw new Error("Tween::fastForward - NOT IMPLEMENTED")},yoyo:function(){throw new Error("Tween::yoyo - NOT IMPLEMENTED")},toString:function(){return"[Neaux.Tween]"}}}());Neaux.Base.addParams(Neaux.Tween,a);Neaux.EventSource.addEvents(Neaux.Tween,c);Neaux.merge(Neaux.Tween,b);Neaux.register("Tween","tween.js","20110415","0.6-1.03")}());
(function(){var c={},d=["target","property","from","to"],b={alpha:"opacity",x:"left",y:"top"},a=/(#?([A-Fa-f0-9]){3}(([A-Fa-f0-9]){3})?)/i,e=Neaux.String.camelize;Neaux.Transition=Neaux.createClass(Neaux.Tween,function(){function f(i){return i.currentStyle?i.currentStyle:document.defaultView.getComputedStyle(i,null)}function h(i){var j=i.filter;return(typeof j=="undefined")?i.opacity:(j.length?j.match(/\d+(\.\d+)?/)[0]/100:1)}function g(){var j,l=f(this.m_target);if(typeof this.m_property.opacity!="undefined"&&typeof l.filter!="undefined"){this.m_property.filter=this.m_property.opacity;delete this.m_property.opacity}for(var k in this.m_property){j=this.m_property[k];j.delta=parseFloat(j.to)-parseFloat(j.from);j.units=""}}return{m_target:null,m_property:null,__construct:function(){Neaux.Tween.prototype.__construct.apply(this,arguments)},start:function(i){if(i){this.applyParams(i)}if(!this.m_target){throw new Error("Transition::start - A tween target has not been provided")}if(!this.m_property){throw new Error("Transition::start - Tween properties have not been provided")}g.call(this);Neaux.Tween.prototype.start.call(this)},onTweenChange:function(j){var m=this.m_property,k=this.m_target,i,n;for(var l in m){i=m[l];n=(i.from+i.delta*j);if(l=="filter"){n="alpha(opacity="+Math.round(n*100)+")"}k.style[l]=n+i.units}},setTarget:function(i){var j=Neaux.$(i);if(!j){throw new Error("Transition::setTarget - Invalid Tween target")}if(j instanceof Array){throw new Error("Transition::setTarget - Tween Target must resolve to a single DOM element")}if(!Neaux.Object.isHtmlElement(j)){throw new Error("Transition::setTarget - Tween Target must be an HTML element")}if(this.isTweenInProgress()){throw new Error("Transition:setTarget - You cannot change target while tween in progress")}if(this.m_target){throw new Error("Transition::setTarget - Cannot replace existing target")}this.m_target=j},setProperty:function(l,m){var n={},k;if(typeof l=="string"){n[l]={from:m.from,to:m.to,units:m.units}}else{if(typeof l=="object"){throw new Error("Transition::setProperty - MULTIPLE PROPERTIES NOT IMPLEMENTED")}else{throw new Error("Transition::setProperty - Invalid property specification")}}if(!this.m_property){this.m_property={}}for(var j in n){k=b[j]||e(j);this.m_property[k]=n[j]}},setTween:function(i){Neaux.Tween.applyParams.call(this,i)},__paramHandler:function(j){var i=j.target,k=j.property,l=j.tween;if(i){this.setTarget(i)}if(l){this.setTween(l)}if(k){this.setProperty(k,j)}delete j.to;delete j.from},toString:function(){return"[Neaux.Transition]"}}}());Neaux.Base.addParams(Neaux.Transition,d);Neaux.EventSource.addEvents(Neaux.Transition,c);Neaux.register("Transition","transition.js","20110415","0.6-1.03")}());

