
// This file created by Paul Gilbert 
// Intellectual property rights retained.
// Use must be granted by author.

function Greet() {
	Today = new Date();
	time = Today.getHours();
	document.write("Good ");
	if (time < 6)
		document.write("(Early) Morning");
	else if (time < 12)
		document.write("Morning");
	else if (time <= 15)
		document.write("Afternoon");
	else
		document.write("Evening");
	document.writeln("!");
}

function WriteDate(){
	now = new Date();
	day = now.getDay();
	var dayname;
	if (day == 0) dayname = "Sunday";
	if (day == 1) dayname = "Monday";
	if (day == 2) dayname = "Tuesday";
	if (day == 3) dayname = "Wednesday";
	if (day == 4) dayname = "Thursday";
	if (day == 5) dayname = "Friday";
	if (day == 6) dayname = "Saturday";
	
	month = now.getMonth();
	var monthname;
	if (month == 0) monthname = "January";
	if (month == 1) monthname = "February";
	if (month == 2) monthname = "March";
	if (month == 3) monthname = "April";
	if (month == 4) monthname = "May";
	if (month == 5) monthname = "June";
	if (month == 6) monthname = "July";
	if (month == 7) monthname = "August";
	if (month == 8) monthname = "September";
	if (month == 9) monthname = "October";
	if (month == 10) monthname = "November";
	if (month == 11) monthname = "December";
	date = now.getDate();
	
	year = now.getYear();
	if (year < 1000) year += 1900;
	
	document.write("<span style='color: Black; font-size: 8pt;'>" + dayname + ", " + monthname + " " + date + ", " + year + "</span>");
}

function aweather(){

document.write("<a href='http://www.accuweather.com/adcbin/local_index?nav=home&thisZip=95603&partner=9602'><img src='http://www.accuweather.com/wxpost/small_byzip/95603/21/wxport.png'  border='0' alt='Auburn Weather' target='_blank'>");
}
function weather(){

document.write("<a href='http://www.wunderground.com/US/CA/Auburn.html' target='_blank'><IMG SRC='http://banners.wunderground.com/banner/infobox/US/CA/Auburn.gif' alt='Local Weather' border=0></a>");
}

function temp(){

document.write("<br><img src='http://banners.wunderground.com/banner/smalltemp/US/CA/Auburn.gif' height=28 width=53 border=0 alt='Current Temperature' align='left'></a>");
}



function drawCopyright(){

document.write("<CENTER><font face='Verdana, Georgia, Times New Roman, Times, serif' font size=-2>Auburn Online is a trademark of Auburn Online, Copyright © 1995-2002, All Rights Reserved</FONT></center>");
document.write("<CENTER><font face='Verdana, Georgia, Times New Roman, Times, serif' font size=-2>This site is hosted by <a href='http://www.marketrends.net' target='_new'>MarkeTrends Productions</a></FONT></center>");
}

function drawNotice(){

document.write("<center><font size='1'>Questions, problems<br>regarding this site?<br>Please contact the<br><A class='spagelink' href='mailto:paul_gilbert2001@yahoo.com'>Web Architect</a></font></center>");
}

function drawMenu(){

document.write('<form name="selecter1"><select name="select1" size=1 onchange="go1()">');
document.write('<option value=none>Please make a selection');
document.write('<option value=none>--------------------');
//document.write('<option value="http://www.auburn-ca.com/newsletter/index.htm">Subscribe to Auburn CA Newsletter');
document.write('<option value="http://www.auburn-ca.com/tourism/index.html">Visitors Information');
document.write('<option value="http://www.auburn-ca.com/business/index.html">Local Businesses');
document.write('<option value="http://www.auburn-ca.com/recreation/index.html">Recreation');
document.write('<option value="http://www.auburn-ca.com/events.html">Upcoming Events');
document.write('<option value="http://www.partyfoothills.com/entertainment.html">Entertainment Guide');
document.write('<option value="http://www.auburn-ca.com/realestate/index.html">Real Estate');
document.write('<option value="http://www.auburn-ca.com/realtors/index.html">Realtors & Brokers');
document.write('<option value="http://www.auburn-ca.com/tourism/lodging.htm">Inns & Lodging');
document.write('<option value="http://www.auburn-ca.com/tourism/lodging.htm">Bed & Breakfast');
document.write('<option value="http://www.auburn-ca.com/restaurants.html">Restaurant Guide / Current Menus');
document.write('<option value="http://www.partyfoothills.com/reviews/restaurantreview.cgi">Restaurant Review');
document.write('<option value="http://www.auburn-ca.com/movies.html">Local Movie Guide');
//document.write('<option value="http://www.auburn-ca.com/historical/">Historical Tour');
document.write('<option value="http://www.auburnchamber.net/calendar/calendar.pl" target="_blank">Local Events Calendar');
document.write('<option value="http://www.auburn-ca.com/weather/index.html">Weather');
document.write('<option value="http://www.auburn-ca.com/relocation/welcomesvc.htm">Welcome Service');
document.write('<option value="http://www.auburn-ca.com/relocation/churches.htm">Churches');
document.write('<option value="http://www.auburn-ca.com/relocation/clubs.htm">Clubs & Organizations');
document.write('<option value="http://www.auburnchamber.net">Auburn Chamber of Commerce');
document.write('<option value="http://www.auburn-ca.com/coa/index.htm">Auburn City Information');
document.write('<option value="http://www.auburn-ca.com/placerco/index.html">Placer County Links');
document.write('<option value="http://www.auburn-ca.com/auburnjournal/index.html">Auburn Journal Newspaper');
document.write('<option value="http://www.auburn-ca.com/guestbook/guestbook.html">Please sign our guestbook');
document.write('<option value="http://www.auburn-ca.com/bannercode.htm">Linking to auburn-ca.com');
document.write('</select>');
document.write('</form>');
	}
	