document.write("<table width=100%><tr valign=top><td width='155' bgcolor='#D1FFBD'>")
document.write("<center><img src='eqlogo.gif' alt='Environmental Quescense'><br>");
document.write("<br />");
document.write("<div class=\"nav\"");
document.write("<br />");
document.write("<a class='nav' href='index.htm'><img src='eq.gif'>Home Page</a> <br />");
document.write("<a class='nav' href='about.htm'>About <img src='eq.gif'></a> <br />");
document.write("<br />");
document.write("<b><a class='nav' href='trm.htm'><img src='eq.gif'> Recovery Services</a></b><br />");
document.write("<a class='nav' href='testimonials.htm'><img src='eq.gif'> Testimonials</a><br />");
document.write("<a class='nav' href='deeds.htm'><img src='eq.gif'> Book of Deeds</a><br />");
document.write("<br />");
document.write("<b><a class='nav' href='inventory.htm'><img src='eq.gif'> Inventory Services</a></b><br />");
document.write("<a class='navred' href='forsale.htm'>Inventory For Sale</a><br /><br />");
document.write("<a class='navred' href='classifieds.htm'>EQ Classifieds</a><br />");
document.write("<br />");
document.write("<b><a class='nav' href='education.htm'><img src='eq.gif'> Educational Services</b><br />");
document.write("E = I X R<a/><br />");
document.write("<br />");
document.write("<a class='nav' href='faq.htm'><img src='eq.gif'> FAQs</a> <br />");
document.write("<br />");
document.write("<a class='nav' href='community.htm'>Join <img src='eq.gif'> Online at<br />Community Forum</a><br />");
document.write("<br />");
document.write("<a class='nav' href='send.htm'>Send <img src='eq.gif'> to a Friend</a><br />");
document.write("<br />");
document.write("<a class='nav' href='links.htm'>Links</a><br />");
document.write("<br />");
document.write("<a class='nav' href='search.htm'>Search This Site</a><br />");
document.write("<br />");


document.write("</td><td>");
// First, we get the current time and date by creating a new Date object
   Today = new Date();
//
// Then we find out the hour of the day (0-23) using the getHours method
   h = Today.getHours();
//
//  -->

d = new Array(
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
);
m = new Array(
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December"
);

today = new Date();
day = today.getDate();
year = today.getYear();

if (year < 2000)    // Y2K Fix, Isaac Powell
year = year + 1900; // http://onyx.idbsu.edu/~ipowell

end = "th";
if (day==1 || day==21 || day==31) end="st";
if (day==2 || day==22) end="nd";
if (day==3 || day==23) end="rd";
day+=end;

// Now we use document.write() to produce the greeting
document.write("<font size=2><B>");
   if (h<12) document.write("Good Morning!  ");
   else if (h<18) document.write("Good Afternoon!  ");
   else document.write("Good Evening!  ");

document.write("<font size=2>");
document.write(d[today.getDay()]+" "+m[today.getMonth()]+" ");
document.write(day+", " + year);
document.write("</B>&nbsp;");
document.write("<a href='mailto:eq4you@execulink.com'><img src=email.gif alt='Email' align=top width=34 height=34 border=0></a>&nbsp;<a href='mailto:eq4you@eq-trm.com'>eq4you@eq-trm.com</a><br>");
