function MakeArray(n) {
	this.length = n
	return this
}

monthNames = new MakeArray(12)
monthNames[1] = "Jan."
monthNames[2] = "Feb."
monthNames[3] = "Mar."
monthNames[4] = "Apr."
monthNames[5] = "May"
monthNames[6] = "June"
monthNames[7] = "July"
monthNames[8] = "Aug."
monthNames[9] = "Sept."
monthNames[10] = "Oct."
monthNames[11] = "Nov."
monthNames[12] = "Dec."

dayNames = new MakeArray(7)
dayNames[1] = "Sunday"
dayNames[2] = "Monday"
dayNames[3] = "Tuesday"
dayNames[4] = "Wednesday"
dayNames[5] = "Thursday"
dayNames[6] = "Friday"
dayNames[7] = "Saturday"

var MyDate = new Date()

function customDateString(oneDate) {
	var theDay = dayNames[oneDate.getDay() + 1]
	var theMonth = monthNames[oneDate.getMonth() + 1]
	var theYear = oneDate.getFullYear()
	return "&nbsp;" + theDay + "&nbsp;&nbsp;" + theMonth + " " + oneDate.getDate() + ", " + theYear
}

function customYearString(oneDate) {
	var theYear = oneDate.getFullYear()
	return theYear
}

function opennact(oneWindow) {
	nactwindow =  window.open(oneWindow,'_all','toolbar=no,location=0,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,height=400,width=430')
}

function customHoroDateString(oneDate) {
	var theDay = oneDate.getDay() + 1
	var theMonth = oneDate.getMonth() + 1
	var theYear = oneDate.getFullYear()
	return theDay + "//" + theMonth + "//" + theYear
}

function customHoroString(oneSign) {
	var theDate = MyDate.getDate()
	var theMonth = MyDate.getMonth() + 1
	var theYear = MyDate.getFullYear()
	self.location.href =  "../../../asp/daily_horoscope.asp?ShowSign=" + oneSign + "&FirstDate=" + theMonth + "/" + theDate + "/" + theYear
}

function customHoroString2() {
	var theDate = MyDate.getDate()
	var theMonth = MyDate.getMonth() + 1
	var theYear = MyDate.getFullYear()
	self.location.href = "../../../asp/daily_horoscope.asp?FirstDate=" + theMonth + "/" + theDate + "/" + theYear
}

// -->

