
//cookieに値をセットする
ckary = new Array();
otary = new Array();
ktary = new Array();

function setck(){

	ckary[0] = 2;
	ckary[1] = 3;
	otary[0] = 2;
	otary[1] = 3;
	ktary[0] = 2;
	ktary[1] = 3;

	exp=new Date();

	exp.setTime(exp.getTime()+1000*60*60*24*1);

	ckstr = escape(ckary[0]);
	otstr = escape(otary[0]);
	ktstr = escape(ktary[0]);

	i = 1;

	while (ckary[i]){
		ckstr += "%00" + escape(ckary[i]);
		i++;
	}

	i = 1;

	while (otary[i]){
		otstr += "%00" + escape(otary[i]);
		i++;
	}

	i = 1;

	while (ktary[i]){
		ktstr += "%00" + escape(ktary[i]);
		i++;
	}
ckstr = escape(ckary[0]) + "%00" + escape(ckary[1]);
otstr = escape(otary[0]) + "%00" + escape(otary[1]);
ktstr = escape(ktary[0]) + "%00" + escape(ktary[1]);

	setstr = "ASH_jsc=" + ckstr + "; expires=" + exp.toGMTString() + ";";
	setstr2 = "OT_jsc=" + otstr + "; expires=" + exp.toGMTString() + ";";
	setstr3 = "KT_jsc=" + ktstr + "; expires=" + exp.toGMTString() + ";";

//	サーバー用
	setstr = setstr+" path=/column/;";
	setstr2 = setstr2+" path=/otona/;";
	setstr3 = setstr3+" path=/kodomo/;";

//alert('◎cookie文字列全体1\n'+setstr);
//alert('◎cookie文字列全体1\n'+setstr2);
//alert('◎cookie文字列全体1\n'+setstr3);
	document.cookie = setstr
//alert('◎cookie文字列全体2\n'+document.cookie);
	document.cookie = setstr2
//alert('◎cookie文字列全体2\n'+document.cookie);
	document.cookie = setstr3
//alert('◎cookie文字列全体2\n'+document.cookie);

}