/*
 * Font Size
 */

/* domain */
var _c_domain = setDomain();
/* cookie path */
var _c_path = '/';

var _os = getOSType();
var _browser = getBrowserName();

var textSize = getCookie('totalSize') * 2;
var fontSize = new Object();

document.open();
document.write('<style type="text/css">');
if (_os == 'win') {
	if (_browser == 'ie') {
		var size1 = 9,
			size2 = 12,
			size3 = 15,
			size4 = 17;
		fontSize = {1:size1, 2:size2, 3:size3, 4:size4};
		setSize();
		document.write('.txt1j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; line-height: 180%; }');
		document.write('.txt2j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 150%; }');
		document.write('.txt3j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 150%; }');
		document.write('.txt4j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 150%; }');
		document.write('.mtxt1j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; line-height: 150%; }');
		document.write('.mtxt2j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 135%; }');
		document.write('.mtxt3j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 135%; }');
		document.write('.mtxt4j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 135%; }');
		document.write('.ntxt1j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; }');
		document.write('.ntxt2j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 110%; }');
		document.write('.ntxt3j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 110%; }');
		document.write('.ntxt4j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 110%; }');
		document.write('.fix1j  { font-family: \'ＭＳ ゴシック\'; font-size: 10px; line-height: 130%; }');
		document.write('.fix2j  { font-family: \'ＭＳ ゴシック\'; font-size: 12px; line-height: 120%; }');
		document.write('.fix3j  { font-family: \'ＭＳ ゴシック\'; font-size: 15px; line-height: 120%; }');
		document.write('.fix4j  { font-family: \'ＭＳ ゴシック\'; font-size: 17px; line-height: 120%; }');

	} else if (_browser == 'fx') {
		var size1 = 10,
			size2 = 12,
			size3 = 14,
			size4 = 16;
		fontSize = {1:size1, 2:size2, 3:size3, 4:size4};
		setSize();
		document.write('.txt1j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; line-height: 180%; }');
		document.write('.txt2j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 150%; }');
		document.write('.txt3j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 150%; }');
		document.write('.txt4j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 150%; }');
		document.write('.mtxt1j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; line-height: 150%; }');
		document.write('.mtxt2j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 135%; }');
		document.write('.mtxt3j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 135%; }');
		document.write('.mtxt4j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 135%; }');
		document.write('.ntxt1j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; }');
		document.write('.ntxt2j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 110%; }');
		document.write('.ntxt3j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 110%; }');
		document.write('.ntxt4j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 110%; }');
		document.write('.fix1j  { font-family: \'ＭＳ ゴシック\'; font-size: 10px; line-height: 130%; }');
		document.write('.fix2j  { font-family: \'ＭＳ ゴシック\'; font-size: 12px; line-height: 120%; }');
		document.write('.fix3j  { font-family: \'ＭＳ ゴシック\'; font-size: 15px; line-height: 120%; }');
		document.write('.fix4j  { font-family: \'ＭＳ ゴシック\'; font-size: 17px; line-height: 120%; }');

	} else if (_browser == 'op') {
		var size1 = 10,
			size2 = 12,
			size3 = 14,
			size4 = 17;
		fontSize = {1:size1, 2:size2, 3:size3, 4:size4};
		setSize();
		document.write('.txt1j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; line-height: 180%; }');
		document.write('.txt2j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 150%; }');
		document.write('.txt3j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 150%; }');
		document.write('.txt4j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 150%; }');
		document.write('.mtxt1j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; line-height: 150%; }');
		document.write('.mtxt2j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 135%; }');
		document.write('.mtxt3j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 135%; }');
		document.write('.mtxt4j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 135%; }');
		document.write('.ntxt1j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; }');
		document.write('.ntxt2j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 110%; }');
		document.write('.ntxt3j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 110%; }');
		document.write('.ntxt4j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 110%; }');
		document.write('.fix1j  { font-family: \'ＭＳ ゴシック\'; font-size: 10px; line-height: 130%; }');
		document.write('.fix2j  { font-family: \'ＭＳ ゴシック\'; font-size: 12px; line-height: 120%; }');
		document.write('.fix3j  { font-family: \'ＭＳ ゴシック\'; font-size: 15px; line-height: 120%; }');
		document.write('.fix4j  { font-family: \'ＭＳ ゴシック\'; font-size: 17px; line-height: 120%; }');

	} else if (_browser == 'sf') {
		var size1 = 11,
			size2 = 12,
			size3 = 15,
			size4 = 17;
		fontSize = {1:size1, 2:size2, 3:size3, 4:size4};
		setSize();
		document.write('.txt1j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; line-height: 180%; }');
		document.write('.txt2j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 150%; }');
		document.write('.txt3j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 150%; }');
		document.write('.txt4j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 150%; }');
		document.write('.mtxt1j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; line-height: 150%; }');
		document.write('.mtxt2j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 135%; }');
		document.write('.mtxt3j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 135%; }');
		document.write('.mtxt4j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 135%; }');
		document.write('.ntxt1j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; }');
		document.write('.ntxt2j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 110%; }');
		document.write('.ntxt3j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 110%; }');
		document.write('.ntxt4j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 110%; }');
		document.write('.fix1j  { font-family: \'ＭＳ ゴシック\'; font-size: 10px; line-height: 130%; }');
		document.write('.fix2j  { font-family: \'ＭＳ ゴシック\'; font-size: 12px; line-height: 120%; }');
		document.write('.fix3j  { font-family: \'ＭＳ ゴシック\'; font-size: 15px; line-height: 120%; }');
		document.write('.fix4j  { font-family: \'ＭＳ ゴシック\'; font-size: 17px; line-height: 120%; }');

	} else if (_browser == 'gc') {
		var size1 = 11,
			size2 = 12,
			size3 = 15,
			size4 = 17;
		fontSize = {1:size1, 2:size2, 3:size3, 4:size4};
		setSize();
		document.write('.txt1j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; line-height: 180%; }');
		document.write('.txt2j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 150%; }');
		document.write('.txt3j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 150%; }');
		document.write('.txt4j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 150%; }');
		document.write('.mtxt1j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; line-height: 150%; }');
		document.write('.mtxt2j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 135%; }');
		document.write('.mtxt3j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 135%; }');
		document.write('.mtxt4j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 135%; }');
		document.write('.ntxt1j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; }');
		document.write('.ntxt2j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 110%; }');
		document.write('.ntxt3j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 110%; }');
		document.write('.ntxt4j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 110%; }');
		document.write('.fix1j  { font-family: \'ＭＳ ゴシック\'; font-size: 10px; line-height: 130%; }');
		document.write('.fix2j  { font-family: \'ＭＳ ゴシック\'; font-size: 12px; line-height: 120%; }');
		document.write('.fix3j  { font-family: \'ＭＳ ゴシック\'; font-size: 15px; line-height: 120%; }');
		document.write('.fix4j  { font-family: \'ＭＳ ゴシック\'; font-size: 17px; line-height: 120%; }');

	} else {
		var size1 = 10,
			size2 = 12,
			size3 = 15,
			size4 = 17;
		fontSize = {1:size1, 2:size2, 3:size3, 4:size4};
		setSize();
		document.write('.txt1j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; line-height: 180%; }');
		document.write('.txt2j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 150%; }');
		document.write('.txt3j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 150%; }');
		document.write('.txt4j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 150%; }');
		document.write('.mtxt1j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; line-height: 150%; }');
		document.write('.mtxt2j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 135%; }');
		document.write('.mtxt3j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 135%; }');
		document.write('.mtxt4j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 135%; }');
		document.write('.ntxt1j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; }');
		document.write('.ntxt2j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 110%; }');
		document.write('.ntxt3j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 110%; }');
		document.write('.ntxt4j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 110%; }');
		document.write('.fix1j  { font-family: \'ＭＳ ゴシック\'; font-size: 10px; line-height: 130%; }');
		document.write('.fix2j  { font-family: \'ＭＳ ゴシック\'; font-size: 12px; line-height: 120%; }');
		document.write('.fix3j  { font-family: \'ＭＳ ゴシック\'; font-size: 15px; line-height: 120%; }');
		document.write('.fix4j  { font-family: \'ＭＳ ゴシック\'; font-size: 17px; line-height: 120%; }');
	}

} else if (_os == 'vista') {
	if (_browser == 'ie') {
		var size1 = 9,
			size2 = 12,
			size3 = 15,
			size4 = 17;
		fontSize = {1:size1, 2:size2, 3:size3, 4:size4};
		setSize();
		document.write('.txt1j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; line-height: 180%; }');
		document.write('.txt2j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 150%; }');
		document.write('.txt3j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 150%; }');
		document.write('.txt4j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 150%; }');
		document.write('.mtxt1j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; line-height: 150%; }');
		document.write('.mtxt2j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 135%; }');
		document.write('.mtxt3j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 135%; }');
		document.write('.mtxt4j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 135%; }');
		document.write('.ntxt1j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; }');
		document.write('.ntxt2j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 110%; }');
		document.write('.ntxt3j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 110%; }');
		document.write('.ntxt4j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 110%; }');
		document.write('.fix1j  { font-family: \'ＭＳ ゴシック\'; font-size: 10px; line-height: 130%; }');
		document.write('.fix2j  { font-family: \'ＭＳ ゴシック\'; font-size: 12px; line-height: 120%; }');
		document.write('.fix3j  { font-family: \'ＭＳ ゴシック\'; font-size: 15px; line-height: 120%; }');
		document.write('.fix4j  { font-family: \'ＭＳ ゴシック\'; font-size: 17px; line-height: 120%; }');

	} else if (_browser == 'fx') {
		var size1 = 10,
			size2 = 12,
			size3 = 14,
			size4 = 16;
		fontSize = {1:size1, 2:size2, 3:size3, 4:size4};
		setSize();
		document.write('.txt1j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; line-height: 180%; }');
		document.write('.txt2j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 150%; }');
		document.write('.txt3j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 150%; }');
		document.write('.txt4j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 150%; }');
		document.write('.mtxt1j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; line-height: 150%; }');
		document.write('.mtxt2j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 135%; }');
		document.write('.mtxt3j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 135%; }');
		document.write('.mtxt4j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 135%; }');
		document.write('.ntxt1j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; }');
		document.write('.ntxt2j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 110%; }');
		document.write('.ntxt3j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 110%; }');
		document.write('.ntxt4j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 110%; }');
		document.write('.fix1j  { font-family: \'ＭＳ ゴシック\'; font-size: 10px; line-height: 130%; }');
		document.write('.fix2j  { font-family: \'ＭＳ ゴシック\'; font-size: 12px; line-height: 120%; }');
		document.write('.fix3j  { font-family: \'ＭＳ ゴシック\'; font-size: 15px; line-height: 120%; }');
		document.write('.fix4j  { font-family: \'ＭＳ ゴシック\'; font-size: 17px; line-height: 120%; }');

	} else if (_browser == 'op') {
		var size1 = 10,
			size2 = 12,
			size3 = 14,
			size4 = 17;
		fontSize = {1:size1, 2:size2, 3:size3, 4:size4};
		setSize();
		document.write('.txt1j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; line-height: 180%; }');
		document.write('.txt2j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 150%; }');
		document.write('.txt3j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 150%; }');
		document.write('.txt4j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 150%; }');
		document.write('.mtxt1j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; line-height: 150%; }');
		document.write('.mtxt2j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 135%; }');
		document.write('.mtxt3j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 135%; }');
		document.write('.mtxt4j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 135%; }');
		document.write('.ntxt1j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; }');
		document.write('.ntxt2j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 110%; }');
		document.write('.ntxt3j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 110%; }');
		document.write('.ntxt4j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 110%; }');
		document.write('.fix1j  { font-family: \'ＭＳ ゴシック\'; font-size: 10px; line-height: 130%; }');
		document.write('.fix2j  { font-family: \'ＭＳ ゴシック\'; font-size: 12px; line-height: 120%; }');
		document.write('.fix3j  { font-family: \'ＭＳ ゴシック\'; font-size: 15px; line-height: 120%; }');
		document.write('.fix4j  { font-family: \'ＭＳ ゴシック\'; font-size: 17px; line-height: 120%; }');

	} else if (_browser == 'sf') {
		var size1 = 11,
			size2 = 12,
			size3 = 15,
			size4 = 17;
		fontSize = {1:size1, 2:size2, 3:size3, 4:size4};
		setSize();
		document.write('.txt1j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; line-height: 180%; }');
		document.write('.txt2j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 150%; }');
		document.write('.txt3j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 150%; }');
		document.write('.txt4j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 150%; }');
		document.write('.mtxt1j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; line-height: 150%; }');
		document.write('.mtxt2j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 135%; }');
		document.write('.mtxt3j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 135%; }');
		document.write('.mtxt4j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 135%; }');
		document.write('.ntxt1j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; }');
		document.write('.ntxt2j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 110%; }');
		document.write('.ntxt3j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 110%; }');
		document.write('.ntxt4j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 110%; }');
		document.write('.fix1j  { font-family: monospace, sans-serif; font-size: 10px; line-height: 130%; }');
		document.write('.fix2j  { font-family: monospace, sans-serif; font-size: 12px; line-height: 120%; }');
		document.write('.fix3j  { font-family: monospace, sans-serif; font-size: 15px; line-height: 120%; }');
		document.write('.fix4j  { font-family: monospace, sans-serif; font-size: 17px; line-height: 120%; }');

	} else if (_browser == 'gc') {
		var size1 = 11,
			size2 = 12,
			size3 = 15,
			size4 = 17;
		fontSize = {1:size1, 2:size2, 3:size3, 4:size4};
		setSize();
		document.write('.txt1j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; line-height: 180%; }');
		document.write('.txt2j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 150%; }');
		document.write('.txt3j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 150%; }');
		document.write('.txt4j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 150%; }');
		document.write('.mtxt1j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; line-height: 150%; }');
		document.write('.mtxt2j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 135%; }');
		document.write('.mtxt3j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 135%; }');
		document.write('.mtxt4j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 135%; }');
		document.write('.ntxt1j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; }');
		document.write('.ntxt2j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 110%; }');
		document.write('.ntxt3j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 110%; }');
		document.write('.ntxt4j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 110%; }');
		document.write('.fix1j  { font-family: monospace, sans-serif; font-size: 10px; line-height: 130%; }');
		document.write('.fix2j  { font-family: monospace, sans-serif; font-size: 12px; line-height: 120%; }');
		document.write('.fix3j  { font-family: monospace, sans-serif; font-size: 15px; line-height: 120%; }');
		document.write('.fix4j  { font-family: monospace, sans-serif; font-size: 17px; line-height: 120%; }');

	} else {
		var size1 = 10,
			size2 = 12,
			size3 = 15,
			size4 = 17;
		fontSize = {1:size1, 2:size2, 3:size3, 4:size4};
		setSize();
		document.write('.txt1j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; line-height: 180%; }');
		document.write('.txt2j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 150%; }');
		document.write('.txt3j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 150%; }');
		document.write('.txt4j  { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 150%; }');
		document.write('.mtxt1j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; line-height: 150%; }');
		document.write('.mtxt2j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 135%; }');
		document.write('.mtxt3j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 135%; }');
		document.write('.mtxt4j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 135%; }');
		document.write('.ntxt1j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[1] + 'px; }');
		document.write('.ntxt2j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[2] + 'px; line-height: 110%; }');
		document.write('.ntxt3j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[3] + 'px; line-height: 110%; }');
		document.write('.ntxt4j { font-family: Arial, \'ＭＳ ゴシック\', sans-serif; font-size: ' + fontSize[4] + 'px; line-height: 110%; }');
		document.write('.fix1j  { font-family: \'ＭＳ ゴシック\'; font-size: 10px; line-height: 130%; }');
		document.write('.fix2j  { font-family: \'ＭＳ ゴシック\'; font-size: 12px; line-height: 120%; }');
		document.write('.fix3j  { font-family: \'ＭＳ ゴシック\'; font-size: 15px; line-height: 120%; }');
		document.write('.fix4j  { font-family: \'ＭＳ ゴシック\'; font-size: 17px; line-height: 120%; }');
	}

} else if (_os == 'mac') {
	if (_browser == 'sf') {
		var size1 = 11,
			size2 = 12,
			size3 = 14,
			size4 = 16;
		fontSize = {1:size1, 2:size2, 3:size3, 4:size4};
		setSize();
		document.write('.txt1j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[1] + 'px; line-height: 180%; }');
		document.write('.txt2j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[2] + 'px; line-height: 150%; }');
		document.write('.txt3j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[3] + 'px; line-height: 150%; }');
		document.write('.txt4j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[4] + 'px; line-height: 150%; }');
		document.write('.mtxt1j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[1] + 'px; line-height: 150%; }');
		document.write('.mtxt2j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[2] + 'px; line-height: 135%; }');
		document.write('.mtxt3j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[3] + 'px; line-height: 135%; }');
		document.write('.mtxt4j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[4] + 'px; line-height: 135%; }');
		document.write('.ntxt1j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[1] + 'px; }');
		document.write('.ntxt2j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[2] + 'px; line-height: 110%; }');
		document.write('.ntxt3j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[3] + 'px; line-height: 110%; }');
		document.write('.ntxt4j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[4] + 'px; line-height: 110%; }');
		document.write('.fix1j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\'; font-size: 10px; line-height: 130%; }');
		document.write('.fix2j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\'; font-size: 12px; line-height: 125%; }');
		document.write('.fix3j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\'; font-size: 14px; line-height: 125%; }');
		document.write('.fix4j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\'; font-size: 16px; line-height: 125%; }');

	} else if (_browser == 'fx') {
		var size1 = 11,
			size2 = 12,
			size3 = 14,
			size4 = 16;
		fontSize = {1:size1, 2:size2, 3:size3, 4:size4};
		setSize();
		document.write('.txt1j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[1] + 'px; line-height: 180%; }');
		document.write('.txt2j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[2] + 'px; line-height: 150%; }');
		document.write('.txt3j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[3] + 'px; line-height: 150%; }');
		document.write('.txt4j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[4] + 'px; line-height: 150%; }');
		document.write('.mtxt1j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[1] + 'px; line-height: 150%; }');
		document.write('.mtxt2j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[2] + 'px; line-height: 135%; }');
		document.write('.mtxt3j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[3] + 'px; line-height: 135%; }');
		document.write('.mtxt4j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[4] + 'px; line-height: 135%; }');
		document.write('.ntxt1j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[1] + 'px; }');
		document.write('.ntxt2j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[2] + 'px; line-height: 110%; }');
		document.write('.ntxt3j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[3] + 'px; line-height: 110%; }');
		document.write('.ntxt4j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[4] + 'px; line-height: 110%; }');
		document.write('.fix1j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\'; font-size: 10px; line-height: 130%; }');
		document.write('.fix2j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\'; font-size: 12px; line-height: 120%; }');
		document.write('.fix3j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\'; font-size: 14px; line-height: 120%; }');
		document.write('.fix4j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\'; font-size: 16px; line-height: 120%; }');

	} else if (_browser == 'op') {
		var size1 = 11,
			size2 = 12,
			size3 = 14,
			size4 = 16;
		fontSize = {1:size1, 2:size2, 3:size3, 4:size4};
		setSize();
		document.write('.txt1j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[1] + 'px; line-height: 180%; }');
		document.write('.txt2j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[2] + 'px; line-height: 150%; }');
		document.write('.txt3j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[3] + 'px; line-height: 150%; }');
		document.write('.txt4j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[4] + 'px; line-height: 150%; }');
		document.write('.mtxt1j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[1] + 'px; line-height: 150%; }');
		document.write('.mtxt2j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[2] + 'px; line-height: 135%; }');
		document.write('.mtxt3j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[3] + 'px; line-height: 135%; }');
		document.write('.mtxt4j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[4] + 'px; line-height: 135%; }');
		document.write('.ntxt1j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[1] + 'px; }');
		document.write('.ntxt2j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[2] + 'px; line-height: 110%; }');
		document.write('.ntxt3j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[3] + 'px; line-height: 110%; }');
		document.write('.ntxt4j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[4] + 'px; line-height: 110%; }');
		document.write('.fix1j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\'; font-size: 10px; line-height: 130%; }');
		document.write('.fix2j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\'; font-size: 12px; line-height: 120%; }');
		document.write('.fix3j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\'; font-size: 14px; line-height: 120%; }');
		document.write('.fix4j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\'; font-size: 16px; line-height: 120%; }');

	} else {
		var size1 = 11,
			size2 = 12,
			size3 = 14,
			size4 = 16;
		fontSize = {1:size1, 2:size2, 3:size3, 4:size4};
		setSize();
		document.write('.txt1j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[1] + 'px; line-height: 180%; }');
		document.write('.txt2j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[2] + 'px; line-height: 150%; }');
		document.write('.txt3j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[3] + 'px; line-height: 150%; }');
		document.write('.txt4j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[4] + 'px; line-height: 150%; }');
		document.write('.mtxt1j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[1] + 'px; line-height: 150%; }');
		document.write('.mtxt2j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[2] + 'px; line-height: 135%; }');
		document.write('.mtxt3j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[3] + 'px; line-height: 135%; }');
		document.write('.mtxt4j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[4] + 'px; line-height: 135%; }');
		document.write('.ntxt1j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[1] + 'px; }');
		document.write('.ntxt2j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[2] + 'px; line-height: 110%; }');
		document.write('.ntxt3j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[3] + 'px; line-height: 110%; }');
		document.write('.ntxt4j { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\', Osaka; font-size: ' + fontSize[4] + 'px; line-height: 110%; }');
		document.write('.fix1j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\'; font-size: 10px; line-height: 130%; }');
		document.write('.fix2j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\'; font-size: 12px; line-height: 125%; }');
		document.write('.fix3j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\'; font-size: 14px; line-height: 125%; }');
		document.write('.fix4j  { font-family: \'ヒラギノ角ゴ Pro W3\', \'Hiragino Kaku Gothic Pro\'; font-size: 16px; line-height: 125%; }');
	}

} else {
	var size1 = 10,
		size2 = 12,
		size3 = 14,
		size4 = 17;
	fontSize = {1:size1, 2:size2, 3:size3, 4:size4};
	setSize();
	document.write('.txt1j  { font-size: ' + fontSize[1] + 'px; line-height: 180%; }');
	document.write('.txt2j  { font-size: ' + fontSize[2] + 'px; line-height: 150%; }');
	document.write('.txt3j  { font-size: ' + fontSize[3] + 'px; line-height: 150%; }');
	document.write('.txt4j  { font-size: ' + fontSize[4] + 'px; line-height: 150%; }');
	document.write('.mtxt1j { font-size: ' + fontSize[1] + 'px; line-height: 150%; }');
	document.write('.mtxt2j { font-size: ' + fontSize[2] + 'px; line-height: 135%; }');
	document.write('.mtxt3j { font-size: ' + fontSize[3] + 'px; line-height: 135%; }');
	document.write('.mtxt4j { font-size: ' + fontSize[4] + 'px; line-height: 135%; }');
	document.write('.ntxt1j { font-size: ' + fontSize[1] + 'px; }');
	document.write('.ntxt2j { font-size: ' + fontSize[2] + 'px; line-height: 110%; }');
	document.write('.ntxt3j { font-size: ' + fontSize[3] + 'px; line-height: 110%; }');
	document.write('.ntxt4j { font-size: ' + fontSize[4] + 'px; line-height: 110%; }');
	document.write('.fix1j  { font-size: 10px; line-height: 130%; }');
	document.write('.fix2j  { font-size: 12px; line-height: 120%; }');
	document.write('.fix3j  { font-size: 14px; line-height: 120%; }');
	document.write('.fix4j  { font-size: 17px; line-height: 120%; }');
}
document.write('</style>');
document.close();

