$(document).ready(function(){
	var linkList = ['/feature/topics/908/index.html','/feature/topics/907/index.html','/feature/topics/906/index.html','/feature/topics/905/index.html','/feature/topics/904/index.html','/feature/topics/903/index.html','/feature/topics/902/index.html','/feature/topics/901/index.html','/feature/topics/103/index.html','/feature/topics/102/index.html','/feature/topics/097/index.html','/feature/topics/096/index.html','/feature/topics/094/index.html','/feature/topics/093/index.html','/feature/topics/091/index.html','/feature/topics/089/index.html','/feature/topics/085/index.html','/feature/topics/074/index.html','/feature/topics/073/index.html','/feature/topics/072/index.html','/feature/topics/069/index.html','/feature/topics/068/index.html','/feature/topics/067/index.html','/feature/topics/066/index.html','/feature/topics/065/index.html','/feature/topics/064/index.html','/feature/topics/063/index.html','/feature/topics/062/index.html','/feature/topics/060/index.html','/feature/topics/059/index.html','/feature/topics/058/index.html','/feature/topics/057/index.html','/feature/topics/056/index.html','/feature/topics/055/index.html','/feature/topics/054/index.html','/feature/topics/053/index.html','/feature/topics/052/index.html','/feature/topics/051/index.html','/feature/topics/050/index.html','/feature/topics/049/index.html','/feature/topics/048/index.html','/feature/topics/047/index.html','/feature/topics/046/index.html','/feature/topics/044/index.html','/feature/topics/043/index.html','/feature/topics/042/index.html','/feature/topics/041/index.html','/feature/topics/040/index.html','/feature/topics/039/index.html','/feature/topics/038/index.html','/feature/topics/037/index.html','/feature/topics/036/index.html','/feature/topics/035/index.html','/feature/topics/034/index.html','/feature/topics/032/index.html','/feature/topics/031/index.html','/feature/topics/030/index.html','/feature/topics/029/index.html','/feature/topics/028/index.html','/feature/topics/027/index.html','/feature/topics/026/index.html','/feature/topics/024/index.html','/feature/topics/022/index.html','/feature/topics/017/index.html','/feature/topics/016/index.html','/feature/topics/015/index.html','/feature/topics/014/index.html','/feature/topics/013/index.html','/feature/topics/011/index.html','/feature/topics/010/index.html','/feature/topics/009/index.html','/feature/topics/007/index.html','/feature/topics/006/index.html','/feature/topics/005/index.html','/feature/topics/004/index.html','/feature/topics/003/index.html','/feature/topics/002/index.html','/feature/topics/001/index.html'];

	var regexp = new RegExp('http(s)?://.*?(/.*?.html).*?');
	location.href.match(regexp)

	var nowLink = RegExp.$2;
	var nowPosition = -1;
	for( var i = 0; i < linkList.length ; i++ ){
		if( linkList[i] == nowLink ){
			nowPosition = i;
			break;
		}
	}
	if( nowPosition == -1 ){
		return ;
	}

	var backLinkSpan = document.getElementById('system_bklist_backlink');
	backLinkSpan.innerHTML = (nowPosition < linkList.length - 1) ? '<a href="'+linkList[nowPosition+1]+'">前の記事</a>' : '前の記事';
	var nextLinkSpan = document.getElementById('system_bklist_nextlink');
	nextLinkSpan.innerHTML = (0 < nowPosition) ? '<a href="'+linkList[nowPosition-1]+'">次の記事</a>' : '次の記事' ;
});
