<!--
   document.write('<style type="text/css">');
	if (navigator.appName == "Microsoft Internet Explorer") {
		document.write('.f6         { font-family : Latha,aAvarangal,TheneeUniTx,TSCuthamba, TSCu_Paranar,  TAU_1_ELANGO_Barathi,TSCu_InaiMathi,TSCu_ArulMathi, TSCu_InaiKathir,InaiKathir_Unicode,Code2000,InaiMathi_Unicode,InaiKathir_Unicode,Arial Unicode MS, Arial, sans-serif; font-size : 0.7em;color:#333333;}');
		document.write('.f10b		{ font-family : Latha,aAvarangal,TheneeUniTx,TSCuthamba, TSCu_Paranar,  TAU_1_ELANGO_Barathi,TSCu_InaiMathi,TSCu_ArulMathi, TSCu_InaiKathir,InaiKathir_Unicode,Code2000,InaiMathi_Unicode,InaiKathir_Unicode,Arial Unicode MS, Arial, sans-serif; font-size : 0.9em;color:#000000;font-weight: bold;}');
		document.write('.f10		{ font-family : Latha,aAvarangal,TheneeUniTx,TSCuthamba, TSCu_Paranar,  TAU_1_ELANGO_Barathi,TSCu_InaiMathi,TSCu_ArulMathi, TSCu_InaiKathir,InaiKathir_Unicode,Code2000,InaiMathi_Unicode,InaiKathir_Unicode,Arial Unicode MS, Arial, sans-serif; font-size : 0.9em;color:#000000;}');
		document.write('.f9		    { font-family : Latha,aAvarangal,TheneeUniTx,TSCuthamba, TSCu_Paranar,  TAU_1_ELANGO_Barathi,TSCu_InaiMathi,TSCu_ArulMathi, TSCu_InaiKathir,InaiKathir_Unicode,Code2000,InaiMathi_Unicode,InaiKathir_Unicode,Arial Unicode MS, Arial, sans-serif; font-size : 0.8em;color:#4D565D;}');
		document.write('.f12 		{ font-family : Latha,aAvarangal,TheneeUniTx,TSCuthamba, TSCu_Paranar,  TAU_1_ELANGO_Barathi,TSCu_InaiMathi,TSCu_ArulMathi, TSCu_InaiKathir,InaiKathir_Unicode,Code2000,InaiMathi_Unicode,InaiKathir_Unicode,Arial Unicode MS, Arial, sans-serif; font-size : 0.95em;color:#000000;font-weight: bold;}');
		document.write('.f12_gray	{ font-family :Latha,aAvarangal,TheneeUniTx,TSCuthamba, TSCu_Paranar,  TAU_1_ELANGO_Barathi,TSCu_InaiMathi,TSCu_ArulMathi, TSCu_InaiKathir,InaiKathir_Unicode,Code2000,InaiMathi_Unicode,InaiKathir_Unicode,Arial Unicode MS, Arial, sans-serif; font-size : 0.95em;color:#768592;font-weight: bold;}');
		document.write('.f24 		{ font-family : Latha,aAvarangal,TheneeUniTx,TSCuthamba, TSCu_Paranar,  TAU_1_ELANGO_Barathi,TSCu_InaiMathi,TSCu_ArulMathi, TSCu_InaiKathir,InaiKathir_Unicode,Code2000,InaiMathi_Unicode,InaiKathir_Unicode,Arial Unicode MS, Arial, sans-serif; font-size : 1.5em;color:#000000;font-weight: bold;}');
		document.write('.f6e        { font-family :  Arial, sans-serif; font-size : 0.7em;color:#333333;}');
		document.write('.f10be		{ font-family :  Arial, sans-serif; font-size : 0.9em;color:#000000;font-weight: bold;}');
		document.write('.f10e		{ font-family :  Arial, sans-serif; font-size : 0.9em;color:#000000;}');
		document.write('.f9e		{ font-family :  Arial, sans-serif; font-size : 0.8em;color:#4D565D;}');
		document.write('.f12e 		{ font-family :  Arial, sans-serif; font-size : 0.95em;color:#000000;font-weight: bold;}');
		document.write('.f12_graye	{ font-family :  Arial Unicode MS, Arial, sans-serif; font-size : 0.95em;color:#768592;font-weight: bold;}');
		document.write('.f24e 		{ font-family :  Arial, sans-serif; font-size : 1.5em;color:#000000;font-weight: bold;}');
		document.write('a:link		{ color:#000099; text-decoration:underline; }');
		document.write('a:visited	{ color:#000099; text-decoration:underline; }');
		document.write('a:hover		{ color:#990000; text-decoration:underline; }');
		document.write('a:active	{ color:#000000; text-decoration:underline; }');
		document.write('a.help:link	{ color:#000099; text-decoration:none; }');
		document.write('a.help:visited	{ color:#000099; text-decoration:none; }');
		document.write('a.help:hover	{ color:#990000; text-decoration:none; }');
		document.write('a.help:active	{ color:#000000; text-decoration:none; }');
	} else {
		document.write('.f6         { font-family :  Latha, aAvarangal,TheneeUniTx,TSCuthamba, TSCu_Paranar, TAU_1_ELANGO_Barathi,TSCu_InaiMathi,TSCu_ArulMathi, TSCu_InaiKathir,InaiKathir_Unicode,Code2000,InaiMathi_Unicode,InaiKathir_Unicode,Arial Unicode MS, Arial, sans-serif; font-size : 0.7em;color:#333333;}');
		document.write('.f10b		{ font-family :  Latha, aAvarangal,TheneeUniTx,TSCuthamba, TSCu_Paranar, TAU_1_ELANGO_Barathi,TSCu_InaiMathi,TSCu_ArulMathi, TSCu_InaiKathir,InaiKathir_Unicode,Code2000,InaiMathi_Unicode,InaiKathir_Unicode,Arial Unicode MS, Arial, sans-serif; font-size : 0.9em;color:#000000;font-weight: bold;}');
		document.write('.f10		{ font-family :  Latha, aAvarangal,TheneeUniTx, TSCu_Paranar,TSCuthamba, TAU_1_ELANGO_Barathi,TSCu_InaiMathi,TSCu_ArulMathi, TSCu_InaiKathir,InaiKathir_Unicode,Code2000,InaiMathi_Unicode,InaiKathir_Unicode,Arial Unicode MS, Arial, sans-serif; font-size : 0.9em;color:#000000;}');
		document.write('.f9		    { font-family :  Latha, aAvarangal,TheneeUniTx, TSCu_Paranar,TSCuthamba, TAU_1_ELANGO_Barathi,TSCu_InaiMathi,TSCu_ArulMathi, TSCu_InaiKathir,InaiKathir_Unicode,Code2000,InaiMathi_Unicode,InaiKathir_Unicode,Arial Unicode MS, Arial, sans-serif; font-size : 0.8em;color:#4D565D;}');
		document.write('.f12 		{ font-family :  Latha, aAvarangal,TheneeUniTx, TSCu_Paranar, TSCuthamba,TAU_1_ELANGO_Barathi,TSCu_InaiMathi,TSCu_ArulMathi, TSCu_InaiKathir,InaiKathir_Unicode,Code2000,InaiMathi_Unicode,InaiKathir_Unicode,Arial Unicode MS, Arial, sans-serif; font-size : 0.95em;color:#000000;font-weight: bold;}');
		document.write('.f12_gray	{ font-family :  Latha, aAvarangal,TheneeUniTx, TSCu_Paranar,TSCuthamba, TAU_1_ELANGO_Barathi,TSCu_InaiMathi,TSCu_ArulMathi, TSCu_InaiKathir,InaiKathir_Unicode,Code2000,InaiMathi_Unicode,InaiKathir_Unicode,Arial Unicode MS, Arial, sans-serif; font-size : 0.95em;color:#768592;font-weight: bold;}');
		document.write('.f24 		{ font-family :  Latha, aAvarangal,TheneeUniTx,TSCuthamba, TSCu_Paranar, TAU_1_ELANGO_Barathi,TSCu_InaiMathi,TSCu_ArulMathi, TSCu_InaiKathir,InaiKathir_Unicode,Code2000,InaiMathi_Unicode,InaiKathir_Unicode,Arial Unicode MS, Arial, sans-serif; font-size : 1.5em;color:#000000;font-weight: bold;}');
		document.write('.f6e        { font-family :  Arial, sans-serif; font-size : 0.7em;color:#333333;}');
		document.write('.f10be		{ font-family :  Arial, sans-serif; font-size : 0.9em;color:#000000;font-weight: bold;}');
		document.write('.f10e		{ font-family :  Arial, sans-serif; font-size : 0.9em;color:#000000;}');
		document.write('.f9e		{ font-family :  Arial, sans-serif; font-size : 0.8em;color:#4D565D;}');
		document.write('.f12e 		{ font-family :  Arial, sans-serif; font-size : 0.95em;color:#000000;font-weight: bold;}');
		document.write('.f12_graye	{ font-family :  Arial Unicode MS, Arial, sans-serif; font-size : 0.95em;color:#768592;font-weight: bold;}');
		document.write('.f24e 		{ font-family :  Arial, sans-serif; font-size : 1.5em;color:#000000;font-weight: bold;}');
		document.write('a:link		{ color:#000099; text-decoration:underline; }');
		document.write('a:visited	{ color:#000099; text-decoration:underline; }');
		document.write('a:hover		{ color:#990000; text-decoration:underline; }');
		document.write('a:active	{ color:#000000; text-decoration:underline; }');
		document.write('a.help:link	{ color:#000099; text-decoration:none; }');
		document.write('a.help:visited	{ color:#000099; text-decoration:none; }');
		document.write('a.help:hover	{ color:#990000; text-decoration:none; }');
		document.write('a.help:active	{ color:#000000; text-decoration:none; }');
	}
	document.write('</style>');


