function change_url_jp(){
	var gurl = location.href ; 

	if (gurl.match("mode=view")) {
		var url = gurl.replace("mode=view", "mode=view&lang=j");
	} else if (gurl.match("mode=archive")){
		var url = gurl.replace("mode=archive", "mode=archive&lang=j");
	} else {
		var url = gurl.replace(".html", "_jpn.html");
	}

	location.href = url ;
}
function change_url_en(){
	var gurl = location.href ;

	if (gurl.match("&lang=j")) {
		var url = gurl.replace("&lang=j", "");
	} else {
		var url = gurl.replace("_jpn.html", ".html");
	}

	location.href = url ;
}
