// DATE AND TIME

function TheDate() {
	today = new Date()
	TimeHrs = today.getHours(); TimeMin = today.getMinutes()

	DateMth = today.getMonth()+1; DateDate = today.getDate()
	DateYear = today.getYear(); DateDy = today.getDay()

	if (TimeHrs > 12) {
		TimeHrs = TimeHrs - 12
		if (TimeHrs == 12) { AmPm = "am" } else { AmPm = "pm" }
	} else {
		if (TimeHrs == 12) { AmPm = "pm" } else { AmPm = "am" }
	}

	if (TimeMin < 10) { TimeMin = "0" + TimeMin }

	if (DateMth == 1) { DateMonth = "January "
	} else if (DateMth == 2) { DateMonth = "February "
	} else if (DateMth == 3) { DateMonth = "March "
	} else if (DateMth == 4) { DateMonth = "April "
	} else if (DateMth == 5) { DateMonth = "May "
	} else if (DateMth == 6) { DateMonth = "June "
	} else if (DateMth == 7) { DateMonth = "July "	
	} else if (DateMth == 8) { DateMonth = "August "
	} else if (DateMth == 9) { DateMonth = "September "
	} else if (DateMth == 10) { DateMonth = "October "
	} else if (DateMth == 11) { DateMonth = "November "
	} else { DateMonth = "December " }

	if (DateDy == 0) { DateDay = "Sunday, "
	} else if (DateDy == 1) { DateDay = "Monday, "
	} else if (DateDy == 2) { DateDay = "Tuesday, "
	} else if (DateDy == 3) { DateDay = "Wednesday, "
	} else if (DateDy == 4) { DateDay = "Thursday, "
	} else if (DateDy == 5) { DateDay = "Friday, "
	} else { DateDay = "Saturday, " }

	brsr=navigator.appName
	if (brsr=="Netscape") {
		if (DateYear < 99) { DateYear = DateYear + 2000
		} else { DateYear = DateYear + 1900 }
	}

	document.write("<span class=\"smtext\">" + DateDay + DateMonth + DateDate + ", " + DateYear + "</span>")
}

// JUMP MENU

function GoLocation() {
	field = document.jumper.JumpMenu

	len = field.length
	for (a=0; a<len; a++) { if (field.options[a].selected) { break } }

	GoURL = field.options[a].value

	loc = location.href
	if (loc.search(/http:\/\/computer/) != -1) { GoURL = "/cp" + GoURL }
	if (a != 0) { location = GoURL }
}

function GoogleAd() {
google_ad_client = "pub-3324729820430688";
google_alternate_ad_url = "http://web.archive.org/web/20040414113110/http://www.autoinsurancelaw.com/ad-code.html";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_channel ="1884939546";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
document.write("<script language=\"JavaScript\" src=\"http://web.archive.org/web/20040414113110/http://pagead2.googlesyndication.com/pagead/show_ads.js\"></script>")
}
