function GetRootDir(){
	return "/";
}


function MakeCal(date,intCount,lan) {
	var z1, z2,blntoday
//date=null
	var today = new Date();
	if (date == null) {
		var szMonth = today.getMonth();
		var szYear = today.getFullYear();
		var szDate = today.getDate();
	} 
	else {
		z1 = date.indexOf("/");
		z2 = date.indexOf("/", 3);
		var szMonth = Number(date.slice(0,z1)) - 1;
		
		var szYear = Number(date.slice(z2 + 1, z2+ 5));
		if(szMonth < 0){
			szMonth = 11;
			szYear = szYear - 1;
		}
		else if(szMonth > 11){
			szMonth = 0;
			szYear = szYear + 1;
		}
		var szDate = Number(date.slice(z1 + 1,z2));
	}
	var x, intTemp, szId, max, todayx, startx;
	var szStart = new Date(szYear, szMonth, 1);
	var intDay = szStart.getDay();
	var blSet = false;
	var szCal;
	szStart.setMonth(szMonth - 1);
	var PrevMonth = szStart.getMonth();
	var PrevYear = szStart.getFullYear();
	szStart = new Date(szYear, szMonth, 1);
	szStart.setMonth(szMonth + 1);
	var NextMonth = szStart.getMonth();
	var NextYear = szStart.getFullYear();
	var strRootDir = GetRootDir();
	szStart = new Date(szYear, szMonth, 1);
	szCal = "" ;
	szCal = szCal + "<table id=tblBor width=102 border=0 bgcolor=#00009F cellspacing=0 cellpadding=3><tr><td>";
	szCal = szCal + "<table width=100 width=100 border=0 bgcolor=#a2c8f2 cellspacing=0 cellpadding=3><tr><td>"
	szCal = szCal + "<table id=tblCal width=100 border=0 bgcolor=#a2c8f2 style=\"cursor:default;\" cellspacing=0 cellpadding=3>";
	szCal = szCal + "<tr><td style=\"cursor:default;\">&nbsp</td>";
	if (lan=="en_us")
	{
		if (szStart.getMonth() == (szMonth))
		   szCal = szCal + "<td colspan=5 align=center id=title style=\"cursor:default;\" nowrap>" +"<font color=#00009F>"+ MakeString(szMonth)+"</Font>" + " " +"<Font Color =black>"+ szYear + ""+"</font>"+"</td>";
	    else
		   szCal = szCal + "<td colspan=5 align=center id=title style=\"cursor:default;\">" +"<font color=#7F7F7F>"+ MakeString(szMonth)+"</Font>" + " " +"<Font Color =black>"+ szYear + ""+"</font>"+"</td>";
	       szCal = szCal + "<tr id=rowTitle style=\"cursor:default;\"><td><font color=black>U</font></td><td><font color=black>M</font></td><td><font color=black>Y</font></td><td><font color=black>W</font></td><td><font color=black>H</font></td><td><font color=black>F</font></td><td><font color=black>S</font></td></tr>";
	}
	else{
		if (szStart.getMonth() == (szMonth))
		    szCal = szCal + "<td colspan=5 align=center id=title style=\"cursor:default;\" nowrap>" +"<font color=#00009F>"+ MakeStringT(szMonth)+"</Font>" + " " +"<Font Color =black>"+ szYear + "年"+"</font>"+"</td>";
	    else
		    szCal = szCal + "<td colspan=5 align=center id=title style=\"cursor:default;\">" +"<font color=#7F7F7F>"+ MakeStringT(szMonth)+"</Font>" + " " +"<Font Color =black>"+ szYear + "年"+"</font>"+"</td>";
	        szCal = szCal + "<tr id=rowTitle style=\"cursor:default;\"><td><font color=black>日</font></td><td><font color=black>一</font></td><td><font color=black>二</font></td><td><font color=black>三</font></td><td><font color=black>四</font></td><td><font color=black>五</font></td><td><font color=black>六</font></td></tr>";
	}

	

	for (x=1; x<43; x++) {
		if (x % 7 == 1) {
			szCal = szCal + "<tr>"
		}
		szStart = new Date(szYear, szMonth, 1);
		intTemp = (-(intDay - x));
		szStart.setDate(intTemp);
		szId = MakeString(szStart.getMonth()) + x;
		if (!blSet) {
			if (szStart.getMonth() == (szMonth + 1)) {
				blSet = true;
				max = x;
			}
			if (szStart.getFullYear() == (szYear + 1)) {
				blSet = true;
				max = x;
			}
		}		
		blntoday = 0;		
		//if (szStart.getDate() == today.getDate()) {
		//	if (szStart.getMonth() == today.getMonth()) {
		//		if (szStart.getYear() == today.getYear()) {
			
		if (szStart.getDate() == szDate) {				
			if (szStart.getMonth() == szMonth) {				
				if (szStart.getFullYear() == szYear) {
					todayx = x;
					blntoday = 1;
				}
			}
		}
		szCal = szCal + "<td ";
		if(intCount == 0){
			if (szStart.getMonth() == (szMonth)) {
				szCal = szCal + "onclick=\"setVal('" + (szStart.getMonth() + 1 ) + "/" + szStart.getDate() + "/" + szStart.getFullYear() + "','0')\"";
			} 
			else {
				szCal = szCal + "onclick=\"MakeCal('" + (szStart.getMonth() + 1 ) + "/" + szStart.getDate() + "/" + szStart.getFullYear() + "','0','"+lan+"')\"";
			}
		}
		if(intCount == 1){
			if (szStart.getMonth() == (szMonth)) {
				szCal = szCal + "onclick=\"setVal('" + (szStart.getMonth() + 1 ) + "/" + szStart.getDate() + "/" + szStart.getFullYear() + "','1')\"";
			} 
			else {
				szCal = szCal + "onclick=\"MakeCal('" + (szStart.getMonth() + 1 ) + "/" + szStart.getDate() + "/" + szStart.getFullYear() + "','1','"+lan+"')\"";
			}
		}
		if(intCount == 2){
			if (szStart.getMonth() == (szMonth)) {
				szCal = szCal + "onclick=\"setVal('" + (szStart.getMonth() + 1 ) + "/" + szStart.getDate() + "/" + szStart.getFullYear() + "','2')\"";
			} 
			else {
				szCal = szCal + "onclick=\"MakeCal('" + (szStart.getMonth() + 1 ) + "/" + szStart.getDate() + "/" + szStart.getFullYear() + "','2','"+lan+"')\"";
			}
		}
		if(intCount == 3){
			if (szStart.getMonth() == (szMonth)) {
				szCal = szCal + "onclick=\"setVal('" + (szStart.getMonth() + 1 ) + "/" + szStart.getDate() + "/" + szStart.getFullYear() + "','3')\"";
			} 
			else {
				szCal = szCal + "onclick=\"MakeCal('" + (szStart.getMonth() + 1 ) + "/" + szStart.getDate() + "/" + szStart.getFullYear() + "','3','"+lan+"')\"";
			}
		}
		if(intCount == 4){
			if (szStart.getMonth() == (szMonth)) {
				szCal = szCal + "onclick=\"setVal('" + (szStart.getMonth() + 1 ) + "/" + szStart.getDate() + "/" + szStart.getFullYear() + "','4')\"";
			} 
			else {
				szCal = szCal + "onclick=\"MakeCal('" + (szStart.getMonth() + 1 ) + "/" + szStart.getDate() + "/" + szStart.getFullYear() + "','4','"+lan+"')\"";
			}
		}
		if(intCount == 5){
			if (szStart.getMonth() == (szMonth)) {
				szCal = szCal + "onclick=\"setVal('" + (szStart.getMonth() + 1 ) + "/" + szStart.getDate() + "/" + szStart.getFullYear() + "','5')\"";
			} 
			else {
				szCal = szCal + "onclick=\"MakeCal('" + (szStart.getMonth() + 1 ) + "/" + szStart.getDate() + "/" + szStart.getFullYear() + "','5','"+lan+"')\"";
			}
		}
		if (blntoday == 1)
			szCal = szCal + " id=" + szId + "><center><font color = Yellow>" + szStart.getDate() + "</font></td>";
		else
			szCal = szCal + " id=" + szId + "><center>" + szStart.getDate() + "</td>";
			
		if (x % 7 == 0) {
			szCal = szCal + "</tr>"
		}
	}
	szCal = szCal + "</tr>";
	szCal = szCal + "</table></td></tr>";
	szCal = szCal + "<tr align=center><td><table border=0 bgcolor=#a2c8f2 cellspacing=0 cellpadding=3>";
	szCal = szCal + "<tr>";
	if(intCount == 0){
		szCal = szCal + "<td style=\"cursor:hand;\"><img src='" + strRootDir + "images/leftendbar.gif' border=0 onclick=\"MakeCal('" + (PrevMonth + 2) + "/1/" + (PrevYear - 1) + "','0','"+lan+"')\"></td>";
		szCal = szCal + "<td style=\"cursor:hand;\"><img src='" + strRootDir + "images/leftbar.gif' border=0 onclick=\"MakeCal('" + (PrevMonth + 1) + "/1/" + PrevYear + "','0','"+lan+"')\"></td>";
		szCal = szCal + "<td style=\"cursor:hand;\"><img src='" + strRootDir + "images/rightbar.gif' border=0 onclick=\"MakeCal('" + (NextMonth + 1) + "/1/" + NextYear + "','0','"+lan+"')\"></td>";
		szCal = szCal + "<td style=\"cursor:hand;\"><img src='" + strRootDir + "images/rightendbar.gif' border=0 onclick=\"MakeCal('" + NextMonth + "/1/" + (NextYear + 1) + "','0','"+lan+"')\"></td>";
	}
	if(intCount == 1){
		szCal = szCal + "<td style=\"cursor:hand;\"><img src='" + strRootDir + "images/leftendbar.gif' border=0 onclick=\"MakeCal('" + (PrevMonth + 2) + "/1/" + (PrevYear - 1) + "','1','"+lan+"')\"></td>";
		szCal = szCal + "<td style=\"cursor:hand;\"><img src='" + strRootDir + "images/leftbar.gif' border=0 onclick=\"MakeCal('" + (PrevMonth + 1) + "/1/" + PrevYear + "','1','"+lan+"')\"></td>";
		szCal = szCal + "<td style=\"cursor:hand;\"><img src='" + strRootDir + "images/rightbar.gif' border=0 onclick=\"MakeCal('" + (NextMonth + 1) + "/1/" + NextYear + "','1','"+lan+"')\"></td>";
		szCal = szCal + "<td style=\"cursor:hand;\"><img src='" + strRootDir + "images/rightendbar.gif' border=0 onclick=\"MakeCal('" + NextMonth + "/1/" + (NextYear + 1) + "','1','"+lan+"')\"></td>";
	}
	if(intCount == 2){
		szCal = szCal + "<td style=\"cursor:hand;\"><img src='" + strRootDir + "images/leftendbar.gif' border=0 onclick=\"MakeCal('" + (PrevMonth + 2) + "/1/" + (PrevYear - 1) + "','2','"+lan+"')\"></td>";
		szCal = szCal + "<td style=\"cursor:hand;\"><img src='" + strRootDir + "images/leftbar.gif' border=0 onclick=\"MakeCal('" + (PrevMonth + 1) + "/1/" + PrevYear + "','2','"+lan+"')\"></td>";
		szCal = szCal + "<td style=\"cursor:hand;\"><img src='" + strRootDir + "images/rightbar.gif' border=0 onclick=\"MakeCal('" + (NextMonth + 1) + "/1/" + NextYear + "','2','"+lan+"')\"></td>";
		szCal = szCal + "<td style=\"cursor:hand;\"><img src='" + strRootDir + "images/rightendbar.gif' border=0 onclick=\"MakeCal('" + NextMonth + "/1/" + (NextYear + 1) + "','2','"+lan+"')\"></td>";
	}
	if(intCount == 3){
		szCal = szCal + "<td style=\"cursor:hand;\"><img src='" + strRootDir + "images/leftendbar.gif' border=0 onclick=\"MakeCal('" + (PrevMonth + 2) + "/1/" + (PrevYear - 1) + "','3','"+lan+"')\"></td>";
		szCal = szCal + "<td style=\"cursor:hand;\"><img src='" + strRootDir + "images/leftbar.gif' border=0 onclick=\"MakeCal('" + (PrevMonth + 1) + "/1/" + PrevYear + "','3','"+lan+"')\"></td>";
		szCal = szCal + "<td style=\"cursor:hand;\"><img src='" + strRootDir + "images/rightbar.gif' border=0 onclick=\"MakeCal('" + (NextMonth + 1) + "/1/" + NextYear + "','3','"+lan+"')\"></td>";
		szCal = szCal + "<td style=\"cursor:hand;\"><img src='" + strRootDir + "images/rightendbar.gif' border=0 onclick=\"MakeCal('" + NextMonth + "/1/" + (NextYear + 1) + "','3','"+lan+"')\"></td>";
	}
	if(intCount == 4){
		szCal = szCal + "<td style=\"cursor:hand;\"><img src='" + strRootDir + "images/leftendbar.gif' border=0 onclick=\"MakeCal('" + (PrevMonth + 2) + "/1/" + (PrevYear - 1) + "','4','"+lan+"')\"></td>";
		szCal = szCal + "<td style=\"cursor:hand;\"><img src='" + strRootDir + "images/leftbar.gif' border=0 onclick=\"MakeCal('" + (PrevMonth + 1) + "/1/" + PrevYear + "','4','"+lan+"')\"></td>";
		szCal = szCal + "<td style=\"cursor:hand;\"><img src='" + strRootDir + "images/rightbar.gif' border=0 onclick=\"MakeCal('" + (NextMonth + 1) + "/1/" + NextYear + "','4','"+lan+"')\"></td>";
		szCal = szCal + "<td style=\"cursor:hand;\"><img src='" + strRootDir + "images/rightendbar.gif' border=0 onclick=\"MakeCal('" + NextMonth + "/1/" + (NextYear + 1) + "','4','"+lan+"')\"></td>";
	}
	if(intCount == 5){
		szCal = szCal + "<td style=\"cursor:hand;\"><img src='" + strRootDir + "images/leftendbar.gif' border=0 onclick=\"MakeCal('" + (PrevMonth + 2) + "/1/" + (PrevYear - 1) + "','5','"+lan+"')\"></td>";
		szCal = szCal + "<td style=\"cursor:hand;\"><img src='" + strRootDir + "images/leftbar.gif' border=0 onclick=\"MakeCal('" + (PrevMonth + 1) + "/1/" + PrevYear + "','5','"+lan+"')\"></td>";
		szCal = szCal + "<td style=\"cursor:hand;\"><img src='" + strRootDir + "images/rightbar.gif' border=0 onclick=\"MakeCal('" + (NextMonth + 1) + "/1/" + NextYear + "','5','"+lan+"')\"></td>";
		szCal = szCal + "<td style=\"cursor:hand;\"><img src='" + strRootDir + "images/rightendbar.gif' border=0 onclick=\"MakeCal('" + NextMonth + "/1/" + (NextYear + 1) + "','5','"+lan+"')\"></td>";
	}
	szCal = szCal + "</tr>";
	szCal = szCal +"</table></td></tr>"
	szCal = szCal + "</table></td></tr>";
	szCal = szCal + "</table>";
	szCal = szCal + "<iframe id=\"calfram\" name=\"calfram\"  src=\"javascript:false\" style=\"POSITION: absolute; visibility:inherit;  ;top:0;left:0;width:150;height:200; z-index:-1; filter='progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)';\">";
	szCal = szCal + "</iframe>";
	calendar.innerHTML = szCal;
	for (x=intDay; x>0; x--) {
		eval(MakeString(PrevMonth) + x + ".style.color = \"909090\"")
	}
	for (x=max; x<43; x++) {
		eval(MakeString(NextMonth) + x + ".style.color = \"909090\"")
	}
		//susu2006-4-11modify
	//if (szMonth == today.getMonth()) {
	//	if (szYear == today.getFullYear()) {
	if (szMonth == szMonth) {
		if (szYear == szYear) {
				eval(MakeString(szMonth) + todayx + ".style.backgroundColor = \"#7F7F7F\"");
				eval(MakeString(szMonth) + todayx + ".style.Color = \"yellow\"");
		}
	}
	tblCal.style.color = "#00009F";
	tblCal.style.fontFamily = "arial";
	tblCal.style.cursor = "hand";
	tblCal.style.fontSize = "10";
	rowTitle.style.backgroundColor = "#8080ff";
	event.cancelBubble = true;
}

