﻿<!--
function PageDate()
{
	currentDate = new Date();
	document.write("<a href=/service/calendar.htm target=_blank title='查看万年历'>");
	with (currentDate)
	{
		day=getDay();
		month=getMonth()+1;
		this.document.write(getFullYear()+"年"+month+"月"+getDate()+"日");
	}
	if (day==1){this.document.write(' 星期一');}
	else if (day==2){this.document.write(' 星期二');}
	if (day==3){document.write(' 星期三');}
	if (day==4){document.write(' 星期四');}
	if (day==5){document.write(' 星期五');}
	if (day==6){document.write(' 星期六');}
	else if (day==0){document.write(' 星期日');}
	document.write("</a>");
}
PageDate();
// -->