function setDomain() {
	try {
		var hostname = location.hostname;
		if (hostname.match(/^www\./)) {
			return hostname.replace(/^www\./, '');
		} else if (hostname.match(/^ssl\./)) {
			return hostname.replace(/^ssl\./, '');
		} else {
			return hostname;
		}
	} catch(e) {}
}

function getOSType() {
	var uAgent  = navigator.userAgent.toUpperCase();
	if (uAgent.indexOf('MAC') >= 0) return 'mac';
	if (uAgent.indexOf('WIN') >= 0) {
		if (uAgent.indexOf('NT 6.0') != -1 || uAgent.indexOf('WS V') != -1) {
			return 'vista';
		} else {
			return 'win';
		}
	}
	return;
}

function getBrowserName() {
	var aName  = navigator.appName.toUpperCase();
	var uName = navigator.userAgent.toUpperCase();
	if (uName.indexOf('CHROME') >= 0) return 'gc';
	if (uName.indexOf('SAFARI') >= 0) return 'sf';
	if (uName.indexOf('OPERA') >= 0) return 'op';
	if (uName.indexOf('FIREFOX') >= 0) return 'fx';
	if (aName.indexOf('NETSCAPE') >= 0) return 'ns';
	if (aName.indexOf('MICROSOFT') >= 0) return 'ie';
	return;
}