function MakeString(intMonth) {
	var Month
	switch (intMonth) {
		case 0 :
			Month = "JANUARY";
			break;
		case 1 :
			Month = "FEBUARY";
			break;
		case 2 :
			Month = "MARCH";
			break;
		case 3 :
			Month = "APRIL";
			break;
		case 4 :
			Month = "MAY";
			break;
		case 5 :
			Month = "JUNE";
			break;
		case 6 :
			Month = "JULY";
			break;
		case 7 :
			Month = "AUGUST";
			break;
		case 8  :
			Month = "SEPTEMBER";
			break;
		case 9 :
			Month = "OCTOBER";
			break;
		case 10 :
			Month = "NOVEMBER";
			break;
		case 11 :
			Month = "DECEMBER";
	}
	return (Month);
}

function MakeStringT(intMonth) {
	var Month
	switch (intMonth) {
		case 0 :
			Month = "一月";
			break;
		case 1 :
			Month = "二月";
			break;
		case 2 :
			Month = "三月";
			break;
		case 3 :
			Month = "四月";
			break;
		case 4 :
			Month = "五月";
			break;
		case 5 :
			Month = "六月";
			break;
		case 6 :
			Month = "七月";
			break;
		case 7 :
			Month = "八月";
			break;
		case 8  :
			Month = "九月";
			break;
		case 9 :
			Month = "十月";
			break;
		case 10 :
			Month = "十一月";
			break;
		case 11 :
			Month = "十二月";
	}
	return (Month);
}

