// NeauxScript V0.5-3.04 (14-Aug-2010) @14-Aug-2010 20:22:02
/*
 * NeauxScript V0.5 (neauxscript.js)
 * Copyright (c) 2007-2009  NeauxWare Technologies
 * All rights reserved.
 * License @ http://www.opensource.org/licenses/mit-license.php
 */

(function(){Neaux={name:"NeauxScript",author:"H.G.Laffler",organization:"Neauxware Technologies",homePage:"http://www.neauxware.com",Module:(function(){var _registeredModules={};var _loadedModules=["neauxscript.js"];var _includePath=null;return{getModules:function(){return _loadedModules},getRegisteredModules:function(){return _registeredModules},getIncludePath:function(){var thePath=_includePath;if(thePath){return thePath}var theScripts=document.getElementsByTagName("script");for(var i=0;i<theScripts.length&&!thePath;++i){var theOffset=theScripts[i].src.search(/neaux(script|ware)\.js$/gi);if(theOffset>=0){thePath=theScripts[i].src.substring(0,theOffset)}}_includePath=thePath;return thePath},register:function(aModuleName,aFileName,aDateModified,aVersionModified){aModuleName=aModuleName.toLowerCase();aVersionModified=aVersionModified.toUpperCase();if(_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")}_registeredModules[aModuleName]={file:aFileName,date:aDateModified,version:aVersionModified}},getVersionInfo:function(){var theDate="",theVersion="";var arrReg=_registeredModules;for(i in arrReg){if(arrReg[i].date>theDate){theDate=arrReg[i].date}if(arrReg[i].version>theVersion){theVersion=arrReg[i].version}}return{date:theDate,version:theVersion}},include:function(){var theModuleSet=[];for(var i=0;i<arguments.length;i++){var argList=arguments[i];if(typeof arguments[i]=="string"){argList=arguments[i].split(",")}else{if(!(argList instanceof Array)){throw new TypeError("Include: Java script files must be specified as strings")}}for(var j=0;j<argList.length;j++){if(argList[j] instanceof Array){throw new TypeError("Include: Arrays may only be specified at top level")}if(typeof argList[j]!="string"){throw new TypeError("Include: Java script files must be specified as strings")}theModuleSet.push(argList[j])}}for(var k=0;k<theModuleSet.length;k++){Neaux.Module.load(theModuleSet[k])}},load:function(aFileName){for(i=0;i<_loadedModules.length;++i){if(_loadedModules[i]==aFileName){throw new Error("DUPLICATE MODULE ERROR: "+aFileName)}}var theSrc=Neaux.Module.getIncludePath()+aFileName;document.write('<script type="text/javascript" src="'+theSrc+'"><\/script>');_loadedModules.push(aFileName)},toString:function(){return"[Neaux.Module]"}}})(),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-2010 "+Neaux.organization+" ("+Neaux.homePage+") All Rights Reserved."},show:function(){window.status=Neaux},toString:function(){return Neaux.getSWVersion()+"; "+Neaux.getCopyright()}}
/*@cc_on            // IE Conditional Compilation directives (ignored by other browsers)
  @if (@_jscript)
    var isJSIE = true;
    var JSIE_version = @_jscript_version;   //IE8=5.8, IE7=5.7, IE6=5.6, IE5=5.5 or less
  @end
@*/
;Neaux.isJSIE=typeof(isJSIE)!="undefined"?isJSIE:false;Neaux.JSIE_version=typeof(JSIE_version)!="undefined"?JSIE_version:null;var theAgent=navigator.userAgent;Neaux.isMSIE=
/*@cc_on!@*/
false;Neaux.isWebKit=/AppleWebKit/.test(theAgent);Neaux.isGecko=!Neaux.isWebKit&&/Gecko/.test(theAgent);Neaux.isPresto=/Presto/.test(theAgent);Neaux.isDevelopmentEnvironment=location.hostname.match(/^(\w+|.*neauxware\.com)$/i);Neaux.register=Neaux.Module.register;Neaux.include=Neaux.Module.include;Neaux.register("neauxscript","neauxscript.js","20100702","0.5-3.03")})();
(function(){$EFN=(function(){});var _IECoreEnumerables=["toString","valueOf","toLocaleString"];Neaux.Object={isNative:function(aObj){return(typeof aObj=="object")&&(aObj.constructor==Object.prototype.constructor)},isCollection:function(aObj){return(typeof aObj=="object"||(typeof NodeList!="undefined"&&aObj instanceof NodeList)&&!aObj.tagName)&&(typeof aObj.length=="number")},isHtmlElement:function(aObj){return Boolean(typeof aObj=="object"&&aObj.tagName)},merge:function(aObject){for(var i=1;i<arguments.length;++i){var theData=arguments[i]||{};if(typeof theData!="object"){throw new Error("Object.merge - All arguments must be objects")}for(var j in theData){aObject[j]=theData[j]}if(Neaux.isJSIE){_Object.ieEnumerableBugFix(aObject,theData)}}return aObject},clone:function(aObject,aDeep){if(typeof aObject!="object"){throw new Error("Object.clone - All arguments must be objects")}aDeep=(aDeep===true);if(aDeep){throw new Error("Object.clone - Deep cloning has not been implemented")}var theClone={};for(var i in aObject){theClone[i]=aObject[i]}return theClone},collectionToArray:function(aCollection,aStart,aLength){aStart=aStart||0;aLength=aLength||aCollection.length;var theArray=[];for(var i=aStart;i<aLength;i++){theArray.push(aCollection[i])}return theArray},keys:function(aObj){var theKeys=[];for(var i in aObj){theKeys.push(i)}return theKeys},values:function(aObj){var theValues=[];for(var i in aObj){theValues.push(aObj[i])}return theValues},combine:function(aKeys,aValues){var theObject={};for(var i=0;i<aKeys.length;i++){theObject[aKeys[i]]=aValues?(aValues[i]?aValues[i]:undefined):undefined}return theObject},encodeJson:function(aObject){var moi=Neaux.Object.encodeJson;if(typeof aObject!="object"){throw new Error("Object.encodeJson: Argument must be an object")}var theArray=[];for(var prop in aObject){theArray.push('"'+prop+'":'+(function(){var theVal=aObject[prop];switch(typeof theVal){case"object":return(theVal instanceof Array)?"["+theVal+"]":moi(theVal);case"string":return'"'+theVal+'"';case"number":if(isFinite(theVal)){return theVal}case"boolean":return theVal?true:false}throw new Error("Object.encodeJson - Invalid json syntax (internal)")})())}return"{"+theArray.join(",")+"}"},encodeQueryString:function(aObject,aIsPhp){aIsPhp=(typeof aIsPhp=="undefined")?true:aIsPhp;var query=[],queryString,field,fieldName,value,isArray,size;var re=/%20/g;for(var i in aObject){field=i,value=aObject[i],isArray=false;if(typeof value=="function"){continue}if(typeof value=="object"){isArray=value instanceof Array;if(!isArray){continue}}fieldName=(isArray&&aIsPhp)?field+"[]":field;for(var j=0;j<(isArray?aObject[i].length:1);j++){if(isArray){value=aObject[i][j]}queryString=encodeURIComponent(fieldName).replace(re,"+")+"="+encodeURIComponent(value).replace(re,"+");query.push(queryString)}}return query.join("&")},encodeHtmlString:function(aObject){if(!aObject.nodeType){throw new Error("encodeHtmlString: the object is not a DOM object")}var div=document.createElement("div");div.appendChild(aObject.cloneNode(true));return div.innerHTML},union:function(aObject1,aObject2){var theUnion={};return Neaux.merge(theUnion,aObject1,aObject2)},intersect:function(aReference,aObject){var theIntersect={};for(var i in aObject){if(typeof aReference[i]!="undefined"){theIntersect[i]=aObject[i]}}return theIntersect},compliment:function(aReference,aObject){var theCompliment={};for(var i in aObject){if(typeof aReference[i]=="undefined"){theCompliment[i]=aObject[i]}}return theCompliment},difference:function(aObject1,aObject2){var theDifference={};for(var i in aObject1){if(typeof object2[i]=="undefined"){theDifference[i]=aObject1[i]}}for(i in aObject2){if(typeof object1[i]=="undefined"){theDifference[i]=aObject2[i]}}return theDifference},toString:function(){return"[Neaux.Object]"}};var _Object={ieEnumerableBugFix:function(aTarget,aObject){if(!Neaux.isJSIE){return}for(var i=0;i<_IECoreEnumerables.length;i++){var mthd=_IECoreEnumerables[i];if(typeof aObject[mthd]=="function"&&Object.prototype[mthd]!=aObject[mthd]){aTarget[mthd]=aObject[mthd]}}}};Neaux.Class=function(){var theConstructor=function(){var thisConstructor=arguments.callee.prototype.__construct;var theArgs=arguments;if(theArgs.length&&this.__params&&(typeof Neaux.Base!="undefined")&&(this instanceof Neaux.Base)){if(Neaux.Object.isNative(theArgs[0])){theArgs=Neaux.Object.collectionToArray(arguments);var theArg=theArgs.shift();this.applyParams(theArg,true)}}thisConstructor.apply(this,theArgs)};Neaux.merge(theConstructor.prototype,{constructor:theConstructor,__construct:$EFN,Super:function(){if(arguments.length<1){throw new Error("Class::Super - You must pass the arguments object")}var theProxy=arguments[0].callee;var theSuperclass=theProxy.__cptr.__superclass;if(!theSuperclass){throw new Error("Class:Super - Error calling Super method from base class")}theProxy.__cptr.__superclass.constructor.apply(this,arguments[0])}});Neaux.merge(theConstructor,{__superclass:null,Implement:function(aMembers){return _Class.implement(theConstructor,aMembers)},Extend:function(aBase){return _Class.extend(theConstructor,aBase)},Params:function(aParams){return Neaux.Base.Params(theConstructor,aParams)},Events:function(aEvents){return Neaux.EventTarget.Events(theConstructor,aEvents)}});for(i=0;i<arguments.length;i++){theConstructor.Implement(arguments[i])}return theConstructor};var _Class={implement:function(aConstructor,aMembers){if(typeof aMembers!="object"){throw new Error("A Class Definition must be an Object")}Neaux.Object.merge(aConstructor.prototype,aMembers);aConstructor.prototype.__construct.__cptr=aConstructor;aConstructor.prototype.__superclass=null;return aConstructor},extend:function(aConstructor,aBase){if(typeof aConstructor.prototype.__superclass!=="undefined"){throw new Error("Class::Extend - you must implement the class after extending the base class. Use Implement method")}var Foo=function(){};Foo.prototype=aBase.prototype;aConstructor.prototype=new Foo;aConstructor.prototype.constructor=aConstructor;aConstructor.__superclass=aConstructor.prototype.__superclass=aBase.prototype;return aConstructor}};Neaux.String={trim:function(aStr){return aStr.replace(/^\s+/,"").replace(/\s+$/,"").replace(/\s+/g," ")},ltrim:function(aStr){return aStr.replace(/^\s+/,"")},rtrim:function(aStr){return aStr.replace(/\s+$/,"")},capitalize:function(aStr){return aStr.replace(/\b[a-z]/g,function(aRes){return aRes.toUpperCase()})},camelize:function(aStr){var arr=aStr.split("-");var retVal=arr[0];for(var i=1;i<arr.length;i++){retVal+=arr[i].charAt(0).toUpperCase()+arr[i].substring(1)}return retVal},nl2br:function(aStr,aIsXHtml){var brTag=(typeof aIsXHtml=="undefined"||aIsXHtml)?"<br/>":"<br>";return aStr.replace(/([^>]?)\n/g,"$1"+brTag+"\n")},decodeJson:function(aStr){var my_JSON_object=!(/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(aStr.replace(/"(\\.|[^"\\])*"/g,"")))&&eval("("+aStr+")");return my_JSON_object},decodeQueryString:function(aQueryString){var theObj={},field,value,pair;var thePairs=aQueryString.split("&");for(var i=0;i<thePairs.length;++i){pair=thePairs[i].split("=");field=decodeURIComponent(pair[0]);value=pair[0]||decodeURIComponent(pair[1]);if(theObj[field]){if(typeof theObj[field]=="string"){theObj[field]=[theObj[field]]}theObj[field].push(value)}else{theObj[field]=value}}return theObj},decodeHtmlString:function(aString){var theFrag=document.createDocumentFragment();var theObj=document.createElement("div");theObj.innerHTML=aString;var theNodes=theObj.childNodes;for(var i=0;i<theNodes;i++){theFrag.appendChild(theNodes[i].cloneNode(true))}return theFrag},toString:function(){return"[Neaux.String]"}};Neaux.Function={bind:function(aFn,aObj){var argExp=2;if(typeof aFn=="object"&&aFn instanceof Array){aObj=aFn[0];aFn=aFn[1];argExp=1}var thePassedArgs=arguments.length>argExp?Neaux.Object.collectionToArray(arguments,argExp):[];return function(){var theArgs=thePassedArgs.length>0?thePassedArgs:arguments;aFn.apply(aObj,theArgs)}},delay:function(aFn,aDelay,aObj){if(typeof aFn=="object"&&aFn instanceof Array){aObj=aFn[0];aFn=aFn[1]}return setTimeout(aObj?Neaux.Function.bind(aFn,aObj):aFn,aDelay)},repeat:function(aFn,aInterval,aObj){if(typeof aFn=="object"&&aFn instanceof Array){aObj=aFn[0];aFn=aFn[1]}return setInterval(aObj?Neaux.Function.bind(aFn,aObj):aFn,aInterval)},call:function(aFn,aObj){var theArgs=arguments.length>2?Neaux.Object.collectionToArray(arguments,2):null;return Neaux.Function.apply(aFn,aObj,theArgs)},apply:function(aFn,aObj,aArgs){var theFn=aFn instanceof Array?aFn[1]:aFn;var theObj=aFn instanceof Array?aFn[0]:aObj;theObj=theObj||window;var theArgs=aArgs||[];return theFn.apply(theObj,theArgs)},toString:function(){return"[Neaux.Function]"}};Neaux.Array={isInArray:function(aArr,aItm){return(Neaux.Array.indexOf(aArr,aItm)>=0)},indexOf:function(aArr,aItm,aIdx){if(aArr.indexOf){return aArr.indexOf(aItm,aIdx)}var from=aIdx||0;from=(from<0)?Math.ceil(from):Math.floor(from);if(from<0){from+=aArr.length}while(from<aArr.length){if(from in aArr&&aArr[from]===aItm){return from}from++}return -1},toString:function(){return"[Neaux.Array]"}},Neaux.Object.merge(Neaux,{merge:Neaux.Object.merge,collectionToArray:Neaux.Object.collectionToArray,encodeJson:Neaux.Object.encodeJson,decodeJson:Neaux.String.decodeJson,encodeQueryString:Neaux.Object.encodeQueryString,decodeQueryString:Neaux.String.decodeQueryString,encodeHtmlString:Neaux.Object.encodeHtmlString,decodeHtmlString:Neaux.String.decodeHtmlString});Neaux.register("core","core.js","20100719","0.5-3.03")})();
(function(){if(!window.Node){window.Node={ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,ENTITY_REFERENCE_NODE:5,ENTITY_NODE:6,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NOTATION_NODE:12}}Neaux.Dom={getRoot:function(b){return b?b.documentElement:document.documentElement},isDoc:function(b){return(typeof Document!="undefined"&&b instanceof Document)||!!b.compatMode},isElement:function(b){return Neaux.isMSIE?!!b.nodeName:(typeof Element!="undefined"&&b instanceof Element)},getElement:function(b){if(typeof b=="string"){return document.getElementById(b)}else{if(typeof b=="object"){if(a.isElement(b)||b==document.body){return b}else{if(typeof Neaux.Component!="undefined"&&b instanceof Neaux.Component){return b.getElement()}}}}return null},getElementsById:function(){var b=[];for(var c=0;c<arguments.length;++c){var d=a.getElement(arguments[c]);if(arguments.length>1){b.push(d)}}return(arguments.length==1)?d:b},getElementsByClassName:function(f,h){var c=h?$ID(h):document;var g=c.getElementsByTagName("*");var b=[];var e=new RegExp("\\b"+f+"\\b");for(var d=0;d<g.length;d++){if(e.test(g[d].className)){b.push(g[d])}}return b},getElementsBySelector:function(b,f){var c=[];var e=f||document;if(typeof e=="string"){e=$ID(f)}var g=b.split(" ");for(var d=0;d<g.length;++d){}throw new Error("Dom::getElementsBySelector - UNDER CONSTRUCTION");return c},createElement:function(e,b,g){g=g||a.isDoc(b)?g:document;var d=(typeof e=="string")?e:e.tagName;var f=g.createElement(d);if(Neaux.Object.isNative(e)){for(var c in e){if(c!="tagName"){theElm.setAttribute(c,e[c])}}}if(b&&!a.isDoc(b)){f=a.getElement(b).appendChild(f)}return f},appendElement:function(d,f){var e=a.getElement(d),b=f?a.getElement(f):document.body,c=(f&&b!=document.body)?b.parentNode:document.body;if(e&&b&&c){c.appendChild(e)}return e},insertBefore:function(c,e){var d=a.getElement(c),b=a.getElement(e);if(d&&b&&b.parentNode){b.parentNode.insertBefore(d,b)}return d},insertAfter:function(c,e){var d=a.getElement(c),b=a.getElement(e);if(d&&b&&b.parentNode){if(b.nextSibling){b.parentNode.insertBefore(d,b.nextSibling)}else{b.parentNode.appendChild(d)}}return d},removeElement:function(b){var c=a.getElement(b);if(c&&c.parentNode){c.parentNode.removeChild(c)}return c},replaceElement:function(c,d){var e=a.getElement(c),b=a.getElement(d);if(e&&b&&b.parentNode){b.parentNode.replaceChild(e,b)}return e},toString:function(){return"[Neaux.Dom]"}};var a=Neaux.Dom;$ID=Neaux.Dom.getElementsById;Neaux.register("dom","dom.js","20100812","0.5-3.04")})();
(function(){Neaux.Html={setOpacity:function(f,g){var h=$ID(f);if(!h){return null}if(Neaux.isJSIE){g*=100;if(!h.currentStyle||!h.currentStyle.hasLayout){h.style.zoom=1}h.style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity:"+g+")"}else{h.style.opacity=g}return h},setStyle:function(f,l,p){var n=$ID(f);if(!n){return null}if(p!==false){p=true}if(!p){n.style.cssText=""}if(typeof l=="string"){if(!p){n.cssText=l}else{var g=c.trim;var j=l.split(";");l={};for(var k=0;k<j.length;++k){var o=j[k].split(":");l[g(o[0])]=g(o[1])}}}if(typeof l=="object"){for(var m in l){var h=l[m];m=c.camelize(m);if(m=="opacity"&&Neaux.isMSIE){d.setOpacity(n,h)}else{if(m=="float"||m=="cssFloat"||m=="styleFloat"){m=typeof n.style.cssFloat=="string"?"cssFloat":"styleFloat"}else{m=m.replace(/-\D/g,function(){return arguments[0].charAt(1).toUpperCase()})}n.style[m]=h}}}return n},getStyle:function(i,j){var g=$ID(i),k;var f=c.camelize(j);if(window.getComputedStyle){var h=getComputedStyle(g,null);k=h?h.getPropertyValue(f):null}else{if(f=="float"){f="styleFloat"}else{if(f=="opacity"){f="filter"}else{f=f.replace(/-\D/g,function(){return arguments[0].charAt(1).toUpperCase()})}}k=g.currentStyle[f];if(f=="filter"){k=(k!=null&&k.length)?k.match(/\d+(\.\d+)?/)[0]/100:1}}return k},getX:function(f){return d.getPosition(f).x},getY:function(f){return d.getPosition(f).y},getPosition:function(h){var g=$ID(h);if(typeof g!="object"){throw new Error("Dom.getPosition: Invalid element specified")}var f=y=0;while(g){f+=g.offsetLeft;y+=g.offsetTop;g=g.offsetParent}return{x:f,y:y}},getWidth:function(f){return d.getSize(f).width},getHeight:function(f){return d.getSize(f).height},getSize:function(f){var g=$ID(f);return{width:g.offsetWidth,height:g.offsetHeight}},Form:{getFields:function(j){if(!(j=$ID(j))){throw new Error("Form, "+j+" does not exist")}var f={};for(var g=0;g<j.elements.length;++g){if(j.elements[g].name){var h=j.elements[g];f[h.name]=a.getValue(h)}}return f},getQueryString:function(g,f){return Neaux.encodeQueryString(e.getFields(g),f)},toString:function(){return"[Neaux.Html.Form]"}},Field:{getValue:function(p){var n=$ID(p);if(!n){throw new Error("Field::getValue - specified field does not exist")}switch(n.nodeName.toLowerCase()){case"input":case"button":var g=n.type.toLowerCase();if(g=="checkbox"||g=="radio"){var k=(n.name&&n.form[n.name].length>1);if(!k){return n.checked?n.value:null}var j=n.form[n.name];var l=null;for(var m=0;m<j.length;m++){if(j[m].checked){var h=(j[m].value=="on")?m:j[m].value;if(g=="radio"){return h}else{if(!l){l=[]}l.push(h)}}}return l}else{return n.value}case"select":if(!n.multiple){var o=n.selectedIndex;if(o<0){return null}var f=n.options[o];return f.value.length?f.value:f.text}else{var l=[];for(var m=0;m<n.options.length;m++){var f=n.options[m];if(f.selected){l.push(f.value.length?f.value:f.text)}}return l}break;case"textarea":case"option":return n.value;default:return null}},setValue:function(p,o){var m=$ID(p);if(!m){throw new Error("Field::setValue - specified field does not exist")}switch(m.nodeName.toLowerCase()){case"input":case"button":m.value=o;break;case"select":var f=m.options.length;var g=(o instanceof Array)?o:b.keys(o);var n=(o instanceof Array)?o:b.values(o);for(var l=0;l<n.length;l++){var h=(l<f)?m.options[l]:new Option();h.text=n[l];h.value=g[l];if(l>=f){if(!Neaux.isMSIE){m.add(h,null)}else{m.add(h)}}}for(var k=l;k<f;k++){m.remove(l)}break;case"textarea":case"option":m.value=o;break;default:}}}};var b=Neaux.Object,c=Neaux.String,d=Neaux.Html,e=Neaux.Html.Form,a=Neaux.Html.Field;Neaux.register("html","html.js","20100711","0.5-3.03")})();
(function(){var h=Neaux.Function;var b={CAPTURING_PHASE:1,AT_TARGET:2,BUBBLING_PHASE:3};var e=["mousemove","mouseup","losecapture"];var j=null;Neaux.Event={addListener:function(q,s,l){var r=a.transformTargetArg(q);var o=a.transformEventArg(s);for(var n=0;n<r.length;n++){for(var t=0;t<o.length;t++){for(var p=2;p<arguments.length;p++){var m=arguments[p];if(r[n].addListener){r[n].addListener(o[t],m)}else{if(theRealListener=a.registerListener(r[n],o[t],m)){a.model.addListener(r[n],o[t],theRealListener)}}}}}},removeListener:function(q,s,l){var r=a.transformTargetArg(q);var o=a.transformEventArg(s);for(var n=0;n<r.length;n++){for(var t=0;t<o.length;t++){for(var p=2;p<arguments.length;p++){var m=arguments[p];if(r[n].removeListener){r[n].removeListener(o[t],m)}else{if(theRealListener=a.unregisterListener(r[n],o[t],m)){a.model.removeListener(r[n],o[t],theRealListener)}}}}}},dispatch:function(q,m){var p=a.transformTargetArg(q);var n=a.transformEventArg(m);var r=(arguments.length>2)?Neaux.Object.collectionToArray(arguments,2):null;for(var s=0;s<p.length;s++){for(var l=0;l<n.length;l++){if(p[s].dispatch){var o=[n[l]];if(r){o=o.concat(r)}p[s].dispatch.apply(p[s],r)}else{a.model.dispatch(p[s],n[l])}}}},setCapture:function(m,n){if(j){return}var o=$ID(m);var l=new Neaux.Event.Object();j={target:o,event:l,listener:function(p){l.initialize(p||window.event,o);h.call(n,o,l);l.stopPropagation()}};a.model.setCapture(o,e,j.listener)},releaseCapture:function(){if(!j){return}a.model.releaseCapture(j.target,e,j.listener);j=null},toString:function(){return"[Neaux.Event]"}};Neaux.Event.ListenerTable=Neaux.Class({m_name:null,m_listeners:null,__construct:function(l){if(l){this.m_name=l}},getListener:function(m,o,q){var l=this.m_listeners?this.m_listeners[m]:null;if(l){for(var n=0;n<l.length;n++){var p=l[n];if(p.target==o&&p.listener==q){return p}}}return null},getListeners:function(m,o){var q=[];if(this.m_listeners&&this.m_listeners[m]){var l=this.m_listeners[m];for(var n=0;n<l.length;n++){var p=l[n];if(p.target==o){q.push(p.listener)}}}return q},getListenerCount:function(o,r,m){if(!this.m_listeners){return m?false:0}var l=o?this.m_listeners[o]:this.m_listeners;var q=function(w){var v=0;var u=l?l.length:0;if(!r){return m?(u?true:false):u}for(var t=0;t<u;++t){if(l[t].target==r){if(m){return true}v++}}return m?false:v};if(o){return q(o)}var s=0;for(var p in l){if(r){var n=q(p);if(n&&typeof n=="boolean"){return n}s+=n}else{s+=l[p].length}}return(r&&m)?false:s},add:function(m,o,q,n){if(!m){throw new Error("ListenerTable::Add - An event type must be specified")}if(!o){throw new Error("ListenerTable::Add - A target must be specified")}if(!q){throw new Error("ListenerTable::Add - A listener must be specified")}var p={target:o,listener:q,proxy:n};if(!this.m_listeners){this.m_listeners={}}var l=this.m_listeners[m];if(!this.getListener(m,o,q)){if(!l){l=this.m_listeners[m]=[]}return l.push(p)?true:false}else{throw new Error("Event.ListenerList - LISTENER EXISTS - NOT IMPLEMENTED")}return true},remove:function(m,o,q){var l=this.m_listeners[m];for(var n=0;n<l.length;n++){var p=l[n];if(p.target==o&&p.listener==q){return this.m_listeners[m].splice(n,1)[0].proxy}}return null},toString:function(){return"[Neaux.Event.ListenerTable]"}});var a={nativeListeners:new Neaux.Event.ListenerTable("W3C"),model:null,DomModel:{addListener:function(m,l,n){if(!m.addEventListener){d()}m.addEventListener(l,n,false)},removeListener:function(m,l,n){if(!m.removeEventListener){f()}m.removeEventListener(l,n,false)},dispatch:function(m,l){if(!m.dispatchEvent){throw new Error("Event:dispatch: A Dispatch request was made to an object that is not an Event Target")}var n=document.createEvent("Events");n.initEvent(l,false,false);m.dispatchEvent(n)},setCapture:function(n,l,o){if(!n.addEventListener){d()}for(var m=0;m<l.length;m++){document.addEventListener(l[m],o,true)}},releaseCapture:function(n,l,o){if(!n.removeEventListener){f()}for(var m=0;m<l.length;m++){document.removeEventListener(l[m],o,true)}}},IEModel:{addListener:function(m,l,n){if(!m.attachEvent){d()}m.attachEvent("on"+l,n)},removeListener:function(m,l,n){if(!m.detachEvent){f()}m.detachEvent("on"+l,n)},dispatch:function(m,l){if(!m.fireEvent){throw new Error("Event:dispatch: A Dispatch request was made to an object that is not an Event Target")}var n=document.createEventObject();m.fireEvent("on"+l,n)},setCapture:function(n,l,o){if(!n.attachEvent){d()}n.setCapture();for(var m=0;m<l.length;m++){n.attachEvent("on"+l[m],o)}},releaseCapture:function(n,l,o){if(!n.detachEvent){f()}for(var m=0;m<l.length;m++){n.detachEvent("on"+l[m],o)}n.releaseCapture()}},LegacyModel:{addListener:function(m,l,n){k()},removeListener:function(m,l,n){k()},dispatch:function(m,l){k()}},isValidTarget:function(l){return Neaux.Object.isHtmlElement(l)||((typeof Neaux.EventTarget!="undefined")&&(l instanceof Neaux.EventTarget))||(l==window)||(!!l.implementation)},transformTargetArg:function(n){var m;if(typeof n=="string"){m=n.replace(/ /g,"").split(",")}else{if(n instanceof Array){m=n}else{if(a.isValidTarget(n)){m=[n]}else{if(Neaux.Object.isCollection(n)){m=Neaux.Object.collectionToArray(n)}else{c()}}}}for(var l=0;l<m.length;l++){if(typeof m[l]=="string"){m[l]=$ID(m[l])}if(!m[l]||!a.isValidTarget(m[l])){c()}}return m},transformEventArg:function(l){if(typeof l=="string"){return l.replace(/ /g,"").split(",")}else{if(l instanceof Array){return l}else{i()}}},registerListener:function(n,m,o){var l=function(p){var q=new Neaux.Event.Object(p||window.event,n);if(Neaux.Function.call(o,n,q)==false){q.preventDefault()}};a.nativeListeners.add(m,n,o,l);return l},unregisterListener:function(m,l,n){return a.nativeListeners.remove(l,m,n)}};Neaux.Event.Object=Neaux.Class({_event:null,_target:null,__construct:function(l,m){this.initialize(l,m)},initialize:function(l,m){this._event=l||null;this._target=m||null},getNativeEvent:function(){return this._event},getType:function(){return this._event.type},getTarget:function(){return this._event.target||this._event.srcElement||document},getCurrentTarget:function(){return this._event.currentTarget||this._target},getEventPhase:function(){return(this.getCurrentTarget()==this.getTarget())?b.AT_TARGET:b.BUBBLING_PHASE},getScreenPos:function(){return{x:this._event.screenX,y:this._event.screenY}},getClientPos:function(){return{x:this._event.clientX,y:this._event.clientY}},getButton:function(){return this._event.button},getCtrlKey:function(){return this._event.ctrlKey},getShiftKey:function(){return this._event.shiftKey},getAltKey:function(){return this._event.altKey},getMetaKey:function(){return this._event.metaKey},relatedTarget:function(){return this._event.relatedTarget||function(){switch(this._event.type){case"mouseover":return this._event.fromElement;case"mouseout":return this._event.toElement;default:return null}}},getKeyCode:function(){return this._event.charCode||this._event.keyCode},getCharCode:function(){return this._event.charCode},stopPropagation:function(){if(this._event.stopPropagation){return this._event.stopPropagation()}else{this._event.cancelBubble=true}},preventDefault:function(){if(this._event.preventDefault){this._event.preventDefault()}else{this._event.returnValue=false}},stopEvents:function(){this.stopPropagation();this.preventDefault()},toString:function(){return"[Class Neaux.Event.Object]"}});Neaux.merge(Neaux.Event.Object,b);var k=function(){throw new Error("Legacy browser detected")};var d=function(){throw new Error("Event:addListener: An addListener request was made to an object that is not an Event Target")};var f=function(){throw new Error("Event:removeListener: A removeListener request was made to an object that is not an Event Target")};var c=function(){throw new Error("Event::transformTargetArg - Invalid Event Target(s) specified")};var i=function(){throw new Error("Event::GetEvents - Invalid Event Format Specified")};var g=function(){throw new Error("Functionality not implemented")};if(document.addEventListener){a.model=a.DomModel}else{if(document.attachEvent){a.model=a.IEModel}else{a.model=a.LegacyModel}}if(Neaux.isDevelopmentEnvironment){Neaux.Event.addListener(window,"load",Neaux.show)}$EV=Neaux.Event;$ON=Neaux.Event.addListener;Neaux.onload=function(){for(var l=0;l<arguments.length;++l){Neaux.Event.addListener(window,"load",arguments[l])}};Neaux.register("event","event.js","20100707","0.5-3.03")})();
(function(){var c={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},h={OK:200,NOT_FOUND:404,SERVER_ERROR:500,APP_TIMEOUT:999},j={TEXT:"text/plain",HTML:"text/html",XML:"application/xml",JSON:"application/json",FORM:"application/x-www-form-urlencoded",UPLOAD:"multipart/form-data",XHTML:"application/xhtml+xml"},k="___NW_HTTP_IFRAME__",e="fra_nw_upload";j.QUERY_STRING=j.FORM;var b=1000*60;COOKIE_DEFAULT_LIFETIME=60*24;var l=Neaux.Object,g=Neaux.String,f=Neaux.Html.Form;Neaux.Http={request:function(z,A,y,q,p){var o=(typeof p=="string")?{"content-type":p}:(p||{});var w=(q&&q.tagName=="FORM");if(w){var u=(function(){for(var C=0;C<q.elements.length;C++){var D=q.elements[C];if(D.tagName=="INPUT"&&D.type=="file"){o["content-type"]=j.UPLOAD;return true}}return false});var v=o["content-type"];if(q.enctype==j.UPLOAD||u()){v=j.UPLOAD}else{if(!v){v=q.enctype||j.FORM}}if(v!=j.FORM){if(A=="get"){throw new Error("Http.request - Invalid method, "+v+", specified for Form GET operation")}else{A="post"}}if(!A){A=q.method||"get"}if(!z){z=q.action||null}o["content-type"]=v}if(!z){throw new Error("Http.request - A URL was not specified")}A=A||"get";if(o["content-type"]==j.UPLOAD){return Neaux.Http.ifrRequest(z,A,y,q,o)}var B=d.getObject(),n=(y?true:false);if(w){switch(o["content-type"]){case j.FORM:q=f.getQueryString(q);break;case j.JSON:var s=f.getFields(q);q=l.encodeJson(s);break;case j.XML:var s=f.getFields(q);throw new Error("Http.request - XML MIME type for forms has not been implemented");break;default:throw new Error("Http.request - "+o["content-type"]+" is not supported for forms");break}}if(A=="get"&&q){var x=z.indexOf("?");if(x>=0){z=z.substr(0,x)}z+="?"+q;q=null}else{if(A=="post"&&(typeof q=="undefined"||q==null)){throw new Error("Http.request - No Data provided for POST request")}}B.open(A,z,n);try{B.onreadystatechange=(function(){d.handler(y)})}catch(t){throw new Error("Http.request - Unable to connect handler to XMLHttpRequest object")}if(!o["content-type"]){var m=j.FORM;if(A=="post"){if(l.isNative(q)){q=l.encodeJson(q);m=j.JSON}}o["content-type"]=m}for(var r in o){B.setRequestHeader(r,o[r].toString())}B.send(q);if(!n){return d.makeResponse(B)}},ifrRequest:function(q,r,m,p,o){o=o||{};var t=i.getObject(),s=p&&p.tagName=="FORM"?p:null;var n=(function(){i.handler(m)});t.onload=n;if(Neaux.isJSIE&&Neaux.JSIE_version<=5.7){$ON(t,"load",n)}if(s){s.target=k;s.method="post";s.action=q;s.enctype=j.UPLOAD;if(Neaux.isJSIE){s.encoding=j.UPLOAD}}if(s){s.submit()}else{throw new Error("Http.ifrRequest - Only Multipart forms are supported through iframes")}},Cookie:{get:function(s){var m=(typeof s=="string")?s.split(","):s;if(arguments.length>0&&(!m||m.length==0||!(m instanceof Array))){throw new Error("Http.Cookie.get - cookie name must be a comma-delimited string or array of strings")}var p=g.trim,r=arguments.length>0?l.combine(m):{},n=p(document.cookie).length?document.cookie.split(";"):[];for(var o in n){var q=g.trim(n[o]).split("=");key=q[0];if(arguments.length==0||key in r){r[key]=decodeURIComponent(q[1])}}return(s&&(typeof s=="string")&&m.length==1)?r[s]:r},set:function(x,q,w,v,p,u){var o=(typeof x=="object")?((x instanceof Array)?x:[x]):[{name:x,value:q,lifetime:w,path:v,domain:p,secure:u}];for(var r in o){var s=o[r];var m=(typeof s.value=="undefined")?-1000:(s.lifetime||COOKIE_DEFAULT_LIFETIME)*b;var t=new Date();t.setTime(t.getTime()+m);var n=s.value||"";document.cookie=s.name+"="+encodeURIComponent(n)+";expires="+t.toGMTString()}},remove:function(m){Neaux.Cookie.set(m)},toString:function(){return"[Neaux.Http.Cookie]"}},toString:function(){return"[Neaux.Http]"}};var d={object:null,getObject:function(){if(!d.object){d.object=d.create()}return d.object},handler:function(m){if(!m){return}var n=d.getObject();if(n.readyState==c.HEADERS_RECEIVED||n.readyState==c.DONE){m.call(this,d.makeResponse(n))}if(n.readyState==c.DONE){n.onreadystatechange=null}},makeResponse:function(n){var q=n||d.Object(),o=null,m=null,p=null;if(q.readyState==c.DONE){var r=q.getResponseHeader("content-type");r=r?r.toLowerCase():"text/plain";o=q.status;m=(r=="application/xml"||r=="text/xml")?q.responseXML:null;p=(r=="application/json")?Neaux.String.decodeJson(q.responseText):null}return{isOK:function(){return(o==h.OK)?true:false},isDone:function(){return(q.readyState==c.DONE)?true:false},getStatus:function(){return o},getStatusText:function(){return o?q.statusText:null},getReadyState:function(){return q.readyState},isReadyState:function(s){return(s==q.readyState)},getText:function(){return q.responseText},getXml:function(){return m},getJson:function(){return p},getContentType:function(){return q.getResponseHeader("content-type")},toString:function(){return"[Neaux.Http.Response]"}}},create:function(){try{return new XMLHttpRequest()}catch(m){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(m){}try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(m){}throw new Error("Neaux::Connection - The User Agent (Browser) does not support XML Http Requests.")}};var i={object:null,getObject:function(){if(!i.object){i.object=i.create()}return i.object},handler:function(m){if(!m){return}var n=i.getObject();m.call(this,i.makeResponse(n))},makeResponse:function(m){var o=m||i.getObject(),n=o.contentWindow.document;return{isOK:function(){return true},isDone:function(){return true},getStatus:function(){throw new Error("IFR::makeResponse - not supported")},getStatusText:function(){throw new Error("IFR::makeResponse - not supported")},getReadyState:function(){throw new Error("IFR::makeResponse - not supported")},isReadyState:function(p){throw new Error("IFR::makeResponse - not supported")},getText:function(){return n.body.innerHTML},getXml:function(){throw new Error("IFR::makeResponse - not supported")},getJson:function(){throw new Error("IFR::makeResponse - not supported")},getContentType:function(){throw new Error("IFR::makeResponse - not supported")},toString:function(){return"[Neaux.Http.Response]"}}},create:function(){var m=null;if(Neaux.isJSIE&&Neaux.JSIE_version<=5.7){m=document.createElement('<iframe name="'+k+'">')}else{m=document.createElement("iframe");m.name=k}m.id=e;m.style.display="none";document.body.appendChild(m);return m}};var a=Neaux.Http;Neaux.Http.STATES=c;Neaux.Http.STATUS=h;Neaux.Http.CONTENT_TYPE=j;Neaux.register("http","http.js","20100721","0.5-3.03")})();
(function(){Neaux.Base=Neaux.Class().Implement({__params:null,__construct:function(){},__paramHandler:function(a){},applyParams:function(d,b){if(!d||!this.__params){return}var e={};var a=this.__params;for(var c=0;c<a.length;c++){if(typeof d[a[c]]!="undefined"){e[a[c]]=d[a[c]]}}Neaux.merge(this,e);if(typeof b=="undefined"){b=false}this.__paramHandler(e,b);return this},__initParams:function(c){c=c||[];if(typeof c=="string"){c=c?c.split(","):[]}else{if(!(c instanceof Array)){throw new Error("Neaux::Base - parameters must be specified as an array or comma-delimited list of strings")}}var a=this.constructor.prototype.__params;var d=a?[].concat(a):[];for(var b=0;b<c.length;b++){if(typeof c[b]!="string"){throw new Error("Neaux.Base - A class parameters must consist of strings")}if(c[b]&&!Neaux.Array.isInArray(d,c[b])){d.push(c[b])}}this.constructor.prototype.__params=d},toString:function(){return"[Neaux.Base]"}});Neaux.Base.Params=function(a,b){if(!(a.prototype instanceof Neaux.Base)){throw new Error("Class::Params - The specified class is not a subclass of Object.Base")}a.prototype.__initParams.call(a.prototype,b);return a};Neaux.register("base","base.js","20100610","0.5-3.02")})();
(function(){Neaux.EventTarget=Neaux.Class().Extend(Neaux.Base).Implement((function(){var a=new Neaux.Event.ListenerTable("NWC");return{__eventTypes:null,hasListener:function(d,c){var b=(c&&this["on"+d])?true:false;return b||a.getListenerCount(d,this,true)},canCancel:function(b){return false},addListener:function(b,c){if(!Neaux.Array.isInArray(this.__eventTypes,b)){throw new Error(b+" event not supported for specified object")}a.add(b,this,c)},removeListener:function(b,c){a.remove(b,this,c)},dispatchEvent:function(b,e){var c=this.hasListener(b);var h=this["on"+b];if(!c&&!h){return null}var g=(e&&(e instanceof Neaux.NwcEvent))?e:(new Neaux.NwcEvent(b,this));if(e&&Neaux.Object.isNative(e)){Neaux.merge(g,e)}if(c){var f=a.getListeners(b,this);for(var d=0;d<f.length&&!g.isCancelled();++d){if(Neaux.Function.call(f[d],this,g)===false){g.cancel()}}}if(h&&!g.isCancelled()){if(Neaux.Function.call(h,this,g)===false){g.cancel()}}return g},enableEvents:function(){throw new Error("EventTarget::enableEvents - Not Implemented")},disableEvents:function(){throw new Error("EventTarget::disableEvents - Not Implemented")},addEvents:function(){throw new Error("EventTarget::addEvents - Not Implemented")},applyParams:function(e){if(!e||!this.__eventTypes){return}var f={};var c=this.__eventTypes;for(var d=0;d<c.length;d++){var b="on"+c[d];if(e[b]){f[b]=e[b]}}Neaux.merge(this,f);Neaux.EventTarget.__superclass.applyParams.call(this,e)},__initEvents:function(b){if(!b){return}if(typeof b=="string"){b=b.split(",")}else{if(Neaux.Object.isNative(b)){b=Neaux.Object.values(b)}else{if(!(b instanceof Array)){throw new Error("EventTarget.__initEvents - events must be a string, array or map")}}}var e=this.constructor.prototype.__eventTypes;var d=e?[].concat(e):[];for(var c=0;c<b.length;c++){if(!Neaux.Array.isInArray(d,b[c])){d.push(b[c])}}this.constructor.prototype.__eventTypes=d},toString:function(){return"[Neaux.EventTarget]"}}})());Neaux.EventTarget.Events=function(a,b){if(!(a.prototype instanceof Neaux.EventTarget)){throw new Error("Class.Events - The specified class is not a subclass of Event.Dispatcher")}a.prototype.__initEvents.call(a.prototype,b);return a};Neaux.NwcEvent=Neaux.Class({m_type:null,m_source:null,m_cancelled:false,__construct:function(a,b){this.m_type=a;this.m_source=b},getType:function(){return this.m_type},getSource:function(){return this.m_source},isCancelled:function(){return this.m_cancelled},cancel:function(){this.m_cancelled=true},toString:function(){return"[Neaux.NwcEvent]"}});Neaux.register("eventtarget","eventtarget.js","20100701","0.5-3.03")})();
(function(){var c=Neaux.Object,d=Neaux.Function;var b={INITIALIZE:"initialize",SUCCESS:"success",FAILURE:"failure",COMPLETE:"complete"};var e=["url","method","data","form","contentType","charset","timeout","iframe","auto"];var a=60;Neaux.Connection=Neaux.Class().Extend(Neaux.EventTarget).Events(b).Params(e).Implement({timeout:a,__construct:function(){if(this.auto){Neaux.Function.delay(function(){this.request()},0,this)}},request:function(f){f=f||{};var l=f.form||this.form||{},h=f.url||this.url,j=f.method||this.method,o=c.isNative(l)?(f.data||this.data):l,n=d.bind(this._responseHandler,this),k=f.contentType||this.contentType,i=f.charset||this.charset,m=f.timeout||this.timeout,g=f.iframe||this.iframe;return Neaux.Http.request(h,j,n,o,k)},get:function(f){f=f||{};f.method="get";this.request(f)},post:function(f){f=f||{};f.method="post";this.request(f)},_responseHandler:function(f){var g=f.getReadyState();if(g==Neaux.Http.STATES.HEADERS_RECEIVED){this.dispatchEvent(b.INITIALIZE,f)}else{if(g==Neaux.Http.STATES.DONE){if(f.isOK()){this.dispatchEvent(b.SUCCESS,f)}else{this.dispatchEvent(b.FAILURE,f)}this.dispatchEvent(b.COMPLETE,f)}}},__paramHandler:function(f){},toString:function(){return"[Neaux.Connection]"}});Neaux.register("connection","connection.js","20100721","0.5-3.03")})();
(function(){var c=Neaux.Function,b=Neaux.String,e=Neaux.Html;Neaux.Easing={linear:function(h,g,j,i){return(j*h/i+g)},sinusoidal:function(h,g,j,i){return g+((-Math.cos((h/i)*Math.PI)/2)+0.5)*j}};var d={IN:0,OUT:1,FORWARD:0,REVERSE:1};var f={START:"start",FINISH:"finish"};var a=["target","property","from","to","units","direction","duration","rate","delay","easing","tween"];Neaux.Transition=Neaux.Class().Extend(Neaux.EventTarget).Events(f).Params(a).Implement({m_target:null,m_property:null,m_count:null,m_total:null,m_interval:null,m_timer:null,direction:d.IN,duration:1000,rate:30,easing:Neaux.Easing.sinusoidal,__construct:function(){this.Super(arguments)},start:function(){if(!this.m_target){throw new Error("Transition::start - Transition target not specified")}if(!this.m_property){throw new Error("Transition::start - No transition properties were specified")}var g=this.delay||0;c.delay(this._startTransition,g,this);return this},isIdle:function(){return !!this.m_timer},_startTransition:function(){this.dispatchEvent(f.START);this.m_count=0;this.m_total=Math.ceil(this.duration/1000*this.rate);this.m_interval=1000/this.rate;this.m_begin=(this.direction==d.IN)?0:1;this.m_delta=(this.direction==d.IN)?1:-1;this.m_timer=c.repeat(this._tweenHandler,this.m_interval,this)},_tweenHandler:function(){if(++this.m_count>=this.m_total){clearInterval(this.m_timer);this.m_timer=null}var g=this.easing(this.m_count,this.m_begin,this.m_delta,this.m_total);if(Neaux.Transition.__debug){window.status="PCT = "+g*100}var h=this.m_property;var j={};for(var i in h){j[i]=parseFloat(h[i].from)+parseFloat(h[i].delta*g);if(h[i].units){j[i]+=h[i].units}}e.setStyle(this.m_target,j,true);if(this.m_count>=this.m_total){this.dispatchEvent(f.FINISH)}},_normalizeProperties:function(j){var k={};var g={alpha:"opacity",x:"left",y:"top"};if(j.length==0){return null}for(var h=0;h<j.length;h++){var m=j[h];if(!m.name){throw new Error("Transition::setParam - a property name must be specified for each property")}if(!m.to){throw new Error('Transition::setParam - a "to" value must be specified for '+m.name)}var l=b.camelize(g[m.name]||m.name);m.delta=parseInt(m.to)-m.from;k[l]=m}return k},_getCurrentOpacity:function(h,g){if(!g.from){g.from=e.getStyle(this.m_target,h)}},_getCurrentDimension:function(i,g){if(!g.from){var h=e.getStyle(this.m_target,i);g.from=parseInt(h);g.units="px"}},_getCurrentColor:function(g){},__paramHandler:function(j){if(j.target){if(!(this.m_target=$ID(this.target))){throw new Error("Transition::set - invalid target parameter specified")}}if(j.property){var g=[];if(typeof this.property=="string"){g[0]={name:this.property,from:j.from,to:j.to,units:j.units}}else{if(typeof this.property=="object"){if(this.property instanceof Array){for(var h=0;h<this.property.length;h++){g.push(this.property[h])}}else{g[0]=this.property}}}this.m_property=this._normalizeProperties(g)}if(j.easing&&typeof j.easing!="function"){throw new Error("Transition::set - easing parameter must be a function")}},toString:function(){return"[Neaux.Transition]"}});Neaux.merge(Neaux.Transition,d);Neaux.Transition.__debug=false;Neaux.register("transition","transition.js","20100813","0.5-3.04")})();
(function(){var c=Neaux.Object,e=Neaux.Dom;var a={INITIALIZE:"initialize",ATTACH:"attach",DETACH:"detach"};var d="element";Neaux.Component=Neaux.Class().Extend(Neaux.EventTarget).Events(a).Params(d).Implement({m_element:null,__construct:function(){if(this.element){this.attach(this.element)}Neaux.Function.delay(function(){this.dispatchEvent(a.INITIALIZE)},0,this)},getElement:function(){return this.m_element},create:function(f){this.m_element=e.createElement(f);return this},attach:function(g){var f=$ID(g);if(!f||!c.isHtmlElement(f)){throw new Error("Component::attach - element not found or yielded multiple elements")}if(this.m_element){this.detach()}if(f.__NWC__){throw new Error("Component::attach - component may only attach to single html element")}f.__NWC__=this;this.m_element=f;this.dispatchEvent(a.ATTACH);return this},detach:function(){if(this.m_element){delete this.m_element;this.dispatchEvent(a.DETACH)}return this},create:function(){},toString:function(){return"[Neaux.Component]"}});var b={};Neaux.register("component","component.js","20100601","0.5-3.02")})();
(function(){var a={};var b="";Neaux.Container=Neaux.Class().Extend(Neaux.Component).Events(a).Params(b).Implement({__construct:function(){this.Super(arguments)},toString:function(){return"[Neaux.Container]"}});Neaux.register("container","container.js","20100420","0.5-3.00")})();
(function(){var d={RESET:"reset",SUBMIT:"submit",VALIDATE:"validate",COMPLETE:"complete"};var b=["action","method"];Neaux.Form=Neaux.Class().Extend(Neaux.Container).Events(d).Params(b).Implement({m_xhr:null,__construct:function(){this.addListener("attach",function(){$ON(this.getElement(),"submit,reset",[this,a.handleNativeEvents]);if(this.action){this.getElement().action=this.action}if(this.method){this.getElement().method=this.method}});this.Super(arguments)},canCancel:function(e){return(e==d.SUBMIT)?true:Neaux.Container.prototype.canCancel.call(this,e)},reset:function(){throw new Error("Form::reset not implemented")},submit:function(){throw new Error("Form::submit not implemented")},toString:function(){return"[Neaux.Form]"}});var a={handleNativeEvents:function(e){switch(e.getType()){case"submit":var f=this.dispatchEvent(d.SUBMIT);if(f&&f.isCancelled()){e.preventDefault();return}if(this.hasListener(d.COMPLETE,true)){if(!this.xhr){this.xhr=new Neaux.Connection({form:this.getElement(),oncomplete:[this,a.handleNativeEvents]})}this.xhr.request();return false}break;case"complete":this.dispatchEvent(d.COMPLETE,e);break;default:throw new Error("Unimplemented or unsupported event")}}};var c=Neaux.Function;Neaux.register("form","form.js","20100814","0.5-3.04")})();

