

/*
	Calendar SPEC Build for Engine for Web Applications
	Composite file "cal_spec.js" release: SPEC-1.0.195.2410.2005
	Copyright 2002, 2003, 2004. All Rights Reserved.
	Rights to copy, archive, distribute, and alter this software are made available for personal consumption, and non-profit, educational, and government organizations. Licensing fee required for implementation in for-profit organizations.
	Author: Stephen W. Cote
	Email: wranlon@hotmail.com
*/


var $EPS=[],$EPI=[],$EPV="1.1.2.2410.2005";var D={S:"string",O:"object",F:"function",U:"undefined",N:"number"};var data_undefined;D.X=(typeof XMLHttpRequest!=D.U?XMLHttpRequest:data_undefined);D.A=(typeof ActiveXObject!=D.U?ActiveXObject:data_undefined);function $EP(c){var a,i=0,s,w=window,o,l;o=w;if(typeof c==D.S){if(!$EPI[c]){l=$EPS.length;$EPI[c]=l;$EPS[l]=c;}a=c.split(".");for(;i<a.length;){s=a[i++];if(typeof o[s]!=D.O)o[s]={};o=o[s];}}}
function GetPackage(c){return ValidatePackage(c,1);}
function ValidatePackage(c,b){var a,i=0,s,w=window,o,l;o=w;if(typeof c==D.S){a=c.split(".");l=a.length;if(l==0)return 0;for(;i<l;){s=a[i++];if(typeof o[s]!=D.O)return 0;o=o[s];}}else{return 0;}if(b)return o;return 1;}
function Package(c){$EP(c);}
$EP("$E");$E={ci:{},gc:0,v:"1.1.15.2410.2005",h:
function(s){var i=c=0;for(;s&&i<s.length;++i){c=(c+s.charCodeAt(i)*(i+1))&0xFFFFFFFF;}return c.toString(16);},gnbid:
function(){var d=new String(parseInt(Math.random()*9999)).toString();for(i=d.length;i<4;i++)d="0"+d;return d;},guid:
function(){var _j=$E;var i=_j.gnbid()+"-"+_j.gnbid();var d=_j.h(new String(new Date().getTime()).toString())+"-"+_j.h(location.href)+"-"+i;return d;},merge:
function(o,n,s){var _j=$E;_j.ci[n]=s;_j.IM(o,n);}};$E.GG=function(){var d=new Date(),t,i=4,r,l,x=0;t=new String(d.getTime());r=new String(parseInt(Math.random()*(1000*i)));l=r.length;for(;x<i-l;x++)r="0"+r;return("swc-"+(++$E.gc)+"-"+t+"-"+r);}
$E.IM=function(o,s){var _js=$E,v,a=arguments,i;var n_a=[];for(i=1;i<a.length;i++)n_a[n_a.length]=a[i];v=_js.FN.apply(this.caller,n_a);if(typeof o==D.O&&typeof v==D.O){for(i in v)o[i]=v[i];}};$E.FN=function(s){var _js=$E,v,a=arguments;if(typeof _js.ci[s]==D.S){eval("v="+_js.ci[s]);return v;}switch(s){case "code_object":return{code_name:a[1],ro:a[2],rno:a[3],po:a[4],pno:a[5],description:a[6]};break;case "service_object":return{service_id:$E.GG(),service_name:a[1],service_state:0,rc:a[2],pc:0,rd:0,pd:0,getResponseData:
function(){return this.pd;},code_name:a[3],handler:a[4],request_handler:a[5],response_handler:a[6],completed:0};break;case "engine_object":return{engine_element:a[1],engine_id:a[2],engine_name:a[3],engine_index:a[5],config_name:0,task:a[4],is_primary:0,eo:[],en:[],ei:[], getContainer:
function(){return this.engine_element;},getObjects:
function(){return this.eo;},getObject:
function(i){if(typeof this.ei[i]==D.N&&typeof this.eo[this.ei[i]]==D.O){return this.eo[this.ei[i]];}return 0;},isObject:
function(n){if(typeof n==D.S&&typeof this.en[n]==D.N&&typeof this.eo[this.en[n]]==D.O){return 1;}return 0;},getObjectByName:
function(n){if(typeof n==D.S&&typeof this.en[n]==D.N&&typeof this.eo[this.en[n]]==D.O){return this.eo[this.en[n]];}return 0;},pw:[],getPrimitiveWire:
function(i){if(typeof i==D.S&&typeof this.pw[i]!=D.U)return this.pw[i];return 0;},ds:0,setDataSource:
function(s){this.ds=s;},getDataSource:
function(){return this.ds;},dp:0,setDataPath:
function(s){this.dp=s;},getDataPath:
function(){return this.dp;},data_variant:[],setDataVariant:
function(i,v){if(typeof i==D.N){this.data_variant[i]=v;return 1}return 0;},getDataVariant:
function(i){if(typeof i==D.N&&typeof this.data_variant[i]!=D.U){return this.data_variant[i];}return 0;}};break;case "task_object":return{task_state:0,handled:0,task_name:a[1],action_type:a[2],action:a[3],handler_type:a[4],handler:a[5],task_id:a[6],index:a[7],transaction_id:a[8],data:0,depends:[],executed:0,busy:0,ad:0,parent_id:0,setAutoDestroy:
function(b){this.ad=(b?1:0);},s:0,start_date:0,due_date:0,completed_date:0,target:0,owner:0,setStatus:
function(i){this.s=i;},getStatus:
function(i){return this.s;},setStartDate:
function(i){this.start_date=i;},getStartDate:
function(i){return this.start_date;},setCompletedDate:
function(i){this.completed_date=i;},getCompletedDate:
function(i){return this.completed_date;},setDueDate:
function(i){this.start_date=i;},getDueDate:
function(i){return this.start_date;},setTarget:
function(i){this.target=i;},getTarget:
function(i){return this.target;},setOwner:
function(i){this.owner=i;},getOwner:
function(i){return this.owner;}};break;case "base_object":return{i:$E.GG(),getObjectId:
function(){return this.i;},t:a[1],getObjectType:
function(){return this.t;},v:a[2],getObjectVersion:
function(){return this.v;},r:0,getReadyState:
function(){return this.r;},getStatus:
function(){return this.o.s;},getPointers:
function(){return this.o.p;}};break;case "basic_message":return{entry:a[1],index:-1,data:a[2],time:new Date(),id:_js.GG()};break;case "basic_message_subscription":return{object:a[1],subscription_name:a[2],handler:a[3],target:a[4]};break;case "packet_object":return{packet_id:a[1],packet_name:a[2],participants:[],participant_count:0,packet_state:0,bst:0,btt:0,bet:0,serve_type:1,setBlockStartTransaction:
function(b){this.bst=(b?1:0);},setBlockServeTransaction:
function(b){this.btt=(b?1:0);},setBlockEndTransaction:
function(b){this.bet=(b?1:0);},setServeType:
function(i){this.btt=(!isNaN(i)?i:0);},st:0,sp:0,is_open:0,is_finalized:0,errors:0,owner_id:a[3],data:a[4],handler:a[5]};break;break;default:break;}return null;}
$EP("$E.dom");$E.dom.event={v:"0.0.7.2410.2005",_gevt:
function(o){return(typeof event==D.O)?event:o;},_gevt_cancel:
function(o){(typeof o.preventDefault!=D.F)?(o.returnValue=false):o.preventDefault();},_gevt_dest:
function(e){return(e.relatedTarget)?e.relatedTarget:e.toElement;},_gevt_org:
function(e){return(e.relatedTarget)?e.relatedTarget:e.fromElement;},_gevt_src:
function(o){var s=$E.dom.event._gevt(o);if(s==null){$E.message.MessageService.S("Bad event reference","515.3",1);return o;}return(s.target)?s.target:s.srcElement;}, addEventBuffer:
function(o){var e="createHandler";try{o[e]=function(s,r,x,l){var b=(typeof r==D.O&&r!=null?1:0),t=this,e,h,f;r=(b)?r:t;e="_prehandle_"+s;b=(l?1:0);h="f=function(){\n"+"try{\n"+"var o="+(b?'$E.registry.ObjectRegistry.getObject(\"'+r.i+'\")':"this")+";\n"+"if(typeof o!=\"object\"||o==null){alert('Object is invalid');return;}\nreturn o._handle_"+s+".apply(o,arguments);"+"}\ncatch(e){alert(r.i+\"::\"+s+\"::\"+(e.description?e.description:e.message));}\n"+"}";eval(h);if(!x)t[e]=f;return f;};}catch(e){alert("Error:"+e.description);}}, addEventListener:
function(o,e,f,b){if(typeof o.addEventListener!=D.U){o.addEventListener(e,f,b);}else if(typeof o.attachEvent!=D.U){o.attachEvent("on"+e,f);}},removeEventListener:
function(o,e,f,b){if(typeof o.removeEventListener!=D.U){o.removeEventListener(e,f,b);}else if(typeof o.detachEvent!=D.U){o.detachEvent("on"+e,f);}},getAbsoluteTop:
function(o){return $E.dom.event.getAbsolutePosition(o,1);},getAbsoluteLeft:
function(o){return $E.dom.event.getAbsolutePosition(o,0);},getAbsolutePosition:
function(o,b){var c=o,i=0;while(c!=null&&!c.nodeName.match(/body/i)){i+=(b?(c.offsetTop?c.offsetTop:0):(c.offsetLeft?c.offsetLeft:0));c=c.offsetParent;}return i;}}
$EP("$E.registry");$E.registry={ObjectRegistry:null,ObjectRegistryImpl:
function(){var t=this;t.o={s:{rt:0},p:{o:[],om:[]}};t.canRegister=function(o){if(typeof o!=D.O||(typeof o.i!=D.S||typeof o.t!=D.S||typeof o.v!=D.S||typeof o.r!=D.N)){return 0;}return 1;};t.addObject=function(o){var i,m,p;if(!t.canRegister(o)){if(ValidatePackage("$E.message")&&$E.message.MessageService!=null){$E.message.MessageService.S("Invalid Object Structure","540.4",1);}else{alert("Invalid Object Structure");}return 0;}if(t.isRegistered(o)){$E.message.MessageService.S("Object '"+o.i+"' is already registered","540.4");return 0;}p=t.o.p;i=o.i;if(typeof p.om[i]!=D.N){m=p.o.length;p.o[m]=o;p.om[i]=m;if(t.o.s.rt&&ValidatePackage("$E.transaction")&&$E.transaction.TransactionService!=null){$E.transaction.TransactionService.register(o);}return 1;}return 0;};t.removeObject=function(o,b){var i=o.i,m,p;p=t.o.p;if(typeof p.om[i]==D.N){m=p.om[i];p.o[m]=0;p.om[i]=null;if(!b)$E.message.MessageService.publish("onremoveobject",i);return 1;}return 0;};t.getObjects=function(){return t.o.p.o;};t.getObjectsMap=function(){return t.o.p.om;};t.getObject=function(i){var p=t.o.p;if(typeof p.om[i]==D.N&&typeof p.o[p.om[i]]==D.O){return p.o[p.om[i]];}return null;};t.isRegistered=function(i){if(typeof i==D.O){if(typeof i.i==D.U)return 0;i=i.i;}if(typeof t.o.p.om[i]==D.N){return 1;}return 0;};t.sendSigterm=function(){var o,i,p=t.o.p;for(i=p.o.length-1;i>=0;){o=p.o[i--];if(o!=null&&o.r==4&&typeof o.sigterm==D.F){o.sigterm();}}for(i=0;i<p.o.length;){o=p.o[i++];if(t.isRegistered(o))t.removeObject(o,1);}};t.sendDestroyTo=function(o){if(t.isRegistered(o)&&typeof o.destroy==D.F){o.destroy();return 1;}return 0;};$E.IM(t,"base_object","object_registry","1.1.1.2410.2005");t.addObject(t);}}
$E.registry.ObjectRegistry=new $E.registry.ObjectRegistryImpl();
$EP("$E.message");$E.message={MessageService:null,MessageServiceImpl:
function(){var t=this;t.o={p:{s:[],dd:[],e:[]},s:{dd:20,me:200,rt:1},data:{l:["ALL","DEBUG","ADVISORY","NORMAL","WARNING","ERROR","FATAL","NONE"],lm:{ALL:0,DEBUG:1,ADVISORY:2,NORMAL:3,WARNING:4,ERROR:5,FATAL:6,NONE:7},ed:[ ]}};t.setReportThreshold=function(i){var c=t.o;if(typeof i==D.N)i=c.data.l[i];if(typeof c.data.lm[i]==D.N){c.s.rt=c.data.lm[i];}};t.clearEntries=function(){t.o.p.e=[];};t.getDeliveryDelay=function(){return t.o.s.dd;};t.setDeliveryDelay=function(i){if(typeof i==D.N&&i>=0){t.o.s.dd=i;}};t.subscribe=function(o,e,f,v){var c,l,a=arguments;c=t.o;if(a.length==4){if(!o)o=window;if(!v)v=null;}if(a.length==2){var t1=a[0],t2=a[1];o=window;e=t1;f=t2;}if(typeof c.p.s[e]!=D.O)c.p.s[e]=[];l=c.p.s[e].length;c.p.s[e][l]=$E.FN("basic_message_subscription",o,e,f,v);return 0;};t.unsubscribe=function(o,e,f){var t=this,a=[],l,i=0,z,c,g=arguments;c=t.o;if(g.length==2){var t1=g[0],t2=g[1];o=window;e=t1;f=t2;}if(typeof c.p.s[e]!=D.O)return 0;l=c.p.s[e].length;for(;i<l;i++){z=c.p.s[e][i];if(z.object!=o||z.handler!=f){a[a.length]=z;}}c.p.s[e]=a;return 1;};t.sigterm=function(){var t=this,c;c=t.o;t.r=5;c.s.dd=0;c.p.dd=[];c.p.e=[];};t.flush=function(){t.o.p.dd=[];};t._P=function(i){var t=this,d,c;c=t.o;if(t.r!=4)return;if(typeof i==D.S&&typeof c.p.dd[i]==D.O){d=c.p.dd[i];t.P(d.event,d.data);c.p.dd[i]=0;}};t.publish=function(e,o){var t=this,c,x,d;c=t.o;if(c.s.dd){d=c.p.dd;x=$E.GG();d[x]={data:o,event:e};setTimeout("try{if($E.registry.ObjectRegistry.isRegistered('"+t.i+"'))$E.registry.ObjectRegistry.getObject('"+t.i+"')._P('"+x+"');}catch(e){alert('Publish Error In "+e+" To "+t.t+"');}",c.s.dd);}else{t.P(e,o);}};t.P=function(e,o){var t=this,c,j,l,i,z,x,d;if(t.r!=4)return;c=t.o;if(typeof c.p.s[e]!=D.O)return;l=c.p.s[e].length;for(i=l-1;i>=0;){z=c.p.s[e][i--];if(!z.target||z.target==o){try{if(typeof z.handler==D.S)z.object[z.handler](e,o);if(typeof z.handler==D.F)z.handler(e,o);}catch(e){alert("Publish Error:"+e.message+"\n"+z.subscription_name+"\n"+z.handler);}}}}; t.sendMessage=function(d,s,p){return t.S(d,s,p);};t.S=function(d,s,p){var o=null,v,c,t=this,ms;c=t.o;if(t.r!=4)return;if(typeof s!=D.S)s="200";v=t.I(s);if(v.t<c.s.rt){return o;}if(typeof p!=D.N)p=0;if(p)o=t.R(s,d,v);else o=t.C(s,d,v);ms=t.M(o);if(ms==null)ms="[message error]";t.publish("onsendmessage",{message:ms,level:v.t,description:o.d});return o;};t.R=function(s,d,v){var t=this,o;o=t.C(s,d,v);alert(t.M(o));return o;};t.C=function(s,d,v){var o=$E.FN("basic_message",v,d),i,c,t=this;c=t.o;i=c.p.e.length;if(i>=c.s.me&&c.s.me>0){c.p.e.shift();i--;}o.index=i;c.p.e[i]=o;return o;};t.M=function(o){var v="[error]",a,l,d,c,t=this;c=t.o;if(typeof o==D.O){a=t.D(o);d=o.time;var m=new String(d.getMinutes()),s=new String(d.getSeconds()),ms=new String(d.getMilliseconds());if(s.length==1)s="0"+s;if(m.length==1)m="0"+m;if(ms.length==1)ms="0"+ms;if(ms.length==2)ms="0"+ms;v=d.getHours()+":"+m+":"+s+":"+ms+"::";v+=t.G(o.entry.t)+":";v+=(a!=null?a[0]:":");v+="("+o.entry.m+").";o.d=(a!=null?a[1]:"");if(o.data){v+=" "+o.data;}else{v+=" "+o.d;}}return v;};t.G=function(i){return this.o.data.l[i];};t.D=function(o){var v=null,f=100,l,m,n,i=0,a,d,c,t=this;c=t.o;if(typeof o==D.O){l=c.data.ed.length;m=o.entry.mc;n=o.entry.nc;for(;i<l;i++){a=c.data.ed[i];if(a.length>=2){d=a[2];if(m>=d&&m<(d+f))v=a;if(v!=null&&m>(d+f))break;}}}return v;};t.I=function(s){var a=[],c,i=100,o,m=0,n,x=900,d,p,y;o=i;if(s)a=s.split(".");c=(a[0])?parseInt(a[0]):200;for(y=i;y<=x;y+=100){if(c>=i&&c<(y+i))m=i;if(m>0&&m<=(y+100))break;}if(m<0||m>900||c<0||c>900){m=200;c=200;}n=c-m;d=(a[1])?parseInt(a[1]):3;if(d>7||d<0)d=3;l=(a[2])?parseInt(a[2]):0;p=(a[3])?parseInt(a[3]):0;return{mc:c,mb:m,nc:n,t:d,l:l,id:p,d:"",m:c+"."+d+"."+l+"."+p};};$E.IM(t,"base_object","message_service","1.1.3.2410.2005");$E.registry.ObjectRegistry.addObject(t);t.r=4;}}
$E.message.MessageService=new $E.message.MessageServiceImpl();
$EP("$E.object");$E.object={v:"1.1.1.2410.2005",newInstance:
function(s,z){var o=$E.FN("generic_object"),_m=$E.message.MessageService,_r=$E.registry.ObjectRegistry;$E.IM(o,"base_object",s,z);if(_r.addObject(o)){$E.dom.event.addEventBuffer(o);}return o;},IOA:
function(o,s){if(typeof o!=D.O||typeof o.o!=D.O||typeof o.o.p!=D.O){alert("Invalid object reference in ocjo.IOA");return 0;}o.o.p[s+"s"]=[];o.o.p[s+"names"]=[];o.o.p[s+"index"]=[];var s_name=s.substring(0,1).toUpperCase()+s.substring(1,s.length),f;o["get"+s_name+"ByName"]=eval('f=function(s){'+' var c=this.o.p;'+' if(typeof c.'+s+'names[s]==D.N)return c.'+s+'s[c.'+s+'names[s]];'+' return 0;'+'}');o["get"+s_name]=eval('f=function(i){var _p=this.o.p;if(typeof _p.'+s+'index[i]==D.N&&typeof _p.'+s+'s[_p.'+s+'index[i]]==D.O){return _p.'+s+'s[_p.'+s+'index[i]];}return 0;};');o["get"+s_name+"s"]=eval('f=function(){return this.o.p.'+s+'s;};');o["is"+s_name]=eval('f=function(o){var _p=this.o.p;if(typeof o==D.S){if(this.get'+s_name+'(o))return 1;return 0;}if(typeof o==D.O&&o!=null&&typeof _p.'+s+'index[o.'+s+'_id]==D.N&&typeof _p.'+s+'s[_p.'+s+'index[o.'+s+'_id]]==D.O){return 1;}return 0;};');return 1;}}
$EP("$E.xml");$E.xml={v:"1.5.8.2410.2005",r:[],rm:[], ce:1,setCacheEnabled:
function(b){$E.xml.clearCache();$E.xml.ce=b;},getCacheEnabled:
function(){return $E.xml.ce;}, nr:[ ["soapenc","http://schemas.xmlsoap.org/soap/encoding/"],["wsdl","http://schemas.xmlsoap.org/wsdl/"],["soap","http://schemas.xmlsoap.org/wsdl/soap/"],["SOAP-ENV","http://schemas.xmlsoap.org/soap/envelope/"] ],nl:{},nu:{},nh:0, ho:[],hu:0,hc:0,hs:5,hm:10,hp:0,he:1,si:0,setPoolEnabled:
function(b){$E.xml.he=b;},getPoolEnabled:
function(){return $E.xml.he;}, newXmlDocument:
function(n){var r=0,e;if(!n)return 0;if(typeof document.implementation!=D.U&&typeof document.implementation.createDocument!=D.U){r=document.implementation.createDocument("",n,null);if(r!=null&&r.documentElement==null){r.appendChild(r.createElement(n));}}else{r=new D.A("MSXML.DOMDocument");e=r.createElement(n);r.appendChild(e);}return r;},clear:
function(){var _x=$E.xml; _x.clearCache(); _x.R(); _x.r=[];rm=[];return 1;}, clearCache:
function(){var _x=$E.xml,i=0,o;for(;i<_x.r.length;i++){o=_x.r[i];if(o.c&&typeof o.cd==D.O){ o.cd=0;}o.obj=null;o.ih=null;o.h=null;}_x.r=[];_x.rm=[];}, getXmlHttpArray:
function(){return $E.xml.ho;},R:
function(){var _x=$E.xml,i=0,o;_x.hp=1;_x.hu=0;_x.ho=[];_x.hc=_x.hs;for(;i<_x.hs;i++)o=_x.ho[i]=_x.O(1,i);}, testXmlHttpObject:
function(){return $E.xml.O(null,null,1);},O:
function(b,i,z){var o=null,v,f,_m=$E.message.MessageService;if(typeof D.X!=D.U){o=new D.X();if(z)return 1;}else if(typeof D.A!=D.U){try{o=new D.A("MSXML2.XMLHTTP.3.0");if(z)return 1;}catch(e){_m.S("XMLError:"+(e.description?e.description:e.message),"512.4",(z?1:0));}if(z)return 0;} if(b&&typeof i==D.N){v={o:o,u:0,i:i,v:-1,h:0};return v;}else{ return o;}}, P:
function(i,y){var _x=$E.xml,b=0,o,a;a=_x.ho;if(typeof a[i]==D.O){o=a[i];if(o.i>=_x.hs) a[i]=0; try{if(!y){if(typeof D.X!=D.U){if(typeof o.o.removeEventListener==D.F)o.o.removeEventListener("load",o.h,false);else o.o.onreadystatechange=_x.B;}else if(typeof D.A!=D.U&&o.o instanceof D.A)o.o.onreadystatechange=_x.B;o.h=0;}}catch(e){$E.message.MessageService.S("Error in P:"+(e.description?e.description:e.message),"512.4",1);}o.o.abort();o.u=0;o.v=-1;_x.hu--;} return 1;},G:
function(y){var _x=$E.xml,i=0,b=0,o,a,_m=$E.message.MessageService,n=-1,z=0;if(!_x.hp)_x.R();a=_x.ho;for(;i<a.length;i++){if(typeof a[i]==D.O&&typeof a[i].u==D.N&&!a[i].u){a[i].u=1;b=i;z=1;break;}if(n==-1&&!a[i])n=i;}if(!z){b=(n>-1)?n:a.length;if(b<_x.hm){a[b]=_x.O(1,b);a[b].u=1;}else{_m.S("Max pool size reached!","200.4");return null;}}if(b>-1){_x.hu++;o=a[b];try{if(!y){if(typeof D.X!=D.U){if(typeof o.o.addEventListener==D.F){o.h=function(){$E.xml.L(b);};o.o.addEventListener("load",o.h,false);}else{o.h=function(){$E.xml.S(b);};o.o.onreadystatechange=o.h;}}else if(typeof D.A!=D.U&&o.o instanceof D.A){o.h=function(){$E.xml.S(b);};o.o.onreadystatechange=o.h;}}}catch(e){_m.S("Error in G:"+(e.description?e.description:e.message),"512.4",1);}return o;}return null;}, L:
function(i){var _x=$E.xml,o,v,_m=$E.message.MessageService,z;try{ if(_x.he&&typeof _x.ho[i]==D.O){z=_x.ho[i].v;if(z==-1){_m.S("Invalid pool index for "+i,"200.4",1);return 0;}i=z;} if(typeof _x.rm[i]==D.N){o=_x.r[_x.rm[i]];v={"xdom":null,"id":(o.bi?o.bi:i)}; if(o.u.match(/^file:/i)&&typeof D.A=="function"&&o.o instanceof D.A){var mp=new D.A("MSXML.DOMDocument");mp.loadXML(o.o.responseText);v.xdom=mp;}else if(o.o!=null&&o.o.responseXML!=null)v.xdom=o.o.responseXML;else if(o.o!=null)_m.S("Error loading '"+o.u+"'. Response text is:"+o.o.responseText,"540.4",1);else _m.S("Error loading '"+o.u+"'. The internal XML object reference is null. Async is "+o.a+";Pool Index is "+o.pi,"540.4",1);o.r=1;if(o.ih){o.ih=0;} if(_x.ce&&o.c){o.cd=v.xdom;} $E.message.MessageService.publish("onloadxml",v);if(typeof o.h==D.F)o.h("onloadxml",v); if(o.pi>-1)_x.P(o.pi,!o.a); o.o=0;}else{_m.S("Invalid id reference:"+i,"200.4",1);}}catch(e){_m.S("Error in handle_xml_request_load:"+(e.description?e.description:e.message),"512.4",1);}},S:
function(i){var _x=$E.xml,o; if(_x.he&&typeof _x.ho[i]==D.O){o=_x.ho[i];if(o!=null&&typeof o.o==D.O&&o.o.readyState==4){_x.L(i);}}else if(typeof _x.rm[i]==D.N){o=_x.r[_x.rm[i]];if(typeof o.o==D.O&&o.o.readyState==4){_x.L(i);}}},getXml:
function(p,h,a,i,c){return $E.xml.X(p,h,a,i,0,null,c);},postXml:
function(p,d,h,a,i){return $E.xml.X(p,h,a,i,1,d,0);},X:
function(p,h,a,i,x,d,c){var _x=$E.xml,f,o=null,v,_m=$E.message.MessageService,y,z,r,b,b_ia,g,bi=0;if(!_x.si)_x.StaticInitialize();if(typeof p!=D.S||p.length==0){_m.S("Invalid path parameter in X","512.4",1);return 0;}if(typeof c==D.U)c=0;if(typeof x==D.U)x=0;if(typeof d==D.U)d=null;z=(x?"POST":"GET");if(typeof i!=D.S)i=$E.GG();if(typeof _x.rm[i]==D.N&&typeof _x.r[_x.rm[i]]==D.O){r=_x.r[_x.rm[i]]; if(_x.ce&&r.c&&typeof r.cd==D.O){b={"xdom":r.cd,"id":i};_m.publish("onloadxml",b);if(typeof h==D.F)h("onloadxml",b); return r.cd;} else if(!r.r){c=0;bi=i;i=$E.GG();}} b=_x.he;if(b){ r=_x.G(!a);}else{ r=_x.O();} if(!(b?(r&&r.o):r)){_m.S("Null XML object in in X.","512.4");b={xdom:null,id:i};if(typeof h==D.F)h("onloadxml",b);return 0;} if(b)r.v=i; y=_x.r.length;_x.r[y]={u:p,i:i,bi:bi,a:a,o:(b?r.o:r),ih:0,h:h, pi:(b?r.i:-1), c:c,cd:0, r:0};_x.rm[i]=y;o=_x.r[y].o;if(!p.match(/:\/\//)){var m,e=new RegExp("^/");if(!p.match(e)){m=location.pathname;if(m.match(/\\/))m=m.replace(/\\/g,"/");m=m.substring(0,m.lastIndexOf("/")+1);p=m+p;}if(!location.protocol.match(/^file:$/i))p=location.protocol+"//"+location.host+p;else p=location.protocol+"//"+p;}_x.r[y].u=p;b_ia=(typeof D.A!=D.U&&o instanceof D.A)?1:0;try{if(!b&& a&&typeof D.X!=D.U){if(typeof o.addEventListener==D.F){_x.r[y].ih=function(){$E.xml.L(i);};o.addEventListener("load",_x.r[y].ih,false);}else{_x.r[y].ih=function(){$E.xml.S(i);};o.onreadystatechange=_x.r[y].ih;}}else if(!b&&a&&b_ia){_x.r[y].ih=function(){$E.xml.S(i);};o.onreadystatechange=_x.r[y].ih;}}catch(e){_m.S("Error in X:"+(e.description?e.description:e.message),"512.4",1);} if(b&&!a){_x.ho[_x.r[y].pi]=0;} g=(a?true:false);o.open(z,p,g);if(typeof o.setRequestHeader!="undefined"){o.setRequestHeader('Content-Type','text/xml');}o.send(d);if(!a){z=o.responseXML; if(p.match(/^file:/i)&&b_ia){var mp=new D.A("MSXML.DOMDocument");mp.loadXML(o.responseText);z=mp;} if(b){_x.ho[_x.r[y].pi]=r;_x.L(_x.r[y].pi);} _x.r[y].o=null;if(!b&&_x.r[y].pi>-1)_x.P(_x.r[y].pi,!a);return z;}return 1;}, transformNode:
function(x,s,n,i,j,p){var xp,o=null,_m=$E.message.MessageService,_x=$E.xml,v,a,b,c,d;if(typeof x==D.S&&x.length>0){if(p&&!i)p=0;v=x;x=_x.getXml(x,0,0,i,p);if(v.match(/\?(\S*)$/)){v=v.match(/\?(\S*)/)[1];a=v.split("&");for(b=0;b<a.length;b++){c=a[b].split("=");x.documentElement.setAttribute(c[0],c[1]);}}}if(typeof s==D.S&&s.length>0){if(p&&!j)p=0;s=_x.getXml(s,0,0,j,p);}if(typeof x!=D.O||x==null||typeof s!=D.O||s==null){_m.S("Invalid parameters in transformNode. Xml Node="+x+",xsl document="+s,"512.4",1);return o;}if(typeof n!=D.O)n=x;try{if(typeof XSLTProcessor!=D.U){xp=new XSLTProcessor();xp.importStylesheet(s);o=xp.transformToFragment(n,document);if(o)o=o.firstChild;}else if(typeof D.A!=D.U&&x instanceof D.A){o=new D.A("MSXML.DOMDocument"); xp=n.transformNode(s);o.loadXML(xp);o=o.documentElement;}else{_m.S("Error in transformNode:"+(e.description?e.description:e.message),"512.4",1);}}catch(e){_m.S("Error in transformNode:"+(e.description?e.description:e.message),"512.4",1);}return o;}, HN:
function(){var _x=$E.xml,a,i=0,o;_x.nu={};_x.nl={};for(;i<_x.nr.length;i++){o=_x.nr[i];_x.nu[o[0]]=o[1];_x.nl[o[1]]=o[0];}_x.nh=1;},getURIForURL:
function(u){var _x=$E.xml,q;if(!_x.nh)_x.HN();q=_x.nl[u];return(q?q:"");},getURLForURI:
function(i){var _x=$E.xml,q;if(!_x.nh)_x.HN();q=_x.nu[i];return(q?q:"");}, lookupNamespaceURI:
function(n){ var _x=$E.xml;if(!_x.nh)_x.HN();if(_x.nu[n]) return _x.nu[n]; return "";}, selectSingleNode:
function(d,x,c){var s,i,n;if(typeof d.evaluate!=D.U){c=(c?c:d.documentElement);s=d.evaluate(x,c,$E.xml,0,null);return s.iterateNext();}else if(typeof d.selectNodes!=D.U){return(c?c:d).selectSingleNode(x);}return 0;},selectNodes:
function(d,x,c){var s,a=[],i,n;if(typeof d.evaluate!=D.U){c=(c?c:d.documentElement);s=d.evaluate(x,c,$E.xml,0,null);n=s.iterateNext();while(typeof n==D.O&&n!=null){a[a.length]=n;n=s.iterateNext();}return a;}else if(typeof d.selectNodes!=D.U){return(c?c:d).selectNodes(x);}return a;}, queryNodes:
function(x,p,n,a,v){return $E.xml.Q(x,p,n,a,v,1);},queryNode:
function(x,p,n,a,v){return $E.xml.Q(x,p,n,a,v,0);},Q:
function(x,p,n,a,v,z){var i=0,b,e,c,r=[];if(!z)r=null;c=x.getElementsByTagName(p);if(typeof n==D.S){if(!c.length){if(!z)return null;else return r;}c=c[0];e=c.getElementsByTagName(n);}else e=c;for(;i<e.length;i++){b=e[i];if((!a&&!v)||(b.getAttribute(a)==v)){if(!z){r=b;break;}else r[r.length]=b;}}return r;}, serialize:
function(n){var v;if(typeof XMLSerializer!=D.U){return(new XMLSerializer()).serializeToString(n);}else if(typeof n.xml==D.S){return n.xml;}}, getCDATAValue:
function(n){var c,d="",i=0,e;if(n==null)return d;c=n.childNodes;for(;i<c.length;i++){e=c[i];if(e.nodeName=="#cdata-section")d+=e.nodeValue;}return d;},getInnerText:
function(s){var r="",a,i,e;if(typeof s==D.S)return s;if(s==null)return r;if(typeof s==D.O&&s.nodeType==3)return s.nodeValue;if(s.hasChildNodes()){a=s.childNodes;for(i=0;i<a.length;i++){e=a[i];if(e.nodeType==3)r+=e.nodeValue;if(e.nodeType==1&&e.hasChildNodes()){r+=this.getInnerText(e);}}}return r;},removeChildren:
function(o){var i;for(i=o.childNodes.length-1;i>=0;i--)o.removeChild(o.childNodes[i]);},setInnerXHTML:
function(t,s,p,d,z,c,h){var y,e,a,l,x,n,v,r=0,b;if(!d)d=document;b=(d==document?1:0);if(!p)$E.xml.removeChildren(t);y=(s&&typeof s==D.O)?s.nodeType:(typeof s==D.S)?33:-1;switch(y){case 1:if(h){e=s.cloneNode(false);}else{e=d.createElement(s.nodeName);a=s.attributes;l=a.length;for(x=0;x<l;x++){n=a[x].nodeName;v=a[x].nodeValue;if(b&&n=="style"){e.style.cssText=v;}else if(b&&n=="id"){e.id=v;}else if(b&&n=="class"){e.className=v;}else if(b&&n.match(/^on/i)){eval("e."+n+"=function(){"+v+"}");}else{e.setAttribute(n,v);}}}if(!z&&s.hasChildNodes()){a=s.childNodes;l=a.length;for(x=0;x<l;x++)this.setInnerXHTML(e,a[x],1,d,z,c,h);}if(b&&s.nodeName.match(/input/i)&&s.getAttribute("checked")){e.checked=true;}t.appendChild(e);r=e;break;case 3:e=s.nodeValue;if(e){e=e.replace(/\s+/g," ");t.appendChild(d.createTextNode(e));r=e;}break;case 4:e=s.nodeValue;t.appendChild(d.createCDATASection(e));break;case 8:break;case 33:e=s;if(e){if(!c){e=e.replace(/^\s*/,"");e=e.replace(/\s*$/,"");e=e.replace(/\s+/g," ");}t.appendChild(d.createTextNode(e));r=e;}break;default: break;}return r;}, B:
function(){},StaticInitialize:
function(){$E.message.MessageService.subscribe($E.xml,"destroy","_handle_destroy");$E.xml.si=1;},_handle_destroy:
function(s,v){var _x=$E.xml;$E.message.MessageService.unsubscribe($E.xml,"destroy","_handle_destroy"); _x.clearCache(); _x.r=[];rm=[];_x.hp=0;_x.hu=0;_x.ho=[];}};
$EP("$E.ui");$E.ui.caltasche={newInstance:
function(o,d){var n=$E.FN("base_object","caltasche","0.0.77.2410.2005");if(typeof o!=D.O)o=document.body;n.o={p:{p:o,c:0,h:0,b:0,f:0,d:0,dc:0,cl:0,cn:0, pc:0,lf:0,lh:0,lhc:0,rhc:0},data:{m:"January,February,March,April,May,June,July,August,September,October,November,December",d:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday",s:[31,29,31,30,31,30,31,31,30,31,30,31],SECOND:0,MINUTE:0,HOUR:0,DAY:0,WEEK:0,current_time:0,base_time:0},s:{cls:3,cn:"caltasche_clear_node",cc:"caltasche_container",hc:"caltasche_header_container",fl:"caltasche_footer_label",hl:"caltasche_header_label",hlc:"caltasche_header_right_control",hrc:"caltasche_header_left_control",hcl:"caltasche_header_control_label",hclh:"caltasche_header_control_label_hover",bc:"caltasche_body_container",fc:"caltasche_footer_container",cp:"caltasche_calendar_panel",ca:"caltasche_calendar_cell",clc:"caltasche_calendar_lastmonth_cell",cnc:"caltasche_calendar_nextmonth_cell",ctc:"caltasche_calendar_thismonth_cell",cbc:"caltasche_calendar_baseday_cell",ccc:"caltasche_calendar_currentday_cell",cch:"caltasche_calendar_cell_hover",ccl:"caltasche_calendar_cell_label", ce:35,cr:6,cl:7,d:0,g:0,cy:0,cM:0,cd:0,ch:0,cm:0,cs:0,ci:0,by:0,bM:0,bd:0,bh:0,bm:0,bs:0,bi:0,ld:0,nd:0,fm:0,lm:0,a:1,r:1,ic:0,rc:1,sc:0, scc:0,ir:0}};n.init=function(){var t=this,_p,_d;_p=t.o.p;_d=t.o.data;t.r=4;_d.SECOND=1000;_d.MINUTE=_d.SECOND*60;_d.HOUR=_d.MINUTE*60;_d.DAY=_d.HOUR*24;_d.WEEK=_d.DAY*7;$E.dom.event.addEventBuffer(t);t.createHandler("control_label_mouseout",0,0,1);t.createHandler("control_label_mouseover",0,0,1);if(t.o.s.a)t.render();t.applyDate();};n.render=function(){var t=this,_s;_s=t.o.s;if(!_s.ir&&_s.r){t.createUI();if(_s.rc){t.createCalendar();if(!_s.sc)t.hideCalendar();} return 1;}return 0;};n.createUI=function(){var t=this,_s,_p,f,b,h,lh,lf;_s=t.o.s;_p=t.o.p;_p.cn=document.createElement("div");_p.cn.className=_s.cn;o=document.createElement("div");b=_p.b=o.cloneNode(false);h=o.cloneNode(false);lh=_p.lh=document.createElement("span");lhc=_p.lhc=lh.cloneNode(false);rhc=_p.rhc=lh.cloneNode(false);lf=_p.lf=lh.cloneNode(true);f=o.cloneNode(false);o.className=_s.cc;h.className=_s.hc;lh.className=_s.hl;lhc.className=_s.hlc;rhc.className=_s.hrc;lf.className=_s.fl;b.className=_s.bc;f.className=_s.fc;_p.p.appendChild(o);o.appendChild(h);o.appendChild(b);o.appendChild(f);h.appendChild(lhc);h.appendChild(lh);h.appendChild(rhc);h.appendChild(_p.cn.cloneNode(false));f.appendChild(lf);_p.c=o;};n.refreshUI=function(){var t=this,_s;_s=t.o.s;if(_s.sc){t.refreshCalendar();}};n.refreshDate=function(b){var t=this;t.o.data.base_time=new Date();t.setDate(t.o.data.base_time,b);};n.updateDate=function(){var t=this,o,_s;_s=t.o.s;t.setDate(new Date(_s.cy,_s.cM,_s.cd,_s.ch,_s.cm,_s.cs));};n.setDate=function(o,b){if(typeof o==D.O){this.o.data.current_time=o;if(!b)this.applyDate();return 1;}return 0;};n.applyDate=function(){var t=this,_s,_d,o;_s=t.o.s;_d=t.o.data;o=_d.current_time;_s.d=o.getDay();_s.cd=o.getDate();_s.cy=o.getFullYear();_s.cM=o.getMonth();_s.g=o.getTimezoneOffset();_s.ch=o.getHours();_s.cm=o.getMinutes();_s.cs=o.getSeconds();_s.ci=o.getMilliseconds();_d.s[1]=(((!(_s.cy % 4))&&(_s.cy % 100))||!(_s.cy % 400))?29:28;_s.ld=_d.s[((_s.cM-1)==0?12:_s.cM-1)-1];_s.nd=_d.s[((_s.cM+1)==13?1:_s.cM+1)-1];_s.fm=new Date(_s.cy,_s.cM).getDay();_s.lm=new Date(_s.cy,_s.cM+1).getDay()-1;if(_s.lm<0)_s.lm+=7;o=_d.base_time;_s.by=o.getFullYear();_s.bM=o.getMonth();_s.bd=o.getDate();_s.bh=o.getHours();_s.bm=o.getMinutes();_s.bs=o.getSeconds();_s.bi=o.getMilliseconds();t.refreshUI();return 1;};n.getCurrentYear=function(){return this.o.s.cy;};n.setCurrentYear=function(i){this.o.s.cy=i;};n.getCurrentMonth=function(){return this.o.s.cM;};n.setCurrentMonth=function(i){this.o.s.cM=i;};n.getCurrentDay=function(){return this.o.s.cd;};n.setCurrentDay=function(i){this.o.s.cd=i;};n.getDaysInMonth=function(i){if(typeof i!=D.N||i<0||i>11)return-1;return this.o.data.s[i];};n.getCurrentHour=function(){return this.o.s.ch;};n.getCurrentMinute=function(){return this.o.s.cm;};n.getCurrentSecond=function(){return this.o.s.cs;};n.getCurrentMillisecond=function(){return this.o.s.ci;};n.getCellCount=function(){return this.o.s.ce;};n.clearLabels=function(){this.clearHeader();this.clearFooter();this.clearControls();};n.clearControls=function(){$E.xml.removeChildren(this.o.p.rhc);$E.xml.removeChildren(this.o.p.lhc);this.o.s.scc=0;};n.clearFooter=function(){$E.xml.removeChildren(this.o.p.lf);};n.clearHeader=function(){$E.xml.removeChildren(this.o.p.lh);};n.hideAllPanels=function(){var t=this;if(t.o.s.sc)t.hideCalendar();}; n.showCalendarControls=function(){var t=this,_s,_p,lb,rb,_e=$E.dom.event;_s=t.o.s;_p=t.o.p;if(_s.scc)return 0;lb=document.createElement("span");rb=lb.cloneNode(false);lb.setAttribute("move-month","-1");rb.setAttribute("move-month","1");_e.addEventListener(lb,"mouseover",t._prehandle_control_label_mouseover,0);_e.addEventListener(lb,"mouseout",t._prehandle_control_label_mouseout,0);_e.addEventListener(lb,"click",t._prehandle_navigate_month,0);_e.addEventListener(rb,"mouseover",t._prehandle_control_label_mouseover,0);_e.addEventListener(rb,"mouseout",t._prehandle_control_label_mouseout,0);_e.addEventListener(rb,"click",t._prehandle_navigate_month,0);lb.className=_s.hcl;rb.className=_s.hcl;_p.lhc.appendChild(lb);_p.rhc.appendChild(rb);lb.appendChild(document.createTextNode("<"));rb.appendChild(document.createTextNode(">"));_s.scc=1;};n.showCalendar=function(){var t=this;if(t.o.s.rc){t.hideAllPanels();t.o.s.sc=1;t.o.p.pc.style.display="block";t.clearLabels();t.refreshCalendar();return 1;} return 0;};n.hideCalendar=function(){var t=this;if(t.o.s.rc){t.o.s.sc=0;t.o.p.pc.style.display="none";t.clearLabels();return 1;}return 0;};n.refreshCalendar=function(){var t=this,_p,_s,_d,o,a,i=0,j,c=0,cd=0,bc,ld,bd,db,fd,m,_x,dl,lm,nm,ly,ny,_e=$E.dom.event;_s=t.o.s;_d=t.o.data;_p=t.o.p;if(!_s.rc||!_s.sc)return 0;_x=$E.xml;m=_s.cM;ld=_d.s[m];lm=(m>0?m-1:11);ly=(lm==11?_s.cy-1:_s.cy);nm=(m<11?m+1:0);ny=(nm==0?_s.cy+1:_s.cy);bd=_d.s[ lm ];fd=_s.fm;db=(fd?fd:_s.cl);for(;i<_s.cr;i++){for(j=0;j<_s.cl;j++){o=_p.dc[i][j];dl="";bc="";if(cd==0&&db==0)cd++;if(db>0){dl=bd-(db-1);bc=_s.clc;db--;o.setAttribute("month",lm);o.setAttribute("year",ly);}else if(cd>ld){bc=_s.cnc;dl=c-ld-(fd?fd:_s.cl)+1;;o.setAttribute("month",nm);o.setAttribute("year",ny);}else{dl=cd;if(cd==_s.cd){bc=_s.ccc;}else if(_s.by==_s.cy&&_s.bM==_s.cM&&cd==_s.bd){bc=_s.cbc;}else{bc=_s.ctc;}o.setAttribute("month",_s.cM);o.setAttribute("year",_s.cy);}o.setAttribute("day",dl);o.className=_s.ca+" "+bc;o.setAttribute("base-class",bc);c++;if(db<=0&&cd<=ld){cd++;}_x.setInnerXHTML(o,""+dl,0,0,0,0,1);}}o=document.createElement("span");o.appendChild(document.createTextNode("Now:"+(_s.bM+1)+"/"+_s.bd+"/"+_s.by));_e.addEventListener(o,"mouseover",t._prehandle_control_label_mouseover,0);_e.addEventListener(o,"mouseout",t._prehandle_control_label_mouseout,0);_e.addEventListener(o,"click",t._prehandle_navigate_basedate,0);o.className=_s.hcl;_x.setInnerXHTML(_p.lh,_d.m.split(",")[_s.cM]+" "+_s.cy,0,0,0,1,1);_x.removeChildren(_p.lf);_p.lf.appendChild(o);_x.setInnerXHTML(_p.lf,"|Cur:"+(_s.cM+1)+"/"+_s.cd+"/"+_s.cy,1,0,0,1,1);t.showCalendarControls();return 1;};n.createCalendar=function(){var t=this,_p,o,_s,f,b,h,p,i,j,c,l,tl,_e=$E.dom.event;_p=t.o.p;_s=t.o.s;if(!_s.rc||_s.ic)return 0;_p.pc=document.createElement("div");_p.b.appendChild(_p.pc);_p.pc.className=_s.cp;t.createHandler("navigate_basedate",0,0,1);t.createHandler("navigate_month",0,0,1);t.createHandler("cell_mouseover",0,0,1);t.createHandler("cell_mouseout",0,0,1);t.createHandler("cell_click",0,0,1);_p.dc=[];_p.cl=[];c=t.o.data.d.split(",");tl=_s.cls;for(i=0;i<_s.cl;i++){l=c[i];if(l.length>tl&&tl>0)l=l.substring(0,tl);o=_p.cl[i]=document.createElement("span");o.appendChild(document.createTextNode(l));_p.pc.appendChild(o);o.className=_s.ccl;}for(i=0;i<_s.cr;i++){o=_p.dc[i]=[];for(j=0;j<_s.cl;j++){o[j]=document.createElement("span");_p.pc.appendChild(o[j]);_e.addEventListener(o[j],"mouseover",t._prehandle_cell_mouseover,0);_e.addEventListener(o[j],"mouseout",t._prehandle_cell_mouseout,0);_e.addEventListener(o[j],"click",t._prehandle_cell_click,0);}}_p.pc.appendChild(_p.cn.cloneNode(false));_s.ic=1;return 1;};n._handle_cell_mouseover=function(v){var t=this,o,e,bc;e=$E.dom.event._gevt(v);o=(typeof v!=D.U&&v.nodeType)?v:$E.dom.event._gevt_src(v);if(o&&o.nodeType==3)o=o.parentNode;bc=o.getAttribute("base-class");if(!bc)bc="";o.className=t.o.s.ca+" "+bc+" "+t.o.s.cch;};n._handle_cell_mouseout=function(v){var t=this,o,e,bc;e=$E.dom.event._gevt(v);o=(typeof v!=D.U&&v.nodeType)?v:$E.dom.event._gevt_src(v);if(o&&o.nodeType==3)o=o.parentNode;bc=o.getAttribute("base-class");if(!bc)bc="";o.className=t.o.s.ca+" "+bc;};n._handle_cell_click=function(v){var t=this,o,e,_p,_s,m,d,y;_s=t.o.s;_p=t.o.p;e=$E.dom.event._gevt(v);o=(typeof v!=D.U&&v.nodeType)?v:$E.dom.event._gevt_src(v);if(o&&o.nodeType==3)o=o.parentNode;m=o.getAttribute("month");d=o.getAttribute("day");y=o.getAttribute("year");if(typeof m!=D.U&&m!=null&&typeof d!=D.U&&d!=null&&typeof y!=D.U&&y!=null){m=parseInt(m);d=parseInt(d);t.setCurrentMonth(m);t.setCurrentDay(d);t.setCurrentYear(y);t.updateDate();$E.message.MessageService.publish("ondatechanged",t);}};n._handle_control_label_mouseover=function(v){var t=this,o,e;e=$E.dom.event._gevt(v);o=(typeof v!=D.U&&v.nodeType)?v:$E.dom.event._gevt_src(v);if(o&&o.nodeType==3)o=o.parentNode;o.className=t.o.s.hcl+" "+t.o.s.hclh;};n._handle_control_label_mouseout=function(v){var t=this,o,e;e=$E.dom.event._gevt(v);o=(typeof v!=D.U&&v.nodeType)?v:$E.dom.event._gevt_src(v);if(o&&o.nodeType==3)o=o.parentNode;o.className=t.o.s.hcl;};n._handle_navigate_basedate=function(v){this.refreshDate();};n._handle_navigate_month=function(v){var t=this,o,e,i;e=$E.dom.event._gevt(v);o=(typeof v!=D.U&&v.nodeType)?v:$E.dom.event._gevt_src(v);if(o&&o.nodeType==3)o=o.parentNode;i=o.getAttribute("move-month");if(i){i=parseInt(i);t.setCurrentMonth(t.o.s.cM+i);t.updateDate();$E.message.MessageService.publish("ondatechanged",t);}};n.HWD=function(){this.destroy();};n.destroy=function(){var t=this,c_p;c=t.o;_p=c.p;if(t.r==4){_p.p.removeChild(_p.c);$E.registry.ObjectRegistry.removeObject(t);}t.r=0;};n.refreshDate(1);n.init();$E.registry.ObjectRegistry.addObject(n);return n;}}

$EP("org.cote.js");
org.cote.js = $E;

