tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jkuhn...@apache.org
Subject svn commit: r498423 [3/30] - in /tapestry/tapestry4/trunk: .settings/ eclipse/ tapestry-examples/TimeTracker/src/context/WEB-INF/ tapestry-examples/TimeTracker/src/java/org/apache/tapestry/timetracker/dao/ tapestry-examples/TimeTracker/src/java/org/apa...
Date Sun, 21 Jan 2007 18:26:26 GMT
Added: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo/dojo.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo/dojo.js?view=auto&rev=498423
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo/dojo.js (added)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo/dojo.js Sun Jan 21 10:25:59 2007
@@ -0,0 +1,1500 @@
+
+if(typeof dojo=="undefined"){var dj_global=this;var dj_currentContext=this;function dj_undef(_1,_2){return (typeof (_2||dj_currentContext)[_1]=="undefined");}
+if(dj_undef("djConfig",this)){var djConfig={};}
+if(dj_undef("dojo",this)){var dojo={};}
+dojo.global=function(){return dj_currentContext;};dojo.locale=djConfig.locale;dojo.version={major:0,minor:0,patch:0,flag:"dev",revision:Number("$Rev: 6986 $".match(/[0-9]+/)[0]),toString:function(){with(dojo.version){return major+"."+minor+"."+patch+flag+" ("+revision+")";}}};dojo.getObject=function(_3,_4,_5,_6){var _7,_8;if(typeof _3!="string"){return undefined;}
+_7=_5;if(!_7){_7=dojo.global();}
+var _9=_3.split("."),i=0,_b,_c,_d;do{_b=_7;_d=_9[i];_c=_7[_9[i]];if((_4)&&(!_c)){_c=_7[_9[i]]={};}
+_7=_c;i++;}while(i<_9.length&&_7);_8=_7;_7=_b;return (_6)?{obj:_7,prop:_d}:_8;};dojo.exists=function(_e,_f){if(typeof _f=="string"){dojo.deprecated("dojo.exists(obj, name)","use dojo.exists(name, obj, create)","0.6");var tmp=_e;_e=_f;_f=tmp;}
+return (!!dojo.getObject(_e,false,_f));};dojo.evalProp=function(_11,_12,_13){dojo.deprecated("dojo.evalProp","just use hash syntax. Sheesh.","0.6");return _12[_11]||(_13?(_12[_11]={}):undefined);};dojo.parseObjPath=function(_14,_15,_16){dojo.deprecated("dojo.parseObjPath","use dojo.getObject(path, create, context, true)","0.6");return dojo.getObject(_14,_16,_15,true);};dojo.evalObjPath=function(_17,_18){dojo.deprecated("dojo.evalObjPath","use dojo.getObject(path, create)","0.6");return dojo.getObject(_17,_18);};dojo.errorToString=function(_19){return (_19["message"]||_19["description"]||_19);};dojo.raise=function(_1a,_1b){if(_1b){_1a=_1a+": "+dojo.errorToString(_1b);}else{_1a=dojo.errorToString(_1a);}
+try{if(djConfig.isDebug){dojo.hostenv.println("FATAL exception raised: "+_1a);}}
+catch(e){}
+throw _1b||Error(_1a);};dojo.debug=function(){};dojo.debugShallow=function(obj){};dojo.profile={start:function(){},end:function(){},stop:function(){},dump:function(){}};function dj_eval(_1d){return dj_global.eval?dj_global.eval(_1d):eval(_1d);}
+dojo.unimplemented=function(_1e,_1f){var _20="'"+_1e+"' not implemented";if(_1f!=null){_20+=" "+_1f;}
+dojo.raise(_20);};dojo.deprecated=function(_21,_22,_23){var _24="DEPRECATED: "+_21;if(_22){_24+=" "+_22;}
+if(_23){_24+=" -- will be removed in version: "+_23;}
+dojo.debug(_24);};dojo.render=(function(){function vscaffold(_25,_26){var tmp={capable:false,support:{builtin:false,plugin:false},prefixes:_25};for(var i=0;i<_26.length;i++){tmp[_26[i]]=false;}
+return tmp;}
+return {name:"",ver:dojo.version,os:{win:false,linux:false,osx:false},html:vscaffold(["html"],["ie","opera","khtml","safari","moz"]),svg:vscaffold(["svg"],["corel","adobe","batik"]),vml:vscaffold(["vml"],["ie"]),swf:vscaffold(["Swf","Flash","Mm"],["mm"]),swt:vscaffold(["Swt"],["ibm"])};})();dojo.hostenv=(function(){var _29={isDebug:false,allowQueryConfig:false,baseScriptUri:"",baseRelativePath:"",libraryScriptUri:"",iePreventClobber:false,ieClobberMinimal:true,preventBackButtonFix:true,delayMozLoadingFix:false,searchIds:[],parseWidgets:true};if(typeof djConfig=="undefined"){djConfig=_29;}else{for(var _2a in _29){if(typeof djConfig[_2a]=="undefined"){djConfig[_2a]=_29[_2a];}}
+}
+return {name_:"(unset)",version_:"(unset)",getName:function(){return this.name_;},getVersion:function(){return this.version_;},getText:function(uri){dojo.unimplemented("getText","uri="+uri);}};})();dojo.hostenv.getBaseScriptUri=function(){if(djConfig.baseScriptUri.length){return djConfig.baseScriptUri;}
+var uri=new String(djConfig.libraryScriptUri||djConfig.baseRelativePath);if(!uri){dojo.raise("Nothing returned by getLibraryScriptUri(): "+uri);}
+djConfig.baseScriptUri=djConfig.baseRelativePath;return djConfig.baseScriptUri;};(function(){var _2d={pkgFileName:"__package__",loading_modules_:{},loaded_modules_:{},addedToLoadingCount:[],removedFromLoadingCount:[],inFlightCount:0,modulePrefixes_:{dojo:{name:"dojo",value:"src"}},registerModulePath:function(_2e,_2f){this.modulePrefixes_[_2e]={name:_2e,value:_2f};},moduleHasPrefix:function(_30){var mp=this.modulePrefixes_;return Boolean(mp[_30]&&mp[_30].value);},getModulePrefix:function(_32){if(this.moduleHasPrefix(_32)){return this.modulePrefixes_[_32].value;}
+return _32;},getTextStack:[],loadUriStack:[],loadedUris:[],post_load_:false,modulesLoadedListeners:[],unloadListeners:[],loadNotifying:false};for(var _33 in _2d){dojo.hostenv[_33]=_2d[_33];}})();dojo.hostenv.loadPath=function(_34,_35,cb){var uri;if(_34.charAt(0)=="/"||_34.match(/^\w+:/)){uri=_34;}else{uri=this.getBaseScriptUri()+_34;}
+if(djConfig.cacheBust&&dojo.render.html.capable){uri+="?"+String(djConfig.cacheBust).replace(/\W+/g,"");}
+try{return !_35?this.loadUri(uri,cb):this.loadUriAndCheck(uri,_35,cb);}
+catch(e){dojo.debug(e);return false;}};dojo.hostenv.loadUri=function(uri,cb){if(this.loadedUris[uri]){return true;}
+var _3a=this.getText(uri,null,true);if(!_3a){return false;}
+this.loadedUris[uri]=true;if(cb){_3a="("+_3a+")";}
+var _3b=dj_eval(_3a);if(cb){cb(_3b);}
+return true;};dojo.hostenv.loadUriAndCheck=function(uri,_3d,cb){var ok=true;try{ok=this.loadUri(uri,cb);}
+catch(e){dojo.debug("failed loading ",uri," with error: ",e);}
+return Boolean(ok&&this.findModule(_3d,false));};dojo.loaded=function(){};dojo.unloaded=function(){};dojo.hostenv.loaded=function(){this.loadNotifying=true;this.post_load_=true;var mll=this.modulesLoadedListeners;for(var x=0;x<mll.length;x++){mll[x]();}
+this.modulesLoadedListeners=[];this.loadNotifying=false;dojo.loaded();};dojo.hostenv.unloaded=function(){var mll=this.unloadListeners;while(mll.length){(mll.pop())();}
+dojo.unloaded();};dojo.addOnLoad=function(obj,_44){var dh=dojo.hostenv;if(arguments.length==1){dh.modulesLoadedListeners.push(obj);}else{if(arguments.length>1){dh.modulesLoadedListeners.push(function(){obj[_44]();});}}
+if(dh.post_load_&&dh.inFlightCount==0&&!dh.loadNotifying){dh.callLoaded();}};dojo.addOnUnload=function(obj,_47){var dh=dojo.hostenv;if(arguments.length==1){dh.unloadListeners.push(obj);}else{if(arguments.length>1){dh.unloadListeners.push(function(){obj[_47]();});}}
+};dojo.hostenv.modulesLoaded=function(){if(this.post_load_){return;}
+if(this.loadUriStack.length==0&&this.getTextStack.length==0){if(this.inFlightCount>0){dojo.debug("files still in flight!");return;}
+dojo.hostenv.callLoaded();}};dojo.hostenv.callLoaded=function(){if(typeof setTimeout=="object"){setTimeout("dojo.hostenv.loaded();",0);}else{dojo.hostenv.loaded();}};dojo.hostenv.getModuleSymbols=function(_49){var _4a=_49.split(".");for(var i=_4a.length;i>0;i--){var _4c=_4a.slice(0,i).join(".");if((i==1)&&!this.moduleHasPrefix(_4c)){_4a[0]="../"+_4a[0];}else{var _4d=this.getModulePrefix(_4c);if(_4d!=_4c){_4a.splice(0,i,_4d);break;}}
+}
+return _4a;};dojo.hostenv._global_omit_module_check=false;dojo.hostenv.loadModule=function(_4e,_4f,_50){if(!_4e){return;}
+_50=this._global_omit_module_check||_50;var _51=this.findModule(_4e,false);if(_51){return _51;}
+if(dj_undef(_4e,this.loading_modules_)){this.addedToLoadingCount.push(_4e);}
+this.loading_modules_[_4e]=1;var _52=_4e.replace(/\./g,"/")+".js";var _53=_4e.split(".");var _54=this.getModuleSymbols(_4e);var _55=((_54[0].charAt(0)!="/")&&!_54[0].match(/^\w+:/));var _56=_54[_54.length-1];var ok;if(_56=="*"){_4e=_53.slice(0,-1).join(".");while(_54.length){_54.pop();_54.push(this.pkgFileName);_52=_54.join("/")+".js";if(_55&&_52.charAt(0)=="/"){_52=_52.slice(1);}
+ok=this.loadPath(_52,!_50?_4e:null);if(ok){break;}
+_54.pop();}}else{_52=_54.join("/")+".js";_4e=_53.join(".");var _58=!_50?_4e:null;ok=this.loadPath(_52,_58);if(!ok&&!_4f){_54.pop();while(_54.length){_52=_54.join("/")+".js";ok=this.loadPath(_52,_58);if(ok){break;}
+_54.pop();_52=_54.join("/")+"/"+this.pkgFileName+".js";if(_55&&_52.charAt(0)=="/"){_52=_52.slice(1);}
+ok=this.loadPath(_52,_58);if(ok){break;}}
+}
+if(!ok&&!_50){dojo.raise("Could not load '"+_4e+"'; last tried '"+_52+"'");}}
+if(!_50&&!this["isXDomain"]){_51=this.findModule(_4e,false);if(!_51){dojo.raise("symbol '"+_4e+"' is not defined after loading '"+_52+"'");}}
+return _51;};dojo.hostenv.startPackage=function(_59){var _5a=String(_59);var _5b=_5a;var _5c=_59.split(/\./);if(_5c[_5c.length-1]=="*"){_5c.pop();_5b=_5c.join(".");}
+var _5d=dojo.getObject(_5b,true);this.loaded_modules_[_5a]=_5d;this.loaded_modules_[_5b]=_5d;return _5d;};dojo.hostenv.findModule=function(_5e,_5f){var lmn=String(_5e);if(this.loaded_modules_[lmn]){return this.loaded_modules_[lmn];}
+if(_5f){dojo.raise("no loaded module named '"+_5e+"'");}
+return null;};dojo.kwCompoundRequire=function(_61){var _62=_61["common"]||[];var _63=_61[dojo.hostenv.name_]?_62.concat(_61[dojo.hostenv.name_]||[]):_62.concat(_61["default"]||[]);for(var x=0;x<_63.length;x++){var _65=_63[x];if(_65.constructor==Array){dojo.hostenv.loadModule.apply(dojo.hostenv,_65);}else{dojo.hostenv.loadModule(_65);}}
+};dojo.require=function(_66){dojo.hostenv.loadModule.apply(dojo.hostenv,arguments);};dojo.requireIf=function(_67,_68){var _69=arguments[0];if((_69===true)||(_69=="common")||(_69&&dojo.render[_69].capable)){var _6a=[];for(var i=1;i<arguments.length;i++){_6a.push(arguments[i]);}
+dojo.require.apply(dojo,_6a);}};dojo.requireAfterIf=dojo.requireIf;dojo.provide=function(_6c){return dojo.hostenv.startPackage.apply(dojo.hostenv,arguments);};dojo.registerModulePath=function(_6d,_6e){return dojo.hostenv.registerModulePath(_6d,_6e);};dojo.hostenv.normalizeLocale=function(_6f){var _70=_6f?_6f.toLowerCase():dojo.locale;if(_70=="root"){_70="ROOT";}
+return _70;};dojo.hostenv.searchLocalePath=function(_71,_72,_73){_71=dojo.hostenv.normalizeLocale(_71);var _74=_71.split("-");var _75=[];for(var i=_74.length;i>0;i--){_75.push(_74.slice(0,i).join("-"));}
+_75.push(false);if(_72){_75.reverse();}
+for(var j=_75.length-1;j>=0;j--){var loc=_75[j]||"ROOT";var _79=_73(loc);if(_79){break;}}
+};dojo.hostenv.localesGenerated=["ROOT","es-es","es","it-it","pt-br","de","fr-fr","zh-cn","pt","en-us","zh","fr","zh-tw","it","en-gb","xx","de-de","ko-kr","ja-jp","ko","en","ja"];dojo.hostenv.registerNlsPrefix=function(){dojo.registerModulePath("nls","nls");};dojo.hostenv.preloadLocalizations=function(){if(dojo.hostenv.localesGenerated){dojo.hostenv.registerNlsPrefix();function preload(_7a){_7a=dojo.hostenv.normalizeLocale(_7a);dojo.hostenv.searchLocalePath(_7a,true,function(loc){for(var i=0;i<dojo.hostenv.localesGenerated.length;i++){if(dojo.hostenv.localesGenerated[i]==loc){dojo["require"]("nls.dojo_"+loc);return true;}}
+return false;});}
+preload();var _7d=djConfig.extraLocale||[];for(var i=0;i<_7d.length;i++){preload(_7d[i]);}}
+dojo.hostenv.preloadLocalizations=function(){};};dojo.requireLocalization=function(_7f,_80,_81,_82){dojo.hostenv.preloadLocalizations();var _83=dojo.hostenv.normalizeLocale(_81);var _84=[_7f,"nls",_80].join(".");var _85="";if(_82){var _86=_82.split(",");for(var i=0;i<_86.length;i++){if(_83.indexOf(_86[i])==0){if(_86[i].length>_85.length){_85=_86[i];}}
+}
+if(!_85){_85="ROOT";}}
+var _88=_82?_85:_83;var _89=dojo.hostenv.findModule(_84);var _8a=null;if(_89){if(djConfig.localizationComplete&&_89._built){return;}
+var _8b=_88.replace("-","_");var _8c=_84+"."+_8b;_8a=dojo.hostenv.findModule(_8c);}
+if(!_8a){_89=dojo.hostenv.startPackage(_84);var _8d=dojo.hostenv.getModuleSymbols(_7f);var _8e=_8d.concat("nls").join("/");var _8f;dojo.hostenv.searchLocalePath(_88,_82,function(loc){var _91=loc.replace("-","_");var _92=_84+"."+_91;var _93=false;if(!dojo.hostenv.findModule(_92)){dojo.hostenv.startPackage(_92);var _94=[_8e];if(loc!="ROOT"){_94.push(loc);}
+_94.push(_80);var _95=_94.join("/")+".js";_93=dojo.hostenv.loadPath(_95,null,function(_96){var _97=function(){};_97.prototype=_8f;_89[_91]=new _97();for(var j in _96){_89[_91][j]=_96[j];}});}else{_93=true;}
+if(_93&&_89[_91]){_8f=_89[_91];}else{_89[_91]=_8f;}
+if(_82){return true;}});}
+if(_82&&_83!=_85){_89[_83.replace("-","_")]=_89[_85.replace("-","_")];}};(function(){var _99=djConfig.extraLocale;if(_99){if(!_99 instanceof Array){_99=[_99];}
+var req=dojo.requireLocalization;dojo.requireLocalization=function(m,b,_9d,_9e){req(m,b,_9d,_9e);if(_9d){return;}
+for(var i=0;i<_99.length;i++){req(m,b,_99[i],_9e);}};}})();}
+if(typeof window!="undefined"){(function(){if(djConfig.allowQueryConfig){var _a0=document.location.toString();var _a1=_a0.split("?",2);if(_a1.length>1){var _a2=_a1[1];var _a3=_a2.split("&");for(var x in _a3){var sp=_a3[x].split("=");if((sp[0].length>9)&&(sp[0].substr(0,9)=="djConfig.")){var opt=sp[0].substr(9);try{djConfig[opt]=eval(sp[1]);}
+catch(e){djConfig[opt]=sp[1];}}
+}}
+}
+if(((djConfig["baseScriptUri"]=="")||(djConfig["baseRelativePath"]==""))&&(document&&document.getElementsByTagName)){var _a7=document.getElementsByTagName("script");var _a8=/(__package__|dojo|bootstrap1)\.js([\?\.]|$)/i;for(var i=0;i<_a7.length;i++){var src=_a7[i].getAttribute("src");if(!src){continue;}
+var m=src.match(_a8);if(m){var _ac=src.substring(0,m.index);if(src.indexOf("bootstrap1")>-1){_ac+="../";}
+if(!this["djConfig"]){djConfig={};}
+if(djConfig["baseScriptUri"]==""){djConfig["baseScriptUri"]=_ac;}
+if(djConfig["baseRelativePath"]==""){djConfig["baseRelativePath"]=_ac;}
+break;}}
+}
+var dr=dojo.render;var drh=dojo.render.html;var drs=dojo.render.svg;var dua=(drh.UA=navigator.userAgent);var dav=(drh.AV=navigator.appVersion);var t=true;var f=false;drh.capable=t;drh.support.builtin=t;dr.ver=parseFloat(drh.AV);dr.os.mac=dav.indexOf("Macintosh")>=0;dr.os.win=dav.indexOf("Windows")>=0;dr.os.linux=dav.indexOf("X11")>=0;drh.opera=dua.indexOf("Opera")>=0;drh.khtml=(dav.indexOf("Konqueror")>=0)||(dav.indexOf("Safari")>=0);drh.safari=dav.indexOf("Safari")>=0;var _b4=dua.indexOf("Gecko");drh.mozilla=drh.moz=(_b4>=0)&&(!drh.khtml);if(drh.mozilla){drh.geckoVersion=dua.substring(_b4+6,_b4+14);}
+drh.ie=(document.all)&&(!drh.opera);drh.ie50=drh.ie&&dav.indexOf("MSIE 5.0")>=0;drh.ie55=drh.ie&&dav.indexOf("MSIE 5.5")>=0;drh.ie60=drh.ie&&dav.indexOf("MSIE 6.0")>=0;drh.ie70=drh.ie&&dav.indexOf("MSIE 7.0")>=0;var cm=document["compatMode"];drh.quirks=(cm=="BackCompat")||(cm=="QuirksMode")||drh.ie55||drh.ie50;dojo.locale=dojo.locale||(drh.ie?navigator.userLanguage:navigator.language).toLowerCase();dr.vml.capable=drh.ie;drs.capable=f;drs.support.plugin=f;drs.support.builtin=f;var _b6=window["document"];var tdi=_b6["implementation"];if((tdi)&&(tdi["hasFeature"])&&(tdi.hasFeature("org.w3c.dom.svg","1.0"))){drs.capable=t;drs.support.builtin=t;drs.support.plugin=f;}
+if(drh.safari){var tmp=dua.split("AppleWebKit/")[1];var ver=parseFloat(tmp.split(" ")[0]);if(ver>=420){drs.capable=t;drs.support.builtin=t;drs.support.plugin=f;}}else{}})();dojo.hostenv.startPackage("dojo.hostenv");dojo.render.name=dojo.hostenv.name_="browser";dojo.hostenv.searchIds=[];dojo.hostenv._XMLHTTP_PROGIDS=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"];dojo.hostenv.getXmlhttpObject=function(){var _ba=null;var _bb=null;try{_ba=new XMLHttpRequest();}
+catch(e){}
+if(!_ba){for(var i=0;i<3;++i){var _bd=dojo.hostenv._XMLHTTP_PROGIDS[i];try{_ba=new ActiveXObject(_bd);}
+catch(e){_bb=e;}
+if(_ba){dojo.hostenv._XMLHTTP_PROGIDS=[_bd];break;}}
+}
+if(!_ba){return dojo.raise("XMLHTTP not available",_bb);}
+return _ba;};dojo.hostenv._blockAsync=false;dojo.hostenv.getText=function(uri,_bf,_c0){if(!_bf){this._blockAsync=true;}
+var _c1=this.getXmlhttpObject();function isDocumentOk(_c2){var _c3=_c2["status"];return Boolean((!_c3)||((200<=_c3)&&(300>_c3))||(_c3==304));}
+if(_bf){var _c4=this,_c5=null,gbl=dojo.global();var xhr=dojo.getObject("dojo.io.XMLHTTPTransport");_c1.onreadystatechange=function(){if(_c5){gbl.clearTimeout(_c5);_c5=null;}
+if(_c4._blockAsync||(xhr&&xhr._blockAsync)){_c5=gbl.setTimeout(function(){_c1.onreadystatechange.apply(this);},10);}else{if(4==_c1.readyState){if(isDocumentOk(_c1)){_bf(_c1.responseText);}}
+}};}
+_c1.open("GET",uri,_bf?true:false);try{_c1.send(null);if(_bf){return null;}
+if(!isDocumentOk(_c1)){var err=Error("Unable to load "+uri+" status:"+_c1.status);err.status=_c1.status;err.responseText=_c1.responseText;throw err;}}
+catch(e){this._blockAsync=false;if((_c0)&&(!_bf)){return null;}else{throw e;}}
+this._blockAsync=false;return _c1.responseText;};dojo.hostenv.defaultDebugContainerId="dojoDebug";dojo.hostenv._println_buffer=[];dojo.hostenv._println_safe=false;dojo.hostenv.println=function(_c9){if(!dojo.hostenv._println_safe){dojo.hostenv._println_buffer.push(_c9);}else{try{var _ca=document.getElementById(djConfig.debugContainerId?djConfig.debugContainerId:dojo.hostenv.defaultDebugContainerId);if(!_ca){_ca=dojo.body();}
+var div=document.createElement("div");div.appendChild(document.createTextNode(_c9));_ca.appendChild(div);}
+catch(e){try{document.write("<div>"+_c9+"</div>");}
+catch(e2){window.status=_c9;}}
+}};dojo.addOnLoad(function(){dojo.hostenv._println_safe=true;while(dojo.hostenv._println_buffer.length>0){dojo.hostenv.println(dojo.hostenv._println_buffer.shift());}});function dj_addNodeEvtHdlr(_cc,_cd,fp){var _cf=_cc["on"+_cd]||function(){};_cc["on"+_cd]=function(){fp.apply(_cc,arguments);_cf.apply(_cc,arguments);};return true;}
+function dj_load_init(e){var _d1=(e&&e.type)?e.type.toLowerCase():"load";if(arguments.callee.initialized||(_d1!="domcontentloaded"&&_d1!="load")){return;}
+arguments.callee.initialized=true;if(typeof (_timer)!="undefined"){clearInterval(_timer);delete _timer;}
+var _d2=function(){if(dojo.render.html.ie){dojo.hostenv.makeWidgets();}};if(dojo.hostenv.inFlightCount==0){_d2();dojo.hostenv.modulesLoaded();}else{dojo.hostenv.modulesLoadedListeners.unshift(_d2);}}
+if(document.addEventListener){if(dojo.render.html.opera||(dojo.render.html.moz&&(djConfig["enableMozDomContentLoaded"]===true))){document.addEventListener("DOMContentLoaded",dj_load_init,null);}
+window.addEventListener("load",dj_load_init,null);}
+if(dojo.render.html.ie&&dojo.render.os.win){document.write("<scr"+"ipt defer src=\"//:\" "+"onreadystatechange=\"if(this.readyState=='complete'){dj_load_init();}\">"+"</scr"+"ipt>");}
+if(/(WebKit|khtml)/i.test(navigator.userAgent)){var _timer=setInterval(function(){if(/loaded|complete/.test(document.readyState)){dj_load_init();}},10);}
+if(dojo.render.html.ie){dj_addNodeEvtHdlr(window,"beforeunload",function(){dojo.hostenv._unloading=true;window.setTimeout(function(){dojo.hostenv._unloading=false;},0);});}
+dj_addNodeEvtHdlr(window,"unload",function(){if((!dojo.render.html.ie)||(dojo.render.html.ie&&dojo.hostenv._unloading)){dojo.hostenv.unloaded();}});dojo.hostenv.makeWidgets=function(){var _d3=[];if(djConfig.searchIds&&djConfig.searchIds.length>0){_d3=_d3.concat(djConfig.searchIds);}
+if(dojo.hostenv.searchIds&&dojo.hostenv.searchIds.length>0){_d3=_d3.concat(dojo.hostenv.searchIds);}
+if((djConfig.parseWidgets)||(_d3.length>0)){if(dojo.getObject("dojo.widget.Parse")){var _d4=new dojo.xml.Parse();if(_d3.length>0){for(var x=0;x<_d3.length;x++){var _d6=document.getElementById(_d3[x]);if(!_d6){continue;}
+var _d7=_d4.parseElement(_d6,null,true);dojo.widget.getParser().createComponents(_d7);}}else{if(djConfig.parseWidgets){var _d7=_d4.parseElement(dojo.body(),null,true);dojo.widget.getParser().createComponents(_d7);}}
+}}
+};dojo.addOnLoad(function(){if(!dojo.render.html.ie){dojo.hostenv.makeWidgets();}});try{if(dojo.render.html.ie){document.namespaces.add("v","urn:schemas-microsoft-com:vml");document.createStyleSheet().addRule("v\\:*","behavior:url(#default#VML)");}}
+catch(e){}
+dojo.hostenv.writeIncludes=function(){};if(!dj_undef("document",this)){dj_currentDocument=this.document;}
+dojo.doc=function(){return dj_currentDocument;};dojo.body=function(){return dojo.doc().body||dojo.doc().getElementsByTagName("body")[0];};dojo.byId=function(id,doc){if((id)&&((typeof id=="string")||(id instanceof String))){if(!doc){doc=dj_currentDocument;}
+var ele=doc.getElementById(id);if(ele&&(ele.id!=id)&&doc.all){ele=null;eles=doc.all[id];if(eles){if(eles.length){for(var i=0;i<eles.length;i++){if(eles[i].id==id){ele=eles[i];break;}}
+}else{ele=eles;}}
+}
+return ele;}
+return id;};dojo.setContext=function(_dc,_dd){dj_currentContext=_dc;dj_currentDocument=_dd;};dojo._fireCallback=function(_de,_df,_e0){if((_df)&&((typeof _de=="string")||(_de instanceof String))){_de=_df[_de];}
+return (_df?_de.apply(_df,_e0||[]):_de());};dojo.withGlobal=function(_e1,_e2,_e3,_e4){var _e5;var _e6=dj_currentContext;var _e7=dj_currentDocument;try{dojo.setContext(_e1,_e1.document);_e5=dojo._fireCallback(_e2,_e3,_e4);}
+finally{dojo.setContext(_e6,_e7);}
+return _e5;};dojo.withDoc=function(_e8,_e9,_ea,_eb){var _ec;var _ed=dj_currentDocument;try{dj_currentDocument=_e8;_ec=dojo._fireCallback(_e9,_ea,_eb);}
+finally{dj_currentDocument=_ed;}
+return _ec;};}
+(function(){if(typeof dj_usingBootstrap!="undefined"){return;}
+var _ee=false;var _ef=false;var _f0=false;if((typeof this["load"]=="function")&&((typeof this["Packages"]=="function")||(typeof this["Packages"]=="object"))){_ee=true;}else{if(typeof this["load"]=="function"){_ef=true;}else{if(window.widget){_f0=true;}}
+}
+var _f1=[];if((this["djConfig"])&&((djConfig["isDebug"])||(djConfig["debugAtAllCosts"]))){_f1.push("debug.js");}
+if((this["djConfig"])&&(djConfig["debugAtAllCosts"])&&(!_ee)&&(!_f0)){_f1.push("browser_debug.js");}
+var _f2=djConfig["baseScriptUri"];if((this["djConfig"])&&(djConfig["baseLoaderUri"])){_f2=djConfig["baseLoaderUri"];}
+for(var x=0;x<_f1.length;x++){var _f4=_f2+"src/"+_f1[x];if(_ee||_ef){load(_f4);}else{try{document.write("<scr"+"ipt type='text/javascript' src='"+_f4+"'></scr"+"ipt>");}
+catch(e){var _f5=document.createElement("script");_f5.src=_f4;document.getElementsByTagName("head")[0].appendChild(_f5);}}
+}})();dojo.provide("dojo.a11y");dojo.provide("dojo.date.common");dojo.provide("dojo.date.format");dojo.provide("dojo.date.supplemental");dojo.provide("dojo.dom");dojo.provide("dojo.event.*");dojo.provide("dojo.event.browser");dojo.provide("dojo.event.common");dojo.provide("dojo.event.topic");dojo.provide("dojo.gfx.color");dojo.provide("dojo.html.color");dojo.provide("dojo.html.common");dojo.provide("dojo.html.display");dojo.provide("dojo.html.layout");dojo.provide("dojo.html.style");dojo.provide("dojo.html.util");dojo.provide("dojo.i18n.common");dojo.provide("dojo.io.BrowserIO");dojo.provide("dojo.io.common");dojo.provide("dojo.io.cookie");dojo.provide("dojo.lang.array");dojo.provide("dojo.lang.common");dojo.provide("dojo.lang.declare");dojo.provide("dojo.lang.extras");dojo.provide("dojo.lang.func");dojo.provide("dojo.lfx.*");dojo.provide("dojo.lfx.Animation");dojo.provide("dojo.lfx.html");dojo.provide("dojo.lfx.toggler");dojo.provide("dojo.ns");dojo.provide("dojo.string");d
 ojo.provide("dojo.string.common");dojo.provide("dojo.string.extras");dojo.provide("dojo.undo.browser");dojo.provide("dojo.uri.*");dojo.provide("dojo.uri.Uri");dojo.provide("dojo.widget.*");dojo.provide("dojo.widget.DomWidget");dojo.provide("dojo.widget.HtmlWidget");dojo.provide("dojo.widget.Manager");dojo.provide("dojo.widget.Parse");dojo.provide("dojo.widget.Widget");dojo.provide("dojo.xml.Parse");dojo.lang.inherits=function(_f6,_f7){if(!dojo.lang.isFunction(_f7)){dojo.raise("dojo.inherits: superclass argument ["+_f7+"] must be a function (subclass: ["+_f6+"']");}
+_f6.prototype=new _f7();_f6.prototype.constructor=_f6;_f6.superclass=_f7.prototype;_f6["super"]=_f7.prototype;};dojo.lang._mixin=function(obj,_f9){var _fa={};for(var x in _f9){if((typeof _fa[x]=="undefined")||(_fa[x]!=_f9[x])){obj[x]=_f9[x];}}
+if(dojo.render.html.ie&&(typeof (_f9["toString"])=="function")&&(_f9["toString"]!=obj["toString"])&&(_f9["toString"]!=_fa["toString"])){obj.toString=_f9.toString;}
+return obj;};dojo.lang.mixin=function(obj,_fd){for(var i=1,l=arguments.length;i<l;i++){dojo.lang._mixin(obj,arguments[i]);}
+return obj;};dojo.lang.extend=function(_100,_101){for(var i=1,l=arguments.length;i<l;i++){dojo.lang._mixin(_100.prototype,arguments[i]);}
+return _100;};dojo.lang._delegate=function(obj,_105){function TMP(){}
+TMP.prototype=obj;var tmp=new TMP();if(_105){dojo.lang.mixin(tmp,_105);}
+return tmp;};dojo.inherits=dojo.lang.inherits;dojo.mixin=dojo.lang.mixin;dojo.extend=dojo.lang.extend;dojo.lang.find=function(_107,_108,_109,_10a){var _10b=dojo.lang.isString(_107);if(_10b){_107=_107.split("");}
+if(_10a){var step=-1;var i=_107.length-1;var end=-1;}else{var step=1;var i=0;var end=_107.length;}
+if(_109){while(i!=end){if(_107[i]===_108){return i;}
+i+=step;}}else{while(i!=end){if(_107[i]==_108){return i;}
+i+=step;}}
+return -1;};dojo.lang.indexOf=dojo.lang.find;dojo.lang.findLast=function(_10f,_110,_111){return dojo.lang.find(_10f,_110,_111,true);};dojo.lang.lastIndexOf=dojo.lang.findLast;dojo.lang.inArray=function(_112,_113){return dojo.lang.find(_112,_113)>-1;};dojo.lang.isObject=function(it){if(typeof it=="undefined"){return false;}
+return (typeof it=="object"||it===null||dojo.lang.isArray(it)||dojo.lang.isFunction(it));};dojo.lang.isArray=function(it){return (it&&it instanceof Array||typeof it=="array");};dojo.lang.isArrayLike=function(it){if((!it)||(dojo.lang.isUndefined(it))){return false;}
+if(dojo.lang.isString(it)){return false;}
+if(dojo.lang.isFunction(it)){return false;}
+if(dojo.lang.isArray(it)){return true;}
+if((it.tagName)&&(it.tagName.toLowerCase()=="form")){return false;}
+if(dojo.lang.isNumber(it.length)&&isFinite(it.length)){return true;}
+return false;};dojo.lang.isFunction=function(it){return (it instanceof Function||typeof it=="function");};(function(){if((dojo.render.html.capable)&&(dojo.render.html["safari"])){dojo.lang.isFunction=function(it){if((typeof (it)=="function")&&(it=="[object NodeList]")){return false;}
+return (it instanceof Function||typeof it=="function");};}})();dojo.lang.isString=function(it){return (typeof it=="string"||it instanceof String);};dojo.lang.isAlien=function(it){if(!it){return false;}
+return !dojo.lang.isFunction(it)&&/\{\s*\[native code\]\s*\}/.test(String(it));};dojo.lang.isBoolean=function(it){return (it instanceof Boolean||typeof it=="boolean");};dojo.lang.isNumber=function(it){return (it instanceof Number||typeof it=="number");};dojo.lang.isUndefined=function(it){return ((typeof (it)=="undefined")&&(it==undefined));};dojo.lang.mixin(dojo.lang,{has:function(obj,name){try{return typeof obj[name]!="undefined";}
+catch(e){return false;}},isEmpty:function(obj){if(dojo.lang.isArrayLike(obj)||dojo.lang.isString(obj)){return obj.length===0;}else{if(dojo.lang.isObject(obj)){var tmp={};for(var x in obj){if(obj[x]&&(!tmp[x])){return false;}}
+return true;}}
+},map:function(arr,obj,_125){var _126=dojo.lang.isString(arr);if(_126){arr=arr.split("");}
+if(dojo.lang.isFunction(obj)&&(!_125)){_125=obj;obj=dj_global;}else{if(dojo.lang.isFunction(obj)&&_125){var _127=obj;obj=_125;_125=_127;}}
+if(Array.map){var _128=Array.map(arr,_125,obj);}else{var _128=[];for(var i=0;i<arr.length;++i){_128.push(_125.call(obj,arr[i]));}}
+if(_126){return _128.join("");}else{return _128;}},reduce:function(arr,_12b,obj,_12d){var _12e=_12b;if(arguments.length==1){dojo.debug("dojo.lang.reduce called with too few arguments!");return false;}else{if(arguments.length==2){_12d=_12b;_12e=arr.shift();}else{if(arguments.lenght==3){if(dojo.lang.isFunction(obj)){_12d=obj;obj=null;}}else{if(dojo.lang.isFunction(obj)){var tmp=_12d;_12d=obj;obj=tmp;}}
+}}
+var ob=obj?obj:dj_global;dojo.lang.map(arr,function(val){_12e=_12d.call(ob,_12e,val);});return _12e;},forEach:function(_132,_133,_134){if(dojo.lang.isString(_132)){_132=_132.split("");}
+if(Array.forEach){Array.forEach(_132,_133,_134);}else{if(!_134){_134=dj_global;}
+for(var i=0,l=_132.length;i<l;i++){_133.call(_134,_132[i],i,_132);}}
+},_everyOrSome:function(_137,arr,_139,_13a){if(dojo.lang.isString(arr)){arr=arr.split("");}
+if(Array.every){return Array[_137?"every":"some"](arr,_139,_13a);}else{if(!_13a){_13a=dj_global;}
+for(var i=0,l=arr.length;i<l;i++){var _13d=_139.call(_13a,arr[i],i,arr);if(_137&&!_13d){return false;}else{if((!_137)&&(_13d)){return true;}}
+}
+return Boolean(_137);}},every:function(arr,_13f,_140){return this._everyOrSome(true,arr,_13f,_140);},some:function(arr,_142,_143){return this._everyOrSome(false,arr,_142,_143);},filter:function(arr,_145,_146){var _147=dojo.lang.isString(arr);if(_147){arr=arr.split("");}
+var _148;if(Array.filter){_148=Array.filter(arr,_145,_146);}else{if(!_146){if(arguments.length>=3){dojo.raise("thisObject doesn't exist!");}
+_146=dj_global;}
+_148=[];for(var i=0;i<arr.length;i++){if(_145.call(_146,arr[i],i,arr)){_148.push(arr[i]);}}
+}
+if(_147){return _148.join("");}else{return _148;}},unnest:function(){var out=[];for(var i=0;i<arguments.length;i++){if(dojo.lang.isArrayLike(arguments[i])){var add=dojo.lang.unnest.apply(this,arguments[i]);out=out.concat(add);}else{out.push(arguments[i]);}}
+return out;},toArray:function(_14d,_14e){var _14f=[];for(var i=_14e||0;i<_14d.length;i++){_14f.push(_14d[i]);}
+return _14f;}});dojo.lang.setTimeout=function(func,_152){var _153=window,_154=2;if(!dojo.lang.isFunction(func)){_153=func;func=_152;_152=arguments[2];_154++;}
+if(dojo.lang.isString(func)){func=_153[func];}
+var args=[];for(var i=_154;i<arguments.length;i++){args.push(arguments[i]);}
+return dojo.global().setTimeout(function(){func.apply(_153,args);},_152);};dojo.lang.clearTimeout=function(_157){dojo.global().clearTimeout(_157);};dojo.lang.getNameInObj=function(ns,item){if(!ns){ns=dj_global;}
+for(var x in ns){if(ns[x]===item){return new String(x);}}
+return null;};dojo.lang.shallowCopy=function(obj,deep){var i,ret;if(obj===null){return null;}
+if(dojo.lang.isObject(obj)){ret=new obj.constructor();for(i in obj){if(dojo.lang.isUndefined(ret[i])){ret[i]=deep?dojo.lang.shallowCopy(obj[i],deep):obj[i];}}
+}else{if(dojo.lang.isArray(obj)){ret=[];for(i=0;i<obj.length;i++){ret[i]=deep?dojo.lang.shallowCopy(obj[i],deep):obj[i];}}else{ret=obj;}}
+return ret;};dojo.lang.firstValued=function(){for(var i=0;i<arguments.length;i++){if(typeof arguments[i]!="undefined"){return arguments[i];}}
+return undefined;};dojo.lang.getObjPathValue=function(_160,_161,_162){dojo.deprecated("dojo.lang.getObjPathValue","use dojo.getObject","0.6");with(dojo.parseObjPath(_160,_161,_162)){return dojo.evalProp(prop,obj,_162);}};dojo.lang.setObjPathValue=function(_163,_164,_165,_166){dojo.deprecated("dojo.lang.setObjPathValue","use dojo.parseObjPath and the '=' operator","0.6");if(arguments.length<4){_166=true;}
+with(dojo.parseObjPath(_163,_165,_166)){if(obj&&(_166||(prop in obj))){obj[prop]=_164;}}
+};dojo.lang.hitch=function(_167,_168){var args=[];for(var x=2;x<arguments.length;x++){args.push(arguments[x]);}
+var fcn=(dojo.lang.isString(_168)?_167[_168]:_168)||function(){};return function(){var ta=args.concat([]);for(var x=0;x<arguments.length;x++){ta.push(arguments[x]);}
+return fcn.apply(_167,ta);};};dojo.lang.anonCtr=0;dojo.lang.anon={};dojo.lang.nameAnonFunc=function(_16e,_16f,_170){var isIE=(dojo.render.html.capable&&dojo.render.html["ie"]);var jpn="$joinpoint";var nso=(_16f||dojo.lang.anon);if(isIE){var cn=_16e["__dojoNameCache"];if(cn&&nso[cn]===_16e){return _16e["__dojoNameCache"];}else{if(cn){var _175=cn.indexOf(jpn);if(_175!=-1){return cn.substring(0,_175);}}
+}}
+if((_170)||((dj_global["djConfig"])&&(djConfig["slowAnonFuncLookups"]==true))){for(var x in nso){try{if(nso[x]===_16e){if(isIE){_16e["__dojoNameCache"]=x;var _175=x.indexOf(jpn);if(_175!=-1){x=x.substring(0,_175);}}
+return x;}}
+catch(e){}}
+}
+var ret="__"+dojo.lang.anonCtr++;while(typeof nso[ret]!="undefined"){ret="__"+dojo.lang.anonCtr++;}
+nso[ret]=_16e;return ret;};dojo.lang.forward=function(_178){return function(){return this[_178].apply(this,arguments);};};dojo.lang.curry=function(_179,func){var _17b=[];_179=_179||dj_global;if(dojo.lang.isString(func)){func=_179[func];}
+for(var x=2;x<arguments.length;x++){_17b.push(arguments[x]);}
+var _17d=(func["__preJoinArity"]||func.length)-_17b.length;function gather(_17e,_17f,_180){var _181=_180;var _182=_17f.slice(0);for(var x=0;x<_17e.length;x++){_182.push(_17e[x]);}
+_180=_180-_17e.length;if(_180<=0){var res=func.apply(_179,_182);_180=_181;return res;}else{return function(){return gather(arguments,_182,_180);};}}
+return gather([],_17b,_17d);};dojo.lang.curryArguments=function(_185,func,args,_188){var _189=[];var x=_188||0;for(x=_188;x<args.length;x++){_189.push(args[x]);}
+return dojo.lang.curry.apply(dojo.lang,[_185,func].concat(_189));};dojo.lang.tryThese=function(){for(var x=0;x<arguments.length;x++){try{if(typeof arguments[x]=="function"){var ret=(arguments[x]());if(ret){return ret;}}
+}
+catch(e){dojo.debug(e);}}
+};dojo.lang.delayThese=function(farr,cb,_18f,_190){if(!farr.length){if(typeof _190=="function"){_190();}
+return;}
+if((typeof _18f=="undefined")&&(typeof cb=="number")){_18f=cb;cb=function(){};}else{if(!cb){cb=function(){};if(!_18f){_18f=0;}}
+}
+setTimeout(function(){(farr.shift())();cb();dojo.lang.delayThese(farr,cb,_18f,_190);},_18f);};dojo.event=new function(){this._canTimeout=dojo.lang.isFunction(dj_global["setTimeout"])||dojo.lang.isAlien(dj_global["setTimeout"]);function interpolateArgs(args,_192){var dl=dojo.lang;var ao={srcObj:dj_global,srcFunc:null,adviceObj:dj_global,adviceFunc:null,aroundObj:null,aroundFunc:null,adviceType:(args.length>2)?args[0]:"after",precedence:"last",once:false,delay:null,rate:0,adviceMsg:false,maxCalls:-1};switch(args.length){case 0:
+return;case 1:
+return;case 2:
+ao.srcFunc=args[0];ao.adviceFunc=args[1];break;case 3:
+if((dl.isObject(args[0]))&&(dl.isString(args[1]))&&(dl.isString(args[2]))){ao.adviceType="after";ao.srcObj=args[0];ao.srcFunc=args[1];ao.adviceFunc=args[2];}else{if((dl.isString(args[1]))&&(dl.isString(args[2]))){ao.srcFunc=args[1];ao.adviceFunc=args[2];}else{if((dl.isObject(args[0]))&&(dl.isString(args[1]))&&(dl.isFunction(args[2]))){ao.adviceType="after";ao.srcObj=args[0];ao.srcFunc=args[1];var _195=dl.nameAnonFunc(args[2],ao.adviceObj,_192);ao.adviceFunc=_195;}else{if((dl.isFunction(args[0]))&&(dl.isObject(args[1]))&&(dl.isString(args[2]))){ao.adviceType="after";ao.srcObj=dj_global;var _195=dl.nameAnonFunc(args[0],ao.srcObj,_192);ao.srcFunc=_195;ao.adviceObj=args[1];ao.adviceFunc=args[2];}}
+}}
+break;case 4:
+if((dl.isObject(args[0]))&&(dl.isObject(args[2]))){ao.adviceType="after";ao.srcObj=args[0];ao.srcFunc=args[1];ao.adviceObj=args[2];ao.adviceFunc=args[3];}else{if((dl.isString(args[0]))&&(dl.isString(args[1]))&&(dl.isObject(args[2]))){ao.adviceType=args[0];ao.srcObj=dj_global;ao.srcFunc=args[1];ao.adviceObj=args[2];ao.adviceFunc=args[3];}else{if((dl.isString(args[0]))&&(dl.isFunction(args[1]))&&(dl.isObject(args[2]))){ao.adviceType=args[0];ao.srcObj=dj_global;var _195=dl.nameAnonFunc(args[1],dj_global,_192);ao.srcFunc=_195;ao.adviceObj=args[2];ao.adviceFunc=args[3];}else{if((dl.isString(args[0]))&&(dl.isObject(args[1]))&&(dl.isString(args[2]))&&(dl.isFunction(args[3]))){ao.srcObj=args[1];ao.srcFunc=args[2];var _195=dl.nameAnonFunc(args[3],dj_global,_192);ao.adviceObj=dj_global;ao.adviceFunc=_195;}else{if(dl.isObject(args[1])){ao.srcObj=args[1];ao.srcFunc=args[2];ao.adviceObj=dj_global;ao.adviceFunc=args[3];}else{if(dl.isObject(args[2])){ao.srcObj=dj_global;ao.srcFunc=args[1];
 ao.adviceObj=args[2];ao.adviceFunc=args[3];}else{ao.srcObj=ao.adviceObj=ao.aroundObj=dj_global;ao.srcFunc=args[1];ao.adviceFunc=args[2];ao.aroundFunc=args[3];}}
+}}
+}}
+break;case 6:
+ao.srcObj=args[1];ao.srcFunc=args[2];ao.adviceObj=args[3];ao.adviceFunc=args[4];ao.aroundFunc=args[5];ao.aroundObj=dj_global;break;default:
+ao.srcObj=args[1];ao.srcFunc=args[2];ao.adviceObj=args[3];ao.adviceFunc=args[4];ao.aroundObj=args[5];ao.aroundFunc=args[6];ao.once=args[7];ao.delay=args[8];ao.rate=args[9];ao.adviceMsg=args[10];ao.maxCalls=(!isNaN(parseInt(args[11])))?args[11]:-1;break;}
+if(dl.isFunction(ao.aroundFunc)){var _195=dl.nameAnonFunc(ao.aroundFunc,ao.aroundObj,_192);ao.aroundFunc=_195;}
+if(dl.isFunction(ao.srcFunc)){ao.srcFunc=dl.getNameInObj(ao.srcObj,ao.srcFunc);}
+if(dl.isFunction(ao.adviceFunc)){ao.adviceFunc=dl.getNameInObj(ao.adviceObj,ao.adviceFunc);}
+if((ao.aroundObj)&&(dl.isFunction(ao.aroundFunc))){ao.aroundFunc=dl.getNameInObj(ao.aroundObj,ao.aroundFunc);}
+if(!ao.srcObj){dojo.raise("bad srcObj for srcFunc: "+ao.srcFunc);}
+if(!ao.adviceObj){dojo.raise("bad adviceObj for adviceFunc: "+ao.adviceFunc);}
+if(!ao.adviceFunc){dojo.debug("bad adviceFunc for srcFunc: "+ao.srcFunc);dojo.debugShallow(ao);}
+return ao;}
+this.connect=function(){if(arguments.length==1){var ao=arguments[0];}else{var ao=interpolateArgs(arguments,true);}
+if(dojo.lang.isString(ao.srcFunc)&&(ao.srcFunc.toLowerCase()=="onkey")){if(dojo.render.html.ie){ao.srcFunc="onkeydown";this.connect(ao);}
+ao.srcFunc="onkeypress";}
+if(dojo.lang.isArray(ao.srcObj)&&ao.srcObj!=""){var _197={};for(var x in ao){_197[x]=ao[x];}
+var mjps=[];dojo.lang.forEach(ao.srcObj,function(src){if((dojo.render.html.capable)&&(dojo.lang.isString(src))){src=dojo.byId(src);}
+_197.srcObj=src;mjps.push(dojo.event.connect.call(dojo.event,_197));});return mjps;}
+var mjp=dojo.event.MethodJoinPoint.getForMethod(ao.srcObj,ao.srcFunc);if(ao.adviceFunc){var mjp2=dojo.event.MethodJoinPoint.getForMethod(ao.adviceObj,ao.adviceFunc);}
+mjp.kwAddAdvice(ao);return mjp;};this.log=function(a1,a2){var _19f;if((arguments.length==1)&&(typeof a1=="object")){_19f=a1;}else{_19f={srcObj:a1,srcFunc:a2};}
+_19f.adviceFunc=function(){var _1a0=[];for(var x=0;x<arguments.length;x++){_1a0.push(arguments[x]);}
+dojo.debug("("+_19f.srcObj+")."+_19f.srcFunc,":",_1a0.join(", "));};this.kwConnect(_19f);};this.connectBefore=function(){var args=["before"];for(var i=0;i<arguments.length;i++){args.push(arguments[i]);}
+return this.connect.apply(this,args);};this.connectAround=function(){var args=["around"];for(var i=0;i<arguments.length;i++){args.push(arguments[i]);}
+return this.connect.apply(this,args);};this.connectOnce=function(){var ao=interpolateArgs(arguments,true);ao.once=true;return this.connect(ao);};this.connectRunOnce=function(){var ao=interpolateArgs(arguments,true);ao.maxCalls=1;return this.connect(ao);};this._kwConnectImpl=function(_1a8,_1a9){var fn=(_1a9)?"disconnect":"connect";if(typeof _1a8["srcFunc"]=="function"){_1a8.srcObj=_1a8["srcObj"]||dj_global;var _1ab=dojo.lang.nameAnonFunc(_1a8.srcFunc,_1a8.srcObj,true);_1a8.srcFunc=_1ab;}
+if(typeof _1a8["adviceFunc"]=="function"){_1a8.adviceObj=_1a8["adviceObj"]||dj_global;var _1ab=dojo.lang.nameAnonFunc(_1a8.adviceFunc,_1a8.adviceObj,true);_1a8.adviceFunc=_1ab;}
+_1a8.srcObj=_1a8["srcObj"]||dj_global;_1a8.adviceObj=_1a8["adviceObj"]||_1a8["targetObj"]||dj_global;_1a8.adviceFunc=_1a8["adviceFunc"]||_1a8["targetFunc"];return dojo.event[fn](_1a8);};this.kwConnect=function(_1ac){return this._kwConnectImpl(_1ac,false);};this.disconnect=function(){if(arguments.length==1){var ao=arguments[0];}else{var ao=interpolateArgs(arguments,true);}
+if(!ao.adviceFunc){return;}
+if(dojo.lang.isString(ao.srcFunc)&&(ao.srcFunc.toLowerCase()=="onkey")){if(dojo.render.html.ie){ao.srcFunc="onkeydown";this.disconnect(ao);}
+ao.srcFunc="onkeypress";}
+if(!ao.srcObj[ao.srcFunc]){return null;}
+var mjp=dojo.event.MethodJoinPoint.getForMethod(ao.srcObj,ao.srcFunc,true);mjp.removeAdvice(ao.adviceObj,ao.adviceFunc,ao.adviceType,ao.once);return mjp;};this.kwDisconnect=function(_1af){return this._kwConnectImpl(_1af,true);};};dojo.event.MethodInvocation=function(_1b0,obj,args){this.jp_=_1b0;this.object=obj;this.args=[];for(var x=0;x<args.length;x++){this.args[x]=args[x];}
+this.around_index=-1;};dojo.event.MethodInvocation.prototype.proceed=function(){this.around_index++;if(this.around_index>=this.jp_.around.length){return this.jp_.object[this.jp_.methodname].apply(this.jp_.object,this.args);}else{var ti=this.jp_.around[this.around_index];var mobj=ti[0]||dj_global;var meth=ti[1];return mobj[meth].call(mobj,this);}};dojo.event.MethodJoinPoint=function(obj,_1b8){this.object=obj||dj_global;this.methodname=_1b8;this.methodfunc=this.object[_1b8];};dojo.event.MethodJoinPoint.getForMethod=function(obj,_1ba){if(!obj){obj=dj_global;}
+var ofn=obj[_1ba];if(!ofn){ofn=obj[_1ba]=function(){};if(!obj[_1ba]){dojo.raise("Cannot set do-nothing method on that object "+_1ba);}}else{if((typeof ofn!="function")&&(!dojo.lang.isFunction(ofn))&&(!dojo.lang.isAlien(ofn))){return null;}}
+var _1bc=_1ba+"$joinpoint";var _1bd=_1ba+"$joinpoint$method";var _1be=obj[_1bc];if(!_1be){var _1bf=false;if(dojo.event["browser"]){if((obj["attachEvent"])||(obj["nodeType"])||(obj["addEventListener"])){_1bf=true;dojo.event.browser.addClobberNodeAttrs(obj,[_1bc,_1bd,_1ba]);}}
+var _1c0=ofn.length;obj[_1bd]=ofn;_1be=obj[_1bc]=new dojo.event.MethodJoinPoint(obj,_1bd);if(!_1bf){obj[_1ba]=function(){return _1be.run.apply(_1be,arguments);};}else{obj[_1ba]=function(){var args=[];if(!arguments.length){var evt=null;try{if(obj.ownerDocument){evt=obj.ownerDocument.parentWindow.event;}else{if(obj.documentElement){evt=obj.documentElement.ownerDocument.parentWindow.event;}else{if(obj.event){evt=obj.event;}else{evt=window.event;}}
+}}
+catch(e){evt=window.event;}
+if(evt){args.push(dojo.event.browser.fixEvent(evt,this));}}else{for(var x=0;x<arguments.length;x++){if((x==0)&&(dojo.event.browser.isEvent(arguments[x]))){args.push(dojo.event.browser.fixEvent(arguments[x],this));}else{args.push(arguments[x]);}}
+}
+return _1be.run.apply(_1be,args);};}
+obj[_1ba].__preJoinArity=_1c0;}
+return _1be;};dojo.lang.extend(dojo.event.MethodJoinPoint,{squelch:false,unintercept:function(){this.object[this.methodname]=this.methodfunc;this.before=[];this.after=[];this.around=[];},disconnect:dojo.lang.forward("unintercept"),run:function(){var obj=this.object||dj_global;var args=arguments;var _1c6=[];for(var x=0;x<args.length;x++){_1c6[x]=args[x];}
+var _1c8=function(marr){if(!marr){dojo.debug("Null argument to unrollAdvice()");return;}
+var _1ca=marr[0]||dj_global;var _1cb=marr[1];if(!_1ca[_1cb]){dojo.raise("function \""+_1cb+"\" does not exist on \""+_1ca+"\"");}
+var _1cc=marr[2]||dj_global;var _1cd=marr[3];var msg=marr[6];var _1cf=marr[7];if(_1cf>-1){if(_1cf==0){return;}
+marr[7]--;}
+var _1d0;var to={args:[],jp_:this,object:obj,proceed:function(){return _1ca[_1cb].apply(_1ca,to.args);}};to.args=_1c6;var _1d2=parseInt(marr[4]);var _1d3=((!isNaN(_1d2))&&(marr[4]!==null)&&(typeof marr[4]!="undefined"));if(marr[5]){var rate=parseInt(marr[5]);var cur=new Date();var _1d6=false;if((marr["last"])&&((cur-marr.last)<=rate)){if(dojo.event._canTimeout){if(marr["delayTimer"]){clearTimeout(marr.delayTimer);}
+var tod=parseInt(rate*2);var mcpy=dojo.lang.shallowCopy(marr);marr.delayTimer=setTimeout(function(){mcpy[5]=0;_1c8(mcpy);},tod);}
+return;}else{marr.last=cur;}}
+if(_1cd){_1cc[_1cd].call(_1cc,to);}else{if((_1d3)&&((dojo.render.html)||(dojo.render.svg))){dj_global["setTimeout"](function(){if(msg){_1ca[_1cb].call(_1ca,to);}else{_1ca[_1cb].apply(_1ca,args);}},_1d2);}else{if(msg){_1ca[_1cb].call(_1ca,to);}else{_1ca[_1cb].apply(_1ca,args);}}
+}};var _1d9=function(){if(this.squelch){try{return _1c8.apply(this,arguments);}
+catch(e){dojo.debug(e);}}else{return _1c8.apply(this,arguments);}};if((this["before"])&&(this.before.length>0)){dojo.lang.forEach(this.before.concat(new Array()),_1d9);}
+var _1da;try{if((this["around"])&&(this.around.length>0)){var mi=new dojo.event.MethodInvocation(this,obj,args);_1da=mi.proceed();}else{if(this.methodfunc){_1da=this.object[this.methodname].apply(this.object,args);}}
+}
+catch(e){if(!this.squelch){dojo.debug(e,"when calling",this.methodname,"on",this.object,"with arguments",args);dojo.raise(e);}}
+if((this["after"])&&(this.after.length>0)){dojo.lang.forEach(this.after.concat(new Array()),_1d9);}
+return (this.methodfunc)?_1da:null;},getArr:function(kind){var type="after";if((typeof kind=="string")&&(kind.indexOf("before")!=-1)){type="before";}else{if(kind=="around"){type="around";}}
+if(!this[type]){this[type]=[];}
+return this[type];},kwAddAdvice:function(args){this.addAdvice(args["adviceObj"],args["adviceFunc"],args["aroundObj"],args["aroundFunc"],args["adviceType"],args["precedence"],args["once"],args["delay"],args["rate"],args["adviceMsg"],args["maxCalls"]);},addAdvice:function(_1df,_1e0,_1e1,_1e2,_1e3,_1e4,once,_1e6,rate,_1e8,_1e9){var arr=this.getArr(_1e3);if(!arr){dojo.raise("bad this: "+this);}
+var ao=[_1df,_1e0,_1e1,_1e2,_1e6,rate,_1e8,_1e9];if(once){if(this.hasAdvice(_1df,_1e0,_1e3,arr)>=0){return;}}
+if(_1e4=="first"){arr.unshift(ao);}else{arr.push(ao);}},hasAdvice:function(_1ec,_1ed,_1ee,arr){if(!arr){arr=this.getArr(_1ee);}
+var ind=-1;for(var x=0;x<arr.length;x++){var aao=(typeof _1ed=="object")?(new String(_1ed)).toString():_1ed;var a1o=(typeof arr[x][1]=="object")?(new String(arr[x][1])).toString():arr[x][1];if((arr[x][0]==_1ec)&&(a1o==aao)){ind=x;}}
+return ind;},removeAdvice:function(_1f4,_1f5,_1f6,once){var arr=this.getArr(_1f6);var ind=this.hasAdvice(_1f4,_1f5,_1f6,arr);if(ind==-1){return false;}
+while(ind!=-1){arr.splice(ind,1);if(once){break;}
+ind=this.hasAdvice(_1f4,_1f5,_1f6,arr);}
+return true;}});dojo._ie_clobber=new function(){this.clobberNodes=[];function nukeProp(node,prop){try{node[prop]=null;}
+catch(e){}
+try{delete node[prop];}
+catch(e){}
+try{node.removeAttribute(prop);}
+catch(e){}}
+this.clobber=function(_1fc){var na;var tna;if(_1fc){tna=_1fc.all||_1fc.getElementsByTagName("*");na=[_1fc];for(var x=0;x<tna.length;x++){if(tna[x]["__doClobber__"]){na.push(tna[x]);}}
+}else{try{window.onload=null;}
+catch(e){}
+na=(this.clobberNodes.length)?this.clobberNodes:document.all;}
+tna=null;var _200={};for(var i=na.length-1;i>=0;i=i-1){var el=na[i];try{if(el&&el["__clobberAttrs__"]){for(var j=0;j<el.__clobberAttrs__.length;j++){nukeProp(el,el.__clobberAttrs__[j]);}
+nukeProp(el,"__clobberAttrs__");nukeProp(el,"__doClobber__");}}
+catch(e){}}
+na=null;};};if(dojo.render.html.ie){dojo.addOnUnload(function(){dojo._ie_clobber.clobber();try{if((dojo["widget"])&&(dojo.widget["manager"])){dojo.widget.manager.destroyAll();}}
+catch(e){}
+if(dojo.widget){for(var name in dojo.widget._templateCache){if(dojo.widget._templateCache[name].node){dojo.dom.destroyNode(dojo.widget._templateCache[name].node);dojo.widget._templateCache[name].node=null;delete dojo.widget._templateCache[name].node;}}
+}
+try{window.onload=null;}
+catch(e){}
+try{window.onunload=null;}
+catch(e){}
+dojo._ie_clobber.clobberNodes=[];});}
+dojo.event.browser=new function(){var _205=0;this.normalizedEventName=function(_206){switch(_206){case "CheckboxStateChange":
+case "DOMAttrModified":
+case "DOMMenuItemActive":
+case "DOMMenuItemInactive":
+case "DOMMouseScroll":
+case "DOMNodeInserted":
+case "DOMNodeRemoved":
+case "RadioStateChange":
+return _206;break;default:
+var lcn=_206.toLowerCase();return (lcn.indexOf("on")==0)?lcn.substr(2):lcn;break;}};this.clean=function(node){if(dojo.render.html.ie){dojo._ie_clobber.clobber(node);}};this.addClobberNode=function(node){if(!dojo.render.html.ie){return;}
+if(!node["__doClobber__"]){node.__doClobber__=true;dojo._ie_clobber.clobberNodes.push(node);node.__clobberAttrs__=[];}};this.addClobberNodeAttrs=function(node,_20b){if(!dojo.render.html.ie){return;}
+this.addClobberNode(node);for(var x=0;x<_20b.length;x++){node.__clobberAttrs__.push(_20b[x]);}};this.removeListener=function(node,_20e,fp,_210){if(!_210){var _210=false;}
+_20e=dojo.event.browser.normalizedEventName(_20e);if(_20e=="key"){if(dojo.render.html.ie){this.removeListener(node,"onkeydown",fp,_210);}
+_20e="keypress";}
+if(node.removeEventListener){node.removeEventListener(_20e,fp,_210);}};this.addListener=function(node,_212,fp,_214,_215){if(!node){return;}
+if(!_214){var _214=false;}
+_212=dojo.event.browser.normalizedEventName(_212);if(_212=="key"){if(dojo.render.html.ie){this.addListener(node,"onkeydown",fp,_214,_215);}
+_212="onkeypress";}
+if(!_215){var _216=function(evt){if(!evt){evt=window.event;}
+var ret=fp(dojo.event.browser.fixEvent(evt,this));if(_214){dojo.event.browser.stopEvent(evt);}
+return ret;};}else{_216=fp;}
+if(node.addEventListener){node.addEventListener(_212,_216,_214);return _216;}else{_212="on"+_212;if(typeof node[_212]=="function"){var _219=node[_212];node[_212]=function(e){_219(e);return _216(e);};}else{node[_212]=_216;}
+if(dojo.render.html.ie){this.addClobberNodeAttrs(node,[_212]);}
+return _216;}};this.isEvent=function(obj){return (typeof obj!="undefined")&&(obj)&&(typeof Event!="undefined")&&(obj.eventPhase);};this.currentEvent=null;this.callListener=function(_21c,_21d){if(typeof _21c!="function"){dojo.raise("listener not a function: "+_21c);}
+dojo.event.browser.currentEvent.currentTarget=_21d;return _21c.call(_21d,dojo.event.browser.currentEvent);};this._stopPropagation=function(){dojo.event.browser.currentEvent.cancelBubble=true;};this._preventDefault=function(){dojo.event.browser.currentEvent.returnValue=false;};this.keys={KEY_BACKSPACE:8,KEY_TAB:9,KEY_CLEAR:12,KEY_ENTER:13,KEY_SHIFT:16,KEY_CTRL:17,KEY_ALT:18,KEY_PAUSE:19,KEY_CAPS_LOCK:20,KEY_ESCAPE:27,KEY_SPACE:32,KEY_PAGE_UP:33,KEY_PAGE_DOWN:34,KEY_END:35,KEY_HOME:36,KEY_LEFT_ARROW:37,KEY_UP_ARROW:38,KEY_RIGHT_ARROW:39,KEY_DOWN_ARROW:40,KEY_INSERT:45,KEY_DELETE:46,KEY_HELP:47,KEY_LEFT_WINDOW:91,KEY_RIGHT_WINDOW:92,KEY_SELECT:93,KEY_NUMPAD_0:96,KEY_NUMPAD_1:97,KEY_NUMPAD_2:98,KEY_NUMPAD_3:99,KEY_NUMPAD_4:100,KEY_NUMPAD_5:101,KEY_NUMPAD_6:102,KEY_NUMPAD_7:103,KEY_NUMPAD_8:104,KEY_NUMPAD_9:105,KEY_NUMPAD_MULTIPLY:106,KEY_NUMPAD_PLUS:107,KEY_NUMPAD_ENTER:108,KEY_NUMPAD_MINUS:109,KEY_NUMPAD_PERIOD:110,KEY_NUMPAD_DIVIDE:111,KEY_F1:112,KEY_F2:113,KEY_F3:114,KEY_F4:1
 15,KEY_F5:116,KEY_F6:117,KEY_F7:118,KEY_F8:119,KEY_F9:120,KEY_F10:121,KEY_F11:122,KEY_F12:123,KEY_F13:124,KEY_F14:125,KEY_F15:126,KEY_NUM_LOCK:144,KEY_SCROLL_LOCK:145};this.revKeys=[];for(var key in this.keys){this.revKeys[this.keys[key]]=key;}
+this.fixEvent=function(evt,_220){if(!evt){if(window["event"]){evt=window.event;}}
+if((evt["type"])&&(evt["type"].indexOf("key")==0)){evt.keys=this.revKeys;for(var key in this.keys){evt[key]=this.keys[key];}
+if(evt["type"]=="keydown"&&dojo.render.html.ie){switch(evt.keyCode){case evt.KEY_SHIFT:
+case evt.KEY_CTRL:
+case evt.KEY_ALT:
+case evt.KEY_CAPS_LOCK:
+case evt.KEY_LEFT_WINDOW:
+case evt.KEY_RIGHT_WINDOW:
+case evt.KEY_SELECT:
+case evt.KEY_NUM_LOCK:
+case evt.KEY_SCROLL_LOCK:
+case evt.KEY_NUMPAD_0:
+case evt.KEY_NUMPAD_1:
+case evt.KEY_NUMPAD_2:
+case evt.KEY_NUMPAD_3:
+case evt.KEY_NUMPAD_4:
+case evt.KEY_NUMPAD_5:
+case evt.KEY_NUMPAD_6:
+case evt.KEY_NUMPAD_7:
+case evt.KEY_NUMPAD_8:
+case evt.KEY_NUMPAD_9:
+case evt.KEY_NUMPAD_PERIOD:
+break;case evt.KEY_NUMPAD_MULTIPLY:
+case evt.KEY_NUMPAD_PLUS:
+case evt.KEY_NUMPAD_ENTER:
+case evt.KEY_NUMPAD_MINUS:
+case evt.KEY_NUMPAD_DIVIDE:
+break;case evt.KEY_PAUSE:
+case evt.KEY_TAB:
+case evt.KEY_BACKSPACE:
+case evt.KEY_ENTER:
+case evt.KEY_ESCAPE:
+case evt.KEY_PAGE_UP:
+case evt.KEY_PAGE_DOWN:
+case evt.KEY_END:
+case evt.KEY_HOME:
+case evt.KEY_LEFT_ARROW:
+case evt.KEY_UP_ARROW:
+case evt.KEY_RIGHT_ARROW:
+case evt.KEY_DOWN_ARROW:
+case evt.KEY_INSERT:
+case evt.KEY_DELETE:
+case evt.KEY_F1:
+case evt.KEY_F2:
+case evt.KEY_F3:
+case evt.KEY_F4:
+case evt.KEY_F5:
+case evt.KEY_F6:
+case evt.KEY_F7:
+case evt.KEY_F8:
+case evt.KEY_F9:
+case evt.KEY_F10:
+case evt.KEY_F11:
+case evt.KEY_F12:
+case evt.KEY_F12:
+case evt.KEY_F13:
+case evt.KEY_F14:
+case evt.KEY_F15:
+case evt.KEY_CLEAR:
+case evt.KEY_HELP:
+evt.key=evt.keyCode;break;default:
+if(evt.ctrlKey||evt.altKey){var _222=evt.keyCode;if(_222>=65&&_222<=90&&evt.shiftKey==false){_222+=32;}
+if(_222>=1&&_222<=26&&evt.ctrlKey){_222+=96;}
+evt.key=String.fromCharCode(_222);}}
+}else{if(evt["type"]=="keypress"){if(dojo.render.html.opera){if(evt.which==0){evt.key=evt.keyCode;}else{if(evt.which>0){switch(evt.which){case evt.KEY_SHIFT:
+case evt.KEY_CTRL:
+case evt.KEY_ALT:
+case evt.KEY_CAPS_LOCK:
+case evt.KEY_NUM_LOCK:
+case evt.KEY_SCROLL_LOCK:
+break;case evt.KEY_PAUSE:
+case evt.KEY_TAB:
+case evt.KEY_BACKSPACE:
+case evt.KEY_ENTER:
+case evt.KEY_ESCAPE:
+evt.key=evt.which;break;default:
+var _222=evt.which;if((evt.ctrlKey||evt.altKey||evt.metaKey)&&(evt.which>=65&&evt.which<=90&&evt.shiftKey==false)){_222+=32;}
+evt.key=String.fromCharCode(_222);}}
+}}else{if(dojo.render.html.ie){if(!evt.ctrlKey&&!evt.altKey&&evt.keyCode>=evt.KEY_SPACE){evt.key=String.fromCharCode(evt.keyCode);}}else{if(dojo.render.html.safari){switch(evt.keyCode){case 25:
+evt.key=evt.KEY_TAB;evt.shift=true;break;case 63232:
+evt.key=evt.KEY_UP_ARROW;break;case 63233:
+evt.key=evt.KEY_DOWN_ARROW;break;case 63234:
+evt.key=evt.KEY_LEFT_ARROW;break;case 63235:
+evt.key=evt.KEY_RIGHT_ARROW;break;case 63236:
+evt.key=evt.KEY_F1;break;case 63237:
+evt.key=evt.KEY_F2;break;case 63238:
+evt.key=evt.KEY_F3;break;case 63239:
+evt.key=evt.KEY_F4;break;case 63240:
+evt.key=evt.KEY_F5;break;case 63241:
+evt.key=evt.KEY_F6;break;case 63242:
+evt.key=evt.KEY_F7;break;case 63243:
+evt.key=evt.KEY_F8;break;case 63244:
+evt.key=evt.KEY_F9;break;case 63245:
+evt.key=evt.KEY_F10;break;case 63246:
+evt.key=evt.KEY_F11;break;case 63247:
+evt.key=evt.KEY_F12;break;case 63250:
+evt.key=evt.KEY_PAUSE;break;case 63272:
+evt.key=evt.KEY_DELETE;break;case 63273:
+evt.key=evt.KEY_HOME;break;case 63275:
+evt.key=evt.KEY_END;break;case 63276:
+evt.key=evt.KEY_PAGE_UP;break;case 63277:
+evt.key=evt.KEY_PAGE_DOWN;break;case 63302:
+evt.key=evt.KEY_INSERT;break;case 63248:
+case 63249:
+case 63289:
+break;default:
+evt.key=evt.charCode>=evt.KEY_SPACE?String.fromCharCode(evt.charCode):evt.keyCode;}}else{evt.key=evt.charCode>0?String.fromCharCode(evt.charCode):evt.keyCode;}}
+}}
+}}
+if(dojo.render.html.ie){if(!evt.target){evt.target=evt.srcElement;}
+if(!evt.currentTarget){evt.currentTarget=(_220?_220:evt.srcElement);}
+if(!evt.layerX){evt.layerX=evt.offsetX;}
+if(!evt.layerY){evt.layerY=evt.offsetY;}
+var doc=(evt.srcElement&&evt.srcElement.ownerDocument)?evt.srcElement.ownerDocument:document;var _224=((dojo.render.html.ie55)||(doc["compatMode"]=="BackCompat"))?doc.body:doc.documentElement;if(!evt.pageX){evt.pageX=evt.clientX+(_224.scrollLeft||0);}
+if(!evt.pageY){evt.pageY=evt.clientY+(_224.scrollTop||0);}
+if(evt.type=="mouseover"){evt.relatedTarget=evt.fromElement;}
+if(evt.type=="mouseout"){evt.relatedTarget=evt.toElement;}
+this.currentEvent=evt;evt.callListener=this.callListener;evt.stopPropagation=this._stopPropagation;evt.preventDefault=this._preventDefault;}
+return evt;};this.stopEvent=function(evt){if(window.event){evt.cancelBubble=true;evt.returnValue=false;}else{evt.preventDefault();evt.stopPropagation();}};};dojo.dom.ELEMENT_NODE=1;dojo.dom.ATTRIBUTE_NODE=2;dojo.dom.TEXT_NODE=3;dojo.dom.CDATA_SECTION_NODE=4;dojo.dom.ENTITY_REFERENCE_NODE=5;dojo.dom.ENTITY_NODE=6;dojo.dom.PROCESSING_INSTRUCTION_NODE=7;dojo.dom.COMMENT_NODE=8;dojo.dom.DOCUMENT_NODE=9;dojo.dom.DOCUMENT_TYPE_NODE=10;dojo.dom.DOCUMENT_FRAGMENT_NODE=11;dojo.dom.NOTATION_NODE=12;dojo.dom.dojoml="http://www.dojotoolkit.org/2004/dojoml";dojo.dom.xmlns={svg:"http://www.w3.org/2000/svg",smil:"http://www.w3.org/2001/SMIL20/",mml:"http://www.w3.org/1998/Math/MathML",cml:"http://www.xml-cml.org",xlink:"http://www.w3.org/1999/xlink",xhtml:"http://www.w3.org/1999/xhtml",xul:"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",xbl:"http://www.mozilla.org/xbl",fo:"http://www.w3.org/1999/XSL/Format",xsl:"http://www.w3.org/1999/XSL/Transform",xslt:"http://www.w3.org/
 1999/XSL/Transform",xi:"http://www.w3.org/2001/XInclude",xforms:"http://www.w3.org/2002/01/xforms",saxon:"http://icl.com/saxon",xalan:"http://xml.apache.org/xslt",xsd:"http://www.w3.org/2001/XMLSchema",dt:"http://www.w3.org/2001/XMLSchema-datatypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",rdf:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",rdfs:"http://www.w3.org/2000/01/rdf-schema#",dc:"http://purl.org/dc/elements/1.1/",dcq:"http://purl.org/dc/qualifiers/1.0","soap-env":"http://schemas.xmlsoap.org/soap/envelope/",wsdl:"http://schemas.xmlsoap.org/wsdl/",AdobeExtensions:"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"};dojo.dom.isNode=function(wh){if(typeof Element=="function"){try{return wh instanceof Element;}
+catch(e){}}else{return wh&&!isNaN(wh.nodeType);}};dojo.dom.getUniqueId=function(){var _227=dojo.doc();do{var id="dj_unique_"+(++arguments.callee._idIncrement);}while(_227.getElementById(id));return id;};dojo.dom.getUniqueId._idIncrement=0;dojo.dom.firstElement=dojo.dom.getFirstChildElement=function(_229,_22a){var node=_229.firstChild;while(node&&node.nodeType!=dojo.dom.ELEMENT_NODE){node=node.nextSibling;}
+if(_22a&&node&&node.tagName&&node.tagName.toLowerCase()!=_22a.toLowerCase()){node=dojo.dom.nextElement(node,_22a);}
+return node;};dojo.dom.lastElement=dojo.dom.getLastChildElement=function(_22c,_22d){var node=_22c.lastChild;while(node&&node.nodeType!=dojo.dom.ELEMENT_NODE){node=node.previousSibling;}
+if(_22d&&node&&node.tagName&&node.tagName.toLowerCase()!=_22d.toLowerCase()){node=dojo.dom.prevElement(node,_22d);}
+return node;};dojo.dom.nextElement=dojo.dom.getNextSiblingElement=function(node,_230){if(!node){return null;}
+do{node=node.nextSibling;}while(node&&node.nodeType!=dojo.dom.ELEMENT_NODE);if(node&&_230&&_230.toLowerCase()!=node.tagName.toLowerCase()){return dojo.dom.nextElement(node,_230);}
+return node;};dojo.dom.prevElement=dojo.dom.getPreviousSiblingElement=function(node,_232){if(!node){return null;}
+if(_232){_232=_232.toLowerCase();}
+do{node=node.previousSibling;}while(node&&node.nodeType!=dojo.dom.ELEMENT_NODE);if(node&&_232&&_232.toLowerCase()!=node.tagName.toLowerCase()){return dojo.dom.prevElement(node,_232);}
+return node;};dojo.dom.moveChildren=function(_233,_234,trim){var _236=0;if(trim){while(_233.hasChildNodes()&&_233.firstChild.nodeType==dojo.dom.TEXT_NODE){_233.removeChild(_233.firstChild);}
+while(_233.hasChildNodes()&&_233.lastChild.nodeType==dojo.dom.TEXT_NODE){_233.removeChild(_233.lastChild);}}
+while(_233.hasChildNodes()){_234.appendChild(_233.firstChild);_236++;}
+return _236;};dojo.dom.copyChildren=function(_237,_238,trim){var _23a=_237.cloneNode(true);return this.moveChildren(_23a,_238,trim);};dojo.dom.replaceChildren=function(node,_23c){var _23d=[];if(dojo.render.html.ie){for(var i=0;i<node.childNodes.length;i++){_23d.push(node.childNodes[i]);}}
+dojo.dom.removeChildren(node);node.appendChild(_23c);for(var i=0;i<_23d.length;i++){dojo.dom.destroyNode(_23d[i]);}};dojo.dom.removeChildren=function(node){var _240=node.childNodes.length;while(node.hasChildNodes()){dojo.dom.removeNode(node.firstChild);}
+return _240;};dojo.dom.replaceNode=function(node,_242){return node.parentNode.replaceChild(_242,node);};dojo.dom.destroyNode=function(node){if(node.parentNode){node=dojo.dom.removeNode(node);}
+if(node.nodeType!=3){if(dojo.exists("dojo.event.browser.clean")){dojo.event.browser.clean(node);}
+if(dojo.render.html.ie){node.outerHTML="";}}
+};dojo.dom.removeNode=function(node){if(node&&node.parentNode){return node.parentNode.removeChild(node);}};dojo.dom.getAncestors=function(node,_246,_247){var _248=[];var _249=(_246&&(_246 instanceof Function||typeof _246=="function"));while(node){if(!_249||_246(node)){_248.push(node);}
+if(_247&&_248.length>0){return _248[0];}
+node=node.parentNode;}
+if(_247){return null;}
+return _248;};dojo.dom.getAncestorsByTag=function(node,tag,_24c){tag=tag.toLowerCase();return dojo.dom.getAncestors(node,function(el){return ((el.tagName)&&(el.tagName.toLowerCase()==tag));},_24c);};dojo.dom.getFirstAncestorByTag=function(node,tag){return dojo.dom.getAncestorsByTag(node,tag,true);};dojo.dom.isDescendantOf=function(node,_251,_252){if(_252&&node){node=node.parentNode;}
+while(node){if(node==_251){return true;}
+node=node.parentNode;}
+return false;};dojo.dom.innerXML=function(node){if(node.innerXML){return node.innerXML;}else{if(node.xml){return node.xml;}else{if(typeof XMLSerializer!="undefined"){return (new XMLSerializer()).serializeToString(node);}}
+}};dojo.dom.createDocument=function(){var doc=null;var _255=dojo.doc();if(!dj_undef("ActiveXObject")){var _256=["MSXML2","Microsoft","MSXML","MSXML3"];for(var i=0;i<_256.length;i++){try{doc=new ActiveXObject(_256[i]+".XMLDOM");}
+catch(e){}
+if(doc){break;}}
+}else{if((_255.implementation)&&(_255.implementation.createDocument)){doc=_255.implementation.createDocument("","",null);}}
+return doc;};dojo.dom.createDocumentFromText=function(str,_259){if(!_259){_259="text/xml";}
+if(!dj_undef("DOMParser")){var _25a=new DOMParser();return _25a.parseFromString(str,_259);}else{if(!dj_undef("ActiveXObject")){var _25b=dojo.dom.createDocument();if(_25b){_25b.async=false;_25b.loadXML(str);return _25b;}else{dojo.debug("toXml didn't work?");}}else{var _25c=dojo.doc();if(_25c.createElement){var tmp=_25c.createElement("xml");tmp.innerHTML=str;if(_25c.implementation&&_25c.implementation.createDocument){var _25e=_25c.implementation.createDocument("foo","",null);for(var i=0;i<tmp.childNodes.length;i++){_25e.importNode(tmp.childNodes.item(i),true);}
+return _25e;}
+return ((tmp.document)&&(tmp.document.firstChild?tmp.document.firstChild:tmp));}}
+}
+return null;};dojo.dom.prependChild=function(node,_261){if(_261.firstChild){_261.insertBefore(node,_261.firstChild);}else{_261.appendChild(node);}
+return true;};dojo.dom.insertBefore=function(node,ref,_264){if((_264!=true)&&(node===ref||node.nextSibling===ref)){return false;}
+var _265=ref.parentNode;_265.insertBefore(node,ref);return true;};dojo.dom.insertAfter=function(node,ref,_268){var pn=ref.parentNode;if(ref==pn.lastChild){if((_268!=true)&&(node===ref)){return false;}
+pn.appendChild(node);}else{return this.insertBefore(node,ref.nextSibling,_268);}
+return true;};dojo.dom.insertAtPosition=function(node,ref,_26c){if((!node)||(!ref)||(!_26c)){return false;}
+switch(_26c.toLowerCase()){case "before":
+return dojo.dom.insertBefore(node,ref);case "after":
+return dojo.dom.insertAfter(node,ref);case "first":
+if(ref.firstChild){return dojo.dom.insertBefore(node,ref.firstChild);}else{ref.appendChild(node);return true;}
+break;default:
+ref.appendChild(node);return true;}};dojo.dom.insertAtIndex=function(node,_26e,_26f){var _270=_26e.childNodes;if(!_270.length||_270.length==_26f){_26e.appendChild(node);return true;}
+if(_26f==0){return dojo.dom.prependChild(node,_26e);}
+return dojo.dom.insertAfter(node,_270[_26f-1]);};dojo.dom.textContent=function(node,text){if(arguments.length>1){var _273=dojo.doc();dojo.dom.replaceChildren(node,_273.createTextNode(text));return text;}else{if(node.textContent!=undefined){return node.textContent;}
+var _274="";if(node==null){return _274;}
+for(var i=0;i<node.childNodes.length;i++){switch(node.childNodes[i].nodeType){case 1:
+case 5:
+_274+=dojo.dom.textContent(node.childNodes[i]);break;case 3:
+case 2:
+case 4:
+_274+=node.childNodes[i].nodeValue;break;default:
+break;}}
+return _274;}};dojo.dom.hasParent=function(node){return Boolean(node&&node.parentNode&&dojo.dom.isNode(node.parentNode));};dojo.dom.isTag=function(node){if(node&&node.tagName){for(var i=1;i<arguments.length;i++){if(node.tagName==String(arguments[i])){return String(arguments[i]);}}
+}
+return "";};dojo.dom.setAttributeNS=function(elem,_27a,_27b,_27c){if(elem==null||((elem==undefined)&&(typeof elem=="undefined"))){dojo.raise("No element given to dojo.dom.setAttributeNS");}
+if(!((elem.setAttributeNS==undefined)&&(typeof elem.setAttributeNS=="undefined"))){elem.setAttributeNS(_27a,_27b,_27c);}else{var _27d=elem.ownerDocument;var _27e=_27d.createNode(2,_27b,_27a);_27e.nodeValue=_27c;elem.setAttributeNode(_27e);}};dojo.string.trim=function(str,wh){if(!str.replace){return str;}
+if(!str.length){return str;}
+var re=(wh>0)?(/^\s+/):(wh<0)?(/\s+$/):(/^\s+|\s+$/g);return str.replace(re,"");};dojo.string.trimStart=function(str){return dojo.string.trim(str,1);};dojo.string.trimEnd=function(str){return dojo.string.trim(str,-1);};dojo.string.repeat=function(str,_285,_286){var out="";for(var i=0;i<_285;i++){out+=str;if(_286&&i<_285-1){out+=_286;}}
+return out;};dojo.string.pad=function(str,len,c,dir){var out=String(str);if(!c){c="0";}
+if(!dir){dir=1;}
+while(out.length<len){if(dir>0){out=c+out;}else{out+=c;}}
+return out;};dojo.string.padLeft=function(str,len,c){return dojo.string.pad(str,len,c,1);};dojo.string.padRight=function(str,len,c){return dojo.string.pad(str,len,c,-1);};dojo.io.transports=[];dojo.io.hdlrFuncNames=["load","error","timeout"];dojo.io.Request=function(url,_295,_296,_297){if((arguments.length==1)&&(arguments[0].constructor==Object)){this.fromKwArgs(arguments[0]);}else{this.url=url;if(_295){this.mimetype=_295;}
+if(_296){this.transport=_296;}
+if(arguments.length>=4){this.changeUrl=_297;}}
+};dojo.lang.extend(dojo.io.Request,{url:"",mimetype:"text/plain",method:"GET",content:undefined,transport:undefined,changeUrl:undefined,formNode:undefined,sync:false,bindSuccess:false,useCache:false,preventCache:false,load:function(type,data,_29a,_29b){},error:function(type,_29d,_29e,_29f){},timeout:function(type,_2a1,_2a2,_2a3){},handle:function(type,data,_2a6,_2a7){},timeoutSeconds:0,abort:function(){},fromKwArgs:function(_2a8){if(_2a8["url"]){_2a8.url=_2a8.url.toString();}
+if(_2a8["formNode"]){_2a8.formNode=dojo.byId(_2a8.formNode);}
+if(!_2a8["method"]&&_2a8["formNode"]&&_2a8["formNode"].method){_2a8.method=_2a8["formNode"].method;}
+if(!_2a8["handle"]&&_2a8["handler"]){_2a8.handle=_2a8.handler;}
+if(!_2a8["load"]&&_2a8["loaded"]){_2a8.load=_2a8.loaded;}
+if(!_2a8["changeUrl"]&&_2a8["changeURL"]){_2a8.changeUrl=_2a8.changeURL;}
+_2a8.encoding=dojo.lang.firstValued(_2a8["encoding"],djConfig["bindEncoding"],"");_2a8.sendTransport=dojo.lang.firstValued(_2a8["sendTransport"],djConfig["ioSendTransport"],false);var _2a9=dojo.lang.isFunction;for(var x=0;x<dojo.io.hdlrFuncNames.length;x++){var fn=dojo.io.hdlrFuncNames[x];if(_2a8[fn]&&_2a9(_2a8[fn])){continue;}
+if(_2a8["handle"]&&_2a9(_2a8["handle"])){_2a8[fn]=_2a8.handle;}}
+dojo.lang.mixin(this,_2a8);}});dojo.io.Error=function(msg,type,num){this.message=msg;this.type=type||"unknown";this.number=num||0;};dojo.io.transports.addTransport=function(name){this.push(name);this[name]=dojo.io[name];};dojo.io.bind=function(_2b0){if(!(_2b0 instanceof dojo.io.Request)){try{_2b0=new dojo.io.Request(_2b0);}
+catch(e){dojo.debug(e);}}
+var _2b1="";if(_2b0["transport"]){_2b1=_2b0["transport"];if(!this[_2b1]){dojo.io.sendBindError(_2b0,"No dojo.io.bind() transport with name '"+_2b0["transport"]+"'.");return _2b0;}
+if(!this[_2b1].canHandle(_2b0)){dojo.io.sendBindError(_2b0,"dojo.io.bind() transport with name '"+_2b0["transport"]+"' cannot handle this type of request.");return _2b0;}}else{for(var x=0;x<dojo.io.transports.length;x++){var tmp=dojo.io.transports[x];if((this[tmp])&&(this[tmp].canHandle(_2b0))){_2b1=tmp;break;}}
+if(_2b1==""){dojo.io.sendBindError(_2b0,"None of the loaded transports for dojo.io.bind()"+" can handle the request.");return _2b0;}}
+this[_2b1].bind(_2b0);_2b0.bindSuccess=true;return _2b0;};dojo.io.sendBindError=function(_2b4,_2b5){if((typeof _2b4.error=="function"||typeof _2b4.handle=="function")&&(typeof setTimeout=="function"||typeof setTimeout=="object")){var _2b6=new dojo.io.Error(_2b5);setTimeout(function(){_2b4[(typeof _2b4.error=="function")?"error":"handle"]("error",_2b6,null,_2b4);},50);}else{dojo.raise(_2b5);}};dojo.io.queueBind=function(_2b7){if(!(_2b7 instanceof dojo.io.Request)){try{_2b7=new dojo.io.Request(_2b7);}
+catch(e){dojo.debug(e);}}
+var _2b8=_2b7.load;_2b7.load=function(){dojo.io._queueBindInFlight=false;var ret=_2b8.apply(this,arguments);dojo.io._dispatchNextQueueBind();return ret;};var _2ba=_2b7.error;_2b7.error=function(){dojo.io._queueBindInFlight=false;var ret=_2ba.apply(this,arguments);dojo.io._dispatchNextQueueBind();return ret;};dojo.io._bindQueue.push(_2b7);dojo.io._dispatchNextQueueBind();return _2b7;};dojo.io._dispatchNextQueueBind=function(){if(!dojo.io._queueBindInFlight){dojo.io._queueBindInFlight=true;if(dojo.io._bindQueue.length>0){dojo.io.bind(dojo.io._bindQueue.shift());}else{dojo.io._queueBindInFlight=false;}}
+};dojo.io._bindQueue=[];dojo.io._queueBindInFlight=false;dojo.io.argsFromMap=function(map,_2bd,last){var enc=/utf/i.test(_2bd||"")?encodeURIComponent:dojo.string.encodeAscii;var _2c0=[];var _2c1=new Object();for(var name in map){var _2c3=function(elt){var val=enc(name)+"="+enc(elt);_2c0[(last==name)?"push":"unshift"](val);};if(!_2c1[name]){var _2c6=map[name];if(dojo.lang.isArray(_2c6)){dojo.lang.forEach(_2c6,_2c3);}else{_2c3(_2c6);}}
+}
+return _2c0.join("&");};dojo.io.setIFrameSrc=function(_2c7,src,_2c9){try{var r=dojo.render.html;if(!_2c9){if(r.safari){_2c7.location=src;}else{frames[_2c7.name].location=src;}}else{var idoc;if(r.ie){idoc=_2c7.contentWindow.document;}else{if(r.safari){idoc=_2c7.document;}else{idoc=_2c7.contentWindow;}}
+if(!idoc){_2c7.location=src;return;}else{idoc.location.replace(src);}}
+}
+catch(e){dojo.debug(e);dojo.debug("setIFrameSrc: "+e);}};dojo.string.substituteParams=function(_2cc,hash){var map=(typeof hash=="object")?hash:dojo.lang.toArray(arguments,1);return _2cc.replace(/\%\{(\w+)\}/g,function(_2cf,key){if(typeof (map[key])!="undefined"&&map[key]!=null){return map[key];}
+dojo.raise("Substitution not found: "+key);});};dojo.string.capitalize=function(str){if(!dojo.lang.isString(str)){return "";}
+return str.replace(/[^\s]+/g,function(word){return word.substring(0,1).toUpperCase()+word.substring(1);});};dojo.string.isBlank=function(str){if(!dojo.lang.isString(str)){return true;}
+return (dojo.string.trim(str).length==0);};dojo.string.encodeAscii=function(str){if(!dojo.lang.isString(str)){return str;}
+var ret="";var _2d6=escape(str);var _2d7,re=/%u([0-9A-F]{4})/i;while((_2d7=_2d6.match(re))){var num=Number("0x"+_2d7[1]);var _2da=escape("&#"+num+";");ret+=_2d6.substring(0,_2d7.index)+_2da;_2d6=_2d6.substring(_2d7.index+_2d7[0].length);}
+ret+=_2d6.replace(/\+/g,"%2B");return ret;};dojo.string.escape=function(type,str){var args=dojo.lang.toArray(arguments,1);switch(type.toLowerCase()){case "xml":
+case "html":
+case "xhtml":
+return dojo.string.escapeXml.apply(this,args);case "sql":
+return dojo.string.escapeSql.apply(this,args);case "regexp":
+case "regex":
+return dojo.string.escapeRegExp.apply(this,args);case "javascript":
+case "jscript":
+case "js":
+return dojo.string.escapeJavaScript.apply(this,args);case "ascii":
+return dojo.string.encodeAscii.apply(this,args);default:
+return str;}};dojo.string.escapeXml=function(str,_2df){str=str.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");if(!_2df){str=str.replace(/'/gm,"&#39;");}
+return str;};dojo.string.escapeSql=function(str){return str.replace(/'/gm,"''");};dojo.string.escapeRegExp=function(str,_2e2){return str.replace(/([\.$?*!=:|{}\(\)\[\]\\\/^])/g,function(ch){if(_2e2&&_2e2.indexOf(ch)!=-1){return ch;}
+return "\\"+ch;});};dojo.string.escapeJavaScript=function(str){return str.replace(/(["'\f\b\n\t\r])/gm,"\\$1");};dojo.string.escapeString=function(str){return ("\""+str.replace(/(["\\])/g,"\\$1")+"\"").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r");};dojo.string.summary=function(str,len){if(!len||str.length<=len){return str;}
+return str.substring(0,len).replace(/\.+$/,"")+"...";};dojo.string.endsWith=function(str,end,_2ea){if(_2ea){str=str.toLowerCase();end=end.toLowerCase();}
+if((str.length-end.length)<0){return false;}
+return str.lastIndexOf(end)==str.length-end.length;};dojo.string.endsWithAny=function(str){for(var i=1;i<arguments.length;i++){if(dojo.string.endsWith(str,arguments[i])){return true;}}
+return false;};dojo.string.startsWith=function(str,_2ee,_2ef){if(_2ef){str=str.toLowerCase();_2ee=_2ee.toLowerCase();}
+return str.indexOf(_2ee)==0;};dojo.string.startsWithAny=function(str){for(var i=1;i<arguments.length;i++){if(dojo.string.startsWith(str,arguments[i])){return true;}}
+return false;};dojo.string.has=function(str){for(var i=1;i<arguments.length;i++){if(str.indexOf(arguments[i])>-1){return true;}}
+return false;};dojo.string.normalizeNewlines=function(text,_2f5){if(_2f5=="\n"){text=text.replace(/\r\n/g,"\n");text=text.replace(/\r/g,"\n");}else{if(_2f5=="\r"){text=text.replace(/\r\n/g,"\r");text=text.replace(/\n/g,"\r");}else{text=text.replace(/([^\r])\n/g,"$1\r\n").replace(/\r([^\n])/g,"\r\n$1");}}
+return text;};dojo.string.splitEscaped=function(str,_2f7){var _2f8=[];for(var i=0,_2fa=0;i<str.length;i++){if(str.charAt(i)=="\\"){i++;continue;}
+if(str.charAt(i)==_2f7){_2f8.push(str.substring(_2fa,i));_2fa=i+1;}}
+_2f8.push(str.substr(_2fa));return _2f8;};try{if((!djConfig["preventBackButtonFix"])&&(!dojo.hostenv.post_load_)){document.write("<iframe style='border: 0px; width: 1px; height: 1px; position: absolute; bottom: 0px; right: 0px; visibility: visible;' name='djhistory' id='djhistory' src='"+(djConfig["dojoIframeHistoryUrl"]||dojo.hostenv.getBaseScriptUri()+"iframe_history.html")+"'></iframe>");}}
+catch(e){}
+if(dojo.render.html.opera){dojo.debug("Opera is not supported with dojo.undo.browser, so back/forward detection will not work.");}
+dojo.undo.browser={initialHref:(!dj_undef("window"))?window.location.href:"",initialHash:(!dj_undef("window"))?window.location.hash:"",moveForward:false,historyStack:[],forwardStack:[],historyIframe:null,bookmarkAnchor:null,locationTimer:null,setInitialState:function(args){this.initialState=this._createState(this.initialHref,args,this.initialHash);},addToHistory:function(args){this.forwardStack=[];var hash=null;var url=null;if(!this.historyIframe){if(djConfig["useXDomain"]&&!djConfig["dojoIframeHistoryUrl"]){dojo.debug("dojo.undo.browser: When using cross-domain Dojo builds,"+" please save iframe_history.html to your domain and set djConfig.dojoIframeHistoryUrl"+" to the path on your domain to iframe_history.html");}
+this.historyIframe=window.frames["djhistory"];}
+if(!this.bookmarkAnchor){this.bookmarkAnchor=document.createElement("a");dojo.body().appendChild(this.bookmarkAnchor);this.bookmarkAnchor.style.display="none";}
+if(args["changeUrl"]){hash="#"+((args["changeUrl"]!==true)?args["changeUrl"]:(new Date()).getTime());if(this.historyStack.length==0&&this.initialState.urlHash==hash){this.initialState=this._createState(url,args,hash);return;}else{if(this.historyStack.length>0&&this.historyStack[this.historyStack.length-1].urlHash==hash){this.historyStack[this.historyStack.length-1]=this._createState(url,args,hash);return;}}
+this.changingUrl=true;setTimeout("window.location.href = '"+hash+"'; dojo.undo.browser.changingUrl = false;",1);this.bookmarkAnchor.href=hash;if(dojo.render.html.ie){url=this._loadIframeHistory();var _2ff=args["back"]||args["backButton"]||args["handle"];var tcb=function(_301){if(window.location.hash!=""){setTimeout("window.location.href = '"+hash+"';",1);}
+_2ff.apply(this,[_301]);};if(args["back"]){args.back=tcb;}else{if(args["backButton"]){args.backButton=tcb;}else{if(args["handle"]){args.handle=tcb;}}
+}
+var _302=args["forward"]||args["forwardButton"]||args["handle"];var tfw=function(_304){if(window.location.hash!=""){window.location.href=hash;}
+if(_302){_302.apply(this,[_304]);}};if(args["forward"]){args.forward=tfw;}else{if(args["forwardButton"]){args.forwardButton=tfw;}else{if(args["handle"]){args.handle=tfw;}}
+}}else{if(dojo.render.html.moz){if(!this.locationTimer){this.locationTimer=setInterval("dojo.undo.browser.checkLocation();",200);}}
+}}else{url=this._loadIframeHistory();}
+this.historyStack.push(this._createState(url,args,hash));},checkLocation:function(){if(!this.changingUrl){var hsl=this.historyStack.length;if((window.location.hash==this.initialHash||window.location.href==this.initialHref)&&(hsl==1)){this.handleBackButton();return;}
+if(this.forwardStack.length>0){if(this.forwardStack[this.forwardStack.length-1].urlHash==window.location.hash){this.handleForwardButton();return;}}
+if((hsl>=2)&&(this.historyStack[hsl-2])){if(this.historyStack[hsl-2].urlHash==window.location.hash){this.handleBackButton();return;}}
+}},iframeLoaded:function(evt,_307){if(!dojo.render.html.opera){var _308=this._getUrlQuery(_307.href);if(_308==null){if(this.historyStack.length==1){this.handleBackButton();}
+return;}
+if(this.moveForward){this.moveForward=false;return;}
+if(this.historyStack.length>=2&&_308==this._getUrlQuery(this.historyStack[this.historyStack.length-2].url)){this.handleBackButton();}else{if(this.forwardStack.length>0&&_308==this._getUrlQuery(this.forwardStack[this.forwardStack.length-1].url)){this.handleForwardButton();}}
+}},handleBackButton:function(){var _309=this.historyStack.pop();if(!_309){return;}
+var last=this.historyStack[this.historyStack.length-1];if(!last&&this.historyStack.length==0){last=this.initialState;}
+if(last){if(last.kwArgs["back"]){last.kwArgs["back"]();}else{if(last.kwArgs["backButton"]){last.kwArgs["backButton"]();}else{if(last.kwArgs["handle"]){last.kwArgs.handle("back");}}
+}}
+this.forwardStack.push(_309);},handleForwardButton:function(){var last=this.forwardStack.pop();if(!last){return;}
+if(last.kwArgs["forward"]){last.kwArgs.forward();}else{if(last.kwArgs["forwardButton"]){last.kwArgs.forwardButton();}else{if(last.kwArgs["handle"]){last.kwArgs.handle("forward");}}
+}
+this.historyStack.push(last);},_createState:function(url,args,hash){return {"url":url,"kwArgs":args,"urlHash":hash};},_getUrlQuery:function(url){var _310=url.split("?");if(_310.length<2){return null;}else{return _310[1];}},_loadIframeHistory:function(){var url=(djConfig["dojoIframeHistoryUrl"]||dojo.hostenv.getBaseScriptUri()+"iframe_history.html")+"?"+(new Date()).getTime();this.moveForward=true;dojo.io.setIFrameSrc(this.historyIframe,url,false);return url;}};if(!dj_undef("window")){dojo.io.checkChildrenForFile=function(node){var _313=false;var _314=node.getElementsByTagName("input");dojo.lang.forEach(_314,function(_315){if(_313){return;}
+if(_315.getAttribute("type")=="file"){_313=true;}});return _313;};dojo.io.formHasFile=function(_316){return dojo.io.checkChildrenForFile(_316);};dojo.io.updateNode=function(node,_318){node=dojo.byId(node);var args=_318;if(dojo.lang.isString(_318)){args={url:_318};}
+args.mimetype="text/html";args.load=function(t,d,e){while(node.firstChild){dojo.dom.destroyNode(node.firstChild);}
+node.innerHTML=d;};dojo.io.bind(args);};dojo.io.formFilter=function(node){var type=(node.type||"").toLowerCase();return !node.disabled&&node.name&&!dojo.lang.inArray(["file","submit","image","reset","button"],type);};dojo.io.encodeForm=function(_31f,_320,_321){if((!_31f)||(!_31f.tagName)||(!_31f.tagName.toLowerCase()=="form")){dojo.raise("Attempted to encode a non-form element.");}
+if(!_321){_321=dojo.io.formFilter;}
+var enc=/utf/i.test(_320||"")?encodeURIComponent:dojo.string.encodeAscii;var _323=[];for(var i=0;i<_31f.elements.length;i++){var elm=_31f.elements[i];if(!elm||elm.tagName.toLowerCase()=="fieldset"||!_321(elm)){continue;}
+var name=enc(elm.name);var type=elm.type.toLowerCase();if(type=="select-multiple"){for(var j=0;j<elm.options.length;j++){if(elm.options[j].selected){_323.push(name+"="+enc(elm.options[j].value));}}
+}else{if(dojo.lang.inArray(["radio","checkbox"],type)){if(elm.checked){_323.push(name+"="+enc(elm.value));}}else{_323.push(name+"="+enc(elm.value));}}
+}
+var _329=_31f.getElementsByTagName("input");for(var i=0;i<_329.length;i++){var _32a=_329[i];if(_32a.type.toLowerCase()=="image"&&_32a.form==_31f&&_321(_32a)){var name=enc(_32a.name);_323.push(name+"="+enc(_32a.value));_323.push(name+".x=0");_323.push(name+".y=0");}}
+return _323.join("&")+"&";};dojo.io.FormBind=function(args){this.bindArgs={};if(args&&args.formNode){this.init(args);}else{if(args){this.init({formNode:args});}}
+};dojo.lang.extend(dojo.io.FormBind,{form:null,bindArgs:null,clickedButton:null,init:function(args){var form=dojo.byId(args.formNode);if(!form||!form.tagName||form.tagName.toLowerCase()!="form"){throw new Error("FormBind: Couldn't apply, invalid form");}else{if(this.form==form){return;}else{if(this.form){throw new Error("FormBind: Already applied to a form");}}
+}
+dojo.lang.mixin(this.bindArgs,args);this.form=form;this.connect(form,"onsubmit","submit");for(var i=0;i<form.elements.length;i++){var node=form.elements[i];if(node&&node.type&&dojo.lang.inArray(["submit","button"],node.type.toLowerCase())){this.connect(node,"onclick","click");}}
+var _330=form.getElementsByTagName("input");for(var i=0;i<_330.length;i++){var _331=_330[i];if(_331.type.toLowerCase()=="image"&&_331.form==form){this.connect(_331,"onclick","click");}}
+},onSubmit:function(form){return true;},submit:function(e){e.preventDefault();if(this.onSubmit(this.form)){dojo.io.bind(dojo.lang.mixin(this.bindArgs,{formFilter:dojo.lang.hitch(this,"formFilter")}));}},click:function(e){var node=e.currentTarget;if(node.disabled){return;}
+this.clickedButton=node;},formFilter:function(node){var type=(node.type||"").toLowerCase();var _338=false;if(node.disabled||!node.name){_338=false;}else{if(dojo.lang.inArray(["submit","button","image"],type)){if(!this.clickedButton){this.clickedButton=node;}
+_338=node==this.clickedButton;}else{_338=!dojo.lang.inArray(["file","submit","reset","button"],type);}}
+return _338;},connect:function(_339,_33a,_33b){if(dojo.evalObjPath("dojo.event.connect")){dojo.event.connect(_339,_33a,this,_33b);}else{var fcn=dojo.lang.hitch(this,_33b);_339[_33a]=function(e){if(!e){e=window.event;}
+if(!e.currentTarget){e.currentTarget=e.srcElement;}
+if(!e.preventDefault){e.preventDefault=function(){window.event.returnValue=false;};}
+fcn(e);};}}});dojo.io.XMLHTTPTransport=new function(){var _33e=this;var _33f={};this.useCache=false;this.preventCache=false;function getCacheKey(url,_341,_342){return url+"|"+_341+"|"+_342.toLowerCase();}
+function addToCache(url,_344,_345,http){_33f[getCacheKey(url,_344,_345)]=http;}
+function getFromCache(url,_348,_349){return _33f[getCacheKey(url,_348,_349)];}
+this.clearCache=function(){_33f={};};function doLoad(_34a,http,url,_34d,_34e){if(((http.status>=200)&&(http.status<300))||(http.status==304)||(location.protocol=="file:"&&(http.status==0||http.status==undefined))||(location.protocol=="chrome:"&&(http.status==0||http.status==undefined))){var ret;if(_34a.method.toLowerCase()=="head"){var _350=http.getAllResponseHeaders();ret={};ret.toString=function(){return _350;};var _351=_350.split(/[\r\n]+/g);for(var i=0;i<_351.length;i++){var pair=_351[i].match(/^([^:]+)\s*:\s*(.+)$/i);if(pair){ret[pair[1]]=pair[2];}}
+}else{if(_34a.mimetype=="text/javascript"){try{ret=dj_eval(http.responseText);}
+catch(e){dojo.debug(e);dojo.debug(http.responseText);ret=null;}}else{if(_34a.mimetype=="text/json"||_34a.mimetype=="application/json"){try{ret=dj_eval("("+http.responseText+")");}
+catch(e){dojo.debug(e);dojo.debug(http.responseText);ret=false;}}else{if((_34a.mimetype=="application/xml")||(_34a.mimetype=="text/xml")){ret=http.responseXML;if(!ret||typeof ret=="string"||!http.getResponseHeader("Content-Type")){ret=dojo.dom.createDocumentFromText(http.responseText);}}else{ret=http.responseText;}}
+}}
+if(_34e){addToCache(url,_34d,_34a.method,http);}
+_34a[(typeof _34a.load=="function")?"load":"handle"]("load",ret,http,_34a);}else{var _354=new dojo.io.Error("XMLHttpTransport Error: "+http.status+" "+http.statusText);_34a[(typeof _34a.error=="function")?"error":"handle"]("error",_354,http,_34a);}}
+function setHeaders(http,_356){if(_356["headers"]){for(var _357 in _356["headers"]){if(_357.toLowerCase()=="content-type"&&!_356["contentType"]){_356["contentType"]=_356["headers"][_357];}else{http.setRequestHeader(_357,_356["headers"][_357]);}}
+}}
+this.inFlight=[];this.inFlightTimer=null;this.startWatchingInFlight=function(){if(!this.inFlightTimer){this.inFlightTimer=setTimeout("dojo.io.XMLHTTPTransport.watchInFlight();",10);}};this.watchInFlight=function(){var now=null;if(!dojo.hostenv._blockAsync&&!_33e._blockAsync){for(var x=this.inFlight.length-1;x>=0;x--){try{var tif=this.inFlight[x];if(!tif||tif.http._aborted||!tif.http.readyState){this.inFlight.splice(x,1);continue;}
+if(4==tif.http.readyState){this.inFlight.splice(x,1);doLoad(tif.req,tif.http,tif.url,tif.query,tif.useCache);}else{if(tif.startTime){if(!now){now=(new Date()).getTime();}
+if(tif.startTime+(tif.req.timeoutSeconds*1000)<now){if(typeof tif.http.abort=="function"){tif.http.abort();}
+this.inFlight.splice(x,1);tif.req[(typeof tif.req.timeout=="function")?"timeout":"handle"]("timeout",null,tif.http,tif.req);}}
+}}
+catch(e){try{var _35b=new dojo.io.Error("XMLHttpTransport.watchInFlight Error: "+e);tif.req[(typeof tif.req.error=="function")?"error":"handle"]("error",_35b,tif.http,tif.req);}
+catch(e2){dojo.debug("XMLHttpTransport error callback failed: "+e2);}}
+}}
+clearTimeout(this.inFlightTimer);if(this.inFlight.length==0){this.inFlightTimer=null;return;}
+this.inFlightTimer=setTimeout("dojo.io.XMLHTTPTransport.watchInFlight();",10);};var _35c=dojo.hostenv.getXmlhttpObject()?true:false;this.canHandle=function(_35d){return _35c&&dojo.lang.inArray(["text/plain","text/html","application/xml","text/xml","text/javascript","text/json","application/json"],(_35d["mimetype"].toLowerCase()||""))&&!(_35d["formNode"]&&dojo.io.formHasFile(_35d["formNode"]));};this.multipartBoundary="45309FFF-BD65-4d50-99C9-36986896A96F";this.bind=function(_35e){var url=_35e.url;var _360="";if(_35e["formNode"]){var ta=_35e.formNode.getAttribute("action");if((ta)&&(!_35e["url"])){url=ta;}
+var tp=_35e.formNode.getAttribute("method");if((tp)&&(!_35e["method"])){_35e.method=tp;}
+_360+=dojo.io.encodeForm(_35e.formNode,_35e.encoding,_35e["formFilter"]);}
+if(url.indexOf("#")>-1){dojo.debug("Warning: dojo.io.bind: stripping hash values from url:",url);url=url.split("#")[0];}
+if(_35e["file"]){_35e.method="post";}
+if(!_35e["method"]){_35e.method="get";}
+if(_35e.method.toLowerCase()=="get"){_35e.multipart=false;}else{if(_35e["file"]){_35e.multipart=true;}else{if(!_35e["multipart"]){_35e.multipart=false;}}
+}
+if(_35e["backButton"]||_35e["back"]||_35e["changeUrl"]){dojo.undo.browser.addToHistory(_35e);}
+var _363=_35e["content"]||{};if(_35e.sendTransport){_363["dojo.transport"]="xmlhttp";}
+do{if(_35e.postContent){_360=_35e.postContent;break;}
+if(_363){_360+=dojo.io.argsFromMap(_363,_35e.encoding);}
+if(_35e.method.toLowerCase()=="get"||!_35e.multipart){break;}
+var t=[];if(_360.length){var q=_360.split("&");for(var i=0;i<q.length;++i){if(q[i].length){var p=q[i].split("=");t.push("--"+this.multipartBoundary,"Content-Disposition: form-data; name=\""+p[0]+"\"","",p[1]);}}
+}
+if(_35e.file){if(dojo.lang.isArray(_35e.file)){for(var i=0;i<_35e.file.length;++i){var o=_35e.file[i];t.push("--"+this.multipartBoundary,"Content-Disposition: form-data; name=\""+o.name+"\"; filename=\""+("fileName" in o?o.fileName:o.name)+"\"","Content-Type: "+("contentType" in o?o.contentType:"application/octet-stream"),"",o.content);}}else{var o=_35e.file;t.push("--"+this.multipartBoundary,"Content-Disposition: form-data; name=\""+o.name+"\"; filename=\""+("fileName" in o?o.fileName:o.name)+"\"","Content-Type: "+("contentType" in o?o.contentType:"application/octet-stream"),"",o.content);}}
+if(t.length){t.push("--"+this.multipartBoundary+"--","");_360=t.join("\r\n");}}while(false);var _369=_35e["sync"]?false:true;var _36a=_35e["preventCache"]||(this.preventCache==true&&_35e["preventCache"]!=false);var _36b=_35e["useCache"]==true||(this.useCache==true&&_35e["useCache"]!=false);if(!_36a&&_36b){var _36c=getFromCache(url,_360,_35e.method);if(_36c){doLoad(_35e,_36c,url,_360,false);return;}}
+var http=dojo.hostenv.getXmlhttpObject(_35e);var _36e=false;if(_369){var _36f=this.inFlight.push({"req":_35e,"http":http,"url":url,"query":_360,"useCache":_36b,"startTime":_35e.timeoutSeconds?(new Date()).getTime():0});this.startWatchingInFlight();}else{_33e._blockAsync=true;}
+if(_35e.method.toLowerCase()=="post"){if(!_35e.user){http.open("POST",url,_369);}else{http.open("POST",url,_369,_35e.user,_35e.password);}
+setHeaders(http,_35e);http.setRequestHeader("Content-Type",_35e.multipart?("multipart/form-data; boundary="+this.multipartBoundary):(_35e.contentType||"application/x-www-form-urlencoded"));try{http.send(_360);}
+catch(e){if(typeof http.abort=="function"){http.abort();}
+doLoad(_35e,{status:404},url,_360,_36b);}}else{var _370=url;if(_360!=""){_370+=(_370.indexOf("?")>-1?"&":"?")+_360;}
+if(_36a){_370+=(dojo.string.endsWithAny(_370,"?","&")?"":(_370.indexOf("?")>-1?"&":"?"))+"dojo.preventCache="+new Date().valueOf();}
+if(!_35e.user){http.open(_35e.method.toUpperCase(),_370,_369);}else{http.open(_35e.method.toUpperCase(),_370,_369,_35e.user,_35e.password);}
+setHeaders(http,_35e);try{http.send(null);}
+catch(e){if(typeof http.abort=="function"){http.abort();}
+doLoad(_35e,{status:404},url,_360,_36b);}}
+if(!_369){doLoad(_35e,http,url,_360,_36b);_33e._blockAsync=false;}
+_35e.abort=function(){try{http._aborted=true;}
+catch(e){}
+return http.abort();};return;};dojo.io.transports.addTransport("XMLHTTPTransport");};}
+dojo.io.cookie.setCookie=function(name,_372,days,path,_375,_376){var _377=-1;if((typeof days=="number")&&(days>=0)){var d=new Date();d.setTime(d.getTime()+(days*24*60*60*1000));_377=d.toGMTString();}
+_372=escape(_372);document.cookie=name+"="+_372+";"+(_377!=-1?" expires="+_377+";":"")+(path?"path="+path:"")+(_375?"; domain="+_375:"")+(_376?"; secure":"");};dojo.io.cookie.set=dojo.io.cookie.setCookie;dojo.io.cookie.getCookie=function(name){var idx=document.cookie.lastIndexOf(name+"=");if(idx==-1){return null;}
+var _37b=document.cookie.substring(idx+name.length+1);var end=_37b.indexOf(";");if(end==-1){end=_37b.length;}

[... 825 lines stripped ...]
Propchange: tapestry/tapestry4/trunk/tapestry-framework/src/js/dojo/dojo.js
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message