/* you absolutely, positively must change the value for dateType below to match your
   "Date Header Format" as set in your blog's Settings
   if your date format is:
   "Sunday, June 24, 2001" use 1
   "6/24/2001" use 2
   "6.24.2001" use 3
   "20010624" use 4
   "2001/06/24" use 5
   "2001-06-24" use 6
   "24.6.01" use 7
   "June 24, 2001" use 8
   "june 24, 2001" use 9
   something else, change to one of those and use the right number! */

dateType = "1";

tableFontStyle = "10px Verdana";
tableBackgroundStyle = "#eeeeee";
tableBackgroundLinkStyle = "#ffff99";
// tableBorderStyle is the CSS style applied to the outside of the table, and around each cell
tableBorderStyle = "1px solid black";
// tableBorder is the ugly old HTML border attribute
tableBorder = "0";

/* change the lowMonthNames if you use a non-English language and you use one of the date styles
   with the month name in the date, but be sure they are in lower case (these are used for
   matching, not displaying */

lowMonthNames = new Array("january", "february", "march", "april", "may", "june", "july", "august", "september", "october", "november", "december");


// you can change the displayMonthNames and displayWeekdayNames to anything that suits you

displayMonthNames = new Array("&#2972;&#2985;&#2997;&#2992;&#3007;", "&#2986;&#3014;&#2986;&#3021;&#2992;&#2997;&#2992;&#3007;", "&#2990;&#3006;&#2992;&#3021;&#2970;&#3021;", "&#2959;&#2986;&#3021;&#2992;&#2994;&#3021;", "&#2990;&#3015;", "&#2972;&#3010;&#2985;&#3021;", "&#2972;&#3010;&#2994;&#3016;", "&#2963;&#2965;&#3000;&#3021;&#2975;&#3021;", "&#2970;&#3014;&#2986;&#3021;&#2975;&#2990;&#3021;&#2986;&#2992;&#3021;", "&#2963;&#2965;&#3021;&#2975;&#3019;&#2986;&#2992;&#3021;", "&#2984;&#2997;&#2990;&#3021;&#2986;&#2992;&#3021;", "&#2975;&#3007;&#2970;&#2990;&#3021;&#2986;&#2992;&#3021;");
displayWeekdayNames = new Array("&#2974;&#3006;", "&#2980;&#3007;", "&#2970;&#3014;", "&#2986;&#3009;", "&#2997;&#3007;", "&#2997;&#3014;", "&#2970;");

