/*
	Copyright (c) 2004-2006, The Dojo Foundation
	All Rights Reserved.

	Licensed under the Academic Free License version 2.1 or above OR the
	modified BSD license. For more information on Dojo licensing, see:

		http://dojotoolkit.org/community/licensing.shtml
*/

/*
	This is a compiled version of Dojo, built for deployment and not for
	development. To get an editable version, please visit:

		http://dojotoolkit.org

	for documentation and information on getting the source.
*/

if(typeof dojo=="undefined"){
var dj_global=this;
var dj_currentContext=this;
function dj_undef(_1,_2){
return (typeof (_2||dj_currentContext)[_1]=="undefined");
}
if(dj_undef("djConfig",this)){
var djConfig={};
}
if(dj_undef("dojo",this)){
var dojo={};
}
dojo.global=function(){
return dj_currentContext;
};
dojo.locale=djConfig.locale;
dojo.version={major:0,minor:0,patch:0,flag:"dev",revision:Number("$Rev:6425 $".match(/[0-9]+/)[0]),toString:function(){
with(dojo.version){
return major+"."+minor+"."+patch+flag+" ("+revision+")";
}
}};
dojo.evalProp=function(_3,_4,_5){
if((!_4)||(!_3)){
return undefined;
}
if(!dj_undef(_3,_4)){
return _4[_3];
}
return (_5?(_4[_3]={}):undefined);
};
dojo.parseObjPath=function(_6,_7,_8){
var _9=(_7||dojo.global());
var _a=_6.split(".");
var _b=_a.pop();
for(var i=0,l=_a.length;i<l&&_9;i++){
_9=dojo.evalProp(_a[i],_9,_8);
}
return {obj:_9,prop:_b};
};
dojo.evalObjPath=function(_e,_f){
if(typeof _e!="string"){
return dojo.global();
}
if(_e.indexOf(".")==-1){
return dojo.evalProp(_e,dojo.global(),_f);
}
var ref=dojo.parseObjPath(_e,dojo.global(),_f);
if(ref){
return dojo.evalProp(ref.prop,ref.obj,_f);
}
return null;
};
dojo.errorToString=function(_11){
if(!dj_undef("message",_11)){
return _11.message;
}else{
if(!dj_undef("description",_11)){
return _11.description;
}else{
return _11;
}
}
};
dojo.raise=function(_12,_13){
if(_13){
_12=_12+": "+dojo.errorToString(_13);
}else{
_12=dojo.errorToString(_12);
}
try{
if(djConfig.isDebug){
dojo.hostenv.println("FATAL exception raised: "+_12);
}
}
catch(e){
}
throw _13||Error(_12);
};
dojo.debug=function(){
};
dojo.debugShallow=function(obj){
};
dojo.profile={start:function(){
},end:function(){
},stop:function(){
},dump:function(){
}};
function dj_eval(_15){
return dj_global.eval?dj_global.eval(_15):eval(_15);
}
dojo.unimplemented=function(_16,_17){
var _18="'"+_16+"' not implemented";
if(_17!=null){
_18+=" "+_17;
}
dojo.raise(_18);
};
dojo.deprecated=function(_19,_1a,_1b){
var _1c="DEPRECATED: "+_19;
if(_1a){
_1c+=" "+_1a;
}
if(_1b){
_1c+=" -- will be removed in version: "+_1b;
}
dojo.debug(_1c);
};
dojo.render=(function(){
function vscaffold(_1d,_1e){
var tmp={capable:false,support:{builtin:false,plugin:false},prefixes:_1d};
for(var i=0;i<_1e.length;i++){
tmp[_1e[i]]=false;
}
return tmp;
}
return {name:"",ver:dojo.version,os:{win:false,linux:false,osx:false},html:vscaffold(["html"],["ie","opera","khtml","safari","moz"]),svg:vscaffold(["svg"],["corel","adobe","batik"]),vml:vscaffold(["vml"],["ie"]),swf:vscaffold(["Swf","Flash","Mm"],["mm"]),swt:vscaffold(["Swt"],["ibm"])};
})();
dojo.hostenv=(function(){
var _21={isDebug:false,allowQueryConfig:false,baseScriptUri:"",baseRelativePath:"",libraryScriptUri:"",iePreventClobber:false,ieClobberMinimal:true,preventBackButtonFix:true,delayMozLoadingFix:false,searchIds:[],parseWidgets:true};
if(typeof djConfig=="undefined"){
djConfig=_21;
}else{
for(var _22 in _21){
if(typeof djConfig[_22]=="undefined"){
djConfig[_22]=_21[_22];
}
}
}
return {name_:"(unset)",version_:"(unset)",getName:function(){
return this.name_;
},getVersion:function(){
return this.version_;
},getText:function(uri){
dojo.unimplemented("getText","uri="+uri);
}};
})();
dojo.hostenv.getBaseScriptUri=function(){
if(djConfig.baseScriptUri.length){
return djConfig.baseScriptUri;
}
var uri=new String(djConfig.libraryScriptUri||djConfig.baseRelativePath);
if(!uri){
dojo.raise("Nothing returned by getLibraryScriptUri(): "+uri);
}
var _25=uri.lastIndexOf("/");
djConfig.baseScriptUri=djConfig.baseRelativePath;
return djConfig.baseScriptUri;
};
(function(){
var _26={pkgFileName:"__package__",loading_modules_:{},loaded_modules_:{},addedToLoadingCount:[],removedFromLoadingCount:[],inFlightCount:0,modulePrefixes_:{dojo:{name:"dojo",value:"src"}},setModulePrefix:function(_27,_28){
this.modulePrefixes_[_27]={name:_27,value:_28};
},moduleHasPrefix:function(_29){
var mp=this.modulePrefixes_;
return Boolean(mp[_29]&&mp[_29].value);
},getModulePrefix:function(_2b){
if(this.moduleHasPrefix(_2b)){
return this.modulePrefixes_[_2b].value;
}
return _2b;
},getTextStack:[],loadUriStack:[],loadedUris:[],post_load_:false,modulesLoadedListeners:[],unloadListeners:[],loadNotifying:false};
for(var _2c in _26){
dojo.hostenv[_2c]=_26[_2c];
}
})();
dojo.hostenv.loadPath=function(_2d,_2e,cb){
var uri;
if(_2d.charAt(0)=="/"||_2d.match(/^\w+:/)){
uri=_2d;
}else{
uri=this.getBaseScriptUri()+_2d;
}
if(djConfig.cacheBust&&dojo.render.html.capable){
uri+="?"+String(djConfig.cacheBust).replace(/\W+/g,"");
}
try{
return !_2e?this.loadUri(uri,cb):this.loadUriAndCheck(uri,_2e,cb);
}
catch(e){
dojo.debug(e);
return false;
}
};
dojo.hostenv.loadUri=function(uri,cb){
if(this.loadedUris[uri]){
return true;
}
var _33=this.getText(uri,null,true);
if(!_33){
return false;
}
this.loadedUris[uri]=true;
if(cb){
_33="("+_33+")";
}
var _34=dj_eval(_33);
if(cb){
cb(_34);
}
return true;
};
dojo.hostenv.loadUriAndCheck=function(uri,_36,cb){
var ok=true;
try{
ok=this.loadUri(uri,cb);
}
catch(e){
dojo.debug("failed loading ",uri," with error: ",e);
}
return Boolean(ok&&this.findModule(_36,false));
};
dojo.loaded=function(){
};
dojo.unloaded=function(){
};
dojo.hostenv.loaded=function(){
this.loadNotifying=true;
this.post_load_=true;
var mll=this.modulesLoadedListeners;
for(var x=0;x<mll.length;x++){
mll[x]();
}
this.modulesLoadedListeners=[];
this.loadNotifying=false;
dojo.loaded();
};
dojo.hostenv.unloaded=function(){
var mll=this.unloadListeners;
while(mll.length){
(mll.pop())();
}
dojo.unloaded();
};
dojo.addOnLoad=function(obj,_3d){
var dh=dojo.hostenv;
if(arguments.length==1){
dh.modulesLoadedListeners.push(obj);
}else{
if(arguments.length>1){
dh.modulesLoadedListeners.push(function(){
obj[_3d]();
});
}
}
if(dh.post_load_&&dh.inFlightCount==0&&!dh.loadNotifying){
dh.callLoaded();
}
};
dojo.addOnUnload=function(obj,_40){
var dh=dojo.hostenv;
if(arguments.length==1){
dh.unloadListeners.push(obj);
}else{
if(arguments.length>1){
dh.unloadListeners.push(function(){
obj[_40]();
});
}
}
};
dojo.hostenv.modulesLoaded=function(){
if(this.post_load_){
return;
}
if(this.loadUriStack.length==0&&this.getTextStack.length==0){
if(this.inFlightCount>0){
dojo.debug("files still in flight!");
return;
}
dojo.hostenv.callLoaded();
}
};
dojo.hostenv.callLoaded=function(){
if(typeof setTimeout=="object"){
setTimeout("dojo.hostenv.loaded();",0);
}else{
dojo.hostenv.loaded();
}
};
dojo.hostenv.getModuleSymbols=function(_42){
var _43=_42.split(".");
for(var i=_43.length;i>0;i--){
var _45=_43.slice(0,i).join(".");
if((i==1)&&!this.moduleHasPrefix(_45)){
_43[0]="../"+_43[0];
}else{
var _46=this.getModulePrefix(_45);
if(_46!=_45){
_43.splice(0,i,_46);
break;
}
}
}
return _43;
};
dojo.hostenv._global_omit_module_check=false;
dojo.hostenv.loadModule=function(_47,_48,_49){
if(!_47){
return;
}
_49=this._global_omit_module_check||_49;
var _4a=this.findModule(_47,false);
if(_4a){
return _4a;
}
if(dj_undef(_47,this.loading_modules_)){
this.addedToLoadingCount.push(_47);
}
this.loading_modules_[_47]=1;
var _4b=_47.replace(/\./g,"/")+".js";
var _4c=_47.split(".");
var _4d=this.getModuleSymbols(_47);
var _4e=((_4d[0].charAt(0)!="/")&&!_4d[0].match(/^\w+:/));
var _4f=_4d[_4d.length-1];
var ok;
if(_4f=="*"){
_47=_4c.slice(0,-1).join(".");
while(_4d.length){
_4d.pop();
_4d.push(this.pkgFileName);
_4b=_4d.join("/")+".js";
if(_4e&&_4b.charAt(0)=="/"){
_4b=_4b.slice(1);
}
ok=this.loadPath(_4b,!_49?_47:null);
if(ok){
break;
}
_4d.pop();
}
}else{
_4b=_4d.join("/")+".js";
_47=_4c.join(".");
var _51=!_49?_47:null;
ok=this.loadPath(_4b,_51);
if(!ok&&!_48){
_4d.pop();
while(_4d.length){
_4b=_4d.join("/")+".js";
ok=this.loadPath(_4b,_51);
if(ok){
break;
}
_4d.pop();
_4b=_4d.join("/")+"/"+this.pkgFileName+".js";
if(_4e&&_4b.charAt(0)=="/"){
_4b=_4b.slice(1);
}
ok=this.loadPath(_4b,_51);
if(ok){
break;
}
}
}
if(!ok&&!_49){
dojo.raise("Could not load '"+_47+"'; last tried '"+_4b+"'");
}
}
if(!_49&&!this["isXDomain"]){
_4a=this.findModule(_47,false);
if(!_4a){
dojo.raise("symbol '"+_47+"' is not defined after loading '"+_4b+"'");
}
}
return _4a;
};
dojo.hostenv.startPackage=function(_52){
var _53=String(_52);
var _54=_53;
var _55=_52.split(/\./);
if(_55[_55.length-1]=="*"){
_55.pop();
_54=_55.join(".");
}
var _56=dojo.evalObjPath(_54,true);
this.loaded_modules_[_53]=_56;
this.loaded_modules_[_54]=_56;
return _56;
};
dojo.hostenv.findModule=function(_57,_58){
var lmn=String(_57);
if(this.loaded_modules_[lmn]){
return this.loaded_modules_[lmn];
}
if(_58){
dojo.raise("no loaded module named '"+_57+"'");
}
return null;
};
dojo.kwCompoundRequire=function(_5a){
var _5b=_5a["common"]||[];
var _5c=_5a[dojo.hostenv.name_]?_5b.concat(_5a[dojo.hostenv.name_]||[]):_5b.concat(_5a["default"]||[]);
for(var x=0;x<_5c.length;x++){
var _5e=_5c[x];
if(_5e.constructor==Array){
dojo.hostenv.loadModule.apply(dojo.hostenv,_5e);
}else{
dojo.hostenv.loadModule(_5e);
}
}
};
dojo.require=function(_5f){
dojo.hostenv.loadModule.apply(dojo.hostenv,arguments);
};
dojo.requireIf=function(_60,_61){
var _62=arguments[0];
if((_62===true)||(_62=="common")||(_62&&dojo.render[_62].capable)){
var _63=[];
for(var i=1;i<arguments.length;i++){
_63.push(arguments[i]);
}
dojo.require.apply(dojo,_63);
}
};
dojo.requireAfterIf=dojo.requireIf;
dojo.provide=function(_65){
return dojo.hostenv.startPackage.apply(dojo.hostenv,arguments);
};
dojo.registerModulePath=function(_66,_67){
return dojo.hostenv.setModulePrefix(_66,_67);
};
dojo.setModulePrefix=function(_68,_69){
dojo.deprecated("dojo.setModulePrefix(\""+_68+"\", \""+_69+"\")","replaced by dojo.registerModulePath","0.5");
return dojo.registerModulePath(_68,_69);
};
dojo.exists=function(obj,_6b){
var p=_6b.split(".");
for(var i=0;i<p.length;i++){
if(!obj[p[i]]){
return false;
}
obj=obj[p[i]];
}
return true;
};
dojo.hostenv.normalizeLocale=function(_6e){
return _6e?_6e.toLowerCase():dojo.locale;
};
dojo.hostenv.searchLocalePath=function(_6f,_70,_71){
_6f=dojo.hostenv.normalizeLocale(_6f);
var _72=_6f.split("-");
var _73=[];
for(var i=_72.length;i>0;i--){
_73.push(_72.slice(0,i).join("-"));
}
_73.push(false);
if(_70){
_73.reverse();
}
for(var j=_73.length-1;j>=0;j--){
var loc=_73[j]||"ROOT";
var _77=_71(loc);
if(_77){
break;
}
}
};
dojo.hostenv.localesGenerated;
dojo.hostenv.registerNlsPrefix=function(){
dojo.registerModulePath("nls","nls");
};
dojo.hostenv.preloadLocalizations=function(){
if(dojo.hostenv.localesGenerated){
dojo.hostenv.registerNlsPrefix();
function preload(_78){
_78=dojo.hostenv.normalizeLocale(_78);
dojo.hostenv.searchLocalePath(_78,true,function(loc){
for(var i=0;i<dojo.hostenv.localesGenerated.length;i++){
if(dojo.hostenv.localesGenerated[i]==loc){
dojo["require"]("nls.dojo_"+loc);
return true;
}
}
return false;
});
}
preload();
var _7b=djConfig.extraLocale||[];
for(var i=0;i<_7b.length;i++){
preload(_7b[i]);
}
}
dojo.hostenv.preloadLocalizations=function(){
};
};
dojo.requireLocalization=function(_7d,_7e,_7f){
dojo.hostenv.preloadLocalizations();
var _80=[_7d,"nls",_7e].join(".");
var _81=dojo.hostenv.findModule(_80);
if(_81){
if(djConfig.localizationComplete&&_81._built){
return;
}
var _82=dojo.hostenv.normalizeLocale(_7f).replace("-","_");
var _83=_80+"."+_82;
if(dojo.hostenv.findModule(_83)){
return;
}
}
_81=dojo.hostenv.startPackage(_80);
var _84=dojo.hostenv.getModuleSymbols(_7d);
var _85=_84.concat("nls").join("/");
var _86;
dojo.hostenv.searchLocalePath(_7f,false,function(loc){
var _88=loc.replace("-","_");
var _89=_80+"."+_88;
var _8a=false;
if(!dojo.hostenv.findModule(_89)){
dojo.hostenv.startPackage(_89);
var _8b=[_85];
if(loc!="ROOT"){
_8b.push(loc);
}
_8b.push(_7e);
var _8c=_8b.join("/")+".js";
_8a=dojo.hostenv.loadPath(_8c,null,function(_8d){
var _8e=function(){
};
_8e.prototype=_86;
_81[_88]=new _8e();
for(var j in _8d){
_81[_88][j]=_8d[j];
}
});
}else{
_8a=true;
}
if(_8a&&_81[_88]){
_86=_81[_88];
}else{
_81[_88]=_86;
}
});
};
(function(){
var _90=djConfig.extraLocale;
if(_90){
if(!_90 instanceof Array){
_90=[_90];
}
var req=dojo.requireLocalization;
dojo.requireLocalization=function(m,b,_94){
req(m,b,_94);
if(_94){
return;
}
for(var i=0;i<_90.length;i++){
req(m,b,_90[i]);
}
};
}
})();
}
if(typeof window!="undefined"){
(function(){
if(djConfig.allowQueryConfig){
var _96=document.location.toString();
var _97=_96.split("?",2);
if(_97.length>1){
var _98=_97[1];
var _99=_98.split("&");
for(var x in _99){
var sp=_99[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 _9d=document.getElementsByTagName("script");
var _9e=/(__package__|dojo|bootstrap1)\.js([\?\.]|$)/i;
for(var i=0;i<_9d.length;i++){
var src=_9d[i].getAttribute("src");
if(!src){
continue;
}
var m=src.match(_9e);
if(m){
var _a2=src.substring(0,m.index);
if(src.indexOf("bootstrap1")>-1){
_a2+="../";
}
if(!this["djConfig"]){
djConfig={};
}
if(djConfig["baseScriptUri"]==""){
djConfig["baseScriptUri"]=_a2;
}
if(djConfig["baseRelativePath"]==""){
djConfig["baseRelativePath"]=_a2;
}
break;
}
}
}
var dr=dojo.render;
var drh=dojo.render.html;
var drs=dojo.render.svg;
var dua=(drh.UA=navigator.userAgent);
var dav=(drh.AV=navigator.appVersion);
var t=true;
var f=false;
drh.capable=t;
drh.support.builtin=t;
dr.ver=parseFloat(drh.AV);
dr.os.mac=dav.indexOf("Macintosh")>=0;
dr.os.win=dav.indexOf("Windows")>=0;
dr.os.linux=dav.indexOf("X11")>=0;
drh.opera=dua.indexOf("Opera")>=0;
drh.khtml=(dav.indexOf("Konqueror")>=0)||(dav.indexOf("Safari")>=0);
drh.safari=dav.indexOf("Safari")>=0;
var _aa=dua.indexOf("Gecko");
drh.mozilla=drh.moz=(_aa>=0)&&(!drh.khtml);
if(drh.mozilla){
drh.geckoVersion=dua.substring(_aa+6,_aa+14);
}
drh.ie=(document.all)&&(!drh.opera);
drh.ie50=drh.ie&&dav.indexOf("MSIE 5.0")>=0;
drh.ie55=drh.ie&&dav.indexOf("MSIE 5.5")>=0;
drh.ie60=drh.ie&&dav.indexOf("MSIE 6.0")>=0;
drh.ie70=drh.ie&&dav.indexOf("MSIE 7.0")>=0;
var cm=document["compatMode"];
drh.quirks=(cm=="BackCompat")||(cm=="QuirksMode")||drh.ie55||drh.ie50;
dojo.locale=dojo.locale||(drh.ie?navigator.userLanguage:navigator.language).toLowerCase();
dr.vml.capable=drh.ie;
drs.capable=f;
drs.support.plugin=f;
drs.support.builtin=f;
var _ac=window["document"];
var tdi=_ac["implementation"];
if((tdi)&&(tdi["hasFeature"])&&(tdi.hasFeature("org.w3c.dom.svg","1.0"))){
drs.capable=t;
drs.support.builtin=t;
drs.support.plugin=f;
}
if(drh.safari){
var tmp=dua.split("AppleWebKit/")[1];
var ver=parseFloat(tmp.split(" ")[0]);
if(ver>=420){
drs.capable=t;
drs.support.builtin=t;
drs.support.plugin=f;
}
}else{
}
})();
dojo.hostenv.startPackage("dojo.hostenv");
dojo.render.name=dojo.hostenv.name_="browser";
dojo.hostenv.searchIds=[];
dojo.hostenv._XMLHTTP_PROGIDS=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"];
dojo.hostenv.getXmlhttpObject=function(){
var _b0=null;
var _b1=null;
try{
_b0=new XMLHttpRequest();
}
catch(e){
}
if(!_b0){
for(var i=0;i<3;++i){
var _b3=dojo.hostenv._XMLHTTP_PROGIDS[i];
try{
_b0=new ActiveXObject(_b3);
}
catch(e){
_b1=e;
}
if(_b0){
dojo.hostenv._XMLHTTP_PROGIDS=[_b3];
break;
}
}
}
if(!_b0){
return dojo.raise("XMLHTTP not available",_b1);
}
return _b0;
};
dojo.hostenv._blockAsync=false;
dojo.hostenv.getText=function(uri,_b5,_b6){
if(!_b5){
this._blockAsync=true;
}
var _b7=this.getXmlhttpObject();
function isDocumentOk(_b8){
var _b9=_b8["status"];
return Boolean((!_b9)||((200<=_b9)&&(300>_b9))||(_b9==304));
}
if(_b5){
var _ba=this,_bb=null,gbl=dojo.global();
var xhr=dojo.evalObjPath("dojo.io.XMLHTTPTransport");
_b7.onreadystatechange=function(){
if(_bb){
gbl.clearTimeout(_bb);
_bb=null;
}
if(_ba._blockAsync||(xhr&&xhr._blockAsync)){
_bb=gbl.setTimeout(function(){
_b7.onreadystatechange.apply(this);
},10);
}else{
if(4==_b7.readyState){
if(isDocumentOk(_b7)){
_b5(_b7.responseText);
}
}
}
};
}
_b7.open("GET",uri,_b5?true:false);
try{
_b7.send(null);
if(_b5){
return null;
}
if(!isDocumentOk(_b7)){
var err=Error("Unable to load "+uri+" status:"+_b7.status);
err.status=_b7.status;
err.responseText=_b7.responseText;
throw err;
}
}
catch(e){
this._blockAsync=false;
if((_b6)&&(!_b5)){
return null;
}else{
throw e;
}
}
this._blockAsync=false;
return _b7.responseText;
};
dojo.hostenv.defaultDebugContainerId="dojoDebug";
dojo.hostenv._println_buffer=[];
dojo.hostenv._println_safe=false;
dojo.hostenv.println=function(_bf){
if(!dojo.hostenv._println_safe){
dojo.hostenv._println_buffer.push(_bf);
}else{
try{
var _c0=document.getElementById(djConfig.debugContainerId?djConfig.debugContainerId:dojo.hostenv.defaultDebugContainerId);
if(!_c0){
_c0=dojo.body();
}
var div=document.createElement("div");
div.appendChild(document.createTextNode(_bf));
_c0.appendChild(div);
}
catch(e){
try{
document.write("<div>"+_bf+"</div>");
}
catch(e2){
window.status=_bf;
}
}
}
};
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(_c2,_c3,fp){
var _c5=_c2["on"+_c3]||function(){
};
_c2["on"+_c3]=function(){
fp.apply(_c2,arguments);
_c5.apply(_c2,arguments);
};
return true;
}
function dj_load_init(e){
var _c7=(e&&e.type)?e.type.toLowerCase():"load";
if(arguments.callee.initialized||(_c7!="domcontentloaded"&&_c7!="load")){
return;
}
arguments.callee.initialized=true;
if(typeof (_timer)!="undefined"){
clearInterval(_timer);
delete _timer;
}
var _c8=function(){
if(dojo.render.html.ie){
dojo.hostenv.makeWidgets();
}
};
if(dojo.hostenv.inFlightCount==0){
_c8();
dojo.hostenv.modulesLoaded();
}else{
dojo.hostenv.modulesLoadedListeners.unshift(_c8);
}
}
if(document.addEventListener){
if(dojo.render.html.opera||(dojo.render.html.moz&&!djConfig.delayMozLoadingFix)){
document.addEventListener("DOMContentLoaded",dj_load_init,null);
}
window.addEventListener("load",dj_load_init,null);
}
if(dojo.render.html.ie&&dojo.render.os.win){
document.write("<scr"+"ipt defer src=\"//:\" "+"onreadystatechange=\"if(this.readyState=='complete'){dj_load_init();}\">"+"</scr"+"ipt>");
}
if(/(WebKit|khtml)/i.test(navigator.userAgent)){
var _timer=setInterval(function(){
if(/loaded|complete/.test(document.readyState)){
dj_load_init();
}
},10);
}
if(dojo.render.html.ie){
dj_addNodeEvtHdlr(window,"beforeunload",function(){
dojo.hostenv._unloading=true;
window.setTimeout(function(){
dojo.hostenv._unloading=false;
},0);
});
}
dj_addNodeEvtHdlr(window,"unload",function(){
dojo.hostenv.unloaded();
if((!dojo.render.html.ie)||(dojo.render.html.ie&&dojo.hostenv._unloading)){
dojo.hostenv.unloaded();
}
});
dojo.hostenv.makeWidgets=function(){
var _c9=[];
if(djConfig.searchIds&&djConfig.searchIds.length>0){
_c9=_c9.concat(djConfig.searchIds);
}
if(dojo.hostenv.searchIds&&dojo.hostenv.searchIds.length>0){
_c9=_c9.concat(dojo.hostenv.searchIds);
}
if((djConfig.parseWidgets)||(_c9.length>0)){
if(dojo.evalObjPath("dojo.widget.Parse")){
var _ca=new dojo.xml.Parse();
if(_c9.length>0){
for(var x=0;x<_c9.length;x++){
var _cc=document.getElementById(_c9[x]);
if(!_cc){
continue;
}
var _cd=_ca.parseElement(_cc,null,true);
dojo.widget.getParser().createComponents(_cd);
}
}else{
if(djConfig.parseWidgets){
var _cd=_ca.parseElement(dojo.body(),null,true);
dojo.widget.getParser().createComponents(_cd);
}
}
}
}
};
dojo.addOnLoad(function(){
if(!dojo.render.html.ie){
dojo.hostenv.makeWidgets();
}
});
try{
if(dojo.render.html.ie){
document.namespaces.add("v","urn:schemas-microsoft-com:vml");
document.createStyleSheet().addRule("v\\:*","behavior:url(#default#VML)");
}
}
catch(e){
}
dojo.hostenv.writeIncludes=function(){
};
if(!dj_undef("document",this)){
dj_currentDocument=this.document;
}
dojo.doc=function(){
return dj_currentDocument;
};
dojo.body=function(){
return dojo.doc().body||dojo.doc().getElementsByTagName("body")[0];
};
dojo.byId=function(id,doc){
if((id)&&((typeof id=="string")||(id instanceof String))){
if(!doc){
doc=dj_currentDocument;
}
var ele=doc.getElementById(id);
if(ele&&(ele.id!=id)&&doc.all){
ele=null;
eles=doc.all[id];
if(eles){
if(eles.length){
for(var i=0;i<eles.length;i++){
if(eles[i].id==id){
ele=eles[i];
break;
}
}
}else{
ele=eles;
}
}
}
return ele;
}
return id;
};
dojo.setContext=function(_d2,_d3){
dj_currentContext=_d2;
dj_currentDocument=_d3;
};
dojo._fireCallback=function(_d4,_d5,_d6){
if((_d5)&&((typeof _d4=="string")||(_d4 instanceof String))){
_d4=_d5[_d4];
}
return (_d5?_d4.apply(_d5,_d6||[]):_d4());
};
dojo.withGlobal=function(_d7,_d8,_d9,_da){
var _db;
var _dc=dj_currentContext;
var _dd=dj_currentDocument;
try{
dojo.setContext(_d7,_d7.document);
_db=dojo._fireCallback(_d8,_d9,_da);
}
finally{
dojo.setContext(_dc,_dd);
}
return _db;
};
dojo.withDoc=function(_de,_df,_e0,_e1){
var _e2;
var _e3=dj_currentDocument;
try{
dj_currentDocument=_de;
_e2=dojo._fireCallback(_df,_e0,_e1);
}
finally{
dj_currentDocument=_e3;
}
return _e2;
};
}
(function(){
if(typeof dj_usingBootstrap!="undefined"){
return;
}
var _e4=false;
var _e5=false;
var _e6=false;
if((typeof this["load"]=="function")&&((typeof this["Packages"]=="function")||(typeof this["Packages"]=="object"))){
_e4=true;
}else{
if(typeof this["load"]=="function"){
_e5=true;
}else{
if(window.widget){
_e6=true;
}
}
}
var _e7=[];
if((this["djConfig"])&&((djConfig["isDebug"])||(djConfig["debugAtAllCosts"]))){
_e7.push("debug.js");
}
if((this["djConfig"])&&(djConfig["debugAtAllCosts"])&&(!_e4)&&(!_e6)){
_e7.push("browser_debug.js");
}
var _e8=djConfig["baseScriptUri"];
if((this["djConfig"])&&(djConfig["baseLoaderUri"])){
_e8=djConfig["baseLoaderUri"];
}
for(var x=0;x<_e7.length;x++){
var _ea=_e8+"src/"+_e7[x];
if(_e4||_e5){
load(_ea);
}else{
try{
document.write("<scr"+"ipt type='text/javascript' src='"+_ea+"'></scr"+"ipt>");
}
catch(e){
var _eb=document.createElement("script");
_eb.src=_ea;
document.getElementsByTagName("head")[0].appendChild(_eb);
}
}
}
})();
dojo.provide("dojo.lang.common");
dojo.lang.inherits=function(_ec,_ed){
if(typeof _ed!="function"){
dojo.raise("dojo.inherits: superclass argument ["+_ed+"] must be a function (subclass: ["+_ec+"']");
}
_ec.prototype=new _ed();
_ec.prototype.constructor=_ec;
_ec.superclass=_ed.prototype;
_ec["super"]=_ed.prototype;
};
dojo.lang._mixin=function(obj,_ef){
var _f0={};
for(var x in _ef){
if((typeof _f0[x]=="undefined")||(_f0[x]!=_ef[x])){
obj[x]=_ef[x];
}
}
if(dojo.render.html.ie&&(typeof (_ef["toString"])=="function")&&(_ef["toString"]!=obj["toString"])&&(_ef["toString"]!=_f0["toString"])){
obj.toString=_ef.toString;
}
return obj;
};
dojo.lang.mixin=function(obj,_f3){
for(var i=1,l=arguments.length;i<l;i++){
dojo.lang._mixin(obj,arguments[i]);
}
return obj;
};
dojo.lang.extend=function(_f6,_f7){
for(var i=1,l=arguments.length;i<l;i++){
dojo.lang._mixin(_f6.prototype,arguments[i]);
}
return _f6;
};
dojo.lang._delegate=function(obj){
function TMP(){
}
TMP.prototype=obj;
return new TMP();
};
dojo.inherits=dojo.lang.inherits;
dojo.mixin=dojo.lang.mixin;
dojo.extend=dojo.lang.extend;
dojo.lang.find=function(_fb,_fc,_fd,_fe){
if(!dojo.lang.isArrayLike(_fb)&&dojo.lang.isArrayLike(_fc)){
dojo.deprecated("dojo.lang.find(value, array)","use dojo.lang.find(array, value) instead","0.5");
var _ff=_fb;
_fb=_fc;
_fc=_ff;
}
var _100=dojo.lang.isString(_fb);
if(_100){
_fb=_fb.split("");
}
if(_fe){
var step=-1;
var i=_fb.length-1;
var end=-1;
}else{
var step=1;
var i=0;
var end=_fb.length;
}
if(_fd){
while(i!=end){
if(_fb[i]===_fc){
return i;
}
i+=step;
}
}else{
while(i!=end){
if(_fb[i]==_fc){
return i;
}
i+=step;
}
}
return -1;
};
dojo.lang.indexOf=dojo.lang.find;
dojo.lang.findLast=function(_104,_105,_106){
return dojo.lang.find(_104,_105,_106,true);
};
dojo.lang.lastIndexOf=dojo.lang.findLast;
dojo.lang.inArray=function(_107,_108){
return dojo.lang.find(_107,_108)>-1;
};
dojo.lang.isObject=function(it){
if(typeof it=="undefined"){
return false;
}
return (typeof it=="object"||it===null||dojo.lang.isArray(it)||dojo.lang.isFunction(it));
};
dojo.lang.isArray=function(it){
return (it&&it instanceof Array||typeof it=="array");
};
dojo.lang.isArrayLike=function(it){
if((!it)||(dojo.lang.isUndefined(it))){
return false;
}
if(dojo.lang.isString(it)){
return false;
}
if(dojo.lang.isFunction(it)){
return false;
}
if(dojo.lang.isArray(it)){
return true;
}
if((it.tagName)&&(it.tagName.toLowerCase()=="form")){
return false;
}
if(dojo.lang.isNumber(it.length)&&isFinite(it.length)){
return true;
}
return false;
};
dojo.lang.isFunction=function(it){
return (it instanceof Function||typeof it=="function");
};
(function(){
if((dojo.render.html.capable)&&(dojo.render.html["safari"])){
dojo.lang.isFunction=function(it){
if((typeof (it)=="function")&&(it=="[object NodeList]")){
return false;
}
return (it instanceof Function||typeof it=="function");
};
}
})();
dojo.lang.isString=function(it){
return (typeof it=="string"||it instanceof String);
};
dojo.lang.isAlien=function(it){
if(!it){
return false;
}
return !dojo.lang.isFunction(it)&&/\{\s*\[native code\]\s*\}/.test(String(it));
};
dojo.lang.isBoolean=function(it){
return (it instanceof Boolean||typeof it=="boolean");
};
dojo.lang.isNumber=function(it){
return (it instanceof Number||typeof it=="number");
};
dojo.lang.isUndefined=function(it){
return ((typeof (it)=="undefined")&&(it==undefined));
};
dojo.provide("dojo.lang.extras");
dojo.lang.setTimeout=function(func,_114){
var _115=window,_116=2;
if(!dojo.lang.isFunction(func)){
_115=func;
func=_114;
_114=arguments[2];
_116++;
}
if(dojo.lang.isString(func)){
func=_115[func];
}
var args=[];
for(var i=_116;i<arguments.length;i++){
args.push(arguments[i]);
}
return dojo.global().setTimeout(function(){
func.apply(_115,args);
},_114);
};
dojo.lang.clearTimeout=function(_119){
dojo.global().clearTimeout(_119);
};
dojo.lang.getNameInObj=function(ns,item){
if(!ns){
ns=dj_global;
}
for(var x in ns){
if(ns[x]===item){
return new String(x);
}
}
return null;
};
dojo.lang.shallowCopy=function(obj,deep){
var i,ret;
if(obj===null){
return null;
}
if(dojo.lang.isObject(obj)){
ret=new obj.constructor();
for(i in obj){
if(dojo.lang.isUndefined(ret[i])){
ret[i]=deep?dojo.lang.shallowCopy(obj[i],deep):obj[i];
}
}
}else{
if(dojo.lang.isArray(obj)){
ret=[];
for(i=0;i<obj.length;i++){
ret[i]=deep?dojo.lang.shallowCopy(obj[i],deep):obj[i];
}
}else{
ret=obj;
}
}
return ret;
};
dojo.lang.firstValued=function(){
for(var i=0;i<arguments.length;i++){
if(typeof arguments[i]!="undefined"){
return arguments[i];
}
}
return undefined;
};
dojo.lang.getObjPathValue=function(_122,_123,_124){
with(dojo.parseObjPath(_122,_123,_124)){
return dojo.evalProp(prop,obj,_124);
}
};
dojo.lang.setObjPathValue=function(_125,_126,_127,_128){
if(arguments.length<4){
_128=true;
}
with(dojo.parseObjPath(_125,_127,_128)){
if(obj&&(_128||(prop in obj))){
obj[prop]=_126;
}
}
};
dojo.provide("dojo.io.common");
if(!dojo.string){
dojo.string={};
}
dojo.string.encodeAscii=function(str){
if(!dojo.lang.isString(str)){
return str;
}
var ret="";
var _12b=escape(str);
var _12c,re=/%u([0-9A-F]{4})/i;
while((_12c=_12b.match(re))){
var num=Number("0x"+_12c[1]);
var _12f=escape("&#"+num+";");
ret+=_12b.substring(0,_12c.index)+_12f;
_12b=_12b.substring(_12c.index+_12c[0].length);
}
ret+=_12b.replace(/\+/g,"%2B");
return ret;
};
dojo.io.transports=[];
dojo.io.hdlrFuncNames=["load","error","timeout"];
dojo.io.Request=function(url,_131,_132,_133){
if((arguments.length==1)&&(arguments[0].constructor==Object)){
this.fromKwArgs(arguments[0]);
}else{
this.url=url;
if(_131){
this.mimetype=_131;
}
if(_132){
this.transport=_132;
}
if(arguments.length>=4){
this.changeUrl=_133;
}
}
};
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,_136,_137){
},error:function(type,_139,_13a,_13b){
},timeout:function(type,_13d,_13e,_13f){
},handle:function(type,data,_142,_143){
},timeoutSeconds:0,abort:function(){
},fromKwArgs:function(_144){
if(_144["url"]){
_144.url=_144.url.toString();
}
if(_144["formNode"]){
_144.formNode=dojo.byId(_144.formNode);
}
if(!_144["method"]&&_144["formNode"]&&_144["formNode"].method){
_144.method=_144["formNode"].method;
}
if(!_144["handle"]&&_144["handler"]){
_144.handle=_144.handler;
}
if(!_144["load"]&&_144["loaded"]){
_144.load=_144.loaded;
}
if(!_144["changeUrl"]&&_144["changeURL"]){
_144.changeUrl=_144.changeURL;
}
_144.encoding=dojo.lang.firstValued(_144["encoding"],djConfig["bindEncoding"],"");
_144.sendTransport=dojo.lang.firstValued(_144["sendTransport"],djConfig["ioSendTransport"],false);
var _145=dojo.lang.isFunction;
for(var x=0;x<dojo.io.hdlrFuncNames.length;x++){
var fn=dojo.io.hdlrFuncNames[x];
if(_144[fn]&&_145(_144[fn])){
continue;
}
if(_144["handle"]&&_145(_144["handle"])){
_144[fn]=_144.handle;
}
}
dojo.lang.mixin(this,_144);
}});
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(_14c){
if(!(_14c instanceof dojo.io.Request)){
try{
_14c=new dojo.io.Request(_14c);
}
catch(e){
dojo.debug(e);
}
}
var _14d="";
if(_14c["transport"]){
_14d=_14c["transport"];
if(!this[_14d]){
dojo.io.sendBindError(_14c,"No dojo.io.bind() transport with name '"+_14c["transport"]+"'.");
return _14c;
}
if(!this[_14d].canHandle(_14c)){
dojo.io.sendBindError(_14c,"dojo.io.bind() transport with name '"+_14c["transport"]+"' cannot handle this type of request.");
return _14c;
}
}else{
for(var x=0;x<dojo.io.transports.length;x++){
var tmp=dojo.io.transports[x];
if((this[tmp])&&(this[tmp].canHandle(_14c))){
_14d=tmp;
break;
}
}
if(_14d==""){
dojo.io.sendBindError(_14c,"None of the loaded transports for dojo.io.bind()"+" can handle the request.");
return _14c;
}
}
this[_14d].bind(_14c);
_14c.bindSuccess=true;
return _14c;
};
dojo.io.sendBindError=function(_150,_151){
if((typeof _150.error=="function"||typeof _150.handle=="function")&&(typeof setTimeout=="function"||typeof setTimeout=="object")){
var _152=new dojo.io.Error(_151);
setTimeout(function(){
_150[(typeof _150.error=="function")?"error":"handle"]("error",_152,null,_150);
},50);
}else{
dojo.raise(_151);
}
};
dojo.io.queueBind=function(_153){
if(!(_153 instanceof dojo.io.Request)){
try{
_153=new dojo.io.Request(_153);
}
catch(e){
dojo.debug(e);
}
}
var _154=_153.load;
_153.load=function(){
dojo.io._queueBindInFlight=false;
var ret=_154.apply(this,arguments);
dojo.io._dispatchNextQueueBind();
return ret;
};
var _156=_153.error;
_153.error=function(){
dojo.io._queueBindInFlight=false;
var ret=_156.apply(this,arguments);
dojo.io._dispatchNextQueueBind();
return ret;
};
dojo.io._bindQueue.push(_153);
dojo.io._dispatchNextQueueBind();
return _153;
};
dojo.io._dispatchNextQueueBind=function(){
if(!dojo.io._queueBindInFlight){
dojo.io._queueBindInFlight=true;
if(dojo.io._bindQueue.length>0){
dojo.io.bind(dojo.io._bindQueue.shift());
}else{
dojo.io._queueBindInFlight=false;
}
}
};
dojo.io._bindQueue=[];
dojo.io._queueBindInFlight=false;
dojo.io.argsFromMap=function(map,_159,last){
var enc=/utf/i.test(_159||"")?encodeURIComponent:dojo.string.encodeAscii;
var _15c=[];
var _15d=new Object();
for(var name in map){
var _15f=function(elt){
var val=enc(name)+"="+enc(elt);
_15c[(last==name)?"push":"unshift"](val);
};
if(!_15d[name]){
var _162=map[name];
if(dojo.lang.isArray(_162)){
dojo.lang.forEach(_162,_15f);
}else{
_15f(_162);
}
}
}
return _15c.join("&");
};
dojo.io.setIFrameSrc=function(_163,src,_165){
try{
var r=dojo.render.html;
if(!_165){
if(r.safari){
_163.location=src;
}else{
frames[_163.name].location=src;
}
}else{
var idoc;
if(r.ie){
idoc=_163.contentWindow.document;
}else{
if(r.safari){
idoc=_163.document;
}else{
idoc=_163.contentWindow;
}
}
if(!idoc){
_163.location=src;
return;
}else{
idoc.location.replace(src);
}
}
}
catch(e){
dojo.debug(e);
dojo.debug("setIFrameSrc: "+e);
}
};
dojo.provide("dojo.dom");
dojo.dom.ELEMENT_NODE=1;
dojo.dom.ATTRIBUTE_NODE=2;
dojo.dom.TEXT_NODE=3;
dojo.dom.CDATA_SECTION_NODE=4;
dojo.dom.ENTITY_REFERENCE_NODE=5;
dojo.dom.ENTITY_NODE=6;
dojo.dom.PROCESSING_INSTRUCTION_NODE=7;
dojo.dom.COMMENT_NODE=8;
dojo.dom.DOCUMENT_NODE=9;
dojo.dom.DOCUMENT_TYPE_NODE=10;
dojo.dom.DOCUMENT_FRAGMENT_NODE=11;
dojo.dom.NOTATION_NODE=12;
dojo.dom.dojoml="http://www.dojotoolkit.org/2004/dojoml";
dojo.dom.xmlns={svg:"http://www.w3.org/2000/svg",smil:"http://www.w3.org/2001/SMIL20/",mml:"http://www.w3.org/1998/Math/MathML",cml:"http://www.xml-cml.org",xlink:"http://www.w3.org/1999/xlink",xhtml:"http://www.w3.org/1999/xhtml",xul:"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",xbl:"http://www.mozilla.org/xbl",fo:"http://www.w3.org/1999/XSL/Format",xsl:"http://www.w3.org/1999/XSL/Transform",xslt:"http://www.w3.org/1999/XSL/Transform",xi:"http://www.w3.org/2001/XInclude",xforms:"http://www.w3.org/2002/01/xforms",saxon:"http://icl.com/saxon",xalan:"http://xml.apache.org/xslt",xsd:"http://www.w3.org/2001/XMLSchema",dt:"http://www.w3.org/2001/XMLSchema-datatypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",rdf:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",rdfs:"http://www.w3.org/2000/01/rdf-schema#",dc:"http://purl.org/dc/elements/1.1/",dcq:"http://purl.org/dc/qualifiers/1.0","soap-env":"http://schemas.xmlsoap.org/soap/envelope/",wsdl:"http://schemas.xmlsoap.org/wsdl/",AdobeExtensions:"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"};
dojo.dom.isNode=function(wh){
if(typeof Element=="function"){
try{
return wh instanceof Element;
}
catch(e){
}
}else{
return wh&&!isNaN(wh.nodeType);
}
};
dojo.dom.getUniqueId=function(){
var _169=dojo.doc();
do{
var id="dj_unique_"+(++arguments.callee._idIncrement);
}while(_169.getElementById(id));
return id;
};
dojo.dom.getUniqueId._idIncrement=0;
dojo.dom.firstElement=dojo.dom.getFirstChildElement=function(_16b,_16c){
var node=_16b.firstChild;
while(node&&node.nodeType!=dojo.dom.ELEMENT_NODE){
node=node.nextSibling;
}
if(_16c&&node&&node.tagName&&node.tagName.toLowerCase()!=_16c.toLowerCase()){
node=dojo.dom.nextElement(node,_16c);
}
return node;
};
dojo.dom.lastElement=dojo.dom.getLastChildElement=function(_16e,_16f){
var node=_16e.lastChild;
while(node&&node.nodeType!=dojo.dom.ELEMENT_NODE){
node=node.previousSibling;
}
if(_16f&&node&&node.tagName&&node.tagName.toLowerCase()!=_16f.toLowerCase()){
node=dojo.dom.prevElement(node,_16f);
}
return node;
};
dojo.dom.nextElement=dojo.dom.getNextSiblingElement=function(node,_172){
if(!node){
return null;
}
do{
node=node.nextSibling;
}while(node&&node.nodeType!=dojo.dom.ELEMENT_NODE);
if(node&&_172&&_172.toLowerCase()!=node.tagName.toLowerCase()){
return dojo.dom.nextElement(node,_172);
}
return node;
};
dojo.dom.prevElement=dojo.dom.getPreviousSiblingElement=function(node,_174){
if(!node){
return null;
}
if(_174){
_174=_174.toLowerCase();
}
do{
node=node.previousSibling;
}while(node&&node.nodeType!=dojo.dom.ELEMENT_NODE);
if(node&&_174&&_174.toLowerCase()!=node.tagName.toLowerCase()){
return dojo.dom.prevElement(node,_174);
}
return node;
};
dojo.dom.moveChildren=function(_175,_176,trim){
var _178=0;
if(trim){
while(_175.hasChildNodes()&&_175.firstChild.nodeType==dojo.dom.TEXT_NODE){
_175.removeChild(_175.firstChild);
}
while(_175.hasChildNodes()&&_175.lastChild.nodeType==dojo.dom.TEXT_NODE){
_175.removeChild(_175.lastChild);
}
}
while(_175.hasChildNodes()){
_176.appendChild(_175.firstChild);
_178++;
}
return _178;
};
dojo.dom.copyChildren=function(_179,_17a,trim){
var _17c=_179.cloneNode(true);
return this.moveChildren(_17c,_17a,trim);
};
dojo.dom.replaceChildren=function(node,_17e){
dojo.dom.removeChildren(node);
node.appendChild(_17e);
};
dojo.dom.removeChildren=function(node){
var _180=node.childNodes.length;
while(node.hasChildNodes()){
dojo.dom.removeNode(node.firstChild);
}
return _180;
};
dojo.dom.replaceNode=function(node,_182){
if(dojo.render.html.ie){
node.parentNode.insertBefore(_182,node);
return dojo.dom.removeNode(node);
}else{
return node.parentNode.replaceChild(_182,node);
}
};
dojo.dom._ieRemovedNodes=[];
dojo.dom.removeNode=function(node,_184){
if(node&&node.parentNode){
try{
if(_184&&dojo.evalObjPath("dojo.event.browser.clean",false)){
dojo.event.browser.clean(node);
}
}
catch(e){
}
if(dojo.render.html.ie){
if(_184){
dojo.dom._discardElement(node);
}else{
dojo.dom._ieRemovedNodes.push(node);
}
}
if(_184){
return null;
}
return node.parentNode.removeChild(node);
}
};
dojo.dom._discardElement=function(_185){
var _186=document.getElementById("IELeakGarbageBin");
if(!_186){
_186=document.createElement("DIV");
_186.id="IELeakGarbageBin";
_186.style.display="none";
document.body.appendChild(_186);
}
_186.appendChild(_185);
_186.innerHTML="";
};
dojo.dom.getAncestors=function(node,_188,_189){
var _18a=[];
var _18b=(_188&&(_188 instanceof Function||typeof _188=="function"));
while(node){
if(!_18b||_188(node)){
_18a.push(node);
}
if(_189&&_18a.length>0){
return _18a[0];
}
node=node.parentNode;
}
if(_189){
return null;
}
return _18a;
};
dojo.dom.getAncestorsByTag=function(node,tag,_18e){
tag=tag.toLowerCase();
return dojo.dom.getAncestors(node,function(el){
return ((el.tagName)&&(el.tagName.toLowerCase()==tag));
},_18e);
};
dojo.dom.getFirstAncestorByTag=function(node,tag){
return dojo.dom.getAncestorsByTag(node,tag,true);
};
dojo.dom.isDescendantOf=function(node,_193,_194){
if(_194&&node){
node=node.parentNode;
}
while(node){
if(node==_193){
return true;
}
node=node.parentNode;
}
return false;
};
dojo.dom.innerXML=function(node){
if(node.innerXML){
return node.innerXML;
}else{
if(node.xml){
return node.xml;
}else{
if(typeof XMLSerializer!="undefined"){
return (new XMLSerializer()).serializeToString(node);
}
}
}
};
dojo.dom.createDocument=function(){
var doc=null;
var _197=dojo.doc();
if(!dj_undef("ActiveXObject")){
var _198=["MSXML2","Microsoft","MSXML","MSXML3"];
for(var i=0;i<_198.length;i++){
try{
doc=new ActiveXObject(_198[i]+".XMLDOM");
}
catch(e){
}
if(doc){
break;
}
}
}else{
if((_197.implementation)&&(_197.implementation.createDocument)){
doc=_197.implementation.createDocument("","",null);
}
}
return doc;
};
dojo.dom.createDocumentFromText=function(str,_19b){
if(!_19b){
_19b="text/xml";
}
if(!dj_undef("DOMParser")){
var _19c=new DOMParser();
return _19c.parseFromString(str,_19b);
}else{
if(!dj_undef("ActiveXObject")){
var _19d=dojo.dom.createDocument();
if(_19d){
_19d.async=false;
_19d.loadXML(str);
return _19d;
}else{
dojo.debug("toXml didn't work?");
}
}else{
var _19e=dojo.doc();
if(_19e.createElement){
var tmp=_19e.createElement("xml");
tmp.innerHTML=str;
if(_19e.implementation&&_19e.implementation.createDocument){
var _1a0=_19e.implementation.createDocument("foo","",null);
for(var i=0;i<tmp.childNodes.length;i++){
_1a0.importNode(tmp.childNodes.item(i),true);
}
return _1a0;
}
return ((tmp.document)&&(tmp.document.firstChild?tmp.document.firstChild:tmp));
}
}
}
return null;
};
dojo.dom.prependChild=function(node,_1a3){
if(_1a3.firstChild){
_1a3.insertBefore(node,_1a3.firstChild);
}else{
_1a3.appendChild(node);
}
return true;
};
dojo.dom.insertBefore=function(node,ref,_1a6){
if((_1a6!=true)&&(node===ref||node.nextSibling===ref)){
return false;
}
var _1a7=ref.parentNode;
_1a7.insertBefore(node,ref);
return true;
};
dojo.dom.insertAfter=function(node,ref,_1aa){
var pn=ref.parentNode;
if(ref==pn.lastChild){
if((_1aa!=true)&&(node===ref)){
return false;
}
pn.appendChild(node);
}else{
return this.insertBefore(node,ref.nextSibling,_1aa);
}
return true;
};
dojo.dom.insertAtPosition=function(node,ref,_1ae){
if((!node)||(!ref)||(!_1ae)){
return false;
}
switch(_1ae.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,_1b0,_1b1){
var _1b2=_1b0.childNodes;
if(!_1b2.length){
_1b0.appendChild(node);
return true;
}
var _1b3=null;
for(var i=0;i<_1b2.length;i++){
var _1b5=_1b2.item(i)["getAttribute"]?parseInt(_1b2.item(i).getAttribute("dojoinsertionindex")):-1;
if(_1b5<_1b1){
_1b3=_1b2.item(i);
}
}
if(_1b3){
return dojo.dom.insertAfter(node,_1b3);
}else{
return dojo.dom.insertBefore(node,_1b2.item(0));
}
};
dojo.dom.textContent=function(node,text){
if(arguments.length>1){
var _1b8=dojo.doc();
dojo.dom.replaceChildren(node,_1b8.createTextNode(text));
return text;
}else{
if(node.textContent!=undefined){
return node.textContent;
}
var _1b9="";
if(node==null){
return _1b9;
}
for(var i=0;i<node.childNodes.length;i++){
switch(node.childNodes[i].nodeType){
case 1:
case 5:
_1b9+=dojo.dom.textContent(node.childNodes[i]);
break;
case 3:
case 2:
case 4:
_1b9+=node.childNodes[i].nodeValue;
break;
default:
break;
}
}
return _1b9;
}
};
dojo.dom.hasParent=function(node){
return Boolean(node&&node.parentNode&&dojo.dom.isNode(node.parentNode));
};
dojo.dom.isTag=function(node){
if(node&&node.tagName){
for(var i=1;i<arguments.length;i++){
if(node.tagName==String(arguments[i])){
return String(arguments[i]);
}
}
}
return "";
};
dojo.dom.setAttributeNS=function(elem,_1bf,_1c0,_1c1){
if(elem==null||((elem==undefined)&&(typeof elem=="undefined"))){
dojo.raise("No element given to dojo.dom.setAttributeNS");
}
if(!((elem.setAttributeNS==undefined)&&(typeof elem.setAttributeNS=="undefined"))){
elem.setAttributeNS(_1bf,_1c0,_1c1);
}else{
var _1c2=elem.ownerDocument;
var _1c3=_1c2.createNode(2,_1c0,_1bf);
_1c3.nodeValue=_1c1;
elem.setAttributeNode(_1c3);
}
};
dojo.provide("dojo.io.XmlHttpIO");
dojo.string.endsWith=function(str,end,_1c6){
if(_1c6){
str=str.toLowerCase();
end=end.toLowerCase();
}
if((str.length-end.length)<0){
return false;
}
return str.lastIndexOf(end)==str.length-end.length;
};
dojo.string.endsWithAny=function(str){
for(var i=1;i<arguments.length;i++){
if(dojo.string.endsWith(str,arguments[i])){
return true;
}
}
return false;
};
if(!dj_undef("window")){
dojo.io.XMLHTTPTransport=new function(){
var _1c9=this;
var _1ca={};
this.useCache=false;
this.preventCache=false;
function getCacheKey(url,_1cc,_1cd){
return url+"|"+_1cc+"|"+_1cd.toLowerCase();
}
function addToCache(url,_1cf,_1d0,http){
_1ca[getCacheKey(url,_1cf,_1d0)]=http;
}
function getFromCache(url,_1d3,_1d4){
return _1ca[getCacheKey(url,_1d3,_1d4)];
}
this.clearCache=function(){
_1ca={};
};
function doLoad(_1d5,http,url,_1d8,_1d9){
if(((http.status>=200)&&(http.status<300))||(http.status==304)||(location.protocol=="file:"&&(http.status==0||http.status==undefined))||(location.protocol=="chrome:"&&(http.status==0||http.status==undefined))){
var ret;
if(_1d5.method.toLowerCase()=="head"){
var _1db=http.getAllResponseHeaders();
ret={};
ret.toString=function(){
return _1db;
};
var _1dc=_1db.split(/[\r\n]+/g);
for(var i=0;i<_1dc.length;i++){
var pair=_1dc[i].match(/^([^:]+)\s*:\s*(.+)$/i);
if(pair){
ret[pair[1]]=pair[2];
}
}
}else{
if(_1d5.mimetype=="text/javascript"){
try{
ret=dj_eval(http.responseText);
}
catch(e){
dojo.debug(e);
dojo.debug(http.responseText);
ret=null;
}
}else{
if(_1d5.mimetype=="text/json"||_1d5.mimetype=="application/json"){
try{
ret=dj_eval("("+http.responseText+")");
}
catch(e){
dojo.debug(e);
dojo.debug(http.responseText);
ret=false;
}
}else{
if((_1d5.mimetype=="application/xml")||(_1d5.mimetype=="text/xml")){
ret=http.responseXML;
if(!ret||typeof ret=="string"||!http.getResponseHeader("Content-Type")){
ret=dojo.dom.createDocumentFromText(http.responseText);
}
}else{
ret=http.responseText;
}
}
}
}
if(_1d9){
addToCache(url,_1d8,_1d5.method,http);
}
_1d5[(typeof _1d5.load=="function")?"load":"handle"]("load",ret,http,_1d5);
}else{
var _1df=new dojo.io.Error("XMLHttpTransport Error: "+http.status+" "+http.statusText);
_1d5[(typeof _1d5.error=="function")?"error":"handle"]("error",_1df,http,_1d5);
}
}
function setHeaders(http,_1e1){
if(_1e1["headers"]){
for(var _1e2 in _1e1["headers"]){
if(_1e2.toLowerCase()=="content-type"&&!_1e1["contentType"]){
_1e1["contentType"]=_1e1["headers"][_1e2];
}else{
http.setRequestHeader(_1e2,_1e1["headers"][_1e2]);
}
}
}
}
this.inFlight=[];
this.inFlightTimer=null;
this.startWatchingInFlight=function(){
if(!this.inFlightTimer){
this.inFlightTimer=setTimeout("dojo.io.XMLHTTPTransport.watchInFlight();",10);
}
};
this.watchInFlight=function(){
var now=null;
if(!dojo.hostenv._blockAsync&&!_1c9._blockAsync){
for(var x=this.inFlight.length-1;x>=0;x--){
try{
var tif=this.inFlight[x];
if(!tif||tif.http._aborted||!tif.http.readyState){
this.inFlight.splice(x,1);
continue;
}
if(4==tif.http.readyState){
this.inFlight.splice(x,1);
doLoad(tif.req,tif.http,tif.url,tif.query,tif.useCache);
}else{
if(tif.startTime){
if(!now){
now=(new Date()).getTime();
}
if(tif.startTime+(tif.req.timeoutSeconds*1000)<now){
if(typeof tif.http.abort=="function"){
tif.http.abort();
}
this.inFlight.splice(x,1);
tif.req[(typeof tif.req.timeout=="function")?"timeout":"handle"]("timeout",null,tif.http,tif.req);
}
}
}
}
catch(e){
try{
var _1e6=new dojo.io.Error("XMLHttpTransport.watchInFlight Error: "+e);
tif.req[(typeof tif.req.error=="function")?"error":"handle"]("error",_1e6,tif.http,tif.req);
}
catch(e2){
dojo.debug("XMLHttpTransport error callback failed: "+e2);
}
}
}
}
clearTimeout(this.inFlightTimer);
if(this.inFlight.length==0){
this.inFlightTimer=null;
return;
}
this.inFlightTimer=setTimeout("dojo.io.XMLHTTPTransport.watchInFlight();",10);
};
var _1e7=dojo.hostenv.getXmlhttpObject()?true:false;
this.canHandle=function(_1e8){
return _1e7&&dojo.lang.inArray(["text/plain","text/html","application/xml","text/xml","text/javascript","text/json","application/json"],(_1e8["mimetype"].toLowerCase()||""))&&!(_1e8["formNode"]&&dojo.io.formHasFile(_1e8["formNode"]));
};
this.multipartBoundary="45309FFF-BD65-4d50-99C9-36986896A96F";
this.bind=function(_1e9){
if(!_1e9["url"]){
if(!_1e9["formNode"]&&(_1e9["backButton"]||_1e9["back"]||_1e9["changeUrl"]||_1e9["watchForURL"])&&(!djConfig.preventBackButtonFix)){
dojo.deprecated("Using dojo.io.XMLHTTPTransport.bind() to add to browser history without doing an IO request","Use dojo.undo.browser.addToHistory() instead.","0.4");
dojo.undo.browser.addToHistory(_1e9);
return true;
}
}
var url=_1e9.url;
var _1eb="";
if(_1e9["formNode"]){
var ta=_1e9.formNode.getAttribute("action");
if((ta)&&(!_1e9["url"])){
url=ta;
}
var tp=_1e9.formNode.getAttribute("method");
if((tp)&&(!_1e9["method"])){
_1e9.method=tp;
}
_1eb+=dojo.io.encodeForm(_1e9.formNode,_1e9.encoding,_1e9["formFilter"]);
}
if(url.indexOf("#")>-1){
dojo.debug("Warning: dojo.io.bind: stripping hash values from url:",url);
url=url.split("#")[0];
}
if(_1e9["file"]){
_1e9.method="post";
}
if(!_1e9["method"]){
_1e9.method="get";
}
if(_1e9.method.toLowerCase()=="get"){
_1e9.multipart=false;
}else{
if(_1e9["file"]){
_1e9.multipart=true;
}else{
if(!_1e9["multipart"]){
_1e9.multipart=false;
}
}
}
if(_1e9["backButton"]||_1e9["back"]||_1e9["changeUrl"]){
dojo.undo.browser.addToHistory(_1e9);
}
var _1ee=_1e9["content"]||{};
if(_1e9.sendTransport){
_1ee["dojo.transport"]="xmlhttp";
}
do{
if(_1e9.postContent){
_1eb=_1e9.postContent;
break;
}
if(_1ee){
_1eb+=dojo.io.argsFromMap(_1ee,_1e9.encoding);
}
if(_1e9.method.toLowerCase()=="get"||!_1e9.multipart){
break;
}
var t=[];
if(_1eb.length){
var q=_1eb.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(_1e9.file){
if(dojo.lang.isArray(_1e9.file)){
for(var i=0;i<_1e9.file.length;++i){
var o=_1e9.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=_1e9.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+"--","");
_1eb=t.join("\r\n");
}
}while(false);
var _1f4=_1e9["sync"]?false:true;
var _1f5=_1e9["preventCache"]||(this.preventCache==true&&_1e9["preventCache"]!=false);
var _1f6=_1e9["useCache"]==true||(this.useCache==true&&_1e9["useCache"]!=false);
if(!_1f5&&_1f6){
var _1f7=getFromCache(url,_1eb,_1e9.method);
if(_1f7){
doLoad(_1e9,_1f7,url,_1eb,false);
return;
}
}
var http=dojo.hostenv.getXmlhttpObject(_1e9);
var _1f9=false;
if(_1f4){
var _1fa=this.inFlight.push({"req":_1e9,"http":http,"url":url,"query":_1eb,"useCache":_1f6,"startTime":_1e9.timeoutSeconds?(new Date()).getTime():0});
this.startWatchingInFlight();
}else{
_1c9._blockAsync=true;
}
if(_1e9.method.toLowerCase()=="post"){
if(!_1e9.user){
http.open("POST",url,_1f4);
}else{
http.open("POST",url,_1f4,_1e9.user,_1e9.password);
}
setHeaders(http,_1e9);
http.setRequestHeader("Content-Type",_1e9.multipart?("multipart/form-data; boundary="+this.multipartBoundary):(_1e9.contentType||"application/x-www-form-urlencoded"));
try{
http.send(_1eb);
}
catch(e){
if(typeof http.abort=="function"){
http.abort();
}
doLoad(_1e9,{status:404},url,_1eb,_1f6);
}
}else{
var _1fb=url;
if(_1eb!=""){
_1fb+=(_1fb.indexOf("?")>-1?"&":"?")+_1eb;
}
if(_1f5){
_1fb+=(dojo.string.endsWithAny(_1fb,"?","&")?"":(_1fb.indexOf("?")>-1?"&":"?"))+"dojo.preventCache="+new Date().valueOf();
}
if(!_1e9.user){
http.open(_1e9.method.toUpperCase(),_1fb,_1f4);
}else{
http.open(_1e9.method.toUpperCase(),_1fb,_1f4,_1e9.user,_1e9.password);
}
setHeaders(http,_1e9);
try{
http.send(null);
}
catch(e){
if(typeof http.abort=="function"){
http.abort();
}
doLoad(_1e9,{status:404},url,_1eb,_1f6);
}
}
if(!_1f4){
doLoad(_1e9,http,url,_1eb,_1f6);
_1c9._blockAsync=false;
}
_1e9.abort=function(){
try{
http._aborted=true;
}
catch(e){
}
return http.abort();
};
return;
};
dojo.io.transports.addTransport("XMLHTTPTransport");
};
}
dojo.provide("dojo.widget.GoogleMapHeader");
(function(){
var gkey=djConfig.gMapKey||djConfig.googleMapKey;
if(!dojo.hostenv.post_load_){
if(!gkey){
dojo.raise("dojo.widget.GoogleMap: The Google Map widget requires a proper API key in order to be used.");
}
var tag="<scr"+"ipt src='http://maps.google.com/maps?file=api&amp;v=2&amp;key="+gkey+"'></scri"+"pt>";
if(!dj_global.GMap2){
document.write(tag);
}
}else{
dojo.debug("Cannot initialize Google Map system after the page has been loaded! Please either manually include the script block provided by Google in your page or require() the GoogleMap widget before onload has fired.");
}
})();


