/*
	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 djd43=="undefined"){

var dj_global=this;var dj_currentContext=this;function dj_undef(_1,_2){return (typeof (_2||dj_currentContext)[_1]=="undefined");}if(dj_undef("djd43_config",this)){var djd43_config={};}if(dj_undef("djd43",this)){var djd43={};}djd43.global=function(){return dj_currentContext;};djd43.locale=djd43_config.locale;djd43.version={major:0,minor:4,patch:3,flag:"",revision:Number("$Rev: 8617 $".match(/[0-9]+/)[0]),toString:function(){with(djd43.version){return major+"."+minor+"."+patch+flag+" ("+revision+")";}}};djd43.evalProp=function(_3,_4,_5){if((!_4)||(!_3)){return undefined;}if(!dj_undef(_3,_4)){return _4[_3];}return (_5?(_4[_3]={}):undefined);};djd43.parseObjPath=function(_6,_7,_8){var _9=(_7||djd43.global());var _a=_6.split(".");var _b=_a.pop();for(var i=0,l=_a.length;i<l&&_9;i++){_9=djd43.evalProp(_a[i],_9,_8);}return {obj:_9,prop:_b};};djd43.evalObjPath=function(_e,_f){if(typeof _e!="string"){return djd43.global();}if(_e.indexOf(".")==-1){return djd43.evalProp(_e,djd43.global(),_f);}var _f=djd43.parseObjPath(_e,djd43.global(),_f);if(_f){return djd43.evalProp(_f.prop,_f.obj,_f);}return null;};djd43.errorToString=function(_11){if(!dj_undef("message",_11)){return _11.message;}else{if(!dj_undef("description",_11)){return _11.description;}else{return _11;}}};djd43.raise=function(_12,_13){if(_13){_12=_12+": "+djd43.errorToString(_13);}else{_12=djd43.errorToString(_12);}try{if(djd43_config.isDebug){djd43.hostenv.println("FATAL exception raised: "+_12);}}catch(e){}throw _13||Error(_12);};djd43.debug=function(){};djd43.debugShallow=function(obj){};djd43.profile={start:function(){},end:function(){},stop:function(){},dump:function(){}};function dj_eval(_15){return dj_global.eval?dj_global.eval(_15):eval(_15);}djd43.unimplemented=function(_16,_17){var _18="'"+_16+"' not implemented";if(_17!=null){_18+=" "+_17;}djd43.raise(_18);};djd43.deprecated=function(_19,_1a,_1b){var _1c="DEPRECATED: "+_19;if(_1a){_1c+=" "+_1a;}if(_1b){_1c+=" -- will be removed in version: "+_1b;}djd43.debug(_1c);};djd43.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:djd43.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"])};})();djd43.hostenv=(function(){var _21={isDebug:false,allowQueryConfig:false,baseScriptUri:"",baseRelativePath:"",libraryScriptUri:"",iePreventClobber:false,ieClobberMinimal:true,preventBackButtonFix:true,delayMozLoadingFix:false,searchIds:[],parseWidgets:true};if(typeof djd43_config=="undefined"){djd43_config=_21;}else{for(var _22 in _21){if(typeof djd43_config[_22]=="undefined"){djd43_config[_22]=_21[_22];}}}return {name_:"(unset)",version_:"(unset)",getName:function(){return this.name_;},getVersion:function(){return this.version_;},getText:function(uri){djd43.unimplemented("getText","uri="+uri);}};})();djd43.hostenv.getBaseScriptUri=function(){if(djd43_config.baseScriptUri.length){return djd43_config.baseScriptUri;}var uri=new String(djd43_config.libraryScriptUri||djd43_config.baseRelativePath);if(!uri){djd43.raise("Nothing returned by getLibraryScriptUri(): "+uri);}var _25=uri.lastIndexOf("/");djd43_config.baseScriptUri=djd43_config.baseRelativePath;return djd43_config.baseScriptUri;};(function(){var _26={pkgFileName:"__package__",loading_modules_:{},loaded_modules_:{},addedToLoadingCount:[],removedFromLoadingCount:[],inFlightCount:0,modulePrefixes_:{djd43:{name:"djd43",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){djd43.hostenv[_2c]=_26[_2c];}})();djd43.hostenv.loadPath=function(_2d,_2e,cb){var uri;if(_2d.charAt(0)=="/"||_2d.match(/^\w+:/)){uri=_2d;}else{uri=this.getBaseScriptUri()+_2d;}if(djd43_config.cacheBust&&djd43.render.html.capable){uri+="?"+String(djd43_config.cacheBust).replace(/\W+/g,"");}try{return !_2e?this.loadUri(uri,cb):this.loadUriAndCheck(uri,_2e,cb);}catch(e){djd43.debug(e);return false;}};djd43.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;};djd43.hostenv.loadUriAndCheck=function(uri,_36,cb){var ok=true;try{ok=this.loadUri(uri,cb);}catch(e){djd43.debug("failed loading ",uri," with error: ",e);}return Boolean(ok&&this.findModule(_36,false));};djd43.loaded=function(){};djd43.unloaded=function(){};djd43.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;djd43.loaded();};djd43.hostenv.unloaded=function(){var mll=this.unloadListeners;while(mll.length){(mll.pop())();}djd43.unloaded();};djd43.addOnLoad=function(obj,_3d){var dh=djd43.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();}};djd43.addOnUnload=function(obj,_40){var dh=djd43.hostenv;if(arguments.length==1){dh.unloadListeners.push(obj);}else{if(arguments.length>1){dh.unloadListeners.push(function(){obj[_40]();});}}};djd43.hostenv.modulesLoaded=function(){if(this.post_load_){return;}if(this.loadUriStack.length==0&&this.getTextStack.length==0){if(this.inFlightCount>0){djd43.debug("files still in flight!");return;}djd43.hostenv.callLoaded();}};djd43.hostenv.callLoaded=function(){if(typeof setTimeout=="object"||(djd43_config["useXDomain"]&&djd43.render.html.opera)){setTimeout("djd43.hostenv.loaded();",0);}else{djd43.hostenv.loaded();}};djd43.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;};djd43.hostenv._global_omit_module_check=false;djd43.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){djd43.raise("Could not load '"+_47+"'; last tried '"+_4b+"'");}}if(!_49&&!this["isXDomain"]){_4a=this.findModule(_47,false);if(!_4a){djd43.raise("symbol '"+_47+"' is not defined after loading '"+_4b+"'");}}return _4a;};djd43.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=djd43.evalObjPath(_54,true);this.loaded_modules_[_53]=_56;this.loaded_modules_[_54]=_56;return _56;};djd43.hostenv.findModule=function(_57,_58){var lmn=String(_57);if(this.loaded_modules_[lmn]){return this.loaded_modules_[lmn];}if(_58){djd43.raise("no loaded module named '"+_57+"'");}return null;};djd43.kwCompoundRequire=function(_5a){var _5b=_5a["common"]||[];var _5c=_5a[djd43.hostenv.name_]?_5b.concat(_5a[djd43.hostenv.name_]||[]):_5b.concat(_5a["default"]||[]);for(var x=0;x<_5c.length;x++){var _5e=_5c[x];if(_5e.constructor==Array){djd43.hostenv.loadModule.apply(djd43.hostenv,_5e);}else{djd43.hostenv.loadModule(_5e);}}};djd43.require=function(_5f){djd43.hostenv.loadModule.apply(djd43.hostenv,arguments);};djd43.requireIf=function(_60,_61){var _62=arguments[0];if((_62===true)||(_62=="common")||(_62&&djd43.render[_62].capable)){var _63=[];for(var i=1;i<arguments.length;i++){_63.push(arguments[i]);}djd43.require.apply(djd43,_63);}};djd43.requireAfterIf=djd43.requireIf;
djd43.provide=function(_65){return djd43.hostenv.startPackage.apply(djd43.hostenv,arguments);};djd43.registerModulePath=function(_66,_67){return djd43.hostenv.setModulePrefix(_66,_67);};if(djd43_config["modulePaths"]){for(var param in djd43_config["modulePaths"]){djd43.registerModulePath(param,djd43_config["modulePaths"][param]);}}djd43.setModulePrefix=function(_68,_69){djd43.deprecated("djd43.setModulePrefix(\""+_68+"\", \""+_69+"\")","replaced by djd43.registerModulePath","0.5");return djd43.registerModulePath(_68,_69);};djd43.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;};
djd43.hostenv.normalizeLocale=function(_6e){var _6f=_6e?_6e.toLowerCase():djd43.locale;if(_6f=="root"){_6f="ROOT";}return _6f;}; djd43.hostenv.searchLocalePath=function(_70,_71,_72){_70=djd43.hostenv.normalizeLocale(_70);var _73=_70.split("-");var _74=[];for(var i=_73.length;i>0;i--){_74.push(_73.slice(0,i).join("-"));}_74.push(false);if(_71){_74.reverse();}for(var j=_74.length-1;j>=0;j--){var loc=_74[j]||"ROOT";var _78=_72(loc);if(_78){break;}}};
djd43.hostenv.localesGenerated;djd43.hostenv.registerNlsPrefix=function(){djd43.registerModulePath("nls","nls");};djd43.hostenv.preloadLocalizations=function(){if(djd43.hostenv.localesGenerated){djd43.hostenv.registerNlsPrefix();function preload(_79){_79=djd43.hostenv.normalizeLocale(_79);djd43.hostenv.searchLocalePath(_79,true,function(loc){for(var i=0;i<djd43.hostenv.localesGenerated.length;i++){if(djd43.hostenv.localesGenerated[i]==loc){djd43["require"]("nls.djd43_"+loc);return true;}}return false;});}preload();var _7c=djd43_config.extraLocale||[];for(var i=0;i<_7c.length;i++){preload(_7c[i]);}}djd43.hostenv.preloadLocalizations=function(){};};djd43.requireLocalization=function(_7e,_7f,_80,_81){djd43.hostenv.preloadLocalizations();var _82=djd43.hostenv.normalizeLocale(_80);var _83=[_7e,"nls",_7f].join(".");var _84="";if(_81){var _85=_81.split(",");for(var i=0;i<_85.length;i++){if(_82.indexOf(_85[i])==0){if(_85[i].length>_84.length){_84=_85[i];}}}if(!_84){_84="ROOT";}}var _87=_81?_84:_82;var _88=djd43.hostenv.findModule(_83);var _89=null;if(_88){if(djd43_config.localizationComplete&&_88._built){return;}var _8a=_87.replace("-","_");var _8b=_83+"."+_8a;_89=djd43.hostenv.findModule(_8b);}if(!_89){_88=djd43.hostenv.startPackage(_83);var _8c=djd43.hostenv.getModuleSymbols(_7e);var _8d=_8c.concat("nls").join("/");var _8e;djd43.hostenv.searchLocalePath(_87,_81,function(loc){var _90=loc.replace("-","_");var _91=_83+"."+_90;var _92=false;if(!djd43.hostenv.findModule(_91)){djd43.hostenv.startPackage(_91);var _93=[_8d];if(loc!="ROOT"){_93.push(loc);}_93.push(_7f);var _94=_93.join("/")+".js";_92=djd43.hostenv.loadPath(_94,null,function(_95){var _96=function(){};_96.prototype=_8e;_88[_90]=new _96();for(var j in _95){_88[_90][j]=_95[j];}});}else{_92=true;}if(_92&&_88[_90]){_8e=_88[_90];}else{_88[_90]=_8e;}
if(_81){return true;}});}if(_81&&_82!=_84){_88[_82.replace("-","_")]=_88[_84.replace("-","_")];}};(function(){var _98=djd43_config.extraLocale;if(_98){if(!_98 instanceof Array){_98=[_98];}var req=djd43.requireLocalization;djd43.requireLocalization=function(m,b,_9c,_9d){req(m,b,_9c,_9d);if(_9c){return;}for(var i=0;i<_98.length;i++){req(m,b,_98[i],_9d);}};}})();
if(typeof window!="undefined"){(function(){if(djd43_config.allowQueryConfig){var _9f=document.location.toString();var _a0=_9f.split("?",2);if(_a0.length>1){var _a1=_a0[1];var _a2=_a1.split("&");for(var x in _a2){var sp=_a2[x].split("=");if((sp[0].length>9)&&(sp[0].substr(0,9)=="djd43_config.")){var opt=sp[0].substr(9);try{djd43_config[opt]=eval(sp[1]);}catch(e){djd43_config[opt]=sp[1];}}}}}
if(((djd43_config["baseScriptUri"]=="")||(djd43_config["baseRelativePath"]==""))&&(document&&document.getElementsByTagName)){var _a6=document.getElementsByTagName("script");var _a7=/(__package__|djd43|bootstrap1)\.js([\?\.]|$)/i;for(var i=0;i<_a6.length;i++){var src=_a6[i].getAttribute("src");if(!src){continue;}var m=src.match(_a7);if(m){var _ab=src.substring(0,m.index);if(src.indexOf("bootstrap1")>-1){_ab+="../";}if(!this["djd43_config"]){djd43_config={};}if(djd43_config["baseScriptUri"]==""){djd43_config["baseScriptUri"]=_ab;}if(djd43_config["baseRelativePath"]==""){djd43_config["baseRelativePath"]=_ab;}break;}}}var dr=djd43.render;var drh=djd43.render.html;var drs=djd43.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 _b3=dua.indexOf("Gecko");drh.mozilla=drh.moz=(_b3>=0)&&(!drh.khtml);if(drh.mozilla){drh.geckoVersion=dua.substring(_b3+6,_b3+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;djd43.locale=djd43.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 _b5=window["document"];var tdi=_b5["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{}})();djd43.hostenv.startPackage("djd43.hostenv");djd43.render.name=djd43.hostenv.name_="browser";djd43.hostenv.searchIds=[];djd43.hostenv._XMLHTTP_PROGIDS=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"];djd43.hostenv.getXmlhttpObject=function(){var _b9=null;var _ba=null;try{_b9=new XMLHttpRequest();}catch(e){}if(!_b9){for(var i=0;i<3;++i){var _bc=djd43.hostenv._XMLHTTP_PROGIDS[i];try{_b9=new ActiveXObject(_bc);}catch(e){_ba=e;}if(_b9){djd43.hostenv._XMLHTTP_PROGIDS=[_bc];break;}}}if(!_b9){return djd43.raise("XMLHTTP not available",_ba);}return _b9;};djd43.hostenv._blockAsync=false;djd43.hostenv.getText=function(uri,_be,_bf){if(!_be){this._blockAsync=true;}var _c0=this.getXmlhttpObject();function isDocumentOk(_c1){var _c2=_c1["status"];return Boolean((!_c2)||((200<=_c2)&&(300>_c2))||(_c2==304));}if(_be){var _c3=this,_c4=null,gbl=djd43.global();var xhr=djd43.evalObjPath("djd43.io.XMLHTTPTransport");_c0.onreadystatechange=function(){if(_c4){gbl.clearTimeout(_c4);_c4=null;}if(_c3._blockAsync||(xhr&&xhr._blockAsync)){_c4=gbl.setTimeout(function(){_c0.onreadystatechange.apply(this);},10);}else{if(4==_c0.readyState){if(isDocumentOk(_c0)){_be(_c0.responseText);}}}};}_c0.open("GET",uri,_be?true:false);try{_c0.send(null);if(_be){return null;}if(!isDocumentOk(_c0)){var err=Error("Unable to load "+uri+" status:"+_c0.status);err.status=_c0.status;err.responseText=_c0.responseText;throw err;}}catch(e){this._blockAsync=false;if((_bf)&&(!_be)){return null;}else{throw e;}}this._blockAsync=false;return _c0.responseText;};djd43.hostenv.defaultDebugContainerId="djd43Debug";djd43.hostenv._println_buffer=[];djd43.hostenv._println_safe=false;djd43.hostenv.println=function(_c8){if(!djd43.hostenv._println_safe){djd43.hostenv._println_buffer.push(_c8);}else{try{var _c9=document.getElementById(djd43_config.debugContainerId?djd43_config.debugContainerId:djd43.hostenv.defaultDebugContainerId);if(!_c9){_c9=djd43.body();}var div=document.createElement("div");div.appendChild(document.createTextNode(_c8));_c9.appendChild(div);}catch(e){try{document.write("<div>"+_c8+"</div>");}catch(e2){window.status=_c8;}}}};djd43.addOnLoad(function(){djd43.hostenv._println_safe=true;while(djd43.hostenv._println_buffer.length>0){djd43.hostenv.println(djd43.hostenv._println_buffer.shift());}});function dj_addNodeEvtHdlr(_cb,_cc,fp){var _ce=_cb["on"+_cc]||function(){};_cb["on"+_cc]=function(){fp.apply(_cb,arguments);_ce.apply(_cb,arguments);};return true;}djd43.hostenv._djInitFired=false;function dj_load_init(e){djd43.hostenv._djInitFired=true;var _d0=(e&&e.type)?e.type.toLowerCase():"load";if(arguments.callee.initialized||(_d0!="domcontentloaded"&&_d0!="load")){return;}arguments.callee.initialized=true;if(typeof (_timer)!="undefined"){clearInterval(_timer);delete _timer;}var _d1=function(){if(djd43.render.html.ie){djd43.hostenv.makeWidgets();}};if(djd43.hostenv.inFlightCount==0){_d1();djd43.hostenv.modulesLoaded();}else{djd43.hostenv.modulesLoadedListeners.unshift(_d1);}}if(document.addEventListener){if(djd43.render.html.opera||(djd43.render.html.moz&&(djd43_config["enableMozDomContentLoaded"]===true))){document.addEventListener("DOMContentLoaded",dj_load_init,null);}window.addEventListener("load",dj_load_init,null);}if(djd43.render.html.ie&&djd43.render.os.win){document.attachEvent("onreadystatechange",function(e){if(document.readyState=="complete"){dj_load_init();}});}if(/(WebKit|khtml)/i.test(navigator.userAgent)){var _timer=setInterval(function(){if(/loaded|complete/.test(document.readyState)){dj_load_init();}},10);}if(djd43.render.html.ie){dj_addNodeEvtHdlr(window,"beforeunload",function(){djd43.hostenv._unloading=true;window.setTimeout(function(){djd43.hostenv._unloading=false;},0);});}dj_addNodeEvtHdlr(window,"unload",function(){djd43.hostenv.unloaded();if((!djd43.render.html.ie)||(djd43.render.html.ie&&djd43.hostenv._unloading)){djd43.hostenv.unloaded();}});djd43.hostenv.makeWidgets=function(){var _d3=[];if(djd43_config.searchIds&&djd43_config.searchIds.length>0){_d3=_d3.concat(djd43_config.searchIds);}if(djd43.hostenv.searchIds&&djd43.hostenv.searchIds.length>0){_d3=_d3.concat(djd43.hostenv.searchIds);}if((djd43_config.parseWidgets)||(_d3.length>0)){if(djd43.evalObjPath("djd43.widget.Parse")){var _d4=new djd43.xml.Parse();if(_d3.length>0){for(var x=0;x<_d3.length;x++){var _d6=document.getElementById(_d3[x]);if(!_d6){continue;}var _d7=_d4.parseElement(_d6,null,true);djd43.widget.getParser().createComponents(_d7);}}else{if(djd43_config.parseWidgets){var _d7=_d4.parseElement(djd43.body(),null,true);djd43.widget.getParser().createComponents(_d7);}}}}};djd43.addOnLoad(function(){if(!djd43.render.html.ie){djd43.hostenv.makeWidgets();}});try{if(djd43.render.html.ie){document.namespaces.add("v","urn:schemas-microsoft-com:vml");document.createStyleSheet().addRule("v\\:*","behavior:url(#default#VML)");}}catch(e){}djd43.hostenv.writeIncludes=function(){};if(!dj_undef("document",this)){dj_currentDocument=this.document;}djd43.doc=function(){return dj_currentDocument;};djd43.body=function(){return djd43.doc().body||djd43.doc().getElementsByTagName("body")[0];};djd43.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;};djd43.setContext=function(_dc,_dd){dj_currentContext=_dc;dj_currentDocument=_dd;};djd43._fireCallback=function(_de,_df,_e0){if((_df)&&((typeof _de=="string")||(_de instanceof String))){_de=_df[_de];}return (_df?_de.apply(_df,_e0||[]):_de());};djd43.withGlobal=function(_e1,_e2,_e3,_e4){var _e5;var _e6=dj_currentContext;var _e7=dj_currentDocument;try{djd43.setContext(_e1,_e1.document);_e5=djd43._fireCallback(_e2,_e3,_e4);}finally{djd43.setContext(_e6,_e7);}return _e5;};djd43.withDoc=function(_e8,_e9,_ea,_eb){var _ec;var _ed=dj_currentDocument;try{dj_currentDocument=_e8;_ec=djd43._fireCallback(_e9,_ea,_eb);}finally{dj_currentDocument=_ed;}return _ec;};}djd43.requireIf((djd43_config["isDebug"]||djd43_config["debugAtAllCosts"]),"djd43.debug");
djd43.requireIf(djd43_config["debugAtAllCosts"]&&!window.widget&&!djd43_config["useXDomain"],"djd43.browser_debug");djd43.requireIf(djd43_config["debugAtAllCosts"]&&!window.widget&&djd43_config["useXDomain"],"djd43.browser_debug_xd");
djd43.provide("djd43.string.common");djd43.string.trim=function(str,wh){if(!str.replace){return str;}if(!str.length){return str;}var re=(wh>0)?(/^\s+/):(wh<0)?(/\s+$/):(/^\s+|\s+$/g);return str.replace(re,"");};djd43.string.trimStart=function(str){return djd43.string.trim(str,1);};djd43.string.trimEnd=function(str){return djd43.string.trim(str,-1);};djd43.string.repeat=function(str,_f4,_f5){var out="";for(var i=0;i<_f4;i++){out+=str;if(_f5&&i<_f4-1){out+=_f5;}}return out;};djd43.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;};djd43.string.padLeft=function(str,len,c){return djd43.string.pad(str,len,c,1);};djd43.string.padRight=function(str,len,c){return djd43.string.pad(str,len,c,-1);};
djd43.provide("djd43.string");
djd43.provide("djd43.lang.common");djd43.lang.inherits=function(_103,_104){if(!djd43.lang.isFunction(_104)){djd43.raise("djd43.inherits: superclass argument ["+_104+"] must be a function (subclass: ["+_103+"']");}_103.prototype=new _104();_103.prototype.constructor=_103;_103.superclass=_104.prototype;_103["super"]=_104.prototype;};djd43.lang._mixin=function(obj,_106){var tobj={};for(var x in _106){if((typeof tobj[x]=="undefined")||(tobj[x]!=_106[x])){obj[x]=_106[x];}}if(djd43.render.html.ie&&(typeof (_106["toString"])=="function")&&(_106["toString"]!=obj["toString"])&&(_106["toString"]!=tobj["toString"])){obj.toString=_106.toString;}return obj;};djd43.lang.mixin=function(obj,_10a){for(var i=1,l=arguments.length;i<l;i++){djd43.lang._mixin(obj,arguments[i]);}return obj;};djd43.lang.extend=function(_10d,_10e){for(var i=1,l=arguments.length;i<l;i++){djd43.lang._mixin(_10d.prototype,arguments[i]);}return _10d;};djd43.inherits=djd43.lang.inherits;djd43.mixin=djd43.lang.mixin;djd43.extend=djd43.lang.extend;djd43.lang.find=function(_111,_112,_113,_114){if(!djd43.lang.isArrayLike(_111)&&djd43.lang.isArrayLike(_112)){djd43.deprecated("djd43.lang.find(value, array)","use djd43.lang.find(array, value) instead","0.5");var temp=_111;_111=_112;_112=temp;}var _116=djd43.lang.isString(_111);if(_116){_111=_111.split("");}if(_114){var step=-1;var i=_111.length-1;var end=-1;}else{var step=1;var i=0;var end=_111.length;}if(_113){while(i!=end){if(_111[i]===_112){return i;}i+=step;}}else{while(i!=end){if(_111[i]==_112){return i;}i+=step;}}return -1;};djd43.lang.indexOf=djd43.lang.find;djd43.lang.findLast=function(_11a,_11b,_11c){return djd43.lang.find(_11a,_11b,_11c,true);};djd43.lang.lastIndexOf=djd43.lang.findLast;djd43.lang.inArray=function(_11d,_11e){return djd43.lang.find(_11d,_11e)>-1;};djd43.lang.isObject=function(it){if(typeof it=="undefined"){return false;}return (typeof it=="object"||it===null||djd43.lang.isArray(it)||djd43.lang.isFunction(it));};djd43.lang.isArray=function(it){return (it&&it instanceof Array||typeof it=="array");};djd43.lang.isArrayLike=function(it){if((!it)||(djd43.lang.isUndefined(it))){return false;}if(djd43.lang.isString(it)){return false;}if(djd43.lang.isFunction(it)){return false;}if(djd43.lang.isArray(it)){return true;}if((it.tagName)&&(it.tagName.toLowerCase()=="form")){return false;}if(djd43.lang.isNumber(it.length)&&isFinite(it.length)){return true;}return false;};djd43.lang.isFunction=function(it){return (it instanceof Function||typeof it=="function");};(function(){if((djd43.render.html.capable)&&(djd43.render.html["safari"])){djd43.lang.isFunction=function(it){if((typeof (it)=="function")&&(it=="[object NodeList]")){return false;}return (it instanceof Function||typeof it=="function");};}})();djd43.lang.isString=function(it){return (typeof it=="string"||it instanceof String);};djd43.lang.isAlien=function(it){if(!it){return false;}return !djd43.lang.isFunction(it)&&/\{\s*\[native code\]\s*\}/.test(String(it));};djd43.lang.isBoolean=function(it){return (it instanceof Boolean||typeof it=="boolean");};djd43.lang.isNumber=function(it){return (it instanceof Number||typeof it=="number");};djd43.lang.isUndefined=function(it){return ((typeof (it)=="undefined")&&(it==undefined));};
djd43.provide("djd43.lang.extras");djd43.lang.setTimeout=function(func,_12a){var _12b=window,_12c=2;if(!djd43.lang.isFunction(func)){_12b=func;func=_12a;_12a=arguments[2];_12c++;}if(djd43.lang.isString(func)){func=_12b[func];}var args=[];for(var i=_12c;i<arguments.length;i++){args.push(arguments[i]);}return djd43.global().setTimeout(function(){func.apply(_12b,args);},_12a);};djd43.lang.clearTimeout=function(_12f){djd43.global().clearTimeout(_12f);};djd43.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;};djd43.lang.shallowCopy=function(obj,deep){var i,ret;if(obj===null){return null;}if(djd43.lang.isObject(obj)){ret=new obj.constructor();for(i in obj){if(djd43.lang.isUndefined(ret[i])){ret[i]=deep?djd43.lang.shallowCopy(obj[i],deep):obj[i];}}}else{if(djd43.lang.isArray(obj)){ret=[];for(i=0;i<obj.length;i++){ret[i]=deep?djd43.lang.shallowCopy(obj[i],deep):obj[i];}}else{ret=obj;}}return ret;};djd43.lang.firstValued=function(){for(var i=0;i<arguments.length;i++){if(typeof arguments[i]!="undefined"){return arguments[i];}}return undefined;};djd43.lang.getObjPathValue=function(_138,_139,_13a){with(djd43.parseObjPath(_138,_139,_13a)){return djd43.evalProp(prop,obj,_13a);}};djd43.lang.setObjPathValue=function(_13b,_13c,_13d,_13e){djd43.deprecated("djd43.lang.setObjPathValue","use djd43.parseObjPath and the '=' operator","0.6");if(arguments.length<4){_13e=true;}with(djd43.parseObjPath(_13b,_13d,_13e)){if(obj&&(_13e||(prop in obj))){obj[prop]=_13c;}}};
djd43.provide("djd43.io.common");djd43.io.transports=[];djd43.io.hdlrFuncNames=["load","error","timeout"];djd43.io.Request=function(url,_140,_141,_142){if((arguments.length==1)&&(arguments[0].constructor==Object)){this.fromKwArgs(arguments[0]);}else{this.url=url;if(_140){this.mimetype=_140;}if(_141){this.transport=_141;}if(arguments.length>=4){this.changeUrl=_142;}}};djd43.lang.extend(djd43.io.Request,{url:"",mimetype:"text/plain",method:"GET",content:undefined,transport:undefined,changeUrl:undefined,formNode:undefined,sync:false,bindSuccess:false,useCache:false,preventCache:false,jsonFilter:function(_143){if((this.mimetype=="text/json-comment-filtered")||(this.mimetype=="application/json-comment-filtered")){var _144=_143.indexOf("/*");var _145=_143.lastIndexOf("*/");if((_144==-1)||(_145==-1)){djd43.debug("your JSON wasn't comment filtered!");return "";}return _143.substring(_144+2,_145);}djd43.debug("please consider using a mimetype of text/json-comment-filtered to avoid potential security issues with JSON endpoints");return _143;},load:function(type,data,_148,_149){},error:function(type,_14b,_14c,_14d){},timeout:function(type,_14f,_150,_151){},handle:function(type,data,_154,_155){},timeoutSeconds:0,abort:function(){},fromKwArgs:function(_156){if(_156["url"]){_156.url=_156.url.toString();}if(_156["formNode"]){_156.formNode=djd43.byId(_156.formNode);}if(!_156["method"]&&_156["formNode"]&&_156["formNode"].method){_156.method=_156["formNode"].method;}if(!_156["handle"]&&_156["handler"]){_156.handle=_156.handler;}if(!_156["load"]&&_156["loaded"]){_156.load=_156.loaded;}if(!_156["changeUrl"]&&_156["changeURL"]){_156.changeUrl=_156.changeURL;}_156.encoding=djd43.lang.firstValued(_156["encoding"],djd43_config["bindEncoding"],"");_156.sendTransport=djd43.lang.firstValued(_156["sendTransport"],djd43_config["ioSendTransport"],false);var _157=djd43.lang.isFunction;for(var x=0;x<djd43.io.hdlrFuncNames.length;x++){var fn=djd43.io.hdlrFuncNames[x];if(_156[fn]&&_157(_156[fn])){continue;}if(_156["handle"]&&_157(_156["handle"])){_156[fn]=_156.handle;}}djd43.lang.mixin(this,_156);}});djd43.io.Error=function(msg,type,num){this.message=msg;this.type=type||"unknown";this.number=num||0;};djd43.io.transports.addTransport=function(name){this.push(name);this[name]=djd43.io[name];};djd43.io.bind=function(_15e){if(!(_15e instanceof djd43.io.Request)){try{_15e=new djd43.io.Request(_15e);}catch(e){djd43.debug(e);}}var _15f="";if(_15e["transport"]){_15f=_15e["transport"];if(!this[_15f]){djd43.io.sendBindError(_15e,"No djd43.io.bind() transport with name '"+_15e["transport"]+"'.");return _15e;}if(!this[_15f].canHandle(_15e)){djd43.io.sendBindError(_15e,"djd43.io.bind() transport with name '"+_15e["transport"]+"' cannot handle this type of request.");return _15e;}}else{for(var x=0;x<djd43.io.transports.length;x++){var tmp=djd43.io.transports[x];if((this[tmp])&&(this[tmp].canHandle(_15e))){_15f=tmp;break;}}if(_15f==""){djd43.io.sendBindError(_15e,"None of the loaded transports for djd43.io.bind()"+" can handle the request.");return _15e;}}this[_15f].bind(_15e);_15e.bindSuccess=true;return _15e;};djd43.io.sendBindError=function(_162,_163){if((typeof _162.error=="function"||typeof _162.handle=="function")&&(typeof setTimeout=="function"||typeof setTimeout=="object")){var _164=new djd43.io.Error(_163);setTimeout(function(){_162[(typeof _162.error=="function")?"error":"handle"]("error",_164,null,_162);},50);}else{djd43.raise(_163);}};djd43.io.queueBind=function(_165){if(!(_165 instanceof djd43.io.Request)){try{_165=new djd43.io.Request(_165);}catch(e){djd43.debug(e);}}var _166=_165.load;_165.load=function(){djd43.io._queueBindInFlight=false;var ret=_166.apply(this,arguments);djd43.io._dispatchNextQueueBind();return ret;};var _168=_165.error;_165.error=function(){djd43.io._queueBindInFlight=false;var ret=_168.apply(this,arguments);djd43.io._dispatchNextQueueBind();return ret;};djd43.io._bindQueue.push(_165);djd43.io._dispatchNextQueueBind();return _165;};djd43.io._dispatchNextQueueBind=function(){if(!djd43.io._queueBindInFlight){djd43.io._queueBindInFlight=true;if(djd43.io._bindQueue.length>0){djd43.io.bind(djd43.io._bindQueue.shift());}else{djd43.io._queueBindInFlight=false;}}};djd43.io._bindQueue=[];djd43.io._queueBindInFlight=false;djd43.io.argsFromMap=function(map,_16b,last){var enc=/utf/i.test(_16b||"")?encodeURIComponent:djd43.string.encodeAscii;var _16e=[];var _16f=new Object();for(var name in map){var _171=function(elt){var val=enc(name)+"="+enc(elt);_16e[(last==name)?"push":"unshift"](val);};if(!_16f[name]){var _174=map[name];if(djd43.lang.isArray(_174)){djd43.lang.forEach(_174,_171);}else{_171(_174);}}}return _16e.join("&");};djd43.io.setIFrameSrc=function(_175,src,_177){try{var r=djd43.render.html;if(!_177){if(r.safari){_175.location=src;}else{frames[_175.name].location=src;}}else{var idoc;if(r.ie){idoc=_175.contentWindow.document;}else{if(r.safari){idoc=_175.document;}else{idoc=_175.contentWindow;}}if(!idoc){_175.location=src;return;}else{idoc.location.replace(src);}}}catch(e){djd43.debug(e);djd43.debug("setIFrameSrc: "+e);}};
djd43.provide("djd43.lang.array");djd43.lang.mixin(djd43.lang,{has:function(obj,name){try{return typeof obj[name]!="undefined";}catch(e){return false;}},isEmpty:function(obj){if(djd43.lang.isObject(obj)){var tmp={};var _17e=0;for(var x in obj){if(obj[x]&&(!tmp[x])){_17e++;break;}}return _17e==0;}else{if(djd43.lang.isArrayLike(obj)||djd43.lang.isString(obj)){return obj.length==0;}}},map:function(arr,obj,_182){var _183=djd43.lang.isString(arr);if(_183){arr=arr.split("");}if(djd43.lang.isFunction(obj)&&(!_182)){_182=obj;obj=dj_global;}else{if(djd43.lang.isFunction(obj)&&_182){var _184=obj;obj=_182;_182=_184;}}if(Array.map){var _185=Array.map(arr,_182,obj);}else{var _185=[];for(var i=0;i<arr.length;++i){_185.push(_182.call(obj,arr[i]));}}if(_183){return _185.join("");}else{return _185;}},reduce:function(arr,_188,obj,_18a){var _18b=_188;if(arguments.length==2){_18a=_188;_18b=arr[0];arr=arr.slice(1);}else{if(arguments.length==3){if(djd43.lang.isFunction(obj)){_18a=obj;obj=null;}}else{if(djd43.lang.isFunction(obj)){var tmp=_18a;_18a=obj;obj=tmp;}}}var ob=obj||dj_global;djd43.lang.map(arr,function(val){_18b=_18a.call(ob,_18b,val);});return _18b;},forEach:function(_18f,_190,_191){if(djd43.lang.isString(_18f)){_18f=_18f.split("");}if(Array.forEach){Array.forEach(_18f,_190,_191);}else{if(!_191){_191=dj_global;}for(var i=0,l=_18f.length;i<l;i++){_190.call(_191,_18f[i],i,_18f);}}},_everyOrSome:function(_194,arr,_196,_197){if(djd43.lang.isString(arr)){arr=arr.split("");}if(Array.every){return Array[_194?"every":"some"](arr,_196,_197);}else{if(!_197){_197=dj_global;}for(var i=0,l=arr.length;i<l;i++){var _19a=_196.call(_197,arr[i],i,arr);if(_194&&!_19a){return false;}else{if((!_194)&&(_19a)){return true;}}}return Boolean(_194);}},every:function(arr,_19c,_19d){return this._everyOrSome(true,arr,_19c,_19d);},some:function(arr,_19f,_1a0){return this._everyOrSome(false,arr,_19f,_1a0);},filter:function(arr,_1a2,_1a3){var _1a4=djd43.lang.isString(arr);if(_1a4){arr=arr.split("");}var _1a5;if(Array.filter){_1a5=Array.filter(arr,_1a2,_1a3);}else{if(!_1a3){if(arguments.length>=3){djd43.raise("thisObject doesn't exist!");}_1a3=dj_global;}_1a5=[];for(var i=0;i<arr.length;i++){if(_1a2.call(_1a3,arr[i],i,arr)){_1a5.push(arr[i]);}}}if(_1a4){return _1a5.join("");}else{return _1a5;}},unnest:function(){var out=[];for(var i=0;i<arguments.length;i++){if(djd43.lang.isArrayLike(arguments[i])){var add=djd43.lang.unnest.apply(this,arguments[i]);out=out.concat(add);}else{out.push(arguments[i]);}}return out;},toArray:function(_1aa,_1ab){var _1ac=[];for(var i=_1ab||0;i<_1aa.length;i++){_1ac.push(_1aa[i]);}return _1ac;}});
djd43.provide("djd43.lang.func");djd43.lang.hitch=function(_1ae,_1af){var args=[];for(var x=2;x<arguments.length;x++){args.push(arguments[x]);}var fcn=(djd43.lang.isString(_1af)?_1ae[_1af]:_1af)||function(){};return function(){var ta=args.concat([]);for(var x=0;x<arguments.length;x++){ta.push(arguments[x]);}return fcn.apply(_1ae,ta);};};djd43.lang.anonCtr=0;djd43.lang.anon={};djd43.lang.nameAnonFunc=function(_1b5,_1b6,_1b7){var nso=(_1b6||djd43.lang.anon);if((_1b7)||((dj_global["djd43_config"])&&(djd43_config["slowAnonFuncLookups"]==true))){for(var x in nso){try{if(nso[x]===_1b5){return x;}}catch(e){}}}var ret="__"+djd43.lang.anonCtr++;while(typeof nso[ret]!="undefined"){ret="__"+djd43.lang.anonCtr++;}nso[ret]=_1b5;return ret;};djd43.lang.forward=function(_1bb){return function(){return this[_1bb].apply(this,arguments);};};djd43.lang.curry=function(_1bc,func){var _1be=[];_1bc=_1bc||dj_global;if(djd43.lang.isString(func)){func=_1bc[func];}for(var x=2;x<arguments.length;x++){_1be.push(arguments[x]);}var _1c0=(func["__preJoinArity"]||func.length)-_1be.length;function gather(_1c1,_1c2,_1c3){var _1c4=_1c3;var _1c5=_1c2.slice(0);for(var x=0;x<_1c1.length;x++){_1c5.push(_1c1[x]);}_1c3=_1c3-_1c1.length;if(_1c3<=0){var res=func.apply(_1bc,_1c5);_1c3=_1c4;return res;}else{return function(){return gather(arguments,_1c5,_1c3);};}}return gather([],_1be,_1c0);};djd43.lang.curryArguments=function(_1c8,func,args,_1cb){var _1cc=[];var x=_1cb||0;for(x=_1cb;x<args.length;x++){_1cc.push(args[x]);}return djd43.lang.curry.apply(djd43.lang,[_1c8,func].concat(_1cc));};djd43.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){djd43.debug(e);}}};djd43.lang.delayThese=function(farr,cb,_1d2,_1d3){if(!farr.length){if(typeof _1d3=="function"){_1d3();}return;}if((typeof _1d2=="undefined")&&(typeof cb=="number")){_1d2=cb;cb=function(){};}else{if(!cb){cb=function(){};if(!_1d2){_1d2=0;}}}setTimeout(function(){(farr.shift())();cb();djd43.lang.delayThese(farr,cb,_1d2,_1d3);},_1d2);};
djd43.provide("djd43.string.extras");djd43.string.substituteParams=function(_1d4,hash){var map=(typeof hash=="object")?hash:djd43.lang.toArray(arguments,1);return _1d4.replace(/\%\{(\w+)\}/g,function(_1d7,key){if(typeof (map[key])!="undefined"&&map[key]!=null){return map[key];}djd43.raise("Substitution not found: "+key);});};djd43.string.capitalize=function(str){if(!djd43.lang.isString(str)){return "";}if(arguments.length==0){str=this;}var _1da=str.split(" ");for(var i=0;i<_1da.length;i++){_1da[i]=_1da[i].charAt(0).toUpperCase()+_1da[i].substring(1);}return _1da.join(" ");};djd43.string.isBlank=function(str){if(!djd43.lang.isString(str)){return true;}return (djd43.string.trim(str).length==0);};djd43.string.encodeAscii=function(str){if(!djd43.lang.isString(str)){return str;}var ret="";var _1df=escape(str);var _1e0,re=/%u([0-9A-F]{4})/i;while((_1e0=_1df.match(re))){var num=Number("0x"+_1e0[1]);var _1e3=escape("&#"+num+";");ret+=_1df.substring(0,_1e0.index)+_1e3;_1df=_1df.substring(_1e0.index+_1e0[0].length);}ret+=_1df.replace(/\+/g,"%2B");return ret;};djd43.string.escape=function(type,str){var args=djd43.lang.toArray(arguments,1);switch(type.toLowerCase()){case "xml":case "html":case "xhtml":return djd43.string.escapeXml.apply(this,args);case "sql":return djd43.string.escapeSql.apply(this,args);case "regexp":case "regex":return djd43.string.escapeRegExp.apply(this,args);case "javascript":case "jscript":case "js":return djd43.string.escapeJavaScript.apply(this,args);case "ascii":return djd43.string.encodeAscii.apply(this,args);default:return str;}};djd43.string.escapeXml=function(str,_1e8){str=str.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");if(!_1e8){str=str.replace(/'/gm,"&#39;");}return str;};djd43.string.escapeSql=function(str){return str.replace(/'/gm,"''");};djd43.string.escapeRegExp=function(str){return str.replace(/\\/gm,"\\\\").replace(/([\f\b\n\t\r[\^$|?*+(){}])/gm,"\\$1");};djd43.string.escapeJavaScript=function(str){return str.replace(/(["'\f\b\n\t\r])/gm,"\\$1");};djd43.string.escapeString=function(str){return ("\""+str.replace(/(["\\])/g,"\\$1")+"\"").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r");};djd43.string.summary=function(str,len){if(!len||str.length<=len){return str;}return str.substring(0,len).replace(/\.+$/,"")+"...";};djd43.string.endsWith=function(str,end,_1f1){if(_1f1){str=str.toLowerCase();end=end.toLowerCase();}if((str.length-end.length)<0){return false;}return str.lastIndexOf(end)==str.length-end.length;};djd43.string.endsWithAny=function(str){for(var i=1;i<arguments.length;i++){if(djd43.string.endsWith(str,arguments[i])){return true;}}return false;};djd43.string.startsWith=function(str,_1f5,_1f6){if(_1f6){str=str.toLowerCase();_1f5=_1f5.toLowerCase();}return str.indexOf(_1f5)==0;};djd43.string.startsWithAny=function(str){for(var i=1;i<arguments.length;i++){if(djd43.string.startsWith(str,arguments[i])){return true;}}return false;};djd43.string.has=function(str){for(var i=1;i<arguments.length;i++){if(str.indexOf(arguments[i])>-1){return true;}}return false;};djd43.string.normalizeNewlines=function(text,_1fc){if(_1fc=="\n"){text=text.replace(/\r\n/g,"\n");text=text.replace(/\r/g,"\n");}else{if(_1fc=="\r"){text=text.replace(/\r\n/g,"\r");text=text.replace(/\n/g,"\r");}else{text=text.replace(/([^\r])\n/g,"$1\r\n").replace(/\r([^\n])/g,"\r\n$1");}}return text;};djd43.string.splitEscaped=function(str,_1fe){var _1ff=[];for(var i=0,_201=0;i<str.length;i++){if(str.charAt(i)=="\\"){i++;continue;}if(str.charAt(i)==_1fe){_1ff.push(str.substring(_201,i));_201=i+1;}}_1ff.push(str.substr(_201));return _1ff;};
djd43.provide("djd43.dom");djd43.dom.ELEMENT_NODE=1;djd43.dom.ATTRIBUTE_NODE=2;djd43.dom.TEXT_NODE=3;djd43.dom.CDATA_SECTION_NODE=4;djd43.dom.ENTITY_REFERENCE_NODE=5;djd43.dom.ENTITY_NODE=6;djd43.dom.PROCESSING_INSTRUCTION_NODE=7;djd43.dom.COMMENT_NODE=8;djd43.dom.DOCUMENT_NODE=9;djd43.dom.DOCUMENT_TYPE_NODE=10;djd43.dom.DOCUMENT_FRAGMENT_NODE=11;djd43.dom.NOTATION_NODE=12;djd43.dom.djd43ml="http://www.djd43toolkit.org/2004/djd43ml";djd43.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/"};djd43.dom.isNode=function(wh){if(typeof Element=="function"){try{return wh instanceof Element;}catch(e){}}else{return wh&&!isNaN(wh.nodeType);}};djd43.dom.getUniqueId=function(){var _203=djd43.doc();do{var id="dj_unique_"+(++arguments.callee._idIncrement);}while(_203.getElementById(id));return id;};djd43.dom.getUniqueId._idIncrement=0;djd43.dom.firstElement=djd43.dom.getFirstChildElement=function(_205,_206){var node=_205.firstChild;while(node&&node.nodeType!=djd43.dom.ELEMENT_NODE){node=node.nextSibling;}if(_206&&node&&node.tagName&&node.tagName.toLowerCase()!=_206.toLowerCase()){node=djd43.dom.nextElement(node,_206);}return node;};djd43.dom.lastElement=djd43.dom.getLastChildElement=function(_208,_209){var node=_208.lastChild;while(node&&node.nodeType!=djd43.dom.ELEMENT_NODE){node=node.previousSibling;}if(_209&&node&&node.tagName&&node.tagName.toLowerCase()!=_209.toLowerCase()){node=djd43.dom.prevElement(node,_209);}return node;};djd43.dom.nextElement=djd43.dom.getNextSiblingElement=function(node,_20c){if(!node){return null;}do{node=node.nextSibling;}while(node&&node.nodeType!=djd43.dom.ELEMENT_NODE);if(node&&_20c&&_20c.toLowerCase()!=node.tagName.toLowerCase()){return djd43.dom.nextElement(node,_20c);}return node;};djd43.dom.prevElement=djd43.dom.getPreviousSiblingElement=function(node,_20e){if(!node){return null;}if(_20e){_20e=_20e.toLowerCase();}do{node=node.previousSibling;}while(node&&node.nodeType!=djd43.dom.ELEMENT_NODE);if(node&&_20e&&_20e.toLowerCase()!=node.tagName.toLowerCase()){return djd43.dom.prevElement(node,_20e);}return node;};djd43.dom.moveChildren=function(_20f,_210,trim){var _212=0;if(trim){while(_20f.hasChildNodes()&&_20f.firstChild.nodeType==djd43.dom.TEXT_NODE){_20f.removeChild(_20f.firstChild);}while(_20f.hasChildNodes()&&_20f.lastChild.nodeType==djd43.dom.TEXT_NODE){_20f.removeChild(_20f.lastChild);}}while(_20f.hasChildNodes()){_210.appendChild(_20f.firstChild);_212++;}return _212;};djd43.dom.copyChildren=function(_213,_214,trim){var _216=_213.cloneNode(true);return this.moveChildren(_216,_214,trim);};djd43.dom.replaceChildren=function(node,_218){var _219=[];if(djd43.render.html.ie){for(var i=0;i<node.childNodes.length;i++){_219.push(node.childNodes[i]);}}djd43.dom.removeChildren(node);node.appendChild(_218);for(var i=0;i<_219.length;i++){djd43.dom.destroyNode(_219[i]);}};djd43.dom.removeChildren=function(node){var _21c=node.childNodes.length;while(node.hasChildNodes()){djd43.dom.removeNode(node.firstChild);}return _21c;};djd43.dom.replaceNode=function(node,_21e){return node.parentNode.replaceChild(_21e,node);};djd43.dom.destroyNode=function(node){if(node.parentNode){node=djd43.dom.removeNode(node);}if(node.nodeType!=3){if(djd43.evalObjPath("djd43.event.browser.clean",false)){djd43.event.browser.clean(node);}if(djd43.render.html.ie){node.outerHTML="";}}};djd43.dom.removeNode=function(node){if(node&&node.parentNode){return node.parentNode.removeChild(node);}};djd43.dom.getAncestors=function(node,_222,_223){var _224=[];var _225=(_222&&(_222 instanceof Function||typeof _222=="function"));while(node){if(!_225||_222(node)){_224.push(node);}if(_223&&_224.length>0){return _224[0];}node=node.parentNode;}if(_223){return null;}return _224;};djd43.dom.getAncestorsByTag=function(node,tag,_228){tag=tag.toLowerCase();return djd43.dom.getAncestors(node,function(el){return ((el.tagName)&&(el.tagName.toLowerCase()==tag));},_228);};djd43.dom.getFirstAncestorByTag=function(node,tag){return djd43.dom.getAncestorsByTag(node,tag,true);};djd43.dom.isDescendantOf=function(node,_22d,_22e){if(_22e&&node){node=node.parentNode;}while(node){if(node==_22d){return true;}node=node.parentNode;}return false;};djd43.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);}}}};djd43.dom.createDocument=function(){var doc=null;var _231=djd43.doc();if(!dj_undef("ActiveXObject")){var _232=["MSXML2","Microsoft","MSXML","MSXML3"];for(var i=0;i<_232.length;i++){try{doc=new ActiveXObject(_232[i]+".XMLDOM");}catch(e){}if(doc){break;}}}else{if((_231.implementation)&&(_231.implementation.createDocument)){doc=_231.implementation.createDocument("","",null);}}return doc;};djd43.dom.createDocumentFromText=function(str,_235){if(!_235){_235="text/xml";}if(!dj_undef("DOMParser")){var _236=new DOMParser();return _236.parseFromString(str,_235);}else{if(!dj_undef("ActiveXObject")){var _237=djd43.dom.createDocument();if(_237){_237.async=false;_237.loadXML(str);return _237;}else{djd43.debug("toXml didn't work?");}}else{var _238=djd43.doc();if(_238.createElement){var tmp=_238.createElement("xml");tmp.innerHTML=str;if(_238.implementation&&_238.implementation.createDocument){var _23a=_238.implementation.createDocument("foo","",null);for(var i=0;i<tmp.childNodes.length;i++){_23a.importNode(tmp.childNodes.item(i),true);}return _23a;}return ((tmp.document)&&(tmp.document.firstChild?tmp.document.firstChild:tmp));}}}return null;};djd43.dom.prependChild=function(node,_23d){if(_23d.firstChild){_23d.insertBefore(node,_23d.firstChild);}else{_23d.appendChild(node);}return true;};djd43.dom.insertBefore=function(node,ref,_240){if((_240!=true)&&(node===ref||node.nextSibling===ref)){return false;}var _241=ref.parentNode;_241.insertBefore(node,ref);return true;};djd43.dom.insertAfter=function(node,ref,_244){var pn=ref.parentNode;if(ref==pn.lastChild){if((_244!=true)&&(node===ref)){return false;}pn.appendChild(node);}else{return this.insertBefore(node,ref.nextSibling,_244);}return true;};djd43.dom.insertAtPosition=function(node,ref,_248){if((!node)||(!ref)||(!_248)){return false;}switch(_248.toLowerCase()){case "before":return djd43.dom.insertBefore(node,ref);case "after":return djd43.dom.insertAfter(node,ref);case "first":if(ref.firstChild){return djd43.dom.insertBefore(node,ref.firstChild);}else{ref.appendChild(node);return true;}break;default:ref.appendChild(node);return true;}};djd43.dom.insertAtIndex=function(node,_24a,_24b){var _24c=_24a.childNodes;if(!_24c.length||_24c.length==_24b){_24a.appendChild(node);return true;}if(_24b==0){return djd43.dom.prependChild(node,_24a);}return djd43.dom.insertAfter(node,_24c[_24b-1]);};djd43.dom.textContent=function(node,text){if(arguments.length>1){var _24f=djd43.doc();djd43.dom.replaceChildren(node,_24f.createTextNode(text));return text;}else{if(node.textContent!=undefined){return node.textContent;}var _250="";if(node==null){return _250;}for(var i=0;i<node.childNodes.length;i++){switch(node.childNodes[i].nodeType){case 1:case 5:_250+=djd43.dom.textContent(node.childNodes[i]);break;case 3:case 2:case 4:_250+=node.childNodes[i].nodeValue;break;default:break;}}return _250;}};djd43.dom.hasParent=function(node){return Boolean(node&&node.parentNode&&djd43.dom.isNode(node.parentNode));};djd43.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 "";};djd43.dom.setAttributeNS=function(elem,_256,_257,_258){if(elem==null||((elem==undefined)&&(typeof elem=="undefined"))){djd43.raise("No element given to djd43.dom.setAttributeNS");}if(!((elem.setAttributeNS==undefined)&&(typeof elem.setAttributeNS=="undefined"))){elem.setAttributeNS(_256,_257,_258);}else{var _259=elem.ownerDocument;var _25a=_259.createNode(2,_257,_256);_25a.nodeValue=_258;elem.setAttributeNode(_25a);}};
djd43.provide("djd43.undo.browser");try{if((!djd43_config["preventBackButtonFix"])&&(!djd43.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='"+(djd43_config["djd43IframeHistoryUrl"]||djd43.hostenv.getBaseScriptUri()+"iframe_history.html")+"'></iframe>");}}catch(e){}if(djd43.render.html.opera){djd43.debug("Opera is not supported with djd43.undo.browser, so back/forward detection will not work.");}djd43.undo.browser={initialHref:(!dj_undef("window"))?window.location.href:"",initialHash:(!dj_undef("window"))?window.location.hash:"",moveForward:false,historyStack:[],forwardStack:[],historyIframe:null,bookmarkAnchor:null,locationTimer:null,setInitialState:function(args){this.initialState=this._createState(this.initialHref,args,this.initialHash);},addToHistory:function(args){this.forwardStack=[];var hash=null;var url=null;if(!this.historyIframe){if(djd43_config["useXDomain"]&&!djd43_config["djd43IframeHistoryUrl"]){djd43.debug("djd43.undo.browser: When using cross-domain Dojo builds,"+" please save iframe_history.html to your domain and set djd43_config.djd43IframeHistoryUrl"+" to the path on your domain to iframe_history.html");}this.historyIframe=window.frames["djhistory"];}if(!this.bookmarkAnchor){this.bookmarkAnchor=document.createElement("a");djd43.body().appendChild(this.bookmarkAnchor);this.bookmarkAnchor.style.display="none";}if(args["changeUrl"]){hash="#"+((args["changeUrl"]!==true)?args["changeUrl"]:(new Date()).getTime());if(this.historyStack.length==0&&this.initialState.urlHash==hash){this.initialState=this._createState(url,args,hash);return;}else{if(this.historyStack.length>0&&this.historyStack[this.historyStack.length-1].urlHash==hash){this.historyStack[this.historyStack.length-1]=this._createState(url,args,hash);return;}}this.changingUrl=true;setTimeout("window.location.href = '"+hash+"'; djd43.undo.browser.changingUrl = false;",1);this.bookmarkAnchor.href=hash;if(djd43.render.html.ie){url=this._loadIframeHistory();var _25f=args["back"]||args["backButton"]||args["handle"];var tcb=function(_261){if(window.location.hash!=""){setTimeout("window.location.href = '"+hash+"';",1);}_25f.apply(this,[_261]);};if(args["back"]){args.back=tcb;}else{if(args["backButton"]){args.backButton=tcb;}else{if(args["handle"]){args.handle=tcb;}}}var _262=args["forward"]||args["forwardButton"]||args["handle"];var tfw=function(_264){if(window.location.hash!=""){window.location.href=hash;}if(_262){_262.apply(this,[_264]);}};if(args["forward"]){args.forward=tfw;}else{if(args["forwardButton"]){args.forwardButton=tfw;}else{if(args["handle"]){args.handle=tfw;}}}}else{if(djd43.render.html.moz){if(!this.locationTimer){this.locationTimer=setInterval("djd43.undo.browser.checkLocation();",200);}}}}else{url=this._loadIframeHistory();}this.historyStack.push(this._createState(url,args,hash));},checkLocation:function(){if(!this.changingUrl){var hsl=this.historyStack.length;if((window.location.hash==this.initialHash||window.location.href==this.initialHref)&&(hsl==1)){this.handleBackButton();return;}if(this.forwardStack.length>0){if(this.forwardStack[this.forwardStack.length-1].urlHash==window.location.hash){this.handleForwardButton();return;}}if((hsl>=2)&&(this.historyStack[hsl-2])){if(this.historyStack[hsl-2].urlHash==window.location.hash){this.handleBackButton();return;}}}},iframeLoaded:function(evt,_267){if(!djd43.render.html.opera){var _268=this._getUrlQuery(_267.href);if(_268==null){if(this.historyStack.length==1){this.handleBackButton();}return;}if(this.moveForward){this.moveForward=false;return;}if(this.historyStack.length>=2&&_268==this._getUrlQuery(this.historyStack[this.historyStack.length-2].url)){this.handleBackButton();}else{if(this.forwardStack.length>0&&_268==this._getUrlQuery(this.forwardStack[this.forwardStack.length-1].url)){this.handleForwardButton();}}}},handleBackButton:function(){var _269=this.historyStack.pop();if(!_269){return;}var last=this.historyStack[this.historyStack.length-1];if(!last&&this.historyStack.length==0){last=this.initialState;}if(last){if(last.kwArgs["back"]){last.kwArgs["back"]();}else{if(last.kwArgs["backButton"]){last.kwArgs["backButton"]();}else{if(last.kwArgs["handle"]){last.kwArgs.handle("back");}}}}this.forwardStack.push(_269);},handleForwardButton:function(){var last=this.forwardStack.pop();if(!last){return;}if(last.kwArgs["forward"]){last.kwArgs.forward();}else{if(last.kwArgs["forwardButton"]){last.kwArgs.forwardButton();}else{if(last.kwArgs["handle"]){last.kwArgs.handle("forward");}}}this.historyStack.push(last);},_createState:function(url,args,hash){return {"url":url,"kwArgs":args,"urlHash":hash};},_getUrlQuery:function(url){var _270=url.split("?");if(_270.length<2){return null;}else{return _270[1];}},_loadIframeHistory:function(){var url=(djd43_config["djd43IframeHistoryUrl"]||djd43.hostenv.getBaseScriptUri()+"iframe_history.html")+"?"+(new Date()).getTime();this.moveForward=true;djd43.io.setIFrameSrc(this.historyIframe,url,false);return url;}};
djd43.provide("djd43.io.BrowserIO");if(!dj_undef("window")){djd43.io.checkChildrenForFile=function(node){var _273=false;var _274=node.getElementsByTagName("input");djd43.lang.forEach(_274,function(_275){if(_273){return;}if(_275.getAttribute("type")=="file"){_273=true;}});return _273;};djd43.io.formHasFile=function(_276){return djd43.io.checkChildrenForFile(_276);};djd43.io.updateNode=function(node,_278){node=djd43.byId(node);var args=_278;if(djd43.lang.isString(_278)){args={url:_278};}args.mimetype="text/html";args.load=function(t,d,e){while(node.firstChild){djd43.dom.destroyNode(node.firstChild);}node.innerHTML=d;};djd43.io.bind(args);};djd43.io.formFilter=function(node){var type=(node.type||"").toLowerCase();return !node.disabled&&node.name&&!djd43.lang.inArray(["file","submit","image","reset","button"],type);};djd43.io.encodeForm=function(_27f,_280,_281){if((!_27f)||(!_27f.tagName)||(!_27f.tagName.toLowerCase()=="form")){djd43.raise("Attempted to encode a non-form element.");}if(!_281){_281=djd43.io.formFilter;}var enc=/utf/i.test(_280||"")?encodeURIComponent:djd43.string.encodeAscii;var _283=[];for(var i=0;i<_27f.elements.length;i++){var elm=_27f.elements[i];if(!elm||elm.tagName.toLowerCase()=="fieldset"||!_281(elm)){continue;}var name=enc(elm.name);var type=elm.type.toLowerCase();if(type=="select-multiple"){for(var j=0;j<elm.options.length;j++){if(elm.options[j].selected){_283.push(name+"="+enc(elm.options[j].value));}}}else{if(djd43.lang.inArray(["radio","checkbox"],type)){if(elm.checked){_283.push(name+"="+enc(elm.value));}}else{_283.push(name+"="+enc(elm.value));}}}var _289=_27f.getElementsByTagName("input");for(var i=0;i<_289.length;i++){var _28a=_289[i];if(_28a.type.toLowerCase()=="image"&&_28a.form==_27f&&_281(_28a)){var name=enc(_28a.name);_283.push(name+"="+enc(_28a.value));_283.push(name+".x=0");_283.push(name+".y=0");}}return _283.join("&")+"&";};djd43.io.FormBind=function(args){this.bindArgs={};if(args&&args.formNode){this.init(args);}else{if(args){this.init({formNode:args});}}};djd43.lang.extend(djd43.io.FormBind,{form:null,bindArgs:null,clickedButton:null,init:function(args){var form=djd43.byId(args.formNode);if(!form||!form.tagName||form.tagName.toLowerCase()!="form"){throw new Error("FormBind: Couldn't apply, invalid form");}else{if(this.form==form){return;}else{if(this.form){throw new Error("FormBind: Already applied to a form");}}}djd43.lang.mixin(this.bindArgs,args);this.form=form;this.connect(form,"onsubmit","submit");for(var i=0;i<form.elements.length;i++){var node=form.elements[i];if(node&&node.type&&djd43.lang.inArray(["submit","button"],node.type.toLowerCase())){this.connect(node,"onclick","click");}}var _290=form.getElementsByTagName("input");for(var i=0;i<_290.length;i++){var _291=_290[i];if(_291.type.toLowerCase()=="image"&&_291.form==form){this.connect(_291,"onclick","click");}}},onSubmit:function(form){return true;},submit:function(e){e.preventDefault();if(this.onSubmit(this.form)){djd43.io.bind(djd43.lang.mixin(this.bindArgs,{formFilter:djd43.lang.hitch(this,"formFilter")}));}},click:function(e){var node=e.currentTarget;if(node.disabled){return;}this.clickedButton=node;},formFilter:function(node){var type=(node.type||"").toLowerCase();var _298=false;if(node.disabled||!node.name){_298=false;}else{if(djd43.lang.inArray(["submit","button","image"],type)){if(!this.clickedButton){this.clickedButton=node;}_298=node==this.clickedButton;}else{_298=!djd43.lang.inArray(["file","submit","reset","button"],type);}}return _298;},connect:function(_299,_29a,_29b){if(djd43.evalObjPath("djd43.event.connect")){djd43.event.connect(_299,_29a,this,_29b);}else{var fcn=djd43.lang.hitch(this,_29b);_299[_29a]=function(e){if(!e){e=window.event;}if(!e.currentTarget){e.currentTarget=e.srcElement;}if(!e.preventDefault){e.preventDefault=function(){window.event.returnValue=false;};}fcn(e);};}}});djd43.io.XMLHTTPTransport=new function(){var _29e=this;var _29f={};this.useCache=false;this.preventCache=false;function getCacheKey(url,_2a1,_2a2){return url+"|"+_2a1+"|"+_2a2.toLowerCase();}function addToCache(url,_2a4,_2a5,http){_29f[getCacheKey(url,_2a4,_2a5)]=http;}function getFromCache(url,_2a8,_2a9){return _29f[getCacheKey(url,_2a8,_2a9)];}this.clearCache=function(){_29f={};};function doLoad(_2aa,http,url,_2ad,_2ae){if(((http.status>=200)&&(http.status<300))||(http.status==304)||(http.status==1223)||(location.protocol=="file:"&&(http.status==0||http.status==undefined))||(location.protocol=="chrome:"&&(http.status==0||http.status==undefined))){var ret;if(_2aa.method.toLowerCase()=="head"){var _2b0=http.getAllResponseHeaders();ret={};ret.toString=function(){return _2b0;};var _2b1=_2b0.split(/[\r\n]+/g);for(var i=0;i<_2b1.length;i++){var pair=_2b1[i].match(/^([^:]+)\s*:\s*(.+)$/i);if(pair){ret[pair[1]]=pair[2];}}}else{if(_2aa.mimetype=="text/javascript"){try{ret=dj_eval(http.responseText);}catch(e){djd43.debug(e);djd43.debug(http.responseText);ret=null;}}else{if(_2aa.mimetype.substr(0,9)=="text/json"||_2aa.mimetype.substr(0,16)=="application/json"){try{ret=dj_eval("("+_2aa.jsonFilter(http.responseText)+")");}catch(e){djd43.debug(e);djd43.debug(http.responseText);ret=false;}}else{if((_2aa.mimetype=="application/xml")||(_2aa.mimetype=="text/xml")){ret=http.responseXML;if(!ret||typeof ret=="string"||!http.getResponseHeader("Content-Type")){ret=djd43.dom.createDocumentFromText(http.responseText);}}else{ret=http.responseText;}}}}if(_2ae){addToCache(url,_2ad,_2aa.method,http);}_2aa[(typeof _2aa.load=="function")?"load":"handle"]("load",ret,http,_2aa);}else{var _2b4=new djd43.io.Error("XMLHttpTransport Error: "+http.status+" "+http.statusText);_2aa[(typeof _2aa.error=="function")?"error":"handle"]("error",_2b4,http,_2aa);}}function setHeaders(http,_2b6){if(_2b6["headers"]){for(var _2b7 in _2b6["headers"]){if(_2b7.toLowerCase()=="content-type"&&!_2b6["contentType"]){_2b6["contentType"]=_2b6["headers"][_2b7];}else{http.setRequestHeader(_2b7,_2b6["headers"][_2b7]);}}}}this.inFlight=[];this.inFlightTimer=null;this.startWatchingInFlight=function(){if(!this.inFlightTimer){this.inFlightTimer=setTimeout("djd43.io.XMLHTTPTransport.watchInFlight();",10);}};this.watchInFlight=function(){var now=null;if(!djd43.hostenv._blockAsync&&!_29e._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 _2bb=new djd43.io.Error("XMLHttpTransport.watchInFlight Error: "+e);tif.req[(typeof tif.req.error=="function")?"error":"handle"]("error",_2bb,tif.http,tif.req);}catch(e2){djd43.debug("XMLHttpTransport error callback failed: "+e2);}}}}clearTimeout(this.inFlightTimer);if(this.inFlight.length==0){this.inFlightTimer=null;return;}this.inFlightTimer=setTimeout("djd43.io.XMLHTTPTransport.watchInFlight();",10);};var _2bc=djd43.hostenv.getXmlhttpObject()?true:false;this.canHandle=function(_2bd){var mlc=_2bd["mimetype"].toLowerCase()||"";return _2bc&&((djd43.lang.inArray(["text/plain","text/html","application/xml","text/xml","text/javascript"],mlc))||(mlc.substr(0,9)=="text/json"||mlc.substr(0,16)=="application/json"))&&!(_2bd["formNode"]&&djd43.io.formHasFile(_2bd["formNode"]));};this.multipartBoundary="45309FFF-BD65-4d50-99C9-36986896A96F";this.bind=function(_2bf){if(!_2bf["url"]){if(!_2bf["formNode"]&&(_2bf["backButton"]||_2bf["back"]||_2bf["changeUrl"]||_2bf["watchForURL"])&&(!djd43_config.preventBackButtonFix)){djd43.deprecated("Using djd43.io.XMLHTTPTransport.bind() to add to browser history without doing an IO request","Use djd43.undo.browser.addToHistory() instead.","0.4");djd43.undo.browser.addToHistory(_2bf);return true;}}var url=_2bf.url;var _2c1="";if(_2bf["formNode"]){var ta=_2bf.formNode.getAttribute("action");if((ta)&&(!_2bf["url"])){url=ta;}var tp=_2bf.formNode.getAttribute("method");if((tp)&&(!_2bf["method"])){_2bf.method=tp;}_2c1+=djd43.io.encodeForm(_2bf.formNode,_2bf.encoding,_2bf["formFilter"]);}if(url.indexOf("#")>-1){djd43.debug("Warning: djd43.io.bind: stripping hash values from url:",url);url=url.split("#")[0];}if(_2bf["file"]){_2bf.method="post";}if(!_2bf["method"]){_2bf.method="get";}if(_2bf.method.toLowerCase()=="get"){_2bf.multipart=false;}else{if(_2bf["file"]){_2bf.multipart=true;}else{if(!_2bf["multipart"]){_2bf.multipart=false;}}}if(_2bf["backButton"]||_2bf["back"]||_2bf["changeUrl"]){djd43.undo.browser.addToHistory(_2bf);}var _2c4=_2bf["content"]||{};if(_2bf.sendTransport){_2c4["djd43.transport"]="xmlhttp";}do{if(_2bf.postContent){_2c1=_2bf.postContent;break;}if(_2c4){_2c1+=djd43.io.argsFromMap(_2c4,_2bf.encoding);}if(_2bf.method.toLowerCase()=="get"||!_2bf.multipart){break;}var t=[];if(_2c1.length){var q=_2c1.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(_2bf.file){if(djd43.lang.isArray(_2bf.file)){for(var i=0;i<_2bf.file.length;++i){var o=_2bf.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=_2bf.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+"--","");_2c1=t.join("\r\n");}}while(false);var _2ca=_2bf["sync"]?false:true;var _2cb=_2bf["preventCache"]||(this.preventCache==true&&_2bf["preventCache"]!=false);var _2cc=_2bf["useCache"]==true||(this.useCache==true&&_2bf["useCache"]!=false);if(!_2cb&&_2cc){var _2cd=getFromCache(url,_2c1,_2bf.method);if(_2cd){doLoad(_2bf,_2cd,url,_2c1,false);return;}}var http=djd43.hostenv.getXmlhttpObject(_2bf);var _2cf=false;if(_2ca){var _2d0=this.inFlight.push({"req":_2bf,"http":http,"url":url,"query":_2c1,"useCache":_2cc,"startTime":_2bf.timeoutSeconds?(new Date()).getTime():0});this.startWatchingInFlight();}else{_29e._blockAsync=true;}if(_2bf.method.toLowerCase()=="post"){if(!_2bf.user){http.open("POST",url,_2ca);}else{http.open("POST",url,_2ca,_2bf.user,_2bf.password);}setHeaders(http,_2bf);http.setRequestHeader("Content-Type",_2bf.multipart?("multipart/form-data; boundary="+this.multipartBoundary):(_2bf.contentType||"application/x-www-form-urlencoded"));try{http.send(_2c1);}catch(e){if(typeof http.abort=="function"){http.abort();}doLoad(_2bf,{status:404},url,_2c1,_2cc);}}else{var _2d1=url;if(_2c1!=""){_2d1+=(_2d1.indexOf("?")>-1?"&":"?")+_2c1;}if(_2cb){_2d1+=(djd43.string.endsWithAny(_2d1,"?","&")?"":(_2d1.indexOf("?")>-1?"&":"?"))+"djd43.preventCache="+new Date().valueOf();}if(!_2bf.user){http.open(_2bf.method.toUpperCase(),_2d1,_2ca);}else{http.open(_2bf.method.toUpperCase(),_2d1,_2ca,_2bf.user,_2bf.password);}setHeaders(http,_2bf);try{http.send(null);}catch(e){if(typeof http.abort=="function"){http.abort();}doLoad(_2bf,{status:404},url,_2c1,_2cc);}}if(!_2ca){doLoad(_2bf,http,url,_2c1,_2cc);_29e._blockAsync=false;}_2bf.abort=function(){try{http._aborted=true;}catch(e){}return http.abort();};return;};djd43.io.transports.addTransport("XMLHTTPTransport");};}
djd43.provide("djd43.io.cookie");djd43.io.cookie.setCookie=function(name,_2d3,days,path,_2d6,_2d7){var _2d8=-1;if((typeof days=="number")&&(days>=0)){var d=new Date();d.setTime(d.getTime()+(days*24*60*60*1000));_2d8=d.toGMTString();}_2d3=escape(_2d3);document.cookie=name+"="+_2d3+";"+(_2d8!=-1?" expires="+_2d8+";":"")+(path?"path="+path:"")+(_2d6?"; domain="+_2d6:"")+(_2d7?"; secure":"");};djd43.io.cookie.set=djd43.io.cookie.setCookie;djd43.io.cookie.getCookie=function(name){var idx=document.cookie.lastIndexOf(name+"=");if(idx==-1){return null;}var _2dc=document.cookie.substring(idx+name.length+1);var end=_2dc.indexOf(";");if(end==-1){end=_2dc.length;}_2dc=_2dc.substring(0,end);_2dc=unescape(_2dc);return _2dc;};djd43.io.cookie.get=djd43.io.cookie.getCookie;djd43.io.cookie.deleteCookie=function(name){djd43.io.cookie.setCookie(name,"-",0);};djd43.io.cookie.setObjectCookie=function(name,obj,days,path,_2e3,_2e4,_2e5){if(arguments.length==5){_2e5=_2e3;_2e3=null;_2e4=null;}var _2e6=[],_2e7,_2e8="";if(!_2e5){_2e7=djd43.io.cookie.getObjectCookie(name);}if(days>=0){if(!_2e7){_2e7={};}for(var prop in obj){if(obj[prop]==null){delete _2e7[prop];}else{if((typeof obj[prop]=="string")||(typeof obj[prop]=="number")){_2e7[prop]=obj[prop];}}}prop=null;for(var prop in _2e7){_2e6.push(escape(prop)+"="+escape(_2e7[prop]));}_2e8=_2e6.join("&");}djd43.io.cookie.setCookie(name,_2e8,days,path,_2e3,_2e4);};djd43.io.cookie.getObjectCookie=function(name){var _2eb=null,_2ec=djd43.io.cookie.getCookie(name);if(_2ec){_2eb={};var _2ed=_2ec.split("&");for(var i=0;i<_2ed.length;i++){var pair=_2ed[i].split("=");var _2f0=pair[1];if(isNaN(_2f0)){_2f0=unescape(pair[1]);}_2eb[unescape(pair[0])]=_2f0;}}return _2eb;};djd43.io.cookie.isSupported=function(){if(typeof navigator.cookieEnabled!="boolean"){djd43.io.cookie.setCookie("__TestingYourBrowserForCookieSupport__","CookiesAllowed",90,null);var _2f1=djd43.io.cookie.getCookie("__TestingYourBrowserForCookieSupport__");navigator.cookieEnabled=(_2f1=="CookiesAllowed");if(navigator.cookieEnabled){this.deleteCookie("__TestingYourBrowserForCookieSupport__");}}return navigator.cookieEnabled;};if(!djd43.io.cookies){djd43.io.cookies=djd43.io.cookie;}djd43.kwCompoundRequire({common:["djd43.io.common"],rhino:["djd43.io.RhinoIO"],browser:["djd43.io.BrowserIO","djd43.io.cookie"],dashboard:["djd43.io.BrowserIO","djd43.io.cookie"]});
djd43.provide("djd43.io.*");
djd43.provide("djd43.event.common");djd43.event=new function(){this._canTimeout=djd43.lang.isFunction(dj_global["setTimeout"])||djd43.lang.isAlien(dj_global["setTimeout"]);function interpolateArgs(args,_2f3){var dl=djd43.lang;var ao={srcObj:dj_global,srcFunc:null,adviceObj:dj_global,adviceFunc:null,aroundObj:null,aroundFunc:null,adviceType:(args.length>2)?args[0]:"after",precedence:"last",once:false,delay:null,rate:0,adviceMsg:false,maxCalls:-1};switch(args.length){case 0:return;case 1:return;case 2:ao.srcFunc=args[0];ao.adviceFunc=args[1];break;case 3:if((dl.isObject(args[0]))&&(dl.isString(args[1]))&&(dl.isString(args[2]))){ao.adviceType="after";ao.srcObj=args[0];ao.srcFunc=args[1];ao.adviceFunc=args[2];}else{if((dl.isString(args[1]))&&(dl.isString(args[2]))){ao.srcFunc=args[1];ao.adviceFunc=args[2];}else{if((dl.isObject(args[0]))&&(dl.isString(args[1]))&&(dl.isFunction(args[2]))){ao.adviceType="after";ao.srcObj=args[0];ao.srcFunc=args[1];var _2f6=dl.nameAnonFunc(args[2],ao.adviceObj,_2f3);ao.adviceFunc=_2f6;}else{if((dl.isFunction(args[0]))&&(dl.isObject(args[1]))&&(dl.isString(args[2]))){ao.adviceType="after";ao.srcObj=dj_global;var _2f6=dl.nameAnonFunc(args[0],ao.srcObj,_2f3);ao.srcFunc=_2f6;ao.adviceObj=args[1];ao.adviceFunc=args[2];}}}}break;case 4:if((dl.isObject(args[0]))&&(dl.isObject(args[2]))){ao.adviceType="after";ao.srcObj=args[0];ao.srcFunc=args[1];ao.adviceObj=args[2];ao.adviceFunc=args[3];}else{if((dl.isString(args[0]))&&(dl.isString(args[1]))&&(dl.isObject(args[2]))){ao.adviceType=args[0];ao.srcObj=dj_global;ao.srcFunc=args[1];ao.adviceObj=args[2];ao.adviceFunc=args[3];}else{if((dl.isString(args[0]))&&(dl.isFunction(args[1]))&&(dl.isObject(args[2]))){ao.adviceType=args[0];ao.srcObj=dj_global;var _2f6=dl.nameAnonFunc(args[1],dj_global,_2f3);ao.srcFunc=_2f6;ao.adviceObj=args[2];ao.adviceFunc=args[3];}else{if((dl.isString(args[0]))&&(dl.isObject(args[1]))&&(dl.isString(args[2]))&&(dl.isFunction(args[3]))){ao.srcObj=args[1];ao.srcFunc=args[2];var _2f6=dl.nameAnonFunc(args[3],dj_global,_2f3);ao.adviceObj=dj_global;ao.adviceFunc=_2f6;}else{if(dl.isObject(args[1])){ao.srcObj=args[1];ao.srcFunc=args[2];ao.adviceObj=dj_global;ao.adviceFunc=args[3];}else{if(dl.isObject(args[2])){ao.srcObj=dj_global;ao.srcFunc=args[1];ao.adviceObj=args[2];ao.adviceFunc=args[3];}else{ao.srcObj=ao.adviceObj=ao.aroundObj=dj_global;ao.srcFunc=args[1];ao.adviceFunc=args[2];ao.aroundFunc=args[3];}}}}}}break;case 6:ao.srcObj=args[1];ao.srcFunc=args[2];ao.adviceObj=args[3];ao.adviceFunc=args[4];ao.aroundFunc=args[5];ao.aroundObj=dj_global;break;default:ao.srcObj=args[1];ao.srcFunc=args[2];ao.adviceObj=args[3];ao.adviceFunc=args[4];ao.aroundObj=args[5];ao.aroundFunc=args[6];ao.once=args[7];ao.delay=args[8];ao.rate=args[9];ao.adviceMsg=args[10];ao.maxCalls=(!isNaN(parseInt(args[11])))?args[11]:-1;break;}if(dl.isFunction(ao.aroundFunc)){var _2f6=dl.nameAnonFunc(ao.aroundFunc,ao.aroundObj,_2f3);ao.aroundFunc=_2f6;}if(dl.isFunction(ao.srcFunc)){ao.srcFunc=dl.getNameInObj(ao.srcObj,ao.srcFunc);}if(dl.isFunction(ao.adviceFunc)){ao.adviceFunc=dl.getNameInObj(ao.adviceObj,ao.adviceFunc);}if((ao.aroundObj)&&(dl.isFunction(ao.aroundFunc))){ao.aroundFunc=dl.getNameInObj(ao.aroundObj,ao.aroundFunc);}if(!ao.srcObj){djd43.raise("bad srcObj for srcFunc: "+ao.srcFunc);}if(!ao.adviceObj){djd43.raise("bad adviceObj for adviceFunc: "+ao.adviceFunc);}if(!ao.adviceFunc){djd43.debug("bad adviceFunc for srcFunc: "+ao.srcFunc);djd43.debugShallow(ao);}return ao;}this.connect=function(){if(arguments.length==1){var ao=arguments[0];}else{var ao=interpolateArgs(arguments,true);}if(djd43.lang.isString(ao.srcFunc)&&(ao.srcFunc.toLowerCase()=="onkey")){if(djd43.render.html.ie){ao.srcFunc="onkeydown";this.connect(ao);}ao.srcFunc="onkeypress";}if(djd43.lang.isArray(ao.srcObj)&&ao.srcObj!=""){var _2f8={};for(var x in ao){_2f8[x]=ao[x];}var mjps=[];djd43.lang.forEach(ao.srcObj,function(src){if((djd43.render.html.capable)&&(djd43.lang.isString(src))){src=djd43.byId(src);}_2f8.srcObj=src;mjps.push(djd43.event.connect.call(djd43.event,_2f8));});return mjps;}var mjp=djd43.event.MethodJoinPoint.getForMethod(ao.srcObj,ao.srcFunc);if(ao.adviceFunc){var mjp2=djd43.event.MethodJoinPoint.getForMethod(ao.adviceObj,ao.adviceFunc);}mjp.kwAddAdvice(ao);return mjp;};this.log=function(a1,a2){var _300;if((arguments.length==1)&&(typeof a1=="object")){_300=a1;}else{_300={srcObj:a1,srcFunc:a2};}_300.adviceFunc=function(){var _301=[];for(var x=0;x<arguments.length;x++){_301.push(arguments[x]);}djd43.debug("("+_300.srcObj+")."+_300.srcFunc,":",_301.join(", "));};this.kwConnect(_300);};this.connectBefore=function(){var args=["before"];for(var i=0;i<arguments.length;i++){args.push(arguments[i]);}return this.connect.apply(this,args);};this.connectAround=function(){var args=["around"];for(var i=0;i<arguments.length;i++){args.push(arguments[i]);}return this.connect.apply(this,args);};this.connectOnce=function(){var ao=interpolateArgs(arguments,true);ao.once=true;return this.connect(ao);};this.connectRunOnce=function(){var ao=interpolateArgs(arguments,true);ao.maxCalls=1;return this.connect(ao);};this._kwConnectImpl=function(_309,_30a){var fn=(_30a)?"disconnect":"connect";if(typeof _309["srcFunc"]=="function"){_309.srcObj=_309["srcObj"]||dj_global;var _30c=djd43.lang.nameAnonFunc(_309.srcFunc,_309.srcObj,true);_309.srcFunc=_30c;}if(typeof _309["adviceFunc"]=="function"){_309.adviceObj=_309["adviceObj"]||dj_global;var _30c=djd43.lang.nameAnonFunc(_309.adviceFunc,_309.adviceObj,true);_309.adviceFunc=_30c;}_309.srcObj=_309["srcObj"]||dj_global;_309.adviceObj=_309["adviceObj"]||_309["targetObj"]||dj_global;_309.adviceFunc=_309["adviceFunc"]||_309["targetFunc"];return djd43.event[fn](_309);};this.kwConnect=function(_30d){return this._kwConnectImpl(_30d,false);};this.disconnect=function(){if(arguments.length==1){var ao=arguments[0];}else{var ao=interpolateArgs(arguments,true);}if(!ao.adviceFunc){return;}if(djd43.lang.isString(ao.srcFunc)&&(ao.srcFunc.toLowerCase()=="onkey")){if(djd43.render.html.ie){ao.srcFunc="onkeydown";this.disconnect(ao);}ao.srcFunc="onkeypress";}if(!ao.srcObj[ao.srcFunc]){return null;}var mjp=djd43.event.MethodJoinPoint.getForMethod(ao.srcObj,ao.srcFunc,true);mjp.removeAdvice(ao.adviceObj,ao.adviceFunc,ao.adviceType,ao.once);return mjp;};this.kwDisconnect=function(_310){return this._kwConnectImpl(_310,true);};};djd43.event.MethodInvocation=function(_311,obj,args){this.jp_=_311;this.object=obj;this.args=[];for(var x=0;x<args.length;x++){this.args[x]=args[x];}this.around_index=-1;};djd43.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);}};djd43.event.MethodJoinPoint=function(obj,_319){this.object=obj||dj_global;this.methodname=_319;this.methodfunc=this.object[_319];this.squelch=false;};djd43.event.MethodJoinPoint.getForMethod=function(obj,_31b){if(!obj){obj=dj_global;}var ofn=obj[_31b];if(!ofn){ofn=obj[_31b]=function(){};if(!obj[_31b]){djd43.raise("Cannot set do-nothing method on that object "+_31b);}}else{if((typeof ofn!="function")&&(!djd43.lang.isFunction(ofn))&&(!djd43.lang.isAlien(ofn))){return null;}}var _31d=_31b+"$joinpoint";var _31e=_31b+"$joinpoint$method";var _31f=obj[_31d];if(!_31f){var _320=false;if(djd43.event["browser"]){if((obj["attachEvent"])||(obj["nodeType"])||(obj["addEventListener"])){_320=true;djd43.event.browser.addClobberNodeAttrs(obj,[_31d,_31e,_31b]);}}var _321=ofn.length;obj[_31e]=ofn;_31f=obj[_31d]=new djd43.event.MethodJoinPoint(obj,_31e);if(!_320){obj[_31b]=function(){return _31f.run.apply(_31f,arguments);};}else{obj[_31b]=function(){var args=[];if(!arguments.length){var evt=null;try{if(obj.ownerDocument){evt=obj.ownerDocument.parentWindow.event;}else{if(obj.documentElement){evt=obj.documentElement.ownerDocument.parentWindow.event;}else{if(obj.event){evt=obj.event;}else{evt=window.event;}}}}catch(e){evt=window.event;}if(evt){args.push(djd43.event.browser.fixEvent(evt,this));}}else{for(var x=0;x<arguments.length;x++){if((x==0)&&(djd43.event.browser.isEvent(arguments[x]))){args.push(djd43.event.browser.fixEvent(arguments[x],this));}else{args.push(arguments[x]);}}}return _31f.run.apply(_31f,args);};}obj[_31b].__preJoinArity=_321;}return _31f;};djd43.lang.extend(djd43.event.MethodJoinPoint,{squelch:false,unintercept:function(){this.object[this.methodname]=this.methodfunc;this.before=[];this.after=[];this.around=[];},disconnect:djd43.lang.forward("unintercept"),run:function(){var obj=this.object||dj_global;var args=arguments;var _327=[];for(var x=0;x<args.length;x++){_327[x]=args[x];}var _329=function(marr){if(!marr){djd43.debug("Null argument to unrollAdvice()");return;}var _32b=marr[0]||dj_global;var _32c=marr[1];if(!_32b[_32c]){djd43.raise("function \""+_32c+"\" does not exist on \""+_32b+"\"");}var _32d=marr[2]||dj_global;var _32e=marr[3];var msg=marr[6];var _330=marr[7];if(_330>-1){if(_330==0){return;}marr[7]--;}var _331;var to={args:[],jp_:this,object:obj,proceed:function(){return _32b[_32c].apply(_32b,to.args);}};to.args=_327;var _333=parseInt(marr[4]);var _334=((!isNaN(_333))&&(marr[4]!==null)&&(typeof marr[4]!="undefined"));if(marr[5]){var rate=parseInt(marr[5]);var cur=new Date();var _337=false;if((marr["last"])&&((cur-marr.last)<=rate)){if(djd43.event._canTimeout){if(marr["delayTimer"]){clearTimeout(marr.delayTimer);}var tod=parseInt(rate*2);var mcpy=djd43.lang.shallowCopy(marr);marr.delayTimer=setTimeout(function(){mcpy[5]=0;_329(mcpy);},tod);}return;}else{marr.last=cur;}}if(_32e){_32d[_32e].call(_32d,to);}else{if((_334)&&((djd43.render.html)||(djd43.render.svg))){dj_global["setTimeout"](function(){if(msg){_32b[_32c].call(_32b,to);}else{_32b[_32c].apply(_32b,args);}},_333);}else{if(msg){_32b[_32c].call(_32b,to);}else{_32b[_32c].apply(_32b,args);}}}};var _33a=function(){if(this.squelch){try{return _329.apply(this,arguments);}catch(e){djd43.debug(e);}}else{return _329.apply(this,arguments);}};if((this["before"])&&(this.before.length>0)){djd43.lang.forEach(this.before.concat(new Array()),_33a);}var _33b;try{if((this["around"])&&(this.around.length>0)){var mi=new djd43.event.MethodInvocation(this,obj,args);_33b=mi.proceed();}else{if(this.methodfunc){_33b=this.object[this.methodname].apply(this.object,args);}}}catch(e){if(!this.squelch){djd43.debug(e,"when calling",this.methodname,"on",this.object,"with arguments",args);djd43.raise(e);}}if((this["after"])&&(this.after.length>0)){djd43.lang.forEach(this.after.concat(new Array()),_33a);}return (this.methodfunc)?_33b:null;},getArr:function(kind){var type="after";if((typeof kind=="string")&&(kind.indexOf("before")!=-1)){type="before";}else{if(kind=="around"){type="around";}}if(!this[type]){this[type]=[];}return this[type];},kwAddAdvice:function(args){this.addAdvice(args["adviceObj"],args["adviceFunc"],args["aroundObj"],args["aroundFunc"],args["adviceType"],args["precedence"],args["once"],args["delay"],args["rate"],args["adviceMsg"],args["maxCalls"]);},addAdvice:function(_340,_341,_342,_343,_344,_345,once,_347,rate,_349,_34a){var arr=this.getArr(_344);if(!arr){djd43.raise("bad this: "+this);}var ao=[_340,_341,_342,_343,_347,rate,_349,_34a];if(once){if(this.hasAdvice(_340,_341,_344,arr)>=0){return;}}if(_345=="first"){arr.unshift(ao);}else{arr.push(ao);}},hasAdvice:function(_34d,_34e,_34f,arr){if(!arr){arr=this.getArr(_34f);}var ind=-1;for(var x=0;x<arr.length;x++){var aao=(typeof _34e=="object")?(new String(_34e)).toString():_34e;var a1o=(typeof arr[x][1]=="object")?(new String(arr[x][1])).toString():arr[x][1];if((arr[x][0]==_34d)&&(a1o==aao)){ind=x;}}return ind;},removeAdvice:function(_355,_356,_357,once){var arr=this.getArr(_357);var ind=this.hasAdvice(_355,_356,_357,arr);if(ind==-1){return false;}while(ind!=-1){arr.splice(ind,1);if(once){break;}ind=this.hasAdvice(_355,_356,_357,arr);}return true;}});
djd43.provide("djd43.event.topic");djd43.event.topic=new function(){this.topics={};this.getTopic=function(_35b){if(!this.topics[_35b]){this.topics[_35b]=new this.TopicImpl(_35b);}return this.topics[_35b];};this.registerPublisher=function(_35c,obj,_35e){var _35c=this.getTopic(_35c);_35c.registerPublisher(obj,_35e);};this.subscribe=function(_35f,obj,_361){var _35f=this.getTopic(_35f);_35f.subscribe(obj,_361);};this.unsubscribe=function(_362,obj,_364){var _362=this.getTopic(_362);_362.unsubscribe(obj,_364);};this.destroy=function(_365){this.getTopic(_365).destroy();delete this.topics[_365];};this.publishApply=function(_366,args){var _366=this.getTopic(_366);_366.sendMessage.apply(_366,args);};this.publish=function(_368,_369){var _368=this.getTopic(_368);var args=[];for(var x=1;x<arguments.length;x++){args.push(arguments[x]);}_368.sendMessage.apply(_368,args);};};djd43.event.topic.TopicImpl=function(_36c){this.topicName=_36c;this.subscribe=function(_36d,_36e){var tf=_36e||_36d;var to=(!_36e)?dj_global:_36d;return djd43.event.kwConnect({srcObj:this,srcFunc:"sendMessage",adviceObj:to,adviceFunc:tf});};this.unsubscribe=function(_371,_372){var tf=(!_372)?_371:_372;var to=(!_372)?null:_371;return djd43.event.kwDisconnect({srcObj:this,srcFunc:"sendMessage",adviceObj:to,adviceFunc:tf});};this._getJoinPoint=function(){return djd43.event.MethodJoinPoint.getForMethod(this,"sendMessage");};this.setSquelch=function(_375){this._getJoinPoint().squelch=_375;};this.destroy=function(){this._getJoinPoint().disconnect();};this.registerPublisher=function(_376,_377){djd43.event.connect(_376,_377,this,"sendMessage");};this.sendMessage=function(_378){};};
djd43.provide("djd43.event.browser");djd43._ie_clobber=new function(){this.clobberNodes=[];function nukeProp(node,prop){try{node[prop]=null;}catch(e){}try{delete node[prop];}catch(e){}try{node.removeAttribute(prop);}catch(e){}}this.clobber=function(_37b){var na;var tna;if(_37b){tna=_37b.all||_37b.getElementsByTagName("*");na=[_37b];for(var x=0;x<tna.length;x++){if(tna[x]["__doClobber__"]){na.push(tna[x]);}}}else{try{window.onload=null;}catch(e){}na=(this.clobberNodes.length)?this.clobberNodes:document.all;}tna=null;var _37f={};for(var i=na.length-1;i>=0;i=i-1){var el=na[i];try{if(el&&el["__clobberAttrs__"]){for(var j=0;j<el.__clobberAttrs__.length;j++){nukeProp(el,el.__clobberAttrs__[j]);}nukeProp(el,"__clobberAttrs__");nukeProp(el,"__doClobber__");}}catch(e){}}na=null;};};if(djd43.render.html.ie){djd43.addOnUnload(function(){djd43._ie_clobber.clobber();try{if((djd43["widget"])&&(djd43.widget["manager"])){djd43.widget.manager.destroyAll();}}catch(e){}if(djd43.widget){for(var name in djd43.widget._templateCache){if(djd43.widget._templateCache[name].node){djd43.dom.destroyNode(djd43.widget._templateCache[name].node);djd43.widget._templateCache[name].node=null;delete djd43.widget._templateCache[name].node;}}}try{window.onload=null;}catch(e){}try{window.onunload=null;}catch(e){}djd43._ie_clobber.clobberNodes=[];});}djd43.event.browser=new function(){var _384=0;this.normalizedEventName=function(_385){switch(_385){case "CheckboxStateChange":case "DOMAttrModified":case "DOMMenuItemActive":case "DOMMenuItemInactive":case "DOMMouseScroll":case "DOMNodeInserted":case "DOMNodeRemoved":case "RadioStateChange":return _385;break;default:var lcn=_385.toLowerCase();return (lcn.indexOf("on")==0)?lcn.substr(2):lcn;break;}};this.clean=function(node){if(djd43.render.html.ie){djd43._ie_clobber.clobber(node);}};this.addClobberNode=function(node){if(!djd43.render.html.ie){return;}if(!node["__doClobber__"]){node.__doClobber__=true;djd43._ie_clobber.clobberNodes.push(node);node.__clobberAttrs__=[];}};this.addClobberNodeAttrs=function(node,_38a){if(!djd43.render.html.ie){return;}this.addClobberNode(node);for(var x=0;x<_38a.length;x++){node.__clobberAttrs__.push(_38a[x]);}};this.removeListener=function(node,_38d,fp,_38f){if(!_38f){var _38f=false;}_38d=djd43.event.browser.normalizedEventName(_38d);if(_38d=="key"){if(djd43.render.html.ie){this.removeListener(node,"onkeydown",fp,_38f);}_38d="keypress";}if(node.removeEventListener){node.removeEventListener(_38d,fp,_38f);}};this.addListener=function(node,_391,fp,_393,_394){if(!node){return;}if(!_393){var _393=false;}_391=djd43.event.browser.normalizedEventName(_391);if(_391=="key"){if(djd43.render.html.ie){this.addListener(node,"onkeydown",fp,_393,_394);}_391="keypress";}if(!_394){var _395=function(evt){if(!evt){evt=window.event;}var ret=fp(djd43.event.browser.fixEvent(evt,this));if(_393){djd43.event.browser.stopEvent(evt);}return ret;};}else{_395=fp;}if(node.addEventListener){node.addEventListener(_391,_395,_393);return _395;}else{_391="on"+_391;if(typeof node[_391]=="function"){var _398=node[_391];node[_391]=function(e){_398(e);return _395(e);};}else{node[_391]=_395;}if(djd43.render.html.ie){this.addClobberNodeAttrs(node,[_391]);}return _395;}};this.isEvent=function(obj){return (typeof obj!="undefined")&&(obj)&&(typeof Event!="undefined")&&(obj.eventPhase);};this.currentEvent=null;this.callListener=function(_39b,_39c){if(typeof _39b!="function"){djd43.raise("listener not a function: "+_39b);}djd43.event.browser.currentEvent.currentTarget=_39c;return _39b.call(_39c,djd43.event.browser.currentEvent);};this._stopPropagation=function(){djd43.event.browser.currentEvent.cancelBubble=true;};this._preventDefault=function(){djd43.event.browser.currentEvent.returnValue=false;};this.keys={KEY_BACKSPACE:8,KEY_TAB:9,KEY_CLEAR:12,KEY_ENTER:13,KEY_SHIFT:16,KEY_CTRL:17,KEY_ALT:18,KEY_PAUSE:19,KEY_CAPS_LOCK:20,KEY_ESCAPE:27,KEY_SPACE:32,KEY_PAGE_UP:33,KEY_PAGE_DOWN:34,KEY_END:35,KEY_HOME:36,KEY_LEFT_ARROW:37,KEY_UP_ARROW:38,KEY_RIGHT_ARROW:39,KEY_DOWN_ARROW:40,KEY_INSERT:45,KEY_DELETE:46,KEY_HELP:47,KEY_LEFT_WINDOW:91,KEY_RIGHT_WINDOW:92,KEY_SELECT:93,KEY_NUMPAD_0:96,KEY_NUMPAD_1:97,KEY_NUMPAD_2:98,KEY_NUMPAD_3:99,KEY_NUMPAD_4:100,KEY_NUMPAD_5:101,KEY_NUMPAD_6:102,KEY_NUMPAD_7:103,KEY_NUMPAD_8:104,KEY_NUMPAD_9:105,KEY_NUMPAD_MULTIPLY:106,KEY_NUMPAD_PLUS:107,KEY_NUMPAD_ENTER:108,KEY_NUMPAD_MINUS:109,KEY_NUMPAD_PERIOD:110,KEY_NUMPAD_DIVIDE:111,KEY_F1:112,KEY_F2:113,KEY_F3:114,KEY_F4: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_F13:124,KEY_F14:125,KEY_F15:126,KEY_NUM_LOCK:144,KEY_SCROLL_LOCK:145};this.revKeys=[];for(var key in this.keys){this.revKeys[this.keys[key]]=key;}this.fixEvent=function(evt,_39f){if(!evt){if(window["event"]){evt=window.event;}}if((evt["type"])&&(evt["type"].indexOf("key")==0)){evt.keys=this.revKeys;for(var key in this.keys){evt[key]=this.keys[key];}if(evt["type"]=="keydown"&&djd43.render.html.ie){switch(evt.keyCode){case evt.KEY_SHIFT:case evt.KEY_CTRL:case evt.KEY_ALT:case evt.KEY_CAPS_LOCK:case evt.KEY_LEFT_WINDOW:case evt.KEY_RIGHT_WINDOW:case evt.KEY_SELECT:case evt.KEY_NUM_LOCK:case evt.KEY_SCROLL_LOCK:case evt.KEY_NUMPAD_0:case evt.KEY_NUMPAD_1:case evt.KEY_NUMPAD_2:case evt.KEY_NUMPAD_3:case evt.KEY_NUMPAD_4:case evt.KEY_NUMPAD_5:case evt.KEY_NUMPAD_6:case evt.KEY_NUMPAD_7:case evt.KEY_NUMPAD_8:case evt.KEY_NUMPAD_9:case evt.KEY_NUMPAD_PERIOD:break;case evt.KEY_NUMPAD_MULTIPLY:case evt.KEY_NUMPAD_PLUS:case evt.KEY_NUMPAD_ENTER:case evt.KEY_NUMPAD_MINUS:case evt.KEY_NUMPAD_DIVIDE:break;case evt.KEY_PAUSE:case evt.KEY_TAB:case evt.KEY_BACKSPACE:case evt.KEY_ENTER:case evt.KEY_ESCAPE:case evt.KEY_PAGE_UP:case evt.KEY_PAGE_DOWN:case evt.KEY_END:case evt.KEY_HOME:case evt.KEY_LEFT_ARROW:case evt.KEY_UP_ARROW:case evt.KEY_RIGHT_ARROW:case evt.KEY_DOWN_ARROW:case evt.KEY_INSERT:case evt.KEY_DELETE:case evt.KEY_F1:case evt.KEY_F2:case evt.KEY_F3:case evt.KEY_F4:case evt.KEY_F5:case evt.KEY_F6:case evt.KEY_F7:case evt.KEY_F8:case evt.KEY_F9:case evt.KEY_F10:case evt.KEY_F11:case evt.KEY_F12:case evt.KEY_F12:case evt.KEY_F13:case evt.KEY_F14:case evt.KEY_F15:case evt.KEY_CLEAR:case evt.KEY_HELP:evt.key=evt.keyCode;break;default:if(evt.ctrlKey||evt.altKey){var _3a1=evt.keyCode;if(_3a1>=65&&_3a1<=90&&evt.shiftKey==false){_3a1+=32;}if(_3a1>=1&&_3a1<=26&&evt.ctrlKey){_3a1+=96;}evt.key=String.fromCharCode(_3a1);}}}else{if(evt["type"]=="keypress"){if(djd43.render.html.opera){if(evt.which==0){evt.key=evt.keyCode;}else{if(evt.which>0){switch(evt.which){case evt.KEY_SHIFT:case evt.KEY_CTRL:case evt.KEY_ALT:case evt.KEY_CAPS_LOCK:case evt.KEY_NUM_LOCK:case evt.KEY_SCROLL_LOCK:break;case evt.KEY_PAUSE:case evt.KEY_TAB:case evt.KEY_BACKSPACE:case evt.KEY_ENTER:case evt.KEY_ESCAPE:evt.key=evt.which;break;default:var _3a1=evt.which;if((evt.ctrlKey||evt.altKey||evt.metaKey)&&(evt.which>=65&&evt.which<=90&&evt.shiftKey==false)){_3a1+=32;}evt.key=String.fromCharCode(_3a1);}}}}else{if(djd43.render.html.ie){if(!evt.ctrlKey&&!evt.altKey&&evt.keyCode>=evt.KEY_SPACE){evt.key=String.fromCharCode(evt.keyCode);}}else{if(djd43.render.html.safari){switch(evt.keyCode){case 25:evt.key=evt.KEY_TAB;evt.shift=true;break;case 63232:evt.key=evt.KEY_UP_ARROW;break;case 63233:evt.key=evt.KEY_DOWN_ARROW;break;case 63234:evt.key=evt.KEY_LEFT_ARROW;break;case 63235:evt.key=evt.KEY_RIGHT_ARROW;break;case 63236:evt.key=evt.KEY_F1;break;case 63237:evt.key=evt.KEY_F2;break;case 63238:evt.key=evt.KEY_F3;break;case 63239:evt.key=evt.KEY_F4;break;case 63240:evt.key=evt.KEY_F5;break;case 63241:evt.key=evt.KEY_F6;break;case 63242:evt.key=evt.KEY_F7;break;case 63243:evt.key=evt.KEY_F8;break;case 63244:evt.key=evt.KEY_F9;break;case 63245:evt.key=evt.KEY_F10;break;case 63246:evt.key=evt.KEY_F11;break;case 63247:evt.key=evt.KEY_F12;break;case 63250:evt.key=evt.KEY_PAUSE;break;case 63272:evt.key=evt.KEY_DELETE;break;case 63273:evt.key=evt.KEY_HOME;break;case 63275:evt.key=evt.KEY_END;break;case 63276:evt.key=evt.KEY_PAGE_UP;break;case 63277:evt.key=evt.KEY_PAGE_DOWN;break;case 63302:evt.key=evt.KEY_INSERT;break;case 63248:case 63249:case 63289:break;default:evt.key=evt.charCode>=evt.KEY_SPACE?String.fromCharCode(evt.charCode):evt.keyCode;}}else{evt.key=evt.charCode>0?String.fromCharCode(evt.charCode):evt.keyCode;}}}}}}if(djd43.render.html.ie){if(!evt.target){evt.target=evt.srcElement;}if(!evt.currentTarget){evt.currentTarget=(_39f?_39f:evt.srcElement);}if(!evt.layerX){evt.layerX=evt.offsetX;}if(!evt.layerY){evt.layerY=evt.offsetY;}var doc=(evt.srcElement&&evt.srcElement.ownerDocument)?evt.srcElement.ownerDocument:document;var _3a3=((djd43.render.html.ie55)||(doc["compatMode"]=="BackCompat"))?doc.body:doc.documentElement;if(!evt.pageX){evt.pageX=evt.clientX+(_3a3.scrollLeft||0);}if(!evt.pageY){evt.pageY=evt.clientY+(_3a3.scrollTop||0);}if(evt.type=="mouseover"){evt.relatedTarget=evt.fromElement;}if(evt.type=="mouseout"){evt.relatedTarget=evt.toElement;}this.currentEvent=evt;evt.callListener=this.callListener;evt.stopPropagation=this._stopPropagation;evt.preventDefault=this._preventDefault;}return evt;};this.stopEvent=function(evt){if(window.event){evt.cancelBubble=true;evt.returnValue=false;}else{evt.preventDefault();evt.stopPropagation();}};};djd43.kwCompoundRequire({common:["djd43.event.common","djd43.event.topic"],browser:["djd43.event.browser"],dashboard:["djd43.event.browser"]});
djd43.provide("djd43.event.*");
djd43.provide("djd43.gfx.color");djd43.gfx.color.Color=function(r,g,b,a){if(djd43.lang.isArray(r)){this.r=r[0];this.g=r[1];this.b=r[2];this.a=r[3]||1;}else{if(djd43.lang.isString(r)){var rgb=djd43.gfx.color.extractRGB(r);this.r=rgb[0];this.g=rgb[1];this.b=rgb[2];this.a=g||1;}else{if(r instanceof djd43.gfx.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;}}}};djd43.gfx.color.Color.fromArray=function(arr){return new djd43.gfx.color.Color(arr[0],arr[1],arr[2],arr[3]);};djd43.extend(djd43.gfx.color.Color,{toRgb:function(_3ab){if(_3ab){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 djd43.gfx.color.rgb2hex(this.toRgb());},toCss:function(){return "rgb("+this.toRgb().join()+")";},toString:function(){return this.toHex();},blend:function(_3ac,_3ad){var rgb=null;if(djd43.lang.isArray(_3ac)){rgb=_3ac;}else{if(_3ac instanceof djd43.gfx.color.Color){rgb=_3ac.toRgb();}else{rgb=new djd43.gfx.color.Color(_3ac).toRgb();}}return djd43.gfx.color.blend(this.toRgb(),rgb,_3ad);}});djd43.gfx.color.named={white:[255,255,255],black:[0,0,0],red:[255,0,0],green:[0,255,0],lime:[0,255,0],blue:[0,0,255],navy:[0,0,128],gray:[128,128,128],silver:[192,192,192]};djd43.gfx.color.blend=function(a,b,_3b1){if(typeof a=="string"){return djd43.gfx.color.blendHex(a,b,_3b1);}if(!_3b1){_3b1=0;}_3b1=Math.min(Math.max(-1,_3b1),1);_3b1=((_3b1+1)/2);var c=[];for(var x=0;x<3;x++){c[x]=parseInt(b[x]+((a[x]-b[x])*_3b1));}return c;};djd43.gfx.color.blendHex=function(a,b,_3b6){return djd43.gfx.color.rgb2hex(djd43.gfx.color.blend(djd43.gfx.color.hex2rgb(a),djd43.gfx.color.hex2rgb(b),_3b6));};djd43.gfx.color.extractRGB=function(_3b7){var hex="0123456789abcdef";_3b7=_3b7.toLowerCase();if(_3b7.indexOf("rgb")==0){var _3b9=_3b7.match(/rgba*\((\d+), *(\d+), *(\d+)/i);var ret=_3b9.splice(1,3);return ret;}else{var _3bb=djd43.gfx.color.hex2rgb(_3b7);if(_3bb){return _3bb;}else{return djd43.gfx.color.named[_3b7]||[255,255,255];}}};djd43.gfx.color.hex2rgb=function(hex){var _3bd="0123456789ABCDEF";var rgb=new Array(3);if(hex.indexOf("#")==0){hex=hex.substring(1);}hex=hex.toUpperCase();if(hex.replace(new RegExp("["+_3bd+"]","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]=_3bd.indexOf(rgb[i].charAt(0))*16+_3bd.indexOf(rgb[i].charAt(1));}return rgb;};djd43.gfx.color.rgb2hex=function(r,g,b){if(djd43.lang.isArray(r)){g=r[1]||0;b=r[2]||0;r=r[0]||0;}var ret=djd43.lang.map([r,g,b],function(x){x=new Number(x);var s=x.toString(16);while(s.length<2){s="0"+s;}return s;});ret.unshift("#");return ret.join("");};
djd43.provide("djd43.lfx.Animation");djd43.lfx.Line=function(_3c6,end){this.start=_3c6;this.end=end;if(djd43.lang.isArray(_3c6)){var diff=[];djd43.lang.forEach(this.start,function(s,i){diff[i]=this.end[i]-s;},this);this.getValue=function(n){var res=[];djd43.lang.forEach(this.start,function(s,i){res[i]=(diff[i]*n)+s;},this);return res;};}else{var diff=end-_3c6;this.getValue=function(n){return (diff*n)+this.start;};}};if((djd43.render.html.khtml)&&(!djd43.render.html.safari)){djd43.lfx.easeDefault=function(n){return (parseFloat("0.5")+((Math.sin((n+parseFloat("1.5"))*Math.PI))/2));};}else{djd43.lfx.easeDefault=function(n){return (0.5+((Math.sin((n+1.5)*Math.PI))/2));};}djd43.lfx.easeIn=function(n){return Math.pow(n,3);};djd43.lfx.easeOut=function(n){return (1-Math.pow(1-n,3));};djd43.lfx.easeInOut=function(n){return ((3*Math.pow(n,2))-(2*Math.pow(n,3)));};djd43.lfx.IAnimation=function(){};djd43.lang.extend(djd43.lfx.IAnimation,{curve:null,duration:1000,easing:null,repeatCount:0,rate:10,handler:null,beforeBegin:null,onBegin:null,onAnimate:null,onEnd:null,onPlay:null,onPause:null,onStop:null,play:null,pause:null,stop:null,connect:function(evt,_3d6,_3d7){if(!_3d7){_3d7=_3d6;_3d6=this;}_3d7=djd43.lang.hitch(_3d6,_3d7);var _3d8=this[evt]||function(){};this[evt]=function(){var ret=_3d8.apply(this,arguments);_3d7.apply(this,arguments);return ret;};return this;},fire:function(evt,args){if(this[evt]){this[evt].apply(this,(args||[]));}return this;},repeat:function(_3dc){this.repeatCount=_3dc;return this;},_active:false,_paused:false});djd43.lfx.Animation=function(_3dd,_3de,_3df,_3e0,_3e1,rate){djd43.lfx.IAnimation.call(this);if(djd43.lang.isNumber(_3dd)||(!_3dd&&_3de.getValue)){rate=_3e1;_3e1=_3e0;_3e0=_3df;_3df=_3de;_3de=_3dd;_3dd=null;}else{if(_3dd.getValue||djd43.lang.isArray(_3dd)){rate=_3e0;_3e1=_3df;_3e0=_3de;_3df=_3dd;_3de=null;_3dd=null;}}if(djd43.lang.isArray(_3df)){this.curve=new djd43.lfx.Line(_3df[0],_3df[1]);}else{this.curve=_3df;}if(_3de!=null&&_3de>0){this.duration=_3de;}if(_3e1){this.repeatCount=_3e1;}if(rate){this.rate=rate;}if(_3dd){djd43.lang.forEach(["handler","beforeBegin","onBegin","onEnd","onPlay","onStop","onAnimate"],function(item){if(_3dd[item]){this.connect(item,_3dd[item]);}},this);}if(_3e0&&djd43.lang.isFunction(_3e0)){this.easing=_3e0;}};djd43.inherits(djd43.lfx.Animation,djd43.lfx.IAnimation);djd43.lang.extend(djd43.lfx.Animation,{_startTime:null,_endTime:null,_timer:null,_percent:0,_startRepeatCount:0,play:function(_3e4,_3e5){if(_3e5){clearTimeout(this._timer);this._active=false;this._paused=false;this._percent=0;}else{if(this._active&&!this._paused){return this;}}this.fire("handler",["beforeBegin"]);this.fire("beforeBegin");if(_3e4>0){setTimeout(djd43.lang.hitch(this,function(){this.play(null,_3e5);}),_3e4);return this;}this._startTime=new Date().valueOf();if(this._paused){this._startTime-=(this.duration*this._percent/100);}this._endTime=this._startTime+this.duration;this._active=true;this._paused=false;var step=this._percent/100;var _3e7=this.curve.getValue(step);if(this._percent==0){if(!this._startRepeatCount){this._startRepeatCount=this.repeatCount;}this.fire("handler",["begin",_3e7]);this.fire("onBegin",[_3e7]);}this.fire("handler",["play",_3e7]);this.fire("onPlay",[_3e7]);this._cycle();return this;},pause:function(){clearTimeout(this._timer);if(!this._active){return this;}this._paused=true;var _3e8=this.curve.getValue(this._percent/100);this.fire("handler",["pause",_3e8]);this.fire("onPause",[_3e8]);return this;},gotoPercent:function(pct,_3ea){clearTimeout(this._timer);this._active=true;this._paused=true;this._percent=pct;if(_3ea){this.play();}return this;},stop:function(_3eb){clearTimeout(this._timer);var step=this._percent/100;if(_3eb){step=1;}var _3ed=this.curve.getValue(step);this.fire("handler",["stop",_3ed]);this.fire("onStop",[_3ed]);this._active=false;this._paused=false;return this;},status:function(){if(this._active){return this._paused?"paused":"playing";}else{return "stopped";}return this;},_cycle:function(){clearTimeout(this._timer);if(this._active){var curr=new Date().valueOf();var step=(curr-this._startTime)/(this._endTime-this._startTime);if(step>=1){step=1;this._percent=100;}else{this._percent=step*100;}if((this.easing)&&(djd43.lang.isFunction(this.easing))){step=this.easing(step);}var _3f0=this.curve.getValue(step);this.fire("handler",["animate",_3f0]);this.fire("onAnimate",[_3f0]);if(step<1){this._timer=setTimeout(djd43.lang.hitch(this,"_cycle"),this.rate);}else{this._active=false;this.fire("handler",["end"]);this.fire("onEnd");if(this.repeatCount>0){this.repeatCount--;this.play(null,true);}else{if(this.repeatCount==-1){this.play(null,true);}else{if(this._startRepeatCount){this.repeatCount=this._startRepeatCount;this._startRepeatCount=0;}}}}}return this;}});djd43.lfx.Combine=function(_3f1){djd43.lfx.IAnimation.call(this);this._anims=[];this._animsEnded=0;var _3f2=arguments;if(_3f2.length==1&&(djd43.lang.isArray(_3f2[0])||djd43.lang.isArrayLike(_3f2[0]))){_3f2=_3f2[0];}djd43.lang.forEach(_3f2,function(anim){this._anims.push(anim);anim.connect("onEnd",djd43.lang.hitch(this,"_onAnimsEnded"));},this);};djd43.inherits(djd43.lfx.Combine,djd43.lfx.IAnimation);djd43.lang.extend(djd43.lfx.Combine,{_animsEnded:0,play:function(_3f4,_3f5){if(!this._anims.length){return this;}this.fire("beforeBegin");if(_3f4>0){setTimeout(djd43.lang.hitch(this,function(){this.play(null,_3f5);}),_3f4);return this;}if(_3f5||this._anims[0].percent==0){this.fire("onBegin");}this.fire("onPlay");this._animsCall("play",null,_3f5);return this;},pause:function(){this.fire("onPause");this._animsCall("pause");return this;},stop:function(_3f6){this.fire("onStop");this._animsCall("stop",_3f6);return this;},_onAnimsEnded:function(){this._animsEnded++;if(this._animsEnded>=this._anims.length){this.fire("onEnd");}return this;},_animsCall:function(_3f7){var args=[];if(arguments.length>1){for(var i=1;i<arguments.length;i++){args.push(arguments[i]);}}var _3fa=this;djd43.lang.forEach(this._anims,function(anim){anim[_3f7](args);},_3fa);return this;}});djd43.lfx.Chain=function(_3fc){djd43.lfx.IAnimation.call(this);this._anims=[];this._currAnim=-1;var _3fd=arguments;if(_3fd.length==1&&(djd43.lang.isArray(_3fd[0])||djd43.lang.isArrayLike(_3fd[0]))){_3fd=_3fd[0];}var _3fe=this;djd43.lang.forEach(_3fd,function(anim,i,_401){this._anims.push(anim);if(i<_401.length-1){anim.connect("onEnd",djd43.lang.hitch(this,"_playNext"));}else{anim.connect("onEnd",djd43.lang.hitch(this,function(){this.fire("onEnd");}));}},this);};djd43.inherits(djd43.lfx.Chain,djd43.lfx.IAnimation);djd43.lang.extend(djd43.lfx.Chain,{_currAnim:-1,play:function(_402,_403){if(!this._anims.length){return this;}if(_403||!this._anims[this._currAnim]){this._currAnim=0;}var _404=this._anims[this._currAnim];this.fire("beforeBegin");if(_402>0){setTimeout(djd43.lang.hitch(this,function(){this.play(null,_403);}),_402);return this;}if(_404){if(this._currAnim==0){this.fire("handler",["begin",this._currAnim]);this.fire("onBegin",[this._currAnim]);}this.fire("onPlay",[this._currAnim]);_404.play(null,_403);}return this;},pause:function(){if(this._anims[this._currAnim]){this._anims[this._currAnim].pause();this.fire("onPause",[this._currAnim]);}return this;},playPause:function(){if(this._anims.length==0){return this;}if(this._currAnim==-1){this._currAnim=0;}var _405=this._anims[this._currAnim];if(_405){if(!_405._active||_405._paused){this.play();}else{this.pause();}}return this;},stop:function(){var _406=this._anims[this._currAnim];if(_406){_406.stop();this.fire("onStop",[this._currAnim]);}return _406;},_playNext:function(){if(this._currAnim==-1||this._anims.length==0){return this;}this._currAnim++;if(this._anims[this._currAnim]){this._anims[this._currAnim].play(null,true);}return this;}});djd43.lfx.combine=function(_407){var _408=arguments;if(djd43.lang.isArray(arguments[0])){_408=arguments[0];}if(_408.length==1){return _408[0];}return new djd43.lfx.Combine(_408);};djd43.lfx.chain=function(_409){var _40a=arguments;if(djd43.lang.isArray(arguments[0])){_40a=arguments[0];}if(_40a.length==1){return _40a[0];}return new djd43.lfx.Chain(_40a);};
djd43.provide("djd43.html.common");djd43.lang.mixin(djd43.html,djd43.dom);djd43.html.body=function(){djd43.deprecated("djd43.html.body() moved to djd43.body()","0.5");return djd43.body();};djd43.html.getEventTarget=function(evt){if(!evt){evt=djd43.global().event||{};}var t=(evt.srcElement?evt.srcElement:(evt.target?evt.target:null));while((t)&&(t.nodeType!=1)){t=t.parentNode;}return t;};djd43.html.getViewport=function(){var _40d=djd43.global();var _40e=djd43.doc();var w=0;var h=0;if(djd43.render.html.mozilla){w=_40e.documentElement.clientWidth;h=_40d.innerHeight;}else{if(!djd43.render.html.opera&&_40d.innerWidth){w=_40d.innerWidth;h=_40d.innerHeight;}else{if(!djd43.render.html.opera&&djd43.exists(_40e,"documentElement.clientWidth")){var w2=_40e.documentElement.clientWidth;if(!w||w2&&w2<w){w=w2;}h=_40e.documentElement.clientHeight;}else{if(djd43.body().clientWidth){w=djd43.body().clientWidth;h=djd43.body().clientHeight;}}}}return {width:w,height:h};};djd43.html.getScroll=function(){var _412=djd43.global();var _413=djd43.doc();var top=_412.pageYOffset||_413.documentElement.scrollTop||djd43.body().scrollTop||0;var left=_412.pageXOffset||_413.documentElement.scrollLeft||djd43.body().scrollLeft||0;return {top:top,left:left,offset:{x:left,y:top}};};djd43.html.getParentByType=function(node,type){var _418=djd43.doc();var _419=djd43.byId(node);type=type.toLowerCase();while((_419)&&(_419.nodeName.toLowerCase()!=type)){if(_419==(_418["body"]||_418["documentElement"])){return null;}_419=_419.parentNode;}return _419;};djd43.html.getAttribute=function(node,attr){node=djd43.byId(node);if((!node)||(!node.getAttribute)){return null;}var ta=typeof attr=="string"?attr:new String(attr);var v=node.getAttribute(ta.toUpperCase());if((v)&&(typeof v=="string")&&(v!="")){return v;}if(v&&v.value){return v.value;}if((node.getAttributeNode)&&(node.getAttributeNode(ta))){return (node.getAttributeNode(ta)).value;}else{if(node.getAttribute(ta)){return node.getAttribute(ta);}else{if(node.getAttribute(ta.toLowerCase())){return node.getAttribute(ta.toLowerCase());}}}return null;};djd43.html.hasAttribute=function(node,attr){return djd43.html.getAttribute(djd43.byId(node),attr)?true:false;};djd43.html.getCursorPosition=function(e){e=e||djd43.global().event;var _421={x:0,y:0};if(e.pageX||e.pageY){_421.x=e.pageX;_421.y=e.pageY;}else{var de=djd43.doc().documentElement;var db=djd43.body();_421.x=e.clientX+((de||db)["scrollLeft"])-((de||db)["clientLeft"]);_421.y=e.clientY+((de||db)["scrollTop"])-((de||db)["clientTop"]);}return _421;};djd43.html.isTag=function(node){node=djd43.byId(node);if(node&&node.tagName){for(var i=1;i<arguments.length;i++){if(node.tagName.toLowerCase()==String(arguments[i]).toLowerCase()){return String(arguments[i]).toLowerCase();}}}return "";};if(djd43.render.html.ie&&!djd43.render.html.ie70){if(window.location.href.substr(0,6).toLowerCase()!="https:"){(function(){var _426=djd43.doc().createElement("script");_426.src="javascript:'djd43.html.createExternalElement=function(doc, tag){ return doc.createElement(tag); }'";djd43.doc().getElementsByTagName("head")[0].appendChild(_426);})();}}else{djd43.html.createExternalElement=function(doc,tag){return doc.createElement(tag);};}djd43.html._callDeprecated=function(_429,_42a,args,_42c,_42d){djd43.deprecated("djd43.html."+_429,"replaced by djd43.html."+_42a+"("+(_42c?"node, {"+_42c+": "+_42c+"}":"")+")"+(_42d?"."+_42d:""),"0.5");var _42e=[];if(_42c){var _42f={};_42f[_42c]=args[1];_42e.push(args[0]);_42e.push(_42f);}else{_42e=args;}var ret=djd43.html[_42a].apply(djd43.html,args);if(_42d){return ret[_42d];}else{return ret;}};djd43.html.getViewportWidth=function(){return djd43.html._callDeprecated("getViewportWidth","getViewport",arguments,null,"width");};djd43.html.getViewportHeight=function(){return djd43.html._callDeprecated("getViewportHeight","getViewport",arguments,null,"height");};djd43.html.getViewportSize=function(){return djd43.html._callDeprecated("getViewportSize","getViewport",arguments);};djd43.html.getScrollTop=function(){return djd43.html._callDeprecated("getScrollTop","getScroll",arguments,null,"top");};djd43.html.getScrollLeft=function(){return djd43.html._callDeprecated("getScrollLeft","getScroll",arguments,null,"left");};djd43.html.getScrollOffset=function(){return djd43.html._callDeprecated("getScrollOffset","getScroll",arguments,null,"offset");};
djd43.provide("djd43.uri.Uri");djd43.uri=new function(){this.djd43Uri=function(uri){return new djd43.uri.Uri(djd43.hostenv.getBaseScriptUri(),uri);};this.moduleUri=function(_432,uri){var loc=djd43.hostenv.getModuleSymbols(_432).join("/");if(!loc){return null;}if(loc.lastIndexOf("/")!=loc.length-1){loc+="/";}var _435=loc.indexOf(":");var _436=loc.indexOf("/");if(loc.charAt(0)!="/"&&(_435==-1||_435>_436)){loc=djd43.hostenv.getBaseScriptUri()+loc;}return new djd43.uri.Uri(loc,uri);};this.Uri=function(){var uri=arguments[0];for(var i=1;i<arguments.length;i++){if(!arguments[i]){continue;}var _439=new djd43.uri.Uri(arguments[i].toString());var _43a=new djd43.uri.Uri(uri.toString());if((_439.path=="")&&(_439.scheme==null)&&(_439.authority==null)&&(_439.query==null)){if(_439.fragment!=null){_43a.fragment=_439.fragment;}_439=_43a;}else{if(_439.scheme==null){_439.scheme=_43a.scheme;if(_439.authority==null){_439.authority=_43a.authority;if(_439.path.charAt(0)!="/"){var path=_43a.path.substring(0,_43a.path.lastIndexOf("/")+1)+_439.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;}}}}_439.path=segs.join("/");}}}}uri="";if(_439.scheme!=null){uri+=_439.scheme+":";}if(_439.authority!=null){uri+="//"+_439.authority;}uri+=_439.path;if(_439.query!=null){uri+="?"+_439.query;}if(_439.fragment!=null){uri+="#"+_439.fragment;}}this.uri=uri.toString();var _43e="^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$";var r=this.uri.match(new RegExp(_43e));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){_43e="^((([^:]+:)?([^@]+))@)?([^:]*)(:([0-9]+))?$";r=this.authority.match(new RegExp(_43e));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;};};};
djd43.provide("djd43.html.style");djd43.html.getClass=function(node){node=djd43.byId(node);if(!node){return "";}var cs="";if(node.className){cs=node.className;}else{if(djd43.html.hasAttribute(node,"class")){cs=djd43.html.getAttribute(node,"class");}}return cs.replace(/^\s+|\s+$/g,"");};djd43.html.getClasses=function(node){var c=djd43.html.getClass(node);return (c=="")?[]:c.split(/\s+/g);};djd43.html.hasClass=function(node,_445){return (new RegExp("(^|\\s+)"+_445+"(\\s+|$)")).test(djd43.html.getClass(node));};djd43.html.prependClass=function(node,_447){_447+=" "+djd43.html.getClass(node);return djd43.html.setClass(node,_447);};djd43.html.addClass=function(node,_449){if(djd43.html.hasClass(node,_449)){return false;}_449=(djd43.html.getClass(node)+" "+_449).replace(/^\s+|\s+$/g,"");return djd43.html.setClass(node,_449);};djd43.html.setClass=function(node,_44b){node=djd43.byId(node);var cs=new String(_44b);try{if(typeof node.className=="string"){node.className=cs;}else{if(node.setAttribute){node.setAttribute("class",_44b);node.className=cs;}else{return false;}}}catch(e){djd43.debug("djd43.html.setClass() failed",e);}return true;};djd43.html.removeClass=function(node,_44e,_44f){try{if(!_44f){var _450=djd43.html.getClass(node).replace(new RegExp("(^|\\s+)"+_44e+"(\\s+|$)"),"$1$2");}else{var _450=djd43.html.getClass(node).replace(_44e,"");}djd43.html.setClass(node,_450);}catch(e){djd43.debug("djd43.html.removeClass() failed",e);}return true;};djd43.html.replaceClass=function(node,_452,_453){djd43.html.removeClass(node,_453);djd43.html.addClass(node,_452);};djd43.html.classMatchType={ContainsAll:0,ContainsAny:1,IsOnly:2};djd43.html.getElementsByClass=function(_454,_455,_456,_457,_458){_458=false;var _459=djd43.doc();_455=djd43.byId(_455)||_459;var _45a=_454.split(/\s+/g);var _45b=[];if(_457!=1&&_457!=2){_457=0;}var _45c=new RegExp("(\\s|^)(("+_45a.join(")|(")+"))(\\s|$)");var _45d=_45a.join(" ").length;var _45e=[];if(!_458&&_459.evaluate){var _45f=".//"+(_456||"*")+"[contains(";if(_457!=djd43.html.classMatchType.ContainsAny){_45f+="concat(' ',@class,' '), ' "+_45a.join(" ') and contains(concat(' ',@class,' '), ' ")+" ')";if(_457==2){_45f+=" and string-length(@class)="+_45d+"]";}else{_45f+="]";}}else{_45f+="concat(' ',@class,' '), ' "+_45a.join(" ') or contains(concat(' ',@class,' '), ' ")+" ')]";}var _460=_459.evaluate(_45f,_455,null,XPathResult.ANY_TYPE,null);var _461=_460.iterateNext();while(_461){try{_45e.push(_461);_461=_460.iterateNext();}catch(e){break;}}return _45e;}else{if(!_456){_456="*";}_45e=_455.getElementsByTagName(_456);var node,i=0;outer:while(node=_45e[i++]){var _464=djd43.html.getClasses(node);if(_464.length==0){continue outer;}var _465=0;for(var j=0;j<_464.length;j++){if(_45c.test(_464[j])){if(_457==djd43.html.classMatchType.ContainsAny){_45b.push(node);continue outer;}else{_465++;}}else{if(_457==djd43.html.classMatchType.IsOnly){continue outer;}}}if(_465==_45a.length){if((_457==djd43.html.classMatchType.IsOnly)&&(_465==_464.length)){_45b.push(node);}else{if(_457==djd43.html.classMatchType.ContainsAll){_45b.push(node);}}}}return _45b;}};djd43.html.getElementsByClassName=djd43.html.getElementsByClass;djd43.html.toCamelCase=function(_467){var arr=_467.split("-"),cc=arr[0];for(var i=1;i<arr.length;i++){cc+=arr[i].charAt(0).toUpperCase()+arr[i].substring(1);}return cc;};djd43.html.toSelectorCase=function(_46b){return _46b.replace(/([A-Z])/g,"-$1").toLowerCase();};if(djd43.render.html.ie){djd43.html.getComputedStyle=function(node,_46d,_46e){node=djd43.byId(node);if(!node||!node.currentStyle){return _46e;}return node.currentStyle[djd43.html.toCamelCase(_46d)];};djd43.html.getComputedStyles=function(node){return node.currentStyle;};}else{djd43.html.getComputedStyle=function(node,_471,_472){node=djd43.byId(node);if(!node||!node.style){return _472;}var s=document.defaultView.getComputedStyle(node,null);return (s&&s[djd43.html.toCamelCase(_471)])||"";};djd43.html.getComputedStyles=function(node){return document.defaultView.getComputedStyle(node,null);};}djd43.html.getStyleProperty=function(node,_476){node=djd43.byId(node);return (node&&node.style?node.style[djd43.html.toCamelCase(_476)]:undefined);};djd43.html.getStyle=function(node,_478){var _479=djd43.html.getStyleProperty(node,_478);return (_479?_479:djd43.html.getComputedStyle(node,_478));};djd43.html.setStyle=function(node,_47b,_47c){node=djd43.byId(node);if(node&&node.style){var _47d=djd43.html.toCamelCase(_47b);node.style[_47d]=_47c;}};djd43.html.setStyleText=function(_47e,text){try{_47e.style.cssText=text;}catch(e){_47e.setAttribute("style",text);}};djd43.html.copyStyle=function(_480,_481){if(!_481.style.cssText){_480.setAttribute("style",_481.getAttribute("style"));}else{_480.style.cssText=_481.style.cssText;}djd43.html.addClass(_480,djd43.html.getClass(_481));};djd43.html.getUnitValue=function(node,_483,_484){var s=djd43.html.getComputedStyle(node,_483);if((!s)||((s=="auto")&&(_484))){return {value:0,units:"px"};}var _486=s.match(/(\-?[\d.]+)([a-z%]*)/i);if(!_486){return djd43.html.getUnitValue.bad;}return {value:Number(_486[1]),units:_486[2].toLowerCase()};};djd43.html.getUnitValue.bad={value:NaN,units:""};if(djd43.render.html.ie){djd43.html.toPixelValue=function(_487,_488){if(!_488){return 0;}if(_488.slice(-2)=="px"){return parseFloat(_488);}var _489=0;with(_487){var _48a=style.left;var _48b=runtimeStyle.left;runtimeStyle.left=currentStyle.left;try{style.left=_488||0;_489=style.pixelLeft;style.left=_48a;runtimeStyle.left=_48b;}catch(e){}}return _489;};}else{djd43.html.toPixelValue=function(_48c,_48d){return (_48d&&(_48d.slice(-2)=="px")?parseFloat(_48d):0);};}djd43.html.getPixelValue=function(node,_48f,_490){return djd43.html.toPixelValue(node,djd43.html.getComputedStyle(node,_48f));};djd43.html.setPositivePixelValue=function(node,_492,_493){if(isNaN(_493)){return false;}node.style[_492]=Math.max(0,_493)+"px";return true;};djd43.html.styleSheet=null;djd43.html.insertCssRule=function(_494,_495,_496){if(!djd43.html.styleSheet){if(document.createStyleSheet){djd43.html.styleSheet=document.createStyleSheet();}else{if(document.styleSheets[0]){djd43.html.styleSheet=document.styleSheets[0];}else{return null;}}}if(arguments.length<3){if(djd43.html.styleSheet.cssRules){_496=djd43.html.styleSheet.cssRules.length;}else{if(djd43.html.styleSheet.rules){_496=djd43.html.styleSheet.rules.length;}else{return null;}}}if(djd43.html.styleSheet.insertRule){var rule=_494+" { "+_495+" }";return djd43.html.styleSheet.insertRule(rule,_496);}else{if(djd43.html.styleSheet.addRule){return djd43.html.styleSheet.addRule(_494,_495,_496);}else{return null;}}};djd43.html.removeCssRule=function(_498){if(!djd43.html.styleSheet){djd43.debug("no stylesheet defined for removing rules");return false;}if(djd43.render.html.ie){if(!_498){_498=djd43.html.styleSheet.rules.length;djd43.html.styleSheet.removeRule(_498);}}else{if(document.styleSheets[0]){if(!_498){_498=djd43.html.styleSheet.cssRules.length;}djd43.html.styleSheet.deleteRule(_498);}}return true;};djd43.html._insertedCssFiles=[];djd43.html.insertCssFile=function(URI,doc,_49b,_49c){if(!URI){return;}if(!doc){doc=document;}var _49d=djd43.hostenv.getText(URI,false,_49c);if(_49d===null){return;}_49d=djd43.html.fixPathsInCssText(_49d,URI);if(_49b){var idx=-1,node,ent=djd43.html._insertedCssFiles;for(var i=0;i<ent.length;i++){if((ent[i].doc==doc)&&(ent[i].cssText==_49d)){idx=i;node=ent[i].nodeRef;break;}}if(node){var _4a2=doc.getElementsByTagName("style");for(var i=0;i<_4a2.length;i++){if(_4a2[i]==node){return;}}djd43.html._insertedCssFiles.shift(idx,1);}}var _4a3=djd43.html.insertCssText(_49d,doc);djd43.html._insertedCssFiles.push({"doc":doc,"cssText":_49d,"nodeRef":_4a3});if(_4a3&&djd43_config.isDebug){_4a3.setAttribute("dbgHref",URI);}return _4a3;};djd43.html.insertCssText=function(_4a4,doc,URI){if(!_4a4){return;}if(!doc){doc=document;}if(URI){_4a4=djd43.html.fixPathsInCssText(_4a4,URI);}var _4a7=doc.createElement("style");_4a7.setAttribute("type","text/css");var head=doc.getElementsByTagName("head")[0];if(!head){djd43.debug("No head tag in document, aborting styles");return;}else{head.appendChild(_4a7);}if(_4a7.styleSheet){var _4a9=function(){try{_4a7.styleSheet.cssText=_4a4;}catch(e){djd43.debug(e);}};if(_4a7.styleSheet.disabled){setTimeout(_4a9,10);}else{_4a9();}}else{var _4aa=doc.createTextNode(_4a4);_4a7.appendChild(_4aa);}return _4a7;};djd43.html.fixPathsInCssText=function(_4ab,URI){if(!_4ab||!URI){return;}var _4ad,str="",url="",_4b0="[\\t\\s\\w\\(\\)\\/\\.\\\\'\"-:#=&?~]+";var _4b1=new RegExp("url\\(\\s*("+_4b0+")\\s*\\)");var _4b2=/(file|https?|ftps?):\/\//;regexTrim=new RegExp("^[\\s]*(['\"]?)("+_4b0+")\\1[\\s]*?$");if(djd43.render.html.ie55||djd43.render.html.ie60){var _4b3=new RegExp("AlphaImageLoader\\((.*)src=['\"]("+_4b0+")['\"]");while(_4ad=_4b3.exec(_4ab)){url=_4ad[2].replace(regexTrim,"$2");if(!_4b2.exec(url)){url=(new djd43.uri.Uri(URI,url).toString());}str+=_4ab.substring(0,_4ad.index)+"AlphaImageLoader("+_4ad[1]+"src='"+url+"'";_4ab=_4ab.substr(_4ad.index+_4ad[0].length);}_4ab=str+_4ab;str="";}while(_4ad=_4b1.exec(_4ab)){url=_4ad[1].replace(regexTrim,"$2");if(!_4b2.exec(url)){url=(new djd43.uri.Uri(URI,url).toString());}str+=_4ab.substring(0,_4ad.index)+"url("+url+")";_4ab=_4ab.substr(_4ad.index+_4ad[0].length);}return str+_4ab;};djd43.html.setActiveStyleSheet=function(_4b4){var i=0,a,els=djd43.doc().getElementsByTagName("link");while(a=els[i++]){if(a.getAttribute("rel").indexOf("style")!=-1&&a.getAttribute("title")){a.disabled=true;if(a.getAttribute("title")==_4b4){a.disabled=false;}}}};djd43.html.getActiveStyleSheet=function(){var i=0,a,els=djd43.doc().getElementsByTagName("link");while(a=els[i++]){if(a.getAttribute("rel").indexOf("style")!=-1&&a.getAttribute("title")&&!a.disabled){return a.getAttribute("title");}}return null;};djd43.html.getPreferredStyleSheet=function(){var i=0,a,els=djd43.doc().getElementsByTagName("link");while(a=els[i++]){if(a.getAttribute("rel").indexOf("style")!=-1&&a.getAttribute("rel").indexOf("alt")==-1&&a.getAttribute("title")){return a.getAttribute("title");}}return null;};djd43.html.applyBrowserClass=function(node){var drh=djd43.render.html;var _4c0={dj_ie:drh.ie,dj_ie55:drh.ie55,dj_ie6:drh.ie60,dj_ie7:drh.ie70,dj_iequirks:drh.ie&&drh.quirks,dj_opera:drh.opera,dj_opera8:drh.opera&&(Math.floor(djd43.render.version)==8),dj_opera9:drh.opera&&(Math.floor(djd43.render.version)==9),dj_khtml:drh.khtml,dj_safari:drh.safari,dj_gecko:drh.mozilla};for(var p in _4c0){if(_4c0[p]){djd43.html.addClass(node,p);}}};
djd43.provide("djd43.html.display");djd43.html._toggle=function(node,_4c3,_4c4){node=djd43.byId(node);_4c4(node,!_4c3(node));return _4c3(node);};djd43.html.show=function(node){node=djd43.byId(node);if(djd43.html.getStyleProperty(node,"display")=="none"){djd43.html.setStyle(node,"display",(node.djd43DisplayCache||""));node.djd43DisplayCache=undefined;}};djd43.html.hide=function(node){node=djd43.byId(node);if(typeof node["djd43DisplayCache"]=="undefined"){var d=djd43.html.getStyleProperty(node,"display");if(d!="none"){node.djd43DisplayCache=d;}}djd43.html.setStyle(node,"display","none");};djd43.html.setShowing=function(node,_4c9){djd43.html[(_4c9?"show":"hide")](node);};djd43.html.isShowing=function(node){return (djd43.html.getStyleProperty(node,"display")!="none");};djd43.html.toggleShowing=function(node){return djd43.html._toggle(node,djd43.html.isShowing,djd43.html.setShowing);};djd43.html.displayMap={tr:"",td:"",th:"",img:"inline",span:"inline",input:"inline",button:"inline"};djd43.html.suggestDisplayByTagName=function(node){node=djd43.byId(node);if(node&&node.tagName){var tag=node.tagName.toLowerCase();return (tag in djd43.html.displayMap?djd43.html.displayMap[tag]:"block");}};djd43.html.setDisplay=function(node,_4cf){djd43.html.setStyle(node,"display",((_4cf instanceof String||typeof _4cf=="string")?_4cf:(_4cf?djd43.html.suggestDisplayByTagName(node):"none")));};djd43.html.isDisplayed=function(node){return (djd43.html.getComputedStyle(node,"display")!="none");};djd43.html.toggleDisplay=function(node){return djd43.html._toggle(node,djd43.html.isDisplayed,djd43.html.setDisplay);};djd43.html.setVisibility=function(node,_4d3){djd43.html.setStyle(node,"visibility",((_4d3 instanceof String||typeof _4d3=="string")?_4d3:(_4d3?"visible":"hidden")));};djd43.html.isVisible=function(node){return (djd43.html.getComputedStyle(node,"visibility")!="hidden");};djd43.html.toggleVisibility=function(node){return djd43.html._toggle(node,djd43.html.isVisible,djd43.html.setVisibility);};djd43.html.setOpacity=function(node,_4d7,_4d8){node=djd43.byId(node);var h=djd43.render.html;if(!_4d8){if(_4d7>=1){if(h.ie){djd43.html.clearOpacity(node);return;}else{_4d7=0.999999;}}else{if(_4d7<0){_4d7=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="+_4d7*100+")";}}node.style.filter="Alpha(Opacity="+_4d7*100+")";}else{if(h.moz){node.style.opacity=_4d7;node.style.MozOpacity=_4d7;}else{if(h.safari){node.style.opacity=_4d7;node.style.KhtmlOpacity=_4d7;}else{node.style.opacity=_4d7;}}}};djd43.html.clearOpacity=function(node){node=djd43.byId(node);var ns=node.style;var h=djd43.render.html;if(h.ie){try{if(node.filters&&node.filters.alpha){ns.filter="";}}catch(e){}}else{if(h.moz){ns.opacity=1;ns.MozOpacity=1;}else{if(h.safari){ns.opacity=1;ns.KhtmlOpacity=1;}else{ns.opacity=1;}}}};djd43.html.getOpacity=function(node){node=djd43.byId(node);var h=djd43.render.html;if(h.ie){var opac=(node.filters&&node.filters.alpha&&typeof node.filters.alpha.opacity=="number"?node.filters.alpha.opacity:100)/100;}else{var opac=node.style.opacity||node.style.MozOpacity||node.style.KhtmlOpacity||1;}return opac>=0.999999?1:Number(opac);};
djd43.provide("djd43.html.color");djd43.html.getBackgroundColor=function(node){node=djd43.byId(node);var _4e3;do{_4e3=djd43.html.getStyle(node,"background-color");if(_4e3.toLowerCase()=="rgba(0, 0, 0, 0)"){_4e3="transparent";}if(node==document.getElementsByTagName("body")[0]){node=null;break;}node=node.parentNode;}while(node&&djd43.lang.inArray(["transparent",""],_4e3));if(_4e3=="transparent"){_4e3=[255,255,255,0];}else{_4e3=djd43.gfx.color.extractRGB(_4e3);}return _4e3;};
djd43.provide("djd43.html.layout");djd43.html.sumAncestorProperties=function(node,prop){node=djd43.byId(node);if(!node){return 0;}var _4e6=0;while(node){if(djd43.html.getComputedStyle(node,"position")=="fixed"){return 0;}var val=node[prop];if(val){_4e6+=val-0;if(node==djd43.body()){break;}}node=node.parentNode;}return _4e6;};djd43.html.setStyleAttributes=function(node,_4e9){node=djd43.byId(node);var _4ea=_4e9.replace(/(;)?\s*$/,"").split(";");for(var i=0;i<_4ea.length;i++){var _4ec=_4ea[i].split(":");var name=_4ec[0].replace(/\s*$/,"").replace(/^\s*/,"").toLowerCase();var _4ee=_4ec[1].replace(/\s*$/,"").replace(/^\s*/,"");switch(name){case "opacity":djd43.html.setOpacity(node,_4ee);break;case "content-height":djd43.html.setContentBox(node,{height:_4ee});break;case "content-width":djd43.html.setContentBox(node,{width:_4ee});break;case "outer-height":djd43.html.setMarginBox(node,{height:_4ee});break;case "outer-width":djd43.html.setMarginBox(node,{width:_4ee});break;default:node.style[djd43.html.toCamelCase(name)]=_4ee;}}};djd43.html.boxSizing={MARGIN_BOX:"margin-box",BORDER_BOX:"border-box",PADDING_BOX:"padding-box",CONTENT_BOX:"content-box"};djd43.html.getAbsolutePosition=djd43.html.abs=function(node,_4f0,_4f1){node=djd43.byId(node,node.ownerDocument);var ret={x:0,y:0};var bs=djd43.html.boxSizing;if(!_4f1){_4f1=bs.CONTENT_BOX;}var _4f4=2;var _4f5;switch(_4f1){case bs.MARGIN_BOX:_4f5=3;break;case bs.BORDER_BOX:_4f5=2;break;case bs.PADDING_BOX:default:_4f5=1;break;case bs.CONTENT_BOX:_4f5=0;break;}var h=djd43.render.html;var db=document["body"]||document["documentElement"];if(h.ie){with(node.getBoundingClientRect()){ret.x=left-2;ret.y=top-2;}}else{if(document.getBoxObjectFor){_4f4=1;try{var bo=document.getBoxObjectFor(node);ret.x=bo.x-djd43.html.sumAncestorProperties(node,"scrollLeft");ret.y=bo.y-djd43.html.sumAncestorProperties(node,"scrollTop");}catch(e){}}else{if(node["offsetParent"]){var _4f9;if((h.safari)&&(node.style.getPropertyValue("position")=="absolute")&&(node.parentNode==db)){_4f9=db;}else{_4f9=db.parentNode;}if(node.parentNode!=db){var nd=node;if(djd43.render.html.opera){nd=db;}ret.x-=djd43.html.sumAncestorProperties(nd,"scrollLeft");ret.y-=djd43.html.sumAncestorProperties(nd,"scrollTop");}var _4fb=node;do{var n=_4fb["offsetLeft"];if(!h.opera||n>0){ret.x+=isNaN(n)?0:n;}var m=_4fb["offsetTop"];ret.y+=isNaN(m)?0:m;_4fb=_4fb.offsetParent;}while((_4fb!=_4f9)&&(_4fb!=null));}else{if(node["x"]&&node["y"]){ret.x+=isNaN(node.x)?0:node.x;ret.y+=isNaN(node.y)?0:node.y;}}}}if(_4f0){var _4fe=djd43.html.getScroll();ret.y+=_4fe.top;ret.x+=_4fe.left;}var _4ff=[djd43.html.getPaddingExtent,djd43.html.getBorderExtent,djd43.html.getMarginExtent];if(_4f4>_4f5){for(var i=_4f5;i<_4f4;++i){ret.y+=_4ff[i](node,"top");ret.x+=_4ff[i](node,"left");}}else{if(_4f4<_4f5){for(var i=_4f5;i>_4f4;--i){ret.y-=_4ff[i-1](node,"top");ret.x-=_4ff[i-1](node,"left");}}}ret.top=ret.y;ret.left=ret.x;return ret;};djd43.html.isPositionAbsolute=function(node){return (djd43.html.getComputedStyle(node,"position")=="absolute");};djd43.html._sumPixelValues=function(node,_503,_504){var _505=0;for(var x=0;x<_503.length;x++){_505+=djd43.html.getPixelValue(node,_503[x],_504);}return _505;};djd43.html.getMargin=function(node){return {width:djd43.html._sumPixelValues(node,["margin-left","margin-right"],(djd43.html.getComputedStyle(node,"position")=="absolute")),height:djd43.html._sumPixelValues(node,["margin-top","margin-bottom"],(djd43.html.getComputedStyle(node,"position")=="absolute"))};};djd43.html.getBorder=function(node){return {width:djd43.html.getBorderExtent(node,"left")+djd43.html.getBorderExtent(node,"right"),height:djd43.html.getBorderExtent(node,"top")+djd43.html.getBorderExtent(node,"bottom")};};djd43.html.getBorderExtent=function(node,side){return (djd43.html.getStyle(node,"border-"+side+"-style")=="none"?0:djd43.html.getPixelValue(node,"border-"+side+"-width"));};djd43.html.getMarginExtent=function(node,side){return djd43.html._sumPixelValues(node,["margin-"+side],djd43.html.isPositionAbsolute(node));};djd43.html.getPaddingExtent=function(node,side){return djd43.html._sumPixelValues(node,["padding-"+side],true);};djd43.html.getPadding=function(node){return {width:djd43.html._sumPixelValues(node,["padding-left","padding-right"],true),height:djd43.html._sumPixelValues(node,["padding-top","padding-bottom"],true)};};djd43.html.getPadBorder=function(node){var pad=djd43.html.getPadding(node);var _512=djd43.html.getBorder(node);return {width:pad.width+_512.width,height:pad.height+_512.height};};djd43.html.getBoxSizing=function(node){var h=djd43.render.html;var bs=djd43.html.boxSizing;if(((h.ie)||(h.opera))&&node.nodeName.toLowerCase()!="img"){var cm=document["compatMode"];if((cm=="BackCompat")||(cm=="QuirksMode")){return bs.BORDER_BOX;}else{return bs.CONTENT_BOX;}}else{if(arguments.length==0){node=document.documentElement;}var _517;if(!h.ie){_517=djd43.html.getStyle(node,"-moz-box-sizing");if(!_517){_517=djd43.html.getStyle(node,"box-sizing");}}return (_517?_517:bs.CONTENT_BOX);}};djd43.html.isBorderBox=function(node){return (djd43.html.getBoxSizing(node)==djd43.html.boxSizing.BORDER_BOX);};djd43.html.getBorderBox=function(node){node=djd43.byId(node);return {width:node.offsetWidth,height:node.offsetHeight};};djd43.html.getPaddingBox=function(node){var box=djd43.html.getBorderBox(node);var _51c=djd43.html.getBorder(node);return {width:box.width-_51c.width,height:box.height-_51c.height};};djd43.html.getContentBox=function(node){node=djd43.byId(node);var _51e=djd43.html.getPadBorder(node);return {width:node.offsetWidth-_51e.width,height:node.offsetHeight-_51e.height};};djd43.html.setContentBox=function(node,args){node=djd43.byId(node);var _521=0;var _522=0;var isbb=djd43.html.isBorderBox(node);var _524=(isbb?djd43.html.getPadBorder(node):{width:0,height:0});var ret={};if(typeof args.width!="undefined"){_521=args.width+_524.width;ret.width=djd43.html.setPositivePixelValue(node,"width",_521);}if(typeof args.height!="undefined"){_522=args.height+_524.height;ret.height=djd43.html.setPositivePixelValue(node,"height",_522);}return ret;};djd43.html.getMarginBox=function(node){var _527=djd43.html.getBorderBox(node);var _528=djd43.html.getMargin(node);return {width:_527.width+_528.width,height:_527.height+_528.height};};djd43.html.setMarginBox=function(node,args){node=djd43.byId(node);var _52b=0;var _52c=0;var isbb=djd43.html.isBorderBox(node);var _52e=(!isbb?djd43.html.getPadBorder(node):{width:0,height:0});var _52f=djd43.html.getMargin(node);var ret={};if(typeof args.width!="undefined"){_52b=args.width-_52e.width;_52b-=_52f.width;ret.width=djd43.html.setPositivePixelValue(node,"width",_52b);}if(typeof args.height!="undefined"){_52c=args.height-_52e.height;_52c-=_52f.height;ret.height=djd43.html.setPositivePixelValue(node,"height",_52c);}return ret;};djd43.html.getElementBox=function(node,type){var bs=djd43.html.boxSizing;switch(type){case bs.MARGIN_BOX:return djd43.html.getMarginBox(node);case bs.BORDER_BOX:return djd43.html.getBorderBox(node);case bs.PADDING_BOX:return djd43.html.getPaddingBox(node);case bs.CONTENT_BOX:default:return djd43.html.getContentBox(node);}};djd43.html.toCoordinateObject=djd43.html.toCoordinateArray=function(_534,_535,_536){if(_534 instanceof Array||typeof _534=="array"){djd43.deprecated("djd43.html.toCoordinateArray","use djd43.html.toCoordinateObject({left: , top: , width: , height: }) instead","0.5");while(_534.length<4){_534.push(0);}while(_534.length>4){_534.pop();}var ret={left:_534[0],top:_534[1],width:_534[2],height:_534[3]};}else{if(!_534.nodeType&&!(_534 instanceof String||typeof _534=="string")&&("width" in _534||"height" in _534||"left" in _534||"x" in _534||"top" in _534||"y" in _534)){var ret={left:_534.left||_534.x||0,top:_534.top||_534.y||0,width:_534.width||0,height:_534.height||0};}else{var node=djd43.byId(_534);var pos=djd43.html.abs(node,_535,_536);var _53a=djd43.html.getMarginBox(node);var ret={left:pos.left,top:pos.top,width:_53a.width,height:_53a.height};}}ret.x=ret.left;ret.y=ret.top;return ret;};djd43.html.setMarginBoxWidth=djd43.html.setOuterWidth=function(node,_53c){return djd43.html._callDeprecated("setMarginBoxWidth","setMarginBox",arguments,"width");};djd43.html.setMarginBoxHeight=djd43.html.setOuterHeight=function(){return djd43.html._callDeprecated("setMarginBoxHeight","setMarginBox",arguments,"height");};djd43.html.getMarginBoxWidth=djd43.html.getOuterWidth=function(){return djd43.html._callDeprecated("getMarginBoxWidth","getMarginBox",arguments,null,"width");};djd43.html.getMarginBoxHeight=djd43.html.getOuterHeight=function(){return djd43.html._callDeprecated("getMarginBoxHeight","getMarginBox",arguments,null,"height");};djd43.html.getTotalOffset=function(node,type,_53f){return djd43.html._callDeprecated("getTotalOffset","getAbsolutePosition",arguments,null,type);};djd43.html.getAbsoluteX=function(node,_541){return djd43.html._callDeprecated("getAbsoluteX","getAbsolutePosition",arguments,null,"x");};djd43.html.getAbsoluteY=function(node,_543){return djd43.html._callDeprecated("getAbsoluteY","getAbsolutePosition",arguments,null,"y");};djd43.html.totalOffsetLeft=function(node,_545){return djd43.html._callDeprecated("totalOffsetLeft","getAbsolutePosition",arguments,null,"left");};djd43.html.totalOffsetTop=function(node,_547){return djd43.html._callDeprecated("totalOffsetTop","getAbsolutePosition",arguments,null,"top");};djd43.html.getMarginWidth=function(node){return djd43.html._callDeprecated("getMarginWidth","getMargin",arguments,null,"width");};djd43.html.getMarginHeight=function(node){return djd43.html._callDeprecated("getMarginHeight","getMargin",arguments,null,"height");};djd43.html.getBorderWidth=function(node){return djd43.html._callDeprecated("getBorderWidth","getBorder",arguments,null,"width");};djd43.html.getBorderHeight=function(node){return djd43.html._callDeprecated("getBorderHeight","getBorder",arguments,null,"height");};djd43.html.getPaddingWidth=function(node){return djd43.html._callDeprecated("getPaddingWidth","getPadding",arguments,null,"width");};djd43.html.getPaddingHeight=function(node){return djd43.html._callDeprecated("getPaddingHeight","getPadding",arguments,null,"height");};djd43.html.getPadBorderWidth=function(node){return djd43.html._callDeprecated("getPadBorderWidth","getPadBorder",arguments,null,"width");};djd43.html.getPadBorderHeight=function(node){return djd43.html._callDeprecated("getPadBorderHeight","getPadBorder",arguments,null,"height");};djd43.html.getBorderBoxWidth=djd43.html.getInnerWidth=function(){return djd43.html._callDeprecated("getBorderBoxWidth","getBorderBox",arguments,null,"width");};djd43.html.getBorderBoxHeight=djd43.html.getInnerHeight=function(){return djd43.html._callDeprecated("getBorderBoxHeight","getBorderBox",arguments,null,"height");};djd43.html.getContentBoxWidth=djd43.html.getContentWidth=function(){return djd43.html._callDeprecated("getContentBoxWidth","getContentBox",arguments,null,"width");};djd43.html.getContentBoxHeight=djd43.html.getContentHeight=function(){return djd43.html._callDeprecated("getContentBoxHeight","getContentBox",arguments,null,"height");};djd43.html.setContentBoxWidth=djd43.html.setContentWidth=function(node,_551){return djd43.html._callDeprecated("setContentBoxWidth","setContentBox",arguments,"width");};djd43.html.setContentBoxHeight=djd43.html.setContentHeight=function(node,_553){return djd43.html._callDeprecated("setContentBoxHeight","setContentBox",arguments,"height");};
djd43.provide("djd43.lfx.html");djd43.lfx.html._byId=function(_554){if(!_554){return [];}if(djd43.lang.isArrayLike(_554)){if(!_554.alreadyChecked){var n=[];djd43.lang.forEach(_554,function(node){n.push(djd43.byId(node));});n.alreadyChecked=true;return n;}else{return _554;}}else{var n=[];n.push(djd43.byId(_554));n.alreadyChecked=true;return n;}};djd43.lfx.html.propertyAnimation=function(_557,_558,_559,_55a,_55b){_557=djd43.lfx.html._byId(_557);var _55c={"propertyMap":_558,"nodes":_557,"duration":_559,"easing":_55a||djd43.lfx.easeDefault};var _55d=function(args){if(args.nodes.length==1){var pm=args.propertyMap;if(!djd43.lang.isArray(args.propertyMap)){var parr=[];for(var _561 in pm){pm[_561].property=_561;parr.push(pm[_561]);}pm=args.propertyMap=parr;}djd43.lang.forEach(pm,function(prop){if(dj_undef("start",prop)){if(prop.property!="opacity"){prop.start=parseInt(djd43.html.getComputedStyle(args.nodes[0],prop.property));}else{prop.start=djd43.html.getOpacity(args.nodes[0]);}}});}};var _563=function(_564){var _565=[];djd43.lang.forEach(_564,function(c){_565.push(Math.round(c));});return _565;};var _567=function(n,_569){n=djd43.byId(n);if(!n||!n.style){return;}for(var s in _569){try{if(s=="opacity"){djd43.html.setOpacity(n,_569[s]);}else{n.style[s]=_569[s];}}catch(e){djd43.debug(e);}}};var _56b=function(_56c){this._properties=_56c;this.diffs=new Array(_56c.length);djd43.lang.forEach(_56c,function(prop,i){if(djd43.lang.isFunction(prop.start)){prop.start=prop.start(prop,i);}if(djd43.lang.isFunction(prop.end)){prop.end=prop.end(prop,i);}if(djd43.lang.isArray(prop.start)){this.diffs[i]=null;}else{if(prop.start instanceof djd43.gfx.color.Color){prop.startRgb=prop.start.toRgb();prop.endRgb=prop.end.toRgb();}else{this.diffs[i]=prop.end-prop.start;}}},this);this.getValue=function(n){var ret={};djd43.lang.forEach(this._properties,function(prop,i){var _573=null;if(djd43.lang.isArray(prop.start)){}else{if(prop.start instanceof djd43.gfx.color.Color){_573=(prop.units||"rgb")+"(";for(var j=0;j<prop.startRgb.length;j++){_573+=Math.round(((prop.endRgb[j]-prop.startRgb[j])*n)+prop.startRgb[j])+(j<prop.startRgb.length-1?",":"");}_573+=")";}else{_573=((this.diffs[i])*n)+prop.start+(prop.property!="opacity"?prop.units||"px":"");}}ret[djd43.html.toCamelCase(prop.property)]=_573;},this);return ret;};};var anim=new djd43.lfx.Animation({beforeBegin:function(){_55d(_55c);anim.curve=new _56b(_55c.propertyMap);},onAnimate:function(_576){djd43.lang.forEach(_55c.nodes,function(node){_567(node,_576);});}},_55c.duration,null,_55c.easing);if(_55b){for(var x in _55b){if(djd43.lang.isFunction(_55b[x])){anim.connect(x,anim,_55b[x]);}}}return anim;};djd43.lfx.html._makeFadeable=function(_579){var _57a=function(node){if(djd43.render.html.ie){if((node.style.zoom.length==0)&&(djd43.html.getStyle(node,"zoom")=="normal")){node.style.zoom="1";}if((node.style.width.length==0)&&(djd43.html.getStyle(node,"width")=="auto")){node.style.width="auto";}}};if(djd43.lang.isArrayLike(_579)){djd43.lang.forEach(_579,_57a);}else{_57a(_579);}};djd43.lfx.html.fade=function(_57c,_57d,_57e,_57f,_580){_57c=djd43.lfx.html._byId(_57c);var _581={property:"opacity"};if(!dj_undef("start",_57d)){_581.start=_57d.start;}else{_581.start=function(){return djd43.html.getOpacity(_57c[0]);};}if(!dj_undef("end",_57d)){_581.end=_57d.end;}else{djd43.raise("djd43.lfx.html.fade needs an end value");}var anim=djd43.lfx.propertyAnimation(_57c,[_581],_57e,_57f);anim.connect("beforeBegin",function(){djd43.lfx.html._makeFadeable(_57c);});if(_580){anim.connect("onEnd",function(){_580(_57c,anim);});}return anim;};djd43.lfx.html.fadeIn=function(_583,_584,_585,_586){return djd43.lfx.html.fade(_583,{end:1},_584,_585,_586);};djd43.lfx.html.fadeOut=function(_587,_588,_589,_58a){return djd43.lfx.html.fade(_587,{end:0},_588,_589,_58a);};djd43.lfx.html.fadeShow=function(_58b,_58c,_58d,_58e){_58b=djd43.lfx.html._byId(_58b);djd43.lang.forEach(_58b,function(node){djd43.html.setOpacity(node,0);});var anim=djd43.lfx.html.fadeIn(_58b,_58c,_58d,_58e);anim.connect("beforeBegin",function(){if(djd43.lang.isArrayLike(_58b)){djd43.lang.forEach(_58b,djd43.html.show);}else{djd43.html.show(_58b);}});return anim;};djd43.lfx.html.fadeHide=function(_591,_592,_593,_594){var anim=djd43.lfx.html.fadeOut(_591,_592,_593,function(){if(djd43.lang.isArrayLike(_591)){djd43.lang.forEach(_591,djd43.html.hide);}else{djd43.html.hide(_591);}if(_594){_594(_591,anim);}});return anim;};djd43.lfx.html.wipeIn=function(_596,_597,_598,_599){_596=djd43.lfx.html._byId(_596);var _59a=[];djd43.lang.forEach(_596,function(node){var _59c={};var _59d,_59e,_59f;with(node.style){_59d=top;_59e=left;_59f=position;top="-9999px";left="-9999px";position="absolute";display="";}var _5a0=djd43.html.getBorderBox(node).height;with(node.style){top=_59d;left=_59e;position=_59f;display="none";}var anim=djd43.lfx.propertyAnimation(node,{"height":{start:1,end:function(){return _5a0;}}},_597,_598);anim.connect("beforeBegin",function(){_59c.overflow=node.style.overflow;_59c.height=node.style.height;with(node.style){overflow="hidden";height="1px";}djd43.html.show(node);});anim.connect("onEnd",function(){with(node.style){overflow=_59c.overflow;height=_59c.height;}if(_599){_599(node,anim);}});_59a.push(anim);});return djd43.lfx.combine(_59a);};djd43.lfx.html.wipeOut=function(_5a2,_5a3,_5a4,_5a5){_5a2=djd43.lfx.html._byId(_5a2);var _5a6=[];djd43.lang.forEach(_5a2,function(node){var _5a8={};var anim=djd43.lfx.propertyAnimation(node,{"height":{start:function(){return djd43.html.getContentBox(node).height;},end:1}},_5a3,_5a4,{"beforeBegin":function(){_5a8.overflow=node.style.overflow;_5a8.height=node.style.height;with(node.style){overflow="hidden";}djd43.html.show(node);},"onEnd":function(){djd43.html.hide(node);with(node.style){overflow=_5a8.overflow;height=_5a8.height;}if(_5a5){_5a5(node,anim);}}});_5a6.push(anim);});return djd43.lfx.combine(_5a6);};djd43.lfx.html.slideTo=function(_5aa,_5ab,_5ac,_5ad,_5ae){_5aa=djd43.lfx.html._byId(_5aa);var _5af=[];var _5b0=djd43.html.getComputedStyle;if(djd43.lang.isArray(_5ab)){djd43.deprecated("djd43.lfx.html.slideTo(node, array)","use djd43.lfx.html.slideTo(node, {top: value, left: value});","0.5");_5ab={top:_5ab[0],left:_5ab[1]};}djd43.lang.forEach(_5aa,function(node){var top=null;var left=null;var init=(function(){var _5b5=node;return function(){var pos=_5b0(_5b5,"position");top=(pos=="absolute"?node.offsetTop:parseInt(_5b0(node,"top"))||0);left=(pos=="absolute"?node.offsetLeft:parseInt(_5b0(node,"left"))||0);if(!djd43.lang.inArray(["absolute","relative"],pos)){var ret=djd43.html.abs(_5b5,true);djd43.html.setStyleAttributes(_5b5,"position:absolute;top:"+ret.y+"px;left:"+ret.x+"px;");top=ret.y;left=ret.x;}};})();init();var anim=djd43.lfx.propertyAnimation(node,{"top":{start:top,end:(_5ab.top||0)},"left":{start:left,end:(_5ab.left||0)}},_5ac,_5ad,{"beforeBegin":init});if(_5ae){anim.connect("onEnd",function(){_5ae(_5aa,anim);});}_5af.push(anim);});return djd43.lfx.combine(_5af);};djd43.lfx.html.slideBy=function(_5b9,_5ba,_5bb,_5bc,_5bd){_5b9=djd43.lfx.html._byId(_5b9);var _5be=[];var _5bf=djd43.html.getComputedStyle;if(djd43.lang.isArray(_5ba)){djd43.deprecated("djd43.lfx.html.slideBy(node, array)","use djd43.lfx.html.slideBy(node, {top: value, left: value});","0.5");_5ba={top:_5ba[0],left:_5ba[1]};}djd43.lang.forEach(_5b9,function(node){var top=null;var left=null;var init=(function(){var _5c4=node;return function(){var pos=_5bf(_5c4,"position");top=(pos=="absolute"?node.offsetTop:parseInt(_5bf(node,"top"))||0);left=(pos=="absolute"?node.offsetLeft:parseInt(_5bf(node,"left"))||0);if(!djd43.lang.inArray(["absolute","relative"],pos)){var ret=djd43.html.abs(_5c4,true);djd43.html.setStyleAttributes(_5c4,"position:absolute;top:"+ret.y+"px;left:"+ret.x+"px;");top=ret.y;left=ret.x;}};})();init();var anim=djd43.lfx.propertyAnimation(node,{"top":{start:top,end:top+(_5ba.top||0)},"left":{start:left,end:left+(_5ba.left||0)}},_5bb,_5bc).connect("beforeBegin",init);if(_5bd){anim.connect("onEnd",function(){_5bd(_5b9,anim);});}_5be.push(anim);});return djd43.lfx.combine(_5be);};djd43.lfx.html.explode=function(_5c8,_5c9,_5ca,_5cb,_5cc){var h=djd43.html;_5c8=djd43.byId(_5c8);_5c9=djd43.byId(_5c9);var _5ce=h.toCoordinateObject(_5c8,true);var _5cf=document.createElement("div");h.copyStyle(_5cf,_5c9);if(_5c9.explodeClassName){_5cf.className=_5c9.explodeClassName;}with(_5cf.style){position="absolute";display="none";var _5d0=h.getStyle(_5c8,"background-color");backgroundColor=_5d0?_5d0.toLowerCase():"transparent";backgroundColor=(backgroundColor=="transparent")?"rgb(221, 221, 221)":backgroundColor;}djd43.body().appendChild(_5cf);with(_5c9.style){visibility="hidden";display="block";}var _5d1=h.toCoordinateObject(_5c9,true);with(_5c9.style){display="none";visibility="visible";}var _5d2={opacity:{start:0.5,end:1}};djd43.lang.forEach(["height","width","top","left"],function(type){_5d2[type]={start:_5ce[type],end:_5d1[type]};});var anim=new djd43.lfx.propertyAnimation(_5cf,_5d2,_5ca,_5cb,{"beforeBegin":function(){h.setDisplay(_5cf,"block");},"onEnd":function(){h.setDisplay(_5c9,"block");_5cf.parentNode.removeChild(_5cf);}});if(_5cc){anim.connect("onEnd",function(){_5cc(_5c9,anim);});}return anim;};djd43.lfx.html.implode=function(_5d5,end,_5d7,_5d8,_5d9){var h=djd43.html;_5d5=djd43.byId(_5d5);end=djd43.byId(end);var _5db=djd43.html.toCoordinateObject(_5d5,true);var _5dc=djd43.html.toCoordinateObject(end,true);var _5dd=document.createElement("div");djd43.html.copyStyle(_5dd,_5d5);if(_5d5.explodeClassName){_5dd.className=_5d5.explodeClassName;}djd43.html.setOpacity(_5dd,0.3);with(_5dd.style){position="absolute";display="none";backgroundColor=h.getStyle(_5d5,"background-color").toLowerCase();}djd43.body().appendChild(_5dd);var _5de={opacity:{start:1,end:0.5}};djd43.lang.forEach(["height","width","top","left"],function(type){_5de[type]={start:_5db[type],end:_5dc[type]};});var anim=new djd43.lfx.propertyAnimation(_5dd,_5de,_5d7,_5d8,{"beforeBegin":function(){djd43.html.hide(_5d5);djd43.html.show(_5dd);},"onEnd":function(){_5dd.parentNode.removeChild(_5dd);}});if(_5d9){anim.connect("onEnd",function(){_5d9(_5d5,anim);});}return anim;};djd43.lfx.html.highlight=function(_5e1,_5e2,_5e3,_5e4,_5e5){_5e1=djd43.lfx.html._byId(_5e1);var _5e6=[];djd43.lang.forEach(_5e1,function(node){var _5e8=djd43.html.getBackgroundColor(node);var bg=djd43.html.getStyle(node,"background-color").toLowerCase();var _5ea=djd43.html.getStyle(node,"background-image");var _5eb=(bg=="transparent"||bg=="rgba(0, 0, 0, 0)");while(_5e8.length>3){_5e8.pop();}var rgb=new djd43.gfx.color.Color(_5e2);var _5ed=new djd43.gfx.color.Color(_5e8);var anim=djd43.lfx.propertyAnimation(node,{"background-color":{start:rgb,end:_5ed}},_5e3,_5e4,{"beforeBegin":function(){if(_5ea){node.style.backgroundImage="none";}node.style.backgroundColor="rgb("+rgb.toRgb().join(",")+")";},"onEnd":function(){if(_5ea){node.style.backgroundImage=_5ea;}if(_5eb){node.style.backgroundColor="transparent";}if(_5e5){_5e5(node,anim);}}});_5e6.push(anim);});return djd43.lfx.combine(_5e6);};djd43.lfx.html.unhighlight=function(_5ef,_5f0,_5f1,_5f2,_5f3){_5ef=djd43.lfx.html._byId(_5ef);var _5f4=[];djd43.lang.forEach(_5ef,function(node){var _5f6=new djd43.gfx.color.Color(djd43.html.getBackgroundColor(node));var rgb=new djd43.gfx.color.Color(_5f0);var _5f8=djd43.html.getStyle(node,"background-image");var anim=djd43.lfx.propertyAnimation(node,{"background-color":{start:_5f6,end:rgb}},_5f1,_5f2,{"beforeBegin":function(){if(_5f8){node.style.backgroundImage="none";}node.style.backgroundColor="rgb("+_5f6.toRgb().join(",")+")";},"onEnd":function(){if(_5f3){_5f3(node,anim);}}});_5f4.push(anim);});return djd43.lfx.combine(_5f4);};djd43.lang.mixin(djd43.lfx,djd43.lfx.html);djd43.kwCompoundRequire({browser:["djd43.lfx.html"],dashboard:["djd43.lfx.html"]});
djd43.provide("djd43.lfx.*");
djd43.provide("djd43.html.util");djd43.html.getElementWindow=function(_600){return djd43.html.getDocumentWindow(_600.ownerDocument);};djd43.html.getDocumentWindow=function(doc){if(djd43.render.html.safari&&!doc._parentWindow){var fix=function(win){win.document._parentWindow=win;for(var i=0;i<win.frames.length;i++){fix(win.frames[i]);}};fix(window.top);}if(djd43.render.html.ie&&window!==document.parentWindow&&!doc._parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc._parentWindow||doc.parentWindow||doc.defaultView;};djd43.html.gravity=function(node,e){node=djd43.byId(node);var _608=djd43.html.getCursorPosition(e);with(djd43.html){var _609=getAbsolutePosition(node,true);var bb=getBorderBox(node);var _60b=_609.x+(bb.width/2);var _60c=_609.y+(bb.height/2);}with(djd43.html.gravity){return ((_608.x<_60b?WEST:EAST)|(_608.y<_60c?NORTH:SOUTH));}};djd43.html.gravity.NORTH=1;djd43.html.gravity.SOUTH=1<<1;djd43.html.gravity.EAST=1<<2;djd43.html.gravity.WEST=1<<3;djd43.html.overElement=function(_60d,e){_60d=djd43.byId(_60d);var _60f=djd43.html.getCursorPosition(e);var bb=djd43.html.getBorderBox(_60d);var _611=djd43.html.getAbsolutePosition(_60d,true,djd43.html.boxSizing.BORDER_BOX);var top=_611.y;var _613=top+bb.height;var left=_611.x;var _615=left+bb.width;return (_60f.x>=left&&_60f.x<=_615&&_60f.y>=top&&_60f.y<=_613);};djd43.html.renderedTextContent=function(node){node=djd43.byId(node);var _617="";if(node==null){return _617;}for(var i=0;i<node.childNodes.length;i++){switch(node.childNodes[i].nodeType){case 1:case 5:var _619="unknown";try{_619=djd43.html.getStyle(node.childNodes[i],"display");}catch(E){}switch(_619){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":_617+="\n";_617+=djd43.html.renderedTextContent(node.childNodes[i]);_617+="\n";break;case "none":break;default:if(node.childNodes[i].tagName&&node.childNodes[i].tagName.toLowerCase()=="br"){_617+="\n";}else{_617+=djd43.html.renderedTextContent(node.childNodes[i]);}break;}break;case 3:case 2:case 4:var text=node.childNodes[i].nodeValue;var _61b="unknown";try{_61b=djd43.html.getStyle(node,"text-transform");}catch(E){}switch(_61b){case "capitalize":var _61c=text.split(" ");for(var i=0;i<_61c.length;i++){_61c[i]=_61c[i].charAt(0).toUpperCase()+_61c[i].substring(1);}text=_61c.join(" ");break;case "uppercase":text=text.toUpperCase();break;case "lowercase":text=text.toLowerCase();break;default:break;}switch(_61b){case "nowrap":break;case "pre-wrap":break;case "pre-line":break;case "pre":break;default:text=text.replace(/\s+/," ");if(/\s$/.test(_617)){text.replace(/^\s/,"");}break;}_617+=text;break;default:break;}}return _617;};djd43.html.createNodesFromText=function(txt,trim){if(trim){txt=txt.replace(/^\s+|\s+$/g,"");}var tn=djd43.doc().createElement("div");tn.style.visibility="hidden";djd43.body().appendChild(tn);var _621="none";if((/^<t[dh][\s\r\n>]/i).test(txt.replace(/^\s+/))){txt="<table><tbody><tr>"+txt+"</tr></tbody></table>";_621="cell";}else{if((/^<tr[\s\r\n>]/i).test(txt.replace(/^\s+/))){txt="<table><tbody>"+txt+"</tbody></table>";_621="row";}else{if((/^<(thead|tbody|tfoot)[\s\r\n>]/i).test(txt.replace(/^\s+/))){txt="<table>"+txt+"</table>";_621="section";}}}tn.innerHTML=txt;if(tn["normalize"]){tn.normalize();}var _622=null;switch(_621){case "cell":_622=tn.getElementsByTagName("tr")[0];break;case "row":_622=tn.getElementsByTagName("tbody")[0];break;case "section":_622=tn.getElementsByTagName("table")[0];break;default:_622=tn;break;}var _623=[];for(var x=0;x<_622.childNodes.length;x++){_623.push(_622.childNodes[x].cloneNode(true));}tn.style.display="none";djd43.html.destroyNode(tn);return _623;};djd43.html.placeOnScreen=function(node,_626,_627,_628,_629,_62a,_62b){if(_626 instanceof Array||typeof _626=="array"){_62b=_62a;_62a=_629;_629=_628;_628=_627;_627=_626[1];_626=_626[0];}if(_62a instanceof String||typeof _62a=="string"){_62a=_62a.split(",");}if(!isNaN(_628)){_628=[Number(_628),Number(_628)];}else{if(!(_628 instanceof Array||typeof _628=="array")){_628=[0,0];}}var _62c=djd43.html.getScroll().offset;var view=djd43.html.getViewport();node=djd43.byId(node);var _62e=node.style.display;node.style.display="";var bb=djd43.html.getBorderBox(node);var w=bb.width;var h=bb.height;node.style.display=_62e;if(!(_62a instanceof Array||typeof _62a=="array")){_62a=["TL"];}var _632,besty,bestDistance=Infinity,bestCorner;for(var _633=0;_633<_62a.length;++_633){var _634=_62a[_633];var _635=true;var tryX=_626-(_634.charAt(1)=="L"?0:w)+_628[0]*(_634.charAt(1)=="L"?1:-1);var tryY=_627-(_634.charAt(0)=="T"?0:h)+_628[1]*(_634.charAt(0)=="T"?1:-1);if(_629){tryX-=_62c.x;tryY-=_62c.y;}if(tryX<0){tryX=0;_635=false;}if(tryY<0){tryY=0;_635=false;}var x=tryX+w;if(x>view.width){x=view.width-w;_635=false;}else{x=tryX;}x=Math.max(_628[0],x)+_62c.x;var y=tryY+h;if(y>view.height){y=view.height-h;_635=false;}else{y=tryY;}y=Math.max(_628[1],y)+_62c.y;if(_635){_632=x;besty=y;bestDistance=0;bestCorner=_634;break;}else{var dist=Math.pow(x-tryX-_62c.x,2)+Math.pow(y-tryY-_62c.y,2);if(bestDistance>dist){bestDistance=dist;_632=x;besty=y;bestCorner=_634;}}}if(!_62b){node.style.left=_632+"px";node.style.top=besty+"px";}return {left:_632,top:besty,x:_632,y:besty,dist:bestDistance,corner:bestCorner};};djd43.html.placeOnScreenPoint=function(node,_63c,_63d,_63e,_63f){djd43.deprecated("djd43.html.placeOnScreenPoint","use djd43.html.placeOnScreen() instead","0.5");return djd43.html.placeOnScreen(node,_63c,_63d,_63e,_63f,["TL","TR","BL","BR"]);};djd43.html.placeOnScreenAroundElement=function(node,_641,_642,_643,_644,_645){var best,bestDistance=Infinity;_641=djd43.byId(_641);var _647=_641.style.display;_641.style.display="";var mb=djd43.html.getElementBox(_641,_643);var _649=mb.width;var _64a=mb.height;var _64b=djd43.html.getAbsolutePosition(_641,true,_643);_641.style.display=_647;for(var _64c in _644){var pos,desiredX,desiredY;var _64e=_644[_64c];desiredX=_64b.x+(_64c.charAt(1)=="L"?0:_649);desiredY=_64b.y+(_64c.charAt(0)=="T"?0:_64a);pos=djd43.html.placeOnScreen(node,desiredX,desiredY,_642,true,_64e,true);if(pos.dist==0){best=pos;break;}else{if(bestDistance>pos.dist){bestDistance=pos.dist;best=pos;}}}if(!_645){node.style.left=best.left+"px";node.style.top=best.top+"px";}return best;};djd43.html.scrollIntoView=function(node){if(!node){return;}if(djd43.render.html.ie){if(djd43.html.getBorderBox(node.parentNode).height<=node.parentNode.scrollHeight){node.scrollIntoView(false);}}else{if(djd43.render.html.mozilla){node.scrollIntoView(false);}else{var _650=node.parentNode;var _651=_650.scrollTop+djd43.html.getBorderBox(_650).height;var _652=node.offsetTop+djd43.html.getMarginBox(node).height;if(_651<_652){_650.scrollTop+=(_652-_651);}else{if(_650.scrollTop>node.offsetTop){_650.scrollTop-=(_650.scrollTop-node.offsetTop);}}}}};
djd43.provide("djd43.a11y");djd43.a11y={imgPath:djd43.uri.moduleUri("djd43.widget","templates/images"),doAccessibleCheck:true,accessible:null,checkAccessible:function(){if(this.accessible===null){this.accessible=false;if(this.doAccessibleCheck==true){this.accessible=this.testAccessible();}}return this.accessible;},testAccessible:function(){this.accessible=false;if(djd43.render.html.ie||djd43.render.html.mozilla){var div=document.createElement("div");
djd43.provide("djd43.a11y");div.style.backgroundImage="url(\""+this.imgPath+"/tab_close.gif\")";djd43.body().appendChild(div);var _654=null;if(window.getComputedStyle){var _655=getComputedStyle(div,"");_654=_655.getPropertyValue("background-image");}else{_654=div.currentStyle.backgroundImage;}var _656=false;if(_654!=null&&(_654=="none"||_654=="url(invalid-url:)")){this.accessible=true;}djd43.body().removeChild(div);}return this.accessible;},setCheckAccessible:function(_657){this.doAccessibleCheck=_657;},setAccessibleMode:function(){if(this.accessible===null){if(this.checkAccessible()){djd43.render.html.prefixes.unshift("a11y");}}return this.accessible;}};djd43.a11y={imgPath:djd43.uri.moduleUri("djd43.widget","templates/images"),doAccessibleCheck:true,accessible:null,checkAccessible:function(){if(this.accessible===null){this.accessible=false;if(this.doAccessibleCheck==true){this.accessible=this.testAccessible();}}return this.accessible;},testAccessible:function(){this.accessible=false;if(djd43.render.html.ie||djd43.render.html.mozilla){var div=document.createElement("div");div.style.backgroundImage="url(\""+this.imgPath+"/tab_close.gif\")";djd43.body().appendChild(div);var _659=null;if(window.getComputedStyle){var _65a=getComputedStyle(div,"");if (_65a)_659=_65a.getPropertyValue("background-image");}else{_659=div.currentStyle.backgroundImage;}var _65b=false;if(_659!=null&&(_659=="none"||_659=="url(invalid-url:)")){this.accessible=true;}djd43.body().removeChild(div);}return this.accessible;},setCheckAccessible:function(_65c){this.doAccessibleCheck=_65c;},setAccessibleMode:function(){if(this.accessible===null){if(this.checkAccessible()){djd43.render.html.prefixes.unshift("a11y");}}return this.accessible;}};
djd43.provide("djd43.a11y");
djd43.provide("djd43.ns");djd43.ns={namespaces:{},failed:{},loading:{},loaded:{},register:function(name,_65e,_65f,_660){if(!_660||!this.namespaces[name]){this.namespaces[name]=new djd43.ns.Ns(name,_65e,_65f);}},allow:function(name){if(this.failed[name]){return false;}if((djd43_config.excludeNamespace)&&(djd43.lang.inArray(djd43_config.excludeNamespace,name))){return false;}return ((name==this.dojo)||(!djd43_config.includeNamespace)||(djd43.lang.inArray(djd43_config.includeNamespace,name)));},get:function(name){return this.namespaces[name];},require:function(name){var ns=this.namespaces[name];if((ns)&&(this.loaded[name])){return ns;}if(!this.allow(name)){return false;}if(this.loading[name]){djd43.debug("djd43.namespace.require: re-entrant request to load namespace \""+name+"\" must fail.");return false;}var req=djd43.require;this.loading[name]=true;try{if(name=="djd43"){req("djd43.namespaces.dojo");}else{if(!djd43.hostenv.moduleHasPrefix(name)){djd43.registerModulePath(name,"../"+name);}req([name,"manifest"].join("."),false,true);}if(!this.namespaces[name]){this.failed[name]=true;}}finally{this.loading[name]=false;}return this.namespaces[name];}};djd43.ns.Ns=function(name,_667,_668){this.name=name;this.module=_667;this.resolver=_668;this._loaded=[];this._failed=[];};djd43.ns.Ns.prototype.resolve=function(name,_66a,_66b){if(!this.resolver||djd43_config["skipAutoRequire"]){return false;}var _66c=this.resolver(name,_66a);if((_66c)&&(!this._loaded[_66c])&&(!this._failed[_66c])){var req=djd43.require;req(_66c,false,true);if(djd43.hostenv.findModule(_66c,false)){this._loaded[_66c]=true;}else{if(!_66b){djd43.raise("djd43.ns.Ns.resolve: module '"+_66c+"' not found after loading via namespace '"+this.name+"'");}this._failed[_66c]=true;}}return Boolean(this._loaded[_66c]);};djd43.registerNamespace=function(name,_66f,_670){djd43.ns.register.apply(djd43.ns,arguments);};djd43.registerNamespaceResolver=function(name,_672){var n=djd43.ns.namespaces[name];if(n){n.resolver=_672;}};djd43.registerNamespaceManifest=function(_674,path,name,_677,_678){djd43.registerModulePath(name,path);djd43.registerNamespace(name,_677,_678);};djd43.registerNamespace("djd43","djd43.widget");
djd43.provide("djd43.widget.Manager");djd43.widget.manager=new function(){this.widgets=[];this.widgetIds=[];this.topWidgets={};var _679={};var _67a=[];this.getUniqueId=function(_67b){var _67c;do{_67c=_67b+"_"+(_679[_67b]!=undefined?++_679[_67b]:_679[_67b]=0);}while(this.getWidgetById(_67c));return _67c;};this.add=function(_67d){this.widgets.push(_67d);if(!_67d.extraArgs["id"]){_67d.extraArgs["id"]=_67d.extraArgs["ID"];}if(_67d.widgetId==""){if(_67d["id"]){_67d.widgetId=_67d["id"];}else{if(_67d.extraArgs["id"]){_67d.widgetId=_67d.extraArgs["id"];}else{_67d.widgetId=this.getUniqueId(_67d.ns+"_"+_67d.widgetType);}}}if(this.widgetIds[_67d.widgetId]){djd43.debug("widget ID collision on ID: "+_67d.widgetId);}this.widgetIds[_67d.widgetId]=_67d;};this.destroyAll=function(){for(var x=this.widgets.length-1;x>=0;x--){try{this.widgets[x].destroy(true);delete this.widgets[x];}catch(e){}}};this.remove=function(_67f){if(djd43.lang.isNumber(_67f)){var tw=this.widgets[_67f].widgetId;delete this.topWidgets[tw];delete this.widgetIds[tw];this.widgets.splice(_67f,1);}else{this.removeById(_67f);}};this.removeById=function(id){if(!djd43.lang.isString(id)){id=id["widgetId"];if(!id){djd43.debug("invalid widget or id passed to removeById");return;}}for(var i=0;i<this.widgets.length;i++){if(this.widgets[i].widgetId==id){this.remove(i);break;}}};this.getWidgetById=function(id){if(djd43.lang.isString(id)){return this.widgetIds[id];}return id;};this.getWidgetsByType=function(type){var lt=type.toLowerCase();var _686=(type.indexOf(":")<0?function(x){return x.widgetType.toLowerCase();}:function(x){return x.getNamespacedType();});var ret=[];djd43.lang.forEach(this.widgets,function(x){if(_686(x)==lt){ret.push(x);}});return ret;};this.getWidgetsByFilter=function(_68b,_68c){var ret=[];djd43.lang.every(this.widgets,function(x){if(_68b(x)){ret.push(x);if(_68c){return false;}}return true;});return (_68c?ret[0]:ret);};this.getAllWidgets=function(){return this.widgets.concat();};this.getWidgetByNode=function(node){var w=this.getAllWidgets();node=djd43.byId(node);for(var i=0;i<w.length;i++){if(w[i].domNode==node){return w[i];}}return null;};this.byId=this.getWidgetById;this.byType=this.getWidgetsByType;this.byFilter=this.getWidgetsByFilter;this.byNode=this.getWidgetByNode;var _692={};var _693=["djd43.widget"];for(var i=0;i<_693.length;i++){_693[_693[i]]=true;}this.registerWidgetPackage=function(_695){if(!_693[_695]){_693[_695]=true;_693.push(_695);}};this.getWidgetPackageList=function(){return djd43.lang.map(_693,function(elt){return (elt!==true?elt:undefined);});};this.getImplementation=function(_697,_698,_699,ns){var impl=this.getImplementationName(_697,ns);if(impl){var ret=_698?new impl(_698):new impl();return ret;}};function buildPrefixCache(){for(var _69d in djd43.render){if(djd43.render[_69d]["capable"]===true){var _69e=djd43.render[_69d].prefixes;for(var i=0;i<_69e.length;i++){_67a.push(_69e[i].toLowerCase());}}}}var _6a0=function(_6a1,_6a2){if(!_6a2){return null;}for(var i=0,l=_67a.length,widgetModule;i<=l;i++){widgetModule=(i<l?_6a2[_67a[i]]:_6a2);if(!widgetModule){continue;}for(var name in widgetModule){if(name.toLowerCase()==_6a1){return widgetModule[name];}}}return null;};var _6a5=function(_6a6,_6a7){var _6a8=djd43.evalObjPath(_6a7,false);return (_6a8?_6a0(_6a6,_6a8):null);};this.getImplementationName=function(_6a9,ns){var _6ab=_6a9.toLowerCase();ns=ns||"djd43";var imps=_692[ns]||(_692[ns]={});var impl=imps[_6ab];if(impl){return impl;}if(!_67a.length){buildPrefixCache();}var _6ae=djd43.ns.get(ns);if(!_6ae){djd43.ns.register(ns,ns+".widget");_6ae=djd43.ns.get(ns);}if(_6ae){_6ae.resolve(_6a9);}impl=_6a5(_6ab,_6ae.module);if(impl){return (imps[_6ab]=impl);}_6ae=djd43.ns.require(ns);if((_6ae)&&(_6ae.resolver)){_6ae.resolve(_6a9);impl=_6a5(_6ab,_6ae.module);if(impl){return (imps[_6ab]=impl);}}djd43.deprecated("djd43.widget.Manager.getImplementationName","Could not locate widget implementation for \""+_6a9+"\" in \""+_6ae.module+"\" registered to namespace \""+_6ae.name+"\". "+"Developers must specify correct namespaces for all non-Dojo widgets","0.5");for(var i=0;i<_693.length;i++){impl=_6a5(_6ab,_693[i]);if(impl){return (imps[_6ab]=impl);}}throw new Error("Could not locate widget implementation for \""+_6a9+"\" in \""+_6ae.module+"\" registered to namespace \""+_6ae.name+"\"");};this.resizing=false;this.onWindowResized=function(){if(this.resizing){return;}try{this.resizing=true;for(var id in this.topWidgets){var _6b1=this.topWidgets[id];if(_6b1.checkSize){_6b1.checkSize();}}}catch(e){}finally{this.resizing=false;}};if(typeof window!="undefined"){djd43.addOnLoad(this,"onWindowResized");djd43.event.connect(window,"onresize",this,"onWindowResized");}};(function(){var dw=djd43.widget;var dwm=dw.manager;var h=djd43.lang.curry(djd43.lang,"hitch",dwm);var g=function(_6b6,_6b7){dw[(_6b7||_6b6)]=h(_6b6);};g("add","addWidget");g("destroyAll","destroyAllWidgets");g("remove","removeWidget");g("removeById","removeWidgetById");g("getWidgetById");g("getWidgetById","byId");g("getWidgetsByType");g("getWidgetsByFilter");g("getWidgetsByType","byType");g("getWidgetsByFilter","byFilter");g("getWidgetByNode","byNode");dw.all=function(n){var _6b9=dwm.getAllWidgets.apply(dwm,arguments);if(arguments.length>0){return _6b9[n];}return _6b9;};g("registerWidgetPackage");g("getImplementation","getWidgetImplementation");g("getImplementationName","getWidgetImplementationName");dw.widgets=dwm.widgets;dw.widgetIds=dwm.widgetIds;dw.root=dwm.root;})();
djd43.provide("djd43.xml.Parse");djd43.xml.Parse=function(){var isIE=((djd43.render.html.capable)&&(djd43.render.html.ie));function getTagName(node){try{return node.tagName.toLowerCase();}catch(e){return "";}}function getDojoTagName(node){var _6bd=getTagName(node);if(!_6bd){return "";}if((djd43.widget)&&(djd43.widget.tags[_6bd])){return _6bd;}var p=_6bd.indexOf(":");if(p>=0){return _6bd;}if(_6bd.substr(0,5)=="dojo:"){return _6bd;}if(djd43.render.html.capable&&djd43.render.html.ie&&node.scopeName!="HTML"){return node.scopeName.toLowerCase()+":"+_6bd;}if(_6bd.substr(0,4)=="djd43"){return "dojo:"+_6bd.substring(4);}var djt=node.getAttribute("dojoType")||node.getAttribute("dojotype");if(djt){if(djt.indexOf(":")<0){djt="dojo:"+djt;}return djt.toLowerCase();}djt=node.getAttributeNS&&node.getAttributeNS(djd43.dom.dojoml,"type");if(djt){return "dojo:"+djt.toLowerCase();}try{djt=node.getAttribute("dojo:type");}catch(e){}if(djt){return "dojo:"+djt.toLowerCase();}if((dj_global["djd43_config"])&&(!djd43_config["ignoreClassNames"])){var _6c0=node.className||node.getAttribute("class");if((_6c0)&&(_6c0.indexOf)&&(_6c0.indexOf("dojo-")!=-1)){var _6c1=_6c0.split(" ");for(var x=0,c=_6c1.length;x<c;x++){if(_6c1[x].slice(0,5)=="dojo-"){return "dojo:"+_6c1[x].substr(5).toLowerCase();}}}}return "";}this.parseElement=function(node,_6c4,_6c5,_6c6){var _6c7=getTagName(node);if(isIE&&_6c7.indexOf("/")==0){return null;}try{var attr=node.getAttribute("parseWidgets");if(attr&&attr.toLowerCase()=="false"){return {};}}catch(e){}var _6c9=true;if(_6c5){var _6ca=getDojoTagName(node);_6c7=_6ca||_6c7;_6c9=Boolean(_6ca);}var _6cb={};_6cb[_6c7]=[];var pos=_6c7.indexOf(":");if(pos>0){var ns=_6c7.substring(0,pos);_6cb["ns"]=ns;if((djd43.ns)&&(!djd43.ns.allow(ns))){_6c9=false;}}if(_6c9){var _6ce=this.parseAttributes(node);for(var attr in _6ce){if((!_6cb[_6c7][attr])||(typeof _6cb[_6c7][attr]!="array")){_6cb[_6c7][attr]=[];}_6cb[_6c7][attr].push(_6ce[attr]);}_6cb[_6c7].nodeRef=node;_6cb.tagName=_6c7;_6cb.index=_6c6||0;}var _6d0=0;for(var i=0;i<node.childNodes.length;i++){var tcn=node.childNodes.item(i);switch(tcn.nodeType){case djd43.dom.ELEMENT_NODE:var ctn=getDojoTagName(tcn)||getTagName(tcn);if(!_6cb[ctn]){_6cb[ctn]=[];}_6cb[ctn].push(this.parseElement(tcn,true,_6c5,_6d0));if((tcn.childNodes.length==1)&&(tcn.childNodes.item(0).nodeType==djd43.dom.TEXT_NODE)){_6cb[ctn][_6cb[ctn].length-1].value=tcn.childNodes.item(0).nodeValue;}_6d0++;break;case djd43.dom.TEXT_NODE:if(node.childNodes.length==1){_6cb[_6c7].push({value:node.childNodes.item(0).nodeValue});}break;default:break;}}return _6cb;};this.parseAttributes=function(node){var _6d5={};var atts=node.attributes;var _6d7,i=0;while((_6d7=atts[i++])){if(isIE){if(!_6d7){continue;}if((typeof _6d7=="object")&&(typeof _6d7.nodeValue=="undefined")||(_6d7.nodeValue==null)||(_6d7.nodeValue=="")){continue;}}var nn=_6d7.nodeName.split(":");nn=(nn.length==2)?nn[1]:_6d7.nodeName;_6d5[nn]={value:_6d7.nodeValue};}return _6d5;};};
djd43.provide("djd43.lang.declare");djd43.lang.declare=function(_6d9,_6da,init,_6dc){if((djd43.lang.isFunction(_6dc))||((!_6dc)&&(!djd43.lang.isFunction(init)))){var temp=_6dc;_6dc=init;init=temp;}var _6de=[];if(djd43.lang.isArray(_6da)){_6de=_6da;_6da=_6de.shift();}if(!init){init=djd43.evalObjPath(_6d9,false);if((init)&&(!djd43.lang.isFunction(init))){init=null;}}var ctor=djd43.lang.declare._makeConstructor();var scp=(_6da?_6da.prototype:null);if(scp){scp.prototyping=true;ctor.prototype=new _6da();scp.prototyping=false;}ctor.superclass=scp;ctor.mixins=_6de;for(var i=0,l=_6de.length;i<l;i++){djd43.lang.extend(ctor,_6de[i].prototype);}ctor.prototype.initializer=null;ctor.prototype.declaredClass=_6d9;if(djd43.lang.isArray(_6dc)){djd43.lang.extend.apply(djd43.lang,[ctor].concat(_6dc));}else{djd43.lang.extend(ctor,(_6dc)||{});}djd43.lang.extend(ctor,djd43.lang.declare._common);ctor.prototype.constructor=ctor;ctor.prototype.initializer=(ctor.prototype.initializer)||(init)||(function(){});var _6e2=djd43.parseObjPath(_6d9,null,true);_6e2.obj[_6e2.prop]=ctor;return ctor;};djd43.lang.declare._makeConstructor=function(){return function(){var self=this._getPropContext();var s=self.constructor.superclass;if((s)&&(s.constructor)){if(s.constructor==arguments.callee){this._inherited("constructor",arguments);}else{this._contextMethod(s,"constructor",arguments);}}var ms=(self.constructor.mixins)||([]);for(var i=0,m;(m=ms[i]);i++){(((m.prototype)&&(m.prototype.initializer))||(m)).apply(this,arguments);}if((!this.prototyping)&&(self.initializer)){self.initializer.apply(this,arguments);}};};djd43.lang.declare._common={_getPropContext:function(){return (this.___proto||this);},_contextMethod:function(_6e7,_6e8,args){var _6ea,stack=this.___proto;this.___proto=_6e7;try{_6ea=_6e7[_6e8].apply(this,(args||[]));}catch(e){throw e;}finally{this.___proto=stack;}return _6ea;},_inherited:function(prop,args){var p=this._getPropContext();do{if((!p.constructor)||(!p.constructor.superclass)){return;}p=p.constructor.superclass;}while(!(prop in p));return (djd43.lang.isFunction(p[prop])?this._contextMethod(p,prop,args):p[prop]);},inherited:function(prop,args){djd43.deprecated("'inherited' method is dangerous, do not up-call! 'inherited' is slated for removal in 0.5; name your super class (or use superclass property) instead.","0.5");this._inherited(prop,args);}};djd43.declare=djd43.lang.declare;
djd43.provide("djd43.widget.Widget");djd43.declare("djd43.widget.Widget",null,function(){this.children=[];this.extraArgs={};},{parent:null,isTopLevel:false,disabled:false,isContainer:false,widgetId:"",widgetType:"Widget",ns:"djd43",getNamespacedType:function(){return (this.ns?this.ns+":"+this.widgetType:this.widgetType).toLowerCase();},toString:function(){return "[Widget "+this.getNamespacedType()+", "+(this.widgetId||"NO ID")+"]";},repr:function(){return this.toString();},enable:function(){this.disabled=false;},disable:function(){this.disabled=true;},onResized:function(){this.notifyChildrenOfResize();},notifyChildrenOfResize:function(){for(var i=0;i<this.children.length;i++){var _6f1=this.children[i];if(_6f1.onResized){_6f1.onResized();}}},create:function(args,_6f3,_6f4,ns){if(ns){this.ns=ns;}this.satisfyPropertySets(args,_6f3,_6f4);this.mixInProperties(args,_6f3,_6f4);this.postMixInProperties(args,_6f3,_6f4);djd43.widget.manager.add(this);this.buildRendering(args,_6f3,_6f4);this.initialize(args,_6f3,_6f4);this.postInitialize(args,_6f3,_6f4);this.postCreate(args,_6f3,_6f4);return this;},destroy:function(_6f6){if(this.parent){this.parent.removeChild(this);}this.destroyChildren();this.uninitialize();this.destroyRendering(_6f6);djd43.widget.manager.removeById(this.widgetId);},destroyChildren:function(){var _6f7;var i=0;while(this.children.length>i){_6f7=this.children[i];if(_6f7 instanceof djd43.widget.Widget){this.removeChild(_6f7);_6f7.destroy();continue;}i++;}},getChildrenOfType:function(type,_6fa){var ret=[];var _6fc=djd43.lang.isFunction(type);if(!_6fc){type=type.toLowerCase();}for(var x=0;x<this.children.length;x++){if(_6fc){if(this.children[x] instanceof type){ret.push(this.children[x]);}}else{if(this.children[x].widgetType.toLowerCase()==type){ret.push(this.children[x]);}}if(_6fa){ret=ret.concat(this.children[x].getChildrenOfType(type,_6fa));}}return ret;},getDescendants:function(){var _6fe=[];var _6ff=[this];var elem;while((elem=_6ff.pop())){_6fe.push(elem);if(elem.children){djd43.lang.forEach(elem.children,function(elem){_6ff.push(elem);});}}return _6fe;},isFirstChild:function(){return this===this.parent.children[0];},isLastChild:function(){return this===this.parent.children[this.parent.children.length-1];},satisfyPropertySets:function(args){return args;},mixInProperties:function(args,frag){if((args["fastMixIn"])||(frag["fastMixIn"])){for(var x in args){this[x]=args[x];}return;}var _706;var _707=djd43.widget.lcArgsCache[this.widgetType];if(_707==null){_707={};for(var y in this){_707[((new String(y)).toLowerCase())]=y;}djd43.widget.lcArgsCache[this.widgetType]=_707;}var _709={};for(var x in args){if(!this[x]){var y=_707[(new String(x)).toLowerCase()];if(y){args[y]=args[x];x=y;}}if(_709[x]){continue;}_709[x]=true;if((typeof this[x])!=(typeof _706)){if(typeof args[x]!="string"){this[x]=args[x];}else{if(djd43.lang.isString(this[x])){this[x]=args[x];}else{if(djd43.lang.isNumber(this[x])){this[x]=new Number(args[x]);}else{if(djd43.lang.isBoolean(this[x])){this[x]=(args[x].toLowerCase()=="false")?false:true;}else{if(djd43.lang.isFunction(this[x])){if(args[x].search(/[^\w\.]+/i)==-1){this[x]=djd43.evalObjPath(args[x],false);}else{var tn=djd43.lang.nameAnonFunc(new Function(args[x]),this);djd43.event.kwConnect({srcObj:this,srcFunc:x,adviceObj:this,adviceFunc:tn});}}else{if(djd43.lang.isArray(this[x])){this[x]=args[x].split(";");}else{if(this[x] instanceof Date){this[x]=new Date(Number(args[x]));}else{if(typeof this[x]=="object"){if(this[x] instanceof djd43.uri.Uri){this[x]=djd43.uri.dojoUri(args[x]);}else{var _70d=args[x].split(";");for(var y=0;y<_70d.length;y++){var si=_70d[y].indexOf(":");if((si!=-1)&&(_70d[y].length>si)){this[x][_70d[y].substr(0,si).replace(/^\s+|\s+$/g,"")]=_70d[y].substr(si+1);}}}}else{this[x]=args[x];}}}}}}}}}else{this.extraArgs[x.toLowerCase()]=args[x];}}},postMixInProperties:function(args,frag,_712){},initialize:function(args,frag,_715){return false;},postInitialize:function(args,frag,_718){return false;},postCreate:function(args,frag,_71b){return false;},uninitialize:function(){return false;},buildRendering:function(args,frag,_71e){djd43.unimplemented("djd43.widget.Widget.buildRendering, on "+this.toString()+", ");return false;},destroyRendering:function(){djd43.unimplemented("djd43.widget.Widget.destroyRendering");return false;},addedTo:function(_71f){},addChild:function(_720){djd43.unimplemented("djd43.widget.Widget.addChild");return false;},removeChild:function(_721){for(var x=0;x<this.children.length;x++){if(this.children[x]===_721){this.children.splice(x,1);_721.parent=null;break;}}return _721;},getPreviousSibling:function(){var idx=this.getParentIndex();if(idx<=0){return null;}return this.parent.children[idx-1];},getSiblings:function(){return this.parent.children;},getParentIndex:function(){return djd43.lang.indexOf(this.parent.children,this,true);},getNextSibling:function(){var idx=this.getParentIndex();if(idx==this.parent.children.length-1){return null;}if(idx<0){return null;}return this.parent.children[idx+1];}});djd43.widget.lcArgsCache={};djd43.widget.tags={};djd43.widget.tags.addParseTreeHandler=function(type){djd43.deprecated("addParseTreeHandler",". ParseTreeHandlers are now reserved for components. Any unfiltered DojoML tag without a ParseTreeHandler is assumed to be a widget","0.5");};djd43.widget.tags["dojo:propertyset"]=function(_726,_727,_728){var _729=_727.parseProperties(_726["dojo:propertyset"]);};djd43.widget.tags["dojo:connect"]=function(_72a,_72b,_72c){var _72d=_72b.parseProperties(_72a["dojo:connect"]);};djd43.widget.buildWidgetFromParseTree=function(type,frag,_730,_731,_732,_733){djd43.a11y.setAccessibleMode();var _734=type.split(":");_734=(_734.length==2)?_734[1]:type;var _735=_733||_730.parseProperties(frag[frag["ns"]+":"+_734]);var _736=djd43.widget.manager.getImplementation(_734,null,null,frag["ns"]);if(!_736){throw new Error("cannot find \""+type+"\" widget");}else{if(!_736.create){throw new Error("\""+type+"\" widget object has no \"create\" method and does not appear to implement *Widget");}}_735["dojoinsertionindex"]=_732;var ret=_736.create(_735,frag,_731,frag["ns"]);return ret;};djd43.widget.defineWidget=function(_738,_739,_73a,init,_73c){if(djd43.lang.isString(arguments[3])){djd43.widget._defineWidget(arguments[0],arguments[3],arguments[1],arguments[4],arguments[2]);}else{var args=[arguments[0]],p=3;if(djd43.lang.isString(arguments[1])){args.push(arguments[1],arguments[2]);}else{args.push("",arguments[1]);p=2;}if(djd43.lang.isFunction(arguments[p])){args.push(arguments[p],arguments[p+1]);}else{args.push(null,arguments[p]);}djd43.widget._defineWidget.apply(this,args);}};djd43.widget.defineWidget.renderers="html|svg|vml";djd43.widget._defineWidget=function(_73e,_73f,_740,init,_742){var _743=_73e.split(".");var type=_743.pop();var regx="\\.("+(_73f?_73f+"|":"")+djd43.widget.defineWidget.renderers+")\\.";var r=_73e.search(new RegExp(regx));_743=(r<0?_743.join("."):_73e.substr(0,r));djd43.widget.manager.registerWidgetPackage(_743);var pos=_743.indexOf(".");var _748=(pos>-1)?_743.substring(0,pos):_743;_742=(_742)||{};_742.widgetType=type;if((!init)&&(_742["classConstructor"])){init=_742.classConstructor;delete _742.classConstructor;}djd43.declare(_73e,_740,init,_742);};
djd43.provide("djd43.widget.DomWidget");djd43.widget._cssFiles={};djd43.widget._cssStrings={};djd43.widget._templateCache={};djd43.widget.defaultStrings={dojoRoot:djd43.hostenv.getBaseScriptUri(),dojoWidgetModuleUri:djd43.uri.moduleUri("djd43.widget"),baseScriptUri:djd43.hostenv.getBaseScriptUri()};djd43.widget.fillFromTemplateCache=function(obj,_74a,_74b,_74c){var _74d=_74a||obj.templatePath;var _74e=djd43.widget._templateCache;if(!_74d&&!obj["widgetType"]){do{var _74f="__dummyTemplate__"+djd43.widget._templateCache.dummyCount++;}while(_74e[_74f]);obj.widgetType=_74f;}var wt=_74d?_74d.toString():obj.widgetType;var ts=_74e[wt];if(!ts){_74e[wt]={"string":null,"node":null};if(_74c){ts={};}else{ts=_74e[wt];}}if((!obj.templateString)&&(!_74c)){obj.templateString=_74b||ts["string"];}if(obj.templateString){obj.templateString=this._sanitizeTemplateString(obj.templateString);}if((!obj.templateNode)&&(!_74c)){obj.templateNode=ts["node"];}if((!obj.templateNode)&&(!obj.templateString)&&(_74d)){var _752=this._sanitizeTemplateString(djd43.hostenv.getText(_74d));obj.templateString=_752;if(!_74c){_74e[wt]["string"]=_752;}}if((!ts["string"])&&(!_74c)){ts.string=obj.templateString;}};djd43.widget._sanitizeTemplateString=function(_753){if(_753){_753=_753.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _754=_753.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_754){_753=_754[1];}}else{_753="";}return _753;};djd43.widget._templateCache.dummyCount=0;djd43.widget.attachProperties=["dojoAttachPoint","id"];djd43.widget.eventAttachProperty="dojoAttachEvent";djd43.widget.onBuildProperty="dojoOnBuild";djd43.widget.waiNames=["waiRole","waiState"];djd43.widget.wai={waiRole:{name:"waiRole","namespace":"http://www.w3.org/TR/xhtml2",alias:"x2",prefix:"wairole:"},waiState:{name:"waiState","namespace":"http://www.w3.org/2005/07/aaa",alias:"aaa",prefix:""},setAttr:function(node,ns,attr,_758){if(djd43.render.html.ie){node.setAttribute(this[ns].alias+":"+attr,this[ns].prefix+_758);}else{node.setAttributeNS(this[ns]["namespace"],attr,this[ns].prefix+_758);}},getAttr:function(node,ns,attr){if(djd43.render.html.ie){return node.getAttribute(this[ns].alias+":"+attr);}else{return node.getAttributeNS(this[ns]["namespace"],attr);}},removeAttr:function(node,ns,attr){var _75f=true;if(djd43.render.html.ie){_75f=node.removeAttribute(this[ns].alias+":"+attr);}else{node.removeAttributeNS(this[ns]["namespace"],attr);}return _75f;}};djd43.widget.attachTemplateNodes=function(_760,_761,_762){var _763=djd43.dom.ELEMENT_NODE;function trim(str){return str.replace(/^\s+|\s+$/g,"");}if(!_760){_760=_761.domNode;}if(_760.nodeType!=_763){return;}var _765=_760.all||_760.getElementsByTagName("*");var _766=_761;for(var x=-1;x<_765.length;x++){var _768=(x==-1)?_760:_765[x];var _769=[];if(!_761.widgetsInTemplate||!_768.getAttribute("dojoType")){for(var y=0;y<this.attachProperties.length;y++){var _76b=_768.getAttribute(this.attachProperties[y]);if(_76b){_769=_76b.split(";");for(var z=0;z<_769.length;z++){if(djd43.lang.isArray(_761[_769[z]])){_761[_769[z]].push(_768);}else{_761[_769[z]]=_768;}}break;}}var _76d=_768.getAttribute(this.eventAttachProperty);if(_76d){var evts=_76d.split(";");for(var y=0;y<evts.length;y++){if((!evts[y])||(!evts[y].length)){continue;}var _770=null;var tevt=trim(evts[y]);if(evts[y].indexOf(":")>=0){var _772=tevt.split(":");tevt=trim(_772[0]);_770=trim(_772[1]);}if(!_770){_770=tevt;}var tf=function(){var ntf=new String(_770);return function(evt){if(_766[ntf]){_766[ntf](djd43.event.browser.fixEvent(evt,this));}};}();djd43.event.browser.addListener(_768,tevt,tf,false,true);}}for(var y=0;y<_762.length;y++){var _777=_768.getAttribute(_762[y]);if((_777)&&(_777.length)){var _778=null;var _779=_762[y].substr(4);_778=trim(_777);var _77a=[_778];if(_778.indexOf(";")>=0){_77a=djd43.lang.map(_778.split(";"),trim);}for(var z=0;z<_77a.length;z++){if(!_77a[z].length){continue;}var tf=function(){var ntf=new String(_77a[z]);return function(evt){if(_766[ntf]){_766[ntf](djd43.event.browser.fixEvent(evt,this));}};}();djd43.event.browser.addListener(_768,_779,tf,false,true);}}}}var _77f=_768.getAttribute(this.templateProperty);if(_77f){_761[_77f]=_768;}djd43.lang.forEach(djd43.widget.waiNames,function(name){var wai=djd43.widget.wai[name];var val=_768.getAttribute(wai.name);if(val){if(val.indexOf("-")==-1){djd43.widget.wai.setAttr(_768,wai.name,"role",val);}else{var _783=val.split("-");djd43.widget.wai.setAttr(_768,wai.name,_783[0],_783[1]);}}},this);var _784=_768.getAttribute(this.onBuildProperty);if(_784){eval("var node = baseNode; var widget = targetObj; "+_784);}}};djd43.widget.getDojoEventsFromStr=function(str){var re=/(dojoOn([a-z]+)(\s?))=/gi;var evts=str?str.match(re)||[]:[];var ret=[];var lem={};for(var x=0;x<evts.length;x++){if(evts[x].length<1){continue;}var cm=evts[x].replace(/\s/,"");cm=(cm.slice(0,cm.length-1));if(!lem[cm]){lem[cm]=true;ret.push(cm);}}return ret;};djd43.declare("djd43.widget.DomWidget",djd43.widget.Widget,function(){if((arguments.length>0)&&(typeof arguments[0]=="object")){this.create(arguments[0]);}},{templateNode:null,templateString:null,templateCssString:null,preventClobber:false,domNode:null,containerNode:null,widgetsInTemplate:false,addChild:function(_78c,_78d,pos,ref,_790){if(!this.isContainer){djd43.debug("djd43.widget.DomWidget.addChild() attempted on non-container widget");return null;}else{if(_790==undefined){_790=this.children.length;}this.addWidgetAsDirectChild(_78c,_78d,pos,ref,_790);this.registerChild(_78c,_790);}return _78c;},addWidgetAsDirectChild:function(_791,_792,pos,ref,_795){if((!this.containerNode)&&(!_792)){this.containerNode=this.domNode;}var cn=(_792)?_792:this.containerNode;if(!pos){pos="after";}if(!ref){if(!cn){cn=djd43.body();}ref=cn.lastChild;}if(!_795){_795=0;}_791.domNode.setAttribute("dojoinsertionindex",_795);if(!ref){cn.appendChild(_791.domNode);}else{if(pos=="insertAtIndex"){djd43.dom.insertAtIndex(_791.domNode,ref.parentNode,_795);}else{if((pos=="after")&&(ref===cn.lastChild)){cn.appendChild(_791.domNode);}else{djd43.dom.insertAtPosition(_791.domNode,cn,pos);}}}},registerChild:function(_797,_798){_797.dojoInsertionIndex=_798;var idx=-1;for(var i=0;i<this.children.length;i++){if(this.children[i].dojoInsertionIndex<=_798){idx=i;}}this.children.splice(idx+1,0,_797);_797.parent=this;_797.addedTo(this,idx+1);delete djd43.widget.manager.topWidgets[_797.widgetId];},removeChild:function(_79b){djd43.dom.removeNode(_79b.domNode);return djd43.widget.DomWidget.superclass.removeChild.call(this,_79b);},getFragNodeRef:function(frag){if(!frag){return null;}if(!frag[this.getNamespacedType()]){djd43.raise("Error: no frag for widget type "+this.getNamespacedType()+", id "+this.widgetId+" (maybe a widget has set it's type incorrectly)");}return frag[this.getNamespacedType()]["nodeRef"];},postInitialize:function(args,frag,_79f){var _7a0=this.getFragNodeRef(frag);if(_79f&&(_79f.snarfChildDomOutput||!_7a0)){_79f.addWidgetAsDirectChild(this,"","insertAtIndex","",args["dojoinsertionindex"],_7a0);}else{if(_7a0){if(this.domNode&&(this.domNode!==_7a0)){this._sourceNodeRef=djd43.dom.replaceNode(_7a0,this.domNode);}}}if(_79f){_79f.registerChild(this,args.dojoinsertionindex);}else{djd43.widget.manager.topWidgets[this.widgetId]=this;}if(this.widgetsInTemplate){var _7a1=new djd43.xml.Parse();var _7a2;var _7a3=this.domNode.getElementsByTagName("*");for(var i=0;i<_7a3.length;i++){if(_7a3[i].getAttribute("dojoAttachPoint")=="subContainerWidget"){_7a2=_7a3[i];}if(_7a3[i].getAttribute("dojoType")){_7a3[i].setAttribute("isSubWidget",true);}}if(this.isContainer&&!this.containerNode){if(_7a2){var src=this.getFragNodeRef(frag);if(src){djd43.dom.moveChildren(src,_7a2);frag["dojoDontFollow"]=true;}}else{djd43.debug("No subContainerWidget node can be found in template file for widget "+this);}}var _7a6=_7a1.parseElement(this.domNode,null,true);djd43.widget.getParser().createSubComponents(_7a6,this);var _7a7=[];var _7a8=[this];var w;while((w=_7a8.pop())){for(var i=0;i<w.children.length;i++){var _7ab=w.children[i];if(_7ab._processedSubWidgets||!_7ab.extraArgs["issubwidget"]){continue;}_7a7.push(_7ab);if(_7ab.isContainer){_7a8.push(_7ab);}}}for(var i=0;i<_7a7.length;i++){var _7ad=_7a7[i];if(_7ad._processedSubWidgets){djd43.debug("This should not happen: widget._processedSubWidgets is already true!");return;}_7ad._processedSubWidgets=true;if(_7ad.extraArgs["dojoattachevent"]){var evts=_7ad.extraArgs["dojoattachevent"].split(";");for(var j=0;j<evts.length;j++){var _7b0=null;var tevt=djd43.string.trim(evts[j]);if(tevt.indexOf(":")>=0){var _7b2=tevt.split(":");tevt=djd43.string.trim(_7b2[0]);_7b0=djd43.string.trim(_7b2[1]);}if(!_7b0){_7b0=tevt;}if(djd43.lang.isFunction(_7ad[tevt])){djd43.event.kwConnect({srcObj:_7ad,srcFunc:tevt,targetObj:this,targetFunc:_7b0});}else{alert(tevt+" is not a function in widget "+_7ad);}}}if(_7ad.extraArgs["dojoattachpoint"]){this[_7ad.extraArgs["dojoattachpoint"]]=_7ad;}}}if(this.isContainer&&!frag["dojoDontFollow"]){djd43.widget.getParser().createSubComponents(frag,this);}},buildRendering:function(args,frag){var ts=djd43.widget._templateCache[this.widgetType];if(args["templatecsspath"]){args["templateCssPath"]=args["templatecsspath"];}var _7b6=args["templateCssPath"]||this.templateCssPath;if(_7b6&&!djd43.widget._cssFiles[_7b6.toString()]){if((!this.templateCssString)&&(_7b6)){this.templateCssString=djd43.hostenv.getText(_7b6);this.templateCssPath=null;}djd43.widget._cssFiles[_7b6.toString()]=true;}if((this["templateCssString"])&&(!djd43.widget._cssStrings[this.templateCssString])){djd43.html.insertCssText(this.templateCssString,null,_7b6);djd43.widget._cssStrings[this.templateCssString]=true;}if((!this.preventClobber)&&((this.templatePath)||(this.templateNode)||((this["templateString"])&&(this.templateString.length))||((typeof ts!="undefined")&&((ts["string"])||(ts["node"]))))){this.buildFromTemplate(args,frag);}else{this.domNode=this.getFragNodeRef(frag);}this.fillInTemplate(args,frag);},buildFromTemplate:function(args,frag){var _7b9=false;if(args["templatepath"]){args["templatePath"]=args["templatepath"];}djd43.widget.fillFromTemplateCache(this,args["templatePath"],null,_7b9);var ts=djd43.widget._templateCache[this.templatePath?this.templatePath.toString():this.widgetType];if((ts)&&(!_7b9)){if(!this.templateString.length){this.templateString=ts["string"];}if(!this.templateNode){this.templateNode=ts["node"];}}var _7bb=false;var node=null;var tstr=this.templateString;if((!this.templateNode)&&(this.templateString)){_7bb=this.templateString.match(/\$\{([^\}]+)\}/g);if(_7bb){var hash=this.strings||{};for(var key in djd43.widget.defaultStrings){if(djd43.lang.isUndefined(hash[key])){hash[key]=djd43.widget.defaultStrings[key];}}for(var i=0;i<_7bb.length;i++){var key=_7bb[i];key=key.substring(2,key.length-1);var kval=(key.substring(0,5)=="this.")?djd43.lang.getObjPathValue(key.substring(5),this):hash[key];var _7c3;if((kval)||(djd43.lang.isString(kval))){_7c3=new String((djd43.lang.isFunction(kval))?kval.call(this,key,this.templateString):kval);while(_7c3.indexOf("\"")>-1){_7c3=_7c3.replace("\"","&quot;");}tstr=tstr.replace(_7bb[i],_7c3);}}}else{this.templateNode=this.createNodesFromText(this.templateString,true)[0];if(!_7b9){ts.node=this.templateNode;}}}if((!this.templateNode)&&(!_7bb)){djd43.debug("DomWidget.buildFromTemplate: could not create template");return false;}else{if(!_7bb){node=this.templateNode.cloneNode(true);if(!node){return false;}}else{node=this.createNodesFromText(tstr,true)[0];}}this.domNode=node;this.attachTemplateNodes();if(this.isContainer&&this.containerNode){var src=this.getFragNodeRef(frag);if(src){djd43.dom.moveChildren(src,this.containerNode);}}},attachTemplateNodes:function(_7c5,_7c6){if(!_7c5){_7c5=this.domNode;}if(!_7c6){_7c6=this;}return djd43.widget.attachTemplateNodes(_7c5,_7c6,djd43.widget.getDojoEventsFromStr(this.templateString));},fillInTemplate:function(){},destroyRendering:function(){try{djd43.dom.destroyNode(this.domNode);delete this.domNode;}catch(e){}if(this._sourceNodeRef){try{djd43.dom.destroyNode(this._sourceNodeRef);}catch(e){}}},createNodesFromText:function(){djd43.unimplemented("djd43.widget.DomWidget.createNodesFromText");}});
djd43.provide("djd43.lfx.toggle");djd43.lfx.toggle.plain={show:function(node,_7c8,_7c9,_7ca){djd43.html.show(node);if(djd43.lang.isFunction(_7ca)){_7ca();}},hide:function(node,_7cc,_7cd,_7ce){djd43.html.hide(node);if(djd43.lang.isFunction(_7ce)){_7ce();}}};djd43.lfx.toggle.fade={show:function(node,_7d0,_7d1,_7d2){djd43.lfx.fadeShow(node,_7d0,_7d1,_7d2).play();},hide:function(node,_7d4,_7d5,_7d6){djd43.lfx.fadeHide(node,_7d4,_7d5,_7d6).play();}};djd43.lfx.toggle.wipe={show:function(node,_7d8,_7d9,_7da){djd43.lfx.wipeIn(node,_7d8,_7d9,_7da).play();},hide:function(node,_7dc,_7dd,_7de){djd43.lfx.wipeOut(node,_7dc,_7dd,_7de).play();}};djd43.lfx.toggle.explode={show:function(node,_7e0,_7e1,_7e2,_7e3){djd43.lfx.explode(_7e3||{x:0,y:0,width:0,height:0},node,_7e0,_7e1,_7e2).play();},hide:function(node,_7e5,_7e6,_7e7,_7e8){djd43.lfx.implode(node,_7e8||{x:0,y:0,width:0,height:0},_7e5,_7e6,_7e7).play();}};
djd43.provide("djd43.widget.HtmlWidget");djd43.declare("djd43.widget.HtmlWidget",djd43.widget.DomWidget,{templateCssPath:null,templatePath:null,lang:"",toggle:"plain",toggleDuration:150,initialize:function(args,frag){},postMixInProperties:function(args,frag){if(this.lang===""){this.lang=null;}this.toggleObj=djd43.lfx.toggle[this.toggle.toLowerCase()]||djd43.lfx.toggle.plain;},createNodesFromText:function(txt,wrap){return djd43.html.createNodesFromText(txt,wrap);},destroyRendering:function(_7ef){try{if(this.bgIframe){this.bgIframe.remove();delete this.bgIframe;}if(!_7ef&&this.domNode){djd43.event.browser.clean(this.domNode);}djd43.widget.HtmlWidget.superclass.destroyRendering.call(this);}catch(e){}},isShowing:function(){return djd43.html.isShowing(this.domNode);},toggleShowing:function(){if(this.isShowing()){this.hide();}else{this.show();}},show:function(){if(this.isShowing()){return;}this.animationInProgress=true;this.toggleObj.show(this.domNode,this.toggleDuration,null,djd43.lang.hitch(this,this.onShow),this.explodeSrc);},onShow:function(){this.animationInProgress=false;this.checkSize();},hide:function(){if(!this.isShowing()){return;}this.animationInProgress=true;this.toggleObj.hide(this.domNode,this.toggleDuration,null,djd43.lang.hitch(this,this.onHide),this.explodeSrc);},onHide:function(){this.animationInProgress=false;},_isResized:function(w,h){if(!this.isShowing()){return false;}var wh=djd43.html.getMarginBox(this.domNode);var _7f3=w||wh.width;var _7f4=h||wh.height;if(this.width==_7f3&&this.height==_7f4){return false;}this.width=_7f3;this.height=_7f4;return true;},checkSize:function(){if(!this._isResized()){return;}this.onResized();},resizeTo:function(w,h){djd43.html.setMarginBox(this.domNode,{width:w,height:h});if(this.isShowing()){this.onResized();}},resizeSoon:function(){if(this.isShowing()){djd43.lang.setTimeout(this,this.onResized,0);}},onResized:function(){djd43.lang.forEach(this.children,function(_7f7){if(_7f7.checkSize){_7f7.checkSize();}});}});
djd43.provide("djd43.widget.html.stabile");djd43.widget.html.stabile={_sqQuotables:new RegExp("([\\\\'])","g"),_depth:0,_recur:false,depthLimit:2};djd43.widget.html.stabile.getState=function(id){djd43.widget.html.stabile.setup();return djd43.widget.html.stabile.widgetState[id];};djd43.widget.html.stabile.setState=function(id,_7fa,_7fb){djd43.widget.html.stabile.setup();djd43.widget.html.stabile.widgetState[id]=_7fa;if(_7fb){djd43.widget.html.stabile.commit(djd43.widget.html.stabile.widgetState);}};djd43.widget.html.stabile.setup=function(){if(!djd43.widget.html.stabile.widgetState){var text=djd43.widget.html.stabile._getStorage().value;djd43.widget.html.stabile.widgetState=text?dj_eval("("+text+")"):{};}};djd43.widget.html.stabile.commit=function(_7fd){djd43.widget.html.stabile._getStorage().value=djd43.widget.html.stabile.description(_7fd);};djd43.widget.html.stabile.description=function(v,_7ff){var _800=djd43.widget.html.stabile._depth;var _801=function(){return this.description(this,true);};try{if(v===void (0)){return "undefined";}if(v===null){return "null";}if(typeof (v)=="boolean"||typeof (v)=="number"||v instanceof Boolean||v instanceof Number){return v.toString();}if(typeof (v)=="string"||v instanceof String){var v1=v.replace(djd43.widget.html.stabile._sqQuotables,"\\$1");v1=v1.replace(/\n/g,"\\n");v1=v1.replace(/\r/g,"\\r");return "'"+v1+"'";}if(v instanceof Date){return "new Date("+d.getFullYear+","+d.getMonth()+","+d.getDate()+")";}var d;if(v instanceof Array||v.push){if(_800>=djd43.widget.html.stabile.depthLimit){return "[ ... ]";}d="[";var _804=true;djd43.widget.html.stabile._depth++;for(var i=0;i<v.length;i++){if(_804){_804=false;}else{d+=",";}d+=arguments.callee(v[i],_7ff);}return d+"]";}if(v.constructor==Object||v.toString==_801){if(_800>=djd43.widget.html.stabile.depthLimit){return "{ ... }";}if(typeof (v.hasOwnProperty)!="function"&&v.prototype){throw new Error("description: "+v+" not supported by script engine");}var _806=true;d="{";djd43.widget.html.stabile._depth++;for(var key in v){if(v[key]==void (0)||typeof (v[key])=="function"){continue;}if(_806){_806=false;}else{d+=", ";}var kd=key;if(!kd.match(/^[a-zA-Z_][a-zA-Z0-9_]*$/)){kd=arguments.callee(key,_7ff);}d+=kd+": "+arguments.callee(v[key],_7ff);}return d+"}";}if(_7ff){if(djd43.widget.html.stabile._recur){var _809=Object.prototype.toString;return _809.apply(v,[]);}else{djd43.widget.html.stabile._recur=true;return v.toString();}}else{throw new Error("Unknown type: "+v);return "'unknown'";}}finally{djd43.widget.html.stabile._depth=_800;}};djd43.widget.html.stabile._getStorage=function(){if(djd43.widget.html.stabile.dataField){return djd43.widget.html.stabile.dataField;}var form=document.forms._dojo_form;return djd43.widget.html.stabile.dataField=form?form.stabile:{value:""};};
djd43.provide("djd43.html.iframe");djd43.html.iframeContentWindow=function(_80b){var win=djd43.html.getDocumentWindow(djd43.html.iframeContentDocument(_80b))||djd43.html.iframeContentDocument(_80b).__parent__||(_80b.name&&document.frames[_80b.name])||null;return win;};djd43.html.iframeContentDocument=function(_80d){var doc=_80d.contentDocument||((_80d.contentWindow)&&(_80d.contentWindow.document))||((_80d.name)&&(document.frames[_80d.name])&&(document.frames[_80d.name].document))||null;return doc;};djd43.html.BackgroundIframe=function(node){if(djd43.render.html.ie55||djd43.render.html.ie60){var html="<iframe src='javascript:false'"+" style='position: absolute; left: 0px; top: 0px; width: 100%; height: 100%;"+"z-index: -1; filter:Alpha(Opacity=\"0\");' "+">";this.iframe=djd43.doc().createElement(html);this.iframe.tabIndex=-1;if(node){node.appendChild(this.iframe);this.domNode=node;}else{djd43.body().appendChild(this.iframe);this.iframe.style.display="none";}}};djd43.lang.extend(djd43.html.BackgroundIframe,{iframe:null,onResized:function(){if(this.iframe&&this.domNode&&this.domNode.parentNode){var _811=djd43.html.getMarginBox(this.domNode);if(_811.width==0||_811.height==0){djd43.lang.setTimeout(this,this.onResized,100);return;}this.iframe.style.width=_811.width+"px";this.iframe.style.height=_811.height+"px";}},size:function(node){if(!this.iframe){return;}var _813=djd43.html.toCoordinateObject(node,true,djd43.html.boxSizing.BORDER_BOX);with(this.iframe.style){width=_813.width+"px";height=_813.height+"px";left=_813.left+"px";top=_813.top+"px";}},setZIndex:function(node){if(!this.iframe){return;}if(djd43.dom.isNode(node)){this.iframe.style.zIndex=djd43.html.getStyle(node,"z-index")-1;}else{if(!isNaN(node)){this.iframe.style.zIndex=node;}}},show:function(){if(this.iframe){this.iframe.style.display="block";}},hide:function(){if(this.iframe){this.iframe.style.display="none";}},remove:function(){if(this.iframe){djd43.html.removeNode(this.iframe,true);delete this.iframe;this.iframe=null;}}});
djd43.provide("djd43.widget.Parse");djd43.widget.Parse=function(_815){this.propertySetsList=[];this.fragment=_815;this.createComponents=function(frag,_817){var _818=[];var _819=false;try{if(frag&&frag.tagName&&(frag!=frag.nodeRef)){var _81a=djd43.widget.tags;var tna=String(frag.tagName).split(";");for(var x=0;x<tna.length;x++){var ltn=tna[x].replace(/^\s+|\s+$/g,"").toLowerCase();frag.tagName=ltn;var ret;if(_81a[ltn]){_819=true;ret=_81a[ltn](frag,this,_817,frag.index);_818.push(ret);}else{if(ltn.indexOf(":")==-1){ltn="dojo:"+ltn;}ret=djd43.widget.buildWidgetFromParseTree(ltn,frag,this,_817,frag.index);if(ret){_819=true;_818.push(ret);}}}}}catch(e){djd43.debug("djd43.widget.Parse: error:",e);}if(!_819){_818=_818.concat(this.createSubComponents(frag,_817));}return _818;};this.createSubComponents=function(_81f,_820){var frag,comps=[];for(var item in _81f){frag=_81f[item];if(frag&&typeof frag=="object"&&(frag!=_81f.nodeRef)&&(frag!=_81f.tagName)&&(!djd43.dom.isNode(frag))){comps=comps.concat(this.createComponents(frag,_820));}}return comps;};this.parsePropertySets=function(_823){return [];};this.parseProperties=function(_824){var _825={};for(var item in _824){if((_824[item]==_824.tagName)||(_824[item]==_824.nodeRef)){}else{var frag=_824[item];if(frag.tagName&&djd43.widget.tags[frag.tagName.toLowerCase()]){}else{if(frag[0]&&frag[0].value!=""&&frag[0].value!=null){try{if(item.toLowerCase()=="dataprovider"){var _828=this;this.getDataProvider(_828,frag[0].value);_825.dataProvider=this.dataProvider;}_825[item]=frag[0].value;var _829=this.parseProperties(frag);for(var _82a in _829){_825[_82a]=_829[_82a];}}catch(e){djd43.debug(e);}}}switch(item.toLowerCase()){case "checked":case "disabled":if(typeof _825[item]!="boolean"){_825[item]=true;}break;}}}return _825;};this.getDataProvider=function(_82b,_82c){djd43.io.bind({url:_82c,load:function(type,_82e){if(type=="load"){_82b.dataProvider=_82e;}},mimetype:"text/javascript",sync:true});};this.getPropertySetById=function(_82f){for(var x=0;x<this.propertySetsList.length;x++){if(_82f==this.propertySetsList[x]["id"][0].value){return this.propertySetsList[x];}}return "";};this.getPropertySetsByType=function(_831){var _832=[];for(var x=0;x<this.propertySetsList.length;x++){var cpl=this.propertySetsList[x];var cpcc=cpl.componentClass||cpl.componentType||null;var _836=this.propertySetsList[x]["id"][0].value;if(cpcc&&(_836==cpcc[0].value)){_832.push(cpl);}}return _832;};this.getPropertySets=function(_837){var ppl="dojo:propertyproviderlist";var _839=[];var _83a=_837.tagName;if(_837[ppl]){var _83b=_837[ppl].value.split(" ");for(var _83c in _83b){if((_83c.indexOf("..")==-1)&&(_83c.indexOf("://")==-1)){var _83d=this.getPropertySetById(_83c);if(_83d!=""){_839.push(_83d);}}else{}}}return this.getPropertySetsByType(_83a).concat(_839);};this.createComponentFromScript=function(_83e,_83f,_840,ns){_840.fastMixIn=true;var ltn=(ns||"djd43")+":"+_83f.toLowerCase();if(djd43.widget.tags[ltn]){return [djd43.widget.tags[ltn](_840,this,null,null,_840)];}return [djd43.widget.buildWidgetFromParseTree(ltn,_840,this,null,null,_840)];};};djd43.widget._parser_collection={"djd43":new djd43.widget.Parse()};djd43.widget.getParser=function(name){if(!name){name="djd43";}if(!this._parser_collection[name]){this._parser_collection[name]=new djd43.widget.Parse();}return this._parser_collection[name];};djd43.widget.createWidget=function(name,_845,_846,_847){var _848=false;var _849=(typeof name=="string");if(_849){var pos=name.indexOf(":");var ns=(pos>-1)?name.substring(0,pos):"djd43";if(pos>-1){name=name.substring(pos+1);}var _84c=name.toLowerCase();var _84d=ns+":"+_84c;_848=(djd43.byId(name)&&!djd43.widget.tags[_84d]);}if((arguments.length==1)&&(_848||!_849)){var xp=new djd43.xml.Parse();var tn=_848?djd43.byId(name):name;return djd43.widget.getParser().createComponents(xp.parseElement(tn,null,true))[0];}function fromScript(_850,name,_852,ns){_852[_84d]={dojotype:[{value:_84c}],nodeRef:_850,fastMixIn:true};_852.ns=ns;return djd43.widget.getParser().createComponentFromScript(_850,name,_852,ns);}_845=_845||{};var _854=false;var tn=null;var h=djd43.render.html.capable;if(h){tn=document.createElement("span");}if(!_846){_854=true;_846=tn;if(h){djd43.body().appendChild(_846);}}else{if(_847){djd43.dom.insertAtPosition(tn,_846,_847);}else{tn=_846;}}var _857=fromScript(tn,name.toLowerCase(),_845,ns);if((!_857)||(!_857[0])||(typeof _857[0].widgetType=="undefined")){throw new Error("createWidget: Creation of \""+name+"\" widget failed.");}try{if(_854&&_857[0].domNode.parentNode){_857[0].domNode.parentNode.removeChild(_857[0].domNode);}}catch(e){djd43.debug(e);}return _857[0];};


}/*end typeof djd43 */