// ------------------------------------------------------------------------------

// This javascript is for calculating the time and date

//   using the clients clock.  It then reformats the date

//   to be displayed in a table.

// ------------------------------------------------------------------------------



                                // Array for full names

                                var MonthNames = new Array ('January', 'February', 'March', 'April', 'May', 'June', 'July','August', 'September', 'October', 'November', 'December');

                                var DayNames = new Array ('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday');

                                var today, estTime, estDate;

                                var intYear = 0, strYear = "";

                                var strTime = "", strSuffix = "";

                                var strMinutes = "", intMinutes = 0;



                                // Get local time and the time in EST.

                                today= new Date();

                                // estTime = today.getTime() +  ((today.getTimezoneOffset() - 240) * 60  * 1000);   // For EDT

                                // estTime = today.getTime() +  ((today.getTimezoneOffset() - 300) * 60  * 1000);   // For EST

                                estTime = today.getTime() +  ((today.getTimezoneOffset() - 480) * 60  * 1000);   // For PST

                                // estTime = today.getTime() +  ((today.getTimezoneOffset() - 420) * 60  * 1000);   // PacificDaylightTime

                                

                                estDate = new Date(estTime);



                                // Get year (getFullYear() does not work on IE 3.0)

                                intYear = estDate.getYear();

                                if (intYear == 99) {

                                        strYear = "19" + estDate.getYear()

                                }

                                else {strYear = estDate.getFullYear()

                                }

        

                                // Format the hour

                                strTime ="";

                                intTime = estDate.getHours();   

                                if (intTime < 12) {

                                        strSuffix = " AM"

                                }

                                else {

                                        strSuffix = " PM"

                                        intTime = intTime - 12;

                                }

                                

                                if (intTime == 0) {

                                        intTime = 12;

                                }

                                

                                if (intTime < 10) {

                                        strTime = "0";

                                }

        

                                intMinutes = estDate.getMinutes();

                                if (intMinutes < 10) {

                                        strMinutes = "0";

                                }

                                else {

                                        strMinutes = "";

                                }

                                

                                // Write the tables data

                                document.write("<TD ALIGN=\"LEFT\"> <font face=\"ARIAL\" size=\"2\">" +  MonthNames[estDate.getMonth()] + " " + estDate.getDate() + ", " + strYear + "</TD>");

                                document.write("<TD ALIGN=\"RIGHT\"> <font face=\"ARIAL\" size=\"2\">" + DayNames[estDate.getDay()] + " - " + strTime + intTime + ":" + strMinutes +  intMinutes  + strSuffix + " </TD>");