function doOnloadTasks(){
 drawCalendar();
}

links = new Array();
inArchives = false;
if (location.href.indexOf("bchera_archive.html") > -1) inArchives = true;

function getPostDate(postDateString) {
  postDate = new Date(postDateString);
  document.write(displayMonthNames[postDate.getMonth()] + " " + postDate.getDate() + ", " + postDate.getFullYear());
}

function getPostTime(postTimeString) {
  hourIndex = postTimeString.indexOf(":");
  hour = postTimeString.substring(0, hourIndex);
  if (postTimeString.substr(postTimeString.length - 2).toUpperCase() == "AM") {
    isAM = true;
  } else {
    isAM = false;
  }
  if ( (hour < 6 ) && (isAM)) {
    tamilAMPM = "&#2949;&#2980;&#3007;&#2965;&#3006;&#2994;&#3016;";
  } else if ( (hour < 12) && (isAM)) {
    tamilAMPM = "&#2965;&#3006;&#2994;&#3016;";
  } else if ( (hour < 4) && (!isAM)) {
    tamilAMPM = "&#2990;&#2980;&#3007;&#2991;&#2990;&#3021;";
  } else if ( (hour < 7) && (!isAM)) {
    tamilAMPM = "&#2990;&#3006;&#2994;&#3016;";
  } else if ( (hour < 12) && (!isAM)) {
    tamilAMPM = "&#2951;&#2992;&#2997;&#3009;";
  } else if ( (hour == 12) && (isAM)) {
    tamilAMPM = "&#2984;&#2995;&#3021;&#2995;&#3007;&#2992;&#2997;&#3009;";
  } else if ( (hour == 12) && (!isAM)) {
    tamilAMPM = "&#2990;&#2980;&#3007;&#2991;&#2990;&#3021;";
  }
  document.write("&#2984;&#3015;&#2992;&#2990;&#3021;: " + tamilAMPM + " " + postTimeString.substr(0, postTimeString.length - 3));
}

