<!-- 
fileName = location.pathname;

myYear = fileName.substr(2, 4);
myMonth2 = fileName.substr(7, 1)
myMonth1 = fileName.substr(8, 1);

//今月を1字1字にする
if (myMonth2 == 0){
	var myMonth = myMonth1;
} else {
	var myMonth = myMonth2 + myMonth1;
}

//先月
prevYear = myYear;
prevMonth = myMonth - 1;

if (prevMonth == 0){
	prevYear = myYear - 1;
	prevMonth = 12;
}

//次月
nextYear = myYear;
nextMonth = ++myMonth;

if (nextMonth == 13){
	nextYear = ++myYear;
	nextMonth = 1;
}

//表示
if (prevMonth < 9){
	document.write('<a href="/d' + prevYear + '-0' + prevMonth + '.html" title="' + prevYear + '年0' + prevMonth + '月">&lt; ' + prevYear + '年0' + prevMonth + '月</a> ');
} else {
	document.write('<a href="/d' + prevYear + '-' + prevMonth + '.html" title="' + prevYear + '年' + prevMonth + '月">&lt; ' + prevYear + '年' + prevMonth + '月</a> ');
}

if (nextMonth < 9){
	document.write('<a href="/d' + nextYear + '-0' + nextMonth + '.html" title="' + nextYear + '年0' + nextMonth + '月">' + nextYear + '年0' + nextMonth + '月 &gt;</a>');
} else {
	document.write('<a href="/d' + nextYear + '-' + nextMonth + '.html" title="' + nextYear + '年' + nextMonth + '月">' + nextYear + '年' + nextMonth + '月 &gt;</a>');
}
// -->