<!--

//文字サイズ変更

name = "textSize";
function  changeTextSize(obj){
	document.cookie = name+"="+obj+"; expires=Fri, 31-Dec-2030 23:59:59 GMT; path=/;";
	window.location.reload(true);
}

Cookie = document.cookie+";";
cSet1 = Cookie.indexOf(name);
if(cSet1 != -1){
	cSet2 = Cookie.indexOf("=",cSet1);
	cSet3 = Cookie.indexOf(";",cSet2);
	cValue = Cookie.substring(cSet2+1, cSet3);
}else{
	cValue = 1;
}

if(cValue == 0){
	document.write('<link rel="stylesheet" type="text/css" href="/cmn/css/text_s.css">');
}else if(cValue == 1){
	document.write('<link rel="stylesheet" type="text/css" href="/cmn/css/text_m.css">');
}else if(cValue == 2){
	document.write('<link rel="stylesheet" type="text/css" href="/cmn/css/text_l.css">');
}else{
	document.write('<link rel="stylesheet" type="text/css" href="/cmn/css/text_m.css">');
}

function changeBtn(i,p){
	var cImg;
	var cImage;
	cImg = i;
	cImage = p;
	document.images[cImg].src = cImage;
}

document.write("<img src=\"/cmn/img/txt_moji_size.gif\" alt=\"文字サイズ\" />");

if(cValue == 0){
document.write("<img src=\"/cmn/img/f_small_on.gif\" alt=\"文字が小さくなります\" name=\"textsize_s\" class=\"tsS\" />");
}else{
document.write("<a href=\"#textsizeS\" onclick=\"changeTextSize(0); return false;\" onmouseover=\"changeBtn('textsize_s','/cmn/img/f_small_on.gif')\" onmouseout=\"changeBtn('textsize_s','/cmn/img/f_small.gif')\"><img src=\"/cmn/img/f_small.gif\" alt=\"\" name=\"textsize_s\" class=\"tsS\" /></a>");
}
if(cValue == 1){
document.write("<img src=\"/cmn/img/f_middle_on.gif\" alt=\"標準の文字サイズです\" name=\"textsize_m\" class=\"tsM\" />");
}else{
document.write("<a href=\"#textsizeM\" onclick=\"changeTextSize(1); return false;\" onmouseover=\"changeBtn('textsize_m','/cmn/img/f_middle_on.gif')\" onmouseout=\"changeBtn('textsize_m','/cmn/img/f_middle.gif')\"><img src=\"/cmn/img/f_middle.gif\" alt=\"\" name=\"textsize_m\" class=\"tsM\" /></a>");
}
if(cValue == 2){
document.write("<img src=\"/cmn/img/f_big_on.gif\" alt=\"文字が大きくなります\" name=\"textsize_l\" class=\"tsL\" />");
}else{
document.write("<a href=\"#textsizeL\" onclick=\"changeTextSize(2); return false;\" onmouseover=\"changeBtn('textsize_l','/cmn/img/f_big_on.gif')\" onmouseout=\"changeBtn('textsize_l','/cmn/img/f_big.gif')\"><img src=\"/cmn/img/f_big.gif\" alt=\"\" name=\"textsize_l\" class=\"tsL\" /></a>");
}

