//쿠키 생성 function setCookie(name, value) { var argc = setCookie.arguments.length var argv = setCookie.arguments var expires = (argc > 2) ? argv[2] : null var path = (argc > 3) ? argv[3] : "/" var domain = (argc > 4) ? argv[4] : null var secure = (argc > 5) ? argv[5] : false alert(expires); alert(path); alert(domain); alert(secure); document.cookie = name + "=" + escape(value)..