function recordLogin(path,gameId,serverId){ }
function trim2(str){return str.replace(/(^\s*)|(\s*$)/g, "");}//截取字符串
function setServerIdCookie(gameId,serverId,serverName,accName){
		var then = new Date();
	　	then.setTime(then.getTime() + 7*24*60*60*1000 ); //小时
		document.cookie = accName+gameId+"_gameId="+gameId+";expires="+ then.toGMTString();
	　	document.cookie = accName+gameId+"_serverId="+serverId+";expires="+ then.toGMTString();
		document.cookie = accName+gameId+"_serverName="+escape(serverName)+";expires="+ then.toGMTString();}