function popLogin() { window.open('http://www.arte.or.kr/common/popLogin_artezinekr.jsp','login','width=500,height=400'); } function popLogout() { self.location.href='http://www.arte.or.kr/common/popLogout_artezinekr.jsp'; } function goTwitter() { window.open("http://twtkr.com/artejockey",'','',''); } function goEnTwitter() { window.open("https://twitter.com/KACES_ARTE",'','',''); } function goBlog() { window.open("http://blog.naver.com/artezine",'','',''); } function goFacebook() { window.open("http://www.facebook.com/pages/aleuttejin-artezine/147554168588023",'','',''); } function goEnFacebook() { window.open("http://www.facebook.com/pages/Seoul-South-Korea/Korea-Arts-and-Culture-Education-ServiceKACES/138160572873680",'','',''); } function goOpencast() { window.open("http://opencast.naver.com/AZ199",'','',''); } function goEmail() { alert('이메일 보내기'); } function getCookie(name) { var nameOfCookie = name + "="; var x = 0; while (x <= document.cookie.length) { var y = (x + nameOfCookie.length); if (document.cookie.substring(x, y) == nameOfCookie) { if ((endOfCookie = document.cookie.indexOf(";", y)) == -1) endOfCookie = document.cookie.length; return unescape(document.cookie.substring(y, endOfCookie)); } x = document.cookie.indexOf(" ", x) + 1; if (x == 0) break; } return ""; } function popUp(url, attr) { if (getCookie("popup") != "done") { window.open(url,"popUp",attr); //noticeWindow = window // .open( // '../../pop_up/popo_up_1002.htm', // 'popup', // 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=367,height=331'); //noticeWindow.opener = self; } }