/*
	Copyright (c) 2004-2006, The Dojo Foundation
	All Rights Reserved.
	Licensed under the Academic Free License version 2.1 or above OR the
	modified BSD license. For more information on Dojo licensing, see:
		http://dojotoolkit.org/community/licensing.shtml
*/
/*
	This is a compiled version of Dojo, built for deployment and not for
	development. To get an editable version, please visit:
		http://dojotoolkit.org
	for documentation and information on getting the source.
*/
if(typeof dojo=="undefined"){var dj_global=this;var dj_currentContext=this;function dj_undef(_1,_2){return (typeof (_2||dj_currentContext)[_1]=="undefined");}if(dj_undef("djConfig",this)){var djConfig={};}if(dj_undef("dojo",this)){var dojo={};}dojo.global=function(){return dj_currentContext;};dojo.locale=djConfig.locale;dojo.version={major:0,minor:0,patch:0,flag:"dev",revision:Number("$Rev: 8617 $".match(/[0-9]+/)[0]),toString:function(){with(dojo.version){return major+"."+minor+"."+patch+flag+" ("+revision+")";}}};dojo.evalProp=function(_3,_4,_5){if((!_4)||(!_3)){return undefined;}if(!dj_undef(_3,_4)){return _4[_3];}return (_5?(_4[_3]={}):undefined);};dojo.parseObjPath=function(_6,_7,_8){var _9=(_7||dojo.global());var _a=_6.split(".");var _b=_a.pop();for(var i=0,l=_a.length;i<l&&_9;i++){_9=dojo.evalProp(_a[i],_9,_8);}return {obj:_9,prop:_b};};dojo.evalObjPath=function(_e,_f){if(typeof _e!="string"){return dojo.global();}if(_e.indexOf(".")==-1){return dojo.evalProp(_e,dojo.global(),_f);}var ref=dojo.parseObjPath(_e,dojo.global(),_f);if(ref){return dojo.evalProp(ref.prop,ref.obj,_f);}return null;};dojo.errorToString=function(_11){if(!dj_undef("message",_11)){return _11.message;}else{if(!dj_undef("description",_11)){return _11.description;}else{return _11;}}};dojo.raise=function(_12,_13){if(_13){_12=_12+": "+dojo.errorToString(_13);}else{_12=dojo.errorToString(_12);}try{if(djConfig.isDebug){dojo.hostenv.println("FATAL exception raised: "+_12);}}catch(e){}throw _13||Error(_12);};dojo.debug=function(){};dojo.debugShallow=function(obj){};dojo.profile={start:function(){},end:function(){},stop:function(){},dump:function(){}};function dj_eval(_15){return dj_global.eval?dj_global.eval(_15):eval(_15);}dojo.unimplemented=function(_16,_17){var _18="'"+_16+"' not implemented";if(_17!=null){_18+=" "+_17;}dojo.raise(_18);};dojo.deprecated=function(_19,_1a,_1b){var _1c="DEPRECATED: "+_19;if(_1a){_1c+=" "+_1a;}if(_1b){_1c+=" -- will be removed in version: "+_1b;}dojo.debug(_1c);};dojo.render=(function(){function vscaffold(_1d,_1e){var tmp={capable:false,support:{builtin:false,plugin:false},prefixes:_1d};for(var i=0;i<_1e.length;i++){tmp[_1e[i]]=false;}return tmp;}return {name:"",ver:dojo.version,os:{win:false,linux:false,osx:false},html:vscaffold(["html"],["ie","opera","khtml","safari","moz"]),svg:vscaffold(["svg"],["corel","adobe","batik"]),vml:vscaffold(["vml"],["ie"]),swf:vscaffold(["Swf","Flash","Mm"],["mm"]),swt:vscaffold(["Swt"],["ibm"])};})();dojo.hostenv=(function(){var _21={isDebug:false,allowQueryConfig:false,baseScriptUri:"",baseRelativePath:"",libraryScriptUri:"",iePreventClobber:false,ieClobberMinimal:true,preventBackButtonFix:true,delayMozLoadingFix:false,searchIds:[],parseWidgets:true};if(typeof djConfig=="undefined"){djConfig=_21;}else{for(var _22 in _21){if(typeof djConfig[_22]=="undefined"){djConfig[_22]=_21[_22];}}}return {name_:"(unset)",version_:"(unset)",getName:function(){return this.name_;},getVersion:function(){return this.version_;},getText:function(uri){dojo.unimplemented("getText","uri="+uri);}};})();dojo.hostenv.getBaseScriptUri=function(){if(djConfig.baseScriptUri.length){return djConfig.baseScriptUri;}var uri=new String(djConfig.libraryScriptUri||djConfig.baseRelativePath);if(!uri){dojo.raise("Nothing returned by getLibraryScriptUri(): "+uri);}var _25=uri.lastIndexOf("/");djConfig.baseScriptUri=djConfig.baseRelativePath;return djConfig.baseScriptUri;};(function(){var _26={pkgFileName:"__package__",loading_modules_:{},loaded_modules_:{},addedToLoadingCount:[],removedFromLoadingCount:[],inFlightCount:0,modulePrefixes_:{dojo:{name:"dojo",value:"src"}},setModulePrefix:function(_27,_28){this.modulePrefixes_[_27]={name:_27,value:_28};},moduleHasPrefix:function(_29){var mp=this.modulePrefixes_;return Boolean(mp[_29]&&mp[_29].value);},getModulePrefix:function(_2b){if(this.moduleHasPrefix(_2b)){return this.modulePrefixes_[_2b].value;}return _2b;},getTextStack:[],loadUriStack:[],loadedUris:[],post_load_:false,modulesLoadedListeners:[],unloadListeners:[],loadNotifying:false};for(var _2c in _26){dojo.hostenv[_2c]=_26[_2c];}})();dojo.hostenv.loadPath=function(_2d,_2e,cb){var uri;if(_2d.charAt(0)=="/"||_2d.match(/^\w+:/)){uri=_2d;}else{uri=this.getBaseScriptUri()+_2d;}if(djConfig.cacheBust&&dojo.render.html.capable){uri+="?"+String(djConfig.cacheBust).replace(/\W+/g,"");}try{return !_2e?this.loadUri(uri,cb):this.loadUriAndCheck(uri,_2e,cb);}catch(e){dojo.debug(e);return false;}};dojo.hostenv.loadUri=function(uri,cb){if(this.loadedUris[uri]){return true;}var _33=this.getText(uri,null,true);if(!_33){return false;}this.loadedUris[uri]=true;if(cb){_33="("+_33+")";}var _34=dj_eval(_33);if(cb){cb(_34);}return true;};dojo.hostenv.loadUriAndCheck=function(uri,_36,cb){var ok=true;try{ok=this.loadUri(uri,cb);}catch(e){dojo.debug("failed loading ",uri," with error: ",e);}return Boolean(ok&&this.findModule(_36,false));};dojo.loaded=function(){};dojo.unloaded=function(){};dojo.hostenv.loaded=function(){this.loadNotifying=true;this.post_load_=true;var mll=this.modulesLoadedListeners;for(var x=0;x<mll.length;x++){mll[x]();}this.modulesLoadedListeners=[];this.loadNotifying=false;dojo.loaded();};dojo.hostenv.unloaded=function(){var mll=this.unloadListeners;while(mll.length){(mll.pop())();}dojo.unloaded();};dojo.addOnLoad=function(obj,_3d){var dh=dojo.hostenv;if(arguments.length==1){dh.modulesLoadedListeners.push(obj);}else{if(arguments.length>1){dh.modulesLoadedListeners.push(function(){obj[_3d]();});}}if(dh.post_load_&&dh.inFlightCount==0&&!dh.loadNotifying){dh.callLoaded();}};dojo.addOnUnload=function(obj,_40){var dh=dojo.hostenv;if(arguments.length==1){dh.unloadListeners.push(obj);}else{if(arguments.length>1){dh.unloadListeners.push(function(){obj[_40]();});}}};dojo.hostenv.modulesLoaded=function(){if(this.post_load_){return;}if(this.loadUriStack.length==0&&this.getTextStack.length==0){if(this.inFlightCount>0){dojo.debug("files still in flight!");return;}dojo.hostenv.callLoaded();}};dojo.hostenv.callLoaded=function(){if(typeof setTimeout=="object"||(djConfig["useXDomain"]&&dojo.render.html.opera)){setTimeout("dojo.hostenv.loaded();",0);}else{dojo.hostenv.loaded();}};dojo.hostenv.getModuleSymbols=function(_42){var _43=_42.split(".");for(var i=_43.length;i>0;i--){var _45=_43.slice(0,i).join(".");if((i==1)&&!this.moduleHasPrefix(_45)){_43[0]="../"+_43[0];}else{var _46=this.getModulePrefix(_45);if(_46!=_45){_43.splice(0,i,_46);break;}}}return _43;};dojo.hostenv._global_omit_module_check=false;dojo.hostenv.loadModule=function(_47,_48,_49){if(!_47){return;}_49=this._global_omit_module_check||_49;var _4a=this.findModule(_47,false);if(_4a){return _4a;}if(dj_undef(_47,this.loading_modules_)){this.addedToLoadingCount.push(_47);}this.loading_modules_[_47]=1;var _4b=_47.replace(/\./g,"/")+".js";var _4c=_47.split(".");var _4d=this.getModuleSymbols(_47);var _4e=((_4d[0].charAt(0)!="/")&&!_4d[0].match(/^\w+:/));var _4f=_4d[_4d.length-1];var ok;if(_4f=="*"){_47=_4c.slice(0,-1).join(".");while(_4d.length){_4d.pop();_4d.push(this.pkgFileName);_4b=_4d.join("/")+".js";if(_4e&&_4b.charAt(0)=="/"){_4b=_4b.slice(1);}ok=this.loadPath(_4b,!_49?_47:null);if(ok){break;}_4d.pop();}}else{_4b=_4d.join("/")+".js";_47=_4c.join(".");var _51=!_49?_47:null;ok=this.loadPath(_4b,_51);if(!ok&&!_48){_4d.pop();while(_4d.length){_4b=_4d.join("/")+".js";ok=this.loadPath(_4b,_51);if(ok){break;}_4d.pop();_4b=_4d.join("/")+"/"+this.pkgFileName+".js";if(_4e&&_4b.charAt(0)=="/"){_4b=_4b.slice(1);}ok=this.loadPath(_4b,_51);if(ok){break;}}}if(!ok&&!_49){dojo.raise("Could not load '"+_47+"'; last tried '"+_4b+"'");}}if(!_49&&!this["isXDomain"]){_4a=this.findModule(_47,false);if(!_4a){dojo.raise("symbol '"+_47+"' is not defined after loading '"+_4b+"'");}}return _4a;};dojo.hostenv.startPackage=function(_52){var _53=String(_52);var _54=_53;var _55=_52.split(/\./);if(_55[_55.length-1]=="*"){_55.pop();_54=_55.join(".");}var _56=dojo.evalObjPath(_54,true);this.loaded_modules_[_53]=_56;this.loaded_modules_[_54]=_56;return _56;};dojo.hostenv.findModule=function(_57,_58){var lmn=String(_57);if(this.loaded_modules_[lmn]){return this.loaded_modules_[lmn];}if(_58){dojo.raise("no loaded module named '"+_57+"'");}return null;};dojo.kwCompoundRequire=function(_5a){var _5b=_5a["common"]||[];var _5c=_5a[dojo.hostenv.name_]?_5b.concat(_5a[dojo.hostenv.name_]||[]):_5b.concat(_5a["default"]||[]);for(var x=0;x<_5c.length;x++){var _5e=_5c[x];if(_5e.constructor==Array){dojo.hostenv.loadModule.apply(dojo.hostenv,_5e);}else{dojo.hostenv.loadModule(_5e);}}};dojo.require=function(_5f){dojo.hostenv.loadModule.apply(dojo.hostenv,arguments);};dojo.requireIf=function(_60,_61){var _62=arguments[0];if((_62===true)||(_62=="common")||(_62&&dojo.render[_62].capable)){var _63=[];for(var i=1;i<arguments.length;i++){_63.push(arguments[i]);}dojo.require.apply(dojo,_63);}};dojo.requireAfterIf=dojo.requireIf;dojo.provide=function(_65){return dojo.hostenv.startPackage.apply(dojo.hostenv,arguments);};dojo.registerModulePath=function(_66,_67){return dojo.hostenv.setModulePrefix(_66,_67);};if(djConfig["modulePaths"]){for(var param in djConfig["modulePaths"]){dojo.registerModulePath(param,djConfig["modulePaths"][param]);}}dojo.setModulePrefix=function(_68,_69){dojo.deprecated("dojo.setModulePrefix(\""+_68+"\", \""+_69+"\")","replaced by dojo.registerModulePath","0.5");return dojo.registerModulePath(_68,_69);};dojo.exists=function(obj,_6b){var p=_6b.split(".");for(var i=0;i<p.length;i++){if(!obj[p[i]]){return false;}obj=obj[p[i]];}return true;};dojo.hostenv.normalizeLocale=function(_6e){var _6f=_6e?_6e.toLowerCase():dojo.locale;if(_6f=="root"){_6f="ROOT";}return _6f;};dojo.hostenv.searchLocalePath=function(_70,_71,_72){_70=dojo.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;}}};dojo.hostenv.localesGenerated;dojo.hostenv.registerNlsPrefix=function(){dojo.registerModulePath("nls","nls");};dojo.hostenv.preloadLocalizations=function(){if(dojo.hostenv.localesGenerated){dojo.hostenv.registerNlsPrefix();function preload(_79){_79=dojo.hostenv.normalizeLocale(_79);dojo.hostenv.searchLocalePath(_79,true,function(loc){for(var i=0;i<dojo.hostenv.localesGenerated.length;i++){if(dojo.hostenv.localesGenerated[i]==loc){dojo["require"]("nls.dojo_"+loc);return true;}}return false;});}preload();var _7c=djConfig.extraLocale||[];for(var i=0;i<_7c.length;i++){preload(_7c[i]);}}dojo.hostenv.preloadLocalizations=function(){};};dojo.requireLocalization=function(_7e,_7f,_80,_81){dojo.hostenv.preloadLocalizations();var _82=dojo.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=dojo.hostenv.findModule(_83);var _89=null;if(_88){if(djConfig.localizationComplete&&_88._built){return;}var _8a=_87.replace("-","_");var _8b=_83+"."+_8a;_89=dojo.hostenv.findModule(_8b);}if(!_89){_88=dojo.hostenv.startPackage(_83);var _8c=dojo.hostenv.getModuleSymbols(_7e);var _8d=_8c.concat("nls").join("/");var _8e;dojo.hostenv.searchLocalePath(_87,_81,function(loc){var _90=loc.replace("-","_");var _91=_83+"."+_90;var _92=false;if(!dojo.hostenv.findModule(_91)){dojo.hostenv.startPackage(_91);var _93=[_8d];if(loc!="ROOT"){_93.push(loc);}_93.push(_7f);var _94=_93.join("/")+".js";_92=dojo.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=djConfig.extraLocale;if(_98){if(!_98 instanceof Array){_98=[_98];}var req=dojo.requireLocalization;dojo.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(djConfig.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)=="djConfig.")){var opt=sp[0].substr(9);try{djConfig[opt]=eval(sp[1]);}catch(e){djConfig[opt]=sp[1];}}}}}if(((djConfig["baseScriptUri"]=="")||(djConfig["baseRelativePath"]==""))&&(document&&document.getElementsByTagName)){var _a6=document.getElementsByTagName("script");var _a7=/(__package__|dojo|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["djConfig"]){djConfig={};}if(djConfig["baseScriptUri"]==""){djConfig["baseScriptUri"]=_ab;}if(djConfig["baseRelativePath"]==""){djConfig["baseRelativePath"]=_ab;}break;}}}var dr=dojo.render;var drh=dojo.render.html;var drs=dojo.render.svg;var dua=(drh.UA=navigator.userAgent);var dav=(drh.AV=navigator.appVersion);var t=true;var f=false;drh.capable=t;drh.support.builtin=t;dr.ver=parseFloat(drh.AV);dr.os.mac=dav.indexOf("Macintosh")>=0;dr.os.win=dav.indexOf("Windows")>=0;dr.os.linux=dav.indexOf("X11")>=0;drh.opera=dua.indexOf("Opera")>=0;drh.khtml=(dav.indexOf("Konqueror")>=0)||(dav.indexOf("Safari")>=0);drh.safari=dav.indexOf("Safari")>=0;var _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;dojo.locale=dojo.locale||(drh.ie?navigator.userLanguage:navigator.language).toLowerCase();dr.vml.capable=drh.ie;drs.capable=f;drs.support.plugin=f;drs.support.builtin=f;var _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{}})();dojo.hostenv.startPackage("dojo.hostenv");dojo.render.name=dojo.hostenv.name_="browser";dojo.hostenv.searchIds=[];dojo.hostenv._XMLHTTP_PROGIDS=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"];dojo.hostenv.getXmlhttpObject=function(){var _b9=null;var _ba=null;try{_b9=new XMLHttpRequest();}catch(e){}if(!_b9){for(var i=0;i<3;++i){var _bc=dojo.hostenv._XMLHTTP_PROGIDS[i];try{_b9=new ActiveXObject(_bc);}catch(e){_ba=e;}if(_b9){dojo.hostenv._XMLHTTP_PROGIDS=[_bc];break;}}}if(!_b9){return dojo.raise("XMLHTTP not available",_ba);}return _b9;};dojo.hostenv._blockAsync=false;dojo.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=dojo.global();var xhr=dojo.evalObjPath("dojo.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;};dojo.hostenv.defaultDebugContainerId="dojoDebug";dojo.hostenv._println_buffer=[];dojo.hostenv._println_safe=false;dojo.hostenv.println=function(_c8){if(!dojo.hostenv._println_safe){dojo.hostenv._println_buffer.push(_c8);}else{try{var _c9=document.getElementById(djConfig.debugContainerId?djConfig.debugContainerId:dojo.hostenv.defaultDebugContainerId);if(!_c9){_c9=dojo.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;}}}};dojo.addOnLoad(function(){dojo.hostenv._println_safe=true;while(dojo.hostenv._println_buffer.length>0){dojo.hostenv.println(dojo.hostenv._println_buffer.shift());}});function dj_addNodeEvtHdlr(_cb,_cc,fp){var _ce=_cb["on"+_cc]||function(){};_cb["on"+_cc]=function(){fp.apply(_cb,arguments);_ce.apply(_cb,arguments);};return true;}dojo.hostenv._djInitFired=false;function dj_load_init(e){dojo.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(dojo.render.html.ie){dojo.hostenv.makeWidgets();}};if(dojo.hostenv.inFlightCount==0){_d1();dojo.hostenv.modulesLoaded();}else{dojo.hostenv.modulesLoadedListeners.unshift(_d1);}}if(document.addEventListener){if(dojo.render.html.opera||(dojo.render.html.moz&&(djConfig["enableMozDomContentLoaded"]===true))){document.addEventListener("DOMContentLoaded",dj_load_init,null);}window.addEventListener("load",dj_load_init,null);}if(dojo.render.html.ie&&dojo.render.os.win){document.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(dojo.render.html.ie){dj_addNodeEvtHdlr(window,"beforeunload",function(){dojo.hostenv._unloading=true;window.setTimeout(function(){dojo.hostenv._unloading=false;},0);});}dj_addNodeEvtHdlr(window,"unload",function(){dojo.hostenv.unloaded();if((!dojo.render.html.ie)||(dojo.render.html.ie&&dojo.hostenv._unloading)){dojo.hostenv.unloaded();}});dojo.hostenv.makeWidgets=function(){var _d3=[];if(djConfig.searchIds&&djConfig.searchIds.length>0){_d3=_d3.concat(djConfig.searchIds);}if(dojo.hostenv.searchIds&&dojo.hostenv.searchIds.length>0){_d3=_d3.concat(dojo.hostenv.searchIds);}if((djConfig.parseWidgets)||(_d3.length>0)){if(dojo.evalObjPath("dojo.widget.Parse")){var _d4=new dojo.xml.Parse();if(_d3.length>0){for(var x=0;x<_d3.length;x++){var _d6=document.getElementById(_d3[x]);if(!_d6){continue;}var _d7=_d4.parseElement(_d6,null,true);dojo.widget.getParser().createComponents(_d7);}}else{if(djConfig.parseWidgets){var _d7=_d4.parseElement(dojo.body(),null,true);dojo.widget.getParser().createComponents(_d7);}}}}};dojo.addOnLoad(function(){if(!dojo.render.html.ie){dojo.hostenv.makeWidgets();}});try{if(dojo.render.html.ie){document.namespaces.add("v","urn:schemas-microsoft-com:vml");document.createStyleSheet().addRule("v\\:*","behavior:url(#default#VML)");}}catch(e){}dojo.hostenv.writeIncludes=function(){};if(!dj_undef("document",this)){dj_currentDocument=this.document;}dojo.doc=function(){return dj_currentDocument;};dojo.body=function(){return dojo.doc().body||dojo.doc().getElementsByTagName("body")[0];};dojo.byId=function(id,doc){if((id)&&((typeof id=="string")||(id instanceof String))){if(!doc){doc=dj_currentDocument;}var ele=doc.getElementById(id);if(ele&&(ele.id!=id)&&doc.all){ele=null;eles=doc.all[id];if(eles){if(eles.length){for(var i=0;i<eles.length;i++){if(eles[i].id==id){ele=eles[i];break;}}}else{ele=eles;}}}return ele;}return id;};dojo.setContext=function(_dc,_dd){dj_currentContext=_dc;dj_currentDocument=_dd;};dojo._fireCallback=function(_de,_df,_e0){if((_df)&&((typeof _de=="string")||(_de instanceof String))){_de=_df[_de];}return (_df?_de.apply(_df,_e0||[]):_de());};dojo.withGlobal=function(_e1,_e2,_e3,_e4){var _e5;var _e6=dj_currentContext;var _e7=dj_currentDocument;try{dojo.setContext(_e1,_e1.document);_e5=dojo._fireCallback(_e2,_e3,_e4);}finally{dojo.setContext(_e6,_e7);}return _e5;};dojo.withDoc=function(_e8,_e9,_ea,_eb){var _ec;var _ed=dj_currentDocument;try{dj_currentDocument=_e8;_ec=dojo._fireCallback(_e9,_ea,_eb);}finally{dj_currentDocument=_ed;}return _ec;};}dojo.requireIf((djConfig["isDebug"]||djConfig["debugAtAllCosts"]),"dojo.debug");dojo.requireIf(djConfig["debugAtAllCosts"]&&!window.widget&&!djConfig["useXDomain"],"dojo.browser_debug");dojo.requireIf(djConfig["debugAtAllCosts"]&&!window.widget&&djConfig["useXDomain"],"dojo.browser_debug_xd");dojo.provide("dojo.lang.common");dojo.lang.inherits=function(_ee,_ef){if(!dojo.lang.isFunction(_ef)){dojo.raise("dojo.inherits: superclass argument ["+_ef+"] must be a function (subclass: ["+_ee+"']");}_ee.prototype=new _ef();_ee.prototype.constructor=_ee;_ee.superclass=_ef.prototype;_ee["super"]=_ef.prototype;};dojo.lang._mixin=function(obj,_f1){var _f2={};for(var x in _f1){if((typeof _f2[x]=="undefined")||(_f2[x]!=_f1[x])){obj[x]=_f1[x];}}if(dojo.render.html.ie&&(typeof (_f1["toString"])=="function")&&(_f1["toString"]!=obj["toString"])&&(_f1["toString"]!=_f2["toString"])){obj.toString=_f1.toString;}return obj;};dojo.lang.mixin=function(obj,_f5){for(var i=1,l=arguments.length;i<l;i++){dojo.lang._mixin(obj,arguments[i]);}return obj;};dojo.lang.extend=function(_f8,_f9){for(var i=1,l=arguments.length;i<l;i++){dojo.lang._mixin(_f8.prototype,arguments[i]);}return _f8;};dojo.inherits=dojo.lang.inherits;dojo.mixin=dojo.lang.mixin;dojo.extend=dojo.lang.extend;dojo.lang.find=function(_fc,_fd,_fe,_ff){if(!dojo.lang.isArrayLike(_fc)&&dojo.lang.isArrayLike(_fd)){dojo.deprecated("dojo.lang.find(value, array)","use dojo.lang.find(array, value) instead","0.5");var temp=_fc;_fc=_fd;_fd=temp;}var _101=dojo.lang.isString(_fc);if(_101){_fc=_fc.split("");}if(_ff){var step=-1;var i=_fc.length-1;var end=-1;}else{var step=1;var i=0;var end=_fc.length;}if(_fe){while(i!=end){if(_fc[i]===_fd){return i;}i+=step;}}else{while(i!=end){if(_fc[i]==_fd){return i;}i+=step;}}return -1;};dojo.lang.indexOf=dojo.lang.find;dojo.lang.findLast=function(_105,_106,_107){return dojo.lang.find(_105,_106,_107,true);};dojo.lang.lastIndexOf=dojo.lang.findLast;dojo.lang.inArray=function(_108,_109){return dojo.lang.find(_108,_109)>-1;};dojo.lang.isObject=function(it){if(typeof it=="undefined"){return false;}return (typeof it=="object"||it===null||dojo.lang.isArray(it)||dojo.lang.isFunction(it));};dojo.lang.isArray=function(it){return (it&&it instanceof Array||typeof it=="array");};dojo.lang.isArrayLike=function(it){if((!it)||(dojo.lang.isUndefined(it))){return false;}if(dojo.lang.isString(it)){return false;}if(dojo.lang.isFunction(it)){return false;}if(dojo.lang.isArray(it)){return true;}if((it.tagName)&&(it.tagName.toLowerCase()=="form")){return false;}if(dojo.lang.isNumber(it.length)&&isFinite(it.length)){return true;}return false;};dojo.lang.isFunction=function(it){return (it instanceof Function||typeof it=="function");};(function(){if((dojo.render.html.capable)&&(dojo.render.html["safari"])){dojo.lang.isFunction=function(it){if((typeof (it)=="function")&&(it=="[object NodeList]")){return false;}return (it instanceof Function||typeof it=="function");};}})();dojo.lang.isString=function(it){return (typeof it=="string"||it instanceof String);};dojo.lang.isAlien=function(it){if(!it){return false;}return !dojo.lang.isFunction(it)&&/\{\s*\[native code\]\s*\}/.test(String(it));};dojo.lang.isBoolean=function(it){return (it instanceof Boolean||typeof it=="boolean");};dojo.lang.isNumber=function(it){return (it instanceof Number||typeof it=="number");};dojo.lang.isUndefined=function(it){return ((typeof (it)=="undefined")&&(it==undefined));};dojo.provide("dojo.lang.func");dojo.lang.hitch=function(_114,_115){var args=[];for(var x=2;x<arguments.length;x++){args.push(arguments[x]);}var fcn=(dojo.lang.isString(_115)?_114[_115]:_115)||function(){};return function(){var ta=args.concat([]);for(var x=0;x<arguments.length;x++){ta.push(arguments[x]);}return fcn.apply(_114,ta);};};dojo.lang.anonCtr=0;dojo.lang.anon={};dojo.lang.nameAnonFunc=function(_11b,_11c,_11d){var nso=(_11c||dojo.lang.anon);if((_11d)||((dj_global["djConfig"])&&(djConfig["slowAnonFuncLookups"]==true))){for(var x in nso){try{if(nso[x]===_11b){return x;}}catch(e){}}}var ret="__"+dojo.lang.anonCtr++;while(typeof nso[ret]!="undefined"){ret="__"+dojo.lang.anonCtr++;}nso[ret]=_11b;return ret;};dojo.lang.forward=function(_121){return function(){return this[_121].apply(this,arguments);};};dojo.lang.curry=function(_122,func){var _124=[];_122=_122||dj_global;if(dojo.lang.isString(func)){func=_122[func];}for(var x=2;x<arguments.length;x++){_124.push(arguments[x]);}var _126=(func["__preJoinArity"]||func.length)-_124.length;function gather(_127,_128,_129){var _12a=_129;var _12b=_128.slice(0);for(var x=0;x<_127.length;x++){_12b.push(_127[x]);}_129=_129-_127.length;if(_129<=0){var res=func.apply(_122,_12b);_129=_12a;return res;}else{return function(){return gather(arguments,_12b,_129);};}}return gather([],_124,_126);};dojo.lang.curryArguments=function(_12e,func,args,_131){var _132=[];var x=_131||0;for(x=_131;x<args.length;x++){_132.push(args[x]);}return dojo.lang.curry.apply(dojo.lang,[_12e,func].concat(_132));};dojo.lang.tryThese=function(){for(var x=0;x<arguments.length;x++){try{if(typeof arguments[x]=="function"){var ret=(arguments[x]());if(ret){return ret;}}}catch(e){dojo.debug(e);}}};dojo.lang.delayThese=function(farr,cb,_138,_139){if(!farr.length){if(typeof _139=="function"){_139();}return;}if((typeof _138=="undefined")&&(typeof cb=="number")){_138=cb;cb=function(){};}else{if(!cb){cb=function(){};if(!_138){_138=0;}}}setTimeout(function(){(farr.shift())();cb();dojo.lang.delayThese(farr,cb,_138,_139);},_138);};dojo.provide("dojo.lang.extras");dojo.lang.setTimeout=function(func,_13b){var _13c=window,_13d=2;if(!dojo.lang.isFunction(func)){_13c=func;func=_13b;_13b=arguments[2];_13d++;}if(dojo.lang.isString(func)){func=_13c[func];}var args=[];for(var i=_13d;i<arguments.length;i++){args.push(arguments[i]);}return dojo.global().setTimeout(function(){func.apply(_13c,args);},_13b);};dojo.lang.clearTimeout=function(_140){dojo.global().clearTimeout(_140);};dojo.lang.getNameInObj=function(ns,item){if(!ns){ns=dj_global;}for(var x in ns){if(ns[x]===item){return new String(x);}}return null;};dojo.lang.shallowCopy=function(obj,deep){var i,ret;if(obj===null){return null;}if(dojo.lang.isObject(obj)){ret=new obj.constructor();for(i in obj){if(dojo.lang.isUndefined(ret[i])){ret[i]=deep?dojo.lang.shallowCopy(obj[i],deep):obj[i];}}}else{if(dojo.lang.isArray(obj)){ret=[];for(i=0;i<obj.length;i++){ret[i]=deep?dojo.lang.shallowCopy(obj[i],deep):obj[i];}}else{ret=obj;}}return ret;};dojo.lang.firstValued=function(){for(var i=0;i<arguments.length;i++){if(typeof arguments[i]!="undefined"){return arguments[i];}}return undefined;};dojo.lang.getObjPathValue=function(_149,_14a,_14b){with(dojo.parseObjPath(_149,_14a,_14b)){return dojo.evalProp(prop,obj,_14b);}};dojo.lang.setObjPathValue=function(_14c,_14d,_14e,_14f){dojo.deprecated("dojo.lang.setObjPathValue","use dojo.parseObjPath and the '=' operator","0.6");if(arguments.length<4){_14f=true;}with(dojo.parseObjPath(_14c,_14e,_14f)){if(obj&&(_14f||(prop in obj))){obj[prop]=_14d;}}};dojo.provide("dojo.lang.declare");dojo.lang.declare=function(_150,_151,init,_153){if((dojo.lang.isFunction(_153))||((!_153)&&(!dojo.lang.isFunction(init)))){var temp=_153;_153=init;init=temp;}var _155=[];if(dojo.lang.isArray(_151)){_155=_151;_151=_155.shift();}if(!init){init=dojo.evalObjPath(_150,false);if((init)&&(!dojo.lang.isFunction(init))){init=null;}}var ctor=dojo.lang.declare._makeConstructor();var scp=(_151?_151.prototype:null);if(scp){scp.prototyping=true;ctor.prototype=new _151();scp.prototyping=false;}ctor.superclass=scp;ctor.mixins=_155;for(var i=0,l=_155.length;i<l;i++){dojo.lang.extend(ctor,_155[i].prototype);}ctor.prototype.initializer=null;ctor.prototype.declaredClass=_150;if(dojo.lang.isArray(_153)){dojo.lang.extend.apply(dojo.lang,[ctor].concat(_153));}else{dojo.lang.extend(ctor,(_153)||{});}dojo.lang.extend(ctor,dojo.lang.declare._common);ctor.prototype.constructor=ctor;ctor.prototype.initializer=(ctor.prototype.initializer)||(init)||(function(){});var _15a=dojo.parseObjPath(_150,null,true);_15a.obj[_15a.prop]=ctor;return ctor;};dojo.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);}};};dojo.lang.declare._common={_getPropContext:function(){return (this.___proto||this);},_contextMethod:function(_160,_161,args){var _163,_164=this.___proto;this.___proto=_160;try{_163=_160[_161].apply(this,(args||[]));}catch(e){throw e;}finally{this.___proto=_164;}return _163;},_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 (dojo.lang.isFunction(p[prop])?this._contextMethod(p,prop,args):p[prop]);},inherited:function(prop,args){dojo.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);}};dojo.declare=dojo.lang.declare;dojo.provide("dojo.dnd.DragAndDrop");dojo.declare("dojo.dnd.DragSource",null,{type:"",onDragEnd:function(evt){},onDragStart:function(evt){},onSelected:function(evt){},unregister:function(){dojo.dnd.dragManager.unregisterDragSource(this);},reregister:function(){dojo.dnd.dragManager.registerDragSource(this);}});dojo.declare("dojo.dnd.DragObject",null,{type:"",register:function(){var dm=dojo.dnd.dragManager;if(dm["registerDragObject"]){dm.registerDragObject(this);}},onDragStart:function(evt){},onDragMove:function(evt){},onDragOver:function(evt){},onDragOut:function(evt){},onDragEnd:function(evt){},onDragLeave:dojo.lang.forward("onDragOut"),onDragEnter:dojo.lang.forward("onDragOver"),ondragout:dojo.lang.forward("onDragOut"),ondragover:dojo.lang.forward("onDragOver")});dojo.declare("dojo.dnd.DropTarget",null,{acceptsType:function(type){if(!dojo.lang.inArray(this.acceptedTypes,"*")){if(!dojo.lang.inArray(this.acceptedTypes,type)){return false;}}return true;},accepts:function(_174){if(!dojo.lang.inArray(this.acceptedTypes,"*")){for(var i=0;i<_174.length;i++){if(!dojo.lang.inArray(this.acceptedTypes,_174[i].type)){return false;}}}return true;},unregister:function(){dojo.dnd.dragManager.unregisterDropTarget(this);},onDragOver:function(evt){},onDragOut:function(evt){},onDragMove:function(evt){},onDropStart:function(evt){},onDrop:function(evt){},onDropEnd:function(){}},function(){this.acceptedTypes=[];});dojo.dnd.DragEvent=function(){this.dragSource=null;this.dragObject=null;this.target=null;this.eventStatus="success";};dojo.declare("dojo.dnd.DragManager",null,{selectedSources:[],dragObjects:[],dragSources:[],registerDragSource:function(_17b){},dropTargets:[],registerDropTarget:function(_17c){},lastDragTarget:null,currentDragTarget:null,onKeyDown:function(){},onMouseOut:function(){},onMouseMove:function(){},onMouseUp:function(){}});dojo.provide("dojo.lang.array");dojo.lang.mixin(dojo.lang,{has:function(obj,name){try{return typeof obj[name]!="undefined";}catch(e){return false;}},isEmpty:function(obj){if(dojo.lang.isObject(obj)){var tmp={};var _181=0;for(var x in obj){if(obj[x]&&(!tmp[x])){_181++;break;}}return _181==0;}else{if(dojo.lang.isArrayLike(obj)||dojo.lang.isString(obj)){return obj.length==0;}}},map:function(arr,obj,_185){var _186=dojo.lang.isString(arr);if(_186){arr=arr.split("");}if(dojo.lang.isFunction(obj)&&(!_185)){_185=obj;obj=dj_global;}else{if(dojo.lang.isFunction(obj)&&_185){var _187=obj;obj=_185;_185=_187;}}if(Array.map){var _188=Array.map(arr,_185,obj);}else{var _188=[];for(var i=0;i<arr.length;++i){_188.push(_185.call(obj,arr[i]));}}if(_186){return _188.join("");}else{return _188;}},reduce:function(arr,_18b,obj,_18d){var _18e=_18b;if(arguments.length==2){_18d=_18b;_18e=arr[0];arr=arr.slice(1);}else{if(arguments.length==3){if(dojo.lang.isFunction(obj)){_18d=obj;obj=null;}}else{if(dojo.lang.isFunction(obj)){var tmp=_18d;_18d=obj;obj=tmp;}}}var ob=obj||dj_global;dojo.lang.map(arr,function(val){_18e=_18d.call(ob,_18e,val);});return _18e;},forEach:function(_192,_193,_194){if(dojo.lang.isString(_192)){_192=_192.split("");}if(Array.forEach){Array.forEach(_192,_193,_194);}else{if(!_194){_194=dj_global;}for(var i=0,l=_192.length;i<l;i++){_193.call(_194,_192[i],i,_192);}}},_everyOrSome:function(_197,arr,_199,_19a){if(dojo.lang.isString(arr)){arr=arr.split("");}if(Array.every){return Array[_197?"every":"some"](arr,_199,_19a);}else{if(!_19a){_19a=dj_global;}for(var i=0,l=arr.length;i<l;i++){var _19d=_199.call(_19a,arr[i],i,arr);if(_197&&!_19d){return false;}else{if((!_197)&&(_19d)){return true;}}}return Boolean(_197);}},every:function(arr,_19f,_1a0){return this._everyOrSome(true,arr,_19f,_1a0);},some:function(arr,_1a2,_1a3){return this._everyOrSome(false,arr,_1a2,_1a3);},filter:function(arr,_1a5,_1a6){var _1a7=dojo.lang.isString(arr);if(_1a7){arr=arr.split("");}var _1a8;if(Array.filter){_1a8=Array.filter(arr,_1a5,_1a6);}else{if(!_1a6){if(arguments.length>=3){dojo.raise("thisObject doesn't exist!");}_1a6=dj_global;}_1a8=[];for(var i=0;i<arr.length;i++){if(_1a5.call(_1a6,arr[i],i,arr)){_1a8.push(arr[i]);}}}if(_1a7){return _1a8.join("");}else{return _1a8;}},unnest:function(){var out=[];for(var i=0;i<arguments.length;i++){if(dojo.lang.isArrayLike(arguments[i])){var add=dojo.lang.unnest.apply(this,arguments[i]);out=out.concat(add);}else{out.push(arguments[i]);}}return out;},toArray:function(_1ad,_1ae){var _1af=[];for(var i=_1ae||0;i<_1ad.length;i++){_1af.push(_1ad[i]);}return _1af;}});dojo.provide("dojo.event.common");dojo.event=new function(){this._canTimeout=dojo.lang.isFunction(dj_global["setTimeout"])||dojo.lang.isAlien(dj_global["setTimeout"]);function interpolateArgs(args,_1b2){var dl=dojo.lang;var ao={srcObj:dj_global,srcFunc:null,adviceObj:dj_global,adviceFunc:null,aroundObj:null,aroundFunc:null,adviceType:(args.length>2)?args[0]:"after",precedence:"last",once:false,delay:null,rate:0,adviceMsg:false,maxCalls:-1};switch(args.length){case 0:return;case 1:return;case 2:ao.srcFunc=args[0];ao.adviceFunc=args[1];break;case 3:if((dl.isObject(args[0]))&&(dl.isString(args[1]))&&(dl.isString(args[2]))){ao.adviceType="after";ao.srcObj=args[0];ao.srcFunc=args[1];ao.adviceFunc=args[2];}else{if((dl.isString(args[1]))&&(dl.isString(args[2]))){ao.srcFunc=args[1];ao.adviceFunc=args[2];}else{if((dl.isObject(args[0]))&&(dl.isString(args[1]))&&(dl.isFunction(args[2]))){ao.adviceType="after";ao.srcObj=args[0];ao.srcFunc=args[1];var _1b5=dl.nameAnonFunc(args[2],ao.adviceObj,_1b2);ao.adviceFunc=_1b5;}else{if((dl.isFunction(args[0]))&&(dl.isObject(args[1]))&&(dl.isString(args[2]))){ao.adviceType="after";ao.srcObj=dj_global;var _1b5=dl.nameAnonFunc(args[0],ao.srcObj,_1b2);ao.srcFunc=_1b5;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 _1b5=dl.nameAnonFunc(args[1],dj_global,_1b2);ao.srcFunc=_1b5;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 _1b5=dl.nameAnonFunc(args[3],dj_global,_1b2);ao.adviceObj=dj_global;ao.adviceFunc=_1b5;}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 _1b5=dl.nameAnonFunc(ao.aroundFunc,ao.aroundObj,_1b2);ao.aroundFunc=_1b5;}if(dl.isFunction(ao.srcFunc)){ao.srcFunc=dl.getNameInObj(ao.srcObj,ao.srcFunc);}if(dl.isFunction(ao.adviceFunc)){ao.adviceFunc=dl.getNameInObj(ao.adviceObj,ao.adviceFunc);}if((ao.aroundObj)&&(dl.isFunction(ao.aroundFunc))){ao.aroundFunc=dl.getNameInObj(ao.aroundObj,ao.aroundFunc);}if(!ao.srcObj){dojo.raise("bad srcObj for srcFunc: "+ao.srcFunc);}if(!ao.adviceObj){dojo.raise("bad adviceObj for adviceFunc: "+ao.adviceFunc);}if(!ao.adviceFunc){dojo.debug("bad adviceFunc for srcFunc: "+ao.srcFunc);dojo.debugShallow(ao);}return ao;}this.connect=function(){if(arguments.length==1){var ao=arguments[0];}else{var ao=interpolateArgs(arguments,true);}if(dojo.lang.isString(ao.srcFunc)&&(ao.srcFunc.toLowerCase()=="onkey")){if(dojo.render.html.ie){ao.srcFunc="onkeydown";this.connect(ao);}ao.srcFunc="onkeypress";}if(dojo.lang.isArray(ao.srcObj)&&ao.srcObj!=""){var _1b7={};for(var x in ao){_1b7[x]=ao[x];}var mjps=[];dojo.lang.forEach(ao.srcObj,function(src){if((dojo.render.html.capable)&&(dojo.lang.isString(src))){src=dojo.byId(src);}_1b7.srcObj=src;mjps.push(dojo.event.connect.call(dojo.event,_1b7));});return mjps;}var mjp=dojo.event.MethodJoinPoint.getForMethod(ao.srcObj,ao.srcFunc);if(ao.adviceFunc){var mjp2=dojo.event.MethodJoinPoint.getForMethod(ao.adviceObj,ao.adviceFunc);}mjp.kwAddAdvice(ao);return mjp;};this.log=function(a1,a2){var _1bf;if((arguments.length==1)&&(typeof a1=="object")){_1bf=a1;}else{_1bf={srcObj:a1,srcFunc:a2};}_1bf.adviceFunc=function(){var _1c0=[];for(var x=0;x<arguments.length;x++){_1c0.push(arguments[x]);}dojo.debug("("+_1bf.srcObj+")."+_1bf.srcFunc,":",_1c0.join(", "));};this.kwConnect(_1bf);};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(_1c8,_1c9){var fn=(_1c9)?"disconnect":"connect";if(typeof _1c8["srcFunc"]=="function"){_1c8.srcObj=_1c8["srcObj"]||dj_global;var _1cb=dojo.lang.nameAnonFunc(_1c8.srcFunc,_1c8.srcObj,true);_1c8.srcFunc=_1cb;}if(typeof _1c8["adviceFunc"]=="function"){_1c8.adviceObj=_1c8["adviceObj"]||dj_global;var _1cb=dojo.lang.nameAnonFunc(_1c8.adviceFunc,_1c8.adviceObj,true);_1c8.adviceFunc=_1cb;}_1c8.srcObj=_1c8["srcObj"]||dj_global;_1c8.adviceObj=_1c8["adviceObj"]||_1c8["targetObj"]||dj_global;_1c8.adviceFunc=_1c8["adviceFunc"]||_1c8["targetFunc"];return dojo.event[fn](_1c8);};this.kwConnect=function(_1cc){return this._kwConnectImpl(_1cc,false);};this.disconnect=function(){if(arguments.length==1){var ao=arguments[0];}else{var ao=interpolateArgs(arguments,true);}if(!ao.adviceFunc){return;}if(dojo.lang.isString(ao.srcFunc)&&(ao.srcFunc.toLowerCase()=="onkey")){if(dojo.render.html.ie){ao.srcFunc="onkeydown";this.disconnect(ao);}ao.srcFunc="onkeypress";}if(!ao.srcObj[ao.srcFunc]){return null;}var mjp=dojo.event.MethodJoinPoint.getForMethod(ao.srcObj,ao.srcFunc,true);mjp.removeAdvice(ao.adviceObj,ao.adviceFunc,ao.adviceType,ao.once);return mjp;};this.kwDisconnect=function(_1cf){return this._kwConnectImpl(_1cf,true);};};dojo.event.MethodInvocation=function(_1d0,obj,args){this.jp_=_1d0;this.object=obj;this.args=[];for(var x=0;x<args.length;x++){this.args[x]=args[x];}this.around_index=-1;};dojo.event.MethodInvocation.prototype.proceed=function(){this.around_index++;if(this.around_index>=this.jp_.around.length){return this.jp_.object[this.jp_.methodname].apply(this.jp_.object,this.args);}else{var ti=this.jp_.around[this.around_index];var mobj=ti[0]||dj_global;var meth=ti[1];return mobj[meth].call(mobj,this);}};dojo.event.MethodJoinPoint=function(obj,_1d8){this.object=obj||dj_global;this.methodname=_1d8;this.methodfunc=this.object[_1d8];this.squelch=false;};dojo.event.MethodJoinPoint.getForMethod=function(obj,_1da){if(!obj){obj=dj_global;}var ofn=obj[_1da];if(!ofn){ofn=obj[_1da]=function(){};if(!obj[_1da]){dojo.raise("Cannot set do-nothing method on that object "+_1da);}}else{if((typeof ofn!="function")&&(!dojo.lang.isFunction(ofn))&&(!dojo.lang.isAlien(ofn))){return null;}}var _1dc=_1da+"$joinpoint";var _1dd=_1da+"$joinpoint$method";var _1de=obj[_1dc];if(!_1de){var _1df=false;if(dojo.event["browser"]){if((obj["attachEvent"])||(obj["nodeType"])||(obj["addEventListener"])){_1df=true;dojo.event.browser.addClobberNodeAttrs(obj,[_1dc,_1dd,_1da]);}}var _1e0=ofn.length;obj[_1dd]=ofn;_1de=obj[_1dc]=new dojo.event.MethodJoinPoint(obj,_1dd);if(!_1df){obj[_1da]=function(){return _1de.run.apply(_1de,arguments);};}else{obj[_1da]=function(){var args=[];if(!arguments.length){var evt=null;try{if(obj.ownerDocument){evt=obj.ownerDocument.parentWindow.event;}else{if(obj.documentElement){evt=obj.documentElement.ownerDocument.parentWindow.event;}else{if(obj.event){evt=obj.event;}else{evt=window.event;}}}}catch(e){evt=window.event;}if(evt){args.push(dojo.event.browser.fixEvent(evt,this));}}else{for(var x=0;x<arguments.length;x++){if((x==0)&&(dojo.event.browser.isEvent(arguments[x]))){args.push(dojo.event.browser.fixEvent(arguments[x],this));}else{args.push(arguments[x]);}}}return _1de.run.apply(_1de,args);};}obj[_1da].__preJoinArity=_1e0;}return _1de;};dojo.lang.extend(dojo.event.MethodJoinPoint,{squelch:false,unintercept:function(){this.object[this.methodname]=this.methodfunc;this.before=[];this.after=[];this.around=[];},disconnect:dojo.lang.forward("unintercept"),run:function(){var obj=this.object||dj_global;var args=arguments;var _1e6=[];for(var x=0;x<args.length;x++){_1e6[x]=args[x];}var _1e8=function(marr){if(!marr){dojo.debug("Null argument to unrollAdvice()");return;}var _1ea=marr[0]||dj_global;var _1eb=marr[1];if(!_1ea[_1eb]){dojo.raise("function \""+_1eb+"\" does not exist on \""+_1ea+"\"");}var _1ec=marr[2]||dj_global;var _1ed=marr[3];var msg=marr[6];var _1ef=marr[7];if(_1ef>-1){if(_1ef==0){return;}marr[7]--;}var _1f0;var to={args:[],jp_:this,object:obj,proceed:function(){return _1ea[_1eb].apply(_1ea,to.args);}};to.args=_1e6;var _1f2=parseInt(marr[4]);var _1f3=((!isNaN(_1f2))&&(marr[4]!==null)&&(typeof marr[4]!="undefined"));if(marr[5]){var rate=parseInt(marr[5]);var cur=new Date();var _1f6=false;if((marr["last"])&&((cur-marr.last)<=rate)){if(dojo.event._canTimeout){if(marr["delayTimer"]){clearTimeout(marr.delayTimer);}var tod=parseInt(rate*2);var mcpy=dojo.lang.shallowCopy(marr);marr.delayTimer=setTimeout(function(){mcpy[5]=0;_1e8(mcpy);},tod);}return;}else{marr.last=cur;}}if(_1ed){_1ec[_1ed].call(_1ec,to);}else{if((_1f3)&&((dojo.render.html)||(dojo.render.svg))){dj_global["setTimeout"](function(){if(msg){_1ea[_1eb].call(_1ea,to);}else{_1ea[_1eb].apply(_1ea,args);}},_1f2);}else{if(msg){_1ea[_1eb].call(_1ea,to);}else{_1ea[_1eb].apply(_1ea,args);}}}};var _1f9=function(){if(this.squelch){try{return _1e8.apply(this,arguments);}catch(e){dojo.debug(e);}}else{return _1e8.apply(this,arguments);}};if((this["before"])&&(this.before.length>0)){dojo.lang.forEach(this.before.concat(new Array()),_1f9);}var _1fa;try{if((this["around"])&&(this.around.length>0)){var mi=new dojo.event.MethodInvocation(this,obj,args);_1fa=mi.proceed();}else{if(this.methodfunc){_1fa=this.object[this.methodname].apply(this.object,args);}}}catch(e){if(!this.squelch){dojo.debug(e,"when calling",this.methodname,"on",this.object,"with arguments",args);dojo.raise(e);}}if((this["after"])&&(this.after.length>0)){dojo.lang.forEach(this.after.concat(new Array()),_1f9);}return (this.methodfunc)?_1fa: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(_1ff,_200,_201,_202,_203,_204,once,_206,rate,_208,_209){var arr=this.getArr(_203);if(!arr){dojo.raise("bad this: "+this);}var ao=[_1ff,_200,_201,_202,_206,rate,_208,_209];if(once){if(this.hasAdvice(_1ff,_200,_203,arr)>=0){return;}}if(_204=="first"){arr.unshift(ao);}else{arr.push(ao);}},hasAdvice:function(_20c,_20d,_20e,arr){if(!arr){arr=this.getArr(_20e);}var ind=-1;for(var x=0;x<arr.length;x++){var aao=(typeof _20d=="object")?(new String(_20d)).toString():_20d;var a1o=(typeof arr[x][1]=="object")?(new String(arr[x][1])).toString():arr[x][1];if((arr[x][0]==_20c)&&(a1o==aao)){ind=x;}}return ind;},removeAdvice:function(_214,_215,_216,once){var arr=this.getArr(_216);var ind=this.hasAdvice(_214,_215,_216,arr);if(ind==-1){return false;}while(ind!=-1){arr.splice(ind,1);if(once){break;}ind=this.hasAdvice(_214,_215,_216,arr);}return true;}});dojo.provide("dojo.event.topic");dojo.event.topic=new function(){this.topics={};this.getTopic=function(_21a){if(!this.topics[_21a]){this.topics[_21a]=new this.TopicImpl(_21a);}return this.topics[_21a];};this.registerPublisher=function(_21b,obj,_21d){var _21b=this.getTopic(_21b);_21b.registerPublisher(obj,_21d);};this.subscribe=function(_21e,obj,_220){var _21e=this.getTopic(_21e);_21e.subscribe(obj,_220);};this.unsubscribe=function(_221,obj,_223){var _221=this.getTopic(_221);_221.unsubscribe(obj,_223);};this.destroy=function(_224){this.getTopic(_224).destroy();delete this.topics[_224];};this.publishApply=function(_225,args){var _225=this.getTopic(_225);_225.sendMessage.apply(_225,args);};this.publish=function(_227,_228){var _227=this.getTopic(_227);var args=[];for(var x=1;x<arguments.length;x++){args.push(arguments[x]);}_227.sendMessage.apply(_227,args);};};dojo.event.topic.TopicImpl=function(_22b){this.topicName=_22b;this.subscribe=function(_22c,_22d){var tf=_22d||_22c;var to=(!_22d)?dj_global:_22c;return dojo.event.kwConnect({srcObj:this,srcFunc:"sendMessage",adviceObj:to,adviceFunc:tf});};this.unsubscribe=function(_230,_231){var tf=(!_231)?_230:_231;var to=(!_231)?null:_230;return dojo.event.kwDisconnect({srcObj:this,srcFunc:"sendMessage",adviceObj:to,adviceFunc:tf});};this._getJoinPoint=function(){return dojo.event.MethodJoinPoint.getForMethod(this,"sendMessage");};this.setSquelch=function(_234){this._getJoinPoint().squelch=_234;};this.destroy=function(){this._getJoinPoint().disconnect();};this.registerPublisher=function(_235,_236){dojo.event.connect(_235,_236,this,"sendMessage");};this.sendMessage=function(_237){};};dojo.provide("dojo.event.browser");dojo._ie_clobber=new function(){this.clobberNodes=[];function nukeProp(node,prop){try{node[prop]=null;}catch(e){}try{delete node[prop];}catch(e){}try{node.removeAttribute(prop);}catch(e){}}this.clobber=function(_23a){var na;var tna;if(_23a){tna=_23a.all||_23a.getElementsByTagName("*");na=[_23a];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 _23e={};for(var i=na.length-1;i>=0;i=i-1){var el=na[i];try{if(el&&el["__clobberAttrs__"]){for(var j=0;j<el.__clobberAttrs__.length;j++){nukeProp(el,el.__clobberAttrs__[j]);}nukeProp(el,"__clobberAttrs__");nukeProp(el,"__doClobber__");}}catch(e){}}na=null;};};if(dojo.render.html.ie){dojo.addOnUnload(function(){dojo._ie_clobber.clobber();try{if((dojo["widget"])&&(dojo.widget["manager"])){dojo.widget.manager.destroyAll();}}catch(e){}if(dojo.widget){for(var name in dojo.widget._templateCache){if(dojo.widget._templateCache[name].node){dojo.dom.destroyNode(dojo.widget._templateCache[name].node);dojo.widget._templateCache[name].node=null;delete dojo.widget._templateCache[name].node;}}}try{window.onload=null;}catch(e){}try{window.onunload=null;}catch(e){}dojo._ie_clobber.clobberNodes=[];});}dojo.event.browser=new function(){var _243=0;this.normalizedEventName=function(_244){switch(_244){case "CheckboxStateChange":case "DOMAttrModified":case "DOMMenuItemActive":case "DOMMenuItemInactive":case "DOMMouseScroll":case "DOMNodeInserted":case "DOMNodeRemoved":case "RadioStateChange":return _244;break;default:var lcn=_244.toLowerCase();return (lcn.indexOf("on")==0)?lcn.substr(2):lcn;break;}};this.clean=function(node){if(dojo.render.html.ie){dojo._ie_clobber.clobber(node);}};this.addClobberNode=function(node){if(!dojo.render.html.ie){return;}if(!node["__doClobber__"]){node.__doClobber__=true;dojo._ie_clobber.clobberNodes.push(node);node.__clobberAttrs__=[];}};this.addClobberNodeAttrs=function(node,_249){if(!dojo.render.html.ie){return;}this.addClobberNode(node);for(var x=0;x<_249.length;x++){node.__clobberAttrs__.push(_249[x]);}};this.removeListener=function(node,_24c,fp,_24e){if(!_24e){var _24e=false;}_24c=dojo.event.browser.normalizedEventName(_24c);if(_24c=="key"){if(dojo.render.html.ie){this.removeListener(node,"onkeydown",fp,_24e);}_24c="keypress";}if(node.removeEventListener){node.removeEventListener(_24c,fp,_24e);}};this.addListener=function(node,_250,fp,_252,_253){if(!node){return;}if(!_252){var _252=false;}_250=dojo.event.browser.normalizedEventName(_250);if(_250=="key"){if(dojo.render.html.ie){this.addListener(node,"onkeydown",fp,_252,_253);}_250="keypress";}if(!_253){var _254=function(evt){if(!evt){evt=window.event;}var ret=fp(dojo.event.browser.fixEvent(evt,this));if(_252){dojo.event.browser.stopEvent(evt);}return ret;};}else{_254=fp;}if(node.addEventListener){node.addEventListener(_250,_254,_252);return _254;}else{_250="on"+_250;if(typeof node[_250]=="function"){var _257=node[_250];node[_250]=function(e){_257(e);return _254(e);};}else{node[_250]=_254;}if(dojo.render.html.ie){this.addClobberNodeAttrs(node,[_250]);}return _254;}};this.isEvent=function(obj){return (typeof obj!="undefined")&&(obj)&&(typeof Event!="undefined")&&(obj.eventPhase);};this.currentEvent=null;this.callListener=function(_25a,_25b){if(typeof _25a!="function"){dojo.raise("listener not a function: "+_25a);}dojo.event.browser.currentEvent.currentTarget=_25b;return _25a.call(_25b,dojo.event.browser.currentEvent);};this._stopPropagation=function(){dojo.event.browser.currentEvent.cancelBubble=true;};this._preventDefault=function(){dojo.event.browser.currentEvent.returnValue=false;};this.keys={KEY_BACKSPACE:8,KEY_TAB:9,KEY_CLEAR:12,KEY_ENTER:13,KEY_SHIFT:16,KEY_CTRL:17,KEY_ALT:18,KEY_PAUSE:19,KEY_CAPS_LOCK:20,KEY_ESCAPE:27,KEY_SPACE:32,KEY_PAGE_UP:33,KEY_PAGE_DOWN:34,KEY_END:35,KEY_HOME:36,KEY_LEFT_ARROW:37,KEY_UP_ARROW:38,KEY_RIGHT_ARROW:39,KEY_DOWN_ARROW:40,KEY_INSERT:45,KEY_DELETE:46,KEY_HELP:47,KEY_LEFT_WINDOW:91,KEY_RIGHT_WINDOW:92,KEY_SELECT:93,KEY_NUMPAD_0:96,KEY_NUMPAD_1:97,KEY_NUMPAD_2:98,KEY_NUMPAD_3:99,KEY_NUMPAD_4:100,KEY_NUMPAD_5:101,KEY_NUMPAD_6:102,KEY_NUMPAD_7:103,KEY_NUMPAD_8:104,KEY_NUMPAD_9:105,KEY_NUMPAD_MULTIPLY:106,KEY_NUMPAD_PLUS:107,KEY_NUMPAD_ENTER:108,KEY_NUMPAD_MINUS:109,KEY_NUMPAD_PERIOD:110,KEY_NUMPAD_DIVIDE:111,KEY_F1:112,KEY_F2:113,KEY_F3:114,KEY_F4: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,_25e){if(!evt){if(window["event"]){evt=window.event;}}if((evt["type"])&&(evt["type"].indexOf("key")==0)){evt.keys=this.revKeys;for(var key in this.keys){evt[key]=this.keys[key];}if(evt["type"]=="keydown"&&dojo.render.html.ie){switch(evt.keyCode){case evt.KEY_SHIFT:case evt.KEY_CTRL:case evt.KEY_ALT:case evt.KEY_CAPS_LOCK:case evt.KEY_LEFT_WINDOW:case evt.KEY_RIGHT_WINDOW:case evt.KEY_SELECT:case evt.KEY_NUM_LOCK:case evt.KEY_SCROLL_LOCK:case evt.KEY_NUMPAD_0:case evt.KEY_NUMPAD_1:case evt.KEY_NUMPAD_2:case evt.KEY_NUMPAD_3:case evt.KEY_NUMPAD_4:case evt.KEY_NUMPAD_5:case evt.KEY_NUMPAD_6:case evt.KEY_NUMPAD_7:case evt.KEY_NUMPAD_8:case evt.KEY_NUMPAD_9:case evt.KEY_NUMPAD_PERIOD:break;case evt.KEY_NUMPAD_MULTIPLY:case evt.KEY_NUMPAD_PLUS:case evt.KEY_NUMPAD_ENTER:case evt.KEY_NUMPAD_MINUS:case evt.KEY_NUMPAD_DIVIDE:break;case evt.KEY_PAUSE:case evt.KEY_TAB:case evt.KEY_BACKSPACE:case evt.KEY_ENTER:case evt.KEY_ESCAPE:case evt.KEY_PAGE_UP:case evt.KEY_PAGE_DOWN:case evt.KEY_END:case evt.KEY_HOME:case evt.KEY_LEFT_ARROW:case evt.KEY_UP_ARROW:case evt.KEY_RIGHT_ARROW:case evt.KEY_DOWN_ARROW:case evt.KEY_INSERT:case evt.KEY_DELETE:case evt.KEY_F1:case evt.KEY_F2:case evt.KEY_F3:case evt.KEY_F4:case evt.KEY_F5:case evt.KEY_F6:case evt.KEY_F7:case evt.KEY_F8:case evt.KEY_F9:case evt.KEY_F10:case evt.KEY_F11:case evt.KEY_F12:case evt.KEY_F12:case evt.KEY_F13:case evt.KEY_F14:case evt.KEY_F15:case evt.KEY_CLEAR:case evt.KEY_HELP:evt.key=evt.keyCode;break;default:if(evt.ctrlKey||evt.altKey){var _260=evt.keyCode;if(_260>=65&&_260<=90&&evt.shiftKey==false){_260+=32;}if(_260>=1&&_260<=26&&evt.ctrlKey){_260+=96;}evt.key=String.fromCharCode(_260);}}}else{if(evt["type"]=="keypress"){if(dojo.render.html.opera){if(evt.which==0){evt.key=evt.keyCode;}else{if(evt.which>0){switch(evt.which){case evt.KEY_SHIFT:case evt.KEY_CTRL:case evt.KEY_ALT:case evt.KEY_CAPS_LOCK:case evt.KEY_NUM_LOCK:case evt.KEY_SCROLL_LOCK:break;case evt.KEY_PAUSE:case evt.KEY_TAB:case evt.KEY_BACKSPACE:case evt.KEY_ENTER:case evt.KEY_ESCAPE:evt.key=evt.which;break;default:var _260=evt.which;if((evt.ctrlKey||evt.altKey||evt.metaKey)&&(evt.which>=65&&evt.which<=90&&evt.shiftKey==false)){_260+=32;}evt.key=String.fromCharCode(_260);}}}}else{if(dojo.render.html.ie){if(!evt.ctrlKey&&!evt.altKey&&evt.keyCode>=evt.KEY_SPACE){evt.key=String.fromCharCode(evt.keyCode);}}else{if(dojo.render.html.safari){switch(evt.keyCode){case 25:evt.key=evt.KEY_TAB;evt.shift=true;break;case 63232:evt.key=evt.KEY_UP_ARROW;break;case 63233:evt.key=evt.KEY_DOWN_ARROW;break;case 63234:evt.key=evt.KEY_LEFT_ARROW;break;case 63235:evt.key=evt.KEY_RIGHT_ARROW;break;case 63236:evt.key=evt.KEY_F1;break;case 63237:evt.key=evt.KEY_F2;break;case 63238:evt.key=evt.KEY_F3;break;case 63239:evt.key=evt.KEY_F4;break;case 63240:evt.key=evt.KEY_F5;break;case 63241:evt.key=evt.KEY_F6;break;case 63242:evt.key=evt.KEY_F7;break;case 63243:evt.key=evt.KEY_F8;break;case 63244:evt.key=evt.KEY_F9;break;case 63245:evt.key=evt.KEY_F10;break;case 63246:evt.key=evt.KEY_F11;break;case 63247:evt.key=evt.KEY_F12;break;case 63250:evt.key=evt.KEY_PAUSE;break;case 63272:evt.key=evt.KEY_DELETE;break;case 63273:evt.key=evt.KEY_HOME;break;case 63275:evt.key=evt.KEY_END;break;case 63276:evt.key=evt.KEY_PAGE_UP;break;case 63277:evt.key=evt.KEY_PAGE_DOWN;break;case 63302:evt.key=evt.KEY_INSERT;break;case 63248:case 63249:case 63289:break;default:evt.key=evt.charCode>=evt.KEY_SPACE?String.fromCharCode(evt.charCode):evt.keyCode;}}else{evt.key=evt.charCode>0?String.fromCharCode(evt.charCode):evt.keyCode;}}}}}}if(dojo.render.html.ie){if(!evt.target){evt.target=evt.srcElement;}if(!evt.currentTarget){evt.currentTarget=(_25e?_25e: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 _262=((dojo.render.html.ie55)||(doc["compatMode"]=="BackCompat"))?doc.body:doc.documentElement;if(!evt.pageX){evt.pageX=evt.clientX+(_262.scrollLeft||0);}if(!evt.pageY){evt.pageY=evt.clientY+(_262.scrollTop||0);}if(evt.type=="mouseover"){evt.relatedTarget=evt.fromElement;}if(evt.type=="mouseout"){evt.relatedTarget=evt.toElement;}this.currentEvent=evt;evt.callListener=this.callListener;evt.stopPropagation=this._stopPropagation;evt.preventDefault=this._preventDefault;}return evt;};this.stopEvent=function(evt){if(window.event){evt.cancelBubble=true;evt.returnValue=false;}else{evt.preventDefault();evt.stopPropagation();}};};dojo.kwCompoundRequire({common:["dojo.event.common","dojo.event.topic"],browser:["dojo.event.browser"],dashboard:["dojo.event.browser"]});dojo.provide("dojo.event.*");dojo.provide("dojo.dom");dojo.dom.ELEMENT_NODE=1;dojo.dom.ATTRIBUTE_NODE=2;dojo.dom.TEXT_NODE=3;dojo.dom.CDATA_SECTION_NODE=4;dojo.dom.ENTITY_REFERENCE_NODE=5;dojo.dom.ENTITY_NODE=6;dojo.dom.PROCESSING_INSTRUCTION_NODE=7;dojo.dom.COMMENT_NODE=8;dojo.dom.DOCUMENT_NODE=9;dojo.dom.DOCUMENT_TYPE_NODE=10;dojo.dom.DOCUMENT_FRAGMENT_NODE=11;dojo.dom.NOTATION_NODE=12;dojo.dom.dojoml="http://www.dojotoolkit.org/2004/dojoml";dojo.dom.xmlns={svg:"http://www.w3.org/2000/svg",smil:"http://www.w3.org/2001/SMIL20/",mml:"http://www.w3.org/1998/Math/MathML",cml:"http://www.xml-cml.org",xlink:"http://www.w3.org/1999/xlink",xhtml:"http://www.w3.org/1999/xhtml",xul:"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",xbl:"http://www.mozilla.org/xbl",fo:"http://www.w3.org/1999/XSL/Format",xsl:"http://www.w3.org/1999/XSL/Transform",xslt:"http://www.w3.org/1999/XSL/Transform",xi:"http://www.w3.org/2001/XInclude",xforms:"http://www.w3.org/2002/01/xforms",saxon:"http://icl.com/saxon",xalan:"http://xml.apache.org/xslt",xsd:"http://www.w3.org/2001/XMLSchema",dt:"http://www.w3.org/2001/XMLSchema-datatypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",rdf:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",rdfs:"http://www.w3.org/2000/01/rdf-schema#",dc:"http://purl.org/dc/elements/1.1/",dcq:"http://purl.org/dc/qualifiers/1.0","soap-env":"http://schemas.xmlsoap.org/soap/envelope/",wsdl:"http://schemas.xmlsoap.org/wsdl/",AdobeExtensions:"http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"};dojo.dom.isNode=function(wh){if(typeof Element=="function"){try{return wh instanceof Element;}catch(e){}}else{return wh&&!isNaN(wh.nodeType);}};dojo.dom.getUniqueId=function(){var _265=dojo.doc();do{var id="dj_unique_"+(++arguments.callee._idIncrement);}while(_265.getElementById(id));return id;};dojo.dom.getUniqueId._idIncrement=0;dojo.dom.firstElement=dojo.dom.getFirstChildElement=function(_267,_268){var node=_267.firstChild;while(node&&node.nodeType!=dojo.dom.ELEMENT_NODE){node=node.nextSibling;}if(_268&&node&&node.tagName&&node.tagName.toLowerCase()!=_268.toLowerCase()){node=dojo.dom.nextElement(node,_268);}return node;};dojo.dom.lastElement=dojo.dom.getLastChildElement=function(_26a,_26b){var node=_26a.lastChild;while(node&&node.nodeType!=dojo.dom.ELEMENT_NODE){node=node.previousSibling;}if(_26b&&node&&node.tagName&&node.tagName.toLowerCase()!=_26b.toLowerCase()){node=dojo.dom.prevElement(node,_26b);}return node;};dojo.dom.nextElement=dojo.dom.getNextSiblingElement=function(node,_26e){if(!node){return null;}do{node=node.nextSibling;}while(node&&node.nodeType!=dojo.dom.ELEMENT_NODE);if(node&&_26e&&_26e.toLowerCase()!=node.tagName.toLowerCase()){return dojo.dom.nextElement(node,_26e);}return node;};dojo.dom.prevElement=dojo.dom.getPreviousSiblingElement=function(node,_270){if(!node){return null;}if(_270){_270=_270.toLowerCase();}do{node=node.previousSibling;}while(node&&node.nodeType!=dojo.dom.ELEMENT_NODE);if(node&&_270&&_270.toLowerCase()!=node.tagName.toLowerCase()){return dojo.dom.prevElement(node,_270);}return node;};dojo.dom.moveChildren=function(_271,_272,trim){var _274=0;if(trim){while(_271.hasChildNodes()&&_271.firstChild.nodeType==dojo.dom.TEXT_NODE){_271.removeChild(_271.firstChild);}while(_271.hasChildNodes()&&_271.lastChild.nodeType==dojo.dom.TEXT_NODE){_271.removeChild(_271.lastChild);}}while(_271.hasChildNodes()){_272.appendChild(_271.firstChild);_274++;}return _274;};dojo.dom.copyChildren=function(_275,_276,trim){var _278=_275.cloneNode(true);return this.moveChildren(_278,_276,trim);};dojo.dom.replaceChildren=function(node,_27a){var _27b=[];if(dojo.render.html.ie){for(var i=0;i<node.childNodes.length;i++){_27b.push(node.childNodes[i]);}}dojo.dom.removeChildren(node);node.appendChild(_27a);for(var i=0;i<_27b.length;i++){dojo.dom.destroyNode(_27b[i]);}};dojo.dom.removeChildren=function(node){var _27e=node.childNodes.length;while(node.hasChildNodes()){dojo.dom.removeNode(node.firstChild);}return _27e;};dojo.dom.replaceNode=function(node,_280){return node.parentNode.replaceChild(_280,node);};dojo.dom.destroyNode=function(node){if(node.parentNode){node=dojo.dom.removeNode(node);}if(node.nodeType!=3){if(dojo.evalObjPath("dojo.event.browser.clean",false)){dojo.event.browser.clean(node);}if(dojo.render.html.ie){node.outerHTML="";}}};dojo.dom.removeNode=function(node){if(node&&node.parentNode){return node.parentNode.removeChild(node);}};dojo.dom.getAncestors=function(node,_284,_285){var _286=[];var _287=(_284&&(_284 instanceof Function||typeof _284=="function"));while(node){if(!_287||_284(node)){_286.push(node);}if(_285&&_286.length>0){return _286[0];}node=node.parentNode;}if(_285){return null;}return _286;};dojo.dom.getAncestorsByTag=function(node,tag,_28a){tag=tag.toLowerCase();return dojo.dom.getAncestors(node,function(el){return ((el.tagName)&&(el.tagName.toLowerCase()==tag));},_28a);};dojo.dom.getFirstAncestorByTag=function(node,tag){return dojo.dom.getAncestorsByTag(node,tag,true);};dojo.dom.isDescendantOf=function(node,_28f,_290){if(_290&&node){node=node.parentNode;}while(node){if(node==_28f){return true;}node=node.parentNode;}return false;};dojo.dom.innerXML=function(node){if(node.innerXML){return node.innerXML;}else{if(node.xml){return node.xml;}else{if(typeof XMLSerializer!="undefined"){return (new XMLSerializer()).serializeToString(node);}}}};dojo.dom.createDocument=function(){var doc=null;var _293=dojo.doc();if(!dj_undef("ActiveXObject")){var _294=["MSXML2","Microsoft","MSXML","MSXML3"];for(var i=0;i<_294.length;i++){try{doc=new ActiveXObject(_294[i]+".XMLDOM");}catch(e){}if(doc){break;}}}else{if((_293.implementation)&&(_293.implementation.createDocument)){doc=_293.implementation.createDocument("","",null);}}return doc;};dojo.dom.createDocumentFromText=function(str,_297){if(!_297){_297="text/xml";}if(!dj_undef("DOMParser")){var _298=new DOMParser();return _298.parseFromString(str,_297);}else{if(!dj_undef("ActiveXObject")){var _299=dojo.dom.createDocument();if(_299){_299.async=false;_299.loadXML(str);return _299;}else{dojo.debug("toXml didn't work?");}}else{var _29a=dojo.doc();if(_29a.createElement){var tmp=_29a.createElement("xml");tmp.innerHTML=str;if(_29a.implementation&&_29a.implementation.createDocument){var _29c=_29a.implementation.createDocument("foo","",null);for(var i=0;i<tmp.childNodes.length;i++){_29c.importNode(tmp.childNodes.item(i),true);}return _29c;}return ((tmp.document)&&(tmp.document.firstChild?tmp.document.firstChild:tmp));}}}return null;};dojo.dom.prependChild=function(node,_29f){if(_29f.firstChild){_29f.insertBefore(node,_29f.firstChild);}else{_29f.appendChild(node);}return true;};dojo.dom.insertBefore=function(node,ref,_2a2){if((_2a2!=true)&&(node===ref||node.nextSibling===ref)){return false;}var _2a3=ref.parentNode;_2a3.insertBefore(node,ref);return true;};dojo.dom.insertAfter=function(node,ref,_2a6){var pn=ref.parentNode;if(ref==pn.lastChild){if((_2a6!=true)&&(node===ref)){return false;}pn.appendChild(node);}else{return this.insertBefore(node,ref.nextSibling,_2a6);}return true;};dojo.dom.insertAtPosition=function(node,ref,_2aa){if((!node)||(!ref)||(!_2aa)){return false;}switch(_2aa.toLowerCase()){case "before":return dojo.dom.insertBefore(node,ref);case "after":return dojo.dom.insertAfter(node,ref);case "first":if(ref.firstChild){return dojo.dom.insertBefore(node,ref.firstChild);}else{ref.appendChild(node);return true;}break;default:ref.appendChild(node);return true;}};dojo.dom.insertAtIndex=function(node,_2ac,_2ad){var _2ae=_2ac.childNodes;if(!_2ae.length||_2ae.length==_2ad){_2ac.appendChild(node);return true;}if(_2ad==0){return dojo.dom.prependChild(node,_2ac);}return dojo.dom.insertAfter(node,_2ae[_2ad-1]);};dojo.dom.textContent=function(node,text){if(arguments.length>1){var _2b1=dojo.doc();dojo.dom.replaceChildren(node,_2b1.createTextNode(text));return text;}else{if(node.textContent!=undefined){return node.textContent;}var _2b2="";if(node==null){return _2b2;}for(var i=0;i<node.childNodes.length;i++){switch(node.childNodes[i].nodeType){case 1:case 5:_2b2+=dojo.dom.textContent(node.childNodes[i]);break;case 3:case 2:case 4:_2b2+=node.childNodes[i].nodeValue;break;default:break;}}return _2b2;}};dojo.dom.hasParent=function(node){return Boolean(node&&node.parentNode&&dojo.dom.isNode(node.parentNode));};dojo.dom.isTag=function(node){if(node&&node.tagName){for(var i=1;i<arguments.length;i++){if(node.tagName==String(arguments[i])){return String(arguments[i]);}}}return "";};dojo.dom.setAttributeNS=function(elem,_2b8,_2b9,_2ba){if(elem==null||((elem==undefined)&&(typeof elem=="undefined"))){dojo.raise("No element given to dojo.dom.setAttributeNS");}if(!((elem.setAttributeNS==undefined)&&(typeof elem.setAttributeNS=="undefined"))){elem.setAttributeNS(_2b8,_2b9,_2ba);}else{var _2bb=elem.ownerDocument;var _2bc=_2bb.createNode(2,_2b9,_2b8);_2bc.nodeValue=_2ba;elem.setAttributeNode(_2bc);}};dojo.provide("dojo.html.common");dojo.lang.mixin(dojo.html,dojo.dom);dojo.html.body=function(){dojo.deprecated("dojo.html.body() moved to dojo.body()","0.5");return dojo.body();};dojo.html.getEventTarget=function(evt){if(!evt){evt=dojo.global().event||{};}var t=(evt.srcElement?evt.srcElement:(evt.target?evt.target:null));while((t)&&(t.nodeType!=1)){t=t.parentNode;}return t;};dojo.html.getViewport=function(){var _2bf=dojo.global();var _2c0=dojo.doc();var w=0;var h=0;if(dojo.render.html.mozilla){w=_2c0.documentElement.clientWidth;h=_2bf.innerHeight;}else{if(!dojo.render.html.opera&&_2bf.innerWidth){w=_2bf.innerWidth;h=_2bf.innerHeight;}else{if(!dojo.render.html.opera&&dojo.exists(_2c0,"documentElement.clientWidth")){var w2=_2c0.documentElement.clientWidth;if(!w||w2&&w2<w){w=w2;}h=_2c0.documentElement.clientHeight;}else{if(dojo.body().clientWidth){w=dojo.body().clientWidth;h=dojo.body().clientHeight;}}}}return {width:w,height:h};};dojo.html.getScroll=function(){var _2c4=dojo.global();var _2c5=dojo.doc();var top=_2c4.pageYOffset||_2c5.documentElement.scrollTop||dojo.body().scrollTop||0;var left=_2c4.pageXOffset||_2c5.documentElement.scrollLeft||dojo.body().scrollLeft||0;return {top:top,left:left,offset:{x:left,y:top}};};dojo.html.getParentByType=function(node,type){var _2ca=dojo.doc();var _2cb=dojo.byId(node);type=type.toLowerCase();while((_2cb)&&(_2cb.nodeName.toLowerCase()!=type)){if(_2cb==(_2ca["body"]||_2ca["documentElement"])){return null;}_2cb=_2cb.parentNode;}return _2cb;};dojo.html.getAttribute=function(node,attr){node=dojo.byId(node);if((!node)||(!node.getAttribute)){return null;}var ta=typeof attr=="string"?attr:new String(attr);var v=node.getAttribute(ta.toUpperCase());if((v)&&(typeof v=="string")&&(v!="")){return v;}if(v&&v.value){return v.value;}if((node.getAttributeNode)&&(node.getAttributeNode(ta))){return (node.getAttributeNode(ta)).value;}else{if(node.getAttribute(ta)){return node.getAttribute(ta);}else{if(node.getAttribute(ta.toLowerCase())){return node.getAttribute(ta.toLowerCase());}}}return null;};dojo.html.hasAttribute=function(node,attr){return dojo.html.getAttribute(dojo.byId(node),attr)?true:false;};dojo.html.getCursorPosition=function(e){e=e||dojo.global().event;var _2d3={x:0,y:0};if(e.pageX||e.pageY){_2d3.x=e.pageX;_2d3.y=e.pageY;}else{var de=dojo.doc().documentElement;var db=dojo.body();_2d3.x=e.clientX+((de||db)["scrollLeft"])-((de||db)["clientLeft"]);_2d3.y=e.clientY+((de||db)["scrollTop"])-((de||db)["clientTop"]);}return _2d3;};dojo.html.isTag=function(node){node=dojo.byId(node);if(node&&node.tagName){for(var i=1;i<arguments.length;i++){if(node.tagName.toLowerCase()==String(arguments[i]).toLowerCase()){return String(arguments[i]).toLowerCase();}}}return "";};if(dojo.render.html.ie&&!dojo.render.html.ie70){if(window.location.href.substr(0,6).toLowerCase()!="https:"){(function(){var _2d8=dojo.doc().createElement("script");_2d8.src="javascript:'dojo.html.createExternalElement=function(doc, tag){ return doc.createElement(tag); }'";dojo.doc().getElementsByTagName("head")[0].appendChild(_2d8);})();}}else{dojo.html.createExternalElement=function(doc,tag){return doc.createElement(tag);};}dojo.html._callDeprecated=function(_2db,_2dc,args,_2de,_2df){dojo.deprecated("dojo.html."+_2db,"replaced by dojo.html."+_2dc+"("+(_2de?"node, {"+_2de+": "+_2de+"}":"")+")"+(_2df?"."+_2df:""),"0.5");var _2e0=[];if(_2de){var _2e1={};_2e1[_2de]=args[1];_2e0.push(args[0]);_2e0.push(_2e1);}else{_2e0=args;}var ret=dojo.html[_2dc].apply(dojo.html,args);if(_2df){return ret[_2df];}else{return ret;}};dojo.html.getViewportWidth=function(){return dojo.html._callDeprecated("getViewportWidth","getViewport",arguments,null,"width");};dojo.html.getViewportHeight=function(){return dojo.html._callDeprecated("getViewportHeight","getViewport",arguments,null,"height");};dojo.html.getViewportSize=function(){return dojo.html._callDeprecated("getViewportSize","getViewport",arguments);};dojo.html.getScrollTop=function(){return dojo.html._callDeprecated("getScrollTop","getScroll",arguments,null,"top");};dojo.html.getScrollLeft=function(){return dojo.html._callDeprecated("getScrollLeft","getScroll",arguments,null,"left");};dojo.html.getScrollOffset=function(){return dojo.html._callDeprecated("getScrollOffset","getScroll",arguments,null,"offset");};dojo.provide("dojo.uri.Uri");dojo.uri=new function(){this.dojoUri=function(uri){return new dojo.uri.Uri(dojo.hostenv.getBaseScriptUri(),uri);};this.moduleUri=function(_2e4,uri){var loc=dojo.hostenv.getModuleSymbols(_2e4).join("/");if(!loc){return null;}if(loc.lastIndexOf("/")!=loc.length-1){loc+="/";}var _2e7=loc.indexOf(":");var _2e8=loc.indexOf("/");if(loc.charAt(0)!="/"&&(_2e7==-1||_2e7>_2e8)){loc=dojo.hostenv.getBaseScriptUri()+loc;}return new dojo.uri.Uri(loc,uri);};this.Uri=function(){var uri=arguments[0];for(var i=1;i<arguments.length;i++){if(!arguments[i]){continue;}var _2eb=new dojo.uri.Uri(arguments[i].toString());var _2ec=new dojo.uri.Uri(uri.toString());if((_2eb.path=="")&&(_2eb.scheme==null)&&(_2eb.authority==null)&&(_2eb.query==null)){if(_2eb.fragment!=null){_2ec.fragment=_2eb.fragment;}_2eb=_2ec;}else{if(_2eb.scheme==null){_2eb.scheme=_2ec.scheme;if(_2eb.authority==null){_2eb.authority=_2ec.authority;if(_2eb.path.charAt(0)!="/"){var path=_2ec.path.substring(0,_2ec.path.lastIndexOf("/")+1)+_2eb.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;}}}}_2eb.path=segs.join("/");}}}}uri="";if(_2eb.scheme!=null){uri+=_2eb.scheme+":";}if(_2eb.authority!=null){uri+="//"+_2eb.authority;}uri+=_2eb.path;if(_2eb.query!=null){uri+="?"+_2eb.query;}if(_2eb.fragment!=null){uri+="#"+_2eb.fragment;}}this.uri=uri.toString();var _2f0="^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$";var r=this.uri.match(new RegExp(_2f0));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){_2f0="^((([^:]+:)?([^@]+))@)?([^:]*)(:([0-9]+))?$";r=this.authority.match(new RegExp(_2f0));this.user=r[3]||null;this.password=r[4]||null;this.host=r[5];this.port=r[7]||null;}this.toString=function(){return this.uri;};};};dojo.provide("dojo.html.style");dojo.html.getClass=function(node){node=dojo.byId(node);if(!node){return "";}var cs="";if(node.className){cs=node.className;}else{if(dojo.html.hasAttribute(node,"class")){cs=dojo.html.getAttribute(node,"class");}}return cs.replace(/^\s+|\s+$/g,"");};dojo.html.getClasses=function(node){var c=dojo.html.getClass(node);return (c=="")?[]:c.split(/\s+/g);};dojo.html.hasClass=function(node,_2f7){return (new RegExp("(^|\\s+)"+_2f7+"(\\s+|$)")).test(dojo.html.getClass(node));};dojo.html.prependClass=function(node,_2f9){_2f9+=" "+dojo.html.getClass(node);return dojo.html.setClass(node,_2f9);};dojo.html.addClass=function(node,_2fb){if(dojo.html.hasClass(node,_2fb)){return false;}_2fb=(dojo.html.getClass(node)+" "+_2fb).replace(/^\s+|\s+$/g,"");return dojo.html.setClass(node,_2fb);};dojo.html.setClass=function(node,_2fd){node=dojo.byId(node);var cs=new String(_2fd);try{if(typeof node.className=="string"){node.className=cs;}else{if(node.setAttribute){node.setAttribute("class",_2fd);node.className=cs;}else{return false;}}}catch(e){dojo.debug("dojo.html.setClass() failed",e);}return true;};dojo.html.removeClass=function(node,_300,_301){try{if(!_301){var _302=dojo.html.getClass(node).replace(new RegExp("(^|\\s+)"+_300+"(\\s+|$)"),"$1$2");}else{var _302=dojo.html.getClass(node).replace(_300,"");}dojo.html.setClass(node,_302);}catch(e){dojo.debug("dojo.html.removeClass() failed",e);}return true;};dojo.html.replaceClass=function(node,_304,_305){dojo.html.removeClass(node,_305);dojo.html.addClass(node,_304);};dojo.html.classMatchType={ContainsAll:0,ContainsAny:1,IsOnly:2};dojo.html.getElementsByClass=function(_306,_307,_308,_309,_30a){_30a=false;var _30b=dojo.doc();_307=dojo.byId(_307)||_30b;var _30c=_306.split(/\s+/g);var _30d=[];if(_309!=1&&_309!=2){_309=0;}var _30e=new RegExp("(\\s|^)(("+_30c.join(")|(")+"))(\\s|$)");var _30f=_30c.join(" ").length;var _310=[];if(!_30a&&_30b.evaluate){var _311=".//"+(_308||"*")+"[contains(";if(_309!=dojo.html.classMatchType.ContainsAny){_311+="concat(' ',@class,' '), ' "+_30c.join(" ') and contains(concat(' ',@class,' '), ' ")+" ')";if(_309==2){_311+=" and string-length(@class)="+_30f+"]";}else{_311+="]";}}else{_311+="concat(' ',@class,' '), ' "+_30c.join(" ') or contains(concat(' ',@class,' '), ' ")+" ')]";}var _312=_30b.evaluate(_311,_307,null,XPathResult.ANY_TYPE,null);var _313=_312.iterateNext();while(_313){try{_310.push(_313);_313=_312.iterateNext();}catch(e){break;}}return _310;}else{if(!_308){_308="*";}_310=_307.getElementsByTagName(_308);var node,i=0;outer:while(node=_310[i++]){var _316=dojo.html.getClasses(node);if(_316.length==0){continue outer;}var _317=0;for(var j=0;j<_316.length;j++){if(_30e.test(_316[j])){if(_309==dojo.html.classMatchType.ContainsAny){_30d.push(node);continue outer;}else{_317++;}}else{if(_309==dojo.html.classMatchType.IsOnly){continue outer;}}}if(_317==_30c.length){if((_309==dojo.html.classMatchType.IsOnly)&&(_317==_316.length)){_30d.push(node);}else{if(_309==dojo.html.classMatchType.ContainsAll){_30d.push(node);}}}}return _30d;}};dojo.html.getElementsByClassName=dojo.html.getElementsByClass;dojo.html.toCamelCase=function(_319){var arr=_319.split("-"),cc=arr[0];for(var i=1;i<arr.length;i++){cc+=arr[i].charAt(0).toUpperCase()+arr[i].substring(1);}return cc;};dojo.html.toSelectorCase=function(_31d){return _31d.replace(/([A-Z])/g,"-$1").toLowerCase();};if(dojo.render.html.ie){dojo.html.getComputedStyle=function(node,_31f,_320){node=dojo.byId(node);if(!node||!node.currentStyle){return _320;}return node.currentStyle[dojo.html.toCamelCase(_31f)];};dojo.html.getComputedStyles=function(node){return node.currentStyle;};}else{dojo.html.getComputedStyle=function(node,_323,_324){node=dojo.byId(node);if(!node||!node.style){return _324;}var s=document.defaultView.getComputedStyle(node,null);return (s&&s[dojo.html.toCamelCase(_323)])||"";};dojo.html.getComputedStyles=function(node){return document.defaultView.getComputedStyle(node,null);};}dojo.html.getStyleProperty=function(node,_328){node=dojo.byId(node);return (node&&node.style?node.style[dojo.html.toCamelCase(_328)]:undefined);};dojo.html.getStyle=function(node,_32a){var _32b=dojo.html.getStyleProperty(node,_32a);return (_32b?_32b:dojo.html.getComputedStyle(node,_32a));};dojo.html.setStyle=function(node,_32d,_32e){node=dojo.byId(node);if(node&&node.style){var _32f=dojo.html.toCamelCase(_32d);node.style[_32f]=_32e;}};dojo.html.setStyleText=function(_330,text){try{_330.style.cssText=text;}catch(e){_330.setAttribute("style",text);}};dojo.html.copyStyle=function(_332,_333){if(!_333.style.cssText){_332.setAttribute("style",_333.getAttribute("style"));}else{_332.style.cssText=_333.style.cssText;}dojo.html.addClass(_332,dojo.html.getClass(_333));};dojo.html.getUnitValue=function(node,_335,_336){var s=dojo.html.getComputedStyle(node,_335);if((!s)||((s=="auto")&&(_336))){return {value:0,units:"px"};}var _338=s.match(/(\-?[\d.]+)([a-z%]*)/i);if(!_338){return dojo.html.getUnitValue.bad;}return {value:Number(_338[1]),units:_338[2].toLowerCase()};};dojo.html.getUnitValue.bad={value:NaN,units:""};if(dojo.render.html.ie){dojo.html.toPixelValue=function(_339,_33a){if(!_33a){return 0;}if(_33a.slice(-2)=="px"){return parseFloat(_33a);}var _33b=0;with(_339){var _33c=style.left;var _33d=runtimeStyle.left;runtimeStyle.left=currentStyle.left;try{style.left=_33a||0;_33b=style.pixelLeft;style.left=_33c;runtimeStyle.left=_33d;}catch(e){}}return _33b;};}else{dojo.html.toPixelValue=function(_33e,_33f){return (_33f&&(_33f.slice(-2)=="px")?parseFloat(_33f):0);};}dojo.html.getPixelValue=function(node,_341,_342){return dojo.html.toPixelValue(node,dojo.html.getComputedStyle(node,_341));};dojo.html.setPositivePixelValue=function(node,_344,_345){if(isNaN(_345)){return false;}node.style[_344]=Math.max(0,_345)+"px";return true;};dojo.html.styleSheet=null;dojo.html.insertCssRule=function(_346,_347,_348){if(!dojo.html.styleSheet){if(document.createStyleSheet){dojo.html.styleSheet=document.createStyleSheet();}else{if(document.styleSheets[0]){dojo.html.styleSheet=document.styleSheets[0];}else{return null;}}}if(arguments.length<3){if(dojo.html.styleSheet.cssRules){_348=dojo.html.styleSheet.cssRules.length;}else{if(dojo.html.styleSheet.rules){_348=dojo.html.styleSheet.rules.length;}else{return null;}}}if(dojo.html.styleSheet.insertRule){var rule=_346+" { "+_347+" }";return dojo.html.styleSheet.insertRule(rule,_348);}else{if(dojo.html.styleSheet.addRule){return dojo.html.styleSheet.addRule(_346,_347,_348);}else{return null;}}};dojo.html.removeCssRule=function(_34a){if(!dojo.html.styleSheet){dojo.debug("no stylesheet defined for removing rules");return false;}if(dojo.render.html.ie){if(!_34a){_34a=dojo.html.styleSheet.rules.length;dojo.html.styleSheet.removeRule(_34a);}}else{if(document.styleSheets[0]){if(!_34a){_34a=dojo.html.styleSheet.cssRules.length;}dojo.html.styleSheet.deleteRule(_34a);}}return true;};dojo.html._insertedCssFiles=[];dojo.html.insertCssFile=function(URI,doc,_34d,_34e){if(!URI){return;}if(!doc){doc=document;}var _34f=dojo.hostenv.getText(URI,false,_34e);if(_34f===null){return;}_34f=dojo.html.fixPathsInCssText(_34f,URI);if(_34d){var idx=-1,node,ent=dojo.html._insertedCssFiles;for(var i=0;i<ent.length;i++){if((ent[i].doc==doc)&&(ent[i].cssText==_34f)){idx=i;node=ent[i].nodeRef;break;}}if(node){var _354=doc.getElementsByTagName("style");for(var i=0;i<_354.length;i++){if(_354[i]==node){return;}}dojo.html._insertedCssFiles.shift(idx,1);}}var _355=dojo.html.insertCssText(_34f,doc);dojo.html._insertedCssFiles.push({"doc":doc,"cssText":_34f,"nodeRef":_355});if(_355&&djConfig.isDebug){_355.setAttribute("dbgHref",URI);}return _355;};dojo.html.insertCssText=function(_356,doc,URI){if(!_356){return;}if(!doc){doc=document;}if(URI){_356=dojo.html.fixPathsInCssText(_356,URI);}var _359=doc.createElement("style");_359.setAttribute("type","text/css");var head=doc.getElementsByTagName("head")[0];if(!head){dojo.debug("No head tag in document, aborting styles");return;}else{head.appendChild(_359);}if(_359.styleSheet){var _35b=function(){try{_359.styleSheet.cssText=_356;}catch(e){dojo.debug(e);}};if(_359.styleSheet.disabled){setTimeout(_35b,10);}else{_35b();}}else{var _35c=doc.createTextNode(_356);_359.appendChild(_35c);}return _359;};dojo.html.fixPathsInCssText=function(_35d,URI){if(!_35d||!URI){return;}var _35f,str="",url="",_362="[\\t\\s\\w\\(\\)\\/\\.\\\\'\"-:#=&?~]+";var _363=new RegExp("url\\(\\s*("+_362+")\\s*\\)");var _364=/(file|https?|ftps?):\/\//;regexTrim=new RegExp("^[\\s]*(['\"]?)("+_362+")\\1[\\s]*?$");if(dojo.render.html.ie55||dojo.render.html.ie60){var _365=new RegExp("AlphaImageLoader\\((.*)src=['\"]("+_362+")['\"]");while(_35f=_365.exec(_35d)){url=_35f[2].replace(regexTrim,"$2");if(!_364.exec(url)){url=(new dojo.uri.Uri(URI,url).toString());}str+=_35d.substring(0,_35f.index)+"AlphaImageLoader("+_35f[1]+"src='"+url+"'";_35d=_35d.substr(_35f.index+_35f[0].length);}_35d=str+_35d;str="";}while(_35f=_363.exec(_35d)){url=_35f[1].replace(regexTrim,"$2");if(!_364.exec(url)){url=(new dojo.uri.Uri(URI,url).toString());}str+=_35d.substring(0,_35f.index)+"url("+url+")";_35d=_35d.substr(_35f.index+_35f[0].length);}return str+_35d;};dojo.html.setActiveStyleSheet=function(_366){var i=0,a,els=dojo.doc().getElementsByTagName("link");while(a=els[i++]){if(a.getAttribute("rel").indexOf("style")!=-1&&a.getAttribute("title")){a.disabled=true;if(a.getAttribute("title")==_366){a.disabled=false;}}}};dojo.html.getActiveStyleSheet=function(){var i=0,a,els=dojo.doc().getElementsByTagName("link");while(a=els[i++]){if(a.getAttribute("rel").indexOf("style")!=-1&&a.getAttribute("title")&&!a.disabled){return a.getAttribute("title");}}return null;};dojo.html.getPreferredStyleSheet=function(){var i=0,a,els=dojo.doc().getElementsByTagName("link");while(a=els[i++]){if(a.getAttribute("rel").indexOf("style")!=-1&&a.getAttribute("rel").indexOf("alt")==-1&&a.getAttribute("title")){return a.getAttribute("title");}}return null;};dojo.html.applyBrowserClass=function(node){var drh=dojo.render.html;var _372={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(dojo.render.version)==8),dj_opera9:drh.opera&&(Math.floor(dojo.render.version)==9),dj_khtml:drh.khtml,dj_safari:drh.safari,dj_gecko:drh.mozilla};for(var p in _372){if(_372[p]){dojo.html.addClass(node,p);}}};dojo.provide("dojo.html.display");dojo.html._toggle=function(node,_375,_376){node=dojo.byId(node);_376(node,!_375(node));return _375(node);};dojo.html.show=function(node){node=dojo.byId(node);if(dojo.html.getStyleProperty(node,"display")=="none"){dojo.html.setStyle(node,"display",(node.dojoDisplayCache||""));node.dojoDisplayCache=undefined;}};dojo.html.hide=function(node){node=dojo.byId(node);if(typeof node["dojoDisplayCache"]=="undefined"){var d=dojo.html.getStyleProperty(node,"display");if(d!="none"){node.dojoDisplayCache=d;}}dojo.html.setStyle(node,"display","none");};dojo.html.setShowing=function(node,_37b){dojo.html[(_37b?"show":"hide")](node);};dojo.html.isShowing=function(node){return (dojo.html.getStyleProperty(node,"display")!="none");};dojo.html.toggleShowing=function(node){return dojo.html._toggle(node,dojo.html.isShowing,dojo.html.setShowing);};dojo.html.displayMap={tr:"",td:"",th:"",img:"inline",span:"inline",input:"inline",button:"inline"};dojo.html.suggestDisplayByTagName=function(node){node=dojo.byId(node);if(node&&node.tagName){var tag=node.tagName.toLowerCase();return (tag in dojo.html.displayMap?dojo.html.displayMap[tag]:"block");}};dojo.html.setDisplay=function(node,_381){dojo.html.setStyle(node,"display",((_381 instanceof String||typeof _381=="string")?_381:(_381?dojo.html.suggestDisplayByTagName(node):"none")));};dojo.html.isDisplayed=function(node){return (dojo.html.getComputedStyle(node,"display")!="none");};dojo.html.toggleDisplay=function(node){return dojo.html._toggle(node,dojo.html.isDisplayed,dojo.html.setDisplay);};dojo.html.setVisibility=function(node,_385){dojo.html.setStyle(node,"visibility",((_385 instanceof String||typeof _385=="string")?_385:(_385?"visible":"hidden")));};dojo.html.isVisible=function(node){return (dojo.html.getComputedStyle(node,"visibility")!="hidden");};dojo.html.toggleVisibility=function(node){return dojo.html._toggle(node,dojo.html.isVisible,dojo.html.setVisibility);};dojo.html.setOpacity=function(node,_389,_38a){node=dojo.byId(node);var h=dojo.render.html;if(!_38a){if(_389>=1){if(h.ie){dojo.html.clearOpacity(node);return;}else{_389=0.999999;}}else{if(_389<0){_389=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="+_389*100+")";}}node.style.filter="Alpha(Opacity="+_389*100+")";}else{if(h.moz){node.style.opacity=_389;node.style.MozOpacity=_389;}else{if(h.safari){node.style.opacity=_389;node.style.KhtmlOpacity=_389;}else{node.style.opacity=_389;}}}};dojo.html.clearOpacity=function(node){node=dojo.byId(node);var ns=node.style;var h=dojo.render.html;if(h.ie){try{if(node.filters&&node.filters.alpha){ns.filter="";}}catch(e){}}else{if(h.moz){ns.opacity=1;ns.MozOpacity=1;}else{if(h.safari){ns.opacity=1;ns.KhtmlOpacity=1;}else{ns.opacity=1;}}}};dojo.html.getOpacity=function(node){node=dojo.byId(node);var h=dojo.render.html;if(h.ie){var opac=(node.filters&&node.filters.alpha&&typeof node.filters.alpha.opacity=="number"?node.filters.alpha.opacity:100)/100;}else{var opac=node.style.opacity||node.style.MozOpacity||node.style.KhtmlOpacity||1;}return opac>=0.999999?1:Number(opac);};dojo.provide("dojo.html.layout");dojo.html.sumAncestorProperties=function(node,prop){node=dojo.byId(node);if(!node){return 0;}var _396=0;while(node){if(dojo.html.getComputedStyle(node,"position")=="fixed"){return 0;}var val=node[prop];if(val){_396+=val-0;if(node==dojo.body()){break;}}node=node.parentNode;}return _396;};dojo.html.setStyleAttributes=function(node,_399){node=dojo.byId(node);var _39a=_399.replace(/(;)?\s*$/,"").split(";");for(var i=0;i<_39a.length;i++){var _39c=_39a[i].split(":");var name=_39c[0].replace(/\s*$/,"").replace(/^\s*/,"").toLowerCase();var _39e=_39c[1].replace(/\s*$/,"").replace(/^\s*/,"");switch(name){case "opacity":dojo.html.setOpacity(node,_39e);break;case "content-height":dojo.html.setContentBox(node,{height:_39e});break;case "content-width":dojo.html.setContentBox(node,{width:_39e});break;case "outer-height":dojo.html.setMarginBox(node,{height:_39e});break;case "outer-width":dojo.html.setMarginBox(node,{width:_39e});break;default:node.style[dojo.html.toCamelCase(name)]=_39e;}}};dojo.html.boxSizing={MARGIN_BOX:"margin-box",BORDER_BOX:"border-box",PADDING_BOX:"padding-box",CONTENT_BOX:"content-box"};dojo.html.getAbsolutePosition=dojo.html.abs=function(node,_3a0,_3a1){node=dojo.byId(node,node.ownerDocument);var ret={x:0,y:0};var bs=dojo.html.boxSizing;if(!_3a1){_3a1=bs.CONTENT_BOX;}var _3a4=2;var _3a5;switch(_3a1){case bs.MARGIN_BOX:_3a5=3;break;case bs.BORDER_BOX:_3a5=2;break;case bs.PADDING_BOX:default:_3a5=1;break;case bs.CONTENT_BOX:_3a5=0;break;}var h=dojo.render.html;var db=document["body"]||document["documentElement"];if(h.ie){with(node.getBoundingClientRect()){ret.x=left-2;ret.y=top-2;}}else{if(document.getBoxObjectFor){_3a4=1;try{var bo=document.getBoxObjectFor(node);ret.x=bo.x-dojo.html.sumAncestorProperties(node,"scrollLeft");ret.y=bo.y-dojo.html.sumAncestorProperties(node,"scrollTop");}catch(e){}}else{if(node["offsetParent"]){var _3a9;if((h.safari)&&(node.style.getPropertyValue("position")=="absolute")&&(node.parentNode==db)){_3a9=db;}else{_3a9=db.parentNode;}if(node.parentNode!=db){var nd=node;if(dojo.render.html.opera){nd=db;}ret.x-=dojo.html.sumAncestorProperties(nd,"scrollLeft");ret.y-=dojo.html.sumAncestorProperties(nd,"scrollTop");}var _3ab=node;do{var n=_3ab["offsetLeft"];if(!h.opera||n>0){ret.x+=isNaN(n)?0:n;}var m=_3ab["offsetTop"];ret.y+=isNaN(m)?0:m;_3ab=_3ab.offsetParent;}while((_3ab!=_3a9)&&(_3ab!=null));}else{if(node["x"]&&node["y"]){ret.x+=isNaN(node.x)?0:node.x;ret.y+=isNaN(node.y)?0:node.y;}}}}if(_3a0){var _3ae=dojo.html.getScroll();ret.y+=_3ae.top;ret.x+=_3ae.left;}var _3af=[dojo.html.getPaddingExtent,dojo.html.getBorderExtent,dojo.html.getMarginExtent];if(_3a4>_3a5){for(var i=_3a5;i<_3a4;++i){ret.y+=_3af[i](node,"top");ret.x+=_3af[i](node,"left");}}else{if(_3a4<_3a5){for(var i=_3a5;i>_3a4;--i){ret.y-=_3af[i-1](node,"top");ret.x-=_3af[i-1](node,"left");}}}ret.top=ret.y;ret.left=ret.x;return ret;};dojo.html.isPositionAbsolute=function(node){return (dojo.html.getComputedStyle(node,"position")=="absolute");};dojo.html._sumPixelValues=function(node,_3b3,_3b4){var _3b5=0;for(var x=0;x<_3b3.length;x++){_3b5+=dojo.html.getPixelValue(node,_3b3[x],_3b4);}return _3b5;};dojo.html.getMargin=function(node){return {width:dojo.html._sumPixelValues(node,["margin-left","margin-right"],(dojo.html.getComputedStyle(node,"position")=="absolute")),height:dojo.html._sumPixelValues(node,["margin-top","margin-bottom"],(dojo.html.getComputedStyle(node,"position")=="absolute"))};};dojo.html.getBorder=function(node){return {width:dojo.html.getBorderExtent(node,"left")+dojo.html.getBorderExtent(node,"right"),height:dojo.html.getBorderExtent(node,"top")+dojo.html.getBorderExtent(node,"bottom")};};dojo.html.getBorderExtent=function(node,side){return (dojo.html.getStyle(node,"border-"+side+"-style")=="none"?0:dojo.html.getPixelValue(node,"border-"+side+"-width"));};dojo.html.getMarginExtent=function(node,side){return dojo.html._sumPixelValues(node,["margin-"+side],dojo.html.isPositionAbsolute(node));};dojo.html.getPaddingExtent=function(node,side){return dojo.html._sumPixelValues(node,["padding-"+side],true);};dojo.html.getPadding=function(node){return {width:dojo.html._sumPixelValues(node,["padding-left","padding-right"],true),height:dojo.html._sumPixelValues(node,["padding-top","padding-bottom"],true)};};dojo.html.getPadBorder=function(node){var pad=dojo.html.getPadding(node);var _3c2=dojo.html.getBorder(node);return {width:pad.width+_3c2.width,height:pad.height+_3c2.height};};dojo.html.getBoxSizing=function(node){var h=dojo.render.html;var bs=dojo.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 _3c7;if(!h.ie){_3c7=dojo.html.getStyle(node,"-moz-box-sizing");if(!_3c7){_3c7=dojo.html.getStyle(node,"box-sizing");}}return (_3c7?_3c7:bs.CONTENT_BOX);}};dojo.html.isBorderBox=function(node){return (dojo.html.getBoxSizing(node)==dojo.html.boxSizing.BORDER_BOX);};dojo.html.getBorderBox=function(node){node=dojo.byId(node);return {width:node.offsetWidth,height:node.offsetHeight};};dojo.html.getPaddingBox=function(node){var box=dojo.html.getBorderBox(node);var _3cc=dojo.html.getBorder(node);return {width:box.width-_3cc.width,height:box.height-_3cc.height};};dojo.html.getContentBox=function(node){node=dojo.byId(node);var _3ce=dojo.html.getPadBorder(node);return {width:node.offsetWidth-_3ce.width,height:node.offsetHeight-_3ce.height};};dojo.html.setContentBox=function(node,args){node=dojo.byId(node);var _3d1=0;var _3d2=0;var isbb=dojo.html.isBorderBox(node);var _3d4=(isbb?dojo.html.getPadBorder(node):{width:0,height:0});var ret={};if(typeof args.width!="undefined"){_3d1=args.width+_3d4.width;ret.width=dojo.html.setPositivePixelValue(node,"width",_3d1);}if(typeof args.height!="undefined"){_3d2=args.height+_3d4.height;ret.height=dojo.html.setPositivePixelValue(node,"height",_3d2);}return ret;};dojo.html.getMarginBox=function(node){var _3d7=dojo.html.getBorderBox(node);var _3d8=dojo.html.getMargin(node);return {width:_3d7.width+_3d8.width,height:_3d7.height+_3d8.height};};dojo.html.setMarginBox=function(node,args){node=dojo.byId(node);var _3db=0;var _3dc=0;var isbb=dojo.html.isBorderBox(node);var _3de=(!isbb?dojo.html.getPadBorder(node):{width:0,height:0});var _3df=dojo.html.getMargin(node);var ret={};if(typeof args.width!="undefined"){_3db=args.width-_3de.width;_3db-=_3df.width;ret.width=dojo.html.setPositivePixelValue(node,"width",_3db);}if(typeof args.height!="undefined"){_3dc=args.height-_3de.height;_3dc-=_3df.height;ret.height=dojo.html.setPositivePixelValue(node,"height",_3dc);}return ret;};dojo.html.getElementBox=function(node,type){var bs=dojo.html.boxSizing;switch(type){case bs.MARGIN_BOX:return dojo.html.getMarginBox(node);case bs.BORDER_BOX:return dojo.html.getBorderBox(node);case bs.PADDING_BOX:return dojo.html.getPaddingBox(node);case bs.CONTENT_BOX:default:return dojo.html.getContentBox(node);}};dojo.html.toCoordinateObject=dojo.html.toCoordinateArray=function(_3e4,_3e5,_3e6){if(_3e4 instanceof Array||typeof _3e4=="array"){dojo.deprecated("dojo.html.toCoordinateArray","use dojo.html.toCoordinateObject({left: , top: , width: , height: }) instead","0.5");while(_3e4.length<4){_3e4.push(0);}while(_3e4.length>4){_3e4.pop();}var ret={left:_3e4[0],top:_3e4[1],width:_3e4[2],height:_3e4[3]};}else{if(!_3e4.nodeType&&!(_3e4 instanceof String||typeof _3e4=="string")&&("width" in _3e4||"height" in _3e4||"left" in _3e4||"x" in _3e4||"top" in _3e4||"y" in _3e4)){var ret={left:_3e4.left||_3e4.x||0,top:_3e4.top||_3e4.y||0,width:_3e4.width||0,height:_3e4.height||0};}else{var node=dojo.byId(_3e4);var pos=dojo.html.abs(node,_3e5,_3e6);var _3ea=dojo.html.getMarginBox(node);var ret={left:pos.left,top:pos.top,width:_3ea.width,height:_3ea.height};}}ret.x=ret.left;ret.y=ret.top;return ret;};dojo.html.setMarginBoxWidth=dojo.html.setOuterWidth=function(node,_3ec){return dojo.html._callDeprecated("setMarginBoxWidth","setMarginBox",arguments,"width");};dojo.html.setMarginBoxHeight=dojo.html.setOuterHeight=function(){return dojo.html._callDeprecated("setMarginBoxHeight","setMarginBox",arguments,"height");};dojo.html.getMarginBoxWidth=dojo.html.getOuterWidth=function(){return dojo.html._callDeprecated("getMarginBoxWidth","getMarginBox",arguments,null,"width");};dojo.html.getMarginBoxHeight=dojo.html.getOuterHeight=function(){return dojo.html._callDeprecated("getMarginBoxHeight","getMarginBox",arguments,null,"height");};dojo.html.getTotalOffset=function(node,type,_3ef){return dojo.html._callDeprecated("getTotalOffset","getAbsolutePosition",arguments,null,type);};dojo.html.getAbsoluteX=function(node,_3f1){return dojo.html._callDeprecated("getAbsoluteX","getAbsolutePosition",arguments,null,"x");};dojo.html.getAbsoluteY=function(node,_3f3){return dojo.html._callDeprecated("getAbsoluteY","getAbsolutePosition",arguments,null,"y");};dojo.html.totalOffsetLeft=function(node,_3f5){return dojo.html._callDeprecated("totalOffsetLeft","getAbsolutePosition",arguments,null,"left");};dojo.html.totalOffsetTop=function(node,_3f7){return dojo.html._callDeprecated("totalOffsetTop","getAbsolutePosition",arguments,null,"top");};dojo.html.getMarginWidth=function(node){return dojo.html._callDeprecated("getMarginWidth","getMargin",arguments,null,"width");};dojo.html.getMarginHeight=function(node){return dojo.html._callDeprecated("getMarginHeight","getMargin",arguments,null,"height");};dojo.html.getBorderWidth=function(node){return dojo.html._callDeprecated("getBorderWidth","getBorder",arguments,null,"width");};dojo.html.getBorderHeight=function(node){return dojo.html._callDeprecated("getBorderHeight","getBorder",arguments,null,"height");};dojo.html.getPaddingWidth=function(node){return dojo.html._callDeprecated("getPaddingWidth","getPadding",arguments,null,"width");};dojo.html.getPaddingHeight=function(node){return dojo.html._callDeprecated("getPaddingHeight","getPadding",arguments,null,"height");};dojo.html.getPadBorderWidth=function(node){return dojo.html._callDeprecated("getPadBorderWidth","getPadBorder",arguments,null,"width");};dojo.html.getPadBorderHeight=function(node){return dojo.html._callDeprecated("getPadBorderHeight","getPadBorder",arguments,null,"height");};dojo.html.getBorderBoxWidth=dojo.html.getInnerWidth=function(){return dojo.html._callDeprecated("getBorderBoxWidth","getBorderBox",arguments,null,"width");};dojo.html.getBorderBoxHeight=dojo.html.getInnerHeight=function(){return dojo.html._callDeprecated("getBorderBoxHeight","getBorderBox",arguments,null,"height");};dojo.html.getContentBoxWidth=dojo.html.getContentWidth=function(){return dojo.html._callDeprecated("getContentBoxWidth","getContentBox",arguments,null,"width");};dojo.html.getContentBoxHeight=dojo.html.getContentHeight=function(){return dojo.html._callDeprecated("getContentBoxHeight","getContentBox",arguments,null,"height");};dojo.html.setContentBoxWidth=dojo.html.setContentWidth=function(node,_401){return dojo.html._callDeprecated("setContentBoxWidth","setContentBox",arguments,"width");};dojo.html.setContentBoxHeight=dojo.html.setContentHeight=function(node,_403){return dojo.html._callDeprecated("setContentBoxHeight","setContentBox",arguments,"height");};dojo.provide("dojo.dnd.HtmlDragManager");dojo.declare("dojo.dnd.HtmlDragManager",dojo.dnd.DragManager,{disabled:false,nestedTargets:false,mouseDownTimer:null,dsCounter:0,dsPrefix:"dojoDragSource",dropTargetDimensions:[],currentDropTarget:null,previousDropTarget:null,_dragTriggered:false,selectedSources:[],dragObjects:[],dragSources:[],dropTargets:[],currentX:null,currentY:null,lastX:null,lastY:null,mouseDownX:null,mouseDownY:null,threshold:7,dropAcceptable:false,cancelEvent:function(e){e.stopPropagation();e.preventDefault();},registerDragSource:function(ds){if(ds["domNode"]){var dp=this.dsPrefix;var _407=dp+"Idx_"+(this.dsCounter++);ds.dragSourceId=_407;this.dragSources[_407]=ds;ds.domNode.setAttribute(dp,_407);if(dojo.render.html.ie){dojo.event.browser.addListener(ds.domNode,"ondragstart",this.cancelEvent);}}},unregisterDragSource:function(ds){if(ds["domNode"]){var dp=this.dsPrefix;var _40a=ds.dragSourceId;delete ds.dragSourceId;delete this.dragSources[_40a];ds.domNode.setAttribute(dp,null);if(dojo.render.html.ie){dojo.event.browser.removeListener(ds.domNode,"ondragstart",this.cancelEvent);}}},registerDropTarget:function(dt){this.dropTargets.push(dt);},unregisterDropTarget:function(dt){var _40d=dojo.lang.find(this.dropTargets,dt,true);if(_40d>=0){this.dropTargets.splice(_40d,1);}},getDragSource:function(e){var tn=e.target;if(tn===dojo.body()){return;}var ta=dojo.html.getAttribute(tn,this.dsPrefix);while((!ta)&&(tn)){tn=tn.parentNode;if((!tn)||(tn===dojo.body())){return;}ta=dojo.html.getAttribute(tn,this.dsPrefix);}return this.dragSources[ta];},onKeyDown:function(e){},onMouseDown:function(e){if(this.disabled){return;}if(dojo.render.html.ie){if(e.button!=1){return;}}else{if(e.which!=1){return;}}var _413=e.target.nodeType==dojo.html.TEXT_NODE?e.target.parentNode:e.target;if(dojo.html.isTag(_413,"button","textarea","input","select","option")){return;}var ds=this.getDragSource(e);if(!ds){return;}if(!dojo.lang.inArray(this.selectedSources,ds)){this.selectedSources.push(ds);ds.onSelected();}this.mouseDownX=e.pageX;this.mouseDownY=e.pageY;e.preventDefault();dojo.event.connect(document,"onmousemove",this,"onMouseMove");},onMouseUp:function(e,_416){if(this.selectedSources.length==0){return;}this.mouseDownX=null;this.mouseDownY=null;this._dragTriggered=false;e.dragSource=this.dragSource;if((!e.shiftKey)&&(!e.ctrlKey)){if(this.currentDropTarget){this.currentDropTarget.onDropStart();}dojo.lang.forEach(this.dragObjects,function(_417){var ret=null;if(!_417){return;}if(this.currentDropTarget){e.dragObject=_417;var ce=this.currentDropTarget.domNode.childNodes;if(ce.length>0){e.dropTarget=ce[0];while(e.dropTarget==_417.domNode){e.dropTarget=e.dropTarget.nextSibling;}}else{e.dropTarget=this.currentDropTarget.domNode;}if(this.dropAcceptable){ret=this.currentDropTarget.onDrop(e);}else{this.currentDropTarget.onDragOut(e);}}e.dragStatus=this.dropAcceptable&&ret?"dropSuccess":"dropFailure";dojo.lang.delayThese([function(){try{_417.dragSource.onDragEnd(e);}catch(err){var _41a={};for(var i in e){if(i=="type"){_41a.type="mouseup";continue;}_41a[i]=e[i];}_417.dragSource.onDragEnd(_41a);}},function(){_417.onDragEnd(e);}]);},this);this.selectedSources=[];this.dragObjects=[];this.dragSource=null;if(this.currentDropTarget){this.currentDropTarget.onDropEnd();}}else{}dojo.event.disconnect(document,"onmousemove",this,"onMouseMove");this.currentDropTarget=null;},onScroll:function(){for(var i=0;i<this.dragObjects.length;i++){if(this.dragObjects[i].updateDragOffset){this.dragObjects[i].updateDragOffset();}}if(this.dragObjects.length){this.cacheTargetLocations();}},_dragStartDistance:function(x,y){if((!this.mouseDownX)||(!this.mouseDownX)){return;}var dx=Math.abs(x-this.mouseDownX);var dx2=dx*dx;var dy=Math.abs(y-this.mouseDownY);var dy2=dy*dy;return parseInt(Math.sqrt(dx2+dy2),10);},cacheTargetLocations:function(){dojo.profile.start("cacheTargetLocations");this.dropTargetDimensions=[];dojo.lang.forEach(this.dropTargets,function(_423){var tn=_423.domNode;if(!tn||!_423.accepts([this.dragSource])){return;}var abs=dojo.html.getAbsolutePosition(tn,true);var bb=dojo.html.getBorderBox(tn);this.dropTargetDimensions.push([[abs.x,abs.y],[abs.x+bb.width,abs.y+bb.height],_423]);},this);dojo.profile.end("cacheTargetLocations");},onMouseMove:function(e){if((dojo.render.html.ie)&&(e.button!=1)){this.currentDropTarget=null;this.onMouseUp(e,true);return;}if((this.selectedSources.length)&&(!this.dragObjects.length)){var dx;var dy;if(!this._dragTriggered){this._dragTriggered=(this._dragStartDistance(e.pageX,e.pageY)>this.threshold);if(!this._dragTriggered){return;}dx=e.pageX-this.mouseDownX;dy=e.pageY-this.mouseDownY;}this.dragSource=this.selectedSources[0];dojo.lang.forEach(this.selectedSources,function(_42a){if(!_42a){return;}var tdo=_42a.onDragStart(e);if(tdo){tdo.onDragStart(e);tdo.dragOffset.y+=dy;tdo.dragOffset.x+=dx;tdo.dragSource=_42a;this.dragObjects.push(tdo);}},this);this.previousDropTarget=null;this.cacheTargetLocations();}dojo.lang.forEach(this.dragObjects,function(_42c){if(_42c){_42c.onDragMove(e);}});if(this.currentDropTarget){var c=dojo.html.toCoordinateObject(this.currentDropTarget.domNode,true);var dtp=[[c.x,c.y],[c.x+c.width,c.y+c.height]];}if((!this.nestedTargets)&&(dtp)&&(this.isInsideBox(e,dtp))){if(this.dropAcceptable){this.currentDropTarget.onDragMove(e,this.dragObjects);}}else{var _42f=this.findBestTarget(e);if(_42f.target===null){if(this.currentDropTarget){this.currentDropTarget.onDragOut(e);this.previousDropTarget=this.currentDropTarget;this.currentDropTarget=null;}this.dropAcceptable=false;return;}if(this.currentDropTarget!==_42f.target){if(this.currentDropTarget){this.previousDropTarget=this.currentDropTarget;this.currentDropTarget.onDragOut(e);}this.currentDropTarget=_42f.target;e.dragObjects=this.dragObjects;this.dropAcceptable=this.currentDropTarget.onDragOver(e);}else{if(this.dropAcceptable){this.currentDropTarget.onDragMove(e,this.dragObjects);}}}},findBestTarget:function(e){var _431=this;var _432=new Object();_432.target=null;_432.points=null;dojo.lang.every(this.dropTargetDimensions,function(_433){if(!_431.isInsideBox(e,_433)){return true;}_432.target=_433[2];_432.points=_433;return Boolean(_431.nestedTargets);});return _432;},isInsideBox:function(e,_435){if((e.pageX>_435[0][0])&&(e.pageX<_435[1][0])&&(e.pageY>_435[0][1])&&(e.pageY<_435[1][1])){return true;}return false;},onMouseOver:function(e){},onMouseOut:function(e){}});dojo.dnd.dragManager=new dojo.dnd.HtmlDragManager();(function(){var d=document;var dm=dojo.dnd.dragManager;dojo.event.connect(d,"onkeydown",dm,"onKeyDown");dojo.event.connect(d,"onmouseover",dm,"onMouseOver");dojo.event.connect(d,"onmouseout",dm,"onMouseOut");dojo.event.connect(d,"onmousedown",dm,"onMouseDown");dojo.event.connect(d,"onmouseup",dm,"onMouseUp");dojo.event.connect(window,"onscroll",dm,"onScroll");})();dojo.kwCompoundRequire({common:["dojo.html.common","dojo.html.style"]});dojo.provide("dojo.html.*");dojo.provide("dojo.html.util");dojo.html.getElementWindow=function(_43a){return dojo.html.getDocumentWindow(_43a.ownerDocument);};dojo.html.getDocumentWindow=function(doc){if(dojo.render.html.safari&&!doc._parentWindow){var fix=function(win){win.document._parentWindow=win;for(var i=0;i<win.frames.length;i++){fix(win.frames[i]);}};fix(window.top);}if(dojo.render.html.ie&&window!==document.parentWindow&&!doc._parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc._parentWindow||doc.parentWindow||doc.defaultView;};dojo.html.gravity=function(node,e){node=dojo.byId(node);var _442=dojo.html.getCursorPosition(e);with(dojo.html){var _443=getAbsolutePosition(node,true);var bb=getBorderBox(node);var _445=_443.x+(bb.width/2);var _446=_443.y+(bb.height/2);}with(dojo.html.gravity){return ((_442.x<_445?WEST:EAST)|(_442.y<_446?NORTH:SOUTH));}};dojo.html.gravity.NORTH=1;dojo.html.gravity.SOUTH=1<<1;dojo.html.gravity.EAST=1<<2;dojo.html.gravity.WEST=1<<3;dojo.html.overElement=function(_447,e){_447=dojo.byId(_447);var _449=dojo.html.getCursorPosition(e);var bb=dojo.html.getBorderBox(_447);var _44b=dojo.html.getAbsolutePosition(_447,true,dojo.html.boxSizing.BORDER_BOX);var top=_44b.y;var _44d=top+bb.height;var left=_44b.x;var _44f=left+bb.width;return (_449.x>=left&&_449.x<=_44f&&_449.y>=top&&_449.y<=_44d);};dojo.html.renderedTextContent=function(node){node=dojo.byId(node);var _451="";if(node==null){return _451;}for(var i=0;i<node.childNodes.length;i++){switch(node.childNodes[i].nodeType){case 1:case 5:var _453="unknown";try{_453=dojo.html.getStyle(node.childNodes[i],"display");}catch(E){}switch(_453){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":_451+="\n";_451+=dojo.html.renderedTextContent(node.childNodes[i]);_451+="\n";break;case "none":break;default:if(node.childNodes[i].tagName&&node.childNodes[i].tagName.toLowerCase()=="br"){_451+="\n";}else{_451+=dojo.html.renderedTextContent(node.childNodes[i]);}break;}break;case 3:case 2:case 4:var text=node.childNodes[i].nodeValue;var _455="unknown";try{_455=dojo.html.getStyle(node,"text-transform");}catch(E){}switch(_455){case "capitalize":var _456=text.split(" ");for(var i=0;i<_456.length;i++){_456[i]=_456[i].charAt(0).toUpperCase()+_456[i].substring(1);}text=_456.join(" ");break;case "uppercase":text=text.toUpperCase();break;case "lowercase":text=text.toLowerCase();break;default:break;}switch(_455){case "nowrap":break;case "pre-wrap":break;case "pre-line":break;case "pre":break;default:text=text.replace(/\s+/," ");if(/\s$/.test(_451)){text.replace(/^\s/,"");}break;}_451+=text;break;default:break;}}return _451;};dojo.html.createNodesFromText=function(txt,trim){if(trim){txt=txt.replace(/^\s+|\s+$/g,"");}var tn=dojo.doc().createElement("div");tn.style.visibility="hidden";dojo.body().appendChild(tn);var _45a="none";if((/^<t[dh][\s\r\n>]/i).test(txt.replace(/^\s+/))){txt="<table><tbody><tr>"+txt+"</tr></tbody></table>";_45a="cell";}else{if((/^<tr[\s\r\n>]/i).test(txt.replace(/^\s+/))){txt="<table><tbody>"+txt+"</tbody></table>";_45a="row";}else{if((/^<(thead|tbody|tfoot)[\s\r\n>]/i).test(txt.replace(/^\s+/))){txt="<table>"+txt+"</table>";_45a="section";}}}tn.innerHTML=txt;if(tn["normalize"]){tn.normalize();}var _45b=null;switch(_45a){case "cell":_45b=tn.getElementsByTagName("tr")[0];break;case "row":_45b=tn.getElementsByTagName("tbody")[0];break;case "section":_45b=tn.getElementsByTagName("table")[0];break;default:_45b=tn;break;}var _45c=[];for(var x=0;x<_45b.childNodes.length;x++){_45c.push(_45b.childNodes[x].cloneNode(true));}tn.style.display="none";dojo.html.destroyNode(tn);return _45c;};dojo.html.placeOnScreen=function(node,_45f,_460,_461,_462,_463,_464){if(_45f instanceof Array||typeof _45f=="array"){_464=_463;_463=_462;_462=_461;_461=_460;_460=_45f[1];_45f=_45f[0];}if(_463 instanceof String||typeof _463=="string"){_463=_463.split(",");}if(!isNaN(_461)){_461=[Number(_461),Number(_461)];}else{if(!(_461 instanceof Array||typeof _461=="array")){_461=[0,0];}}var _465=dojo.html.getScroll().offset;var view=dojo.html.getViewport();node=dojo.byId(node);var _467=node.style.display;node.style.display="";var bb=dojo.html.getBorderBox(node);var w=bb.width;var h=bb.height;node.style.display=_467;if(!(_463 instanceof Array||typeof _463=="array")){_463=["TL"];}var _46b,_46c,_46d=Infinity,_46e;for(var _46f=0;_46f<_463.length;++_46f){var _470=_463[_46f];var _471=true;var tryX=_45f-(_470.charAt(1)=="L"?0:w)+_461[0]*(_470.charAt(1)=="L"?1:-1);var tryY=_460-(_470.charAt(0)=="T"?0:h)+_461[1]*(_470.charAt(0)=="T"?1:-1);if(_462){tryX-=_465.x;tryY-=_465.y;}if(tryX<0){tryX=0;_471=false;}if(tryY<0){tryY=0;_471=false;}var x=tryX+w;if(x>view.width){x=view.width-w;_471=false;}else{x=tryX;}x=Math.max(_461[0],x)+_465.x;var y=tryY+h;if(y>view.height){y=view.height-h;_471=false;}else{y=tryY;}y=Math.max(_461[1],y)+_465.y;if(_471){_46b=x;_46c=y;_46d=0;_46e=_470;break;}else{var dist=Math.pow(x-tryX-_465.x,2)+Math.pow(y-tryY-_465.y,2);if(_46d>dist){_46d=dist;_46b=x;_46c=y;_46e=_470;}}}if(!_464){node.style.left=_46b+"px";node.style.top=_46c+"px";}return {left:_46b,top:_46c,x:_46b,y:_46c,dist:_46d,corner:_46e};};dojo.html.placeOnScreenPoint=function(node,_478,_479,_47a,_47b){dojo.deprecated("dojo.html.placeOnScreenPoint","use dojo.html.placeOnScreen() instead","0.5");return dojo.html.placeOnScreen(node,_478,_479,_47a,_47b,["TL","TR","BL","BR"]);};dojo.html.placeOnScreenAroundElement=function(node,_47d,_47e,_47f,_480,_481){var best,_483=Infinity;_47d=dojo.byId(_47d);var _484=_47d.style.display;_47d.style.display="";var mb=dojo.html.getElementBox(_47d,_47f);var _486=mb.width;var _487=mb.height;var _488=dojo.html.getAbsolutePosition(_47d,true,_47f);_47d.style.display=_484;for(var _489 in _480){var pos,_48b,_48c;var _48d=_480[_489];_48b=_488.x+(_489.charAt(1)=="L"?0:_486);_48c=_488.y+(_489.charAt(0)=="T"?0:_487);pos=dojo.html.placeOnScreen(node,_48b,_48c,_47e,true,_48d,true);if(pos.dist==0){best=pos;break;}else{if(_483>pos.dist){_483=pos.dist;best=pos;}}}if(!_481){node.style.left=best.left+"px";node.style.top=best.top+"px";}return best;};dojo.html.scrollIntoView=function(node){if(!node){return;}if(dojo.render.html.ie){if(dojo.html.getBorderBox(node.parentNode).height<=node.parentNode.scrollHeight){node.scrollIntoView(false);}}else{if(dojo.render.html.mozilla){node.scrollIntoView(false);}else{var _48f=node.parentNode;var _490=_48f.scrollTop+dojo.html.getBorderBox(_48f).height;var _491=node.offsetTop+dojo.html.getMarginBox(node).height;if(_490<_491){_48f.scrollTop+=(_491-_490);}else{if(_48f.scrollTop>node.offsetTop){_48f.scrollTop-=(_48f.scrollTop-node.offsetTop);}}}}};dojo.provide("dojo.html.selection");dojo.html.selectionType={NONE:0,TEXT:1,CONTROL:2};dojo.html.clearSelection=function(){var _492=dojo.global();var _493=dojo.doc();try{if(_492["getSelection"]){if(dojo.render.html.safari){_492.getSelection().collapse();}else{_492.getSelection().removeAllRanges();}}else{if(_493.selection){if(_493.selection.empty){_493.selection.empty();}else{if(_493.selection.clear){_493.selection.clear();}}}}return true;}catch(e){dojo.debug(e);return false;}};dojo.html.disableSelection=function(_494){_494=dojo.byId(_494)||dojo.body();var h=dojo.render.html;if(h.mozilla){_494.style.MozUserSelect="none";}else{if(h.safari){_494.style.KhtmlUserSelect="none";}else{if(h.ie){_494.unselectable="on";}else{return false;}}}return true;};dojo.html.enableSelection=function(_496){_496=dojo.byId(_496)||dojo.body();var h=dojo.render.html;if(h.mozilla){_496.style.MozUserSelect="";}else{if(h.safari){_496.style.KhtmlUserSelect="";}else{if(h.ie){_496.unselectable="off";}else{return false;}}}return true;};dojo.html.selectElement=function(_498){dojo.deprecated("dojo.html.selectElement","replaced by dojo.html.selection.selectElementChildren",0.5);};dojo.html.selectInputText=function(_499){var _49a=dojo.global();var _49b=dojo.doc();_499=dojo.byId(_499);if(_49b["selection"]&&dojo.body()["createTextRange"]){var _49c=_499.createTextRange();_49c.moveStart("character",0);_49c.moveEnd("character",_499.value.length);_49c.select();}else{if(_49a["getSelection"]){var _49d=_49a.getSelection();_499.setSelectionRange(0,_499.value.length);}}_499.focus();};dojo.html.isSelectionCollapsed=function(){dojo.deprecated("dojo.html.isSelectionCollapsed","replaced by dojo.html.selection.isCollapsed",0.5);return dojo.html.selection.isCollapsed();};dojo.lang.mixin(dojo.html.selection,{getType:function(){if(dojo.doc()["selection"]){return dojo.html.selectionType[dojo.doc().selection.type.toUpperCase()];}else{var _49e=dojo.html.selectionType.TEXT;var oSel;try{oSel=dojo.global().getSelection();}catch(e){}if(oSel&&oSel.rangeCount==1){var _4a0=oSel.getRangeAt(0);if(_4a0.startContainer==_4a0.endContainer&&(_4a0.endOffset-_4a0.startOffset)==1&&_4a0.startContainer.nodeType!=dojo.dom.TEXT_NODE){_49e=dojo.html.selectionType.CONTROL;}}return _49e;}},isCollapsed:function(){var _4a1=dojo.global();var _4a2=dojo.doc();if(_4a2["selection"]){return _4a2.selection.createRange().text=="";}else{if(_4a1["getSelection"]){var _4a3=_4a1.getSelection();if(dojo.lang.isString(_4a3)){return _4a3=="";}else{return _4a3.isCollapsed||_4a3.toString()=="";}}}},getSelectedElement:function(){if(dojo.html.selection.getType()==dojo.html.selectionType.CONTROL){if(dojo.doc()["selection"]){var _4a4=dojo.doc().selection.createRange();if(_4a4&&_4a4.item){return dojo.doc().selection.createRange().item(0);}}else{var _4a5=dojo.global().getSelection();return _4a5.anchorNode.childNodes[_4a5.anchorOffset];}}},getParentElement:function(){if(dojo.html.selection.getType()==dojo.html.selectionType.CONTROL){var p=dojo.html.selection.getSelectedElement();if(p){return p.parentNode;}}else{if(dojo.doc()["selection"]){return dojo.doc().selection.createRange().parentElement();}else{var _4a7=dojo.global().getSelection();if(_4a7){var node=_4a7.anchorNode;while(node&&node.nodeType!=dojo.dom.ELEMENT_NODE){node=node.parentNode;}return node;}}}},getSelectedText:function(){if(dojo.doc()["selection"]){if(dojo.html.selection.getType()==dojo.html.selectionType.CONTROL){return null;}return dojo.doc().selection.createRange().text;}else{var _4a9=dojo.global().getSelection();if(_4a9){return _4a9.toString();}}},getSelectedHtml:function(){if(dojo.doc()["selection"]){if(dojo.html.selection.getType()==dojo.html.selectionType.CONTROL){return null;}return dojo.doc().selection.createRange().htmlText;}else{var _4aa=dojo.global().getSelection();if(_4aa&&_4aa.rangeCount){var frag=_4aa.getRangeAt(0).cloneContents();var div=document.createElement("div");div.appendChild(frag);return div.innerHTML;}return null;}},hasAncestorElement:function(_4ad){return (dojo.html.selection.getAncestorElement.apply(this,arguments)!=null);},getAncestorElement:function(_4ae){var node=dojo.html.selection.getSelectedElement()||dojo.html.selection.getParentElement();while(node){if(dojo.html.selection.isTag(node,arguments).length>0){return node;}node=node.parentNode;}return null;},isTag:function(node,tags){if(node&&node.tagName){for(var i=0;i<tags.length;i++){if(node.tagName.toLowerCase()==String(tags[i]).toLowerCase()){return String(tags[i]).toLowerCase();}}}return "";},selectElement:function(_4b3){var _4b4=dojo.global();var _4b5=dojo.doc();_4b3=dojo.byId(_4b3);if(_4b5.selection&&dojo.body().createTextRange){try{var _4b6=dojo.body().createControlRange();_4b6.addElement(_4b3);_4b6.select();}catch(e){dojo.html.selection.selectElementChildren(_4b3);}}else{if(_4b4["getSelection"]){var _4b7=_4b4.getSelection();if(_4b7["removeAllRanges"]){var _4b6=_4b5.createRange();_4b6.selectNode(_4b3);_4b7.removeAllRanges();_4b7.addRange(_4b6);}}}},selectElementChildren:function(_4b8){var _4b9=dojo.global();var _4ba=dojo.doc();_4b8=dojo.byId(_4b8);if(_4ba.selection&&dojo.body().createTextRange){var _4bb=dojo.body().createTextRange();_4bb.moveToElementText(_4b8);_4bb.select();}else{if(_4b9["getSelection"]){var _4bc=_4b9.getSelection();if(_4bc["setBaseAndExtent"]){_4bc.setBaseAndExtent(_4b8,0,_4b8,_4b8.innerText.length-1);}else{if(_4bc["selectAllChildren"]){_4bc.selectAllChildren(_4b8);}}}}},getBookmark:function(){var _4bd;var _4be=dojo.doc();if(_4be["selection"]){var _4bf=_4be.selection.createRange();_4bd=_4bf.getBookmark();}else{var _4c0;try{_4c0=dojo.global().getSelection();}catch(e){}if(_4c0){var _4bf=_4c0.getRangeAt(0);_4bd=_4bf.cloneRange();}else{dojo.debug("No idea how to store the current selection for this browser!");}}return _4bd;},moveToBookmark:function(_4c1){var _4c2=dojo.doc();if(_4c2["selection"]){var _4c3=_4c2.selection.createRange();_4c3.moveToBookmark(_4c1);_4c3.select();}else{var _4c4;try{_4c4=dojo.global().getSelection();}catch(e){}if(_4c4&&_4c4["removeAllRanges"]){_4c4.removeAllRanges();_4c4.addRange(_4c1);}else{dojo.debug("No idea how to restore selection for this browser!");}}},collapse:function(_4c5){if(dojo.global()["getSelection"]){var _4c6=dojo.global().getSelection();if(_4c6.removeAllRanges){if(_4c5){_4c6.collapseToStart();}else{_4c6.collapseToEnd();}}else{dojo.global().getSelection().collapse(_4c5);}}else{if(dojo.doc().selection){var _4c7=dojo.doc().selection.createRange();_4c7.collapse(_4c5);_4c7.select();}}},remove:function(){if(dojo.doc().selection){var _4c8=dojo.doc().selection;if(_4c8.type.toUpperCase()!="NONE"){_4c8.clear();}return _4c8;}else{var _4c8=dojo.global().getSelection();for(var i=0;i<_4c8.rangeCount;i++){_4c8.getRangeAt(i).deleteContents();}return _4c8;}}});dojo.provide("dojo.html.iframe");dojo.html.iframeContentWindow=function(_4ca){var win=dojo.html.getDocumentWindow(dojo.html.iframeContentDocument(_4ca))||dojo.html.iframeContentDocument(_4ca).__parent__||(_4ca.name&&document.frames[_4ca.name])||null;return win;};dojo.html.iframeContentDocument=function(_4cc){var doc=_4cc.contentDocument||((_4cc.contentWindow)&&(_4cc.contentWindow.document))||((_4cc.name)&&(document.frames[_4cc.name])&&(document.frames[_4cc.name].document))||null;return doc;};dojo.html.BackgroundIframe=function(node){if(dojo.render.html.ie55||dojo.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=dojo.doc().createElement(html);this.iframe.tabIndex=-1;if(node){node.appendChild(this.iframe);this.domNode=node;}else{dojo.body().appendChild(this.iframe);this.iframe.style.display="none";}}};dojo.lang.extend(dojo.html.BackgroundIframe,{iframe:null,onResized:function(){if(this.iframe&&this.domNode&&this.domNode.parentNode){var _4d0=dojo.html.getMarginBox(this.domNode);if(_4d0.width==0||_4d0.height==0){dojo.lang.setTimeout(this,this.onResized,100);return;}this.iframe.style.width=_4d0.width+"px";this.iframe.style.height=_4d0.height+"px";}},size:function(node){if(!this.iframe){return;}var _4d2=dojo.html.toCoordinateObject(node,true,dojo.html.boxSizing.BORDER_BOX);with(this.iframe.style){width=_4d2.width+"px";height=_4d2.height+"px";left=_4d2.left+"px";top=_4d2.top+"px";}},setZIndex:function(node){if(!this.iframe){return;}if(dojo.dom.isNode(node)){this.iframe.style.zIndex=dojo.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){dojo.html.removeNode(this.iframe,true);delete this.iframe;this.iframe=null;}}});dojo.provide("dojo.gfx.color");dojo.gfx.color.Color=function(r,g,b,a){if(dojo.lang.isArray(r)){this.r=r[0];this.g=r[1];this.b=r[2];this.a=r[3]||1;}else{if(dojo.lang.isString(r)){var rgb=dojo.gfx.color.extractRGB(r);this.r=rgb[0];this.g=rgb[1];this.b=rgb[2];this.a=g||1;}else{if(r instanceof dojo.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;}}}};dojo.gfx.color.Color.fromArray=function(arr){return new dojo.gfx.color.Color(arr[0],arr[1],arr[2],arr[3]);};dojo.extend(dojo.gfx.color.Color,{toRgb:function(_4da){if(_4da){return this.toRgba();}else{return [this.r,this.g,this.b];}},toRgba:function(){return [this.r,this.g,this.b,this.a];},toHex:function(){return dojo.gfx.color.rgb2hex(this.toRgb());},toCss:function(){return "rgb("+this.toRgb().join()+")";},toString:function(){return this.toHex();},blend:function(_4db,_4dc){var rgb=null;if(dojo.lang.isArray(_4db)){rgb=_4db;}else{if(_4db instanceof dojo.gfx.color.Color){rgb=_4db.toRgb();}else{rgb=new dojo.gfx.color.Color(_4db).toRgb();}}return dojo.gfx.color.blend(this.toRgb(),rgb,_4dc);}});dojo.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]};dojo.gfx.color.blend=function(a,b,_4e0){if(typeof a=="string"){return dojo.gfx.color.blendHex(a,b,_4e0);}if(!_4e0){_4e0=0;}_4e0=Math.min(Math.max(-1,_4e0),1);_4e0=((_4e0+1)/2);var c=[];for(var x=0;x<3;x++){c[x]=parseInt(b[x]+((a[x]-b[x])*_4e0));}return c;};dojo.gfx.color.blendHex=function(a,b,_4e5){return dojo.gfx.color.rgb2hex(dojo.gfx.color.blend(dojo.gfx.color.hex2rgb(a),dojo.gfx.color.hex2rgb(b),_4e5));};dojo.gfx.color.extractRGB=function(_4e6){var hex="0123456789abcdef";_4e6=_4e6.toLowerCase();if(_4e6.indexOf("rgb")==0){var _4e8=_4e6.match(/rgba*\((\d+), *(\d+), *(\d+)/i);var ret=_4e8.splice(1,3);return ret;}else{var _4ea=dojo.gfx.color.hex2rgb(_4e6);if(_4ea){return _4ea;}else{return dojo.gfx.color.named[_4e6]||[255,255,255];}}};dojo.gfx.color.hex2rgb=function(hex){var _4ec="0123456789ABCDEF";var rgb=new Array(3);if(hex.indexOf("#")==0){hex=hex.substring(1);}hex=hex.toUpperCase();if(hex.replace(new RegExp("["+_4ec+"]","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]=_4ec.indexOf(rgb[i].charAt(0))*16+_4ec.indexOf(rgb[i].charAt(1));}return rgb;};dojo.gfx.color.rgb2hex=function(r,g,b){if(dojo.lang.isArray(r)){g=r[1]||0;b=r[2]||0;r=r[0]||0;}var ret=dojo.lang.map([r,g,b],function(x){x=new Number(x);var s=x.toString(16);while(s.length<2){s="0"+s;}return s;});ret.unshift("#");return ret.join("");};dojo.provide("dojo.lfx.Animation");dojo.lfx.Line=function(_4f5,end){this.start=_4f5;this.end=end;if(dojo.lang.isArray(_4f5)){var diff=[];dojo.lang.forEach(this.start,function(s,i){diff[i]=this.end[i]-s;},this);this.getValue=function(n){var res=[];dojo.lang.forEach(this.start,function(s,i){res[i]=(diff[i]*n)+s;},this);return res;};}else{var diff=end-_4f5;this.getValue=function(n){return (diff*n)+this.start;};}};if((dojo.render.html.khtml)&&(!dojo.render.html.safari)){dojo.lfx.easeDefault=function(n){return (parseFloat("0.5")+((Math.sin((n+parseFloat("1.5"))*Math.PI))/2));};}else{dojo.lfx.easeDefault=function(n){return (0.5+((Math.sin((n+1.5)*Math.PI))/2));};}dojo.lfx.easeIn=function(n){return Math.pow(n,3);};dojo.lfx.easeOut=function(n){return (1-Math.pow(1-n,3));};dojo.lfx.easeInOut=function(n){return ((3*Math.pow(n,2))-(2*Math.pow(n,3)));};dojo.lfx.IAnimation=function(){};dojo.lang.extend(dojo.lfx.IAnimation,{curve:null,duration:1000,easing:null,repeatCount:0,rate: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,_505,_506){if(!_506){_506=_505;_505=this;}_506=dojo.lang.hitch(_505,_506);var _507=this[evt]||function(){};this[evt]=function(){var ret=_507.apply(this,arguments);_506.apply(this,arguments);return ret;};return this;},fire:function(evt,args){if(this[evt]){this[evt].apply(this,(args||[]));}return this;},repeat:function(_50b){this.repeatCount=_50b;return this;},_active:false,_paused:false});dojo.lfx.Animation=function(_50c,_50d,_50e,_50f,_510,rate){dojo.lfx.IAnimation.call(this);if(dojo.lang.isNumber(_50c)||(!_50c&&_50d.getValue)){rate=_510;_510=_50f;_50f=_50e;_50e=_50d;_50d=_50c;_50c=null;}else{if(_50c.getValue||dojo.lang.isArray(_50c)){rate=_50f;_510=_50e;_50f=_50d;_50e=_50c;_50d=null;_50c=null;}}if(dojo.lang.isArray(_50e)){this.curve=new dojo.lfx.Line(_50e[0],_50e[1]);}else{this.curve=_50e;}if(_50d!=null&&_50d>0){this.duration=_50d;}if(_510){this.repeatCount=_510;}if(rate){this.rate=rate;}if(_50c){dojo.lang.forEach(["handler","beforeBegin","onBegin","onEnd","onPlay","onStop","onAnimate"],function(item){if(_50c[item]){this.connect(item,_50c[item]);}},this);}if(_50f&&dojo.lang.isFunction(_50f)){this.easing=_50f;}};dojo.inherits(dojo.lfx.Animation,dojo.lfx.IAnimation);dojo.lang.extend(dojo.lfx.Animation,{_startTime:null,_endTime:null,_timer:null,_percent:0,_startRepeatCount:0,play:function(_513,_514){if(_514){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(_513>0){setTimeout(dojo.lang.hitch(this,function(){this.play(null,_514);}),_513);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 _516=this.curve.getValue(step);if(this._percent==0){if(!this._startRepeatCount){this._startRepeatCount=this.repeatCount;}this.fire("handler",["begin",_516]);this.fire("onBegin",[_516]);}this.fire("handler",["play",_516]);this.fire("onPlay",[_516]);this._cycle();return this;},pause:function(){clearTimeout(this._timer);if(!this._active){return this;}this._paused=true;var _517=this.curve.getValue(this._percent/100);this.fire("handler",["pause",_517]);this.fire("onPause",[_517]);return this;},gotoPercent:function(pct,_519){clearTimeout(this._timer);this._active=true;this._paused=true;this._percent=pct;if(_519){this.play();}return this;},stop:function(_51a){clearTimeout(this._timer);var step=this._percent/100;if(_51a){step=1;}var _51c=this.curve.getValue(step);this.fire("handler",["stop",_51c]);this.fire("onStop",[_51c]);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)&&(dojo.lang.isFunction(this.easing))){step=this.easing(step);}var _51f=this.curve.getValue(step);this.fire("handler",["animate",_51f]);this.fire("onAnimate",[_51f]);if(step<1){this._timer=setTimeout(dojo.lang.hitch(this,"_cycle"),this.rate);}else{this._active=false;this.fire("handler",["end"]);this.fire("onEnd");if(this.repeatCount>0){this.repeatCount--;this.play(null,true);}else{if(this.repeatCount==-1){this.play(null,true);}else{if(this._startRepeatCount){this.repeatCount=this._startRepeatCount;this._startRepeatCount=0;}}}}}return this;}});dojo.lfx.Combine=function(_520){dojo.lfx.IAnimation.call(this);this._anims=[];this._animsEnded=0;var _521=arguments;if(_521.length==1&&(dojo.lang.isArray(_521[0])||dojo.lang.isArrayLike(_521[0]))){_521=_521[0];}dojo.lang.forEach(_521,function(anim){this._anims.push(anim);anim.connect("onEnd",dojo.lang.hitch(this,"_onAnimsEnded"));},this);};dojo.inherits(dojo.lfx.Combine,dojo.lfx.IAnimation);dojo.lang.extend(dojo.lfx.Combine,{_animsEnded:0,play:function(_523,_524){if(!this._anims.length){return this;}this.fire("beforeBegin");if(_523>0){setTimeout(dojo.lang.hitch(this,function(){this.play(null,_524);}),_523);return this;}if(_524||this._anims[0].percent==0){this.fire("onBegin");}this.fire("onPlay");this._animsCall("play",null,_524);return this;},pause:function(){this.fire("onPause");this._animsCall("pause");return this;},stop:function(_525){this.fire("onStop");this._animsCall("stop",_525);return this;},_onAnimsEnded:function(){this._animsEnded++;if(this._animsEnded>=this._anims.length){this.fire("onEnd");}return this;},_animsCall:function(_526){var args=[];if(arguments.length>1){for(var i=1;i<arguments.length;i++){args.push(arguments[i]);}}var _529=this;dojo.lang.forEach(this._anims,function(anim){anim[_526](args);},_529);return this;}});dojo.lfx.Chain=function(_52b){dojo.lfx.IAnimation.call(this);this._anims=[];this._currAnim=-1;var _52c=arguments;if(_52c.length==1&&(dojo.lang.isArray(_52c[0])||dojo.lang.isArrayLike(_52c[0]))){_52c=_52c[0];}var _52d=this;dojo.lang.forEach(_52c,function(anim,i,_530){this._anims.push(anim);if(i<_530.length-1){anim.connect("onEnd",dojo.lang.hitch(this,"_playNext"));}else{anim.connect("onEnd",dojo.lang.hitch(this,function(){this.fire("onEnd");}));}},this);};dojo.inherits(dojo.lfx.Chain,dojo.lfx.IAnimation);dojo.lang.extend(dojo.lfx.Chain,{_currAnim:-1,play:function(_531,_532){if(!this._anims.length){return this;}if(_532||!this._anims[this._currAnim]){this._currAnim=0;}var _533=this._anims[this._currAnim];this.fire("beforeBegin");if(_531>0){setTimeout(dojo.lang.hitch(this,function(){this.play(null,_532);}),_531);return this;}if(_533){if(this._currAnim==0){this.fire("handler",["begin",this._currAnim]);this.fire("onBegin",[this._currAnim]);}this.fire("onPlay",[this._currAnim]);_533.play(null,_532);}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 _534=this._anims[this._currAnim];if(_534){if(!_534._active||_534._paused){this.play();}else{this.pause();}}return this;},stop:function(){var _535=this._anims[this._currAnim];if(_535){_535.stop();this.fire("onStop",[this._currAnim]);}return _535;},_playNext:function(){if(this._currAnim==-1||this._anims.length==0){return this;}this._currAnim++;if(this._anims[this._currAnim]){this._anims[this._currAnim].play(null,true);}return this;}});dojo.lfx.combine=function(_536){var _537=arguments;if(dojo.lang.isArray(arguments[0])){_537=arguments[0];}if(_537.length==1){return _537[0];}return new dojo.lfx.Combine(_537);};dojo.lfx.chain=function(_538){var _539=arguments;if(dojo.lang.isArray(arguments[0])){_539=arguments[0];}if(_539.length==1){return _539[0];}return new dojo.lfx.Chain(_539);};dojo.provide("dojo.html.color");dojo.html.getBackgroundColor=function(node){node=dojo.byId(node);var _53b;do{_53b=dojo.html.getStyle(node,"background-color");if(_53b.toLowerCase()=="rgba(0, 0, 0, 0)"){_53b="transparent";}if(node==document.getElementsByTagName("body")[0]){node=null;break;}node=node.parentNode;}while(node&&dojo.lang.inArray(["transparent",""],_53b));if(_53b=="transparent"){_53b=[255,255,255,0];}else{_53b=dojo.gfx.color.extractRGB(_53b);}return _53b;};dojo.provide("dojo.lfx.html");dojo.lfx.html._byId=function(_53c){if(!_53c){return [];}if(dojo.lang.isArrayLike(_53c)){if(!_53c.alreadyChecked){var n=[];dojo.lang.forEach(_53c,function(node){n.push(dojo.byId(node));});n.alreadyChecked=true;return n;}else{return _53c;}}else{var n=[];n.push(dojo.byId(_53c));n.alreadyChecked=true;return n;}};dojo.lfx.html.propertyAnimation=function(_53f,_540,_541,_542,_543){_53f=dojo.lfx.html._byId(_53f);var _544={"propertyMap":_540,"nodes":_53f,"duration":_541,"easing":_542||dojo.lfx.easeDefault};var _545=function(args){if(args.nodes.length==1){var pm=args.propertyMap;if(!dojo.lang.isArray(args.propertyMap)){var parr=[];for(var _549 in pm){pm[_549].property=_549;parr.push(pm[_549]);}pm=args.propertyMap=parr;}dojo.lang.forEach(pm,function(prop){if(dj_undef("start",prop)){if(prop.property!="opacity"){prop.start=parseInt(dojo.html.getComputedStyle(args.nodes[0],prop.property));}else{prop.start=dojo.html.getOpacity(args.nodes[0]);}}});}};var _54b=function(_54c){var _54d=[];dojo.lang.forEach(_54c,function(c){_54d.push(Math.round(c));});return _54d;};var _54f=function(n,_551){n=dojo.byId(n);if(!n||!n.style){return;}for(var s in _551){try{if(s=="opacity"){dojo.html.setOpacity(n,_551[s]);}else{n.style[s]=_551[s];}}catch(e){dojo.debug(e);}}};var _553=function(_554){this._properties=_554;this.diffs=new Array(_554.length);dojo.lang.forEach(_554,function(prop,i){if(dojo.lang.isFunction(prop.start)){prop.start=prop.start(prop,i);}if(dojo.lang.isFunction(prop.end)){prop.end=prop.end(prop,i);}if(dojo.lang.isArray(prop.start)){this.diffs[i]=null;}else{if(prop.start instanceof dojo.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={};dojo.lang.forEach(this._properties,function(prop,i){var _55b=null;if(dojo.lang.isArray(prop.start)){}else{if(prop.start instanceof dojo.gfx.color.Color){_55b=(prop.units||"rgb")+"(";for(var j=0;j<prop.startRgb.length;j++){_55b+=Math.round(((prop.endRgb[j]-prop.startRgb[j])*n)+prop.startRgb[j])+(j<prop.startRgb.length-1?",":"");}_55b+=")";}else{_55b=((this.diffs[i])*n)+prop.start+(prop.property!="opacity"?prop.units||"px":"");}}ret[dojo.html.toCamelCase(prop.property)]=_55b;},this);return ret;};};var anim=new dojo.lfx.Animation({beforeBegin:function(){_545(_544);anim.curve=new _553(_544.propertyMap);},onAnimate:function(_55e){dojo.lang.forEach(_544.nodes,function(node){_54f(node,_55e);});}},_544.duration,null,_544.easing);if(_543){for(var x in _543){if(dojo.lang.isFunction(_543[x])){anim.connect(x,anim,_543[x]);}}}return anim;};dojo.lfx.html._makeFadeable=function(_561){var _562=function(node){if(dojo.render.html.ie){if((node.style.zoom.length==0)&&(dojo.html.getStyle(node,"zoom")=="normal")){node.style.zoom="1";}if((node.style.width.length==0)&&(dojo.html.getStyle(node,"width")=="auto")){node.style.width="auto";}}};if(dojo.lang.isArrayLike(_561)){dojo.lang.forEach(_561,_562);}else{_562(_561);}};dojo.lfx.html.fade=function(_564,_565,_566,_567,_568){_564=dojo.lfx.html._byId(_564);var _569={property:"opacity"};if(!dj_undef("start",_565)){_569.start=_565.start;}else{_569.start=function(){return dojo.html.getOpacity(_564[0]);};}if(!dj_undef("end",_565)){_569.end=_565.end;}else{dojo.raise("dojo.lfx.html.fade needs an end value");}var anim=dojo.lfx.propertyAnimation(_564,[_569],_566,_567);anim.connect("beforeBegin",function(){dojo.lfx.html._makeFadeable(_564);});if(_568){anim.connect("onEnd",function(){_568(_564,anim);});}return anim;};dojo.lfx.html.fadeIn=function(_56b,_56c,_56d,_56e){return dojo.lfx.html.fade(_56b,{end:1},_56c,_56d,_56e);};dojo.lfx.html.fadeOut=function(_56f,_570,_571,_572){return dojo.lfx.html.fade(_56f,{end:0},_570,_571,_572);};dojo.lfx.html.fadeShow=function(_573,_574,_575,_576){_573=dojo.lfx.html._byId(_573);dojo.lang.forEach(_573,function(node){dojo.html.setOpacity(node,0);});var anim=dojo.lfx.html.fadeIn(_573,_574,_575,_576);anim.connect("beforeBegin",function(){if(dojo.lang.isArrayLike(_573)){dojo.lang.forEach(_573,dojo.html.show);}else{dojo.html.show(_573);}});return anim;};dojo.lfx.html.fadeHide=function(_579,_57a,_57b,_57c){var anim=dojo.lfx.html.fadeOut(_579,_57a,_57b,function(){if(dojo.lang.isArrayLike(_579)){dojo.lang.forEach(_579,dojo.html.hide);}else{dojo.html.hide(_579);}if(_57c){_57c(_579,anim);}});return anim;};dojo.lfx.html.wipeIn=function(_57e,_57f,_580,_581){_57e=dojo.lfx.html._byId(_57e);var _582=[];dojo.lang.forEach(_57e,function(node){var _584={};var _585,_586,_587;with(node.style){_585=top;_586=left;_587=position;top="-9999px";left="-9999px";position="absolute";display="";}var _588=dojo.html.getBorderBox(node).height;with(node.style){top=_585;left=_586;position=_587;display="none";}var anim=dojo.lfx.propertyAnimation(node,{"height":{start:1,end:function(){return _588;}}},_57f,_580);anim.connect("beforeBegin",function(){_584.overflow=node.style.overflow;_584.height=node.style.height;with(node.style){overflow="hidden";height="1px";}dojo.html.show(node);});anim.connect("onEnd",function(){with(node.style){overflow=_584.overflow;height=_584.height;}if(_581){_581(node,anim);}});_582.push(anim);});return dojo.lfx.combine(_582);};dojo.lfx.html.wipeOut=function(_58a,_58b,_58c,_58d){_58a=dojo.lfx.html._byId(_58a);var _58e=[];dojo.lang.forEach(_58a,function(node){var _590={};var anim=dojo.lfx.propertyAnimation(node,{"height":{start:function(){return dojo.html.getContentBox(node).height;},end:1}},_58b,_58c,{"beforeBegin":function(){_590.overflow=node.style.overflow;_590.height=node.style.height;with(node.style){overflow="hidden";}dojo.html.show(node);},"onEnd":function(){dojo.html.hide(node);with(node.style){overflow=_590.overflow;height=_590.height;}if(_58d){_58d(node,anim);}}});_58e.push(anim);});return dojo.lfx.combine(_58e);};dojo.lfx.html.slideTo=function(_592,_593,_594,_595,_596){_592=dojo.lfx.html._byId(_592);var _597=[];var _598=dojo.html.getComputedStyle;if(dojo.lang.isArray(_593)){dojo.deprecated("dojo.lfx.html.slideTo(node, array)","use dojo.lfx.html.slideTo(node, {top: value, left: value});","0.5");_593={top:_593[0],left:_593[1]};}dojo.lang.forEach(_592,function(node){var top=null;var left=null;var init=(function(){var _59d=node;return function(){var pos=_598(_59d,"position");top=(pos=="absolute"?node.offsetTop:parseInt(_598(node,"top"))||0);left=(pos=="absolute"?node.offsetLeft:parseInt(_598(node,"left"))||0);if(!dojo.lang.inArray(["absolute","relative"],pos)){var ret=dojo.html.abs(_59d,true);dojo.html.setStyleAttributes(_59d,"position:absolute;top:"+ret.y+"px;left:"+ret.x+"px;");top=ret.y;left=ret.x;}};})();init();var anim=dojo.lfx.propertyAnimation(node,{"top":{start:top,end:(_593.top||0)},"left":{start:left,end:(_593.left||0)}},_594,_595,{"beforeBegin":init});if(_596){anim.connect("onEnd",function(){_596(_592,anim);});}_597.push(anim);});return dojo.lfx.combine(_597);};dojo.lfx.html.slideBy=function(_5a1,_5a2,_5a3,_5a4,_5a5){_5a1=dojo.lfx.html._byId(_5a1);var _5a6=[];var _5a7=dojo.html.getComputedStyle;if(dojo.lang.isArray(_5a2)){dojo.deprecated("dojo.lfx.html.slideBy(node, array)","use dojo.lfx.html.slideBy(node, {top: value, left: value});","0.5");_5a2={top:_5a2[0],left:_5a2[1]};}dojo.lang.forEach(_5a1,function(node){var top=null;var left=null;var init=(function(){var _5ac=node;return function(){var pos=_5a7(_5ac,"position");top=(pos=="absolute"?node.offsetTop:parseInt(_5a7(node,"top"))||0);left=(pos=="absolute"?node.offsetLeft:parseInt(_5a7(node,"left"))||0);if(!dojo.lang.inArray(["absolute","relative"],pos)){var ret=dojo.html.abs(_5ac,true);dojo.html.setStyleAttributes(_5ac,"position:absolute;top:"+ret.y+"px;left:"+ret.x+"px;");top=ret.y;left=ret.x;}};})();init();var anim=dojo.lfx.propertyAnimation(node,{"top":{start:top,end:top+(_5a2.top||0)},"left":{start:left,end:left+(_5a2.left||0)}},_5a3,_5a4).connect("beforeBegin",init);if(_5a5){anim.connect("onEnd",function(){_5a5(_5a1,anim);});}_5a6.push(anim);});return dojo.lfx.combine(_5a6);};dojo.lfx.html.explode=function(_5b0,_5b1,_5b2,_5b3,_5b4){var h=dojo.html;_5b0=dojo.byId(_5b0);_5b1=dojo.byId(_5b1);var _5b6=h.toCoordinateObject(_5b0,true);var _5b7=document.createElement("div");h.copyStyle(_5b7,_5b1);if(_5b1.explodeClassName){_5b7.className=_5b1.explodeClassName;}with(_5b7.style){position="absolute";display="none";var _5b8=h.getStyle(_5b0,"background-color");backgroundColor=_5b8?_5b8.toLowerCase():"transparent";backgroundColor=(backgroundColor=="transparent")?"rgb(221, 221, 221)":backgroundColor;}dojo.body().appendChild(_5b7);with(_5b1.style){visibility="hidden";display="block";}var _5b9=h.toCoordinateObject(_5b1,true);with(_5b1.style){display="none";visibility="visible";}var _5ba={opacity:{start:0.5,end:1}};dojo.lang.forEach(["height","width","top","left"],function(type){_5ba[type]={start:_5b6[type],end:_5b9[type]};});var anim=new dojo.lfx.propertyAnimation(_5b7,_5ba,_5b2,_5b3,{"beforeBegin":function(){h.setDisplay(_5b7,"block");},"onEnd":function(){h.setDisplay(_5b1,"block");_5b7.parentNode.removeChild(_5b7);}});if(_5b4){anim.connect("onEnd",function(){_5b4(_5b1,anim);});}return anim;};dojo.lfx.html.implode=function(_5bd,end,_5bf,_5c0,_5c1){var h=dojo.html;_5bd=dojo.byId(_5bd);end=dojo.byId(end);var _5c3=dojo.html.toCoordinateObject(_5bd,true);var _5c4=dojo.html.toCoordinateObject(end,true);var _5c5=document.createElement("div");dojo.html.copyStyle(_5c5,_5bd);if(_5bd.explodeClassName){_5c5.className=_5bd.explodeClassName;}dojo.html.setOpacity(_5c5,0.3);with(_5c5.style){position="absolute";display="none";backgroundColor=h.getStyle(_5bd,"background-color").toLowerCase();}dojo.body().appendChild(_5c5);var _5c6={opacity:{start:1,end:0.5}};dojo.lang.forEach(["height","width","top","left"],function(type){_5c6[type]={start:_5c3[type],end:_5c4[type]};});var anim=new dojo.lfx.propertyAnimation(_5c5,_5c6,_5bf,_5c0,{"beforeBegin":function(){dojo.html.hide(_5bd);dojo.html.show(_5c5);},"onEnd":function(){_5c5.parentNode.removeChild(_5c5);}});if(_5c1){anim.connect("onEnd",function(){_5c1(_5bd,anim);});}return anim;};dojo.lfx.html.highlight=function(_5c9,_5ca,_5cb,_5cc,_5cd){_5c9=dojo.lfx.html._byId(_5c9);var _5ce=[];dojo.lang.forEach(_5c9,function(node){var _5d0=dojo.html.getBackgroundColor(node);var bg=dojo.html.getStyle(node,"background-color").toLowerCase();var _5d2=dojo.html.getStyle(node,"background-image");var _5d3=(bg=="transparent"||bg=="rgba(0, 0, 0, 0)");while(_5d0.length>3){_5d0.pop();}var rgb=new dojo.gfx.color.Color(_5ca);var _5d5=new dojo.gfx.color.Color(_5d0);var anim=dojo.lfx.propertyAnimation(node,{"background-color":{start:rgb,end:_5d5}},_5cb,_5cc,{"beforeBegin":function(){if(_5d2){node.style.backgroundImage="none";}node.style.backgroundColor="rgb("+rgb.toRgb().join(",")+")";},"onEnd":function(){if(_5d2){node.style.backgroundImage=_5d2;}if(_5d3){node.style.backgroundColor="transparent";}if(_5cd){_5cd(node,anim);}}});_5ce.push(anim);});return dojo.lfx.combine(_5ce);};dojo.lfx.html.unhighlight=function(_5d7,_5d8,_5d9,_5da,_5db){_5d7=dojo.lfx.html._byId(_5d7);var _5dc=[];dojo.lang.forEach(_5d7,function(node){var _5de=new dojo.gfx.color.Color(dojo.html.getBackgroundColor(node));var rgb=new dojo.gfx.color.Color(_5d8);var _5e0=dojo.html.getStyle(node,"background-image");var anim=dojo.lfx.propertyAnimation(node,{"background-color":{start:_5de,end:rgb}},_5d9,_5da,{"beforeBegin":function(){if(_5e0){node.style.backgroundImage="none";}node.style.backgroundColor="rgb("+_5de.toRgb().join(",")+")";},"onEnd":function(){if(_5db){_5db(node,anim);}}});_5dc.push(anim);});return dojo.lfx.combine(_5dc);};dojo.lang.mixin(dojo.lfx,dojo.lfx.html);dojo.kwCompoundRequire({browser:["dojo.lfx.html"],dashboard:["dojo.lfx.html"]});dojo.provide("dojo.lfx.*");dojo.provide("dojo.dnd.HtmlDragAndDrop");dojo.declare("dojo.dnd.HtmlDragSource",dojo.dnd.DragSource,{dragClass:"",onDragStart:function(){var _5e2=new dojo.dnd.HtmlDragObject(this.dragObject,this.type);if(this.dragClass){_5e2.dragClass=this.dragClass;}if(this.constrainToContainer){_5e2.constrainTo(this.constrainingContainer||this.domNode.parentNode);}return _5e2;},setDragHandle:function(node){node=dojo.byId(node);dojo.dnd.dragManager.unregisterDragSource(this);this.domNode=node;dojo.dnd.dragManager.registerDragSource(this);},setDragTarget:function(node){this.dragObject=node;},constrainTo:function(_5e5){this.constrainToContainer=true;if(_5e5){this.constrainingContainer=_5e5;}},onSelected:function(){for(var i=0;i<this.dragObjects.length;i++){dojo.dnd.dragManager.selectedSources.push(new dojo.dnd.HtmlDragSource(this.dragObjects[i]));}},addDragObjects:function(el){for(var i=0;i<arguments.length;i++){this.dragObjects.push(dojo.byId(arguments[i]));}}},function(node,type){node=dojo.byId(node);this.dragObjects=[];this.constrainToContainer=false;if(node){this.domNode=node;this.dragObject=node;this.type=(type)||(this.domNode.nodeName.toLowerCase());dojo.dnd.DragSource.prototype.reregister.call(this);}});dojo.declare("dojo.dnd.HtmlDragObject",dojo.dnd.DragObject,{dragClass:"",opacity:0.5,createIframe:true,disableX:false,disableY:false,createDragNode:function(){var node=this.domNode.cloneNode(true);if(this.dragClass){dojo.html.addClass(node,this.dragClass);}if(this.opacity<1){dojo.html.setOpacity(node,this.opacity);}var ltn=node.tagName.toLowerCase();var isTr=(ltn=="tr");if((isTr)||(ltn=="tbody")){var doc=this.domNode.ownerDocument;var _5ef=doc.createElement("table");if(isTr){var _5f0=doc.createElement("tbody");_5ef.appendChild(_5f0);_5f0.appendChild(node);}else{_5ef.appendChild(node);}var _5f1=((isTr)?this.domNode:this.domNode.firstChild);var _5f2=((isTr)?node:node.firstChild);var _5f3=_5f1.childNodes;var _5f4=_5f2.childNodes;for(var i=0;i<_5f3.length;i++){if((_5f4[i])&&(_5f4[i].style)){_5f4[i].style.width=dojo.html.getContentBox(_5f3[i]).width+"px";}}node=_5ef;}if((dojo.render.html.ie55||dojo.render.html.ie60)&&this.createIframe){with(node.style){top="0px";left="0px";}var _5f6=document.createElement("div");_5f6.appendChild(node);this.bgIframe=new dojo.html.BackgroundIframe(_5f6);_5f6.appendChild(this.bgIframe.iframe);node=_5f6;}node.style.zIndex=999;return node;},onDragStart:function(e){dojo.html.clearSelection();this.scrollOffset=dojo.html.getScroll().offset;this.dragStartPosition=dojo.html.getAbsolutePosition(this.domNode,true);this.dragOffset={y:this.dragStartPosition.y-e.pageY,x:this.dragStartPosition.x-e.pageX};this.dragClone=this.createDragNode();this.containingBlockPosition=this.domNode.offsetParent?dojo.html.getAbsolutePosition(this.domNode.offsetParent,true):{x:0,y:0};if(this.constrainToContainer){this.constraints=this.getConstraints();}with(this.dragClone.style){position="absolute";top=this.dragOffset.y+e.pageY+"px";left=this.dragOffset.x+e.pageX+"px";}dojo.body().appendChild(this.dragClone);dojo.event.topic.publish("dragStart",{source:this});},getConstraints:function(){if(this.constrainingContainer.nodeName.toLowerCase()=="body"){var _5f8=dojo.html.getViewport();var _5f9=_5f8.width;var _5fa=_5f8.height;var _5fb=dojo.html.getScroll().offset;var x=_5fb.x;var y=_5fb.y;}else{var _5fe=dojo.html.getContentBox(this.constrainingContainer);_5f9=_5fe.width;_5fa=_5fe.height;x=this.containingBlockPosition.x+dojo.html.getPixelValue(this.constrainingContainer,"padding-left",true)+dojo.html.getBorderExtent(this.constrainingContainer,"left");y=this.containingBlockPosition.y+dojo.html.getPixelValue(this.constrainingContainer,"padding-top",true)+dojo.html.getBorderExtent(this.constrainingContainer,"top");}var mb=dojo.html.getMarginBox(this.domNode);return {minX:x,minY:y,maxX:x+_5f9-mb.width,maxY:y+_5fa-mb.height};},updateDragOffset:function(){var _600=dojo.html.getScroll().offset;if(_600.y!=this.scrollOffset.y){var diff=_600.y-this.scrollOffset.y;this.dragOffset.y+=diff;this.scrollOffset.y=_600.y;}if(_600.x!=this.scrollOffset.x){var diff=_600.x-this.scrollOffset.x;this.dragOffset.x+=diff;this.scrollOffset.x=_600.x;}},onDragMove:function(e){this.updateDragOffset();var x=this.dragOffset.x+e.pageX;var y=this.dragOffset.y+e.pageY;if(this.constrainToContainer){if(x<this.constraints.minX){x=this.constraints.minX;}if(y<this.constraints.minY){y=this.constraints.minY;}if(x>this.constraints.maxX){x=this.constraints.maxX;}if(y>this.constraints.maxY){y=this.constraints.maxY;}}this.setAbsolutePosition(x,y);dojo.event.topic.publish("dragMove",{source:this});},setAbsolutePosition:function(x,y){if(!this.disableY){this.dragClone.style.top=y+"px";}if(!this.disableX){this.dragClone.style.left=x+"px";}},onDragEnd:function(e){switch(e.dragStatus){case "dropSuccess":dojo.html.removeNode(this.dragClone);this.dragClone=null;break;case "dropFailure":var _608=dojo.html.getAbsolutePosition(this.dragClone,true);var _609={left:this.dragStartPosition.x+1,top:this.dragStartPosition.y+1};var anim=dojo.lfx.slideTo(this.dragClone,_609,300);var _60b=this;dojo.event.connect(anim,"onEnd",function(e){dojo.html.removeNode(_60b.dragClone);_60b.dragClone=null;});anim.play();break;}dojo.event.topic.publish("dragEnd",{source:this});},constrainTo:function(_60d){this.constrainToContainer=true;if(_60d){this.constrainingContainer=_60d;}else{this.constrainingContainer=this.domNode.parentNode;}}},function(node,type){this.domNode=dojo.byId(node);this.type=type;this.constrainToContainer=false;this.dragSource=null;dojo.dnd.DragObject.prototype.register.call(this);});dojo.declare("dojo.dnd.HtmlDropTarget",dojo.dnd.DropTarget,{vertical:false,onDragOver:function(e){if(!this.accepts(e.dragObjects)){return false;}this.childBoxes=[];for(var i=0,_612;i<this.domNode.childNodes.length;i++){_612=this.domNode.childNodes[i];if(_612.nodeType!=dojo.html.ELEMENT_NODE){continue;}var pos=dojo.html.getAbsolutePosition(_612,true);var _614=dojo.html.getBorderBox(_612);this.childBoxes.push({top:pos.y,bottom:pos.y+_614.height,left:pos.x,right:pos.x+_614.width,height:_614.height,width:_614.width,node:_612});}return true;},_getNodeUnderMouse:function(e){for(var i=0,_617;i<this.childBoxes.length;i++){with(this.childBoxes[i]){if(e.pageX>=left&&e.pageX<=right&&e.pageY>=top&&e.pageY<=bottom){return i;}}}return -1;},createDropIndicator:function(){this.dropIndicator=document.createElement("div");with(this.dropIndicator.style){position="absolute";zIndex=999;if(this.vertical){borderLeftWidth="1px";borderLeftColor="black";borderLeftStyle="solid";height=dojo.html.getBorderBox(this.domNode).height+"px";top=dojo.html.getAbsolutePosition(this.domNode,true).y+"px";}else{borderTopWidth="1px";borderTopColor="black";borderTopStyle="solid";width=dojo.html.getBorderBox(this.domNode).width+"px";left=dojo.html.getAbsolutePosition(this.domNode,true).x+"px";}}},onDragMove:function(e,_619){var i=this._getNodeUnderMouse(e);if(!this.dropIndicator){this.createDropIndicator();}var _61b=this.vertical?dojo.html.gravity.WEST:dojo.html.gravity.NORTH;var hide=false;if(i<0){if(this.childBoxes.length){var _61d=(dojo.html.gravity(this.childBoxes[0].node,e)&_61b);if(_61d){hide=true;}}else{var _61d=true;}}else{var _61e=this.childBoxes[i];var _61d=(dojo.html.gravity(_61e.node,e)&_61b);if(_61e.node===_619[0].dragSource.domNode){hide=true;}else{var _61f=_61d?(i>0?this.childBoxes[i-1]:_61e):(i<this.childBoxes.length-1?this.childBoxes[i+1]:_61e);if(_61f.node===_619[0].dragSource.domNode){hide=true;}}}if(hide){this.dropIndicator.style.display="none";return;}else{this.dropIndicator.style.display="";}this.placeIndicator(e,_619,i,_61d);if(!dojo.html.hasParent(this.dropIndicator)){dojo.body().appendChild(this.dropIndicator);}},placeIndicator:function(e,_621,_622,_623){var _624=this.vertical?"left":"top";var _625;if(_622<0){if(this.childBoxes.length){_625=_623?this.childBoxes[0]:this.childBoxes[this.childBoxes.length-1];}else{this.dropIndicator.style[_624]=dojo.html.getAbsolutePosition(this.domNode,true)[this.vertical?"x":"y"]+"px";}}else{_625=this.childBoxes[_622];}if(_625){this.dropIndicator.style[_624]=(_623?_625[_624]:_625[this.vertical?"right":"bottom"])+"px";if(this.vertical){this.dropIndicator.style.height=_625.height+"px";this.dropIndicator.style.top=_625.top+"px";}else{this.dropIndicator.style.width=_625.width+"px";this.dropIndicator.style.left=_625.left+"px";}}},onDragOut:function(e){if(this.dropIndicator){dojo.html.removeNode(this.dropIndicator);delete this.dropIndicator;}},onDrop:function(e){this.onDragOut(e);var i=this._getNodeUnderMouse(e);var _629=this.vertical?dojo.html.gravity.WEST:dojo.html.gravity.NORTH;if(i<0){if(this.childBoxes.length){if(dojo.html.gravity(this.childBoxes[0].node,e)&_629){return this.insert(e,this.childBoxes[0].node,"before");}else{return this.insert(e,this.childBoxes[this.childBoxes.length-1].node,"after");}}return this.insert(e,this.domNode,"append");}var _62a=this.childBoxes[i];if(dojo.html.gravity(_62a.node,e)&_629){return this.insert(e,_62a.node,"before");}else{return this.insert(e,_62a.node,"after");}},insert:function(e,_62c,_62d){var node=e.dragObject.domNode;if(_62d=="before"){return dojo.html.insertBefore(node,_62c);}else{if(_62d=="after"){return dojo.html.insertAfter(node,_62c);}else{if(_62d=="append"){_62c.appendChild(node);return true;}}}return false;}},function(node,_630){if(arguments.length==0){return;}this.domNode=dojo.byId(node);dojo.dnd.DropTarget.call(this);if(_630&&dojo.lang.isString(_630)){_630=[_630];}this.acceptedTypes=_630||[];dojo.dnd.dragManager.registerDropTarget(this);});dojo.kwCompoundRequire({common:["dojo.dnd.DragAndDrop"],browser:["dojo.dnd.HtmlDragAndDrop"],dashboard:["dojo.dnd.HtmlDragAndDrop"]});dojo.provide("dojo.dnd.*");dojo.provide("dojo.dnd.HtmlDragMove");dojo.declare("dojo.dnd.HtmlDragMoveSource",dojo.dnd.HtmlDragSource,{onDragStart:function(){var _631=new dojo.dnd.HtmlDragMoveObject(this.dragObject,this.type);if(this.constrainToContainer){_631.constrainTo(this.constrainingContainer);}return _631;},onSelected:function(){for(var i=0;i<this.dragObjects.length;i++){dojo.dnd.dragManager.selectedSources.push(new dojo.dnd.HtmlDragMoveSource(this.dragObjects[i]));}}});dojo.declare("dojo.dnd.HtmlDragMoveObject",dojo.dnd.HtmlDragObject,{onDragStart:function(e){dojo.html.clearSelection();this.dragClone=this.domNode;if(dojo.html.getComputedStyle(this.domNode,"position")!="absolute"){this.domNode.style.position="relative";}var left=parseInt(dojo.html.getComputedStyle(this.domNode,"left"));var top=parseInt(dojo.html.getComputedStyle(this.domNode,"top"));this.dragStartPosition={x:isNaN(left)?0:left,y:isNaN(top)?0:top};this.scrollOffset=dojo.html.getScroll().offset;this.dragOffset={y:this.dragStartPosition.y-e.pageY,x:this.dragStartPosition.x-e.pageX};this.containingBlockPosition={x:0,y:0};if(this.constrainToContainer){this.constraints=this.getConstraints();}dojo.event.connect(this.domNode,"onclick",this,"_squelchOnClick");},onDragEnd:function(e){},setAbsolutePosition:function(x,y){if(!this.disableY){this.domNode.style.top=y+"px";}if(!this.disableX){this.domNode.style.left=x+"px";}},_squelchOnClick:function(e){dojo.event.browser.stopEvent(e);dojo.event.disconnect(this.domNode,"onclick",this,"_squelchOnClick");}});dojo.provide("dojo.xml.Parse");dojo.xml.Parse=function(){var isIE=((dojo.render.html.capable)&&(dojo.render.html.ie));function getTagName(node){try{return node.tagName.toLowerCase();}catch(e){return "";}}function getDojoTagName(node){var _63d=getTagName(node);if(!_63d){return "";}if((dojo.widget)&&(dojo.widget.tags[_63d])){return _63d;}var p=_63d.indexOf(":");if(p>=0){return _63d;}if(_63d.substr(0,5)=="dojo:"){return _63d;}if(dojo.render.html.capable&&dojo.render.html.ie&&node.scopeName!="HTML"){return node.scopeName.toLowerCase()+":"+_63d;}if(_63d.substr(0,4)=="dojo"){return "dojo:"+_63d.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(dojo.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["djConfig"])&&(!djConfig["ignoreClassNames"])){var _640=node.className||node.getAttribute("class");if((_640)&&(_640.indexOf)&&(_640.indexOf("dojo-")!=-1)){var _641=_640.split(" ");for(var x=0,c=_641.length;x<c;x++){if(_641[x].slice(0,5)=="dojo-"){return "dojo:"+_641[x].substr(5).toLowerCase();}}}}return "";}this.parseElement=function(node,_645,_646,_647){var _648=getTagName(node);if(isIE&&_648.indexOf("/")==0){return null;}try{var attr=node.getAttribute("parseWidgets");if(attr&&attr.toLowerCase()=="false"){return {};}}catch(e){}var _64a=true;if(_646){var _64b=getDojoTagName(node);_648=_64b||_648;_64a=Boolean(_64b);}var _64c={};_64c[_648]=[];var pos=_648.indexOf(":");if(pos>0){var ns=_648.substring(0,pos);_64c["ns"]=ns;if((dojo.ns)&&(!dojo.ns.allow(ns))){_64a=false;}}if(_64a){var _64f=this.parseAttributes(node);for(var attr in _64f){if((!_64c[_648][attr])||(typeof _64c[_648][attr]!="array")){_64c[_648][attr]=[];}_64c[_648][attr].push(_64f[attr]);}_64c[_648].nodeRef=node;_64c.tagName=_648;_64c.index=_647||0;}var _650=0;for(var i=0;i<node.childNodes.length;i++){var tcn=node.childNodes.item(i);switch(tcn.nodeType){case dojo.dom.ELEMENT_NODE:var ctn=getDojoTagName(tcn)||getTagName(tcn);if(!_64c[ctn]){_64c[ctn]=[];}_64c[ctn].push(this.parseElement(tcn,true,_646,_650));if((tcn.childNodes.length==1)&&(tcn.childNodes.item(0).nodeType==dojo.dom.TEXT_NODE)){_64c[ctn][_64c[ctn].length-1].value=tcn.childNodes.item(0).nodeValue;}_650++;break;case dojo.dom.TEXT_NODE:if(node.childNodes.length==1){_64c[_648].push({value:node.childNodes.item(0).nodeValue});}break;default:break;}}return _64c;};this.parseAttributes=function(node){var _655={};var atts=node.attributes;var _657,i=0;while((_657=atts[i++])){if(isIE){if(!_657){continue;}if((typeof _657=="object")&&(typeof _657.nodeValue=="undefined")||(_657.nodeValue==null)||(_657.nodeValue=="")){continue;}}var nn=_657.nodeName.split(":");nn=(nn.length==2)?nn[1]:_657.nodeName;_655[nn]={value:_657.nodeValue};}return _655;};};dojo.provide("dojo.ns");dojo.ns={namespaces:{},failed:{},loading:{},loaded:{},register:function(name,_65b,_65c,_65d){if(!_65d||!this.namespaces[name]){this.namespaces[name]=new dojo.ns.Ns(name,_65b,_65c);}},allow:function(name){if(this.failed[name]){return false;}if((djConfig.excludeNamespace)&&(dojo.lang.inArray(djConfig.excludeNamespace,name))){return false;}return ((name==this.dojo)||(!djConfig.includeNamespace)||(dojo.lang.inArray(djConfig.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]){dojo.debug("dojo.namespace.require: re-entrant request to load namespace \""+name+"\" must fail.");return false;}var req=dojo.require;this.loading[name]=true;try{if(name=="dojo"){req("dojo.namespaces.dojo");}else{if(!dojo.hostenv.moduleHasPrefix(name)){dojo.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];}};dojo.ns.Ns=function(name,_664,_665){this.name=name;this.module=_664;this.resolver=_665;this._loaded=[];this._failed=[];};dojo.ns.Ns.prototype.resolve=function(name,_667,_668){if(!this.resolver||djConfig["skipAutoRequire"]){return false;}var _669=this.resolver(name,_667);if((_669)&&(!this._loaded[_669])&&(!this._failed[_669])){var req=dojo.require;req(_669,false,true);if(dojo.hostenv.findModule(_669,false)){this._loaded[_669]=true;}else{if(!_668){dojo.raise("dojo.ns.Ns.resolve: module '"+_669+"' not found after loading via namespace '"+this.name+"'");}this._failed[_669]=true;}}return Boolean(this._loaded[_669]);};dojo.registerNamespace=function(name,_66c,_66d){dojo.ns.register.apply(dojo.ns,arguments);};dojo.registerNamespaceResolver=function(name,_66f){var n=dojo.ns.namespaces[name];if(n){n.resolver=_66f;}};dojo.registerNamespaceManifest=function(_671,path,name,_674,_675){dojo.registerModulePath(name,path);dojo.registerNamespace(name,_674,_675);};dojo.registerNamespace("dojo","dojo.widget");dojo.provide("dojo.widget.Manager");dojo.widget.manager=new function(){this.widgets=[];this.widgetIds=[];this.topWidgets={};var _676={};var _677=[];this.getUniqueId=function(_678){var _679;do{_679=_678+"_"+(_676[_678]!=undefined?++_676[_678]:_676[_678]=0);}while(this.getWidgetById(_679));return _679;};this.add=function(_67a){this.widgets.push(_67a);if(!_67a.extraArgs["id"]){_67a.extraArgs["id"]=_67a.extraArgs["ID"];}if(_67a.widgetId==""){if(_67a["id"]){_67a.widgetId=_67a["id"];}else{if(_67a.extraArgs["id"]){_67a.widgetId=_67a.extraArgs["id"];}else{_67a.widgetId=this.getUniqueId(_67a.ns+"_"+_67a.widgetType);}}}if(this.widgetIds[_67a.widgetId]){dojo.debug("widget ID collision on ID: "+_67a.widgetId);}this.widgetIds[_67a.widgetId]=_67a;};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(_67c){if(dojo.lang.isNumber(_67c)){var tw=this.widgets[_67c].widgetId;delete this.topWidgets[tw];delete this.widgetIds[tw];this.widgets.splice(_67c,1);}else{this.removeById(_67c);}};this.removeById=function(id){if(!dojo.lang.isString(id)){id=id["widgetId"];if(!id){dojo.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(dojo.lang.isString(id)){return this.widgetIds[id];}return id;};this.getWidgetsByType=function(type){var lt=type.toLowerCase();var _683=(type.indexOf(":")<0?function(x){return x.widgetType.toLowerCase();}:function(x){return x.getNamespacedType();});var ret=[];dojo.lang.forEach(this.widgets,function(x){if(_683(x)==lt){ret.push(x);}});return ret;};this.getWidgetsByFilter=function(_688,_689){var ret=[];dojo.lang.every(this.widgets,function(x){if(_688(x)){ret.push(x);if(_689){return false;}}return true;});return (_689?ret[0]:ret);};this.getAllWidgets=function(){return this.widgets.concat();};this.getWidgetByNode=function(node){var w=this.getAllWidgets();node=dojo.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 _68f={};var _690=["dojo.widget"];for(var i=0;i<_690.length;i++){_690[_690[i]]=true;}this.registerWidgetPackage=function(_692){if(!_690[_692]){_690[_692]=true;_690.push(_692);}};this.getWidgetPackageList=function(){return dojo.lang.map(_690,function(elt){return (elt!==true?elt:undefined);});};this.getImplementation=function(_694,_695,_696,ns){var impl=this.getImplementationName(_694,ns);if(impl){var ret=_695?new impl(_695):new impl();return ret;}};function buildPrefixCache(){for(var _69a in dojo.render){if(dojo.render[_69a]["capable"]===true){var _69b=dojo.render[_69a].prefixes;for(var i=0;i<_69b.length;i++){_677.push(_69b[i].toLowerCase());}}}}var _69d=function(_69e,_69f){if(!_69f){return null;}for(var i=0,l=_677.length,_6a2;i<=l;i++){_6a2=(i<l?_69f[_677[i]]:_69f);if(!_6a2){continue;}for(var name in _6a2){if(name.toLowerCase()==_69e){return _6a2[name];}}}return null;};var _6a4=function(_6a5,_6a6){var _6a7=dojo.evalObjPath(_6a6,false);return (_6a7?_69d(_6a5,_6a7):null);};this.getImplementationName=function(_6a8,ns){var _6aa=_6a8.toLowerCase();ns=ns||"dojo";var imps=_68f[ns]||(_68f[ns]={});var impl=imps[_6aa];if(impl){return impl;}if(!_677.length){buildPrefixCache();}var _6ad=dojo.ns.get(ns);if(!_6ad){dojo.ns.register(ns,ns+".widget");_6ad=dojo.ns.get(ns);}if(_6ad){_6ad.resolve(_6a8);}impl=_6a4(_6aa,_6ad.module);if(impl){return (imps[_6aa]=impl);}_6ad=dojo.ns.require(ns);if((_6ad)&&(_6ad.resolver)){_6ad.resolve(_6a8);impl=_6a4(_6aa,_6ad.module);if(impl){return (imps[_6aa]=impl);}}dojo.deprecated("dojo.widget.Manager.getImplementationName","Could not locate widget implementation for \""+_6a8+"\" in \""+_6ad.module+"\" registered to namespace \""+_6ad.name+"\". "+"Developers must specify correct namespaces for all non-Dojo widgets","0.5");for(var i=0;i<_690.length;i++){impl=_6a4(_6aa,_690[i]);if(impl){return (imps[_6aa]=impl);}}throw new Error("Could not locate widget implementation for \""+_6a8+"\" in \""+_6ad.module+"\" registered to namespace \""+_6ad.name+"\"");};this.resizing=false;this.onWindowResized=function(){if(this.resizing){return;}try{this.resizing=true;for(var id in this.topWidgets){var _6b0=this.topWidgets[id];if(_6b0.checkSize){_6b0.checkSize();}}}catch(e){}finally{this.resizing=false;}};if(typeof window!="undefined"){dojo.addOnLoad(this,"onWindowResized");dojo.event.connect(window,"onresize",this,"onWindowResized");}};(function(){var dw=dojo.widget;var dwm=dw.manager;var h=dojo.lang.curry(dojo.lang,"hitch",dwm);var g=function(_6b5,_6b6){dw[(_6b6||_6b5)]=h(_6b5);};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 _6b8=dwm.getAllWidgets.apply(dwm,arguments);if(arguments.length>0){return _6b8[n];}return _6b8;};g("registerWidgetPackage");g("getImplementation","getWidgetImplementation");g("getImplementationName","getWidgetImplementationName");dw.widgets=dwm.widgets;dw.widgetIds=dwm.widgetIds;dw.root=dwm.root;})();dojo.kwCompoundRequire({common:[["dojo.uri.Uri",false,false]]});dojo.provide("dojo.uri.*");dojo.provide("dojo.a11y");dojo.a11y={imgPath:dojo.uri.moduleUri("dojo.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(dojo.render.html.ie||dojo.render.html.mozilla){var div=document.createElement("div");div.style.backgroundImage="url(\""+this.imgPath+"/tab_close.gif\")";dojo.body().appendChild(div);var _6ba=null;if(window.getComputedStyle){var _6bb=getComputedStyle(div,"");_6ba=_6bb.getPropertyValue("background-image");}else{_6ba=div.currentStyle.backgroundImage;}var _6bc=false;if(_6ba!=null&&(_6ba=="none"||_6ba=="url(invalid-url:)")){this.accessible=true;}dojo.body().removeChild(div);}return this.accessible;},setCheckAccessible:function(_6bd){this.doAccessibleCheck=_6bd;},setAccessibleMode:function(){if(this.accessible===null){if(this.checkAccessible()){dojo.render.html.prefixes.unshift("a11y");}}return this.accessible;}};dojo.provide("dojo.widget.Widget");dojo.declare("dojo.widget.Widget",null,function(){this.children=[];this.extraArgs={};},{parent:null,isTopLevel:false,disabled:false,isContainer:false,widgetId:"",widgetType:"Widget",ns:"dojo",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 _6bf=this.children[i];if(_6bf.onResized){_6bf.onResized();}}},create:function(args,_6c1,_6c2,ns){if(ns){this.ns=ns;}this.satisfyPropertySets(args,_6c1,_6c2);this.mixInProperties(args,_6c1,_6c2);this.postMixInProperties(args,_6c1,_6c2);dojo.widget.manager.add(this);this.buildRendering(args,_6c1,_6c2);this.initialize(args,_6c1,_6c2);this.postInitialize(args,_6c1,_6c2);this.postCreate(args,_6c1,_6c2);return this;},destroy:function(_6c4){if(this.parent){this.parent.removeChild(this);}this.destroyChildren();this.uninitialize();this.destroyRendering(_6c4);dojo.widget.manager.removeById(this.widgetId);},destroyChildren:function(){var _6c5;var i=0;while(this.children.length>i){_6c5=this.children[i];if(_6c5 instanceof dojo.widget.Widget){this.removeChild(_6c5);_6c5.destroy();continue;}i++;}},getChildrenOfType:function(type,_6c8){var ret=[];var _6ca=dojo.lang.isFunction(type);if(!_6ca){type=type.toLowerCase();}for(var x=0;x<this.children.length;x++){if(_6ca){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(_6c8){ret=ret.concat(this.children[x].getChildrenOfType(type,_6c8));}}return ret;},getDescendants:function(){var _6cc=[];var _6cd=[this];var elem;while((elem=_6cd.pop())){_6cc.push(elem);if(elem.children){dojo.lang.forEach(elem.children,function(elem){_6cd.push(elem);});}}return _6cc;},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 _6d4;var _6d5=dojo.widget.lcArgsCache[this.widgetType];if(_6d5==null){_6d5={};for(var y in this){_6d5[((new String(y)).toLowerCase())]=y;}dojo.widget.lcArgsCache[this.widgetType]=_6d5;}var _6d7={};for(var x in args){if(!this[x]){var y=_6d5[(new String(x)).toLowerCase()];if(y){args[y]=args[x];x=y;}}if(_6d7[x]){continue;}_6d7[x]=true;if((typeof this[x])!=(typeof _6d4)){if(typeof args[x]!="string"){this[x]=args[x];}else{if(dojo.lang.isString(this[x])){this[x]=args[x];}else{if(dojo.lang.isNumber(this[x])){this[x]=new Number(args[x]);}else{if(dojo.lang.isBoolean(this[x])){this[x]=(args[x].toLowerCase()=="false")?false:true;}else{if(dojo.lang.isFunction(this[x])){if(args[x].search(/[^\w\.]+/i)==-1){this[x]=dojo.evalObjPath(args[x],false);}else{var tn=dojo.lang.nameAnonFunc(new Function(args[x]),this);dojo.event.kwConnect({srcObj:this,srcFunc:x,adviceObj:this,adviceFunc:tn});}}else{if(dojo.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 dojo.uri.Uri){this[x]=dojo.uri.dojoUri(args[x]);}else{var _6d9=args[x].split(";");for(var y=0;y<_6d9.length;y++){var si=_6d9[y].indexOf(":");if((si!=-1)&&(_6d9[y].length>si)){this[x][_6d9[y].substr(0,si).replace(/^\s+|\s+$/g,"")]=_6d9[y].substr(si+1);}}}}else{this[x]=args[x];}}}}}}}}}else{this.extraArgs[x.toLowerCase()]=args[x];}}},postMixInProperties:function(args,frag,_6dd){},initialize:function(args,frag,_6e0){return false;},postInitialize:function(args,frag,_6e3){return false;},postCreate:function(args,frag,_6e6){return false;},uninitialize:function(){return false;},buildRendering:function(args,frag,_6e9){dojo.unimplemented("dojo.widget.Widget.buildRendering, on "+this.toString()+", ");return false;},destroyRendering:function(){dojo.unimplemented("dojo.widget.Widget.destroyRendering");return false;},addedTo:function(_6ea){},addChild:function(_6eb){dojo.unimplemented("dojo.widget.Widget.addChild");return false;},removeChild:function(_6ec){for(var x=0;x<this.children.length;x++){if(this.children[x]===_6ec){this.children.splice(x,1);_6ec.parent=null;break;}}return _6ec;},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 dojo.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];}});dojo.widget.lcArgsCache={};dojo.widget.tags={};dojo.widget.tags.addParseTreeHandler=function(type){dojo.deprecated("addParseTreeHandler",". ParseTreeHandlers are now reserved for components. Any unfiltered DojoML tag without a ParseTreeHandler is assumed to be a widget","0.5");};dojo.widget.tags["dojo:propertyset"]=function(_6f1,_6f2,_6f3){var _6f4=_6f2.parseProperties(_6f1["dojo:propertyset"]);};dojo.widget.tags["dojo:connect"]=function(_6f5,_6f6,_6f7){var _6f8=_6f6.parseProperties(_6f5["dojo:connect"]);};dojo.widget.buildWidgetFromParseTree=function(type,frag,_6fb,_6fc,_6fd,_6fe){dojo.a11y.setAccessibleMode();var _6ff=type.split(":");_6ff=(_6ff.length==2)?_6ff[1]:type;var _700=_6fe||_6fb.parseProperties(frag[frag["ns"]+":"+_6ff]);var _701=dojo.widget.manager.getImplementation(_6ff,null,null,frag["ns"]);if(!_701){throw new Error("cannot find \""+type+"\" widget");}else{if(!_701.create){throw new Error("\""+type+"\" widget object has no \"create\" method and does not appear to implement *Widget");}}_700["dojoinsertionindex"]=_6fd;var ret=_701.create(_700,frag,_6fc,frag["ns"]);return ret;};dojo.widget.defineWidget=function(_703,_704,_705,init,_707){if(dojo.lang.isString(arguments[3])){dojo.widget._defineWidget(arguments[0],arguments[3],arguments[1],arguments[4],arguments[2]);}else{var args=[arguments[0]],p=3;if(dojo.lang.isString(arguments[1])){args.push(arguments[1],arguments[2]);}else{args.push("",arguments[1]);p=2;}if(dojo.lang.isFunction(arguments[p])){args.push(arguments[p],arguments[p+1]);}else{args.push(null,arguments[p]);}dojo.widget._defineWidget.apply(this,args);}};dojo.widget.defineWidget.renderers="html|svg|vml";dojo.widget._defineWidget=function(_70a,_70b,_70c,init,_70e){var _70f=_70a.split(".");var type=_70f.pop();var regx="\\.("+(_70b?_70b+"|":"")+dojo.widget.defineWidget.renderers+")\\.";var r=_70a.search(new RegExp(regx));_70f=(r<0?_70f.join("."):_70a.substr(0,r));dojo.widget.manager.registerWidgetPackage(_70f);var pos=_70f.indexOf(".");var _714=(pos>-1)?_70f.substring(0,pos):_70f;_70e=(_70e)||{};_70e.widgetType=type;if((!init)&&(_70e["classConstructor"])){init=_70e.classConstructor;delete _70e.classConstructor;}dojo.declare(_70a,_70c,init,_70e);};dojo.provide("dojo.widget.Parse");dojo.widget.Parse=function(_715){this.propertySetsList=[];this.fragment=_715;this.createComponents=function(frag,_717){var _718=[];var _719=false;try{if(frag&&frag.tagName&&(frag!=frag.nodeRef)){var _71a=dojo.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(_71a[ltn]){_719=true;ret=_71a[ltn](frag,this,_717,frag.index);_718.push(ret);}else{if(ltn.indexOf(":")==-1){ltn="dojo:"+ltn;}ret=dojo.widget.buildWidgetFromParseTree(ltn,frag,this,_717,frag.index);if(ret){_719=true;_718.push(ret);}}}}}catch(e){dojo.debug("dojo.widget.Parse: error:",e);}if(!_719){_718=_718.concat(this.createSubComponents(frag,_717));}return _718;};this.createSubComponents=function(_71f,_720){var frag,_722=[];for(var item in _71f){frag=_71f[item];if(frag&&typeof frag=="object"&&(frag!=_71f.nodeRef)&&(frag!=_71f.tagName)&&(!dojo.dom.isNode(frag))){_722=_722.concat(this.createComponents(frag,_720));}}return _722;};this.parsePropertySets=function(_724){return [];};this.parseProperties=function(_725){var _726={};for(var item in _725){if((_725[item]==_725.tagName)||(_725[item]==_725.nodeRef)){}else{var frag=_725[item];if(frag.tagName&&dojo.widget.tags[frag.tagName.toLowerCase()]){}else{if(frag[0]&&frag[0].value!=""&&frag[0].value!=null){try{if(item.toLowerCase()=="dataprovider"){var _729=this;this.getDataProvider(_729,frag[0].value);_726.dataProvider=this.dataProvider;}_726[item]=frag[0].value;var _72a=this.parseProperties(frag);for(var _72b in _72a){_726[_72b]=_72a[_72b];}}catch(e){dojo.debug(e);}}}switch(item.toLowerCase()){case "checked":case "disabled":if(typeof _726[item]!="boolean"){_726[item]=true;}break;}}}return _726;};this.getDataProvider=function(_72c,_72d){dojo.io.bind({url:_72d,load:function(type,_72f){if(type=="load"){_72c.dataProvider=_72f;}},mimetype:"text/javascript",sync:true});};this.getPropertySetById=function(_730){for(var x=0;x<this.propertySetsList.length;x++){if(_730==this.propertySetsList[x]["id"][0].value){return this.propertySetsList[x];}}return "";};this.getPropertySetsByType=function(_732){var _733=[];for(var x=0;x<this.propertySetsList.length;x++){var cpl=this.propertySetsList[x];var cpcc=cpl.componentClass||cpl.componentType||null;var _737=this.propertySetsList[x]["id"][0].value;if(cpcc&&(_737==cpcc[0].value)){_733.push(cpl);}}return _733;};this.getPropertySets=function(_738){var ppl="dojo:propertyproviderlist";var _73a=[];var _73b=_738.tagName;if(_738[ppl]){var _73c=_738[ppl].value.split(" ");for(var _73d in _73c){if((_73d.indexOf("..")==-1)&&(_73d.indexOf("://")==-1)){var _73e=this.getPropertySetById(_73d);if(_73e!=""){_73a.push(_73e);}}else{}}}return this.getPropertySetsByType(_73b).concat(_73a);};this.createComponentFromScript=function(_73f,_740,_741,ns){_741.fastMixIn=true;var ltn=(ns||"dojo")+":"+_740.toLowerCase();if(dojo.widget.tags[ltn]){return [dojo.widget.tags[ltn](_741,this,null,null,_741)];}return [dojo.widget.buildWidgetFromParseTree(ltn,_741,this,null,null,_741)];};};dojo.widget._parser_collection={"dojo":new dojo.widget.Parse()};dojo.widget.getParser=function(name){if(!name){name="dojo";}if(!this._parser_collection[name]){this._parser_collection[name]=new dojo.widget.Parse();}return this._parser_collection[name];};dojo.widget.createWidget=function(name,_746,_747,_748){var _749=false;var _74a=(typeof name=="string");if(_74a){var pos=name.indexOf(":");var ns=(pos>-1)?name.substring(0,pos):"dojo";if(pos>-1){name=name.substring(pos+1);}var _74d=name.toLowerCase();var _74e=ns+":"+_74d;_749=(dojo.byId(name)&&!dojo.widget.tags[_74e]);}if((arguments.length==1)&&(_749||!_74a)){var xp=new dojo.xml.Parse();var tn=_749?dojo.byId(name):name;return dojo.widget.getParser().createComponents(xp.parseElement(tn,null,true))[0];}function fromScript(_751,name,_753,ns){_753[_74e]={dojotype:[{value:_74d}],nodeRef:_751,fastMixIn:true};_753.ns=ns;return dojo.widget.getParser().createComponentFromScript(_751,name,_753,ns);}_746=_746||{};var _755=false;var tn=null;var h=dojo.render.html.capable;if(h){tn=document.createElement("span");}if(!_747){_755=true;_747=tn;if(h){dojo.body().appendChild(_747);}}else{if(_748){dojo.dom.insertAtPosition(tn,_747,_748);}else{tn=_747;}}var _757=fromScript(tn,name.toLowerCase(),_746,ns);if((!_757)||(!_757[0])||(typeof _757[0].widgetType=="undefined")){throw new Error("createWidget: Creation of \""+name+"\" widget failed.");}try{if(_755&&_757[0].domNode.parentNode){_757[0].domNode.parentNode.removeChild(_757[0].domNode);}}catch(e){dojo.debug(e);}return _757[0];};dojo.provide("dojo.widget.DomWidget");dojo.widget._cssFiles={};dojo.widget._cssStrings={};dojo.widget._templateCache={};dojo.widget.defaultStrings={dojoRoot:dojo.hostenv.getBaseScriptUri(),dojoWidgetModuleUri:dojo.uri.moduleUri("dojo.widget"),baseScriptUri:dojo.hostenv.getBaseScriptUri()};dojo.widget.fillFromTemplateCache=function(obj,_759,_75a,_75b){var _75c=_759||obj.templatePath;var _75d=dojo.widget._templateCache;if(!_75c&&!obj["widgetType"]){do{var _75e="__dummyTemplate__"+dojo.widget._templateCache.dummyCount++;}while(_75d[_75e]);obj.widgetType=_75e;}var wt=_75c?_75c.toString():obj.widgetType;var ts=_75d[wt];if(!ts){_75d[wt]={"string":null,"node":null};if(_75b){ts={};}else{ts=_75d[wt];}}if((!obj.templateString)&&(!_75b)){obj.templateString=_75a||ts["string"];}if(obj.templateString){obj.templateString=this._sanitizeTemplateString(obj.templateString);}if((!obj.templateNode)&&(!_75b)){obj.templateNode=ts["node"];}if((!obj.templateNode)&&(!obj.templateString)&&(_75c)){var _761=this._sanitizeTemplateString(dojo.hostenv.getText(_75c));obj.templateString=_761;if(!_75b){_75d[wt]["string"]=_761;}}if((!ts["string"])&&(!_75b)){ts.string=obj.templateString;}};dojo.widget._sanitizeTemplateString=function(_762){if(_762){_762=_762.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _763=_762.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_763){_762=_763[1];}}else{_762="";}return _762;};dojo.widget._templateCache.dummyCount=0;dojo.widget.attachProperties=["dojoAttachPoint","id"];dojo.widget.eventAttachProperty="dojoAttachEvent";dojo.widget.onBuildProperty="dojoOnBuild";dojo.widget.waiNames=["waiRole","waiState"];dojo.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,_767){if(dojo.render.html.ie){node.setAttribute(this[ns].alias+":"+attr,this[ns].prefix+_767);}else{node.setAttributeNS(this[ns]["namespace"],attr,this[ns].prefix+_767);}},getAttr:function(node,ns,attr){if(dojo.render.html.ie){return node.getAttribute(this[ns].alias+":"+attr);}else{return node.getAttributeNS(this[ns]["namespace"],attr);}},removeAttr:function(node,ns,attr){var _76e=true;if(dojo.render.html.ie){_76e=node.removeAttribute(this[ns].alias+":"+attr);}else{node.removeAttributeNS(this[ns]["namespace"],attr);}return _76e;}};dojo.widget.attachTemplateNodes=function(_76f,_770,_771){var _772=dojo.dom.ELEMENT_NODE;function trim(str){return str.replace(/^\s+|\s+$/g,"");}if(!_76f){_76f=_770.domNode;}if(_76f.nodeType!=_772){return;}var _774=_76f.all||_76f.getElementsByTagName("*");var _775=_770;for(var x=-1;x<_774.length;x++){var _777=(x==-1)?_76f:_774[x];var _778=[];if(!_770.widgetsInTemplate||!_777.getAttribute("dojoType")){for(var y=0;y<this.attachProperties.length;y++){var _77a=_777.getAttribute(this.attachProperties[y]);if(_77a){_778=_77a.split(";");for(var z=0;z<_778.length;z++){if(dojo.lang.isArray(_770[_778[z]])){_770[_778[z]].push(_777);}else{_770[_778[z]]=_777;}}break;}}var _77c=_777.getAttribute(this.eventAttachProperty);if(_77c){var evts=_77c.split(";");for(var y=0;y<evts.length;y++){if((!evts[y])||(!evts[y].length)){continue;}var _77e=null;var tevt=trim(evts[y]);if(evts[y].indexOf(":")>=0){var _780=tevt.split(":");tevt=trim(_780[0]);_77e=trim(_780[1]);}if(!_77e){_77e=tevt;}var tf=function(){var ntf=new String(_77e);return function(evt){if(_775[ntf]){_775[ntf](dojo.event.browser.fixEvent(evt,this));}};}();dojo.event.browser.addListener(_777,tevt,tf,false,true);}}for(var y=0;y<_771.length;y++){var _784=_777.getAttribute(_771[y]);if((_784)&&(_784.length)){var _77e=null;var _785=_771[y].substr(4);_77e=trim(_784);var _786=[_77e];if(_77e.indexOf(";")>=0){_786=dojo.lang.map(_77e.split(";"),trim);}for(var z=0;z<_786.length;z++){if(!_786[z].length){continue;}var tf=function(){var ntf=new String(_786[z]);return function(evt){if(_775[ntf]){_775[ntf](dojo.event.browser.fixEvent(evt,this));}};}();dojo.event.browser.addListener(_777,_785,tf,false,true);}}}}var _789=_777.getAttribute(this.templateProperty);if(_789){_770[_789]=_777;}dojo.lang.forEach(dojo.widget.waiNames,function(name){var wai=dojo.widget.wai[name];var val=_777.getAttribute(wai.name);if(val){if(val.indexOf("-")==-1){dojo.widget.wai.setAttr(_777,wai.name,"role",val);}else{var _78d=val.split("-");dojo.widget.wai.setAttr(_777,wai.name,_78d[0],_78d[1]);}}},this);var _78e=_777.getAttribute(this.onBuildProperty);if(_78e){eval("var node = baseNode; var widget = targetObj; "+_78e);}}};dojo.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;};dojo.declare("dojo.widget.DomWidget",dojo.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(_796,_797,pos,ref,_79a){if(!this.isContainer){dojo.debug("dojo.widget.DomWidget.addChild() attempted on non-container widget");return null;}else{if(_79a==undefined){_79a=this.children.length;}this.addWidgetAsDirectChild(_796,_797,pos,ref,_79a);this.registerChild(_796,_79a);}return _796;},addWidgetAsDirectChild:function(_79b,_79c,pos,ref,_79f){if((!this.containerNode)&&(!_79c)){this.containerNode=this.domNode;}var cn=(_79c)?_79c:this.containerNode;if(!pos){pos="after";}if(!ref){if(!cn){cn=dojo.body();}ref=cn.lastChild;}if(!_79f){_79f=0;}_79b.domNode.setAttribute("dojoinsertionindex",_79f);if(!ref){cn.appendChild(_79b.domNode);}else{if(pos=="insertAtIndex"){dojo.dom.insertAtIndex(_79b.domNode,ref.parentNode,_79f);}else{if((pos=="after")&&(ref===cn.lastChild)){cn.appendChild(_79b.domNode);}else{dojo.dom.insertAtPosition(_79b.domNode,cn,pos);}}}},registerChild:function(_7a1,_7a2){_7a1.dojoInsertionIndex=_7a2;var idx=-1;for(var i=0;i<this.children.length;i++){if(this.children[i].dojoInsertionIndex<=_7a2){idx=i;}}this.children.splice(idx+1,0,_7a1);_7a1.parent=this;_7a1.addedTo(this,idx+1);delete dojo.widget.manager.topWidgets[_7a1.widgetId];},removeChild:function(_7a5){dojo.dom.removeNode(_7a5.domNode);return dojo.widget.DomWidget.superclass.removeChild.call(this,_7a5);},getFragNodeRef:function(frag){if(!frag){return null;}if(!frag[this.getNamespacedType()]){dojo.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,_7a9){var _7aa=this.getFragNodeRef(frag);if(_7a9&&(_7a9.snarfChildDomOutput||!_7aa)){_7a9.addWidgetAsDirectChild(this,"","insertAtIndex","",args["dojoinsertionindex"],_7aa);}else{if(_7aa){if(this.domNode&&(this.domNode!==_7aa)){this._sourceNodeRef=dojo.dom.replaceNode(_7aa,this.domNode);}}}if(_7a9){_7a9.registerChild(this,args.dojoinsertionindex);}else{dojo.widget.manager.topWidgets[this.widgetId]=this;}if(this.widgetsInTemplate){var _7ab=new dojo.xml.Parse();var _7ac;var _7ad=this.domNode.getElementsByTagName("*");for(var i=0;i<_7ad.length;i++){if(_7ad[i].getAttribute("dojoAttachPoint")=="subContainerWidget"){_7ac=_7ad[i];}if(_7ad[i].getAttribute("dojoType")){_7ad[i].setAttribute("isSubWidget",true);}}if(this.isContainer&&!this.containerNode){if(_7ac){var src=this.getFragNodeRef(frag);if(src){dojo.dom.moveChildren(src,_7ac);frag["dojoDontFollow"]=true;}}else{dojo.debug("No subContainerWidget node can be found in template file for widget "+this);}}var _7b0=_7ab.parseElement(this.domNode,null,true);dojo.widget.getParser().createSubComponents(_7b0,this);var _7b1=[];var _7b2=[this];var w;while((w=_7b2.pop())){for(var i=0;i<w.children.length;i++){var _7b4=w.children[i];if(_7b4._processedSubWidgets||!_7b4.extraArgs["issubwidget"]){continue;}_7b1.push(_7b4);if(_7b4.isContainer){_7b2.push(_7b4);}}}for(var i=0;i<_7b1.length;i++){var _7b5=_7b1[i];if(_7b5._processedSubWidgets){dojo.debug("This should not happen: widget._processedSubWidgets is already true!");return;}_7b5._processedSubWidgets=true;if(_7b5.extraArgs["dojoattachevent"]){var evts=_7b5.extraArgs["dojoattachevent"].split(";");for(var j=0;j<evts.length;j++){var _7b8=null;var tevt=dojo.string.trim(evts[j]);if(tevt.indexOf(":")>=0){var _7ba=tevt.split(":");tevt=dojo.string.trim(_7ba[0]);_7b8=dojo.string.trim(_7ba[1]);}if(!_7b8){_7b8=tevt;}if(dojo.lang.isFunction(_7b5[tevt])){dojo.event.kwConnect({srcObj:_7b5,srcFunc:tevt,targetObj:this,targetFunc:_7b8});}else{alert(tevt+" is not a function in widget "+_7b5);}}}if(_7b5.extraArgs["dojoattachpoint"]){this[_7b5.extraArgs["dojoattachpoint"]]=_7b5;}}}if(this.isContainer&&!frag["dojoDontFollow"]){dojo.widget.getParser().createSubComponents(frag,this);}},buildRendering:function(args,frag){var ts=dojo.widget._templateCache[this.widgetType];if(args["templatecsspath"]){args["templateCssPath"]=args["templatecsspath"];}var _7be=args["templateCssPath"]||this.templateCssPath;if(_7be&&!dojo.widget._cssFiles[_7be.toString()]){if((!this.templateCssString)&&(_7be)){this.templateCssString=dojo.hostenv.getText(_7be);this.templateCssPath=null;}dojo.widget._cssFiles[_7be.toString()]=true;}if((this["templateCssString"])&&(!dojo.widget._cssStrings[this.templateCssString])){dojo.html.insertCssText(this.templateCssString,null,_7be);dojo.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 _7c1=false;if(args["templatepath"]){args["templatePath"]=args["templatepath"];}dojo.widget.fillFromTemplateCache(this,args["templatePath"],null,_7c1);var ts=dojo.widget._templateCache[this.templatePath?this.templatePath.toString():this.widgetType];if((ts)&&(!_7c1)){if(!this.templateString.length){this.templateString=ts["string"];}if(!this.templateNode){this.templateNode=ts["node"];}}var _7c3=false;var node=null;var tstr=this.templateString;if((!this.templateNode)&&(this.templateString)){_7c3=this.templateString.match(/\$\{([^\}]+)\}/g);if(_7c3){var hash=this.strings||{};for(var key in dojo.widget.defaultStrings){if(dojo.lang.isUndefined(hash[key])){hash[key]=dojo.widget.defaultStrings[key];}}for(var i=0;i<_7c3.length;i++){var key=_7c3[i];key=key.substring(2,key.length-1);var kval=(key.substring(0,5)=="this.")?dojo.lang.getObjPathValue(key.substring(5),this):hash[key];var _7ca;if((kval)||(dojo.lang.isString(kval))){_7ca=new String((dojo.lang.isFunction(kval))?kval.call(this,key,this.templateString):kval);while(_7ca.indexOf("\"")>-1){_7ca=_7ca.replace("\"","&quot;");}tstr=tstr.replace(_7c3[i],_7ca);}}}else{this.templateNode=this.createNodesFromText(this.templateString,true)[0];if(!_7c1){ts.node=this.templateNode;}}}if((!this.templateNode)&&(!_7c3)){dojo.debug("DomWidget.buildFromTemplate: could not create template");return false;}else{if(!_7c3){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){dojo.dom.moveChildren(src,this.containerNode);}}},attachTemplateNodes:function(_7cc,_7cd){if(!_7cc){_7cc=this.domNode;}if(!_7cd){_7cd=this;}return dojo.widget.attachTemplateNodes(_7cc,_7cd,dojo.widget.getDojoEventsFromStr(this.templateString));},fillInTemplate:function(){},destroyRendering:function(){try{dojo.dom.destroyNode(this.domNode);delete this.domNode;}catch(e){}if(this._sourceNodeRef){try{dojo.dom.destroyNode(this._sourceNodeRef);}catch(e){}}},createNodesFromText:function(){dojo.unimplemented("dojo.widget.DomWidget.createNodesFromText");}});dojo.provide("dojo.lfx.toggle");dojo.lfx.toggle.plain={show:function(node,_7cf,_7d0,_7d1){dojo.html.show(node);if(dojo.lang.isFunction(_7d1)){_7d1();}},hide:function(node,_7d3,_7d4,_7d5){dojo.html.hide(node);if(dojo.lang.isFunction(_7d5)){_7d5();}}};dojo.lfx.toggle.fade={show:function(node,_7d7,_7d8,_7d9){dojo.lfx.fadeShow(node,_7d7,_7d8,_7d9).play();},hide:function(node,_7db,_7dc,_7dd){dojo.lfx.fadeHide(node,_7db,_7dc,_7dd).play();}};dojo.lfx.toggle.wipe={show:function(node,_7df,_7e0,_7e1){dojo.lfx.wipeIn(node,_7df,_7e0,_7e1).play();},hide:function(node,_7e3,_7e4,_7e5){dojo.lfx.wipeOut(node,_7e3,_7e4,_7e5).play();}};dojo.lfx.toggle.explode={show:function(node,_7e7,_7e8,_7e9,_7ea){dojo.lfx.explode(_7ea||{x:0,y:0,width:0,height:0},node,_7e7,_7e8,_7e9).play();},hide:function(node,_7ec,_7ed,_7ee,_7ef){dojo.lfx.implode(node,_7ef||{x:0,y:0,width:0,height:0},_7ec,_7ed,_7ee).play();}};dojo.provide("dojo.widget.HtmlWidget");dojo.declare("dojo.widget.HtmlWidget",dojo.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=dojo.lfx.toggle[this.toggle.toLowerCase()]||dojo.lfx.toggle.plain;},createNodesFromText:function(txt,wrap){return dojo.html.createNodesFromText(txt,wrap);},destroyRendering:function(_7f6){try{if(this.bgIframe){this.bgIframe.remove();delete this.bgIframe;}if(!_7f6&&this.domNode){dojo.event.browser.clean(this.domNode);}dojo.widget.HtmlWidget.superclass.destroyRendering.call(this);}catch(e){}},isShowing:function(){return dojo.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,dojo.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,dojo.lang.hitch(this,this.onHide),this.explodeSrc);},onHide:function(){this.animationInProgress=false;},_isResized:function(w,h){if(!this.isShowing()){return false;}var wh=dojo.html.getMarginBox(this.domNode);var _7fa=w||wh.width;var _7fb=h||wh.height;if(this.width==_7fa&&this.height==_7fb){return false;}this.width=_7fa;this.height=_7fb;return true;},checkSize:function(){if(!this._isResized()){return;}this.onResized();},resizeTo:function(w,h){dojo.html.setMarginBox(this.domNode,{width:w,height:h});if(this.isShowing()){this.onResized();}},resizeSoon:function(){if(this.isShowing()){dojo.lang.setTimeout(this,this.onResized,0);}},onResized:function(){dojo.lang.forEach(this.children,function(_7fe){if(_7fe.checkSize){_7fe.checkSize();}});}});dojo.kwCompoundRequire({common:["dojo.xml.Parse","dojo.widget.Widget","dojo.widget.Parse","dojo.widget.Manager"],browser:["dojo.widget.DomWidget","dojo.widget.HtmlWidget"],dashboard:["dojo.widget.DomWidget","dojo.widget.HtmlWidget"],svg:["dojo.widget.SvgWidget"],rhino:["dojo.widget.SwtWidget"]});dojo.provide("dojo.widget.*");dojo.provide("dojo.widget.Slider");dojo.widget.defineWidget("dojo.widget.Slider",dojo.widget.HtmlWidget,{minimumX:0,minimumY:0,maximumX:10,maximumY:10,snapValuesX:0,snapValuesY:0,_snapToGrid:true,isEnableX:true,isEnableY:true,_valueSizeX:0,_valueSizeY:0,_minX:0,_minY:0,_constraintWidth:0,_constraintHeight:0,_clipLeft:0,_clipRight:0,_clipTop:0,_clipBottom:0,_clipXdelta:0,_clipYdelta:0,initialValueX:0,initialValueY:0,flipX:false,flipY:false,clickSelect:true,activeDrag:false,templateCssString:".sliderMain {\n  border: 0px !important;\n  border-spacing: 0px !important;\n  line-height: 0px !important;\n  padding: 0px !important;\n  display: -moz-inline-table !important;\n  display: inline !important;\n  -moz-user-focus: normal !important;\n}\n\n.sliderComponent {\n  border: 0px;\n  padding: 0px;\n  margin: 0px;\n}\n\n.sliderHandle { \n  top: 0px;\n  left: 0px;\n  z-index: 1000;\n  position: absolute !important;\n}\n\n.sliderOutsetButton { \n  border-style: outset;\n  border-width: 0px 1px 1px 0px;\n  border-color: black;\n}\n\n.sliderInsetButton { \n  border-style: inset;\n  border-width: 1px 0px 0px 1px;\n  border-color: black;\n}\n\n.sliderButtonY {\n  margin: 0px;\n  padding: 0px;\n  z-index: 900;\n}\n\n.sliderButtonX {\n  margin: 0px;\n  padding: 0px;\n  z-index: 900;\n}\n\n.sliderBackground { \n  z-index: 0;\n  display: block !important;\n  position: relative !important;\n}\n\n.sliderProgressBackground { \n z-index: 800;\n  position: absolute !important;\n  clip: rect(0px,0px,0px,0px);\n}\n\n.sliderBackgroundSizeOnly { \n}\n",templateCssString:".sliderMain {\r\n  border: 0px !important;\r\n  border-spacing: 0px !important;\r\n  line-height: 0px !important;\r\n  padding: 0px !important;\r\n  display: -moz-inline-table !important;\r\n  display: inline !important;\r\n  -moz-user-focus: normal !important;\r\n}\r\n\r\n.sliderComponent {\r\n  border: 0px;\r\n  padding: 0px;\r\n  margin: 0px;\r\n}\r\n\r\n.sliderHandle { \r\n  top: 0px;\r\n  left: 0px;\r\n  z-index: 1000;\r\n  position: absolute !important;\r\n}\r\n\r\n.sliderOutsetButton { \r\n  border-style: outset;\r\n  border-width: 0px 1px 1px 0px;\r\n  border-color: black;\r\n}\r\n\r\n.sliderInsetButton { \r\n  border-style: inset;\r\n  border-width: 1px 0px 0px 1px;\r\n  border-color: black;\r\n}\r\n\r\n.sliderButtonY {\r\n  margin: 0px;\r\n  padding: 0px;\r\n  z-index: 900;\r\n}\r\n\r\n.sliderButtonX {\r\n  margin: 0px;\r\n  padding: 0px;\r\n  z-index: 900;\r\n}\r\n\r\n.sliderBackground { \r\n  z-index: 0;\r\n  display: block !important;\r\n  position: relative !important;\r\n}\r\n\r\n.sliderProgressBackground { \r\n  z-index: 800;\r\n  position: absolute !important;\r\n  clip: rect(0px,0px,0px,0px);\r\n}\r\n\r\n.sliderBackgroundSizeOnly { \r\n}\r\n",templateCssPath:dojo.uri.moduleUri("dojo.widget","templates/Slider.css"),templateString:"<table _=\"weird end tag formatting is to prevent whitespace from becoming &nbsp;\" title=\"Acces direct aux pages : cliquez sur la barre de navigation ou tirez le curseur\" onfocus=\"this.blur()\" \n\tclass=\"sliderMain\" \n\tdojoAttachPoint=\"focusNode\" \n\tdojoAttachEvent=\"onmousedown:_setFocus; onkey:_handleKeyEvents; onkeyup:_buttonReleased; onmouseup:_buttonReleased; onmousewheel:_mouseWheeled;\"\n\ttabindex=\"0\" cols=3 cellpadding=0 cellspacing=0 style=\"\">\n\t<tr valign=middle align=center>\n\t\t<td class=\"sliderComponent\" colspan=3 dojoAttachPoint=topBorderNode style=\"\"\n\t\t\t><img class=\"sliderOutsetButton sliderButtonY\"\n\t\t\t\tdojoAttachPoint=topButtonNode \n\t\t\t\tdojoAttachEvent=\"onmousedown:_topButtonPressed; onmousemove:_discardEvent; ondblclick:_topButtonDoubleClicked;\"\n\t\t\t\tsrc=\"${this.topButtonSrc}\" \n\t\t\t\tstyle=\"${this.buttonStyleY}\"\n\t\t></td>\n\t</tr>\n\t<tr valign=middle align=center>\n\t\t<td class=\"sliderComponent\" dojoAttachPoint=leftBorderNode style=\"\"\n\t\t\t><img class=\"sliderOutsetButton sliderButtonX\"\n\t\t\t\tdojoAttachPoint=leftButtonNode\n\t\t\t\tdojoAttachEvent=\"onmousedown:_leftButtonPressed; onmousemove:_discardEvent; ondblclick:_leftButtonDoubleClicked;\"\n\t\t\t\tsrc=\"${this.leftButtonSrc}\" \n\t\t\t\tstyle=\"${this.buttonStyleX}\"\n\t\t></td>\n\t\t<td dojoAttachPoint=constrainingContainerNode \n\t\t\tclass=\"sliderComponent sliderBackground\"\n\t\t\tstyle=\"${this.backgroundStyle}\"\n\t\t\t><img src=\"${this.handleSrc}\" \n\t\t\t\tclass=sliderHandle\n\t\t\t\tdojoAttachPoint=sliderHandleNode\n\t\t\t\tstyle=\"${this.handleStyle}\"\n\t\t\t><img src=\"${this.progressBackgroundSrc}\"\n\t\t\t\tclass=\"sliderBackgroundSizeOnly sliderProgressBackground\"\n\t\t\t\tdojoAttachPoint=progressBackgroundNode\n\t\t\t\tstyle=\"${this.backgroundSize}\"\n\t\t\t><img src=\"${this.backgroundSrc}\"\n\t\t\t\tclass=sliderBackgroundSizeOnly\n\t\t\t\tdojoAttachPoint=sliderBackgroundNode\n\t\t\t\tstyle=\"${this.backgroundSize}\"\n\t\t></td>\n\t\t<td class=\"sliderComponent\" dojoAttachPoint=rightBorderNode style=\"\"\n\t\t\t><img class=\"sliderOutsetButton sliderButtonX\"\n\t\t\t\tdojoAttachPoint=rightButtonNode\n\t\t\t\tdojoAttachEvent=\"onmousedown:_rightButtonPressed; onmousemove:_discardEvent; ondblclick:_rightButtonDoubleClicked;\"\n\t\t\t\tsrc=\"${this.rightButtonSrc}\" \n\t\t\t\tstyle=\"${this.buttonStyleX}\"\n\t\t></td>\n\t</tr>\n\t<tr valign=middle align=center>\n\t\t<td class=\"sliderComponent\" colspan=3 dojoAttachPoint=bottomBorderNode style=\"\"\n\t\t\t><img class=\"sliderOutsetButton sliderButtonY\"\n\t\t\t\tdojoAttachPoint=bottomButtonNode \n\t\t\t\tdojoAttachEvent=\"onmousedown:_bottomButtonPressed; onmousemove:_discardEvent; ondblclick:_bottomButtonDoubleClicked;\"\n\t\t\t\tsrc=\"${this.bottomButtonSrc}\" \n\t\t\t\tstyle=\"${this.buttonStyleY}\"\n\t\t></td>\n\t</tr>\n</table>\n",_isDragInProgress:false,bottomButtonSrc:dojo.uri.moduleUri("dojo.widget","templates/images/slider_down_arrow.png"),topButtonSrc:dojo.uri.moduleUri("dojo.widget","templates/images/slider_up_arrow.png"),leftButtonSrc:dojo.uri.moduleUri("dojo.widget","templates/images/slider_left_arrow.png"),rightButtonSrc:dojo.uri.moduleUri("dojo.widget","templates/images/slider_right_arrow.png"),backgroundSrc:dojo.uri.moduleUri("dojo.widget","templates/images/blank.gif"),progressBackgroundSrc:dojo.uri.moduleUri("dojo.widget","templates/images/blank.gif"),backgroundSize:"width:200px;height:200px;",backgroundStyle:"",buttonStyleX:"",buttonStyleY:"",handleStyle:"",handleSrc:dojo.uri.moduleUri("dojo.widget","templates/images/slider-button.png"),showButtons:true,_eventCount:0,_typamaticTimer:null,_typamaticFunction:null,defaultTimeout:500,timeoutChangeRate:0.9,_currentTimeout:this.defaultTimeout,_handleKeyEvents:function(evt){if(!evt.key){return;}if(!evt.ctrlKey&&!evt.altKey){switch(evt.key){case evt.KEY_LEFT_ARROW:pagePrecedente();return;case evt.KEY_RIGHT_ARROW:pageSuivante();return;case evt.KEY_DOWN_ARROW:dojo.event.browser.stopEvent(evt);this._bottomButtonPressed(evt);return;case evt.KEY_UP_ARROW:dojo.event.browser.stopEvent(evt);this._topButtonPressed(evt);return;}}this._eventCount++;},_pressButton:function(_800){_800.className=_800.className.replace("Outset","Inset");},_releaseButton:function(_801){_801.className=_801.className.replace("Inset","Outset");},_buttonPressed:function(evt,_803){this._setFocus();if(typeof evt=="object"){if(this._typamaticTimer!=null){if(this._typamaticNode==_803){return;}clearTimeout(this._typamaticTimer);}this._buttonReleased(null);this._eventCount++;this._typamaticTimer=null;this._currentTimeout=this.defaultTimeout;dojo.event.browser.stopEvent(evt);}else{if(evt!=this._eventCount){this._buttonReleased(null);return false;}}if(_803==this.leftButtonNode&&this.isEnableX){this._snapX(dojo.html.getPixelValue(this.sliderHandleNode,"left")-this._valueSizeX);}else{if(_803==this.rightButtonNode&&this.isEnableX){this._snapX(dojo.html.getPixelValue(this.sliderHandleNode,"left")+this._valueSizeX);}else{if(_803==this.topButtonNode&&this.isEnableY){this._snapY(dojo.html.getPixelValue(this.sliderHandleNode,"top")-this._valueSizeY);}else{if(_803==this.bottomButtonNode&&this.isEnableY){this._snapY(dojo.html.getPixelValue(this.sliderHandleNode,"top")+this._valueSizeY);}else{return false;}}}}this._pressButton(_803);this.notifyListeners();this._typamaticNode=_803;this._typamaticTimer=dojo.lang.setTimeout(this,"_buttonPressed",this._currentTimeout,this._eventCount,_803);this._currentTimeout=Math.round(this._currentTimeout*this.timeoutChangeRate);return false;},_bottomButtonPressed:function(evt){return this._buttonPressed(evt,this.bottomButtonNode);},_bottomButtonDoubleClicked:function(evt){var rc=this._bottomButtonPressed(evt);dojo.lang.setTimeout(this,"_buttonReleased",50,null);return rc;},_topButtonPressed:function(evt){return this._buttonPressed(evt,this.topButtonNode);},_topButtonDoubleClicked:function(evt){var rc=this._topButtonPressed(evt);dojo.lang.setTimeout(this,"_buttonReleased",50,null);return rc;},_leftButtonPressed:function(evt){return this._buttonPressed(evt,this.leftButtonNode);},_leftButtonDoubleClicked:function(evt){var rc=this._leftButtonPressed(evt);dojo.lang.setTimeout(this,"_buttonReleased",50,null);return rc;},_rightButtonPressed:function(evt){return this._buttonPressed(evt,this.rightButtonNode);},_rightButtonDoubleClicked:function(evt){var rc=this._rightButtonPressed(evt);dojo.lang.setTimeout(this,"_buttonReleased",50,null);return rc;},_buttonReleased:function(evt){if(typeof evt=="object"&&evt!=null&&typeof evt.keyCode!="undefined"&&evt.keyCode!=null){var _811=evt.keyCode;switch(_811){case evt.KEY_LEFT_ARROW:case evt.KEY_RIGHT_ARROW:case evt.KEY_DOWN_ARROW:case evt.KEY_UP_ARROW:dojo.event.browser.stopEvent(evt);break;}}this._releaseButton(this.topButtonNode);this._releaseButton(this.bottomButtonNode);this._releaseButton(this.leftButtonNode);this._releaseButton(this.rightButtonNode);this._eventCount++;if(this._typamaticTimer!=null){clearTimeout(this._typamaticTimer);}this._typamaticTimer=null;this._currentTimeout=this.defaultTimeout;var _812=parseInt(dojo.byId("horizontalSliderValue").value,10);toPage(_812);dojo.byId("st_slid").value=parseInt(dojo.byId("st_slid").value)+1;},_mouseWheeled:function(evt){var _814=0;if(typeof evt.wheelDelta=="number"){_814=evt.wheelDelta;}else{if(typeof evt.detail=="number"){_814=-evt.detail;}}if(this.isEnableY){if(_814>0){this._topButtonPressed(evt);this._buttonReleased(evt);}else{if(_814<0){this._bottomButtonPressed(evt);this._buttonReleased(evt);}}}else{if(this.isEnableX){if(_814>0){this._rightButtonPressed(evt);this._buttonReleased(evt);}else{if(_814<0){this._leftButtonPressed(evt);this._buttonReleased(evt);}}}}},_discardEvent:function(evt){dojo.event.browser.stopEvent(evt);},_setFocus:function(){if(this.focusNode.focus){this.focusNode.focus();}},fillInTemplate:function(args,frag){var _818=this.getFragNodeRef(frag);dojo.html.copyStyle(this.domNode,_818);var _819=this.domNode.style.padding;if(dojo.lang.isString(_819)&&_819!=""&&_819!="0px"&&_819!="0px 0px 0px 0px"){this.topBorderNode.style.padding=this.bottomBorderNode.style.padding=_819;this.topBorderNode.style.paddingBottom="0px";this.bottomBorderNode.style.paddingTop="0px";this.rightBorderNode.style.paddingRight=this.domNode.style.paddingRight;this.leftBorderNode.style.paddingLeft=this.domNode.style.paddingLeft;this.domNode.style.padding="0px 0px 0px 0px";}var _81a=this.domNode.style.borderWidth;if(dojo.lang.isString(_81a)&&_81a!=""&&_81a!="0px"&&_81a!="0px 0px 0px 0px"){this.topBorderNode.style.borderStyle=this.rightBorderNode.style.borderStyle=this.bottomBorderNode.style.borderStyle=this.leftBorderNode.style.borderStyle=this.domNode.style.borderStyle;this.topBorderNode.style.borderColor=this.rightBorderNode.style.borderColor=this.bottomBorderNode.style.borderColor=this.leftBorderNode.style.borderColor=this.domNode.style.borderColor;this.topBorderNode.style.borderWidth=this.bottomBorderNode.style.borderWidth=_81a;this.topBorderNode.style.borderBottomWidth="0px";this.bottomBorderNode.style.borderTopWidth="0px";this.rightBorderNode.style.borderRightWidth=this.domNode.style.borderRightWidth;this.leftBorderNode.style.borderLeftWidth=this.domNode.style.borderLeftWidth;this.domNode.style.borderWidth="0px 0px 0px 0px";}this._handleMove=new dojo.widget._SliderDragMoveSource(this.sliderHandleNode);this._handleMove.setParent(this);if(this.clickSelect){dojo.event.connect(this.constrainingContainerNode,"onmousedown",this,"_onClick");}if(this.isEnableX){this.setValueX(!isNaN(this.initialValueX)?this.initialValueX:(!isNaN(this.minimumX)?this.minimumX:0));}if(!this.isEnableX||!this.showButtons){this.rightButtonNode.style.width="1px";this.rightButtonNode.style.visibility="hidden";this.leftButtonNode.style.width="1px";this.leftButtonNode.style.visibility="hidden";}if(this.isEnableY){this.setValueY(!isNaN(this.initialValueY)?this.initialValueY:(!isNaN(this.minimumY)?this.minimumY:0));}if(!this.isEnableY||!this.showButtons){this.bottomButtonNode.style.width="1px";this.bottomButtonNode.style.visibility="hidden";this.topButtonNode.style.width="1px";this.topButtonNode.style.visibility="hidden";}if(this.focusNode.addEventListener){this.focusNode.addEventListener("DOMMouseScroll",dojo.lang.hitch(this,"_mouseWheeled"),false);}},_snapX:function(x){if(x<0){x=0;}else{if(x>this._constraintWidth){x=this._constraintWidth;}else{var _81c=Math.round(x/this._valueSizeX);x=Math.round(_81c*this._valueSizeX);}}this.sliderHandleNode.style.left=x+"px";if(this.flipX){this._clipLeft=x+this._clipXdelta;}else{this._clipRight=x+this._clipXdelta;}this.progressBackgroundNode.style.clip="rect("+this._clipTop+"px,"+this._clipRight+"px,"+this._clipBottom+"px,"+this._clipLeft+"px)";},_calc_valueSizeX:function(){var _81d=dojo.html.getContentBox(this.constrainingContainerNode);var _81e=dojo.html.getContentBox(this.sliderHandleNode);if(isNaN(_81d.width)||isNaN(_81e.width)||_81d.width<=0||_81e.width<=0){return false;}this._constraintWidth=_81d.width+dojo.html.getPadding(this.constrainingContainerNode).width-_81e.width;if(this.flipX){this._clipLeft=this._clipRight=_81d.width;}else{this._clipLeft=this._clipRight=0;}this._clipXdelta=_81e.width>>1;if(!this.isEnableY){this._clipTop=0;this._clipBottom=_81d.height;}if(this._constraintWidth<=0){return false;}if(this.snapValuesX==0){this.snapValuesX=this._constraintWidth+1;}this._valueSizeX=this._constraintWidth/(this.snapValuesX-1);return true;},setValueX:function(_81f){if(0==this._valueSizeX){if(this._calc_valueSizeX()==false){dojo.lang.setTimeout(this,"setValueX",100,_81f);return;}}if(isNaN(_81f)){_81f=0;}if(_81f>this.maximumX){_81f=this.maximumX;}else{if(_81f<this.minimumX){_81f=this.minimumX;}}var _820=(_81f-this.minimumX)/(this.maximumX-this.minimumX);if(this.flipX){_820=1-_820;}this._snapX(_820*this._constraintWidth);this.notifyListeners();},getValueX:function(){var _821=dojo.html.getPixelValue(this.sliderHandleNode,"left")/this._constraintWidth;if(this.flipX){_821=1-_821;}return Math.round(_821*(this.snapValuesX-1))*((this.maximumX-this.minimumX)/(this.snapValuesX-1))+this.minimumX;},_snapY:function(y){if(y<0){y=0;}else{if(y>this._constraintHeight){y=this._constraintHeight;}else{var _823=Math.round(y/this._valueSizeY);y=Math.round(_823*this._valueSizeY);}}this.sliderHandleNode.style.top=y+"px";if(this.flipY){this._clipTop=y+this._clipYdelta;}else{this._clipBottom=y+this._clipYdelta;}this.progressBackgroundNode.style.clip="rect("+this._clipTop+"px,"+this._clipRight+"px,"+this._clipBottom+"px,"+this._clipLeft+"px)";},_calc_valueSizeY:function(){var _824=dojo.html.getContentBox(this.constrainingContainerNode);var _825=dojo.html.getContentBox(this.sliderHandleNode);if(isNaN(_824.height)||isNaN(_825.height)||_824.height<=0||_825.height<=0){return false;}this._constraintHeight=_824.height+dojo.html.getPadding(this.constrainingContainerNode).height-_825.height;if(this.flipY){this._clipTop=this._clipBottom=_824.height;}else{this._clipTop=this._clipBottom=0;}this._clipYdelta=_825.height>>1;if(!this.isEnableX){this._clipLeft=0;this._clipRight=_824.width;}if(this._constraintHeight<=0){return false;}if(this.snapValuesY==0){this.snapValuesY=this._constraintHeight+1;}this._valueSizeY=this._constraintHeight/(this.snapValuesY-1);return true;},setValueY:function(_826){if(0==this._valueSizeY){if(this._calc_valueSizeY()==false){dojo.lang.setTimeout(this,"setValueY",100,_826);return;}}if(isNaN(_826)){_826=0;}if(_826>this.maximumY){_826=this.maximumY;}else{if(_826<this.minimumY){_826=this.minimumY;}}var _827=(_826-this.minimumY)/(this.maximumY-this.minimumY);if(this.flipY){_827=1-_827;}this._snapY(_827*this._constraintHeight);this.notifyListeners();},getValueY:function(){var _828=dojo.html.getPixelValue(this.sliderHandleNode,"top")/this._constraintHeight;if(this.flipY){_828=1-_828;}return Math.round(_828*(this.snapValuesY-1))*((this.maximumY-this.minimumY)/(this.snapValuesY-1))+this.minimumY;},_onClick:function(evt){if(this._isDragInProgress){return;}var _82a=dojo.html.getAbsolutePosition(this.constrainingContainerNode,true,dojo.html.boxSizing.MARGIN_BOX);var _82b=dojo.html.getContentBox(this._handleMove.domNode);if(this.isEnableX){var x=evt.pageX-_82a.x-(_82b.width>>1);this._snapX(x);}if(this.isEnableY){var y=evt.pageY-_82a.y-(_82b.height>>1);this._snapY(y);}this.notifyListeners();},notifyListeners:function(){this.onValueChanged(this.getValueX(),this.getValueY());},onValueChanged:function(x,y){}});dojo.widget.defineWidget("dojo.widget.SliderHorizontal",dojo.widget.Slider,{isEnableX:true,isEnableY:false,initialValue:"",snapValues:"",minimum:"",maximum:"",buttonStyle:"",backgroundSize:"height:10px;width:200px;",backgroundSrc:dojo.uri.moduleUri("dojo.widget","templates/images/slider-bg.gif"),flip:false,postMixInProperties:function(){dojo.widget.SliderHorizontal.superclass.postMixInProperties.apply(this,arguments);if(!isNaN(parseFloat(this.initialValue))){this.initialValueX=parseFloat(this.initialValue);}if(!isNaN(parseFloat(this.minimum))){this.minimumX=parseFloat(this.minimum);}if(!isNaN(parseFloat(this.maximum))){this.maximumX=parseFloat(this.maximum);}if(!isNaN(parseInt(this.snapValues))){this.snapValuesX=parseInt(this.snapValues);}if(dojo.lang.isString(this.buttonStyle)&&this.buttonStyle!=""){this.buttonStyleX=this.buttonStyle;}if(dojo.lang.isBoolean(this.flip)){this.flipX=this.flip;}},notifyListeners:function(){this.onValueChanged(this.getValueX());},getValue:function(){return this.getValueX();},setValue:function(_830){this.setValueX(_830);},onValueChanged:function(_831){}});dojo.widget.defineWidget("dojo.widget.SliderVertical",dojo.widget.Slider,{isEnableX:false,isEnableY:true,initialValue:"",snapValues:"",minimum:"",maximum:"",buttonStyle:"",backgroundSize:"width:10px;height:200px;",backgroundSrc:dojo.uri.moduleUri("dojo.widget","templates/images/slider-bg-vert.gif"),flip:false,postMixInProperties:function(){dojo.widget.SliderVertical.superclass.postMixInProperties.apply(this,arguments);if(!isNaN(parseFloat(this.initialValue))){this.initialValueY=parseFloat(this.initialValue);}if(!isNaN(parseFloat(this.minimum))){this.minimumY=parseFloat(this.minimum);}if(!isNaN(parseFloat(this.maximum))){this.maximumY=parseFloat(this.maximum);}if(!isNaN(parseInt(this.snapValues))){this.snapValuesY=parseInt(this.snapValues);}if(dojo.lang.isString(this.buttonStyle)&&this.buttonStyle!=""){this.buttonStyleY=this.buttonStyle;}if(dojo.lang.isBoolean(this.flip)){this.flipY=this.flip;}},notifyListeners:function(){this.onValueChanged(this.getValueY());},getValue:function(){return this.getValueY();},setValue:function(_832){this.setValueY(_832);},onValueChanged:function(_833){}});dojo.declare("dojo.widget._SliderDragMoveSource",dojo.dnd.HtmlDragMoveSource,{slider:null,onDragStart:function(evt){this.slider._isDragInProgress=true;var _835=this.createDragMoveObject();this.slider.notifyListeners();return _835;},onDragEnd:function(evt){this.slider._isDragInProgress=false;this.slider.notifyListeners();},createDragMoveObject:function(){var _837=new dojo.widget._SliderDragMoveObject(this.dragObject,this.type);_837.slider=this.slider;if(this.dragClass){_837.dragClass=this.dragClass;}return _837;},setParent:function(_838){this.slider=_838;}});dojo.declare("dojo.widget._SliderDragMoveObject",dojo.dnd.HtmlDragMoveObject,{slider:null,onDragMove:function(evt){this.updateDragOffset();if(this.slider.isEnableX){var x=this.dragOffset.x+evt.pageX;this.slider._snapX(x);}if(this.slider.isEnableY){var y=this.dragOffset.y+evt.pageY;this.slider._snapY(y);}if(this.slider.activeDrag){this.slider.notifyListeners();}}});dojo.provide("dojo.string.common");dojo.string.trim=function(str,wh){if(!str.replace){return str;}if(!str.length){return str;}var re=(wh>0)?(/^\s+/):(wh<0)?(/\s+$/):(/^\s+|\s+$/g);return str.replace(re,"");};dojo.string.trimStart=function(str){return dojo.string.trim(str,1);};dojo.string.trimEnd=function(str){return dojo.string.trim(str,-1);};dojo.string.repeat=function(str,_842,_843){var out="";for(var i=0;i<_842;i++){out+=str;if(_843&&i<_842-1){out+=_843;}}return out;};dojo.string.pad=function(str,len,c,dir){var out=String(str);if(!c){c="0";}if(!dir){dir=1;}while(out.length<len){if(dir>0){out=c+out;}else{out+=c;}}return out;};dojo.string.padLeft=function(str,len,c){return dojo.string.pad(str,len,c,1);};dojo.string.padRight=function(str,len,c){return dojo.string.pad(str,len,c,-1);};dojo.provide("dojo.string");dojo.provide("dojo.io.common");dojo.io.transports=[];dojo.io.hdlrFuncNames=["load","error","timeout"];dojo.io.Request=function(url,_852,_853,_854){if((arguments.length==1)&&(arguments[0].constructor==Object)){this.fromKwArgs(arguments[0]);}else{this.url=url;if(_852){this.mimetype=_852;}if(_853){this.transport=_853;}if(arguments.length>=4){this.changeUrl=_854;}}};dojo.lang.extend(dojo.io.Request,{url:"",mimetype:"text/plain",method:"GET",content:undefined,transport:undefined,changeUrl:undefined,formNode:undefined,sync:false,bindSuccess:false,useCache:false,preventCache:false,jsonFilter:function(_855){if((this.mimetype=="text/json-comment-filtered")||(this.mimetype=="application/json-comment-filtered")){var _856=_855.indexOf("/*");var _857=_855.lastIndexOf("*/");if((_856==-1)||(_857==-1)){dojo.debug("your JSON wasn't comment filtered!");return "";}return _855.substring(_856+2,_857);}dojo.debug("please consider using a mimetype of text/json-comment-filtered to avoid potential security issues with JSON endpoints");return _855;},load:function(type,data,_85a,_85b){},error:function(type,_85d,_85e,_85f){},timeout:function(type,_861,_862,_863){},handle:function(type,data,_866,_867){},timeoutSeconds:0,abort:function(){},fromKwArgs:function(_868){if(_868["url"]){_868.url=_868.url.toString();}if(_868["formNode"]){_868.formNode=dojo.byId(_868.formNode);}if(!_868["method"]&&_868["formNode"]&&_868["formNode"].method){_868.method=_868["formNode"].method;}if(!_868["handle"]&&_868["handler"]){_868.handle=_868.handler;}if(!_868["load"]&&_868["loaded"]){_868.load=_868.loaded;}if(!_868["changeUrl"]&&_868["changeURL"]){_868.changeUrl=_868.changeURL;}_868.encoding=dojo.lang.firstValued(_868["encoding"],djConfig["bindEncoding"],"");_868.sendTransport=dojo.lang.firstValued(_868["sendTransport"],djConfig["ioSendTransport"],false);var _869=dojo.lang.isFunction;for(var x=0;x<dojo.io.hdlrFuncNames.length;x++){var fn=dojo.io.hdlrFuncNames[x];if(_868[fn]&&_869(_868[fn])){continue;}if(_868["handle"]&&_869(_868["handle"])){_868[fn]=_868.handle;}}dojo.lang.mixin(this,_868);}});dojo.io.Error=function(msg,type,num){this.message=msg;this.type=type||"unknown";this.number=num||0;};dojo.io.transports.addTransport=function(name){this.push(name);this[name]=dojo.io[name];};dojo.io.bind=function(_870){if(!(_870 instanceof dojo.io.Request)){try{_870=new dojo.io.Request(_870);}catch(e){dojo.debug(e);}}var _871="";if(_870["transport"]){_871=_870["transport"];if(!this[_871]){dojo.io.sendBindError(_870,"No dojo.io.bind() transport with name '"+_870["transport"]+"'.");return _870;}if(!this[_871].canHandle(_870)){dojo.io.sendBindError(_870,"dojo.io.bind() transport with name '"+_870["transport"]+"' cannot handle this type of request.");return _870;}}else{for(var x=0;x<dojo.io.transports.length;x++){var tmp=dojo.io.transports[x];if((this[tmp])&&(this[tmp].canHandle(_870))){_871=tmp;break;}}if(_871==""){dojo.io.sendBindError(_870,"None of the loaded transports for dojo.io.bind()"+" can handle the request.");return _870;}}this[_871].bind(_870);_870.bindSuccess=true;return _870;};dojo.io.sendBindError=function(_874,_875){if((typeof _874.error=="function"||typeof _874.handle=="function")&&(typeof setTimeout=="function"||typeof setTimeout=="object")){var _876=new dojo.io.Error(_875);setTimeout(function(){_874[(typeof _874.error=="function")?"error":"handle"]("error",_876,null,_874);},50);}else{dojo.raise(_875);}};dojo.io.queueBind=function(_877){if(!(_877 instanceof dojo.io.Request)){try{_877=new dojo.io.Request(_877);}catch(e){dojo.debug(e);}}var _878=_877.load;_877.load=function(){dojo.io._queueBindInFlight=false;var ret=_878.apply(this,arguments);dojo.io._dispatchNextQueueBind();return ret;};var _87a=_877.error;_877.error=function(){dojo.io._queueBindInFlight=false;var ret=_87a.apply(this,arguments);dojo.io._dispatchNextQueueBind();return ret;};dojo.io._bindQueue.push(_877);dojo.io._dispatchNextQueueBind();return _877;};dojo.io._dispatchNextQueueBind=function(){if(!dojo.io._queueBindInFlight){dojo.io._queueBindInFlight=true;if(dojo.io._bindQueue.length>0){dojo.io.bind(dojo.io._bindQueue.shift());}else{dojo.io._queueBindInFlight=false;}}};dojo.io._bindQueue=[];dojo.io._queueBindInFlight=false;dojo.io.argsFromMap=function(map,_87d,last){var enc=/utf/i.test(_87d||"")?encodeURIComponent:dojo.string.encodeAscii;var _880=[];var _881=new Object();for(var name in map){var _883=function(elt){var val=enc(name)+"="+enc(elt);_880[(last==name)?"push":"unshift"](val);};if(!_881[name]){var _886=map[name];if(dojo.lang.isArray(_886)){dojo.lang.forEach(_886,_883);}else{_883(_886);}}}return _880.join("&");};dojo.io.setIFrameSrc=function(_887,src,_889){try{var r=dojo.render.html;if(!_889){if(r.safari){_887.location=src;}else{frames[_887.name].location=src;}}else{var idoc;if(r.ie){idoc=_887.contentWindow.document;}else{if(r.safari){idoc=_887.document;}else{idoc=_887.contentWindow;}}if(!idoc){_887.location=src;return;}else{idoc.location.replace(src);}}}catch(e){dojo.debug(e);dojo.debug("setIFrameSrc: "+e);}};dojo.provide("dojo.string.extras");dojo.string.substituteParams=function(_88c,hash){var map=(typeof hash=="object")?hash:dojo.lang.toArray(arguments,1);return _88c.replace(/\%\{(\w+)\}/g,function(_88f,key){if(typeof (map[key])!="undefined"&&map[key]!=null){return map[key];}dojo.raise("Substitution not found: "+key);});};dojo.string.capitalize=function(str){if(!dojo.lang.isString(str)){return "";}if(arguments.length==0){str=this;}var _892=str.split(" ");for(var i=0;i<_892.length;i++){_892[i]=_892[i].charAt(0).toUpperCase()+_892[i].substring(1);}return _892.join(" ");};dojo.string.isBlank=function(str){if(!dojo.lang.isString(str)){return true;}return (dojo.string.trim(str).length==0);};dojo.string.encodeAscii=function(str){if(!dojo.lang.isString(str)){return str;}var ret="";var _897=escape(str);var _898,re=/%u([0-9A-F]{4})/i;while((_898=_897.match(re))){var num=Number("0x"+_898[1]);var _89b=escape("&#"+num+";");ret+=_897.substring(0,_898.index)+_89b;_897=_897.substring(_898.index+_898[0].length);}ret+=_897.replace(/\+/g,"%2B");return ret;};dojo.string.escape=function(type,str){var args=dojo.lang.toArray(arguments,1);switch(type.toLowerCase()){case "xml":case "html":case "xhtml":return dojo.string.escapeXml.apply(this,args);case "sql":return dojo.string.escapeSql.apply(this,args);case "regexp":case "regex":return dojo.string.escapeRegExp.apply(this,args);case "javascript":case "jscript":case "js":return dojo.string.escapeJavaScript.apply(this,args);case "ascii":return dojo.string.encodeAscii.apply(this,args);default:return str;}};dojo.string.escapeXml=function(str,_8a0){str=str.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");if(!_8a0){str=str.replace(/'/gm,"&#39;");}return str;};dojo.string.escapeSql=function(str){return str.replace(/'/gm,"''");};dojo.string.escapeRegExp=function(str){return str.replace(/\\/gm,"\\\\").replace(/([\f\b\n\t\r[\^$|?*+(){}])/gm,"\\$1");};dojo.string.escapeJavaScript=function(str){return str.replace(/(["'\f\b\n\t\r])/gm,"\\$1");};dojo.string.escapeString=function(str){return ("\""+str.replace(/(["\\])/g,"\\$1")+"\"").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r");};dojo.string.summary=function(str,len){if(!len||str.length<=len){return str;}return str.substring(0,len).replace(/\.+$/,"")+"...";};dojo.string.endsWith=function(str,end,_8a9){if(_8a9){str=str.toLowerCase();end=end.toLowerCase();}if((str.length-end.length)<0){return false;}return str.lastIndexOf(end)==str.length-end.length;};dojo.string.endsWithAny=function(str){for(var i=1;i<arguments.length;i++){if(dojo.string.endsWith(str,arguments[i])){return true;}}return false;};dojo.string.startsWith=function(str,_8ad,_8ae){if(_8ae){str=str.toLowerCase();_8ad=_8ad.toLowerCase();}return str.indexOf(_8ad)==0;};dojo.string.startsWithAny=function(str){for(var i=1;i<arguments.length;i++){if(dojo.string.startsWith(str,arguments[i])){return true;}}return false;};dojo.string.has=function(str){for(var i=1;i<arguments.length;i++){if(str.indexOf(arguments[i])>-1){return true;}}return false;};dojo.string.normalizeNewlines=function(text,_8b4){if(_8b4=="\n"){text=text.replace(/\r\n/g,"\n");text=text.replace(/\r/g,"\n");}else{if(_8b4=="\r"){text=text.replace(/\r\n/g,"\r");text=text.replace(/\n/g,"\r");}else{text=text.replace(/([^\r])\n/g,"$1\r\n").replace(/\r([^\n])/g,"\r\n$1");}}return text;};dojo.string.splitEscaped=function(str,_8b6){var _8b7=[];for(var i=0,_8b9=0;i<str.length;i++){if(str.charAt(i)=="\\"){i++;continue;}if(str.charAt(i)==_8b6){_8b7.push(str.substring(_8b9,i));_8b9=i+1;}}_8b7.push(str.substr(_8b9));return _8b7;};dojo.provide("dojo.undo.browser");try{if((!djConfig["preventBackButtonFix"])&&(!dojo.hostenv.post_load_)){document.write("<iframe style='border: 0px; width: 1px; height: 1px; position: absolute; bottom: 0px; right: 0px; visibility: visible;' name='djhistory' id='djhistory' src='"+(djConfig["dojoIframeHistoryUrl"]||dojo.hostenv.getBaseScriptUri()+"iframe_history.html")+"'></iframe>");}}catch(e){}if(dojo.render.html.opera){dojo.debug("Opera is not supported with dojo.undo.browser, so back/forward detection will not work.");}dojo.undo.browser={initialHref:(!dj_undef("window"))?window.location.href:"",initialHash:(!dj_undef("window"))?window.location.hash:"",moveForward:false,historyStack:[],forwardStack:[],historyIframe:null,bookmarkAnchor:null,locationTimer:null,setInitialState:function(args){this.initialState=this._createState(this.initialHref,args,this.initialHash);},addToHistory:function(args){this.forwardStack=[];var hash=null;var url=null;if(!this.historyIframe){if(djConfig["useXDomain"]&&!djConfig["dojoIframeHistoryUrl"]){dojo.debug("dojo.undo.browser: When using cross-domain Dojo builds,"+" please save iframe_history.html to your domain and set djConfig.dojoIframeHistoryUrl"+" to the path on your domain to iframe_history.html");}this.historyIframe=window.frames["djhistory"];}if(!this.bookmarkAnchor){this.bookmarkAnchor=document.createElement("a");dojo.body().appendChild(this.bookmarkAnchor);this.bookmarkAnchor.style.display="none";}if(args["changeUrl"]){hash="#"+((args["changeUrl"]!==true)?args["changeUrl"]:(new Date()).getTime());if(this.historyStack.length==0&&this.initialState.urlHash==hash){this.initialState=this._createState(url,args,hash);return;}else{if(this.historyStack.length>0&&this.historyStack[this.historyStack.length-1].urlHash==hash){this.historyStack[this.historyStack.length-1]=this._createState(url,args,hash);return;}}this.changingUrl=true;setTimeout("window.location.href = '"+hash+"'; dojo.undo.browser.changingUrl = false;",1);this.bookmarkAnchor.href=hash;if(dojo.render.html.ie){url=this._loadIframeHistory();var _8be=args["back"]||args["backButton"]||args["handle"];var tcb=function(_8c0){if(window.location.hash!=""){setTimeout("window.location.href = '"+hash+"';",1);}_8be.apply(this,[_8c0]);};if(args["back"]){args.back=tcb;}else{if(args["backButton"]){args.backButton=tcb;}else{if(args["handle"]){args.handle=tcb;}}}var _8c1=args["forward"]||args["forwardButton"]||args["handle"];var tfw=function(_8c3){if(window.location.hash!=""){window.location.href=hash;}if(_8c1){_8c1.apply(this,[_8c3]);}};if(args["forward"]){args.forward=tfw;}else{if(args["forwardButton"]){args.forwardButton=tfw;}else{if(args["handle"]){args.handle=tfw;}}}}else{if(dojo.render.html.moz){if(!this.locationTimer){this.locationTimer=setInterval("dojo.undo.browser.checkLocation();",200);}}}}else{url=this._loadIframeHistory();}this.historyStack.push(this._createState(url,args,hash));},checkLocation:function(){if(!this.changingUrl){var hsl=this.historyStack.length;if((window.location.hash==this.initialHash||window.location.href==this.initialHref)&&(hsl==1)){this.handleBackButton();return;}if(this.forwardStack.length>0){if(this.forwardStack[this.forwardStack.length-1].urlHash==window.location.hash){this.handleForwardButton();return;}}if((hsl>=2)&&(this.historyStack[hsl-2])){if(this.historyStack[hsl-2].urlHash==window.location.hash){this.handleBackButton();return;}}}},iframeLoaded:function(evt,_8c6){if(!dojo.render.html.opera){var _8c7=this._getUrlQuery(_8c6.href);if(_8c7==null){if(this.historyStack.length==1){this.handleBackButton();}return;}if(this.moveForward){this.moveForward=false;return;}if(this.historyStack.length>=2&&_8c7==this._getUrlQuery(this.historyStack[this.historyStack.length-2].url)){this.handleBackButton();}else{if(this.forwardStack.length>0&&_8c7==this._getUrlQuery(this.forwardStack[this.forwardStack.length-1].url)){this.handleForwardButton();}}}},handleBackButton:function(){var _8c8=this.historyStack.pop();if(!_8c8){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(_8c8);},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 _8cf=url.split("?");if(_8cf.length<2){return null;}else{return _8cf[1];}},_loadIframeHistory:function(){var url=(djConfig["dojoIframeHistoryUrl"]||dojo.hostenv.getBaseScriptUri()+"iframe_history.html")+"?"+(new Date()).getTime();this.moveForward=true;dojo.io.setIFrameSrc(this.historyIframe,url,false);return url;}};dojo.provide("dojo.io.BrowserIO");if(!dj_undef("window")){dojo.io.checkChildrenForFile=function(node){var _8d2=false;var _8d3=node.getElementsByTagName("input");dojo.lang.forEach(_8d3,function(_8d4){if(_8d2){return;}if(_8d4.getAttribute("type")=="file"){_8d2=true;}});return _8d2;};dojo.io.formHasFile=function(_8d5){return dojo.io.checkChildrenForFile(_8d5);};dojo.io.updateNode=function(node,_8d7){node=dojo.byId(node);var args=_8d7;if(dojo.lang.isString(_8d7)){args={url:_8d7};}args.mimetype="text/html";args.load=function(t,d,e){while(node.firstChild){dojo.dom.destroyNode(node.firstChild);}node.innerHTML=d;};dojo.io.bind(args);};dojo.io.formFilter=function(node){var type=(node.type||"").toLowerCase();return !node.disabled&&node.name&&!dojo.lang.inArray(["file","submit","image","reset","button"],type);};dojo.io.encodeForm=function(_8de,_8df,_8e0){if((!_8de)||(!_8de.tagName)||(!_8de.tagName.toLowerCase()=="form")){dojo.raise("Attempted to encode a non-form element.");}if(!_8e0){_8e0=dojo.io.formFilter;}var enc=/utf/i.test(_8df||"")?encodeURIComponent:dojo.string.encodeAscii;var _8e2=[];for(var i=0;i<_8de.elements.length;i++){var elm=_8de.elements[i];if(!elm||elm.tagName.toLowerCase()=="fieldset"||!_8e0(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){_8e2.push(name+"="+enc(elm.options[j].value));}}}else{if(dojo.lang.inArray(["radio","checkbox"],type)){if(elm.checked){_8e2.push(name+"="+enc(elm.value));}}else{_8e2.push(name+"="+enc(elm.value));}}}var _8e8=_8de.getElementsByTagName("input");for(var i=0;i<_8e8.length;i++){var _8e9=_8e8[i];if(_8e9.type.toLowerCase()=="image"&&_8e9.form==_8de&&_8e0(_8e9)){var name=enc(_8e9.name);_8e2.push(name+"="+enc(_8e9.value));_8e2.push(name+".x=0");_8e2.push(name+".y=0");}}return _8e2.join("&")+"&";};dojo.io.FormBind=function(args){this.bindArgs={};if(args&&args.formNode){this.init(args);}else{if(args){this.init({formNode:args});}}};dojo.lang.extend(dojo.io.FormBind,{form:null,bindArgs:null,clickedButton:null,init:function(args){var form=dojo.byId(args.formNode);if(!form||!form.tagName||form.tagName.toLowerCase()!="form"){throw new Error("FormBind: Couldn't apply, invalid form");}else{if(this.form==form){return;}else{if(this.form){throw new Error("FormBind: Already applied to a form");}}}dojo.lang.mixin(this.bindArgs,args);this.form=form;this.connect(form,"onsubmit","submit");for(var i=0;i<form.elements.length;i++){var node=form.elements[i];if(node&&node.type&&dojo.lang.inArray(["submit","button"],node.type.toLowerCase())){this.connect(node,"onclick","click");}}var _8ef=form.getElementsByTagName("input");for(var i=0;i<_8ef.length;i++){var _8f0=_8ef[i];if(_8f0.type.toLowerCase()=="image"&&_8f0.form==form){this.connect(_8f0,"onclick","click");}}},onSubmit:function(form){return true;},submit:function(e){e.preventDefault();if(this.onSubmit(this.form)){dojo.io.bind(dojo.lang.mixin(this.bindArgs,{formFilter:dojo.lang.hitch(this,"formFilter")}));}},click:function(e){var node=e.currentTarget;if(node.disabled){return;}this.clickedButton=node;},formFilter:function(node){var type=(node.type||"").toLowerCase();var _8f7=false;if(node.disabled||!node.name){_8f7=false;}else{if(dojo.lang.inArray(["submit","button","image"],type)){if(!this.clickedButton){this.clickedButton=node;}_8f7=node==this.clickedButton;}else{_8f7=!dojo.lang.inArray(["file","submit","reset","button"],type);}}return _8f7;},connect:function(_8f8,_8f9,_8fa){if(dojo.evalObjPath("dojo.event.connect")){dojo.event.connect(_8f8,_8f9,this,_8fa);}else{var fcn=dojo.lang.hitch(this,_8fa);_8f8[_8f9]=function(e){if(!e){e=window.event;}if(!e.currentTarget){e.currentTarget=e.srcElement;}if(!e.preventDefault){e.preventDefault=function(){window.event.returnValue=false;};}fcn(e);};}}});dojo.io.XMLHTTPTransport=new function(){var _8fd=this;var _8fe={};this.useCache=false;this.preventCache=false;function getCacheKey(url,_900,_901){return url+"|"+_900+"|"+_901.toLowerCase();}function addToCache(url,_903,_904,http){_8fe[getCacheKey(url,_903,_904)]=http;}function getFromCache(url,_907,_908){return _8fe[getCacheKey(url,_907,_908)];}this.clearCache=function(){_8fe={};};function doLoad(_909,http,url,_90c,_90d){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(_909.method.toLowerCase()=="head"){var _90f=http.getAllResponseHeaders();ret={};ret.toString=function(){return _90f;};var _910=_90f.split(/[\r\n]+/g);for(var i=0;i<_910.length;i++){var pair=_910[i].match(/^([^:]+)\s*:\s*(.+)$/i);if(pair){ret[pair[1]]=pair[2];}}}else{if(_909.mimetype=="text/javascript"){try{ret=dj_eval(http.responseText);}catch(e){dojo.debug(e);dojo.debug(http.responseText);ret=null;}}else{if(_909.mimetype.substr(0,9)=="text/json"||_909.mimetype.substr(0,16)=="application/json"){try{ret=dj_eval("("+_909.jsonFilter(http.responseText)+")");}catch(e){dojo.debug(e);dojo.debug(http.responseText);ret=false;}}else{if((_909.mimetype=="application/xml")||(_909.mimetype=="text/xml")){ret=http.responseXML;if(!ret||typeof ret=="string"||!http.getResponseHeader("Content-Type")){ret=dojo.dom.createDocumentFromText(http.responseText);}}else{ret=http.responseText;}}}}if(_90d){addToCache(url,_90c,_909.method,http);}_909[(typeof _909.load=="function")?"load":"handle"]("load",ret,http,_909);}else{var _913=new dojo.io.Error("XMLHttpTransport Error: "+http.status+" "+http.statusText);_909[(typeof _909.error=="function")?"error":"handle"]("error",_913,http,_909);}}function setHeaders(http,_915){if(_915["headers"]){for(var _916 in _915["headers"]){if(_916.toLowerCase()=="content-type"&&!_915["contentType"]){_915["contentType"]=_915["headers"][_916];}else{http.setRequestHeader(_916,_915["headers"][_916]);}}}}this.inFlight=[];this.inFlightTimer=null;this.startWatchingInFlight=function(){if(!this.inFlightTimer){this.inFlightTimer=setTimeout("dojo.io.XMLHTTPTransport.watchInFlight();",10);}};this.watchInFlight=function(){var now=null;if(!dojo.hostenv._blockAsync&&!_8fd._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 _91a=new dojo.io.Error("XMLHttpTransport.watchInFlight Error: "+e);tif.req[(typeof tif.req.error=="function")?"error":"handle"]("error",_91a,tif.http,tif.req);}catch(e2){dojo.debug("XMLHttpTransport error callback failed: "+e2);}}}}clearTimeout(this.inFlightTimer);if(this.inFlight.length==0){this.inFlightTimer=null;return;}this.inFlightTimer=setTimeout("dojo.io.XMLHTTPTransport.watchInFlight();",10);};var _91b=dojo.hostenv.getXmlhttpObject()?true:false;this.canHandle=function(_91c){var mlc=_91c["mimetype"].toLowerCase()||"";return _91b&&((dojo.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"))&&!(_91c["formNode"]&&dojo.io.formHasFile(_91c["formNode"]));};this.multipartBoundary="45309FFF-BD65-4d50-99C9-36986896A96F";this.bind=function(_91e){if(!_91e["url"]){if(!_91e["formNode"]&&(_91e["backButton"]||_91e["back"]||_91e["changeUrl"]||_91e["watchForURL"])&&(!djConfig.preventBackButtonFix)){dojo.deprecated("Using dojo.io.XMLHTTPTransport.bind() to add to browser history without doing an IO request","Use dojo.undo.browser.addToHistory() instead.","0.4");dojo.undo.browser.addToHistory(_91e);return true;}}var url=_91e.url;var _920="";if(_91e["formNode"]){var ta=_91e.formNode.getAttribute("action");if((ta)&&(!_91e["url"])){url=ta;}var tp=_91e.formNode.getAttribute("method");if((tp)&&(!_91e["method"])){_91e.method=tp;}_920+=dojo.io.encodeForm(_91e.formNode,_91e.encoding,_91e["formFilter"]);}if(url.indexOf("#")>-1){dojo.debug("Warning: dojo.io.bind: stripping hash values from url:",url);url=url.split("#")[0];}if(_91e["file"]){_91e.method="post";}if(!_91e["method"]){_91e.method="get";}if(_91e.method.toLowerCase()=="get"){_91e.multipart=false;}else{if(_91e["file"]){_91e.multipart=true;}else{if(!_91e["multipart"]){_91e.multipart=false;}}}if(_91e["backButton"]||_91e["back"]||_91e["changeUrl"]){dojo.undo.browser.addToHistory(_91e);}var _923=_91e["content"]||{};if(_91e.sendTransport){_923["dojo.transport"]="xmlhttp";}do{if(_91e.postContent){_920=_91e.postContent;break;}if(_923){_920+=dojo.io.argsFromMap(_923,_91e.encoding);}if(_91e.method.toLowerCase()=="get"||!_91e.multipart){break;}var t=[];if(_920.length){var q=_920.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(_91e.file){if(dojo.lang.isArray(_91e.file)){for(var i=0;i<_91e.file.length;++i){var o=_91e.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=_91e.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+"--","");_920=t.join("\r\n");}}while(false);var _929=_91e["sync"]?false:true;var _92a=_91e["preventCache"]||(this.preventCache==true&&_91e["preventCache"]!=false);var _92b=_91e["useCache"]==true||(this.useCache==true&&_91e["useCache"]!=false);if(!_92a&&_92b){var _92c=getFromCache(url,_920,_91e.method);if(_92c){doLoad(_91e,_92c,url,_920,false);return;}}var http=dojo.hostenv.getXmlhttpObject(_91e);var _92e=false;if(_929){var _92f=this.inFlight.push({"req":_91e,"http":http,"url":url,"query":_920,"useCache":_92b,"startTime":_91e.timeoutSeconds?(new Date()).getTime():0});this.startWatchingInFlight();}else{_8fd._blockAsync=true;}if(_91e.method.toLowerCase()=="post"){if(!_91e.user){http.open("POST",url,_929);}else{http.open("POST",url,_929,_91e.user,_91e.password);}setHeaders(http,_91e);http.setRequestHeader("Content-Type",_91e.multipart?("multipart/form-data; boundary="+this.multipartBoundary):(_91e.contentType||"application/x-www-form-urlencoded"));try{http.send(_920);}catch(e){if(typeof http.abort=="function"){http.abort();}doLoad(_91e,{status:404},url,_920,_92b);}}else{var _930=url;if(_920!=""){_930+=(_930.indexOf("?")>-1?"&":"?")+_920;}if(_92a){_930+=(dojo.string.endsWithAny(_930,"?","&")?"":(_930.indexOf("?")>-1?"&":"?"))+"dojo.preventCache="+new Date().valueOf();}if(!_91e.user){http.open(_91e.method.toUpperCase(),_930,_929);}else{http.open(_91e.method.toUpperCase(),_930,_929,_91e.user,_91e.password);}setHeaders(http,_91e);try{http.send(null);}catch(e){if(typeof http.abort=="function"){http.abort();}doLoad(_91e,{status:404},url,_920,_92b);}}if(!_929){doLoad(_91e,http,url,_920,_92b);_8fd._blockAsync=false;}_91e.abort=function(){try{http._aborted=true;}catch(e){}return http.abort();};return;};dojo.io.transports.addTransport("XMLHTTPTransport");};}dojo.provide("dojo.io.cookie");dojo.io.cookie.setCookie=function(name,_932,days,path,_935,_936){var _937=-1;if((typeof days=="number")&&(days>=0)){var d=new Date();d.setTime(d.getTime()+(days*24*60*60*1000));_937=d.toGMTString();}_932=escape(_932);document.cookie=name+"="+_932+";"+(_937!=-1?" expires="+_937+";":"")+(path?"path="+path:"")+(_935?"; domain="+_935:"")+(_936?"; secure":"");};dojo.io.cookie.set=dojo.io.cookie.setCookie;dojo.io.cookie.getCookie=function(name){var idx=document.cookie.lastIndexOf(name+"=");if(idx==-1){return null;}var _93b=document.cookie.substring(idx+name.length+1);var end=_93b.indexOf(";");if(end==-1){end=_93b.length;}_93b=_93b.substring(0,end);_93b=unescape(_93b);return _93b;};dojo.io.cookie.get=dojo.io.cookie.getCookie;dojo.io.cookie.deleteCookie=function(name){dojo.io.cookie.setCookie(name,"-",0);};dojo.io.cookie.setObjectCookie=function(name,obj,days,path,_942,_943,_944){if(arguments.length==5){_944=_942;_942=null;_943=null;}var _945=[],_946,_947="";if(!_944){_946=dojo.io.cookie.getObjectCookie(name);}if(days>=0){if(!_946){_946={};}for(var prop in obj){if(obj[prop]==null){delete _946[prop];}else{if((typeof obj[prop]=="string")||(typeof obj[prop]=="number")){_946[prop]=obj[prop];}}}prop=null;for(var prop in _946){_945.push(escape(prop)+"="+escape(_946[prop]));}_947=_945.join("&");}dojo.io.cookie.setCookie(name,_947,days,path,_942,_943);};dojo.io.cookie.getObjectCookie=function(name){var _94a=null,_94b=dojo.io.cookie.getCookie(name);if(_94b){_94a={};var _94c=_94b.split("&");for(var i=0;i<_94c.length;i++){var pair=_94c[i].split("=");var _94f=pair[1];if(isNaN(_94f)){_94f=unescape(pair[1]);}_94a[unescape(pair[0])]=_94f;}}return _94a;};dojo.io.cookie.isSupported=function(){if(typeof navigator.cookieEnabled!="boolean"){dojo.io.cookie.setCookie("__TestingYourBrowserForCookieSupport__","CookiesAllowed",90,null);var _950=dojo.io.cookie.getCookie("__TestingYourBrowserForCookieSupport__");navigator.cookieEnabled=(_950=="CookiesAllowed");if(navigator.cookieEnabled){this.deleteCookie("__TestingYourBrowserForCookieSupport__");}}return navigator.cookieEnabled;};if(!dojo.io.cookies){dojo.io.cookies=dojo.io.cookie;}dojo.kwCompoundRequire({common:["dojo.io.common"],rhino:["dojo.io.RhinoIO"],browser:["dojo.io.BrowserIO","dojo.io.cookie"],dashboard:["dojo.io.BrowserIO","dojo.io.cookie"]});dojo.provide("dojo.io.*");dojo.provide("dojo.widget.ContentPane");dojo.widget.defineWidget("dojo.widget.ContentPane",dojo.widget.HtmlWidget,function(){this._styleNodes=[];this._onLoadStack=[];this._onUnloadStack=[];this._callOnUnload=false;this._ioBindObj;this.scriptScope;this.bindArgs={};},{isContainer:true,adjustPaths:true,href:"",extractContent:true,parseContent:true,cacheContent:true,preload:false,refreshOnShow:false,handler:"",executeScripts:false,scriptSeparation:true,loadingMessage:"Loading...",isLoaded:false,postCreate:function(args,frag,_953){if(this.handler!==""){this.setHandler(this.handler);}if(this.isShowing()||this.preload){this.loadContents();}},show:function(){if(this.refreshOnShow){this.refresh();}else{this.loadContents();}dojo.widget.ContentPane.superclass.show.call(this);},refresh:function(){this.isLoaded=false;this.loadContents();},loadContents:function(){if(this.isLoaded){return;}if(dojo.lang.isFunction(this.handler)){this._runHandler();}else{if(this.href!=""){this._downloadExternalContent(this.href,this.cacheContent&&!this.refreshOnShow);}}},setUrl:function(url){this.href=url;this.isLoaded=false;if(this.preload||this.isShowing()){this.loadContents();}},abort:function(){var bind=this._ioBindObj;if(!bind||!bind.abort){return;}bind.abort();delete this._ioBindObj;},_downloadExternalContent:function(url,_957){this.abort();this._handleDefaults(this.loadingMessage,"onDownloadStart");var self=this;this._ioBindObj=dojo.io.bind(this._cacheSetting({url:url,mimetype:"text/html",handler:function(type,data,xhr){delete self._ioBindObj;if(type=="load"){self.onDownloadEnd.call(self,url,data);}else{var e={responseText:xhr.responseText,status:xhr.status,statusText:xhr.statusText,responseHeaders:xhr.getAllResponseHeaders(),text:"Error loading '"+url+"' ("+xhr.status+" "+xhr.statusText+")"};self._handleDefaults.call(self,e,"onDownloadError");self.onLoad();}}},_957));},_cacheSetting:function(_95d,_95e){for(var x in this.bindArgs){if(dojo.lang.isUndefined(_95d[x])){_95d[x]=this.bindArgs[x];}}if(dojo.lang.isUndefined(_95d.useCache)){_95d.useCache=_95e;}if(dojo.lang.isUndefined(_95d.preventCache)){_95d.preventCache=!_95e;}if(dojo.lang.isUndefined(_95d.mimetype)){_95d.mimetype="text/html";}return _95d;},onLoad:function(e){this._runStack("_onLoadStack");this.isLoaded=true;},onUnLoad:function(e){dojo.deprecated(this.widgetType+".onUnLoad, use .onUnload (lowercased load)",0.5);},onUnload:function(e){this._runStack("_onUnloadStack");delete this.scriptScope;if(this.onUnLoad!==dojo.widget.ContentPane.prototype.onUnLoad){this.onUnLoad.apply(this,arguments);}},_runStack:function(_963){var st=this[_963];var err="";var _966=this.scriptScope||window;for(var i=0;i<st.length;i++){try{st[i].call(_966);}catch(e){err+="\n"+st[i]+" failed: "+e.description;}}this[_963]=[];if(err.length){var name=(_963=="_onLoadStack")?"addOnLoad":"addOnUnLoad";this._handleDefaults(name+" failure\n "+err,"onExecError","debug");}},addOnLoad:function(obj,func){this._pushOnStack(this._onLoadStack,obj,func);},addOnUnload:function(obj,func){this._pushOnStack(this._onUnloadStack,obj,func);},addOnUnLoad:function(){dojo.deprecated(this.widgetType+".addOnUnLoad, use addOnUnload instead. (lowercased Load)",0.5);this.addOnUnload.apply(this,arguments);},_pushOnStack:function(_96d,obj,func){if(typeof func=="undefined"){_96d.push(obj);}else{_96d.push(function(){obj[func]();});}},destroy:function(){this.onUnload();dojo.widget.ContentPane.superclass.destroy.call(this);},onExecError:function(e){},onContentError:function(e){},onDownloadError:function(e){},onDownloadStart:function(e){},onDownloadEnd:function(url,data){data=this.splitAndFixPaths(data,url);this.setContent(data);},_handleDefaults:function(e,_977,_978){if(!_977){_977="onContentError";}if(dojo.lang.isString(e)){e={text:e};}if(!e.text){e.text=e.toString();}e.toString=function(){return this.text;};if(typeof e.returnValue!="boolean"){e.returnValue=true;}if(typeof e.preventDefault!="function"){e.preventDefault=function(){this.returnValue=false;};}this[_977](e);if(e.returnValue){switch(_978){case true:case "alert":alert(e.toString());break;case "debug":dojo.debug(e.toString());break;default:if(this._callOnUnload){this.onUnload();}this._callOnUnload=false;if(arguments.callee._loopStop){dojo.debug(e.toString());}else{arguments.callee._loopStop=true;this._setContent(e.toString());}}}arguments.callee._loopStop=false;},splitAndFixPaths:function(s,url){var _97b=[],_97c=[],tmp=[];var _97e=[],_97f=[],attr=[],_981=[];var str="",path="",fix="",_985="",tag="",_987="";if(!url){url="./";}if(s){var _988=/<title[^>]*>([\s\S]*?)<\/title>/i;while(_97e=_988.exec(s)){_97b.push(_97e[1]);s=s.substring(0,_97e.index)+s.substr(_97e.index+_97e[0].length);}if(this.adjustPaths){var _989=/<[a-z][a-z0-9]*[^>]*\s(?:(?:src|href|style)=[^>])+[^>]*>/i;var _98a=/\s(src|href|style)=(['"]?)([\w()\[\]\/.,\\'"-:;#=&?\s@]+?)\2/i;var _98b=/^(?:[#]|(?:(?:https?|ftps?|file|javascript|mailto|news):))/;while(tag=_989.exec(s)){str+=s.substring(0,tag.index);s=s.substring((tag.index+tag[0].length),s.length);tag=tag[0];_985="";while(attr=_98a.exec(tag)){path="";_987=attr[3];switch(attr[1].toLowerCase()){case "src":case "href":if(_98b.exec(_987)){path=_987;}else{path=(new dojo.uri.Uri(url,_987).toString());}break;case "style":path=dojo.html.fixPathsInCssText(_987,url);break;default:path=_987;}fix=" "+attr[1]+"="+attr[2]+path+attr[2];_985+=tag.substring(0,attr.index)+fix;tag=tag.substring((attr.index+attr[0].length),tag.length);}str+=_985+tag;}s=str+s;}_988=/(?:<(style)[^>]*>([\s\S]*?)<\/style>|<link ([^>]*rel=['"]?stylesheet['"]?[^>]*)>)/i;while(_97e=_988.exec(s)){if(_97e[1]&&_97e[1].toLowerCase()=="style"){_981.push(dojo.html.fixPathsInCssText(_97e[2],url));}else{if(attr=_97e[3].match(/href=(['"]?)([^'">]*)\1/i)){_981.push({path:attr[2]});}}s=s.substring(0,_97e.index)+s.substr(_97e.index+_97e[0].length);}var _988=/<script([^>]*)>([\s\S]*?)<\/script>/i;var _98c=/src=(['"]?)([^"']*)\1/i;var _98d=/.*(\bdojo\b\.js(?:\.uncompressed\.js)?)$/;var _98e=/(?:var )?\bdjConfig\b(?:[\s]*=[\s]*\{[^}]+\}|\.[\w]*[\s]*=[\s]*[^;\n]*)?;?|dojo\.hostenv\.writeIncludes\(\s*\);?/g;var _98f=/dojo\.(?:(?:require(?:After)?(?:If)?)|(?:widget\.(?:manager\.)?registerWidgetPackage)|(?:(?:hostenv\.)?setModulePrefix|registerModulePath)|defineNamespace)\((['"]).*?\1\)\s*;?/;while(_97e=_988.exec(s)){if(this.executeScripts&&_97e[1]){if(attr=_98c.exec(_97e[1])){if(_98d.exec(attr[2])){dojo.debug("Security note! inhibit:"+attr[2]+" from  being loaded again.");}else{_97c.push({path:attr[2]});}}}if(_97e[2]){var sc=_97e[2].replace(_98e,"");if(!sc){continue;}while(tmp=_98f.exec(sc)){_97f.push(tmp[0]);sc=sc.substring(0,tmp.index)+sc.substr(tmp.index+tmp[0].length);}if(this.executeScripts){_97c.push(sc);}}s=s.substr(0,_97e.index)+s.substr(_97e.index+_97e[0].length);}if(this.extractContent){_97e=s.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_97e){s=_97e[1];}}if(this.executeScripts&&this.scriptSeparation){var _988=/(<[a-zA-Z][a-zA-Z0-9]*\s[^>]*?\S=)((['"])[^>]*scriptScope[^>]*>)/;var _991=/([\s'";:\(])scriptScope(.*)/;str="";while(tag=_988.exec(s)){tmp=((tag[3]=="'")?"\"":"'");fix="";str+=s.substring(0,tag.index)+tag[1];while(attr=_991.exec(tag[2])){tag[2]=tag[2].substring(0,attr.index)+attr[1]+"dojo.widget.byId("+tmp+this.widgetId+tmp+").scriptScope"+attr[2];}str+=tag[2];s=s.substr(tag.index+tag[0].length);}s=str+s;}}return {"xml":s,"styles":_981,"titles":_97b,"requires":_97f,"scripts":_97c,"url":url};},_setContent:function(cont){this.destroyChildren();for(var i=0;i<this._styleNodes.length;i++){if(this._styleNodes[i]&&this._styleNodes[i].parentNode){this._styleNodes[i].parentNode.removeChild(this._styleNodes[i]);}}this._styleNodes=[];try{var node=this.containerNode||this.domNode;while(node.firstChild){dojo.html.destroyNode(node.firstChild);}if(typeof cont!="string"){node.appendChild(cont);}else{node.innerHTML=cont;}}catch(e){e.text="Couldn't load content:"+e.description;this._handleDefaults(e,"onContentError");}},setContent:function(data){this.abort();if(this._callOnUnload){this.onUnload();}this._callOnUnload=true;if(!data||dojo.html.isNode(data)){this._setContent(data);this.onResized();this.onLoad();}else{if(typeof data.xml!="string"){this.href="";data=this.splitAndFixPaths(data);}this._setContent(data.xml);for(var i=0;i<data.styles.length;i++){if(data.styles[i].path){this._styleNodes.push(dojo.html.insertCssFile(data.styles[i].path,dojo.doc(),false,true));}else{this._styleNodes.push(dojo.html.insertCssText(data.styles[i]));}}if(this.parseContent){for(var i=0;i<data.requires.length;i++){try{eval(data.requires[i]);}catch(e){e.text="ContentPane: error in package loading calls, "+(e.description||e);this._handleDefaults(e,"onContentError","debug");}}}var _997=this;function asyncParse(){if(_997.executeScripts){_997._executeScripts(data.scripts);}if(_997.parseContent){var node=_997.containerNode||_997.domNode;var _999=new dojo.xml.Parse();var frag=_999.parseElement(node,null,true);dojo.widget.getParser().createSubComponents(frag,_997);}_997.onResized();_997.onLoad();}if(dojo.hostenv.isXDomain&&data.requires.length){dojo.addOnLoad(asyncParse);}else{asyncParse();}}},setHandler:function(_99b){var fcn=dojo.lang.isFunction(_99b)?_99b:window[_99b];if(!dojo.lang.isFunction(fcn)){this._handleDefaults("Unable to set handler, '"+_99b+"' not a function.","onExecError",true);return;}this.handler=function(){return fcn.apply(this,arguments);};},_runHandler:function(){var ret=true;if(dojo.lang.isFunction(this.handler)){this.handler(this,this.domNode);ret=false;}this.onLoad();return ret;},_executeScripts:function(_99e){var self=this;var tmp="",code="";for(var i=0;i<_99e.length;i++){if(_99e[i].path){dojo.io.bind(this._cacheSetting({"url":_99e[i].path,"load":function(type,_9a4){dojo.lang.hitch(self,tmp=";"+_9a4);},"error":function(type,_9a6){_9a6.text=type+" downloading remote script";self._handleDefaults.call(self,_9a6,"onExecError","debug");},"mimetype":"text/plain","sync":true},this.cacheContent));code+=tmp;}else{code+=_99e[i];}}try{if(this.scriptSeparation){delete this.scriptScope;this.scriptScope=new (new Function("_container_",code+"; return this;"))(self);}else{var djg=dojo.global();if(djg.execScript){djg.execScript(code);}else{var djd=dojo.doc();var sc=djd.createElement("script");sc.appendChild(djd.createTextNode(code));(this.containerNode||this.domNode).appendChild(sc);}}}catch(e){e.text="Error running scripts from content:\n"+e.description;this._handleDefaults(e,"onExecError","debug");}}});dojo.provide("dojo.widget.FisheyeList");dojo.widget.defineWidget("dojo.widget.FisheyeList",dojo.widget.HtmlWidget,function(){this.pos={x:-1,y:-1};this.EDGE={CENTER:0,LEFT:1,RIGHT:2,TOP:3,BOTTOM:4};this.timerScale=1;},{templateString:"<div class=\"dojoHtmlFisheyeListBar\"></div>",templateCssString:".dojoHtmlFisheyeListItemLabel {\n\tcolor: #FFFFFF;\n\tfont: 12px Arial;\n\tborder: 0px solid #666;\n\tpadding: 2px;\n\ttext-align: center;\n\tposition: absolute;\n\tmargin-top: -35px;\n\tdisplay: none;\n}\n\n.dojoHtmlFisheyeListItemLabel.selected {\n\tdisplay: block;\n\tz-index: 2000;\n}\n\n.dojoHtmlFisheyeListItemImage {\n\tborder: 0px;\n\tposition: absolute;\n\tz-index: 2001;\n}\n\n.dojoHtmlFisheyeListItem {\n\tposition: absolute;\n\tz-index: 2002;\n}\n\n.dojoHtmlFisheyeListBar {\n\tposition: relative;\n}\n",templateCssString:".dojoHtmlFisheyeListItemLabel {\r\n\tfont-family: Arial, Helvetica, sans-serif;\r\n\tbackground-color: #eee;\r\n\tborder: 2px solid #666;\r\n\tpadding: 2px;\r\n\ttext-align: center;\r\n\tposition: absolute;\r\n\tdisplay: none;\r\n}\r\n\r\n.dojoHtmlFisheyeListItemLabel.selected {\r\n\tdisplay: block;\r\n}\r\n\r\n.dojoHtmlFisheyeListItemImage {\r\n\tborder: 0px;\r\n\tposition: absolute;\r\n}\r\n\r\n.dojoHtmlFisheyeListItem {\r\n\tposition: absolute;\r\n\tz-index: 2;\r\n}\r\n\r\n.dojoHtmlFisheyeListBar {\r\n\tposition: relative;\r\n}\r\n",templateCssPath:dojo.uri.moduleUri("dojo.widget","templates/FisheyeList.css"),isContainer:true,snarfChildDomOutput:true,itemWidth:40,itemHeight:40,itemMaxWidth:150,itemMaxHeight:150,orientation:"horizontal",conservativeTrigger:false,effectUnits:2,itemPadding:10,attachEdge:"center",labelEdge:"bottom",enableCrappySvgSupport:false,fillInTemplate:function(){dojo.html.disableSelection(this.domNode);this.isHorizontal=(this.orientation=="horizontal");this.selectedNode=-1;this.isOver=false;this.hitX1=-1;this.hitY1=-1;this.hitX2=-1;this.hitY2=-1;this.anchorEdge=this._toEdge(this.attachEdge,this.EDGE.CENTER);this.labelEdge=this._toEdge(this.labelEdge,this.EDGE.TOP);if(this.isHorizontal&&(this.anchorEdge==this.EDGE.LEFT)){this.anchorEdge=this.EDGE.CENTER;}if(this.isHorizontal&&(this.anchorEdge==this.EDGE.RIGHT)){this.anchorEdge=this.EDGE.CENTER;}if(!this.isHorizontal&&(this.anchorEdge==this.EDGE.TOP)){this.anchorEdge=this.EDGE.CENTER;}if(!this.isHorizontal&&(this.anchorEdge==this.EDGE.BOTTOM)){this.anchorEdge=this.EDGE.CENTER;}if(this.labelEdge==this.EDGE.CENTER){this.labelEdge=this.EDGE.TOP;}if(this.isHorizontal&&(this.labelEdge==this.EDGE.LEFT)){this.labelEdge=this.EDGE.TOP;}if(this.isHorizontal&&(this.labelEdge==this.EDGE.RIGHT)){this.labelEdge=this.EDGE.TOP;}if(!this.isHorizontal&&(this.labelEdge==this.EDGE.TOP)){this.labelEdge=this.EDGE.LEFT;}if(!this.isHorizontal&&(this.labelEdge==this.EDGE.BOTTOM)){this.labelEdge=this.EDGE.LEFT;}this.proximityLeft=this.itemWidth*(this.effectUnits-0.5);this.proximityRight=this.itemWidth*(this.effectUnits-0.5);this.proximityTop=this.itemHeight*(this.effectUnits-0.5);this.proximityBottom=this.itemHeight*(this.effectUnits-0.5);if(this.anchorEdge==this.EDGE.LEFT){this.proximityLeft=0;}if(this.anchorEdge==this.EDGE.RIGHT){this.proximityRight=0;}if(this.anchorEdge==this.EDGE.TOP){this.proximityTop=0;}if(this.anchorEdge==this.EDGE.BOTTOM){this.proximityBottom=0;}if(this.anchorEdge==this.EDGE.CENTER){this.proximityLeft/=2;this.proximityRight/=2;this.proximityTop/=2;this.proximityBottom/=2;}},postCreate:function(){this._initializePositioning();if(!this.conservativeTrigger){dojo.event.connect(document.documentElement,"onmousemove",this,"_onMouseMove");}dojo.event.connect(document.documentElement,"onmouseout",this,"_onBodyOut");dojo.event.connect(this,"addChild",this,"_initializePositioning");},_initializePositioning:function(){this.itemCount=this.children.length;this.barWidth=(this.isHorizontal?this.itemCount:1)*this.itemWidth;this.barHeight=(this.isHorizontal?1:this.itemCount)*this.itemHeight;this.totalWidth=this.proximityLeft+this.proximityRight+this.barWidth;this.totalHeight=this.proximityTop+this.proximityBottom+this.barHeight;for(var i=0;i<this.children.length;i++){this.children[i].posX=this.itemWidth*(this.isHorizontal?i:0);this.children[i].posY=this.itemHeight*(this.isHorizontal?0:i);this.children[i].cenX=this.children[i].posX+(this.itemWidth/2);this.children[i].cenY=this.children[i].posY+(this.itemHeight/2);var isz=this.isHorizontal?this.itemWidth:this.itemHeight;var r=this.effectUnits*isz;var c=this.isHorizontal?this.children[i].cenX:this.children[i].cenY;var lhs=this.isHorizontal?this.proximityLeft:this.proximityTop;var rhs=this.isHorizontal?this.proximityRight:this.proximityBottom;var siz=this.isHorizontal?this.barWidth:this.barHeight;var _9b1=r;var _9b2=r;if(_9b1>c+lhs){_9b1=c+lhs;}if(_9b2>(siz-c+rhs)){_9b2=siz-c+rhs;}this.children[i].effectRangeLeft=_9b1/isz;this.children[i].effectRangeRght=_9b2/isz;}this.domNode.style.width=this.barWidth+"px";this.domNode.style.height=this.barHeight+"px";for(var i=0;i<this.children.length;i++){var itm=this.children[i];var elm=itm.domNode;elm.style.left=itm.posX+"px";elm.style.top=itm.posY+"px";elm.style.width=this.itemWidth+"px";elm.style.height=this.itemHeight+"px";if(itm.svgNode){itm.svgNode.style.position="absolute";itm.svgNode.style.left=this.itemPadding+"%";itm.svgNode.style.top=this.itemPadding+"%";itm.svgNode.style.width=(100-2*this.itemPadding)+"%";itm.svgNode.style.height=(100-2*this.itemPadding)+"%";itm.svgNode.style.zIndex=1;itm.svgNode.setSize(this.itemWidth,this.itemHeight);}else{itm.imgNode.style.left=this.itemPadding+"%";itm.imgNode.style.top=this.itemPadding+"%";itm.imgNode.style.width=(100-2*this.itemPadding)+"%";itm.imgNode.style.height=(100-2*this.itemPadding)+"%";}}this._calcHitGrid();},_onBodyOut:function(e){if(dojo.html.overElement(dojo.body(),e)){return;}this._setDormant(e);},_setDormant:function(e){if(!this.isOver){return;}this.isOver=false;if(this.conservativeTrigger){dojo.event.disconnect(document.documentElement,"onmousemove",this,"_onMouseMove");}this._onGridMouseMove(-1,-1);},_setActive:function(e){if(this.isOver){return;}this.isOver=true;if(this.conservativeTrigger){dojo.event.connect(document.documentElement,"onmousemove",this,"_onMouseMove");this.timerScale=0;this._onMouseMove(e);this._expandSlowly();}},_onMouseMove:function(e){if((e.pageX>=this.hitX1)&&(e.pageX<=this.hitX2)&&(e.pageY>=this.hitY1)&&(e.pageY<=this.hitY2)){if(!this.isOver){this._setActive(e);}this._onGridMouseMove(e.pageX-this.hitX1,e.pageY-this.hitY1);}else{if(this.isOver){this._setDormant(e);}}},onResized:function(){this._calcHitGrid();},_onGridMouseMove:function(x,y){this.pos={x:x,y:y};this._paint();},_paint:function(){var x=this.pos.x;var y=this.pos.y;if(this.itemCount<=0){return;}var pos=this.isHorizontal?x:y;var prx=this.isHorizontal?this.proximityLeft:this.proximityTop;var siz=this.isHorizontal?this.itemWidth:this.itemHeight;var sim=this.isHorizontal?(1-this.timerScale)*this.itemWidth+this.timerScale*this.itemMaxWidth:(1-this.timerScale)*this.itemHeight+this.timerScale*this.itemMaxHeight;var cen=((pos-prx)/siz)-0.5;var _9c2=(sim/siz)-0.5;if(_9c2>this.effectUnits){_9c2=this.effectUnits;}var _9c3=0;if(this.anchorEdge==this.EDGE.BOTTOM){var cen2=(y-this.proximityTop)/this.itemHeight;_9c3=(cen2>0.5)?1:y/(this.proximityTop+(this.itemHeight/2));}if(this.anchorEdge==this.EDGE.TOP){var cen2=(y-this.proximityTop)/this.itemHeight;_9c3=(cen2<0.5)?1:(this.totalHeight-y)/(this.proximityBottom+(this.itemHeight/2));}if(this.anchorEdge==this.EDGE.RIGHT){var cen2=(x-this.proximityLeft)/this.itemWidth;_9c3=(cen2>0.5)?1:x/(this.proximityLeft+(this.itemWidth/2));}if(this.anchorEdge==this.EDGE.LEFT){var cen2=(x-this.proximityLeft)/this.itemWidth;_9c3=(cen2<0.5)?1:(this.totalWidth-x)/(this.proximityRight+(this.itemWidth/2));}if(this.anchorEdge==this.EDGE.CENTER){if(this.isHorizontal){_9c3=y/(this.totalHeight);}else{_9c3=x/(this.totalWidth);}if(_9c3>0.5){_9c3=1-_9c3;}_9c3*=2;}for(var i=0;i<this.itemCount;i++){var _9c6=this._weighAt(cen,i);if(_9c6<0){_9c6=0;}this._setItemSize(i,_9c6*_9c3);}var _9c7=Math.round(cen);var _9c8=0;if(cen<0){_9c7=0;}else{if(cen>this.itemCount-1){_9c7=this.itemCount-1;}else{_9c8=(cen-_9c7)*((this.isHorizontal?this.itemWidth:this.itemHeight)-this.children[_9c7].sizeMain);}}this._positionElementsFrom(_9c7,_9c8);},_weighAt:function(cen,i){var dist=Math.abs(cen-i);var _9cc=((cen-i)>0)?this.children[i].effectRangeRght:this.children[i].effectRangeLeft;return (dist>_9cc)?0:(1-dist/_9cc);},_setItemSize:function(p,_9ce){_9ce*=this.timerScale;var w=Math.round(this.itemWidth+((this.itemMaxWidth-this.itemWidth)*_9ce));var h=Math.round(this.itemHeight+((this.itemMaxHeight-this.itemHeight)*_9ce));if(this.isHorizontal){this.children[p].sizeW=w;this.children[p].sizeH=h;this.children[p].sizeMain=w;this.children[p].sizeOff=h;var y=0;if(this.anchorEdge==this.EDGE.TOP){y=(this.children[p].cenY-(this.itemHeight/2));}else{if(this.anchorEdge==this.EDGE.BOTTOM){y=(this.children[p].cenY-(h-(this.itemHeight/2)));}else{y=(this.children[p].cenY-(h/2));}}this.children[p].usualX=Math.round(this.children[p].cenX-(w/2));this.children[p].domNode.style.top=y+"px";this.children[p].domNode.style.left=this.children[p].usualX+"px";}else{this.children[p].sizeW=w;this.children[p].sizeH=h;this.children[p].sizeOff=w;this.children[p].sizeMain=h;var x=0;if(this.anchorEdge==this.EDGE.LEFT){x=this.children[p].cenX-(this.itemWidth/2);}else{if(this.anchorEdge==this.EDGE.RIGHT){x=this.children[p].cenX-(w-(this.itemWidth/2));}else{x=this.children[p].cenX-(w/2);}}this.children[p].domNode.style.left=x+"px";this.children[p].usualY=Math.round(this.children[p].cenY-(h/2));this.children[p].domNode.style.top=this.children[p].usualY+"px";}this.children[p].domNode.style.width=w+"px";this.children[p].domNode.style.height=h+"px";if(this.children[p].svgNode){this.children[p].svgNode.setSize(w,h);}},_positionElementsFrom:function(p,_9d4){var pos=0;if(this.isHorizontal){pos=Math.round(this.children[p].usualX+_9d4);this.children[p].domNode.style.left=pos+"px";}else{pos=Math.round(this.children[p].usualY+_9d4);this.children[p].domNode.style.top=pos+"px";}this._positionLabel(this.children[p]);var bpos=pos;for(var i=p-1;i>=0;i--){bpos-=this.children[i].sizeMain;if(this.isHorizontal){this.children[i].domNode.style.left=bpos+"px";}else{this.children[i].domNode.style.top=bpos+"px";}this._positionLabel(this.children[i]);}var apos=pos;for(var i=p+1;i<this.itemCount;i++){apos+=this.children[i-1].sizeMain;if(this.isHorizontal){this.children[i].domNode.style.left=apos+"px";}else{this.children[i].domNode.style.top=apos+"px";}this._positionLabel(this.children[i]);}},_positionLabel:function(itm){var x=0;var y=0;var mb=dojo.html.getMarginBox(itm.lblNode);if(this.labelEdge==this.EDGE.TOP){x=Math.round((itm.sizeW/2)-(mb.width/2));y=-mb.height;}if(this.labelEdge==this.EDGE.BOTTOM){x=Math.round((itm.sizeW/2)-(mb.width/2));y=itm.sizeH;}if(this.labelEdge==this.EDGE.LEFT){x=-mb.width;y=Math.round((itm.sizeH/2)-(mb.height/2));}if(this.labelEdge==this.EDGE.RIGHT){x=itm.sizeW;y=Math.round((itm.sizeH/2)-(mb.height/2));}itm.lblNode.style.left=x+"px";itm.lblNode.style.top=y+"px";},_calcHitGrid:function(){var pos=dojo.html.getAbsolutePosition(this.domNode,true);this.hitX1=pos.x-this.proximityLeft;this.hitY1=pos.y-this.proximityTop;this.hitX2=this.hitX1+this.totalWidth;this.hitY2=this.hitY1+this.totalHeight;},_toEdge:function(inp,def){return this.EDGE[inp.toUpperCase()]||def;},_expandSlowly:function(){if(!this.isOver){return;}this.timerScale+=0.2;this._paint();if(this.timerScale<1){dojo.lang.setTimeout(this,"_expandSlowly",10);}},destroy:function(){dojo.event.disconnect(document.documentElement,"onmouseout",this,"_onBodyOut");dojo.event.disconnect(document.documentElement,"onmousemove",this,"_onMouseMove");dojo.widget.FisheyeList.superclass.destroy.call(this);}});dojo.widget.defineWidget("dojo.widget.FisheyeListItem",dojo.widget.HtmlWidget,{iconSrc:"",svgSrc:"",caption:"",id:"",_blankImgPath:dojo.uri.moduleUri("dojo.widget","templates/images/blank.gif"),templateString:"<div class=\"dojoHtmlFisheyeListItem\">"+"  <img class=\"dojoHtmlFisheyeListItemImage\" dojoAttachPoint=\"imgNode\" dojoAttachEvent=\"onMouseOver;onMouseOut;onClick\">"+"  <div class=\"dojoHtmlFisheyeListItemLabel\" dojoAttachPoint=\"lblNode\"></div>"+"</div>",fillInTemplate:function(){if(this.svgSrc!=""){this.svgNode=this._createSvgNode(this.svgSrc);this.domNode.appendChild(this.svgNode);this.imgNode.style.display="none";}else{if((this.iconSrc.toLowerCase().substring(this.iconSrc.length-4)==".png")&&(dojo.render.html.ie)&&(!dojo.render.html.ie70)){if(dojo.dom.hasParent(this.imgNode)&&this.id!=""){var _9e0=this.imgNode.parentNode;_9e0.setAttribute("id",this.id);}this.imgNode.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+this.iconSrc+"', sizingMethod='scale')";this.imgNode.src=this._blankImgPath.toString();}else{if(dojo.dom.hasParent(this.imgNode)&&this.id!=""){var _9e0=this.imgNode.parentNode;_9e0.setAttribute("id",this.id);}this.imgNode.src=this.iconSrc;}}if(this.lblNode){this.lblNode.appendChild(document.createTextNode(this.caption));}dojo.html.disableSelection(this.domNode);},_createSvgNode:function(src){var elm=document.createElement("embed");elm.src=src;elm.type="image/svg+xml";elm.style.width="1px";elm.style.height="1px";elm.loaded=0;elm.setSizeOnLoad=false;elm.onload=function(){this.svgRoot=this.getSVGDocument().rootElement;this.svgDoc=this.getSVGDocument().documentElement;this.zeroWidth=this.svgRoot.width.baseVal.value;this.zeroHeight=this.svgRoot.height.baseVal.value;this.loaded=true;if(this.setSizeOnLoad){this.setSize(this.setWidth,this.setHeight);}};elm.setSize=function(w,h){if(!this.loaded){this.setWidth=w;this.setHeight=h;this.setSizeOnLoad=true;return;}this.style.width=w+"px";this.style.height=h+"px";this.svgRoot.width.baseVal.value=w;this.svgRoot.height.baseVal.value=h;var _9e5=w/this.zeroWidth;var _9e6=h/this.zeroHeight;for(var i=0;i<this.svgDoc.childNodes.length;i++){if(this.svgDoc.childNodes[i].setAttribute){this.svgDoc.childNodes[i].setAttribute("transform","scale("+_9e5+","+_9e6+")");}}};return elm;},onMouseOver:function(e){if(!this.parent.isOver){this.parent._setActive(e);}if(this.caption!=""){dojo.html.addClass(this.lblNode,"selected");this.parent._positionLabel(this);}},onMouseOut:function(e){dojo.html.removeClass(this.lblNode,"selected");},onClick:function(e){}});dojo.provide("dojo.lfx.extras");dojo.lfx.html.fadeWipeIn=function(_9eb,_9ec,_9ed,_9ee){_9eb=dojo.lfx.html._byId(_9eb);var anim=dojo.lfx.combine(dojo.lfx.fadeIn(_9eb,_9ec,_9ed),dojo.lfx.wipeIn(_9eb,_9ec,_9ed));if(_9ee){anim.connect("onEnd",function(){_9ee(_9eb,anim);});}return anim;};dojo.lfx.html.fadeWipeOut=function(_9f0,_9f1,_9f2,_9f3){_9f0=dojo.lfx.html._byId(_9f0);var anim=dojo.lfx.combine(dojo.lfx.fadeOut(_9f0,_9f1,_9f2),dojo.lfx.wipeOut(_9f0,_9f1,_9f2));if(_9f3){anim.connect("onEnd",function(){_9f3(_9f0,anim);});}return anim;};dojo.lfx.html.scale=function(_9f5,_9f6,_9f7,_9f8,_9f9,_9fa,_9fb){_9f5=dojo.lfx.html._byId(_9f5);var _9fc=[];dojo.lang.forEach(_9f5,function(node){var _9fe=dojo.html.getMarginBox(node);var _9ff=_9f6/100;var _a00=[{property:"width",start:_9fe.width,end:_9fe.width*_9ff},{property:"height",start:_9fe.height,end:_9fe.height*_9ff}];if(_9f7){var _a01=dojo.html.getStyle(node,"font-size");var _a02=null;if(!_a01){_a01=parseFloat("100%");_a02="%";}else{dojo.lang.some(["em","px","%"],function(item,_a04,arr){if(_a01.indexOf(item)>0){_a01=parseFloat(_a01);_a02=item;return true;}});}_a00.push({property:"font-size",start:_a01,end:_a01*_9ff,units:_a02});}if(_9f8){var _a06=dojo.html.getStyle(node,"position");var _a07=node.offsetTop;var _a08=node.offsetLeft;var _a09=((_9fe.height*_9ff)-_9fe.height)/2;var _a0a=((_9fe.width*_9ff)-_9fe.width)/2;_a00.push({property:"top",start:_a07,end:(_a06=="absolute"?_a07-_a09:(-1*_a09))});_a00.push({property:"left",start:_a08,end:(_a06=="absolute"?_a08-_a0a:(-1*_a0a))});}var anim=dojo.lfx.propertyAnimation(node,_a00,_9f9,_9fa);if(_9fb){anim.connect("onEnd",function(){_9fb(node,anim);});}_9fc.push(anim);});return dojo.lfx.combine(_9fc);};
/*
Ebrochure 2.0
Copyright (c) 2007-2008, Netplus Communication - All Rights Reserved.
Edition & Production : Netplus Communication http://www.netplus.fr
Conception & Developement : Cyril Arp, Jeremie Bidault
*/	
dojo.lfx.html.wipeOut_outils=function(_a0c,_a0d,_a0e,_a0f){_a0c=dojo.lfx.html._byId(_a0c);var _a10=[];dojo.lang.forEach(_a0c,function(node){var _a12={};var anim=dojo.lfx.propertyAnimation(node,{"height":{start:function(){return dojo.html.getContentBox(node).height;},end:1}},_a0d,_a0e,{"beforeBegin":function(){_a12.overflow=node.style.overflow;_a12.height=node.style.Height;dojo.html.hide("fish1");with(node.style){overflow="hidden";}dojo.html.show(node);},"onEnd":function(){dojo.html.hide(node);dojo.byId("test").style.display="none";with(node.style){overflow=_a12.overflow;height=_a12.height;}if(_a0f){_a0f(node,anim);}}});_a10.push(anim);});return dojo.lfx.combine(_a10);};dojo.lfx.html.wipeIn_outils=function(_a14,_a15,_a16,_a17){_a14=dojo.lfx.html._byId(_a14);var _a18=[];dojo.lang.forEach(_a14,function(node){var _a1a={};var _a1b,_a1c,_a1d;with(node.style){_a1b=top;_a1c=left;_a1d=position;top="-9999px";left="-9999px";position="absolute";display="";}var _a1e=dojo.html.getBorderBox(node).height;with(node.style){top=_a1b;left=_a1c;position=_a1d;display="none";}var anim=dojo.lfx.propertyAnimation(node,{"height":{start:1,end:function(){return _a1e;}}},_a15,_a16);anim.connect("beforeBegin",function(){_a1a.overflow=node.style.overflow;_a1a.height=node.style.Height;with(node.style){overflow="hidden";height="1px";}dojo.html.show(node);});anim.connect("onEnd",function(){dojo.byId("fish1").style.visibility="visible";dojo.byId("fish1").style.display="block";with(node.style){overflow=_a1a.overflow;height=_a1a.height;}if(_a17){_a17(node,anim);}});_a18.push(anim);});return dojo.lfx.combine(_a18);};dojo.lfx.html.wipeOutL=function(_a20,_a21,_a22,_a23){_a20=dojo.lfx.html._byId(_a20);var _a24=[];dojo.lang.forEach(_a20,function(node){var _a26={};var anim=dojo.lfx.propertyAnimation(node,{"width":{start:function(){return dojo.html.getContentBox(node).width;},end:1}},_a21,_a22,{"beforeBegin":function(){_a26.overflow=node.style.overflow;_a26.width=node.style.width;with(node.style){overflow="hidden";borderLeftColor="#C7C7C7";}dojo.html.show(node);},"onEnd":function(){dojo.html.hide(node);with(node.style){overflow=_a26.overflow;width=_a26.width;top="31px";left="515px";}if(_a23){_a23(node,anim);}}});_a24.push(anim);});return dojo.lfx.combine(_a24);};dojo.lfx.html.wipeOutL2=function(_a28,_a29,_a2a,_a2b){_a28=dojo.lfx.html._byId(_a28);var _a2c=[];dojo.lang.forEach(_a28,function(node){var _a2e={};var anim=dojo.lfx.propertyAnimation(node,{"width":{start:function(){return dojo.html.getContentBox(node).width;},end:1}},_a29,_a2a,{"beforeBegin":function(){_a2e.overflow=node.style.overflow;_a2e.width=node.style.width;with(node.style){overflow="hidden";}dojo.html.show(node);},"onEnd":function(){dojo.html.hide("anti_click");dojo.html.hide(node);preload_zoom();with(node.style){overflow=_a2e.overflow;width=_a2e.width;zIndex=0;}if(_a2b){_a2b(node,anim);}}});_a2c.push(anim);});return dojo.lfx.combine(_a2c);};dojo.lfx.html.resizeJbH=function(_a30,_a31,_a32,_a33,_a34,_a35){_a32=dojo.lfx.html._byId(_a32);var _a36=[];dojo.lang.forEach(_a32,function(node){var _a38={};var anim=dojo.lfx.propertyAnimation(node,{"height":{start:_a30,end:_a31}},_a33,_a34,{"beforeBegin":function(){_a38.overflow=node.style.overflow;_a38.height=node.style.Height;dojo.html.show("anti_click");with(node.style){overflow="hidden";}dojo.html.show(node);},"onEnd":function(){dojo.html.show(node);with(node.style){overflow=_a38.overflow;height=_a31;}if(_a35){_a35(node,anim);}}});_a36.push(anim);});return dojo.lfx.combine(_a36);};dojo.lfx.html.resizeJbH2=function(_a3a,_a3b,_a3c,_a3d,_a3e,_a3f){_a3c=dojo.lfx.html._byId(_a3c);var _a40=[];dojo.lang.forEach(_a3c,function(node){var _a42={};var anim=dojo.lfx.propertyAnimation(node,{"height":{start:_a3a,end:_a3b}},_a3d,_a3e,{"beforeBegin":function(){_a42.overflow=node.style.overflow;_a42.height=node.style.height;with(node.style){overflow="hidden";}dojo.html.show(node);},"onEnd":function(){dojo.html.hide(node);with(node.style){overflow=_a42.overflow;height=_a3b;}if(_a3f){_a3f(node,anim);}}});_a40.push(anim);});return dojo.lfx.combine(_a40);};dojo.lfx.html.resizeJbL=function(_a44,_a45,_a46,_a47,_a48,_a49){_a46=dojo.lfx.html._byId(_a46);var _a4a=[];dojo.lang.forEach(_a46,function(node){var _a4c={};var anim=dojo.lfx.propertyAnimation(node,{"width":{start:_a44,end:_a45}},_a47,_a48,{"beforeBegin":function(){_a4c.overflow=node.style.overflow;_a4c.width=_a44;with(node.style){overflow="hidden";borderRightColor="#C7C7C7";}dojo.html.show(node);},"onEnd":function(){dojo.html.show(node);with(node.style){overflow=_a4c.overflow;width=_a45;}if(_a49){_a49(node,anim);}}});_a4a.push(anim);});return dojo.lfx.combine(_a4a);};dojo.lfx.html.resizeJbL3=function(_a4e,_a4f,_a50,_a51,_a52,_a53){_a50=dojo.lfx.html._byId(_a50);var _a54=[];dojo.lang.forEach(_a50,function(node){var _a56={};var anim=dojo.lfx.propertyAnimation(node,{"width":{start:_a4e,end:_a4f}},_a51,_a52,{"beforeBegin":function(){_a56.overflow=node.style.overflow;_a56.width=_a4e;_a56.left=node.style.left;with(node.style){overflow="hidden";borderRightColor="#C7C7C7";}dojo.html.show(node);},"onEnd":function(){dojo.html.hide("anti_click");dojo.html.show(node);preload_zoom();with(node.style){overflow=_a56.overflow;width=_a4f;left=_a56.left;zIndex=0;}if(_a53){_a53(node,anim);}}});_a54.push(anim);});return dojo.lfx.combine(_a54);};dojo.lfx.html.resizeMargin_contenu=function(_a58,_a59,_a5a,_a5b,_a5c,_a5d){_a5a=dojo.lfx.html._byId(_a5a);var _a5e=[];dojo.lang.forEach(_a5a,function(node){var _a60={};var anim=dojo.lfx.propertyAnimation(node,{"marginLeft":{start:_a58,end:_a59}},_a5b,_a5c,{"beforeBegin":function(){_a60.overflow=node.style.overflow;_a60.width=_a58;with(node.style){overflow="hidden";marginLeft=_a58+"px";}dojo.html.show(node);},"onEnd":function(){dojo.html.show(node);with(node.style){overflow=_a60.overflow;width=_a58;marginLeft=_a58+"px";}if(_a5d){_a5d(node,anim);}}});_a5e.push(anim);});return dojo.lfx.combine(_a5e);};dojo.lfx.html.resizeMargin_contenu3=function(_a62,_a63,_a64,_a65,_a66,_a67){_a64=dojo.lfx.html._byId(_a64);var _a68=[];dojo.lang.forEach(_a64,function(node){var _a6a={};var anim=dojo.lfx.propertyAnimation(node,{"marginLeft":{start:_a62,end:_a63}},_a65,_a66,{"beforeBegin":function(){_a6a.overflow=node.style.overflow;_a6a.width=_a62;with(node.style){overflow="hidden";marginLeft=_a62+"px";}dojo.html.show(node);},"onEnd":function(){dojo.html.show(node);with(node.style){overflow=_a6a.overflow;width=_a6a.width;marginLeft=_a63+"px";}if(_a67){_a67(node,anim);}}});_a68.push(anim);});return dojo.lfx.combine(_a68);};dojo.lfx.html.slideToJb=function(_a6c,_a6d,_a6e,_a6f,_a70){_a6c=dojo.lfx.html._byId(_a6c);var _a71=[];var _a72=dojo.html.getComputedStyle;if(dojo.lang.isArray(_a6d)){dojo.deprecated("dojo.lfx.html.slideTo(node, array)","use dojo.lfx.html.slideTo(node, {top: value, left: value});","0.5");_a6d={top:_a6d[0],left:_a6d[1]};}dojo.lang.forEach(_a6c,function(node){var top=null;var left=null;var init=(function(){var _a77=node;return function(){var pos=_a72(_a77,"position");top=16;left=300;if(!dojo.lang.inArray(["absolute","relative"],pos)){var ret=dojo.html.abs(_a77,true);dojo.html.setStyleAttributes(_a77,"position:absolute;top:"+ret.y+"px;left:"+ret.x+"px;");top=16;left=300;}};})();init();var anim=dojo.lfx.propertyAnimation(node,{"top":{start:top,end:(_a6d.top||0)},"left":{start:left,end:(_a6d.left||0)}},_a6e,_a6f,{"beforeBegin":init});if(_a70){anim.connect("onEnd",function(){_a70(_a6c,anim);});}_a71.push(anim);});return dojo.lfx.combine(_a71);};dojo.lfx.html.wipeIn_special=function(_a7b,_a7c,_a7d,_a7e){_a7b=dojo.lfx.html._byId(_a7b);var _a7f=[];dojo.lang.forEach(_a7b,function(node){var _a81={};var _a82,_a83,_a84;with(node.style){_a82=top;_a83=left;_a84=position;top="-9999px";left="-9999px";position="absolute";display="";}var _a85=dojo.html.getBorderBox(node).width;with(node.style){top=_a82;left=_a83;position=_a84;display="none";}var anim=dojo.lfx.propertyAnimation(node,{"width":{start:1,end:function(){return _a85;}}},_a7c,_a7d);anim.connect("beforeBegin",function(){_a81.overflow=node.style.overflow;_a81.width=node.style.width;with(node.style){overflow="hidden";width="1px";zIndex=105;borderRightColor="#C7C7C7";}dojo.html.show(node);});anim.connect("onEnd",function(){with(node.style){overflow=_a81.overflow;width=_a81.width;zIndex=105;}if(_a7e){_a7e(node,anim);}});_a7f.push(anim);});return dojo.lfx.combine(_a7f);};dojo.lfx.html.tourneD_etape1=function(PD){var _a88=dojo.lfx.html.slideTo(PD,{top:16,left:300},400);var _a89=dojo.lfx.html.resizeJbH(592,612,PD,400);return dojo.lfx.combine([_a88,_a89]);};dojo.lfx.html.tourneD_etape2=function(PD){var _a8b=dojo.lfx.html.slideToJb(PD,{top:31,left:84},400);var _a8c=dojo.lfx.html.resizeJbH2(612,592,PD,400);return dojo.lfx.combine([_a8b,_a8c]);};dojo.lfx.html.tourneD_etape3=function(PD){var _a8e=dojo.lfx.html.slideTo("cadre0",{top:0,left:0},360);var _a8f=dojo.lfx.html.tourneD_etape2(PD);return dojo.lfx.chain([_a8e,_a8f]);};dojo.lfx.html.tourneD_etape4=function(PD){var _a91=dojo.lfx.html.tourneD_etape1(PD);var _a92=dojo.lfx.html.tourneD_etape3(PD);return dojo.lfx.combine([_a91,_a92]);};dojo.lfx.html.tourne_droite=function(_a93,PD,PG,CPD){if(num<47){var _a97=dojo.lfx.html.tourneD_etape4(PD);var _a98=dojo.lfx.html.wipeOutL(PD,800);var _a99=dojo.lfx.html.wipeOutL2(PG,850);var _a9a=dojo.lfx.html.resizeMargin_contenu(1,-460,CPD,800);compteur3(_a93);return dojo.lfx.combine([_a98,_a97,_a99,_a9a]);}};dojo.lfx.html.etape1=function(PG){var _a9c=dojo.lfx.html.slideTo(PG,{top:16,left:515},600);var _a9d=dojo.lfx.html.resizeJbH(592,612,PG,600);var _a9e=dojo.lfx.html.resizeJbL(430,215,PG,600);return dojo.lfx.combine([_a9c,_a9d,_a9e]);};dojo.lfx.html.etape2=function(PG){dojo.byId(PG).style.top="16px";dojo.byId(PG).style.left="515px";var _aa0=dojo.lfx.html.slideTo(PG,{top:31,left:945},600);var _aa1=dojo.lfx.html.resizeJbH(612,592,PG,600);var _aa2=dojo.lfx.html.resizeJbL3(215,1,PG,637);return dojo.lfx.combine([_aa0,_aa1,_aa2]);};dojo.lfx.html.etape3=function(PG){var _aa4=dojo.lfx.html.slideTo("cadre0",{top:0,left:0},445);var _aa5=dojo.lfx.html.etape2(PG);return dojo.lfx.chain([_aa4,_aa5]);};dojo.lfx.html.etape4=function(PG){var _aa7=dojo.lfx.html.etape1(PG);var _aa8=dojo.lfx.html.etape3(PG);return dojo.lfx.combine([_aa7,_aa8]);};dojo.lfx.html.tourne_gauche=function(_aa9,PG,PPD){if(num>1){var _aac=dojo.lfx.html.etape4(PG).play();var _aad=dojo.lfx.html.wipeIn_special(PPD,1150);compteurR3(_aa9);return dojo.lfx.combine([_aad,_aac]);}};function prepa_styles(_aae){if(visible==3){var _aaf="cadre3";var _aaf=dojo.byId(_aaf);_aaf.style.width="430px";_aaf.style.borderColor="#949393";_aaf.style.top="31px";_aaf.style.left="84px";_aaf.style.display="block";if(_aae>num){_aaf.style.zIndex=100;}if(_aae<num){_aaf.style.zIndex=110;}var _ab0="cadre4";var _ab0=dojo.byId(_ab0);_ab0.style.width="430px";_ab0.style.borderColor="#949393";_ab0.style.top="31px";_ab0.style.left="515px";_ab0.style.display="block";if(_aae>num){_ab0.style.zIndex=110;}if(_aae<num){_ab0.style.zIndex=100;}var _ab1="cadre1";var _ab1=dojo.byId(_ab1);_ab1.style.width="430px";_ab1.style.borderColor="#FFFFFF";_ab1.style.borderRightColor="#949393";_ab1.style.zIndex=0;_ab1.style.top="31px";_ab1.style.left="84px";_ab1.style.display="block";var _ab2="cadre2";var _ab2=dojo.byId(_ab2);_ab2.style.width="430px";_ab2.style.borderColor="#FFFFFF";_ab2.style.borderLeftColor="#949393";_ab2.style.zIndex=0;_ab2.style.top="31px";_ab2.style.left="515px";_ab2.style.display="block";var _ab3="contenud2";var _ab3=dojo.byId(_ab3);_ab3.style.width="430px";_ab3.style.marginLeft="0px";}else{var _aaf="cadre1";var _aaf=dojo.byId(_aaf);_aaf.style.width="430px";_aaf.style.borderColor="#949393";_aaf.style.top="31px";_aaf.style.left="84px";_aaf.style.display="block";if(_aae>num){_aaf.style.zIndex=100;}if(_aae<num){_aaf.style.zIndex=110;}var _ab0="cadre2";var _ab0=dojo.byId(_ab0);_ab0.style.width="430px";_ab0.style.borderColor="#949393";_ab0.style.top="31px";_ab0.style.left="515px";_ab0.style.display="block";if(_aae>num){_ab0.style.zIndex=110;}if(_aae<num){_ab0.style.zIndex=100;}var _ab1="cadre3";var _ab1=dojo.byId(_ab1);_ab1.style.width="430px";_ab1.style.borderColor="#FFFFFF";_ab1.style.borderRightColor="#949393";_ab1.style.zIndex=0;_ab1.style.top="31px";_ab1.style.left="84px";_ab1.style.display="block";var _ab2="cadre4";var _ab2=dojo.byId(_ab2);_ab2.style.width="430px";_ab2.style.borderColor="#FFFFFF";_ab2.style.borderLeftColor="#949393";_ab2.style.zIndex=0;_ab2.style.top="31px";_ab2.style.left="515px";_ab2.style.display="block";var _ab3="contenud4";var _ab3=dojo.byId(_ab3);_ab3.style.width="430px";_ab3.style.marginLeft="0px";}}function chargement_pages(_ab4){if(visible==3){nodeName="contenu1";contentPane=dojo.widget.byId(nodeName);pageSource=chemin_pages+pages[_ab4];contentPane.setUrl(pageSource);nodeName="contenud2";contentPane=dojo.widget.byId(nodeName);pageSource=chemin_pages+pages[_ab4+1];contentPane.setUrl(pageSource);}else{nodeName="contenu3";contentPane=dojo.widget.byId(nodeName);pageSource=chemin_pages+pages[_ab4];contentPane.setUrl(pageSource);nodeName="contenud4";contentPane=dojo.widget.byId(nodeName);pageSource=chemin_pages+pages[_ab4+1];contentPane.setUrl(pageSource);}}function styles_preload(_ab5){chargement_pages(_ab5);prepa_styles(_ab5);}function test_load(){prepa_styles(num+2);stats_nav(num+2);cible=num+2;if(visible==3){var _ab6="contenu1";var _ab7=dojo.widget.byId(_ab6);var _ab8=chemin_pages+pages[cible];_ab7.setUrl(_ab8);var _ab6="contenud2";var _ab7=dojo.widget.byId(_ab6);var _ab8=chemin_pages+pages[cible+1];_ab7.setUrl(_ab8);}else{var _ab6="contenu3";var _ab7=dojo.widget.byId(_ab6);var _ab8=chemin_pages+pages[cible];_ab7.setUrl(_ab8);var _ab6="contenud4";var _ab7=dojo.widget.byId(_ab6);var _ab8=chemin_pages+pages[cible+1];_ab7.setUrl(_ab8);}}function tourne_wait(){dojo.lfx.html.tourne_droite((num+2),PD,PG,CPD).play();window.clearInterval(wait);}function tourne(){test_load();wait=window.setInterval("tourne_wait()",200);}function nb_ouvrir(){dojo.byId("cadre1").style.border="0px";dojo.byId("contenu1").style.border="0px";dojo.byId("cadre3").style.border="0px";dojo.byId("contenu3").style.border="0px";dojo.lfx.html.fadeHide(dojo.byId("tranche"),1).play();setTimeout("montre()",800);}dojo.lfx.html.resizeMargin_contenu3=function(_ab9,_aba,_abb,_abc,_abd,_abe){_abb=dojo.lfx.html._byId(_abb);var _abf=[];dojo.lang.forEach(_abb,function(node){var _ac1={};var anim=dojo.lfx.propertyAnimation(node,{"marginLeft":{start:_ab9,end:_aba}},_abc,_abd,{"beforeBegin":function(){_ac1.overflow=node.style.overflow;with(node.style){overflow="hidden";marginLeft=_ab9+"px";}dojo.html.show(node);},"onEnd":function(){slider_plus();dojo.byId("anti_click").style.display="none";dojo.html.show(node);with(node.style){overflow=_ac1.overflow;width=_ac1.width;marginLeft="0px";}if(_abe){_abe(node,anim);}}});_abf.push(anim);});return dojo.lfx.combine(_abf);};function nb2_ouvrir(){node1=dojo.byId("cadre3");node2=dojo.byId("contenu3");dojo.byId("logo_big").style.zIndex=-1;var _ac3=dojo.lfx.html.slideTo(node1,{top:31,left:84},850);var _ac4=dojo.lfx.html.resizeMargin_contenu3(-422,1,node2,850);return dojo.lfx.combine([_ac3,_ac4]);}function montre(){dojo.lfx.html.fadeShow(dojo.byId("ombre_droite"),100).play();dojo.lfx.html.fadeShow("logo",100).play();nodes=new Array("cadre1","contenu1","tt_pages","tt_gauche","tt_droite","horizontalSliderValue","horizontalSliderValue2","hideong","fd_btg","fd_btd","bt1","bt2","hideslide","bdg","logo","coind","coing");dojo.lfx.html.fadeShow(nodes,100).play();dojo.lfx.html.fadeHide(dojo.byId("logo_big"),100).play();dojo.byId("bdb").style.width="863px";dojo.byId("bdb").style.left="84px";dojo.byId("cadre1").style.border="1px solid #FFFFFF";dojo.byId("cadre1").style.borderRight="1px solid #949393";dojo.byId("cadre1").style.display="block";dojo.byId("cadre1").style.visibility="visible";dojo.byId("cadre3").style.visibility="visible";dojo.byId("cadre3").style.display="block";dojo.byId("cadre3").style.border="1px solid #FFFFFF";dojo.byId("cadre3").style.borderRight="1px solid #949393";dojo.byId("cadre4").style.zIndex=1000;dojo.byId("bdg").style.filter="alpha(opacity=100)";dojo.byId("bdg").style.visibility="visible";dojo.byId("bdg").style.display="block";dojo.byId("coing").style.display="block";dojo.byId("coind").style.display="block";dojo.byId("coind").style.zIndex="1000";dojo.byId("fish1").style.visibility="visible";dojo.lfx.html.fadeShow("fish1",100).play();compteur3(3);}function nb3_ouvrir(_ac5,PD,PG,CPD){preload_couv(_ac5);if(visible==1){PD="cadre2";CPD="contenud2";}dojo.byId("cadre1").style.zIndex=0;var _ac9=dojo.lfx.html.tourneD_etape4(PD);var _aca=dojo.lfx.html.wipeOutL(PD,800);var _acb=nb2_ouvrir();var _acc=dojo.lfx.html.resizeMargin_contenu(1,-460,CPD,800);dojo.lfx.html.fadeHide("tranche",1).play();dojo.lfx.html.fadeShow(dojo.byId("ombre_gauche1"),1).play();dojo.lfx.html.fadeShow(dojo.byId("ombre_gauche2"),1).play();setTimeout("montre()",800);return dojo.lfx.combine([_aca,_ac9,_acb,_acc]);}function cache(){setTimeout("dojo.lfx.html.fadeHide('ombre_droite', 1).play()",700);nodes=new Array("tt_pages","tt_gauche","tt_droite","horizontalSliderValue","horizontalSliderValue2","hideong","fd_btg","fd_btd","bt1","bt2","hideslide","bdg","envoyer","sommaire","imprimer");dojo.lfx.html.fadeHide(nodes,100).play();if(visible==3){dojo.lfx.html.fadeHide("cadre1",100).play();}else{dojo.lfx.html.fadeHide("cadre3",100).play();}dojo.lfx.html.fadeShow("logo_big",100).play();dojo.lfx.html.fadeHide("logo",200).play();setTimeout("dojo.lfx.html.fadeShow('tranche', 100).play()",700);dojo.byId("logo_big").style.zIndex=100;dojo.byId("bdb").style.width="415px";dojo.byId("bdb").style.left="532px";dojo.byId("cadre2").style.borderLeft="0px";dojo.byId("coing").style.display="none";dojo.byId("coind").style.display="none";dojo.byId("fish1").style.visibility="hidden";toPage(1);}function preload_couv(_acd){node=dojo.byId("cadre3");node.style.position="absolute";node.style.top="31px";node.style.left="516px";node.style.height="592px";node.style.width="430px";node.style.zIndex="0";node.style.overflow="hidden";node.style.display="block";node.style.visibility="visible";node.style.opacity=1;node.style.filter="alpha(opacity=100)";node=dojo.byId("contenu3");node.style.position="absolute";node.style.top="0px";node.style.left="0px";node.style.height="592px";node.style.width="430px";node.style.zIndex="0";node.style.overflow="hidden";node.style.display="block";node.style.visibility="visible";node.style.margin="0px";node.style.opacity=1;node.style.filter="alpha(opacity=100)";node=dojo.byId("cadre1");node.style.position="absolute";node.style.top="31px";node.style.left="516px";node.style.height="592px";node.style.width="430px";node.style.zIndex="100";node.style.overflow="hidden";node.style.opacity=1;node.style.filter="alpha(opacity=100)";node=dojo.byId("contenu1");node.style.position="absolute";node.style.top="0px";node.style.left="0px";node.style.height="592px";node.style.width="430px";node.style.zIndex="0";node.style.overflow="hidden";node.style.opacity=1;node.style.filter="alpha(opacity=100)";node=dojo.byId("cadre2");node.style.position="absolute";node.style.top="31px";node.style.left="515px";node.style.height="592px";node.style.width="430px";node.style.zIndex="110";node.style.overflow="hidden";node=dojo.byId("contenud2");node.style.position="absolute";node.style.top="0px";node.style.left="0px";node.style.height="592px";node.style.width="430px";node.style.zIndex="0";node.style.overflow="hidden";node=dojo.byId("cadre4");node.style.position="absolute";node.style.top="31px";node.style.left="515px";node.style.height="592px";node.style.width="430px";node.style.zIndex="0";node.style.overflow="hidden";node=dojo.byId("contenud4");node.style.position="absolute";node.style.top="0px";node.style.left="0px";node.style.height="592px";node.style.width="430px";node.style.zIndex="0";node.style.overflow="hidden";contentPane=dojo.widget.byId("contenu1");pageSource=chemin_pages+pages["1"];contentPane.setUrl(pageSource);nodeName="contenud2";node=dojo.widget.byId(nodeName);pageSource=chemin_pages+pages["2"];node.setUrl(pageSource);contentPane=dojo.widget.byId("contenu3");pageSource=chemin_pages+pages[_acd];contentPane.setUrl(pageSource);nodeName="contenud4";node=dojo.widget.byId(nodeName);pageSource=chemin_pages+pages[_acd+1];node.setUrl(pageSource);visible=1;}var num=1;var PG="cadre1";var PD="cadre2";var CPD="contenu2";var PPD="";var nbpt=0;var visible=0;function compteur3(_ace){if(num){num=_ace;nbpt=nbpt+1;}else{num=1;}if(visible==3){visible=1;PG="cadre1";PD="cadre2";PPD="cadre4";CPD="contenud2";}else{visible=3;PG="cadre3";PD="cadre4";PPD="cadre2";CPD="contenud4";}return CPD;return PG;return PD;return PPD;return visible;return num;return nbpt;}function compteurR3(_acf){if(num){num=_acf;nbpt=nbpt+1;}else{num=1;}if(visible==3){visible=1;PG="cadre1";PD="cadre2";PPD="cadre4";CPD="contenud2";}else{visible=3;PG="cadre3";PD="cadre4";PPD="cadre2";CPD="contenud4";}return PG;return PPD;return CPD;return num;return nbpt;}function pageSuivante(){if(visible==1){jb_boucle("contenud2");}else{jb_boucle("contenud4");}styles_preload(num+2);stats_nav(num+2);slider_plus();fx="dojo.lfx.html.tourne_droite("+(num+2)+", PD, PG, CPD).play();";setTimeout(fx,200);}function pagePrecedente(){if(visible==1){jb_boucle("contenu1");}else{jb_boucle("contenu3");}styles_preload(num-2);stats_nav(num-2);slider_moins();if(num==3){fx="cache();";}else{fx="dojo.lfx.html.tourne_gauche("+(num-2)+", PG, PPD).play();";}setTimeout(fx,200);}function isFloat(_ad0){return !isNaN(parseFloat(_ad0));}pair="non";function toPage(_ad1){pair="non";test_cible=_ad1/2;if(test_cible===parseInt(test_cible)){_ad1=_ad1-1;pair="oui";}if(num==_ad1){onglets(ong_ids);dojo.html.hide("anti_click");}else{if(num!=1){styles_preload(_ad1);}stats_nav(_ad1);slider_goto((_ad1+1)/2);if(_ad1>num){if(visible==1){jb_boucle("contenud2");}else{jb_boucle("contenud4");}if(num==1){fx="nb3_ouvrir("+_ad1+", PD, PG, CPD).play();";}else{fx="dojo.lfx.html.tourne_droite("+_ad1+", PD, PG, CPD).play();";}setTimeout(fx,200);return _ad1;}if(_ad1<num){if(visible==1){jb_boucle("contenu1");}else{jb_boucle("contenu3");}if(_ad1==1){setTimeout("dojo.lfx.html.fadeHide('ombre_droite', 1).play()",700);nodes=new Array("tt_pages","tt_gauche","tt_droite","horizontalSliderValue","horizontalSliderValue2","hideong","fd_btg","fd_btd","bt1","bt2","hideslide","bdg","logo","coind","coing");dojo.lfx.html.fadeHide(nodes,100).play();if(visible==3){dojo.lfx.html.fadeHide("cadre1",100).play();}else{dojo.lfx.html.fadeHide("cadre3",100).play();}dojo.lfx.html.fadeShow("logo_big",100).play();setTimeout("dojo.lfx.html.fadeShow('tranche', 100).play()",700);dojo.byId("logo_big").style.zIndex=100;dojo.byId("bdb").style.width="415px";dojo.byId("bdb").style.left="532px";dojo.byId("cadre2").style.borderLeft="0px";dojo.lfx.html.hide_menu();}fx="dojo.lfx.html.tourne_gauche("+_ad1+", PG, PPD).play();";setTimeout(fx,200);}return _ad1;}}function slider_plus(){var _ad2=dojo.widget.byId("horizontalSlider").getValue()+1;dojo.widget.byId("horizontalSlider").setValue(_ad2);}function slider_moins(){var _ad3=dojo.widget.byId("horizontalSlider").getValue()-1;dojo.widget.byId("horizontalSlider").setValue(_ad3);}function slider_goto(_ad4){dojo.widget.byId("horizontalSlider").setValue(_ad4);}function btg(){if(num>1){pagePrecedente();dojo.byId("st_btg").value=parseInt(dojo.byId("st_btg").value)+1;}else{dojo.html.hide("anti_click");}}function btd(){if(num==3){toPage(5);}else{if(num<(parseInt(pages_max)-1)){pageSuivante();dojo.byId("st_btd").value=parseInt(dojo.byId("st_btd").value)+1;}else{dojo.html.hide("anti_click");}}}function onglets(_ad5){var _ad6=_ad5;var page=dojo.byId("horizontalSliderValue").value;for(i=0;i<_ad6.length;i++){var _ad8="onglet_"+i;if(pair=="oui"){if(((parseInt(page)+1)==_ad6[i])||(page>_ad6[i]&&page<_ad6[i+1])){dojo.html.replaceClass(_ad8,"onglet_on","onglet");}else{if(dojo.html.getClass(_ad8)=="onglet_on"){dojo.html.replaceClass(_ad8,"onglet","onglet_on");}}}else{if(page>=_ad6[i]&&page<_ad6[i+1]){dojo.html.replaceClass(_ad8,"onglet_on","onglet");}else{if(page>=_ad6[i]&&i==_ad6.length-1){dojo.html.replaceClass(_ad8,"onglet_on","onglet");}else{if(dojo.html.getClass(_ad8)=="onglet_on"){dojo.html.replaceClass(_ad8,"onglet","onglet_on");}}}}}}function ongl(_ad9,_ada){_ad9="st_ong"+_ad9;dojo.byId(_ad9).value=parseInt(dojo.byId(_ad9).value)+1;if(_ada==1){cache();}else{toPage(_ada);}}
function handleArrowKeys(evt){if(dojo.byId("anti_click").style.display=="none"){evt=(evt)?evt:((window.event)?event:null);if(evt){switch(evt.keyCode){case 37:pagePrecedente();break;case 39:if(num===1){nb3_ouvrir(3,PD,PG,CPD).play();}if(num===(parseInt(pages_max)-1)){dojo.html.hide("anti_click");}else{pageSuivante();}break;}}}}
function sync_cont(){dojo.byId("tt_gauche").value="page "+dojo.byId("horizontalSliderValue").value+" sur "+pages_max+" - "+titres[dojo.byId("horizontalSliderValue").value];dojo.byId("tt_droite").value="page "+(parseInt(dojo.byId("horizontalSliderValue").value)+1)+" sur "+pages_max+" - "+titres[parseInt(dojo.byId("horizontalSliderValue").value)+1];}function prepa_styles_outils(){var node="outils";var node=dojo.byId(node);node.style.width="438px";node.style.Height="5px";node.style.zIndex=150;var node="wipe";var node=dojo.byId(node);node.style.width="436px";node.style.Height="50px";node.style.zIndex=150;var node="test";var node=dojo.byId(node);node.style.width="438px";node.style.zIndex=1;node.style.display="none";node.style.position="absolute";node.style.top="622px";node.style.left="301px";}function show_menu(){prepa_styles_outils();dojo.byId("test").style.display="block";dojo.lfx.html.wipeIn_outils("wipe",200).play();dojo.lfx.html.fadeShow("hided",300).play();dojo.lfx.html.fadeShow("hideg",300).play();}dojo.lfx.html.hide_menu=function(){dojo.lfx.html.wipeOut_outils("wipe",200).play();dojo.lfx.html.fadeHide("hided",200).play();dojo.lfx.html.fadeHide("hideg",200).play();};function show_item(node){devant(node);var _ade="st_"+node;dojo.byId(_ade).value=parseInt(dojo.byId(_ade).value)+1;dojo.byId(node).style.display="block";if(node=="envoyer"||node=="aide"){dojo.lfx.html.fade(node,{start:0,end:1},600).play();if(node=="aide"){dojo.html.show("anti_click2");}}else{dojo.lfx.html.fade(node,{start:0,end:0.9},600).play();}}function devant(node){dojo.byId("imprimer").style.zIndex=1999;dojo.byId("sommaire").style.zIndex=1999;dojo.byId("envoyer").style.zIndex=1999;dojo.byId(node).style.zIndex=2000;}function show_imprimer(){devant("imprimer");checkPrint();dojo.byId("st_imprimer").value=parseInt(dojo.byId("st_imprimer").value)+1;dojo.byId("imprimer").style.display="block";dojo.lfx.html.fade("imprimer",{start:0,end:0.9},600).play();}function close_imprimer(){unCheckPrint();dojo.lfx.html.fadeHide("imprimer",600).play();}function checkUncheckAll(_ae0){var _ae1=_ae0.form,z=0;for(z=0;z<_ae1.length;z++){if(_ae1[z].type=="checkbox"&&_ae1[z].id!="toutes"){_ae1[z].checked=_ae0.checked;}}}function checkPrint(){var _ae3=dojo.byId("toutes");var _ae4=_ae3.form,z=0;for(z=0;z<_ae4.length;z++){if(_ae4[z].type=="checkbox"&&_ae4[z].id=="pr_"+parseInt(dojo.byId("horizontalSliderValue").value)){_ae4[z].checked=true;}if(_ae4[z].type=="checkbox"&&_ae4[z].id=="pr_"+parseInt(dojo.byId("horizontalSliderValue2").value)){_ae4[z].checked=true;}}}function unCheckPrint(){var _ae6=dojo.byId("toutes");var _ae7=_ae6.form,z=0;for(z=0;z<_ae7.length;z++){if(_ae7[z].type=="checkbox"){_ae7[z].checked=false;}}}function jb_diapo(){if(num===pages_max){toPage(3);}else{pageSuivante();}}function go_diapo(){dojo.byId("st_diapo").value=parseInt(dojo.byId("st_diapo").value)+1;dojo.html.show("diapo");dojo.html.hide("logo");dojo.html.hide("fish1");dojo.html.hide("sommaire");dojo.html.hide("envoyer");dojo.html.hide("imprimer");actif=window.setInterval("jb_diapo()",4000);}function stopDiapo(){window.clearInterval(actif);dojo.html.hide("diapo");dojo.html.show("logo");dojo.html.show("fish1");}function magicForm(){var x=new dojo.io.FormBind({formNode:dojo.byId("azer"),load:function(load,data,e){dojo.byId("partage").innerHTML=data;}});}function stats_nav(_aed){var ts=new Date();ts=ts.getTime();dojo.byId("st_nav").value=dojo.byId("st_nav").value+"_"+_aed+":"+ts;}function stats_post(){dojo.byId("stats").submit();}function init_zoom(){var _aef=dojo.byId("zoom2");var _af0=dojo.byId("zooma1");new dojo.dnd.HtmlDropTarget(_aef);var src=new dojo.dnd.HtmlDragMoveSource(_af0);src.constrainTo(_aef);var _aef=dojo.byId("zoomb2");var _af0=dojo.byId("zoomb1");new dojo.dnd.HtmlDropTarget(_aef);var src=new dojo.dnd.HtmlDragMoveSource(_af0);src.constrainTo(_aef);}function nb_zoom(node){init_zoom();if(dojo.byId(node).style.display=="none"){if(node=="zoom"){node2="zooma1";}else{node2="zoomb1";}if(y>375){dojo.byId(node2).style.top="0px";}else{dojo.byId(node2).style.top="370px";}dojo.byId(node).style.display="block";dojo.lfx.html.fade(node,{start:0,end:1},600).play();}else{dojo.lfx.html.fadeHide(node,400).play();dojo.byId("st_zoom").value=parseInt(dojo.byId("st_zoom").value)+1;}}function preload_zoom(){var ind=parseInt(dojo.byId("horizontalSliderValue").value);var zuri="zoom.php?p=a&id="+ind;dojo.io.updateNode("zoom2",zuri);var ind2=parseInt(dojo.byId("horizontalSliderValue2").value);var _af6="zoom.php?p=b&id="+ind2;dojo.io.updateNode("zoomb2",_af6);}function zoom_update(nbp,nbid){dojo.io.updateNode(node,uri);}function grab_in(node){node.style.cursor="url(../img/grabbing.cur), default";}function grab_out(node){node.style.cursor="url(../img/grab.cur), default";}function cloupe(node){node.style.cursor="url(../img/zoom_in.cur), default";}function handle(_afc){if(dojo.byId("zoom").style.display!="none"){zoom_node="zooma1";}if(dojo.byId("zoomb").style.display!="none"){zoom_node="zoomb1";}if(_afc<0){if(parseInt(dojo.byId(zoom_node).style.top)<=390&&parseInt(dojo.byId(zoom_node).style.top)>195){dojo.lfx.html.slideTo(zoom_node,{top:195,left:0},445).play();}if(parseInt(dojo.byId(zoom_node).style.top)<=195&&parseInt(dojo.byId(zoom_node).style.top)>0){dojo.lfx.html.slideTo(zoom_node,{top:0,left:0},445).play();}}else{if(parseInt(dojo.byId(zoom_node).style.top)>=0&&parseInt(dojo.byId(zoom_node).style.top)<195){dojo.lfx.html.slideTo(zoom_node,{top:195,left:0},445).play();}if(parseInt(dojo.byId(zoom_node).style.top)>=195&&parseInt(dojo.byId(zoom_node).style.top)<390){dojo.lfx.html.slideTo(zoom_node,{top:370,left:0},445).play();}}}function wheel(_afd){var _afe=0;if(!_afd){_afd=window.event;}if(_afd.wheelDelta){_afe=_afd.wheelDelta/120;if(window.opera){_afe=-_afe;}}else{if(_afd.detail){_afe=-_afd.detail/3;}}if(_afe){handle(_afe);}if(_afd.preventDefault){_afd.preventDefault();}_afd.returnValue=false;}function sourisxy(e){y=(navigator.appName=="Netscape")?e.pageY:event.y+document.body.scrollTop;return y;}function souris(){if(navigator.appName.substring(0,3)=="Net"){document.captureEvents(Event.mousedown);}dojo.byId("cadre1").onmousedown=sourisxy;dojo.byId("cadre2").onmousedown=sourisxy;dojo.byId("cadre3").onmousedown=sourisxy;dojo.byId("cadre4").onmousedown=sourisxy;}function jb_boucle(root){var prt=dojo.byId(root);for(elmt=dojo.dom.getFirstChildElement(prt);elmt!=null;elmt=cible){if(is_prt(elmt)){if(elmt.style.overflow=="auto"){elmt.style.overflow="hidden";}cible=dojo.dom.getFirstChildElement(elmt);prt=elmt;}else{if(elmt.style.overflow=="auto"){elmt.style.overflow="hidden";}for(cible=dojo.dom.nextElement(elmt);cible==null;cible=dojo.dom.nextElement(prt)){prt_tab=dojo.dom.getAncestors(elmt);prt=prt_tab[1];elmt=prt;if(prt.id==root){break;}}}}}function is_prt(elmt){if(dojo.dom.getFirstChildElement(elmt)!=null){return true;}else{return false;}}function test_anc(){elmt=dojo.byId("couv");prt=dojo.dom.getAncestors(elmt);st="";for(i=0;prt[i]!=null;i++){st=st+" / "+prt[i]+prt[i].id;}alert(st);}dojo.lang.mixin(dojo.lfx,dojo.lfx.html);