/*
	Copyright (c) 2004-2005, 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.
*/

var dj_global=this;
function dj_undef(_1,_2){
if(!_2){
_2=dj_global;
}
return (typeof _2[_1]=="undefined");
}
if(dj_undef("djConfig")){
var djConfig={};
}
var dojo;
if(dj_undef("dojo")){
dojo={};
}
dojo.version={major:0,minor:2,patch:0,flag:"",revision:Number("$Rev: 2495 $".match(/[0-9]+/)[0]),toString:function(){
with(dojo.version){
return major+"."+minor+"."+patch+flag+" ("+revision+")";
}
}};
dojo.evalObjPath=function(_3,_4){
if(typeof _3!="string"){
return dj_global;
}
if(_3.indexOf(".")==-1){
if((dj_undef(_3,dj_global))&&(_4)){
dj_global[_3]={};
}
return dj_global[_3];
}
var _5=_3.split(/\./);
var _6=dj_global;
for(var i=0;i<_5.length;++i){
if(!_4){
_6=_6[_5[i]];
if((typeof _6=="undefined")||(!_6)){
return _6;
}
}else{
if(dj_undef(_5[i],_6)){
_6[_5[i]]={};
}
_6=_6[_5[i]];
}
}
return _6;
};
dojo.errorToString=function(_8){
return ((!dj_undef("message",_8))?_8.message:(dj_undef("description",_8)?_8:_8.description));
};
dojo.raise=function(_9,_a){
if(_a){
_9=_9+": "+dojo.errorToString(_a);
}
var he=dojo.hostenv;
if((!dj_undef("hostenv",dojo))&&(!dj_undef("println",dojo.hostenv))){
dojo.hostenv.println("FATAL: "+_9);
}
throw Error(_9);
};
dj_throw=dj_rethrow=function(m,e){
dojo.deprecated("dj_throw and dj_rethrow deprecated, use dojo.raise instead");
dojo.raise(m,e);
};
dojo.debug=function(){
if(!djConfig.isDebug){
return;
}
var _e=arguments;
if(dj_undef("println",dojo.hostenv)){
dojo.raise("dojo.debug not available (yet?)");
}
var _f=dj_global["jum"]&&!dj_global["jum"].isBrowser;
var s=[(_f?"":"DEBUG: ")];
for(var i=0;i<_e.length;++i){
if(!false&&_e[i] instanceof Error){
var msg="["+_e[i].name+": "+dojo.errorToString(_e[i])+(_e[i].fileName?", file: "+_e[i].fileName:"")+(_e[i].lineNumber?", line: "+_e[i].lineNumber:"")+"]";
}else{
try{
var msg=String(_e[i]);
}
catch(e){
if(dojo.render.html.ie){
var msg="[ActiveXObject]";
}else{
var msg="[unknown]";
}
}
}
s.push(msg);
}
if(_f){
jum.debug(s.join(" "));
}else{
dojo.hostenv.println(s.join(" "));
}
};
dojo.debugShallow=function(obj){
if(!djConfig.isDebug){
return;
}
dojo.debug("------------------------------------------------------------");
dojo.debug("Object: "+obj);
for(i in obj){
dojo.debug(i+": "+obj[i]);
}
dojo.debug("------------------------------------------------------------");
};
var dj_debug=dojo.debug;
function dj_eval(s){
return dj_global.eval?dj_global.eval(s):eval(s);
}
dj_unimplemented=dojo.unimplemented=function(_15,_16){
var _17="'"+_15+"' not implemented";
if((!dj_undef(_16))&&(_16)){
_17+=" "+_16;
}
dojo.raise(_17);
};
dj_deprecated=dojo.deprecated=function(_18,_19,_1a){
var _1b="DEPRECATED: "+_18;
if(_19){
_1b+=" "+_19;
}
if(_1a){
_1b+=" -- will be removed in version: "+_1a;
}
dojo.debug(_1b);
};
dojo.inherits=function(_1c,_1d){
if(typeof _1d!="function"){
dojo.raise("superclass: "+_1d+" borken");
}
_1c.prototype=new _1d();
_1c.prototype.constructor=_1c;
_1c.superclass=_1d.prototype;
_1c["super"]=_1d.prototype;
};
dj_inherits=function(_1e,_1f){
dojo.deprecated("dj_inherits deprecated, use dojo.inherits instead");
dojo.inherits(_1e,_1f);
};
dojo.render=(function(){
function vscaffold(_20,_21){
var tmp={capable:false,support:{builtin:false,plugin:false},prefixes:_20};
for(var x in _21){
tmp[x]=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 _24={isDebug:false,allowQueryConfig:false,baseScriptUri:"",baseRelativePath:"",libraryScriptUri:"",iePreventClobber:false,ieClobberMinimal:true,preventBackButtonFix:true,searchIds:[],parseWidgets:true};
if(typeof djConfig=="undefined"){
djConfig=_24;
}else{
for(var _25 in _24){
if(typeof djConfig[_25]=="undefined"){
djConfig[_25]=_24[_25];
}
}
}
var djc=djConfig;
function _def(obj,_28,def){
return (dj_undef(_28,obj)?def:obj[_28]);
}
return {name_:"(unset)",version_:"(unset)",pkgFileName:"__package__",loading_modules_:{},loaded_modules_:{},addedToLoadingCount:[],removedFromLoadingCount:[],inFlightCount:0,modulePrefixes_:{dojo:{name:"dojo",value:"src"}},setModulePrefix:function(_2a,_2b){
this.modulePrefixes_[_2a]={name:_2a,value:_2b};
},getModulePrefix:function(_2c){
var mp=this.modulePrefixes_;
if((mp[_2c])&&(mp[_2c]["name"])){
return mp[_2c].value;
}
return _2c;
},getTextStack:[],loadUriStack:[],loadedUris:[],post_load_:false,modulesLoadedListeners:[],getName:function(){
return this.name_;
},getVersion:function(){
return this.version_;
},getText:function(uri){
dojo.unimplemented("getText","uri="+uri);
},getLibraryScriptUri:function(){
dojo.unimplemented("getLibraryScriptUri","");
}};
})();
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 _30=uri.lastIndexOf("/");
djConfig.baseScriptUri=djConfig.baseRelativePath;
return djConfig.baseScriptUri;
};
dojo.hostenv.setBaseScriptUri=function(uri){
djConfig.baseScriptUri=uri;
};
dojo.hostenv.loadPath=function(_32,_33,cb){
if((_32.charAt(0)=="/")||(_32.match(/^\w+:/))){
dojo.raise("relpath '"+_32+"'; must be relative");
}
var uri=this.getBaseScriptUri()+_32;
if(djConfig.cacheBust&&dojo.render.html.capable){
uri+="?"+djConfig.cacheBust.replace(/\W+/g,"");
}
try{
return ((!_33)?this.loadUri(uri,cb):this.loadUriAndCheck(uri,_33,cb));
}
catch(e){
dojo.debug(e);
return false;
}
};
dojo.hostenv.loadUri=function(uri,cb){
if(dojo.hostenv.loadedUris[uri]){
return;
}
var _38=this.getText(uri,null,true);
if(_38==null){
return 0;
}
var _39=dj_eval(_38);
return 1;
};
dojo.hostenv.loadUriAndCheck=function(uri,_3b,cb){
var ok=true;
try{
ok=this.loadUri(uri,cb);
}
catch(e){
dojo.debug("failed loading ",uri," with error: ",e);
}
return ((ok)&&(this.findModule(_3b,false)))?true:false;
};
dojo.loaded=function(){
};
dojo.hostenv.loaded=function(){
this.post_load_=true;
var mll=this.modulesLoadedListeners;
for(var x=0;x<mll.length;x++){
mll[x]();
}
dojo.loaded();
};
dojo.addOnLoad=function(obj,_41){
if(arguments.length==1){
dojo.hostenv.modulesLoadedListeners.push(obj);
}else{
if(arguments.length>1){
dojo.hostenv.modulesLoadedListeners.push(function(){
obj[_41]();
});
}
}
};
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;
}
if(typeof setTimeout=="object"){
setTimeout("dojo.hostenv.loaded();",0);
}else{
dojo.hostenv.loaded();
}
}
};
dojo.hostenv.moduleLoaded=function(_42){
var _43=dojo.evalObjPath((_42.split(".").slice(0,-1)).join("."));
this.loaded_modules_[(new String(_42)).toLowerCase()]=_43;
};
dojo.hostenv._global_omit_module_check=false;
dojo.hostenv.loadModule=function(_44,_45,_46){
_46=this._global_omit_module_check||_46;
var _47=this.findModule(_44,false);
if(_47){
return _47;
}
if(dj_undef(_44,this.loading_modules_)){
this.addedToLoadingCount.push(_44);
}
this.loading_modules_[_44]=1;
var _48=_44.replace(/\./g,"/")+".js";
var _49=_44.split(".");
var _4a=_44.split(".");
for(var i=_49.length-1;i>0;i--){
var _4c=_49.slice(0,i).join(".");
var _4d=this.getModulePrefix(_4c);
if(_4d!=_4c){
_49.splice(0,i,_4d);
break;
}
}
var _4e=_49[_49.length-1];
if(_4e=="*"){
_44=(_4a.slice(0,-1)).join(".");
while(_49.length){
_49.pop();
_49.push(this.pkgFileName);
_48=_49.join("/")+".js";
if(_48.charAt(0)=="/"){
_48=_48.slice(1);
}
ok=this.loadPath(_48,((!_46)?_44:null));
if(ok){
break;
}
_49.pop();
}
}else{
_48=_49.join("/")+".js";
_44=_4a.join(".");
var ok=this.loadPath(_48,((!_46)?_44:null));
if((!ok)&&(!_45)){
_49.pop();
while(_49.length){
_48=_49.join("/")+".js";
ok=this.loadPath(_48,((!_46)?_44:null));
if(ok){
break;
}
_49.pop();
_48=_49.join("/")+"/"+this.pkgFileName+".js";
if(_48.charAt(0)=="/"){
_48=_48.slice(1);
}
ok=this.loadPath(_48,((!_46)?_44:null));
if(ok){
break;
}
}
}
if((!ok)&&(!_46)){
dojo.raise("Could not load '"+_44+"'; last tried '"+_48+"'");
}
}
if(!_46){
_47=this.findModule(_44,false);
if(!_47){
dojo.raise("symbol '"+_44+"' is not defined after loading '"+_48+"'");
}
}
return _47;
};
dojo.hostenv.startPackage=function(_50){
var _51=_50.split(/\./);
if(_51[_51.length-1]=="*"){
_51.pop();
}
return dojo.evalObjPath(_51.join("."),true);
};
dojo.hostenv.findModule=function(_52,_53){
if(this.loaded_modules_[(new String(_52)).toLowerCase()]){
return this.loaded_modules_[_52];
}
var _54=dojo.evalObjPath(_52);
if((typeof _54!=="undefined")&&(_54)){
return _54;
}
if(_53){
dojo.raise("no loaded module named '"+_52+"'");
}
return null;
};
if(typeof window=="undefined"){
dojo.raise("no window object");
}
(function(){
if(djConfig.allowQueryConfig){
var _55=document.location.toString();
var _56=_55.split("?",2);
if(_56.length>1){
var _57=_56[1];
var _58=_57.split("&");
for(var x in _58){
var sp=_58[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 _5c=document.getElementsByTagName("script");
var _5d=/(__package__|dojo)\.js(\?|$)/i;
for(var i=0;i<_5c.length;i++){
var src=_5c[i].getAttribute("src");
if(!src){
continue;
}
var m=src.match(_5d);
if(m){
root=src.substring(0,m.index);
if(!this["djConfig"]){
djConfig={};
}
if(djConfig["baseScriptUri"]==""){
djConfig["baseScriptUri"]=root;
}
if(djConfig["baseRelativePath"]==""){
djConfig["baseRelativePath"]=root;
}
break;
}
}
if(djConfig["debugAtAllCosts"]){
document.write("<scr"+"ipt type='text/javascript' src='"+djConfig["baseRelativePath"]+"src/browser_debug.js"+"'></scr"+"ipt>");
}
}
var dr=dojo.render;
var drh=dojo.render.html;
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 _67=dua.indexOf("Gecko");
drh.mozilla=drh.moz=(_67>=0)&&(!drh.khtml);
if(drh.mozilla){
drh.geckoVersion=dua.substring(_67+6,_67+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;
dr.vml.capable=drh.ie;
dr.svg.capable=f;
dr.svg.support.plugin=f;
dr.svg.support.builtin=f;
dr.svg.adobe=f;
if(document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("org.w3c.dom.svg","1.0")){
dr.svg.capable=t;
dr.svg.support.builtin=t;
dr.svg.support.plugin=f;
dr.svg.adobe=f;
}else{
if(navigator.mimeTypes&&navigator.mimeTypes.length>0){
var _68=navigator.mimeTypes["image/svg+xml"]||navigator.mimeTypes["image/svg"]||navigator.mimeTypes["image/svg-xml"];
if(_68){
dr.svg.adobe=_68&&_68.enabledPlugin&&_68.enabledPlugin.description&&(_68.enabledPlugin.description.indexOf("Adobe")>-1);
if(dr.svg.adobe){
dr.svg.capable=t;
dr.svg.support.plugin=t;
}
}
}else{
if(drh.ie&&dr.os.win){
var _68=f;
try{
var _69=new ActiveXObject("Adobe.SVGCtl");
_68=t;
}
catch(e){
}
if(_68){
dr.svg.capable=t;
dr.svg.support.plugin=t;
dr.svg.adobe=t;
}
}else{
dr.svg.capable=f;
dr.svg.support.plugin=f;
dr.svg.adobe=f;
}
}
}
})();
dojo.hostenv.startPackage("dojo.hostenv");
dojo.hostenv.name_="browser";
dojo.hostenv.searchIds=[];
var DJ_XMLHTTP_PROGIDS=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"];
dojo.hostenv.getXmlhttpObject=function(){
var _6a=null;
var _6b=null;
try{
_6a=new XMLHttpRequest();
}
catch(e){
}
if(!_6a){
for(var i=0;i<3;++i){
var _6d=DJ_XMLHTTP_PROGIDS[i];
try{
_6a=new ActiveXObject(_6d);
}
catch(e){
_6b=e;
}
if(_6a){
DJ_XMLHTTP_PROGIDS=[_6d];
break;
}
}
}
if(!_6a){
return dojo.raise("XMLHTTP not available",_6b);
}
return _6a;
};
dojo.hostenv.getText=function(uri,_6f,_70){
var _71=this.getXmlhttpObject();
if(_6f){
_71.onreadystatechange=function(){
if((4==_71.readyState)&&(_71["status"])){
if(_71.status==200){
dojo.debug("LOADED URI: "+uri);
_6f(_71.responseText);
}
}
};
}
_71.open("GET",uri,_6f?true:false);
_71.send(null);
if(_6f){
return null;
}
return _71.responseText;
};
dojo.hostenv.defaultDebugContainerId="dojoDebug";
dojo.hostenv._println_buffer=[];
dojo.hostenv._println_safe=false;
dojo.hostenv.println=function(_72){
if(!dojo.hostenv._println_safe){
dojo.hostenv._println_buffer.push(_72);
}else{
try{
var _73=document.getElementById(djConfig.debugContainerId?djConfig.debugContainerId:dojo.hostenv.defaultDebugContainerId);
if(!_73){
_73=document.getElementsByTagName("body")[0]||document.body;
}
var div=document.createElement("div");
div.appendChild(document.createTextNode(_72));
_73.appendChild(div);
}
catch(e){
try{
document.write("<div>"+_72+"</div>");
}
catch(e2){
window.status=_72;
}
}
}
};
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(_75,_76,fp,_78){
var _79=_75["on"+_76]||function(){
};
_75["on"+_76]=function(){
fp.apply(_75,arguments);
_79.apply(_75,arguments);
};
return true;
}
dj_addNodeEvtHdlr(window,"load",function(){
if(dojo.render.html.ie){
dojo.hostenv.makeWidgets();
}
dojo.hostenv.modulesLoaded();
});
dojo.hostenv.makeWidgets=function(){
var _7a=[];
if(djConfig.searchIds&&djConfig.searchIds.length>0){
_7a=_7a.concat(djConfig.searchIds);
}
if(dojo.hostenv.searchIds&&dojo.hostenv.searchIds.length>0){
_7a=_7a.concat(dojo.hostenv.searchIds);
}
if((djConfig.parseWidgets)||(_7a.length>0)){
if(dojo.evalObjPath("dojo.widget.Parse")){
try{
var _7b=new dojo.xml.Parse();
if(_7a.length>0){
for(var x=0;x<_7a.length;x++){
var _7d=document.getElementById(_7a[x]);
if(!_7d){
continue;
}
var _7e=_7b.parseElement(_7d,null,true);
dojo.widget.getParser().createComponents(_7e);
}
}else{
if(djConfig.parseWidgets){
var _7e=_7b.parseElement(document.getElementsByTagName("body")[0]||document.body,null,true);
dojo.widget.getParser().createComponents(_7e);
}
}
}
catch(e){
dojo.debug("auto-build-widgets error:",e);
}
}
}
};
dojo.hostenv.modulesLoadedListeners.push(function(){
if(!dojo.render.html.ie){
dojo.hostenv.makeWidgets();
}
});
try{
if(!window["djConfig"]||!window.djConfig["preventBackButtonFix"]){
document.write("<iframe style='border: 0px; width: 1px; height: 1px; position: absolute; bottom: 0px; right: 0px; visibility: visible;' name='djhistory' id='djhistory' src='"+(dojo.hostenv.getBaseScriptUri()+"iframe_history.html")+"'></iframe>");
}
if(dojo.render.html.ie){
document.write("<style>v:*{ behavior:url(#default#VML); }</style>");
document.write("<xml:namespace ns=\"urn:schemas-microsoft-com:vml\" prefix=\"v\"/>");
}
}
catch(e){
}
dojo.hostenv.writeIncludes=function(){
};
dojo.hostenv.byId=dojo.byId=function(id,doc){
if(typeof id=="string"||id instanceof String){
if(!doc){
doc=document;
}
return doc.getElementById(id);
}
return id;
};
dojo.hostenv.byIdArray=dojo.byIdArray=function(){
var ids=[];
for(var i=0;i<arguments.length;i++){
if((arguments[i] instanceof Array)||(typeof arguments[i]=="array")){
for(var j=0;j<arguments[i].length;j++){
ids=ids.concat(dojo.hostenv.byIdArray(arguments[i][j]));
}
}else{
ids.push(dojo.hostenv.byId(arguments[i]));
}
}
return ids;
};
dojo.hostenv.conditionalLoadModule=function(_84){
var _85=_84["common"]||[];
var _86=(_84[dojo.hostenv.name_])?_85.concat(_84[dojo.hostenv.name_]||[]):_85.concat(_84["default"]||[]);
for(var x=0;x<_86.length;x++){
var _88=_86[x];
if(_88.constructor==Array){
dojo.hostenv.loadModule.apply(dojo.hostenv,_88);
}else{
dojo.hostenv.loadModule(_88);
}
}
};
dojo.hostenv.require=dojo.hostenv.loadModule;
dojo.require=function(){
dojo.hostenv.loadModule.apply(dojo.hostenv,arguments);
};
dojo.requireAfter=dojo.require;
dojo.requireIf=function(){
if((arguments[0]===true)||(arguments[0]=="common")||(dojo.render[arguments[0]].capable)){
var _89=[];
for(var i=1;i<arguments.length;i++){
_89.push(arguments[i]);
}
dojo.require.apply(dojo,_89);
}
};
dojo.requireAfterIf=dojo.requireIf;
dojo.conditionalRequire=dojo.requireIf;
dojo.kwCompoundRequire=function(){
dojo.hostenv.conditionalLoadModule.apply(dojo.hostenv,arguments);
};
dojo.hostenv.provide=dojo.hostenv.startPackage;
dojo.provide=function(){
return dojo.hostenv.startPackage.apply(dojo.hostenv,arguments);
};
dojo.setModulePrefix=function(_8b,_8c){
return dojo.hostenv.setModulePrefix(_8b,_8c);
};
dojo.profile={start:function(){
},end:function(){
},dump:function(){
}};
dojo.provide("dojo.lang");
dojo.provide("dojo.AdapterRegistry");
dojo.provide("dojo.lang.Lang");
dojo.lang.mixin=function(obj,_8e,_8f){
if(typeof _8f!="object"){
_8f={};
}
for(var x in _8e){
if(typeof _8f[x]=="undefined"||_8f[x]!=_8e[x]){
obj[x]=_8e[x];
}
}
return obj;
};
dojo.lang.extend=function(_91,_92){
this.mixin(_91.prototype,_92);
};
dojo.lang.extendPrototype=function(obj,_94){
this.extend(obj.constructor,_94);
};
dojo.lang.anonCtr=0;
dojo.lang.anon={};
dojo.lang.nameAnonFunc=function(_95,_96){
var nso=(_96||dojo.lang.anon);
if((dj_global["djConfig"])&&(djConfig["slowAnonFuncLookups"]==true)){
for(var x in nso){
if(nso[x]===_95){
return x;
}
}
}
var ret="__"+dojo.lang.anonCtr++;
while(typeof nso[ret]!="undefined"){
ret="__"+dojo.lang.anonCtr++;
}
nso[ret]=_95;
return ret;
};
dojo.lang.hitch=function(_9a,_9b){
if(dojo.lang.isString(_9b)){
var fcn=_9a[_9b];
}else{
var fcn=_9b;
}
return function(){
return fcn.apply(_9a,arguments);
};
};
dojo.lang.setTimeout=function(_9d,_9e){
var _9f=window,argsStart=2;
if(!dojo.lang.isFunction(_9d)){
_9f=_9d;
_9d=_9e;
_9e=arguments[2];
argsStart++;
}
if(dojo.lang.isString(_9d)){
_9d=_9f[_9d];
}
var _a0=[];
for(var i=argsStart;i<arguments.length;i++){
_a0.push(arguments[i]);
}
return setTimeout(function(){
_9d.apply(_9f,_a0);
},_9e);
};
dojo.lang.isObject=function(wh){
return typeof wh=="object"||dojo.lang.isArray(wh)||dojo.lang.isFunction(wh);
};
dojo.lang.isArray=function(wh){
return (wh instanceof Array||typeof wh=="array");
};
dojo.lang.isArrayLike=function(wh){
if(dojo.lang.isString(wh)){
return false;
}
if(dojo.lang.isArray(wh)){
return true;
}
if(dojo.lang.isNumber(wh.length)&&isFinite(wh)){
return true;
}
return false;
};
dojo.lang.isFunction=function(wh){
return (wh instanceof Function||typeof wh=="function");
};
dojo.lang.isString=function(wh){
return (wh instanceof String||typeof wh=="string");
};
dojo.lang.isAlien=function(wh){
return !dojo.lang.isFunction()&&/\{\s*\[native code\]\s*\}/.test(String(wh));
};
dojo.lang.isBoolean=function(wh){
return (wh instanceof Boolean||typeof wh=="boolean");
};
dojo.lang.isNumber=function(wh){
return (wh instanceof Number||typeof wh=="number");
};
dojo.lang.isUndefined=function(wh){
return ((wh==undefined)&&(typeof wh=="undefined"));
};
dojo.lang.whatAmI=function(wh){
try{
if(dojo.lang.isArray(wh)){
return "array";
}
if(dojo.lang.isFunction(wh)){
return "function";
}
if(dojo.lang.isString(wh)){
return "string";
}
if(dojo.lang.isNumber(wh)){
return "number";
}
if(dojo.lang.isBoolean(wh)){
return "boolean";
}
if(dojo.lang.isAlien(wh)){
return "alien";
}
if(dojo.lang.isUndefined(wh)){
return "undefined";
}
for(var _ac in dojo.lang.whatAmI.custom){
if(dojo.lang.whatAmI.custom[_ac](wh)){
return _ac;
}
}
if(dojo.lang.isObject(wh)){
return "object";
}
}
catch(E){
}
return "unknown";
};
dojo.lang.whatAmI.custom={};
dojo.lang.find=function(arr,val,_af){
if(!dojo.lang.isArray(arr)&&dojo.lang.isArray(val)){
var a=arr;
arr=val;
val=a;
}
var _b1=dojo.lang.isString(arr);
if(_b1){
arr=arr.split("");
}
if(_af){
for(var i=0;i<arr.length;++i){
if(arr[i]===val){
return i;
}
}
}else{
for(var i=0;i<arr.length;++i){
if(arr[i]==val){
return i;
}
}
}
return -1;
};
dojo.lang.indexOf=dojo.lang.find;
dojo.lang.findLast=function(arr,val,_b5){
if(!dojo.lang.isArray(arr)&&dojo.lang.isArray(val)){
var a=arr;
arr=val;
val=a;
}
var _b7=dojo.lang.isString(arr);
if(_b7){
arr=arr.split("");
}
if(_b5){
for(var i=arr.length-1;i>=0;i--){
if(arr[i]===val){
return i;
}
}
}else{
for(var i=arr.length-1;i>=0;i--){
if(arr[i]==val){
return i;
}
}
}
return -1;
};
dojo.lang.lastIndexOf=dojo.lang.findLast;
dojo.lang.inArray=function(arr,val){
return dojo.lang.find(arr,val)>-1;
};
dojo.lang.getNameInObj=function(ns,_bc){
if(!ns){
ns=dj_global;
}
for(var x in ns){
if(ns[x]===_bc){
return new String(x);
}
}
return null;
};
dojo.lang.has=function(obj,_bf){
return (typeof obj[_bf]!=="undefined");
};
dojo.lang.isEmpty=function(obj){
if(dojo.lang.isObject(obj)){
var tmp={};
var _c2=0;
for(var x in obj){
if(obj[x]&&(!tmp[x])){
_c2++;
break;
}
}
return (_c2==0);
}else{
if(dojo.lang.isArray(obj)||dojo.lang.isString(obj)){
return obj.length==0;
}
}
};
dojo.lang.forEach=function(arr,_c5,_c6){
var _c7=dojo.lang.isString(arr);
if(_c7){
arr=arr.split("");
}
var il=arr.length;
for(var i=0;i<((_c6)?il:arr.length);i++){
if(_c5(arr[i],i,arr)=="break"){
break;
}
}
};
dojo.lang.map=function(arr,obj,_cc){
var _cd=dojo.lang.isString(arr);
if(_cd){
arr=arr.split("");
}
if(dojo.lang.isFunction(obj)&&(!_cc)){
_cc=obj;
obj=dj_global;
}else{
if(dojo.lang.isFunction(obj)&&_cc){
var _ce=obj;
obj=_cc;
_cc=_ce;
}
}
if(Array.map){
var _cf=Array.map(arr,_cc,obj);
}else{
var _cf=[];
for(var i=0;i<arr.length;++i){
_cf.push(_cc.call(obj,arr[i]));
}
}
if(_cd){
return _cf.join("");
}else{
return _cf;
}
};
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(_d3,cb,_d5,_d6){
if(!_d3.length){
if(typeof _d6=="function"){
_d6();
}
return;
}
if((typeof _d5=="undefined")&&(typeof cb=="number")){
_d5=cb;
cb=function(){
};
}else{
if(!cb){
cb=function(){
};
if(!_d5){
_d5=0;
}
}
}
setTimeout(function(){
(_d3.shift())();
cb();
dojo.lang.delayThese(_d3,cb,_d5,_d6);
},_d5);
};
dojo.lang.shallowCopy=function(obj){
var ret={},key;
for(key in obj){
if(dojo.lang.isUndefined(ret[key])){
ret[key]=obj[key];
}
}
return ret;
};
dojo.lang.every=function(arr,_da,_db){
var _dc=dojo.lang.isString(arr);
if(_dc){
arr=arr.split("");
}
if(Array.every){
return Array.every(arr,_da,_db);
}else{
if(!_db){
if(arguments.length>=3){
dojo.raise("thisObject doesn't exist!");
}
_db=dj_global;
}
for(var i=0;i<arr.length;i++){
if(!_da.call(_db,arr[i],i,arr)){
return false;
}
}
return true;
}
};
dojo.lang.some=function(arr,_df,_e0){
var _e1=dojo.lang.isString(arr);
if(_e1){
arr=arr.split("");
}
if(Array.some){
return Array.some(arr,_df,_e0);
}else{
if(!_e0){
if(arguments.length>=3){
dojo.raise("thisObject doesn't exist!");
}
_e0=dj_global;
}
for(var i=0;i<arr.length;i++){
if(_df.call(_e0,arr[i],i,arr)){
return true;
}
}
return false;
}
};
dojo.lang.filter=function(arr,_e4,_e5){
var _e6=dojo.lang.isString(arr);
if(_e6){
arr=arr.split("");
}
if(Array.filter){
var _e7=Array.filter(arr,_e4,_e5);
}else{
if(!_e5){
if(arguments.length>=3){
dojo.raise("thisObject doesn't exist!");
}
_e5=dj_global;
}
var _e7=[];
for(var i=0;i<arr.length;i++){
if(_e4.call(_e5,arr[i],i,arr)){
_e7.push(arr[i]);
}
}
}
if(_e6){
return _e7.join("");
}else{
return _e7;
}
};
dojo.AdapterRegistry=function(){
this.pairs=[];
};
dojo.lang.extend(dojo.AdapterRegistry,{register:function(_e9,_ea,_eb,_ec){
if(_ec){
this.pairs.unshift([_e9,_ea,_eb]);
}else{
this.pairs.push([_e9,_ea,_eb]);
}
},match:function(){
for(var i=0;i<this.pairs.length;i++){
var _ee=this.pairs[i];
if(_ee[1].apply(this,arguments)){
return _ee[2].apply(this,arguments);
}
}
dojo.raise("No match found");
},unregister:function(_ef){
for(var i=0;i<this.pairs.length;i++){
var _f1=this.pairs[i];
if(_f1[0]==_ef){
this.pairs.splice(i,1);
return true;
}
}
return false;
}});
dojo.lang.reprRegistry=new dojo.AdapterRegistry();
dojo.lang.registerRepr=function(_f2,_f3,_f4,_f5){
dojo.lang.reprRegistry.register(_f2,_f3,_f4,_f5);
};
dojo.lang.repr=function(obj){
if(typeof (obj)=="undefined"){
return "undefined";
}else{
if(obj===null){
return "null";
}
}
try{
if(typeof (obj["__repr__"])=="function"){
return obj["__repr__"]();
}else{
if((typeof (obj["repr"])=="function")&&(obj.repr!=arguments.callee)){
return obj["repr"]();
}
}
return dojo.lang.reprRegistry.match(obj);
}
catch(e){
if(typeof (obj.NAME)=="string"&&(obj.toString==Function.prototype.toString||obj.toString==Object.prototype.toString)){
return o.NAME;
}
}
if(typeof (obj)=="function"){
obj=(obj+"").replace(/^\s+/,"");
var idx=obj.indexOf("{");
if(idx!=-1){
obj=obj.substr(0,idx)+"{...}";
}
}
return obj+"";
};
dojo.lang.reprArrayLike=function(arr){
try{
var na=dojo.lang.map(arr,dojo.lang.repr);
return "["+na.join(", ")+"]";
}
catch(e){
}
};
dojo.lang.reprString=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.lang.reprNumber=function(num){
return num+"";
};
(function(){
var m=dojo.lang;
m.registerRepr("arrayLike",m.isArrayLike,m.reprArrayLike);
m.registerRepr("string",m.isString,m.reprString);
m.registerRepr("numbers",m.isNumber,m.reprNumber);
m.registerRepr("boolean",m.isBoolean,m.reprNumber);
})();
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.provide("dojo.string");
dojo.require("dojo.lang");
dojo.string.trim=function(str,wh){
if(!dojo.lang.isString(str)){
return str;
}
if(!str.length){
return str;
}
if(wh>0){
return str.replace(/^\s+/,"");
}else{
if(wh<0){
return str.replace(/\s+$/,"");
}else{
return str.replace(/^\s+|\s+$/g,"");
}
}
};
dojo.string.trimStart=function(str){
return dojo.string.trim(str,1);
};
dojo.string.trimEnd=function(str){
return dojo.string.trim(str,-1);
};
dojo.string.paramString=function(str,_105,_106){
for(var name in _105){
var re=new RegExp("\\%\\{"+name+"\\}","g");
str=str.replace(re,_105[name]);
}
if(_106){
str=str.replace(/%\{([^\}\s]+)\}/g,"");
}
return str;
};
dojo.string.capitalize=function(str){
if(!dojo.lang.isString(str)){
return "";
}
if(arguments.length==0){
str=this;
}
var _10a=str.split(" ");
var _10b="";
var len=_10a.length;
for(var i=0;i<len;i++){
var word=_10a[i];
word=word.charAt(0).toUpperCase()+word.substring(1,word.length);
_10b+=word;
if(i<len-1){
_10b+=" ";
}
}
return new String(_10b);
};
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 _112=escape(str);
var _113,re=/%u([0-9A-F]{4})/i;
while((_113=_112.match(re))){
var num=Number("0x"+_113[1]);
var _115=escape("&#"+num+";");
ret+=_112.substring(0,_113.index)+_115;
_112=_112.substring(_113.index+_113[0].length);
}
ret+=_112.replace(/\+/g,"%2B");
return ret;
};
dojo.string.summary=function(str,len){
if(!len||str.length<=len){
return str;
}else{
return str.substring(0,len).replace(/\.+$/,"")+"...";
}
};
dojo.string.escape=function(type,str){
switch(type.toLowerCase()){
case "xml":
case "html":
case "xhtml":
return dojo.string.escapeXml(str);
case "sql":
return dojo.string.escapeSql(str);
case "regexp":
case "regex":
return dojo.string.escapeRegExp(str);
case "javascript":
case "jscript":
case "js":
return dojo.string.escapeJavaScript(str);
case "ascii":
return dojo.string.encodeAscii(str);
default:
return str;
}
};
dojo.string.escapeXml=function(str){
return str.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;").replace(/'/gm,"&#39;");
};
dojo.string.escapeSql=function(str){
return str.replace(/'/gm,"''");
};
dojo.string.escapeRegExp=function(str){
return str.replace(/\\/gm,"\\\\").replace(/([\f\b\n\t\r])/gm,"\\$1");
};
dojo.string.escapeJavaScript=function(str){
return str.replace(/(["'\f\b\n\t\r])/gm,"\\$1");
};
dojo.string.repeat=function(str,_11f,_120){
var out="";
for(var i=0;i<_11f;i++){
out+=str;
if(_120&&i<_11f-1){
out+=_120;
}
}
return out;
};
dojo.string.endsWith=function(str,end,_125){
if(_125){
str=str.toLowerCase();
end=end.toLowerCase();
}
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,_129,_12a){
if(_12a){
str=str.toLowerCase();
_129=_129.toLowerCase();
}
return str.indexOf(_129)==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.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.string.addToPrototype=function(){
for(var _13a in dojo.string){
if(dojo.lang.isFunction(dojo.string[_13a])){
var func=(function(){
var meth=_13a;
switch(meth){
case "addToPrototype":
return null;
break;
case "escape":
return function(type){
return dojo.string.escape(type,this);
};
break;
default:
return function(){
var args=[this];
for(var i=0;i<arguments.length;i++){
args.push(arguments[i]);
}
dojo.debug(args);
return dojo.string[meth].apply(dojo.string,args);
};
}
})();
if(func){
String.prototype[_13a]=func;
}
}
}
};
dojo.provide("dojo.io.IO");
dojo.require("dojo.string");
dojo.io.transports=[];
dojo.io.hdlrFuncNames=["load","error"];
dojo.io.Request=function(url,_141,_142,_143){
if((arguments.length==1)&&(arguments[0].constructor==Object)){
this.fromKwArgs(arguments[0]);
}else{
this.url=url;
if(_141){
this.mimetype=_141;
}
if(_142){
this.transport=_142;
}
if(arguments.length>=4){
this.changeUrl=_143;
}
}
};
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,evt){
},error:function(type,_148){
},handle:function(){
},abort:function(){
},fromKwArgs:function(_149){
if(_149["url"]){
_149.url=_149.url.toString();
}
if(!_149["method"]&&_149["formNode"]&&_149["formNode"].method){
_149.method=_149["formNode"].method;
}
if(!_149["handle"]&&_149["handler"]){
_149.handle=_149.handler;
}
if(!_149["load"]&&_149["loaded"]){
_149.load=_149.loaded;
}
if(!_149["changeUrl"]&&_149["changeURL"]){
_149.changeUrl=_149.changeURL;
}
if(!_149["encoding"]){
if(!dojo.lang.isUndefined(djConfig["bindEncoding"])){
_149.encoding=djConfig.bindEncoding;
}else{
_149.encoding="";
}
}
var _14a=dojo.lang.isFunction;
for(var x=0;x<dojo.io.hdlrFuncNames.length;x++){
var fn=dojo.io.hdlrFuncNames[x];
if(_14a(_149[fn])){
continue;
}
if(_14a(_149["handle"])){
_149[fn]=_149.handle;
}
}
dojo.lang.mixin(this,_149);
}});
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(_151){
if(!(_151 instanceof dojo.io.Request)){
try{
_151=new dojo.io.Request(_151);
}
catch(e){
dojo.debug(e);
}
}
var _152="";
if(_151["transport"]){
_152=_151["transport"];
if(!this[_152]){
return _151;
}
}else{
for(var x=0;x<dojo.io.transports.length;x++){
var tmp=dojo.io.transports[x];
if((this[tmp])&&(this[tmp].canHandle(_151))){
_152=tmp;
}
}
if(_152==""){
return _151;
}
}
this[_152].bind(_151);
_151.bindSuccess=true;
return _151;
};
dojo.io.queueBind=function(_155){
if(!(_155 instanceof dojo.io.Request)){
try{
_155=new dojo.io.Request(_155);
}
catch(e){
dojo.debug(e);
}
}
var _156=_155.load;
_155.load=function(){
dojo.io._queueBindInFlight=false;
var ret=_156.apply(this,arguments);
dojo.io._dispatchNextQueueBind();
return ret;
};
var _158=_155.error;
_155.error=function(){
dojo.io._queueBindInFlight=false;
var ret=_158.apply(this,arguments);
dojo.io._dispatchNextQueueBind();
return ret;
};
dojo.io._bindQueue.push(_155);
dojo.io._dispatchNextQueueBind();
return _155;
};
dojo.io._dispatchNextQueueBind=function(){
if(!dojo.io._queueBindInFlight){
dojo.io._queueBindInFlight=true;
dojo.io.bind(dojo.io._bindQueue.shift());
}
};
dojo.io._bindQueue=[];
dojo.io._queueBindInFlight=false;
dojo.io.argsFromMap=function(map,_15b){
var _15c=new Object();
var _15d="";
var enc=/utf/i.test(_15b||"")?encodeURIComponent:dojo.string.encodeAscii;
for(var x in map){
if(!_15c[x]){
_15d+=enc(x)+"="+enc(map[x])+"&";
}
}
return _15d;
};
dojo.provide("dojo.dom");
dojo.require("dojo.lang");
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=dojo.lang.isDomNode=function(wh){
if(typeof Element=="object"){
try{
return wh instanceof Element;
}
catch(E){
}
}else{
return wh&&!isNaN(wh.nodeType);
}
};
dojo.lang.whatAmI.custom["node"]=dojo.dom.isNode;
dojo.dom.getTagName=function(node){
var _162=node.tagName;
if(_162.substr(0,5).toLowerCase()!="dojo:"){
if(_162.substr(0,4).toLowerCase()=="dojo"){
return "dojo:"+_162.substring(4).toLowerCase();
}
var djt=node.getAttribute("dojoType")||node.getAttribute("dojotype");
if(djt){
return "dojo:"+djt.toLowerCase();
}
if((node.getAttributeNS)&&(node.getAttributeNS(this.dojoml,"type"))){
return "dojo:"+node.getAttributeNS(this.dojoml,"type").toLowerCase();
}
try{
djt=node.getAttribute("dojo:type");
}
catch(e){
}
if(djt){
return "dojo:"+djt.toLowerCase();
}
if((!dj_global["djConfig"])||(!djConfig["ignoreClassNames"])){
var _164=node.className||node.getAttribute("class");
if((_164)&&(_164.indexOf("dojo-")!=-1)){
var _165=_164.split(" ");
for(var x=0;x<_165.length;x++){
if((_165[x].length>5)&&(_165[x].indexOf("dojo-")>=0)){
return "dojo:"+_165[x].substr(5).toLowerCase();
}
}
}
}
}
return _162.toLowerCase();
};
dojo.dom.getUniqueId=function(){
do{
var id="dj_unique_"+(++arguments.callee._idIncrement);
}while(document.getElementById(id));
return id;
};
dojo.dom.getUniqueId._idIncrement=0;
dojo.dom.firstElement=dojo.dom.getFirstChildElement=function(_168,_169){
var node=_168.firstChild;
while(node&&node.nodeType!=dojo.dom.ELEMENT_NODE){
node=node.nextSibling;
}
if(_169&&node&&node.tagName&&node.tagName.toLowerCase()!=_169.toLowerCase()){
node=dojo.dom.nextElement(node,_169);
}
return node;
};
dojo.dom.lastElement=dojo.dom.getLastChildElement=function(_16b,_16c){
var node=_16b.lastChild;
while(node&&node.nodeType!=dojo.dom.ELEMENT_NODE){
node=node.previousSibling;
}
if(_16c&&node&&node.tagName&&node.tagName.toLowerCase()!=_16c.toLowerCase()){
node=dojo.dom.prevElement(node,_16c);
}
return node;
};
dojo.dom.nextElement=dojo.dom.getNextSiblingElement=function(node,_16f){
if(!node){
return null;
}
do{
node=node.nextSibling;
}while(node&&node.nodeType!=dojo.dom.ELEMENT_NODE);
if(node&&_16f&&_16f.toLowerCase()!=node.tagName.toLowerCase()){
return dojo.dom.nextElement(node,_16f);
}
return node;
};
dojo.dom.prevElement=dojo.dom.getPreviousSiblingElement=function(node,_171){
if(!node){
return null;
}
if(_171){
_171=_171.toLowerCase();
}
do{
node=node.previousSibling;
}while(node&&node.nodeType!=dojo.dom.ELEMENT_NODE);
if(node&&_171&&_171.toLowerCase()!=node.tagName.toLowerCase()){
return dojo.dom.prevElement(node,_171);
}
return node;
};
dojo.dom.moveChildren=function(_172,_173,trim){
var _175=0;
if(trim){
while(_172.hasChildNodes()&&_172.firstChild.nodeType==dojo.dom.TEXT_NODE){
_172.removeChild(_172.firstChild);
}
while(_172.hasChildNodes()&&_172.lastChild.nodeType==dojo.dom.TEXT_NODE){
_172.removeChild(_172.lastChild);
}
}
while(_172.hasChildNodes()){
_173.appendChild(_172.firstChild);
_175++;
}
return _175;
};
dojo.dom.copyChildren=function(_176,_177,trim){
var _179=_176.cloneNode(true);
return this.moveChildren(_179,_177,trim);
};
dojo.dom.removeChildren=function(node){
var _17b=node.childNodes.length;
while(node.hasChildNodes()){
node.removeChild(node.firstChild);
}
return _17b;
};
dojo.dom.replaceChildren=function(node,_17d){
dojo.dom.removeChildren(node);
node.appendChild(_17d);
};
dojo.dom.removeNode=function(node){
if(node&&node.parentNode){
return node.parentNode.removeChild(node);
}
};
dojo.dom.getAncestors=function(node,_180,_181){
var _182=[];
var _183=dojo.lang.isFunction(_180);
while(node){
if(!_183||_180(node)){
_182.push(node);
}
if(_181&&_182.length>0){
return _182[0];
}
node=node.parentNode;
}
if(_181){
return null;
}
return _182;
};
dojo.dom.getAncestorsByTag=function(node,tag,_186){
tag=tag.toLowerCase();
return dojo.dom.getAncestors(node,function(el){
return ((el.tagName)&&(el.tagName.toLowerCase()==tag));
},_186);
};
dojo.dom.getFirstAncestorByTag=function(node,tag){
return dojo.dom.getAncestorsByTag(node,tag,true);
};
dojo.dom.isDescendantOf=function(node,_18b,_18c){
if(_18c&&node){
node=node.parentNode;
}
while(node){
if(node==_18b){
return true;
}
node=node.parentNode;
}
return false;
};
dojo.dom.innerXML=function(node){
if(node.innerXML){
return node.innerXML;
}else{
if(typeof XMLSerializer!="undefined"){
return (new XMLSerializer()).serializeToString(node);
}
}
};
dojo.dom.createDocumentFromText=function(str,_18f){
if(!_18f){
_18f="text/xml";
}
if(typeof DOMParser!="undefined"){
var _190=new DOMParser();
return _190.parseFromString(str,_18f);
}else{
if(typeof ActiveXObject!="undefined"){
var _191=new ActiveXObject("Microsoft.XMLDOM");
if(_191){
_191.async=false;
_191.loadXML(str);
return _191;
}else{
dojo.debug("toXml didn't work?");
}
}else{
if(document.createElement){
var tmp=document.createElement("xml");
tmp.innerHTML=str;
if(document.implementation&&document.implementation.createDocument){
var _193=document.implementation.createDocument("foo","",null);
for(var i=0;i<tmp.childNodes.length;i++){
_193.importNode(tmp.childNodes.item(i),true);
}
return _193;
}
return tmp.document&&tmp.document.firstChild?tmp.document.firstChild:tmp;
}
}
}
return null;
};
dojo.dom.insertBefore=function(node,ref,_197){
if(_197!=true&&(node===ref||node.nextSibling===ref)){
return false;
}
var _198=ref.parentNode;
_198.insertBefore(node,ref);
return true;
};
dojo.dom.insertAfter=function(node,ref,_19b){
var pn=ref.parentNode;
if(ref==pn.lastChild){
if((_19b!=true)&&(node===ref)){
return false;
}
pn.appendChild(node);
}else{
return this.insertBefore(node,ref.nextSibling,_19b);
}
return true;
};
dojo.dom.insertAtPosition=function(node,ref,_19f){
if((!node)||(!ref)||(!_19f)){
return false;
}
switch(_19f.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,_1a1,_1a2){
var _1a3=_1a1.childNodes;
if(!_1a3.length){
_1a1.appendChild(node);
return true;
}
var _1a4=null;
for(var i=0;i<_1a3.length;i++){
var _1a6=_1a3.item(i)["getAttribute"]?parseInt(_1a3.item(i).getAttribute("dojoinsertionindex")):-1;
if(_1a6<_1a2){
_1a4=_1a3.item(i);
}
}
if(_1a4){
return dojo.dom.insertAfter(node,_1a4);
}else{
return dojo.dom.insertBefore(node,_1a3.item(0));
}
};
dojo.dom.textContent=function(node,text){
if(text){
dojo.dom.replaceChildren(node,document.createTextNode(text));
return text;
}else{
var _1a9="";
if(node==null){
return _1a9;
}
for(var i=0;i<node.childNodes.length;i++){
switch(node.childNodes[i].nodeType){
case 1:
case 5:
_1a9+=dojo.dom.textContent(node.childNodes[i]);
break;
case 3:
case 2:
case 4:
_1a9+=node.childNodes[i].nodeValue;
break;
default:
break;
}
}
return _1a9;
}
};
dojo.dom.collectionToArray=function(_1ab){
var _1ac=new Array(_1ab.length);
for(var i=0;i<_1ab.length;i++){
_1ac[i]=_1ab[i];
}
return _1ac;
};
dojo.provide("dojo.io.BrowserIO");
dojo.require("dojo.io");
dojo.require("dojo.lang");
dojo.require("dojo.dom");
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='"+(dojo.hostenv.getBaseScriptUri()+"iframe_history.html")+"'></iframe>");
}
}
catch(e){
}
dojo.io.checkChildrenForFile=function(node){
var _1af=false;
var _1b0=node.getElementsByTagName("input");
dojo.lang.forEach(_1b0,function(_1b1){
if(_1af){
return;
}
if(_1b1.getAttribute("type")=="file"){
_1af=true;
}
});
return _1af;
};
dojo.io.formHasFile=function(_1b2){
return dojo.io.checkChildrenForFile(_1b2);
};
dojo.io.encodeForm=function(_1b3,_1b4){
if((!_1b3)||(!_1b3.tagName)||(!_1b3.tagName.toLowerCase()=="form")){
dojo.raise("Attempted to encode a non-form element.");
}
var enc=/utf/i.test(_1b4||"")?encodeURIComponent:dojo.string.encodeAscii;
var _1b6=[];
for(var i=0;i<_1b3.elements.length;i++){
var elm=_1b3.elements[i];
if(elm.disabled||elm.tagName.toLowerCase()=="fieldset"||!elm.name){
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){
_1b6.push(name+"="+enc(elm.options[j].value));
}
}
}else{
if(dojo.lang.inArray(type,["radio","checkbox"])){
if(elm.checked){
_1b6.push(name+"="+enc(elm.value));
}
}else{
if(!dojo.lang.inArray(type,["file","submit","reset","button"])){
_1b6.push(name+"="+enc(elm.value));
}
}
}
}
var _1bc=_1b3.getElementsByTagName("input");
for(var i=0;i<_1bc.length;i++){
var _1bd=_1bc[i];
if(_1bd.type.toLowerCase()=="image"&&_1bd.form==_1b3){
var name=enc(_1bd.name);
_1b6.push(name+"="+enc(_1bd.value));
_1b6.push(name+".x=0");
_1b6.push(name+".y=0");
}
}
return _1b6.join("&")+"&";
};
dojo.io.setIFrameSrc=function(_1be,src,_1c0){
try{
var r=dojo.render.html;
if(!_1c0){
if(r.safari){
_1be.location=src;
}else{
frames[_1be.name].location=src;
}
}else{
var idoc;
if(r.ie){
idoc=_1be.contentWindow.document;
}else{
if(r.moz){
idoc=_1be.contentWindow;
}
}
idoc.location.replace(src);
}
}
catch(e){
dojo.debug(e);
dojo.debug("setIFrameSrc: "+e);
}
};
dojo.io.XMLHTTPTransport=new function(){
var _1c3=this;
this.initialHref=window.location.href;
this.initialHash=window.location.hash;
this.moveForward=false;
var _1c4={};
this.useCache=false;
this.preventCache=false;
this.historyStack=[];
this.forwardStack=[];
this.historyIframe=null;
this.bookmarkAnchor=null;
this.locationTimer=null;
function getCacheKey(url,_1c6,_1c7){
return url+"|"+_1c6+"|"+_1c7.toLowerCase();
}
function addToCache(url,_1c9,_1ca,http){
_1c4[getCacheKey(url,_1c9,_1ca)]=http;
}
function getFromCache(url,_1cd,_1ce){
return _1c4[getCacheKey(url,_1cd,_1ce)];
}
this.clearCache=function(){
_1c4={};
};
function doLoad(_1cf,http,url,_1d2,_1d3){
if((http.status==200)||(location.protocol=="file:"&&http.status==0)){
var ret;
if(_1cf.method.toLowerCase()=="head"){
var _1d5=http.getAllResponseHeaders();
ret={};
ret.toString=function(){
return _1d5;
};
var _1d6=_1d5.split(/[\r\n]+/g);
for(var i=0;i<_1d6.length;i++){
var pair=_1d6[i].match(/^([^:]+)\s*:\s*(.+)$/i);
if(pair){
ret[pair[1]]=pair[2];
}
}
}else{
if(_1cf.mimetype=="text/javascript"){
try{
ret=dj_eval(http.responseText);
}
catch(e){
dojo.debug(e);
dojo.debug(http.responseText);
ret=null;
}
}else{
if(_1cf.mimetype=="text/json"){
try{
ret=dj_eval("("+http.responseText+")");
}
catch(e){
dojo.debug(e);
dojo.debug(http.responseText);
ret=false;
}
}else{
if((_1cf.mimetype=="application/xml")||(_1cf.mimetype=="text/xml")){
ret=http.responseXML;
if(!ret||typeof ret=="string"){
ret=dojo.dom.createDocumentFromText(http.responseText);
}
}else{
ret=http.responseText;
}
}
}
}
if(_1d3){
addToCache(url,_1d2,_1cf.method,http);
}
_1cf[(typeof _1cf.load=="function")?"load":"handle"]("load",ret,http);
}else{
var _1d9=new dojo.io.Error("XMLHttpTransport Error: "+http.status+" "+http.statusText);
_1cf[(typeof _1cf.error=="function")?"error":"handle"]("error",_1d9,http);
}
}
function setHeaders(http,_1db){
if(_1db["headers"]){
for(var _1dc in _1db["headers"]){
if(_1dc.toLowerCase()=="content-type"&&!_1db["contentType"]){
_1db["contentType"]=_1db["headers"][_1dc];
}else{
http.setRequestHeader(_1dc,_1db["headers"][_1dc]);
}
}
}
}
this.addToHistory=function(args){
var _1de=args["back"]||args["backButton"]||args["handle"];
var hash=null;
if(!this.historyIframe){
this.historyIframe=window.frames["djhistory"];
}
if(!this.bookmarkAnchor){
this.bookmarkAnchor=document.createElement("a");
(document.body||document.getElementsByTagName("body")[0]).appendChild(this.bookmarkAnchor);
this.bookmarkAnchor.style.display="none";
}
if((!args["changeUrl"])||(dojo.render.html.ie)){
var url=dojo.hostenv.getBaseScriptUri()+"iframe_history.html?"+(new Date()).getTime();
this.moveForward=true;
dojo.io.setIFrameSrc(this.historyIframe,url,false);
}
if(args["changeUrl"]){
hash="#"+((args["changeUrl"]!==true)?args["changeUrl"]:(new Date()).getTime());
setTimeout("window.location.href = '"+hash+"';",1);
this.bookmarkAnchor.href=hash;
if(dojo.render.html.ie){
var _1e1=_1de;
var lh=null;
var hsl=this.historyStack.length-1;
if(hsl>=0){
while(!this.historyStack[hsl]["urlHash"]){
hsl--;
}
lh=this.historyStack[hsl]["urlHash"];
}
if(lh){
_1de=function(){
if(window.location.hash!=""){
setTimeout("window.location.href = '"+lh+"';",1);
}
_1e1();
};
}
this.forwardStack=[];
var _1e4=args["forward"]||args["forwardButton"];
var tfw=function(){
if(window.location.hash!=""){
window.location.href=hash;
}
if(_1e4){
_1e4();
}
};
if(args["forward"]){
args.forward=tfw;
}else{
if(args["forwardButton"]){
args.forwardButton=tfw;
}
}
}else{
if(dojo.render.html.moz){
if(!this.locationTimer){
this.locationTimer=setInterval("dojo.io.XMLHTTPTransport.checkLocation();",200);
}
}
}
}
this.historyStack.push({"url":url,"callback":_1de,"kwArgs":args,"urlHash":hash});
};
this.checkLocation=function(){
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;
}
}
};
this.iframeLoaded=function(evt,_1e8){
var isp=_1e8.href.split("?");
if(isp.length<2){
if(this.historyStack.length==1){
this.handleBackButton();
}
return;
}
var _1ea=isp[1];
if(this.moveForward){
this.moveForward=false;
return;
}
var last=this.historyStack.pop();
if(!last){
if(this.forwardStack.length>0){
var next=this.forwardStack[this.forwardStack.length-1];
if(_1ea==next.url.split("?")[1]){
this.handleForwardButton();
}
}
return;
}
this.historyStack.push(last);
if(this.historyStack.length>=2){
if(isp[1]==this.historyStack[this.historyStack.length-2].url.split("?")[1]){
this.handleBackButton();
}
}else{
this.handleBackButton();
}
};
this.handleBackButton=function(){
var last=this.historyStack.pop();
if(!last){
return;
}
if(last["callback"]){
last.callback();
}else{
if(last.kwArgs["backButton"]){
last.kwArgs["backButton"]();
}else{
if(last.kwArgs["back"]){
last.kwArgs["back"]();
}else{
if(last.kwArgs["handle"]){
last.kwArgs.handle("back");
}
}
}
}
this.forwardStack.push(last);
};
this.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);
};
this.inFlight=[];
this.inFlightTimer=null;
this.startWatchingInFlight=function(){
if(!this.inFlightTimer){
this.inFlightTimer=setInterval("dojo.io.XMLHTTPTransport.watchInFlight();",10);
}
};
this.watchInFlight=function(){
for(var x=this.inFlight.length-1;x>=0;x--){
var tif=this.inFlight[x];
if(!tif){
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);
if(this.inFlight.length==0){
clearInterval(this.inFlightTimer);
this.inFlightTimer=null;
}
}
}
};
var _1f1=dojo.hostenv.getXmlhttpObject()?true:false;
this.canHandle=function(_1f2){
return _1f1&&dojo.lang.inArray((_1f2["mimetype"]||"".toLowerCase()),["text/plain","text/html","application/xml","text/xml","text/javascript","text/json"])&&dojo.lang.inArray(_1f2["method"].toLowerCase(),["post","get","head"])&&!(_1f2["formNode"]&&dojo.io.formHasFile(_1f2["formNode"]));
};
this.multipartBoundary="45309FFF-BD65-4d50-99C9-36986896A96F";
this.bind=function(_1f3){
if(!_1f3["url"]){
if(!_1f3["formNode"]&&(_1f3["backButton"]||_1f3["back"]||_1f3["changeUrl"]||_1f3["watchForURL"])&&(!djConfig.preventBackButtonFix)){
this.addToHistory(_1f3);
return true;
}
}
var url=_1f3.url;
var _1f5="";
if(_1f3["formNode"]){
var ta=_1f3.formNode.getAttribute("action");
if((ta)&&(!_1f3["url"])){
url=ta;
}
var tp=_1f3.formNode.getAttribute("method");
if((tp)&&(!_1f3["method"])){
_1f3.method=tp;
}
_1f5+=dojo.io.encodeForm(_1f3.formNode,_1f3.encoding);
}
if(url.indexOf("#")>-1){
dojo.debug("Warning: dojo.io.bind: stripping hash values from url:",url);
url=url.split("#")[0];
}
if(_1f3["file"]){
_1f3.method="post";
}
if(!_1f3["method"]){
_1f3.method="get";
}
if(_1f3.method.toLowerCase()=="get"){
_1f3.multipart=false;
}else{
if(_1f3["file"]){
_1f3.multipart=true;
}else{
if(!_1f3["multipart"]){
_1f3.multipart=false;
}
}
}
if(_1f3["backButton"]||_1f3["back"]||_1f3["changeUrl"]){
this.addToHistory(_1f3);
}
do{
if(_1f3.postContent){
_1f5=_1f3.postContent;
break;
}
if(_1f3["content"]){
_1f5+=dojo.io.argsFromMap(_1f3.content,_1f3.encoding);
}
if(_1f3.method.toLowerCase()=="get"||!_1f3.multipart){
break;
}
var t=[];
if(_1f5.length){
var q=_1f5.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(_1f3.file){
if(dojo.lang.isArray(_1f3.file)){
for(var i=0;i<_1f3.file.length;++i){
var o=_1f3.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=_1f3.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+"--","");
_1f5=t.join("\r\n");
}
}while(false);
var _1fd=_1f3["sync"]?false:true;
var _1fe=_1f3["preventCache"]||(this.preventCache==true&&_1f3["preventCache"]!=false);
var _1ff=_1f3["useCache"]==true||(this.useCache==true&&_1f3["useCache"]!=false);
if(!_1fe&&_1ff){
var _200=getFromCache(url,_1f5,_1f3.method);
if(_200){
doLoad(_1f3,_200,url,_1f5,false);
return;
}
}
var http=dojo.hostenv.getXmlhttpObject();
var _202=false;
if(_1fd){
this.inFlight.push({"req":_1f3,"http":http,"url":url,"query":_1f5,"useCache":_1ff});
this.startWatchingInFlight();
}
if(_1f3.method.toLowerCase()=="post"){
http.open("POST",url,_1fd);
setHeaders(http,_1f3);
http.setRequestHeader("Content-Type",_1f3.multipart?("multipart/form-data; boundary="+this.multipartBoundary):(_1f3.contentType||"application/x-www-form-urlencoded"));
http.send(_1f5);
}else{
var _203=url;
if(_1f5!=""){
_203+=(_203.indexOf("?")>-1?"&":"?")+_1f5;
}
if(_1fe){
_203+=(dojo.string.endsWithAny(_203,"?","&")?"":(_203.indexOf("?")>-1?"&":"?"))+"dojo.preventCache="+new Date().valueOf();
}
http.open(_1f3.method.toUpperCase(),_203,_1fd);
setHeaders(http,_1f3);
http.send(null);
}
if(!_1fd){
doLoad(_1f3,http,url,_1f5,_1ff);
}
_1f3.abort=function(){
return http.abort();
};
return;
};
dojo.io.transports.addTransport("XMLHTTPTransport");
};
dojo.require("dojo.lang");
dojo.provide("dojo.event");
dojo.event=new function(){
this.canTimeout=dojo.lang.isFunction(dj_global["setTimeout"])||dojo.lang.isAlien(dj_global["setTimeout"]);
this.nameAnonFunc=dojo.lang.nameAnonFunc;
this.createFunctionPair=function(obj,cb){
var ret=[];
if(typeof obj=="function"){
ret[1]=dojo.event.nameAnonFunc(obj,dj_global);
ret[0]=dj_global;
return ret;
}else{
if((typeof obj=="object")&&(typeof cb=="string")){
return [obj,cb];
}else{
if((typeof obj=="object")&&(typeof cb=="function")){
ret[1]=dojo.event.nameAnonFunc(cb,obj);
ret[0]=obj;
return ret;
}
}
}
return null;
};
this.matchSignature=function(args,_208){
var end=Math.min(args.length,_208.length);
for(var x=0;x<end;x++){
if(compareTypes){
if((typeof args[x]).toLowerCase()!=(typeof _208[x])){
return false;
}
}else{
if((typeof args[x]).toLowerCase()!=_208[x].toLowerCase()){
return false;
}
}
}
return true;
};
this.matchSignatureSets=function(args){
for(var x=1;x<arguments.length;x++){
if(this.matchSignature(args,arguments[x])){
return true;
}
}
return false;
};
function interpolateArgs(args){
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};
switch(args.length){
case 0:
return;
case 1:
return;
case 2:
ao.srcFunc=args[0];
ao.adviceFunc=args[1];
break;
case 3:
if((typeof args[0]=="object")&&(typeof args[1]=="string")&&(typeof args[2]=="string")){
ao.adviceType="after";
ao.srcObj=args[0];
ao.srcFunc=args[1];
ao.adviceFunc=args[2];
}else{
if((typeof args[1]=="string")&&(typeof args[2]=="string")){
ao.srcFunc=args[1];
ao.adviceFunc=args[2];
}else{
if((typeof args[0]=="object")&&(typeof args[1]=="string")&&(typeof args[2]=="function")){
ao.adviceType="after";
ao.srcObj=args[0];
ao.srcFunc=args[1];
var _20f=dojo.event.nameAnonFunc(args[2],ao.adviceObj);
ao.adviceObj[_20f]=args[2];
ao.adviceFunc=_20f;
}else{
if((typeof args[0]=="function")&&(typeof args[1]=="object")&&(typeof args[2]=="string")){
ao.adviceType="after";
ao.srcObj=dj_global;
var _20f=dojo.event.nameAnonFunc(args[0],ao.srcObj);
ao.srcObj[_20f]=args[0];
ao.srcFunc=_20f;
ao.adviceObj=args[1];
ao.adviceFunc=args[2];
}
}
}
}
break;
case 4:
if((typeof args[0]=="object")&&(typeof args[2]=="object")){
ao.adviceType="after";
ao.srcObj=args[0];
ao.srcFunc=args[1];
ao.adviceObj=args[2];
ao.adviceFunc=args[3];
}else{
if((typeof args[1]).toLowerCase()=="object"){
ao.srcObj=args[1];
ao.srcFunc=args[2];
ao.adviceObj=dj_global;
ao.adviceFunc=args[3];
}else{
if((typeof args[2]).toLowerCase()=="object"){
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];
break;
}
if((typeof ao.srcFunc).toLowerCase()!="string"){
ao.srcFunc=dojo.lang.getNameInObj(ao.srcObj,ao.srcFunc);
}
if((typeof ao.adviceFunc).toLowerCase()!="string"){
ao.adviceFunc=dojo.lang.getNameInObj(ao.adviceObj,ao.adviceFunc);
}
if((ao.aroundObj)&&((typeof ao.aroundFunc).toLowerCase()!="string")){
ao.aroundFunc=dojo.lang.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);
}
return ao;
}
this.connect=function(){
var ao=interpolateArgs(arguments);
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.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.kwConnectImpl_=function(_217,_218){
var fn=(_218)?"disconnect":"connect";
if(typeof _217["srcFunc"]=="function"){
_217.srcObj=_217["srcObj"]||dj_global;
var _21a=dojo.event.nameAnonFunc(_217.srcFunc,_217.srcObj);
_217.srcFunc=_21a;
}
if(typeof _217["adviceFunc"]=="function"){
_217.adviceObj=_217["adviceObj"]||dj_global;
var _21a=dojo.event.nameAnonFunc(_217.adviceFunc,_217.adviceObj);
_217.adviceFunc=_21a;
}
return dojo.event[fn]((_217["type"]||_217["adviceType"]||"after"),_217["srcObj"]||dj_global,_217["srcFunc"],_217["adviceObj"]||_217["targetObj"]||dj_global,_217["adviceFunc"]||_217["targetFunc"],_217["aroundObj"],_217["aroundFunc"],_217["once"],_217["delay"],_217["rate"],_217["adviceMsg"]||false);
};
this.kwConnect=function(_21b){
return this.kwConnectImpl_(_21b,false);
};
this.disconnect=function(){
var ao=interpolateArgs(arguments);
if(!ao.adviceFunc){
return;
}
var mjp=dojo.event.MethodJoinPoint.getForMethod(ao.srcObj,ao.srcFunc);
return mjp.removeAdvice(ao.adviceObj,ao.adviceFunc,ao.adviceType,ao.once);
};
this.kwDisconnect=function(_21e){
return this.kwConnectImpl_(_21e,true);
};
};
dojo.event.MethodInvocation=function(_21f,obj,args){
this.jp_=_21f;
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,_227){
this.object=obj||dj_global;
this.methodname=_227;
this.methodfunc=this.object[_227];
this.before=[];
this.after=[];
this.around=[];
};
dojo.event.MethodJoinPoint.getForMethod=function(obj,_229){
if(!obj){
obj=dj_global;
}
if(!obj[_229]){
obj[_229]=function(){
};
}else{
if((!dojo.lang.isFunction(obj[_229]))&&(!dojo.lang.isAlien(obj[_229]))){
return null;
}
}
var _22a=_229+"$joinpoint";
var _22b=_229+"$joinpoint$method";
var _22c=obj[_22a];
if(!_22c){
var _22d=false;
if(dojo.event["browser"]){
if((obj["attachEvent"])||(obj["nodeType"])||(obj["addEventListener"])){
_22d=true;
dojo.event.browser.addClobberNodeAttrs(obj,[_22a,_22b,_229]);
}
}
obj[_22b]=obj[_229];
_22c=obj[_22a]=new dojo.event.MethodJoinPoint(obj,_22b);
obj[_229]=function(){
var args=[];
if((_22d)&&(!arguments.length)&&(window.event)){
args.push(dojo.event.browser.fixEvent(window.event));
}else{
for(var x=0;x<arguments.length;x++){
if((x==0)&&(_22d)&&(dojo.event.browser.isEvent(arguments[x]))){
args.push(dojo.event.browser.fixEvent(arguments[x]));
}else{
args.push(arguments[x]);
}
}
}
return _22c.run.apply(_22c,args);
};
}
return _22c;
};
dojo.event.MethodJoinPoint.prototype.unintercept=function(){
this.object[this.methodname]=this.methodfunc;
};
dojo.event.MethodJoinPoint.prototype.run=function(){
var obj=this.object||dj_global;
var args=arguments;
var _232=[];
for(var x=0;x<args.length;x++){
_232[x]=args[x];
}
var _234=function(marr){
if(!marr){
dojo.debug("Null argument to unrollAdvice()");
return;
}
var _236=marr[0]||dj_global;
var _237=marr[1];
if(!_236[_237]){
throw new Error("function \""+_237+"\" does not exist on \""+_236+"\"");
}
var _238=marr[2]||dj_global;
var _239=marr[3];
var msg=marr[6];
var _23b;
var to={args:[],jp_:this,object:obj,proceed:function(){
return _236[_237].apply(_236,to.args);
}};
to.args=_232;
var _23d=parseInt(marr[4]);
var _23e=((!isNaN(_23d))&&(marr[4]!==null)&&(typeof marr[4]!="undefined"));
if(marr[5]){
var rate=parseInt(marr[5]);
var cur=new Date();
var _241=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;
_234(mcpy);
},tod);
}
return;
}else{
marr.last=cur;
}
}
if(_239){
_238[_239].call(_238,to);
}else{
if((_23e)&&((dojo.render.html)||(dojo.render.svg))){
dj_global["setTimeout"](function(){
if(msg){
_236[_237].call(_236,to);
}else{
_236[_237].apply(_236,args);
}
},_23d);
}else{
if(msg){
_236[_237].call(_236,to);
}else{
_236[_237].apply(_236,args);
}
}
}
};
if(this.before.length>0){
dojo.lang.forEach(this.before,_234,true);
}
var _244;
if(this.around.length>0){
var mi=new dojo.event.MethodInvocation(this,obj,args);
_244=mi.proceed();
}else{
if(this.methodfunc){
_244=this.object[this.methodname].apply(this.object,args);
}
}
if(this.after.length>0){
dojo.lang.forEach(this.after,_234,true);
}
return (this.methodfunc)?_244:null;
};
dojo.event.MethodJoinPoint.prototype.getArr=function(kind){
var arr=this.after;
if((typeof kind=="string")&&(kind.indexOf("before")!=-1)){
arr=this.before;
}else{
if(kind=="around"){
arr=this.around;
}
}
return arr;
};
dojo.event.MethodJoinPoint.prototype.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"]);
};
dojo.event.MethodJoinPoint.prototype.addAdvice=function(_249,_24a,_24b,_24c,_24d,_24e,once,_250,rate,_252){
var arr=this.getArr(_24d);
if(!arr){
dojo.raise("bad this: "+this);
}
var ao=[_249,_24a,_24b,_24c,_250,rate,_252];
if(once){
if(this.hasAdvice(_249,_24a,_24d,arr)>=0){
return;
}
}
if(_24e=="first"){
arr.unshift(ao);
}else{
arr.push(ao);
}
};
dojo.event.MethodJoinPoint.prototype.hasAdvice=function(_255,_256,_257,arr){
if(!arr){
arr=this.getArr(_257);
}
var ind=-1;
for(var x=0;x<arr.length;x++){
if((arr[x][0]==_255)&&(arr[x][1]==_256)){
ind=x;
}
}
return ind;
};
dojo.event.MethodJoinPoint.prototype.removeAdvice=function(_25b,_25c,_25d,once){
var arr=this.getArr(_25d);
var ind=this.hasAdvice(_25b,_25c,_25d,arr);
if(ind==-1){
return false;
}
while(ind!=-1){
arr.splice(ind,1);
if(once){
break;
}
ind=this.hasAdvice(_25b,_25c,_25d,arr);
}
return true;
};
dojo.require("dojo.event");
dojo.provide("dojo.event.topic");
dojo.event.topic=new function(){
this.topics={};
this.getTopic=function(_261){
if(!this.topics[_261]){
this.topics[_261]=new this.TopicImpl(_261);
}
return this.topics[_261];
};
this.registerPublisher=function(_262,obj,_264){
var _262=this.getTopic(_262);
_262.registerPublisher(obj,_264);
};
this.subscribe=function(_265,obj,_267){
var _265=this.getTopic(_265);
_265.subscribe(obj,_267);
};
this.unsubscribe=function(_268,obj,_26a){
var _268=this.getTopic(_268);
_268.unsubscribe(obj,_26a);
};
this.publish=function(_26b,_26c){
var _26b=this.getTopic(_26b);
var args=[];
if((arguments.length==2)&&(_26c.length)&&(typeof _26c!="string")){
args=_26c;
}else{
var args=[];
for(var x=1;x<arguments.length;x++){
args.push(arguments[x]);
}
}
_26b.sendMessage.apply(_26b,args);
};
};
dojo.event.topic.TopicImpl=function(_26f){
this.topicName=_26f;
var self=this;
self.subscribe=function(_271,_272){
dojo.event.connect("before",self,"sendMessage",_271,_272);
};
self.unsubscribe=function(_273,_274){
dojo.event.disconnect("before",self,"sendMessage",_273,_274);
};
self.registerPublisher=function(_275,_276){
dojo.event.connect(_275,_276,self,"sendMessage");
};
self.sendMessage=function(_277){
};
};
dojo.provide("dojo.event.browser");
dojo.require("dojo.event");
dojo_ie_clobber=new function(){
this.clobberArr=["data","onload","onmousedown","onmouseup","onmouseover","onmouseout","onmousemove","onclick","ondblclick","onfocus","onblur","onkeypress","onkeydown","onkeyup","onsubmit","onreset","onselect","onchange","onselectstart","ondragstart","oncontextmenu"];
this.exclusions=[];
this.clobberList={};
this.clobberNodes=[];
this.addClobberAttr=function(type){
if(dojo.render.html.ie){
if(this.clobberList[type]!="set"){
this.clobberArr.push(type);
this.clobberList[type]="set";
}
}
};
this.addExclusionID=function(id){
this.exclusions.push(id);
};
if(dojo.render.html.ie){
for(var x=0;x<this.clobberArr.length;x++){
this.clobberList[this.clobberArr[x]]="set";
}
}
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(_27d){
for(var x=0;x<this.exclusions.length;x++){
try{
var tn=document.getElementById(this.exclusions[x]);
tn.parentNode.removeChild(tn);
}
catch(e){
}
}
var na;
var tna;
if(_27d){
tna=_27d.getElementsByTagName("*");
na=[_27d];
for(var x=0;x<tna.length;x++){
if(!djConfig.ieClobberMinimal){
na.push(tna[x]);
}else{
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 _282={};
for(var i=na.length-1;i>=0;i=i-1){
var el=na[i];
if(djConfig.ieClobberMinimal){
if(el["__clobberAttrs__"]){
for(var j=0;j<el.__clobberAttrs__.length;j++){
nukeProp(el,el.__clobberAttrs__[j]);
}
nukeProp(el,"__clobberAttrs__");
nukeProp(el,"__doClobber__");
}
}else{
for(var p=this.clobberArr.length-1;p>=0;p=p-1){
var ta=this.clobberArr[p];
nukeProp(el,ta);
}
}
}
na=null;
};
};
if((dojo.render.html.ie)&&((!dojo.hostenv.ie_prevent_clobber_)||(djConfig.ieClobberMinimal))){
window.onunload=function(){
dojo_ie_clobber.clobber();
try{
if((dojo["widget"])&&(dojo.widget["manager"])){
dojo.widget.manager.destroyAll();
}
}
catch(e){
}
try{
window.onload=null;
}
catch(e){
}
try{
window.onunload=null;
}
catch(e){
}
dojo_ie_clobber.clobberNodes=[];
};
}
dojo.event.browser=new function(){
var _288=0;
this.clean=function(node){
if(dojo.render.html.ie){
dojo_ie_clobber.clobber(node);
}
};
this.addClobberAttr=function(type){
dojo_ie_clobber.addClobberAttr(type);
};
this.addClobberAttrs=function(){
for(var x=0;x<arguments.length;x++){
this.addClobberAttr(arguments[x]);
}
};
this.addClobberNode=function(node){
if(djConfig.ieClobberMinimal){
if(!node["__doClobber__"]){
node.__doClobber__=true;
dojo_ie_clobber.clobberNodes.push(node);
node.__clobberAttrs__=[];
}
}
};
this.addClobberNodeAttrs=function(node,_28e){
this.addClobberNode(node);
if(djConfig.ieClobberMinimal){
for(var x=0;x<_28e.length;x++){
node.__clobberAttrs__.push(_28e[x]);
}
}else{
this.addClobberAttrs.apply(this,_28e);
}
};
this.removeListener=function(node,_291,fp,_293){
if(!_293){
var _293=false;
}
_291=_291.toLowerCase();
if(_291.substr(0,2)=="on"){
_291=_291.substr(2);
}
if(node.removeEventListener){
node.removeEventListener(_291,fp,_293);
}
};
this.addListener=function(node,_295,fp,_297,_298){
if(!node){
return;
}
if(!_297){
var _297=false;
}
_295=_295.toLowerCase();
if(_295.substr(0,2)!="on"){
_295="on"+_295;
}
if(!_298){
var _299=function(evt){
if(!evt){
evt=window.event;
}
var ret=fp(dojo.event.browser.fixEvent(evt));
if(_297){
dojo.event.browser.stopEvent(evt);
}
return ret;
};
}else{
_299=fp;
}
if(node.addEventListener){
node.addEventListener(_295.substr(2),_299,_297);
return _299;
}else{
if(typeof node[_295]=="function"){
var _29c=node[_295];
node[_295]=function(e){
_29c(e);
return _299(e);
};
}else{
node[_295]=_299;
}
if(dojo.render.html.ie){
this.addClobberNodeAttrs(node,[_295]);
}
return _299;
}
};
this.isEvent=function(obj){
return (typeof Event!="undefined")&&(obj.eventPhase);
};
this.currentEvent=null;
this.callListener=function(_29f,_2a0){
if(typeof _29f!="function"){
dojo.raise("listener not a function: "+_29f);
}
dojo.event.browser.currentEvent.currentTarget=_2a0;
return _29f.call(_2a0,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_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_LEFT_WINDOW:91,KEY_RIGHT_WINDOW:92,KEY_SELECT:93,KEY_F1:112,KEY_F2:113,KEY_F3:114,KEY_F4:115,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_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){
if((!evt)&&(window["event"])){
var 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((dojo.render.html.ie)&&(evt["type"]=="keypress")){
evt.charCode=evt.keyCode;
}
}
if(dojo.render.html.ie){
if(!evt.target){
evt.target=evt.srcElement;
}
if(!evt.currentTarget){
evt.currentTarget=evt.srcElement;
}
if(!evt.layerX){
evt.layerX=evt.offsetX;
}
if(!evt.layerY){
evt.layerY=evt.offsetY;
}
if(evt.fromElement){
evt.relatedTarget=evt.fromElement;
}
if(evt.toElement){
evt.relatedTarget=evt.toElement;
}
this.currentEvent=evt;
evt.callListener=this.callListener;
evt.stopPropagation=this.stopPropagation;
evt.preventDefault=this.preventDefault;
}
return evt;
};
this.stopEvent=function(ev){
if(window.event){
ev.returnValue=false;
ev.cancelBubble=true;
}else{
ev.preventDefault();
ev.stopPropagation();
}
};
};
dojo.hostenv.conditionalLoadModule({common:["dojo.event","dojo.event.topic"],browser:["dojo.event.browser"]});
dojo.hostenv.moduleLoaded("dojo.event.*");
dojo.provide("dojo.alg.Alg");
dojo.require("dojo.lang");
dj_deprecated("dojo.alg.Alg is deprecated, use dojo.lang instead");
dojo.alg.find=function(arr,val){
return dojo.lang.find(arr,val);
};
dojo.alg.inArray=function(arr,val){
return dojo.lang.inArray(arr,val);
};
dojo.alg.inArr=dojo.alg.inArray;
dojo.alg.getNameInObj=function(ns,item){
return dojo.lang.getNameInObj(ns,item);
};
dojo.alg.has=function(obj,name){
return dojo.lang.has(obj,name);
};
dojo.alg.forEach=function(arr,_2ae,_2af){
return dojo.lang.forEach(arr,_2ae,_2af);
};
dojo.alg.for_each=dojo.alg.forEach;
dojo.alg.map=function(arr,obj,_2b2){
return dojo.lang.map(arr,obj,_2b2);
};
dojo.alg.tryThese=function(){
return dojo.lang.tryThese.apply(dojo.lang,arguments);
};
dojo.alg.delayThese=function(farr,cb,_2b5,_2b6){
return dojo.lang.delayThese.apply(dojo.lang,arguments);
};
dojo.alg.for_each_call=dojo.alg.map;
dojo.require("dojo.alg.Alg",false,true);
dojo.hostenv.moduleLoaded("dojo.alg.*");
dojo.provide("dojo.uri.Uri");
dojo.uri=new function(){
this.joinPath=function(){
var arr=[];
for(var i=0;i<arguments.length;i++){
arr.push(arguments[i]);
}
return arr.join("/").replace(/\/{2,}/g,"/").replace(/((https*|ftps*):)/i,"$1/");
};
this.dojoUri=function(uri){
return new dojo.uri.Uri(dojo.hostenv.getBaseScriptUri(),uri);
};
this.Uri=function(){
var uri=arguments[0];
for(var i=1;i<arguments.length;i++){
if(!arguments[i]){
continue;
}
var _2bc=new dojo.uri.Uri(arguments[i].toString());
var _2bd=new dojo.uri.Uri(uri.toString());
if(_2bc.path==""&&_2bc.scheme==null&&_2bc.authority==null&&_2bc.query==null){
if(_2bc.fragment!=null){
_2bd.fragment=_2bc.fragment;
}
_2bc=_2bd;
}else{
if(_2bc.scheme==null){
_2bc.scheme=_2bd.scheme;
if(_2bc.authority==null){
_2bc.authority=_2bd.authority;
if(_2bc.path.charAt(0)!="/"){
var path=_2bd.path.substring(0,_2bd.path.lastIndexOf("/")+1)+_2bc.path;
var segs=path.split("/");
for(var j=0;j<segs.length;j++){
if(segs[j]=="."){
if(j==segs.length-1){
segs[j]="";
}else{
segs.splice(j,1);
j--;
}
}else{
if(j>0&&!(j==1&&segs[0]=="")&&segs[j]==".."&&segs[j-1]!=".."){
if(j==segs.length-1){
segs.splice(j,1);
segs[j-1]="";
}else{
segs.splice(j-1,2);
j-=2;
}
}
}
}
_2bc.path=segs.join("/");
}
}
}
}
uri="";
if(_2bc.scheme!=null){
uri+=_2bc.scheme+":";
}
if(_2bc.authority!=null){
uri+="//"+_2bc.authority;
}
uri+=_2bc.path;
if(_2bc.query!=null){
uri+="?"+_2bc.query;
}
if(_2bc.fragment!=null){
uri+="#"+_2bc.fragment;
}
}
this.uri=uri.toString();
var _2c1="^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$";
var r=this.uri.match(new RegExp(_2c1));
this.scheme=r[2]||(r[1]?"":null);
this.authority=r[4]||(r[3]?"":null);
this.path=r[5];
this.query=r[7]||(r[6]?"":null);
this.fragment=r[9]||(r[8]?"":null);
if(this.authority!=null){
_2c1="^((([^:]+:)?([^@]+))@)?([^:]*)(:([0-9]+))?$";
r=this.authority.match(new RegExp(_2c1));
this.user=r[3]||null;
this.password=r[4]||null;
this.host=r[5];
this.port=r[7]||null;
}
this.toString=function(){
return this.uri;
};
};
};
dojo.provide("dojo.math");
dojo.math.degToRad=function(x){
return (x*Math.PI)/180;
};
dojo.math.radToDeg=function(x){
return (x*180)/Math.PI;
};
dojo.math.factorial=function(n){
if(n<1){
return 0;
}
var _2c6=1;
for(var i=1;i<=n;i++){
_2c6*=i;
}
return _2c6;
};
dojo.math.permutations=function(n,k){
if(n==0||k==0){
return 1;
}
return (dojo.math.factorial(n)/dojo.math.factorial(n-k));
};
dojo.math.combinations=function(n,r){
if(n==0||r==0){
return 1;
}
return (dojo.math.factorial(n)/(dojo.math.factorial(n-r)*dojo.math.factorial(r)));
};
dojo.math.bernstein=function(t,n,i){
return (dojo.math.combinations(n,i)*Math.pow(t,i)*Math.pow(1-t,n-i));
};
dojo.math.gaussianRandom=function(){
var k=2;
do{
var i=2*Math.random()-1;
var j=2*Math.random()-1;
k=i*i+j*j;
}while(k>=1);
k=Math.sqrt((-2*Math.log(k))/k);
return i*k;
};
dojo.math.mean=function(){
var _2d2=dojo.lang.isArray(arguments[0])?arguments[0]:arguments;
var mean=0;
for(var i=0;i<_2d2.length;i++){
mean+=_2d2[i];
}
return mean/_2d2.length;
};
dojo.math.round=function(_2d5,_2d6){
if(!_2d6){
var _2d7=1;
}else{
var _2d7=Math.pow(10,_2d6);
}
return Math.round(_2d5*_2d7)/_2d7;
};
dojo.math.sd=function(){
var _2d8=dojo.lang.isArray(arguments[0])?arguments[0]:arguments;
return Math.sqrt(dojo.math.variance(_2d8));
};
dojo.math.variance=function(){
var _2d9=dojo.lang.isArray(arguments[0])?arguments[0]:arguments;
var mean=0,squares=0;
for(var i=0;i<_2d9.length;i++){
mean+=_2d9[i];
squares+=Math.pow(_2d9[i],2);
}
return (squares/_2d9.length)-Math.pow(mean/_2d9.length,2);
};
dojo.provide("dojo.graphics.color");
dojo.require("dojo.lang");
dojo.require("dojo.string");
dojo.require("dojo.math");
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.lang.extend(dojo.graphics.color.Color,{toRgb:function(_2e1){
if(_2e1){
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();
},toHsv:function(){
return dojo.graphics.color.rgb2hsv(this.toRgb());
},toHsl:function(){
return dojo.graphics.color.rgb2hsl(this.toRgb());
},blend:function(_2e2,_2e3){
return dojo.graphics.color.blend(this.toRgb(),new Color(_2e2).toRgb(),_2e3);
}});
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,_2e6){
if(typeof a=="string"){
return dojo.graphics.color.blendHex(a,b,_2e6);
}
if(!_2e6){
_2e6=0;
}else{
if(_2e6>1){
_2e6=1;
}else{
if(_2e6<-1){
_2e6=-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*_2e6));
}
return c;
};
dojo.graphics.color.blendHex=function(a,b,_2ec){
return dojo.graphics.color.rgb2hex(dojo.graphics.color.blend(dojo.graphics.color.hex2rgb(a),dojo.graphics.color.hex2rgb(b),_2ec));
};
dojo.graphics.color.extractRGB=function(_2ed){
var hex="0123456789abcdef";
_2ed=_2ed.toLowerCase();
if(_2ed.indexOf("rgb")==0){
var _2ef=_2ed.match(/rgba*\((\d+), *(\d+), *(\d+)/i);
var ret=_2ef.splice(1,3);
return ret;
}else{
var _2f1=dojo.graphics.color.hex2rgb(_2ed);
if(_2f1){
return _2f1;
}else{
return dojo.graphics.color.named[_2ed]||[255,255,255];
}
}
};
dojo.graphics.color.hex2rgb=function(hex){
var _2f3="0123456789ABCDEF";
var rgb=new Array(3);
if(hex.indexOf("#")==0){
hex=hex.substring(1);
}
hex=hex.toUpperCase();
if(hex.replace(new RegExp("["+_2f3+"]","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]=_2f3.indexOf(rgb[i].charAt(0))*16+_2f3.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;
}
return ["#",dojo.string.pad(r.toString(16),2),dojo.string.pad(g.toString(16),2),dojo.string.pad(b.toString(16),2)].join("");
};
dojo.graphics.color.rgb2hsv=function(r,g,b){
if(dojo.lang.isArray(r)){
b=r[2]||0;
g=r[1]||0;
r=r[0]||0;
}
var h=null;
var s=null;
var v=null;
var min=Math.min(r,g,b);
v=Math.max(r,g,b);
var _300=v-min;
s=(v==0)?0:_300/v;
if(s==0){
h=0;
}else{
if(r==v){
h=60*(g-b)/_300;
}else{
if(g==v){
h=120+60*(b-r)/_300;
}else{
if(b==v){
h=240+60*(r-g)/_300;
}
}
}
if(h<0){
h+=360;
}
}
h=(h==0)?360:Math.ceil((h/360)*255);
s=Math.ceil(s*255);
return [h,s,v];
};
dojo.graphics.color.hsv2rgb=function(h,s,v){
if(dojo.lang.isArray(h)){
v=h[2]||0;
s=h[1]||0;
h=h[0]||0;
}
h=(h/255)*360;
if(h==360){
h=0;
}
s=s/255;
v=v/255;
var r=null;
var g=null;
var b=null;
if(s==0){
r=v;
g=v;
b=v;
}else{
var _307=h/60;
var i=Math.floor(_307);
var f=_307-i;
var p=v*(1-s);
var q=v*(1-(s*f));
var t=v*(1-(s*(1-f)));
switch(i){
case 0:
r=v;
g=t;
b=p;
break;
case 1:
r=q;
g=v;
b=p;
break;
case 2:
r=p;
g=v;
b=t;
break;
case 3:
r=p;
g=q;
b=v;
break;
case 4:
r=t;
g=p;
b=v;
break;
case 5:
r=v;
g=p;
b=q;
break;
}
}
r=Math.ceil(r*255);
g=Math.ceil(g*255);
b=Math.ceil(b*255);
return [r,g,b];
};
dojo.graphics.color.rgb2hsl=function(r,g,b){
if(dojo.lang.isArray(r)){
b=r[2]||0;
g=r[1]||0;
r=r[0]||0;
}
r/=255;
g/=255;
b/=255;
var h=null;
var s=null;
var l=null;
var min=Math.min(r,g,b);
var max=Math.max(r,g,b);
var _315=max-min;
l=(min+max)/2;
s=0;
if((l>0)&&(l<1)){
s=_315/((l<0.5)?(2*l):(2-2*l));
}
h=0;
if(_315>0){
if((max==r)&&(max!=g)){
h+=(g-b)/_315;
}
if((max==g)&&(max!=b)){
h+=(2+(b-r)/_315);
}
if((max==b)&&(max!=r)){
h+=(4+(r-g)/_315);
}
h*=60;
}
h=(h==0)?360:Math.ceil((h/360)*255);
s=Math.ceil(s*255);
l=Math.ceil(l*255);
return [h,s,l];
};
dojo.graphics.color.hsl2rgb=function(h,s,l){
if(dojo.lang.isArray(h)){
l=h[2]||0;
s=h[1]||0;
h=h[0]||0;
}
h=(h/255)*360;
if(h==360){
h=0;
}
s=s/255;
l=l/255;
while(h<0){
h+=360;
}
while(h>360){
h-=360;
}
if(h<120){
r=(120-h)/60;
g=h/60;
b=0;
}else{
if(h<240){
r=0;
g=(240-h)/60;
b=(h-120)/60;
}else{
r=(h-240)/60;
g=0;
b=(360-h)/60;
}
}
r=Math.min(r,1);
g=Math.min(g,1);
b=Math.min(b,1);
r=2*s*r+(1-s);
g=2*s*g+(1-s);
b=2*s*b+(1-s);
if(l<0.5){
r=l*r;
g=l*g;
b=l*b;
}else{
r=(1-l)*r+2*l-1;
g=(1-l)*g+2*l-1;
b=(1-l)*b+2*l-1;
}
r=Math.ceil(r*255);
g=Math.ceil(g*255);
b=Math.ceil(b*255);
return [r,g,b];
};
dojo.provide("dojo.style");
dojo.require("dojo.dom");
dojo.require("dojo.uri.Uri");
dojo.require("dojo.graphics.color");
dojo.style.boxSizing={marginBox:"margin-box",borderBox:"border-box",paddingBox:"padding-box",contentBox:"content-box"};
dojo.style.getBoxSizing=function(node){
if(dojo.render.html.ie||dojo.render.html.opera){
var cm=document["compatMode"];
if(cm=="BackCompat"||cm=="QuirksMode"){
return dojo.style.boxSizing.borderBox;
}else{
return dojo.style.boxSizing.contentBox;
}
}else{
if(arguments.length==0){
node=document.documentElement;
}
var _31b=dojo.style.getStyle(node,"-moz-box-sizing");
if(!_31b){
_31b=dojo.style.getStyle(node,"box-sizing");
}
return (_31b?_31b:dojo.style.boxSizing.contentBox);
}
};
dojo.style.isBorderBox=function(node){
return (dojo.style.getBoxSizing(node)==dojo.style.boxSizing.borderBox);
};
dojo.style.getUnitValue=function(_31d,_31e,_31f){
var _320={value:0,units:"px"};
var s=dojo.style.getComputedStyle(_31d,_31e);
if(s==""||(s=="auto"&&_31f)){
return _320;
}
if(dojo.lang.isUndefined(s)){
_320.value=NaN;
}else{
var _322=s.match(/([\d.]+)([a-z%]*)/i);
if(!_322){
_320.value=NaN;
}else{
_320.value=Number(_322[1]);
_320.units=_322[2].toLowerCase();
}
}
return _320;
};
dojo.style.getPixelValue=function(_323,_324,_325){
var _326=dojo.style.getUnitValue(_323,_324,_325);
if(isNaN(_326.value)||(_326.value&&_326.units!="px")){
return NaN;
}
return _326.value;
};
dojo.style.getNumericStyle=dojo.style.getPixelValue;
dojo.style.isPositionAbsolute=function(node){
return (dojo.style.getComputedStyle(node,"position")=="absolute");
};
dojo.style.getMarginWidth=function(node){
var _329=dojo.style.isPositionAbsolute(node);
var left=dojo.style.getPixelValue(node,"margin-left",_329);
var _32b=dojo.style.getPixelValue(node,"margin-right",_329);
return left+_32b;
};
dojo.style.getBorderWidth=function(node){
var left=(dojo.style.getStyle(node,"border-left-style")=="none"?0:dojo.style.getPixelValue(node,"border-left-width"));
var _32e=(dojo.style.getStyle(node,"border-right-style")=="none"?0:dojo.style.getPixelValue(node,"border-right-width"));
return left+_32e;
};
dojo.style.getPaddingWidth=function(node){
var left=dojo.style.getPixelValue(node,"padding-left",true);
var _331=dojo.style.getPixelValue(node,"padding-right",true);
return left+_331;
};
dojo.style.getContentWidth=function(node){
return node.offsetWidth-dojo.style.getPaddingWidth(node)-dojo.style.getBorderWidth(node);
};
dojo.style.getInnerWidth=function(node){
return node.offsetWidth;
};
dojo.style.getOuterWidth=function(node){
return dojo.style.getInnerWidth(node)+dojo.style.getMarginWidth(node);
};
dojo.style.setOuterWidth=function(node,_336){
if(!dojo.style.isBorderBox(node)){
_336-=dojo.style.getPaddingWidth(node)+dojo.style.getBorderWidth(node);
}
_336-=dojo.style.getMarginWidth(node);
if(!isNaN(_336)&&_336>0){
node.style.width=_336+"px";
return true;
}else{
return false;
}
};
dojo.style.getContentBoxWidth=dojo.style.getContentWidth;
dojo.style.getBorderBoxWidth=dojo.style.getInnerWidth;
dojo.style.getMarginBoxWidth=dojo.style.getOuterWidth;
dojo.style.setMarginBoxWidth=dojo.style.setOuterWidth;
dojo.style.getMarginHeight=function(node){
var _338=dojo.style.isPositionAbsolute(node);
var top=dojo.style.getPixelValue(node,"margin-top",_338);
var _33a=dojo.style.getPixelValue(node,"margin-bottom",_338);
return top+_33a;
};
dojo.style.getBorderHeight=function(node){
var top=(dojo.style.getStyle(node,"border-top-style")=="none"?0:dojo.style.getPixelValue(node,"border-top-width"));
var _33d=(dojo.style.getStyle(node,"border-bottom-style")=="none"?0:dojo.style.getPixelValue(node,"border-bottom-width"));
return top+_33d;
};
dojo.style.getPaddingHeight=function(node){
var top=dojo.style.getPixelValue(node,"padding-top",true);
var _340=dojo.style.getPixelValue(node,"padding-bottom",true);
return top+_340;
};
dojo.style.getContentHeight=function(node){
return node.offsetHeight-dojo.style.getPaddingHeight(node)-dojo.style.getBorderHeight(node);
};
dojo.style.getInnerHeight=function(node){
return node.offsetHeight;
};
dojo.style.getOuterHeight=function(node){
return dojo.style.getInnerHeight(node)+dojo.style.getMarginHeight(node);
};
dojo.style.setOuterHeight=function(node,_345){
if(!dojo.style.isBorderBox(node)){
_345-=dojo.style.getPaddingHeight(node)+dojo.style.getBorderHeight(node);
}
_345-=dojo.style.getMarginHeight(node);
if(!isNaN(_345)&&_345>0){
node.style.height=_345+"px";
return true;
}else{
return false;
}
};
dojo.style.setContentWidth=function(node,_347){
if(dojo.style.isBorderBox(node)){
_347+=dojo.style.getPaddingWidth(node)+dojo.style.getBorderWidth(node);
}
if(!isNaN(_347)&&_347>0){
node.style.width=_347+"px";
return true;
}else{
return false;
}
};
dojo.style.setContentHeight=function(node,_349){
if(dojo.style.isBorderBox(node)){
_349+=dojo.style.getPaddingHeight(node)+dojo.style.getBorderHeight(node);
}
if(!isNaN(_349)&&_349>0){
node.style.height=_349+"px";
return true;
}else{
return false;
}
};
dojo.style.getContentBoxHeight=dojo.style.getContentHeight;
dojo.style.getBorderBoxHeight=dojo.style.getInnerHeight;
dojo.style.getMarginBoxHeight=dojo.style.getOuterHeight;
dojo.style.setMarginBoxHeight=dojo.style.setOuterHeight;
dojo.style.getTotalOffset=function(node,type,_34c){
var _34d=(type=="top")?"offsetTop":"offsetLeft";
var _34e=(type=="top")?"scrollTop":"scrollLeft";
var alt=(type=="top")?"y":"x";
var ret=0;
if(node["offsetParent"]){
if(_34c&&node.parentNode!=document.body){
ret-=dojo.style.sumAncestorProperties(node,_34e);
}
do{
ret+=node[_34d];
node=node.offsetParent;
}while(node!=document.getElementsByTagName("body")[0].parentNode&&node!=null);
}else{
if(node[alt]){
ret+=node[alt];
}
}
return ret;
};
dojo.style.sumAncestorProperties=function(node,prop){
if(!node){
return 0;
}
var _353=0;
while(node){
var val=node[prop];
if(val){
_353+=val-0;
}
node=node.parentNode;
}
return _353;
};
dojo.style.totalOffsetLeft=function(node,_356){
return dojo.style.getTotalOffset(node,"left",_356);
};
dojo.style.getAbsoluteX=dojo.style.totalOffsetLeft;
dojo.style.totalOffsetTop=function(node,_358){
return dojo.style.getTotalOffset(node,"top",_358);
};
dojo.style.getAbsoluteY=dojo.style.totalOffsetTop;
dojo.style.getAbsolutePosition=function(node,_35a){
var _35b=[dojo.style.getAbsoluteX(node,_35a),dojo.style.getAbsoluteY(node,_35a)];
_35b.x=_35b[0];
_35b.y=_35b[1];
return _35b;
};
dojo.style.styleSheet=null;
dojo.style.insertCssRule=function(_35c,_35d,_35e){
if(!dojo.style.styleSheet){
if(document.createStyleSheet){
dojo.style.styleSheet=document.createStyleSheet();
}else{
if(document.styleSheets[0]){
dojo.style.styleSheet=document.styleSheets[0];
}else{
return null;
}
}
}
if(arguments.length<3){
if(dojo.style.styleSheet.cssRules){
_35e=dojo.style.styleSheet.cssRules.length;
}else{
if(dojo.style.styleSheet.rules){
_35e=dojo.style.styleSheet.rules.length;
}else{
return null;
}
}
}
if(dojo.style.styleSheet.insertRule){
var rule=_35c+" { "+_35d+" }";
return dojo.style.styleSheet.insertRule(rule,_35e);
}else{
if(dojo.style.styleSheet.addRule){
return dojo.style.styleSheet.addRule(_35c,_35d,_35e);
}else{
return null;
}
}
};
dojo.style.removeCssRule=function(_360){
if(!dojo.style.styleSheet){
dojo.debug("no stylesheet defined for removing rules");
return false;
}
if(dojo.render.html.ie){
if(!_360){
_360=dojo.style.styleSheet.rules.length;
dojo.style.styleSheet.removeRule(_360);
}
}else{
if(document.styleSheets[0]){
if(!_360){
_360=dojo.style.styleSheet.cssRules.length;
}
dojo.style.styleSheet.deleteRule(_360);
}
}
return true;
};
dojo.style.insertCssFile=function(URI,doc,_363){
if(!URI){
return;
}
if(!doc){
doc=document;
}
if(doc.baseURI){
URI=new dojo.uri.Uri(doc.baseURI,URI);
}
if(_363&&doc.styleSheets){
var loc=location.href.split("#")[0].substring(0,location.href.indexOf(location.pathname));
for(var i=0;i<doc.styleSheets.length;i++){
if(doc.styleSheets[i].href&&URI.toString()==new dojo.uri.Uri(doc.styleSheets[i].href.toString())){
return;
}
}
}
var file=doc.createElement("link");
file.setAttribute("type","text/css");
file.setAttribute("rel","stylesheet");
file.setAttribute("href",URI);
var head=doc.getElementsByTagName("head")[0];
if(head){
head.appendChild(file);
}
};
dojo.style.getBackgroundColor=function(node){
var _369;
do{
_369=dojo.style.getStyle(node,"background-color");
if(_369.toLowerCase()=="rgba(0, 0, 0, 0)"){
_369="transparent";
}
if(node==document.getElementsByTagName("body")[0]){
node=null;
break;
}
node=node.parentNode;
}while(node&&dojo.lang.inArray(_369,["transparent",""]));
if(_369=="transparent"){
_369=[255,255,255,0];
}else{
_369=dojo.graphics.color.extractRGB(_369);
}
return _369;
};
dojo.style.getComputedStyle=function(_36a,_36b,_36c){
var _36d=_36c;
if(_36a.style.getPropertyValue){
_36d=_36a.style.getPropertyValue(_36b);
}
if(!_36d){
if(document.defaultView){
_36d=document.defaultView.getComputedStyle(_36a,"").getPropertyValue(_36b);
}else{
if(_36a.currentStyle){
_36d=_36a.currentStyle[dojo.style.toCamelCase(_36b)];
}
}
}
return _36d;
};
dojo.style.getStyle=function(_36e,_36f){
var _370=dojo.style.toCamelCase(_36f);
var _371=_36e.style[_370];
return (_371?_371:dojo.style.getComputedStyle(_36e,_36f,_371));
};
dojo.style.toCamelCase=function(_372){
var arr=_372.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.style.toSelectorCase=function(_375){
return _375.replace(/([A-Z])/g,"-$1").toLowerCase();
};
dojo.style.setOpacity=function setOpacity(node,_377,_378){
node=dojo.byId(node);
var h=dojo.render.html;
if(!_378){
if(_377>=1){
if(h.ie){
dojo.style.clearOpacity(node);
return;
}else{
_377=0.999999;
}
}else{
if(_377<0){
_377=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="+_377*100+")";
}
}
node.style.filter="Alpha(Opacity="+_377*100+")";
}else{
if(h.moz){
node.style.opacity=_377;
node.style.MozOpacity=_377;
}else{
if(h.safari){
node.style.opacity=_377;
node.style.KhtmlOpacity=_377;
}else{
node.style.opacity=_377;
}
}
}
};
dojo.style.getOpacity=function getOpacity(node){
if(dojo.render.html.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.style.clearOpacity=function clearOpacity(node){
var h=dojo.render.html;
if(h.ie){
if(node.filters&&node.filters.alpha){
node.style.filter="";
}
}else{
if(h.moz){
node.style.opacity=1;
node.style.MozOpacity=1;
}else{
if(h.safari){
node.style.opacity=1;
node.style.KhtmlOpacity=1;
}else{
node.style.opacity=1;
}
}
}
};
dojo.provide("dojo.html");
dojo.require("dojo.dom");
dojo.require("dojo.style");
dojo.require("dojo.string");
dojo.lang.mixin(dojo.html,dojo.dom);
dojo.lang.mixin(dojo.html,dojo.style);
dojo.html.clearSelection=function(){
try{
if(window["getSelection"]){
if(dojo.render.html.safari){
window.getSelection().collapse();
}else{
window.getSelection().removeAllRanges();
}
}else{
if((document.selection)&&(document.selection.clear)){
document.selection.clear();
}
}
return true;
}
catch(e){
dojo.debug(e);
return false;
}
};
dojo.html.disableSelection=function(_380){
_380=_380||dojo.html.body();
var h=dojo.render.html;
if(h.mozilla){
_380.style.MozUserSelect="none";
}else{
if(h.safari){
_380.style.KhtmlUserSelect="none";
}else{
if(h.ie){
_380.unselectable="on";
}else{
return false;
}
}
}
return true;
};
dojo.html.enableSelection=function(_382){
_382=_382||dojo.html.body();
var h=dojo.render.html;
if(h.mozilla){
_382.style.MozUserSelect="";
}else{
if(h.safari){
_382.style.KhtmlUserSelect="";
}else{
if(h.ie){
_382.unselectable="off";
}else{
return false;
}
}
}
return true;
};
dojo.html.selectElement=function(_384){
if(document.selection&&dojo.html.body().createTextRange){
var _385=dojo.html.body().createTextRange();
_385.moveToElementText(_384);
_385.select();
}else{
if(window["getSelection"]){
var _386=window.getSelection();
if(_386["selectAllChildren"]){
_386.selectAllChildren(_384);
}
}
}
};
dojo.html.isSelectionCollapsed=function(){
if(document["selection"]){
return document.selection.createRange().text=="";
}else{
if(window["getSelection"]){
var _387=window.getSelection();
if(dojo.lang.isString(_387)){
return _387=="";
}else{
return _387.isCollapsed;
}
}
}
};
dojo.html.getEventTarget=function(evt){
if(!evt){
evt=window.event||{};
}
if(evt.srcElement){
return evt.srcElement;
}else{
if(evt.target){
return evt.target;
}
}
return null;
};
dojo.html.getScrollTop=function(){
return document.documentElement.scrollTop||dojo.html.body().scrollTop||0;
};
dojo.html.getScrollLeft=function(){
return document.documentElement.scrollLeft||dojo.html.body().scrollLeft||0;
};
dojo.html.getDocumentWidth=function(){
dojo.deprecated("dojo.html.getDocument* has been deprecated in favor of dojo.html.getViewport*");
return dojo.html.getViewportWidth();
};
dojo.html.getDocumentHeight=function(){
dojo.deprecated("dojo.html.getDocument* has been deprecated in favor of dojo.html.getViewport*");
return dojo.html.getViewportHeight();
};
dojo.html.getDocumentSize=function(){
dojo.deprecated("dojo.html.getDocument* has been deprecated in favor of dojo.html.getViewport*");
return dojo.html.getViewportSize();
};
dojo.html.getViewportWidth=function(){
var w=0;
if(window.innerWidth){
w=window.innerWidth;
}
if(document.documentElement&&document.documentElement.clientWidth){
var w2=document.documentElement.clientWidth;
if(!w||w2&&w2<w){
w=w2;
}
return w;
}
if(document.body){
return document.body.clientWidth;
}
return 0;
};
dojo.html.getViewportHeight=function(){
if(window.innerHeight){
return window.innerHeight;
}
if(document.documentElement&&document.documentElement.clientHeight){
return document.documentElement.clientHeight;
}
if(document.body){
return document.body.clientHeight;
}
return 0;
};
dojo.html.getViewportSize=function(){
var ret=[dojo.html.getViewportWidth(),dojo.html.getViewportHeight()];
ret.w=ret[0];
ret.h=ret[1];
return ret;
};
dojo.html.getScrollOffset=function(){
var ret=[0,0];
if(window.pageYOffset){
ret=[window.pageXOffset,window.pageYOffset];
}else{
if(document.documentElement&&document.documentElement.scrollTop){
ret=[document.documentElement.scrollLeft,document.documentElement.scrollTop];
}else{
if(document.body){
ret=[document.body.scrollLeft,document.body.scrollTop];
}
}
}
ret.x=ret[0];
ret.y=ret[1];
return ret;
};
dojo.html.getParentOfType=function(node,type){
dojo.deprecated("dojo.html.getParentOfType has been deprecated in favor of dojo.html.getParentByType*");
return dojo.html.getParentByType(node,type);
};
dojo.html.getParentByType=function(node,type){
var _391=node;
type=type.toLowerCase();
while(_391.nodeName.toLowerCase()!=type){
if((!_391)||(_391==(document["body"]||document["documentElement"]))){
return null;
}
_391=_391.parentNode;
}
return _391;
};
dojo.html.getAttribute=function(node,attr){
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&&typeof v=="object"&&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){
var v=dojo.html.getAttribute(node,attr);
return v?true:false;
};
dojo.html.getClass=function(node){
if(node.className){
return node.className;
}else{
if(dojo.html.hasAttribute(node,"class")){
return dojo.html.getAttribute(node,"class");
}
}
return "";
};
dojo.html.hasClass=function(node,_39b){
var _39c=dojo.html.getClass(node).split(/\s+/g);
for(var x=0;x<_39c.length;x++){
if(_39b==_39c[x]){
return true;
}
}
return false;
};
dojo.html.prependClass=function(node,_39f){
if(!node){
return null;
}
if(dojo.html.hasAttribute(node,"class")||node.className){
_39f+=" "+(node.className||dojo.html.getAttribute(node,"class"));
}
return dojo.html.setClass(node,_39f);
};
dojo.html.addClass=function(node,_3a1){
if(!node){
throw new Error("addClass: node does not exist");
}
if(dojo.html.hasClass(node,_3a1)){
return false;
}
if(dojo.html.hasAttribute(node,"class")||node.className){
_3a1=(node.className||dojo.html.getAttribute(node,"class"))+" "+_3a1;
}
return dojo.html.setClass(node,_3a1);
};
dojo.html.setClass=function(node,_3a3){
if(!node){
return false;
}
var cs=new String(_3a3);
try{
if(typeof node.className=="string"){
node.className=cs;
}else{
if(node.setAttribute){
node.setAttribute("class",_3a3);
node.className=cs;
}else{
return false;
}
}
}
catch(e){
dojo.debug("dojo.html.setClass() failed",e);
}
return true;
};
dojo.html.removeClass=function(node,_3a6,_3a7){
if(!node){
return false;
}
var _3a6=dojo.string.trim(new String(_3a6));
try{
var cs=String(node.className).split(" ");
var nca=[];
if(_3a7){
for(var i=0;i<cs.length;i++){
if(cs[i].indexOf(_3a6)==-1){
nca.push(cs[i]);
}
}
}else{
for(var i=0;i<cs.length;i++){
if(cs[i]!=_3a6){
nca.push(cs[i]);
}
}
}
node.className=nca.join(" ");
}
catch(e){
dojo.debug("dojo.html.removeClass() failed",e);
}
return true;
};
dojo.html.replaceClass=function(node,_3ac,_3ad){
dojo.html.removeClass(node,_3ad);
dojo.html.addClass(node,_3ac);
};
dojo.html.classMatchType={ContainsAll:0,ContainsAny:1,IsOnly:2};
dojo.html.getElementsByClass=function(_3ae,_3af,_3b0,_3b1){
if(!_3af){
_3af=document;
}
var _3b2=_3ae.split(/\s+/g);
var _3b3=[];
if(_3b1!=1&&_3b1!=2){
_3b1=0;
}
var _3b4=new RegExp("(\\s|^)(("+_3b2.join(")|(")+"))(\\s|$)");
if(false&&document.evaluate){
var _3b5="//"+(_3b0||"*")+"[contains(";
if(_3b1!=dojo.html.classMatchType.ContainsAny){
_3b5+="concat(' ',@class,' '), ' "+_3b2.join(" ') and contains(concat(' ',@class,' '), ' ")+" ')]";
}else{
_3b5+="concat(' ',@class,' '), ' "+_3b2.join(" ')) or contains(concat(' ',@class,' '), ' ")+" ')]";
}
var _3b6=document.evaluate(_3b5,_3af,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);
outer:
for(var node=null,i=0;node=_3b6.snapshotItem(i);i++){
if(_3b1!=dojo.html.classMatchType.IsOnly){
_3b3.push(node);
}else{
if(!dojo.html.getClass(node)){
continue outer;
}
var _3b8=dojo.html.getClass(node).split(/\s+/g);
for(var j=0;j<_3b8.length;j++){
if(!_3b8[j].match(_3b4)){
continue outer;
}
}
_3b3.push(node);
}
}
}else{
if(!_3b0){
_3b0="*";
}
var _3ba=_3af.getElementsByTagName(_3b0);
outer:
for(var i=0;i<_3ba.length;i++){
var node=_3ba[i];
if(!dojo.html.getClass(node)){
continue outer;
}
var _3b8=dojo.html.getClass(node).split(/\s+/g);
var _3bc=0;
for(var j=0;j<_3b8.length;j++){
if(_3b4.test(_3b8[j])){
if(_3b1==dojo.html.classMatchType.ContainsAny){
_3b3.push(node);
continue outer;
}else{
_3bc++;
}
}else{
if(_3b1==dojo.html.classMatchType.IsOnly){
continue outer;
}
}
}
if(_3bc==_3b2.length){
if(_3b1==dojo.html.classMatchType.IsOnly&&_3bc==_3b8.length){
_3b3.push(node);
}else{
if(_3b1==dojo.html.classMatchType.ContainsAll){
_3b3.push(node);
}
}
}
}
}
return _3b3;
};
dojo.html.getElementsByClassName=dojo.html.getElementsByClass;
dojo.html.gravity=function(node,e){
var _3bf=e.pageX||e.clientX+dojo.html.body().scrollLeft;
var _3c0=e.pageY||e.clientY+dojo.html.body().scrollTop;
with(dojo.html){
var _3c1=getAbsoluteX(node)+(getInnerWidth(node)/2);
var _3c2=getAbsoluteY(node)+(getInnerHeight(node)/2);
}
with(dojo.html.gravity){
return ((_3bf<_3c1?WEST:EAST)|(_3c0<_3c2?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(_3c3,e){
var _3c5=e.pageX||e.clientX+dojo.html.body().scrollLeft;
var _3c6=e.pageY||e.clientY+dojo.html.body().scrollTop;
with(dojo.html){
var top=getAbsoluteY(_3c3);
var _3c8=top+getInnerHeight(_3c3);
var left=getAbsoluteX(_3c3);
var _3ca=left+getInnerWidth(_3c3);
}
return (_3c5>=left&&_3c5<=_3ca&&_3c6>=top&&_3c6<=_3c8);
};
dojo.html.renderedTextContent=function(node){
var _3cc="";
if(node==null){
return _3cc;
}
for(var i=0;i<node.childNodes.length;i++){
switch(node.childNodes[i].nodeType){
case 1:
case 5:
var _3ce="unknown";
try{
_3ce=dojo.style.getStyle(node.childNodes[i],"display");
}
catch(E){
}
switch(_3ce){
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":
_3cc+="\n";
_3cc+=dojo.html.renderedTextContent(node.childNodes[i]);
_3cc+="\n";
break;
case "none":
break;
default:
if(node.childNodes[i].tagName&&node.childNodes[i].tagName.toLowerCase()=="br"){
_3cc+="\n";
}else{
_3cc+=dojo.html.renderedTextContent(node.childNodes[i]);
}
break;
}
break;
case 3:
case 2:
case 4:
var text=node.childNodes[i].nodeValue;
var _3d0="unknown";
try{
_3d0=dojo.style.getStyle(node,"text-transform");
}
catch(E){
}
switch(_3d0){
case "capitalize":
text=dojo.string.capitalize(text);
break;
case "uppercase":
text=text.toUpperCase();
break;
case "lowercase":
text=text.toLowerCase();
break;
default:
break;
}
switch(_3d0){
case "nowrap":
break;
case "pre-wrap":
break;
case "pre-line":
break;
case "pre":
break;
default:
text=text.replace(/\s+/," ");
if(/\s$/.test(_3cc)){
text.replace(/^\s/,"");
}
break;
}
_3cc+=text;
break;
default:
break;
}
}
return _3cc;
};
dojo.html.setActiveStyleSheet=function(_3d1){
var i,a,main;
for(i=0;(a=document.getElementsByTagName("link")[i]);i++){
if(a.getAttribute("rel").indexOf("style")!=-1&&a.getAttribute("title")){
a.disabled=true;
if(a.getAttribute("title")==_3d1){
a.disabled=false;
}
}
}
};
dojo.html.getActiveStyleSheet=function(){
var i,a;
for(i=0;(a=document.getElementsByTagName("link")[i]);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,a;
for(i=0;(a=document.getElementsByTagName("link")[i]);i++){
if(a.getAttribute("rel").indexOf("style")!=-1&&a.getAttribute("rel").indexOf("alt")==-1&&a.getAttribute("title")){
return a.getAttribute("title");
}
}
return null;
};
dojo.html.body=function(){
return document.body||document.getElementsByTagName("body")[0];
};
dojo.html.createNodesFromText=function(txt,wrap){
var tn=document.createElement("div");
tn.style.visibility="hidden";
document.body.appendChild(tn);
tn.innerHTML=txt;
tn.normalize();
if(wrap){
var ret=[];
var fc=tn.firstChild;
ret[0]=((fc.nodeValue==" ")||(fc.nodeValue=="\t"))?fc.nextSibling:fc;
document.body.removeChild(tn);
return ret;
}
var _3da=[];
for(var x=0;x<tn.childNodes.length;x++){
_3da.push(tn.childNodes[x].cloneNode(true));
}
tn.style.display="none";
document.body.removeChild(tn);
return _3da;
};
if(!dojo.evalObjPath("dojo.dom.createNodesFromText")){
dojo.dom.createNodesFromText=function(){
dojo.deprecated("dojo.dom.createNodesFromText","use dojo.html.createNodesFromText instead");
return dojo.html.createNodesFromText.apply(dojo.html,arguments);
};
}
dojo.html.getAncestorsByTag=function(node,tag,_3de){
tag=tag.toLowerCase();
return dojo.dom.getAncestors(node,function(el){
return el.tagName&&(el.tagName.toLowerCase()==tag);
},_3de);
};
dojo.html.getFirstAncestorByTag=function(node,tag){
return dojo.html.getAncestorsByTag(node,tag,true);
};
dojo.html.isVisible=function(node){
return dojo.style.getComputedStyle(node||this.domNode,"display")!="none";
};
dojo.html.show=function(node){
if(node.style){
node.style.display=dojo.lang.inArray(node.tagName.toLowerCase(),["tr","td","th"])?"":"block";
}
};
dojo.html.hide=function(node){
if(node.style){
node.style.display="none";
}
};
dojo.html.toCoordinateArray=function(_3e5,_3e6){
if(dojo.lang.isArray(_3e5)){
while(_3e5.length<4){
_3e5.push(0);
}
while(_3e5.length>4){
_3e5.pop();
}
var ret=_3e5;
}else{
var node=dojo.byId(_3e5);
var ret=[dojo.html.getAbsoluteX(node,_3e6),dojo.html.getAbsoluteY(node,_3e6),dojo.html.getInnerWidth(node),dojo.html.getInnerHeight(node)];
}
ret.x=ret[0];
ret.y=ret[1];
ret.w=ret[2];
ret.h=ret[3];
return ret;
};
dojo.html.placeOnScreen=function(node,_3ea,_3eb,_3ec,_3ed){
if(dojo.lang.isArray(_3ea)){
_3ed=_3ec;
_3ec=_3eb;
_3eb=_3ea[1];
_3ea=_3ea[0];
}
if(!isNaN(_3ec)){
_3ec=[Number(_3ec),Number(_3ec)];
}else{
if(!dojo.lang.isArray(_3ec)){
_3ec=[0,0];
}
}
var _3ee=dojo.html.getScrollOffset();
var view=dojo.html.getViewportSize();
node=dojo.byId(node);
var w=node.offsetWidth+_3ec[0];
var h=node.offsetHeight+_3ec[1];
if(_3ed){
_3ea-=_3ee.x;
_3eb-=_3ee.y;
}
var x=_3ea+w;
if(x>view.w){
x=view.w-w;
}else{
x=_3ea;
}
x=Math.max(_3ec[0],x)+_3ee.x;
var y=_3eb+h;
if(y>view.h){
y=view.h-h;
}else{
y=_3eb;
}
y=Math.max(_3ec[1],y)+_3ee.y;
node.style.left=x+"px";
node.style.top=y+"px";
var ret=[x,y];
ret.x=x;
ret.y=y;
return ret;
};
dojo.html.placeOnScreenPoint=function(node,_3f6,_3f7,_3f8,_3f9){
if(dojo.lang.isArray(_3f6)){
_3f9=_3f8;
_3f8=_3f7;
_3f7=_3f6[1];
_3f6=_3f6[0];
}
var _3fa=dojo.html.getScrollOffset();
var view=dojo.html.getViewportSize();
node=dojo.byId(node);
var w=node.offsetWidth;
var h=node.offsetHeight;
if(_3f9){
_3f6-=_3fa.x;
_3f7-=_3fa.y;
}
var x=-1,y=-1;
if(_3f6+w<=view.w&&_3f7+h<=view.h){
x=_3f6;
y=_3f7;
}
if((x<0||y<0)&&_3f6<=view.w&&_3f7+h<=view.h){
x=_3f6-w;
y=_3f7;
}
if((x<0||y<0)&&_3f6+w<=view.w&&_3f7<=view.h){
x=_3f6;
y=_3f7-h;
}
if((x<0||y<0)&&_3f6<=view.w&&_3f7<=view.h){
x=_3f6-w;
y=_3f7-h;
}
if(x<0||y<0||(x+w>view.w)||(y+h>view.h)){
return dojo.html.placeOnScreen(node,_3f6,_3f7,_3f8,_3f9);
}
x+=_3fa.x;
y+=_3fa.y;
node.style.left=x+"px";
node.style.top=y+"px";
var ret=[x,y];
ret.x=x;
ret.y=y;
return ret;
};
dojo.html.BackgroundIframe=function(){
if(this.ie){
this.iframe=document.createElement("<iframe frameborder='0' src='about:blank'>");
var s=this.iframe.style;
s.position="absolute";
s.left=s.top="0px";
s.zIndex=2;
s.display="none";
dojo.style.setOpacity(this.iframe,0);
dojo.html.body().appendChild(this.iframe);
}else{
this.enabled=false;
}
};
dojo.lang.extend(dojo.html.BackgroundIframe,{ie:dojo.render.html.ie,enabled:true,visibile:false,iframe:null,sizeNode:null,sizeCoords:null,size:function(node){
if(!this.ie||!this.enabled){
return;
}
if(dojo.dom.isNode(node)){
this.sizeNode=node;
}else{
if(arguments.length>0){
this.sizeNode=null;
this.sizeCoords=node;
}
}
this.update();
},update:function(){
if(!this.ie||!this.enabled){
return;
}
if(this.sizeNode){
this.sizeCoords=dojo.html.toCoordinateArray(this.sizeNode,true);
}else{
if(this.sizeCoords){
this.sizeCoords=dojo.html.toCoordinateArray(this.sizeCoords,true);
}else{
return;
}
}
var s=this.iframe.style;
var dims=this.sizeCoords;
s.width=dims.w+"px";
s.height=dims.h+"px";
s.left=dims.x+"px";
s.top=dims.y+"px";
},setZIndex:function(node){
if(!this.ie||!this.enabled){
return;
}
if(dojo.dom.isNode(node)){
this.iframe.zIndex=dojo.html.getStyle(node,"z-index")-1;
}else{
if(!isNaN(node)){
this.iframe.zIndex=node;
}
}
},show:function(node){
if(!this.ie||!this.enabled){
return;
}
this.size(node);
this.iframe.style.display="block";
},hide:function(){
if(!this.ie){
return;
}
var s=this.iframe.style;
s.display="none";
s.width=s.height="1px";
},remove:function(){
dojo.dom.removeNode(this.iframe);
}});
dojo.provide("dojo.math.curves");
dojo.require("dojo.math");
dojo.math.curves={Line:function(_407,end){
this.start=_407;
this.end=end;
this.dimensions=_407.length;
for(var i=0;i<_407.length;i++){
_407[i]=Number(_407[i]);
}
for(var i=0;i<end.length;i++){
end[i]=Number(end[i]);
}
this.getValue=function(n){
var _40b=new Array(this.dimensions);
for(var i=0;i<this.dimensions;i++){
_40b[i]=((this.end[i]-this.start[i])*n)+this.start[i];
}
return _40b;
};
return this;
},Bezier:function(pnts){
this.getValue=function(step){
if(step>=1){
return this.p[this.p.length-1];
}
if(step<=0){
return this.p[0];
}
var _40f=new Array(this.p[0].length);
for(var k=0;j<this.p[0].length;k++){
_40f[k]=0;
}
for(var j=0;j<this.p[0].length;j++){
var C=0;
var D=0;
for(var i=0;i<this.p.length;i++){
C+=this.p[i][j]*this.p[this.p.length-1][0]*dojo.math.bernstein(step,this.p.length,i);
}
for(var l=0;l<this.p.length;l++){
D+=this.p[this.p.length-1][0]*dojo.math.bernstein(step,this.p.length,l);
}
_40f[j]=C/D;
}
return _40f;
};
this.p=pnts;
return this;
},CatmullRom:function(pnts,c){
this.getValue=function(step){
var _419=step*(this.p.length-1);
var node=Math.floor(_419);
var _41b=_419-node;
var i0=node-1;
if(i0<0){
i0=0;
}
var i=node;
var i1=node+1;
if(i1>=this.p.length){
i1=this.p.length-1;
}
var i2=node+2;
if(i2>=this.p.length){
i2=this.p.length-1;
}
var u=_41b;
var u2=_41b*_41b;
var u3=_41b*_41b*_41b;
var _423=new Array(this.p[0].length);
for(var k=0;k<this.p[0].length;k++){
var x1=(-this.c*this.p[i0][k])+((2-this.c)*this.p[i][k])+((this.c-2)*this.p[i1][k])+(this.c*this.p[i2][k]);
var x2=(2*this.c*this.p[i0][k])+((this.c-3)*this.p[i][k])+((3-2*this.c)*this.p[i1][k])+(-this.c*this.p[i2][k]);
var x3=(-this.c*this.p[i0][k])+(this.c*this.p[i1][k]);
var x4=this.p[i][k];
_423[k]=x1*u3+x2*u2+x3*u+x4;
}
return _423;
};
if(!c){
this.c=0.7;
}else{
this.c=c;
}
this.p=pnts;
return this;
},Arc:function(_429,end,ccw){
var _42c=dojo.math.points.midpoint(_429,end);
var _42d=dojo.math.points.translate(dojo.math.points.invert(_42c),_429);
var rad=Math.sqrt(Math.pow(_42d[0],2)+Math.pow(_42d[1],2));
var _42f=dojo.math.radToDeg(Math.atan(_42d[1]/_42d[0]));
if(_42d[0]<0){
_42f-=90;
}else{
_42f+=90;
}
dojo.math.curves.CenteredArc.call(this,_42c,rad,_42f,_42f+(ccw?-180:180));
},CenteredArc:function(_430,_431,_432,end){
this.center=_430;
this.radius=_431;
this.start=_432||0;
this.end=end;
this.getValue=function(n){
var _435=new Array(2);
var _436=dojo.math.degToRad(this.start+((this.end-this.start)*n));
_435[0]=this.center[0]+this.radius*Math.sin(_436);
_435[1]=this.center[1]-this.radius*Math.cos(_436);
return _435;
};
return this;
},Circle:function(_437,_438){
dojo.math.curves.CenteredArc.call(this,_437,_438,0,360);
return this;
},Path:function(){
var _439=[];
var _43a=[];
var _43b=[];
var _43c=0;
this.add=function(_43d,_43e){
if(_43e<0){
dojo.raise("dojo.math.curves.Path.add: weight cannot be less than 0");
}
_439.push(_43d);
_43a.push(_43e);
_43c+=_43e;
computeRanges();
};
this.remove=function(_43f){
for(var i=0;i<_439.length;i++){
if(_439[i]==_43f){
_439.splice(i,1);
_43c-=_43a.splice(i,1)[0];
break;
}
}
computeRanges();
};
this.removeAll=function(){
_439=[];
_43a=[];
_43c=0;
};
this.getValue=function(n){
var _442=false,value=0;
for(var i=0;i<_43b.length;i++){
var r=_43b[i];
if(n>=r[0]&&n<r[1]){
var subN=(n-r[0])/r[2];
value=_439[i].getValue(subN);
_442=true;
break;
}
}
if(!_442){
value=_439[_439.length-1].getValue(1);
}
for(j=0;j<i;j++){
value=dojo.math.points.translate(value,_439[j].getValue(1));
}
return value;
};
function computeRanges(){
var _446=0;
for(var i=0;i<_43a.length;i++){
var end=_446+_43a[i]/_43c;
var len=end-_446;
_43b[i]=[_446,end,len];
_446=end;
}
}
return this;
}};
dojo.provide("dojo.animation");
dojo.provide("dojo.animation.Animation");
dojo.require("dojo.lang");
dojo.require("dojo.math");
dojo.require("dojo.math.curves");
dojo.animation.Animation=function(_44a,_44b,_44c,_44d,rate){
this.curve=_44a;
this.duration=_44b;
this.repeatCount=_44d||0;
this.rate=rate||10;
if(_44c){
if(dojo.lang.isFunction(_44c.getValue)){
this.accel=_44c;
}else{
var i=0.35*_44c+0.5;
this.accel=new dojo.math.curves.CatmullRom([[0],[i],[1]],0.45);
}
}
};
dojo.lang.extend(dojo.animation.Animation,{curve:null,duration:0,repeatCount:0,accel:null,onBegin:null,onAnimate:null,onEnd:null,onPlay:null,onPause:null,onStop:null,handler:null,_animSequence:null,_startTime:null,_endTime:null,_lastFrame:null,_timer:null,_percent:0,_active:false,_paused:false,_startRepeatCount:0,play:function(_450){
if(_450){
clearTimeout(this._timer);
this._active=false;
this._paused=false;
this._percent=0;
}else{
if(this._active&&!this._paused){
return;
}
}
this._startTime=new Date().valueOf();
if(this._paused){
this._startTime-=(this.duration*this._percent/100);
}
this._endTime=this._startTime+this.duration;
this._lastFrame=this._startTime;
var e=new dojo.animation.AnimationEvent(this,null,this.curve.getValue(this._percent),this._startTime,this._startTime,this._endTime,this.duration,this._percent,0);
this._active=true;
this._paused=false;
if(this._percent==0){
if(!this._startRepeatCount){
this._startRepeatCount=this.repeatCount;
}
e.type="begin";
if(typeof this.handler=="function"){
this.handler(e);
}
if(typeof this.onBegin=="function"){
this.onBegin(e);
}
}
e.type="play";
if(typeof this.handler=="function"){
this.handler(e);
}
if(typeof this.onPlay=="function"){
this.onPlay(e);
}
if(this._animSequence){
this._animSequence.setCurrent(this);
}
this._cycle();
},pause:function(){
clearTimeout(this._timer);
if(!this._active){
return;
}
this._paused=true;
var e=new dojo.animation.AnimationEvent(this,"pause",this.curve.getValue(this._percent),this._startTime,new Date().valueOf(),this._endTime,this.duration,this._percent,0);
if(typeof this.handler=="function"){
this.handler(e);
}
if(typeof this.onPause=="function"){
this.onPause(e);
}
},playPause:function(){
if(!this._active||this._paused){
this.play();
}else{
this.pause();
}
},gotoPercent:function(pct,_454){
clearTimeout(this._timer);
this._active=true;
this._paused=true;
this._percent=pct;
if(_454){
this.play();
}
},stop:function(_455){
clearTimeout(this._timer);
var step=this._percent/100;
if(_455){
step=1;
}
var e=new dojo.animation.AnimationEvent(this,"stop",this.curve.getValue(step),this._startTime,new Date().valueOf(),this._endTime,this.duration,this._percent,Math.round(fps));
if(typeof this.handler=="function"){
this.handler(e);
}
if(typeof this.onStop=="function"){
this.onStop(e);
}
this._active=false;
this._paused=false;
},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);
fps=1000/(curr-this._lastFrame);
this._lastFrame=curr;
if(step>=1){
step=1;
this._percent=100;
}else{
this._percent=step*100;
}
if(this.accel&&this.accel.getValue){
step=this.accel.getValue(step);
}
var e=new dojo.animation.AnimationEvent(this,"animate",this.curve.getValue(step),this._startTime,curr,this._endTime,this.duration,this._percent,Math.round(fps));
if(typeof this.handler=="function"){
this.handler(e);
}
if(typeof this.onAnimate=="function"){
this.onAnimate(e);
}
if(step<1){
this._timer=setTimeout(dojo.lang.hitch(this,"_cycle"),this.rate);
}else{
e.type="end";
this._active=false;
if(typeof this.handler=="function"){
this.handler(e);
}
if(typeof this.onEnd=="function"){
this.onEnd(e);
}
if(this.repeatCount>0){
this.repeatCount--;
this.play(true);
}else{
if(this.repeatCount==-1){
this.play(true);
}else{
if(this._startRepeatCount){
this.repeatCount=this._startRepeatCount;
this._startRepeatCount=0;
}
if(this._animSequence){
this._animSequence.playNext();
}
}
}
}
}
}});
dojo.animation.AnimationEvent=function(anim,type,_45d,_45e,_45f,_460,dur,pct,fps){
this.type=type;
this.animation=anim;
this.coords=_45d;
this.x=_45d[0];
this.y=_45d[1];
this.z=_45d[2];
this.startTime=_45e;
this.currentTime=_45f;
this.endTime=_460;
this.duration=dur;
this.percent=pct;
this.fps=fps;
};
dojo.lang.extend(dojo.animation.AnimationEvent,{coordsAsInts:function(){
var _464=new Array(this.coords.length);
for(var i=0;i<this.coords.length;i++){
_464[i]=Math.round(this.coords[i]);
}
return _464;
}});
dojo.animation.AnimationSequence=function(_466){
this.repeatCount=_466||0;
};
dojo.lang.extend(dojo.animation.AnimationSequence,{repeateCount:0,_anims:[],_currAnim:-1,onBegin:null,onEnd:null,onNext:null,handler:null,add:function(){
for(var i=0;i<arguments.length;i++){
this._anims.push(arguments[i]);
arguments[i]._animSequence=this;
}
},remove:function(anim){
for(var i=0;i<this._anims.length;i++){
if(this._anims[i]==anim){
this._anims[i]._animSequence=null;
this._anims.splice(i,1);
break;
}
}
},removeAll:function(){
for(var i=0;i<this._anims.length;i++){
this._anims[i]._animSequence=null;
}
this._anims=[];
this._currAnim=-1;
},clear:function(){
this.removeAll();
},play:function(_46b){
if(this._anims.length==0){
return;
}
if(_46b||!this._anims[this._currAnim]){
this._currAnim=0;
}
if(this._anims[this._currAnim]){
if(this._currAnim==0){
var e={type:"begin",animation:this._anims[this._currAnim]};
if(typeof this.handler=="function"){
this.handler(e);
}
if(typeof this.onBegin=="function"){
this.onBegin(e);
}
}
this._anims[this._currAnim].play(_46b);
}
},pause:function(){
if(this._anims[this._currAnim]){
this._anims[this._currAnim].pause();
}
},playPause:function(){
if(this._anims.length==0){
return;
}
if(this._currAnim==-1){
this._currAnim=0;
}
if(this._anims[this._currAnim]){
this._anims[this._currAnim].playPause();
}
},stop:function(){
if(this._anims[this._currAnim]){
this._anims[this._currAnim].stop();
}
},status:function(){
if(this._anims[this._currAnim]){
return this._anims[this._currAnim].status();
}else{
return "stopped";
}
},setCurrent:function(anim){
for(var i=0;i<this._anims.length;i++){
if(this._anims[i]==anim){
this._currAnim=i;
break;
}
}
},playNext:function(){
if(this._currAnim==-1||this._anims.length==0){
return;
}
this._currAnim++;
if(this._anims[this._currAnim]){
var e={type:"next",animation:this._anims[this._currAnim]};
if(typeof this.handler=="function"){
this.handler(e);
}
if(typeof this.onNext=="function"){
this.onNext(e);
}
this._anims[this._currAnim].play(true);
}else{
var e={type:"end",animation:this._anims[this._anims.length-1]};
if(typeof this.handler=="function"){
this.handler(e);
}
if(typeof this.onEnd=="function"){
this.onEnd(e);
}
if(this.repeatCount>0){
this._currAnim=0;
this.repeatCount--;
this._anims[this._currAnim].play(true);
}else{
if(this.repeatCount==-1){
this._currAnim=0;
this._anims[this._currAnim].play(true);
}else{
this._currAnim=-1;
}
}
}
}});
dojo.hostenv.conditionalLoadModule({common:["dojo.animation.Animation",false,false]});
dojo.hostenv.moduleLoaded("dojo.animation.*");
dojo.provide("dojo.fx.html");
dojo.require("dojo.html");
dojo.require("dojo.style");
dojo.require("dojo.lang");
dojo.require("dojo.animation.*");
dojo.require("dojo.event.*");
dojo.require("dojo.graphics.color");
dojo.fx.html._makeFadeable=function(node){
if(dojo.render.html.ie){
if((node.style.zoom.length==0)&&(dojo.style.getStyle(node,"zoom")=="normal")){
node.style.zoom="1";
}
if((node.style.width.length==0)&&(dojo.style.getStyle(node,"width")=="auto")){
node.style.width="auto";
}
}
};
dojo.fx.html.fadeOut=function(node,_472,_473,_474){
return dojo.fx.html.fade(node,_472,dojo.style.getOpacity(node),0,_473,_474);
};
dojo.fx.html.fadeIn=function(node,_476,_477,_478){
return dojo.fx.html.fade(node,_476,dojo.style.getOpacity(node),1,_477,_478);
};
dojo.fx.html.fadeHide=function(node,_47a,_47b,_47c){
node=dojo.byId(node);
if(!_47a){
_47a=150;
}
return dojo.fx.html.fadeOut(node,_47a,function(node){
node.style.display="none";
if(typeof _47b=="function"){
_47b(node);
}
});
};
dojo.fx.html.fadeShow=function(node,_47f,_480,_481){
node=dojo.byId(node);
if(!_47f){
_47f=150;
}
node.style.display="block";
return dojo.fx.html.fade(node,_47f,0,1,_480,_481);
};
dojo.fx.html.fade=function(node,_483,_484,_485,_486,_487){
node=dojo.byId(node);
dojo.fx.html._makeFadeable(node);
var anim=new dojo.animation.Animation(new dojo.math.curves.Line([_484],[_485]),_483,0);
dojo.event.connect(anim,"onAnimate",function(e){
dojo.style.setOpacity(node,e.x);
});
if(_486){
dojo.event.connect(anim,"onEnd",function(e){
_486(node,anim);
});
}
if(!_487){
anim.play(true);
}
return anim;
};
dojo.fx.html.slideTo=function(node,_48c,_48d,_48e,_48f){
if(!dojo.lang.isNumber(_48c)){
var tmp=_48c;
_48c=_48d;
_48d=tmp;
}
node=dojo.byId(node);
var top=node.offsetTop;
var left=node.offsetLeft;
var pos=dojo.style.getComputedStyle(node,"position");
if(pos=="relative"||pos=="static"){
top=parseInt(dojo.style.getComputedStyle(node,"top"))||0;
left=parseInt(dojo.style.getComputedStyle(node,"left"))||0;
}
return dojo.fx.html.slide(node,_48c,[left,top],_48d,_48e,_48f);
};
dojo.fx.html.slideBy=function(node,_495,_496,_497,_498){
if(!dojo.lang.isNumber(_495)){
var tmp=_495;
_495=_496;
_496=tmp;
}
node=dojo.byId(node);
var top=node.offsetTop;
var left=node.offsetLeft;
var pos=dojo.style.getComputedStyle(node,"position");
if(pos=="relative"||pos=="static"){
top=parseInt(dojo.style.getComputedStyle(node,"top"))||0;
left=parseInt(dojo.style.getComputedStyle(node,"left"))||0;
}
return dojo.fx.html.slideTo(node,_495,[left+_496[0],top+_496[1]],_497,_498);
};
dojo.fx.html.slide=function(node,_49e,_49f,_4a0,_4a1,_4a2){
if(!dojo.lang.isNumber(_49e)){
var tmp=_49e;
_49e=_4a0;
_4a0=_49f;
_49f=tmp;
}
node=dojo.byId(node);
if(dojo.style.getComputedStyle(node,"position")=="static"){
node.style.position="relative";
}
var anim=new dojo.animation.Animation(new dojo.math.curves.Line(_49f,_4a0),_49e,0);
dojo.event.connect(anim,"onAnimate",function(e){
with(node.style){
left=e.x+"px";
top=e.y+"px";
}
});
if(_4a1){
dojo.event.connect(anim,"onEnd",function(e){
_4a1(node,anim);
});
}
if(!_4a2){
anim.play(true);
}
return anim;
};
dojo.fx.html.colorFadeIn=function(node,_4a8,_4a9,_4aa,_4ab,_4ac){
if(!dojo.lang.isNumber(_4a8)){
var tmp=_4a8;
_4a8=_4a9;
_4a9=tmp;
}
node=dojo.byId(node);
var _4ae=dojo.html.getBackgroundColor(node);
var bg=dojo.style.getStyle(node,"background-color").toLowerCase();
var _4b0=bg=="transparent"||bg=="rgba(0, 0, 0, 0)";
while(_4ae.length>3){
_4ae.pop();
}
var rgb=new dojo.graphics.color.Color(_4a9).toRgb();
var anim=dojo.fx.html.colorFade(node,_4a8,_4a9,_4ae,_4ab,true);
dojo.event.connect(anim,"onEnd",function(e){
if(_4b0){
node.style.backgroundColor="transparent";
}
});
if(_4aa>0){
node.style.backgroundColor="rgb("+rgb.join(",")+")";
if(!_4ac){
setTimeout(function(){
anim.play(true);
},_4aa);
}
}else{
if(!_4ac){
anim.play(true);
}
}
return anim;
};
dojo.fx.html.highlight=dojo.fx.html.colorFadeIn;
dojo.fx.html.colorFadeFrom=dojo.fx.html.colorFadeIn;
dojo.fx.html.colorFadeOut=function(node,_4b5,_4b6,_4b7,_4b8,_4b9){
if(!dojo.lang.isNumber(_4b5)){
var tmp=_4b5;
_4b5=_4b6;
_4b6=tmp;
}
node=dojo.byId(node);
var _4bb=new dojo.graphics.color.Color(dojo.html.getBackgroundColor(node)).toRgb();
var rgb=new dojo.graphics.color.Color(_4b6).toRgb();
var anim=dojo.fx.html.colorFade(node,_4b5,_4bb,rgb,_4b8,_4b7>0||_4b9);
if(_4b7>0){
node.style.backgroundColor="rgb("+_4bb.join(",")+")";
if(!_4b9){
setTimeout(function(){
anim.play(true);
},_4b7);
}
}
return anim;
};
dojo.fx.html.unhighlight=dojo.fx.html.colorFadeOut;
dojo.fx.html.colorFadeTo=dojo.fx.html.colorFadeOut;
dojo.fx.html.colorFade=function(node,_4bf,_4c0,_4c1,_4c2,_4c3){
if(!dojo.lang.isNumber(_4bf)){
var tmp=_4bf;
_4bf=_4c1;
_4c1=_4c0;
_4c0=tmp;
}
node=dojo.byId(node);
var _4c5=new dojo.graphics.color.Color(_4c0).toRgb();
var _4c6=new dojo.graphics.color.Color(_4c1).toRgb();
var anim=new dojo.animation.Animation(new dojo.math.curves.Line(_4c5,_4c6),_4bf,0);
dojo.event.connect(anim,"onAnimate",function(e){
node.style.backgroundColor="rgb("+e.coordsAsInts().join(",")+")";
});
if(_4c2){
dojo.event.connect(anim,"onEnd",function(e){
_4c2(node,anim);
});
}
if(!_4c3){
anim.play(true);
}
return anim;
};
dojo.fx.html.wipeIn=function(node,_4cb,_4cc,_4cd){
node=dojo.byId(node);
var _4ce=dojo.html.getStyle(node,"height");
var _4cf=dojo.lang.inArray(node.tagName.toLowerCase(),["tr","td","th"])?"":"block";
node.style.display=_4cf;
var _4d0=node.offsetHeight;
var anim=dojo.fx.html.wipeInToHeight(node,_4cb,_4d0,function(e){
node.style.height=_4ce||"auto";
if(_4cc){
_4cc(node,anim);
}
},_4cd);
};
dojo.fx.html.wipeInToHeight=function(node,_4d4,_4d5,_4d6,_4d7){
node=dojo.byId(node);
var _4d8=dojo.html.getStyle(node,"overflow");
node.style.height="0px";
node.style.display="none";
if(_4d8=="visible"){
node.style.overflow="hidden";
}
var _4d9=dojo.lang.inArray(node.tagName.toLowerCase(),["tr","td","th"])?"":"block";
node.style.display=_4d9;
var anim=new dojo.animation.Animation(new dojo.math.curves.Line([0],[_4d5]),_4d4,0);
dojo.event.connect(anim,"onAnimate",function(e){
node.style.height=Math.round(e.x)+"px";
});
dojo.event.connect(anim,"onEnd",function(e){
if(_4d8!="visible"){
node.style.overflow=_4d8;
}
if(_4d6){
_4d6(node,anim);
}
});
if(!_4d7){
anim.play(true);
}
return anim;
};
dojo.fx.html.wipeOut=function(node,_4de,_4df,_4e0){
node=dojo.byId(node);
var _4e1=dojo.html.getStyle(node,"overflow");
var _4e2=dojo.html.getStyle(node,"height");
var _4e3=node.offsetHeight;
node.style.overflow="hidden";
var anim=new dojo.animation.Animation(new dojo.math.curves.Line([_4e3],[0]),_4de,0);
dojo.event.connect(anim,"onAnimate",function(e){
node.style.height=Math.round(e.x)+"px";
});
dojo.event.connect(anim,"onEnd",function(e){
node.style.display="none";
node.style.overflow=_4e1;
node.style.height=_4e2||"auto";
if(_4df){
_4df(node,anim);
}
});
if(!_4e0){
anim.play(true);
}
return anim;
};
dojo.fx.html.explode=function(_4e7,_4e8,_4e9,_4ea,_4eb){
var _4ec=dojo.html.toCoordinateArray(_4e7);
var _4ed=document.createElement("div");
with(_4ed.style){
position="absolute";
border="1px solid black";
display="none";
}
dojo.html.body().appendChild(_4ed);
_4e8=dojo.byId(_4e8);
with(_4e8.style){
visibility="hidden";
display="block";
}
var _4ee=dojo.html.toCoordinateArray(_4e8);
with(_4e8.style){
display="none";
visibility="visible";
}
var anim=new dojo.animation.Animation(new dojo.math.curves.Line(_4ec,_4ee),_4e9,0);
dojo.event.connect(anim,"onBegin",function(e){
_4ed.style.display="block";
});
dojo.event.connect(anim,"onAnimate",function(e){
with(_4ed.style){
left=e.x+"px";
top=e.y+"px";
width=e.coords[2]+"px";
height=e.coords[3]+"px";
}
});
dojo.event.connect(anim,"onEnd",function(){
_4e8.style.display="block";
_4ed.parentNode.removeChild(_4ed);
if(_4ea){
_4ea(_4e8,anim);
}
});
if(!_4eb){
anim.play();
}
return anim;
};
dojo.fx.html.implode=function(_4f2,end,_4f4,_4f5,_4f6){
var _4f7=dojo.html.toCoordinateArray(_4f2);
var _4f8=dojo.html.toCoordinateArray(end);
_4f2=dojo.byId(_4f2);
var _4f9=document.createElement("div");
with(_4f9.style){
position="absolute";
border="1px solid black";
display="none";
}
dojo.html.body().appendChild(_4f9);
var anim=new dojo.animation.Animation(new dojo.math.curves.Line(_4f7,_4f8),_4f4,0);
dojo.event.connect(anim,"onBegin",function(e){
_4f2.style.display="none";
_4f9.style.display="block";
});
dojo.event.connect(anim,"onAnimate",function(e){
with(_4f9.style){
left=e.x+"px";
top=e.y+"px";
width=e.coords[2]+"px";
height=e.coords[3]+"px";
}
});
dojo.event.connect(anim,"onEnd",function(){
_4f9.parentNode.removeChild(_4f9);
if(_4f5){
_4f5(_4f2,anim);
}
});
if(!_4f6){
anim.play();
}
return anim;
};
dojo.fx.html.Exploder=function(_4fd,_4fe){
_4fd=dojo.byId(_4fd);
_4fe=dojo.byId(_4fe);
var _4ff=this;
this.waitToHide=500;
this.timeToShow=100;
this.waitToShow=200;
this.timeToHide=70;
this.autoShow=false;
this.autoHide=false;
var _500=null;
var _501=null;
var _502=null;
var _503=null;
var _504=null;
var _505=null;
this.showing=false;
this.onBeforeExplode=null;
this.onAfterExplode=null;
this.onBeforeImplode=null;
this.onAfterImplode=null;
this.onExploding=null;
this.onImploding=null;
this.timeShow=function(){
clearTimeout(_502);
_502=setTimeout(_4ff.show,_4ff.waitToShow);
};
this.show=function(){
clearTimeout(_502);
clearTimeout(_503);
if((_501&&_501.status()=="playing")||(_500&&_500.status()=="playing")||_4ff.showing){
return;
}
if(typeof _4ff.onBeforeExplode=="function"){
_4ff.onBeforeExplode(_4fd,_4fe);
}
_500=dojo.fx.html.explode(_4fd,_4fe,_4ff.timeToShow,function(e){
_4ff.showing=true;
if(typeof _4ff.onAfterExplode=="function"){
_4ff.onAfterExplode(_4fd,_4fe);
}
});
if(typeof _4ff.onExploding=="function"){
dojo.event.connect(_500,"onAnimate",this,"onExploding");
}
};
this.timeHide=function(){
clearTimeout(_502);
clearTimeout(_503);
if(_4ff.showing){
_503=setTimeout(_4ff.hide,_4ff.waitToHide);
}
};
this.hide=function(){
clearTimeout(_502);
clearTimeout(_503);
if(_500&&_500.status()=="playing"){
return;
}
_4ff.showing=false;
if(typeof _4ff.onBeforeImplode=="function"){
_4ff.onBeforeImplode(_4fd,_4fe);
}
_501=dojo.fx.html.implode(_4fe,_4fd,_4ff.timeToHide,function(e){
if(typeof _4ff.onAfterImplode=="function"){
_4ff.onAfterImplode(_4fd,_4fe);
}
});
if(typeof _4ff.onImploding=="function"){
dojo.event.connect(_501,"onAnimate",this,"onImploding");
}
};
dojo.event.connect(_4fd,"onclick",function(e){
if(_4ff.showing){
_4ff.hide();
}else{
_4ff.show();
}
});
dojo.event.connect(_4fd,"onmouseover",function(e){
if(_4ff.autoShow){
_4ff.timeShow();
}
});
dojo.event.connect(_4fd,"onmouseout",function(e){
if(_4ff.autoHide){
_4ff.timeHide();
}
});
dojo.event.connect(_4fe,"onmouseover",function(e){
clearTimeout(_503);
});
dojo.event.connect(_4fe,"onmouseout",function(e){
if(_4ff.autoHide){
_4ff.timeHide();
}
});
dojo.event.connect(document.documentElement||dojo.html.body(),"onclick",function(e){
if(_4ff.autoHide&&_4ff.showing&&!dojo.dom.isDescendantOf(e.target,_4fe)&&!dojo.dom.isDescendantOf(e.target,_4fd)){
_4ff.hide();
}
});
return this;
};
dojo.lang.mixin(dojo.fx,dojo.fx.html);
dojo.hostenv.conditionalLoadModule({browser:["dojo.fx.html"]});
dojo.hostenv.moduleLoaded("dojo.fx.*");
dojo.provide("dojo.graphics.htmlEffects");
dojo.require("dojo.fx.*");
dj_deprecated("dojo.graphics.htmlEffects is deprecated, use dojo.fx.html instead");
dojo.graphics.htmlEffects=dojo.fx.html;
dojo.hostenv.conditionalLoadModule({browser:["dojo.graphics.htmlEffects"]});
dojo.hostenv.moduleLoaded("dojo.graphics.*");

