
document.write('<table width="100%"  style="height:26px; background-color:#d5e0e6;font-size:13px">');

document.write('<tr><td width="20%" align="left">');

function getCalendarDate()
{
   var months = new Array(13);
   months[0]  = "January";
   months[1]  = "February";
   months[2]  = "March";
   months[3]  = "April";
   months[4]  = "May";
   months[5]  = "June";
   months[6]  = "July";
   months[7]  = "August";
   months[8]  = "September";
   months[9]  = "October";
   months[10] = "November";
   months[11] = "December";
   var now         = new Date();
   var monthnumber = now.getMonth();
   var monthname   = months[monthnumber];
   var monthday    = now.getDate();
   var year        = now.getYear();
   if(year < 2000) { year = year + 1900; }
   var dateString = monthname + 
                    ' ' + 
                    monthday + 
                    ', ' + 
                    year;
   return dateString;
} // function getCalendarDate()

function getClockTime()
{
   var now    = new Date();
   var hour   = now.getHours();
   var minute = now.getMinutes();
   var second = now.getSeconds();
   var ap = "AM";
   if (hour   > 11) { ap = "PM";             }
   if (hour   > 12) { hour = hour - 12;      }
   if (hour   == 0) { hour = 12;             }
   if (hour   < 10) { hour   = "0" + hour;   }
   if (minute < 10) { minute = "0" + minute; }
   if (second < 10) { second = "0" + second; }
   var timeString = hour + 
                    ':' + 
                    minute + 
                    ':' + 
                    second + 
                    " " + 
                    ap;
   return timeString;
} // function getClockTime()

var calendarDate = getCalendarDate();
var clockTime = getClockTime();
document.write(calendarDate);
//document.write('<br>');
//document.write('Time is ' + clockTime);

document.write('</td>');

document.write('<td colspan="3" width="80%" align="right" height="20">');
document.write('<IMG style="vertical-align:middle;" SRC="/images/icon_cn_tc.gif" border="0" usemap="#lang_sw">	<map name="lang_sw"><area href="./cn/" shape="rect" coords="0, 0, 39, 12"><area href="./tc/" shape="rect" coords="45, 1, 82, 12"></map>');
document.write('<IMG SRC="images/spacer.gif" WIDTH=20 HEIGHT=1></td></tr></table> ');


