f exp = new Date();
exp.setTime(exp.getTime() 3 * 24 * 60 * 60 * 1000); //3天過期
";expires=" exp.toGMTString();
return true;
};
function getCookie(name) {
var arr = document.cookie.match(new RegExp("(^| )" name "=([^;]*)(;|$]*)(;|$ 🎜> if (arr != null) return arr[2]; return null;
};