incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtu...@apache.org
Subject svn commit: r432019 [2/7] - in /incubator/xap/trunk/dist: dojo.js xapcore.js zimbra.js
Date Wed, 16 Aug 2006 20:18:12 GMT

Added: incubator/xap/trunk/dist/dojo.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/dist/dojo.js?rev=432019&view=auto
==============================================================================
--- incubator/xap/trunk/dist/dojo.js (added)
+++ incubator/xap/trunk/dist/dojo.js Wed Aug 16 13:18:11 2006
@@ -0,0 +1,11664 @@
+/*
+	Copyright (c) 2004-2006, The Dojo Foundation
+	All Rights Reserved.
+
+	Licensed under the Academic Free License version 2.1 or above OR the
+	modified BSD license. For more information on Dojo licensing, see:
+
+		http://dojotoolkit.org/community/licensing.shtml
+*/
+
+/*
+	This is a compiled version of Dojo, built for deployment and not for
+	development. To get an editable version, please visit:
+
+		http://dojotoolkit.org
+
+	for documentation and information on getting the source.
+*/
+
+if(typeof dojo=="undefined"){
+var dj_global=this;
+function dj_undef(_1,_2){
+if(_2==null){
+_2=dojo.global();
+}
+return (typeof _2[_1]=="undefined");
+}
+if(dj_undef("djConfig",this)){
+var djConfig={};
+}
+if(dj_undef("dojo",this)){
+var dojo={};
+}
+dojo._currentContext=this;
+if(!dj_undef("document",dojo._currentContext)){
+dojo._currentDocument=this.document;
+}
+dojo.locale=djConfig.locale;
+dojo.version={major:0,minor:0,patch:0,flag:"dev",revision:Number("$Rev: 4898 $".match(/[0-9]+/)[0]),toString:function(){
+with(dojo.version){
+return major+"."+minor+"."+patch+flag+" ("+revision+")";
+}
+}};
+dojo.evalProp=function(_3,_4,_5){
+return (_4&&!dj_undef(_3,_4)?_4[_3]:(_5?(_4[_3]={}):undefined));
+};
+dojo.parseObjPath=function(_6,_7,_8){
+var _9=(_7!=null?_7:dj_global);
+var _a=_6.split(".");
+var _b=_a.pop();
+for(var i=0,l=_a.length;i<l&&_9;i++){
+_9=dojo.evalProp(_a[i],_9,_8);
+}
+return {obj:_9,prop:_b};
+};
+dojo.evalObjPath=function(_d,_e){
+if(typeof _d!="string"){
+return dj_global;
+}
+if(_d.indexOf(".")==-1){
+return dojo.evalProp(_d,dj_global,_e);
+}
+var _f=dojo.parseObjPath(_d,dj_global,_e);
+if(_f){
+return dojo.evalProp(_f.prop,_f.obj,_e);
+}
+return null;
+};
+dojo.global=function(){
+return dojo._currentContext;
+};
+dojo.doc=function(){
+return dojo._currentDocument;
+};
+dojo.body=function(){
+return dojo.doc().body||dojo.doc().getElementsByTagName("body")[0];
+};
+dojo.withGlobal=function(_10,_11,_12){
+var _13=dojo._currentDocument;
+var _14=dojo._currentContext;
+var _15;
+try{
+dojo._currentContext=_10;
+dojo._currentDocument=_10.document;
+if(_12){
+_15=dojo.lang.curryArguments(_12,_11,arguments,3);
+}else{
+_15=_11();
+}
+}
+catch(e){
+dojo._currentContext=_14;
+dojo._currentDocument=_13;
+throw e;
+}
+dojo._currentContext=_14;
+dojo._currentDocument=_13;
+return _15;
+};
+dojo.withDoc=function(_16,_17,_18){
+var _19=this._currentDocument;
+var _1a;
+try{
+dojo._currentDocument=_16;
+if(_18){
+_1a=dojo.lang.curryArguments(_18,_17,arguments,3);
+}else{
+_1a=_17();
+}
+}
+catch(e){
+dojo._currentDocument=_19;
+throw e;
+}
+dojo._currentDocument=_19;
+return _1a;
+};
+dojo.errorToString=function(_1b){
+if(!dj_undef("message",_1b)){
+return _1b.message;
+}else{
+if(!dj_undef("description",_1b)){
+return _1b.description;
+}else{
+return _1b;
+}
+}
+};
+dojo.raise=function(_1c,_1d){
+if(_1d){
+_1c=_1c+": "+dojo.errorToString(_1d);
+}
+try{
+dojo.hostenv.println("FATAL: "+_1c);
+}
+catch(e){
+}
+throw Error(_1c);
+};
+dojo.debug=function(){
+};
+dojo.debugShallow=function(obj){
+};
+dojo.profile={start:function(){
+},end:function(){
+},stop:function(){
+},dump:function(){
+}};
+function dj_eval(_1f){
+return dj_global.eval?dj_global.eval(_1f):eval(_1f);
+}
+dojo.unimplemented=function(_20,_21){
+var _22="'"+_20+"' not implemented";
+if(_21!=null){
+_22+=" "+_21;
+}
+dojo.raise(_22);
+};
+dojo.deprecated=function(_23,_24,_25){
+var _26="DEPRECATED: "+_23;
+if(_24){
+_26+=" "+_24;
+}
+if(_25){
+_26+=" -- will be removed in version: "+_25;
+}
+dojo.debug(_26);
+};
+dojo.inherits=function(_27,_28){
+if(typeof _28!="function"){
+dojo.raise("dojo.inherits: superclass argument ["+_28+"] must be a function (subclass: ["+_27+"']");
+}
+_27.prototype=new _28();
+_27.prototype.constructor=_27;
+_27.superclass=_28.prototype;
+_27["super"]=_28.prototype;
+};
+dojo._mixin=function(obj,_2a){
+var _2b={};
+for(var x in _2a){
+if(typeof _2b[x]=="undefined"||_2b[x]!=_2a[x]){
+obj[x]=_2a[x];
+}
+}
+if(dojo.render.html.ie&&dojo.lang.isFunction(_2a["toString"])&&_2a["toString"]!=obj["toString"]){
+obj.toString=_2a.toString;
+}
+return obj;
+};
+dojo.mixin=function(obj,_2e){
+for(var i=1,l=arguments.length;i<l;i++){
+dojo._mixin(obj,arguments[i]);
+}
+return obj;
+};
+dojo.extend=function(_30,_31){
+for(var i=1,l=arguments.length;i<l;i++){
+dojo._mixin(_30.prototype,arguments[i]);
+}
+return _30;
+};
+dojo.render=(function(){
+function vscaffold(_33,_34){
+var tmp={capable:false,support:{builtin:false,plugin:false},prefixes:_33};
+for(var i=0;i<_34.length;i++){
+tmp[_34[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 _37={isDebug:false,allowQueryConfig:false,baseScriptUri:"",baseRelativePath:"",libraryScriptUri:"",iePreventClobber:false,ieClobberMinimal:true,preventBackButtonFix:true,searchIds:[],parseWidgets:true};
+if(typeof djConfig=="undefined"){
+djConfig=_37;
+}else{
+for(var _38 in _37){
+if(typeof djConfig[_38]=="undefined"){
+djConfig[_38]=_37[_38];
+}
+}
+}
+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);
+}
+var _3b=uri.lastIndexOf("/");
+djConfig.baseScriptUri=djConfig.baseRelativePath;
+return djConfig.baseScriptUri;
+};
+(function(){
+var _3c={pkgFileName:"__package__",loading_modules_:{},loaded_modules_:{},addedToLoadingCount:[],removedFromLoadingCount:[],inFlightCount:0,modulePrefixes_:{dojo:{name:"dojo",value:"src"}},setModulePrefix:function(_3d,_3e){
+this.modulePrefixes_[_3d]={name:_3d,value:_3e};
+},getModulePrefix:function(_3f){
+var mp=this.modulePrefixes_;
+if((mp[_3f])&&(mp[_3f]["name"])){
+return mp[_3f].value;
+}
+return _3f;
+},getTextStack:[],loadUriStack:[],loadedUris:[],post_load_:false,modulesLoadedListeners:[],unloadListeners:[],loadNotifying:false};
+for(var _41 in _3c){
+dojo.hostenv[_41]=_3c[_41];
+}
+})();
+dojo.hostenv.loadPath=function(_42,_43,cb){
+var uri;
+if((_42.charAt(0)=="/")||(_42.match(/^\w+:/))){
+uri=_42;
+}else{
+uri=this.getBaseScriptUri()+_42;
+}
+if(djConfig.cacheBust&&dojo.render.html.capable){
+uri+="?"+String(djConfig.cacheBust).replace(/\W+/g,"");
+}
+try{
+return ((!_43)?this.loadUri(uri,cb):this.loadUriAndCheck(uri,_43,cb));
+}
+catch(e){
+dojo.debug(e);
+return false;
+}
+};
+dojo.hostenv.loadUri=function(uri,cb){
+if(this.loadedUris[uri]){
+return 1;
+}
+var _48=this.getText(uri,null,true);
+if(_48==null){
+return 0;
+}
+this.loadedUris[uri]=true;
+if(cb){
+_48="("+_48+")";
+}
+var _49=dj_eval(_48);
+if(cb){
+cb(_49);
+}
+return 1;
+};
+dojo.hostenv.loadUriAndCheck=function(uri,_4b,cb){
+var ok=true;
+try{
+ok=this.loadUri(uri,cb);
+}
+catch(e){
+dojo.debug("failed loading ",uri," with error: ",e);
+}
+return ((ok)&&(this.findModule(_4b,false)))?true: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,_52){
+var dh=dojo.hostenv;
+if(arguments.length==1){
+dh.modulesLoadedListeners.push(obj);
+}else{
+if(arguments.length>1){
+dh.modulesLoadedListeners.push(function(){
+obj[_52]();
+});
+}
+}
+if(dh.post_load_&&dh.inFlightCount==0&&!dh.loadNotifying){
+dh.callLoaded();
+}
+};
+dojo.addOnUnload=function(obj,_55){
+var dh=dojo.hostenv;
+if(arguments.length==1){
+dh.unloadListeners.push(obj);
+}else{
+if(arguments.length>1){
+dh.unloadListeners.push(function(){
+obj[_55]();
+});
+}
+}
+};
+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(_57){
+var _58=_57.split(".");
+for(var i=_58.length-1;i>0;i--){
+var _5a=_58.slice(0,i).join(".");
+var _5b=this.getModulePrefix(_5a);
+if(_5b!=_5a){
+_58.splice(0,i,_5b);
+break;
+}
+}
+return _58;
+};
+dojo._namespaces={};
+(function(){
+var _5c={};
+var _5d={};
+dojo.getNamespace=function(_5e){
+if(!dojo._namespaces[_5e]&&!_5d[_5e]){
+var req=dojo.require;
+var _60="dojo.namespaces."+_5e;
+if(!_5c[_60]){
+_5c[_60]=true;
+req(_60,false,true);
+_5c[_60]=false;
+if(!dojo._namespaces[_5e]){
+_5d[_5e]=true;
+}
+}
+}
+return dojo._namespaces[_5e];
+};
+})();
+dojo.hostenv._global_omit_module_check=false;
+dojo.hostenv.loadModule=function(_61,_62,_63){
+if(!_61){
+return;
+}
+_63=this._global_omit_module_check||_63;
+var _64=this.findModule(_61,false);
+if(_64){
+return _64;
+}
+if(dj_undef(_61,this.loading_modules_)){
+this.addedToLoadingCount.push(_61);
+}
+this.loading_modules_[_61]=1;
+var _65=_61.replace(/\./g,"/")+".js";
+var _66=_61.split(".");
+if(djConfig.autoLoadNamespace){
+dojo.getNamespace(_66[0]);
+}
+var _67=this.getModuleSymbols(_61);
+var _68=((_67[0].charAt(0)!="/")&&(!_67[0].match(/^\w+:/)));
+var _69=_67[_67.length-1];
+if(_69=="*"){
+_61=(_66.slice(0,-1)).join(".");
+while(_67.length){
+_67.pop();
+_67.push(this.pkgFileName);
+_65=_67.join("/")+".js";
+if(_68&&(_65.charAt(0)=="/")){
+_65=_65.slice(1);
+}
+ok=this.loadPath(_65,((!_63)?_61:null));
+if(ok){
+break;
+}
+_67.pop();
+}
+}else{
+_65=_67.join("/")+".js";
+_61=_66.join(".");
+var ok=this.loadPath(_65,((!_63)?_61:null));
+if((!ok)&&(!_62)){
+_67.pop();
+while(_67.length){
+_65=_67.join("/")+".js";
+ok=this.loadPath(_65,((!_63)?_61:null));
+if(ok){
+break;
+}
+_67.pop();
+_65=_67.join("/")+"/"+this.pkgFileName+".js";
+if(_68&&(_65.charAt(0)=="/")){
+_65=_65.slice(1);
+}
+ok=this.loadPath(_65,((!_63)?_61:null));
+if(ok){
+break;
+}
+}
+}
+if((!ok)&&(!_63)){
+dojo.raise("Could not load '"+_61+"'; last tried '"+_65+"'");
+}
+}
+if(!_63&&!this["isXDomain"]){
+_64=this.findModule(_61,false);
+if(!_64){
+dojo.raise("symbol '"+_61+"' is not defined after loading '"+_65+"'");
+}
+}
+return _64;
+};
+dojo.hostenv.startPackage=function(_6b){
+var _6c=dojo.evalObjPath((_6b.split(".").slice(0,-1)).join("."));
+this.loaded_modules_[(new String(_6b)).toLowerCase()]=_6c;
+var _6d=_6b.split(/\./);
+if(_6d[_6d.length-1]=="*"){
+_6d.pop();
+}
+return dojo.evalObjPath(_6d.join("."),true);
+};
+dojo.hostenv.findModule=function(_6e,_6f){
+var lmn=(new String(_6e)).toLowerCase();
+if(this.loaded_modules_[lmn]){
+return this.loaded_modules_[lmn];
+}
+var _71=dojo.evalObjPath(_6e);
+if((_6e)&&(typeof _71!="undefined")&&(_71)){
+this.loaded_modules_[lmn]=_71;
+return _71;
+}
+if(_6f){
+dojo.raise("no loaded module named '"+_6e+"'");
+}
+return null;
+};
+dojo.kwCompoundRequire=function(_72){
+var _73=_72["common"]||[];
+var _74=(_72[dojo.hostenv.name_])?_73.concat(_72[dojo.hostenv.name_]||[]):_73.concat(_72["default"]||[]);
+for(var x=0;x<_74.length;x++){
+var _76=_74[x];
+if(_76.constructor==Array){
+dojo.hostenv.loadModule.apply(dojo.hostenv,_76);
+}else{
+dojo.hostenv.loadModule(_76);
+}
+}
+};
+dojo.require=function(){
+dojo.hostenv.loadModule.apply(dojo.hostenv,arguments);
+};
+dojo.requireIf=function(){
+if((arguments[0]===true)||(arguments[0]=="common")||(arguments[0]&&dojo.render[arguments[0]].capable)){
+var _77=[];
+for(var i=1;i<arguments.length;i++){
+_77.push(arguments[i]);
+}
+dojo.require.apply(dojo,_77);
+}
+};
+dojo.requireAfterIf=dojo.requireIf;
+dojo.provide=function(){
+return dojo.hostenv.startPackage.apply(dojo.hostenv,arguments);
+};
+dojo.setModulePrefix=function(_79,_7a){
+return dojo.hostenv.setModulePrefix(_79,_7a);
+};
+dojo.exists=function(obj,_7c){
+var p=_7c.split(".");
+for(var i=0;i<p.length;i++){
+if(!(obj[p[i]])){
+return false;
+}
+obj=obj[p[i]];
+}
+return true;
+};
+}
+if(typeof window=="undefined"){
+dojo.raise("no window object");
+}
+(function(){
+if(djConfig.allowQueryConfig){
+var _7f=document.location.toString();
+var _80=_7f.split("?",2);
+if(_80.length>1){
+var _81=_80[1];
+var _82=_81.split("&");
+for(var x in _82){
+var sp=_82[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 _86=document.getElementsByTagName("script");
+var _87=/(__package__|dojo|bootstrap1)\.js([\?\.]|$)/i;
+for(var i=0;i<_86.length;i++){
+var src=_86[i].getAttribute("src");
+if(!src){
+continue;
+}
+var m=src.match(_87);
+if(m){
+var _8b=src.substring(0,m.index);
+if(src.indexOf("bootstrap1")>-1){
+_8b+="../";
+}
+if(!this["djConfig"]){
+djConfig={};
+}
+if(djConfig["baseScriptUri"]==""){
+djConfig["baseScriptUri"]=_8b;
+}
+if(djConfig["baseRelativePath"]==""){
+djConfig["baseRelativePath"]=_8b;
+}
+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 _93=dua.indexOf("Gecko");
+drh.mozilla=drh.moz=(_93>=0)&&(!drh.khtml);
+if(drh.mozilla){
+drh.geckoVersion=dua.substring(_93+6,_93+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;
+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;
+if(document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("org.w3c.dom.svg","1.0")){
+drs.capable=t;
+drs.support.builtin=t;
+drs.support.plugin=f;
+}
+})();
+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 _94=null;
+var _95=null;
+try{
+_94=new XMLHttpRequest();
+}
+catch(e){
+}
+if(!_94){
+for(var i=0;i<3;++i){
+var _97=dojo.hostenv._XMLHTTP_PROGIDS[i];
+try{
+_94=new ActiveXObject(_97);
+}
+catch(e){
+_95=e;
+}
+if(_94){
+dojo.hostenv._XMLHTTP_PROGIDS=[_97];
+break;
+}
+}
+}
+if(!_94){
+return dojo.raise("XMLHTTP not available",_95);
+}
+return _94;
+};
+dojo.hostenv.getText=function(uri,_99,_9a){
+var _9b=this.getXmlhttpObject();
+function isDocumentOk(_9c){
+var _9d=_9c["status"];
+return Boolean((!_9d)||((200<=_9d)&&(300>_9d))||(_9d==304));
+}
+if(_99){
+_9b.onreadystatechange=function(){
+if(4==_9b.readyState){
+if(isDocumentOk(_9b)){
+_99(_9b.responseText);
+}
+}
+};
+}
+_9b.open("GET",uri,_99?true:false);
+try{
+_9b.send(null);
+if(_99){
+return null;
+}
+if(!isDocumentOk(_9b)){
+var err=Error("Unable to load "+uri+" status:"+_9b.status);
+err.status=_9b.status;
+err.responseText=_9b.responseText;
+throw err;
+}
+}
+catch(e){
+if((_9a)&&(!_99)){
+return null;
+}else{
+throw e;
+}
+}
+return _9b.responseText;
+};
+dojo.hostenv.defaultDebugContainerId="dojoDebug";
+dojo.hostenv._println_buffer=[];
+dojo.hostenv._println_safe=false;
+dojo.hostenv.println=function(_9f){
+if(!dojo.hostenv._println_safe){
+dojo.hostenv._println_buffer.push(_9f);
+}else{
+try{
+var _a0=document.getElementById(djConfig.debugContainerId?djConfig.debugContainerId:dojo.hostenv.defaultDebugContainerId);
+if(!_a0){
+_a0=dojo.body();
+}
+var div=document.createElement("div");
+div.appendChild(document.createTextNode(_9f));
+_a0.appendChild(div);
+}
+catch(e){
+try{
+document.write("<div>"+_9f+"</div>");
+}
+catch(e2){
+window.status=_9f;
+}
+}
+}
+};
+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(_a2,_a3,fp,_a5){
+var _a6=_a2["on"+_a3]||function(){
+};
+_a2["on"+_a3]=function(){
+fp.apply(_a2,arguments);
+_a6.apply(_a2,arguments);
+};
+return true;
+}
+dj_addNodeEvtHdlr(window,"load",function(){
+if(arguments.callee.initialized){
+return;
+}
+arguments.callee.initialized=true;
+var _a7=function(){
+if(dojo.render.html.ie){
+dojo.hostenv.makeWidgets();
+}
+};
+if(dojo.hostenv.inFlightCount==0){
+_a7();
+dojo.hostenv.modulesLoaded();
+}else{
+dojo.addOnLoad(_a7);
+}
+});
+dj_addNodeEvtHdlr(window,"unload",function(){
+dojo.hostenv.unloaded();
+});
+dojo.hostenv.makeWidgets=function(){
+var _a8=[];
+if(djConfig.searchIds&&djConfig.searchIds.length>0){
+_a8=_a8.concat(djConfig.searchIds);
+}
+if(dojo.hostenv.searchIds&&dojo.hostenv.searchIds.length>0){
+_a8=_a8.concat(dojo.hostenv.searchIds);
+}
+if((djConfig.parseWidgets)||(_a8.length>0)){
+if(dojo.evalObjPath("dojo.widget.Parse")){
+var _a9=new dojo.xml.Parse();
+if(_a8.length>0){
+for(var x=0;x<_a8.length;x++){
+var _ab=document.getElementById(_a8[x]);
+if(!_ab){
+continue;
+}
+var _ac=_a9.parseElement(_ab,null,true);
+dojo.widget.getParser().createComponents(_ac);
+}
+}else{
+if(djConfig.parseWidgets){
+var _ac=_a9.parseElement(dojo.body(),null,true);
+dojo.widget.getParser().createComponents(_ac);
+}
+}
+}
+}
+};
+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(){
+};
+dojo.byId=function(id,doc){
+if(id&&(typeof id=="string"||id instanceof String)){
+if(!doc){
+doc=dojo.doc();
+}
+return doc.getElementById(id);
+}
+return id;
+};
+(function(){
+if(typeof dj_usingBootstrap!="undefined"){
+return;
+}
+var _af=false;
+var _b0=false;
+var _b1=false;
+if((typeof this["load"]=="function")&&((typeof this["Packages"]=="function")||(typeof this["Packages"]=="object"))){
+_af=true;
+}else{
+if(typeof this["load"]=="function"){
+_b0=true;
+}else{
+if(window.widget){
+_b1=true;
+}
+}
+}
+var _b2=[];
+if((this["djConfig"])&&((djConfig["isDebug"])||(djConfig["debugAtAllCosts"]))){
+_b2.push("debug.js");
+}
+if((this["djConfig"])&&(djConfig["debugAtAllCosts"])&&(!_af)&&(!_b1)){
+_b2.push("browser_debug.js");
+}
+if((this["djConfig"])&&(djConfig["compat"])){
+_b2.push("compat/"+djConfig["compat"]+".js");
+}
+var _b3=djConfig["baseScriptUri"];
+if((this["djConfig"])&&(djConfig["baseLoaderUri"])){
+_b3=djConfig["baseLoaderUri"];
+}
+for(var x=0;x<_b2.length;x++){
+var _b5=_b3+"src/"+_b2[x];
+if(_af||_b0){
+load(_b5);
+}else{
+try{
+document.write("<scr"+"ipt type='text/javascript' src='"+_b5+"'></scr"+"ipt>");
+}
+catch(e){
+var _b6=document.createElement("script");
+_b6.src=_b5;
+document.getElementsByTagName("head")[0].appendChild(_b6);
+}
+}
+}
+})();
+dojo.normalizeLocale=function(_b7){
+return _b7?_b7.toLowerCase():dojo.locale;
+};
+dojo.requireLocalization=function(_b8,_b9,_ba){
+dojo.debug("EXPERIMENTAL: dojo.requireLocalization");
+var _bb=dojo.hostenv.getModuleSymbols(_b8);
+var _bc=_bb.concat("nls").join("/");
+_ba=dojo.normalizeLocale(_ba);
+var _bd=_ba.split("-");
+var _be=[];
+for(var i=_bd.length;i>0;i--){
+_be.push(_bd.slice(0,i).join("-"));
+}
+_be.push(false);
+var _c0=[_b8,"_nls",_b9].join(".");
+var _c1=dojo.hostenv.startPackage(_c0);
+dojo.hostenv.loaded_modules_[_c0]=_c1;
+var _c2=false;
+for(var j=_be.length-1;j>=0;j--){
+var loc=_be[j]||"ROOT";
+var pkg=_c0+"."+loc;
+var _c6=false;
+if(!dojo.hostenv.findModule(pkg)){
+dojo.hostenv.loaded_modules_[pkg]=null;
+var _c7=[_bc];
+if(_be[j]){
+_c7.push(loc);
+}
+_c7.push(_b9);
+var _c8=_c7.join("/")+".js";
+_c6=dojo.hostenv.loadPath(_c8,null,function(_c9){
+var _ca=function(){
+};
+_ca.prototype=_c2;
+_c1[loc]=new _ca();
+for(var k in _c9){
+_c1[loc][k]=_c9[k];
+}
+});
+}else{
+_c6=true;
+}
+if(_c6&&_c1[loc]){
+_c2=_c1[loc];
+}
+}
+};
+(function(){
+var _cc=djConfig.extraLocale;
+if(_cc){
+var req=dojo.requireLocalization;
+dojo.requireLocalization=function(m,b,_d0){
+req(m,b,_d0);
+if(_d0){
+return;
+}
+if(_cc instanceof Array){
+for(var i=0;i<_cc.length;i++){
+req(m,b,_cc[i]);
+}
+}else{
+req(m,b,_cc);
+}
+};
+}
+})();
+
+dojo.provide("dojo.lang.common");
+dojo.lang._mixin=dojo._mixin;
+dojo.lang.mixin=dojo.mixin;
+dojo.lang.extend=dojo.extend;
+dojo.lang.find=function(_101,_102,_103,_104){
+if(!dojo.lang.isArrayLike(_101)&&dojo.lang.isArrayLike(_102)){
+dojo.deprecated("dojo.lang.find(value, array)","use dojo.lang.find(array, value) instead","0.5");
+var temp=_101;
+_101=_102;
+_102=temp;
+}
+var _106=dojo.lang.isString(_101);
+if(_106){
+_101=_101.split("");
+}
+if(_104){
+var step=-1;
+var i=_101.length-1;
+var end=-1;
+}else{
+var step=1;
+var i=0;
+var end=_101.length;
+}
+if(_103){
+while(i!=end){
+if(_101[i]===_102){
+return i;
+}
+i+=step;
+}
+}else{
+while(i!=end){
+if(_101[i]==_102){
+return i;
+}
+i+=step;
+}
+}
+return -1;
+};
+dojo.lang.indexOf=dojo.lang.find;
+dojo.lang.findLast=function(_10a,_10b,_10c){
+return dojo.lang.find(_10a,_10b,_10c,true);
+};
+dojo.lang.lastIndexOf=dojo.lang.findLast;
+dojo.lang.inArray=function(_10d,_10e){
+return dojo.lang.find(_10d,_10e)>-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 instanceof Array||typeof it=="array");
+};
+dojo.lang.isArrayLike=function(it){
+if(dojo.lang.isString(it)){
+return false;
+}
+if(dojo.lang.isFunction(it)){
+return false;
+}
+if(dojo.lang.isArray(it)){
+return true;
+}
+if(typeof it!="undefined"&&it&&dojo.lang.isNumber(it.length)&&isFinite(it.length)){
+return true;
+}
+return false;
+};
+dojo.lang.isFunction=function(it){
+if(!it){
+return false;
+}
+return (it instanceof Function||typeof it=="function");
+};
+dojo.lang.isString=function(it){
+return (it instanceof String||typeof it=="string");
+};
+dojo.lang.isAlien=function(it){
+if(!it){
+return false;
+}
+return !dojo.lang.isFunction()&&/\{\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 ((it==undefined)&&(typeof it=="undefined"));
+};
+dojo.provide("dojo.lang");
+dojo.provide("dojo.lang.Lang");
+dojo.provide("dojo.dom");
+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.xmls
 oap.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 _119=dojo.doc();
+do{
+var id="dj_unique_"+(++arguments.callee._idIncrement);
+}while(_119.getElementById(id));
+return id;
+};
+dojo.dom.getUniqueId._idIncrement=0;
+dojo.dom.firstElement=dojo.dom.getFirstChildElement=function(_11b,_11c){
+var node=_11b.firstChild;
+while(node&&node.nodeType!=dojo.dom.ELEMENT_NODE){
+node=node.nextSibling;
+}
+if(_11c&&node&&node.tagName&&node.tagName.toLowerCase()!=_11c.toLowerCase()){
+node=dojo.dom.nextElement(node,_11c);
+}
+return node;
+};
+dojo.dom.lastElement=dojo.dom.getLastChildElement=function(_11e,_11f){
+var node=_11e.lastChild;
+while(node&&node.nodeType!=dojo.dom.ELEMENT_NODE){
+node=node.previousSibling;
+}
+if(_11f&&node&&node.tagName&&node.tagName.toLowerCase()!=_11f.toLowerCase()){
+node=dojo.dom.prevElement(node,_11f);
+}
+return node;
+};
+dojo.dom.nextElement=dojo.dom.getNextSiblingElement=function(node,_122){
+if(!node){
+return null;
+}
+do{
+node=node.nextSibling;
+}while(node&&node.nodeType!=dojo.dom.ELEMENT_NODE);
+if(node&&_122&&_122.toLowerCase()!=node.tagName.toLowerCase()){
+return dojo.dom.nextElement(node,_122);
+}
+return node;
+};
+dojo.dom.prevElement=dojo.dom.getPreviousSiblingElement=function(node,_124){
+if(!node){
+return null;
+}
+if(_124){
+_124=_124.toLowerCase();
+}
+do{
+node=node.previousSibling;
+}while(node&&node.nodeType!=dojo.dom.ELEMENT_NODE);
+if(node&&_124&&_124.toLowerCase()!=node.tagName.toLowerCase()){
+return dojo.dom.prevElement(node,_124);
+}
+return node;
+};
+dojo.dom.moveChildren=function(_125,_126,trim){
+var _128=0;
+if(trim){
+while(_125.hasChildNodes()&&_125.firstChild.nodeType==dojo.dom.TEXT_NODE){
+_125.removeChild(_125.firstChild);
+}
+while(_125.hasChildNodes()&&_125.lastChild.nodeType==dojo.dom.TEXT_NODE){
+_125.removeChild(_125.lastChild);
+}
+}
+while(_125.hasChildNodes()){
+_126.appendChild(_125.firstChild);
+_128++;
+}
+return _128;
+};
+dojo.dom.copyChildren=function(_129,_12a,trim){
+var _12c=_129.cloneNode(true);
+return this.moveChildren(_12c,_12a,trim);
+};
+dojo.dom.removeChildren=function(node){
+var _12e=node.childNodes.length;
+while(node.hasChildNodes()){
+node.removeChild(node.firstChild);
+}
+return _12e;
+};
+dojo.dom.replaceChildren=function(node,_130){
+dojo.dom.removeChildren(node);
+node.appendChild(_130);
+};
+dojo.dom.removeNode=function(node){
+if(node&&node.parentNode){
+return node.parentNode.removeChild(node);
+}
+};
+dojo.dom.getAncestors=function(node,_133,_134){
+var _135=[];
+var _136=(_133&&(_133 instanceof Function||typeof _133=="function"));
+while(node){
+if(!_136||_133(node)){
+_135.push(node);
+}
+if(_134&&_135.length>0){
+return _135[0];
+}
+node=node.parentNode;
+}
+if(_134){
+return null;
+}
+return _135;
+};
+dojo.dom.getAncestorsByTag=function(node,tag,_139){
+tag=tag.toLowerCase();
+return dojo.dom.getAncestors(node,function(el){
+return ((el.tagName)&&(el.tagName.toLowerCase()==tag));
+},_139);
+};
+dojo.dom.getFirstAncestorByTag=function(node,tag){
+return dojo.dom.getAncestorsByTag(node,tag,true);
+};
+dojo.dom.isDescendantOf=function(node,_13e,_13f){
+if(_13f&&node){
+node=node.parentNode;
+}
+while(node){
+if(node==_13e){
+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 _142=dojo.doc();
+if(!dj_undef("ActiveXObject")){
+var _143=["MSXML2","Microsoft","MSXML","MSXML3"];
+for(var i=0;i<_143.length;i++){
+try{
+doc=new ActiveXObject(_143[i]+".XMLDOM");
+}
+catch(e){
+}
+if(doc){
+break;
+}
+}
+}else{
+if((_142.implementation)&&(_142.implementation.createDocument)){
+doc=_142.implementation.createDocument("","",null);
+}
+}
+return doc;
+};
+dojo.dom.createDocumentFromText=function(str,_146){
+if(!_146){
+_146="text/xml";
+}
+if(!dj_undef("DOMParser")){
+var _147=new DOMParser();
+return _147.parseFromString(str,_146);
+}else{
+if(!dj_undef("ActiveXObject")){
+var _148=dojo.dom.createDocument();
+if(_148){
+_148.async=false;
+_148.loadXML(str);
+return _148;
+}else{
+dojo.debug("toXml didn't work?");
+}
+}else{
+var _149=dojo.doc();
+if(_149.createElement){
+var tmp=_149.createElement("xml");
+tmp.innerHTML=str;
+if(_149.implementation&&_149.implementation.createDocument){
+var _14b=_149.implementation.createDocument("foo","",null);
+for(var i=0;i<tmp.childNodes.length;i++){
+_14b.importNode(tmp.childNodes.item(i),true);
+}
+return _14b;
+}
+return ((tmp.document)&&(tmp.document.firstChild?tmp.document.firstChild:tmp));
+}
+}
+}
+return null;
+};
+dojo.dom.prependChild=function(node,_14e){
+if(_14e.firstChild){
+_14e.insertBefore(node,_14e.firstChild);
+}else{
+_14e.appendChild(node);
+}
+return true;
+};
+dojo.dom.insertBefore=function(node,ref,_151){
+if(_151!=true&&(node===ref||node.nextSibling===ref)){
+return false;
+}
+var _152=ref.parentNode;
+_152.insertBefore(node,ref);
+return true;
+};
+dojo.dom.insertAfter=function(node,ref,_155){
+var pn=ref.parentNode;
+if(ref==pn.lastChild){
+if((_155!=true)&&(node===ref)){
+return false;
+}
+pn.appendChild(node);
+}else{
+return this.insertBefore(node,ref.nextSibling,_155);
+}
+return true;
+};
+dojo.dom.insertAtPosition=function(node,ref,_159){
+if((!node)||(!ref)||(!_159)){
+return false;
+}
+switch(_159.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,_15b,_15c){
+var _15d=_15b.childNodes;
+if(!_15d.length){
+_15b.appendChild(node);
+return true;
+}
+var _15e=null;
+for(var i=0;i<_15d.length;i++){
+var _160=_15d.item(i)["getAttribute"]?parseInt(_15d.item(i).getAttribute("dojoinsertionindex")):-1;
+if(_160<_15c){
+_15e=_15d.item(i);
+}
+}
+if(_15e){
+return dojo.dom.insertAfter(node,_15e);
+}else{
+return dojo.dom.insertBefore(node,_15d.item(0));
+}
+};
+dojo.dom.textContent=function(node,text){
+if(text){
+var _163=dojo.doc();
+dojo.dom.replaceChildren(node,_163.createTextNode(text));
+return text;
+}else{
+var _164="";
+if(node==null){
+return _164;
+}
+for(var i=0;i<node.childNodes.length;i++){
+switch(node.childNodes[i].nodeType){
+case 1:
+case 5:
+_164+=dojo.dom.textContent(node.childNodes[i]);
+break;
+case 3:
+case 2:
+case 4:
+_164+=node.childNodes[i].nodeValue;
+break;
+default:
+break;
+}
+}
+return _164;
+}
+};
+dojo.dom.hasParent=function(node){
+return 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,_16a,_16b,_16c){
+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(_16a,_16b,_16c);
+}else{
+var _16d=elem.ownerDocument;
+var _16e=_16d.createNode(2,_16b,_16a);
+_16e.nodeValue=_16c;
+elem.setAttributeNode(_16e);
+}
+};
+dojo.provide("dojo.html.common");
+dojo.lang.mixin(dojo.html,dojo.dom);
+dojo.html.body=function(){
+dojo.deprecated("dojo.html.body() moved to dojo.body()","0.5");
+return dojo.body();
+};
+dojo.html.getEventTarget=function(evt){
+if(!evt){
+evt=dojo.global().event||{};
+}
+var t=(evt.srcElement?evt.srcElement:(evt.target?evt.target:null));
+while((t)&&(t.nodeType!=1)){
+t=t.parentNode;
+}
+return t;
+};
+dojo.html.getViewport=function(){
+var _171=dojo.global();
+var _172=dojo.doc();
+var w=0;
+var h=0;
+if(!dojo.render.html.opera&&_171.innerWidth){
+w=_171.innerWidth;
+h=_171.innerHeight;
+}else{
+if(!dojo.render.html.opera&&dojo.exists(_172,"documentElement.clientWidth")){
+var w2=_172.documentElement.clientWidth;
+if(!w||w2&&w2<w){
+w=w2;
+}
+h=_172.documentElement.clientHeight;
+}else{
+if(dojo.body().clientWidth){
+w=dojo.body().clientWidth;
+h=dojo.body().clientHeight;
+}
+}
+}
+return {width:w,height:h};
+};
+dojo.html.getScroll=function(){
+var _176=dojo.global();
+var _177=dojo.doc();
+var top=_176.pageYOffset||_177.documentElement.scrollTop||dojo.body().scrollTop||0;
+var left=_176.pageXOffset||_177.documentElement.scrollLeft||dojo.body().scrollLeft||0;
+return {top:top,left:left,offset:{x:left,y:top}};
+};
+dojo.html.getParentByType=function(node,type){
+var _17c=dojo.doc();
+var _17d=dojo.byId(node);
+type=type.toLowerCase();
+while((_17d)&&(_17d.nodeName.toLowerCase()!=type)){
+if(_17d==(_17c["body"]||_17c["documentElement"])){
+return null;
+}
+_17d=_17d.parentNode;
+}
+return _17d;
+};
+dojo.html.getAttribute=function(node,attr){
+node=dojo.byId(node);
+if((!node)||(!node.getAttribute)){
+return null;
+}
+var ta=typeof attr=="string"?attr:new String(attr);
+var v=node.getAttribute(ta.toUpperCase());
+if((v)&&(typeof v=="string")&&(v!="")){
+return v;
+}
+if(v&&v.value){
+return v.value;
+}
+if((node.getAttributeNode)&&(node.getAttributeNode(ta))){
+return (node.getAttributeNode(ta)).value;
+}else{
+if(node.getAttribute(ta)){
+return node.getAttribute(ta);
+}else{
+if(node.getAttribute(ta.toLowerCase())){
+return node.getAttribute(ta.toLowerCase());
+}
+}
+}
+return null;
+};
+dojo.html.hasAttribute=function(node,attr){
+return dojo.html.getAttribute(dojo.byId(node),attr)?true:false;
+};
+dojo.html.getCursorPosition=function(e){
+e=e||dojo.global().event;
+var _185={x:0,y:0};
+if(e.pageX||e.pageY){
+_185.x=e.pageX;
+_185.y=e.pageY;
+}else{
+var de=dojo.doc().documentElement;
+var db=dojo.body();
+_185.x=e.clientX+((de||db)["scrollLeft"])-((de||db)["clientLeft"]);
+_185.y=e.clientY+((de||db)["scrollTop"])-((de||db)["clientTop"]);
+}
+return _185;
+};
+dojo.html.isTag=function(node){
+node=dojo.byId(node);
+if(node&&node.tagName){
+for(var i=1;i<arguments.length;i++){
+if(node.tagName.toLowerCase()==String(arguments[i]).toLowerCase()){
+return String(arguments[i]).toLowerCase();
+}
+}
+}
+return "";
+};
+if(dojo.render.html.ie){
+(function(){
+var _18a=dojo.doc().createElement("script");
+_18a.src="javascript:'dojo.html.createExternalElement=function(doc, tag){return doc.createElement(tag);}'";
+dojo.doc().getElementsByTagName("head")[0].appendChild(_18a);
+})();
+}else{
+dojo.html.createExternalElement=function(doc,tag){
+return doc.createElement(tag);
+};
+}
+dojo.html._callDeprecated=function(_18d,_18e,args,_190,_191){
+dojo.deprecated("dojo.html."+_18d,"replaced by dojo.html."+_18e+"("+(_190?"node, {"+_190+": "+_190+"}":"")+")"+(_191?"."+_191:""),"0.5");
+var _192=[];
+if(_190){
+var _193={};
+_193[_190]=args[1];
+_192.push(args[0]);
+_192.push(_193);
+}else{
+_192=args;
+}
+var ret=dojo.html[_18e].apply(dojo.html,args);
+if(_191){
+return ret[_191];
+}else{
+return ret;
+}
+};
+dojo.html.getViewportWidth=function(){
+return dojo.html._callDeprecated("getViewportWidth","getViewport",arguments,null,"width");
+};
+dojo.html.getViewportHeight=function(){
+return dojo.html._callDeprecated("getViewportHeight","getViewport",arguments,null,"height");
+};
+dojo.html.getViewportSize=function(){
+return dojo.html._callDeprecated("getViewportSize","getViewport",arguments);
+};
+dojo.html.getScrollTop=function(){
+return dojo.html._callDeprecated("getScrollTop","getScroll",arguments,null,"top");
+};
+dojo.html.getScrollLeft=function(){
+return dojo.html._callDeprecated("getScrollLeft","getScroll",arguments,null,"left");
+};
+dojo.html.getScrollOffset=function(){
+return dojo.html._callDeprecated("getScrollOffset","getScroll",arguments,null,"offset");
+};
+dojo.provide("dojo.html.style");
+dojo.html.getClass=function(node){
+node=dojo.byId(node);
+if(!node){
+return "";
+}
+var cs="";
+if(node.className){
+cs=node.className;
+}else{
+if(dojo.html.hasAttribute(node,"class")){
+cs=dojo.html.getAttribute(node,"class");
+}
+}
+return cs.replace(/^\s+|\s+$/g,"");
+};
+dojo.html.getClasses=function(node){
+var c=dojo.html.getClass(node);
+return (c=="")?[]:c.split(/\s+/g);
+};
+dojo.html.hasClass=function(node,_19a){
+return (new RegExp("(^|\\s+)"+_19a+"(\\s+|$)")).test(dojo.html.getClass(node));
+};
+dojo.html.prependClass=function(node,_19c){
+_19c+=" "+dojo.html.getClass(node);
+return dojo.html.setClass(node,_19c);
+};
+dojo.html.addClass=function(node,_19e){
+if(dojo.html.hasClass(node,_19e)){
+return false;
+}
+_19e=(dojo.html.getClass(node)+" "+_19e).replace(/^\s+|\s+$/g,"");
+return dojo.html.setClass(node,_19e);
+};
+dojo.html.setClass=function(node,_1a0){
+node=dojo.byId(node);
+var cs=new String(_1a0);
+try{
+if(typeof node.className=="string"){
+node.className=cs;
+}else{
+if(node.setAttribute){
+node.setAttribute("class",_1a0);
+node.className=cs;
+}else{
+return false;
+}
+}
+}
+catch(e){
+dojo.debug("dojo.html.setClass() failed",e);
+}
+return true;
+};
+dojo.html.removeClass=function(node,_1a3,_1a4){
+try{
+if(!_1a4){
+var _1a5=dojo.html.getClass(node).replace(new RegExp("(^|\\s+)"+_1a3+"(\\s+|$)"),"$1$2");
+}else{
+var _1a5=dojo.html.getClass(node).replace(_1a3,"");
+}
+dojo.html.setClass(node,_1a5);
+}
+catch(e){
+dojo.debug("dojo.html.removeClass() failed",e);
+}
+return true;
+};
+dojo.html.replaceClass=function(node,_1a7,_1a8){
+dojo.html.removeClass(node,_1a8);
+dojo.html.addClass(node,_1a7);
+};
+dojo.html.classMatchType={ContainsAll:0,ContainsAny:1,IsOnly:2};
+dojo.html.getElementsByClass=function(_1a9,_1aa,_1ab,_1ac,_1ad){
+var _1ae=dojo.doc();
+_1aa=dojo.byId(_1aa)||_1ae;
+var _1af=_1a9.split(/\s+/g);
+var _1b0=[];
+if(_1ac!=1&&_1ac!=2){
+_1ac=0;
+}
+var _1b1=new RegExp("(\\s|^)(("+_1af.join(")|(")+"))(\\s|$)");
+var _1b2=_1af.join(" ").length;
+var _1b3=[];
+if(!_1ad&&_1ae.evaluate){
+var _1b4=".//"+(_1ab||"*")+"[contains(";
+if(_1ac!=dojo.html.classMatchType.ContainsAny){
+_1b4+="concat(' ',@class,' '), ' "+_1af.join(" ') and contains(concat(' ',@class,' '), ' ")+" ')";
+if(_1ac==2){
+_1b4+=" and string-length(@class)="+_1b2+"]";
+}else{
+_1b4+="]";
+}
+}else{
+_1b4+="concat(' ',@class,' '), ' "+_1af.join(" ')) or contains(concat(' ',@class,' '), ' ")+" ')]";
+}
+var _1b5=_1ae.evaluate(_1b4,_1aa,null,XPathResult.ANY_TYPE,null);
+var _1b6=_1b5.iterateNext();
+while(_1b6){
+try{
+_1b3.push(_1b6);
+_1b6=_1b5.iterateNext();
+}
+catch(e){
+break;
+}
+}
+return _1b3;
+}else{
+if(!_1ab){
+_1ab="*";
+}
+_1b3=_1aa.getElementsByTagName(_1ab);
+var node,i=0;
+outer:
+while(node=_1b3[i++]){
+var _1b8=dojo.html.getClasses(node);
+if(_1b8.length==0){
+continue outer;
+}
+var _1b9=0;
+for(var j=0;j<_1b8.length;j++){
+if(_1b1.test(_1b8[j])){
+if(_1ac==dojo.html.classMatchType.ContainsAny){
+_1b0.push(node);
+continue outer;
+}else{
+_1b9++;
+}
+}else{
+if(_1ac==dojo.html.classMatchType.IsOnly){
+continue outer;
+}
+}
+}
+if(_1b9==_1af.length){
+if((_1ac==dojo.html.classMatchType.IsOnly)&&(_1b9==_1b8.length)){
+_1b0.push(node);
+}else{
+if(_1ac==dojo.html.classMatchType.ContainsAll){
+_1b0.push(node);
+}
+}
+}
+}
+return _1b0;
+}
+};
+dojo.html.getElementsByClassName=dojo.html.getElementsByClass;
+dojo.html.toCamelCase=function(_1bb){
+var arr=_1bb.split("-"),cc=arr[0];
+for(var i=1;i<arr.length;i++){
+cc+=arr[i].charAt(0).toUpperCase()+arr[i].substring(1);
+}
+return cc;
+};
+dojo.html.toSelectorCase=function(_1be){
+return _1be.replace(/([A-Z])/g,"-$1").toLowerCase();
+};
+dojo.html.getComputedStyle=function(node,_1c0,_1c1){
+node=dojo.byId(node);
+var _1c0=dojo.html.toSelectorCase(_1c0);
+var _1c2=dojo.html.toCamelCase(_1c0);
+if(!node||!node.style){
+return _1c1;
+}else{
+if(document.defaultView&&dojo.dom.isDescendantOf(node,node.ownerDocument)){
+try{
+var cs=document.defaultView.getComputedStyle(node,"");
+if(cs){
+return cs.getPropertyValue(_1c0);
+}
+}
+catch(e){
+if(node.style.getPropertyValue){
+return node.style.getPropertyValue(_1c0);
+}else{
+return _1c1;
+}
+}
+}else{
+if(node.currentStyle){
+return node.currentStyle[_1c2];
+}
+}
+}
+if(node.style.getPropertyValue){
+return node.style.getPropertyValue(_1c0);
+}else{
+return _1c1;
+}
+};
+dojo.html.getStyleProperty=function(node,_1c5){
+node=dojo.byId(node);
+return (node&&node.style?node.style[dojo.html.toCamelCase(_1c5)]:undefined);
+};
+dojo.html.getStyle=function(node,_1c7){
+var _1c8=dojo.html.getStyleProperty(node,_1c7);
+return (_1c8?_1c8:dojo.html.getComputedStyle(node,_1c7));
+};
+dojo.html.setStyle=function(node,_1ca,_1cb){
+node=dojo.byId(node);
+if(node&&node.style){
+var _1cc=dojo.html.toCamelCase(_1ca);
+node.style[_1cc]=_1cb;
+}
+};
+dojo.html.copyStyle=function(_1cd,_1ce){
+if(!_1ce.style.cssText){
+_1cd.setAttribute("style",_1ce.getAttribute("style"));
+}else{
+_1cd.style.cssText=_1ce.style.cssText;
+}
+dojo.html.addClass(_1cd,dojo.html.getClass(_1ce));
+};
+dojo.html.getUnitValue=function(node,_1d0,_1d1){
+var s=dojo.html.getComputedStyle(node,_1d0);
+if((!s)||((s=="auto")&&(_1d1))){
+return {value:0,units:"px"};
+}
+var _1d3=s.match(/(\-?[\d.]+)([a-z%]*)/i);
+if(!_1d3){
+return dojo.html.getUnitValue.bad;
+}
+return {value:Number(_1d3[1]),units:_1d3[2].toLowerCase()};
+};
+dojo.html.getUnitValue.bad={value:NaN,units:""};
+dojo.html.getPixelValue=function(node,_1d5,_1d6){
+var _1d7=dojo.html.getUnitValue(node,_1d5,_1d6);
+if(isNaN(_1d7.value)){
+return 0;
+}
+if((_1d7.value)&&(_1d7.units!="px")){
+return NaN;
+}
+return _1d7.value;
+};
+dojo.html.setPositivePixelValue=function(node,_1d9,_1da){
+if(isNaN(_1da)){
+return false;
+}
+node.style[_1d9]=Math.max(0,_1da)+"px";
+return true;
+};
+dojo.html.styleSheet=null;
+dojo.html.insertCssRule=function(_1db,_1dc,_1dd){
+if(!dojo.html.styleSheet){
+if(document.createStyleSheet){
+dojo.html.styleSheet=document.createStyleSheet();
+}else{
+if(document.styleSheets[0]){
+dojo.html.styleSheet=document.styleSheets[0];
+}else{
+return null;
+}
+}
+}
+if(arguments.length<3){
+if(dojo.html.styleSheet.cssRules){
+_1dd=dojo.html.styleSheet.cssRules.length;
+}else{
+if(dojo.html.styleSheet.rules){
+_1dd=dojo.html.styleSheet.rules.length;
+}else{
+return null;
+}
+}
+}
+if(dojo.html.styleSheet.insertRule){
+var rule=_1db+" { "+_1dc+" }";
+return dojo.html.styleSheet.insertRule(rule,_1dd);
+}else{
+if(dojo.html.styleSheet.addRule){
+return dojo.html.styleSheet.addRule(_1db,_1dc,_1dd);
+}else{
+return null;
+}
+}
+};
+dojo.html.removeCssRule=function(_1df){
+if(!dojo.html.styleSheet){
+dojo.debug("no stylesheet defined for removing rules");
+return false;
+}
+if(dojo.html.render.ie){
+if(!_1df){
+_1df=dojo.html.styleSheet.rules.length;
+dojo.html.styleSheet.removeRule(_1df);
+}
+}else{
+if(document.styleSheets[0]){
+if(!_1df){
+_1df=dojo.html.styleSheet.cssRules.length;
+}
+dojo.html.styleSheet.deleteRule(_1df);
+}
+}
+return true;
+};
+dojo.html._insertedCssFiles=[];
+dojo.html.insertCssFile=function(URI,doc,_1e2){
+if(!URI){
+return;
+}
+if(!doc){
+doc=document;
+}
+var _1e3=dojo.hostenv.getText(URI);
+_1e3=dojo.html.fixPathsInCssText(_1e3,URI);
+if(_1e2){
+var idx=-1,node,ent=dojo.html._insertedCssFiles;
+for(var i=0;i<ent.length;i++){
+if((ent[i].doc==doc)&&(ent[i].cssText==_1e3)){
+idx=i;
+node=ent[i].nodeRef;
+break;
+}
+}
+if(node){
+var _1e6=doc.getElementsByTagName("style");
+for(var i=0;i<_1e6.length;i++){
+if(_1e6[i]==node){
+return;
+}
+}
+dojo.html._insertedCssFiles.shift(idx,1);
+}
+}
+var _1e7=dojo.html.insertCssText(_1e3);
+dojo.html._insertedCssFiles.push({"doc":doc,"cssText":_1e3,"nodeRef":_1e7});
+if(_1e7&&djConfig.isDebug){
+_1e7.setAttribute("dbgHref",URI);
+}
+return _1e7;
+};
+dojo.html.insertCssText=function(_1e8,doc,URI){
+if(!_1e8){
+return;
+}
+if(!doc){
+doc=document;
+}
+if(URI){
+_1e8=dojo.html.fixPathsInCssText(_1e8,URI);
+}
+var _1eb=doc.createElement("style");
+_1eb.setAttribute("type","text/css");
+var head=doc.getElementsByTagName("head")[0];
+if(!head){
+dojo.debug("No head tag in document, aborting styles");
+return;
+}else{
+head.appendChild(_1eb);
+}
+if(_1eb.styleSheet){
+_1eb.styleSheet.cssText=_1e8;
+}else{
+var _1ed=doc.createTextNode(_1e8);
+_1eb.appendChild(_1ed);
+}
+return _1eb;
+};
+dojo.html.fixPathsInCssText=function(_1ee,URI){
+if(!_1ee||!URI){
+return;
+}
+var _1f0,str="",url="";
+var _1f1=/url\(\s*([\t\s\w()\/.\\'"-:#=&?]+)\s*\)/;
+var _1f2=/(file|https?|ftps?):\/\//;
+var _1f3=/^[\s]*(['"]?)([\w()\/.\\'"-:#=&?]*)\1[\s]*?$/;
+while(_1f0=_1f1.exec(_1ee)){
+url=_1f0[1].replace(_1f3,"$2");
+if(!_1f2.exec(url)){
+url=(new dojo.uri.Uri(URI,url).toString());
+}
+str+=_1ee.substring(0,_1f0.index)+"url("+url+")";
+_1ee=_1ee.substr(_1f0.index+_1f0[0].length);
+}
+return str+_1ee;
+};
+dojo.html.setActiveStyleSheet=function(_1f4){
+var i=0,a,els=dojo.doc().getElementsByTagName("link");
+while(a=els[i++]){
+if(a.getAttribute("rel").indexOf("style")!=-1&&a.getAttribute("title")){
+a.disabled=true;
+if(a.getAttribute("title")==_1f4){
+a.disabled=false;
+}
+}
+}
+};
+dojo.html.getActiveStyleSheet=function(){
+var i=0,a,els=dojo.doc().getElementsByTagName("link");
+while(a=els[i++]){
+if(a.getAttribute("rel").indexOf("style")!=-1&&a.getAttribute("title")&&!a.disabled){
+return a.getAttribute("title");
+}
+}
+return null;
+};
+dojo.html.getPreferredStyleSheet=function(){
+var i=0,a,els=dojo.doc().getElementsByTagName("link");
+while(a=els[i++]){
+if(a.getAttribute("rel").indexOf("style")!=-1&&a.getAttribute("rel").indexOf("alt")==-1&&a.getAttribute("title")){
+return a.getAttribute("title");
+}
+}
+return null;
+};
+dojo.provide("dojo.html.*");
+dojo.provide("dojo.html.display");
+dojo.html._toggle=function(node,_1f9,_1fa){
+node=dojo.byId(node);
+_1fa(node,!_1f9(node));
+return _1f9(node);
+};
+dojo.html.show=function(node){
+node=dojo.byId(node);
+if(dojo.html.getStyleProperty(node,"display")=="none"){
+dojo.html.setStyle(node,"display",(node.dojoDisplayCache||""));
+node.dojoDisplayCache=undefined;
+}
+};
+dojo.html.hide=function(node){
+node=dojo.byId(node);
+if(typeof node["dojoDisplayCache"]=="undefined"){
+var d=dojo.html.getStyleProperty(node,"display");
+if(d!="none"){
+node.dojoDisplayCache=d;
+}
+}
+dojo.html.setStyle(node,"display","none");
+};
+dojo.html.setShowing=function(node,_1ff){
+dojo.html[(_1ff?"show":"hide")](node);
+};
+dojo.html.isShowing=function(node){
+return (dojo.html.getStyleProperty(node,"display")!="none");
+};
+dojo.html.toggleShowing=function(node){
+return dojo.html._toggle(node,dojo.html.isShowing,dojo.html.setShowing);
+};
+dojo.html.displayMap={tr:"",td:"",th:"",img:"inline",span:"inline",input:"inline",button:"inline"};
+dojo.html.suggestDisplayByTagName=function(node){
+node=dojo.byId(node);
+if(node&&node.tagName){
+var tag=node.tagName.toLowerCase();
+return (tag in dojo.html.displayMap?dojo.html.displayMap[tag]:"block");
+}
+};
+dojo.html.setDisplay=function(node,_205){
+dojo.html.setStyle(node,"display",((_205 instanceof String||typeof _205=="string")?_205:(_205?dojo.html.suggestDisplayByTagName(node):"none")));
+};
+dojo.html.isDisplayed=function(node){
+return (dojo.html.getComputedStyle(node,"display")!="none");
+};
+dojo.html.toggleDisplay=function(node){
+return dojo.html._toggle(node,dojo.html.isDisplayed,dojo.html.setDisplay);
+};
+dojo.html.setVisibility=function(node,_209){
+dojo.html.setStyle(node,"visibility",((_209 instanceof String||typeof _209=="string")?_209:(_209?"visible":"hidden")));
+};
+dojo.html.isVisible=function(node){
+return (dojo.html.getComputedStyle(node,"visibility")!="hidden");
+};
+dojo.html.toggleVisibility=function(node){
+return dojo.html._toggle(node,dojo.html.isVisible,dojo.html.setVisibility);
+};
+dojo.html.setOpacity=function(node,_20d,_20e){
+node=dojo.byId(node);
+var h=dojo.render.html;
+if(!_20e){
+if(_20d>=1){
+if(h.ie){
+dojo.html.clearOpacity(node);
+return;
+}else{
+_20d=0.999999;
+}
+}else{
+if(_20d<0){
+_20d=0;
+}
+}
+}
+if(h.ie){
+if(node.nodeName.toLowerCase()=="tr"){
+var tds=node.getElementsByTagName("td");
+for(var x=0;x<tds.length;x++){
+tds[x].style.filter="Alpha(Opacity="+_20d*100+")";
+}
+}
+node.style.filter="Alpha(Opacity="+_20d*100+")";
+}else{
+if(h.moz){
+node.style.opacity=_20d;
+node.style.MozOpacity=_20d;
+}else{
+if(h.safari){
+node.style.opacity=_20d;
+node.style.KhtmlOpacity=_20d;
+}else{
+node.style.opacity=_20d;
+}
+}
+}
+};
+dojo.html.clearOpacity=function clearOpacity(node){
+node=dojo.byId(node);
+var ns=node.style;
+var h=dojo.render.html;
+if(h.ie){
+try{
+if(node.filters&&node.filters.alpha){
+ns.filter="";
+}
+}
+catch(e){
+}
+}else{
+if(h.moz){
+ns.opacity=1;
+ns.MozOpacity=1;
+}else{
+if(h.safari){
+ns.opacity=1;
+ns.KhtmlOpacity=1;
+}else{
+ns.opacity=1;
+}
+}
+}
+};
+dojo.html.getOpacity=function getOpacity(node){
+node=dojo.byId(node);
+var h=dojo.render.html;
+if(h.ie){
+var opac=(node.filters&&node.filters.alpha&&typeof node.filters.alpha.opacity=="number"?node.filters.alpha.opacity:100)/100;
+}else{
+var opac=node.style.opacity||node.style.MozOpacity||node.style.KhtmlOpacity||1;
+}
+return opac>=0.999999?1:Number(opac);
+};
+dojo.provide("dojo.html.layout");
+dojo.html.sumAncestorProperties=function(node,prop){
+node=dojo.byId(node);
+if(!node){
+return 0;
+}
+var _21a=0;
+while(node){
+var val=node[prop];
+if(val){
+_21a+=val-0;
+if(node==dojo.body()){
+break;
+}
+}
+node=node.parentNode;
+}
+return _21a;
+};
+dojo.html.setStyleAttributes=function(node,_21d){
+node=dojo.byId(node);
+var _21e=_21d.replace(/(;)?\s*$/,"").split(";");
+for(var i=0;i<_21e.length;i++){
+var _220=_21e[i].split(":");
+var name=_220[0].replace(/\s*$/,"").replace(/^\s*/,"").toLowerCase();
+var _222=_220[1].replace(/\s*$/,"").replace(/^\s*/,"");
+switch(name){
+case "opacity":
+dojo.html.setOpacity(node,_222);
+break;
+case "content-height":
+dojo.html.setContentBox(node,{height:_222});
+break;
+case "content-width":
+dojo.html.setContentBox(node,{width:_222});
+break;
+case "outer-height":
+dojo.html.setMarginBox(node,{height:_222});
+break;
+case "outer-width":
+dojo.html.setMarginBox(node,{width:_222});
+break;
+default:
+node.style[dojo.html.toCamelCase(name)]=_222;
+}
+}
+};
+dojo.html.getAbsolutePosition=dojo.html.abs=function(node,_224){
+node=dojo.byId(node,node.ownerDocument);
+var ret={x:0,y:0};
+var h=dojo.render.html;
+var db=document["body"]||document["documentElement"];
+if(h.ie){
+with(node.getBoundingClientRect()){
+ret.x=left-2;
+ret.y=top-2;
+}
+}else{
+if(document.getBoxObjectFor){
+try{
+var bo=document.getBoxObjectFor(node);
+ret.x=bo.x-dojo.html.sumAncestorProperties(node,"scrollLeft");
+ret.y=bo.y-dojo.html.sumAncestorProperties(node,"scrollTop");
+}
+catch(e){
+}
+}else{
+if(node["offsetParent"]){
+var _229;
+if((h.safari)&&(node.style.getPropertyValue("position")=="absolute")&&(node.parentNode==db)){
+_229=db;
+}else{
+_229=db.parentNode;
+}
+if(node.parentNode!=db){
+var nd=node;
+if(dojo.render.html.opera){
+nd=db;
+}
+ret.x-=dojo.html.sumAncestorProperties(nd,"scrollLeft");
+ret.y-=dojo.html.sumAncestorProperties(nd,"scrollTop");
+}
+do{
+var n=node["offsetLeft"];
+if(!dojo.render.html.opera||n>0){
+ret.x+=isNaN(n)?0:n;
+}
+var m=node["offsetTop"];
+ret.y+=isNaN(m)?0:m;
+node=node.offsetParent;
+}while((node!=_229)&&(node!=null));
+}else{
+if(node["x"]&&node["y"]){
+ret.x+=isNaN(node.x)?0:node.x;
+ret.y+=isNaN(node.y)?0:node.y;
+}
+}
+}
+}
+if(_224){
+var _22d=dojo.html.getScroll();
+ret.y+=_22d.top;
+ret.x+=_22d.left;
+}
+ret.top=ret.y;
+ret.left=ret.x;
+return ret;
+};
+dojo.html.isPositionAbsolute=function(node){
+return (dojo.html.getComputedStyle(node,"position")=="absolute");
+};
+dojo.html._sumPixelValues=function(node,_230,_231){
+var _232=0;
+for(var x=0;x<_230.length;x++){
+_232+=dojo.html.getPixelValue(node,_230[x],_231);
+}
+return _232;
+};
+dojo.html.getMargin=function(node){
+return {width:dojo.html._sumPixelValues(node,["margin-left","margin-right"],(dojo.html.getComputedStyle(node,"position")=="absolute")),height:dojo.html._sumPixelValues(node,["margin-top","margin-bottom"],(dojo.html.getComputedStyle(node,"position")=="absolute"))};
+};
+dojo.html.getBorder=function(node){
+return {width:dojo.html.getBorderExtent(node,"left")+dojo.html.getBorderExtent(node,"right"),height:dojo.html.getBorderExtent(node,"top")+dojo.html.getBorderExtent(node,"bottom")};
+};
+dojo.html.getBorderExtent=function(node,side){
+return (dojo.html.getStyle(node,"border-"+side+"-style")=="none"?0:dojo.html.getPixelValue(node,"border-"+side+"-width"));
+};
+dojo.html.getMarginExtent=function(node,side){
+return dojo.html._sumPixelValues(node,["margin-"+side],dojo.html.isPositionAbsolute(node));
+};
+dojo.html.getPaddingExtent=function(node,side){
+return dojo.html._sumPixelValues(node,["padding-"+side],true);
+};
+dojo.html.getPadding=function(node){
+return {width:dojo.html._sumPixelValues(node,["padding-left","padding-right"],true),height:dojo.html._sumPixelValues(node,["padding-top","padding-bottom"],true)};
+};
+dojo.html.getPadBorder=function(node){
+var pad=dojo.html.getPadding(node);
+var _23f=dojo.html.getBorder(node);
+return {width:pad.width+_23f.width,height:pad.height+_23f.height};
+};
+dojo.html.boxSizing={MARGIN_BOX:"margin-box",BORDER_BOX:"border-box",PADDING_BOX:"padding-box",CONTENT_BOX:"content-box"};
+dojo.html.getBoxSizing=function(node){
+var h=dojo.render.html;
+var bs=dojo.html.boxSizing;
+if((h.ie)||(h.opera)){
+var cm=document["compatMode"];
+if((cm=="BackCompat")||(cm=="QuirksMode")){
+return bs.BORDER_BOX;
+}else{
+return bs.CONTENT_BOX;
+}
+}else{
+if(arguments.length==0){
+node=document.documentElement;
+}
+var _244=dojo.html.getStyle(node,"-moz-box-sizing");
+if(!_244){
+_244=dojo.html.getStyle(node,"box-sizing");
+}
+return (_244?_244:bs.CONTENT_BOX);
+}
+};
+dojo.html.isBorderBox=function(node){
+return (dojo.html.getBoxSizing(node)==dojo.html.boxSizing.BORDER_BOX);
+};
+dojo.html.getBorderBox=function(node){
+node=dojo.byId(node);
+return {width:node.offsetWidth,height:node.offsetHeight};
+};
+dojo.html.getContentBox=function(node){
+node=dojo.byId(node);
+var _248=dojo.html.getPadBorder(node);
+return {width:node.offsetWidth-_248.width,height:node.offsetHeight-_248.height};
+};
+dojo.html.setContentBox=function(node,args){
+node=dojo.byId(node);
+var _24b=0;
+var _24c=0;
+var isbb=dojo.html.isBorderBox(node);
+var _24e=(isbb?dojo.html.getPadBorder(node):{width:0,height:0});
+var ret={};
+if(typeof args.width!=undefined){
+_24b=args.width+_24e.width;
+ret.width=dojo.html.setPositivePixelValue(node,"width",_24b);
+}
+if(typeof args.height!=undefined){
+_24c=args.height+_24e.height;
+ret.height=dojo.html.setPositivePixelValue(node,"height",_24c);
+}
+return ret;
+};
+dojo.html.getMarginBox=function(node){
+var _251=dojo.html.getBorderBox(node);
+var _252=dojo.html.getMargin(node);
+return {width:_251.width+_252.width,height:_251.height+_252.height};
+};
+dojo.html.setMarginBox=function(node,args){
+node=dojo.byId(node);
+var _255=0;
+var _256=0;
+var isbb=dojo.html.isBorderBox(node);
+var _258=(!isbb?dojo.html.getPadBorder(node):{width:0,height:0});
+var _259=dojo.html.getMargin(node);
+var ret={};
+if(typeof args.width!=undefined){
+_255=args.width-_258.width;
+_255-=_259.width;
+ret.width=dojo.html.setPositivePixelValue(node,"width",_255);
+}
+if(typeof args.height!=undefined){
+_256=args.height-_258.height;
+_256-=_259.height;
+ret.height=dojo.html.setPositivePixelValue(node,"height",_256);
+}
+return ret;
+};
+dojo.html.toCoordinateObject=dojo.html.toCoordinateArray=function(_25b,_25c){
+if(_25b instanceof Array||typeof _25b=="array"){
+dojo.deprecated("dojo.html.toCoordinateArray","use dojo.html.toCoordinateObject({left: , top: , width: , height: }) instead","0.5");
+while(_25b.length<4){
+_25b.push(0);
+}
+while(_25b.length>4){
+_25b.pop();
+}
+var ret={left:_25b[0],top:_25b[1],width:_25b[2],height:_25b[3]};
+}else{
+if(!_25b.nodeType&&!(_25b instanceof String||typeof _25b=="string")&&("width" in _25b||"height" in _25b||"left" in _25b||"x" in _25b||"top" in _25b||"y" in _25b)){
+var ret={left:_25b.left||_25b.x||0,top:_25b.top||_25b.y||0,width:_25b.width||0,height:_25b.height||0};
+}else{
+var node=dojo.byId(_25b);
+var pos=dojo.html.abs(node,_25c);
+var _260=dojo.html.getBorderBox(node);
+var ret={left:pos.left,top:pos.top,width:_260.width,height:_260.height};
+}
+}
+ret.x=ret.left;
+ret.y=ret.top;
+return ret;
+};
+dojo.html.setMarginBoxWidth=dojo.html.setOuterWidth=function(node,_262){
+return dojo.html._callDeprecated("setMarginBoxWidth","setMarginBox",arguments,"width");
+};
+dojo.html.setMarginBoxHeight=dojo.html.setOuterHeight=function(){
+return dojo.html._callDeprecated("setMarginBoxHeight","setMarginBox",arguments,"height");
+};
+dojo.html.getMarginBoxWidth=dojo.html.getOuterWidth=function(){
+return dojo.html._callDeprecated("getMarginBoxWidth","getMarginBox",arguments,null,"width");
+};
+dojo.html.getMarginBoxHeight=dojo.html.getOuterHeight=function(){
+return dojo.html._callDeprecated("getMarginBoxHeight","getMarginBox",arguments,null,"height");
+};
+dojo.html.getTotalOffset=function(node,type,_265){
+return dojo.html._callDeprecated("getTotalOffset","getAbsolutePosition",arguments,null,type);
+};
+dojo.html.getAbsoluteX=function(node,_267){
+return dojo.html._callDeprecated("getAbsoluteX","getAbsolutePosition",arguments,null,"x");
+};
+dojo.html.getAbsoluteY=function(node,_269){
+return dojo.html._callDeprecated("getAbsoluteY","getAbsolutePosition",arguments,null,"y");
+};
+dojo.html.totalOffsetLeft=function(node,_26b){
+return dojo.html._callDeprecated("totalOffsetLeft","getAbsolutePosition",arguments,null,"left");
+};
+dojo.html.totalOffsetTop=function(node,_26d){
+return dojo.html._callDeprecated("totalOffsetTop","getAbsolutePosition",arguments,null,"top");
+};
+dojo.html.getMarginWidth=function(node){
+return dojo.html._callDeprecated("getMarginWidth","getMargin",arguments,null,"width");
+};
+dojo.html.getMarginHeight=function(node){
+return dojo.html._callDeprecated("getMarginHeight","getMargin",arguments,null,"height");
+};
+dojo.html.getBorderWidth=function(node){
+return dojo.html._callDeprecated("getBorderWidth","getBorder",arguments,null,"width");
+};
+dojo.html.getBorderHeight=function(node){
+return dojo.html._callDeprecated("getBorderHeight","getBorder",arguments,null,"height");
+};
+dojo.html.getPaddingWidth=function(node){
+return dojo.html._callDeprecated("getPaddingWidth","getPadding",arguments,null,"width");
+};
+dojo.html.getPaddingHeight=function(node){
+return dojo.html._callDeprecated("getPaddingHeight","getPadding",arguments,null,"height");
+};
+dojo.html.getPadBorderWidth=function(node){
+return dojo.html._callDeprecated("getPadBorderWidth","getPadBorder",arguments,null,"width");
+};
+dojo.html.getPadBorderHeight=function(node){
+return dojo.html._callDeprecated("getPadBorderHeight","getPadBorder",arguments,null,"height");
+};
+dojo.html.getBorderBoxWidth=dojo.html.getInnerWidth=function(){
+return dojo.html._callDeprecated("getBorderBoxWidth","getBorderBox",arguments,null,"width");
+};
+dojo.html.getBorderBoxHeight=dojo.html.getInnerHeight=function(){
+return dojo.html._callDeprecated("getBorderBoxHeight","getBorderBox",arguments,null,"height");
+};
+dojo.html.getContentBoxWidth=dojo.html.getContentWidth=function(){
+return dojo.html._callDeprecated("getContentBoxWidth","getContentBox",arguments,null,"width");
+};
+dojo.html.getContentBoxHeight=dojo.html.getContentHeight=function(){
+return dojo.html._callDeprecated("getContentBoxHeight","getContentBox",arguments,null,"height");
+};
+dojo.html.setContentBoxWidth=dojo.html.setContentWidth=function(node,_277){
+return dojo.html._callDeprecated("setContentBoxWidth","setContentBox",arguments,"width");
+};
+dojo.html.setContentBoxHeight=dojo.html.setContentHeight=function(node,_279){
+return dojo.html._callDeprecated("setContentBoxHeight","setContentBox",arguments,"height");
+};
+dojo.provide("dojo.html.util");
+dojo.html.getElementWindow=function(_27a){
+return dojo.html.getDocumentWindow(_27a.ownerDocument);
+};
+dojo.html.getDocumentWindow=function(doc){
+if(dojo.render.html.safari&&!doc._parentWindow){
+var fix=function(win){
+win.document._parentWindow=win;
+for(var i=0;i<win.frames.length;i++){
+fix(win.frames[i]);
+}
+};
+fix(window.top);
+}
+if(dojo.render.html.ie&&window!==document.parentWindow&&!doc._parentWindow){
+doc.parentWindow.execScript("document._parentWindow = window;","Javascript");
+}
+return doc._parentWindow||doc.parentWindow||doc.defaultView;
+};
+dojo.html.gravity=function(node,e){
+node=dojo.byId(node);
+var _281=dojo.html.getCursorPosition(e);
+with(dojo.html){
+var _282=getAbsolutePosition(node,true);
+var bb=getBorderBox(node);
+var _284=_282.x+(bb.width/2);
+var _285=_282.y+(bb.height/2);
+}
+with(dojo.html.gravity){
+return ((_281.x<_284?WEST:EAST)|(_281.y<_285?NORTH:SOUTH));
+}
+};
+dojo.html.gravity.NORTH=1;
+dojo.html.gravity.SOUTH=1<<1;
+dojo.html.gravity.EAST=1<<2;
+dojo.html.gravity.WEST=1<<3;
+dojo.html.overElement=function(_286,e){
+_286=dojo.byId(_286);
+var _288=dojo.html.getCursorPosition(e);
+with(dojo.html){
+var bb=getBorderBox(_286);
+var _28a=getAbsolutePosition(_286,true);
+var top=_28a.y;
+var _28c=top+bb.height;
+var left=_28a.x;
+var _28e=left+bb.width;
+}
+return (_288.x>=left&&_288.x<=_28e&&_288.y>=top&&_288.y<=_28c);
+};
+dojo.html.renderedTextContent=function(node){
+node=dojo.byId(node);
+var _290="";
+if(node==null){
+return _290;
+}
+for(var i=0;i<node.childNodes.length;i++){
+switch(node.childNodes[i].nodeType){
+case 1:
+case 5:
+var _292="unknown";
+try{
+_292=dojo.html.getStyle(node.childNodes[i],"display");
+}
+catch(E){
+}
+switch(_292){
+case "block":
+case "list-item":
+case "run-in":
+case "table":
+case "table-row-group":
+case "table-header-group":
+case "table-footer-group":
+case "table-row":
+case "table-column-group":
+case "table-column":
+case "table-cell":
+case "table-caption":
+_290+="\n";
+_290+=dojo.html.renderedTextContent(node.childNodes[i]);
+_290+="\n";
+break;
+case "none":
+break;
+default:
+if(node.childNodes[i].tagName&&node.childNodes[i].tagName.toLowerCase()=="br"){
+_290+="\n";
+}else{
+_290+=dojo.html.renderedTextContent(node.childNodes[i]);
+}
+break;
+}
+break;
+case 3:
+case 2:
+case 4:
+var text=node.childNodes[i].nodeValue;
+var _294="unknown";
+try{
+_294=dojo.html.getStyle(node,"text-transform");
+}
+catch(E){
+}
+switch(_294){
+case "capitalize":
+var _295=text.split(" ");
+for(var i=0;i<_295.length;i++){
+_295[i]=_295[i].charAt(0).toUpperCase()+_295[i].substring(1);
+}
+text=_295.join(" ");
+break;
+case "uppercase":
+text=text.toUpperCase();
+break;
+case "lowercase":
+text=text.toLowerCase();
+break;
+default:
+break;
+}
+switch(_294){
+case "nowrap":
+break;
+case "pre-wrap":
+break;
+case "pre-line":
+break;
+case "pre":
+break;
+default:
+text=text.replace(/\s+/," ");
+if(/\s$/.test(_290)){
+text.replace(/^\s/,"");
+}
+break;
+}
+_290+=text;
+break;
+default:
+break;
+}
+}
+return _290;
+};
+dojo.html.createNodesFromText=function(txt,trim){
+if(trim){
+txt=txt.replace(/^\s+|\s+$/g,"");
+}
+var tn=dojo.doc().createElement("div");
+tn.style.visibility="hidden";
+dojo.body().appendChild(tn);
+var _299="none";
+if((/^<t[dh][\s\r\n>]/i).test(txt.replace(/^\s+/))){
+txt="<table><tbody><tr>"+txt+"</tr></tbody></table>";
+_299="cell";
+}else{
+if((/^<tr[\s\r\n>]/i).test(txt.replace(/^\s+/))){
+txt="<table><tbody>"+txt+"</tbody></table>";
+_299="row";
+}else{
+if((/^<(thead|tbody|tfoot)[\s\r\n>]/i).test(txt.replace(/^\s+/))){
+txt="<table>"+txt+"</table>";
+_299="section";
+}
+}
+}
+tn.innerHTML=txt;
+if(tn["normalize"]){
+tn.normalize();
+}
+var _29a=null;
+switch(_299){
+case "cell":
+_29a=tn.getElementsByTagName("tr")[0];
+break;
+case "row":
+_29a=tn.getElementsByTagName("tbody")[0];
+break;
+case "section":
+_29a=tn.getElementsByTagName("table")[0];
+break;
+default:
+_29a=tn;
+break;
+}
+var _29b=[];
+for(var x=0;x<_29a.childNodes.length;x++){
+_29b.push(_29a.childNodes[x].cloneNode(true));
+}
+tn.style.display="none";
+dojo.body().removeChild(tn);
+return _29b;
+};
+dojo.html.placeOnScreen=function(node,_29e,_29f,_2a0,_2a1,_2a2,_2a3){
+if(_29e instanceof Array||typeof _29e=="array"){
+_2a3=_2a2;
+_2a2=_2a1;
+_2a1=_2a0;
+_2a0=_29f;
+_29f=_29e[1];
+_29e=_29e[0];
+}
+if(_2a2 instanceof String||typeof _2a2=="string"){
+_2a2=_2a2.split(",");
+}
+if(!isNaN(_2a0)){
+_2a0=[Number(_2a0),Number(_2a0)];
+}else{
+if(!(_2a0 instanceof Array||typeof _2a0=="array")){
+_2a0=[0,0];
+}
+}
+var _2a4=dojo.html.getScroll().offset;
+var view=dojo.html.getViewport();
+node=dojo.byId(node);
+var _2a6=node.style.display;
+node.style.display="";
+var bb=dojo.html.getBorderBox(node);
+var w=bb.width;
+var h=bb.height;
+node.style.display=_2a6;
+if(!(_2a2 instanceof Array||typeof _2a2=="array")){
+_2a2=["TL"];
+}
+var _2aa,besty,bestDistance=Infinity;
+for(var _2ab=0;_2ab<_2a2.length;++_2ab){
+var _2ac=_2a2[_2ab];
+var _2ad=true;
+var tryX=_29e-(_2ac.charAt(1)=="L"?0:w)+_2a0[0]*(_2ac.charAt(1)=="L"?1:-1);
+var tryY=_29f-(_2ac.charAt(0)=="T"?0:h)+_2a0[1]*(_2ac.charAt(0)=="T"?1:-1);
+if(_2a1){
+tryX-=_2a4.x;
+tryY-=_2a4.y;
+}
+var x=tryX+w;
+if(x>view.width){
+x=view.width-w;
+_2ad=false;
+}else{
+x=tryX;
+}
+x=Math.max(_2a0[0],x)+_2a4.x;
+var y=tryY+h;
+if(y>view.height){
+y=view.height-h;
+_2ad=false;
+}else{
+y=tryY;
+}
+y=Math.max(_2a0[1],y)+_2a4.y;
+if(_2ad){
+_2aa=x;
+besty=y;
+bestDistance=0;
+break;
+}else{
+var dist=Math.pow(x-tryX-_2a4.x,2)+Math.pow(y-tryY-_2a4.y,2);
+if(bestDistance>dist){
+bestDistance=dist;
+_2aa=x;
+besty=y;
+}
+}
+}
+if(!_2a3){
+node.style.left=_2aa+"px";
+node.style.top=besty+"px";
+}
+return {left:_2aa,top:besty,x:_2aa,y:besty,dist:bestDistance};
+};
+dojo.html.placeOnScreenPoint=function(node,_2b4,_2b5,_2b6,_2b7){
+dojo.deprecated("dojo.html.placeOnScreenPoint","use dojo.html.placeOnScreen() instead","0.5");
+return dojo.html.placeOnScreen(node,_2b4,_2b5,_2b6,_2b7,["TL","TR","BL","BR"]);
+};
+dojo.html.placeOnScreenAroundElement=function(node,_2b9,_2ba,_2bb,_2bc,_2bd){
+var best,bestDistance=Infinity;
+_2b9=dojo.byId(_2b9);
+var _2bf=_2b9.style.display;
+_2b9.style.display="";
+var mb=dojo.html.getMarginBox(_2b9);
+var _2c1=mb.width;
+var _2c2=mb.height;
+var _2c3=dojo.html.getAbsolutePosition(_2b9,true);
+_2b9.style.display=_2bf;
+for(var _2c4 in _2bc){
+var pos,desiredX,desiredY;
+var _2c6=_2bc[_2c4];
+desiredX=_2c3.x+(_2c4.charAt(1)=="L"?0:_2c1);
+desiredY=_2c3.y+(_2c4.charAt(0)=="T"?0:_2c2);
+pos=dojo.html.placeOnScreen(node,desiredX,desiredY,_2ba,_2bb,_2c6,true);
+if(pos.dist==0){
+best=pos;
+break;
+}else{
+if(bestDistance>pos.dist){
+bestDistance=pos.dist;
+best=pos;
+}
+}
+}
+if(!_2bd){
+node.style.left=best.left+"px";
+node.style.top=best.top+"px";
+}
+return best;
+};
+dojo.html.scrollIntoView=function(node){
+if(!node){
+return;
+}
+if(dojo.render.html.ie){
+if(dojo.html.getBorderBox(node.parentNode).height<node.parentNode.scrollHeight){
+node.scrollIntoView(false);
+}
+}else{
+if(dojo.render.html.mozilla){
+node.scrollIntoView(false);
+}else{
+var _2c8=node.parentNode;
+var _2c9=_2c8.scrollTop+dojo.html.getBorderBox(_2c8).height;
+var _2ca=node.offsetTop+dojo.html.getMarginBox(node).height;
+if(_2c9<_2ca){
+_2c8.scrollTop+=(_2ca-_2c9);
+}else{
+if(_2c8.scrollTop>node.offsetTop){
+_2c8.scrollTop-=(_2c8.scrollTop-node.offsetTop);
+}
+}
+}
+}
+};
+dojo.provide("dojo.lang.func");
+dojo.lang.hitch=function(_2cb,_2cc){
+var fcn=dojo.lang.isString(_2cc)?_2cb[_2cc]:_2cc;
+return function(){
+return fcn.apply(_2cb,arguments);
+};
+};
+dojo.lang.anonCtr=0;
+dojo.lang.anon={};
+dojo.lang.nameAnonFunc=function(_2ce,_2cf,_2d0){
+var nso=(_2cf||dojo.lang.anon);
+if((_2d0)||((dj_global["djConfig"])&&(djConfig["slowAnonFuncLookups"]==true))){
+for(var x in nso){
+try{
+if(nso[x]===_2ce){
+return x;
+}
+}
+catch(e){
+}
+}
+}
+var ret="__"+dojo.lang.anonCtr++;
+while(typeof nso[ret]!="undefined"){
+ret="__"+dojo.lang.anonCtr++;
+}
+nso[ret]=_2ce;
+return ret;
+};
+dojo.lang.forward=function(_2d4){
+return function(){
+return this[_2d4].apply(this,arguments);
+};
+};
+dojo.lang.curry=function(ns,func){
+var _2d7=[];
+ns=ns||dj_global;
+if(dojo.lang.isString(func)){
+func=ns[func];
+}
+for(var x=2;x<arguments.length;x++){
+_2d7.push(arguments[x]);
+}
+var _2d9=(func["__preJoinArity"]||func.length)-_2d7.length;
+function gather(_2da,_2db,_2dc){
+var _2dd=_2dc;
+var _2de=_2db.slice(0);
+for(var x=0;x<_2da.length;x++){
+_2de.push(_2da[x]);
+}
+_2dc=_2dc-_2da.length;
+if(_2dc<=0){
+var res=func.apply(ns,_2de);
+_2dc=_2dd;
+return res;
+}else{
+return function(){
+return gather(arguments,_2de,_2dc);
+};
+}
+}
+return gather([],_2d7,_2d9);
+};
+dojo.lang.curryArguments=function(ns,func,args,_2e4){
+var _2e5=[];
+var x=_2e4||0;
+for(x=_2e4;x<args.length;x++){
+_2e5.push(args[x]);
+}
+return dojo.lang.curry.apply(dojo.lang,[ns,func].concat(_2e5));
+};
+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,_2eb,_2ec){
+if(!farr.length){
+if(typeof _2ec=="function"){
+_2ec();
+}
+return;
+}
+if((typeof _2eb=="undefined")&&(typeof cb=="number")){
+_2eb=cb;
+cb=function(){
+};
+}else{
+if(!cb){
+cb=function(){
+};
+if(!_2eb){
+_2eb=0;
+}
+}
+}
+setTimeout(function(){
+(farr.shift())();
+cb();
+dojo.lang.delayThese(farr,cb,_2eb,_2ec);
+},_2eb);
+};
+dojo.provide("dojo.lfx.Animation");
+dojo.provide("dojo.lfx.Line");
+dojo.lfx.Line=function(_2ed,end){
+this.start=_2ed;
+this.end=end;
+if(dojo.lang.isArray(_2ed)){
+var diff=[];
+dojo.lang.forEach(this.start,function(s,i){
+diff[i]=this.end[i]-s;
+},this);
+this.getValue=function(n){
+var res=[];
+dojo.lang.forEach(this.start,function(s,i){
+res[i]=(diff[i]*n)+s;
+},this);
+return res;
+};
+}else{
+var diff=end-_2ed;
+this.getValue=function(n){
+return (diff*n)+this.start;
+};
+}
+};
+dojo.lfx.easeIn=function(n){
+return Math.pow(n,3);
+};
+dojo.lfx.easeOut=function(n){
+return (1-Math.pow(1-n,3));
+};
+dojo.lfx.easeInOut=function(n){
+return ((3*Math.pow(n,2))-(2*Math.pow(n,3)));
+};
+dojo.lfx.IAnimation=function(){
+};
+dojo.lang.extend(dojo.lfx.IAnimation,{curve:null,duration:1000,easing:null,repeatCount:0,rate:25,handler:null,beforeBegin:null,onBegin:null,onAnimate:null,onEnd:null,onPlay:null,onPause:null,onStop:null,play:null,pause:null,stop:null,fire:function(evt,args){
+if(this[evt]){
+this[evt].apply(this,(args||[]));
+}
+},_active:false,_paused:false});
+dojo.lfx.Animation=function(_2fc,_2fd,_2fe,_2ff,_300,rate){
+dojo.lfx.IAnimation.call(this);
+if(dojo.lang.isNumber(_2fc)||(!_2fc&&_2fd.getValue)){
+rate=_300;
+_300=_2ff;
+_2ff=_2fe;
+_2fe=_2fd;
+_2fd=_2fc;
+_2fc=null;
+}else{
+if(_2fc.getValue||dojo.lang.isArray(_2fc)){
+rate=_2ff;
+_300=_2fe;
+_2ff=_2fd;
+_2fe=_2fc;
+_2fd=null;
+_2fc=null;
+}
+}
+if(dojo.lang.isArray(_2fe)){
+this.curve=new dojo.lfx.Line(_2fe[0],_2fe[1]);
+}else{
+this.curve=_2fe;
+}
+if(_2fd!=null&&_2fd>0){
+this.duration=_2fd;
+}
+if(_300){
+this.repeatCount=_300;
+}
+if(rate){
+this.rate=rate;
+}
+if(_2fc){
+this.handler=_2fc.handler;
+this.beforeBegin=_2fc.beforeBegin;
+this.onBegin=_2fc.onBegin;
+this.onEnd=_2fc.onEnd;
+this.onPlay=_2fc.onPlay;
+this.onPause=_2fc.onPause;
+this.onStop=_2fc.onStop;
+this.onAnimate=_2fc.onAnimate;
+}
+if(_2ff&&dojo.lang.isFunction(_2ff)){
+this.easing=_2ff;
+}
+};
+dojo.inherits(dojo.lfx.Animation,dojo.lfx.IAnimation);
+dojo.lang.extend(dojo.lfx.Animation,{_startTime:null,_endTime:null,_timer:null,_percent:0,_startRepeatCount:0,play:function(_302,_303){
+if(_303){
+clearTimeout(this._timer);
+this._active=false;
+this._paused=false;
+this._percent=0;
+}else{
+if(this._active&&!this._paused){
+return this;
+}
+}
+this.fire("handler",["beforeBegin"]);
+this.fire("beforeBegin");
+if(_302>0){
+setTimeout(dojo.lang.hitch(this,function(){
+this.play(null,_303);
+}),_302);
+return this;
+}
+this._startTime=new Date().valueOf();
+if(this._paused){
+this._startTime-=(this.duration*this._percent/100);
+}
+this._endTime=this._startTime+this.duration;
+this._active=true;
+this._paused=false;
+var step=this._percent/100;
+var _305=this.curve.getValue(step);
+if(this._percent==0){
+if(!this._startRepeatCount){
+this._startRepeatCount=this.repeatCount;
+}
+this.fire("handler",["begin",_305]);
+this.fire("onBegin",[_305]);
+}
+this.fire("handler",["play",_305]);
+this.fire("onPlay",[_305]);
+this._cycle();
+return this;
+},pause:function(){
+clearTimeout(this._timer);
+if(!this._active){
+return this;
+}
+this._paused=true;
+var _306=this.curve.getValue(this._percent/100);
+this.fire("handler",["pause",_306]);
+this.fire("onPause",[_306]);
+return this;
+},gotoPercent:function(pct,_308){
+clearTimeout(this._timer);
+this._active=true;
+this._paused=true;
+this._percent=pct;
+if(_308){
+this.play();
+}
+},stop:function(_309){
+clearTimeout(this._timer);
+var step=this._percent/100;
+if(_309){
+step=1;
+}
+var _30b=this.curve.getValue(step);
+this.fire("handler",["stop",_30b]);
+this.fire("onStop",[_30b]);
+this._active=false;
+this._paused=false;
+return this;
+},status:function(){
+if(this._active){
+return this._paused?"paused":"playing";
+}else{
+return "stopped";
+}
+},_cycle:function(){
+clearTimeout(this._timer);
+if(this._active){
+var curr=new Date().valueOf();
+var step=(curr-this._startTime)/(this._endTime-this._startTime);
+if(step>=1){
+step=1;
+this._percent=100;
+}else{
+this._percent=step*100;
+}
+if((this.easing)&&(dojo.lang.isFunction(this.easing))){
+step=this.easing(step);
+}
+var _30e=this.curve.getValue(step);
+this.fire("handler",["animate",_30e]);
+this.fire("onAnimate",[_30e]);
+if(step<1){
+this._timer=setTimeout(dojo.lang.hitch(this,"_cycle"),this.rate);
+}else{
+this._active=false;
+this.fire("handler",["end"]);
+this.fire("onEnd");
+if(this.repeatCount>0){
+this.repeatCount--;
+this.play(null,true);
+}else{
+if(this.repeatCount==-1){
+this.play(null,true);
+}else{
+if(this._startRepeatCount){
+this.repeatCount=this._startRepeatCount;
+this._startRepeatCount=0;
+}
+}
+}
+}
+}
+return this;
+}});
+dojo.lfx.Combine=function(){
+dojo.lfx.IAnimation.call(this);
+this._anims=[];
+this._animsEnded=0;
+var _30f=arguments;
+if(_30f.length==1&&(dojo.lang.isArray(_30f[0])||dojo.lang.isArrayLike(_30f[0]))){
+_30f=_30f[0];
+}
+var _310=this;
+dojo.lang.forEach(_30f,function(anim){
+_310._anims.push(anim);
+var _312=(anim["onEnd"])?dojo.lang.hitch(anim,"onEnd"):function(){
+};
+anim.onEnd=function(){
+_312();
+_310._onAnimsEnded();
+};
+});
+};
+dojo.inherits(dojo.lfx.Combine,dojo.lfx.IAnimation);
+dojo.lang.extend(dojo.lfx.Combine,{_animsEnded:0,play:function(_313,_314){
+if(!this._anims.length){
+return this;
+}
+this.fire("beforeBegin");
+if(_313>0){
+setTimeout(dojo.lang.hitch(this,function(){
+this.play(null,_314);
+}),_313);
+return this;
+}
+if(_314||this._anims[0].percent==0){
+this.fire("onBegin");
+}
+this.fire("onPlay");
+this._animsCall("play",null,_314);
+return this;
+},pause:function(){
+this.fire("onPause");
+this._animsCall("pause");
+return this;
+},stop:function(_315){
+this.fire("onStop");
+this._animsCall("stop",_315);
+return this;
+},_onAnimsEnded:function(){
+this._animsEnded++;
+if(this._animsEnded>=this._anims.length){
+this.fire("onEnd");
+}
+return this;
+},_animsCall:function(_316){
+var args=[];
+if(arguments.length>1){
+for(var i=1;i<arguments.length;i++){
+args.push(arguments[i]);
+}
+}
+var _319=this;
+dojo.lang.forEach(this._anims,function(anim){
+anim[_316](args);
+},_319);
+return this;
+}});
+dojo.lfx.Chain=function(){
+dojo.lfx.IAnimation.call(this);
+this._anims=[];
+this._currAnim=-1;
+var _31b=arguments;
+if(_31b.length==1&&(dojo.lang.isArray(_31b[0])||dojo.lang.isArrayLike(_31b[0]))){
+_31b=_31b[0];
+}
+var _31c=this;
+dojo.lang.forEach(_31b,function(anim,i,_31f){
+_31c._anims.push(anim);
+var _320=(anim["onEnd"])?dojo.lang.hitch(anim,"onEnd"):function(){
+};
+if(i<_31f.length-1){
+anim.onEnd=function(){
+_320();
+_31c._playNext();
+};
+}else{
+anim.onEnd=function(){
+_320();
+_31c.fire("onEnd");
+};
+}
+},_31c);
+};
+dojo.inherits(dojo.lfx.Chain,dojo.lfx.IAnimation);
+dojo.lang.extend(dojo.lfx.Chain,{_currAnim:-1,play:function(_321,_322){
+if(!this._anims.length){
+return this;
+}
+if(_322||!this._anims[this._currAnim]){
+this._currAnim=0;
+}
+var _323=this._anims[this._currAnim];
+this.fire("beforeBegin");
+if(_321>0){
+setTimeout(dojo.lang.hitch(this,function(){
+this.play(null,_322);
+}),_321);
+return this;
+}
+if(_323){
+if(this._currAnim==0){
+this.fire("handler",["begin",this._currAnim]);
+this.fire("onBegin",[this._currAnim]);
+}
+this.fire("onPlay",[this._currAnim]);
+_323.play(null,_322);
+}
+return this;
+},pause:function(){
+if(this._anims[this._currAnim]){
+this._anims[this._currAnim].pause();
+this.fire("onPause",[this._currAnim]);
+}
+return this;
+},playPause:function(){
+if(this._anims.length==0){
+return this;
+}
+if(this._currAnim==-1){
+this._currAnim=0;
+}
+var _324=this._anims[this._currAnim];
+if(_324){
+if(!_324._active||_324._paused){
+this.play();
+}else{
+this.pause();
+}
+}
+return this;
+},stop:function(){
+var _325=this._anims[this._currAnim];
+if(_325){
+_325.stop();
+this.fire("onStop",[this._currAnim]);
+}
+return _325;
+},_playNext:function(){
+if(this._currAnim==-1||this._anims.length==0){
+return this;
+}
+this._currAnim++;
+if(this._anims[this._currAnim]){
+this._anims[this._currAnim].play(null,true);
+}
+return this;
+}});
+dojo.lfx.combine=function(){
+var _326=arguments;
+if(dojo.lang.isArray(arguments[0])){
+_326=arguments[0];
+}
+return new dojo.lfx.Combine(_326);
+};
+dojo.lfx.chain=function(){
+var _327=arguments;
+if(dojo.lang.isArray(arguments[0])){
+_327=arguments[0];
+}
+return new dojo.lfx.Chain(_327);
+};
+dojo.provide("dojo.lang.array");
+dojo.lang.has=function(obj,name){
+try{
+return (typeof obj[name]!="undefined");
+}
+catch(e){
+return false;
+}
+};
+dojo.lang.isEmpty=function(obj){
+if(dojo.lang.isObject(obj)){
+var tmp={};
+var _32c=0;
+for(var x in obj){
+if(obj[x]&&(!tmp[x])){
+_32c++;
+break;
+}
+}
+return (_32c==0);
+}else{
+if(dojo.lang.isArrayLike(obj)||dojo.lang.isString(obj)){
+return obj.length==0;
+}
+}
+};
+dojo.lang.map=function(arr,obj,_330){
+var _331=dojo.lang.isString(arr);
+if(_331){
+arr=arr.split("");
+}
+if(dojo.lang.isFunction(obj)&&(!_330)){
+_330=obj;
+obj=dj_global;
+}else{
+if(dojo.lang.isFunction(obj)&&_330){
+var _332=obj;
+obj=_330;
+_330=_332;
+}
+}
+if(Array.map){
+var _333=Array.map(arr,_330,obj);
+}else{
+var _333=[];
+for(var i=0;i<arr.length;++i){
+_333.push(_330.call(obj,arr[i]));
+}
+}
+if(_331){
+return _333.join("");
+}else{
+return _333;
+}
+};
+dojo.lang.forEach=function(_335,_336,_337){
+if(dojo.lang.isString(_335)){
+_335=_335.split("");
+}
+if(Array.forEach){
+Array.forEach(_335,_336,_337);
+}else{
+if(!_337){
+_337=dj_global;
+}
+for(var i=0,l=_335.length;i<l;i++){
+_336.call(_337,_335[i],i,_335);
+}
+}
+};
+dojo.lang._everyOrSome=function(_339,arr,_33b,_33c){
+if(dojo.lang.isString(arr)){
+arr=arr.split("");
+}
+if(Array.every){
+return Array[(_339)?"every":"some"](arr,_33b,_33c);
+}else{
+if(!_33c){
+_33c=dj_global;
+}
+for(var i=0,l=arr.length;i<l;i++){
+var _33e=_33b.call(_33c,arr[i],i,arr);
+if((_339)&&(!_33e)){
+return false;
+}else{
+if((!_339)&&(_33e)){
+return true;
+}
+}
+}
+return (_339)?true:false;
+}
+};
+dojo.lang.every=function(arr,_340,_341){
+return this._everyOrSome(true,arr,_340,_341);
+};
+dojo.lang.some=function(arr,_343,_344){
+return this._everyOrSome(false,arr,_343,_344);
+};
+dojo.lang.filter=function(arr,_346,_347){
+var _348=dojo.lang.isString(arr);
+if(_348){
+arr=arr.split("");
+}
+if(Array.filter){
+var _349=Array.filter(arr,_346,_347);
+}else{
+if(!_347){
+if(arguments.length>=3){
+dojo.raise("thisObject doesn't exist!");
+}
+_347=dj_global;
+}
+var _349=[];
+for(var i=0;i<arr.length;i++){
+if(_346.call(_347,arr[i],i,arr)){
+_349.push(arr[i]);
+}
+}
+}
+if(_348){
+return _349.join("");
+}else{
+return _349;
+}
+};
+dojo.lang.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;
+};
+dojo.lang.toArray=function(_34e,_34f){
+var _350=[];
+for(var i=_34f||0;i<_34e.length;i++){
+_350.push(_34e[i]);
+}
+return _350;
+};
+dojo.provide("dojo.graphics.color");
+dojo.graphics.color.Color=function(r,g,b,a){
+if(dojo.lang.isArray(r)){
+this.r=r[0];
+this.g=r[1];
+this.b=r[2];
+this.a=r[3]||1;
+}else{
+if(dojo.lang.isString(r)){
+var rgb=dojo.graphics.color.extractRGB(r);
+this.r=rgb[0];
+this.g=rgb[1];
+this.b=rgb[2];
+this.a=g||1;
+}else{
+if(r instanceof dojo.graphics.color.Color){
+this.r=r.r;
+this.b=r.b;
+this.g=r.g;
+this.a=r.a;
+}else{
+this.r=r;
+this.g=g;
+this.b=b;
+this.a=a;
+}
+}
+}
+};
+dojo.graphics.color.Color.fromArray=function(arr){
+return new dojo.graphics.color.Color(arr[0],arr[1],arr[2],arr[3]);
+};
+dojo.lang.extend(dojo.graphics.color.Color,{toRgb:function(_358){
+if(_358){
+return this.toRgba();
+}else{
+return [this.r,this.g,this.b];
+}
+},toRgba:function(){
+return [this.r,this.g,this.b,this.a];
+},toHex:function(){
+return dojo.graphics.color.rgb2hex(this.toRgb());
+},toCss:function(){
+return "rgb("+this.toRgb().join()+")";
+},toString:function(){
+return this.toHex();
+},blend:function(_359,_35a){
+return dojo.graphics.color.blend(this.toRgb(),new dojo.graphics.color.Color(_359).toRgb(),_35a);
+}});
+dojo.graphics.color.named={white:[255,255,255],black:[0,0,0],red:[255,0,0],green:[0,255,0],blue:[0,0,255],navy:[0,0,128],gray:[128,128,128],silver:[192,192,192]};
+dojo.graphics.color.blend=function(a,b,_35d){
+if(typeof a=="string"){
+return dojo.graphics.color.blendHex(a,b,_35d);
+}
+if(!_35d){
+_35d=0;
+}else{
+if(_35d>1){
+_35d=1;
+}else{
+if(_35d<-1){
+_35d=-1;
+}
+}
+}
+var c=new Array(3);
+for(var i=0;i<3;i++){
+var half=Math.abs(a[i]-b[i])/2;
+c[i]=Math.floor(Math.min(a[i],b[i])+half+(half*_35d));
+}
+return c;
+};
+dojo.graphics.color.blendHex=function(a,b,_363){
+return dojo.graphics.color.rgb2hex(dojo.graphics.color.blend(dojo.graphics.color.hex2rgb(a),dojo.graphics.color.hex2rgb(b),_363));
+};
+dojo.graphics.color.extractRGB=function(_364){
+var hex="0123456789abcdef";
+_364=_364.toLowerCase();
+if(_364.indexOf("rgb")==0){
+var _366=_364.match(/rgba*\((\d+), *(\d+), *(\d+)/i);
+var ret=_366.splice(1,3);
+return ret;
+}else{
+var _368=dojo.graphics.color.hex2rgb(_364);
+if(_368){
+return _368;
+}else{
+return dojo.graphics.color.named[_364]||[255,255,255];
+}
+}
+};
+dojo.graphics.color.hex2rgb=function(hex){
+var _36a="0123456789ABCDEF";
+var rgb=new Array(3);
+if(hex.indexOf("#")==0){
+hex=hex.substring(1);
+}
+hex=hex.toUpperCase();
+if(hex.replace(new RegExp("["+_36a+"]","g"),"")!=""){
+return null;
+}
+if(hex.length==3){
+rgb[0]=hex.charAt(0)+hex.charAt(0);
+rgb[1]=hex.charAt(1)+hex.charAt(1);
+rgb[2]=hex.charAt(2)+hex.charAt(2);
+}else{
+rgb[0]=hex.substring(0,2);
+rgb[1]=hex.substring(2,4);
+rgb[2]=hex.substring(4);
+}
+for(var i=0;i<rgb.length;i++){
+rgb[i]=_36a.indexOf(rgb[i].charAt(0))*16+_36a.indexOf(rgb[i].charAt(1));
+}
+return rgb;
+};
+dojo.graphics.color.rgb2hex=function(r,g,b){
+if(dojo.lang.isArray(r)){
+g=r[1]||0;
+b=r[2]||0;
+r=r[0]||0;
+}
+var ret=dojo.lang.map([r,g,b],function(x){
+x=new Number(x);
+var s=x.toString(16);
+while(s.length<2){
+s="0"+s;
+}
+return s;
+});
+ret.unshift("#");
+return ret.join("");
+};
+dojo.provide("dojo.html.color");
+dojo.html.getBackgroundColor=function(node){
+node=dojo.byId(node);
+var _374;
+do{
+_374=dojo.html.getStyle(node,"background-color");
+if(_374.toLowerCase()=="rgba(0, 0, 0, 0)"){
+_374="transparent";
+}
+if(node==document.getElementsByTagName("body")[0]){
+node=null;
+break;
+}
+node=node.parentNode;
+}while(node&&dojo.lang.inArray(["transparent",""],_374));
+if(_374=="transparent"){
+_374=[255,255,255,0];
+}else{
+_374=dojo.graphics.color.extractRGB(_374);
+}
+return _374;
+};
+dojo.provide("dojo.lfx.html");
+dojo.lfx.html._byId=function(_375){
+if(!_375){
+return [];
+}
+if(dojo.lang.isArray(_375)){
+if(!_375.alreadyChecked){
+var n=[];
+dojo.lang.forEach(_375,function(node){
+n.push(dojo.byId(node));
+});
+n.alreadyChecked=true;
+return n;
+}else{
+return _375;
+}
+}else{
+var n=[];
+n.push(dojo.byId(_375));
+n.alreadyChecked=true;
+return n;
+}
+};
+dojo.lfx.html.propertyAnimation=function(_378,_379,_37a,_37b){
+_378=dojo.lfx.html._byId(_378);
+if(_378.length==1){
+dojo.lang.forEach(_379,function(prop){
+if(typeof prop["start"]=="undefined"){
+if(prop.property!="opacity"){
+prop.start=parseInt(dojo.html.getComputedStyle(_378[0],prop.property));
+}else{
+prop.start=dojo.html.getOpacity(_378[0]);
+}
+}
+});
+}
+var _37d=function(_37e){
+var _37f=new Array(_37e.length);
+for(var i=0;i<_37e.length;i++){
+_37f[i]=Math.round(_37e[i]);
+}
+return _37f;
+};
+var _381=function(n,_383){
+n=dojo.byId(n);
+if(!n||!n.style){
+return;
+}
+for(var s in _383){
+if(s=="opacity"){
+dojo.html.setOpacity(n,_383[s]);
+}else{
+n.style[s]=_383[s];
+}
+}
+};
+var _385=function(_386){
+this._properties=_386;
+this.diffs=new Array(_386.length);
+dojo.lang.forEach(_386,function(prop,i){
+if(dojo.lang.isArray(prop.start)){
+this.diffs[i]=null;
+}else{
+if(prop.start instanceof dojo.graphics.color.Color){
+prop.startRgb=prop.start.toRgb();
+prop.endRgb=prop.end.toRgb();
+}else{
+this.diffs[i]=prop.end-prop.start;
+}
+}
+},this);
+this.getValue=function(n){
+var ret={};
+dojo.lang.forEach(this._properties,function(prop,i){
+var _38d=null;
+if(dojo.lang.isArray(prop.start)){
+}else{
+if(prop.start instanceof dojo.graphics.color.Color){
+_38d=(prop.units||"rgb")+"(";
+for(var j=0;j<prop.startRgb.length;j++){
+_38d+=Math.round(((prop.endRgb[j]-prop.startRgb[j])*n)+prop.startRgb[j])+(j<prop.startRgb.length-1?",":"");
+}
+_38d+=")";
+}else{
+_38d=((this.diffs[i])*n)+prop.start+(prop.property!="opacity"?prop.units||"px":"");
+}
+}
+ret[dojo.html.toCamelCase(prop.property)]=_38d;
+},this);
+return ret;
+};
+};
+var anim=new dojo.lfx.Animation({onAnimate:function(_390){
+dojo.lang.forEach(_378,function(node){
+_381(node,_390);
+});
+}},_37a,new _385(_379),_37b);
+return anim;
+};
+dojo.lfx.html._makeFadeable=function(_392){
+var _393=function(node){
+if(dojo.render.html.ie){
+if((node.style.zoom.length==0)&&(dojo.html.getStyle(node,"zoom")=="normal")){
+node.style.zoom="1";
+}
+if((node.style.width.length==0)&&(dojo.html.getStyle(node,"width")=="auto")){
+node.style.width="auto";
+}
+}
+};
+if(dojo.lang.isArrayLike(_392)){
+dojo.lang.forEach(_392,_393);
+}else{
+_393(_392);
+}
+};
+dojo.lfx.html.fadeIn=function(_395,_396,_397,_398){
+_395=dojo.lfx.html._byId(_395);
+dojo.lfx.html._makeFadeable(_395);
+var anim=dojo.lfx.propertyAnimation(_395,[{property:"opacity",start:dojo.html.getOpacity(_395[0]),end:1}],_396,_397);
+if(_398){
+var _39a=(anim["onEnd"])?dojo.lang.hitch(anim,"onEnd"):function(){
+};
+anim.onEnd=function(){
+_39a();
+_398(_395,anim);
+};
+}
+return anim;
+};
+dojo.lfx.html.fadeOut=function(_39b,_39c,_39d,_39e){
+_39b=dojo.lfx.html._byId(_39b);
+dojo.lfx.html._makeFadeable(_39b);
+var anim=dojo.lfx.propertyAnimation(_39b,[{property:"opacity",start:dojo.html.getOpacity(_39b[0]),end:0}],_39c,_39d);
+if(_39e){
+var _3a0=(anim["onEnd"])?dojo.lang.hitch(anim,"onEnd"):function(){
+};
+anim.onEnd=function(){
+_3a0();
+_39e(_39b,anim);
+};
+}
+return anim;
+};
+dojo.lfx.html.fadeShow=function(_3a1,_3a2,_3a3,_3a4){
+_3a1=dojo.lfx.html._byId(_3a1);
+dojo.lang.forEach(_3a1,function(node){
+dojo.html.setOpacity(node,0);
+});
+var anim=dojo.lfx.html.fadeIn(_3a1,_3a2,_3a3,_3a4);
+var _3a7=(anim["beforeBegin"])?dojo.lang.hitch(anim,"beforeBegin"):function(){
+};
+anim.beforeBegin=function(){
+_3a7();
+if(dojo.lang.isArrayLike(_3a1)){
+dojo.lang.forEach(_3a1,dojo.html.show);
+}else{
+dojo.html.show(_3a1);
+}
+};
+return anim;
+};
+dojo.lfx.html.fadeHide=function(_3a8,_3a9,_3aa,_3ab){
+var anim=dojo.lfx.html.fadeOut(_3a8,_3a9,_3aa,function(){
+if(dojo.lang.isArrayLike(_3a8)){
+dojo.lang.forEach(_3a8,dojo.html.hide);
+}else{
+dojo.html.hide(_3a8);
+}
+if(_3ab){
+_3ab(_3a8,anim);
+}
+});
+return anim;
+};
+dojo.lfx.html.wipeIn=function(_3ad,_3ae,_3af,_3b0){
+_3ad=dojo.lfx.html._byId(_3ad);
+var _3b1=[];
+dojo.lang.forEach(_3ad,function(node){
+var _3b3=dojo.html.getStyle(node,"overflow");
+if(_3b3=="visible"){
+node.style.overflow="hidden";

[... 7984 lines stripped ...]


Mime
View raw message