function setCookie(name, value)		//cookiesÉèÖÃ
{
	
	var argv = setCookie.arguments;
	var argc = setCookie.arguments.length;
	var expires = (argc > 2) ? argv[2] : null;
	if(expires!=null)
	{
		var LargeExpDate = new Date ();
		LargeExpDate.setTime(LargeExpDate.getTime() + (expires*1000*3600*24));
	}
	document.cookie = name + "=" + escape (value)+((expires == null) ? "" : ("; expires=" +LargeExpDate.toGMTString()));
}


function ChineseSimple(Url)
{
	var JF_cn="ft"+self.location.hostname.toString().replace(/\./g,"");
	
	var BodyIsFt = 0;
	setCookie(JF_cn,BodyIsFt);
	window.open(Url);
}

function ChineseBig5(Url)
{
	var JF_cn="ft"+self.location.hostname.toString().replace(/\./g,"");
	var BodyIsFt = 1;
	setCookie(JF_cn,BodyIsFt);
	window.open(Url);
}