function datesplitter(date, datetype){
 switch(datetype){
  case "1" :
   date = date.substring(date.indexOf(",")+2);
   year = date.substring(date.length-4);
   day = date.substring(date.indexOf(" ")+1,date.indexOf(","));
   wordMonth = date.substring(0,date.indexOf(" "));
   wordMonth = wordMonth.toLowerCase();
   for (i = 0; i < 12; i++){
    if (lowMonthNames[i] == wordMonth){
     month = i;
     i = 12;
    }
   }
   break;
  case "2" :
   year = date.substring(date.length-4);
   month = date.substring(0,date.indexOf("/"))-1;
   day = date.substring(date.indexOf("/")+1,date.lastIndexOf("/"));
   break;
  case "3" :
   year = date.substring(date.length-4);
   month = date.substring(0,date.indexOf("."))-1;
   day = date.substring(date.indexOf(".")+1,date.lastIndexOf("."));
   break;
  case "4" :
   year = date.substring(0,4);
   month = date.substring(4,6);
   if (month.charAt(0) == "0") month = month.substring(1);
   month = month-1;
   day = date.substring(6);
   if (day.charAt(0) == "0") day = day.substring(1);
   break;
  case "5" :
   year = date.substring(0,4);
   month = date.substring(date.indexOf("/")+1,date.lastIndexOf("/"));
   if (month.charAt(0) == "0") month = month.substring(1);
   month = month-1;
   day = date.substring(date.lastIndexOf("/")+1);
   if (day.charAt(0) == "0") day = day.substring(1);
   break;
  case "6" :
   year = date.substring(0,4);
   month = date.substring(date.indexOf("-")+1,date.lastIndexOf("-"));
   if (month.charAt(0) == "0") month = month.substring(1);
   month = month-1;
   day = date.substring(date.lastIndexOf("-")+1);
   if (day.charAt(0) == "0") day = day.substring(1);
   break;
  case "7" :
   year = date.substring(date.length-2);
   if (year.charAt(0) == "0") year = year.charAt(1);
   year = parseInt(year);
   if (year < 50) year = 2000 + year; else year = 1900 + year;
   month = date.substring(date.indexOf(".")+1,date.lastIndexOf("."))-1;
   day = date.substring(0,date.indexOf("."));
   break;
  case "8" :
   year = date.substring(date.length-4);
   day = date.substring(date.indexOf(" ")+1,date.indexOf(","));
   wordMonth = date.substring(0,date.indexOf(" "));
   wordMonth = wordMonth.toLowerCase();
   for (i = 0; i < 12; i++){
    if (lowMonthNames[i] == wordMonth){
     month = i;
     i = 12;
    }
   }
   break;
  case "9" :
   year = date.substring(date.length-4);
   day = date.substring(date.indexOf(" ")+1,date.indexOf(","));
   wordMonth = date.substring(0,date.indexOf(" "));
   for (i = 0; i < 12; i++){
    if (lowMonthNames[i] == wordMonth){
     month = i;
     i = 12;
    }
   }
   break;
  default :
   year = 1980;
   month = 1;
   day = 1;
 }
oDate = new Date(year, month, day);
return oDate;
}