function keepCal() {
	event.cancelBubble = true;
}

function public_get_txtDate() {
    return txtDate;
}

function public_get_value() {
    return txtDate.value;
}
function srcMakeCal(date,src1) {
   var z1, z2,blntoday
   var today = new Date();
    if (date == null) {
       var szMonth = today.getMonth();
       var szYear = today.getFullYear();
       var szDate = today.getDate();
   } 
   else {
       z1 = date.indexOf("/");
       z2 = date.indexOf("/", 3);
       var szMonth = Number(date.slice(0,z1)) - 1;
       var szYear = Number(date.slice(z2 + 1, z2+ 5));
       if(szMonth < 0){
           szMonth = 11;
           szYear = szYear - 1;
       }
       else if(szMonth > 11){
           szMonth = 0;
           szYear = szYear + 1;
       }
       var szDate = Number(date.slice(z1 + 1,z2));
   }
   var x, intTemp, szId, max, todayx, startx;
   var szStart = new Date(szYear, szMonth, 1);
   var intDay = szStart.getDay();
   var blSet = false;
   var szCal;
   szStart.setMonth(szMonth - 1);
   var PrevMonth = szStart.getMonth();
   var PrevYear = szStart.getFullYear();
   szStart = new Date(szYear, szMonth, 1);
   szStart.setMonth(szMonth + 1);
   var NextMonth = szStart.getMonth();
   var NextYear = szStart.getFullYear();
   var strRootDir = GetRootDir();
   szStart = new Date(szYear, szMonth, 1);
   szCal = "" ;
   szCal = szCal + "<table id=tblBor width=102 border=0 bgcolor=#00009F cellspacing=0 cellpadding=3><tr><td>";
   szCal = szCal + "<table width=100 width=100 border=0 bgcolor=#a2c8f2 cellspacing=0 cellpadding=3><tr><td>"
   szCal = szCal + "<table id=tblCal width=100 border=0 bgcolor=#a2c8f2 style=\"cursor:default;\" cellspacing=0 cellpadding=3>";
   szCal = szCal + "<tr><td style=\"cursor:default;\">&nbsp</td>";
   if (szStart.getMonth() == (szMonth))
       szCal = szCal + "<td colspan=5 align=center id=title style=\"cursor:default;\">" +"<font color=#00009F>"+ MakeStringT(szMonth)+"</Font>" + " " +"<Font Color =black>"+ szYear + "年"+"</font>"+"</td>";
   else
       szCal = szCal + "<td colspan=5 align=center id=title style=\"cursor:default;\">" +"<font color=#7F7F7F>"+ MakeStringT(szMonth)+"</Font>" + " " +"<Font Color =black>"+ szYear + "年"+"</font>"+"</td>";
   szCal = szCal + "<tr id=rowTitle style=\"cursor:default;\"><td><font color=black>日</font></td><td><font color=black>一</font></td><td><font color=black>二</font></td><td><font color=black>三</font></td><td><font color=black>四</font></td><td><font color=black>五</font></td><td><font color=black>六</font></td></tr>";
   for (x=1; x<43; x++) {
       if (x % 7 == 1) {
           szCal = szCal + "<tr>"
       }
       szStart = new Date(szYear, szMonth, 1);
       intTemp = (-(intDay - x));
       szStart.setDate(intTemp);
       szId = MakeString(szStart.getMonth()) + x;
       if (!blSet) {
           if (szStart.getMonth() == (szMonth + 1)) {
               blSet = true;
               max = x;
           }
           if (szStart.getFullYear() == (szYear + 1)) {
               blSet = true;
               max = x;
           }
       }
       blntoday = 0;
       if (szStart.getDate() == szDate) {
           if (szStart.getMonth() == szMonth) {
               if (szStart.getFullYear() == szYear) {
                   todayx = x;
                   blntoday = 1;
               }
           }
       }
       szCal = szCal + "<td ";
          if (szStart.getMonth() == (szMonth)) {
               szCal = szCal + "onclick=\"setVal('" + (szStart.getMonth() + 1 ) + "/" + szStart.getDate() + "/" + szStart.getFullYear() + "','"+src1+"')\"";
           } 
           else {
               szCal = szCal + "onclick=\"srcMakeCal('" + (szStart.getMonth() + 1 ) + "/" + szStart.getDate() + "/" + szStart.getFullYear() + "','"+src1+"')\"";
           }
       if (blntoday == 1)
           szCal = szCal + " id=" + szId + "><center><font color = Yellow>" + szStart.getDate() + "</font></td>";
       else
           szCal = szCal + " id=" + szId + "><center>" + szStart.getDate() + "</td>";
       if (x % 7 == 0) {
           szCal = szCal + "</tr>"
       }
   }
   szCal = szCal + "</tr>";
   szCal = szCal + "</table></td></tr>";
   szCal = szCal + "<tr align=center><td><table border=0 bgcolor=#a2c8f2 cellspacing=0 cellpadding=3>";
   szCal = szCal + "<tr>";
       szCal = szCal + "<td style=\"cursor:hand;\"><img src='" + strRootDir + "images/leftendbar.gif' border=0 onclick=\"srcMakeCal('" + (PrevMonth + 2) + "/1/" + (PrevYear - 1) + "','"+src1+"')\"></td>";
       szCal = szCal + "<td style=\"cursor:hand;\"><img src='" + strRootDir + "images/leftbar.gif' border=0 onclick=\"srcMakeCal('" + (PrevMonth + 1) + "/1/" + PrevYear + "','"+src1+"')\"></td>";
       szCal = szCal + "<td style=\"cursor:hand;\"><img src='" + strRootDir + "images/rightbar.gif' border=0 onclick=\"srcMakeCal('" + (NextMonth + 1) + "/1/" + NextYear + "','"+src1+"')\"></td>";
       szCal = szCal + "<td style=\"cursor:hand;\"><img src='" + strRootDir + "images/rightendbar.gif' border=0 onclick=\"srcMakeCal('" + NextMonth + "/1/" + (NextYear + 1) + "','"+src1+"')\"></td>";
   szCal = szCal + "</tr>";
   szCal = szCal +"</table></td></tr>"
   szCal = szCal + "</table></td></tr>";
   szCal = szCal + "</table>";
   szCal = szCal + "<iframe id=\"calfram\" name=\"calfram\"  src=\"javascript:false\" style=\"POSITION: absolute; visibility:inherit;  ;top:0;left:0;width:150;height:200; z-index:-1; filter='progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)';\">";
   szCal = szCal + "</iframe>";
   calendar.innerHTML = szCal;
   for (x=intDay; x>0; x--) {
       eval(MakeString(PrevMonth) + x + ".style.color = \"909090\"")
   }
   for (x=max; x<43; x++) {
       eval(MakeString(NextMonth) + x + ".style.color = \"909090\"")
   }
   if (szMonth == szMonth) {
       if (szYear == szYear) {
           eval(MakeString(szMonth) + todayx + ".style.backgroundColor = \"#7F7F7F\"");
           eval(MakeString(szMonth) + todayx + ".style.Color = \"yellow\"");
       }
   }
   tblCal.style.color = "#00009F";
   tblCal.style.fontFamily = "arial";
   tblCal.style.cursor = "hand";
   tblCal.style.fontSize = "10";
   rowTitle.style.backgroundColor = "#8080ff";
   event.cancelBubble = true;
}