function getCookie(key) {
	if (_c_domain) {
		tmp = document.cookie + '; domain=' + _c_domain + '; path=' + _c_path;
	} else {
		tmp = document.cookie + '; path=' + _c_path;
	}
	tmp1 = tmp.indexOf(key, 0);
	if (tmp1 != -1) {
		tmp = tmp.substring(tmp1, tmp.length);
		start = tmp.indexOf('=', 0) + 1;
		end = tmp.indexOf(';', start);
		return (unescape(tmp.substring(start, end)));
	} else {
		return false;
	}
}

function changeTxt(changeStatus) {
	var changeSize = getCookie('totalSize');

	if (changeStatus == 'up') {
		changeSize ++;

	} else if (changeStatus == 'down') {
		changeSize --;

	} else if (changeStatus == 'reset') {
		changeSize = 0;
	}

	if (_c_domain) {
		document.cookie = 'totalSize=' + changeSize + '; domain=' + _c_domain + '; path=' + _c_path;
	} else {
		document.cookie = 'totalSize=' + changeSize + '; path=' + _c_path;
	}

	if (document.all) {
		var coll = document.all;
	} else if (document.getElementsByTagName('*')) {
		var coll = document.getElementsByTagName('*');
	} else {
		location.reload();
		return;
	}

	var chgFontSize = new Array();
	for(var i = 1; i <= 4; i ++) {
		if (changeStatus == 'reset') {
			chgFontSize[i] = fontSize[i] - textSize;
		} else {
			chgFontSize[i] = fontSize[i] - textSize + changeSize * 2;
			if (chgFontSize[i] < 8) {
				chgFontSize[i] = 8;
			}
			if (chgFontSize[i] > 22) {
				chgFontSize[i] = 22;
			}
		}
	}

	for (var i = 0, j = coll.length; i < j; i ++){
		var txtClass = coll[i].className;
		if (txtClass) {
			if (txtClassArray = txtClass.match(/txt(\d)j/)) {
				if (txtClassArray[1] <= 4) {
					coll[i].style.fontSize = chgFontSize[txtClassArray[1]] + 'px';
				}
			}
		}
	}

	void(0);
}

function setSize() {
	for (i = 1; i <= 4; i ++) {
		fontSize[i] += textSize;
		if (fontSize[i] < 2) {
			fontSize[i] = 2;
		}
	}
}

