<!--
browserName=navigator.appName;
browNS=browserName.indexOf('Netscape');

days = new Array("","Sun","Mon","Tues","Wed","Thurs","Fri","Sat");
dayslong = new Array("","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");

endings = new Array()

endings[0] = ""
endings[1] = "st"
endings[2] = "nd"
endings[3] = "rd"
endings[4] = "th"
endings[5] = "th"
endings[6] = "th"
endings[7] = "th"
endings[8] = "th"
endings[9] = "th"
endings[10] = "th"
endings[11] = "th"
endings[12] = "th"
endings[13] = "th"
endings[14] = "th"
endings[15] = "th"
endings[16] = "th"
endings[17] = "th"
endings[18] = "th"
endings[19] = "th"
endings[20] = "th"
endings[21] = "st"
endings[22] = "nd"
endings[23] = "rd"
endings[24] = "th"
endings[25] = "th"
endings[26] = "th"
endings[27] = "th"
endings[28] = "th"
endings[29] = "th"
endings[30] = "th"
endings[31] = "st"

months = new Array("","January","February","March","April","May","June","July","August","September","October","November","December");
dateObj = new Date();
wday = days[dateObj.getDay() + 1];
lmonth = months[dateObj.getMonth() + 1];
intMonth = dateObj.getMonth() + 1;
intYear = dateObj.getYear();
date = dateObj.getDate();
yearString = intYear.toString();
yearShortIE = yearString.charAt(2) + yearString.charAt(3);
yearShortNS = yearString.charAt(1) + yearString.charAt(2);

function writeDate(){
	if(intMonth.toString().length == 1){
		intMonth = '0' + intMonth.toString()	
	}
	
	if(date.toString().length == 1){
		date = '0' + date.toString()	
	}
	
	if (browNS != -1){
		document.write(wday + " " + date + "/" + intMonth + "/" + yearShortNS);
	}
	else{
		document.write(wday + " " + date + "/" + intMonth + "/" + yearShortIE);
	}
}

function longDate(){
	if (browNS != -1){
	document.write(dayslong[dateObj.getDay() + 1] + ", " + date + endings[date] + " " + months[dateObj.getMonth() + 1] + " " + " 20" + yearShortNS);
	}
	else{
	document.write(dayslong[dateObj.getDay() + 1] + ", " + date + endings[date] + " " + months[dateObj.getMonth() + 1] + " " + " 20" + yearShortIE);
	}
}

writeDate();
//-->	
