function addDateTips(ca,ck,cn,cm,cl,dn,date,hr){var gt=xc_cj(date,dn||xcDateFormat);xc_dv(ca,"dw",gt[0]+xc_bx(gt[1]+1)+xc_bx(gt[2]),[ck||co[0],cn||co[1],xc_bi],0);xc_bj[xc_bi++]=[cl||xcCSSDateTipBox,hr,cm||xcCSSDateTipBoxTitle,date]};var co=xcCSSDaySpecial;var xc_bi=0,xc_bh=null,xc_bk=0,xc_bj=new Array();function xc_dr(bt,hu){var td=bt.parentElement?bt.parentElement:bt;clearTimeout(xc_bk);xc_bk=setTimeout("xc_el("+xc_cd(td)+","+xc_ce(td)+","+td.offsetWidth+","+td.offsetHeight+","+hu+")",xcDateTipTiming)};function xc_dp(){clearTimeout(xc_bk);xc_bk=setTimeout("xc_co()",xcDateTipTiming)};function xc_dq(){clearTimeout(xc_bk)};function xc_do(){xc_bk=setTimeout("xc_co()",xcDateTipTiming)};function xc_cu(hu){if(xc_bh==null){xc_bh=xc_cs();xc_bh.className=xc_bj[hu][0];if(xcIsIE55up&&!xcIsMac){xc_bh.onmouseenter=xc_dq;xc_bh.onmouseleave=xc_do}else{xc_bh.onmouseover=xc_dq;xc_bh.onmouseout=xc_do};xc_bh.ht=-1};if(xc_bh.ht!=hu){xc_bh.scrollTop=0;xc_bh.scrollLeft=0;xc_bh.innerHTML=(xcDateTipBoxTitleSwitch?xcDIV(xc_bj[hu][2],xc_bj[hu][3]):"")+xc_bj[hu][1]}};function xc_el(x,y,w,h,hu){xc_cu(hu);if(xc_bh.ht!=hu){xc_co();var hv=xc_bh.offsetWidth,hs=xc_bh.offsetHeight;var dx=dy=0;if(xcDateTipBoxPosition==0||xcDateTipBoxPosition==6){dx=xcDateTipBoxAlign==0?0:xcDateTipBoxAlign==1?Math.floor((w-hv)/2):(w-hv);dy=xcDateTipBoxPosition==0?-hs:h}else{dx=xcDateTipBoxPosition==9?-hv:w;dy=xcDateTipBoxValign==0?0:xcDateTipBoxValign==1?Math.floor((h-hs)/2):(h-hs)};dx+=xcDateTipBoxOffsetX;dy+=xcDateTipBoxOffsetY;if(xc_bh.fp){xc_bh.fp.style.width=xc_bh.offsetWidth+"px";xc_bh.fp.style.height=xc_bh.offsetHeight+"px";xc_bh.fp.style.zIndex=xc_bh.style.zIndex-1;xc_dg(xc_bh.fp,x+dx,y+dy)};xc_bh.style.zIndex=++xcBaseZIndex;xc_dg(xc_bh,x+dx,y+dy);if(xc_bh.fp){xc_ek(xc_bh.fp)};if(xcIsIE&&!xcIsMac&&typeof(xc_bh.filters)!="undefined"&&typeof(xc_bh.filters)!="unknown"&&xc_bh.filters.length>0){for(var i=0;i0){for(var i=0;i