struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From musa...@apache.org
Subject svn commit: r670371 [2/4] - in /struts/struts2/trunk/plugins/dojo/src: main/resources/org/apache/struts2/static/dojo/ main/resources/org/apache/struts2/static/dojo/struts/widget/ profile/
Date Sun, 22 Jun 2008 15:28:01 GMT
Modified: struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js?rev=670371&r1=670370&r2=670371&view=diff
==============================================================================
--- struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js (original)
+++ struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js Sun Jun 22 08:28:01 2008
@@ -482,7 +482,7 @@
 }
 }
 };
-dojo.hostenv.localesGenerated;
+dojo.hostenv.localesGenerated=["ROOT","es-es","es","it-it","pt-br","de","fr-fr","zh-cn","pt","en-us","zh","fr","zh-tw","it","en-gb","xx","de-de","ko-kr","ja-jp","ko","en","ja"];
 dojo.hostenv.registerNlsPrefix=function(){
 dojo.registerModulePath("nls","nls");
 };
@@ -13628,4 +13628,5167 @@
 }
 });
 }});
+dojo.provide("struts.widget.Bind");
+dojo.widget.defineWidget("struts.widget.Bind",dojo.widget.HtmlWidget,{widgetType:"Bind",executeScripts:false,scriptSeparation:false,targets:"",targetsArray:null,href:"",handler:"",loadingText:"Loading...",errorText:"",showError:true,showLoading:false,listenTopics:"",notifyTopics:"",notifyTopicsArray:null,beforeNotifyTopics:"",beforeNotifyTopicsArray:null,afterNotifyTopics:"",afterNotifyTopicsArray:null,errorNotifyTopics:"",errorNotifyTopicsArray:null,formId:"",formFilter:"",formNode:null,events:"",indicator:"",parseContent:true,highlightColor:"",highlightDuration:2000,validate:false,ajaxAfterValidation:false,cacheContent:true,scriptSeparation:true,scriptScope:null,transport:"",postCreate:function(){
+var self=this;
+if(!dojo.string.isBlank(this.listenTopics)){
+this.log("Listening to "+this.listenTopics+" to refresh");
+var _b7b=this.listenTopics.split(",");
+if(_b7b){
+dojo.lang.forEach(_b7b,function(_b7c){
+dojo.event.topic.subscribe(_b7c,self,"reloadContents");
+});
+}
+}
+if(!dojo.string.isBlank(this.notifyTopics)){
+this.notifyTopicsArray=this.notifyTopics.split(",");
+}
+if(!dojo.string.isBlank(this.beforeNotifyTopics)){
+this.beforeNotifyTopicsArray=this.beforeNotifyTopics.split(",");
+}
+if(!dojo.string.isBlank(this.afterNotifyTopics)){
+this.afterNotifyTopicsArray=this.afterNotifyTopics.split(",");
+}
+if(!dojo.string.isBlank(this.errorNotifyTopics)){
+this.errorNotifyTopicsArray=this.errorNotifyTopics.split(",");
+}
+if(!dojo.string.isBlank(this.targets)){
+this.targetsArray=this.targets.split(",");
+}
+if(!dojo.string.isBlank(this.events)){
+var _b7d=this.events.split(",");
+if(_b7d&&this.domNode){
+dojo.lang.forEach(_b7d,function(_b7e){
+dojo.event.connect(self.domNode,_b7e,function(evt){
+evt.preventDefault();
+evt.stopPropagation();
+self.reloadContents();
+});
+});
+}
+}
+if(dojo.string.isBlank(this.formId)){
+this.formNode=dojo.dom.getFirstAncestorByTag(this.domNode,"form");
+}else{
+this.formNode=dojo.byId(this.formId);
+}
+if(this.formNode&&dojo.string.isBlank(this.href)){
+this.href=this.formNode.action;
+}
+},highlight:function(){
+if(!dojo.string.isBlank(this.highlightColor)){
+var _b80=[];
+dojo.lang.forEach(this.targetsArray,function(_b81){
+var node=dojo.byId(_b81);
+if(node){
+_b80.push(node);
+}
+});
+var _b83=dojo.lfx.html.highlight(_b80,this.highlightColor,this.highlightDuration);
+_b83.play();
+}
+},log:function(text){
+dojo.debug("["+(this.widgetId?this.widgetId:"unknown")+"] "+text);
+},setContent:function(text){
+if(this.targetsArray){
+var self=this;
+var _b87=new dojo.xml.Parse();
+dojo.lang.forEach(this.targetsArray,function(_b88){
+var node=dojo.byId(_b88);
+if(node){
+node.innerHTML=text;
+if(self.parseContent&&text!=self.loadingText){
+var frag=_b87.parseElement(node,null,true);
+dojo.widget.getParser().createSubComponents(frag,dojo.widget.byId(_b88));
+}
+}else{
+self.log("Unable to find target: "+node);
+}
+});
+}
+},bindHandler:function(type,data,e){
+dojo.html.hide(this.indicator);
+this.notify(data,type,e);
+if(type=="load"){
+if(this.validate){
+StrutsUtils.clearValidationErrors(this.formNode);
+var _b8e=StrutsUtils.getValidationErrors(data);
+if(_b8e&&_b8e.fieldErrors){
+StrutsUtils.showValidationErrors(this.formNode,_b8e);
+return;
+}else{
+if(!this.ajaxAfterValidation&&this.formNode){
+this.formNode.submit();
+return;
+}
+}
+}
+if(this.executeScripts){
+var _b8f=this.parse(data);
+this.setContent(_b8f.text);
+this._executeScripts(_b8f.scripts);
+}else{
+this.setContent(data);
+}
+this.highlight();
+}else{
+if(this.showError){
+var _b90=dojo.string.isBlank(this.errorText)?e.message:this.errorText;
+this.setContent(_b90);
+}
+}
+},notify:function(data,type,e){
+var self=this;
+if(this.notifyTopicsArray){
+dojo.lang.forEach(this.notifyTopicsArray,function(_b95){
+try{
+dojo.event.topic.publish(_b95,data,type,e,self);
+}
+catch(ex){
+self.log(ex);
+}
+});
+}
+var _b96=null;
+switch(type){
+case "before":
+this.notifyTo(this.beforeNotifyTopicsArray,null,e);
+break;
+case "load":
+this.notifyTo(this.afterNotifyTopicsArray,data,e);
+break;
+case "error":
+this.notifyTo(this.errorNotifyTopicsArray,data,e);
+break;
+}
+},notifyTo:function(_b97,data,e){
+var self=this;
+if(_b97){
+dojo.lang.forEach(_b97,function(_b9b){
+try{
+if(data!=null){
+dojo.event.topic.publish(_b9b,data,e,self);
+}else{
+dojo.event.topic.publish(_b9b,e,self);
+}
+}
+catch(ex){
+self.log(ex);
+}
+});
+}
+},onDownloadStart:function(_b9c){
+if(this.showLoading&&!dojo.string.isBlank(this.loadingText)){
+_b9c.text=this.loadingText;
+}
+},reloadContents:function(evt){
+if(!dojo.string.isBlank(this.handler)){
+this.log("Invoking handler: "+this.handler);
+window[this.handler](this,this.domNode);
+}else{
+try{
+var self=this;
+var _b9f={cancel:false};
+this.notify(this.widgetId,"before",_b9f);
+if(_b9f.cancel){
+this.log("Request canceled");
+return;
+}
+if(dojo.string.isBlank(this.href)){
+return;
+}
+if(!this.validate&&this.formNode&&this.formNode.onsubmit!=null){
+var _ba0=this.formNode.onsubmit.call(evt);
+if(_ba0!=null&&!_ba0){
+this.log("Request canceled by 'onsubmit' of the form");
+return;
+}
+}
+dojo.html.show(this.indicator);
+if(this.showLoading){
+this.setContent(this.loadingText);
+}
+var _ba1=this.href;
+_ba1=_ba1+(_ba1.indexOf("?")>-1?"&":"?")+"struts.enableJSONValidation=true";
+if(!this.ajaxAfterValidation&&this.validate){
+_ba1=_ba1+(_ba1.indexOf("?")>-1?"&":"?")+"struts.validateOnly=true";
+}
+if(dojo.dom.isTag(this.domNode,"INPUT","input")&&this.events=="onclick"&&this.domNode.type=="submit"&&!dojo.string.isBlank(this.domNode.name)&&!dojo.string.isBlank(this.domNode.value)){
+var enc=/utf/i.test("")?encodeURIComponent:dojo.string.encodeAscii;
+_ba1=_ba1+(_ba1.indexOf("?")>-1?"&":"?")+enc(this.domNode.name)+"="+enc(this.domNode.value);
+}
+dojo.io.bind({url:_ba1,useCache:false,preventCache:true,formNode:self.formNode,formFilter:window[self.formFilter],transport:self.transport,handler:function(type,data,e){
+dojo.lang.hitch(self,"bindHandler")(type,data,e);
+},mimetype:"text/html"});
+}
+catch(ex){
+if(this.showError){
+var _ba6=dojo.string.isBlank(this.errorText)?ex:this.errorText;
+this.setContent(_ba6);
+}
+}
+}
+},parse:function(s){
+this.log("Parsing: "+s);
+var _ba8=[];
+var tmp=[];
+var _baa=[];
+while(_ba8){
+_ba8=s.match(/<script([^>]*)>([\s\S]*?)<\/script>/i);
+if(!_ba8){
+break;
+}
+if(_ba8[1]){
+attr=_ba8[1].match(/src=(['"]?)([^"']*)\1/i);
+if(attr){
+var tmp2=attr[2].search(/.*(\bdojo\b(?:\.uncompressed)?\.js)$/);
+if(tmp2>-1){
+this.log("Security note! inhibit:"+attr[2]+" from  beeing loaded again.");
+}
+}
+}
+if(_ba8[2]){
+var sc=_ba8[2].replace(/(?:var )?\bdjConfig\b(?:[\s]*=[\s]*\{[^}]+\}|\.[\w]*[\s]*=[\s]*[^;\n]*)?;?|dojo\.hostenv\.writeIncludes\(\s*\);?/g,"");
+if(!sc){
+continue;
+}
+tmp=[];
+while(tmp){
+tmp=sc.match(/dojo\.(?:(?:require(?:After)?(?:If)?)|(?:widget\.(?:manager\.)?registerWidgetPackage)|(?:(?:hostenv\.)?setModulePrefix))\((['"]).*?\1\)\s*;?/);
+if(!tmp){
+break;
+}
+sc=sc.replace(tmp[0],"");
+}
+_baa.push(sc);
+}
+s=s.replace(/<script[^>]*>[\s\S]*?<\/script>/i,"");
+}
+return {text:s,scripts:_baa};
+},_executeScripts:function(_bad){
+var self=this;
+var tmp="",code="";
+for(var i=0;i<_bad.length;i++){
+if(_bad[i].path){
+dojo.io.bind(this._cacheSetting({"url":_bad[i].path,"load":function(type,_bb3){
+dojo.lang.hitch(self,tmp=";"+_bb3);
+},"error":function(type,_bb5){
+_bb5.text=type+" downloading remote script";
+self._handleDefaults.call(self,_bb5,"onExecError","debug");
+},"mimetype":"text/plain","sync":true},this.cacheContent));
+code+=tmp;
+}else{
+code+=_bad[i];
+}
+}
+try{
+if(this.scriptSeparation){
+delete this.scriptScope;
+this.scriptScope=new (new Function("_container_",code+"; return this;"))(self);
+}else{
+var djg=dojo.global();
+if(djg.execScript){
+djg.execScript(code);
+}else{
+var djd=dojo.doc();
+var sc=djd.createElement("script");
+sc.appendChild(djd.createTextNode(code));
+(this.containerNode||this.domNode).appendChild(sc);
+}
+}
+}
+catch(e){
+e.text="Error running scripts from content:\n"+e.description;
+this.log(e);
+}
+},_cacheSetting:function(_bb9,_bba){
+for(var x in this.bindArgs){
+if(dojo.lang.isUndefined(_bb9[x])){
+_bb9[x]=this.bindArgs[x];
+}
+}
+if(dojo.lang.isUndefined(_bb9.useCache)){
+_bb9.useCache=_bba;
+}
+if(dojo.lang.isUndefined(_bb9.preventCache)){
+_bb9.preventCache=!_bba;
+}
+if(dojo.lang.isUndefined(_bb9.mimetype)){
+_bb9.mimetype="text/html";
+}
+return _bb9;
+}});
+dojo.provide("dojo.lang.timing.Timer");
+dojo.lang.timing.Timer=function(_bbc){
+this.timer=null;
+this.isRunning=false;
+this.interval=_bbc;
+this.onStart=null;
+this.onStop=null;
+};
+dojo.extend(dojo.lang.timing.Timer,{onTick:function(){
+},setInterval:function(_bbd){
+if(this.isRunning){
+dj_global.clearInterval(this.timer);
+}
+this.interval=_bbd;
+if(this.isRunning){
+this.timer=dj_global.setInterval(dojo.lang.hitch(this,"onTick"),this.interval);
+}
+},start:function(){
+if(typeof this.onStart=="function"){
+this.onStart();
+}
+this.isRunning=true;
+this.timer=dj_global.setInterval(dojo.lang.hitch(this,"onTick"),this.interval);
+},stop:function(){
+if(typeof this.onStop=="function"){
+this.onStop();
+}
+this.isRunning=false;
+dj_global.clearInterval(this.timer);
+}});
+dojo.provide("struts.widget.BindDiv");
+dojo.widget.defineWidget("struts.widget.BindDiv",dojo.widget.ContentPane,{widgetType:"BindDiv",href:"",extractContent:false,parseContent:false,cacheContent:false,refreshOnShow:false,executeScripts:false,preload:true,updateFreq:0,delay:0,autoStart:true,timer:null,loadingText:"Loading...",showLoading:false,errorText:"",showError:true,listenTopics:"",notifyTopics:"",notifyTopicsArray:null,stopTimerListenTopics:"",startTimerListenTopics:"",beforeNotifyTopics:"",beforeNotifyTopicsArray:null,afterNotifyTopics:"",afterNotifyTopicsArray:null,errorNotifyTopics:"",errorNotifyTopicsArray:null,beforeLoading:"",afterLoading:"",formId:"",formFilter:"",indicator:"",parseContent:true,highlightColor:"",highlightDuration:2000,disabled:false,transport:"",onDownloadStart:function(_bbe){
+if(!this.showLoading){
+_bbe.returnValue=false;
+return;
+}
+if(this.showLoading&&!dojo.string.isBlank(this.loadingText)){
+_bbe.text=this.loadingText;
+}
+},highlight:function(){
+if(!dojo.string.isBlank(this.highlightColor)){
+var _bbf=dojo.lfx.html.highlight([this.domNode],this.highlightColor,this.highlightDuration);
+_bbf.play();
+}
+},onDownloadError:function(_bc0){
+this.onError(_bc0);
+},onContentError:function(_bc1){
+this.onError(_bc1);
+},onExecError:function(_bc2){
+this.onError(_bc2);
+},onError:function(_bc3){
+if(this.showError){
+if(!dojo.string.isBlank(this.errorText)){
+_bc3.text=this.errorText;
+}
+}else{
+_bc3.text="";
+}
+},notify:function(data,type,e){
+if(this.notifyTopicsArray){
+var self=this;
+dojo.lang.forEach(this.notifyTopicsArray,function(_bc8){
+try{
+dojo.event.topic.publish(_bc8,data,type,e,self);
+}
+catch(ex){
+self.log(ex);
+}
+});
+}
+var _bc9=null;
+switch(type){
+case "before":
+this.notifyTo(this.beforeNotifyTopicsArray,null,e);
+break;
+case "load":
+this.notifyTo(this.afterNotifyTopicsArray,data,e);
+break;
+case "error":
+this.notifyTo(this.errorNotifyTopicsArray,data,e);
+break;
+}
+},notifyTo:function(_bca,data,e){
+var self=this;
+if(_bca){
+dojo.lang.forEach(_bca,function(_bce){
+try{
+if(data!=null){
+dojo.event.topic.publish(_bce,data,e,self);
+}else{
+dojo.event.topic.publish(_bce,e,self);
+}
+}
+catch(ex){
+self.log(ex);
+}
+});
+}
+},postCreate:function(args,frag){
+if(this.handler!==""){
+this.setHandler(this.handler);
+}
+var self=this;
+var _bd2=function(){
+dojo.lang.hitch(self,"refresh")();
+};
+var _bd3=function(){
+dojo.lang.hitch(self,"startTimer")();
+};
+if(this.updateFreq>0){
+this.timer=new dojo.lang.timing.Timer(this.updateFreq);
+this.timer.onTick=_bd2;
+if(this.autoStart){
+if(this.delay>0){
+dojo.lang.setTimeout(_bd3,this.delay);
+}else{
+this.startTimer();
+}
+}
+}else{
+if(this.delay>0){
+dojo.lang.setTimeout(_bd2,this.delay);
+}
+}
+if(!dojo.string.isBlank(this.listenTopics)){
+this.log("Listening to "+this.listenTopics+" to refresh");
+var _bd4=this.listenTopics.split(",");
+if(_bd4){
+dojo.lang.forEach(_bd4,function(_bd5){
+dojo.event.topic.subscribe(_bd5,self,"refresh");
+});
+}
+}
+if(!dojo.string.isBlank(this.stopTimerListenTopics)){
+this.log("Listening to "+this.stopTimerListenTopics+" to stop timer");
+var _bd6=this.stopTimerListenTopics.split(",");
+if(_bd6){
+dojo.lang.forEach(_bd6,function(_bd7){
+dojo.event.topic.subscribe(_bd7,self,"stopTimer");
+});
+}
+}
+if(!dojo.string.isBlank(this.startTimerListenTopics)){
+this.log("Listening to "+this.stopTimerListenTopics+" to start timer");
+var _bd8=this.startTimerListenTopics.split(",");
+if(_bd8){
+dojo.lang.forEach(_bd8,function(_bd9){
+dojo.event.topic.subscribe(_bd9,self,"startTimer");
+});
+}
+}
+if(!dojo.string.isBlank(this.notifyTopics)){
+this.notifyTopicsArray=this.notifyTopics.split(",");
+}
+if(!dojo.string.isBlank(this.beforeNotifyTopics)){
+this.beforeNotifyTopicsArray=this.beforeNotifyTopics.split(",");
+}
+if(!dojo.string.isBlank(this.afterNotifyTopics)){
+this.afterNotifyTopicsArray=this.afterNotifyTopics.split(",");
+}
+if(!dojo.string.isBlank(this.errorNotifyTopics)){
+this.errorNotifyTopicsArray=this.errorNotifyTopics.split(",");
+}
+if(this.isShowing()&&this.preload&&this.updateFreq<=0&&this.delay<=0){
+this.refresh();
+}
+},_downloadExternalContent:function(url,_bdb){
+var _bdc={cancel:false};
+this.notify(this.widgetId,"before",_bdc);
+if(_bdc.cancel){
+return;
+}
+dojo.html.show(this.indicator);
+this._handleDefaults("Loading...","onDownloadStart");
+var self=this;
+dojo.io.bind({url:url,useCache:_bdb,preventCache:!_bdb,mimetype:"text/html",formNode:dojo.byId(self.formId),formFilter:window[self.formFilter],transport:self.transport,handler:function(type,data,e){
+dojo.html.hide(self.indicator);
+self.notify(data,type,e);
+if(type=="load"){
+self.onDownloadEnd.call(self,url,data);
+self.highlight();
+}else{
+self._handleDefaults.call(self,"Error loading '"+url+"' ("+e.status+" "+e.statusText+")","onDownloadError");
+self.onLoad();
+}
+}});
+},log:function(text){
+dojo.debug("["+this.widgetId+"] "+text);
+},stopTimer:function(){
+if(this.timer&&this.timer.isRunning){
+this.log("stopping timer");
+this.timer.stop();
+}
+},startTimer:function(){
+if(this.timer&&!this.timer.isRunning){
+this.log("starting timer with update interval "+this.updateFreq);
+this.timer.start();
+}
+},splitAndFixPaths:function(s,url){
+var _be4=[],_be5=[],tmp=[];
+var _be7=[],_be8=[],attr=[],_bea=[];
+var str="",path="",fix="",_bee="",tag="",_bf0="";
+if(!url){
+url="./";
+}
+if(s){
+var _bf1=/<title[^>]*>([\s\S]*?)<\/title>/i;
+while(_be7=_bf1.exec(s)){
+_be4.push(_be7[1]);
+s=s.substring(0,_be7.index)+s.substr(_be7.index+_be7[0].length);
+}
+if(this.adjustPaths){
+var _bf2=/<[a-z][a-z0-9]*[^>]*\s(?:(?:src|href|style)=[^>])+[^>]*>/i;
+var _bf3=/\s(src|href|style)=(['"]?)([\w()\[\]\/.,\\'"-:;#=&?\s@!]+?)\2/i;
+var _bf4=/^(?:[#]|(?:(?:https?|ftps?|file|javascript|mailto|news):))/;
+while(tag=_bf2.exec(s)){
+str+=s.substring(0,tag.index);
+s=s.substring((tag.index+tag[0].length),s.length);
+tag=tag[0];
+_bee="";
+while(attr=_bf3.exec(tag)){
+path="";
+_bf0=attr[3];
+switch(attr[1].toLowerCase()){
+case "src":
+case "href":
+if(_bf4.exec(_bf0)){
+path=_bf0;
+}else{
+path=(new dojo.uri.Uri(url,_bf0).toString());
+}
+break;
+case "style":
+path=dojo.html.fixPathsInCssText(_bf0,url);
+break;
+default:
+path=_bf0;
+}
+fix=" "+attr[1]+"="+attr[2]+path+attr[2];
+_bee+=tag.substring(0,attr.index)+fix;
+tag=tag.substring((attr.index+attr[0].length),tag.length);
+}
+str+=_bee+tag;
+}
+s=str+s;
+}
+_bf1=/(?:<(style)[^>]*>([\s\S]*?)<\/style>|<link ([^>]*rel=['"]?stylesheet['"]?[^>]*)>)/i;
+while(_be7=_bf1.exec(s)){
+if(_be7[1]&&_be7[1].toLowerCase()=="style"){
+_bea.push(dojo.html.fixPathsInCssText(_be7[2],url));
+}else{
+if(attr=_be7[3].match(/href=(['"]?)([^'">]*)\1/i)){
+_bea.push({path:attr[2]});
+}
+}
+s=s.substring(0,_be7.index)+s.substr(_be7.index+_be7[0].length);
+}
+var _bf1=/<script([^>]*)>([\s\S]*?)<\/script>/i;
+var _bf5=/src=(['"]?)([^"']*)\1/i;
+var _bf6=/.*(\bdojo\b\.js(?:\.uncompressed\.js)?)$/;
+var _bf7=/(?:var )?\bdjConfig\b(?:[\s]*=[\s]*\{[^}]+\}|\.[\w]*[\s]*=[\s]*[^;\n]*)?;?|dojo\.hostenv\.writeIncludes\(\s*\);?/g;
+var _bf8=/dojo\.(?:(?:require(?:After)?(?:If)?)|(?:widget\.(?:manager\.)?registerWidgetPackage)|(?:(?:hostenv\.)?setModulePrefix|registerModulePath)|defineNamespace)\((['"]).*?\1\)\s*;?/;
+while(_be7=_bf1.exec(s)){
+if(this.executeScripts&&_be7[1]){
+if(attr=_bf5.exec(_be7[1])){
+if(_bf6.exec(attr[2])){
+dojo.debug("Security note! inhibit:"+attr[2]+" from  being loaded again.");
+}else{
+_be5.push({path:attr[2]});
+}
+}
+}
+if(_be7[2]){
+var sc=_be7[2].replace(_bf7,"");
+if(!sc){
+continue;
+}
+while(tmp=_bf8.exec(sc)){
+_be8.push(tmp[0]);
+sc=sc.substring(0,tmp.index)+sc.substr(tmp.index+tmp[0].length);
+}
+if(this.executeScripts){
+_be5.push(sc);
+}
+}
+s=s.substr(0,_be7.index)+s.substr(_be7.index+_be7[0].length);
+}
+if(this.extractContent){
+_be7=s.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);
+if(_be7){
+s=_be7[1];
+}
+}
+if(this.executeScripts&&this.scriptSeparation){
+var _bf1=/(<[a-zA-Z][a-zA-Z0-9]*\s[^>]*?\S=)((['"])[^>]*scriptScope[^>]*>)/;
+var _bfa=/([\s'";:\(])scriptScope(.*)/;
+str="";
+while(tag=_bf1.exec(s)){
+tmp=((tag[3]=="'")?"\"":"'");
+fix="";
+str+=s.substring(0,tag.index)+tag[1];
+while(attr=_bfa.exec(tag[2])){
+tag[2]=tag[2].substring(0,attr.index)+attr[1]+"dojo.widget.byId("+tmp+this.widgetId+tmp+").scriptScope"+attr[2];
+}
+str+=tag[2];
+s=s.substr(tag.index+tag[0].length);
+}
+s=str+s;
+}
+}
+return {"xml":s,"styles":_bea,"titles":_be4,"requires":_be8,"scripts":_be5,"url":url};
+}});
+dojo.provide("struts.widget.BindAnchor");
+dojo.widget.defineWidget("struts.widget.BindAnchor",struts.widget.Bind,{widgetType:"BindAnchor",events:"onclick",postCreate:function(){
+struts.widget.BindAnchor.superclass.postCreate.apply(this);
+this.domNode.href="#";
+}});
+dojo.provide("dojo.widget.html.stabile");
+dojo.widget.html.stabile={_sqQuotables:new RegExp("([\\\\'])","g"),_depth:0,_recur:false,depthLimit:2};
+dojo.widget.html.stabile.getState=function(id){
+dojo.widget.html.stabile.setup();
+return dojo.widget.html.stabile.widgetState[id];
+};
+dojo.widget.html.stabile.setState=function(id,_bfd,_bfe){
+dojo.widget.html.stabile.setup();
+dojo.widget.html.stabile.widgetState[id]=_bfd;
+if(_bfe){
+dojo.widget.html.stabile.commit(dojo.widget.html.stabile.widgetState);
+}
+};
+dojo.widget.html.stabile.setup=function(){
+if(!dojo.widget.html.stabile.widgetState){
+var text=dojo.widget.html.stabile._getStorage().value;
+dojo.widget.html.stabile.widgetState=text?dj_eval("("+text+")"):{};
+}
+};
+dojo.widget.html.stabile.commit=function(_c00){
+dojo.widget.html.stabile._getStorage().value=dojo.widget.html.stabile.description(_c00);
+};
+dojo.widget.html.stabile.description=function(v,_c02){
+var _c03=dojo.widget.html.stabile._depth;
+var _c04=function(){
+return this.description(this,true);
+};
+try{
+if(v===void (0)){
+return "undefined";
+}
+if(v===null){
+return "null";
+}
+if(typeof (v)=="boolean"||typeof (v)=="number"||v instanceof Boolean||v instanceof Number){
+return v.toString();
+}
+if(typeof (v)=="string"||v instanceof String){
+var v1=v.replace(dojo.widget.html.stabile._sqQuotables,"\\$1");
+v1=v1.replace(/\n/g,"\\n");
+v1=v1.replace(/\r/g,"\\r");
+return "'"+v1+"'";
+}
+if(v instanceof Date){
+return "new Date("+d.getFullYear+","+d.getMonth()+","+d.getDate()+")";
+}
+var d;
+if(v instanceof Array||v.push){
+if(_c03>=dojo.widget.html.stabile.depthLimit){
+return "[ ... ]";
+}
+d="[";
+var _c07=true;
+dojo.widget.html.stabile._depth++;
+for(var i=0;i<v.length;i++){
+if(_c07){
+_c07=false;
+}else{
+d+=",";
+}
+d+=arguments.callee(v[i],_c02);
+}
+return d+"]";
+}
+if(v.constructor==Object||v.toString==_c04){
+if(_c03>=dojo.widget.html.stabile.depthLimit){
+return "{ ... }";
+}
+if(typeof (v.hasOwnProperty)!="function"&&v.prototype){
+throw new Error("description: "+v+" not supported by script engine");
+}
+var _c07=true;
+d="{";
+dojo.widget.html.stabile._depth++;
+for(var key in v){
+if(v[key]==void (0)||typeof (v[key])=="function"){
+continue;
+}
+if(_c07){
+_c07=false;
+}else{
+d+=", ";
+}
+var kd=key;
+if(!kd.match(/^[a-zA-Z_][a-zA-Z0-9_]*$/)){
+kd=arguments.callee(key,_c02);
+}
+d+=kd+": "+arguments.callee(v[key],_c02);
+}
+return d+"}";
+}
+if(_c02){
+if(dojo.widget.html.stabile._recur){
+var _c0b=Object.prototype.toString;
+return _c0b.apply(v,[]);
+}else{
+dojo.widget.html.stabile._recur=true;
+return v.toString();
+}
+}else{
+throw new Error("Unknown type: "+v);
+return "'unknown'";
+}
+}
+finally{
+dojo.widget.html.stabile._depth=_c03;
+}
+};
+dojo.widget.html.stabile._getStorage=function(){
+if(dojo.widget.html.stabile.dataField){
+return dojo.widget.html.stabile.dataField;
+}
+var form=document.forms._dojo_form;
+return dojo.widget.html.stabile.dataField=form?form.stabile:{value:""};
+};
+dojo.provide("dojo.widget.ComboBox");
+dojo.declare("dojo.widget.incrementalComboBoxDataProvider",null,function(_c0d){
+this.searchUrl=_c0d.dataUrl;
+this._cache={};
+this._inFlight=false;
+this._lastRequest=null;
+this.allowCache=false;
+},{_addToCache:function(_c0e,data){
+if(this.allowCache){
+this._cache[_c0e]=data;
+}
+},startSearch:function(_c10,_c11){
+if(this._inFlight){
+}
+var tss=encodeURIComponent(_c10);
+var _c13=dojo.string.substituteParams(this.searchUrl,{"searchString":tss});
+var _c14=this;
+var _c15=this._lastRequest=dojo.io.bind({url:_c13,method:"get",mimetype:"text/json",load:function(type,data,evt){
+_c14._inFlight=false;
+if(!dojo.lang.isArray(data)){
+var _c19=[];
+for(var key in data){
+_c19.push([data[key],key]);
+}
+data=_c19;
+}
+_c14._addToCache(_c10,data);
+if(_c15==_c14._lastRequest){
+_c11(data);
+}
+}});
+this._inFlight=true;
+}});
+dojo.declare("dojo.widget.basicComboBoxDataProvider",null,function(_c1b,node){
+this._data=[];
+this.searchLimit=30;
+this.searchType="STARTSTRING";
+this.caseSensitive=false;
+if(!dj_undef("dataUrl",_c1b)&&!dojo.string.isBlank(_c1b.dataUrl)){
+this._getData(_c1b.dataUrl);
+}else{
+if((node)&&(node.nodeName.toLowerCase()=="select")){
+var opts=node.getElementsByTagName("option");
+var ol=opts.length;
+var data=[];
+for(var x=0;x<ol;x++){
+var text=opts[x].textContent||opts[x].innerText||opts[x].innerHTML;
+var _c22=[String(text),String(opts[x].value)];
+data.push(_c22);
+if(opts[x].selected){
+_c1b.setAllValues(_c22[0],_c22[1]);
+}
+}
+this.setData(data);
+}
+}
+},{_getData:function(url){
+dojo.io.bind({url:url,load:dojo.lang.hitch(this,function(type,data,evt){
+if(!dojo.lang.isArray(data)){
+var _c27=[];
+for(var key in data){
+_c27.push([data[key],key]);
+}
+data=_c27;
+}
+this.setData(data);
+}),mimetype:"text/json"});
+},startSearch:function(_c29,_c2a){
+this._performSearch(_c29,_c2a);
+},_performSearch:function(_c2b,_c2c){
+var st=this.searchType;
+var ret=[];
+if(!this.caseSensitive){
+_c2b=_c2b.toLowerCase();
+}
+for(var x=0;x<this._data.length;x++){
+if((this.searchLimit>0)&&(ret.length>=this.searchLimit)){
+break;
+}
+var _c30=new String((!this.caseSensitive)?this._data[x][0].toLowerCase():this._data[x][0]);
+if(_c30.length<_c2b.length){
+continue;
+}
+if(st=="STARTSTRING"){
+if(_c2b==_c30.substr(0,_c2b.length)){
+ret.push(this._data[x]);
+}
+}else{
+if(st=="SUBSTRING"){
+if(_c30.indexOf(_c2b)>=0){
+ret.push(this._data[x]);
+}
+}else{
+if(st=="STARTWORD"){
+var idx=_c30.indexOf(_c2b);
+if(idx==0){
+ret.push(this._data[x]);
+}
+if(idx<=0){
+continue;
+}
+var _c32=false;
+while(idx!=-1){
+if(" ,/(".indexOf(_c30.charAt(idx-1))!=-1){
+_c32=true;
+break;
+}
+idx=_c30.indexOf(_c2b,idx+1);
+}
+if(!_c32){
+continue;
+}else{
+ret.push(this._data[x]);
+}
+}
+}
+}
+}
+_c2c(ret);
+},setData:function(_c33){
+this._data=_c33;
+}});
+dojo.widget.defineWidget("dojo.widget.ComboBox",dojo.widget.HtmlWidget,{forceValidOption:false,searchType:"stringstart",dataProvider:null,autoComplete:true,searchDelay:100,dataUrl:"",fadeTime:200,maxListLength:8,mode:"local",selectedResult:null,dataProviderClass:"",buttonSrc:dojo.uri.moduleUri("dojo.widget","templates/images/combo_box_arrow.png"),dropdownToggle:"fade",templateString:"<span _=\"whitespace and CR's between tags adds &nbsp; in FF\"\r\n\tclass=\"dojoComboBoxOuter\"\r\n\t><input style=\"display:none\"  tabindex=\"-1\" name=\"\" value=\"\" \r\n\t\tdojoAttachPoint=\"comboBoxValue\"\r\n\t><input style=\"display:none\"  tabindex=\"-1\" name=\"\" value=\"\" \r\n\t\tdojoAttachPoint=\"comboBoxSelectionValue\"\r\n\t><input type=\"text\" autocomplete=\"off\" class=\"dojoComboBox\"\r\n\t\tdojoAttachEvent=\"key:_handleKeyEvents; keyUp: onKeyUp; compositionEnd; onResize;\"\r\n\t\tdojoAttachPoint=\"textInputNode\"\r\n\t><img hspace=\"0\"\r\n\t\tvspace=\"0\"\r\n\t\tclass=\"doj
 oComboBox\"\r\n\t\tdojoAttachPoint=\"downArrowNode\"\r\n\t\tdojoAttachEvent=\"onMouseUp: handleArrowClick; onResize;\"\r\n\t\tsrc=\"${this.buttonSrc}\"\r\n></span>\r\n",templateCssString:".dojoComboBoxOuter {\r\n\tborder: 0px !important;\r\n\tmargin: 0px !important;\r\n\tpadding: 0px !important;\r\n\tbackground: transparent !important;\r\n\twhite-space: nowrap !important;\r\n}\r\n\r\n.dojoComboBox {\r\n\tborder: 1px inset #afafaf;\r\n\tmargin: 0px;\r\n\tpadding: 0px;\r\n\tvertical-align: middle !important;\r\n\tfloat: none !important;\r\n\tposition: static !important;\r\n\tdisplay: inline !important;\r\n}\r\n\r\n/* the input box */\r\ninput.dojoComboBox {\r\n\tborder-right-width: 0px !important; \r\n\tmargin-right: 0px !important;\r\n\tpadding-right: 0px !important;\r\n}\r\n\r\n/* the down arrow */\r\nimg.dojoComboBox {\r\n\tborder-left-width: 0px !important;\r\n\tpadding-left: 0px !important;\r\n\tmargin-left: 0px !important;\r\n}\r\n\r\n/* IE vertical-alignment calculation
 s can be off by +-1 but these margins are collapsed away */\r\n.dj_ie img.dojoComboBox {\r\n\tmargin-top: 1px; \r\n\tmargin-bottom: 1px; \r\n}\r\n\r\n/* the drop down */\r\n.dojoComboBoxOptions {\r\n\tfont-family: Verdana, Helvetica, Garamond, sans-serif;\r\n\t/* font-size: 0.7em; */\r\n\tbackground-color: white;\r\n\tborder: 1px solid #afafaf;\r\n\tposition: absolute;\r\n\tz-index: 1000; \r\n\toverflow: auto;\r\n\tcursor: default;\r\n}\r\n\r\n.dojoComboBoxItem {\r\n\tpadding-left: 2px;\r\n\tpadding-top: 2px;\r\n\tmargin: 0px;\r\n}\r\n\r\n.dojoComboBoxItemEven {\r\n\tbackground-color: #f4f4f4;\r\n}\r\n\r\n.dojoComboBoxItemOdd {\r\n\tbackground-color: white;\r\n}\r\n\r\n.dojoComboBoxItemHighlight {\r\n\tbackground-color: #63709A;\r\n\tcolor: white;\r\n}\r\n",templateCssPath:dojo.uri.moduleUri("dojo.widget","templates/ComboBox.css"),setValue:function(_c34){
+this.comboBoxValue.value=_c34;
+if(this.textInputNode.value!=_c34){
+this.textInputNode.value=_c34;
+dojo.widget.html.stabile.setState(this.widgetId,this.getState(),true);
+this.onValueChanged(_c34);
+}
+},onValueChanged:function(_c35){
+},getValue:function(){
+return this.comboBoxValue.value;
+},getState:function(){
+return {value:this.getValue()};
+},setState:function(_c36){
+this.setValue(_c36.value);
+},enable:function(){
+this.disabled=false;
+this.textInputNode.removeAttribute("disabled");
+},disable:function(){
+this.disabled=true;
+this.textInputNode.setAttribute("disabled",true);
+},_getCaretPos:function(_c37){
+if(dojo.lang.isNumber(_c37.selectionStart)){
+return _c37.selectionStart;
+}else{
+if(dojo.render.html.ie){
+var tr=document.selection.createRange().duplicate();
+var ntr=_c37.createTextRange();
+tr.move("character",0);
+ntr.move("character",0);
+try{
+ntr.setEndPoint("EndToEnd",tr);
+return String(ntr.text).replace(/\r/g,"").length;
+}
+catch(e){
+return 0;
+}
+}
+}
+},_setCaretPos:function(_c3a,_c3b){
+_c3b=parseInt(_c3b);
+this._setSelectedRange(_c3a,_c3b,_c3b);
+},_setSelectedRange:function(_c3c,_c3d,end){
+if(!end){
+end=_c3c.value.length;
+}
+if(_c3c.setSelectionRange){
+_c3c.focus();
+_c3c.setSelectionRange(_c3d,end);
+}else{
+if(_c3c.createTextRange){
+var _c3f=_c3c.createTextRange();
+with(_c3f){
+collapse(true);
+moveEnd("character",end);
+moveStart("character",_c3d);
+select();
+}
+}else{
+_c3c.value=_c3c.value;
+_c3c.blur();
+_c3c.focus();
+var dist=parseInt(_c3c.value.length)-end;
+var _c41=String.fromCharCode(37);
+var tcc=_c41.charCodeAt(0);
+for(var x=0;x<dist;x++){
+var te=document.createEvent("KeyEvents");
+te.initKeyEvent("keypress",true,true,null,false,false,false,false,tcc,tcc);
+_c3c.dispatchEvent(te);
+}
+}
+}
+},_handleKeyEvents:function(evt){
+if(evt.ctrlKey||evt.altKey||!evt.key){
+return;
+}
+this._prev_key_backspace=false;
+this._prev_key_esc=false;
+var k=dojo.event.browser.keys;
+var _c47=true;
+switch(evt.key){
+case k.KEY_DOWN_ARROW:
+if(!this.popupWidget.isShowingNow){
+this._startSearchFromInput();
+}
+this._highlightNextOption();
+dojo.event.browser.stopEvent(evt);
+return;
+case k.KEY_UP_ARROW:
+this._highlightPrevOption();
+dojo.event.browser.stopEvent(evt);
+return;
+case k.KEY_TAB:
+if(!this.autoComplete&&this.popupWidget.isShowingNow&&this._highlighted_option){
+dojo.event.browser.stopEvent(evt);
+this._selectOption({"target":this._highlighted_option,"noHide":false});
+this._setSelectedRange(this.textInputNode,this.textInputNode.value.length,null);
+}else{
+this._selectOption();
+return;
+}
+break;
+case k.KEY_ENTER:
+if(this.popupWidget.isShowingNow){
+dojo.event.browser.stopEvent(evt);
+}
+if(this.autoComplete){
+this._selectOption();
+return;
+}
+case " ":
+if(this.popupWidget.isShowingNow&&this._highlighted_option){
+dojo.event.browser.stopEvent(evt);
+this._selectOption();
+this._hideResultList();
+return;
+}
+break;
+case k.KEY_ESCAPE:
+this._hideResultList();
+this._prev_key_esc=true;
+return;
+case k.KEY_BACKSPACE:
+this._prev_key_backspace=true;
+if(!this.textInputNode.value.length){
+this.setAllValues("","");
+this._hideResultList();
+_c47=false;
+}
+break;
+case k.KEY_RIGHT_ARROW:
+case k.KEY_LEFT_ARROW:
+_c47=false;
+break;
+default:
+if(evt.charCode==0){
+_c47=false;
+}
+}
+if(this.searchTimer){
+clearTimeout(this.searchTimer);
+}
+if(_c47){
+this._blurOptionNode();
+this.searchTimer=setTimeout(dojo.lang.hitch(this,this._startSearchFromInput),this.searchDelay);
+}
+},compositionEnd:function(evt){
+evt.key=evt.keyCode;
+this._handleKeyEvents(evt);
+},onKeyUp:function(evt){
+this.setValue(this.textInputNode.value);
+},setSelectedValue:function(_c4a){
+this.comboBoxSelectionValue.value=_c4a;
+},setAllValues:function(_c4b,_c4c){
+this.setSelectedValue(_c4c);
+this.setValue(_c4b);
+},_focusOptionNode:function(node){
+if(this._highlighted_option!=node){
+this._blurOptionNode();
+this._highlighted_option=node;
+dojo.html.addClass(this._highlighted_option,"dojoComboBoxItemHighlight");
+}
+},_blurOptionNode:function(){
+if(this._highlighted_option){
+dojo.html.removeClass(this._highlighted_option,"dojoComboBoxItemHighlight");
+this._highlighted_option=null;
+}
+},_highlightNextOption:function(){
+if((!this._highlighted_option)||!this._highlighted_option.parentNode){
+this._focusOptionNode(this.optionsListNode.firstChild);
+}else{
+if(this._highlighted_option.nextSibling){
+this._focusOptionNode(this._highlighted_option.nextSibling);
+}
+}
+dojo.html.scrollIntoView(this._highlighted_option);
+},_highlightPrevOption:function(){
+if(this._highlighted_option&&this._highlighted_option.previousSibling){
+this._focusOptionNode(this._highlighted_option.previousSibling);
+}else{
+this._highlighted_option=null;
+this._hideResultList();
+return;
+}
+dojo.html.scrollIntoView(this._highlighted_option);
+},_itemMouseOver:function(evt){
+if(evt.target===this.optionsListNode){
+return;
+}
+this._focusOptionNode(evt.target);
+dojo.html.addClass(this._highlighted_option,"dojoComboBoxItemHighlight");
+},_itemMouseOut:function(evt){
+if(evt.target===this.optionsListNode){
+return;
+}
+this._blurOptionNode();
+},onResize:function(){
+var _c50=dojo.html.getContentBox(this.textInputNode);
+if(_c50.height<=0){
+dojo.lang.setTimeout(this,"onResize",100);
+return;
+}
+var _c51={width:_c50.height,height:_c50.height};
+dojo.html.setContentBox(this.downArrowNode,_c51);
+},fillInTemplate:function(args,frag){
+dojo.html.applyBrowserClass(this.domNode);
+var _c54=this.getFragNodeRef(frag);
+if(!this.name&&_c54.name){
+this.name=_c54.name;
+}
+this.comboBoxValue.name=this.name;
+this.comboBoxSelectionValue.name=this.name+"_selected";
+dojo.html.copyStyle(this.domNode,_c54);
+dojo.html.copyStyle(this.textInputNode,_c54);
+dojo.html.copyStyle(this.downArrowNode,_c54);
+with(this.downArrowNode.style){
+width="0px";
+height="0px";
+}
+var _c55;
+if(this.dataProviderClass){
+if(typeof this.dataProviderClass=="string"){
+_c55=dojo.evalObjPath(this.dataProviderClass);
+}else{
+_c55=this.dataProviderClass;
+}
+}else{
+if(this.mode=="remote"){
+_c55=dojo.widget.incrementalComboBoxDataProvider;
+}else{
+_c55=dojo.widget.basicComboBoxDataProvider;
+}
+}
+this.dataProvider=new _c55(this,this.getFragNodeRef(frag));
+this.popupWidget=new dojo.widget.createWidget("PopupContainer",{toggle:this.dropdownToggle,toggleDuration:this.toggleDuration});
+dojo.event.connect(this,"destroy",this.popupWidget,"destroy");
+this.optionsListNode=this.popupWidget.domNode;
+this.domNode.appendChild(this.optionsListNode);
+dojo.html.addClass(this.optionsListNode,"dojoComboBoxOptions");
+dojo.event.connect(this.optionsListNode,"onclick",this,"_selectOption");
+dojo.event.connect(this.optionsListNode,"onmouseover",this,"_onMouseOver");
+dojo.event.connect(this.optionsListNode,"onmouseout",this,"_onMouseOut");
+dojo.event.connect(this.optionsListNode,"onmouseover",this,"_itemMouseOver");
+dojo.event.connect(this.optionsListNode,"onmouseout",this,"_itemMouseOut");
+},_openResultList:function(_c56){
+if(this.disabled){
+return;
+}
+this._clearResultList();
+if(!_c56.length){
+this._hideResultList();
+}
+if((this.autoComplete)&&(_c56.length)&&(!this._prev_key_backspace)&&(this.textInputNode.value.length>0)){
+var cpos=this._getCaretPos(this.textInputNode);
+if((cpos+1)>this.textInputNode.value.length){
+this.textInputNode.value+=_c56[0][0].substr(cpos);
+this._setSelectedRange(this.textInputNode,cpos,this.textInputNode.value.length);
+}
+}
+var even=true;
+while(_c56.length){
+var tr=_c56.shift();
+if(tr){
+var td=document.createElement("div");
+td.appendChild(document.createTextNode(tr[0]));
+td.setAttribute("resultName",tr[0]);
+td.setAttribute("resultValue",tr[1]);
+td.className="dojoComboBoxItem "+((even)?"dojoComboBoxItemEven":"dojoComboBoxItemOdd");
+even=(!even);
+this.optionsListNode.appendChild(td);
+}
+}
+this._showResultList();
+},_onFocusInput:function(){
+this._hasFocus=true;
+},_onBlurInput:function(){
+this._hasFocus=false;
+this._handleBlurTimer(true,500);
+},_handleBlurTimer:function(_c5b,_c5c){
+if(this.blurTimer&&(_c5b||_c5c)){
+clearTimeout(this.blurTimer);
+}
+if(_c5c){
+this.blurTimer=dojo.lang.setTimeout(this,"_checkBlurred",_c5c);
+}
+},_onMouseOver:function(evt){
+if(!this._mouseover_list){
+this._handleBlurTimer(true,0);
+this._mouseover_list=true;
+}
+},_onMouseOut:function(evt){
+var _c5f=evt.relatedTarget;
+try{
+if(!_c5f||_c5f.parentNode!=this.optionsListNode){
+this._mouseover_list=false;
+this._handleBlurTimer(true,100);
+this._tryFocus();
+}
+}
+catch(e){
+}
+},_isInputEqualToResult:function(_c60){
+var _c61=this.textInputNode.value;
+if(!this.dataProvider.caseSensitive){
+_c61=_c61.toLowerCase();
+_c60=_c60.toLowerCase();
+}
+return (_c61==_c60);
+},_isValidOption:function(){
+var tgt=dojo.html.firstElement(this.optionsListNode);
+var _c63=false;
+while(!_c63&&tgt){
+if(this._isInputEqualToResult(tgt.getAttribute("resultName"))){
+_c63=true;
+}else{
+tgt=dojo.html.nextElement(tgt);
+}
+}
+return _c63;
+},_checkBlurred:function(){
+if(!this._hasFocus&&!this._mouseover_list){
+this._hideResultList();
+if(!this.textInputNode.value.length){
+this.setAllValues("","");
+return;
+}
+var _c64=this._isValidOption();
+if(this.forceValidOption&&!_c64){
+this.setAllValues("","");
+return;
+}
+if(!_c64){
+this.setSelectedValue("");
+}
+}
+},_selectOption:function(evt){
+var tgt=null;
+if(!evt){
+evt={target:this._highlighted_option};
+}
+if(!dojo.html.isDescendantOf(evt.target,this.optionsListNode)){
+if(!this.textInputNode.value.length){
+return;
+}
+tgt=dojo.html.firstElement(this.optionsListNode);
+if(!tgt||!this._isInputEqualToResult(tgt.getAttribute("resultName"))){
+return;
+}
+}else{
+tgt=evt.target;
+}
+while((tgt.nodeType!=1)||(!tgt.getAttribute("resultName"))){
+tgt=tgt.parentNode;
+if(tgt===dojo.body()){
+return false;
+}
+}
+this.selectedResult=[tgt.getAttribute("resultName"),tgt.getAttribute("resultValue")];
+this.setAllValues(tgt.getAttribute("resultName"),tgt.getAttribute("resultValue"));
+if(!evt.noHide){
+this._hideResultList();
+this._setSelectedRange(this.textInputNode,0,null);
+}
+this._tryFocus();
+},_clearResultList:function(){
+if(this.optionsListNode.innerHTML){
+this.optionsListNode.innerHTML="";
+}
+},_hideResultList:function(){
+this.popupWidget.close();
+},_showResultList:function(){
+var _c67=this.optionsListNode.childNodes;
+if(_c67.length){
+var _c68=Math.min(_c67.length,this.maxListLength);
+with(this.optionsListNode.style){
+display="";
+if(_c68==_c67.length){
+height="";
+}else{
+height=_c68*dojo.html.getMarginBox(_c67[0]).height+"px";
+}
+width=(dojo.html.getMarginBox(this.domNode).width-2)+"px";
+}
+this.popupWidget.open(this.domNode,this,this.downArrowNode);
+}else{
+this._hideResultList();
+}
+},handleArrowClick:function(){
+this._handleBlurTimer(true,0);
+this._tryFocus();
+if(this.popupWidget.isShowingNow){
+this._hideResultList();
+}else{
+this._startSearch("");
+}
+},_tryFocus:function(){
+try{
+this.textInputNode.focus();
+}
+catch(e){
+}
+},_startSearchFromInput:function(){
+this._startSearch(this.textInputNode.value);
+},_startSearch:function(key){
+this.dataProvider.startSearch(key,dojo.lang.hitch(this,"_openResultList"));
+},postCreate:function(){
+this.onResize();
+dojo.event.connect(this.textInputNode,"onblur",this,"_onBlurInput");
+dojo.event.connect(this.textInputNode,"onfocus",this,"_onFocusInput");
+if(this.disabled){
+this.disable();
+}
+var s=dojo.widget.html.stabile.getState(this.widgetId);
+if(s){
+this.setState(s);
+}
+}});
+dojo.provide("struts.widget.ComboBox");
+struts.widget.ComboBoxDataProvider=function(_c6b,node){
+this.data=[];
+this.searchLimit=_c6b.searchLimit;
+this.searchType="STARTSTRING";
+this.caseSensitive=false;
+this._lastSearch="";
+this._lastSearchResults=null;
+this.firstRequest=true;
+this.cbox=_c6b;
+this.formId=this.cbox.formId;
+this.formFilter=this.cbox.formFilter;
+this.transport=this.cbox.transport;
+this.getData=function(url){
+dojo.html.show(this.cbox.indicator);
+dojo.io.bind({url:url,formNode:dojo.byId(this.formId),formFilter:window[this.formFilter],transport:this.transport,handler:dojo.lang.hitch(this,function(type,data,evt){
+dojo.html.hide(this.cbox.indicator);
+if(!this.firstRequest||type=="error"){
+this.cbox.notify.apply(this.cbox,[data,type,evt]);
+}
+this.firstRequest=false;
+var _c71=null;
+var _c72=data[dojo.string.isBlank(this.cbox.dataFieldName)?this.cbox.name:this.cbox.dataFieldName];
+if(!dojo.lang.isArray(data)){
+if(_c72){
+if(dojo.lang.isArray(_c72)){
+_c71=_c72;
+}else{
+if(dojo.lang.isObject(_c72)){
+_c71=[];
+for(var key in _c72){
+_c71.push([key,_c72[key]]);
+}
+}
+}
+}else{
+var _c74=[];
+for(var key in data){
+if(dojo.string.startsWith(key,this.cbox.name)){
+_c71=data[key];
+break;
+}else{
+_c74.push([key,data[key]]);
+}
+if(!_c71&&dojo.lang.isArray(data[key])&&!dojo.lang.isString(data[key])){
+_c71=data[key];
+}
+}
+if(!_c71){
+_c71=_c74;
+}
+}
+data=_c71;
+}
+this.setData(data);
+}),mimetype:"text/json"});
+};
+this.startSearch=function(_c75,_c76){
+this._preformSearch(_c75,_c76);
+};
+this._preformSearch=function(_c77,_c78){
+var st=this.searchType;
+var ret=[];
+if(!this.caseSensitive){
+_c77=_c77.toLowerCase();
+}
+for(var x=0;x<this.data.length;x++){
+if(!this.data[x]||!this.data[x][0]){
+continue;
+}
+if((this.searchLimit>0)&&(ret.length>=this.searchLimit)){
+break;
+}
+var _c7c=new String((!this.caseSensitive)?this.data[x][0].toLowerCase():this.data[x][0]);
+if(_c7c.length<_c77.length){
+continue;
+}
+if(st=="STARTSTRING"){
+if(_c77==_c7c.substr(0,_c77.length)){
+ret.push(this.data[x]);
+}
+}else{
+if(st=="SUBSTRING"){
+if(_c7c.indexOf(_c77)>=0){
+ret.push(this.data[x]);
+}
+}else{
+if(st=="STARTWORD"){
+var idx=_c7c.indexOf(_c77);
+if(idx==0){
+ret.push(this.data[x]);
+}
+if(idx<=0){
+continue;
+}
+var _c7e=false;
+while(idx!=-1){
+if(" ,/(".indexOf(_c7c.charAt(idx-1))!=-1){
+_c7e=true;
+break;
+}
+idx=_c7c.indexOf(_c77,idx+1);
+}
+if(!_c7e){
+continue;
+}else{
+ret.push(this.data[x]);
+}
+}
+}
+}
+}
+_c78(ret);
+};
+this.addData=function(_c7f){
+this.data=this.data.concat(_c7f);
+};
+this.setData=function(_c80){
+this.data=_c80;
+for(var i=0;i<this.data.length;i++){
+var _c82=this.data[i];
+if(!dojo.lang.isArray(_c82)){
+this.data[i]=[_c82,_c82];
+}
+}
+};
+if(!dojo.string.isBlank(this.cbox.dataUrl)&&this.cbox.preload){
+this.getData(this.cbox.dataUrl);
+}else{
+if((node)&&(node.nodeName.toLowerCase()=="select")){
+var opts=node.getElementsByTagName("option");
+var ol=opts.length;
+var data=[];
+for(var x=0;x<ol;x++){
+var text=opts[x].textContent||opts[x].innerText||opts[x].innerHTML;
+var _c88=[String(text),String(opts[x].value)];
+data.push(_c88);
+if(opts[x].selected){
+this.cbox.setAllValues(_c88[0],_c88[1]);
+}
+}
+this.setData(data);
+}
+}
+};
+dojo.widget.defineWidget("struts.widget.ComboBox",dojo.widget.ComboBox,{widgetType:"ComboBox",dropdownHeight:120,dropdownWidth:0,itemHeight:0,listenTopics:"",notifyTopics:"",notifyTopicsArray:null,beforeNotifyTopics:"",beforeNotifyTopicsArray:null,afterNotifyTopics:"",afterNotifyTopicsArray:null,errorNotifyTopics:"",errorNotifyTopicsArray:null,valueNotifyTopics:"",valueNotifyTopicsArray:null,indicator:"",formId:"",formFilter:"",dataProviderClass:"struts.widget.ComboBoxDataProvider",loadOnType:false,loadMinimum:3,initialValue:"",initialKey:"",visibleDownArrow:true,fadeTime:100,searchType:"STARTSTRING",dataFieldName:"",keyName:"",templateCssString:null,templateCssString:"/*\r\n * $Id$\r\n *\r\n * Licensed to the Apache Software Foundation (ASF) under one\r\n * or more contributor license agreements.  See the NOTICE file\r\n * distributed with this work for additional information\r\n * regarding copyright ownership.  The ASF licenses this file\r\n * to you under the Apache Lice
 nse, Version 2.0 (the\r\n * \"License\"); you may not use this file except in compliance\r\n * with the License.  You may obtain a copy of the License at\r\n *\r\n *  http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing,\r\n * software distributed under the License is distributed on an\r\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n * KIND, either express or implied.  See the License for the\r\n * specific language governing permissions and limitations\r\n * under the License.\r\n */\r\n\r\n.dojoComboBoxOuter {\r\n\tborder: 0px !important;\r\n\tmargin: 0px !important;\r\n\tpadding: 0px !important;\r\n\tbackground: transparent !important;\r\n\twhite-space: nowrap !important;\r\n}\r\n\r\n.dojoComboBox {\r\n\tborder: 1px inset #afafaf;\r\n\tmargin: 0px;\r\n\tpadding: 0px;\r\n\tvertical-align: middle !important;\r\n\tfloat: none !important;\r\n\tposition: static !important;\r\n\tdisplay: inline;\r\n}\
 r\n\r\n/* the input box */\r\ninput.dojoComboBox {\r\n\tborder-right-width: 1px !important;\r\n\tmargin-right: 0px !important;\r\n\tpadding-right: 0px !important;\r\n}\r\n\r\n/* the down arrow */\r\nimg.dojoComboBox {\r\n\tborder-left-width: 0px !important;\r\n\tpadding-left: 0px !important;\r\n\tmargin-left: 0px !important;\r\n}\r\n\r\n/* IE vertical-alignment calculations can be off by +-1 but these margins are collapsed away */\r\n.dj_ie img.dojoComboBox {\r\n\tmargin-top: 1px;\r\n\tmargin-bottom: 1px;\r\n}\r\n\r\n/* the drop down */\r\n.dojoComboBoxOptions {\r\n\tfont-family: Verdana, Helvetica, Garamond, sans-serif;\r\n\t/* font-size: 0.7em; */\r\n\tbackground-color: white;\r\n\tborder: 1px solid #afafaf;\r\n\tposition: absolute;\r\n\tz-index: 1000;\r\n\toverflow: auto;\r\n\tcursor: default;\r\n}\r\n\r\n.dojoComboBoxItem {\r\n\tpadding-left: 2px;\r\n\tpadding-top: 2px;\r\n\tmargin: 0px;\r\n}\r\n\r\n.dojoComboBoxItemEven {\r\n\tbackground-color: #f4f4f4;\r\n}\r\n\r\n.doj
 oComboBoxItemOdd {\r\n\tbackground-color: white;\r\n}\r\n\r\n.dojoComboBoxItemHighlight {\r\n\tbackground-color: #63709A;\r\n\tcolor: white;\r\n}\r\n",templateCssPath:dojo.uri.dojoUri("struts/ComboBox.css"),searchLimit:30,transport:"",preload:true,tabIndex:"",showResultList:function(){
+var _c89=this.optionsListNode.childNodes;
+if(_c89.length){
+this.optionsListNode.style.width=this.dropdownWidth===0?(dojo.html.getMarginBox(this.domNode).width-2)+"px":this.dropdownWidth+"px";
+if(this.itemHeight===0||dojo.string.isBlank(this.textInputNode.value)){
+this.optionsListNode.style.height=this.dropdownHeight+"px";
+this.optionsListNode.style.display="";
+this.itemHeight=dojo.html.getMarginBox(_c89[0]).height;
+}
+var _c8a=this.itemHeight*_c89.length;
+if(_c8a<this.dropdownHeight){
+this.optionsListNode.style.height=_c8a+2+"px";
+}else{
+this.optionsListNode.style.height=this.dropdownHeight+"px";
+}
+this.popupWidget.open(this.domNode,this,this.downArrowNode);
+}else{
+this._hideResultList();
+}
+},_openResultList:function(_c8b){
+if(this.disabled){
+return;
+}
+this._clearResultList();
+if(!_c8b.length){
+this._hideResultList();
+}
+if((this.autoComplete)&&(_c8b.length)&&(!this._prev_key_backspace)&&(this.textInputNode.value.length>0)){
+var cpos=this._getCaretPos(this.textInputNode);
+if((cpos+1)>this.textInputNode.value.length){
+this.textInputNode.value+=_c8b[0][0].substr(cpos);
+this._setSelectedRange(this.textInputNode,cpos,this.textInputNode.value.length);
+}
+}
+var _c8d=this.textInputNode.value;
+var even=true;
+while(_c8b.length){
+var tr=_c8b.shift();
+if(tr){
+var td=document.createElement("div");
+var text=tr[0];
+var i=text.toLowerCase().indexOf(_c8d.toLowerCase());
+if(i>=0){
+var pre=text.substring(0,i);
+var _c94=text.substring(i,i+_c8d.length);
+var post=text.substring(i+_c8d.length);
+if(!dojo.string.isBlank(pre)){
+td.appendChild(document.createTextNode(pre));
+}
+var _c96=document.createElement("b");
+td.appendChild(_c96);
+_c96.appendChild(document.createTextNode(_c94));
+td.appendChild(document.createTextNode(post));
+}else{
+td.appendChild(document.createTextNode(tr[0]));
+}
+td.setAttribute("resultName",tr[0]);
+td.setAttribute("resultValue",tr[1]);
+td.className="dojoComboBoxItem "+((even)?"dojoComboBoxItemEven":"dojoComboBoxItemOdd");
+even=(!even);
+this.optionsListNode.appendChild(td);
+}
+}
+this.showResultList();
+},postCreate:function(){
+struts.widget.ComboBox.superclass.postCreate.apply(this);
+var self=this;
+if(!dojo.string.isBlank(this.listenTopics)){
+var _c98=this.listenTopics.split(",");
+for(var i=0;i<_c98.length;i++){
+dojo.event.topic.subscribe(_c98[i],function(){
+var _c9a={cancel:false};
+self.notify(this.widgetId,"before",_c9a);
+if(_c9a.cancel){
+return;
+}
+self.clearValues();
+self.dataProvider.getData(self.dataUrl);
+});
+}
+}
+if(!dojo.string.isBlank(this.notifyTopics)){
+this.notifyTopicsArray=this.notifyTopics.split(",");
+}
+if(!dojo.string.isBlank(this.beforeNotifyTopics)){
+this.beforeNotifyTopicsArray=this.beforeNotifyTopics.split(",");
+}
+if(!dojo.string.isBlank(this.afterNotifyTopics)){
+this.afterNotifyTopicsArray=this.afterNotifyTopics.split(",");
+}
+if(!dojo.string.isBlank(this.errorNotifyTopics)){
+this.errorNotifyTopicsArray=this.errorNotifyTopics.split(",");
+}
+if(!dojo.string.isBlank(this.valueNotifyTopics)){
+this.valueNotifyTopicsArray=this.valueNotifyTopics.split(",");
+}
+this.comboBoxSelectionValue.name=dojo.string.isBlank(this.keyName)?this.name+"Key":this.keyName;
+this.comboBoxValue.value=this.initialValue;
+this.comboBoxSelectionValue.value=this.initialKey;
+this.textInputNode.value=this.initialValue;
+if(!dojo.string.isBlank(this.tabIndex)){
+this.textInputNode.tabIndex=this.tabIndex;
+}
+if(!this.visibleDownArrow){
+dojo.html.hide(this.downArrowNode);
+}
+if(!dojo.string.isBlank(this.searchType)){
+this.dataProvider.searchType=this.searchType.toUpperCase();
+}
+},clearValues:function(){
+this.comboBoxValue.value="";
+this.comboBoxSelectionValue.value="";
+this.textInputNode.value="";
+},onValueChanged:function(data){
+this.notify(data,"valuechanged",null);
+},notify:function(data,type,e){
+var self=this;
+if(this.notifyTopicsArray){
+dojo.lang.forEach(this.notifyTopicsArray,function(_ca0){
+try{
+dojo.event.topic.publish(_ca0,data,type,e,self);
+}
+catch(ex){
+self.log(ex);
+}
+});
+}
+var _ca1=null;
+switch(type){
+case "before":
+this.notifyTo(this.beforeNotifyTopicsArray,[e,this]);
+break;
+case "load":
+this.notifyTo(this.afterNotifyTopicsArray,[data,e,this]);
+break;
+case "error":
+this.notifyTo(this.errorNotifyTopicsArray,[data,e,this]);
+break;
+case "valuechanged":
+this.notifyTo(this.valueNotifyTopicsArray,[this.getSelectedValue(),this.getSelectedKey(),this.getText(),this]);
+break;
+}
+},notifyTo:function(_ca2,_ca3){
+var self=this;
+if(_ca2){
+dojo.lang.forEach(_ca2,function(_ca5){
+try{
+dojo.event.topic.publishApply(_ca5,_ca3);
+}
+catch(ex){
+self.log(ex);
+}
+});
+}
+},log:function(text){
+dojo.debug("["+(this.widgetId?this.widgetId:"unknown")+"] "+text);
+},_startSearchFromInput:function(){
+var _ca7=this.textInputNode.value;
+if(this.loadOnType){
+if(_ca7.length>=this.loadMinimum){
+var _ca8=this.dataUrl+(this.dataUrl.indexOf("?")>-1?"&":"?");
+_ca8+=this.name+"="+encodeURIComponent(_ca7);
+this.dataProvider.getData(_ca8);
+this._startSearch(_ca7);
+}else{
+this._hideResultList();
+}
+}else{
+this._startSearch(_ca7);
+}
+},setSelectedKey:function(key){
+var data=this.dataProvider.data;
+for(element in data){
+var obj=data[element];
+if(obj[1].toString()==key){
+this.setValue(obj[0].toString());
+this.comboBoxSelectionValue.value=obj[1].toString();
+}
+}
+},getSelectedKey:function(){
+return this.comboBoxSelectionValue.value;
+},getSelectedValue:function(){
+return this.comboBoxValue.value;
+},getText:function(){
+return this.textInputNode.value;
+}});
+dojo.provide("dojo.widget.DropdownContainer");
+dojo.widget.defineWidget("dojo.widget.DropdownContainer",dojo.widget.HtmlWidget,{inputWidth:"7em",id:"",inputId:"",inputName:"",iconURL:dojo.uri.moduleUri("dojo.widget","templates/images/combo_box_arrow.png"),copyClasses:false,iconAlt:"",containerToggle:"plain",containerToggleDuration:150,templateString:"<span style=\"white-space:nowrap\"><input type=\"hidden\" name=\"\" value=\"\" dojoAttachPoint=\"valueNode\" /><input name=\"\" type=\"text\" value=\"\" style=\"vertical-align:middle;\" dojoAttachPoint=\"inputNode\" autocomplete=\"off\" /> <img src=\"${this.iconURL}\" alt=\"${this.iconAlt}\" dojoAttachEvent=\"onclick:onIconClick\" dojoAttachPoint=\"buttonNode\" style=\"vertical-align:middle; cursor:pointer; cursor:hand\" /></span>",templateCssPath:"",isContainer:true,attachTemplateNodes:function(){
+dojo.widget.DropdownContainer.superclass.attachTemplateNodes.apply(this,arguments);
+this.popup=dojo.widget.createWidget("PopupContainer",{toggle:this.containerToggle,toggleDuration:this.containerToggleDuration});
+this.containerNode=this.popup.domNode;
+},fillInTemplate:function(args,frag){
+this.domNode.appendChild(this.popup.domNode);
+if(this.id){
+this.domNode.id=this.id;
+}
+if(this.inputId){
+this.inputNode.id=this.inputId;
+}
+if(this.inputName){
+this.inputNode.name=this.inputName;
+}
+this.inputNode.style.width=this.inputWidth;
+this.inputNode.disabled=this.disabled;
+if(this.copyClasses){
+this.inputNode.style="";
+this.inputNode.className=this.getFragNodeRef(frag).className;
+}
+dojo.event.connect(this.inputNode,"onchange",this,"onInputChange");
+},onIconClick:function(evt){
+if(this.disabled){
+return;
+}
+if(!this.popup.isShowingNow){
+this.popup.open(this.inputNode,this,this.buttonNode);
+}else{
+this.popup.close();
+}
+},hideContainer:function(){
+if(this.popup.isShowingNow){
+this.popup.close();
+}
+},onInputChange:function(){
+},enable:function(){
+this.inputNode.disabled=false;
+dojo.widget.DropdownContainer.superclass.enable.apply(this,arguments);
+},disable:function(){
+this.inputNode.disabled=true;
+dojo.widget.DropdownContainer.superclass.disable.apply(this,arguments);
+}});
+dojo.provide("dojo.date.serialize");
+dojo.date.setIso8601=function(_caf,_cb0){
+var _cb1=(_cb0.indexOf("T")==-1)?_cb0.split(" "):_cb0.split("T");
+_caf=dojo.date.setIso8601Date(_caf,_cb1[0]);
+if(_cb1.length==2){
+_caf=dojo.date.setIso8601Time(_caf,_cb1[1]);
+}
+return _caf;
+};
+dojo.date.fromIso8601=function(_cb2){
+return dojo.date.setIso8601(new Date(0,0),_cb2);
+};
+dojo.date.setIso8601Date=function(_cb3,_cb4){
+var _cb5="^([0-9]{4})((-?([0-9]{2})(-?([0-9]{2}))?)|"+"(-?([0-9]{3}))|(-?W([0-9]{2})(-?([1-7]))?))?$";
+var d=_cb4.match(new RegExp(_cb5));
+if(!d){
+dojo.debug("invalid date string: "+_cb4);
+return null;
+}
+var year=d[1];
+var _cb8=d[4];
+var date=d[6];
+var _cba=d[8];
+var week=d[10];
+var _cbc=d[12]?d[12]:1;
+_cb3.setFullYear(year);
+if(_cba){
+_cb3.setMonth(0);
+_cb3.setDate(Number(_cba));
+}else{
+if(week){
+_cb3.setMonth(0);
+_cb3.setDate(1);
+var gd=_cb3.getDay();
+var day=gd?gd:7;
+var _cbf=Number(_cbc)+(7*Number(week));
+if(day<=4){
+_cb3.setDate(_cbf+1-day);
+}else{
+_cb3.setDate(_cbf+8-day);
+}
+}else{
+if(_cb8){
+_cb3.setDate(1);
+_cb3.setMonth(_cb8-1);
+}
+if(date){
+_cb3.setDate(date);
+}
+}
+}
+return _cb3;
+};
+dojo.date.fromIso8601Date=function(_cc0){
+return dojo.date.setIso8601Date(new Date(0,0),_cc0);
+};
+dojo.date.setIso8601Time=function(_cc1,_cc2){
+var _cc3="Z|(([-+])([0-9]{2})(:?([0-9]{2}))?)$";
+var d=_cc2.match(new RegExp(_cc3));
+var _cc5=0;
+if(d){
+if(d[0]!="Z"){
+_cc5=(Number(d[3])*60)+Number(d[5]);
+_cc5*=((d[2]=="-")?1:-1);
+}
+_cc5-=_cc1.getTimezoneOffset();
+_cc2=_cc2.substr(0,_cc2.length-d[0].length);
+}
+var _cc6="^([0-9]{2})(:?([0-9]{2})(:?([0-9]{2})(.([0-9]+))?)?)?$";
+d=_cc2.match(new RegExp(_cc6));
+if(!d){
+dojo.debug("invalid time string: "+_cc2);
+return null;
+}
+var _cc7=d[1];
+var mins=Number((d[3])?d[3]:0);
+var secs=(d[5])?d[5]:0;
+var ms=d[7]?(Number("0."+d[7])*1000):0;
+_cc1.setHours(_cc7);
+_cc1.setMinutes(mins);
+_cc1.setSeconds(secs);
+_cc1.setMilliseconds(ms);
+if(_cc5!==0){
+_cc1.setTime(_cc1.getTime()+_cc5*60000);
+}
+return _cc1;
+};
+dojo.date.fromIso8601Time=function(_ccb){
+return dojo.date.setIso8601Time(new Date(0,0),_ccb);
+};
+dojo.date.toRfc3339=function(_ccc,_ccd){
+if(!_ccc){
+_ccc=new Date();
+}
+var _=dojo.string.pad;
+var _ccf=[];
+if(_ccd!="timeOnly"){
+var date=[_(_ccc.getFullYear(),4),_(_ccc.getMonth()+1,2),_(_ccc.getDate(),2)].join("-");
+_ccf.push(date);
+}
+if(_ccd!="dateOnly"){
+var time=[_(_ccc.getHours(),2),_(_ccc.getMinutes(),2),_(_ccc.getSeconds(),2)].join(":");
+var _cd2=_ccc.getTimezoneOffset();
+time+=(_cd2>0?"-":"+")+_(Math.floor(Math.abs(_cd2)/60),2)+":"+_(Math.abs(_cd2)%60,2);
+_ccf.push(time);
+}
+return _ccf.join("T");
+};
+dojo.date.fromRfc3339=function(_cd3){
+if(_cd3.indexOf("Tany")!=-1){
+_cd3=_cd3.replace("Tany","");
+}
+var _cd4=new Date();
+return dojo.date.setIso8601(_cd4,_cd3);
+};
+dojo.provide("dojo.date.common");
+dojo.date.setDayOfYear=function(_cd5,_cd6){
+_cd5.setMonth(0);
+_cd5.setDate(_cd6);
+return _cd5;
+};
+dojo.date.getDayOfYear=function(_cd7){
+var _cd8=_cd7.getFullYear();
+var _cd9=new Date(_cd8-1,11,31);
+return Math.floor((_cd7.getTime()-_cd9.getTime())/86400000);
+};
+dojo.date.setWeekOfYear=function(_cda,week,_cdc){
+if(arguments.length==1){
+_cdc=0;
+}
+dojo.unimplemented("dojo.date.setWeekOfYear");
+};
+dojo.date.getWeekOfYear=function(_cdd,_cde){
+if(arguments.length==1){
+_cde=0;
+}
+var _cdf=new Date(_cdd.getFullYear(),0,1);
+var day=_cdf.getDay();
+_cdf.setDate(_cdf.getDate()-day+_cde-(day>_cde?7:0));
+return Math.floor((_cdd.getTime()-_cdf.getTime())/604800000);
+};
+dojo.date.setIsoWeekOfYear=function(_ce1,week,_ce3){
+if(arguments.length==1){
+_ce3=1;
+}
+dojo.unimplemented("dojo.date.setIsoWeekOfYear");
+};
+dojo.date.getIsoWeekOfYear=function(_ce4,_ce5){
+if(arguments.length==1){
+_ce5=1;
+}
+dojo.unimplemented("dojo.date.getIsoWeekOfYear");
+};
+dojo.date.shortTimezones=["IDLW","BET","HST","MART","AKST","PST","MST","CST","EST","AST","NFT","BST","FST","AT","GMT","CET","EET","MSK","IRT","GST","AFT","AGTT","IST","NPT","ALMT","MMT","JT","AWST","JST","ACST","AEST","LHST","VUT","NFT","NZT","CHAST","PHOT","LINT"];
+dojo.date.timezoneOffsets=[-720,-660,-600,-570,-540,-480,-420,-360,-300,-240,-210,-180,-120,-60,0,60,120,180,210,240,270,300,330,345,360,390,420,480,540,570,600,630,660,690,720,765,780,840];
+dojo.date.getDaysInMonth=function(_ce6){
+var _ce7=_ce6.getMonth();
+var days=[31,28,31,30,31,30,31,31,30,31,30,31];
+if(_ce7==1&&dojo.date.isLeapYear(_ce6)){
+return 29;
+}else{
+return days[_ce7];
+}
+};
+dojo.date.isLeapYear=function(_ce9){
+var year=_ce9.getFullYear();
+return (year%400==0)?true:(year%100==0)?false:(year%4==0)?true:false;
+};
+dojo.date.getTimezoneName=function(_ceb){
+var str=_ceb.toString();
+var tz="";
+var _cee;
+var pos=str.indexOf("(");
+if(pos>-1){
+pos++;
+tz=str.substring(pos,str.indexOf(")"));
+}else{
+var pat=/([A-Z\/]+) \d{4}$/;
+if((_cee=str.match(pat))){
+tz=_cee[1];
+}else{
+str=_ceb.toLocaleString();
+pat=/ ([A-Z\/]+)$/;
+if((_cee=str.match(pat))){
+tz=_cee[1];
+}
+}
+}
+return tz=="AM"||tz=="PM"?"":tz;
+};
+dojo.date.getOrdinal=function(_cf1){
+var date=_cf1.getDate();
+if(date%100!=11&&date%10==1){
+return "st";
+}else{
+if(date%100!=12&&date%10==2){
+return "nd";
+}else{
+if(date%100!=13&&date%10==3){
+return "rd";
+}else{
+return "th";
+}
+}
+}
+};
+dojo.date.compareTypes={DATE:1,TIME:2};
+dojo.date.compare=function(_cf3,_cf4,_cf5){
+var dA=_cf3;
+var dB=_cf4||new Date();
+var now=new Date();
+with(dojo.date.compareTypes){
+var opt=_cf5||(DATE|TIME);
+var d1=new Date((opt&DATE)?dA.getFullYear():now.getFullYear(),(opt&DATE)?dA.getMonth():now.getMonth(),(opt&DATE)?dA.getDate():now.getDate(),(opt&TIME)?dA.getHours():0,(opt&TIME)?dA.getMinutes():0,(opt&TIME)?dA.getSeconds():0);
+var d2=new Date((opt&DATE)?dB.getFullYear():now.getFullYear(),(opt&DATE)?dB.getMonth():now.getMonth(),(opt&DATE)?dB.getDate():now.getDate(),(opt&TIME)?dB.getHours():0,(opt&TIME)?dB.getMinutes():0,(opt&TIME)?dB.getSeconds():0);
+}
+if(d1.valueOf()>d2.valueOf()){
+return 1;
+}
+if(d1.valueOf()<d2.valueOf()){
+return -1;
+}
+return 0;
+};
+dojo.date.dateParts={YEAR:0,MONTH:1,DAY:2,HOUR:3,MINUTE:4,SECOND:5,MILLISECOND:6,QUARTER:7,WEEK:8,WEEKDAY:9};
+dojo.date.add=function(dt,_cfd,incr){
+if(typeof dt=="number"){
+dt=new Date(dt);
+}
+function fixOvershoot(){
+if(sum.getDate()<dt.getDate()){
+sum.setDate(0);
+}
+}
+var sum=new Date(dt);
+with(dojo.date.dateParts){
+switch(_cfd){
+case YEAR:
+sum.setFullYear(dt.getFullYear()+incr);
+fixOvershoot();
+break;
+case QUARTER:
+incr*=3;
+case MONTH:
+sum.setMonth(dt.getMonth()+incr);
+fixOvershoot();
+break;
+case WEEK:
+incr*=7;
+case DAY:
+sum.setDate(dt.getDate()+incr);
+break;
+case WEEKDAY:
+var dat=dt.getDate();
+var _d01=0;
+var days=0;
+var strt=0;
+var trgt=0;
+var adj=0;
+var mod=incr%5;
+if(mod==0){
+days=(incr>0)?5:-5;
+_d01=(incr>0)?((incr-5)/5):((incr+5)/5);
+}else{
+days=mod;
+_d01=parseInt(incr/5);
+}
+strt=dt.getDay();
+if(strt==6&&incr>0){
+adj=1;
+}else{
+if(strt==0&&incr<0){
+adj=-1;
+}
+}
+trgt=(strt+days);
+if(trgt==0||trgt==6){
+adj=(incr>0)?2:-2;
+}
+sum.setDate(dat+(7*_d01)+days+adj);
+break;
+case HOUR:
+sum.setHours(sum.getHours()+incr);
+break;
+case MINUTE:
+sum.setMinutes(sum.getMinutes()+incr);
+break;
+case SECOND:
+sum.setSeconds(sum.getSeconds()+incr);
+break;
+case MILLISECOND:
+sum.setMilliseconds(sum.getMilliseconds()+incr);
+break;
+default:
+break;
+}
+}
+return sum;
+};
+dojo.date.diff=function(dtA,dtB,_d09){
+if(typeof dtA=="number"){
+dtA=new Date(dtA);
+}
+if(typeof dtB=="number"){
+dtB=new Date(dtB);
+}
+var _d0a=dtB.getFullYear()-dtA.getFullYear();
+var _d0b=(dtB.getMonth()-dtA.getMonth())+(_d0a*12);
+var _d0c=dtB.getTime()-dtA.getTime();
+var _d0d=_d0c/1000;
+var _d0e=_d0d/60;
+var _d0f=_d0e/60;
+var _d10=_d0f/24;
+var _d11=_d10/7;
+var _d12=0;
+with(dojo.date.dateParts){
+switch(_d09){
+case YEAR:
+_d12=_d0a;
+break;
+case QUARTER:
+var mA=dtA.getMonth();
+var mB=dtB.getMonth();
+var qA=Math.floor(mA/3)+1;
+var qB=Math.floor(mB/3)+1;
+qB+=(_d0a*4);
+_d12=qB-qA;
+break;
+case MONTH:
+_d12=_d0b;
+break;
+case WEEK:
+_d12=parseInt(_d11);
+break;
+case DAY:
+_d12=_d10;
+break;
+case WEEKDAY:
+var days=Math.round(_d10);
+var _d18=parseInt(days/7);
+var mod=days%7;
+if(mod==0){
+days=_d18*5;
+}else{
+var adj=0;
+var aDay=dtA.getDay();
+var bDay=dtB.getDay();
+_d18=parseInt(days/7);
+mod=days%7;
+var _d1d=new Date(dtA);
+_d1d.setDate(_d1d.getDate()+(_d18*7));
+var _d1e=_d1d.getDay();
+if(_d10>0){
+switch(true){
+case aDay==6:
+adj=-1;
+break;
+case aDay==0:
+adj=0;
+break;
+case bDay==6:
+adj=-1;
+break;
+case bDay==0:
+adj=-2;
+break;
+case (_d1e+mod)>5:
+adj=-2;
+break;
+default:
+break;
+}
+}else{
+if(_d10<0){
+switch(true){
+case aDay==6:
+adj=0;
+break;
+case aDay==0:
+adj=1;
+break;
+case bDay==6:
+adj=2;
+break;
+case bDay==0:
+adj=1;
+break;
+case (_d1e+mod)<0:
+adj=2;
+break;
+default:
+break;
+}
+}
+}
+days+=adj;
+days-=(_d18*2);
+}
+_d12=days;
+break;
+case HOUR:
+_d12=_d0f;
+break;
+case MINUTE:
+_d12=_d0e;
+break;
+case SECOND:
+_d12=_d0d;
+break;
+case MILLISECOND:
+_d12=_d0c;
+break;
+default:
+break;
+}
+}
+return Math.round(_d12);
+};
+dojo.provide("dojo.date.supplemental");
+dojo.date.getFirstDayOfWeek=function(_d1f){
+var _d20={mv:5,ae:6,af:6,bh:6,dj:6,dz:6,eg:6,er:6,et:6,iq:6,ir:6,jo:6,ke:6,kw:6,lb:6,ly:6,ma:6,om:6,qa:6,sa:6,sd:6,so:6,tn:6,ye:6,as:0,au:0,az:0,bw:0,ca:0,cn:0,fo:0,ge:0,gl:0,gu:0,hk:0,ie:0,il:0,is:0,jm:0,jp:0,kg:0,kr:0,la:0,mh:0,mo:0,mp:0,mt:0,nz:0,ph:0,pk:0,sg:0,th:0,tt:0,tw:0,um:0,us:0,uz:0,vi:0,za:0,zw:0,et:0,mw:0,ng:0,tj:0,gb:0,sy:4};
+_d1f=dojo.hostenv.normalizeLocale(_d1f);
+var _d21=_d1f.split("-")[1];
+var dow=_d20[_d21];
+return (typeof dow=="undefined")?1:dow;
+};
+dojo.date.getWeekend=function(_d23){
+var _d24={eg:5,il:5,sy:5,"in":0,ae:4,bh:4,dz:4,iq:4,jo:4,kw:4,lb:4,ly:4,ma:4,om:4,qa:4,sa:4,sd:4,tn:4,ye:4};
+var _d25={ae:5,bh:5,dz:5,iq:5,jo:5,kw:5,lb:5,ly:5,ma:5,om:5,qa:5,sa:5,sd:5,tn:5,ye:5,af:5,ir:5,eg:6,il:6,sy:6};
+_d23=dojo.hostenv.normalizeLocale(_d23);
+var _d26=_d23.split("-")[1];
+var _d27=_d24[_d26];
+var end=_d25[_d26];
+if(typeof _d27=="undefined"){
+_d27=6;
+}
+if(typeof end=="undefined"){
+end=0;
+}
+return {start:_d27,end:end};
+};
+dojo.date.isWeekend=function(_d29,_d2a){
+var _d2b=dojo.date.getWeekend(_d2a);
+var day=(_d29||new Date()).getDay();
+if(_d2b.end<_d2b.start){
+_d2b.end+=7;
+if(day<_d2b.start){
+day+=7;
+}
+}
+return day>=_d2b.start&&day<=_d2b.end;
+};
+dojo.provide("dojo.i18n.common");
+dojo.i18n.getLocalization=function(_d2d,_d2e,_d2f){
+dojo.hostenv.preloadLocalizations();
+_d2f=dojo.hostenv.normalizeLocale(_d2f);
+var _d30=_d2f.split("-");
+var _d31=[_d2d,"nls",_d2e].join(".");
+var _d32=dojo.hostenv.findModule(_d31,true);
+var _d33;
+for(var i=_d30.length;i>0;i--){
+var loc=_d30.slice(0,i).join("_");
+if(_d32[loc]){
+_d33=_d32[loc];
+break;
+}
+}
+if(!_d33){
+_d33=_d32.ROOT;
+}
+if(_d33){
+var _d36=function(){
+};
+_d36.prototype=_d33;
+return new _d36();
+}
+dojo.raise("Bundle not found: "+_d2e+" in "+_d2d+" , locale="+_d2f);
+};
+dojo.i18n.isLTR=function(_d37){
+var lang=dojo.hostenv.normalizeLocale(_d37).split("-")[0];
+var RTL={ar:true,fa:true,he:true,ur:true,yi:true};
+return !RTL[lang];
+};
+dojo.provide("dojo.date.format");
+(function(){
+dojo.date.format=function(_d3a,_d3b){
+if(typeof _d3b=="string"){
+dojo.deprecated("dojo.date.format","To format dates with POSIX-style strings, please use dojo.date.strftime instead","0.5");
+return dojo.date.strftime(_d3a,_d3b);
+}
+function formatPattern(_d3c,_d3d){
+return _d3d.replace(/([a-z])\1*/ig,function(_d3e){
+var s;
+var c=_d3e.charAt(0);
+var l=_d3e.length;
+var pad;
+var _d43=["abbr","wide","narrow"];
+switch(c){
+case "G":
+if(l>3){
+dojo.unimplemented("Era format not implemented");
+}
+s=info.eras[_d3c.getFullYear()<0?1:0];
+break;
+case "y":
+s=_d3c.getFullYear();
+switch(l){
+case 1:
+break;
+case 2:
+s=String(s).substr(-2);
+break;
+default:
+pad=true;
+}
+break;
+case "Q":
+case "q":
+s=Math.ceil((_d3c.getMonth()+1)/3);
+switch(l){
+case 1:
+case 2:
+pad=true;
+break;
+case 3:
+case 4:
+dojo.unimplemented("Quarter format not implemented");
+}
+break;
+case "M":
+case "L":
+var m=_d3c.getMonth();
+var _d46;
+switch(l){
+case 1:
+case 2:
+s=m+1;
+pad=true;
+break;
+case 3:
+case 4:
+case 5:
+_d46=_d43[l-3];
+break;
+}
+if(_d46){
+var type=(c=="L")?"standalone":"format";
+var prop=["months",type,_d46].join("-");
+s=info[prop][m];
+}
+break;
+case "w":
+var _d49=0;
+s=dojo.date.getWeekOfYear(_d3c,_d49);
+pad=true;
+break;
+case "d":
+s=_d3c.getDate();
+pad=true;
+break;
+case "D":
+s=dojo.date.getDayOfYear(_d3c);
+pad=true;
+break;
+case "E":
+case "e":
+case "c":
+var d=_d3c.getDay();
+var _d46;
+switch(l){
+case 1:
+case 2:
+if(c=="e"){
+var _d4b=dojo.date.getFirstDayOfWeek(_d3b.locale);
+d=(d-_d4b+7)%7;
+}
+if(c!="c"){
+s=d+1;
+pad=true;
+break;
+}
+case 3:
+case 4:
+case 5:
+_d46=_d43[l-3];
+break;
+}
+if(_d46){
+var type=(c=="c")?"standalone":"format";
+var prop=["days",type,_d46].join("-");
+s=info[prop][d];
+}
+break;
+case "a":
+var _d4c=(_d3c.getHours()<12)?"am":"pm";
+s=info[_d4c];
+break;
+case "h":
+case "H":
+case "K":
+case "k":
+var h=_d3c.getHours();
+switch(c){
+case "h":
+s=(h%12)||12;
+break;
+case "H":
+s=h;
+break;
+case "K":
+s=(h%12);
+break;
+case "k":
+s=h||24;
+break;
+}
+pad=true;
+break;
+case "m":
+s=_d3c.getMinutes();
+pad=true;
+break;
+case "s":
+s=_d3c.getSeconds();
+pad=true;
+break;
+case "S":
+s=Math.round(_d3c.getMilliseconds()*Math.pow(10,l-3));
+break;
+case "v":
+case "z":
+s=dojo.date.getTimezoneName(_d3c);
+if(s){
+break;
+}
+l=4;
+case "Z":
+var _d4e=_d3c.getTimezoneOffset();
+var tz=[(_d4e<=0?"+":"-"),dojo.string.pad(Math.floor(Math.abs(_d4e)/60),2),dojo.string.pad(Math.abs(_d4e)%60,2)];
+if(l==4){
+tz.splice(0,0,"GMT");
+tz.splice(3,0,":");
+}
+s=tz.join("");
+break;
+case "Y":
+case "u":
+case "W":
+case "F":
+case "g":
+case "A":
+dojo.debug(_d3e+" modifier not yet implemented");
+s="?";
+break;
+default:
+dojo.raise("dojo.date.format: invalid pattern char: "+_d3d);
+}
+if(pad){
+s=dojo.string.pad(s,l);
+}
+return s;
+});
+}
+_d3b=_d3b||{};
+var _d50=dojo.hostenv.normalizeLocale(_d3b.locale);
+var _d51=_d3b.formatLength||"full";
+var info=dojo.date._getGregorianBundle(_d50);
+var str=[];
+var _d53=dojo.lang.curry(this,formatPattern,_d3a);
+if(_d3b.selector!="timeOnly"){
+var _d54=_d3b.datePattern||info["dateFormat-"+_d51];
+if(_d54){
+str.push(_processPattern(_d54,_d53));
+}
+}
+if(_d3b.selector!="dateOnly"){
+var _d55=_d3b.timePattern||info["timeFormat-"+_d51];
+if(_d55){
+str.push(_processPattern(_d55,_d53));
+}
+}
+var _d56=str.join(" ");
+return _d56;
+};
+dojo.date.parse=function(_d57,_d58){
+_d58=_d58||{};
+var _d59=dojo.hostenv.normalizeLocale(_d58.locale);
+var info=dojo.date._getGregorianBundle(_d59);
+var _d5b=_d58.formatLength||"full";
+if(!_d58.selector){
+_d58.selector="dateOnly";
+}
+var _d5c=_d58.datePattern||info["dateFormat-"+_d5b];
+var _d5d=_d58.timePattern||info["timeFormat-"+_d5b];
+var _d5e;
+if(_d58.selector=="dateOnly"){
+_d5e=_d5c;
+}else{
+if(_d58.selector=="timeOnly"){
+_d5e=_d5d;
+}else{
+if(_d58.selector=="dateTime"){
+_d5e=_d5c+" "+_d5d;
+}else{
+var msg="dojo.date.parse: Unknown selector param passed: '"+_d58.selector+"'.";
+msg+=" Defaulting to date pattern.";
+dojo.debug(msg);
+_d5e=_d5c;
+}
+}
+}
+var _d60=[];
+var _d61=_processPattern(_d5e,dojo.lang.curry(this,_buildDateTimeRE,_d60,info,_d58));
+var _d62=new RegExp("^"+_d61+"$");
+var _d63=_d62.exec(_d57);
+if(!_d63){
+return null;
+}
+var _d64=["abbr","wide","narrow"];
+var _d65=new Date(1972,0);
+var _d66={};
+for(var i=1;i<_d63.length;i++){
+var grp=_d60[i-1];
+var l=grp.length;
+var v=_d63[i];
+switch(grp.charAt(0)){
+case "y":
+if(l!=2){
+_d65.setFullYear(v);
+_d66.year=v;
+}else{
+if(v<100){
+v=Number(v);
+var year=""+new Date().getFullYear();
+var _d6c=year.substring(0,2)*100;
+var _d6d=Number(year.substring(2,4));
+var _d6e=Math.min(_d6d+20,99);
+var num=(v<_d6e)?_d6c+v:_d6c-100+v;
+_d65.setFullYear(num);
+_d66.year=num;
+}else{
+if(_d58.strict){
+return null;
+}
+_d65.setFullYear(v);
+_d66.year=v;
+}
+}
+break;
+case "M":
+if(l>2){
+if(!_d58.strict){
+v=v.replace(/\./g,"");
+v=v.toLowerCase();
+}
+var _d70=info["months-format-"+_d64[l-3]].concat();
+for(var j=0;j<_d70.length;j++){
+if(!_d58.strict){
+_d70[j]=_d70[j].toLowerCase();
+}
+if(v==_d70[j]){
+_d65.setMonth(j);
+_d66.month=j;
+break;
+}
+}
+if(j==_d70.length){
+dojo.debug("dojo.date.parse: Could not parse month name: '"+v+"'.");
+return null;
+}
+}else{
+_d65.setMonth(v-1);
+_d66.month=v-1;
+}
+break;
+case "E":
+case "e":
+if(!_d58.strict){
+v=v.toLowerCase();
+}
+var days=info["days-format-"+_d64[l-3]].concat();
+for(var j=0;j<days.length;j++){
+if(!_d58.strict){
+days[j]=days[j].toLowerCase();
+}
+if(v==days[j]){
+break;
+}
+}
+if(j==days.length){
+dojo.debug("dojo.date.parse: Could not parse weekday name: '"+v+"'.");
+return null;
+}
+break;
+case "d":
+_d65.setDate(v);
+_d66.date=v;
+break;
+case "a":
+var am=_d58.am||info.am;
+var pm=_d58.pm||info.pm;
+if(!_d58.strict){
+v=v.replace(/\./g,"").toLowerCase();
+am=am.replace(/\./g,"").toLowerCase();
+pm=pm.replace(/\./g,"").toLowerCase();
+}
+if(_d58.strict&&v!=am&&v!=pm){
+dojo.debug("dojo.date.parse: Could not parse am/pm part.");
+return null;
+}
+var _d75=_d65.getHours();
+if(v==pm&&_d75<12){
+_d65.setHours(_d75+12);
+}else{
+if(v==am&&_d75==12){
+_d65.setHours(0);
+}
+}
+break;
+case "K":
+if(v==24){
+v=0;
+}
+case "h":
+case "H":
+case "k":
+if(v>23){
+dojo.debug("dojo.date.parse: Illegal hours value");
+return null;
+}
+_d65.setHours(v);
+break;
+case "m":
+_d65.setMinutes(v);
+break;
+case "s":
+_d65.setSeconds(v);
+break;
+case "S":
+_d65.setMilliseconds(v);
+break;
+default:
+dojo.unimplemented("dojo.date.parse: unsupported pattern char="+grp.charAt(0));
+}
+}
+if(_d66.year&&_d65.getFullYear()!=_d66.year){
+dojo.debug("Parsed year: '"+_d65.getFullYear()+"' did not match input year: '"+_d66.year+"'.");
+return null;
+}
+if(_d66.month&&_d65.getMonth()!=_d66.month){
+dojo.debug("Parsed month: '"+_d65.getMonth()+"' did not match input month: '"+_d66.month+"'.");
+return null;
+}
+if(_d66.date&&_d65.getDate()!=_d66.date){
+dojo.debug("Parsed day of month: '"+_d65.getDate()+"' did not match input day of month: '"+_d66.date+"'.");
+return null;
+}
+return _d65;
+};
+function _processPattern(_d76,_d77,_d78,_d79){
+var _d7a=function(x){
+return x;
+};
+_d77=_d77||_d7a;
+_d78=_d78||_d7a;
+_d79=_d79||_d7a;
+var _d7c=_d76.match(/(''|[^'])+/g);
+var _d7d=false;
+for(var i=0;i<_d7c.length;i++){
+if(!_d7c[i]){
+_d7c[i]="";
+}else{
+_d7c[i]=(_d7d?_d78:_d77)(_d7c[i]);
+_d7d=!_d7d;
+}
+}
+return _d79(_d7c.join(""));
+}
+function _buildDateTimeRE(_d7f,info,_d81,_d82){
+return _d82.replace(/([a-z])\1*/ig,function(_d83){
+var s;
+var c=_d83.charAt(0);
+var l=_d83.length;
+switch(c){
+case "y":
+s="\\d"+((l==2)?"{2,4}":"+");
+break;
+case "M":
+s=(l>2)?"\\S+":"\\d{1,2}";
+break;
+case "d":
+s="\\d{1,2}";
+break;
+case "E":
+s="\\S+";
+break;
+case "h":
+case "H":
+case "K":
+case "k":
+s="\\d{1,2}";
+break;
+case "m":
+case "s":
+s="[0-5]\\d";
+break;
+case "S":
+s="\\d{1,3}";
+break;
+case "a":
+var am=_d81.am||info.am||"AM";
+var pm=_d81.pm||info.pm||"PM";
+if(_d81.strict){
+s=am+"|"+pm;
+}else{
+s=am;
+s+=(am!=am.toLowerCase())?"|"+am.toLowerCase():"";
+s+="|";
+s+=(pm!=pm.toLowerCase())?pm+"|"+pm.toLowerCase():pm;
+}
+break;
+default:
+dojo.unimplemented("parse of date format, pattern="+_d82);
+}
+if(_d7f){
+_d7f.push(_d83);
+}
+return "\\s*("+s+")\\s*";
+});
+}
+})();
+dojo.date.strftime=function(_d89,_d8a,_d8b){
+var _d8c=null;
+function _(s,n){
+return dojo.string.pad(s,n||2,_d8c||"0");
+}
+var info=dojo.date._getGregorianBundle(_d8b);
+function $(_d90){
+switch(_d90){
+case "a":
+return dojo.date.getDayShortName(_d89,_d8b);
+case "A":
+return dojo.date.getDayName(_d89,_d8b);
+case "b":
+case "h":
+return dojo.date.getMonthShortName(_d89,_d8b);
+case "B":
+return dojo.date.getMonthName(_d89,_d8b);
+case "c":
+return dojo.date.format(_d89,{locale:_d8b});
+case "C":
+return _(Math.floor(_d89.getFullYear()/100));
+case "d":
+return _(_d89.getDate());
+case "D":
+return $("m")+"/"+$("d")+"/"+$("y");
+case "e":
+if(_d8c==null){
+_d8c=" ";
+}
+return _(_d89.getDate());
+case "f":
+if(_d8c==null){
+_d8c=" ";
+}
+return _(_d89.getMonth()+1);
+case "g":
+break;
+case "G":
+dojo.unimplemented("unimplemented modifier 'G'");
+break;
+case "F":
+return $("Y")+"-"+$("m")+"-"+$("d");
+case "H":
+return _(_d89.getHours());
+case "I":
+return _(_d89.getHours()%12||12);
+case "j":
+return _(dojo.date.getDayOfYear(_d89),3);
+case "k":
+if(_d8c==null){
+_d8c=" ";
+}
+return _(_d89.getHours());
+case "l":
+if(_d8c==null){
+_d8c=" ";
+}
+return _(_d89.getHours()%12||12);
+case "m":
+return _(_d89.getMonth()+1);
+case "M":
+return _(_d89.getMinutes());
+case "n":
+return "\n";
+case "p":
+return info[_d89.getHours()<12?"am":"pm"];
+case "r":
+return $("I")+":"+$("M")+":"+$("S")+" "+$("p");
+case "R":
+return $("H")+":"+$("M");
+case "S":
+return _(_d89.getSeconds());
+case "t":
+return "\t";
+case "T":
+return $("H")+":"+$("M")+":"+$("S");
+case "u":
+return String(_d89.getDay()||7);
+case "U":
+return _(dojo.date.getWeekOfYear(_d89));
+case "V":
+return _(dojo.date.getIsoWeekOfYear(_d89));
+case "W":
+return _(dojo.date.getWeekOfYear(_d89,1));
+case "w":
+return String(_d89.getDay());
+case "x":
+return dojo.date.format(_d89,{selector:"dateOnly",locale:_d8b});
+case "X":
+return dojo.date.format(_d89,{selector:"timeOnly",locale:_d8b});
+case "y":
+return _(_d89.getFullYear()%100);
+case "Y":
+return String(_d89.getFullYear());
+case "z":
+var _d91=_d89.getTimezoneOffset();
+return (_d91>0?"-":"+")+_(Math.floor(Math.abs(_d91)/60))+":"+_(Math.abs(_d91)%60);
+case "Z":
+return dojo.date.getTimezoneName(_d89);
+case "%":
+return "%";
+}
+}
+var _d92="";
+var i=0;
+var _d94=0;
+var _d95=null;
+while((_d94=_d8a.indexOf("%",i))!=-1){
+_d92+=_d8a.substring(i,_d94++);
+switch(_d8a.charAt(_d94++)){
+case "_":
+_d8c=" ";
+break;
+case "-":
+_d8c="";
+break;
+case "0":
+_d8c="0";
+break;
+case "^":
+_d95="upper";
+break;
+case "*":
+_d95="lower";
+break;
+case "#":
+_d95="swap";
+break;
+default:
+_d8c=null;
+_d94--;
+break;
+}
+var _d96=$(_d8a.charAt(_d94++));
+switch(_d95){
+case "upper":
+_d96=_d96.toUpperCase();
+break;
+case "lower":
+_d96=_d96.toLowerCase();
+break;
+case "swap":
+var _d97=_d96.toLowerCase();
+var _d98="";
+var j=0;
+var ch="";
+while(j<_d96.length){
+ch=_d96.charAt(j);
+_d98+=(ch==_d97.charAt(j))?ch.toUpperCase():ch.toLowerCase();
+j++;
+}
+_d96=_d98;
+break;
+default:
+break;
+}
+_d95=null;
+_d92+=_d96;
+i=_d94;
+}
+_d92+=_d8a.substring(i);
+return _d92;
+};
+(function(){
+var _d9b=[];
+dojo.date.addCustomFormats=function(_d9c,_d9d){
+_d9b.push({pkg:_d9c,name:_d9d});
+};
+dojo.date._getGregorianBundle=function(_d9e){
+var _d9f={};
+dojo.lang.forEach(_d9b,function(desc){
+var _da1=dojo.i18n.getLocalization(desc.pkg,desc.name,_d9e);
+_d9f=dojo.lang.mixin(_d9f,_da1);
+},this);
+return _d9f;
+};
+})();
+dojo.date.addCustomFormats("dojo.i18n.calendar","gregorian");
+dojo.date.addCustomFormats("dojo.i18n.calendar","gregorianExtras");
+dojo.date.getNames=function(item,type,use,_da5){
+var _da6;
+var _da7=dojo.date._getGregorianBundle(_da5);
+var _da8=[item,use,type];
+if(use=="standAlone"){
+_da6=_da7[_da8.join("-")];
+}
+_da8[1]="format";
+return (_da6||_da7[_da8.join("-")]).concat();
+};
+dojo.date.getDayName=function(_da9,_daa){
+return dojo.date.getNames("days","wide","format",_daa)[_da9.getDay()];
+};
+dojo.date.getDayShortName=function(_dab,_dac){
+return dojo.date.getNames("days","abbr","format",_dac)[_dab.getDay()];
+};
+dojo.date.getMonthName=function(_dad,_dae){
+return dojo.date.getNames("months","wide","format",_dae)[_dad.getMonth()];
+};
+dojo.date.getMonthShortName=function(_daf,_db0){
+return dojo.date.getNames("months","abbr","format",_db0)[_daf.getMonth()];
+};
+dojo.date.toRelativeString=function(_db1){
+var now=new Date();
+var diff=(now-_db1)/1000;
+var end=" ago";
+var _db5=false;
+if(diff<0){
+_db5=true;
+end=" from now";
+diff=-diff;
+}
+if(diff<60){
+diff=Math.round(diff);
+return diff+" second"+(diff==1?"":"s")+end;
+}
+if(diff<60*60){
+diff=Math.round(diff/60);
+return diff+" minute"+(diff==1?"":"s")+end;
+}
+if(diff<60*60*24){
+diff=Math.round(diff/3600);
+return diff+" hour"+(diff==1?"":"s")+end;
+}
+if(diff<60*60*24*7){
+diff=Math.round(diff/(3600*24));
+if(diff==1){
+return _db5?"Tomorrow":"Yesterday";
+}else{
+return diff+" days"+end;
+}
+}
+return dojo.date.format(_db1);
+};
+dojo.date.toSql=function(_db6,_db7){
+return dojo.date.strftime(_db6,"%F"+!_db7?" %T":"");
+};
+dojo.date.fromSql=function(_db8){
+var _db9=_db8.split(/[\- :]/g);
+while(_db9.length<6){
+_db9.push(0);
+}
+return new Date(_db9[0],(parseInt(_db9[1],10)-1),_db9[2],_db9[3],_db9[4],_db9[5]);
+};
+dojo.provide("dojo.widget.TimePicker");
+dojo.widget.defineWidget("dojo.widget.TimePicker",dojo.widget.HtmlWidget,function(){
+this.time="";
+this.useDefaultTime=false;
+this.useDefaultMinutes=false;
+this.storedTime="";
+this.currentTime={};
+this.classNames={selectedTime:"selectedItem"};
+this.any="any";
+this.selectedTime={hour:"",minute:"",amPm:"",anyTime:false};
+this.hourIndexMap=["",2,4,6,8,10,1,3,5,7,9,11,0];
+this.minuteIndexMap=[0,2,4,6,8,10,1,3,5,7,9,11];
+},{isContainer:false,templateString:"<div class=\"timePickerContainer\" dojoAttachPoint=\"timePickerContainerNode\">\r\n\t<table class=\"timeContainer\" cellspacing=\"0\" >\r\n\t\t<thead>\r\n\t\t\t<tr>\r\n\t\t\t\t<td class=\"timeCorner cornerTopLeft\" valign=\"top\">&nbsp;</td>\r\n\t\t\t\t<td class=\"timeLabelContainer hourSelector\">${this.calendar.field-hour}</td>\r\n\t\t\t\t<td class=\"timeLabelContainer minutesHeading\">${this.calendar.field-minute}</td>\r\n\t\t\t\t<td class=\"timeCorner cornerTopRight\" valign=\"top\">&nbsp;</td>\r\n\t\t\t</tr>\r\n\t\t</thead>\r\n\t\t<tbody>\r\n\t\t\t<tr>\r\n\t\t\t\t<td valign=\"top\" colspan=\"2\" class=\"hours\">\r\n\t\t\t\t\t<table align=\"center\">\r\n\t\t\t\t\t\t<tbody dojoAttachPoint=\"hourContainerNode\"  \r\n\t\t\t\t\t\t\tdojoAttachEvent=\"onClick: onSetSelectedHour;\">\r\n\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t<td>12</td>\r\n\t\t\t\t\t\t\t\t<td>6</td>\r\n\t\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t<td>1</td>\r\n
 \t\t\t\t\t\t\t\t<td>7</td>\r\n\t\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t<td>2</td>\r\n\t\t\t\t\t\t\t\t<td>8</td>\r\n\t\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t<td>3</td>\r\n\t\t\t\t\t\t\t\t<td>9</td>\r\n\t\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t<td>4</td>\r\n\t\t\t\t\t\t\t\t<td>10</td>\r\n\t\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t<td>5</td>\r\n\t\t\t\t\t\t\t\t<td>11</td>\r\n\t\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t</tbody>\r\n\t\t\t\t\t</table>\r\n\t\t\t\t</td>\r\n\t\t\t\t<td valign=\"top\" class=\"minutes\" colspan=\"2\">\r\n\t\t\t\t\t<table align=\"center\">\r\n\t\t\t\t\t\t<tbody dojoAttachPoint=\"minuteContainerNode\" \r\n\t\t\t\t\t\t\tdojoAttachEvent=\"onClick: onSetSelectedMinute;\">\r\n\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t<td>00</td>\r\n\t\t\t\t\t\t\t\t<td>30</td>\r\n\t\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t<td>05</td>\r\n\t\t\t\t\t\t\t\t<td>35</td>\r\n\t\t\t\t\t\t\t</tr>\r\n\t\t\
 t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t<td>10</td>\r\n\t\t\t\t\t\t\t\t<td>40</td>\r\n\t\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t<td>15</td>\r\n\t\t\t\t\t\t\t\t<td>45</td>\r\n\t\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t<td>20</td>\r\n\t\t\t\t\t\t\t\t<td>50</td>\r\n\t\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t<td>25</td>\r\n\t\t\t\t\t\t\t\t<td>55</td>\r\n\t\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t</tbody>\r\n\t\t\t\t\t</table>\r\n\t\t\t\t</td>\r\n\t\t\t</tr>\r\n\t\t\t<tr>\r\n\t\t\t\t<td class=\"cornerBottomLeft\">&nbsp;</td>\r\n\t\t\t\t<td valign=\"top\" class=\"timeOptions\">\r\n\t\t\t\t\t<table class=\"amPmContainer\">\r\n\t\t\t\t\t\t<tbody dojoAttachPoint=\"amPmContainerNode\" \r\n\t\t\t\t\t\t\tdojoAttachEvent=\"onClick: onSetSelectedAmPm;\">\r\n\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t<td id=\"am\">${this.calendar.am}</td>\r\n\t\t\t\t\t\t\t\t<td id=\"pm\">${this.calendar.pm}</td>\r\n\t\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t</tbody>\r\n\t\t\t\t\t
 </table>\r\n\t\t\t\t</td>\r\n\t\t\t\t<td class=\"timeOptions\">\r\n\t\t\t\t\t<div dojoAttachPoint=\"anyTimeContainerNode\" \r\n\t\t\t\t\t\tdojoAttachEvent=\"onClick: onSetSelectedAnyTime;\" \r\n\t\t\t\t\t\tclass=\"anyTimeContainer\">${this.widgetStrings.any}</div>\r\n\t\t\t\t</td>\r\n\t\t\t\t<td class=\"cornerBottomRight\">&nbsp;</td>\r\n\t\t\t</tr>\r\n\t\t</tbody>\r\n\t</table>\r\n</div>\r\n",templateCssString:"/*Time Picker */\r\n.timePickerContainer {\r\n\twidth:122px;\r\n\tfont-family:Tahoma, Myriad, Helvetica, Arial, Verdana, sans-serif;\r\n\tfont-size:16px;\r\n}\r\n\r\n.timeContainer {\r\n\tborder-collapse:collapse;\r\n\tborder-spacing:0;\r\n}\r\n\r\n.timeContainer thead {\r\n\tcolor:#293a4b;\r\n\tfont-size:0.9em;\r\n\tfont-weight:700;\r\n}\r\n\r\n.timeContainer thead td {\r\n\tpadding:0.25em;\r\n\tfont-size:0.80em;\r\n\tborder-bottom:1px solid #6782A8;\r\n}\r\n\r\n.timeCorner {\r\n\twidth:10px;\r\n}\r\n\r\n.cornerTopLeft {\r\n\tbackground: url(\"images/dpCurveTL.png\"
 ) top left no-repeat;\r\n}\r\n\r\n.cornerTopRight {\r\n\tbackground: url(\"images/dpCurveTR.png\") top right no-repeat;\r\n}\r\n\r\n.timeLabelContainer {\r\n\tbackground: url(\"images/dpMonthBg.png\") top left repeat-x;\r\n}\r\n\r\n.hours, .minutes, .timeBorder {\r\n\tbackground: #7591bc url(\"images/dpBg.gif\") top left repeat-x;\r\n\r\n}\r\n\r\n.hours td, .minutes td {\r\n\tpadding:0.2em;\r\n\ttext-align:center;\r\n\tfont-size:0.7em;\r\n\tfont-weight:bold;\r\n\tcursor:pointer;\r\n\tcursor:hand;\r\n\tcolor:#fff;\r\n}\r\n\r\n.minutes {\r\n\tborder-left:1px solid #f5d1db;\r\n}\r\n\r\n.hours {\r\n\tborder-right:1px solid #6782A8;\r\n}\r\n\r\n.hourSelector {\r\n\tborder-right:1px solid #6782A8;\r\n\tpadding:5px;\r\n\tpadding-right:10px;\r\n}\r\n\r\n.minutesSelector {\r\n\tpadding:5px;\r\n\tborder-left:1px solid #f5c7d4;\r\n\ttext-align:center;\r\n}\r\n\r\n.minutesHeading {\r\n\tpadding-left:9px !important;\r\n}\r\n\r\n.timeOptions {\r\n\tbackground-color:#F9C9D7;\r\n}\r\n\r\n.t
 imeContainer .cornerBottomLeft, .timeContainer .cornerBottomRight, .timeContainer .timeOptions {\r\n\tborder-top:1px solid #6782A8;\r\n}\r\n\r\n.timeContainer .cornerBottomLeft {\r\n\tbackground: url(\"images/dpCurveBL.png\") bottom left no-repeat !important;\r\n\twidth:9px !important;\r\n\tpadding:0;\r\n\tmargin:0;\r\n}\r\n\r\n.timeContainer .cornerBottomRight {\r\n\tbackground: url(\"images/dpCurveBR.png\") bottom right no-repeat !important;\r\n\twidth:9px !important;\r\n\tpadding:0;\r\n\tmargin:0;\r\n}\r\n\r\n.timeOptions {\r\n\tcolor:#fff;\r\n\tbackground:url(\"images/dpYearBg.png\") top left repeat-x;\r\n\r\n}\r\n\r\n.selectedItem {\r\n\tbackground-color:#fff;\r\n\tcolor:#6782a8 !important;\r\n}\r\n\r\n.timeOptions .selectedItem {\r\n\tcolor:#fff !important;\r\n\tbackground-color:#9ec3fb !important;\r\n}\r\n\r\n.anyTimeContainer {\r\n\ttext-align:center;\r\n\tfont-weight:bold;\r\n\tfont-size:0.7em;\r\n\tpadding:0.1em;\r\n\tcursor:pointer;\r\n\tcursor:hand;\r\n\tcolor:#f
 ff !important;\r\n}\r\n\r\n.amPmContainer {\r\n\twidth:100%;\r\n}\r\n\r\n.amPmContainer td {\r\n\ttext-align:center;\r\n\tfont-size:0.7em;\r\n\tfont-weight:bold;\r\n\tcursor:pointer;\r\n\tcursor:hand;\r\n\tcolor:#fff;\r\n}\r\n\r\n\r\n\r\n/*.timePickerContainer {\r\n\tmargin:1.75em 0 0.5em 0;\r\n\twidth:10em;\r\n\tfloat:left;\r\n}\r\n\r\n.timeContainer {\r\n\tborder-collapse:collapse;\r\n\tborder-spacing:0;\r\n}\r\n\r\n.timeContainer thead td{\r\n\tborder-bottom:1px solid #e6e6e6;\r\n\tpadding:0 0.4em 0.2em 0.4em;\r\n}\r\n\r\n.timeContainer td {\r\n\tfont-size:0.9em;\r\n\tpadding:0 0.25em 0 0.25em;\r\n\ttext-align:left;\r\n\tcursor:pointer;cursor:hand;\r\n}\r\n\r\n.timeContainer td.minutesHeading {\r\n\tborder-left:1px solid #e6e6e6;\r\n\tborder-right:1px solid #e6e6e6;\t\r\n}\r\n\r\n.timeContainer .minutes {\r\n\tborder-left:1px solid #e6e6e6;\r\n\tborder-right:1px solid #e6e6e6;\r\n}\r\n\r\n.selectedItem {\r\n\tbackground-color:#3a3a3a;\r\n\tcolor:#ffffff;\r\n}*/\r\n",templ
 ateCssPath:dojo.uri.moduleUri("dojo.widget","templates/TimePicker.css"),postMixInProperties:function(_dba,frag){
+dojo.widget.TimePicker.superclass.postMixInProperties.apply(this,arguments);
+this.calendar=dojo.i18n.getLocalization("dojo.i18n.calendar","gregorian",this.lang);
+this.widgetStrings=dojo.i18n.getLocalization("dojo.widget","TimePicker",this.lang);
+},fillInTemplate:function(args,frag){
+var _dbe=this.getFragNodeRef(frag);
+dojo.html.copyStyle(this.domNode,_dbe);
+if(args.value){
+if(args.value instanceof Date){
+this.storedTime=dojo.date.toRfc3339(args.value);
+}else{
+this.storedTime=args.value;
+}
+}
+this.initData();
+this.initUI();
+},initData:function(){
+if(this.storedTime.indexOf("T")!=-1&&this.storedTime.split("T")[1]&&this.storedTime!=" "&&this.storedTime.split("T")[1]!="any"){
+this.time=dojo.widget.TimePicker.util.fromRfcDateTime(this.storedTime,this.useDefaultMinutes,this.selectedTime.anyTime);
+}else{
+if(this.useDefaultTime){
+this.time=dojo.widget.TimePicker.util.fromRfcDateTime("",this.useDefaultMinutes,this.selectedTime.anyTime);
+}else{
+this.selectedTime.anyTime=true;
+this.time=dojo.widget.TimePicker.util.fromRfcDateTime("",0,1);
+}
+}
+},initUI:function(){
+if(!this.selectedTime.anyTime&&this.time){
+var _dbf=dojo.widget.TimePicker.util.toAmPmHour(this.time.getHours());
+var hour=_dbf[0];
+var isAm=_dbf[1];
+var _dc2=this.time.getMinutes();
+var _dc3=parseInt(_dc2/5);
+this.onSetSelectedHour(this.hourIndexMap[hour]);
+this.onSetSelectedMinute(this.minuteIndexMap[_dc3]);
+this.onSetSelectedAmPm(isAm);
+}else{
+this.onSetSelectedAnyTime();
+}
+},setTime:function(date){
+if(date){
+this.selectedTime.anyTime=false;
+this.setDateTime(dojo.date.toRfc3339(date));
+}else{
+this.selectedTime.anyTime=true;
+}
+this.initData();
+this.initUI();
+},setDateTime:function(_dc5){
+this.storedTime=_dc5;
+},onClearSelectedHour:function(evt){
+this.clearSelectedHour();
+},onClearSelectedMinute:function(evt){
+this.clearSelectedMinute();
+},onClearSelectedAmPm:function(evt){
+this.clearSelectedAmPm();
+},onClearSelectedAnyTime:function(evt){
+this.clearSelectedAnyTime();
+if(this.selectedTime.anyTime){
+this.selectedTime.anyTime=false;
+this.time=dojo.widget.TimePicker.util.fromRfcDateTime("",this.useDefaultMinutes);
+this.initUI();
+}
+},clearSelectedHour:function(){
+var _dca=this.hourContainerNode.getElementsByTagName("td");
+for(var i=0;i<_dca.length;i++){
+dojo.html.setClass(_dca.item(i),"");
+}
+},clearSelectedMinute:function(){
+var _dcc=this.minuteContainerNode.getElementsByTagName("td");
+for(var i=0;i<_dcc.length;i++){
+dojo.html.setClass(_dcc.item(i),"");
+}
+},clearSelectedAmPm:function(){
+var _dce=this.amPmContainerNode.getElementsByTagName("td");
+for(var i=0;i<_dce.length;i++){
+dojo.html.setClass(_dce.item(i),"");
+}
+},clearSelectedAnyTime:function(){
+dojo.html.setClass(this.anyTimeContainerNode,"anyTimeContainer");
+},onSetSelectedHour:function(evt){
+this.onClearSelectedAnyTime();
+this.onClearSelectedHour();
+this.setSelectedHour(evt);
+this.onSetTime();
+},setSelectedHour:function(evt){
+if(evt&&evt.target){
+if(evt.target.nodeType==dojo.dom.ELEMENT_NODE){
+var _dd2=evt.target;
+}else{
+var _dd2=evt.target.parentNode;
+}
+dojo.event.browser.stopEvent(evt);
+dojo.html.setClass(_dd2,this.classNames.selectedTime);
+this.selectedTime["hour"]=_dd2.innerHTML;
+}else{
+if(!isNaN(evt)){
+var _dd3=this.hourContainerNode.getElementsByTagName("td");
+if(_dd3.item(evt)){
+dojo.html.setClass(_dd3.item(evt),this.classNames.selectedTime);
+this.selectedTime["hour"]=_dd3.item(evt).innerHTML;
+}
+}
+}
+this.selectedTime.anyTime=false;
+},onSetSelectedMinute:function(evt){
+this.onClearSelectedAnyTime();
+this.onClearSelectedMinute();
+this.setSelectedMinute(evt);
+this.selectedTime.anyTime=false;
+this.onSetTime();
+},setSelectedMinute:function(evt){
+if(evt&&evt.target){
+if(evt.target.nodeType==dojo.dom.ELEMENT_NODE){
+var _dd6=evt.target;
+}else{
+var _dd6=evt.target.parentNode;
+}
+dojo.event.browser.stopEvent(evt);
+dojo.html.setClass(_dd6,this.classNames.selectedTime);
+this.selectedTime["minute"]=_dd6.innerHTML;
+}else{
+if(!isNaN(evt)){
+var _dd7=this.minuteContainerNode.getElementsByTagName("td");
+if(_dd7.item(evt)){

[... 2218 lines stripped ...]


Mime
View raw message