function countDays(date){
 // given a date object, return number of days in that month
 monthcount = new Array ("31", "28", "31", "30", "31", "30", "31", "31", "30", "31", "30", "31");
 year = date.getFullYear();
 if (year % 4 == 0){
  if (year % 100 == 0){
   if (year % 400 == 0){
    monthcount[1]++;
    }
   }
  else {
   monthcount[1]++;
  }
 }
 return monthcount[date.getMonth()];
}


function drawCalendar(){
// only executes in a DOM compliant browser
if (document.getElementById){
if (document.createElement){
// IE is just barely compliant, if you use a deprecated style of attribute setting
navigator.appVersion.indexOf("MSIE") > 0 ? isIE = true : isIE = false;
if (inArchives) {
 calStart = realDate;
} else {
 calStart = new Date();
}
 calStart.setDate(1);
 dayCount = countDays(calStart);
 leadblanks = calStart.getDay();
 oTable = document.createElement("TABLE");
 oTBody = document.createElement("TBODY");
 oRow = document.createElement("TR");
 oCell = document.createElement("TD");
 if (isIE)
  oCell.colSpan="7";
 else
  oCell.setAttribute("colspan", "7");
 oDateLabel = document.createTextNode(displayMonthNames[calStart.getMonth()] + " " + calStart.getFullYear());
 oCell.appendChild(oDateLabel);
 oRow.appendChild(oCell);
 oTBody.appendChild(oRow);
 oRow = document.createElement("TR");
 for (i=0;i<7;i++){
  oCell = document.createElement("TD");
  oCell.style.border = tableBorderStyle; 
  oDay = document.createTextNode(displayWeekdayNames[i]);
  oCell.appendChild(oDay);
  oRow.appendChild(oCell);
 }
 oTBody.appendChild(oRow);
 dayindex = 1;
 while (dayindex <= dayCount){
  oRow = document.createElement("TR");
  for (i=0;i<leadblanks;i++){
   oCell = document.createElement("TD");
   oCell.style.border = tableBorderStyle; 
   if (isIE)
    oSpace = document.createTextNode(" ");
   else
    {
     oSpace = document.createTextNode("*");
     oCell.style.color = tableBackgroundStyle;
    }
   oCell.appendChild(oSpace);
   oRow.appendChild(oCell);
   }
  for (b=leadblanks;b<7;b++){
   oCell = document.createElement("TD");
   oCell.style.border = tableBorderStyle;
   if (links[dayindex] != null){
    oLink = document.createElement("A");
    if (isIE)
     oLink.href=links[dayindex];
    else
     oLink.setAttribute("href", links[dayindex]);
    oLinkText = document.createTextNode(dayindex);
    oLink.appendChild(oLinkText);
    oCell.appendChild(oLink);
    oCell.style.background = tableBackgroundLinkStyle;
    }
   else
    if (dayindex <= dayCount){
     oDayText = document.createTextNode(dayindex);
     oCell.appendChild(oDayText);
     }
    else {
     if (isIE)
      oSpace = document.createTextNode(" ");
     else
      {
       oSpace = document.createTextNode("*");
       oCell.style.color = tableBackgroundStyle;
      }
     oCell.appendChild(oSpace);
     }
   oRow.appendChild(oCell);
   oTBody.appendChild(oRow);
   dayindex++;
   }
   leadblanks = 0;
  }
oTBody.style.font = tableFontStyle;
oTBody.style.textAlign = "center"; 
oTable.appendChild(oTBody);
if (isIE)
 oTable.style.background = tableBackgroundStyle;
else
 oTable.setAttribute("bgColor", tableBackgroundStyle);
oTable.border = tableBorder;
oTable.style.border = tableBorderStyle;
calendarSpot = document.getElementById("CalendarHere");
calendarSpot.appendChild(oTable);
}
}
}


// -->