 <!-- Hide from old browsers
 // Dynamic "Last Updated" dates - Last updated June 14, 2000
 // ----------------------------
 // This script reads in the "Last Modified" date of an HTML document
 // and displays the date and time inside of that HTML page.

 // Find the web browser's name to fix some Date object bugs later in the script.
 var browserName = navigator.appName;              

 // An array of the names of days of the week used in printing
 var days = new Array(8);
 days[1] = "Sunday";
 days[2] = "Monday";
 days[3] = "Tuesday";
 days[4] = "Wednesday";
 days[5] = "Thursday";
 days[6] = "Friday";
 days[7] = "Saturday";

 // An array of the names of months in the year used in printing
 var months = new Array(13);
 months[1] = "January";
 months[2] = "February";
 months[3] = "March";
 months[4] = "April";
 months[5] = "May";
 months[6] = "June";
 months[7] = "July";
 months[8] = "August";
 months[9] = "September";
 months[10] = "October";
 months[11] = "November";
 months[12] = "December";

 // Find the "Last Modified" date of the file in question, and parse for the different parts of the time
 var dateObj = new Date(document.lastModified);
 var weekday = days[dateObj.getDay() + 1];
 var month = months[dateObj.getMonth() + 1];
 var date = dateObj.getDate();
 var year = dateObj.getYear();

 // Netscape 4 reports 2000 as 100 in getYears(). This code fixes it.
 if(browserName == "Netscape" && year >= 100)
 {
    year = year + 1900;
 }

 // Netscape 3 reports parts of the date in error. This fixes it. However it only works between 2000-2100.
 if(browserName == "Netscape" && year < 99)
 {
    year = 2000 + year;                    // Fix Year
    var datecheck = dateObj.getDay() + 1;  // Fix Weekday
    if (datecheck == 1)
    {
       datecheck = 6;
    }
    if (datecheck == 2)
    {
       datecheck = 7;
    }
    if (datecheck > 2)
    {
       datecheck = datecheck - 2;
    }
    weekday = days[datecheck];
 }


 // Write the Footer and Date to the HTML page
 document.write('<a name="bottom"></a>');
 document.write('<!-- Footer Start-->');
 document.write('<center>');
 document.write('  <p>');
 document.write('<hr width="80%" size="2" color="#2B7A32">');
 document.write('  <span class="bottom">Compass Technologies International LC</a><br>');
 document.write('  <span class="bottom">4020 West Park View Lane</a><br>');
 document.write('  <span class="bottom">Glendale, Arizona 85310</a><br>');
 document.write('  <span class="bottom">(602) 549-2862</a><br>');
 document.write("  " + weekday + ", " + month + " " + date + ", " + year);
 document.write('  &nbsp; &nbsp; &copy;Copyright 2003.<br>All rights reserved.&nbsp; Web Site design by <a href="mailto:clsonline@cox.net" class="page">Circles, Lines, and Squares</a><br><br></span></p>');
 document.write('</center>');
 document.write('<!-- Footer End -->');
 // -->

