/*Blog*/

//Date
	function profDate(){
	mySysDate=new Date();
	myYear=mySysDate.getFullYear();
	myMonth=mySysDate.getMonth();
	myDate=mySysDate.getDate();
	day=new Array("日","月","火","水","木","金","土");
	myDay=day[mySysDate.getDay()];

	document.write(myYear,"年",myMonth+1,"月",myDate,"日",myDay,"曜");
}
//Birth
	function profBirth(){
	var birthyear=1973;
	var birthmonth=12;
	var birthday=15;
	var age=0;
	
	now = new Date();
	y=now.getYear();
	m=now.getMonth()+1;
	d=now.getDate();
	if(y<1900) {y=y+1900;}
	
	if(m < birthmonth){age=y-birthyear-1}
	if(m > birthmonth){age=y-birthyear}
	if(m == birthmonth){
	if(d < birthday){age=y-birthyear-1}
	else{age=y-birthyear}
	}
	document.write(age);
	
}