<!-- Hide from old, browsers

// This java-code is Copyright 1999 - David Gejlemo

	var now = new Date()
	var month = now.getMonth() + 1
	var date = now.getDate()
	var year = now.getYear()

if (month == "1")
{
	document.write("January ")
} 

if (month == "2")
{
	document.write("February ")
} 

if (month == "3")
{
	document.write("March ")
}

if (month == "4")
{
	document.write("April ")
}

if (month == "5")
{
	document.write("May ")
}

if (month == "6")
{
	document.write("June ")
}

if (month == "7")
{
	document.write("July ")
}

if (month == "8")
{
	document.write("August ")
}

if (month == "9")
{
	document.write("September ")
}

if (month == "10")
{
	document.write("October ")
}

if (month == "11")
{
	document.write("November ")
}

if (month == "12")
{
	document.write("December ")
}



// Nu har vi skrivit ut aktuell månad i text på skärmen
// Nu skall vi ta reda på om det skall stå 1st, 2nd eller 3rd efter datumet.
// Den 01-01-1999 skall det te.x. se ut såhär: January 1st


document.write(date);

if((now.getDate() == 1))
{
	document.write("<sup>st</sup>")
} 
else
{
	if((now.getDate() == 2))
	{
		document.write("<sup>nd</sup>")
	} 
	else
	{
		if((now.getDate() == 3))
		{
			document.write("<sup>rd</sup>")
		}
		else
		{
			if((now.getDate() == 21))
			{
				document.write("<sup>st</sup>")
			}
			else
			{
				if((now.getDate() == 22))
				{
					document.write("<sup>nd</sup>")
				}
				else
				{
					if((now.getDate() == 23))
					{
						document.write("<sup>rd</sup>")
					}
					else
					{
						if((now.getDate() == 31))
						{
							document.write("<sup>st</sup>")
						}
						else
						{
							document.write("<sup>th</sup>")
						}	
					}
				}
			}
		}
	}
}

//-->