/*
	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
	Available via Academic Free License >= 2.1 OR the modified BSD license.
	see: http://dojotoolkit.org/license for details
*/

/*
	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.
*/

(function(){var _1=null;if((_1||(typeof djConfig!="undefined"&&djConfig.scopeMap))&&(typeof window!="undefined")){var _2="",_3="",_4="",_5={},_6={};_1=_1||djConfig.scopeMap;for(var i=0;i<_1.length;i++){var _7=_1[i];_2+="var "+_7[0]+" = {}; "+_7[1]+" = "+_7[0]+";"+_7[1]+"._scopeName = '"+_7[1]+"';";_3+=(i==0?"":",")+_7[0];_4+=(i==0?"":",")+_7[1];_5[_7[0]]=_7[1];_6[_7[1]]=_7[0];}eval(_2+"dojo._scopeArgs = ["+_4+"];");dojo._scopePrefixArgs=_3;dojo._scopePrefix="(function("+_3+"){";dojo._scopeSuffix="})("+_4+")";dojo._scopeMap=_5;dojo._scopeMapRev=_6;}(function(){if(typeof this["loadFirebugConsole"]=="function"){this["loadFirebugConsole"]();}else{this.console=this.console||{};var cn=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"];var i=0,tn;while((tn=cn[i++])){if(!console[tn]){(function(){var _8=tn+"";console[_8]=("log" in console)?function(){var a=Array.apply({},arguments);a.unshift(_8+":");console["log"](a.join(" "));}:function(){};console[_8]._fake=true;})();}}}if(typeof dojo=="undefined"){dojo={_scopeName:"dojo",_scopePrefix:"",_scopePrefixArgs:"",_scopeSuffix:"",_scopeMap:{},_scopeMapRev:{}};}var d=dojo;if(typeof dijit=="undefined"){dijit={_scopeName:"dijit"};}if(typeof dojox=="undefined"){dojox={_scopeName:"dojox"};}if(!d._scopeArgs){d._scopeArgs=[dojo,dijit,dojox];}d.global=this;d.config={isDebug:false,debugAtAllCosts:false};if(typeof djConfig!="undefined"){for(var _9 in djConfig){d.config[_9]=djConfig[_9];}}dojo.locale=d.config.locale;var _a="$Rev: 21516 $".match(/\d+/);dojo.version={major:0,minor:0,patch:0,flag:"dev",revision:_a?+_a[0]:NaN,toString:function(){with(d.version){return major+"."+minor+"."+patch+flag+" ("+revision+")";}}};if(typeof OpenAjax!="undefined"){OpenAjax.hub.registerLibrary(dojo._scopeName,"http://dojotoolkit.org",d.version.toString());}var _b,_c,_d={};for(var i in {toString:1}){_b=[];break;}dojo._extraNames=_b=_b||["hasOwnProperty","valueOf","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","constructor"];_c=_b.length;dojo._mixin=function(_e,_f){var _10,s,i;for(_10 in _f){s=_f[_10];if(!(_10 in _e)||(_e[_10]!==s&&(!(_10 in _d)||_d[_10]!==s))){_e[_10]=s;}}if(_c&&_f){for(i=0;i<_c;++i){_10=_b[i];s=_f[_10];if(!(_10 in _e)||(_e[_10]!==s&&(!(_10 in _d)||_d[_10]!==s))){_e[_10]=s;}}}return _e;};dojo.mixin=function(obj,_11){if(!obj){obj={};}for(var i=1,l=arguments.length;i<l;i++){d._mixin(obj,arguments[i]);}return obj;};dojo._getProp=function(_12,_13,_14){var obj=_14||d.global;for(var i=0,p;obj&&(p=_12[i]);i++){if(i==0&&d._scopeMap[p]){p=d._scopeMap[p];}obj=(p in obj?obj[p]:(_13?obj[p]={}:undefined));}return obj;};dojo.setObject=function(_15,_16,_17){var _18=_15.split("."),p=_18.pop(),obj=d._getProp(_18,true,_17);return obj&&p?(obj[p]=_16):undefined;};dojo.getObject=function(_19,_1a,_1b){return d._getProp(_19.split("."),_1a,_1b);};dojo.exists=function(_1c,obj){return !!d.getObject(_1c,false,obj);};dojo["eval"]=function(_1d){return d.global.eval?d.global.eval(_1d):eval(_1d);};d.deprecated=d.experimental=function(){};})();(function(){var d=dojo;d.mixin(d,{_loadedModules:{},_inFlightCount:0,_hasResource:{},_modulePrefixes:{dojo:{name:"dojo",value:"."},doh:{name:"doh",value:"../util/doh"},tests:{name:"tests",value:"tests"}},_moduleHasPrefix:function(_1e){var mp=d._modulePrefixes;return !!(mp[_1e]&&mp[_1e].value);},_getModulePrefix:function(_1f){var mp=d._modulePrefixes;if(d._moduleHasPrefix(_1f)){return mp[_1f].value;}return _1f;},_loadedUrls:[],_postLoad:false,_loaders:[],_unloaders:[],_loadNotifying:false});dojo._loadPath=function(_20,_21,cb){var uri=((_20.charAt(0)=="/"||_20.match(/^\w+:/))?"":d.baseUrl)+_20;try{return !_21?d._loadUri(uri,cb):d._loadUriAndCheck(uri,_21,cb);}catch(e){console.error(e);return false;}};dojo._loadUri=function(uri,cb){if(d._loadedUrls[uri]){return true;}d._inFlightCount++;var _22=d._getText(uri,true);if(_22){d._loadedUrls[uri]=true;d._loadedUrls.push(uri);if(cb){_22="("+_22+")";}else{_22=d._scopePrefix+_22+d._scopeSuffix;}if(!d.isIE){_22+="\r\n//@ sourceURL="+uri;}var _23=d["eval"](_22);if(cb){cb(_23);}}if(--d._inFlightCount==0&&d._postLoad&&d._loaders.length){setTimeout(function(){if(d._inFlightCount==0){d._callLoaded();}},0);}return !!_22;};dojo._loadUriAndCheck=function(uri,_24,cb){var ok=false;try{ok=d._loadUri(uri,cb);}catch(e){console.error("failed loading "+uri+" with error: "+e);}return !!(ok&&d._loadedModules[_24]);};dojo.loaded=function(){d._loadNotifying=true;d._postLoad=true;var mll=d._loaders;d._loaders=[];for(var x=0;x<mll.length;x++){mll[x]();}d._loadNotifying=false;if(d._postLoad&&d._inFlightCount==0&&mll.length){d._callLoaded();}};dojo.unloaded=function(){var mll=d._unloaders;while(mll.length){(mll.pop())();}};d._onto=function(arr,obj,fn){if(!fn){arr.push(obj);}else{if(fn){var _25=(typeof fn=="string")?obj[fn]:fn;arr.push(function(){_25.call(obj);});}}};dojo.ready=dojo.addOnLoad=function(obj,_26){d._onto(d._loaders,obj,_26);if(d._postLoad&&d._inFlightCount==0&&!d._loadNotifying){d._callLoaded();}};var dca=d.config.addOnLoad;if(dca){d.addOnLoad[(dca instanceof Array?"apply":"call")](d,dca);}dojo._modulesLoaded=function(){if(d._postLoad){return;}if(d._inFlightCount>0){console.warn("files still in flight!");return;}d._callLoaded();};dojo._callLoaded=function(){if(typeof setTimeout=="object"||(d.config.useXDomain&&d.isOpera)){setTimeout(d.isAIR?function(){d.loaded();}:d._scopeName+".loaded();",0);}else{d.loaded();}};dojo._getModuleSymbols=function(_27){var _28=_27.split(".");for(var i=_28.length;i>0;i--){var _29=_28.slice(0,i).join(".");if(i==1&&!d._moduleHasPrefix(_29)){_28[0]="../"+_28[0];}else{var _2a=d._getModulePrefix(_29);if(_2a!=_29){_28.splice(0,i,_2a);break;}}}return _28;};dojo._global_omit_module_check=false;dojo.loadInit=function(_2b){_2b();};dojo._loadModule=dojo.require=function(_2c,_2d){_2d=d._global_omit_module_check||_2d;var _2e=d._loadedModules[_2c];if(_2e){return _2e;}var _2f=d._getModuleSymbols(_2c).join("/")+".js";var _30=!_2d?_2c:null;var ok=d._loadPath(_2f,_30);if(!ok&&!_2d){throw new Error("Could not load '"+_2c+"'; last tried '"+_2f+"'");}if(!_2d&&!d._isXDomain){_2e=d._loadedModules[_2c];if(!_2e){throw new Error("symbol '"+_2c+"' is not defined after loading '"+_2f+"'");}}return _2e;};dojo.provide=function(_31){_31=_31+"";return (d._loadedModules[_31]=d.getObject(_31,true));};dojo.platformRequire=function(_32){var _33=_32.common||[];var _34=_33.concat(_32[d._name]||_32["default"]||[]);for(var x=0;x<_34.length;x++){var _35=_34[x];if(_35.constructor==Array){d._loadModule.apply(d,_35);}else{d._loadModule(_35);}}};dojo.requireIf=function(_36,_37){if(_36===true){var _38=[];for(var i=1;i<arguments.length;i++){_38.push(arguments[i]);}d.require.apply(d,_38);}};dojo.requireAfterIf=d.requireIf;dojo.registerModulePath=function(_39,_3a){d._modulePrefixes[_39]={name:_39,value:_3a};};dojo.requireLocalization=function(_3b,_3c,_3d,_3e){d.require("dojo.i18n");d.i18n._requireLocalization.apply(d.hostenv,arguments);};var ore=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),ire=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$");dojo._Url=function(){var n=null,_3f=arguments,uri=[_3f[0]];for(var i=1;i<_3f.length;i++){if(!_3f[i]){continue;}var _40=new d._Url(_3f[i]+""),_41=new d._Url(uri[0]+"");if(_40.path==""&&!_40.scheme&&!_40.authority&&!_40.query){if(_40.fragment!=n){_41.fragment=_40.fragment;}_40=_41;}else{if(!_40.scheme){_40.scheme=_41.scheme;if(!_40.authority){_40.authority=_41.authority;if(_40.path.charAt(0)!="/"){var _42=_41.path.substring(0,_41.path.lastIndexOf("/")+1)+_40.path;var _43=_42.split("/");for(var j=0;j<_43.length;j++){if(_43[j]=="."){if(j==_43.length-1){_43[j]="";}else{_43.splice(j,1);j--;}}else{if(j>0&&!(j==1&&_43[0]=="")&&_43[j]==".."&&_43[j-1]!=".."){if(j==(_43.length-1)){_43.splice(j,1);_43[j-1]="";}else{_43.splice(j-1,2);j-=2;}}}}_40.path=_43.join("/");}}}}uri=[];if(_40.scheme){uri.push(_40.scheme,":");}if(_40.authority){uri.push("//",_40.authority);}uri.push(_40.path);if(_40.query){uri.push("?",_40.query);}if(_40.fragment){uri.push("#",_40.fragment);}}this.uri=uri.join("");var r=this.uri.match(ore);this.scheme=r[2]||(r[1]?"":n);this.authority=r[4]||(r[3]?"":n);this.path=r[5];this.query=r[7]||(r[6]?"":n);this.fragment=r[9]||(r[8]?"":n);if(this.authority!=n){r=this.authority.match(ire);this.user=r[3]||n;this.password=r[4]||n;this.host=r[6]||r[7];this.port=r[9]||n;}};dojo._Url.prototype.toString=function(){return this.uri;};dojo.moduleUrl=function(_44,url){var loc=d._getModuleSymbols(_44).join("/");if(!loc){return null;}if(loc.lastIndexOf("/")!=loc.length-1){loc+="/";}var _45=loc.indexOf(":");if(loc.charAt(0)!="/"&&(_45==-1||_45>loc.indexOf("/"))){loc=d.baseUrl+loc;}return new d._Url(loc,url);};})();if(typeof window!="undefined"){dojo.isBrowser=true;dojo._name="browser";(function(){var d=dojo;if(document&&document.getElementsByTagName){var _46=document.getElementsByTagName("script");var _47=/dojo(\.xd)?\.js(\W|$)/i;for(var i=0;i<_46.length;i++){var src=_46[i].getAttribute("src");if(!src){continue;}var m=src.match(_47);if(m){if(!d.config.baseUrl){d.config.baseUrl=src.substring(0,m.index);}var cfg=_46[i].getAttribute("djConfig");if(cfg){var _48=eval("({ "+cfg+" })");for(var x in _48){dojo.config[x]=_48[x];}}break;}}}d.baseUrl=d.config.baseUrl;var n=navigator;var dua=n.userAgent,dav=n.appVersion,tv=parseFloat(dav);if(dua.indexOf("Opera")>=0){d.isOpera=tv;}if(dua.indexOf("AdobeAIR")>=0){d.isAIR=1;}d.isKhtml=(dav.indexOf("Konqueror")>=0)?tv:0;d.isWebKit=parseFloat(dua.split("WebKit/")[1])||undefined;d.isChrome=parseFloat(dua.split("Chrome/")[1])||undefined;d.isMac=dav.indexOf("Macintosh")>=0;var _49=Math.max(dav.indexOf("WebKit"),dav.indexOf("Safari"),0);if(_49&&!dojo.isChrome){d.isSafari=parseFloat(dav.split("Version/")[1]);if(!d.isSafari||parseFloat(dav.substr(_49+7))<=419.3){d.isSafari=2;}}if(dua.indexOf("Gecko")>=0&&!d.isKhtml&&!d.isWebKit){d.isMozilla=d.isMoz=tv;}if(d.isMoz){d.isFF=parseFloat(dua.split("Firefox/")[1]||dua.split("Minefield/")[1])||undefined;}if(document.all&&!d.isOpera){d.isIE=parseFloat(dav.split("MSIE ")[1])||undefined;var _4a=document.documentMode;if(_4a&&_4a!=5&&Math.floor(d.isIE)!=_4a){d.isIE=_4a;}}if(dojo.isIE&&window.location.protocol==="file:"){dojo.config.ieForceActiveXXhr=true;}d.isQuirks=document.compatMode=="BackCompat";d.locale=dojo.config.locale||(d.isIE?n.userLanguage:n.language).toLowerCase();d._XMLHTTP_PROGIDS=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"];d._xhrObj=function(){var _4b,_4c;if(!dojo.isIE||!dojo.config.ieForceActiveXXhr){try{_4b=new XMLHttpRequest();}catch(e){}}if(!_4b){for(var i=0;i<3;++i){var _4d=d._XMLHTTP_PROGIDS[i];try{_4b=new ActiveXObject(_4d);}catch(e){_4c=e;}if(_4b){d._XMLHTTP_PROGIDS=[_4d];break;}}}if(!_4b){throw new Error("XMLHTTP not available: "+_4c);}return _4b;};d._isDocumentOk=function(_4e){var _4f=_4e.status||0,lp=location.protocol;return (_4f>=200&&_4f<300)||_4f==304||_4f==1223||(!_4f&&(lp=="file:"||lp=="chrome:"||lp=="app:"));};var _50=window.location+"";var _51=document.getElementsByTagName("base");var _52=(_51&&_51.length>0);d._getText=function(uri,_53){var _54=d._xhrObj();if(!_52&&dojo._Url){uri=(new dojo._Url(_50,uri)).toString();}if(d.config.cacheBust){uri+="";uri+=(uri.indexOf("?")==-1?"?":"&")+String(d.config.cacheBust).replace(/\W+/g,"");}_54.open("GET",uri,false);try{_54.send(null);if(!d._isDocumentOk(_54)){var err=Error("Unable to load "+uri+" status:"+_54.status);err.status=_54.status;err.responseText=_54.responseText;throw err;}}catch(e){if(_53){return null;}throw e;}return _54.responseText;};var _55=window;var _56=function(_57,fp){var _58=_55.attachEvent||_55.addEventListener;_57=_55.attachEvent?_57:_57.substring(2);_58(_57,function(){fp.apply(_55,arguments);},false);};d._windowUnloaders=[];d.windowUnloaded=function(){var mll=d._windowUnloaders;while(mll.length){(mll.pop())();}};var _59=0;d.addOnWindowUnload=function(obj,_5a){d._onto(d._windowUnloaders,obj,_5a);if(!_59){_59=1;_56("onunload",d.windowUnloaded);}};var _5b=0;d.addOnUnload=function(obj,_5c){d._onto(d._unloaders,obj,_5c);if(!_5b){_5b=1;_56("onbeforeunload",dojo.unloaded);}};})();dojo._initFired=false;dojo._loadInit=function(e){if(!dojo._initFired){dojo._initFired=true;if(!dojo.config.afterOnLoad&&window.detachEvent){window.detachEvent("onload",dojo._loadInit);}if(dojo._inFlightCount==0){dojo._modulesLoaded();}}};if(!dojo.config.afterOnLoad){if(document.addEventListener){document.addEventListener("DOMContentLoaded",dojo._loadInit,false);window.addEventListener("load",dojo._loadInit,false);}else{if(window.attachEvent){window.attachEvent("onload",dojo._loadInit);}}}if(dojo.isIE){if(!dojo.config.afterOnLoad&&!dojo.config.skipIeDomLoaded){document.write("<scr"+"ipt defer src=\"//:\" "+"onreadystatechange=\"if(this.readyState=='complete'){"+dojo._scopeName+"._loadInit();}\">"+"</scr"+"ipt>");}try{document.namespaces.add("v","urn:schemas-microsoft-com:vml");var _5d=["*","group","roundrect","oval","shape","rect","imagedata"],i=0,l=1,s=document.createStyleSheet();if(dojo.isIE>=8){i=1;l=_5d.length;}for(;i<l;++i){s.addRule("v\\:"+_5d[i],"behavior:url(#default#VML); display:inline-block");}}catch(e){}}}(function(){var mp=dojo.config["modulePaths"];if(mp){for(var _5e in mp){dojo.registerModulePath(_5e,mp[_5e]);}}})();if(dojo.config.isDebug){dojo.require("dojo._firebug.firebug");}if(dojo.config.debugAtAllCosts){dojo.config.useXDomain=true;dojo.require("dojo._base._loader.loader_xd");dojo.require("dojo._base._loader.loader_debug");}if(!dojo._hasResource["dojo._base.lang"]){dojo._hasResource["dojo._base.lang"]=true;dojo.provide("dojo._base.lang");(function(){var d=dojo,_5f=Object.prototype.toString;dojo.isString=function(it){return (typeof it=="string"||it instanceof String);};dojo.isArray=function(it){return it&&(it instanceof Array||typeof it=="array");};dojo.isFunction=function(it){return _5f.call(it)==="[object Function]";};dojo.isObject=function(it){return it!==undefined&&(it===null||typeof it=="object"||d.isArray(it)||d.isFunction(it));};dojo.isArrayLike=function(it){return it&&it!==undefined&&!d.isString(it)&&!d.isFunction(it)&&!(it.tagName&&it.tagName.toLowerCase()=="form")&&(d.isArray(it)||isFinite(it.length));};dojo.isAlien=function(it){return it&&!d.isFunction(it)&&/\{\s*\[native code\]\s*\}/.test(String(it));};dojo.extend=function(_60,_61){for(var i=1,l=arguments.length;i<l;i++){d._mixin(_60.prototype,arguments[i]);}return _60;};dojo._hitchArgs=function(_62,_63){var pre=d._toArray(arguments,2);var _64=d.isString(_63);return function(){var _65=d._toArray(arguments);var f=_64?(_62||d.global)[_63]:_63;return f&&f.apply(_62||this,pre.concat(_65));};};dojo.hitch=function(_66,_67){if(arguments.length>2){return d._hitchArgs.apply(d,arguments);}if(!_67){_67=_66;_66=null;}if(d.isString(_67)){_66=_66||d.global;if(!_66[_67]){throw (["dojo.hitch: scope[\"",_67,"\"] is null (scope=\"",_66,"\")"].join(""));}return function(){return _66[_67].apply(_66,arguments||[]);};}return !_66?_67:function(){return _67.apply(_66,arguments||[]);};};dojo.delegate=dojo._delegate=(function(){function TMP(){};return function(obj,_68){TMP.prototype=obj;var tmp=new TMP();TMP.prototype=null;if(_68){d._mixin(tmp,_68);}return tmp;};})();var _69=function(obj,_6a,_6b){return (_6b||[]).concat(Array.prototype.slice.call(obj,_6a||0));};var _6c=function(obj,_6d,_6e){var arr=_6e||[];for(var x=_6d||0;x<obj.length;x++){arr.push(obj[x]);}return arr;};dojo._toArray=d.isIE?function(obj){return ((obj.item)?_6c:_69).apply(this,arguments);}:_69;dojo.partial=function(_6f){var arr=[null];return d.hitch.apply(d,arr.concat(d._toArray(arguments)));};var _70=d._extraNames,_71=_70.length,_72={};dojo.clone=function(o){if(!o||typeof o!="object"||d.isFunction(o)){return o;}if(o.nodeType&&"cloneNode" in o){return o.cloneNode(true);}if(o instanceof Date){return new Date(o.getTime());}var r,i,l,s,_73;if(d.isArray(o)){r=[];for(i=0,l=o.length;i<l;++i){if(i in o){r.push(d.clone(o[i]));}}}else{r=o.constructor?new o.constructor():{};}for(_73 in o){s=o[_73];if(!(_73 in r)||(r[_73]!==s&&(!(_73 in _72)||_72[_73]!==s))){r[_73]=d.clone(s);}}if(_71){for(i=0;i<_71;++i){_73=_70[i];s=o[_73];if(!(_73 in r)||(r[_73]!==s&&(!(_73 in _72)||_72[_73]!==s))){r[_73]=s;}}}return r;};dojo.trim=String.prototype.trim?function(str){return str.trim();}:function(str){return str.replace(/^\s\s*/,"").replace(/\s\s*$/,"");};var _74=/\{([^\}]+)\}/g;dojo.replace=function(_75,map,_76){return _75.replace(_76||_74,d.isFunction(map)?map:function(_77,k){return d.getObject(k,false,map);});};})();}if(!dojo._hasResource["dojo._base.array"]){dojo._hasResource["dojo._base.array"]=true;dojo.provide("dojo._base.array");(function(){var _78=function(arr,obj,cb){return [(typeof arr=="string")?arr.split(""):arr,obj||dojo.global,(typeof cb=="string")?new Function("item","index","array",cb):cb];};var _79=function(_7a,arr,_7b,_7c){var _7d=_78(arr,_7c,_7b);arr=_7d[0];for(var i=0,l=arr.length;i<l;++i){var _7e=!!_7d[2].call(_7d[1],arr[i],i,arr);if(_7a^_7e){return _7e;}}return _7a;};dojo.mixin(dojo,{indexOf:function(_7f,_80,_81,_82){var _83=1,end=_7f.length||0,i=0;if(_82){i=end-1;_83=end=-1;}if(_81!=undefined){i=_81;}if((_82&&i>end)||i<end){for(;i!=end;i+=_83){if(_7f[i]==_80){return i;}}}return -1;},lastIndexOf:function(_84,_85,_86){return dojo.indexOf(_84,_85,_86,true);},forEach:function(arr,_87,_88){if(!arr||!arr.length){return;}var _89=_78(arr,_88,_87);arr=_89[0];for(var i=0,l=arr.length;i<l;++i){_89[2].call(_89[1],arr[i],i,arr);}},every:function(arr,_8a,_8b){return _79(true,arr,_8a,_8b);},some:function(arr,_8c,_8d){return _79(false,arr,_8c,_8d);},map:function(arr,_8e,_8f){var _90=_78(arr,_8f,_8e);arr=_90[0];var _91=(arguments[3]?(new arguments[3]()):[]);for(var i=0,l=arr.length;i<l;++i){_91.push(_90[2].call(_90[1],arr[i],i,arr));}return _91;},filter:function(arr,_92,_93){var _94=_78(arr,_93,_92);arr=_94[0];var _95=[];for(var i=0,l=arr.length;i<l;++i){if(_94[2].call(_94[1],arr[i],i,arr)){_95.push(arr[i]);}}return _95;}});})();}if(!dojo._hasResource["dojo._base.declare"]){dojo._hasResource["dojo._base.declare"]=true;dojo.provide("dojo._base.declare");(function(){var d=dojo,mix=d._mixin,op=Object.prototype,_96=op.toString,_97=new Function,_98=0,_99="constructor";function err(msg){throw new Error("declare: "+msg);};function _9a(_9b){var _9c=[],_9d=[{cls:0,refs:[]}],_9e={},_9f=1,l=_9b.length,i=0,j,lin,_a0,top,_a1,rec,_a2,_a3;for(;i<l;++i){_a0=_9b[i];if(!_a0){err("mixin #"+i+" is null");}lin=_a0._meta?_a0._meta.bases:[_a0];top=0;for(j=lin.length-1;j>=0;--j){_a1=lin[j].prototype;if(!_a1.hasOwnProperty("declaredClass")){_a1.declaredClass="uniqName_"+(_98++);}_a2=_a1.declaredClass;if(!_9e.hasOwnProperty(_a2)){_9e[_a2]={count:0,refs:[],cls:lin[j]};++_9f;}rec=_9e[_a2];if(top&&top!==rec){rec.refs.push(top);++top.count;}top=rec;}++top.count;_9d[0].refs.push(top);}while(_9d.length){top=_9d.pop();_9c.push(top.cls);--_9f;while(_a3=top.refs,_a3.length==1){top=_a3[0];if(!top||--top.count){top=0;break;}_9c.push(top.cls);--_9f;}if(top){for(i=0,l=_a3.length;i<l;++i){top=_a3[i];if(!--top.count){_9d.push(top);}}}}if(_9f){err("can't build consistent linearization");}_a0=_9b[0];_9c[0]=_a0?_a0._meta&&_a0===_9c[_9c.length-_a0._meta.bases.length]?_a0._meta.bases.length:1:0;return _9c;};function _a4(_a5,a,f){var _a6,_a7,_a8,_a9,_aa,_ab,_ac,opf,pos,_ad=this._inherited=this._inherited||{};if(typeof _a5=="string"){_a6=_a5;_a5=a;a=f;}f=0;_a9=_a5.callee;_a6=_a6||_a9.nom;if(!_a6){err("can't deduce a name to call inherited()");}_aa=this.constructor._meta;_a8=_aa.bases;pos=_ad.p;if(_a6!=_99){if(_ad.c!==_a9){pos=0;_ab=_a8[0];_aa=_ab._meta;if(_aa.hidden[_a6]!==_a9){_a7=_aa.chains;if(_a7&&typeof _a7[_a6]=="string"){err("calling chained method with inherited: "+_a6);}do{_aa=_ab._meta;_ac=_ab.prototype;if(_aa&&(_ac[_a6]===_a9&&_ac.hasOwnProperty(_a6)||_aa.hidden[_a6]===_a9)){break;}}while(_ab=_a8[++pos]);pos=_ab?pos:-1;}}_ab=_a8[++pos];if(_ab){_ac=_ab.prototype;if(_ab._meta&&_ac.hasOwnProperty(_a6)){f=_ac[_a6];}else{opf=op[_a6];do{_ac=_ab.prototype;f=_ac[_a6];if(f&&(_ab._meta?_ac.hasOwnProperty(_a6):f!==opf)){break;}}while(_ab=_a8[++pos]);}}f=_ab&&f||op[_a6];}else{if(_ad.c!==_a9){pos=0;_aa=_a8[0]._meta;if(_aa&&_aa.ctor!==_a9){_a7=_aa.chains;if(!_a7||_a7.constructor!=="manual"){err("calling chained constructor with inherited");}while(_ab=_a8[++pos]){_aa=_ab._meta;if(_aa&&_aa.ctor===_a9){break;}}pos=_ab?pos:-1;}}while(_ab=_a8[++pos]){_aa=_ab._meta;f=_aa?_aa.ctor:_ab;if(f){break;}}f=_ab&&f;}_ad.c=f;_ad.p=pos;if(f){return a===true?f:f.apply(this,a||_a5);}};function _ae(_af,_b0){if(typeof _af=="string"){return this.inherited(_af,_b0,true);}return this.inherited(_af,true);};function _b1(cls){var _b2=this.constructor._meta.bases;for(var i=0,l=_b2.length;i<l;++i){if(_b2[i]===cls){return true;}}return this instanceof cls;};function _b3(_b4,_b5){var _b6,t,i=0,l=d._extraNames.length;for(_b6 in _b5){t=_b5[_b6];if((t!==op[_b6]||!(_b6 in op))&&_b6!=_99){if(_96.call(t)=="[object Function]"){t.nom=_b6;}_b4[_b6]=t;}}for(;i<l;++i){_b6=d._extraNames[i];t=_b5[_b6];if((t!==op[_b6]||!(_b6 in op))&&_b6!=_99){if(_96.call(t)=="[object Function]"){t.nom=_b6;}_b4[_b6]=t;}}return _b4;};function _b7(_b8){_b3(this.prototype,_b8);return this;};function _b9(_ba,_bb){return function(){var a=arguments,_bc=a,a0=a[0],f,i,m,l=_ba.length,_bd;if(_bb&&(a0&&a0.preamble||this.preamble)){_bd=new Array(_ba.length);_bd[0]=a;for(i=0;;){a0=a[0];if(a0){f=a0.preamble;if(f){a=f.apply(this,a)||a;}}f=_ba[i].prototype;f=f.hasOwnProperty("preamble")&&f.preamble;if(f){a=f.apply(this,a)||a;}if(++i==l){break;}_bd[i]=a;}}for(i=l-1;i>=0;--i){f=_ba[i];m=f._meta;f=m?m.ctor:f;if(f){f.apply(this,_bd?_bd[i]:a);}}f=this.postscript;if(f){f.apply(this,_bc);}};};function _be(_bf,_c0){return function(){var a=arguments,t=a,a0=a[0],f;if(_c0){if(a0){f=a0.preamble;if(f){t=f.apply(this,t)||t;}}f=this.preamble;if(f){f.apply(this,t);}}if(_bf){_bf.apply(this,a);}f=this.postscript;if(f){f.apply(this,a);}};};function _c1(_c2){return function(){var a=arguments,i=0,f;for(;f=_c2[i];++i){m=f._meta;f=m?m.ctor:f;if(f){f.apply(this,a);break;}}f=this.postscript;if(f){f.apply(this,a);}};};function _c3(_c4,_c5,_c6){return function(){var b,m,f,i=0,_c7=1;if(_c6){i=_c5.length-1;_c7=-1;}for(;b=_c5[i];i+=_c7){m=b._meta;f=(m?m.hidden:b.prototype)[_c4];if(f){f.apply(this,arguments);}}};};d.declare=function(_c8,_c9,_ca){var _cb,i,t,_cc,_cd,_ce,_cf,_d0=1,_d1=_c9;if(typeof _c8!="string"){_ca=_c9;_c9=_c8;_c8="";}_ca=_ca||{};if(_96.call(_c9)=="[object Array]"){_ce=_9a(_c9);t=_ce[0];_d0=_ce.length-t;_c9=_ce[_d0];}else{_ce=[0];if(_c9){t=_c9._meta;_ce=_ce.concat(t?t.bases:_c9);}}if(_c9){for(i=_d0-1;;--i){_97.prototype=_c9.prototype;_cb=new _97;if(!i){break;}t=_ce[i];mix(_cb,t._meta?t._meta.hidden:t.prototype);_cc=new Function;_cc.superclass=_c9;_cc.prototype=_cb;_c9=_cb.constructor=_cc;}}else{_cb={};}_b3(_cb,_ca);t=_ca.constructor;if(t!==op.constructor){t.nom=_99;_cb.constructor=t;}_97.prototype=0;for(i=_d0-1;i;--i){t=_ce[i]._meta;if(t&&t.chains){_cf=mix(_cf||{},t.chains);}}if(_cb["-chains-"]){_cf=mix(_cf||{},_cb["-chains-"]);}t=!_cf||!_cf.hasOwnProperty(_99);_ce[0]=_cc=(_cf&&_cf.constructor==="manual")?_c1(_ce):(_ce.length==1?_be(_ca.constructor,t):_b9(_ce,t));_cc._meta={bases:_ce,hidden:_ca,chains:_cf,parents:_d1,ctor:_ca.constructor};_cc.superclass=_c9&&_c9.prototype;_cc.extend=_b7;_cc.prototype=_cb;_cb.constructor=_cc;_cb.getInherited=_ae;_cb.inherited=_a4;_cb.isInstanceOf=_b1;if(_c8){_cb.declaredClass=_c8;d.setObject(_c8,_cc);}if(_cf){for(_cd in _cf){if(_cb[_cd]&&typeof _cf[_cd]=="string"&&_cd!=_99){t=_cb[_cd]=_c3(_cd,_ce,_cf[_cd]==="after");t.nom=_cd;}}}return _cc;};d.safeMixin=_b3;})();}if(!dojo._hasResource["dojo._base.connect"]){dojo._hasResource["dojo._base.connect"]=true;dojo.provide("dojo._base.connect");dojo._listener={getDispatcher:function(){return function(){var ap=Array.prototype,c=arguments.callee,ls=c._listeners,t=c.target;var r=t&&t.apply(this,arguments);var lls;lls=[].concat(ls);for(var i in lls){if(!(i in ap)){lls[i].apply(this,arguments);}}return r;};},add:function(_d2,_d3,_d4){_d2=_d2||dojo.global;var f=_d2[_d3];if(!f||!f._listeners){var d=dojo._listener.getDispatcher();d.target=f;d._listeners=[];f=_d2[_d3]=d;}return f._listeners.push(_d4);},remove:function(_d5,_d6,_d7){var f=(_d5||dojo.global)[_d6];if(f&&f._listeners&&_d7--){delete f._listeners[_d7];}}};dojo.connect=function(obj,_d8,_d9,_da,_db){var a=arguments,_dc=[],i=0;_dc.push(dojo.isString(a[0])?null:a[i++],a[i++]);var a1=a[i+1];_dc.push(dojo.isString(a1)||dojo.isFunction(a1)?a[i++]:null,a[i++]);for(var l=a.length;i<l;i++){_dc.push(a[i]);}return dojo._connect.apply(this,_dc);};dojo._connect=function(obj,_dd,_de,_df){var l=dojo._listener,h=l.add(obj,_dd,dojo.hitch(_de,_df));return [obj,_dd,h,l];};dojo.disconnect=function(_e0){if(_e0&&_e0[0]!==undefined){dojo._disconnect.apply(this,_e0);delete _e0[0];}};dojo._disconnect=function(obj,_e1,_e2,_e3){_e3.remove(obj,_e1,_e2);};dojo._topics={};dojo.subscribe=function(_e4,_e5,_e6){return [_e4,dojo._listener.add(dojo._topics,_e4,dojo.hitch(_e5,_e6))];};dojo.unsubscribe=function(_e7){if(_e7){dojo._listener.remove(dojo._topics,_e7[0],_e7[1]);}};dojo.publish=function(_e8,_e9){var f=dojo._topics[_e8];if(f){f.apply(this,_e9||[]);}};dojo.connectPublisher=function(_ea,obj,_eb){var pf=function(){dojo.publish(_ea,arguments);};return (_eb)?dojo.connect(obj,_eb,pf):dojo.connect(obj,pf);};}if(!dojo._hasResource["dojo._base.Deferred"]){dojo._hasResource["dojo._base.Deferred"]=true;dojo.provide("dojo._base.Deferred");dojo.Deferred=function(_ec){this.chain=[];this.id=this._nextId();this.fired=-1;this.paused=0;this.results=[null,null];this.canceller=_ec;this.silentlyCancelled=false;this.isFiring=false;};dojo.extend(dojo.Deferred,{_nextId:(function(){var n=1;return function(){return n++;};})(),cancel:function(){var err;if(this.fired==-1){if(this.canceller){err=this.canceller(this);}else{this.silentlyCancelled=true;}if(this.fired==-1){if(!(err instanceof Error)){var res=err;var msg="Deferred Cancelled";if(err&&err.toString){msg+=": "+err.toString();}err=new Error(msg);err.dojoType="cancel";err.cancelResult=res;}this.errback(err);}}else{if((this.fired==0)&&(this.results[0] instanceof dojo.Deferred)){this.results[0].cancel();}}},_resback:function(res){this.fired=((res instanceof Error)?1:0);this.results[this.fired]=res;this._fire();},_check:function(){if(this.fired!=-1){if(!this.silentlyCancelled){throw new Error("already called!");}this.silentlyCancelled=false;return;}},callback:function(res){this._check();this._resback(res);},errback:function(res){this._check();if(!(res instanceof Error)){res=new Error(res);}this._resback(res);},addBoth:function(cb,_ed){var _ee=dojo.hitch.apply(dojo,arguments);return this.addCallbacks(_ee,_ee);},addCallback:function(cb,_ef){return this.addCallbacks(dojo.hitch.apply(dojo,arguments));},addErrback:function(cb,_f0){return this.addCallbacks(null,dojo.hitch.apply(dojo,arguments));},addCallbacks:function(cb,eb){this.chain.push([cb,eb]);if(this.fired>=0&&!this.isFiring){this._fire();}return this;},_fire:function(){this.isFiring=true;var _f1=this.chain;var _f2=this.fired;var res=this.results[_f2];var _f3=this;var cb=null;while((_f1.length>0)&&(this.paused==0)){var f=_f1.shift()[_f2];if(!f){continue;}var _f4=function(){var ret=f(res);if(typeof ret!="undefined"){res=ret;}_f2=((res instanceof Error)?1:0);if(res instanceof dojo.Deferred){cb=function(res){_f3._resback(res);_f3.paused--;if((_f3.paused==0)&&(_f3.fired>=0)){_f3._fire();}};this.paused++;}};if(dojo.config.debugAtAllCosts){_f4.call(this);}else{try{_f4.call(this);}catch(err){_f2=1;res=err;}}}this.fired=_f2;this.results[_f2]=res;this.isFiring=false;if((cb)&&(this.paused)){res.addBoth(cb);}}});}if(!dojo._hasResource["dojo._base.json"]){dojo._hasResource["dojo._base.json"]=true;dojo.provide("dojo._base.json");dojo.fromJson=function(_f5){return eval("("+_f5+")");};dojo._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.toJsonIndentStr="\t";dojo.toJson=function(it,_f6,_f7){if(it===undefined){return "undefined";}var _f8=typeof it;if(_f8=="number"||_f8=="boolean"){return it+"";}if(it===null){return "null";}if(dojo.isString(it)){return dojo._escapeString(it);}var _f9=arguments.callee;var _fa;_f7=_f7||"";var _fb=_f6?_f7+dojo.toJsonIndentStr:"";var tf=it.__json__||it.json;if(dojo.isFunction(tf)){_fa=tf.call(it);if(it!==_fa){return _f9(_fa,_f6,_fb);}}if(it.nodeType&&it.cloneNode){throw new Error("Can't serialize DOM nodes");}var sep=_f6?" ":"";var _fc=_f6?"\n":"";if(dojo.isArray(it)){var res=dojo.map(it,function(obj){var val=_f9(obj,_f6,_fb);if(typeof val!="string"){val="undefined";}return _fc+_fb+val;});return "["+res.join(","+sep)+_fc+_f7+"]";}if(_f8=="function"){return null;}var _fd=[],key;for(key in it){var _fe,val;if(typeof key=="number"){_fe="\""+key+"\"";}else{if(typeof key=="string"){_fe=dojo._escapeString(key);}else{continue;}}val=_f9(it[key],_f6,_fb);if(typeof val!="string"){continue;}_fd.push(_fc+_fb+_fe+":"+sep+val);}return "{"+_fd.join(","+sep)+_fc+_f7+"}";};}if(!dojo._hasResource["dojo._base.Color"]){dojo._hasResource["dojo._base.Color"]=true;dojo.provide("dojo._base.Color");(function(){var d=dojo;dojo.Color=function(_ff){if(_ff){this.setColor(_ff);}};dojo.Color.named={black:[0,0,0],silver:[192,192,192],gray:[128,128,128],white:[255,255,255],maroon:[128,0,0],red:[255,0,0],purple:[128,0,128],fuchsia:[255,0,255],green:[0,128,0],lime:[0,255,0],olive:[128,128,0],yellow:[255,255,0],navy:[0,0,128],blue:[0,0,255],teal:[0,128,128],aqua:[0,255,255],transparent:d.config.transparentColor||[255,255,255]};dojo.extend(dojo.Color,{r:255,g:255,b:255,a:1,_set:function(r,g,b,a){var t=this;t.r=r;t.g=g;t.b=b;t.a=a;},setColor:function(_100){if(d.isString(_100)){d.colorFromString(_100,this);}else{if(d.isArray(_100)){d.colorFromArray(_100,this);}else{this._set(_100.r,_100.g,_100.b,_100.a);if(!(_100 instanceof d.Color)){this.sanitize();}}}return this;},sanitize:function(){return this;},toRgb:function(){var t=this;return [t.r,t.g,t.b];},toRgba:function(){var t=this;return [t.r,t.g,t.b,t.a];},toHex:function(){var arr=d.map(["r","g","b"],function(x){var s=this[x].toString(16);return s.length<2?"0"+s:s;},this);return "#"+arr.join("");},toCss:function(_101){var t=this,rgb=t.r+", "+t.g+", "+t.b;return (_101?"rgba("+rgb+", "+t.a:"rgb("+rgb)+")";},toString:function(){return this.toCss(true);}});dojo.blendColors=function(_102,end,_103,obj){var t=obj||new d.Color();d.forEach(["r","g","b","a"],function(x){t[x]=_102[x]+(end[x]-_102[x])*_103;if(x!="a"){t[x]=Math.round(t[x]);}});return t.sanitize();};dojo.colorFromRgb=function(_104,obj){var m=_104.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return m&&dojo.colorFromArray(m[1].split(/\s*,\s*/),obj);};dojo.colorFromHex=function(_105,obj){var t=obj||new d.Color(),bits=(_105.length==4)?4:8,mask=(1<<bits)-1;_105=Number("0x"+_105.substr(1));if(isNaN(_105)){return null;}d.forEach(["b","g","r"],function(x){var c=_105&mask;_105>>=bits;t[x]=bits==4?17*c:c;});t.a=1;return t;};dojo.colorFromArray=function(a,obj){var t=obj||new d.Color();t._set(Number(a[0]),Number(a[1]),Number(a[2]),Number(a[3]));if(isNaN(t.a)){t.a=1;}return t.sanitize();};dojo.colorFromString=function(str,obj){var a=d.Color.named[str];return a&&d.colorFromArray(a,obj)||d.colorFromRgb(str,obj)||d.colorFromHex(str,obj);};})();}if(!dojo._hasResource["dojo._base"]){dojo._hasResource["dojo._base"]=true;dojo.provide("dojo._base");}if(!dojo._hasResource["dojo._base.window"]){dojo._hasResource["dojo._base.window"]=true;dojo.provide("dojo._base.window");dojo.doc=window["document"]||null;dojo.body=function(){return dojo.doc.body||dojo.doc.getElementsByTagName("body")[0];};dojo.setContext=function(_106,_107){dojo.global=_106;dojo.doc=_107;};dojo.withGlobal=function(_108,_109,_10a,_10b){var _10c=dojo.global;try{dojo.global=_108;return dojo.withDoc.call(null,_108.document,_109,_10a,_10b);}finally{dojo.global=_10c;}};dojo.withDoc=function(_10d,_10e,_10f,_110){var _111=dojo.doc,_112=dojo._bodyLtr,oldQ=dojo.isQuirks;try{dojo.doc=_10d;delete dojo._bodyLtr;dojo.isQuirks=dojo.doc.compatMode=="BackCompat";if(_10f&&typeof _10e=="string"){_10e=_10f[_10e];}return _10e.apply(_10f,_110||[]);}finally{dojo.doc=_111;delete dojo._bodyLtr;if(_112!==undefined){dojo._bodyLtr=_112;}dojo.isQuirks=oldQ;}};}if(!dojo._hasResource["dojo._base.event"]){dojo._hasResource["dojo._base.event"]=true;dojo.provide("dojo._base.event");(function(){var del=(dojo._event_listener={add:function(node,name,fp){if(!node){return;}name=del._normalizeEventName(name);fp=del._fixCallback(name,fp);var _113=name;if(!dojo.isIE&&(name=="mouseenter"||name=="mouseleave")){var ofp=fp;name=(name=="mouseenter")?"mouseover":"mouseout";fp=function(e){if(!dojo.isDescendant(e.relatedTarget,node)){return ofp.call(this,e);}};}node.addEventListener(name,fp,false);return fp;},remove:function(node,_114,_115){if(node){_114=del._normalizeEventName(_114);if(!dojo.isIE&&(_114=="mouseenter"||_114=="mouseleave")){_114=(_114=="mouseenter")?"mouseover":"mouseout";}node.removeEventListener(_114,_115,false);}},_normalizeEventName:function(name){return name.slice(0,2)=="on"?name.slice(2):name;},_fixCallback:function(name,fp){return name!="keypress"?fp:function(e){return fp.call(this,del._fixEvent(e,this));};},_fixEvent:function(evt,_116){switch(evt.type){case "keypress":del._setKeyChar(evt);break;}return evt;},_setKeyChar:function(evt){evt.keyChar=evt.charCode?String.fromCharCode(evt.charCode):"";evt.charOrCode=evt.keyChar||evt.keyCode;},_punctMap:{106:42,111:47,186:59,187:43,188:44,189:45,190:46,191:47,192:96,219:91,220:92,221:93,222:39}});dojo.fixEvent=function(evt,_117){return del._fixEvent(evt,_117);};dojo.stopEvent=function(evt){evt.preventDefault();evt.stopPropagation();};var _118=dojo._listener;dojo._connect=function(obj,_119,_11a,_11b,_11c){var _11d=obj&&(obj.nodeType||obj.attachEvent||obj.addEventListener);var lid=_11d?(_11c?2:1):0,l=[dojo._listener,del,_118][lid];var h=l.add(obj,_119,dojo.hitch(_11a,_11b));return [obj,_119,h,lid];};dojo._disconnect=function(obj,_11e,_11f,_120){([dojo._listener,del,_118][_120]).remove(obj,_11e,_11f);};dojo.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:dojo.isSafari?91:224,PAUSE:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,INSERT:45,DELETE:46,HELP:47,LEFT_WINDOW:91,RIGHT_WINDOW:92,SELECT:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_MULTIPLY:106,NUMPAD_PLUS:107,NUMPAD_ENTER:108,NUMPAD_MINUS:109,NUMPAD_PERIOD:110,NUMPAD_DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,NUM_LOCK:144,SCROLL_LOCK:145,copyKey:dojo.isMac&&!dojo.isAIR?(dojo.isSafari?91:224):17};var _121=dojo.isMac?"metaKey":"ctrlKey";dojo.isCopyKey=function(e){return e[_121];};if(dojo.isIE){dojo.mouseButtons={LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(e,_122){return e.button&_122;},isLeft:function(e){return e.button&1;},isMiddle:function(e){return e.button&4;},isRight:function(e){return e.button&2;}};}else{dojo.mouseButtons={LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(e,_123){return e.button==_123;},isLeft:function(e){return e.button==0;},isMiddle:function(e){return e.button==1;},isRight:function(e){return e.button==2;}};}if(dojo.isIE){var _124=function(e,code){try{return (e.keyCode=code);}catch(e){return 0;}};var iel=dojo._listener;var _125=(dojo._ieListenersName="_"+dojo._scopeName+"_listeners");if(!dojo.config._allow_leaks){_118=iel=dojo._ie_listener={handlers:[],add:function(_126,_127,_128){_126=_126||dojo.global;var f=_126[_127];if(!f||!f[_125]){var d=dojo._getIeDispatcher();d.target=f&&(ieh.push(f)-1);d[_125]=[];f=_126[_127]=d;}return f[_125].push(ieh.push(_128)-1);},remove:function(_129,_12a,_12b){var f=(_129||dojo.global)[_12a],l=f&&f[_125];if(f&&l&&_12b--){delete ieh[l[_12b]];delete l[_12b];}}};var ieh=iel.handlers;}dojo.mixin(del,{add:function(node,_12c,fp){if(!node){return;}_12c=del._normalizeEventName(_12c);if(_12c=="onkeypress"){var kd=node.onkeydown;if(!kd||!kd[_125]||!kd._stealthKeydownHandle){var h=del.add(node,"onkeydown",del._stealthKeyDown);kd=node.onkeydown;kd._stealthKeydownHandle=h;kd._stealthKeydownRefs=1;}else{kd._stealthKeydownRefs++;}}return iel.add(node,_12c,del._fixCallback(fp));},remove:function(node,_12d,_12e){_12d=del._normalizeEventName(_12d);iel.remove(node,_12d,_12e);if(_12d=="onkeypress"){var kd=node.onkeydown;if(--kd._stealthKeydownRefs<=0){iel.remove(node,"onkeydown",kd._stealthKeydownHandle);delete kd._stealthKeydownHandle;}}},_normalizeEventName:function(_12f){return _12f.slice(0,2)!="on"?"on"+_12f:_12f;},_nop:function(){},_fixEvent:function(evt,_130){if(!evt){var w=_130&&(_130.ownerDocument||_130.document||_130).parentWindow||window;evt=w.event;}if(!evt){return (evt);}evt.target=evt.srcElement;evt.currentTarget=(_130||evt.srcElement);evt.layerX=evt.offsetX;evt.layerY=evt.offsetY;var se=evt.srcElement,doc=(se&&se.ownerDocument)||document;var _131=((dojo.isIE<6)||(doc["compatMode"]=="BackCompat"))?doc.body:doc.documentElement;var _132=dojo._getIeDocumentElementOffset();evt.pageX=evt.clientX+dojo._fixIeBiDiScrollLeft(_131.scrollLeft||0)-_132.x;evt.pageY=evt.clientY+(_131.scrollTop||0)-_132.y;if(evt.type=="mouseover"){evt.relatedTarget=evt.fromElement;}if(evt.type=="mouseout"){evt.relatedTarget=evt.toElement;}evt.stopPropagation=del._stopPropagation;evt.preventDefault=del._preventDefault;return del._fixKeys(evt);},_fixKeys:function(evt){switch(evt.type){case "keypress":var c=("charCode" in evt?evt.charCode:evt.keyCode);if(c==10){c=0;evt.keyCode=13;}else{if(c==13||c==27){c=0;}else{if(c==3){c=99;}}}evt.charCode=c;del._setKeyChar(evt);break;}return evt;},_stealthKeyDown:function(evt){var kp=evt.currentTarget.onkeypress;if(!kp||!kp[_125]){return;}var k=evt.keyCode;var _133=k!=13&&k!=32&&k!=27&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222);if(_133||evt.ctrlKey){var c=_133?0:k;if(evt.ctrlKey){if(k==3||k==13){return;}else{if(c>95&&c<106){c-=48;}else{if((!evt.shiftKey)&&(c>=65&&c<=90)){c+=32;}else{c=del._punctMap[c]||c;}}}}var faux=del._synthesizeEvent(evt,{type:"keypress",faux:true,charCode:c});kp.call(evt.currentTarget,faux);evt.cancelBubble=faux.cancelBubble;evt.returnValue=faux.returnValue;_124(evt,faux.keyCode);}},_stopPropagation:function(){this.cancelBubble=true;},_preventDefault:function(){this.bubbledKeyCode=this.keyCode;if(this.ctrlKey){_124(this,0);}this.returnValue=false;}});dojo.stopEvent=function(evt){evt=evt||window.event;del._stopPropagation.call(evt);del._preventDefault.call(evt);};}del._synthesizeEvent=function(evt,_134){var faux=dojo.mixin({},evt,_134);del._setKeyChar(faux);faux.preventDefault=function(){evt.preventDefault();};faux.stopPropagation=function(){evt.stopPropagation();};return faux;};if(dojo.isOpera){dojo.mixin(del,{_fixEvent:function(evt,_135){switch(evt.type){case "keypress":var c=evt.which;if(c==3){c=99;}c=c<41&&!evt.shiftKey?0:c;if(evt.ctrlKey&&!evt.shiftKey&&c>=65&&c<=90){c+=32;}return del._synthesizeEvent(evt,{charCode:c});}return evt;}});}if(dojo.isWebKit){del._add=del.add;del._remove=del.remove;dojo.mixin(del,{add:function(node,_136,fp){if(!node){return;}var _137=del._add(node,_136,fp);if(del._normalizeEventName(_136)=="keypress"){_137._stealthKeyDownHandle=del._add(node,"keydown",function(evt){var k=evt.keyCode;var _138=k!=13&&k!=32&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222);if(_138||evt.ctrlKey){var c=_138?0:k;if(evt.ctrlKey){if(k==3||k==13){return;}else{if(c>95&&c<106){c-=48;}else{if(!evt.shiftKey&&c>=65&&c<=90){c+=32;}else{c=del._punctMap[c]||c;}}}}var faux=del._synthesizeEvent(evt,{type:"keypress",faux:true,charCode:c});fp.call(evt.currentTarget,faux);}});}return _137;},remove:function(node,_139,_13a){if(node){if(_13a._stealthKeyDownHandle){del._remove(node,"keydown",_13a._stealthKeyDownHandle);}del._remove(node,_139,_13a);}},_fixEvent:function(evt,_13b){switch(evt.type){case "keypress":if(evt.faux){return evt;}var c=evt.charCode;c=c>=32?c:0;return del._synthesizeEvent(evt,{charCode:c,faux:true});}return evt;}});}})();if(dojo.isIE){dojo._ieDispatcher=function(args,_13c){var ap=Array.prototype,h=dojo._ie_listener.handlers,c=args.callee,ls=c[dojo._ieListenersName],t=h[c.target];var r=t&&t.apply(_13c,args);var lls=[].concat(ls);for(var i in lls){var f=h[lls[i]];if(!(i in ap)&&f){f.apply(_13c,args);}}return r;};dojo._getIeDispatcher=function(){return new Function(dojo._scopeName+"._ieDispatcher(arguments, this)");};dojo._event_listener._fixCallback=function(fp){var f=dojo._event_listener._fixEvent;return function(e){return fp.call(this,f(e,this));};};}}if(!dojo._hasResource["dojo._base.html"]){dojo._hasResource["dojo._base.html"]=true;dojo.provide("dojo._base.html");try{document.execCommand("BackgroundImageCache",false,true);}catch(e){}if(dojo.isIE||dojo.isOpera){dojo.byId=function(id,doc){if(typeof id!="string"){return id;}var _13d=doc||dojo.doc,te=_13d.getElementById(id);if(te&&(te.attributes.id.value==id||te.id==id)){return te;}else{var eles=_13d.all[id];if(!eles||eles.nodeName){eles=[eles];}var i=0;while((te=eles[i++])){if((te.attributes&&te.attributes.id&&te.attributes.id.value==id)||te.id==id){return te;}}}};}else{dojo.byId=function(id,doc){return (typeof id=="string")?(doc||dojo.doc).getElementById(id):id;};}(function(){var d=dojo;var byId=d.byId;var _13e=null,_13f;d.addOnWindowUnload(function(){_13e=null;});dojo._destroyElement=dojo.destroy=function(node){node=byId(node);try{var doc=node.ownerDocument;if(!_13e||_13f!=doc){_13e=doc.createElement("div");_13f=doc;}_13e.appendChild(node.parentNode?node.parentNode.removeChild(node):node);_13e.innerHTML="";}catch(e){}};dojo.isDescendant=function(node,_140){try{node=byId(node);_140=byId(_140);while(node){if(node==_140){return true;}node=node.parentNode;}}catch(e){}return false;};dojo.setSelectable=function(node,_141){node=byId(node);if(d.isMozilla){node.style.MozUserSelect=_141?"":"none";}else{if(d.isKhtml||d.isWebKit){node.style.KhtmlUserSelect=_141?"auto":"none";}else{if(d.isIE){var v=(node.unselectable=_141?"":"on");d.query("*",node).forEach("item.unselectable = '"+v+"'");}}}};var _142=function(node,ref){var _143=ref.parentNode;if(_143){_143.insertBefore(node,ref);}};var _144=function(node,ref){var _145=ref.parentNode;if(_145){if(_145.lastChild==ref){_145.appendChild(node);}else{_145.insertBefore(node,ref.nextSibling);}}};dojo.place=function(node,_146,_147){_146=byId(_146);if(typeof node=="string"){node=node.charAt(0)=="<"?d._toDom(node,_146.ownerDocument):byId(node);}if(typeof _147=="number"){var cn=_146.childNodes;if(!cn.length||cn.length<=_147){_146.appendChild(node);}else{_142(node,cn[_147<0?0:_147]);}}else{switch(_147){case "before":_142(node,_146);break;case "after":_144(node,_146);break;case "replace":_146.parentNode.replaceChild(node,_146);break;case "only":d.empty(_146);_146.appendChild(node);break;case "first":if(_146.firstChild){_142(node,_146.firstChild);break;}default:_146.appendChild(node);}}return node;};dojo.boxModel="content-box";if(d.isIE){d.boxModel=document.compatMode=="BackCompat"?"border-box":"content-box";}var gcs;if(d.isWebKit){gcs=function(node){var s;if(node.nodeType==1){var dv=node.ownerDocument.defaultView;s=dv.getComputedStyle(node,null);if(!s&&node.style){node.style.display="";s=dv.getComputedStyle(node,null);}}return s||{};};}else{if(d.isIE){gcs=function(node){return node.nodeType==1?node.currentStyle:{};};}else{gcs=function(node){return node.nodeType==1?node.ownerDocument.defaultView.getComputedStyle(node,null):{};};}}dojo.getComputedStyle=gcs;if(!d.isIE){d._toPixelValue=function(_148,_149){return parseFloat(_149)||0;};}else{d._toPixelValue=function(_14a,_14b){if(!_14b){return 0;}if(_14b=="medium"){return 4;}if(_14b.slice&&_14b.slice(-2)=="px"){return parseFloat(_14b);}with(_14a){var _14c=style.left;var _14d=runtimeStyle.left;runtimeStyle.left=currentStyle.left;try{style.left=_14b;_14b=style.pixelLeft;}catch(e){_14b=0;}style.left=_14c;runtimeStyle.left=_14d;}return _14b;};}var px=d._toPixelValue;var astr="DXImageTransform.Microsoft.Alpha";var af=function(n,f){try{return n.filters.item(astr);}catch(e){return f?{}:null;}};dojo._getOpacity=d.isIE?function(node){try{return af(node).Opacity/100;}catch(e){return 1;}}:function(node){return gcs(node).opacity;};dojo._setOpacity=d.isIE?function(node,_14e){var ov=_14e*100;node.style.zoom=1;af(node,1).Enabled=!(_14e==1);if(!af(node)){node.style.filter+=" progid:"+astr+"(Opacity="+ov+")";}else{af(node,1).Opacity=ov;}if(node.nodeName.toLowerCase()=="tr"){d.query("> td",node).forEach(function(i){d._setOpacity(i,_14e);});}return _14e;}:function(node,_14f){return node.style.opacity=_14f;};var _150={left:true,top:true};var _151=/margin|padding|width|height|max|min|offset/;var _152=function(node,type,_153){type=type.toLowerCase();if(d.isIE){if(_153=="auto"){if(type=="height"){return node.offsetHeight;}if(type=="width"){return node.offsetWidth;}}if(type=="fontweight"){switch(_153){case 700:return "bold";case 400:default:return "normal";}}}if(!(type in _150)){_150[type]=_151.test(type);}return _150[type]?px(node,_153):_153;};var _154=d.isIE?"styleFloat":"cssFloat",_155={"cssFloat":_154,"styleFloat":_154,"float":_154};dojo.style=function(node,_156,_157){var n=byId(node),args=arguments.length,op=(_156=="opacity");_156=_155[_156]||_156;if(args==3){return op?d._setOpacity(n,_157):n.style[_156]=_157;}if(args==2&&op){return d._getOpacity(n);}var s=gcs(n);if(args==2&&typeof _156!="string"){for(var x in _156){d.style(node,x,_156[x]);}return s;}return (args==1)?s:_152(n,_156,s[_156]||n.style[_156]);};dojo._getPadExtents=function(n,_158){var s=_158||gcs(n),l=px(n,s.paddingLeft),t=px(n,s.paddingTop);return {l:l,t:t,w:l+px(n,s.paddingRight),h:t+px(n,s.paddingBottom)};};dojo._getBorderExtents=function(n,_159){var ne="none",s=_159||gcs(n),bl=(s.borderLeftStyle!=ne?px(n,s.borderLeftWidth):0),bt=(s.borderTopStyle!=ne?px(n,s.borderTopWidth):0);return {l:bl,t:bt,w:bl+(s.borderRightStyle!=ne?px(n,s.borderRightWidth):0),h:bt+(s.borderBottomStyle!=ne?px(n,s.borderBottomWidth):0)};};dojo._getPadBorderExtents=function(n,_15a){var s=_15a||gcs(n),p=d._getPadExtents(n,s),b=d._getBorderExtents(n,s);return {l:p.l+b.l,t:p.t+b.t,w:p.w+b.w,h:p.h+b.h};};dojo._getMarginExtents=function(n,_15b){var s=_15b||gcs(n),l=px(n,s.marginLeft),t=px(n,s.marginTop),r=px(n,s.marginRight),b=px(n,s.marginBottom);if(d.isWebKit&&(s.position!="absolute")){r=l;}return {l:l,t:t,w:l+r,h:t+b};};dojo._getMarginBox=function(node,_15c){var s=_15c||gcs(node),me=d._getMarginExtents(node,s);var l=node.offsetLeft-me.l,t=node.offsetTop-me.t,p=node.parentNode;if(d.isMoz){var sl=parseFloat(s.left),st=parseFloat(s.top);if(!isNaN(sl)&&!isNaN(st)){l=sl,t=st;}else{if(p&&p.style){var pcs=gcs(p);if(pcs.overflow!="visible"){var be=d._getBorderExtents(p,pcs);l+=be.l,t+=be.t;}}}}else{if(d.isOpera||(d.isIE>7&&!d.isQuirks)){if(p){be=d._getBorderExtents(p);l-=be.l;t-=be.t;}}}return {l:l,t:t,w:node.offsetWidth+me.w,h:node.offsetHeight+me.h};};dojo._getContentBox=function(node,_15d){var s=_15d||gcs(node),pe=d._getPadExtents(node,s),be=d._getBorderExtents(node,s),w=node.clientWidth,h;if(!w){w=node.offsetWidth,h=node.offsetHeight;}else{h=node.clientHeight,be.w=be.h=0;}if(d.isOpera){pe.l+=be.l;pe.t+=be.t;}return {l:pe.l,t:pe.t,w:w-pe.w-be.w,h:h-pe.h-be.h};};dojo._getBorderBox=function(node,_15e){var s=_15e||gcs(node),pe=d._getPadExtents(node,s),cb=d._getContentBox(node,s);return {l:cb.l-pe.l,t:cb.t-pe.t,w:cb.w+pe.w,h:cb.h+pe.h};};dojo._setBox=function(node,l,t,w,h,u){u=u||"px";var s=node.style;if(!isNaN(l)){s.left=l+u;}if(!isNaN(t)){s.top=t+u;}if(w>=0){s.width=w+u;}if(h>=0){s.height=h+u;}};dojo._isButtonTag=function(node){return node.tagName=="BUTTON"||node.tagName=="INPUT"&&(node.getAttribute("type")||"").toUpperCase()=="BUTTON";};dojo._usesBorderBox=function(node){var n=node.tagName;return d.boxModel=="border-box"||n=="TABLE"||d._isButtonTag(node);};dojo._setContentSize=function(node,_15f,_160,_161){if(d._usesBorderBox(node)){var pb=d._getPadBorderExtents(node,_161);if(_15f>=0){_15f+=pb.w;}if(_160>=0){_160+=pb.h;}}d._setBox(node,NaN,NaN,_15f,_160);};dojo._setMarginBox=function(node,_162,_163,_164,_165,_166){var s=_166||gcs(node),bb=d._usesBorderBox(node),pb=bb?_167:d._getPadBorderExtents(node,s);if(d.isWebKit){if(d._isButtonTag(node)){var ns=node.style;if(_164>=0&&!ns.width){ns.width="4px";}if(_165>=0&&!ns.height){ns.height="4px";}}}var mb=d._getMarginExtents(node,s);if(_164>=0){_164=Math.max(_164-pb.w-mb.w,0);}if(_165>=0){_165=Math.max(_165-pb.h-mb.h,0);}d._setBox(node,_162,_163,_164,_165);};var _167={l:0,t:0,w:0,h:0};dojo.marginBox=function(node,box){var n=byId(node),s=gcs(n),b=box;return !b?d._getMarginBox(n,s):d._setMarginBox(n,b.l,b.t,b.w,b.h,s);};dojo.contentBox=function(node,box){var n=byId(node),s=gcs(n),b=box;return !b?d._getContentBox(n,s):d._setContentSize(n,b.w,b.h,s);};var _168=function(node,prop){if(!(node=(node||0).parentNode)){return 0;}var val,_169=0,_16a=d.body();while(node&&node.style){if(gcs(node).position=="fixed"){return 0;}val=node[prop];if(val){_169+=val-0;if(node==_16a){break;}}node=node.parentNode;}return _169;};dojo._docScroll=function(){var n=d.global;return "pageXOffset" in n?{x:n.pageXOffset,y:n.pageYOffset}:(n=d.doc.documentElement,n.clientHeight?{x:d._fixIeBiDiScrollLeft(n.scrollLeft),y:n.scrollTop}:(n=d.body(),{x:n.scrollLeft||0,y:n.scrollTop||0}));};dojo._isBodyLtr=function(){return "_bodyLtr" in d?d._bodyLtr:d._bodyLtr=(d.body().dir||d.doc.documentElement.dir||"ltr").toLowerCase()=="ltr";};dojo._getIeDocumentElementOffset=function(){var de=d.doc.documentElement;if(d.isIE<8){var r=de.getBoundingClientRect();var l=r.left,t=r.top;if(d.isIE<7){l+=de.clientLeft;t+=de.clientTop;}return {x:l<0?0:l,y:t<0?0:t};}else{return {x:0,y:0};}};dojo._fixIeBiDiScrollLeft=function(_16b){var dd=d.doc;if(d.isIE<8&&!d._isBodyLtr()){var de=d.isQuirks?dd.body:dd.documentElement;return _16b+de.clientWidth-de.scrollWidth;}return _16b;};dojo._abs=dojo.position=function(node,_16c){var db=d.body(),dh=db.parentNode,ret;node=byId(node);if(node["getBoundingClientRect"]){ret=node.getBoundingClientRect();ret={x:ret.left,y:ret.top,w:ret.right-ret.left,h:ret.bottom-ret.top};if(d.isIE){var _16d=d._getIeDocumentElementOffset();ret.x-=_16d.x+(d.isQuirks?db.clientLeft+db.offsetLeft:0);ret.y-=_16d.y+(d.isQuirks?db.clientTop+db.offsetTop:0);}else{if(d.isFF==3){var cs=gcs(dh);ret.x-=px(dh,cs.marginLeft)+px(dh,cs.borderLeftWidth);ret.y-=px(dh,cs.marginTop)+px(dh,cs.borderTopWidth);}}}else{ret={x:0,y:0,w:node.offsetWidth,h:node.offsetHeight};if(node["offsetParent"]){ret.x-=_168(node,"scrollLeft");ret.y-=_168(node,"scrollTop");var _16e=node;do{var n=_16e.offsetLeft,t=_16e.offsetTop;ret.x+=isNaN(n)?0:n;ret.y+=isNaN(t)?0:t;cs=gcs(_16e);if(_16e!=node){if(d.isMoz){ret.x+=2*px(_16e,cs.borderLeftWidth);ret.y+=2*px(_16e,cs.borderTopWidth);}else{ret.x+=px(_16e,cs.borderLeftWidth);ret.y+=px(_16e,cs.borderTopWidth);}}if(d.isMoz&&cs.position=="static"){var _16f=_16e.parentNode;while(_16f!=_16e.offsetParent){var pcs=gcs(_16f);if(pcs.position=="static"){ret.x+=px(_16e,pcs.borderLeftWidth);ret.y+=px(_16e,pcs.borderTopWidth);}_16f=_16f.parentNode;}}_16e=_16e.offsetParent;}while((_16e!=dh)&&_16e);}else{if(node.x&&node.y){ret.x+=isNaN(node.x)?0:node.x;ret.y+=isNaN(node.y)?0:node.y;}}}if(_16c){var _170=d._docScroll();ret.x+=_170.x;ret.y+=_170.y;}return ret;};dojo.coords=function(node,_171){var n=byId(node),s=gcs(n),mb=d._getMarginBox(n,s);var abs=d.position(n,_171);mb.x=abs.x;mb.y=abs.y;return mb;};var _172={"class":"className","for":"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",valuetype:"valueType"},_173={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"},_174={innerHTML:1,className:1,htmlFor:d.isIE,value:1};var _175=function(name){return _173[name.toLowerCase()]||name;};var _176=function(node,name){var attr=node.getAttributeNode&&node.getAttributeNode(name);return attr&&attr.specified;};dojo.hasAttr=function(node,name){var lc=name.toLowerCase();return _174[_172[lc]||name]||_176(byId(node),_173[lc]||name);};var _177={},_178=0,_179=dojo._scopeName+"attrid",_17a={col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1};dojo.attr=function(node,name,_17b){node=byId(node);var args=arguments.length,prop;if(args==2&&typeof name!="string"){for(var x in name){d.attr(node,x,name[x]);}return node;}var lc=name.toLowerCase(),_17c=_172[lc]||name,_17d=_174[_17c],_17e=_173[lc]||name;if(args==3){do{if(_17c=="style"&&typeof _17b!="string"){d.style(node,_17b);break;}if(_17c=="innerHTML"){if(d.isIE&&node.tagName.toLowerCase() in _17a){d.empty(node);node.appendChild(d._toDom(_17b,node.ownerDocument));}else{node[_17c]=_17b;}break;}if(d.isFunction(_17b)){var _17f=d.attr(node,_179);if(!_17f){_17f=_178++;d.attr(node,_179,_17f);}if(!_177[_17f]){_177[_17f]={};}var h=_177[_17f][_17c];if(h){d.disconnect(h);}else{try{delete node[_17c];}catch(e){}}_177[_17f][_17c]=d.connect(node,_17c,_17b);break;}if(_17d||typeof _17b=="boolean"){node[_17c]=_17b;break;}node.setAttribute(_17e,_17b);}while(false);return node;}_17b=node[_17c];if(_17d&&typeof _17b!="undefined"){return _17b;}if(_17c!="href"&&(typeof _17b=="boolean"||d.isFunction(_17b))){return _17b;}return _176(node,_17e)?node.getAttribute(_17e):null;};dojo.removeAttr=function(node,name){byId(node).removeAttribute(_175(name));};dojo.getNodeProp=function(node,name){node=byId(node);var lc=name.toLowerCase(),_180=_172[lc]||name;if((_180 in node)&&_180!="href"){return node[_180];}var _181=_173[lc]||name;return _176(node,_181)?node.getAttribute(_181):null;};dojo.create=function(tag,_182,_183,pos){var doc=d.doc;if(_183){_183=byId(_183);doc=_183.ownerDocument;}if(typeof tag=="string"){tag=doc.createElement(tag);}if(_182){d.attr(tag,_182);}if(_183){d.place(tag,_183,pos);}return tag;};d.empty=d.isIE?function(node){node=byId(node);for(var c;c=node.lastChild;){d.destroy(c);}}:function(node){byId(node).innerHTML="";};var _184={option:["select"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","thead","tr"],legend:["fieldset"],caption:["table"],colgroup:["table"],col:["table","colgroup"],li:["ul"]},_185=/<\s*([\w\:]+)/,_186={},_187=0,_188="__"+d._scopeName+"ToDomId";for(var _189 in _184){var tw=_184[_189];tw.pre=_189=="option"?"<select multiple=\"multiple\">":"<"+tw.join("><")+">";tw.post="</"+tw.reverse().join("></")+">";}d._toDom=function(frag,doc){doc=doc||d.doc;var _18a=doc[_188];if(!_18a){doc[_188]=_18a=++_187+"";_186[_18a]=doc.createElement("div");}frag+="";var _18b=frag.match(_185),tag=_18b?_18b[1].toLowerCase():"",_18c=_186[_18a],wrap,i,fc,df;if(_18b&&_184[tag]){wrap=_184[tag];_18c.innerHTML=wrap.pre+frag+wrap.post;for(i=wrap.length;i;--i){_18c=_18c.firstChild;}}else{_18c.innerHTML=frag;}if(_18c.childNodes.length==1){return _18c.removeChild(_18c.firstChild);}df=doc.createDocumentFragment();while(fc=_18c.firstChild){df.appendChild(fc);}return df;};var _18d="className";dojo.hasClass=function(node,_18e){return ((" "+byId(node)[_18d]+" ").indexOf(" "+_18e+" ")>=0);};var _18f=/\s+/,a1=[""],_190=function(s){if(typeof s=="string"||s instanceof String){if(s.indexOf(" ")<0){a1[0]=s;return a1;}else{return s.split(_18f);}}return s;};dojo.addClass=function(node,_191){node=byId(node);_191=_190(_191);var cls=" "+node[_18d]+" ";for(var i=0,len=_191.length,c;i<len;++i){c=_191[i];if(c&&cls.indexOf(" "+c+" ")<0){cls+=c+" ";}}node[_18d]=d.trim(cls);};dojo.removeClass=function(node,_192){node=byId(node);var cls;if(_192!==undefined){_192=_190(_192);cls=" "+node[_18d]+" ";for(var i=0,len=_192.length;i<len;++i){cls=cls.replace(" "+_192[i]+" "," ");}cls=d.trim(cls);}else{cls="";}if(node[_18d]!=cls){node[_18d]=cls;}};dojo.toggleClass=function(node,_193,_194){if(_194===undefined){_194=!d.hasClass(node,_193);}d[_194?"addClass":"removeClass"](node,_193);};})();}if(!dojo._hasResource["dojo._base.NodeList"]){dojo._hasResource["dojo._base.NodeList"]=true;dojo.provide("dojo._base.NodeList");(function(){var d=dojo;var ap=Array.prototype,aps=ap.slice,apc=ap.concat;var tnl=function(a,_195,_196){if(!a.sort){a=aps.call(a,0);}var ctor=_196||this._NodeListCtor||d._NodeListCtor;a.constructor=ctor;dojo._mixin(a,ctor.prototype);a._NodeListCtor=ctor;return _195?a._stash(_195):a;};var _197=function(f,a,o){a=[0].concat(aps.call(a,0));o=o||d.global;return function(node){a[0]=node;return f.apply(o,a);};};var _198=function(f,o){return function(){this.forEach(_197(f,arguments,o));return this;};};var _199=function(f,o){return function(){return this.map(_197(f,arguments,o));};};var _19a=function(f,o){return function(){return this.filter(_197(f,arguments,o));};};var _19b=function(f,g,o){return function(){var a=arguments,body=_197(f,a,o);if(g.call(o||d.global,a)){return this.map(body);}this.forEach(body);return this;};};var _19c=function(a){return a.length==1&&(typeof a[0]=="string");};var _19d=function(node){var p=node.parentNode;if(p){p.removeChild(node);}};dojo.NodeList=function(){return tnl(Array.apply(null,arguments));};d._NodeListCtor=d.NodeList;var nl=d.NodeList,nlp=nl.prototype;nl._wrap=nlp._wrap=tnl;nl._adaptAsMap=_199;nl._adaptAsForEach=_198;nl._adaptAsFilter=_19a;nl._adaptWithCondition=_19b;d.forEach(["slice","splice"],function(name){var f=ap[name];nlp[name]=function(){return this._wrap(f.apply(this,arguments),name=="slice"?this:null);};});d.forEach(["indexOf","lastIndexOf","every","some"],function(name){var f=d[name];nlp[name]=function(){return f.apply(d,[this].concat(aps.call(arguments,0)));};});d.forEach(["attr","style"],function(name){nlp[name]=_19b(d[name],_19c);});d.forEach(["connect","addClass","removeClass","toggleClass","empty","removeAttr"],function(name){nlp[name]=_198(d[name]);});dojo.extend(dojo.NodeList,{_normalize:function(_19e,_19f){var _1a0=_19e.parse===true?true:false;if(typeof _19e.template=="string"){var _1a1=_19e.templateFunc||(dojo.string&&dojo.string.substitute);_19e=_1a1?_1a1(_19e.template,_19e):_19e;}var type=(typeof _19e);if(type=="string"||type=="number"){_19e=dojo._toDom(_19e,(_19f&&_19f.ownerDocument));if(_19e.nodeType==11){_19e=dojo._toArray(_19e.childNodes);}else{_19e=[_19e];}}else{if(!dojo.isArrayLike(_19e)){_19e=[_19e];}else{if(!dojo.isArray(_19e)){_19e=dojo._toArray(_19e);}}}if(_1a0){_19e._runParse=true;}return _19e;},_cloneNode:function(node){return node.cloneNode(true);},_place:function(ary,_1a2,_1a3,_1a4){if(_1a2.nodeType!=1&&_1a3=="only"){return;}var _1a5=_1a2,_1a6;var _1a7=ary.length;for(var i=_1a7-1;i>=0;i--){var node=(_1a4?this._cloneNode(ary[i]):ary[i]);if(ary._runParse&&dojo.parser&&dojo.parser.parse){if(!_1a6){_1a6=_1a5.ownerDocument.createElement("div");}_1a6.appendChild(node);dojo.parser.parse(_1a6);node=_1a6.firstChild;while(_1a6.firstChild){_1a6.removeChild(_1a6.firstChild);}}if(i==_1a7-1){dojo.place(node,_1a5,_1a3);}else{_1a5.parentNode.insertBefore(node,_1a5);}_1a5=node;}},_stash:function(_1a8){this._parent=_1a8;return this;},end:function(){if(this._parent){return this._parent;}else{return new this._NodeListCtor();}},concat:function(item){var t=d.isArray(this)?this:aps.call(this,0),m=d.map(arguments,function(a){return a&&!d.isArray(a)&&(typeof NodeList!="undefined"&&a.constructor===NodeList||a.constructor===this._NodeListCtor)?aps.call(a,0):a;});return this._wrap(apc.apply(t,m),this);},map:function(func,obj){return this._wrap(d.map(this,func,obj),this);},forEach:function(_1a9,_1aa){d.forEach(this,_1a9,_1aa);return this;},coords:_199(d.coords),position:_199(d.position),place:function(_1ab,_1ac){var item=d.query(_1ab)[0];return this.forEach(function(node){d.place(node,item,_1ac);});},orphan:function(_1ad){return (_1ad?d._filterQueryResult(this,_1ad):this).forEach(_19d);},adopt:function(_1ae,_1af){return d.query(_1ae).place(this[0],_1af)._stash(this);},query:function(_1b0){if(!_1b0){return this;}var ret=this.map(function(node){return d.query(_1b0,node).filter(function(_1b1){return _1b1!==undefined;});});return this._wrap(apc.apply([],ret),this);},filter:function(_1b2){var a=arguments,_1b3=this,_1b4=0;if(typeof _1b2=="string"){_1b3=d._filterQueryResult(this,a[0]);if(a.length==1){return _1b3._stash(this);}_1b4=1;}return this._wrap(d.filter(_1b3,a[_1b4],a[_1b4+1]),this);},addContent:function(_1b5,_1b6){_1b5=this._normalize(_1b5,this[0]);for(var i=0,node;node=this[i];i++){this._place(_1b5,node,_1b6,i>0);}return this;},instantiate:function(_1b7,_1b8){var c=d.isFunction(_1b7)?_1b7:d.getObject(_1b7);_1b8=_1b8||{};return this.forEach(function(node){new c(_1b8,node);});},at:function(){var t=new this._NodeListCtor();d.forEach(arguments,function(i){if(this[i]){t.push(this[i]);}},this);return t._stash(this);}});nl.events=["blur","focus","change","click","error","keydown","keypress","keyup","load","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","submit"];d.forEach(nl.events,function(evt){var _1b9="on"+evt;nlp[_1b9]=function(a,b){return this.connect(_1b9,a,b);};});})();}if(!dojo._hasResource["dojo._base.query"]){dojo._hasResource["dojo._base.query"]=true;if(typeof dojo!="undefined"){dojo.provide("dojo._base.query");}(function(d){var trim=d.trim;var each=d.forEach;var qlc=d._NodeListCtor=d.NodeList;var _1ba=function(){return d.doc;};var _1bb=((d.isWebKit||d.isMozilla)&&((_1ba().compatMode)=="BackCompat"));var _1bc=!!_1ba().firstChild["children"]?"children":"childNodes";var _1bd=">~+";var _1be=false;var _1bf=function(){return true;};var _1c0=function(_1c1){if(_1bd.indexOf(_1c1.slice(-1))>=0){_1c1+=" * ";}else{_1c1+=" ";}var ts=function(s,e){return trim(_1c1.slice(s,e));};var _1c2=[];var _1c3=-1,_1c4=-1,_1c5=-1,_1c6=-1,_1c7=-1,inId=-1,_1c8=-1,lc="",cc="",_1c9;var x=0,ql=_1c1.length,_1ca=null,_1cb=null;var _1cc=function(){if(_1c8>=0){var tv=(_1c8==x)?null:ts(_1c8,x);_1ca[(_1bd.indexOf(tv)<0)?"tag":"oper"]=tv;_1c8=-1;}};var _1cd=function(){if(inId>=0){_1ca.id=ts(inId,x).replace(/\\/g,"");inId=-1;}};var _1ce=function(){if(_1c7>=0){_1ca.classes.push(ts(_1c7+1,x).replace(/\\/g,""));_1c7=-1;}};var _1cf=function(){_1cd();_1cc();_1ce();};var _1d0=function(){_1cf();if(_1c6>=0){_1ca.pseudos.push({name:ts(_1c6+1,x)});}_1ca.loops=(_1ca.pseudos.length||_1ca.attrs.length||_1ca.classes.length);_1ca.oquery=_1ca.query=ts(_1c9,x);_1ca.otag=_1ca.tag=(_1ca["oper"])?null:(_1ca.tag||"*");if(_1ca.tag){_1ca.tag=_1ca.tag.toUpperCase();}if(_1c2.length&&(_1c2[_1c2.length-1].oper)){_1ca.infixOper=_1c2.pop();_1ca.query=_1ca.infixOper.query+" "+_1ca.query;}_1c2.push(_1ca);_1ca=null;};for(;lc=cc,cc=_1c1.charAt(x),x<ql;x++){if(lc=="\\"){continue;}if(!_1ca){_1c9=x;_1ca={query:null,pseudos:[],attrs:[],classes:[],tag:null,oper:null,id:null,getTag:function(){return (_1be)?this.otag:this.tag;}};_1c8=x;}if(_1c3>=0){if(cc=="]"){if(!_1cb.attr){_1cb.attr=ts(_1c3+1,x);}else{_1cb.matchFor=ts((_1c5||_1c3+1),x);}var cmf=_1cb.matchFor;if(cmf){if((cmf.charAt(0)=="\"")||(cmf.charAt(0)=="'")){_1cb.matchFor=cmf.slice(1,-1);}}_1ca.attrs.push(_1cb);_1cb=null;_1c3=_1c5=-1;}else{if(cc=="="){var _1d1=("|~^$*".indexOf(lc)>=0)?lc:"";_1cb.type=_1d1+cc;_1cb.attr=ts(_1c3+1,x-_1d1.length);_1c5=x+1;}}}else{if(_1c4>=0){if(cc==")"){if(_1c6>=0){_1cb.value=ts(_1c4+1,x);}_1c6=_1c4=-1;}}else{if(cc=="#"){_1cf();inId=x+1;}else{if(cc=="."){_1cf();_1c7=x;}else{if(cc==":"){_1cf();_1c6=x;}else{if(cc=="["){_1cf();_1c3=x;_1cb={};}else{if(cc=="("){if(_1c6>=0){_1cb={name:ts(_1c6+1,x),value:null};_1ca.pseudos.push(_1cb);}_1c4=x;}else{if((cc==" ")&&(lc!=cc)){_1d0();}}}}}}}}}return _1c2;};var _1d2=function(_1d3,_1d4){if(!_1d3){return _1d4;}if(!_1d4){return _1d3;}return function(){return _1d3.apply(window,arguments)&&_1d4.apply(window,arguments);};};var _1d5=function(i,arr){var r=arr||[];if(i){r.push(i);}return r;};var _1d6=function(n){return (1==n.nodeType);};var _1d7="";var _1d8=function(elem,attr){if(!elem){return _1d7;}if(attr=="class"){return elem.className||_1d7;}if(attr=="for"){return elem.htmlFor||_1d7;}if(attr=="style"){return elem.style.cssText||_1d7;}return (_1be?elem.getAttribute(attr):elem.getAttribute(attr,2))||_1d7;};var _1d9={"*=":function(attr,_1da){return function(elem){return (_1d8(elem,attr).indexOf(_1da)>=0);};},"^=":function(attr,_1db){return function(elem){return (_1d8(elem,attr).indexOf(_1db)==0);};},"$=":function(attr,_1dc){var tval=" "+_1dc;return function(elem){var ea=" "+_1d8(elem,attr);return (ea.lastIndexOf(_1dc)==(ea.length-_1dc.length));};},"~=":function(attr,_1dd){var tval=" "+_1dd+" ";return function(elem){var ea=" "+_1d8(elem,attr)+" ";return (ea.indexOf(tval)>=0);};},"|=":function(attr,_1de){var _1df=" "+_1de+"-";return function(elem){var ea=" "+_1d8(elem,attr);return ((ea==_1de)||(ea.indexOf(_1df)==0));};},"=":function(attr,_1e0){return function(elem){return (_1d8(elem,attr)==_1e0);};}};var _1e1=(typeof _1ba().firstChild.nextElementSibling=="undefined");var _1e2=!_1e1?"nextElementSibling":"nextSibling";var _1e3=!_1e1?"previousElementSibling":"previousSibling";var _1e4=(_1e1?_1d6:_1bf);var _1e5=function(node){while(node=node[_1e3]){if(_1e4(node)){return false;}}return true;};var _1e6=function(node){while(node=node[_1e2]){if(_1e4(node)){return false;}}return true;};var _1e7=function(node){var root=node.parentNode;var i=0,tret=root[_1bc],ci=(node["_i"]||-1),cl=(root["_l"]||-1);if(!tret){return -1;}var l=tret.length;if(cl==l&&ci>=0&&cl>=0){return ci;}root["_l"]=l;ci=-1;for(var te=root["firstElementChild"]||root["firstChild"];te;te=te[_1e2]){if(_1e4(te)){te["_i"]=++i;if(node===te){ci=i;}}}return ci;};var _1e8=function(elem){return !((_1e7(elem))%2);};var _1e9=function(elem){return ((_1e7(elem))%2);};var _1ea={"checked":function(name,_1eb){return function(elem){return !!("checked" in elem?elem.checked:elem.selected);};},"first-child":function(){return _1e5;},"last-child":function(){return _1e6;},"only-child":function(name,_1ec){return function(node){if(!_1e5(node)){return false;}if(!_1e6(node)){return false;}return true;};},"empty":function(name,_1ed){return function(elem){var cn=elem.childNodes;var cnl=elem.childNodes.length;for(var x=cnl-1;x>=0;x--){var nt=cn[x].nodeType;if((nt===1)||(nt==3)){return false;}}return true;};},"contains":function(name,_1ee){var cz=_1ee.charAt(0);if(cz=="\""||cz=="'"){_1ee=_1ee.slice(1,-1);}return function(elem){return (elem.innerHTML.indexOf(_1ee)>=0);};},"not":function(name,_1ef){var p=_1c0(_1ef)[0];var _1f0={el:1};if(p.tag!="*"){_1f0.tag=1;}if(!p.classes.length){_1f0.classes=1;}var ntf=_1f1(p,_1f0);return function(elem){return (!ntf(elem));};},"nth-child":function(name,_1f2){var pi=parseInt;if(_1f2=="odd"){return _1e9;}else{if(_1f2=="even"){return _1e8;}}if(_1f2.indexOf("n")!=-1){var _1f3=_1f2.split("n",2);var pred=_1f3[0]?((_1f3[0]=="-")?-1:pi(_1f3[0])):1;var idx=_1f3[1]?pi(_1f3[1]):0;var lb=0,ub=-1;if(pred>0){if(idx<0){idx=(idx%pred)&&(pred+(idx%pred));}else{if(idx>0){if(idx>=pred){lb=idx-idx%pred;}idx=idx%pred;}}}else{if(pred<0){pred*=-1;if(idx>0){ub=idx;idx=idx%pred;}}}if(pred>0){return function(elem){var i=_1e7(elem);return (i>=lb)&&(ub<0||i<=ub)&&((i%pred)==idx);};}else{_1f2=idx;}}var _1f4=pi(_1f2);return function(elem){return (_1e7(elem)==_1f4);};}};var _1f5=(d.isIE)?function(cond){var clc=cond.toLowerCase();if(clc=="class"){cond="className";}return function(elem){return (_1be?elem.getAttribute(cond):elem[cond]||elem[clc]);};}:function(cond){return function(elem){return (elem&&elem.getAttribute&&elem.hasAttribute(cond));};};var _1f1=function(_1f6,_1f7){if(!_1f6){return _1bf;}_1f7=_1f7||{};var ff=null;if(!("el" in _1f7)){ff=_1d2(ff,_1d6);}if(!("tag" in _1f7)){if(_1f6.tag!="*"){ff=_1d2(ff,function(elem){return (elem&&(elem.tagName==_1f6.getTag()));});}}if(!("classes" in _1f7)){each(_1f6.classes,function(_1f8,idx,arr){var re=new RegExp("(?:^|\\s)"+_1f8+"(?:\\s|$)");ff=_1d2(ff,function(elem){return re.test(elem.className);});ff.count=idx;});}if(!("pseudos" in _1f7)){each(_1f6.pseudos,function(_1f9){var pn=_1f9.name;if(_1ea[pn]){ff=_1d2(ff,_1ea[pn](pn,_1f9.value));}});}if(!("attrs" in _1f7)){each(_1f6.attrs,function(attr){var _1fa;var a=attr.attr;if(attr.type&&_1d9[attr.type]){_1fa=_1d9[attr.type](a,attr.matchFor);}else{if(a.length){_1fa=_1f5(a);}}if(_1fa){ff=_1d2(ff,_1fa);}});}if(!("id" in _1f7)){if(_1f6.id){ff=_1d2(ff,function(elem){return (!!elem&&(elem.id==_1f6.id));});}}if(!ff){if(!("default" in _1f7)){ff=_1bf;}}return ff;};var _1fb=function(_1fc){return function(node,ret,bag){while(node=node[_1e2]){if(_1e1&&(!_1d6(node))){continue;}if((!bag||_1fd(node,bag))&&_1fc(node)){ret.push(node);}break;}return ret;};};var _1fe=function(_1ff){return function(root,ret,bag){var te=root[_1e2];while(te){if(_1e4(te)){if(bag&&!_1fd(te,bag)){break;}if(_1ff(te)){ret.push(te);}}te=te[_1e2];}return ret;};};var _200=function(_201){_201=_201||_1bf;return function(root,ret,bag){var te,x=0,tret=root[_1bc];while(te=tret[x++]){if(_1e4(te)&&(!bag||_1fd(te,bag))&&(_201(te,x))){ret.push(te);}}return ret;};};var _202=function(node,root){var pn=node.parentNode;while(pn){if(pn==root){break;}pn=pn.parentNode;}return !!pn;};var _203={};var _204=function(_205){var _206=_203[_205.query];if(_206){return _206;}var io=_205.infixOper;var oper=(io?io.oper:"");var _207=_1f1(_205,{el:1});var qt=_205.tag;var _208=("*"==qt);var ecs=_1ba()["getElementsByClassName"];if(!oper){if(_205.id){_207=(!_205.loops&&_208)?_1bf:_1f1(_205,{el:1,id:1});_206=function(root,arr){var te=d.byId(_205.id,(root.ownerDocument||root));if(!te||!_207(te)){return;}if(9==root.nodeType){return _1d5(te,arr);}else{if(_202(te,root)){return _1d5(te,arr);}}};}else{if(ecs&&/\{\s*\[native code\]\s*\}/.test(String(ecs))&&_205.classes.length&&!_1bb){_207=_1f1(_205,{el:1,classes:1,id:1});var _209=_205.classes.join(" ");_206=function(root,arr,bag){var ret=_1d5(0,arr),te,x=0;var tret=root.getElementsByClassName(_209);while((te=tret[x++])){if(_207(te,root)&&_1fd(te,bag)){ret.push(te);}}return ret;};}else{if(!_208&&!_205.loops){_206=function(root,arr,bag){var ret=_1d5(0,arr),te,x=0;var tret=root.getElementsByTagName(_205.getTag());while((te=tret[x++])){if(_1fd(te,bag)){ret.push(te);}}return ret;};}else{_207=_1f1(_205,{el:1,tag:1,id:1});_206=function(root,arr,bag){var ret=_1d5(0,arr),te,x=0;var tret=root.getElementsByTagName(_205.getTag());while((te=tret[x++])){if(_207(te,root)&&_1fd(te,bag)){ret.push(te);}}return ret;};}}}}else{var _20a={el:1};if(_208){_20a.tag=1;}_207=_1f1(_205,_20a);if("+"==oper){_206=_1fb(_207);}else{if("~"==oper){_206=_1fe(_207);}else{if(">"==oper){_206=_200(_207);}}}}return _203[_205.query]=_206;};var _20b=function(root,_20c){var _20d=_1d5(root),qp,x,te,qpl=_20c.length,bag,ret;for(var i=0;i<qpl;i++){ret=[];qp=_20c[i];x=_20d.length-1;if(x>0){bag={};ret.nozip=true;}var gef=_204(qp);for(var j=0;(te=_20d[j]);j++){gef(te,ret,bag);}if(!ret.length){break;}_20d=ret;}return ret;};var _20e={},_20f={};var _210=function(_211){var _212=_1c0(trim(_211));if(_212.length==1){var tef=_204(_212[0]);return function(root){var r=tef(root,new qlc());if(r){r.nozip=true;}return r;};}return function(root){return _20b(root,_212);};};var nua=navigator.userAgent;var wk="WebKit/";var _213=(d.isWebKit&&(nua.indexOf(wk)>0)&&(parseFloat(nua.split(wk)[1])>528));var _214=d.isIE?"commentStrip":"nozip";var qsa="querySelectorAll";var _215=(!!_1ba()[qsa]&&(!d.isSafari||(d.isSafari>3.1)||_213));var _216=/n\+\d|([^ ])?([>~+])([^ =])?/g;var _217=function(_218,pre,ch,post){return ch?(pre?pre+" ":"")+ch+(post?" "+post:""):_218;};var _219=function(_21a,_21b){_21a=_21a.replace(_216,_217);if(_215){var _21c=_20f[_21a];if(_21c&&!_21b){return _21c;}}var _21d=_20e[_21a];if(_21d){return _21d;}var qcz=_21a.charAt(0);var _21e=(-1==_21a.indexOf(" "));if((_21a.indexOf("#")>=0)&&(_21e)){_21b=true;}var _21f=(_215&&(!_21b)&&(_1bd.indexOf(qcz)==-1)&&(!d.isIE||(_21a.indexOf(":")==-1))&&(!(_1bb&&(_21a.indexOf(".")>=0)))&&(_21a.indexOf(":contains")==-1)&&(_21a.indexOf(":checked")==-1)&&(_21a.indexOf("|=")==-1));if(_21f){var tq=(_1bd.indexOf(_21a.charAt(_21a.length-1))>=0)?(_21a+" *"):_21a;return _20f[_21a]=function(root){try{if(!((9==root.nodeType)||_21e)){throw "";}var r=root[qsa](tq);r[_214]=true;return r;}catch(e){return _219(_21a,true)(root);}};}else{var _220=_21a.split(/\s*,\s*/);return _20e[_21a]=((_220.length<2)?_210(_21a):function(root){var _221=0,ret=[],tp;while((tp=_220[_221++])){ret=ret.concat(_210(tp)(root));}return ret;});}};var _222=0;var _223=d.isIE?function(node){if(_1be){return (node.getAttribute("_uid")||node.setAttribute("_uid",++_222)||_222);}else{return node.uniqueID;}}:function(node){return (node._uid||(node._uid=++_222));};var _1fd=function(node,bag){if(!bag){return 1;}var id=_223(node);if(!bag[id]){return bag[id]=1;}return 0;};var _224="_zipIdx";var _225=function(arr){if(arr&&arr.nozip){return (qlc._wrap)?qlc._wrap(arr):arr;}var ret=new qlc();if(!arr||!arr.length){return ret;}if(arr[0]){ret.push(arr[0]);}if(arr.length<2){return ret;}_222++;if(d.isIE&&_1be){var _226=_222+"";arr[0].setAttribute(_224,_226);for(var x=1,te;te=arr[x];x++){if(arr[x].getAttribute(_224)!=_226){ret.push(te);}te.setAttribute(_224,_226);}}else{if(d.isIE&&arr.commentStrip){try{for(var x=1,te;te=arr[x];x++){if(_1d6(te)){ret.push(te);}}}catch(e){}}else{if(arr[0]){arr[0][_224]=_222;}for(var x=1,te;te=arr[x];x++){if(arr[x][_224]!=_222){ret.push(te);}te[_224]=_222;}}}return ret;};d.query=function(_227,root){qlc=d._NodeListCtor;if(!_227){return new qlc();}if(_227.constructor==qlc){return _227;}if(typeof _227!="string"){return new qlc(_227);}if(typeof root=="string"){root=d.byId(root);if(!root){return new qlc();}}root=root||_1ba();var od=root.ownerDocument||root.documentElement;_1be=(root.contentType&&root.contentType=="application/xml")||(d.isOpera&&(root.doctype||od.toString()=="[object XMLDocument]"))||(!!od)&&(d.isIE?od.xml:(root.xmlVersion||od.xmlVersion));var r=_219(_227)(root);if(r&&r.nozip&&!qlc._wrap){return r;}return _225(r);};d.query.pseudos=_1ea;d._filterQueryResult=function(_228,_229){var _22a=new d._NodeListCtor();var _22b=_1f1(_1c0(_229)[0]);for(var x=0,te;te=_228[x];x++){if(_22b(te)){_22a.push(te);}}return _22a;};})(this["queryPortability"]||this["acme"]||dojo);}if(!dojo._hasResource["dojo._base.xhr"]){dojo._hasResource["dojo._base.xhr"]=true;dojo.provide("dojo._base.xhr");(function(){var _22c=dojo,cfg=_22c.config;function _22d(obj,name,_22e){if(_22e===null){return;}var val=obj[name];if(typeof val=="string"){obj[name]=[val,_22e];}else{if(_22c.isArray(val)){val.push(_22e);}else{obj[name]=_22e;}}};dojo.fieldToObject=function(_22f){var ret=null;var item=_22c.byId(_22f);if(item){var _230=item.name;var type=(item.type||"").toLowerCase();if(_230&&type&&!item.disabled){if(type=="radio"||type=="checkbox"){if(item.checked){ret=item.value;}}else{if(item.multiple){ret=[];_22c.query("option",item).forEach(function(opt){if(opt.selected){ret.push(opt.value);}});}else{ret=item.value;}}}}return ret;};dojo.formToObject=function(_231){var ret={};var _232="file|submit|image|reset|button|";_22c.forEach(dojo.byId(_231).elements,function(item){var _233=item.name;var type=(item.type||"").toLowerCase();if(_233&&type&&_232.indexOf(type)==-1&&!item.disabled){_22d(ret,_233,_22c.fieldToObject(item));if(type=="image"){ret[_233+".x"]=ret[_233+".y"]=ret[_233].x=ret[_233].y=0;}}});return ret;};dojo.objectToQuery=function(map){var enc=encodeURIComponent;var _234=[];var _235={};for(var name in map){var _236=map[name];if(_236!=_235[name]){var _237=enc(name)+"=";if(_22c.isArray(_236)){for(var i=0;i<_236.length;i++){_234.push(_237+enc(_236[i]));}}else{_234.push(_237+enc(_236));}}}return _234.join("&");};dojo.formToQuery=function(_238){return _22c.objectToQuery(_22c.formToObject(_238));};dojo.formToJson=function(_239,_23a){return _22c.toJson(_22c.formToObject(_239),_23a);};dojo.queryToObject=function(str){var ret={};var qp=str.split("&");var dec=decodeURIComponent;_22c.forEach(qp,function(item){if(item.length){var _23b=item.split("=");var name=dec(_23b.shift());var val=dec(_23b.join("="));if(typeof ret[name]=="string"){ret[name]=[ret[name]];}if(_22c.isArray(ret[name])){ret[name].push(val);}else{ret[name]=val;}}});return ret;};dojo._blockAsync=false;var _23c=_22c._contentHandlers=dojo.contentHandlers={text:function(xhr){return xhr.responseText;},json:function(xhr){return _22c.fromJson(xhr.responseText||null);},"json-comment-filtered":function(xhr){if(!dojo.config.useCommentedJson){console.warn("Consider using the standard mimetype:application/json."+" json-commenting can introduce security issues. To"+" decrease the chances of hijacking, use the standard the 'json' handler and"+" prefix your json with: {}&&\n"+"Use djConfig.useCommentedJson=true to turn off this message.");}var _23d=xhr.responseText;var _23e=_23d.indexOf("/*");var _23f=_23d.lastIndexOf("*/");if(_23e==-1||_23f==-1){throw new Error("JSON was not comment filtered");}return _22c.fromJson(_23d.substring(_23e+2,_23f));},javascript:function(xhr){return _22c.eval(xhr.responseText);},xml:function(xhr){var _240=xhr.responseXML;if(_22c.isIE&&(!_240||!_240.documentElement)){var ms=function(n){return "MSXML"+n+".DOMDocument";};var dp=["Microsoft.XMLDOM",ms(6),ms(4),ms(3),ms(2)];_22c.some(dp,function(p){try{var dom=new ActiveXObject(p);dom.async=false;dom.loadXML(xhr.responseText);_240=dom;}catch(e){return false;}return true;});}return _240;},"json-comment-optional":function(xhr){if(xhr.responseText&&/^[^{\[]*\/\*/.test(xhr.responseText)){return _23c["json-comment-filtered"](xhr);}else{return _23c["json"](xhr);}}};dojo._ioSetArgs=function(args,_241,_242,_243){var _244={args:args,url:args.url};var _245=null;if(args.form){var form=_22c.byId(args.form);var _246=form.getAttributeNode("action");_244.url=_244.url||(_246?_246.value:null);_245=_22c.formToObject(form);}var _247=[{}];if(_245){_247.push(_245);}if(args.content){_247.push(args.content);}if(args.preventCache){_247.push({"dojo.preventCache":new Date().valueOf()});}_244.query=_22c.objectToQuery(_22c.mixin.apply(null,_247));_244.handleAs=args.handleAs||"text";var d=new _22c.Deferred(_241);d.addCallbacks(_242,function(_248){return _243(_248,d);});var ld=args.load;if(ld&&_22c.isFunction(ld)){d.addCallback(function(_249){return ld.call(args,_249,_244);});}var err=args.error;if(err&&_22c.isFunction(err)){d.addErrback(function(_24a){return err.call(args,_24a,_244);});}var _24b=args.handle;if(_24b&&_22c.isFunction(_24b)){d.addBoth(function(_24c){return _24b.call(args,_24c,_244);});}if(cfg.ioPublish&&_22c.publish&&_244.args.ioPublish!==false){d.addCallbacks(function(res){_22c.publish("/dojo/io/load",[d,res]);return res;},function(res){_22c.publish("/dojo/io/error",[d,res]);return res;});d.addBoth(function(res){_22c.publish("/dojo/io/done",[d,res]);return res;});}d.ioArgs=_244;return d;};var _24d=function(dfd){dfd.canceled=true;var xhr=dfd.ioArgs.xhr;var _24e=typeof xhr.abort;if(_24e=="function"||_24e=="object"||_24e=="unknown"){xhr.abort();}var err=dfd.ioArgs.error;if(!err){err=new Error("xhr cancelled");err.dojoType="cancel";}return err;};var _24f=function(dfd){var ret=_23c[dfd.ioArgs.handleAs](dfd.ioArgs.xhr);return ret===undefined?null:ret;};var _250=function(_251,dfd){if(!dfd.ioArgs.args.failOk){console.error(_251);}return _251;};var _252=null;var _253=[];var _254=0;var _255=function(dfd){if(_254<=0){_254=0;if(cfg.ioPublish&&_22c.publish&&(!dfd||dfd&&dfd.ioArgs.args.ioPublish!==false)){_22c.publish("/dojo/io/stop");}}};var _256=function(){var now=(new Date()).getTime();if(!_22c._blockAsync){for(var i=0,tif;i<_253.length&&(tif=_253[i]);i++){var dfd=tif.dfd;var func=function(){if(!dfd||dfd.canceled||!tif.validCheck(dfd)){_253.splice(i--,1);_254-=1;}else{if(tif.ioCheck(dfd)){_253.splice(i--,1);tif.resHandle(dfd);_254-=1;}else{if(dfd.startTime){if(dfd.startTime+(dfd.ioArgs.args.timeout||0)<now){_253.splice(i--,1);var err=new Error("timeout exceeded");err.dojoType="timeout";dfd.errback(err);dfd.cancel();_254-=1;}}}}};if(dojo.config.debugAtAllCosts){func.call(this);}else{try{func.call(this);}catch(e){dfd.errback(e);}}}}_255(dfd);if(!_253.length){clearInterval(_252);_252=null;return;}};dojo._ioCancelAll=function(){try{_22c.forEach(_253,function(i){try{i.dfd.cancel();}catch(e){}});}catch(e){}};if(_22c.isIE){_22c.addOnWindowUnload(_22c._ioCancelAll);}_22c._ioNotifyStart=function(dfd){if(cfg.ioPublish&&_22c.publish&&dfd.ioArgs.args.ioPublish!==false){if(!_254){_22c.publish("/dojo/io/start");}_254+=1;_22c.publish("/dojo/io/send",[dfd]);}};_22c._ioWatch=function(dfd,_257,_258,_259){var args=dfd.ioArgs.args;if(args.timeout){dfd.startTime=(new Date()).getTime();}_253.push({dfd:dfd,validCheck:_257,ioCheck:_258,resHandle:_259});if(!_252){_252=setInterval(_256,50);}if(args.sync){_256();}};var _25a="application/x-www-form-urlencoded";var _25b=function(dfd){return dfd.ioArgs.xhr.readyState;};var _25c=function(dfd){return 4==dfd.ioArgs.xhr.readyState;};var _25d=function(dfd){var xhr=dfd.ioArgs.xhr;if(_22c._isDocumentOk(xhr)){dfd.callback(dfd);}else{var err=new Error("Unable to load "+dfd.ioArgs.url+" status:"+xhr.status);err.status=xhr.status;err.responseText=xhr.responseText;dfd.errback(err);}};dojo._ioAddQueryToUrl=function(_25e){if(_25e.query.length){_25e.url+=(_25e.url.indexOf("?")==-1?"?":"&")+_25e.query;_25e.query=null;}};dojo.xhr=function(_25f,args,_260){var dfd=_22c._ioSetArgs(args,_24d,_24f,_250);var _261=dfd.ioArgs;var xhr=_261.xhr=_22c._xhrObj(_261.args);if(!xhr){dfd.cancel();return dfd;}if("postData" in args){_261.query=args.postData;}else{if("putData" in args){_261.query=args.putData;}else{if("rawBody" in args){_261.query=args.rawBody;}else{if((arguments.length>2&&!_260)||"POST|PUT".indexOf(_25f.toUpperCase())==-1){_22c._ioAddQueryToUrl(_261);}}}}xhr.open(_25f,_261.url,args.sync!==true,args.user||undefined,args.password||undefined);if(args.headers){for(var hdr in args.headers){if(hdr.toLowerCase()==="content-type"&&!args.contentType){args.contentType=args.headers[hdr];}else{if(args.headers[hdr]){xhr.setRequestHeader(hdr,args.headers[hdr]);}}}}xhr.setRequestHeader("Content-Type",args.contentType||_25a);if(!args.headers||!("X-Requested-With" in args.headers)){xhr.setRequestHeader("X-Requested-With","XMLHttpRequest");}_22c._ioNotifyStart(dfd);if(dojo.config.debugAtAllCosts){xhr.send(_261.query);}else{try{xhr.send(_261.query);}catch(e){_261.error=e;dfd.cancel();}}_22c._ioWatch(dfd,_25b,_25c,_25d);xhr=null;return dfd;};dojo.xhrGet=function(args){return _22c.xhr("GET",args);};dojo.rawXhrPost=dojo.xhrPost=function(args){return _22c.xhr("POST",args,true);};dojo.rawXhrPut=dojo.xhrPut=function(args){return _22c.xhr("PUT",args,true);};dojo.xhrDelete=function(args){return _22c.xhr("DELETE",args);};})();}if(!dojo._hasResource["dojo._base.fx"]){dojo._hasResource["dojo._base.fx"]=true;dojo.provide("dojo._base.fx");(function(){var d=dojo;var _262=d._mixin;dojo._Line=function(_263,end){this.start=_263;this.end=end;};dojo._Line.prototype.getValue=function(n){return ((this.end-this.start)*n)+this.start;};dojo.Animation=function(args){_262(this,args);if(d.isArray(this.curve)){this.curve=new d._Line(this.curve[0],this.curve[1]);}};d._Animation=d.Animation;d.extend(dojo.Animation,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var _264=this._percent,_265=this.easing;return _265?_265(_264):_264;},_fire:function(evt,args){var a=args||[];if(this[evt]){if(d.config.debugAtAllCosts){this[evt].apply(this,a);}else{try{this[evt].apply(this,a);}catch(e){console.error("exception in animation handler for:",evt);console.error(e);}}}return this;},play:function(_266,_267){var _268=this;if(_268._delayTimer){_268._clearTimer();}if(_267){_268._stopTimer();_268._active=_268._paused=false;_268._percent=0;}else{if(_268._active&&!_268._paused){return _268;}}_268._fire("beforeBegin",[_268.node]);var de=_266||_268.delay,_269=dojo.hitch(_268,"_play",_267);if(de>0){_268._delayTimer=setTimeout(_269,de);return _268;}_269();return _268;},_play:function(_26a){var _26b=this;if(_26b._delayTimer){_26b._clearTimer();}_26b._startTime=new Date().valueOf();if(_26b._paused){_26b._startTime-=_26b.duration*_26b._percent;}_26b._endTime=_26b._startTime+_26b.duration;_26b._active=true;_26b._paused=false;var _26c=_26b.curve.getValue(_26b._getStep());if(!_26b._percent){if(!_26b._startRepeatCount){_26b._startRepeatCount=_26b.repeat;}_26b._fire("onBegin",[_26c]);}_26b._fire("onPlay",[_26c]);_26b._cycle();return _26b;},pause:function(){var _26d=this;if(_26d._delayTimer){_26d._clearTimer();}_26d._stopTimer();if(!_26d._active){return _26d;}_26d._paused=true;_26d._fire("onPause",[_26d.curve.getValue(_26d._getStep())]);return _26d;},gotoPercent:function(_26e,_26f){var _270=this;_270._stopTimer();_270._active=_270._paused=true;_270._percent=_26e;if(_26f){_270.play();}return _270;},stop:function(_271){var _272=this;if(_272._delayTimer){_272._clearTimer();}if(!_272._timer){return _272;}_272._stopTimer();if(_271){_272._percent=1;}_272._fire("onStop",[_272.curve.getValue(_272._getStep())]);_272._active=_272._paused=false;return _272;},status:function(){if(this._active){return this._paused?"paused":"playing";}return "stopped";},_cycle:function(){var _273=this;if(_273._active){var curr=new Date().valueOf();var step=(curr-_273._startTime)/(_273._endTime-_273._startTime);if(step>=1){step=1;}_273._percent=step;if(_273.easing){step=_273.easing(step);}_273._fire("onAnimate",[_273.curve.getValue(step)]);if(_273._percent<1){_273._startTimer();}else{_273._active=false;if(_273.repeat>0){_273.repeat--;_273.play(null,true);}else{if(_273.repeat==-1){_273.play(null,true);}else{if(_273._startRepeatCount){_273.repeat=_273._startRepeatCount;_273._startRepeatCount=0;}}}_273._percent=0;_273._fire("onEnd",[_273.node]);!_273.repeat&&_273._stopTimer();}}return _273;},_clearTimer:function(){clearTimeout(this._delayTimer);delete this._delayTimer;}});var ctr=0,_274=[],_275=null,_276={run:function(){}};d.extend(d.Animation,{_startTimer:function(){if(!this._timer){this._timer=d.connect(_276,"run",this,"_cycle");ctr++;}if(!_275){_275=setInterval(d.hitch(_276,"run"),this.rate);}},_stopTimer:function(){if(this._timer){d.disconnect(this._timer);this._timer=null;ctr--;}if(ctr<=0){clearInterval(_275);_275=null;ctr=0;}}});var _277=d.isIE?function(node){var ns=node.style;if(!ns.width.length&&d.style(node,"width")=="auto"){ns.width="auto";}}:function(){};dojo._fade=function(args){args.node=d.byId(args.node);var _278=_262({properties:{}},args),_279=(_278.properties.opacity={});_279.start=!("start" in _278)?function(){return +d.style(_278.node,"opacity")||0;}:_278.start;_279.end=_278.end;var anim=d.animateProperty(_278);d.connect(anim,"beforeBegin",d.partial(_277,_278.node));return anim;};dojo.fadeIn=function(args){return d._fade(_262({end:1},args));};dojo.fadeOut=function(args){return d._fade(_262({end:0},args));};dojo._defaultEasing=function(n){return 0.5+((Math.sin((n+1.5)*Math.PI))/2);};var _27a=function(_27b){this._properties=_27b;for(var p in _27b){var prop=_27b[p];if(prop.start instanceof d.Color){prop.tempColor=new d.Color();}}};_27a.prototype.getValue=function(r){var ret={};for(var p in this._properties){var prop=this._properties[p],_27c=prop.start;if(_27c instanceof d.Color){ret[p]=d.blendColors(_27c,prop.end,r,prop.tempColor).toCss();}else{if(!d.isArray(_27c)){ret[p]=((prop.end-_27c)*r)+_27c+(p!="opacity"?prop.units||"px":0);}}}return ret;};dojo.animateProperty=function(args){var n=args.node=d.byId(args.node);if(!args.easing){args.easing=d._defaultEasing;}var anim=new d.Animation(args);d.connect(anim,"beforeBegin",anim,function(){var pm={};for(var p in this.properties){if(p=="width"||p=="height"){this.node.display="block";}var prop=this.properties[p];if(d.isFunction(prop)){prop=prop(n);}prop=pm[p]=_262({},(d.isObject(prop)?prop:{end:prop}));if(d.isFunction(prop.start)){prop.start=prop.start(n);}if(d.isFunction(prop.end)){prop.end=prop.end(n);}var _27d=(p.toLowerCase().indexOf("color")>=0);function _27e(node,p){var v={height:node.offsetHeight,width:node.offsetWidth}[p];if(v!==undefined){return v;}v=d.style(node,p);return (p=="opacity")?+v:(_27d?v:parseFloat(v));};if(!("end" in prop)){prop.end=_27e(n,p);}else{if(!("start" in prop)){prop.start=_27e(n,p);}}if(_27d){prop.start=new d.Color(prop.start);prop.end=new d.Color(prop.end);}else{prop.start=(p=="opacity")?+prop.start:parseFloat(prop.start);}}this.curve=new _27a(pm);});d.connect(anim,"onAnimate",d.hitch(d,"style",anim.node));return anim;};dojo.anim=function(node,_27f,_280,_281,_282,_283){return d.animateProperty({node:node,duration:_280||d.Animation.prototype.duration,properties:_27f,easing:_281,onEnd:_282}).play(_283||0);};})();}if(!dojo._hasResource["dojo._base.browser"]){dojo._hasResource["dojo._base.browser"]=true;dojo.provide("dojo._base.browser");dojo.forEach(dojo.config.require,function(i){dojo["require"](i);});}if(!dojo._hasResource["dojo.dnd.common"]){dojo._hasResource["dojo.dnd.common"]=true;dojo.provide("dojo.dnd.common");dojo.dnd.getCopyKeyState=dojo.isCopyKeyPressed;dojo.dnd._uniqueId=0;dojo.dnd.getUniqueId=function(){var id;do{id=dojo._scopeName+"Unique"+(++dojo.dnd._uniqueId);}while(dojo.byId(id));return id;};dojo.dnd._empty={};dojo.dnd.isFormElement=function(e){var t=e.target;if(t.nodeType==3){t=t.parentNode;}return " button textarea input select option ".indexOf(" "+t.tagName.toLowerCase()+" ")>=0;};}if(!dojo._hasResource["dojo.dnd.autoscroll"]){dojo._hasResource["dojo.dnd.autoscroll"]=true;dojo.provide("dojo.dnd.autoscroll");dojo.dnd.getViewport=function(){var d=dojo.doc,dd=d.documentElement,w=window,b=dojo.body();if(dojo.isMozilla){return {w:dd.clientWidth,h:w.innerHeight};}else{if(!dojo.isOpera&&w.innerWidth){return {w:w.innerWidth,h:w.innerHeight};}else{if(!dojo.isOpera&&dd&&dd.clientWidth){return {w:dd.clientWidth,h:dd.clientHeight};}else{if(b.clientWidth){return {w:b.clientWidth,h:b.clientHeight};}}}}return null;};dojo.dnd.V_TRIGGER_AUTOSCROLL=32;dojo.dnd.H_TRIGGER_AUTOSCROLL=32;dojo.dnd.V_AUTOSCROLL_VALUE=16;dojo.dnd.H_AUTOSCROLL_VALUE=16;dojo.dnd.autoScroll=function(e){var v=dojo.dnd.getViewport(),dx=0,dy=0;if(e.clientX<dojo.dnd.H_TRIGGER_AUTOSCROLL){dx=-dojo.dnd.H_AUTOSCROLL_VALUE;}else{if(e.clientX>v.w-dojo.dnd.H_TRIGGER_AUTOSCROLL){dx=dojo.dnd.H_AUTOSCROLL_VALUE;}}if(e.clientY<dojo.dnd.V_TRIGGER_AUTOSCROLL){dy=-dojo.dnd.V_AUTOSCROLL_VALUE;}else{if(e.clientY>v.h-dojo.dnd.V_TRIGGER_AUTOSCROLL){dy=dojo.dnd.V_AUTOSCROLL_VALUE;}}window.scrollBy(dx,dy);};dojo.dnd._validNodes={"div":1,"p":1,"td":1};dojo.dnd._validOverflow={"auto":1,"scroll":1};dojo.dnd.autoScrollNodes=function(e){for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in dojo.dnd._validNodes)){var s=dojo.getComputedStyle(n);if(s.overflow.toLowerCase() in dojo.dnd._validOverflow){var b=dojo._getContentBox(n,s),t=dojo.position(n,true);var w=Math.min(dojo.dnd.H_TRIGGER_AUTOSCROLL,b.w/2),h=Math.min(dojo.dnd.V_TRIGGER_AUTOSCROLL,b.h/2),rx=e.pageX-t.x,ry=e.pageY-t.y,dx=0,dy=0;if(dojo.isWebKit||dojo.isOpera){rx+=dojo.body().scrollLeft,ry+=dojo.body().scrollTop;}if(rx>0&&rx<b.w){if(rx<w){dx=-w;}else{if(rx>b.w-w){dx=w;}}}if(ry>0&&ry<b.h){if(ry<h){dy=-h;}else{if(ry>b.h-h){dy=h;}}}var _284=n.scrollLeft,_285=n.scrollTop;n.scrollLeft=n.scrollLeft+dx;n.scrollTop=n.scrollTop+dy;if(_284!=n.scrollLeft||_285!=n.scrollTop){return;}}}try{n=n.parentNode;}catch(x){n=null;}}dojo.dnd.autoScroll(e);};}if(!dojo._hasResource["dojo.dnd.Mover"]){dojo._hasResource["dojo.dnd.Mover"]=true;dojo.provide("dojo.dnd.Mover");dojo.declare("dojo.dnd.Mover",null,{constructor:function(node,e,host){this.node=dojo.byId(node);this.marginBox={l:e.pageX,t:e.pageY};this.mouseButton=e.button;var h=this.host=host,d=node.ownerDocument,_286=dojo.connect(d,"onmousemove",this,"onFirstMove");this.events=[dojo.connect(d,"onmousemove",this,"onMouseMove"),dojo.connect(d,"onmouseup",this,"onMouseUp"),dojo.connect(d,"ondragstart",dojo.stopEvent),dojo.connect(d.body,"onselectstart",dojo.stopEvent),_286];if(h&&h.onMoveStart){h.onMoveStart(this);}},onMouseMove:function(e){dojo.dnd.autoScroll(e);var m=this.marginBox;this.host.onMove(this,{l:m.l+e.pageX,t:m.t+e.pageY});dojo.stopEvent(e);},onMouseUp:function(e){if(dojo.isWebKit&&dojo.isMac&&this.mouseButton==2?e.button==0:this.mouseButton==e.button){this.destroy();}dojo.stopEvent(e);},onFirstMove:function(){var s=this.node.style,l,t,h=this.host;switch(s.position){case "relative":case "absolute":l=Math.round(parseFloat(s.left));t=Math.round(parseFloat(s.top));break;default:s.position="absolute";var m=dojo.marginBox(this.node);var b=dojo.doc.body;var bs=dojo.getComputedStyle(b);var bm=dojo._getMarginBox(b,bs);var bc=dojo._getContentBox(b,bs);l=m.l-(bc.l-bm.l);t=m.t-(bc.t-bm.t);break;}this.marginBox.l=l-this.marginBox.l;this.marginBox.t=t-this.marginBox.t;if(h&&h.onFirstMove){h.onFirstMove(this);}dojo.disconnect(this.events.pop());},destroy:function(){dojo.forEach(this.events,dojo.disconnect);var h=this.host;if(h&&h.onMoveStop){h.onMoveStop(this);}this.events=this.node=this.host=null;}});}if(!dojo._hasResource["dojo.dnd.Moveable"]){dojo._hasResource["dojo.dnd.Moveable"]=true;dojo.provide("dojo.dnd.Moveable");dojo.declare("dojo.dnd.Moveable",null,{handle:"",delay:0,skip:false,constructor:function(node,_287){this.node=dojo.byId(node);if(!_287){_287={};}this.handle=_287.handle?dojo.byId(_287.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_287.delay>0?_287.delay:0;this.skip=_287.skip;this.mover=_287.mover?_287.mover:dojo.dnd.Mover;this.events=[dojo.connect(this.handle,"onmousedown",this,"onMouseDown"),dojo.connect(this.handle,"ondragstart",this,"onSelectStart"),dojo.connect(this.handle,"onselectstart",this,"onSelectStart")];},markupFactory:function(_288,node){return new dojo.dnd.Moveable(node,_288);},destroy:function(){dojo.forEach(this.events,dojo.disconnect);this.events=this.node=this.handle=null;},onMouseDown:function(e){if(this.skip&&dojo.dnd.isFormElement(e)){return;}if(this.delay){this.events.push(dojo.connect(this.handle,"onmousemove",this,"onMouseMove"),dojo.connect(this.handle,"onmouseup",this,"onMouseUp"));this._lastX=e.pageX;this._lastY=e.pageY;}else{this.onDragDetected(e);}dojo.stopEvent(e);},onMouseMove:function(e){if(Math.abs(e.pageX-this._lastX)>this.delay||Math.abs(e.pageY-this._lastY)>this.delay){this.onMouseUp(e);this.onDragDetected(e);}dojo.stopEvent(e);},onMouseUp:function(e){for(var i=0;i<2;++i){dojo.disconnect(this.events.pop());}dojo.stopEvent(e);},onSelectStart:function(e){if(!this.skip||!dojo.dnd.isFormElement(e)){dojo.stopEvent(e);}},onDragDetected:function(e){new this.mover(this.node,e,this);},onMoveStart:function(_289){dojo.publish("/dnd/move/start",[_289]);dojo.addClass(dojo.body(),"dojoMove");dojo.addClass(this.node,"dojoMoveItem");},onMoveStop:function(_28a){dojo.publish("/dnd/move/stop",[_28a]);dojo.removeClass(dojo.body(),"dojoMove");dojo.removeClass(this.node,"dojoMoveItem");},onFirstMove:function(_28b){},onMove:function(_28c,_28d){this.onMoving(_28c,_28d);var s=_28c.node.style;s.left=_28d.l+"px";s.top=_28d.t+"px";this.onMoved(_28c,_28d);},onMoving:function(_28e,_28f){},onMoved:function(_290,_291){}});}if(!dojo._hasResource["dojo.dnd.move"]){dojo._hasResource["dojo.dnd.move"]=true;dojo.provide("dojo.dnd.move");dojo.declare("dojo.dnd.move.constrainedMoveable",dojo.dnd.Moveable,{constraints:function(){},within:false,markupFactory:function(_292,node){return new dojo.dnd.move.constrainedMoveable(node,_292);},constructor:function(node,_293){if(!_293){_293={};}this.constraints=_293.constraints;this.within=_293.within;},onFirstMove:function(_294){var c=this.constraintBox=this.constraints.call(this,_294);c.r=c.l+c.w;c.b=c.t+c.h;if(this.within){var mb=dojo.marginBox(_294.node);c.r-=mb.w;c.b-=mb.h;}},onMove:function(_295,_296){var c=this.constraintBox,s=_295.node.style;s.left=(_296.l<c.l?c.l:c.r<_296.l?c.r:_296.l)+"px";s.top=(_296.t<c.t?c.t:c.b<_296.t?c.b:_296.t)+"px";}});dojo.declare("dojo.dnd.move.boxConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{box:{},markupFactory:function(_297,node){return new dojo.dnd.move.boxConstrainedMoveable(node,_297);},constructor:function(node,_298){var box=_298&&_298.box;this.constraints=function(){return box;};}});dojo.declare("dojo.dnd.move.parentConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{area:"content",markupFactory:function(_299,node){return new dojo.dnd.move.parentConstrainedMoveable(node,_299);},constructor:function(node,_29a){var area=_29a&&_29a.area;this.constraints=function(){var n=this.node.parentNode,s=dojo.getComputedStyle(n),mb=dojo._getMarginBox(n,s);if(area=="margin"){return mb;}var t=dojo._getMarginExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="border"){return mb;}t=dojo._getBorderExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="padding"){return mb;}t=dojo._getPadExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;return mb;};}});dojo.dnd.move.constrainedMover=function(fun,_29b){dojo.deprecated("dojo.dnd.move.constrainedMover, use dojo.dnd.move.constrainedMoveable instead");var _29c=function(node,e,_29d){dojo.dnd.Mover.call(this,node,e,_29d);};dojo.extend(_29c,dojo.dnd.Mover.prototype);dojo.extend(_29c,{onMouseMove:function(e){dojo.dnd.autoScroll(e);var m=this.marginBox,c=this.constraintBox,l=m.l+e.pageX,t=m.t+e.pageY;l=l<c.l?c.l:c.r<l?c.r:l;t=t<c.t?c.t:c.b<t?c.b:t;this.host.onMove(this,{l:l,t:t});},onFirstMove:function(){dojo.dnd.Mover.prototype.onFirstMove.call(this);var c=this.constraintBox=fun.call(this);c.r=c.l+c.w;c.b=c.t+c.h;if(_29b){var mb=dojo.marginBox(this.node);c.r-=mb.w;c.b-=mb.h;}}});return _29c;};dojo.dnd.move.boxConstrainedMover=function(box,_29e){dojo.deprecated("dojo.dnd.move.boxConstrainedMover, use dojo.dnd.move.boxConstrainedMoveable instead");return dojo.dnd.move.constrainedMover(function(){return box;},_29e);};dojo.dnd.move.parentConstrainedMover=function(area,_29f){dojo.deprecated("dojo.dnd.move.parentConstrainedMover, use dojo.dnd.move.parentConstrainedMoveable instead");var fun=function(){var n=this.node.parentNode,s=dojo.getComputedStyle(n),mb=dojo._getMarginBox(n,s);if(area=="margin"){return mb;}var t=dojo._getMarginExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="border"){return mb;}t=dojo._getBorderExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="padding"){return mb;}t=dojo._getPadExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;return mb;};return dojo.dnd.move.constrainedMover(fun,_29f);};dojo.dnd.constrainedMover=dojo.dnd.move.constrainedMover;dojo.dnd.boxConstrainedMover=dojo.dnd.move.boxConstrainedMover;dojo.dnd.parentConstrainedMover=dojo.dnd.move.parentConstrainedMover;}if(!dojo._hasResource["dojo.dnd.TimedMoveable"]){dojo._hasResource["dojo.dnd.TimedMoveable"]=true;dojo.provide("dojo.dnd.TimedMoveable");(function(){var _2a0=dojo.dnd.Moveable.prototype.onMove;dojo.declare("dojo.dnd.TimedMoveable",dojo.dnd.Moveable,{timeout:40,constructor:function(node,_2a1){if(!_2a1){_2a1={};}if(_2a1.timeout&&typeof _2a1.timeout=="number"&&_2a1.timeout>=0){this.timeout=_2a1.timeout;}},markupFactory:function(_2a2,node){return new dojo.dnd.TimedMoveable(node,_2a2);},onMoveStop:function(_2a3){if(_2a3._timer){clearTimeout(_2a3._timer);_2a0.call(this,_2a3,_2a3._leftTop);}dojo.dnd.Moveable.prototype.onMoveStop.apply(this,arguments);},onMove:function(_2a4,_2a5){_2a4._leftTop=_2a5;if(!_2a4._timer){var _2a6=this;_2a4._timer=setTimeout(function(){_2a4._timer=null;_2a0.call(_2a6,_2a4,_2a4._leftTop);},this.timeout);}}});})();}if(!dojo._hasResource["dojo.fx.Toggler"]){dojo._hasResource["dojo.fx.Toggler"]=true;dojo.provide("dojo.fx.Toggler");dojo.declare("dojo.fx.Toggler",null,{node:null,showFunc:dojo.fadeIn,hideFunc:dojo.fadeOut,showDuration:200,hideDuration:200,constructor:function(args){var _2a7=this;dojo.mixin(_2a7,args);_2a7.node=args.node;_2a7._showArgs=dojo.mixin({},args);_2a7._showArgs.node=_2a7.node;_2a7._showArgs.duration=_2a7.showDuration;_2a7.showAnim=_2a7.showFunc(_2a7._showArgs);_2a7._hideArgs=dojo.mixin({},args);_2a7._hideArgs.node=_2a7.node;_2a7._hideArgs.duration=_2a7.hideDuration;_2a7.hideAnim=_2a7.hideFunc(_2a7._hideArgs);dojo.connect(_2a7.showAnim,"beforeBegin",dojo.hitch(_2a7.hideAnim,"stop",true));dojo.connect(_2a7.hideAnim,"beforeBegin",dojo.hitch(_2a7.showAnim,"stop",true));},show:function(_2a8){return this.showAnim.play(_2a8||0);},hide:function(_2a9){return this.hideAnim.play(_2a9||0);}});}if(!dojo._hasResource["dojo.fx"]){dojo._hasResource["dojo.fx"]=true;dojo.provide("dojo.fx");(function(){var d=dojo,_2aa={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _2ab=function(_2ac){this._index=-1;this._animations=_2ac||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;d.forEach(this._animations,function(a){this.duration+=a.duration;if(a.delay){this.duration+=a.delay;}},this);};d.extend(_2ab,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){d.disconnect(this._onAnimateCtx);d.disconnect(this._onEndCtx);this._onAnimateCtx=this._onEndCtx=null;if(this._index+1==this._animations.length){this._fire("onEnd");}else{this._current=this._animations[++this._index];this._onAnimateCtx=d.connect(this._current,"onAnimate",this,"_onAnimate");this._onEndCtx=d.connect(this._current,"onEnd",this,"_onEnd");this._current.play(0,true);}},play:function(_2ad,_2ae){if(!this._current){this._current=this._animations[this._index=0];}if(!_2ae&&this._current.status()=="playing"){return this;}var _2af=d.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_2b0=d.connect(this._current,"onBegin",this,function(arg){this._fire("onBegin",arguments);}),_2b1=d.connect(this._current,"onPlay",this,function(arg){this._fire("onPlay",arguments);d.disconnect(_2af);d.disconnect(_2b0);d.disconnect(_2b1);});if(this._onAnimateCtx){d.disconnect(this._onAnimateCtx);}this._onAnimateCtx=d.connect(this._current,"onAnimate",this,"_onAnimate");if(this._onEndCtx){d.disconnect(this._onEndCtx);}this._onEndCtx=d.connect(this._current,"onEnd",this,"_onEnd");this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=d.connect(this._current,"onPause",this,function(arg){this._fire("onPause",arguments);d.disconnect(e);});this._current.pause();}return this;},gotoPercent:function(_2b2,_2b3){this.pause();var _2b4=this.duration*_2b2;this._current=null;d.some(this._animations,function(a){if(a.duration<=_2b4){this._current=a;return true;}_2b4-=a.duration;return false;});if(this._current){this._current.gotoPercent(_2b4/this._current.duration,_2b3);}return this;},stop:function(_2b5){if(this._current){if(_2b5){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=d.connect(this._current,"onStop",this,function(arg){this._fire("onStop",arguments);d.disconnect(e);});this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){if(this._onAnimateCtx){d.disconnect(this._onAnimateCtx);}if(this._onEndCtx){d.disconnect(this._onEndCtx);}}});d.extend(_2ab,_2aa);dojo.fx.chain=function(_2b6){return new _2ab(_2b6);};var _2b7=function(_2b8){this._animations=_2b8||[];this._connects=[];this._finished=0;this.duration=0;d.forEach(_2b8,function(a){var _2b9=a.duration;if(a.delay){_2b9+=a.delay;}if(this.duration<_2b9){this.duration=_2b9;}this._connects.push(d.connect(a,"onEnd",this,"_onEnd"));},this);this._pseudoAnimation=new d.Animation({curve:[0,1],duration:this.duration});var self=this;d.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(evt){self._connects.push(d.connect(self._pseudoAnimation,evt,function(){self._fire(evt,arguments);}));});};d.extend(_2b7,{_doAction:function(_2ba,args){d.forEach(this._animations,function(a){a[_2ba].apply(a,args);});return this;},_onEnd:function(){if(++this._finished>this._animations.length){this._fire("onEnd");}},_call:function(_2bb,args){var t=this._pseudoAnimation;t[_2bb].apply(t,args);},play:function(_2bc,_2bd){this._finished=0;this._doAction("play",arguments);this._call("play",arguments);return this;},pause:function(){this._doAction("pause",arguments);this._call("pause",arguments);return this;},gotoPercent:function(_2be,_2bf){var ms=this.duration*_2be;d.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_2bf);});this._call("gotoPercent",arguments);return this;},stop:function(_2c0){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){d.forEach(this._connects,dojo.disconnect);}});d.extend(_2b7,_2aa);dojo.fx.combine=function(_2c1){return new _2b7(_2c1);};dojo.fx.wipeIn=function(args){var node=args.node=d.byId(args.node),s=node.style,o;var anim=d.animateProperty(d.mixin({properties:{height:{start:function(){o=s.overflow;s.overflow="hidden";if(s.visibility=="hidden"||s.display=="none"){s.height="1px";s.display="";s.visibility="";return 1;}else{var _2c2=d.style(node,"height");return Math.max(_2c2,1);}},end:function(){return node.scrollHeight;}}}},args));d.connect(anim,"onEnd",function(){s.height="auto";s.overflow=o;});return anim;};dojo.fx.wipeOut=function(args){var node=args.node=d.byId(args.node),s=node.style,o;var anim=d.animateProperty(d.mixin({properties:{height:{end:1}}},args));d.connect(anim,"beforeBegin",function(){o=s.overflow;s.overflow="hidden";s.display="";});d.connect(anim,"onEnd",function(){s.overflow=o;s.height="auto";s.display="none";});return anim;};dojo.fx.slideTo=function(args){var node=args.node=d.byId(args.node),top=null,left=null;var init=(function(n){return function(){var cs=d.getComputedStyle(n);var pos=cs.position;top=(pos=="absolute"?n.offsetTop:parseInt(cs.top)||0);left=(pos=="absolute"?n.offsetLeft:parseInt(cs.left)||0);if(pos!="absolute"&&pos!="relative"){var ret=d.position(n,true);top=ret.y;left=ret.x;n.style.position="absolute";n.style.top=top+"px";n.style.left=left+"px";}};})(node);init();var anim=d.animateProperty(d.mixin({properties:{top:args.top||0,left:args.left||0}},args));d.connect(anim,"beforeBegin",anim,init);return anim;};})();}if(!dojo._hasResource["dijit._base.manager"]){dojo._hasResource["dijit._base.manager"]=true;dojo.provide("dijit._base.manager");dojo.declare("dijit.WidgetSet",null,{constructor:function(){this._hash={};this.length=0;},add:function(_2c3){if(this._hash[_2c3.id]){throw new Error("Tried to register widget with id=="+_2c3.id+" but that id is already registered");}this._hash[_2c3.id]=_2c3;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(func,_2c4){_2c4=_2c4||dojo.global;var i=0,id;for(id in this._hash){func.call(_2c4,this._hash[id],i++,this._hash);}return this;},filter:function(_2c5,_2c6){_2c6=_2c6||dojo.global;var res=new dijit.WidgetSet(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_2c5.call(_2c6,w,i++,this._hash)){res.add(w);}}return res;},byId:function(id){return this._hash[id];},byClass:function(cls){var res=new dijit.WidgetSet(),id,_2c7;for(id in this._hash){_2c7=this._hash[id];if(_2c7.declaredClass==cls){res.add(_2c7);}}return res;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(func,_2c8){return dojo.map(this.toArray(),func,_2c8);},every:function(func,_2c9){_2c9=_2c9||dojo.global;var x=0,i;for(i in this._hash){if(!func.call(_2c9,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(func,_2ca){_2ca=_2ca||dojo.global;var x=0,i;for(i in this._hash){if(func.call(_2ca,this._hash[i],x++,this._hash)){return true;}}return false;}});dijit.registry=new dijit.WidgetSet();dijit._widgetTypeCtr={};dijit.getUniqueId=function(_2cb){var id;do{id=_2cb+"_"+(_2cb in dijit._widgetTypeCtr?++dijit._widgetTypeCtr[_2cb]:dijit._widgetTypeCtr[_2cb]=0);}while(dijit.byId(id));return dijit._scopeName=="dijit"?id:dijit._scopeName+"_"+id;};dijit.findWidgets=function(root){var _2cc=[];function _2cd(root){for(var node=root.firstChild;node;node=node.nextSibling){if(node.nodeType==1){var _2ce=node.getAttribute("widgetId");if(_2ce){var _2cf=dijit.byId(_2ce);_2cc.push(_2cf);}else{_2cd(node);}}}};_2cd(root);return _2cc;};dijit._destroyAll=function(){dijit._curFocus=null;dijit._prevFocus=null;dijit._activeStack=[];dojo.forEach(dijit.findWidgets(dojo.body()),function(_2d0){if(!_2d0._destroyed){if(_2d0.destroyRecursive){_2d0.destroyRecursive();}else{if(_2d0.destroy){_2d0.destroy();}}}});};if(dojo.isIE){dojo.addOnWindowUnload(function(){dijit._destroyAll();});}dijit.byId=function(id){return typeof id=="string"?dijit.registry._hash[id]:id;};dijit.byNode=function(node){return dijit.registry.byId(node.getAttribute("widgetId"));};dijit.getEnclosingWidget=function(node){while(node){var id=node.getAttribute&&node.getAttribute("widgetId");if(id){return dijit.byId(id);}node=node.parentNode;}return null;};dijit._isElementShown=function(elem){var _2d1=dojo.style(elem);return (_2d1.visibility!="hidden")&&(_2d1.visibility!="collapsed")&&(_2d1.display!="none")&&(dojo.attr(elem,"type")!="hidden");};dijit.isTabNavigable=function(elem){if(dojo.attr(elem,"disabled")){return false;}else{if(dojo.hasAttr(elem,"tabIndex")){return dojo.attr(elem,"tabIndex")>=0;}else{switch(elem.nodeName.toLowerCase()){case "a":return dojo.hasAttr(elem,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":if(dojo.isMoz){return elem.contentDocument.designMode=="on";}else{if(dojo.isWebKit){var doc=elem.contentDocument,body=doc&&doc.body;return body&&body.contentEditable=="true";}else{try{doc=elem.contentWindow.document;body=doc&&doc.body;return body&&body.firstChild&&body.firstChild.contentEditable=="true";}catch(e){return false;}}}default:return elem.contentEditable=="true";}}}};dijit._getTabNavigable=function(root){var _2d2,last,_2d3,_2d4,_2d5,_2d6;var _2d7=function(_2d8){dojo.query("> *",_2d8).forEach(function(_2d9){var _2da=dijit._isElementShown(_2d9);if(_2da&&dijit.isTabNavigable(_2d9)){var _2db=dojo.attr(_2d9,"tabIndex");if(!dojo.hasAttr(_2d9,"tabIndex")||_2db==0){if(!_2d2){_2d2=_2d9;}last=_2d9;}else{if(_2db>0){if(!_2d3||_2db<_2d4){_2d4=_2db;_2d3=_2d9;}if(!_2d5||_2db>=_2d6){_2d6=_2db;_2d5=_2d9;}}}}if(_2da&&_2d9.nodeName.toUpperCase()!="SELECT"){_2d7(_2d9);}});};if(dijit._isElementShown(root)){_2d7(root);}return {first:_2d2,last:last,lowest:_2d3,highest:_2d5};};dijit.getFirstInTabbingOrder=function(root){var _2dc=dijit._getTabNavigable(dojo.byId(root));return _2dc.lowest?_2dc.lowest:_2dc.first;};dijit.getLastInTabbingOrder=function(root){var _2dd=dijit._getTabNavigable(dojo.byId(root));return _2dd.last?_2dd.last:_2dd.highest;};dijit.defaultDuration=dojo.config["defaultDuration"]||200;}if(!dojo._hasResource["dijit._base.focus"]){dojo._hasResource["dijit._base.focus"]=true;dojo.provide("dijit._base.focus");dojo.mixin(dijit,{_curFocus:null,_prevFocus:null,isCollapsed:function(){return dijit.getBookmark().isCollapsed;},getBookmark:function(){var bm,rg,tg,sel=dojo.doc.selection,cf=dijit._curFocus;if(dojo.global.getSelection){sel=dojo.global.getSelection();if(sel){if(sel.isCollapsed){tg=cf?cf.tagName:"";if(tg){tg=tg.toLowerCase();if(tg=="textarea"||(tg=="input"&&(!cf.type||cf.type.toLowerCase()=="text"))){sel={start:cf.selectionStart,end:cf.selectionEnd,node:cf,pRange:true};return {isCollapsed:(sel.end<=sel.start),mark:sel};}}bm={isCollapsed:true};}else{rg=sel.getRangeAt(0);bm={isCollapsed:false,mark:rg.cloneRange()};}}}else{if(sel){tg=cf?cf.tagName:"";tg=tg.toLowerCase();if(cf&&tg&&(tg=="button"||tg=="textarea"||tg=="input")){if(sel.type&&sel.type.toLowerCase()=="none"){return {isCollapsed:true,mark:null};}else{rg=sel.createRange();return {isCollapsed:rg.text&&rg.text.length?false:true,mark:{range:rg,pRange:true}};}}bm={};try{rg=sel.createRange();bm.isCollapsed=!(sel.type=="Text"?rg.htmlText.length:rg.length);}catch(e){bm.isCollapsed=true;return bm;}if(sel.type.toUpperCase()=="CONTROL"){if(rg.length){bm.mark=[];var i=0,len=rg.length;while(i<len){bm.mark.push(rg.item(i++));}}else{bm.isCollapsed=true;bm.mark=null;}}else{bm.mark=rg.getBookmark();}}else{console.warn("No idea how to store the current selection for this browser!");}}return bm;},moveToBookmark:function(_2de){var _2df=dojo.doc,mark=_2de.mark;if(mark){if(dojo.global.getSelection){var sel=dojo.global.getSelection();if(sel&&sel.removeAllRanges){if(mark.pRange){var r=mark;var n=r.node;n.selectionStart=r.start;n.selectionEnd=r.end;}else{sel.removeAllRanges();sel.addRange(mark);}}else{console.warn("No idea how to restore selection for this browser!");}}else{if(_2df.selection&&mark){var rg;if(mark.pRange){rg=mark.range;}else{if(dojo.isArray(mark)){rg=_2df.body.createControlRange();dojo.forEach(mark,function(n){rg.addElement(n);});}else{rg=_2df.body.createTextRange();rg.moveToBookmark(mark);}}rg.select();}}}},getFocus:function(menu,_2e0){var node=!dijit._curFocus||(menu&&dojo.isDescendant(dijit._curFocus,menu.domNode))?dijit._prevFocus:dijit._curFocus;return {node:node,bookmark:(node==dijit._curFocus)&&dojo.withGlobal(_2e0||dojo.global,dijit.getBookmark),openedForWindow:_2e0};},focus:function(_2e1){if(!_2e1){return;}var node="node" in _2e1?_2e1.node:_2e1,_2e2=_2e1.bookmark,_2e3=_2e1.openedForWindow,_2e4=_2e2?_2e2.isCollapsed:false;if(node){var _2e5=(node.tagName.toLowerCase()=="iframe")?node.contentWindow:node;if(_2e5&&_2e5.focus){try{_2e5.focus();}catch(e){}}dijit._onFocusNode(node);}if(_2e2&&dojo.withGlobal(_2e3||dojo.global,dijit.isCollapsed)&&!_2e4){if(_2e3){_2e3.focus();}try{dojo.withGlobal(_2e3||dojo.global,dijit.moveToBookmark,null,[_2e2]);}catch(e2){}}},_activeStack:[],registerIframe:function(_2e6){return dijit.registerWin(_2e6.contentWindow,_2e6);},unregisterIframe:function(_2e7){dijit.unregisterWin(_2e7);},registerWin:function(_2e8,_2e9){var _2ea=function(evt){dijit._justMouseDowned=true;setTimeout(function(){dijit._justMouseDowned=false;},0);dijit._onTouchNode(_2e9||evt.target||evt.srcElement,"mouse");};var doc=dojo.isIE?_2e8.document.documentElement:_2e8.document;if(doc){if(dojo.isIE){doc.attachEvent("onmousedown",_2ea);var _2eb=function(evt){if(evt.srcElement.tagName.toLowerCase()!="#document"&&dijit.isTabNavigable(evt.srcElement)){dijit._onFocusNode(_2e9||evt.srcElement);}else{dijit._onTouchNode(_2e9||evt.srcElement);}};doc.attachEvent("onactivate",_2eb);var _2ec=function(evt){dijit._onBlurNode(_2e9||evt.srcElement);};doc.attachEvent("ondeactivate",_2ec);return function(){doc.detachEvent("onmousedown",_2ea);doc.detachEvent("onactivate",_2eb);doc.detachEvent("ondeactivate",_2ec);doc=null;};}else{doc.addEventListener("mousedown",_2ea,true);var _2ed=function(evt){dijit._onFocusNode(_2e9||evt.target);};doc.addEventListener("focus",_2ed,true);var _2ee=function(evt){dijit._onBlurNode(_2e9||evt.target);};doc.addEventListener("blur",_2ee,true);return function(){doc.removeEventListener("mousedown",_2ea,true);doc.removeEventListener("focus",_2ed,true);doc.removeEventListener("blur",_2ee,true);doc=null;};}}},unregisterWin:function(_2ef){_2ef&&_2ef();},_onBlurNode:function(node){dijit._prevFocus=dijit._curFocus;dijit._curFocus=null;if(dijit._justMouseDowned){return;}if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);}dijit._clearActiveWidgetsTimer=setTimeout(function(){delete dijit._clearActiveWidgetsTimer;dijit._setStack([]);dijit._prevFocus=null;},100);},_onTouchNode:function(node,by){if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);delete dijit._clearActiveWidgetsTimer;}var _2f0=[];try{while(node){var _2f1=dojo.attr(node,"dijitPopupParent");if(_2f1){node=dijit.byId(_2f1).domNode;}else{if(node.tagName&&node.tagName.toLowerCase()=="body"){if(node===dojo.body()){break;}node=dijit.getDocumentWindow(node.ownerDocument).frameElement;}else{var id=node.getAttribute&&node.getAttribute("widgetId");if(id){_2f0.unshift(id);}node=node.parentNode;}}}}catch(e){}dijit._setStack(_2f0,by);},_onFocusNode:function(node){if(!node){return;}if(node.nodeType==9){return;}dijit._onTouchNode(node);if(node==dijit._curFocus){return;}if(dijit._curFocus){dijit._prevFocus=dijit._curFocus;}dijit._curFocus=node;dojo.publish("focusNode",[node]);},_setStack:function(_2f2,by){var _2f3=dijit._activeStack;dijit._activeStack=_2f2;for(var _2f4=0;_2f4<Math.min(_2f3.length,_2f2.length);_2f4++){if(_2f3[_2f4]!=_2f2[_2f4]){break;}}var _2f5;for(var i=_2f3.length-1;i>=_2f4;i--){_2f5=dijit.byId(_2f3[i]);if(_2f5){_2f5._focused=false;_2f5._hasBeenBlurred=true;if(_2f5._onBlur){_2f5._onBlur(by);}if(_2f5._setStateClass){_2f5._setStateClass();}dojo.publish("widgetBlur",[_2f5,by]);}}for(i=_2f4;i<_2f2.length;i++){_2f5=dijit.byId(_2f2[i]);if(_2f5){_2f5._focused=true;if(_2f5._onFocus){_2f5._onFocus(by);}if(_2f5._setStateClass){_2f5._setStateClass();}dojo.publish("widgetFocus",[_2f5,by]);}}}});dojo.addOnLoad(function(){var _2f6=dijit.registerWin(window);if(dojo.isIE){dojo.addOnWindowUnload(function(){dijit.unregisterWin(_2f6);_2f6=null;});}});}if(!dojo._hasResource["dojo.AdapterRegistry"]){dojo._hasResource["dojo.AdapterRegistry"]=true;dojo.provide("dojo.AdapterRegistry");dojo.AdapterRegistry=function(_2f7){this.pairs=[];this.returnWrappers=_2f7||false;};dojo.extend(dojo.AdapterRegistry,{register:function(name,_2f8,wrap,_2f9,_2fa){this.pairs[((_2fa)?"unshift":"push")]([name,_2f8,wrap,_2f9]);},match:function(){for(var i=0;i<this.pairs.length;i++){var pair=this.pairs[i];if(pair[1].apply(this,arguments)){if((pair[3])||(this.returnWrappers)){return pair[2];}else{return pair[2].apply(this,arguments);}}}throw new Error("No match found");},unregister:function(name){for(var i=0;i<this.pairs.length;i++){var pair=this.pairs[i];if(pair[0]==name){this.pairs.splice(i,1);return true;}}return false;}});}if(!dojo._hasResource["dijit._base.place"]){dojo._hasResource["dijit._base.place"]=true;dojo.provide("dijit._base.place");dijit.getViewport=function(){var _2fb=(dojo.doc.compatMode=="BackCompat")?dojo.body():dojo.doc.documentElement;var _2fc=dojo._docScroll();return {w:_2fb.clientWidth,h:_2fb.clientHeight,l:_2fc.x,t:_2fc.y};};dijit.placeOnScreen=function(node,pos,_2fd,_2fe){var _2ff=dojo.map(_2fd,function(_300){var c={corner:_300,pos:{x:pos.x,y:pos.y}};if(_2fe){c.pos.x+=_300.charAt(1)=="L"?_2fe.x:-_2fe.x;c.pos.y+=_300.charAt(0)=="T"?_2fe.y:-_2fe.y;}return c;});return dijit._place(node,_2ff);};dijit._place=function(node,_301,_302){var view=dijit.getViewport();if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){dojo.body().appendChild(node);}var best=null;dojo.some(_301,function(_303){var _304=_303.corner;var pos=_303.pos;if(_302){_302(node,_303.aroundCorner,_304);}var _305=node.style;var _306=_305.display;var _307=_305.visibility;_305.visibility="hidden";_305.display="";var mb=dojo.marginBox(node);_305.display=_306;_305.visibility=_307;var _308=Math.max(view.l,_304.charAt(1)=="L"?pos.x:(pos.x-mb.w)),_309=Math.max(view.t,_304.charAt(0)=="T"?pos.y:(pos.y-mb.h)),endX=Math.min(view.l+view.w,_304.charAt(1)=="L"?(_308+mb.w):pos.x),endY=Math.min(view.t+view.h,_304.charAt(0)=="T"?(_309+mb.h):pos.y),_30a=endX-_308,_30b=endY-_309,_30c=(mb.w-_30a)+(mb.h-_30b);if(best==null||_30c<best.overflow){best={corner:_304,aroundCorner:_303.aroundCorner,x:_308,y:_309,w:_30a,h:_30b,overflow:_30c};}return !_30c;});node.style.left=best.x+"px";node.style.top=best.y+"px";if(best.overflow&&_302){_302(node,best.aroundCorner,best.corner);}return best;};dijit.placeOnScreenAroundNode=function(node,_30d,_30e,_30f){_30d=dojo.byId(_30d);var _310=_30d.style.display;_30d.style.display="";var _311=dojo.position(_30d,true);_30d.style.display=_310;return dijit._placeOnScreenAroundRect(node,_311.x,_311.y,_311.w,_311.h,_30e,_30f);};dijit.placeOnScreenAroundRectangle=function(node,_312,_313,_314){return dijit._placeOnScreenAroundRect(node,_312.x,_312.y,_312.width,_312.height,_313,_314);};dijit._placeOnScreenAroundRect=function(node,x,y,_315,_316,_317,_318){var _319=[];for(var _31a in _317){_319.push({aroundCorner:_31a,corner:_317[_31a],pos:{x:x+(_31a.charAt(1)=="L"?0:_315),y:y+(_31a.charAt(0)=="T"?0:_316)}});}return dijit._place(node,_319,_318);};dijit.placementRegistry=new dojo.AdapterRegistry();dijit.placementRegistry.register("node",function(n,x){return typeof x=="object"&&typeof x.offsetWidth!="undefined"&&typeof x.offsetHeight!="undefined";},dijit.placeOnScreenAroundNode);dijit.placementRegistry.register("rect",function(n,x){return typeof x=="object"&&"x" in x&&"y" in x&&"width" in x&&"height" in x;},dijit.placeOnScreenAroundRectangle);dijit.placeOnScreenAroundElement=function(node,_31b,_31c,_31d){return dijit.placementRegistry.match.apply(dijit.placementRegistry,arguments);};dijit.getPopupAlignment=function(_31e,_31f){var _320={};dojo.forEach(_31e,function(pos){switch(pos){case "after":_320[_31f?"BR":"BL"]=_31f?"BL":"BR";break;case "before":_320[_31f?"BL":"BR"]=_31f?"BR":"BL";break;case "below":_320[_31f?"BL":"BR"]=_31f?"TL":"TR";_320[_31f?"BR":"BL"]=_31f?"TR":"TL";break;case "above":default:_320[_31f?"TL":"TR"]=_31f?"BL":"BR";_320[_31f?"TR":"TL"]=_31f?"BR":"BL";break;}});return _320;};dijit.getPopupAroundAlignment=function(_321,_322){var _323={};dojo.forEach(_321,function(pos){switch(pos){case "after":_323[_322?"BR":"BL"]=_322?"BL":"BR";break;case "before":_323[_322?"BL":"BR"]=_322?"BR":"BL";break;case "below":_323[_322?"BL":"BR"]=_322?"TL":"TR";_323[_322?"BR":"BL"]=_322?"TR":"TL";break;case "above":default:_323[_322?"TL":"TR"]=_322?"BL":"BR";_323[_322?"TR":"TL"]=_322?"BR":"BL";break;}});return _323;};}if(!dojo._hasResource["dijit._base.window"]){dojo._hasResource["dijit._base.window"]=true;dojo.provide("dijit._base.window");dijit.getDocumentWindow=function(doc){if(dojo.isIE&&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;};}if(!dojo._hasResource["dijit._base.popup"]){dojo._hasResource["dijit._base.popup"]=true;dojo.provide("dijit._base.popup");dijit.popup=new function(){var _324=[],_325=1000,_326=1;this.moveOffScreen=function(node){var s=node.style;s.visibility="hidden";s.position="absolute";s.top="-9999px";if(s.display=="none"){s.display="";}dojo.body().appendChild(node);};var _327=function(){for(var pi=_324.length-1;pi>0&&_324[pi].parent===_324[pi-1].widget;pi--){}return _324[pi];};var _328=[];this.open=function(args){var _329=args.popup,_32a=args.orient||(dojo._isBodyLtr()?{"BL":"TL","BR":"TR","TL":"BL","TR":"BR"}:{"BR":"TR","BL":"TL","TR":"BR","TL":"BL"}),_32b=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+_326++);var _32c=_328.pop(),_32d,_32e;if(!_32c){_32d=dojo.create("div",{"class":"dijitPopup"},dojo.body());dijit.setWaiRole(_32d,"presentation");}else{_32d=_32c[0];_32e=_32c[1];}dojo.attr(_32d,{id:id,style:{zIndex:_325+_324.length,visibility:"hidden",top:"-9999px"},dijitPopupParent:args.parent?args.parent.id:""});var s=_329.domNode.style;s.display="";s.visibility="";s.position="";s.top="0px";_32d.appendChild(_329.domNode);if(!_32e){_32e=new dijit.BackgroundIframe(_32d);}else{_32e.resize(_32d);}var best=_32b?dijit.placeOnScreenAroundElement(_32d,_32b,_32a,_329.orient?dojo.hitch(_329,"orient"):null):dijit.placeOnScreen(_32d,args,_32a=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],args.padding);_32d.style.visibility="visible";var _32f=[];_32f.push(dojo.connect(_32d,"onkeypress",this,function(evt){if(evt.charOrCode==dojo.keys.ESCAPE&&args.onCancel){dojo.stopEvent(evt);args.onCancel();}else{if(evt.charOrCode===dojo.keys.TAB){dojo.stopEvent(evt);var _330=_327();if(_330&&_330.onCancel){_330.onCancel();}}}}));if(_329.onCancel){_32f.push(dojo.connect(_329,"onCancel",args.onCancel));}_32f.push(dojo.connect(_329,_329.onExecute?"onExecute":"onChange",function(){var _331=_327();if(_331&&_331.onExecute){_331.onExecute();}}));_324.push({wrapper:_32d,iframe:_32e,widget:_329,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_32f});if(_329.onOpen){_329.onOpen(best);}return best;};this.close=function(_332){while(dojo.some(_324,function(elem){return elem.widget==_332;})){var top=_324.pop(),_333=top.wrapper,_334=top.iframe,_335=top.widget,_336=top.onClose;if(_335.onClose){_335.onClose();}dojo.forEach(top.handlers,dojo.disconnect);if(_335&&_335.domNode){this.moveOffScreen(_335.domNode);}_333.style.top="-9999px";_333.style.visibility="hidden";_328.push([_333,_334]);if(_336){_336();}}};}();dijit._frames=new function(){var _337=[];this.pop=function(){var _338;if(_337.length){_338=_337.pop();_338.style.display="";}else{if(dojo.isIE){var burl=dojo.config["dojoBlankHtmlUrl"]||(dojo.moduleUrl("dojo","resources/blank.html")+"")||"javascript:\"\"";var html="<iframe src='"+burl+"'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_338=dojo.doc.createElement(html);}else{_338=dojo.create("iframe");_338.src="javascript:\"\"";_338.className="dijitBackgroundIframe";dojo.style(_338,"opacity",0.1);}_338.tabIndex=-1;}return _338;};this.push=function(_339){_339.style.display="none";_337.push(_339);};}();dijit.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if(dojo.isIE||dojo.isMoz){var _33a=dijit._frames.pop();node.appendChild(_33a);if(dojo.isIE<7){this.resize(node);this._conn=dojo.connect(node,"onresize",this,function(){this.resize(node);});}else{dojo.style(_33a,{width:"100%",height:"100%"});}this.iframe=_33a;}};dojo.extend(dijit.BackgroundIframe,{resize:function(node){if(this.iframe&&dojo.isIE<7){dojo.style(this.iframe,{width:node.offsetWidth+"px",height:node.offsetHeight+"px"});}},destroy:function(){if(this._conn){dojo.disconnect(this._conn);this._conn=null;}if(this.iframe){dijit._frames.push(this.iframe);delete this.iframe;}}});}if(!dojo._hasResource["dijit._base.scroll"]){dojo._hasResource["dijit._base.scroll"]=true;dojo.provide("dijit._base.scroll");dijit.scrollIntoView=function(node,pos){try{node=dojo.byId(node);var doc=node.ownerDocument||dojo.doc,body=doc.body||dojo.body(),html=doc.documentElement||body.parentNode,isIE=dojo.isIE,isWK=dojo.isWebKit;if((!(dojo.isMoz||isIE||isWK)||node==body||node==html)&&(typeof node.scrollIntoView!="undefined")){node.scrollIntoView(false);return;}var _33b=doc.compatMode=="BackCompat",_33c=_33b?body:html,_33d=isWK?body:_33c,_33e=_33c.clientWidth,_33f=_33c.clientHeight,rtl=!dojo._isBodyLtr(),_340=pos||dojo.position(node),el=node.parentNode,_341=function(el){return ((isIE<=6||(isIE&&_33b))?false:(dojo.style(el,"position").toLowerCase()=="fixed"));};if(_341(node)){return;}while(el){if(el==body){el=_33d;}var _342=dojo.position(el),_343=_341(el);with(_342){if(el==_33d){w=_33e,h=_33f;if(_33d==html&&isIE&&rtl){x+=_33d.offsetWidth-w;}if(x<0||!isIE){x=0;}if(y<0||!isIE){y=0;}}else{var pb=dojo._getPadBorderExtents(el);w-=pb.w;h-=pb.h;x+=pb.l;y+=pb.t;}with(el){if(el!=_33d){var _344=clientWidth,_345=w-_344;if(_344>0&&_345>0){w=_344;if(isIE&&rtl){x+=_345;}}_344=clientHeight;_345=h-_344;if(_344>0&&_345>0){h=_344;}}if(_343){if(y<0){h+=y,y=0;}if(x<0){w+=x,x=0;}if(y+h>_33f){h=_33f-y;}if(x+w>_33e){w=_33e-x;}}var l=_340.x-x,t=_340.y-Math.max(y,0),r=l+_340.w-w,bot=t+_340.h-h;if(r*l>0){var s=Math[l<0?"max":"min"](l,r);_340.x+=scrollLeft;scrollLeft+=(isIE>=8&&!_33b&&rtl)?-s:s;_340.x-=scrollLeft;}if(bot*t>0){_340.y+=scrollTop;scrollTop+=Math[t<0?"max":"min"](t,bot);_340.y-=scrollTop;}}}el=(el!=_33d)&&!_343&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);node.scrollIntoView(false);}};}if(!dojo._hasResource["dijit._base.sniff"]){dojo._hasResource["dijit._base.sniff"]=true;dojo.provide("dijit._base.sniff");(function(){var d=dojo,html=d.doc.documentElement,ie=d.isIE,_346=d.isOpera,maj=Math.floor,ff=d.isFF,_347=d.boxModel.replace(/-/,""),_348={dj_ie:ie,dj_ie6:maj(ie)==6,dj_ie7:maj(ie)==7,dj_ie8:maj(ie)==8,dj_iequirks:ie&&d.isQuirks,dj_opera:_346,dj_khtml:d.isKhtml,dj_webkit:d.isWebKit,dj_safari:d.isSafari,dj_chrome:d.isChrome,dj_gecko:d.isMozilla,dj_ff3:maj(ff)==3};_348["dj_"+_347]=true;for(var p in _348){if(_348[p]){if(html.className){html.className+=" "+p;}else{html.className=p;}}}dojo._loaders.unshift(function(){if(!dojo._isBodyLtr()){html.className+=" dijitRtl";for(var p in _348){if(_348[p]){html.className+=" "+p+"-rtl";}}}});})();}if(!dojo._hasResource["dijit._base.typematic"]){dojo._hasResource["dijit._base.typematic"]=true;dojo.provide("dijit._base.typematic");dijit.typematic={_fireEventAndReload:function(){this._timer=null;this._callback(++this._count,this._node,this._evt);this._currentTimeout=Math.max(this._currentTimeout<0?this._initialDelay:(this._subsequentDelay>1?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay)),10);this._timer=setTimeout(dojo.hitch(this,"_fireEventAndReload"),this._currentTimeout);},trigger:function(evt,_349,node,_34a,obj,_34b,_34c){if(obj!=this._obj){this.stop();this._initialDelay=_34c||500;this._subsequentDelay=_34b||0.9;this._obj=obj;this._evt=evt;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=dojo.hitch(_349,_34a);this._fireEventAndReload();}},stop:function(){if(this._timer){clearTimeout(this._timer);this._timer=null;}if(this._obj){this._callback(-1,this._node,this._evt);this._obj=null;}},addKeyListener:function(node,_34d,_34e,_34f,_350,_351){if(_34d.keyCode){_34d.charOrCode=_34d.keyCode;dojo.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}else{if(_34d.charCode){_34d.charOrCode=String.fromCharCode(_34d.charCode);dojo.deprecated("charCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}}return [dojo.connect(node,"onkeypress",this,function(evt){if(evt.charOrCode==_34d.charOrCode&&(_34d.ctrlKey===undefined||_34d.ctrlKey==evt.ctrlKey)&&(_34d.altKey===undefined||_34d.altKey==evt.altKey)&&(_34d.metaKey===undefined||_34d.metaKey==(evt.metaKey||false))&&(_34d.shiftKey===undefined||_34d.shiftKey==evt.shiftKey)){dojo.stopEvent(evt);dijit.typematic.trigger(_34d,_34e,node,_34f,_34d,_350,_351);}else{if(dijit.typematic._obj==_34d){dijit.typematic.stop();}}}),dojo.connect(node,"onkeyup",this,function(evt){if(dijit.typematic._obj==_34d){dijit.typematic.stop();}})];},addMouseListener:function(node,_352,_353,_354,_355){var dc=dojo.connect;return [dc(node,"mousedown",this,function(evt){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_352,node,_353,node,_354,_355);}),dc(node,"mouseup",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(node,"mouseout",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(node,"mousemove",this,function(evt){dojo.stopEvent(evt);}),dc(node,"dblclick",this,function(evt){dojo.stopEvent(evt);if(dojo.isIE){dijit.typematic.trigger(evt,_352,node,_353,node,_354,_355);setTimeout(dojo.hitch(this,dijit.typematic.stop),50);}})];},addListener:function(_356,_357,_358,_359,_35a,_35b,_35c){return this.addKeyListener(_357,_358,_359,_35a,_35b,_35c).concat(this.addMouseListener(_356,_359,_35a,_35b,_35c));}};}if(!dojo._hasResource["dijit._base.wai"]){dojo._hasResource["dijit._base.wai"]=true;dojo.provide("dijit._base.wai");dijit.wai={onload:function(){var div=dojo.create("div",{id:"a11yTestNode",style:{cssText:"border: 1px solid;"+"border-color:red green;"+"position: absolute;"+"height: 5px;"+"top: -999px;"+"background-image: url(\""+(dojo.config.blankGif||dojo.moduleUrl("dojo","resources/blank.gif"))+"\");"}},dojo.body());var cs=dojo.getComputedStyle(div);if(cs){var _35d=cs.backgroundImage;var _35e=(cs.borderTopColor==cs.borderRightColor)||(_35d!=null&&(_35d=="none"||_35d=="url(invalid-url:)"));dojo[_35e?"addClass":"removeClass"](dojo.body(),"dijit_a11y");if(dojo.isIE){div.outerHTML="";}else{dojo.body().removeChild(div);}}}};if(dojo.isIE||dojo.isMoz){dojo._loaders.unshift(dijit.wai.onload);}dojo.mixin(dijit,{_XhtmlRoles:/banner|contentinfo|definition|main|navigation|search|note|secondary|seealso/,hasWaiRole:function(elem,role){var _35f=this.getWaiRole(elem);return role?(_35f.indexOf(role)>-1):(_35f.length>0);},getWaiRole:function(elem){return dojo.trim((dojo.attr(elem,"role")||"").replace(this._XhtmlRoles,"").replace("wairole:",""));},setWaiRole:function(elem,role){var _360=dojo.attr(elem,"role")||"";if(!this._XhtmlRoles.test(_360)){dojo.attr(elem,"role",role);}else{if((" "+_360+" ").indexOf(" "+role+" ")<0){var _361=dojo.trim(_360.replace(this._XhtmlRoles,""));var _362=dojo.trim(_360.replace(_361,""));dojo.attr(elem,"role",_362+(_362?" ":"")+role);}}},removeWaiRole:function(elem,role){var _363=dojo.attr(elem,"role");if(!_363){return;}if(role){var t=dojo.trim((" "+_363+" ").replace(" "+role+" "," "));dojo.attr(elem,"role",t);}else{elem.removeAttribute("role");}},hasWaiState:function(elem,_364){return elem.hasAttribute?elem.hasAttribute("aria-"+_364):!!elem.getAttribute("aria-"+_364);},getWaiState:function(elem,_365){return elem.getAttribute("aria-"+_365)||"";},setWaiState:function(elem,_366,_367){elem.setAttribute("aria-"+_366,_367);},removeWaiState:function(elem,_368){elem.removeAttribute("aria-"+_368);}});}if(!dojo._hasResource["dijit._base"]){dojo._hasResource["dijit._base"]=true;dojo.provide("dijit._base");}if(!dojo._hasResource["dijit._Widget"]){dojo._hasResource["dijit._Widget"]=true;dojo.provide("dijit._Widget");dojo.require("dijit._base");dojo.connect(dojo,"_connect",function(_369,_36a){if(_369&&dojo.isFunction(_369._onConnect)){_369._onConnect(_36a);}});dijit._connectOnUseEventHandler=function(_36b){};dijit._lastKeyDownNode=null;if(dojo.isIE){(function(){var _36c=function(evt){dijit._lastKeyDownNode=evt.srcElement;};dojo.doc.attachEvent("onkeydown",_36c);dojo.addOnWindowUnload(function(){dojo.doc.detachEvent("onkeydown",_36c);});})();}else{dojo.doc.addEventListener("keydown",function(evt){dijit._lastKeyDownNode=evt.target;},true);}(function(){var _36d={},_36e=function(_36f){var dc=_36f.declaredClass;if(!_36d[dc]){var r=[],_370,_371=_36f.constructor.prototype;for(var _372 in _371){if(dojo.isFunction(_371[_372])&&(_370=_372.match(/^_set([a-zA-Z]*)Attr$/))&&_370[1]){r.push(_370[1].charAt(0).toLowerCase()+_370[1].substr(1));}}_36d[dc]=r;}return _36d[dc]||[];};dojo.declare("dijit._Widget",null,{id:"",lang:"",dir:"","class":"",style:"",title:"",tooltip:"",srcNodeRef:null,domNode:null,containerNode:null,attributeMap:{id:"",dir:"",lang:"","class":"",style:"",title:""},_deferredConnects:{onClick:"",onDblClick:"",onKeyDown:"",onKeyPress:"",onKeyUp:"",onMouseMove:"",onMouseDown:"",onMouseOut:"",onMouseOver:"",onMouseLeave:"",onMouseEnter:"",onMouseUp:""},onClick:dijit._connectOnUseEventHandler,onDblClick:dijit._connectOnUseEventHandler,onKeyDown:dijit._connectOnUseEventHandler,onKeyPress:dijit._connectOnUseEventHandler,onKeyUp:dijit._connectOnUseEventHandler,onMouseDown:dijit._connectOnUseEventHandler,onMouseMove:dijit._connectOnUseEventHandler,onMouseOut:dijit._connectOnUseEventHandler,onMouseOver:dijit._connectOnUseEventHandler,onMouseLeave:dijit._connectOnUseEventHandler,onMouseEnter:dijit._connectOnUseEventHandler,onMouseUp:dijit._connectOnUseEventHandler,_blankGif:(dojo.config.blankGif||dojo.moduleUrl("dojo","resources/blank.gif")).toString(),postscript:function(_373,_374){this.create(_373,_374);},create:function(_375,_376){this.srcNodeRef=dojo.byId(_376);this._connects=[];this._subscribes=[];this._deferredConnects=dojo.clone(this._deferredConnects);for(var attr in this.attributeMap){delete this._deferredConnects[attr];}for(attr in this._deferredConnects){if(this[attr]!==dijit._connectOnUseEventHandler){delete this._deferredConnects[attr];}}if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_375){this.params=_375;dojo.mixin(this,_375);}this.postMixInProperties();if(!this.id){this.id=dijit.getUniqueId(this.declaredClass.replace(/\./g,"_"));}dijit.registry.add(this);this.buildRendering();if(this.domNode){this._applyAttributes();var _377=this.srcNodeRef;if(_377&&_377.parentNode){_377.parentNode.replaceChild(this.domNode,_377);}for(attr in this.params){this._onConnect(attr);}}if(this.domNode){this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(this.srcNodeRef&&!this.srcNodeRef.parentNode){delete this.srcNodeRef;}this._created=true;},_applyAttributes:function(){var _378=function(attr,_379){if((_379.params&&attr in _379.params)||_379[attr]){_379.attr(attr,_379[attr]);}};for(var attr in this.attributeMap){_378(attr,this);}dojo.forEach(_36e(this),function(a){if(!(a in this.attributeMap)){_378(a,this);}},this);},postMixInProperties:function(){},buildRendering:function(){this.domNode=this.srcNodeRef||dojo.create("div");},postCreate:function(){},startup:function(){this._started=true;},destroyRecursive:function(_37a){this._beingDestroyed=true;this.destroyDescendants(_37a);this.destroy(_37a);},destroy:function(_37b){this._beingDestroyed=true;this.uninitialize();var d=dojo,dfe=d.forEach,dun=d.unsubscribe;dfe(this._connects,function(_37c){dfe(_37c,d.disconnect);});dfe(this._subscribes,function(_37d){dun(_37d);});dfe(this._supportingWidgets||[],function(w){if(w.destroyRecursive){w.destroyRecursive();}else{if(w.destroy){w.destroy();}}});this.destroyRendering(_37b);dijit.registry.remove(this.id);this._destroyed=true;},destroyRendering:function(_37e){if(this.bgIframe){this.bgIframe.destroy(_37e);delete this.bgIframe;}if(this.domNode){if(_37e){dojo.removeAttr(this.domNode,"widgetId");}else{dojo.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_37e){dojo.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_37f){dojo.forEach(this.getChildren(),function(_380){if(_380.destroyRecursive){_380.destroyRecursive(_37f);}});},uninitialize:function(){return false;},onFocus:function(){},onBlur:function(){},_onFocus:function(e){this.onFocus();},_onBlur:function(){this.onBlur();},_onConnect:function(_381){if(_381 in this._deferredConnects){var _382=this[this._deferredConnects[_381]||"domNode"];this.connect(_382,_381.toLowerCase(),_381);delete this._deferredConnects[_381];}},_setClassAttr:function(_383){var _384=this[this.attributeMap["class"]||"domNode"];dojo.removeClass(_384,this["class"]);this["class"]=_383;dojo.addClass(_384,_383);},_setStyleAttr:function(_385){var _386=this[this.attributeMap.style||"domNode"];if(dojo.isObject(_385)){dojo.style(_386,_385);}else{if(_386.style.cssText){_386.style.cssText+="; "+_385;}else{_386.style.cssText=_385;}}this.style=_385;},setAttribute:function(attr,_387){dojo.deprecated(this.declaredClass+"::setAttribute() is deprecated. Use attr() instead.","","2.0");this.attr(attr,_387);},_attrToDom:function(attr,_388){var _389=this.attributeMap[attr];dojo.forEach(dojo.isArray(_389)?_389:[_389],function(_38a){var _38b=this[_38a.node||_38a||"domNode"];var type=_38a.type||"attribute";switch(type){case "attribute":if(dojo.isFunction(_388)){_388=dojo.hitch(this,_388);}var _38c=_38a.attribute?_38a.attribute:(/^on[A-Z][a-zA-Z]*$/.test(attr)?attr.toLowerCase():attr);dojo.attr(_38b,_38c,_388);break;case "innerText":_38b.innerHTML="";_38b.appendChild(dojo.doc.createTextNode(_388));break;case "innerHTML":_38b.innerHTML=_388;break;case "class":dojo.removeClass(_38b,this[attr]);dojo.addClass(_38b,_388);break;}},this);this[attr]=_388;},attr:function(name,_38d){var args=arguments.length;if(args==1&&!dojo.isString(name)){for(var x in name){this.attr(x,name[x]);}return this;}var _38e=this._getAttrNames(name);if(args>=2){if(this[_38e.s]){args=dojo._toArray(arguments,1);return this[_38e.s].apply(this,args)||this;}else{if(name in this.attributeMap){this._attrToDom(name,_38d);}this[name]=_38d;}return this;}else{return this[_38e.g]?this[_38e.g]():this[name];}},_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}var uc=name.charAt(0).toUpperCase()+name.substr(1);return (apn[name]={n:name+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr"});},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getDescendants:function(){return this.containerNode?dojo.query("[widgetId]",this.containerNode).map(dijit.byNode):[];},getChildren:function(){return this.containerNode?dijit.findWidgets(this.containerNode):[];},nodesWithKeyClick:["input","button"],connect:function(obj,_38f,_390){var d=dojo,dc=d._connect,_391=[];if(_38f=="ondijitclick"){if(!this.nodesWithKeyClick[obj.tagName.toLowerCase()]){var m=d.hitch(this,_390);_391.push(dc(obj,"onkeydown",this,function(e){if((e.keyCode==d.keys.ENTER||e.keyCode==d.keys.SPACE)&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey){dijit._lastKeyDownNode=e.target;d.stopEvent(e);}}),dc(obj,"onkeyup",this,function(e){if((e.keyCode==d.keys.ENTER||e.keyCode==d.keys.SPACE)&&e.target===dijit._lastKeyDownNode&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey){dijit._lastKeyDownNode=null;return m(e);}}));}_38f="onclick";}_391.push(dc(obj,_38f,this,_390));this._connects.push(_391);return _391;},disconnect:function(_392){for(var i=0;i<this._connects.length;i++){if(this._connects[i]==_392){dojo.forEach(_392,dojo.disconnect);this._connects.splice(i,1);return;}}},subscribe:function(_393,_394){var d=dojo,_395=d.subscribe(_393,this,_394);this._subscribes.push(_395);return _395;},unsubscribe:function(_396){for(var i=0;i<this._subscribes.length;i++){if(this._subscribes[i]==_396){dojo.unsubscribe(_396);this._subscribes.splice(i,1);return;}}},isLeftToRight:function(){return dojo._isBodyLtr();},isFocusable:function(){return this.focus&&(dojo.style(this.domNode,"display")!="none");},placeAt:function(_397,_398){if(_397.declaredClass&&_397.addChild){_397.addChild(this,_398);}else{dojo.place(this.domNode,_397,_398);}return this;},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){}});})();}if(!dojo._hasResource["dojo.string"]){dojo._hasResource["dojo.string"]=true;dojo.provide("dojo.string");dojo.string.rep=function(str,num){if(num<=0||!str){return "";}var buf=[];for(;;){if(num&1){buf.push(str);}if(!(num>>=1)){break;}str+=str;}return buf.join("");};dojo.string.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=dojo.string.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};dojo.string.substitute=function(_399,map,_39a,_39b){_39b=_39b||dojo.global;_39a=_39a?dojo.hitch(_39b,_39a):function(v){return v;};return _399.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_39c,key,_39d){var _39e=dojo.getObject(key,false,map);if(_39d){_39e=dojo.getObject(_39d,false,_39b).call(_39b,_39e,key);}return _39a(_39e,key).toString();});};dojo.string.trim=String.prototype.trim?dojo.trim:function(str){str=str.replace(/^\s+/,"");for(var i=str.length-1;i>=0;i--){if(/\S/.test(str.charAt(i))){str=str.substring(0,i+1);break;}}return str;};}if(!dojo._hasResource["dojo.date.stamp"]){dojo._hasResource["dojo.date.stamp"]=true;dojo.provide("dojo.date.stamp");dojo.date.stamp.fromISOString=function(_39f,_3a0){if(!dojo.date.stamp._isoRegExp){dojo.date.stamp._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _3a1=dojo.date.stamp._isoRegExp.exec(_39f),_3a2=null;if(_3a1){_3a1.shift();if(_3a1[1]){_3a1[1]--;}if(_3a1[6]){_3a1[6]*=1000;}if(_3a0){_3a0=new Date(_3a0);dojo.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){return _3a0["get"+prop]();}).forEach(function(_3a3,_3a4){if(_3a1[_3a4]===undefined){_3a1[_3a4]=_3a3;}});}_3a2=new Date(_3a1[0]||1970,_3a1[1]||0,_3a1[2]||1,_3a1[3]||0,_3a1[4]||0,_3a1[5]||0,_3a1[6]||0);if(_3a1[0]<100){_3a2.setFullYear(_3a1[0]||1970);}var _3a5=0,_3a6=_3a1[7]&&_3a1[7].charAt(0);if(_3a6!="Z"){_3a5=((_3a1[8]||0)*60)+(Number(_3a1[9])||0);if(_3a6!="-"){_3a5*=-1;}}if(_3a6){_3a5-=_3a2.getTimezoneOffset();}if(_3a5){_3a2.setTime(_3a2.getTime()+_3a5*60000);}}return _3a2;};dojo.date.stamp.toISOString=function(_3a7,_3a8){var _3a9=function(n){return (n<10)?"0"+n:n;};_3a8=_3a8||{};var _3aa=[],_3ab=_3a8.zulu?"getUTC":"get",date="";if(_3a8.selector!="time"){var year=_3a7[_3ab+"FullYear"]();date=["0000".substr((year+"").length)+year,_3a9(_3a7[_3ab+"Month"]()+1),_3a9(_3a7[_3ab+"Date"]())].join("-");}_3aa.push(date);if(_3a8.selector!="date"){var time=[_3a9(_3a7[_3ab+"Hours"]()),_3a9(_3a7[_3ab+"Minutes"]()),_3a9(_3a7[_3ab+"Seconds"]())].join(":");var _3ac=_3a7[_3ab+"Milliseconds"]();if(_3a8.milliseconds){time+="."+(_3ac<100?"0":"")+_3a9(_3ac);}if(_3a8.zulu){time+="Z";}else{if(_3a8.selector!="time"){var _3ad=_3a7.getTimezoneOffset();var _3ae=Math.abs(_3ad);time+=(_3ad>0?"-":"+")+_3a9(Math.floor(_3ae/60))+":"+_3a9(_3ae%60);}}_3aa.push(time);}return _3aa.join("T");};}if(!dojo._hasResource["dojo.parser"]){dojo._hasResource["dojo.parser"]=true;dojo.provide("dojo.parser");dojo.parser=new function(){var d=dojo;this._attrName=d._scopeName+"Type";this._query="["+this._attrName+"]";function _3af(_3b0){if(d.isString(_3b0)){return "string";}if(typeof _3b0=="number"){return "number";}if(typeof _3b0=="boolean"){return "boolean";}if(d.isFunction(_3b0)){return "function";}if(d.isArray(_3b0)){return "array";}if(_3b0 instanceof Date){return "date";}if(_3b0 instanceof d._Url){return "url";}return "object";};function _3b1(_3b2,type){switch(type){case "string":return _3b2;case "number":return _3b2.length?Number(_3b2):NaN;case "boolean":return typeof _3b2=="boolean"?_3b2:!(_3b2.toLowerCase()=="false");case "function":if(d.isFunction(_3b2)){_3b2=_3b2.toString();_3b2=d.trim(_3b2.substring(_3b2.indexOf("{")+1,_3b2.length-1));}try{if(_3b2.search(/[^\w\.]+/i)!=-1){return new Function(_3b2);}else{return d.getObject(_3b2,false);}}catch(e){return new Function();}case "array":return _3b2?_3b2.split(/\s*,\s*/):[];case "date":switch(_3b2){case "":return new Date("");case "now":return new Date();default:return d.date.stamp.fromISOString(_3b2);}case "url":return d.baseUrl+_3b2;default:return d.fromJson(_3b2);}};var _3b3={};dojo.connect(dojo,"extend",function(){_3b3={};});function _3b4(_3b5){if(!_3b3[_3b5]){var cls=d.getObject(_3b5);if(!d.isFunction(cls)){throw new Error("Could not load class '"+_3b5+"'. Did you spell the name correctly and use a full path, like 'dijit.form.Button'?");}var _3b6=cls.prototype;var _3b7={},_3b8={};for(var name in _3b6){if(name.charAt(0)=="_"){continue;}if(name in _3b8){continue;}var _3b9=_3b6[name];_3b7[name]=_3af(_3b9);}_3b3[_3b5]={cls:cls,params:_3b7};}return _3b3[_3b5];};this._functionFromScript=function(_3ba){var _3bb="";var _3bc="";var _3bd=_3ba.getAttribute("args");if(_3bd){d.forEach(_3bd.split(/\s*,\s*/),function(part,idx){_3bb+="var "+part+" = arguments["+idx+"]; ";});}var _3be=_3ba.getAttribute("with");if(_3be&&_3be.length){d.forEach(_3be.split(/\s*,\s*/),function(part){_3bb+="with("+part+"){";_3bc+="}";});}return new Function(_3bb+_3ba.innerHTML+_3bc);};this.instantiate=function(_3bf,_3c0,args){var _3c1=[],dp=dojo.parser;_3c0=_3c0||{};args=args||{};d.forEach(_3bf,function(node){if(!node){return;}var type=dp._attrName in _3c0?_3c0[dp._attrName]:node.getAttribute(dp._attrName);if(!type||!type.length){return;}var _3c2=_3b4(type),_3c3=_3c2.cls,ps=_3c3._noScript||_3c3.prototype._noScript;var _3c4={},_3c5=node.attributes;for(var name in _3c2.params){var item=name in _3c0?{value:_3c0[name],specified:true}:_3c5.getNamedItem(name);if(!item||(!item.specified&&(!dojo.isIE||name.toLowerCase()!="value"))){continue;}var _3c6=item.value;switch(name){case "class":_3c6="className" in _3c0?_3c0.className:node.className;break;case "style":_3c6="style" in _3c0?_3c0.style:(node.style&&node.style.cssText);}var _3c7=_3c2.params[name];if(typeof _3c6=="string"){_3c4[name]=_3b1(_3c6,_3c7);}else{_3c4[name]=_3c6;}}if(!ps){var _3c8=[],_3c9=[];d.query("> script[type^='dojo/']",node).orphan().forEach(function(_3ca){var _3cb=_3ca.getAttribute("event"),type=_3ca.getAttribute("type"),nf=d.parser._functionFromScript(_3ca);if(_3cb){if(type=="dojo/connect"){_3c8.push({event:_3cb,func:nf});}else{_3c4[_3cb]=nf;}}else{_3c9.push(nf);}});}var _3cc=_3c3.markupFactory||_3c3.prototype&&_3c3.prototype.markupFactory;var _3cd=_3cc?_3cc(_3c4,node,_3c3):new _3c3(_3c4,node);_3c1.push(_3cd);var _3ce=node.getAttribute("jsId");if(_3ce){d.setObject(_3ce,_3cd);}if(!ps){d.forEach(_3c8,function(_3cf){d.connect(_3cd,_3cf.event,null,_3cf.func);});d.forEach(_3c9,function(func){func.call(_3cd);});}});if(!_3c0._started){d.forEach(_3c1,function(_3d0){if(!args.noStart&&_3d0&&_3d0.startup&&!_3d0._started&&(!_3d0.getParent||!_3d0.getParent())){_3d0.startup();}});}return _3c1;};this.parse=function(_3d1,args){var root;if(!args&&_3d1&&_3d1.rootNode){args=_3d1;root=args.rootNode;}else{root=_3d1;}var list=d.query(this._query,root);return this.instantiate(list,null,args);};}();(function(){var _3d2=function(){if(dojo.config.parseOnLoad){dojo.parser.parse();}};if(dojo.exists("dijit.wai.onload")&&(dijit.wai.onload===dojo._loaders[0])){dojo._loaders.splice(1,0,_3d2);}else{dojo._loaders.unshift(_3d2);}})();}if(!dojo._hasResource["dojo.cache"]){dojo._hasResource["dojo.cache"]=true;dojo.provide("dojo.cache");(function(){var _3d3={};dojo.cache=function(_3d4,url,_3d5){if(typeof _3d4=="string"){var _3d6=dojo.moduleUrl(_3d4,url);}else{_3d6=_3d4;_3d5=url;}var key=_3d6.toString();var val=_3d5;if(_3d5!==undefined&&!dojo.isString(_3d5)){val=("value" in _3d5?_3d5.value:undefined);}var _3d7=_3d5&&_3d5.sanitize?true:false;if(val||val===null){if(val==null){delete _3d3[key];}else{val=_3d3[key]=_3d7?dojo.cache._sanitize(val):val;}}else{if(!(key in _3d3)){val=dojo._getText(key);_3d3[key]=_3d7?dojo.cache._sanitize(val):val;}val=_3d3[key];}return val;};dojo.cache._sanitize=function(val){if(val){val=val.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _3d8=val.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_3d8){val=_3d8[1];}}else{val="";}return val;};})();}if(!dojo._hasResource["dijit._Templated"]){dojo._hasResource["dijit._Templated"]=true;dojo.provide("dijit._Templated");dojo.declare("dijit._Templated",null,{templateString:null,templatePath:null,widgetsInTemplate:false,_skipNodeCache:false,_earlyTemplatedStartup:false,constructor:function(){this._attachPoints=[];},_stringRepl:function(tmpl){var _3d9=this.declaredClass,_3da=this;return dojo.string.substitute(tmpl,this,function(_3db,key){if(key.charAt(0)=="!"){_3db=dojo.getObject(key.substr(1),false,_3da);}if(typeof _3db=="undefined"){throw new Error(_3d9+" template:"+key);}if(_3db==null){return "";}return key.charAt(0)=="!"?_3db:_3db.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){var _3dc=dijit._Templated.getCachedTemplate(this.templatePath,this.templateString,this._skipNodeCache);var node;if(dojo.isString(_3dc)){node=dojo._toDom(this._stringRepl(_3dc));if(node.nodeType!=1){throw new Error("Invalid template: "+_3dc);}}else{node=_3dc.cloneNode(true);}this.domNode=node;this._attachTemplateNodes(node);if(this.widgetsInTemplate){var _3dd=dojo.parser,qry,attr;if(_3dd._query!="[dojoType]"){qry=_3dd._query;attr=_3dd._attrName;_3dd._query="[dojoType]";_3dd._attrName="dojoType";}var cw=(this._startupWidgets=dojo.parser.parse(node,{noStart:!this._earlyTemplatedStartup}));if(qry){_3dd._query=qry;_3dd._attrName=attr;}this._supportingWidgets=dijit.findWidgets(node);this._attachTemplateNodes(cw,function(n,p){return n[p];});}this._fillContent(this.srcNodeRef);},_fillContent:function(_3de){var dest=this.containerNode;if(_3de&&dest){while(_3de.hasChildNodes()){dest.appendChild(_3de.firstChild);}}},_attachTemplateNodes:function(_3df,_3e0){_3e0=_3e0||function(n,p){return n.getAttribute(p);};var _3e1=dojo.isArray(_3df)?_3df:(_3df.all||_3df.getElementsByTagName("*"));var x=dojo.isArray(_3df)?0:-1;for(;x<_3e1.length;x++){var _3e2=(x==-1)?_3df:_3e1[x];if(this.widgetsInTemplate&&_3e0(_3e2,"dojoType")){continue;}var _3e3=_3e0(_3e2,"dojoAttachPoint");if(_3e3){var _3e4,_3e5=_3e3.split(/\s*,\s*/);while((_3e4=_3e5.shift())){if(dojo.isArray(this[_3e4])){this[_3e4].push(_3e2);}else{this[_3e4]=_3e2;}this._attachPoints.push(_3e4);}}var _3e6=_3e0(_3e2,"dojoAttachEvent");if(_3e6){var _3e7,_3e8=_3e6.split(/\s*,\s*/);var trim=dojo.trim;while((_3e7=_3e8.shift())){if(_3e7){var _3e9=null;if(_3e7.indexOf(":")!=-1){var _3ea=_3e7.split(":");_3e7=trim(_3ea[0]);_3e9=trim(_3ea[1]);}else{_3e7=trim(_3e7);}if(!_3e9){_3e9=_3e7;}this.connect(_3e2,_3e7,_3e9);}}}var role=_3e0(_3e2,"waiRole");if(role){dijit.setWaiRole(_3e2,role);}var _3eb=_3e0(_3e2,"waiState");if(_3eb){dojo.forEach(_3eb.split(/\s*,\s*/),function(_3ec){if(_3ec.indexOf("-")!=-1){var pair=_3ec.split("-");dijit.setWaiState(_3e2,pair[0],pair[1]);}});}}},startup:function(){dojo.forEach(this._startupWidgets,function(w){if(w&&!w._started&&w.startup){w.startup();}});this.inherited(arguments);},destroyRendering:function(){dojo.forEach(this._attachPoints,function(_3ed){delete this[_3ed];},this);this._attachPoints=[];this.inherited(arguments);}});dijit._Templated._templateCache={};dijit._Templated.getCachedTemplate=function(_3ee,_3ef,_3f0){var _3f1=dijit._Templated._templateCache;var key=_3ef||_3ee;var _3f2=_3f1[key];if(_3f2){try{if(!_3f2.ownerDocument||_3f2.ownerDocument==dojo.doc){return _3f2;}}catch(e){}dojo.destroy(_3f2);}if(!_3ef){_3ef=dojo.cache(_3ee,{sanitize:true});}_3ef=dojo.string.trim(_3ef);if(_3f0||_3ef.match(/\$\{([^\}]+)\}/g)){return (_3f1[key]=_3ef);}else{var node=dojo._toDom(_3ef);if(node.nodeType!=1){throw new Error("Invalid template: "+_3ef);}return (_3f1[key]=node);}};if(dojo.isIE){dojo.addOnWindowUnload(function(){var _3f3=dijit._Templated._templateCache;for(var key in _3f3){var _3f4=_3f3[key];if(typeof _3f4=="object"){dojo.destroy(_3f4);}delete _3f3[key];}});}dojo.extend(dijit._Widget,{dojoAttachEvent:"",dojoAttachPoint:"",waiRole:"",waiState:""});}if(!dojo._hasResource["dijit.form._FormMixin"]){dojo._hasResource["dijit.form._FormMixin"]=true;dojo.provide("dijit.form._FormMixin");dojo.declare("dijit.form._FormMixin",null,{reset:function(){dojo.forEach(this.getDescendants(),function(_3f5){if(_3f5.reset){_3f5.reset();}});},validate:function(){var _3f6=false;return dojo.every(dojo.map(this.getDescendants(),function(_3f7){_3f7._hasBeenBlurred=true;var _3f8=_3f7.disabled||!_3f7.validate||_3f7.validate();if(!_3f8&&!_3f6){dijit.scrollIntoView(_3f7.containerNode||_3f7.domNode);_3f7.focus();_3f6=true;}return _3f8;}),function(item){return item;});},setValues:function(val){dojo.deprecated(this.declaredClass+"::setValues() is deprecated. Use attr('value', val) instead.","","2.0");return this.attr("value",val);},_setValueAttr:function(obj){var map={};dojo.forEach(this.getDescendants(),function(_3f9){if(!_3f9.name){return;}var _3fa=map[_3f9.name]||(map[_3f9.name]=[]);_3fa.push(_3f9);});for(var name in map){if(!map.hasOwnProperty(name)){continue;}var _3fb=map[name],_3fc=dojo.getObject(name,false,obj);if(_3fc===undefined){continue;}if(!dojo.isArray(_3fc)){_3fc=[_3fc];}if(typeof _3fb[0].checked=="boolean"){dojo.forEach(_3fb,function(w,i){w.attr("value",dojo.indexOf(_3fc,w.value)!=-1);});}else{if(_3fb[0].multiple){_3fb[0].attr("value",_3fc);}else{dojo.forEach(_3fb,function(w,i){w.attr("value",_3fc[i]);});}}}},getValues:function(){dojo.deprecated(this.declaredClass+"::getValues() is deprecated. Use attr('value') instead.","","2.0");return this.attr("value");},_getValueAttr:function(){var obj={};dojo.forEach(this.getDescendants(),function(_3fd){var name=_3fd.name;if(!name||_3fd.disabled){return;}var _3fe=_3fd.attr("value");if(typeof _3fd.checked=="boolean"){if(/Radio/.test(_3fd.declaredClass)){if(_3fe!==false){dojo.setObject(name,_3fe,obj);}else{_3fe=dojo.getObject(name,false,obj);if(_3fe===undefined){dojo.setObject(name,null,obj);}}}else{var ary=dojo.getObject(name,false,obj);if(!ary){ary=[];dojo.setObject(name,ary,obj);}if(_3fe!==false){ary.push(_3fe);}}}else{var prev=dojo.getObject(name,false,obj);if(typeof prev!="undefined"){if(dojo.isArray(prev)){prev.push(_3fe);}else{dojo.setObject(name,[prev,_3fe],obj);}}else{dojo.setObject(name,_3fe,obj);}}});return obj;},isValid:function(){this._invalidWidgets=dojo.filter(this.getDescendants(),function(_3ff){return !_3ff.disabled&&_3ff.isValid&&!_3ff.isValid();});return !this._invalidWidgets.length;},onValidStateChange:function(_400){},_widgetChange:function(_401){var _402=this._lastValidState;if(!_401||this._lastValidState===undefined){_402=this.isValid();if(this._lastValidState===undefined){this._lastValidState=_402;}}else{if(_401.isValid){this._invalidWidgets=dojo.filter(this._invalidWidgets||[],function(w){return (w!=_401);},this);if(!_401.isValid()&&!_401.attr("disabled")){this._invalidWidgets.push(_401);}_402=(this._invalidWidgets.length===0);}}if(_402!==this._lastValidState){this._lastValidState=_402;this.onValidStateChange(_402);}},connectChildren:function(){dojo.forEach(this._changeConnections,dojo.hitch(this,"disconnect"));var _403=this;var _404=this._changeConnections=[];dojo.forEach(dojo.filter(this.getDescendants(),function(item){return item.validate;}),function(_405){_404.push(_403.connect(_405,"validate",dojo.hitch(_403,"_widgetChange",_405)));_404.push(_403.connect(_405,"_setDisabledAttr",dojo.hitch(_403,"_widgetChange",_405)));});this._widgetChange(null);},startup:function(){this.inherited(arguments);this._changeConnections=[];this.connectChildren();}});}if(!dojo._hasResource["dijit._DialogMixin"]){dojo._hasResource["dijit._DialogMixin"]=true;dojo.provide("dijit._DialogMixin");dojo.declare("dijit._DialogMixin",null,{attributeMap:dijit._Widget.prototype.attributeMap,execute:function(_406){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();this.execute(this.attr("value"));},_getFocusItems:function(_407){var _408=dijit._getTabNavigable(dojo.byId(_407));this._firstFocusItem=_408.lowest||_408.first||_407;this._lastFocusItem=_408.last||_408.highest||this._firstFocusItem;if(dojo.isMoz&&this._firstFocusItem.tagName.toLowerCase()=="input"&&dojo.getNodeProp(this._firstFocusItem,"type").toLowerCase()=="file"){dojo.attr(_407,"tabIndex","0");this._firstFocusItem=_407;}}});}if(!dojo._hasResource["dijit.DialogUnderlay"]){dojo._hasResource["dijit.DialogUnderlay"]=true;dojo.provide("dijit.DialogUnderlay");dojo.declare("dijit.DialogUnderlay",[dijit._Widget,dijit._Templated],{templateString:"<div class='dijitDialogUnderlayWrapper'><div class='dijitDialogUnderlay' dojoAttachPoint='node'></div></div>",dialogId:"","class":"",attributeMap:{id:"domNode"},_setDialogIdAttr:function(id){dojo.attr(this.node,"id",id+"_underlay");},_setClassAttr:function(_409){this.node.className="dijitDialogUnderlay "+_409;},postCreate:function(){dojo.body().appendChild(this.domNode);},layout:function(){var is=this.node.style,os=this.domNode.style;os.display="none";var _40a=dijit.getViewport();os.top=_40a.t+"px";os.left=_40a.l+"px";is.width=_40a.w+"px";is.height=_40a.h+"px";os.display="block";},show:function(){this.domNode.style.display="block";this.layout();this.bgIframe=new dijit.BackgroundIframe(this.domNode);},hide:function(){this.bgIframe.destroy();this.domNode.style.display="none";},uninitialize:function(){if(this.bgIframe){this.bgIframe.destroy();}this.inherited(arguments);}});}if(!dojo._hasResource["dijit._Contained"]){dojo._hasResource["dijit._Contained"]=true;dojo.provide("dijit._Contained");dojo.declare("dijit._Contained",null,{getParent:function(){var _40b=dijit.getEnclosingWidget(this.domNode.parentNode);return _40b&&_40b.isContainer?_40b:null;},_getSibling:function(_40c){var node=this.domNode;do{node=node[_40c+"Sibling"];}while(node&&node.nodeType!=1);return node&&dijit.byNode(node);},getPreviousSibling:function(){return this._getSibling("previous");},getNextSibling:function(){return this._getSibling("next");},getIndexInParent:function(){var p=this.getParent();if(!p||!p.getIndexOfChild){return -1;}return p.getIndexOfChild(this);}});}if(!dojo._hasResource["dijit._Container"]){dojo._hasResource["dijit._Container"]=true;dojo.provide("dijit._Container");dojo.declare("dijit._Container",null,{isContainer:true,buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_40d,_40e){var _40f=this.containerNode;if(_40e&&typeof _40e=="number"){var _410=this.getChildren();if(_410&&_410.length>=_40e){_40f=_410[_40e-1].domNode;_40e="after";}}dojo.place(_40d.domNode,_40f,_40e);if(this._started&&!_40d._started){_40d.startup();}},removeChild:function(_411){if(typeof _411=="number"&&_411>0){_411=this.getChildren()[_411];}if(_411&&_411.domNode){var node=_411.domNode;node.parentNode.removeChild(node);}},getChildren:function(){return dojo.query("> [widgetId]",this.containerNode).map(dijit.byNode);},hasChildren:function(){return dojo.query("> [widgetId]",this.containerNode).length>0;},destroyDescendants:function(_412){dojo.forEach(this.getChildren(),function(_413){_413.destroyRecursive(_412);});},_getSiblingOfChild:function(_414,dir){var node=_414.domNode,_415=(dir>0?"nextSibling":"previousSibling");do{node=node[_415];}while(node&&(node.nodeType!=1||!dijit.byNode(node)));return node&&dijit.byNode(node);},getIndexOfChild:function(_416){return dojo.indexOf(this.getChildren(),_416);},startup:function(){if(this._started){return;}dojo.forEach(this.getChildren(),function(_417){_417.startup();});this.inherited(arguments);}});}if(!dojo._hasResource["dijit.layout._LayoutWidget"]){dojo._hasResource["dijit.layout._LayoutWidget"]=true;dojo.provide("dijit.layout._LayoutWidget");dojo.declare("dijit.layout._LayoutWidget",[dijit._Widget,dijit._Container,dijit._Contained],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,postCreate:function(){dojo.addClass(this.domNode,"dijitContainer");dojo.addClass(this.domNode,this.baseClass);this.inherited(arguments);},startup:function(){if(this._started){return;}this.inherited(arguments);var _418=this.getParent&&this.getParent();if(!(_418&&_418.isLayoutContainer)){this.resize();this.connect(dojo.isIE?this.domNode:dojo.global,"onresize",function(){this.resize();});}},resize:function(_419,_41a){var node=this.domNode;if(_419){dojo.marginBox(node,_419);if(_419.t){node.style.top=_419.t+"px";}if(_419.l){node.style.left=_419.l+"px";}}var mb=_41a||{};dojo.mixin(mb,_419||{});if(!("h" in mb)||!("w" in mb)){mb=dojo.mixin(dojo.marginBox(node),mb);}var cs=dojo.getComputedStyle(node);var me=dojo._getMarginExtents(node,cs);var be=dojo._getBorderExtents(node,cs);var bb=(this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)});var pe=dojo._getPadExtents(node,cs);this._contentBox={l:dojo._toPixelValue(node,cs.paddingLeft),t:dojo._toPixelValue(node,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};this.layout();},layout:function(){},_setupChild:function(_41b){dojo.addClass(_41b.domNode,this.baseClass+"-child");if(_41b.baseClass){dojo.addClass(_41b.domNode,this.baseClass+"-"+_41b.baseClass);}},addChild:function(_41c,_41d){this.inherited(arguments);if(this._started){this._setupChild(_41c);}},removeChild:function(_41e){dojo.removeClass(_41e.domNode,this.baseClass+"-child");if(_41e.baseClass){dojo.removeClass(_41e.domNode,this.baseClass+"-"+_41e.baseClass);}this.inherited(arguments);}});dijit.layout.marginBox2contentBox=function(node,mb){var cs=dojo.getComputedStyle(node);var me=dojo._getMarginExtents(node,cs);var pb=dojo._getPadBorderExtents(node,cs);return {l:dojo._toPixelValue(node,cs.paddingLeft),t:dojo._toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};};(function(){var _41f=function(word){return word.substring(0,1).toUpperCase()+word.substring(1);};var size=function(_420,dim){_420.resize?_420.resize(dim):dojo.marginBox(_420.domNode,dim);dojo.mixin(_420,dojo.marginBox(_420.domNode));dojo.mixin(_420,dim);};dijit.layout.layoutChildren=function(_421,dim,_422){dim=dojo.mixin({},dim);dojo.addClass(_421,"dijitLayoutContainer");_422=dojo.filter(_422,function(item){return item.layoutAlign!="client";}).concat(dojo.filter(_422,function(item){return item.layoutAlign=="client";}));dojo.forEach(_422,function(_423){var elm=_423.domNode,pos=_423.layoutAlign;var _424=elm.style;_424.left=dim.l+"px";_424.top=dim.t+"px";_424.bottom=_424.right="auto";dojo.addClass(elm,"dijitAlign"+_41f(pos));if(pos=="top"||pos=="bottom"){size(_423,{w:dim.w});dim.h-=_423.h;if(pos=="top"){dim.t+=_423.h;}else{_424.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){size(_423,{h:dim.h});dim.w-=_423.w;if(pos=="left"){dim.l+=_423.w;}else{_424.left=dim.l+dim.w+"px";}}else{if(pos=="client"){size(_423,dim);}}}});};})();}if(!dojo._hasResource["dojo.html"]){dojo._hasResource["dojo.html"]=true;dojo.provide("dojo.html");(function(){var _425=0,d=dojo;dojo.html._secureForInnerHtml=function(cont){return cont.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");};dojo.html._emptyNode=dojo.empty;dojo.html._setNodeContent=function(node,cont){d.empty(node);if(cont){if(typeof cont=="string"){cont=d._toDom(cont,node.ownerDocument);}if(!cont.nodeType&&d.isArrayLike(cont)){for(var _426=cont.length,i=0;i<cont.length;i=_426==cont.length?i+1:0){d.place(cont[i],node,"last");}}else{d.place(cont,node,"last");}}return node;};dojo.declare("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,constructor:function(_427,node){dojo.mixin(this,_427||{});node=this.node=dojo.byId(this.node||node);if(!this.id){this.id=["Setter",(node)?node.id||node.tagName:"",_425++].join("_");}if(!(this.node||node)){new Error(this.declaredClass+": no node provided to "+this.id);}},set:function(cont,_428){if(undefined!==cont){this.content=cont;}if(_428){this._mixin(_428);}this.onBegin();this.setContent();this.onEnd();return this.node;},setContent:function(){var node=this.node;if(!node){console.error("setContent given no node");}try{node=dojo.html._setNodeContent(node,this.content);}catch(e){var _429=this.onContentError(e);try{node.innerHTML=_429;}catch(e){console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+e.message,e);}}this.node=node;},empty:function(){if(this.parseResults&&this.parseResults.length){dojo.forEach(this.parseResults,function(w){if(w.destroy){w.destroy();}});delete this.parseResults;}dojo.html._emptyNode(this.node);},onBegin:function(){var cont=this.content;if(dojo.isString(cont)){if(this.cleanContent){cont=dojo.html._secureForInnerHtml(cont);}if(this.extractContent){var _42a=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_42a){cont=_42a[1];}}}this.empty();this.content=cont;return this.node;},onEnd:function(){if(this.parseContent){this._parse();}return this.node;},tearDown:function(){delete this.parseResults;delete this.node;delete this.content;},onContentError:function(err){return "Error occured setting content: "+err;},_mixin:function(_42b){var _42c={},key;for(key in _42b){if(key in _42c){continue;}this[key]=_42b[key];}},_parse:function(){var _42d=this.node;try{this.parseResults=dojo.parser.parse(_42d,true);}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(type,err,_42e){var _42f=this["on"+type+"Error"].call(this,err);if(_42e){console.error(_42e,err);}else{if(_42f){dojo.html._setNodeContent(this.node,_42f,true);}}}});dojo.html.set=function(node,cont,_430){if(undefined==cont){console.warn("dojo.html.set: no cont argument provided, using empty string");cont="";}if(!_430){return dojo.html._setNodeContent(node,cont,true);}else{var op=new dojo.html._ContentSetter(dojo.mixin(_430,{content:cont,node:node}));return op.set();}};})();}if(!dojo._hasResource["dojo.i18n"]){dojo._hasResource["dojo.i18n"]=true;dojo.provide("dojo.i18n");dojo.i18n.getLocalization=function(_431,_432,_433){_433=dojo.i18n.normalizeLocale(_433);var _434=_433.split("-");var _435=[_431,"nls",_432].join(".");var _436=dojo._loadedModules[_435];if(_436){var _437;for(var i=_434.length;i>0;i--){var loc=_434.slice(0,i).join("_");if(_436[loc]){_437=_436[loc];break;}}if(!_437){_437=_436.ROOT;}if(_437){var _438=function(){};_438.prototype=_437;return new _438();}}throw new Error("Bundle not found: "+_432+" in "+_431+" , locale="+_433);};dojo.i18n.normalizeLocale=function(_439){var _43a=_439?_439.toLowerCase():dojo.locale;if(_43a=="root"){_43a="ROOT";}return _43a;};dojo.i18n._requireLocalization=function(_43b,_43c,_43d,_43e){var _43f=dojo.i18n.normalizeLocale(_43d);var _440=[_43b,"nls",_43c].join(".");var _441="";if(_43e){var _442=_43e.split(",");for(var i=0;i<_442.length;i++){if(_43f["indexOf"](_442[i])==0){if(_442[i].length>_441.length){_441=_442[i];}}}if(!_441){_441="ROOT";}}var _443=_43e?_441:_43f;var _444=dojo._loadedModules[_440];var _445=null;if(_444){if(dojo.config.localizationComplete&&_444._built){return;}var _446=_443.replace(/-/g,"_");var _447=_440+"."+_446;_445=dojo._loadedModules[_447];}if(!_445){_444=dojo["provide"](_440);var syms=dojo._getModuleSymbols(_43b);var _448=syms.concat("nls").join("/");var _449;dojo.i18n._searchLocalePath(_443,_43e,function(loc){var _44a=loc.replace(/-/g,"_");var _44b=_440+"."+_44a;var _44c=false;if(!dojo._loadedModules[_44b]){dojo["provide"](_44b);var _44d=[_448];if(loc!="ROOT"){_44d.push(loc);}_44d.push(_43c);var _44e=_44d.join("/")+".js";_44c=dojo._loadPath(_44e,null,function(hash){var _44f=function(){};_44f.prototype=_449;_444[_44a]=new _44f();for(var j in hash){_444[_44a][j]=hash[j];}});}else{_44c=true;}if(_44c&&_444[_44a]){_449=_444[_44a];}else{_444[_44a]=_449;}if(_43e){return true;}});}if(_43e&&_43f!=_441){_444[_43f.replace(/-/g,"_")]=_444[_441.replace(/-/g,"_")];}};(function(){var _450=dojo.config.extraLocale;if(_450){if(!_450 instanceof Array){_450=[_450];}var req=dojo.i18n._requireLocalization;dojo.i18n._requireLocalization=function(m,b,_451,_452){req(m,b,_451,_452);if(_451){return;}for(var i=0;i<_450.length;i++){req(m,b,_450[i],_452);}};}})();dojo.i18n._searchLocalePath=function(_453,down,_454){_453=dojo.i18n.normalizeLocale(_453);var _455=_453.split("-");var _456=[];for(var i=_455.length;i>0;i--){_456.push(_455.slice(0,i).join("-"));}_456.push(false);if(down){_456.reverse();}for(var j=_456.length-1;j>=0;j--){var loc=_456[j]||"ROOT";var stop=_454(loc);if(stop){break;}}};dojo.i18n._preloadLocalizations=function(_457,_458){function _459(_45a){_45a=dojo.i18n.normalizeLocale(_45a);dojo.i18n._searchLocalePath(_45a,true,function(loc){for(var i=0;i<_458.length;i++){if(_458[i]==loc){dojo["require"](_457+"_"+loc);return true;}}return false;});};_459();var _45b=dojo.config.extraLocale||[];for(var i=0;i<_45b.length;i++){_459(_45b[i]);}};}if(!dojo._hasResource["dijit.layout.ContentPane"]){dojo._hasResource["dijit.layout.ContentPane"]=true;dojo.provide("dijit.layout.ContentPane");dojo.declare("dijit.layout.ContentPane",dijit._Widget,{href:"",extractContent:false,parseOnLoad:true,preventCache:false,preload:false,refreshOnShow:false,loadingMessage:"<span class='dijitContentPaneLoading'>${loadingState}</span>",errorMessage:"<span class='dijitContentPaneError'>${errorState}</span>",isLoaded:false,baseClass:"dijitContentPane",doLayout:true,ioArgs:{},isContainer:true,isLayoutContainer:true,onLoadDeferred:null,attributeMap:dojo.delegate(dijit._Widget.prototype.attributeMap,{title:[]}),postMixInProperties:function(){this.inherited(arguments);var _45c=dojo.i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=dojo.string.substitute(this.loadingMessage,_45c);this.errorMessage=dojo.string.substitute(this.errorMessage,_45c);if(!this.href&&this.srcNodeRef&&this.srcNodeRef.innerHTML){this.isLoaded=true;}},buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},postCreate:function(){this.domNode.title="";if(!dojo.attr(this.domNode,"role")){dijit.setWaiRole(this.domNode,"group");}dojo.addClass(this.domNode,this.baseClass);},startup:function(){if(this._started){return;}var _45d=dijit._Contained.prototype.getParent.call(this);this._childOfLayoutWidget=_45d&&_45d.isLayoutContainer;this._needLayout=!this._childOfLayoutWidget;if(this.isLoaded){dojo.forEach(this.getChildren(),function(_45e){_45e.startup();});}if(this._isShown()||this.preload){this._onShow();}this.inherited(arguments);},_checkIfSingleChild:function(){var _45f=dojo.query("> *",this.containerNode).filter(function(node){return node.tagName!=="SCRIPT";}),_460=_45f.filter(function(node){return dojo.hasAttr(node,"dojoType")||dojo.hasAttr(node,"widgetId");}),_461=dojo.filter(_460.map(dijit.byNode),function(_462){return _462&&_462.domNode&&_462.resize;});if(_45f.length==_460.length&&_461.length==1){this._singleChild=_461[0];}else{delete this._singleChild;}dojo.toggleClass(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);},setHref:function(href){dojo.deprecated("dijit.layout.ContentPane.setHref() is deprecated. Use attr('href', ...) instead.","","2.0");return this.attr("href",href);},_setHrefAttr:function(href){this.cancel();this.onLoadDeferred=new dojo.Deferred(dojo.hitch(this,"cancel"));this.href=href;if(this._created&&(this.preload||this._isShown())){this._load();}else{this._hrefChanged=true;}return this.onLoadDeferred;},setContent:function(data){dojo.deprecated("dijit.layout.ContentPane.setContent() is deprecated.  Use attr('content', ...) instead.","","2.0");this.attr("content",data);},_setContentAttr:function(data){this.href="";this.cancel();this.onLoadDeferred=new dojo.Deferred(dojo.hitch(this,"cancel"));this._setContent(data||"");this._isDownloaded=false;return this.onLoadDeferred;},_getContentAttr:function(){return this.containerNode.innerHTML;},cancel:function(){if(this._xhrDfd&&(this._xhrDfd.fired==-1)){this._xhrDfd.cancel();}delete this._xhrDfd;this.onLoadDeferred=null;},uninitialize:function(){if(this._beingDestroyed){this.cancel();}this.inherited(arguments);},destroyRecursive:function(_463){if(this._beingDestroyed){return;}this.inherited(arguments);},resize:function(_464,_465){if(!this._wasShown){this._onShow();}this._resizeCalled=true;if(_464){dojo.marginBox(this.domNode,_464);}var cn=this.containerNode;if(cn===this.domNode){var mb=_465||{};dojo.mixin(mb,_464||{});if(!("h" in mb)||!("w" in mb)){mb=dojo.mixin(dojo.marginBox(cn),mb);}this._contentBox=dijit.layout.marginBox2contentBox(cn,mb);}else{this._contentBox=dojo.contentBox(cn);}this._layoutChildren();},_isShown:function(){if(this._childOfLayoutWidget){if(this._resizeCalled&&"open" in this){return this.open;}return this._resizeCalled;}else{if("open" in this){return this.open;}else{var node=this.domNode;return (node.style.display!="none")&&(node.style.visibility!="hidden")&&!dojo.hasClass(node,"dijitHidden");}}},_onShow:function(){if(this.href){if(!this._xhrDfd&&(!this.isLoaded||this._hrefChanged||this.refreshOnShow)){this.refresh();}}else{if(!this._childOfLayoutWidget&&this._needLayout){this._layoutChildren();}}this.inherited(arguments);this._wasShown=true;},refresh:function(){this.cancel();this.onLoadDeferred=new dojo.Deferred(dojo.hitch(this,"cancel"));this._load();return this.onLoadDeferred;},_load:function(){this._setContent(this.onDownloadStart(),true);var self=this;var _466={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(dojo.isObject(this.ioArgs)){dojo.mixin(_466,this.ioArgs);}var hand=(this._xhrDfd=(this.ioMethod||dojo.xhrGet)(_466));hand.addCallback(function(html){try{self._isDownloaded=true;self._setContent(html,false);self.onDownloadEnd();}catch(err){self._onError("Content",err);}delete self._xhrDfd;return html;});hand.addErrback(function(err){if(!hand.canceled){self._onError("Download",err);}delete self._xhrDfd;return err;});delete this._hrefChanged;},_onLoadHandler:function(data){this.isLoaded=true;try{this.onLoadDeferred.callback(data);this.onLoad(data);}catch(e){console.error("Error "+this.widgetId+" running custom onLoad code: "+e.message);}},_onUnloadHandler:function(){this.isLoaded=false;try{this.onUnload();}catch(e){console.error("Error "+this.widgetId+" running custom onUnload code: "+e.message);}},destroyDescendants:function(){if(this.isLoaded){this._onUnloadHandler();}var _467=this._contentSetter;dojo.forEach(this.getChildren(),function(_468){if(_468.destroyRecursive){_468.destroyRecursive();}});if(_467){dojo.forEach(_467.parseResults,function(_469){if(_469.destroyRecursive&&_469.domNode&&_469.domNode.parentNode==dojo.body()){_469.destroyRecursive();}});delete _467.parseResults;}dojo.html._emptyNode(this.containerNode);delete this._singleChild;},_setContent:function(cont,_46a){this.destroyDescendants();var _46b=this._contentSetter;if(!(_46b&&_46b instanceof dojo.html._ContentSetter)){_46b=this._contentSetter=new dojo.html._ContentSetter({node:this.containerNode,_onError:dojo.hitch(this,this._onError),onContentError:dojo.hitch(this,function(e){var _46c=this.onContentError(e);try{this.containerNode.innerHTML=_46c;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}var _46d=dojo.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:this.parseOnLoad},this._contentSetterParams||{});dojo.mixin(_46b,_46d);_46b.set((dojo.isObject(cont)&&cont.domNode)?cont.domNode:cont);delete this._contentSetterParams;if(!_46a){dojo.forEach(this.getChildren(),function(_46e){if(!this.parseOnLoad||_46e.getParent){_46e.startup();}},this);this._scheduleLayout();this._onLoadHandler(cont);}},_onError:function(type,err,_46f){this.onLoadDeferred.errback(err);var _470=this["on"+type+"Error"].call(this,err);if(_46f){console.error(_46f,err);}else{if(_470){this._setContent(_470,true);}}},_scheduleLayout:function(){if(this._isShown()){this._layoutChildren();}else{this._needLayout=true;}},_layoutChildren:function(){if(this.doLayout){this._checkIfSingleChild();}if(this._singleChild&&this._singleChild.resize){var cb=this._contentBox||dojo.contentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}else{dojo.forEach(this.getChildren(),function(_471){if(_471.resize){_471.resize();}});}delete this._needLayout;},onLoad:function(data){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(_472){},onDownloadError:function(_473){return this.errorMessage;},onDownloadEnd:function(){}});}if(!dojo._hasResource["dijit.TooltipDialog"]){dojo._hasResource["dijit.TooltipDialog"]=true;dojo.provide("dijit.TooltipDialog");dojo.declare("dijit.TooltipDialog",[dijit.layout.ContentPane,dijit._Templated,dijit.form._FormMixin,dijit._DialogMixin],{title:"",doLayout:false,autofocus:true,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:dojo.cache("dijit","templates/TooltipDialog.html","<div waiRole=\"presentation\">\n\t<div class=\"dijitTooltipContainer\" waiRole=\"presentation\">\n\t\t<div class =\"dijitTooltipContents dijitTooltipFocusNode\" dojoAttachPoint=\"containerNode\" tabindex=\"-1\" waiRole=\"dialog\"></div>\n\t</div>\n\t<div class=\"dijitTooltipConnector\" waiRole=\"presentation\"></div>\n</div>\n"),postCreate:function(){this.inherited(arguments);this.connect(this.containerNode,"onkeypress","_onKey");this.containerNode.title=this.title;},orient:function(node,_474,_475){var c=this._currentOrientClass;if(c){dojo.removeClass(this.domNode,c);}c="dijitTooltipAB"+(_475.charAt(1)=="L"?"Left":"Right")+" dijitTooltip"+(_475.charAt(0)=="T"?"Below":"Above");dojo.addClass(this.domNode,c);this._currentOrientClass=c;},onOpen:function(pos){this.orient(this.domNode,pos.aroundCorner,pos.corner);this._onShow();if(this.autofocus){this._getFocusItems(this.containerNode);dijit.focus(this._firstFocusItem);}},onClose:function(){this.onHide();},_onKey:function(evt){var node=evt.target;var dk=dojo.keys;if(evt.charOrCode===dk.TAB){this._getFocusItems(this.containerNode);}var _476=(this._firstFocusItem==this._lastFocusItem);if(evt.charOrCode==dk.ESCAPE){setTimeout(dojo.hitch(this,"onCancel"),0);dojo.stopEvent(evt);}else{if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===dk.TAB){if(!_476){dijit.focus(this._lastFocusItem);}dojo.stopEvent(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode===dk.TAB&&!evt.shiftKey){if(!_476){dijit.focus(this._firstFocusItem);}dojo.stopEvent(evt);}else{if(evt.charOrCode===dk.TAB){evt.stopPropagation();}}}}}});}if(!dojo._hasResource["dijit.Dialog"]){dojo._hasResource["dijit.Dialog"]=true;dojo.provide("dijit.Dialog");dojo.declare("dijit._DialogBase",[dijit._Templated,dijit.form._FormMixin,dijit._DialogMixin],{templateString:dojo.cache("dijit","templates/Dialog.html","<div class=\"dijitDialog\" tabindex=\"-1\" waiRole=\"dialog\" waiState=\"labelledby-${id}_title\">\n\t<div dojoAttachPoint=\"titleBar\" class=\"dijitDialogTitleBar\">\n\t<span dojoAttachPoint=\"titleNode\" class=\"dijitDialogTitle\" id=\"${id}_title\"></span>\n\t<span dojoAttachPoint=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" dojoAttachEvent=\"onclick: onCancel, onmouseenter: _onCloseEnter, onmouseleave: _onCloseLeave\" title=\"${buttonCancel}\">\n\t\t<span dojoAttachPoint=\"closeText\" class=\"closeText\" title=\"${buttonCancel}\">x</span>\n\t</span>\n\t</div>\n\t\t<div dojoAttachPoint=\"containerNode\" class=\"dijitDialogPaneContent\"></div>\n</div>\n"),attributeMap:dojo.delegate(dijit._Widget.prototype.attributeMap,{title:[{node:"titleNode",type:"innerHTML"},{node:"titleBar",type:"attribute"}],"aria-describedby":""}),open:false,duration:dijit.defaultDuration,refocus:true,autofocus:true,_firstFocusItem:null,_lastFocusItem:null,doLayout:false,draggable:true,"aria-describedby":"",postMixInProperties:function(){var _477=dojo.i18n.getLocalization("dijit","common");dojo.mixin(this,_477);this.inherited(arguments);},postCreate:function(){dojo.style(this.domNode,{display:"none",position:"absolute"});dojo.body().appendChild(this.domNode);this.inherited(arguments);this.connect(this,"onExecute","hide");this.connect(this,"onCancel","hide");this._modalconnects=[];},onLoad:function(){this._position();this.inherited(arguments);},_endDrag:function(e){if(e&&e.node&&e.node===this.domNode){this._relativePosition=dojo.position(e.node);}},_setup:function(){var node=this.domNode;if(this.titleBar&&this.draggable){this._moveable=(dojo.isIE==6)?new dojo.dnd.TimedMoveable(node,{handle:this.titleBar}):new dojo.dnd.Moveable(node,{handle:this.titleBar,timeout:0});dojo.subscribe("/dnd/move/stop",this,"_endDrag");}else{dojo.addClass(node,"dijitDialogFixed");}this.underlayAttrs={dialogId:this.id,"class":dojo.map(this["class"].split(/\s/),function(s){return s+"_underlay";}).join(" ")};this._fadeIn=dojo.fadeIn({node:node,duration:this.duration,beforeBegin:dojo.hitch(this,function(){var _478=dijit._underlay;if(!_478){_478=dijit._underlay=new dijit.DialogUnderlay(this.underlayAttrs);}else{_478.attr(this.underlayAttrs);}var _479=948+dijit._dialogStack.length*2;dojo.style(dijit._underlay.domNode,"zIndex",_479);dojo.style(this.domNode,"zIndex",_479+1);_478.show();}),onEnd:dojo.hitch(this,function(){if(this.autofocus){this._getFocusItems(this.domNode);dijit.focus(this._firstFocusItem);}})});this._fadeOut=dojo.fadeOut({node:node,duration:this.duration,onEnd:dojo.hitch(this,function(){node.style.display="none";var ds=dijit._dialogStack;if(ds.length==0){dijit._underlay.hide();}else{dojo.style(dijit._underlay.domNode,"zIndex",948+ds.length*2);dijit._underlay.attr(ds[ds.length-1].underlayAttrs);}if(this.refocus){var _47a=this._savedFocus;if(ds.length>0){var pd=ds[ds.length-1];if(!dojo.isDescendant(_47a.node,pd.domNode)){pd._getFocusItems(pd.domNode);_47a=pd._firstFocusItem;}}dijit.focus(_47a);}})});},uninitialize:function(){var _47b=false;if(this._fadeIn&&this._fadeIn.status()=="playing"){_47b=true;this._fadeIn.stop();}if(this._fadeOut&&this._fadeOut.status()=="playing"){_47b=true;this._fadeOut.stop();}if((this.open||_47b)&&!dijit._underlay._destroyed){dijit._underlay.hide();}if(this._moveable){this._moveable.destroy();}this.inherited(arguments);},_size:function(){this._checkIfSingleChild();if(this._singleChild){if(this._singleChildOriginalStyle){this._singleChild.domNode.style.cssText=this._singleChildOriginalStyle;}delete this._singleChildOriginalStyle;}else{dojo.style(this.containerNode,{width:"auto",height:"auto"});}var mb=dojo.marginBox(this.domNode);var _47c=dijit.getViewport();if(mb.w>=_47c.w||mb.h>=_47c.h){var w=Math.min(mb.w,Math.floor(_47c.w*0.75)),h=Math.min(mb.h,Math.floor(_47c.h*0.75));if(this._singleChild&&this._singleChild.resize){this._singleChildOriginalStyle=this._singleChild.domNode.style.cssText;this._singleChild.resize({w:w,h:h});}else{dojo.style(this.containerNode,{width:w+"px",height:h+"px",overflow:"auto",position:"relative"});}}else{if(this._singleChild&&this._singleChild.resize){this._singleChild.resize();}}},_position:function(){if(!dojo.hasClass(dojo.body(),"dojoMove")){var node=this.domNode,_47d=dijit.getViewport(),p=this._relativePosition,bb=p?null:dojo._getBorderBox(node),l=Math.floor(_47d.l+(p?p.x:(_47d.w-bb.w)/2)),t=Math.floor(_47d.t+(p?p.y:(_47d.h-bb.h)/2));dojo.style(node,{left:l+"px",top:t+"px"});}},_onKey:function(evt){var ds=dijit._dialogStack;if(ds[ds.length-1]!=this){return;}if(evt.charOrCode){var dk=dojo.keys;var node=evt.target;if(evt.charOrCode===dk.TAB){this._getFocusItems(this.domNode);}var _47e=(this._firstFocusItem==this._lastFocusItem);if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===dk.TAB){if(!_47e){dijit.focus(this._lastFocusItem);}dojo.stopEvent(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode===dk.TAB&&!evt.shiftKey){if(!_47e){dijit.focus(this._firstFocusItem);}dojo.stopEvent(evt);}else{while(node){if(node==this.domNode||dojo.hasClass(node,"dijitPopup")){if(evt.charOrCode==dk.ESCAPE){this.onCancel();}else{return;}}node=node.parentNode;}if(evt.charOrCode!==dk.TAB){dojo.stopEvent(evt);}else{if(!dojo.isOpera){try{this._firstFocusItem.focus();}catch(e){}}}}}}},show:function(){if(this.open){return;}if(!this._alreadyInitialized){this._setup();this._alreadyInitialized=true;}if(this._fadeOut.status()=="playing"){this._fadeOut.stop();}this._modalconnects.push(dojo.connect(window,"onscroll",this,"layout"));this._modalconnects.push(dojo.connect(window,"onresize",this,function(){var _47f=dijit.getViewport();if(!this._oldViewport||_47f.h!=this._oldViewport.h||_47f.w!=this._oldViewport.w){this.layout();this._oldViewport=_47f;}}));this._modalconnects.push(dojo.connect(dojo.doc.documentElement,"onkeypress",this,"_onKey"));dojo.style(this.domNode,{opacity:0,display:""});this.open=true;this._onShow();this._size();this._position();dijit._dialogStack.push(this);this._fadeIn.play();this._savedFocus=dijit.getFocus(this);},hide:function(){var ds=dijit._dialogStack;if(!this._alreadyInitialized||this!=ds[ds.length-1]){return;}if(this._fadeIn.status()=="playing"){this._fadeIn.stop();}ds.pop();this._fadeOut.play();if(this._scrollConnected){this._scrollConnected=false;}dojo.forEach(this._modalconnects,dojo.disconnect);this._modalconnects=[];if(this._relativePosition){delete this._relativePosition;}this.open=false;this.onHide();},layout:function(){if(this.domNode.style.display!="none"){if(dijit._underlay){dijit._underlay.layout();}this._position();}},destroy:function(){dojo.forEach(this._modalconnects,dojo.disconnect);if(this.refocus&&this.open){setTimeout(dojo.hitch(dijit,"focus",this._savedFocus),25);}this.inherited(arguments);},_onCloseEnter:function(){dojo.addClass(this.closeButtonNode,"dijitDialogCloseIcon-hover");},_onCloseLeave:function(){dojo.removeClass(this.closeButtonNode,"dijitDialogCloseIcon-hover");}});dojo.declare("dijit.Dialog",[dijit.layout.ContentPane,dijit._DialogBase],{});dijit._dialogStack=[];}if(!dojo._hasResource["dojox.fx._base"]){dojo._hasResource["dojox.fx._base"]=true;dojo.provide("dojox.fx._base");dojo.mixin(dojox.fx,{anim:dojo.anim,animateProperty:dojo.animateProperty,fadeTo:dojo._fade,fadeIn:dojo.fadeIn,fadeOut:dojo.fadeOut,combine:dojo.fx.combine,chain:dojo.fx.chain,slideTo:dojo.fx.slideTo,wipeIn:dojo.fx.wipeIn,wipeOut:dojo.fx.wipeOut});dojox.fx.sizeTo=function(args){var node=args.node=dojo.byId(args.node),abs="absolute";var _480=args.method||"chain";if(!args.duration){args.duration=500;}if(_480=="chain"){args.duration=Math.floor(args.duration/2);}var top,_481,left,_482,_483,_484=null;var init=(function(n){return function(){var cs=dojo.getComputedStyle(n),pos=cs.position,w=cs.width,h=cs.height;top=(pos==abs?n.offsetTop:parseInt(cs.top)||0);left=(pos==abs?n.offsetLeft:parseInt(cs.left)||0);_483=(w=="auto"?0:parseInt(w));_484=(h=="auto"?0:parseInt(h));_482=left-Math.floor((args.width-_483)/2);_481=top-Math.floor((args.height-_484)/2);if(pos!=abs&&pos!="relative"){var ret=dojo.coords(n,true);top=ret.y;left=ret.x;n.style.position=abs;n.style.top=top+"px";n.style.left=left+"px";}};})(node);var _485=dojo.animateProperty(dojo.mixin({properties:{height:function(){init();return {end:args.height||0,start:_484};},top:function(){return {start:top,end:_481};}}},args));var _486=dojo.animateProperty(dojo.mixin({properties:{width:function(){return {start:_483,end:args.width||0};},left:function(){return {start:left,end:_482};}}},args));var anim=dojo.fx[(args.method=="combine"?"combine":"chain")]([_485,_486]);return anim;};dojox.fx.slideBy=function(args){var node=args.node=dojo.byId(args.node),top,left;var init=(function(n){return function(){var cs=dojo.getComputedStyle(n);var pos=cs.position;top=(pos=="absolute"?n.offsetTop:parseInt(cs.top)||0);left=(pos=="absolute"?n.offsetLeft:parseInt(cs.left)||0);if(pos!="absolute"&&pos!="relative"){var ret=dojo.coords(n,true);top=ret.y;left=ret.x;n.style.position="absolute";n.style.top=top+"px";n.style.left=left+"px";}};})(node);init();var _487=dojo.animateProperty(dojo.mixin({properties:{top:top+(args.top||0),left:left+(args.left||0)}},args));dojo.connect(_487,"beforeBegin",_487,init);return _487;};dojox.fx.crossFade=function(args){var _488=args.nodes[0]=dojo.byId(args.nodes[0]),op1=dojo.style(_488,"opacity"),_489=args.nodes[1]=dojo.byId(args.nodes[1]),op2=dojo.style(_489,"opacity");var _48a=dojo.fx.combine([dojo[(op1==0?"fadeIn":"fadeOut")](dojo.mixin({node:_488},args)),dojo[(op1==0?"fadeOut":"fadeIn")](dojo.mixin({node:_489},args))]);return _48a;};dojox.fx.highlight=function(args){var node=args.node=dojo.byId(args.node);args.duration=args.duration||400;var _48b=args.color||"#ffff99",_48c=dojo.style(node,"backgroundColor");if(_48c=="rgba(0, 0, 0, 0)"){_48c="transparent";}var anim=dojo.animateProperty(dojo.mixin({properties:{backgroundColor:{start:_48b,end:_48c}}},args));if(_48c=="transparent"){dojo.connect(anim,"onEnd",anim,function(){node.style.backgroundColor=_48c;});}return anim;};dojox.fx.wipeTo=function(args){args.node=dojo.byId(args.node);var node=args.node,s=node.style;var dir=(args.width?"width":"height"),_48d=args[dir],_48e={};_48e[dir]={start:function(){s.overflow="hidden";if(s.visibility=="hidden"||s.display=="none"){s[dir]="1px";s.display="";s.visibility="";return 1;}else{var now=dojo.style(node,dir);return Math.max(now,1);}},end:_48d};var anim=dojo.animateProperty(dojo.mixin({properties:_48e},args));return anim;};}if(!dojo._hasResource["dojox.image.Lightbox"]){dojo._hasResource["dojox.image.Lightbox"]=true;dojo.provide("dojox.image.Lightbox");dojo.experimental("dojox.image.Lightbox");dojo.declare("dojox.image.Lightbox",dijit._Widget,{group:"",title:"",href:"",duration:500,modal:false,_allowPassthru:false,_attachedDialog:null,startup:function(){this.inherited(arguments);var tmp=dijit.byId("dojoxLightboxDialog");if(tmp){this._attachedDialog=tmp;}else{this._attachedDialog=new dojox.image.LightboxDialog({id:"dojoxLightboxDialog"});this._attachedDialog.startup();}if(!this.store){this._addSelf();this.connect(this.domNode,"onclick","_handleClick");}},_addSelf:function(){this._attachedDialog.addImage({href:this.href,title:this.title},this.group||null);},_handleClick:function(e){if(!this._allowPassthru){e.preventDefault();}else{return;}this.show();},show:function(){this._attachedDialog.show(this);},hide:function(){this._attachedDialog.hide();},disable:function(){this._allowPassthru=true;},enable:function(){this._allowPassthru=false;},onClick:function(){}});dojo.declare("dojox.image.LightboxDialog",dijit.Dialog,{title:"",inGroup:null,imgUrl:dijit._Widget.prototype._blankGif,errorMessage:"Image not found.",adjust:true,modal:false,_groups:{XnoGroupX:[]},errorImg:dojo.moduleUrl("dojox.image","resources/images/warning.png"),templateString:dojo.cache("dojox.image","resources/Lightbox.html","<div class=\"dojoxLightbox\" dojoAttachPoint=\"containerNode\">\n\t<div style=\"position:relative\">\n\t\t<div dojoAttachPoint=\"imageContainer\" class=\"dojoxLightboxContainer\" dojoAttachEvent=\"onclick: _onImageClick\">\n\t\t\t<img dojoAttachPoint=\"imgNode\" src=\"${imgUrl}\" class=\"dojoxLightboxImage\" alt=\"${title}\">\n\t\t\t<div class=\"dojoxLightboxFooter\" dojoAttachPoint=\"titleNode\">\n\t\t\t\t<div class=\"dijitInline LightboxClose\" dojoAttachPoint=\"closeNode\"></div>\n\t\t\t\t<div class=\"dijitInline LightboxNext\" dojoAttachPoint=\"nextNode\"></div>\t\n\t\t\t\t<div class=\"dijitInline LightboxPrev\" dojoAttachPoint=\"prevNode\"></div>\n\t\t\t\t<div class=\"dojoxLightboxText\" dojoAttachPoint=\"titleTextNode\"><span dojoAttachPoint=\"textNode\">${title}</span><span dojoAttachPoint=\"groupCount\" class=\"dojoxLightboxGroupText\"></span></div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n"),startup:function(){this.inherited(arguments);this._animConnects=[];this.connect(this.nextNode,"onclick","_nextImage");this.connect(this.prevNode,"onclick","_prevImage");this.connect(this.closeNode,"onclick","hide");this._makeAnims();this._vp=dijit.getViewport();return this;},show:function(_48f){var _490=this;this._lastGroup=_48f;if(!_490.open){_490.inherited(arguments);this._modalconnects.push(dojo.connect(dojo.global,"onscroll",this,"_position"),dojo.connect(dojo.global,"onresize",this,"_position"),dojo.connect(dojo.body(),"onkeypress",this,"_handleKey"));if(!_48f.modal){this._modalconnects.push(dojo.connect(dijit._underlay.domNode,"onclick",this,"onCancel"));}}if(this._wasStyled){dojo.destroy(_490.imgNode);_490.imgNode=dojo.create("img",null,_490.imageContainer,"first");_490._makeAnims();_490._wasStyled=false;}dojo.style(_490.imgNode,"opacity","0");dojo.style(_490.titleNode,"opacity","0");var src=_48f.href;if((_48f.group&&_48f!=="XnoGroupX")||_490.inGroup){if(!_490.inGroup){_490.inGroup=_490._groups[(_48f.group)];dojo.forEach(_490.inGroup,function(g,i){if(g.href==_48f.href){_490._index=i;}},_490);}if(!_490._index){_490._index=0;src=_490.inGroup[_490._index].href;}_490.groupCount.innerHTML=" ("+(_490._index+1)+" of "+_490.inGroup.length+")";_490.prevNode.style.visibility="visible";_490.nextNode.style.visibility="visible";}else{_490.groupCount.innerHTML="";_490.prevNode.style.visibility="hidden";_490.nextNode.style.visibility="hidden";}if(!_48f.leaveTitle){_490.textNode.innerHTML=_48f.title;}_490._ready(src);},_ready:function(src){var _491=this;_491._imgError=dojo.connect(_491.imgNode,"error",_491,function(){dojo.disconnect(_491._imgError);_491.imgNode.src=_491.errorImg;_491.textNode.innerHTML=_491.errorMessage;});_491._imgConnect=dojo.connect(_491.imgNode,"load",_491,function(e){_491.resizeTo({w:_491.imgNode.width,h:_491.imgNode.height,duration:_491.duration});dojo.disconnect(_491._imgConnect);if(_491._imgError){dojo.disconnect(_491._imgError);}});_491.imgNode.src=src;},_nextImage:function(){if(!this.inGroup){return;}if(this._index+1<this.inGroup.length){this._index++;}else{this._index=0;}this._loadImage();},_prevImage:function(){if(this.inGroup){if(this._index==0){this._index=this.inGroup.length-1;}else{this._index--;}this._loadImage();}},_loadImage:function(){this._loadingAnim.play(1);},_prepNodes:function(){this._imageReady=false;this.show({href:this.inGroup[this._index].href,title:this.inGroup[this._index].title});},resizeTo:function(size,_492){var _493=dojo.boxModel=="border-box"?dojo._getBorderExtents(this.domNode).w:0,_494=_492||{h:30};this._lastTitleSize=_494;if(this.adjust&&(size.h+_494.h+_493+80>this._vp.h||size.w+_493+60>this._vp.w)){this._lastSize=size;size=this._scaleToFit(size);}this._currentSize=size;var _495=dojox.fx.sizeTo({node:this.containerNode,duration:size.duration||this.duration,width:size.w+_493,height:size.h+_494.h+_493});this.connect(_495,"onEnd","_showImage");_495.play(15);},_scaleToFit:function(size){var ns={};if(this._vp.h>this._vp.w){ns.w=this._vp.w-80;ns.h=ns.w*(size.h/size.w);}else{ns.h=this._vp.h-60-this._lastTitleSize.h;ns.w=ns.h*(size.w/size.h);}this._wasStyled=true;this._setImageSize(ns);ns.duration=size.duration;return ns;},_setImageSize:function(size){var s=this.imgNode;s.height=size.h;s.width=size.w;},_size:function(){},_position:function(e){this._vp=dijit.getViewport();this.inherited(arguments);if(e&&e.type=="resize"){if(this._wasStyled){this._setImageSize(this._lastSize);this.resizeTo(this._lastSize);}else{if(this.imgNode.height+80>this._vp.h||this.imgNode.width+60>this._vp.h){this.resizeTo({w:this.imgNode.width,h:this.imgNode.height});}}}},_showImage:function(){this._showImageAnim.play(1);},_showNav:function(){var _496=dojo.marginBox(this.titleNode);if(_496.h>this._lastTitleSize.h){this.resizeTo(this._wasStyled?this._lastSize:this._currentSize,_496);}else{this._showNavAnim.play(1);}},hide:function(){dojo.fadeOut({node:this.titleNode,duration:200,onEnd:dojo.hitch(this,function(){this.imgNode.src=this._blankGif;})}).play(5);this.inherited(arguments);this.inGroup=null;this._index=null;},addImage:function(_497,_498){var g=_498;if(!_497.href){return;}if(g){if(!this._groups[g]){this._groups[g]=[];}this._groups[g].push(_497);}else{this._groups["XnoGroupX"].push(_497);}},_handleKey:function(e){if(!this.open){return;}var dk=dojo.keys;switch(e.charOrCode){case dk.ESCAPE:this.hide();break;case dk.DOWN_ARROW:case dk.RIGHT_ARROW:case 78:this._nextImage();break;case dk.UP_ARROW:case dk.LEFT_ARROW:case 80:this._prevImage();break;}},_makeAnims:function(){dojo.forEach(this._animConnects,dojo.disconnect);this._animConnects=[];this._showImageAnim=dojo.fadeIn({node:this.imgNode,duration:this.duration});this._animConnects.push(dojo.connect(this._showImageAnim,"onEnd",this,"_showNav"));this._loadingAnim=dojo.fx.combine([dojo.fadeOut({node:this.imgNode,duration:175}),dojo.fadeOut({node:this.titleNode,duration:175})]);this._animConnects.push(dojo.connect(this._loadingAnim,"onEnd",this,"_prepNodes"));this._showNavAnim=dojo.fadeIn({node:this.titleNode,duration:225});},onClick:function(_499){},_onImageClick:function(e){if(e&&e.target==this.imgNode){this.onClick(this._lastGroup);if(this._lastGroup.declaredClass){this._lastGroup.onClick(this._lastGroup);}}}});}if(!dojo._hasResource["klaro.image.KLightbox"]){dojo._hasResource["klaro.image.KLightbox"]=true;dojo.provide("klaro.image.KLightbox");dojo.experimental("klaro.image.KLightbox");dojo.declare("klaro.image.KLightbox",dijit._Widget,{group:"",title:"",href:"",duration:500,modal:false,_allowPassthru:false,_attachedDialog:null,startup:function(){this.inherited(arguments);var tmp=dijit.byId("klaroKLightboxDialog");if(tmp){this._attachedDialog=tmp;}else{this._attachedDialog=new klaro.image.KLightboxDialog({id:"klaroKLightboxDialog"});this._attachedDialog.startup();}if(!this.store){this._addSelf();this.connect(this.domNode,"onclick","_handleClick");}if(dojo.locale=="sl"){var arr=new Array();arr=getElementsByClass("dijitInline KLightboxClose",document,"div");for(var i=0;i<arr.length;i++){arr[i].className+="_sl";}}},_addSelf:function(){this._attachedDialog.addImage({href:this.href,title:this.title},this.group||null);},_handleClick:function(e){if(!this._allowPassthru){e.preventDefault();}else{return;}this.show();},show:function(){this._attachedDialog.show(this);},hide:function(){this._attachedDialog.hide();},disable:function(){this._allowPassthru=true;},enable:function(){this._allowPassthru=false;},onClick:function(){}});dojo.declare("klaro.image.KLightboxDialog",dijit.Dialog,{title:"",inGroup:null,imgUrl:dijit._Widget.prototype._blankGif,errorMessage:"Image not found.",adjust:true,modal:false,_groups:{XnoGroupX:[]},errorImg:dojo.moduleUrl("dojox.image","resources/images/warning.png"),templateString:dojo.cache("klaro.image","resources/KLightbox.html","<div class=\"klaroKLightbox\" dojoAttachPoint=\"containerNode\" style=\"padding-left: 5px; padding-right: 5px;\">\n\t<div style=\"position:relative\">\n\t\t<div dojoAttachPoint=\"imageContainer\" class=\"klaroKLightboxContainer\" dojoAttachEvent=\"onclick: _onImageClick\" style=\"position:relative\">\n\t\t\t<img dojoAttachPoint=\"imgNode\" src=\"${imgUrl}\" class=\"klaroKLightboxImage\" alt=\"${title}\">\n\t\t\t<div class=\"klaroKLightboxLeftDiv\" onmouseover=\"showLayerByClass('dijitInline KLightboxPrev', true);\" onmouseout=\"showLayerByClass('dijitInline KLightboxPrev', false);\" dojoAttachPoint=\"prevNode\">\n\t\t\t\t<div style=\"height: 45%; float: left;\">&nbsp;</div>\n\t\t\t\t<div style=\"position: absolute; left: -5px;top: 45%; width: 5px; height: 25px; background: #ddd;\"></div>\n\t\t\t\t<div class=\"dijitInline KLightboxPrev\" id=\"KLB_prevBtn\" style=\"clear: both; display: none; padding: 0px;\"></div>\n\t\t\t</div>\n\t\t\t<div class=\"klaroKLightboxRightDiv\" onmouseover=\"showLayerByClass('dijitInline KLightboxNext', true);\" onmouseout=\"showLayerByClass('dijitInline KLightboxNext', false);\" dojoAttachPoint=\"nextNode\">\n\t\t\t\t<div style=\"height: 45%; float: right;\">&nbsp;</div>\n\t\t\t\t<div style=\"position: absolute; right: -5px; top: 45%; width: 5px; height: 25px; background: #ddd;\"></div>\n\t\t\t\t<div class=\"dijitInline KLightboxNext\" id=\"KLB_nextBtn\" style=\"clear: both; display: none; padding: 0px;\"></div>\n\t\t\t</div>\n\t\t\t<div class=\"klaroKLightboxFooter\" dojoAttachPoint=\"titleNode\">\n\t\t\t\t<div class=\"dijitInline KLightboxClose\" id=\"KLB_closeBtn\" dojoAttachPoint=\"closeNode\"></div>\n\t\t\t\t<div class=\"klaroKLightboxText\" dojoAttachPoint=\"titleTextNode\"><span dojoAttachPoint=\"textNode\">${title}</span><span dojoAttachPoint=\"groupCount\" class=\"klaroKLightboxGroupText\"></span></div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n"),startup:function(){this.inherited(arguments);this._animConnects=[];this.connect(this.nextNode,"onclick","_nextImage");this.connect(this.prevNode,"onclick","_prevImage");this.connect(this.closeNode,"onclick","hide");this._makeAnims();this._vp=dijit.getViewport();return this;},show:function(_49a){var _49b=this;this._lastGroup=_49a;if(!_49b.open){_49b.inherited(arguments);this._modalconnects.push(dojo.connect(dojo.global,"onscroll",this,"_position"),dojo.connect(dojo.global,"onresize",this,"_position"),dojo.connect(dojo.body(),"onkeypress",this,"_handleKey"));if(!_49a.modal){this._modalconnects.push(dojo.connect(dijit._underlay.domNode,"onclick",this,"onCancel"));}}if(this._wasStyled){dojo.destroy(_49b.imgNode);_49b.imgNode=dojo.create("img",null,_49b.imageContainer,"first");_49b._makeAnims();_49b._wasStyled=false;}dojo.style(_49b.imgNode,"opacity","0");dojo.style(_49b.titleNode,"opacity","0");var src=_49a.href;if((_49a.group&&_49a!=="XnoGroupX")||_49b.inGroup){if(!_49b.inGroup){_49b.inGroup=_49b._groups[(_49a.group)];dojo.forEach(_49b.inGroup,function(g,i){if(g.href==_49a.href){_49b._index=i;}},_49b);}if(!_49b._index){_49b._index=0;src=_49b.inGroup[_49b._index].href;}_49b.groupCount.innerHTML=" "+(_49b._index+1)+" / "+_49b.inGroup.length+"";_49b.prevNode.style.visibility="visible";_49b.nextNode.style.visibility="visible";}else{_49b.groupCount.innerHTML="";_49b.prevNode.style.visibility="hidden";_49b.nextNode.style.visibility="hidden";}if(_49b.inGroup.length==1){_49b.groupCount.innerHTML="";_49b.prevNode.style.visibility="hidden";_49b.nextNode.style.visibility="hidden";}if(!_49a.leaveTitle){_49b.textNode.innerHTML=_49a.title;}_49b._ready(src);},_ready:function(src){var _49c=this;_49c._imgError=dojo.connect(_49c.imgNode,"error",_49c,function(){dojo.disconnect(_49c._imgError);_49c.imgNode.src=_49c.errorImg;_49c.textNode.innerHTML=_49c.errorMessage;});_49c._imgConnect=dojo.connect(_49c.imgNode,"load",_49c,function(e){_49c.resizeTo({w:_49c.imgNode.width,h:_49c.imgNode.height,duration:_49c.duration});dojo.disconnect(_49c._imgConnect);if(_49c._imgError){dojo.disconnect(_49c._imgError);}});_49c.imgNode.src=src;},_nextImage:function(){if(!this.inGroup){return;}if(this._index+1<this.inGroup.length){this._index++;}else{this._index=0;}this._loadImage();},_prevImage:function(){if(this.inGroup){if(this._index==0){this._index=this.inGroup.length-1;}else{this._index--;}this._loadImage();}},_loadImage:function(){this._loadingAnim.play(1);},_prepNodes:function(){this._imageReady=false;this.show({href:this.inGroup[this._index].href,title:this.inGroup[this._index].title});},resizeTo:function(size,_49d){var _49e=dojo.boxModel=="border-box"?dojo._getBorderExtents(this.domNode).w:0,_49f=_49d||{h:30};this._lastTitleSize=_49f;if(this.adjust&&(size.h+_49f.h+_49e+80>this._vp.h||size.w+_49e+60>this._vp.w)){this._lastSize=size;size=this._scaleToFit(size);}this._currentSize=size;var _4a0=dojox.fx.sizeTo({node:this.containerNode,duration:size.duration||this.duration,width:size.w+_49e,height:size.h+_49f.h+_49e});this.connect(_4a0,"onEnd","_showImage");_4a0.play(15);},_scaleToFit:function(size){var ns={};if(this._vp.h>this._vp.w){ns.w=this._vp.w-80;ns.h=ns.w*(size.h/size.w);}else{ns.h=this._vp.h-60-this._lastTitleSize.h;ns.w=ns.h*(size.w/size.h);}this._wasStyled=true;this._setImageSize(ns);ns.duration=size.duration;return ns;},_setImageSize:function(size){var s=this.imgNode;s.height=size.h;s.width=size.w;},_size:function(){},_position:function(e){this._vp=dijit.getViewport();this.inherited(arguments);if(e&&e.type=="resize"){if(this._wasStyled){this._setImageSize(this._lastSize);this.resizeTo(this._lastSize);}else{if(this.imgNode.height+80>this._vp.h||this.imgNode.width+60>this._vp.h){this.resizeTo({w:this.imgNode.width,h:this.imgNode.height});}}}},_showImage:function(){this._showImageAnim.play(1);},_showNav:function(){var _4a1=dojo.marginBox(this.titleNode);if(_4a1.h>this._lastTitleSize.h){this.resizeTo(this._wasStyled?this._lastSize:this._currentSize,_4a1);}else{this._showNavAnim.play(1);}},hide:function(){dojo.fadeOut({node:this.titleNode,duration:200,onEnd:dojo.hitch(this,function(){this.imgNode.src=this._blankGif;})}).play(5);this.inherited(arguments);this.inGroup=null;this._index=null;},addImage:function(_4a2,_4a3){var g=_4a3;if(!_4a2.href){return;}if(g){if(!this._groups[g]){this._groups[g]=[];}this._groups[g].push(_4a2);}else{this._groups["XnoGroupX"].push(_4a2);}},_handleKey:function(e){if(!this.open){return;}var dk=dojo.keys;switch(e.charOrCode){case dk.ESCAPE:this.hide();break;case dk.DOWN_ARROW:case dk.RIGHT_ARROW:case 78:this._nextImage();break;case dk.UP_ARROW:case dk.LEFT_ARROW:case 80:this._prevImage();break;}},_makeAnims:function(){dojo.forEach(this._animConnects,dojo.disconnect);this._animConnects=[];this._showImageAnim=dojo.fadeIn({node:this.imgNode,duration:this.duration});this._animConnects.push(dojo.connect(this._showImageAnim,"onEnd",this,"_showNav"));this._loadingAnim=dojo.fx.combine([dojo.fadeOut({node:this.imgNode,duration:175}),dojo.fadeOut({node:this.titleNode,duration:175})]);this._animConnects.push(dojo.connect(this._loadingAnim,"onEnd",this,"_prepNodes"));this._showNavAnim=dojo.fadeIn({node:this.titleNode,duration:225});},onClick:function(_4a4){},_onImageClick:function(e){if(e&&e.target==this.imgNode){this.onClick(this._lastGroup);if(this._lastGroup.declaredClass){this._lastGroup.onClick(this._lastGroup);}}}});}dojo.i18n._preloadLocalizations("dojo.nls.dojo",["ROOT","ar","ca","cs","da","de","de-de","el","en","en-gb","en-us","es","es-es","fi","fi-fi","fr","fr-fr","he","he-il","hu","it","it-it","ja","ja-jp","ko","ko-kr","nb","nl","nl-nl","pl","pt","pt-br","pt-pt","ru","sk","sl","sv","th","tr","xx","zh","zh-cn","zh-tw"]);if(dojo.config.afterOnLoad&&dojo.isBrowser){window.setTimeout(dojo._loadInit,1000);}})();


// INCLUDED SOURCE FILE /var/www/volos2/apps/.app-2_37_44/src/Core/Include/js/KUtil.js
function openRawWindow(_1,_2,_3,_4){
if(!_3){
_3=800;
}
if(!_4){
_4=600;
}
return window.open(_1,_2,"directories=no,hotkeys=no,location=no,menubar=no,personalbar=no,resizable=yes,scrollbars=yes,toolbar=no,width="+_3+"px,height="+_4+"px");
}
function showLayer(_5,_6,_7){
var _8=document.getElementById(_5);
if(_8){
_8.style.display=(_6)?((_7)?"block":"inline"):"none";
}
}
function showLayerByClass(_9,_a){
var _b=new Array();
_b=getElementsByClass(_9,document,"div");
for(var i=0;i<_b.length;i++){
_b[i].style.display=_a?"block":"none";
}
}
function layerDisplay(_d,_e){
if("object"==typeof (_d)){
for(var i in _d){
if("string"==typeof (_d[i])){
layerDisplay(_d[i],_e);
}
}
}else{
var lay=document.getElementById(_d);
if(lay){
if("table-row"==_e&&false){
_e="block";
}
lay.style.display=_e;
}
}
}
function layerVisibility(_11,_12){
var lay=document.getElementById(_11);
if(lay){
lay.style.visibility=(_12)?"visible":"hidden";
}
}
function toggleSingleChb(chb,_15){
if(chb=document.getElementById(chb)){
switch(_15){
case 0:
chb.checked=0;
break;
case 1:
chb.checked=1;
break;
case 2:
chb.checked=!chb.checked;
break;
}
}
}
function toggleChb(_16,_17){
i=0;
while((chb=document.getElementById(_16+"_"+i))||i<5){
if(chb){
switch(_17){
case 0:
chb.checked=0;
break;
case 1:
chb.checked=1;
break;
case 2:
chb.checked=!chb.checked;
break;
}
}
i++;
}
}
function toggleLayer(_18,_19){
_18=typeof _18=="string"?document.getElementById(_18):_18;
if(_18){
switch(_18.style.display){
case "block":
case "inline":
case "":
_18.style.display="none";
break;
default:
_18.style.display=(_19?"inline":"block");
break;
}
}
}
function toggleVisibility(_1a){
var lay=document.getElementById(_1a);
if(lay){
switch(lay.style.visibility){
case "hidden":
lay.style.visibility="visible";
break;
default:
lay.style.visibility="hidden";
break;
}
}
}
function Okno(url,w,h,_1f){
var dim=getScreenDim();
_1f=_1f?_1f:{};
w=(w.toString().match(/[0-9]+\%/))?(parseInt(w)/100)*dim.w:w;
h=(h.toString().match(/[0-9]+\%/))?(parseInt(h)/100)*dim.h:h;
_1f["width"]=Math.round(w);
_1f["height"]=Math.round(h);
_1f["resizable"]=null==_1f["resizable"]?"yes":_1f["resizable"];
_1f["menubar"]=null==_1f["menubar"]?0:_1f["menubar"];
_1f["toolbar"]=null==_1f["toolbar"]?0:_1f["toolbar"];
_1f["location"]=null==_1f["location"]?0:_1f["location"];
_1f["directories"]=null==_1f["directories"]?0:_1f["directories"];
_1f["status"]=null==_1f["status"]?0:_1f["status"];
_1f["scrollbars"]=null==_1f["scrollbars"]?0:_1f["scrollbars"];
var o="";
for(var key in _1f){
o+=key+"="+_1f[key]+",";
}
o=o.substr(0,o.length-1);
return win=window.open(url,"dialog",o);
}
function OknoBar(_23,w,h){
return win=window.open(_23,"dialog","width="+w+",height="+h+",resizable=0,menubar=0,toolbar=0,location=0,directories=0,status=0,scrollbars=1");
}
function popupWindow(url,_27,_28,_29){
wnd=window.open("",_28,_29);
wnd.document.write("<head>");
wnd.document.write("<title>"+_27+"</title>");
wnd.document.write("</head>");
wnd.document.write("<frameset rows=\"0, 100%\">");
wnd.document.write("<frame frameborder=\"0\" noresize=\"true\">");
wnd.document.write("<frame frameborder=\"0\" noresize=\"true\" src=\""+url+"\">");
wnd.document.write("</frameset>");
wnd.document.title=_27;
}
function addEvent(elm,_2b,fn,_2d){
if(elm.addEventListener){
elm.addEventListener(_2b,fn,_2d);
return true;
}else{
if(elm.attachEvent){
var r=elm.attachEvent("on"+_2b,fn);
return r;
}else{
elm["on"+_2b]=fn;
}
}
}
function removeEvent(elm,_30,fn,_32){
if(elm.removeEventListener){
elm.removeEventListener(_30,fn,_32);
return true;
}else{
if(elm.detachEvent){
var r=elm.detachEvent("on"+_30,fn);
return r;
}else{
elm["on"+_30]=null;
}
}
}
function getElementsByClass(_34,_35,tag){
var _37=new Array();
if(_35==null){
_35=document;
}
if(tag==null){
tag="*";
}
var els=_35.getElementsByTagName(tag);
var _39=els.length;
var _3a=new RegExp("(^|\\s)"+_34+"(\\s|$)");
for(i=0,j=0;i<_39;i++){
if(_3a.test(els[i].className)){
_37[j]=els[i];
j++;
}
}
return _37;
}
function getEventTarget(e){
if(!e){
var e=window.event;
}
if(e.target){
targ=e.target;
}else{
if(e.srcElement){
targ=e.srcElement;
}
}
return targ;
}
function stopBubbling(e){
if(!e&&window.event){
var e=window.event;
}else{
if(!e){
return false;
}
}
e.cancelBubble=true;
if(e.stopPropagation){
e.stopPropagation();
}
}
function getScreenDim(){
var r={};
if(self.innerWidth){
r.w=self.innerWidth;
r.h=self.innerHeight;
}else{
if(document.documentElement&&document.documentElement.clientWidth){
r.w=document.documentElement.clientWidth;
r.h=document.documentElement.clientHeight;
}else{
if(document.body){
r.w=document.body.clientWidth;
r.h=document.body.clientHeight;
}
}
}
return r;
}
function centerLayer(_3e){
var lay=document.getElementById(_3e);
var _40=0;
var _41=0;
var h=0;
var w=0;
var dim=getScreenDim();
if(lay.offsetWidth){
w=lay.offsetWidth;
h=lay.offsetHeight;
}else{
if(lay.element.pixelWidth){
w=lay.pixelWidth;
h=lay.pixelHeight;
}
}
if(lay){
lay.style.left=dim.w/2-w/2+"px";
lay.style.top=dim.h/2-h/2+"px";
}
}
function copyToClipboard(_45){
if(window.clipboardData){
window.clipboardData.setData("Text",_45);
}else{
if(window.netscape){
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
var _46=Components.classes["@mozilla.org/widget/clipboard;1"].createInstance(Components.interfaces.nsIClipboard);
if(!_46){
return;
}
var _47=Components.classes["@mozilla.org/widget/transferable;1"].createInstance(Components.interfaces.nsITransferable);
if(!_47){
return;
}
_47.addDataFlavor("text/unicode");
var str=new Object();
var len=new Object();
var str=Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.interfaces.nsISupportsString);
var _4a=_45;
str.data=_4a;
_47.setTransferData("text/unicode",str,_4a.length*2);
var _4b=Components.interfaces.nsIClipboard;
if(!_46){
return false;
}
_46.setData(_47,null,_4b.kGlobalClipboard);
}
}
return false;
}
function insertTextAtCaret(_4c,_4d){
var obj=document.getElementById(_4c);
if(obj.createTextRange){
obj.focus();
var sel=document.selection;
var rng=sel.createRange();
rng.colapse;
if((sel.type=="Text"||sel.type=="None")&&rng!=null){
rng.text=_4d;
}
}else{
if(obj.selectionEnd){
var ss=obj.selectionStart;
var st=obj.scrollTop;
var es=obj.selectionEnd;
if(es<=2){
es=obj.textLength;
}
var _54=(obj.value).substring(0,ss);
var _55=(obj.value).substring(ss,es);
var end=(obj.value).substring(es,obj.textLength);
if(obj.selectionEnd-obj.selectionStart>0){
_55=_4d;
}else{
_55=_55+_4d;
}
obj.value=_54+_55+end;
var _57=ss+(_55.length);
obj.selectionStart=_57;
obj.selectionEnd=_57;
obj.scrollTop=st;
}else{
obj.value+=_4d;
}
}
obj.focus();
return true;
}
function submitByButton(_58,id,_5a,btn,_5c){
KShade.show(true);
if(!_58){
_58=btn;
while((_58=_58.parentNode)&&_58&&_58.tagName!="FORM"){
}
}else{
if("string"==typeof (_58)){
_58=document.forms[_58];
}
}
if(!_58){
return false;
}
var hdn=document.createElement("input");
hdn.type="hidden";
hdn.value=(_5a?_5a:"1");
hdn.id=id;
hdn.name=_5c?_5c:id;
_58.appendChild(hdn);
_58.submit();
}
function submitParentForm(el){
form=el;
while((form=form.parentNode)&&form&&form.tagName!="FORM"){
}
if(form&&form.tagName=="FORM"){
form.submit();
}
}
function multipleSelectAll(id){
var box=document.getElementById(id);
if(box){
for(var i=0;i<box.options.length;i++){
box.options[i].selected=true;
}
}
return true;
}
function tooltip(el,_63,_64){
return domTT_activate(el,_63,"content",_64,"trail",false);
}
function findPos(obj){
var _66=curtop=0;
if(obj.offsetParent){
_66=obj.offsetLeft;
curtop=obj.offsetTop;
while((obj=obj.offsetParent)){
_66+=obj.offsetLeft;
curtop+=obj.offsetTop;
}
}
return [_66,curtop];
}
function addslashes(str){
if("string"==typeof (str)){
str=str.replace(/\\/g,"\\\\");
str=str.replace(/\'/g,"\\'");
str=str.replace(/\"/g,"\\\"");
str=str.replace(/\0/g,"\\0");
return str;
}else{
if("object"==typeof (str)){
for(i=0;i<str.length;i++){
str[i]=addslashes(str[i]);
}
return str;
}
}
}
function stripslashes(str){
if("string"==typeof (str)){
str=str.replace(/\\'/g,"'");
str=str.replace(/\\"/g,"\"");
str=str.replace(/\\\\/g,"\\");
str=str.replace(/\\0/g,"\x00");
return str;
}else{
if("object"==typeof (str)){
for(i=0;i<str.length;i++){
str[i]=stripslashes(str[i]);
}
return str;
}
}
}
function utrans(val){
return null!=(res=val.match(/(\d+)/))?Number(res[0]):0;
}
function arrangeCols(mh){
var agt=navigator.userAgent.toLowerCase();
var moz=(agt.indexOf("gecko")!=-1);
if(moz){
btns=document.getElementsByTagName("table");
for(i=0;i<btns.length;i++){
if("btnInline"==btns[i].parentNode.className){
btns[i].firstChild.style.display="none";
}
}
}
var o=eval(arguments[1]);
var el=null;
var _6f=null;
var _70=null;
var ms=[];
var max=0;
i=0;
for(var col in o){
el=document.getElementById(o[col]["id"]);
_6f=document.getElementById(o[col]["id"]+"BI");
_70=document.getElementById(o[col]["id"]+"BD");
if(!_6f){
continue;
}
var m=0;
if(_6f.currentStyle){
ms[i]=utrans(_6f.currentStyle["marginTop"]);
ms[i]+=utrans(_6f.currentStyle["marginBottom"]);
}else{
if(document.defaultView.getComputedStyle(_6f,null)){
ms[i]=utrans(document.defaultView.getComputedStyle(_6f,null).getPropertyValue("margin-top"));
ms[i]+=utrans(document.defaultView.getComputedStyle(_6f,null).getPropertyValue("margin-bottom"));
}
}
max=Math.max(max,el.offsetHeight+ms[i]);
i++;
}
if(null!=mh){
if(window.innerHeight){
max=max<window.innerHeight-mh?window.innerHeight-mh:max;
}else{
if(document.documentElement&&document.documentElement.clientHeight){
max=max<document.documentElement.clientHeight-mh?document.documentElement.clientHeight-mh:max;
}
}
}
for(var i in o){
if(el=document.getElementById(o[i].id+"BD")){
if(el.currentStyle){
el.style.height=(max-o[i].fr)+"px";
}else{
el.style["minHeight"]=(max-o[i].fr)+"px";
}
}else{
if(el=document.getElementById(o[i].id+"BI")){
if(el.currentStyle){
el.style.height=(max-o[i].fr)+"px";
}else{
el.style["minHeight"]=(max-o[i].fr)+"px";
}
}
}
}
if(moz){
setTimeout("_arrangeCols()",1);
}
}
function _arrangeCols(){
btns=document.getElementsByTagName("table");
for(i=0;i<btns.length;i++){
if("btnInline"==btns[i].parentNode.className){
var _76=btns[i].parentNode.cloneNode(true);
_76.firstChild.firstChild.style.display="table-header-group";
btns[i].parentNode.parentNode.replaceChild(_76,btns[i].parentNode);
}
}
}
function reloadImage(_77){
img=document.getElementById(_77);
if(img){
d=new Date();
img.src=img.src+(img.src.indexOf("?")?"&":"?")+d.getTime();
}
}
function showIFrame(_78,_79,dir,_7b,_7c,_7d){
if(typeof (dojo)!="undefined"){
dojo.require("dijit.DialogUnderlay");
}
var _7e=null;
var _7f=null;
if(!dir){
dir="scripts/";
}
if(!_7c){
_7c="800px";
}
if(!_7d){
_7d="400px";
}
var _80=window.innerWidth?window.innerWidth:document.documentElement.clientWidth;
var _81=((_80-_7c.replace(/px/,""))/2)+"px";
var frm=document.createElement("iframe");
var _83=window.location.protocol+"//"+window.location.host+"/"+dir+_78+".php";
var op="?";
for(var n in _79){
_83+=op+n+"="+_79[n];
op="&";
}
frm.src=_83;
frm.id="settingsFrame";
frm.style.position="absolute";
frm.style.width=_7c;
frm.style.height=_7d;
frm.style.textAlign="center";
frm.style.zIndex="30000";
if(window.XMLHttpRequest){
frm.allowTransparency="true";
}else{
frm.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)";
}
frm.frameBorder="0";
_80=window.innerWidth?window.innerWidth:document.documentElement.clientWidth;
totalH=window.innerHeight?window.innerHeight:document.documentElement.clientHeight;
frm.style.left=_81;
frm.style.top=(document.documentElement.scrollTop+160)+"px";
document.body.appendChild(frm);
if(!_7b){
KShade.show();
if(typeof (dojo)!="undefined"){
var _86=dijit._underlay;
if(!_86){
_86=dijit._underlay=new dijit.DialogUnderlay({dialogId:"settingsFrame"});
}
_86.show();
dojo.connect(window,"onscroll",_86,"layout");
dojo.connect(window,"onresize",_86,"layout");
}
}
addEvent(frm,"load",function(){
resizeIFrame(frm);
});
addEvent(frm,"resize",function(){
resizeIFrame(frm);
});
addEvent(frm,"scroll",function(){
resizeIFrame(frm);
});
}
function resizeIFrame(frm){
if("undefined"==typeof (frm)){
if(parent&&parent.document.getElementById("settingsFrame")){
frm=parent.document.getElementById("settingsFrame");
}else{
frm=document.getElementById("settingsFrame");
}
}
if("string"==typeof (frm)){
if(parent&&parent.document.getElementById(frm)){
frm=parent.document.getElementById(frm);
}else{
frm=document.getElementById(frm);
}
}
if(!frm){
return false;
}
height=0;
if(frm.contentDocument.documentElement&&frm.contentDocument.documentElement.scrollHeight){
height=frm.contentDocument.documentElement.scrollHeight;
}
if(height&&(height>frm.offsetHeight)){
frm.style.height=height+"px";
}
}
function getKey(e){
var key="";
if(window.event){
key=String.fromCharCode(e.keyCode);
}else{
if(e.which){
key=String.fromCharCode(e.which);
}
}
return key;
}
function setCookie(_8a,_8b,_8c,_8d){
var _8e=new Date();
var _8f=new Date();
_8f.setTime(_8e.getTime()+_8c);
if(_8d==null){
_8d="";
}else{
_8d=";path="+_8d;
}
document.cookie=_8a+"="+escape(_8b)+";expires="+_8f.toGMTString()+_8d;
}
function fixFlicker(){
}
addEvent(window,"load",fixFlicker);



// INCLUDED SOURCE FILE /var/www/volos2/apps/.app-2_37_44/src/Core/Include/js/KBtn.js
var KBtn=new function(){
var _1=null;
this.hvr=function(_2){
if(this.hovEl){
this.uHvr(this.hovEl);
}
if(_2){
suffix=_2.className.substr(_2.className.length-4);
if("_sel"==suffix){
_2.className=_2.className.substr(0,_2.className.length-4)+"_slh";
}else{
if("_hov"!=suffix&&"_slh"!=suffix){
_2.className=_2.className+"_hov";
}
}
this.hovEl=_2;
}
};
this.uHvr=function(_3){
if(_3){
suffix=_3.className.substr(_3.className.length-4);
if("_slh"==suffix){
_3.className=_3.className.substr(0,_3.className.length-4)+"_sel";
this.hovEl=null;
}else{
if("_hov"==suffix){
_3.className=_3.className.substr(0,_3.className.length-4);
this.hovEl=null;
}
}
}
};
this.follow=function(_4){
if(a=_4.getElementsByTagName("a")[0]){
switch(tgt=a.target?a.target:a.rel){
case "_blank":
case "external":
window.open(a.href);
break;
case "_parent":
parent.window.location(a.href);
break;
case "_self":
window.location=a.href;
break;
case "_top":
window.open(a.href);
break;
case "":
window.location=a.href;
break;
default:
window.open(a.href,a.target);
break;
}
}
};
this.submit=function(_5,e,_7,_8){
if(!_8){
_8=_5;
while((_8=_8.parentNode)&&_8&&_8.tagName!="FORM"){
}
}else{
if("string"==typeof (_8)){
_8=document.forms[_8];
}
}
if(!_8){
return false;
}
var _9=document.createElement("input");
_9.type="hidden";
_9.value=_7;
_9.name=_5.name?_5.name:(_5.summary?_5.summary:_5.id);
_8.appendChild(_9);
_8.submit();
};
};



// INCLUDED SOURCE FILE /var/www/volos2/apps/.app-2_37_44/src/Core/Include/js/externalLinks.js
function externalLinks(){
if(!document.getElementsByTagName){
return;
}
var _1=document.getElementsByTagName("a");
for(var i=0;i<_1.length;i++){
var _3=_1[i];
if(_3.getAttribute("href")&&_3.getAttribute("rel")=="external"){
_3.target="_blank";
}
}
}
addEvent(window,"load",externalLinks,false);



// INCLUDED SOURCE FILE /var/www/volos2/apps/.app-2_37_44/3rdparty/domTT/domLib.js
var domLib_userAgent=navigator.userAgent.toLowerCase();
var domLib_isMac=navigator.appVersion.indexOf("Mac")!=-1;
var domLib_isWin=domLib_userAgent.indexOf("windows")!=-1;
var domLib_isOpera=domLib_userAgent.indexOf("opera")!=-1;
var domLib_isOpera7up=domLib_userAgent.match(/opera.(7|8)/i);
var domLib_isSafari=domLib_userAgent.indexOf("safari")!=-1;
var domLib_isKonq=domLib_userAgent.indexOf("konqueror")!=-1;
var domLib_isKHTML=(domLib_isKonq||domLib_isSafari||domLib_userAgent.indexOf("khtml")!=-1);
var domLib_isIE=(!domLib_isKHTML&&!domLib_isOpera&&(domLib_userAgent.indexOf("msie 5")!=-1||domLib_userAgent.indexOf("msie 6")!=-1||domLib_userAgent.indexOf("msie 7")!=-1||domLib_userAgent.indexOf("msie 8")!=-1));
var domLib_isIE5up=domLib_isIE;
var domLib_isIE50=(domLib_isIE&&domLib_userAgent.indexOf("msie 5.0")!=-1);
var domLib_isIE55=(domLib_isIE&&domLib_userAgent.indexOf("msie 5.5")!=-1);
var domLib_isIE5=(domLib_isIE50||domLib_isIE55);
var domLib_isGecko=domLib_userAgent.indexOf("gecko/")!=-1;
var domLib_isMacIE=(domLib_isIE&&domLib_isMac);
var domLib_isIE55up=domLib_isIE5up&&!domLib_isIE50&&!domLib_isMacIE;
var domLib_isIE6up=domLib_isIE55up&&!domLib_isIE55;
var domLib_standardsMode=(document.compatMode&&document.compatMode=="CSS1Compat");
var domLib_useLibrary=(domLib_isOpera7up||domLib_isKHTML||domLib_isIE5up||domLib_isGecko||domLib_isMacIE||document.defaultView);
var domLib_hasBrokenTimeout=(domLib_isMacIE||(domLib_isKonq&&domLib_userAgent.match(/konqueror\/3.([2-9])/)==null));
var domLib_canFade=(domLib_isGecko||domLib_isIE||domLib_isSafari||domLib_isOpera);
var domLib_canDrawOverSelect=(domLib_isMac||domLib_isOpera||domLib_isGecko);
var domLib_canDrawOverFlash=(domLib_isMac||domLib_isWin);
var domLib_eventTarget=domLib_isIE?"srcElement":"currentTarget";
var domLib_eventButton=domLib_isIE?"button":"which";
var domLib_eventTo=domLib_isIE?"toElement":"relatedTarget";
var domLib_stylePointer=domLib_isIE?"hand":"pointer";
var domLib_styleNoMaxWidth=domLib_isOpera?"10000px":"none";
var domLib_hidePosition="-1000px";
var domLib_scrollbarWidth=14;
var domLib_autoId=1;
var domLib_zIndex=1000000;
var domLib_collisionElements;
var domLib_collisionsCached=false;
var domLib_timeoutStateId=0;
var domLib_timeoutStates=new domTT_Hash();
if(!document.ELEMENT_NODE){
document.ELEMENT_NODE=1;
document.ATTRIBUTE_NODE=2;
document.TEXT_NODE=3;
document.DOCUMENT_NODE=9;
document.DOCUMENT_FRAGMENT_NODE=11;
}
function domLib_clone(_1){
var _2={};
for(var i in _1){
var _4=_1[i];
try{
if(_4!=null&&typeof (_4)=="object"&&_4!=window&&!_4.nodeType){
_2[i]=domLib_clone(_4);
}else{
_2[i]=_4;
}
}
catch(e){
_2[i]=_4;
}
}
return _2;
}
function domTT_Hash(){
this.length=0;
this.numericLength=0;
this.elementData=[];
for(var i=0;i<arguments.length;i+=2){
if(typeof (arguments[i+1])!="undefined"){
this.elementData[arguments[i]]=arguments[i+1];
this.length++;
if(arguments[i]==parseInt(arguments[i])){
this.numericLength++;
}
}
}
}
domTT_Hash.prototype.get=function(_6){
if(typeof (this.elementData[_6])!="undefined"){
return this.elementData[_6];
}
return null;
};
domTT_Hash.prototype.set=function(_7,_8){
if(typeof (_8)!="undefined"){
if(typeof (this.elementData[_7])=="undefined"){
this.length++;
if(_7==parseInt(_7)){
this.numericLength++;
}
}
return this.elementData[_7]=_8;
}
return false;
};
domTT_Hash.prototype.remove=function(_9){
var _a;
if(typeof (this.elementData[_9])!="undefined"){
this.length--;
if(_9==parseInt(_9)){
this.numericLength--;
}
_a=this.elementData[_9];
delete this.elementData[_9];
}
return _a;
};
domTT_Hash.prototype.size=function(){
return this.length;
};
domTT_Hash.prototype.has=function(_b){
return typeof (this.elementData[_b])!="undefined";
};
domTT_Hash.prototype.find=function(_c){
for(var _d in this.elementData){
if(this.elementData[_d]==_c){
return _d;
}
}
return null;
};
domTT_Hash.prototype.merge=function(_e){
for(var _f in _e.elementData){
if(typeof (this.elementData[_f])=="undefined"){
this.length++;
if(_f==parseInt(_f)){
this.numericLength++;
}
}
this.elementData[_f]=_e.elementData[_f];
}
};
domTT_Hash.prototype.compare=function(_10){
if(this.length!=_10.length){
return false;
}
for(var _11 in this.elementData){
if(this.elementData[_11]!=_10.elementData[_11]){
return false;
}
}
return true;
};
function domLib_isDescendantOf(_12,_13,_14){
if(_12==null){
return false;
}
if(_12==_13){
return true;
}
try{
if(typeof (_14)!="undefined"&&(","+_14.join(",")+",").indexOf(","+_12.tagName+",")!=-1){
return false;
}
}
catch(e){
return false;
}
while(_12!=document.documentElement){
try{
if((tmp_object=_12.offsetParent)&&tmp_object==_13){
return true;
}else{
if((tmp_object=_12.parentNode)==_13){
return true;
}else{
_12=tmp_object;
}
}
}
catch(e){
return false;
}
}
return false;
}
function domLib_detectCollisions(_15,_16,_17){
if(!domLib_collisionsCached){
var _18=[];
if(!domLib_canDrawOverFlash){
_18[_18.length]="object";
}
if(!domLib_canDrawOverSelect){
_18[_18.length]="select";
}
domLib_collisionElements=domLib_getElementsByTagNames(_18,true);
domLib_collisionsCached=_17;
}
if(_16){
for(var cnt=0;cnt<domLib_collisionElements.length;cnt++){
var _1a=domLib_collisionElements[cnt];
if(!_1a.hideList){
_1a.hideList=new domTT_Hash();
}
_1a.hideList.remove(_15.id);
if(!_1a.hideList.length){
domLib_collisionElements[cnt].style.visibility="visible";
if(domLib_isKonq){
domLib_collisionElements[cnt].style.display="";
}
}
}
return;
}else{
if(domLib_collisionElements.length==0){
return;
}
}
var _1b=domLib_getOffsets(_15);
for(var cnt=0;cnt<domLib_collisionElements.length;cnt++){
var _1a=domLib_collisionElements[cnt];
if(domLib_isDescendantOf(_1a,_15)){
continue;
}
try{
if(domLib_isKonq&&_1a.tagName=="SELECT"&&(_1a.size<=1&&!_1a.multiple)){
continue;
}
}
catch(e){
continue;
}
if(!_1a.hideList){
_1a.hideList=new domTT_Hash();
}
var _1c=domLib_getOffsets(_1a);
var _1d=Math.sqrt(Math.pow(_1c.get("leftCenter")-_1b.get("leftCenter"),2)+Math.pow(_1c.get("topCenter")-_1b.get("topCenter"),2));
var _1e=_1c.get("radius")+_1b.get("radius");
if(_1d<_1e){
if((_1b.get("leftCenter")<=_1c.get("leftCenter")&&_1b.get("right")<_1c.get("left"))||(_1b.get("leftCenter")>_1c.get("leftCenter")&&_1b.get("left")>_1c.get("right"))||(_1b.get("topCenter")<=_1c.get("topCenter")&&_1b.get("bottom")<_1c.get("top"))||(_1b.get("topCenter")>_1c.get("topCenter")&&_1b.get("top")>_1c.get("bottom"))){
_1a.hideList.remove(_15.id);
if(!_1a.hideList.length){
_1a.style.visibility="visible";
if(domLib_isKonq){
_1a.style.display="";
}
}
}else{
_1a.hideList.set(_15.id,true);
_1a.style.visibility="hidden";
if(domLib_isKonq){
_1a.style.display="none";
}
}
}
}
}
function domLib_getOffsets(_1f,_20){
if(typeof (_20)=="undefined"){
_20=false;
}
var _21=_1f;
var _22=_1f.offsetWidth;
var _23=_1f.offsetHeight;
var _24=0;
var _25=0;
while(_1f){
_24+=_1f.offsetLeft;
_25+=_1f.offsetTop;
_1f=_1f.offsetParent;
if(_1f&&!_20){
_24-=_1f.scrollLeft;
_25-=_1f.scrollTop;
}
}
if(domLib_isMacIE){
_24+=10;
_25+=10;
}
return new domTT_Hash("left",_24,"top",_25,"right",_24+_22,"bottom",_25+_23,"leftCenter",_24+_22/2,"topCenter",_25+_23/2,"radius",Math.max(_22,_23));
}
function domLib_setTimeout(_26,_27,_28){
if(typeof (_28)=="undefined"){
_28=[];
}
if(_27==-1){
return 0;
}else{
if(_27==0){
_26(_28);
return 0;
}
}
var _29=domLib_clone(_28);
if(!domLib_hasBrokenTimeout){
return setTimeout(function(){
_26(_29);
},_27);
}else{
var id=domLib_timeoutStateId++;
var _2b=new domTT_Hash();
_2b.set("function",_26);
_2b.set("args",_29);
domLib_timeoutStates.set(id,_2b);
_2b.set("timeoutId",setTimeout("domLib_timeoutStates.get("+id+").get('function')(domLib_timeoutStates.get("+id+").get('args')); domLib_timeoutStates.remove("+id+");",_27));
return id;
}
}
function domLib_clearTimeout(_2c){
if(!domLib_hasBrokenTimeout){
if(_2c>0){
clearTimeout(_2c);
}
}else{
if(domLib_timeoutStates.has(_2c)){
clearTimeout(domLib_timeoutStates.get(_2c).get("timeoutId"));
domLib_timeoutStates.remove(_2c);
}
}
}
function domLib_getEventPosition(_2d){
var _2e=new domTT_Hash("x",0,"y",0,"scrollX",0,"scrollY",0);
if(domLib_isIE){
var doc=(domLib_standardsMode?document.documentElement:document.body);
if(doc){
_2e.set("x",_2d.clientX+doc.scrollLeft);
_2e.set("y",_2d.clientY+doc.scrollTop);
_2e.set("scrollX",doc.scrollLeft);
_2e.set("scrollY",doc.scrollTop);
}
}else{
_2e.set("x",_2d.pageX);
_2e.set("y",_2d.pageY);
_2e.set("scrollX",_2d.pageX-_2d.clientX);
_2e.set("scrollY",_2d.pageY-_2d.clientY);
}
return _2e;
}
function domLib_cancelBubble(_30){
var _31=_30?_30:window.event;
_31.cancelBubble=true;
}
function domLib_getIFrameReference(_32){
if(domLib_isGecko||domLib_isIE){
return _32.frameElement;
}else{
var _33=_32.name;
if(!_33||!_32.parent){
return null;
}
var _34=_32.parent.document.getElementsByTagName("iframe");
for(var i=0;i<_34.length;i++){
if(_34[i].name==_33){
return _34[i];
}
}
return null;
}
}
function domLib_getElementsByClass(_36){
var _37=domLib_isIE5?document.all:document.getElementsByTagName("*");
var _38=[];
var cnt=0;
for(var i=0;i<_37.length;i++){
if((" "+_37[i].className+" ").indexOf(" "+_36+" ")!=-1){
_38[cnt++]=_37[i];
}
}
return _38;
}
function domLib_getElementsByTagNames(_3b,_3c){
var _3d=[];
for(var i=0;i<_3b.length;i++){
var _3f=document.getElementsByTagName(_3b[i]);
for(var j=0;j<_3f.length;j++){
try{
if(_3f[j].tagName=="OBJECT"&&domLib_isGecko){
var _41=_3f[j].childNodes;
var _42=false;
for(var k=0;k<_41.length;k++){
if(_41[k].tagName=="EMBED"){
_42=true;
break;
}
}
if(_42){
continue;
}
}
}
catch(e){
continue;
}
if(_3c&&domLib_getComputedStyle(_3f[j],"visibility")=="hidden"){
continue;
}
_3d[_3d.length]=_3f[j];
}
}
return _3d;
}
function domLib_getComputedStyle(_44,_45){
if(domLib_isIE){
var _46=_45.replace(/-(.)/,function(a,b){
return b.toUpperCase();
});
return eval("in_obj.currentStyle."+_46);
}else{
if(domLib_isKonq){
return eval("in_obj.style."+_45);
}else{
return document.defaultView.getComputedStyle(_44,null).getPropertyValue(_45);
}
}
}
function makeTrue(){
return true;
}
function makeFalse(){
return false;
}



// INCLUDED SOURCE FILE /var/www/volos2/apps/.app-2_37_44/3rdparty/domTT/domTT.js
var domTT_offsetX=(domLib_isIE?-2:0);
var domTT_offsetY=(domLib_isIE?4:2);
var domTT_direction="southeast";
var domTT_mouseHeight=domLib_isIE?13:19;
var domTT_closeLink="X";
var domTT_closeAction="hide";
var domTT_activateDelay=500;
var domTT_maxWidth=false;
var domTT_styleClass="domTT";
var domTT_fade="neither";
var domTT_lifetime=0;
var domTT_grid=0;
var domTT_trailDelay=200;
var domTT_useGlobalMousePosition=true;
var domTT_postponeActivation=false;
var domTT_tooltipIdPrefix="[domTT]";
var domTT_screenEdgeDetection=true;
var domTT_screenEdgePadding=4;
var domTT_oneOnly=true;
var domTT_cloneNodes=false;
var domTT_detectCollisions=true;
var domTT_bannedTags=["OPTION"];
var domTT_draggable=false;
if(typeof (domTT_dragEnabled)=="undefined"){
domTT_dragEnabled=false;
}
var domTT_predefined=new domTT_Hash();
var domTT_tooltips=new domTT_Hash();
var domTT_lastOpened=0;
var domTT_documentLoaded=false;
var domTT_mousePosition=null;
if(domLib_useLibrary&&domTT_useGlobalMousePosition){
document.onmousemove=function(_1){
if(typeof (_1)=="undefined"){
_1=window.event;
}
domTT_mousePosition=domLib_getEventPosition(_1);
if(domTT_dragEnabled&&domTT_dragMouseDown){
domTT_dragUpdate(_1);
}
};
}
function domTT_activate(_2,_3){
if(!domLib_useLibrary||(domTT_postponeActivation&&!domTT_documentLoaded)){
return false;
}
if(typeof (_3)=="undefined"){
_3=window.event;
}
if(_3!=null){
var _4=_3.srcElement?_3.srcElement:_3.target;
try{
if(_4!=null&&(","+domTT_bannedTags.join(",")+",").indexOf(","+_4.tagName+",")!=-1){
return false;
}
}
catch(e){
return false;
}
}
var _5=document.body;
if(_3!=null&&_3.type.match(/key|mouse|click|contextmenu/i)){
if(_2.nodeType&&_2.nodeType!=document.DOCUMENT_NODE){
_5=_2;
}
}else{
if(typeof (_2)!="object"&&!(_5=domTT_tooltips.get(_2))){
var _6=document.createElement("div");
_5=document.body.appendChild(_6);
_5.style.display="none";
_5.id=_2;
}
}
if(!_5.id){
_5.id="__autoId"+domLib_autoId++;
}
if(domTT_oneOnly&&domTT_lastOpened){
domTT_deactivate(domTT_lastOpened);
}
domTT_lastOpened=_5.id;
var _7=domTT_tooltips.get(_5.id);
if(_7){
if(_7.get("eventType")!=_3.type){
if(_7.get("type")=="greasy"){
_7.set("closeAction","destroy");
domTT_deactivate(_5.id);
}else{
if(_7.get("status")!="inactive"){
return _5.id;
}
}
}else{
if(_7.get("status")=="inactive"){
_7.set("status","pending");
_7.set("activateTimeout",domLib_setTimeout(domTT_runShow,_7.get("delay"),[_5.id,_3]));
return _5.id;
}else{
return _5.id;
}
}
}
var _8=new domTT_Hash("caption","","content","","clearMouse",true,"closeAction",domTT_closeAction,"closeLink",domTT_closeLink,"delay",domTT_activateDelay,"direction",domTT_direction,"draggable",domTT_draggable,"fade",domTT_fade,"fadeMax",100,"grid",domTT_grid,"id",domTT_tooltipIdPrefix+_5.id,"inframe",false,"lifetime",domTT_lifetime,"offsetX",domTT_offsetX,"offsetY",domTT_offsetY,"parent",document.body,"position","absolute","styleClass",domTT_styleClass,"type","greasy","trail",false,"lazy",false);
for(var i=2;i<arguments.length;i+=2){
if(arguments[i]=="predefined"){
var _a=domTT_predefined.get(arguments[i+1]);
for(var j in _a.elementData){
_8.set(j,_a.get(j));
}
}else{
_8.set(arguments[i],arguments[i+1]);
}
}
_8.set("eventType",_3!=null?_3.type:null);
if(_8.has("statusText")){
try{
window.status=_8.get("statusText");
}
catch(e){
}
}
if(!_8.has("content")||_8.get("content")==""||_8.get("content")==null){
if(typeof (_5.onmouseout)!="function"){
_5.onmouseout=function(_c){
domTT_mouseout(this,_c);
};
}
return _5.id;
}
_8.set("owner",_5);
domTT_create(_8);
_8.set("delay",(_3!=null&&_3.type.match(/click|mousedown|contextmenu/i))?0:parseInt(_8.get("delay")));
domTT_tooltips.set(_5.id,_8);
domTT_tooltips.set(_8.get("id"),_8);
_8.set("status","pending");
_8.set("activateTimeout",domLib_setTimeout(domTT_runShow,_8.get("delay"),[_5.id,_3]));
return _5.id;
}
function domTT_create(_d){
var _e=_d.get("owner");
var _f=_d.get("parent");
var _10=_f.ownerDocument||_f.document;
var _11=_10.createElement("div");
var _12=_f.appendChild(_11);
_12.style.position="absolute";
_12.style.left="0px";
_12.style.top="0px";
_12.style.visibility="hidden";
_12.id=_d.get("id");
_12.className=_d.get("styleClass");
var _13;
var _14=false;
if(_d.get("caption")||(_d.get("type")=="sticky"&&_d.get("caption")!==false)){
_14=true;
var _15=_12.appendChild(_10.createElement("table"));
_15.style.borderCollapse="collapse";
if(domLib_isKHTML){
_15.cellSpacing=0;
}
var _16=_15.appendChild(_10.createElement("tbody"));
var _17=0;
var _18=_16.appendChild(_10.createElement("tr"));
var _19=_18.appendChild(_10.createElement("td"));
_19.style.padding="0px";
var _1a=_19.appendChild(_10.createElement("div"));
_1a.className="caption";
if(domLib_isIE50){
_1a.style.height="100%";
}
if(_d.get("caption").nodeType){
_1a.appendChild(domTT_cloneNodes?_d.get("caption").cloneNode(1):_d.get("caption"));
}else{
_1a.innerHTML=_d.get("caption");
}
if(_d.get("type")=="sticky"){
var _17=2;
var _1b=_18.appendChild(_10.createElement("td"));
_1b.style.padding="0px";
var _1c=_1b.appendChild(_10.createElement("div"));
_1c.className="caption";
if(domLib_isIE50){
_1c.style.height="100%";
}
_1c.style.textAlign="right";
_1c.style.cursor=domLib_stylePointer;
_1c.style.borderLeftWidth=_1a.style.borderRightWidth="0px";
_1c.style.paddingLeft=_1a.style.paddingRight="0px";
_1c.style.marginLeft=_1a.style.marginRight="0px";
if(_d.get("closeLink").nodeType){
_1c.appendChild(_d.get("closeLink").cloneNode(1));
}else{
_1c.innerHTML=_d.get("closeLink");
}
_1c.onclick=function(){
domTT_deactivate(_e.id);
};
_1c.onmousedown=function(_1d){
if(typeof (_1d)=="undefined"){
_1d=window.event;
}
_1d.cancelBubble=true;
};
if(domLib_isMacIE){
_1b.appendChild(_10.createTextNode("\n"));
}
}
if(domLib_isMacIE){
_19.appendChild(_10.createTextNode("\n"));
}
var _1e=_16.appendChild(_10.createElement("tr"));
var _1f=_1e.appendChild(_10.createElement("td"));
_1f.style.padding="0px";
if(_17){
if(domLib_isIE||domLib_isOpera){
_1f.colSpan=_17;
}else{
_1f.setAttribute("colspan",_17);
}
}
_13=_1f.appendChild(_10.createElement("div"));
if(domLib_isIE50){
_13.style.height="100%";
}
}else{
_13=_12.appendChild(_10.createElement("div"));
}
_13.className="contents";
var _20=_d.get("content");
if(typeof (_20)=="function"){
_20=_20(_d.get("id"));
}
if(_20!=null&&_20.nodeType){
_13.appendChild(domTT_cloneNodes?_20.cloneNode(1):_20);
}else{
_13.innerHTML=_20;
}
if(_d.has("width")){
_12.style.width=parseInt(_d.get("width"))+"px";
}
var _21=domTT_maxWidth;
if(_d.has("maxWidth")){
if((_21=_d.get("maxWidth"))===false){
_12.style.maxWidth=domLib_styleNoMaxWidth;
}else{
_21=parseInt(_d.get("maxWidth"));
_12.style.maxWidth=_21+"px";
}
}
if(_21!==false&&(domLib_isIE||domLib_isKHTML)&&_12.offsetWidth>_21){
_12.style.width=_21+"px";
}
_d.set("offsetWidth",_12.offsetWidth);
_d.set("offsetHeight",_12.offsetHeight);
if(domLib_isKonq&&_14&&!_12.style.width){
var _22=document.defaultView.getComputedStyle(_12,"").getPropertyValue("border-left-width");
var _23=document.defaultView.getComputedStyle(_12,"").getPropertyValue("border-right-width");
_22=_22.substring(_22.indexOf(":")+2,_22.indexOf(";"));
_23=_23.substring(_23.indexOf(":")+2,_23.indexOf(";"));
var _24=2*((_22?parseInt(_22):0)+(_23?parseInt(_23):0));
_12.style.width=(_12.offsetWidth-_24)+"px";
}
if(domLib_isIE||domLib_isOpera){
if(!_12.style.width){
_12.style.width=(_12.offsetWidth-2)+"px";
}
_12.style.height=(_12.offsetHeight-2)+"px";
}
var _25,offsetY;
if(_d.get("position")=="absolute"&&!(_d.has("x")&&_d.has("y"))){
switch(_d.get("direction")){
case "northeast":
_25=_d.get("offsetX");
offsetY=0-_12.offsetHeight-_d.get("offsetY");
break;
case "northwest":
_25=0-_12.offsetWidth-_d.get("offsetX");
offsetY=0-_12.offsetHeight-_d.get("offsetY");
break;
case "north":
_25=0-parseInt(_12.offsetWidth/2);
offsetY=0-_12.offsetHeight-_d.get("offsetY");
break;
case "southwest":
_25=0-_12.offsetWidth-_d.get("offsetX");
offsetY=_d.get("offsetY");
break;
case "southeast":
_25=_d.get("offsetX");
offsetY=_d.get("offsetY");
break;
case "south":
_25=0-parseInt(_12.offsetWidth/2);
offsetY=_d.get("offsetY");
break;
}
if(_d.get("inframe")){
var _26=domLib_getIFrameReference(window);
if(_26){
var _27=domLib_getOffsets(_26);
_25+=_27.get("left");
offsetY+=_27.get("top");
}
}
}else{
_25=0;
offsetY=0;
_d.set("trail",false);
}
_d.set("offsetX",_25);
_d.set("offsetY",offsetY);
if(_d.get("clearMouse")&&_d.get("direction").indexOf("south")!=-1){
_d.set("mouseOffset",domTT_mouseHeight);
}else{
_d.set("mouseOffset",0);
}
if(domLib_canFade&&typeof (Fadomatic)=="function"){
if(_d.get("fade")!="neither"){
var _28=new Fadomatic(_12,10,0,0,_d.get("fadeMax"));
_d.set("fadeHandler",_28);
}
}else{
_d.set("fade","neither");
}
if(_d.get("trail")&&typeof (_e.onmousemove)!="function"){
_e.onmousemove=function(_29){
domTT_mousemove(this,_29);
};
}
if(typeof (_e.onmouseout)!="function"){
_e.onmouseout=function(_2a){
domTT_mouseout(this,_2a);
};
}
if(_d.get("type")=="sticky"){
if(_d.get("position")=="absolute"&&domTT_dragEnabled&&_d.get("draggable")){
if(domLib_isIE){
_18.onselectstart=function(){
return false;
};
}
_18.onmousedown=function(_2b){
domTT_dragStart(_12,_2b);
};
_18.onmousemove=function(_2c){
domTT_dragUpdate(_2c);
};
_18.onmouseup=function(){
domTT_dragStop();
};
}
}else{
if(_d.get("type")=="velcro"){
_12.onmouseout=function(_2d){
if(typeof (_2d)=="undefined"){
_2d=window.event;
}
if(!domLib_isDescendantOf(_2d[domLib_eventTo],_12,domTT_bannedTags)){
domTT_deactivate(_e.id);
}
};
_12.onclick=function(_2e){
domTT_deactivate(_e.id);
};
}
}
if(_d.get("position")=="relative"){
_12.style.position="relative";
}
_d.set("node",_12);
_d.set("status","inactive");
}
function domTT_show(_2f,_30){
var _31=domTT_tooltips.get(_2f);
var _32=_31.get("status");
var _33=_31.get("node");
if(_31.get("position")=="absolute"){
var _34,mouseY;
if(_31.has("x")&&_31.has("y")){
_34=_31.get("x");
mouseY=_31.get("y");
}else{
if(!domTT_useGlobalMousePosition||domTT_mousePosition==null||_32=="active"||_31.get("delay")==0){
var _35=domLib_getEventPosition(_30);
var _36=_35.get("x");
var _37=_35.get("y");
if(_31.get("inframe")){
_36-=_35.get("scrollX");
_37-=_35.get("scrollY");
}
if(_32=="active"&&_31.get("trail")!==true){
var _38=_31.get("trail");
if(_38=="x"){
_34=_36;
mouseY=_31.get("mouseY");
}else{
if(_38=="y"){
_34=_31.get("mouseX");
mouseY=_37;
}
}
}else{
_34=_36;
mouseY=_37;
}
}else{
_34=domTT_mousePosition.get("x");
mouseY=domTT_mousePosition.get("y");
if(_31.get("inframe")){
_34-=domTT_mousePosition.get("scrollX");
mouseY-=domTT_mousePosition.get("scrollY");
}
}
}
if(_31.get("grid")){
if(_30.type!="mousemove"||(_32=="active"&&(Math.abs(_31.get("lastX")-_34)>_31.get("grid")||Math.abs(_31.get("lastY")-mouseY)>_31.get("grid")))){
_31.set("lastX",_34);
_31.set("lastY",mouseY);
}else{
return false;
}
}
_31.set("mouseX",_34);
_31.set("mouseY",mouseY);
var _39;
if(domTT_screenEdgeDetection){
_39=domTT_correctEdgeBleed(_31.get("offsetWidth"),_31.get("offsetHeight"),_34,mouseY,_31.get("offsetX"),_31.get("offsetY"),_31.get("mouseOffset"),_31.get("inframe")?window.parent:window);
}else{
_39={"x":_34+_31.get("offsetX"),"y":mouseY+_31.get("offsetY")+_31.get("mouseOffset")};
}
_33.style.left=_39.x+"px";
_33.style.top=_39.y+"px";
_33.style.zIndex=domLib_zIndex++;
}
if(_32=="pending"){
_31.set("status","active");
_33.style.display="";
_33.style.visibility="visible";
var _3a=_31.get("fade");
if(_3a!="neither"){
var _3b=_31.get("fadeHandler");
if(_3a=="out"||_3a=="both"){
_3b.haltFade();
if(_3a=="out"){
_3b.halt();
}
}
if(_3a=="in"||_3a=="both"){
_3b.fadeIn();
}
}
if(_31.get("type")=="greasy"&&_31.get("lifetime")!=0){
_31.set("lifetimeTimeout",domLib_setTimeout(domTT_runDeactivate,_31.get("lifetime"),[_33.id]));
}
}
if(_31.get("position")=="absolute"&&domTT_detectCollisions){
domLib_detectCollisions(_33,false,true);
}
}
function domTT_close(_3c){
var id;
if(typeof (_3c)=="object"&&_3c.nodeType){
var obj=_3c;
while(!obj.id||!domTT_tooltips.get(obj.id)){
obj=obj.parentNode;
if(obj.nodeType!=document.ELEMENT_NODE){
return;
}
}
id=obj.id;
}else{
id=_3c;
}
domTT_deactivate(id);
}
function domTT_closeAll(){
for(var id in domTT_tooltips.elementData){
domTT_close(id);
}
}
function domTT_deactivate(_40){
var _41=domTT_tooltips.get(_40);
if(_41){
var _42=_41.get("status");
if(_42=="pending"){
domLib_clearTimeout(_41.get("activateTimeout"));
_41.set("status","inactive");
}else{
if(_42=="active"){
if(_41.get("lifetime")){
domLib_clearTimeout(_41.get("lifetimeTimeout"));
}
var _43=_41.get("node");
if(_41.get("closeAction")=="hide"){
var _44=_41.get("fade");
if(_44!="neither"){
var _45=_41.get("fadeHandler");
if(_44=="out"||_44=="both"){
_45.fadeOut();
}else{
_45.hide();
}
}else{
_43.style.display="none";
}
}else{
_41.get("parent").removeChild(_43);
domTT_tooltips.remove(_41.get("owner").id);
domTT_tooltips.remove(_41.get("id"));
}
_41.set("status","inactive");
if(domTT_detectCollisions){
domLib_detectCollisions(_43,true,true);
}
}
}
}
}
function domTT_mouseout(_46,_47){
if(!domLib_useLibrary){
return false;
}
if(typeof (_47)=="undefined"){
_47=window.event;
}
var _48=domLib_isDescendantOf(_47[domLib_eventTo],_46,domTT_bannedTags);
var _49=domTT_tooltips.get(_46.id);
if(_49&&(_49.get("type")=="greasy"||_49.get("status")!="active")){
if(!_48){
domTT_deactivate(_46.id);
try{
window.status=window.defaultStatus;
}
catch(e){
}
}
}else{
if(!_48){
try{
window.status=window.defaultStatus;
}
catch(e){
}
}
}
}
function domTT_mousemove(_4a,_4b){
if(!domLib_useLibrary){
return false;
}
if(typeof (_4b)=="undefined"){
_4b=window.event;
}
var _4c=domTT_tooltips.get(_4a.id);
if(_4c&&_4c.get("trail")&&_4c.get("status")=="active"){
if(_4c.get("lazy")){
domLib_setTimeout(domTT_runShow,domTT_trailDelay,[_4a.id,_4b]);
}else{
domTT_show(_4a.id,_4b);
}
}
}
function domTT_addPredefined(_4d){
var _4e=new domTT_Hash();
for(var i=1;i<arguments.length;i+=2){
_4e.set(arguments[i],arguments[i+1]);
}
domTT_predefined.set(_4d,_4e);
}
function domTT_correctEdgeBleed(_50,_51,_52,_53,_54,_55,_56,_57){
var win,doc;
var _59,bleedBottom;
var _5a,pageWidth,pageYOffset,pageXOffset;
var x=_52+_54;
var y=_53+_55+_56;
win=(typeof (_57)=="undefined"?window:_57);
doc=((domLib_standardsMode&&(domLib_isIE||domLib_isGecko))?win.document.documentElement:win.document.body);
if(domLib_isIE){
_5a=doc.clientHeight;
pageWidth=doc.clientWidth;
pageYOffset=doc.scrollTop;
pageXOffset=doc.scrollLeft;
}else{
_5a=doc.clientHeight;
pageWidth=doc.clientWidth;
if(domLib_isKHTML){
_5a=win.innerHeight;
}
pageYOffset=win.pageYOffset;
pageXOffset=win.pageXOffset;
}
if((_59=(x-pageXOffset)+_50-(pageWidth-domTT_screenEdgePadding))>0){
x-=_59;
}
if((x-pageXOffset)<domTT_screenEdgePadding){
x=domTT_screenEdgePadding+pageXOffset;
}
if((bleedBottom=(y-pageYOffset)+_51-(_5a-domTT_screenEdgePadding))>0){
y=_53-_51-_55;
}
if((y-pageYOffset)<domTT_screenEdgePadding){
y=_53+domTT_mouseHeight+_55;
}
return {"x":x,"y":y};
}
function domTT_isActive(_5d){
var _5e=domTT_tooltips.get(_5d);
if(!_5e||_5e.get("status")!="active"){
return false;
}else{
return true;
}
}
function domTT_runDeactivate(_5f){
domTT_deactivate(_5f[0]);
}
function domTT_runShow(_60){
domTT_show(_60[0],_60[1]);
}
function domTT_replaceTitles(_61){
var _62=domLib_getElementsByClass("tooltip");
for(var i=0;i<_62.length;i++){
if(_62[i].title){
var _64;
if(typeof (_61)=="function"){
_64=_61(_62[i]);
}else{
_64=_62[i].title;
}
_64=_64.replace(new RegExp("'","g"),"\\'");
_62[i].onmouseover=new Function("in_event","domTT_activate(this, in_event, 'content', '"+_64+"')");
_62[i].title="";
}
}
}
function domTT_update(_65,_66,_67){
if(typeof (_67)=="undefined"){
_67="content";
}
var tip=domTT_tooltips.get(_65);
if(!tip){
return;
}
var _69=tip.get("node");
var _6a;
if(_67=="content"){
_6a=_69.firstChild;
if(_6a.className!="contents"){
_6a=_6a.firstChild.firstChild.nextSibling.firstChild.firstChild;
}
}else{
_6a=_69.firstChild;
if(_6a.className=="contents"){
return;
}
_6a=_6a.firstChild.firstChild.firstChild.firstChild;
}
_6a.innerHTML=_66;
}



// INCLUDED SOURCE FILE /var/www/volos2/apps/.app-2_37_44/3rdparty/google-analytics/ga-current.js
(function(){var aa="_gat",ba="_gaq",r=true,v=false,w=undefined,ca=document,da="4.7.2",y="length",z="cookie",A="location",ea="_gaUserPrefs",fa="ioo",B="&",C="=",D="__utma=",F="__utmb=",G="__utmc=",ga="__utmk=",H="__utmv=",K="__utmz=",L="__utmx=",ha="GASO=";var M=function(i){return w==i||"-"==i||""==i},ia=function(i){return i[y]>0&&" \n\r\t".indexOf(i)>-1},O=function(i,f,m){var u="-",l;if(!M(i)&&!M(f)&&!M(m)){l=i.indexOf(f);if(l>-1){m=i.indexOf(m,l);if(m<0)m=i[y];u=N(i,l+f.indexOf(C)+1,m)}}return u},ka=function(i){var f=v,m=0,u,l;if(!M(i)){f=r;for(u=0;u<i[y];u++){l=i.charAt(u);m+="."==l?1:0;f=f&&m<=1&&(0==u&&"-"==l||".0123456789".indexOf(l)>-1)}}return f},P=function(i,f){var m=encodeURIComponent;return m instanceof Function?f?encodeURI(i):m(i):escape(i)},
Q=function(i,f){var m=decodeURIComponent,u;i=i.split("+").join(" ");if(m instanceof Function)try{u=f?decodeURI(i):m(i)}catch(l){u=unescape(i)}else u=unescape(i);return u},R=function(i,f){return i.indexOf(f)>-1},S=function(i,f){i[i[y]]=f},U=function(i){return i.toLowerCase()},V=function(i,f){return i.split(f)},la=function(i,f){return i.indexOf(f)},N=function(i,f,m){m=w==m?i[y]:m;return i.substring(f,m)},ma=function(i,f){return i.join(f)},na=function(i){var f=1,m=0,u;if(!M(i)){f=0;for(u=i[y]-1;u>=0;u--){m=
i.charCodeAt(u);f=(f<<6&268435455)+m+(m<<14);m=f&266338304;f=m!=0?f^m>>21:f}}return f},oa=function(){var i=window,f=w;if(i&&i.gaGlobal&&i.gaGlobal.hid)f=i.gaGlobal.hid;else{f=W();i.gaGlobal=i.gaGlobal?i.gaGlobal:{};i.gaGlobal.hid=f}return f},W=function(){return Math.round(Math.random()*2147483647)},pa=function(i,f){var m=ca.createElement("script");m.type="text/javascript";m.src=i;if(f)m.id=f;(ca.getElementsByTagName("head")[0]||ca.getElementsByTagName("body")[0]).appendChild(m)};var ra=function(i,f){this.Wa=i;this.jb=f},sa=function(){function i(m){var u=[];m=m.split(",");for(var l,o=0;o<m.length;o++){l=m[o].split(":");u.push(new ra(l[0],l[1]))}return u}var f=this;f.Ba="utm_campaign";f.Ca="utm_content";f.Da="utm_id";f.Ea="utm_medium";f.Fa="utm_nooverride";f.Ga="utm_source";f.Ha="utm_term";f.Ia="gclid";f.Y=0;f.z=0;f.Ma=15768E6;f.pb=18E5;f.w=63072E6;f.oa=[];f.qa=[];f.ac="cse";f.bc="q";f.kb=5;f.R=i("daum:q,eniro:search_word,naver:query,images.google:q,google:q,yahoo:p,msn:q,bing:q,aol:query,aol:encquery,lycos:query,ask:q,altavista:q,netscape:query,cnn:query,about:terms,mamma:query,alltheweb:q,voila:rdata,virgilio:qs,live:q,baidu:wd,alice:qs,yandex:text,najdi:q,aol:q,mama:query,seznam:q,search:q,wp:szukaj,onet:qt,szukacz:q,yam:k,pchome:q,kvasir:q,sesam:q,ozu:q,terra:query,mynet:q,ekolay:q,rambler:words");
f.u=w;f.hb=v;f.h="/";f.S=100;f.ja="/__utm.gif";f.aa=1;f.ba=1;f.v="|";f.$=1;f.Na=1;f.Ka=1;f.c="auto";f.G=1;f.ma=1E3;f.wc=10;f.Hb=10;f.xc=0.2;f.o=w;f.a=document;f.e=window};var ta=function(i){function f(d,a,j,c){var n="",s=0;n=O(d,"2"+a,";");if(!M(n)){d=n.indexOf("^"+j+".");if(d<0)return["",0];n=N(n,d+j[y]+2);if(n.indexOf("^")>0)n=n.split("^")[0];j=n.split(":");n=j[1];s=parseInt(j[0],10);if(!c&&s<o.s)n=""}if(M(n))n="";return[n,s]}function m(d,a){return"^"+ma([[a,d[1]].join("."),d[0]],":")}function u(d,a){var j=d+"; path="+k.h+"; "+a+o.ab();k.a[z]=j}function l(d){var a=new Date;d=new Date(a.getTime()+d);return"expires="+d.toGMTString()+"; "}var o=this,k=i;o.s=(new Date).getTime();
var g=[D,F,G,K,H,L,ha];o.k=function(){var d=k.a[z];return k.o?o.Ob(d,k.o):d};o.Ob=function(d,a){var j=[],c,n;for(c=0;c<g[y];c++){n=f(d,g[c],a)[0];M(n)||(j[j[y]]=g[c]+n+";")}return j.join("")};o.m=function(d,a,j){var c=j>0?l(j):"";if(k.o){a=o.Yb(k.a[z],d,k.o,a,j);d="2"+d;c=j>0?l(k.w):""}u(d+a,c)};o.Yb=function(d,a,j,c,n){var s="";n=n||k.w;c=m([c,o.s+n*1],j);s=O(d,"2"+a,";");if(!M(s)){d=m(f(d,a,j,r),j);s=ma(s.split(d),"");return s=c+s}return c};o.ab=function(){return M(k.c)?"":"domain="+k.c+";"}};var ua=function(i){function f(q){q=q instanceof Array?q.join("."):"";return M(q)?"-":q}function m(q,b){var e=[],h;if(!M(q)){e=q.split(".");if(b)for(h=0;h<e[y];h++)ka(e[h])||(e[h]="-")}return e}function u(q,b,e){var h=c.K,p,t;for(p=0;p<h[y];p++){t=h[p][0];t+=M(b)?b:b+h[p][4];h[p][2](O(q,t,e))}}var l,o,k,g,d,a,j,c=this,n,s=i;c.j=new ta(i);c.gb=function(){return w==n||n==c.N()};c.k=function(){return c.j.k()};c.ha=function(){return d?d:"-"};c.sb=function(q){d=q};c.ua=function(q){n=ka(q)?q*1:"-"};c.ga=
function(){return f(a)};c.va=function(q){a=m(q)};c.Nb=function(){c.j.m(H,"",-1)};c.Zb=function(){return n?n:"-"};c.ab=function(){return M(s.c)?"":"domain="+s.c+";"};c.ea=function(){return f(l)};c.qb=function(q){l=m(q,1)};c.B=function(){return f(o)};c.ta=function(q){o=m(q,1)};c.fa=function(){return f(k)};c.rb=function(q){k=m(q,1)};c.ia=function(){return f(g)};c.tb=function(q){g=m(q);for(q=0;q<g[y];q++)if(q<4&&!ka(g[q]))g[q]="-"};c.Vb=function(){return j};c.qc=function(q){j=q};c.Kb=function(){l=[];
o=[];k=[];g=[];d=w;a=[];n=w};c.N=function(){var q="",b;for(b=0;b<c.K[y];b++)q+=c.K[b][1]();return na(q)};c.pa=function(q){var b=c.k(),e=v;if(b){u(b,q,";");c.ua(c.N());e=r}return e};c.mc=function(q){u(q,"",B);c.ua(O(q,ga,B))};c.uc=function(){var q=c.K,b=[],e;for(e=0;e<q[y];e++)S(b,q[e][0]+q[e][1]());S(b,ga+c.N());return b.join(B)};c.Bc=function(q,b){var e=c.K,h=s.h,p;c.pa(q);s.h=b;for(p=0;p<e[y];p++)M(e[p][1]())||e[p][3]();s.h=h};c.Ab=function(){c.j.m(D,c.ea(),s.w)};c.ya=function(){c.j.m(F,c.B(),s.pb)};
c.Bb=function(){c.j.m(G,c.fa(),0)};c.Aa=function(){c.j.m(K,c.ia(),s.Ma)};c.Cb=function(){c.j.m(L,c.ha(),s.w)};c.za=function(){c.j.m(H,c.ga(),s.w)};c.Dc=function(){c.j.m(ha,c.Vb(),0)};c.K=[[D,c.ea,c.qb,c.Ab,"."],[F,c.B,c.ta,c.ya,""],[G,c.fa,c.rb,c.Bb,""],[L,c.ha,c.sb,c.Cb,""],[K,c.ia,c.tb,c.Aa,"."],[H,c.ga,c.va,c.za,"."]]};var wa=function(i){var f=this,m=i,u=new ua(m),l=!X.Cc(),o=function(){},k=function(g){var d=(new Date).getTime(),a;a=(d-g[3])*(m.xc/1E3);if(a>=1){g[2]=Math.min(Math.floor(g[2]*1+a),m.Hb);g[3]=d}return g};f.F=function(g,d,a,j,c,n){var s,q=m.G,b=m.a[A];u.pa(a);s=V(u.B(),".");if(s[1]<500||j){if(c)s=k(s);if(j||!c||s[2]>=1){if(!j&&c)s[2]=s[2]*1-1;s[1]=s[1]*1+1;g="?utmwv="+da+"&utmn="+W()+(M(b.hostname)?"":"&utmhn="+P(b.hostname))+(m.S==100?"":"&utmsp="+P(m.S))+g;if(0==q||2==q){j=2==q?o:n||o;l&&f.Ta(m.ja+
g,j)}if(1==q||2==q){g=("https:"==b.protocol?"https://ssl.google-analytics.com/__utm.gif":"http://www.google-analytics.com/__utm.gif")+g+"&utmac="+d+"&utmcc="+f.Rb(a);if(va)g+="&gaq=1";if(X.Va)g+="&aip=1";l&&f.Ta(g,n)}}}u.ta(s.join("."));u.ya()};f.Ta=function(g,d){var a=new Image(1,1);a.src=g;a.onload=function(){a.onload=null;(d||o)()}};f.Rb=function(g){var d=[],a=[D,K,H,L],j,c=u.k(),n;for(j=0;j<a[y];j++){n=O(c,a[j]+g,";");if(!M(n)){if(a[j]==H){n=V(n.split(g+".")[1],"|")[0];if(M(n))continue;n=g+"."+
n}S(d,a[j]+n+";")}}return P(d.join("+"))}};var Y=function(){var i=this;i.W=[];i.db=function(f){var m,u=i.W,l;for(l=0;l<u.length;l++)m=f==u[l].q?u[l]:m;return m};i.Gb=function(f,m,u,l,o,k,g,d){var a=i.db(f);if(w==a){a=new Y.Eb(f,m,u,l,o,k,g,d);S(i.W,a)}else{a.Ja=m;a.xb=u;a.wb=l;a.ub=o;a.Qa=k;a.vb=g;a.Sa=d}return a}};Y.Db=function(i,f,m,u,l,o){var k=this;k.zb=i;k.wa=f;k.r=m;k.Oa=u;k.mb=l;k.nb=o;k.xa=function(){return"&"+["utmt=item","tid="+P(k.zb),"ipc="+P(k.wa),"ipn="+P(k.r),"iva="+P(k.Oa),"ipr="+P(k.mb),"iqt="+P(k.nb)].join("&utm")}};
Y.Eb=function(i,f,m,u,l,o,k,g){var d=this;d.q=i;d.Ja=f;d.xb=m;d.wb=u;d.ub=l;d.Qa=o;d.vb=k;d.Sa=g;d.P=[];d.Fb=function(a,j,c,n,s){var q=d.Wb(a),b=d.q;if(w==q)S(d.P,new Y.Db(b,a,j,c,n,s));else{q.zb=b;q.wa=a;q.r=j;q.Oa=c;q.mb=n;q.nb=s}};d.Wb=function(a){var j,c=d.P,n;for(n=0;n<c.length;n++)j=a==c[n].wa?c[n]:j;return j};d.xa=function(){return"&"+["utmt=tran","id="+P(d.q),"st="+P(d.Ja),"to="+P(d.xb),"tx="+P(d.wb),"sp="+P(d.ub),"ci="+P(d.Qa),"rg="+P(d.vb),"co="+P(d.Sa)].join("&utmt")}};var xa=function(i){function f(){var k,g,d;g="ShockwaveFlash";var a="$version",j=l.d?l.d.plugins:w;if(j&&j[y]>0)for(k=0;k<j[y]&&!d;k++){g=j[k];if(R(g.name,"Shockwave Flash"))d=g.description.split("Shockwave Flash ")[1]}else{g=g+"."+g;try{k=new ActiveXObject(g+".7");d=k.GetVariable(a)}catch(c){}if(!d)try{k=new ActiveXObject(g+".6");d="WIN 6,0,21,0";k.AllowScriptAccess="always";d=k.GetVariable(a)}catch(n){}if(!d)try{k=new ActiveXObject(g);d=k.GetVariable(a)}catch(s){}if(d){d=V(d.split(" ")[1],",");d=
d[0]+"."+d[1]+" r"+d[2]}}return d?d:o}var m=i,u=m.e,l=this,o="-";l.T=u.screen;l.La=!l.T&&u.java?java.awt.Toolkit.getDefaultToolkit():w;l.d=u.navigator;l.U=o;l.sa=o;l.Pa=o;l.la=o;l.ka=1;l.Za=o;l.Sb=function(){var k;if(u.screen){l.U=l.T.width+"x"+l.T.height;l.sa=l.T.colorDepth+"-bit"}else if(l.La)try{k=l.La.getScreenSize();l.U=k.width+"x"+k.height}catch(g){}l.la=U(l.d&&l.d.language?l.d.language:l.d&&l.d.browserLanguage?l.d.browserLanguage:o);l.ka=l.d&&l.d.javaEnabled()?1:0;l.Za=m.ba?f():o;l.Pa=P(m.a.characterSet?
m.a.characterSet:m.a.charset?m.a.charset:o)};l.vc=function(){return B+"utm"+["cs="+P(l.Pa),"sr="+l.U,"sc="+l.sa,"ul="+l.la,"je="+l.ka,"fl="+P(l.Za)].join("&utm")};l.Qb=function(){var k=m.a,g=u.history[y];k=l.d.appName+l.d.version+l.la+l.d.platform+l.d.userAgent+l.ka+l.U+l.sa+(k[z]?k[z]:"")+(k.referrer?k.referrer:"");for(var d=k[y];g>0;)k+=g--^d++;return na(k)}};var Z=function(i,f,m,u){function l(d){var a="";d=U(d.split("://")[1]);if(R(d,"/")){d=d.split("/")[1];if(R(d,"?"))a=d.split("?")[0]}return a}function o(d){var a="";a=U(d.split("://")[1]);if(R(a,"/"))a=a.split("/")[0];return a}var k=u,g=this;g.b=i;g.ob=f;g.s=m;g.cb=function(d){var a=g.da();return new Z.t(O(d,k.Da+C,B),O(d,k.Ga+C,B),O(d,k.Ia+C,B),g.O(d,k.Ba,"(not set)"),g.O(d,k.Ea,"(not set)"),g.O(d,k.Ha,a&&!M(a.I)?Q(a.I):w),g.O(d,k.Ca,w))};g.fb=function(d){var a=o(d),j=l(d);if(R(a,"google")){d=d.split("?").join(B);
if(R(d,B+k.bc+C))if(j==k.ac)return r}return v};g.da=function(){var d,a=g.ob,j,c,n=k.R;if(!(M(a)||"0"==a||!R(a,"://")||g.fb(a))){d=o(a);for(j=0;j<n[y];j++){c=n[j];if(R(d,U(c.Wa))){a=a.split("?").join(B);if(R(a,B+c.jb+C)){d=a.split(B+c.jb+C)[1];if(R(d,B))d=d.split(B)[0];return new Z.t(w,c.Wa,w,"(organic)","organic",d,w)}}}}};g.O=function(d,a,j){d=O(d,a+C,B);return j=!M(d)?Q(d):!M(j)?j:"-"};g.hc=function(d){var a=k.oa,j=v,c;if(d&&"organic"==d.Q){d=U(Q(d.I));for(c=0;c<a[y];c++)j=j||U(a[c])==d}return j};
g.bb=function(){var d="",a="";d=g.ob;if(!(M(d)||"0"==d||!R(d,"://")||g.fb(d))){d=d.split("://")[1];if(R(d,"/")){a=N(d,d.indexOf("/"));a=a.split("?")[0];d=U(d.split("/")[0])}if(0==d.indexOf("www."))d=N(d,4);return new Z.t(w,d,w,"(referral)","referral",w,a)}};g.$a=function(d){var a="";if(k.Y){a=d&&d.hash?d.href.substring(d.href.indexOf("#")):"";a=""!=a?a+B:a}a+=d.search;return a};g.Tb=function(){return new Z.t(w,"(direct)",w,"(direct)","(none)",w,w)};g.ic=function(d){var a=v,j,c=k.qa;if(d&&"referral"==
d.Q){d=U(P(d.V));for(j=0;j<c[y];j++)a=a||R(d,U(c[j]))}return a};g.l=function(d){return w!=d&&d.ib()};g.isNewCampaign=function(d){d=O(d,K+g.b+".",";");var a=d.split(".");d=new Z.t;d.lb(a.slice(4).join("."));if(!g.l(d))return true;a=k.a[A];a=g.$a(a);a=g.cb(a);if(!g.l(a)){a=g.da();g.l(a)||(a=g.bb())}return g.l(a)&&U(d.J())!=U(a.J())};g.getCampaignInformation=function(d,a){if(k.Na){var j="",c="-",n,s=0,q,b,e=g.b;if(d){b=d.k();j=g.$a(k.a[A]);if(k.z&&d.gb()){c=d.ia();if(!M(c)&&!R(c,";")){d.Aa();return}}c=
O(b,K+e+".",";");n=g.cb(j);if(g.l(n)){j=O(j,k.Fa+C,B);if("1"==j&&!M(c))return}if(!g.l(n)){n=g.da();if(!M(c)&&g.hc(n))return}if(!g.l(n)&&a){n=g.bb();if(!M(c)&&g.ic(n))return}if(!g.l(n))if(M(c)&&a)n=g.Tb();if(g.l(n)){if(!M(c)){s=c.split(".");q=new Z.t;q.lb(s.slice(4).join("."));q=U(q.J())==U(n.J());s=s[3]*1}if(!q||a){b=O(b,D+e+".",";");q=b.lastIndexOf(".");b=q>9?N(b,q+1)*1:0;s++;b=0==b?1:b;d.tb([e,g.s,b,s,n.J()].join("."));d.Aa()}}}}}};
Z.t=function(i,f,m,u,l,o,k){var g=this;g.q=i;g.V=f;g.Z=m;g.r=u;g.Q=l;g.I=o;g.Ra=k;g.J=function(){var d=[],a=[["cid",g.q],["csr",g.V],["gclid",g.Z],["ccn",g.r],["cmd",g.Q],["ctr",g.I],["cct",g.Ra]],j,c;if(g.ib())for(j=0;j<a[y];j++)if(!M(a[j][1])){c=a[j][1].split("+").join("%20");c=c.split(" ").join("%20");S(d,"utm"+a[j][0]+C+c)}return d.join("|")};g.ib=function(){return!(M(g.q)&&M(g.V)&&M(g.Z))};g.lb=function(d){var a=function(j){return Q(O(d,"utm"+j+C,"|"))};g.q=a("cid");g.V=a("csr");g.Z=a("gclid");
g.r=a("ccn");g.Q=a("cmd");g.I=a("ctr");g.Ra=a("cct")}};var ya=function(i,f,m,u){function l(j,c,n){var s;if(!M(n)){n=n.split(",");for(var q=0;q<n[y];q++){s=n[q];if(!M(s)){s=s.split(g);if(s[y]==4)c[s[0]]=[s[1],s[2],j]}}}}var o=this,k=f,g=C,d=i,a=u;o.L=m;o.na="";o.p={};o.gc=function(){var j;j=V(O(o.L.k(),H+k+".",";"),k+".")[1];if(!M(j)){j=j.split("|");l(1,o.p,j[1]);o.na=j[0];o.X()}};o.X=function(){o.Ib();var j=o.na,c,n,s="";for(c in o.p)if((n=o.p[c])&&1===n[2])s+=c+g+n[0]+g+n[1]+g+1+",";M(s)||(j+="|"+s);if(M(j))o.L.Nb();else{o.L.va(k+"."+j);o.L.za()}};o.rc=
function(j){o.na=j;o.X()};o.pc=function(j,c,n,s){if(1!=s&&2!=s&&3!=s)s=3;var q=v;if(c&&n&&j>0&&j<=d.kb){c=P(c);n=P(n);if(c[y]+n[y]<=64){o.p[j]=[c,n,s];o.X();q=r}}return q};o.$b=function(j){if((j=o.p[j])&&1===j[2])return j[1]};o.Mb=function(j){var c=o.p;if(c[j]){delete c[j];o.X()}};o.Ib=function(){a._clearKey(8);a._clearKey(9);a._clearKey(11);var j=o.p,c,n;for(n in j)if(c=j[n]){a._setKey(8,n,c[0]);a._setKey(9,n,c[1]);(c=c[2])&&3!=c&&a._setKey(11,n,""+c)}}};var $=function(){function i(h,p,t,x){if(w==k[h])k[h]={};if(w==k[h][p])k[h][p]=[];k[h][p][t]=x}function f(h,p){if(w!=k[h]&&w!=k[h][p]){k[h][p]=w;var t=r,x;for(x=0;x<a[y];x++)if(w!=k[h][a[x]]){t=v;break}if(t)k[h]=w}}function m(h){var p="",t=v,x,E;for(x=0;x<a[y];x++){E=h[a[x]];if(w!=E){if(t)p+=a[x];p+=u(E);t=v}else t=r}return p}function u(h){var p=[],t,x;for(x=0;x<h[y];x++)if(w!=h[x]){t="";if(x!=e&&w==h[x-1])t+=x.toString()+s;t+=l(h[x]);S(p,t)}return j+p.join(n)+c}function l(h){var p="",t,x,E;for(t=
0;t<h[y];t++){x=h.charAt(t);E=b[x];p+=w!=E?E:x}return p}var o=this,k={},g="k",d="v",a=[g,d],j="(",c=")",n="*",s="!",q="'",b={};b[q]="'0";b[c]="'1";b[n]="'2";b[s]="'3";var e=1;o.dc=function(h){return w!=k[h]};o.D=function(){var h="",p;for(p in k)if(w!=k[p])h+=p.toString()+m(k[p]);return h};o.nc=function(h){if(h==w)return o.D();var p=h.D(),t;for(t in k)if(w!=k[t]&&!h.dc(t))p+=t.toString()+m(k[t]);return p};o._setKey=function(h,p,t){if(typeof t!="string")return v;i(h,g,p,t);return r};o._setValue=function(h,
p,t){if(typeof t!="number"&&(w==Number||!(t instanceof Number))||Math.round(t)!=t||t==NaN||t==Infinity)return v;i(h,d,p,t.toString());return r};o._getKey=function(h,p){return w!=k[h]&&w!=k[h][g]?k[h][g][p]:w};o._getValue=function(h,p){return w!=k[h]&&w!=k[h][d]?k[h][d][p]:w};o._clearKey=function(h){f(h,g)};o._clearValue=function(h){f(h,d)}};var za=function(i,f){var m=this;m.Fc=f;m.jc=i;m._trackEvent=function(u,l,o){return f._trackEvent(m.jc,u,l,o)}};var Aa=function(i,f,m){function u(){if("auto"==c.c){var b=c.a.domain;if("www."==N(b,0,4))b=N(b,4);c.c=b}c.c=U(c.c)}function l(){u();var b=c.c,e=b.indexOf("www.google.")*b.indexOf(".google.")*b.indexOf("google.");return e||"/"!=c.h||b.indexOf("google.org")>-1}function o(b,e,h){if(M(b)||M(e)||M(h))return"-";b=O(b,D+a.b+".",e);if(!M(b)){b=b.split(".");b[5]=b[5]?b[5]*1+1:1;b[3]=b[4];b[4]=h;b=b.join(".")}return b}function k(){return"file:"!=c.a[A].protocol&&l()}function g(b){if(!b||""==b)return"";for(;ia(b.charAt(0));)b=
N(b,1);for(;ia(b.charAt(b[y]-1));)b=N(b,0,b[y]-1);return b}function d(b,e,h,p){if(!M(b())){e(p?Q(b()):b());R(b(),";")||h()}}var a=this,j=w,c=new sa,n=v,s=w;a.e=window;a.r=i;a.s=Math.round((new Date).getTime()/1E3);a.n=f||"UA-XXXXX-X";a.Ua=c.a.referrer;a.ca=w;a.f=w;a.M=w;a.C=v;a.A=w;a.g=w;a.Xa=w;a.b=w;a.i=w;c.o=m?P(m):w;var q=function(b){var e,h=""!=b&&c.a[A].host!=b;if(h)for(e=0;e<c.u[y];e++)h=h&&la(U(b),U(c.u[e]))==-1;return h};a.lc=function(){if(!a.M)return null;var b=a.M.match(/^(?:\|([-0-9a-z.]{1,30})(?::(\d{4,5}))?\|)?([-.\w]{10,1200})$/i);
if(!b)return null;return{domain:b[1]||null,port:b[2]||null,token:b[3]}};a.Xb=function(){return W()^a.A.Qb()&2147483647};a.Ub=function(){if(!c.c||""==c.c||"none"==c.c){c.c="";return 1}u();return c.Ka?na(c.c):1};a.Pb=function(b,e){if(M(b))b="-";else{e+=c.h&&"/"!=c.h?c.h:"";var h=b.indexOf(e);b=h>=0&&h<=8?"0":"["==b.charAt(0)&&"]"==b.charAt(b[y]-1)?"-":b}return b};a.ra=function(b){var e="",h=c.a;e+=c.$?a.A.vc():"";e+=c.aa&&!M(h.title)?"&utmdt="+P(h.title):"";e+="&utmhid="+oa()+"&utmr="+P(a.ca)+"&utmp="+
P(a.oc(b));return e};a.oc=function(b){var e=c.a[A];return b=w!=b&&""!=b?P(b,r):P(e.pathname+e.search,r)};a.yc=function(b){if(a.H()){var e="";if(a.g!=w&&a.g.D()[y]>0)e+="&utme="+P(a.g.D());e+=a.ra(b);j.F(e,a.n,a.b)}};a.Lb=function(){var b=new ua(c);return b.pa(a.b)?b.uc():w};a._getLinkerUrl=function(b,e){var h=b.split("#"),p=b,t=a.Lb();if(t)if(e&&1>=h[y])p+="#"+t;else if(!e||1>=h[y])if(1>=h[y])p+=(R(b,"?")?B:"?")+t;else p=h[0]+(R(b,"?")?B:"?")+t+"#"+h[1];return p};a.sc=function(){var b=a.lc();if(b){a.i.qc(a.M);
a.i.Dc();X._gasoDomain=c.c;X._gasoCPath=c.h;var e="www.google.com";if(b.domain)e=b.domain+".google.com"+(b.port?":"+b.port:"");var h="https://www.google.com/analytics/reporting/overlay_js?gaso=";if(b.domain)h="https://"+e+"/analytics/reporting/overlay_js?gaso=";h+=b.token+B+W();pa(h,"_gasojs")}};a.cc=function(){var b=a.s,e=a.i,h=e.k(),p=a.b+"",t=c.e,x=t?t.gaGlobal:w,E,ja=R(h,D+p+"."),Ba=R(h,F+p),Ca=R(h,G+p),I,J=[],T="",qa=v;h=M(h)?"":h;if(c.z){E=c.a[A]&&c.a[A].hash?c.a[A].href.substring(c.a[A].href.indexOf("#")):
"";if(c.Y&&!M(E))T=E+B;T+=c.a[A].search;if(!M(T)&&R(T,D)){e.mc(T);e.gb()||e.Kb();I=e.ea()}d(e.ha,e.sb,e.Cb,true);d(e.ga,e.va,e.za)}if(M(I))if(ja)if(!Ba||!Ca||0){I=o(h,";",b);a.C=r}else{I=O(h,D+p+".",";");J=V(O(h,F+p,";"),".")}else{I=ma([p,a.Xb(),b,b,b,1],".");qa=a.C=r}else if(M(e.B())||M(e.fa())){I=o(T,B,b);a.C=r}else{J=V(e.B(),".");p=J[0]}I=I.split(".");if(t&&x&&x.dh==p&&!c.o){I[4]=x.sid?x.sid:I[4];if(qa){I[3]=x.sid?x.sid:I[4];if(x.vid){b=x.vid.split(".");I[1]=b[0];I[2]=b[1]}}}e.qb(I.join("."));
J[0]=p;J[1]=J[1]?J[1]:0;J[2]=w!=J[2]?J[2]:c.wc;J[3]=J[3]?J[3]:I[4];e.ta(J.join("."));e.rb(p);M(e.Zb())||e.ua(e.N());e.Ab();e.ya();e.Bb()};a.ec=function(){j=new wa(c)};a._getName=function(){return a.r};a._initData=function(){var b;if(!n){if(!a.A){a.A=new xa(c);a.A.Sb()}a.b=a.Ub();a.i=new ua(c);a.g=new $;s=new ya(c,a.b,a.i,a.g);a.ec()}if(k()){if(!n){a.ca=a.Pb(a.Ua,c.a.domain);b=new Z(a.b,a.ca,a.s,c)}a.cc(b);s.gc()}if(!n){k()&&b.getCampaignInformation(a.i,a.C);a.Xa=new $;n=r}a.fc()};a._visitCode=function(){a._initData();
var b=O(a.i.k(),D+a.b+".",";");b=b.split(".");return b[y]<4?"":b[1]};a._cookiePathCopy=function(b){a._initData();a.i&&a.i.Bc(a.b,b)};a.fc=function(){if(!X.eb){var b=c.a[A].hash;if(b&&1==b.indexOf("gaso="))b=O(b,"gaso=",B);else b=(b=c.e.name)&&0<=b.indexOf("gaso=")?O(b,"gaso=",B):O(a.i.k(),ha,";");if(b[y]>=10){a.M=b;a.sc()}X.eb=r}};a.H=function(){return a._visitCode()%1E4<c.S*100};a.tc=function(){var b,e,h=c.a.links;if(!c.hb){b=c.a.domain;if("www."==N(b,0,4))b=N(b,4);c.u.push("."+b)}for(b=0;b<h[y]&&
(c.ma==-1||b<c.ma);b++){e=h[b];if(q(e.host))if(!e.gatcOnclick){e.gatcOnclick=e.onclick?e.onclick:a.kc;e.onclick=function(p){var t=!this.target||this.target=="_self"||this.target=="_top"||this.target=="_parent";t=t&&!a.Jb(p);a.zc(p,this,t);return t?v:this.gatcOnclick?this.gatcOnclick(p):r}}}};a.kc=function(){};a._trackPageview=function(b){if(k()){a._initData();c.u&&a.tc();a.yc(b);a.C=v}};a._trackTrans=function(){var b=a.b,e=[],h,p,t;a._initData();if(a.f&&a.H()){for(h=0;h<a.f.W[y];h++){p=a.f.W[h];S(e,
p.xa());for(t=0;t<p.P[y];t++)S(e,p.P[t].xa())}for(h=0;h<e[y];h++)j.F(e[h],a.n,b,r)}};a._setTrans=function(){var b=c.a,e,h,p;b=b.getElementById?b.getElementById("utmtrans"):b.utmform&&b.utmform.utmtrans?b.utmform.utmtrans:w;a._initData();if(b&&b.value){a.f=new Y;p=b.value.split("UTM:");c.v=!c.v||""==c.v?"|":c.v;for(b=0;b<p[y];b++){p[b]=g(p[b]);e=p[b].split(c.v);for(h=0;h<e[y];h++)e[h]=g(e[h]);if("T"==e[0])a._addTrans(e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]);else"I"==e[0]&&a._addItem(e[1],e[2],e[3],
e[4],e[5],e[6])}}};a._addTrans=function(b,e,h,p,t,x,E,ja){a.f=a.f?a.f:new Y;return a.f.Gb(b,e,h,p,t,x,E,ja)};a._addItem=function(b,e,h,p,t,x){var E;a.f=a.f?a.f:new Y;(E=a.f.db(b))||(E=a._addTrans(b,"","","","","","",""));E.Fb(e,h,p,t,x)};a._setVar=function(b){if(b&&""!=b&&l()){a._initData();s.rc(P(b));a.H()&&j.F("&utmt=var",a.n,a.b)}};a._setCustomVar=function(b,e,h,p){a._initData();return s.pc(b,e,h,p)};a._deleteCustomVar=function(b){a._initData();s.Mb(b)};a._getVisitorCustomVar=function(b){a._initData();
return s.$b(b)};a._setMaxCustomVariables=function(b){c.kb=b};a._link=function(b,e){if(c.z&&b){a._initData();c.a[A].href=a._getLinkerUrl(b,e)}};a._linkByPost=function(b,e){if(c.z&&b&&b.action){a._initData();b.action=a._getLinkerUrl(b.action,e)}};a._setXKey=function(b,e,h){a.g._setKey(b,e,h)};a._setXValue=function(b,e,h){a.g._setValue(b,e,h)};a._getXKey=function(b,e){return a.g._getKey(b,e)};a._getXValue=function(b,e){return a.g.getValue(b,e)};a._clearXKey=function(b){a.g._clearKey(b)};a._clearXValue=
function(b){a.g._clearValue(b)};a._createXObj=function(){a._initData();return new $};a._sendXEvent=function(b){var e="";a._initData();if(a.H()){e+="&utmt=event&utme="+P(a.g.nc(b))+a.ra();j.F(e,a.n,a.b,v,r)}};a._createEventTracker=function(b){a._initData();return new za(b,a)};a._trackEvent=function(b,e,h,p){a._initData();var t=a.Xa;if(w!=b&&w!=e&&""!=b&&""!=e){t._clearKey(5);t._clearValue(5);(b=t._setKey(5,1,b)&&t._setKey(5,2,e)&&(w==h||t._setKey(5,3,h))&&(w==p||t._setValue(5,1,p)))&&a._sendXEvent(t)}else b=
v;return b};a.zc=function(b,e,h){a._initData();if(a.H()){var p=new $;p._setKey(6,1,e.href);var t=h?function(){a.Ya(b,e)}:w;j.F("&utmt=event&utme="+P(p.D())+a.ra(),a.n,a.b,v,r,t);h&&c.e.setTimeout(function(){a.Ya(b,e)},500)}};a.Ya=function(b,e){if(!b)b=c.e.event;var h=r;if(e.gatcOnclick)h=e.gatcOnclick(b);if(h||typeof h=="undefined")if(!e.target||e.target=="_self")c.e[A]=e.href;else if(e.target=="_top")c.e.top.document[A]=e.href;else if(e.target=="_parent")c.e.parent.document[A]=e.href};a.Jb=function(b){if(!b)b=
c.e.event;var e=b.shiftKey||b.ctrlKey||b.altKey;if(!e)if(b.modifiers&&c.e.Event)e=b.modifiers&c.e.Event.CONTROL_MASK||b.modifiers&c.e.Event.SHIFT_MASK||b.modifiers&c.e.Event.ALT_MASK;return e};a.Ec=function(){return c};a._setDomainName=function(b){c.c=b};a._addOrganic=function(b,e,h){c.R.splice(h?0:c.R.length,0,new ra(b,e))};a._clearOrganic=function(){c.R=[]};a._addIgnoredOrganic=function(b){S(c.oa,b)};a._clearIgnoredOrganic=function(){c.oa=[]};a._addIgnoredRef=function(b){S(c.qa,b)};a._clearIgnoredRef=
function(){c.qa=[]};a._setAllowHash=function(b){c.Ka=b?1:0};a._setCampaignTrack=function(b){c.Na=b?1:0};a._setClientInfo=function(b){c.$=b?1:0};a._getClientInfo=function(){return c.$};a._setCookiePath=function(b){c.h=b};a._setTransactionDelim=function(b){c.v=b};a._setCookieTimeout=function(b){a._setCampaignCookieTimeout(b*1E3)};a._setCampaignCookieTimeout=function(b){c.Ma=b};a._setDetectFlash=function(b){c.ba=b?1:0};a._getDetectFlash=function(){return c.ba};a._setDetectTitle=function(b){c.aa=b?1:
0};a._getDetectTitle=function(){return c.aa};a._setLocalGifPath=function(b){c.ja=b};a._getLocalGifPath=function(){return c.ja};a._setLocalServerMode=function(){c.G=0};a._setRemoteServerMode=function(){c.G=1};a._setLocalRemoteServerMode=function(){c.G=2};a._getServiceMode=function(){return c.G};a._setSampleRate=function(b){c.S=b};a._setSessionTimeout=function(b){a._setSessionCookieTimeout(b*1E3)};a._setSessionCookieTimeout=function(b){c.pb=b};a._setAllowLinker=function(b){c.z=b?1:0};a._setAllowAnchor=
function(b){c.Y=b?1:0};a._setCampNameKey=function(b){c.Ba=b};a._setCampContentKey=function(b){c.Ca=b};a._setCampIdKey=function(b){c.Da=b};a._setCampMediumKey=function(b){c.Ea=b};a._setCampNOKey=function(b){c.Fa=b};a._setCampSourceKey=function(b){c.Ga=b};a._setCampTermKey=function(b){c.Ha=b};a._setCampCIdKey=function(b){c.Ia=b};a._getAccount=function(){return a.n};a._setAccount=function(b){a.n=b};a._setNamespace=function(b){c.o=b?P(b):w};a._getVersion=function(){return da};a._setAutoTrackOutbound=
function(b){c.u=[];if(b)c.u=b};a._setTrackOutboundSubdomains=function(b){c.hb=b};a._setHrefExamineLimit=function(b){c.ma=b};a._setReferrerOverride=function(b){a.Ua=b};a._setCookiePersistence=function(b){a._setVisitorCookieTimeout(b)};a._setVisitorCookieTimeout=function(b){c.w=b}};var Da=function(){var i=this;i.Va=v;i.yb={};i.Ac=0;i.eb=v;i._gasoDomain=w;i._gasoCPath=w;i._getTracker=function(f,m){return i._createTracker(f,w,m)};i._createTracker=function(f,m,u){if(m==w)m="~"+X.Ac++;return X.yb[m]=new Aa(m,f,u)};i._getTrackerByName=function(f){f=f||"";return X.yb[f]||X._createTracker(undefined,f)};i.Cc=function(){var f=window[ea];return f&&f[fa]&&f[fa]()};i._anonymizeIp=function(){i.Va=r}};var va=v,Fa=function(){var i=this;i._createAsyncTracker=function(f,m){return X._createTracker(f,m||"")};i._getAsyncTracker=function(f){return X._getTrackerByName(f)};i.push=function(){var f=arguments,m=0;va=r;for(var u=0;u<f[y];u++)try{if(typeof f[u]==="function")f[u]();else{var l="",o=f[u][0],k=o.lastIndexOf(".");if(k>0){l=N(o,0,k);o=N(o,k+1)}var g=l==aa?X:l==ba?Ea:X._getTrackerByName(l);g[o].apply(g,f[u].slice(1))}}catch(d){m++}return m}};function Ga(){var i=window[aa];if(i&&typeof i._getTracker=="function")X=i;else window[aa]=X}function Ha(){var i=window[ba],f=v;if(i&&typeof i.push=="function"){f=i.constructor==Array;if(!f)return}window[ba]=Ea;f&&Ea.push.apply(Ea,i)}var X=new Da;Ga();var Ea=new Fa;Ha();})()


// INCLUDED SOURCE FILE /var/www/volos2/apps/.app-2_37_44/src/Presentation/EditableView/EVIPage.js
function showPhotoGallery(w,h,_3,_4){
KShade.show();
var _5=document.createElement("iframe");
_5.src=window.location.protocol+"//"+window.location.host+"/scripts/photoGallery.php?w="+w+"&h="+h+((""!=_3)?("&idcms="+_3):"")+((""!=_4)?("&go="+_4):"");
_5.id="MMEEditor";
_5.style.position="absolute";
_5.style.width="90%";
_5.style.height="630px";
_5.style.textAlign="center";
_5.style.zIndex="30000";
_5.style.backgroundColor="#ffffff";
if(window.XMLHttpRequest){
_5.allowTransparency="true";
}else{
_5.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)";
}
_5.frameBorder="0";
_5.style.border="4px solid #444";
_5.style.borderTop="4px solid #aaa";
_5.style.borderLeft="4px solid #aaa";
totalW=window.innerWidth?window.innerWidth:document.documentElement.clientWidth;
totalH=window.innerHeight?window.innerHeight:document.documentElement.clientHeight;
_5.style.left="5%";
_5.style.top=(document.documentElement.scrollTop+20)+"px";
document.body.appendChild(_5);
}
function showDBPhotoGallery(w,h,_8,_9){
KShade.show();
var _a=document.createElement("iframe");
_a.src=window.location.protocol+"//"+window.location.host+"/scripts/DBphotoGallery.php?w="+w+"&h="+h+((""!=_8)?("&idcms="+_8):"")+((""!=_9)?("&go="+_9):"");
_a.id="MMEEditor";
_a.style.position="absolute";
_a.style.width="90%";
_a.style.height="630px";
_a.style.textAlign="center";
_a.style.zIndex="30000";
_a.style.backgroundColor="#ffffff";
if(window.XMLHttpRequest){
_a.allowTransparency="true";
}else{
_a.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)";
}
_a.frameBorder="0";
_a.style.border="4px solid #444";
_a.style.borderTop="4px solid #aaa";
_a.style.borderLeft="4px solid #aaa";
totalW=window.innerWidth?window.innerWidth:document.documentElement.clientWidth;
totalH=window.innerHeight?window.innerHeight:document.documentElement.clientHeight;
_a.style.left="5%";
_a.style.top=(document.documentElement.scrollTop+20)+"px";
document.body.appendChild(_a);
}
function showFTP(w,h,_d){
KShade.show();
var _e=document.createElement("iframe");
_e.src=_d;
_e.id="iFTP";
_e.style.position="absolute";
_e.style.width="70%";
_e.style.height="720px";
_e.style.textAlign="center";
_e.style.zIndex="30000";
_e.style.backgroundColor="#ffffff";
if(window.XMLHttpRequest){
_e.allowTransparency="true";
}else{
_e.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)";
}
_e.frameBorder="0";
totalW=window.innerWidth?window.innerWidth:document.documentElement.clientWidth;
totalH=window.innerHeight?window.innerHeight:document.documentElement.clientHeight;
_e.style.left="15%";
_e.style.top=(document.documentElement.scrollTop+100)+"px";
document.body.appendChild(_e);
}



// INCLUDED SOURCE FILE /var/www/volos2/apps/.app-2_37_44/src/Core/Include/js/KMenu.js
function KMenu(id,_2,_3,_4,_5,_6){
this.div=document.createElement("div");
this.div.id="mp"+id;
this.id=id;
this.submenuAlign=_6?_6:this.ALIGN_RIGHT;
this.iconsWidth=_5?_5:0;
this.vertical=_2;
this.div.ul=document.getElementById(id+"Ul");
if(!this.div.ul){
return false;
}
this.div.ul.div=this.div;
this.clickBehaviour=_4;
this.setupMenu(this.div.ul,0);
this.div.onmousemove=document.getElementById(id).onmousemove=function(e){
stopBubbling(e);
};
var _8=this;
if(this.clickBehaviour){
document.getElementById(id).onclick=function(_9){
stopBubbling(_9);
};
}else{
addEvent(document,"mousemove",function(e){
clearTimeout(_8.timeout);
_8.hideChildrenAt(document.getElementById(id+"Ul"),_3);
});
}
document.body.appendChild(this.div);
}
KMenu.prototype=new function(){
this.ALIGN_LEFT=1;
this.ALIGN_RIGHT=0;
this.id=null;
this.div=null;
this.overlayX=0;
this.overlayY=0;
this.clickBehaviour=false;
this.vertical=false;
this.clicked=false;
this.iconsWidth=0;
var _b=null;
this.hideChildrenAt=function(el,_d){
var m=this;
m.timeout=window.setTimeout(function(){
m.hideChildren(0,el);
},_d);
};
this.hideChildren=function(_f,ex){
if(ex==null){
var ex=this;
}
if(_f>=1){
ex.style.display="none";
}
if(ex.childMenus){
for(var i=0;i<ex.childMenus.length;i++){
this.hideChildren(_f+1,ex.childMenus[i]);
}
}
};
this.lineupLevel=function(c){
if(!c.processed){
c.style.visibility="hidden";
}
if(c.currentStyle){
c.style.display="block";
}else{
c.style.display="inline";
}
c.style.zIndex=c.zindex;
if(!c.processed){
var max=0;
for(i=0;i<c.childNodes.length;i++){
if(c.childNodes[i].nodeName=="LI"){
max=c.childNodes[i].offsetWidth>max?c.childNodes[i].offsetWidth:max;
}
}
c.style.width=(max+this.iconsWidth)+"px";
var ar=c.getElementsByTagName("table");
for(var i=0;i<ar.length;i++){
ar[i].className="stretch "+ar[i].className;
}
c.style.visibility="visible";
c.processed=true;
}
};
this.showNoSub=function(mi){
if(mi.submenu.parentMenu){
this.hideChildren(0,mi.submenu.parentMenu);
}
clearTimeout(this.div.timeout);
};
this.showSub=function(mi,_18){
if(this.clickBehaviour){
if(!this.clicked){
return false;
}
}
KMenuManager.activate(this);
ae=[];
for(var i=0;i<mi.childNodes.length;i++){
if("TABLE"==mi.childNodes[i].nodeName||"DIV"==mi.childNodes[i].nodeName||"INPUT"==mi.childNodes[i].nodeName){
var ae=findPos(mi.childNodes[i]);
var b=mi.childNodes[i];
break;
}
}
mi.submenu.style.position="absolute";
if(ae.length>0){
if(mi.submenu.currentStyle){
if(this.ALIGN_RIGHT==this.submenuAlign){
mi.submenu.style.left=(ae[0]+(0==_18&&!this.vertical?-("auto"==b.currentStyle.marginLeft?0:parseInt(b.currentStyle.marginLeft)):(b.offsetWidth-this.overlayX)))+"px";
}
mi.submenu.style.top=(ae[1]+(0==_18&&!this.vertical?b.offsetHeight+("auto"==b.currentStyle.marginLeft?0:parseInt(b.currentStyle.marginBottom)):-this.overlayY))+"px";
}else{
if(this.ALIGN_RIGHT==this.submenuAlign){
mi.submenu.style.left=(ae[0]+(0==_18&&!this.vertical?0:b.offsetWidth-this.overlayX))+"px";
}
mi.submenu.style.top=(ae[1]+(0==_18&&!this.vertical?b.offsetHeight:-this.overlayY))+"px";
}
}else{
var ae=findPos(mi);
var b=mi;
if(mi.submenu.currentStyle){
mi.submenu.style.left=(ae[0]+(0==_18&&!this.vertical?0:b.offsetWidth-this.overlayX-20))+"px";
}else{
var _1c=0;
if(-1!=b.className.indexOf("right")){
if(!mi.submenu.offsetWidth){
mi.submenu.style.display="block";
}
_1c=-mi.submenu.offsetWidth+b.offsetWidth;
}
mi.submenu.style.left=(ae[0]+(0==_18&&!this.vertical?_1c:b.offsetWidth-this.overlayX))+"px";
}
mi.submenu.style.top=(ae[1]+(0==_18&&!this.vertical?b.offsetHeight:-this.overlayY))+"px";
}
if(mi.submenu.parentMenu){
this.hideChildren(0,mi.submenu.parentMenu);
}
clearTimeout(this.div.timeout);
this.lineupLevel(mi.submenu);
if(this.ALIGN_LEFT==this.submenuAlign){
if(mi.submenu.currentStyle){
mi.submenu.style.left=(ae[0]+(0==_18&&!this.vertical?-("auto"==b.currentStyle.marginLeft?0:parseInt(b.currentStyle.marginLeft)):(-mi.submenu.offsetWidth-this.overlayX)))+"px";
}else{
mi.submenu.style.left=(ae[0]+(0==_18&&!this.vertical?0:-mi.submenu.offsetWidth-this.overlayX))+"px";
}
}
};
this.setupMenu=function(el,_1e){
var e=null;
var _20=this;
el.childMenus=[];
addEvent(el,"mouseover",function(ev){
clearTimeout(_20.timeout);
});
if("TABLE"==el.nodeName){
for(var i=0;i<el.childNodes.length;i++){
if("TBODY"==el.childNodes[i].nodeName){
for(var j=0;j<el.childNodes[i].childNodes.length;j++){
if("TR"==el.childNodes[i].childNodes[j].nodeName){
var par=el.childNodes[i].childNodes[j];
break;
}
}
}
}
}else{
var par=el;
}
for(var ei=0;ei<par.childNodes.length;ei++){
e=par.childNodes[ei];
if("LI"==e.nodeName||"TD"==e.nodeName){
var c=null;
var _27=null;
var _28=null;
for(var ci=0;ci<e.childNodes.length;ci++){
var c=e.childNodes[ci];
if(3==c.nodeType){
continue;
}
e.submenu=c;
c.parentMenu=el;
if("UL"==c.nodeName){
_27=c;
break;
}else{
if("DIV"==c.nodeName||"TABLE"==c.nodeName){
_28=c;
}
}
}
if(_27){
this.setupMenu(_27,_1e+1);
el.childMenus[el.childMenus.length]=_27;
e.submenu.zindex=100+_1e;
addEvent(e,"mouseover",new function(ev){
this.e=e;
var m=this;
return function(){
_20.showSub(m.e,_1e);
};
});
if(this.clickBehaviour){
addEvent(e,"click",new function(ev){
this.e=e;
var m=this;
return function(){
_20.clicked=!_20.clicked;
addEvent(document,"click",KMenuManager.deactivate);
if(_20.clicked){
_20.showSub(m.e,_1e);
}else{
_20.hideChildren(0,el);
}
};
});
}
addEvent(e,"mousemove",function(ev){
clearTimeout(_20.timeout);
});
e.removeChild(_27);
this.div.appendChild(_27);
}else{
if(_28){
addEvent(e,"mouseover",new function(ev){
this.e=e;
var m=this;
return function(){
_20.showNoSub(m.e);
};
});
}
}
}
}
};
};



// INCLUDED SOURCE FILE /var/www/volos2/apps/.app-2_37_44/src/Core/Include/js/KMenuManager.js
var KMenuManager=new function(){
var _1=null;
var _2=[];
this.activate=function(_3){
if(!_3){
return false;
}
if(_1==_3||!_1){
_1=_3;
return true;
}
if(_3.hideChildren){
this.deactivate();
}
_1=_3;
};
this.deactivate=function(_4){
if(!_4||!_4.hideChildren){
var _4=_1;
}
if(_4&&_4.hideChildren){
_4.hideChildren(0,document.getElementById(_4.id+"Ul"));
_4.clicked=false;
}else{
return false;
}
};
this.createMenu=function(id,_6,_7,_8,_9,_a){
return _2[_2.length]=new KMenu(id,_6,_7,_8,_9,_a);
};
};



// INCLUDED SOURCE FILE /var/www/volos2/apps/.app-2_37_44/src/Core/Include/js/KShade.js
var KShade=new function(){
this.instance=0;
this.show=function(_1,_2){
var _3=document.getElementById(_2?"preloaderDiv2":"preloaderEDiv2");
if(_1&&_3){
_3.style.display="block";
totalW=window.innerWidth?window.innerWidth:document.documentElement.clientWidth;
totalH=window.innerHeight?window.innerHeight:document.documentElement.clientHeight;
_3.style.left=(totalW/2-250/2)+"px";
_3.style.top=(totalH/2-140/2)+"px";
}else{
if(_3){
_3.style.display="none";
}
}
var el=document.getElementById(_2?"preloaderDiv":"preloaderEDiv");
if(el){
el.style.display="block";
}
this.instance++;
return true;
};
this.hide=function(p,_6){
if(null==p){
p=window;
}
this.instance--;
if(this.instance>0){
return false;
}
var _7=p.document.getElementById("preloaderDiv");
if(_7){
_7.style.display="none";
}
_7=p.document.getElementById("preloaderEDiv");
if(_7){
_7.style.display="none";
}
return true;
};
this.setProgress=function(_8,_9,p){
if(null==p){
p=window;
}
var st=null;
if(st=p.document.getElementById("statusText")){
st.innerHTML=_8;
}
var pb=p.document.getElementById("progressBar");
if(_9&&pb){
pb.style.width=_9+"px";
pb.parentNode.style.display="";
}
};
};



// INCLUDED SOURCE FILE /var/www/volos2/apps/.app-2_37_44/src/Core/Include/js/KPopup.js
var KPopup=new function(){
var _1=[];
this.show=function(_2,_3,_4){
KShade.show(false,true);
var _5=document.createElement("div");
_5.id="popupMessage";
_5.className="popupMessage";
_5.style.position="absolute";
_5.style.visibility="hidden";
var _6=document.createElement("div");
_6.id="popupMessageBox";
if(_2){
var _7=document.createElement("div");
_7.id="popupIconBox";
_7.className="popupIconBox popupIcon_"+_2;
_6.className="popupMessageBox";
_5.appendChild(_7);
}else{
_6.className="popupMessageFullBox";
}
_6.innerHTML="<div class=\"inner\"><p>"+_4+"</p></div>";
_5.appendChild(_6);
_6=document.createElement("div");
_6.className="controls";
var _8=document.createElement("input");
_8.id="popupMessageBtn";
_8.className="buttonStandard";
_8.type="button";
_8.value=_3;
addEvent(_8,"click",this.hide,false);
_6.appendChild(_8);
_5.appendChild(_6);
window.document.body.appendChild(_5);
centerLayer("popupMessage");
_5.style.visibility="visible";
};
this.showOnLoad=function(_9,_a,_b){
var k=this;
addEvent(window,"load",function(){
k.show(_9,_a,_b);
},false);
};
this.hide=function(){
KShade.hide();
var _d=document.getElementById("popupMessage");
if(_d){
par=_d.parentNode;
if(par){
par.removeChild(_d);
}
}
};
};



// INCLUDED SOURCE FILE /var/www/volos2/apps/.app-2_37_44/src/Core/Include/js/KTooltip.js
var KTooltip=new function(){
this.showImg=function(el,_2,_3,w,h,_6){
return domTT_activate(el,_2,"content","<img src=\""+_3+"\" "+(w?"width=\""+w+"\" ":"")+(h?"height=\""+h+"\" ":"")+(_6?"class=\""+_6+"\" ":"class=\"ttImage\" ")+"/>","trail",false);
};
};



