currentver='28 of June 2010';

function MakeArray(n) {
	this.length = n
	return this
}
monthNames = new MakeArray(12)
monthNames[1] = "of January"
monthNames[2] = "of February"
monthNames[3] = "of March"
monthNames[4] = "of April"
monthNames[5] = "of May"
monthNames[6] = "of June"
monthNames[7] = "of July"
monthNames[8] = "of August"
monthNames[9] = "of September"
monthNames[10] = "of October"
monthNames[11] = "of November"
monthNames[12] = "of December"
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"
function customDateString() {
	currentDate = new Date()
	var theDay = dayNames[currentDate.getDay() + 1]
	var theMonth = monthNames[currentDate.getMonth() + 1]
	msie4 = ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 ));
	if (msie4) {
	    var theYear = currentDate.getYear()
	}
	else {
	     var theYear = currentDate.getYear() +1900
	}
	return currentDate.getDate() + " " + theMonth + " " + theYear + " " + "(" + theDay + ")" 
}

document.write('Today is: <b>' + customDateString() + '</b> :: Last update: <b>' + currentver + ' </b>');