function join(){ window.open("http://www.marykay.co.kr/NEW/mypage/member.asp?vm=step01"); } function modify(){ window.open("http://www.marykay.co.kr/NEW/mypage/member.asp?vm=upd"); } function idsearch(){ window.open("http://www.marykay.co.kr/NEW/mypage/member.asp?vm=idsearch"); } function login(){ WinPopup('/login/login.asp','login',380,270,0); } function login(url){ WinPopup('/login/login.asp?retUrl='+location,'login',380,270,0); } function logout(){ location.href="/login/login_action.asp?mode=logout"; } function pinklimo(){ WinPopup('/event/pinklimo/pinklimo_calendar_pop.asp','pinklimo',897,750,0); } function pinklimo_best(){ WinPopup('/event/pinklimo/pinklimo_best.asp','pinklimo_best',875,778,0); } function pinklimo_request(){ //WinPopup('/event/pinklimo/pinklimo_request_pop.asp','pinklimo_request',500,560,0); alert('ÇÎÅ© ¸®¸ð ¿¹¾à ½ÅûÀÌ ¸¶°¨µÇ¾ú½À´Ï´Ù.\nÂü¿©ÇØÁּż­ °¨»çÇÕ´Ï´Ù.'); } function edit_limo(str){ WinPopup('/event/pinklimo/pinklimo_request_pop1.asp?intSeq='+str,'pinklimo_request',500,560,0); } function del_limo(seq,str){ if(confirm(str+"\nÇÎÅ© ¸®¸ð ¿¹¾àÀ» Ãë¼ÒÇϽðڽÀ´Ï±î?")){ var frm = document.theForm; frm.mode.value="limodel"; frm.intSeq.value=seq; frm.submit(); } } function pp_edit(seq, mode){ WinPopup('/event/pinkparty/party_join_edit.asp?intSeq='+seq+'&mode='+mode,'pinkparty_request',470,430,0); } function pp_del(str,seq, mode){ if(confirm(str+"\nÇÎÅ© ÆÄƼ ¿¹¾àÀ» Ãë¼ÒÇϽðڽÀ´Ï±î?")){ var frm = document.theForm2; alert(mode); frm.mode.value = mode; frm.intSeq.value = seq; frm.action = "/event/pinkparty/party_join_action.asp"; frm.submit(); } } function pinkparty_request(){ //WinPopup('/event/pinkparty/pinkparty_pop.asp','pinkparty'500,560,0,); alert('ÇÎÅ© ÆÄƼ ½ÅûÀº\n10/20ÀÏ ºÎÅÍ °¡´ÉÇÕ´Ï´Ù.\nÁ¶±Ý ±â´Ù·Á ÁÖ¼¼¿ä!'); } function pinkparty_request2(){ WinPopup('/event/pinkparty/pinkparty_pop.asp','pinkparty',500,560,0); //alert('ÇÎÅ© ÆÄƼ ½ÅûÀº\n10/20ÀÏ ºÎÅÍ °¡´ÉÇÕ´Ï´Ù.\nÁ¶±Ý ±â´Ù·Á ÁÖ¼¼¿ä!'); } function pinkparty_best(){ //WinPopup(''); } function knowhow1(){ WinPopup('/beauty_sleep/knowhow1.asp','knowhow1',897,750,1); } function knowhow2(){ WinPopup('/beauty_sleep/knowhow2.asp','knowhow2',685,700,1); } function knowhow3(){ WinPopup('/beauty_sleep/knowhow3.asp','knowhow3',897,560,1); } function message_event(){ WinPopup('/event/message/pinkmessage_pop.asp','message_event',510,650,0); } function pinklimo_event(){ WinPopup('/event/pinklimo/pinklimo_pop.asp','pinklimo_event',600,680,0); } function luck(){ WinPopup('/event/message/message_number.asp','luck',380,350,0); } function pink_review(str){ WinPopup('/pinkreview/review_view_pop.asp?strCate='+str,'pink_review',870,900,0) } function setPng24(obj) { /* obj.width=obj.height=1; obj.className=obj.className.replace(/\bpng24\b/i,''); //Ŭ·¡½º¸í ¿·ÀÇ png24¸¦ ¹Ù²ãÁÖ°í cssµµ ¸¶ÃçÁÖ°í ¼öÁ¤ÇϸéµÊ obj.style.filter ="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+ obj.src +"',sizingMethod='image');"; obj.src=''; return ''; */ } function popupsize(width,height) { var divEl = document.createElement("div"); divEl.style.position = "absolute"; divEl.style.left = "0px"; divEl.style.top = "0px"; divEl.style.width = "100%"; divEl.style.height = "100%"; document.body.appendChild(divEl); window.resizeBy(width-divEl.offsetWidth, height-divEl.offsetHeight); document.body.removeChild(divEl); } function WinPopup(mypage,myname, w, h,scroll) { //v2.0 // alert("·Î±×ÀÎ"); var winl = 10;//(screen.width - w) / 2; var wint = 20;//(screen.height - h) / 2; try { winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',resizable=0,status=0,scrollbars='+scroll+''; var popWin = window.open(mypage, myname, winprops) if (parseInt(navigator.appVersion) >= 4) { popWin.window.focus(); } if(!popWin){ alert ('ÆË¾÷ÀÌ Â÷´ÜµÇ¾ú½À´Ï´Ù!'); } } catch(e) { alert("ÆË¾÷ÀÌ Â÷´ÜµÇ¾ú½À´Ï´Ù!"); } } function goLayer(url){ $(document).ready(function(){ $.ajax({ url:url, success : function(html){ document.getElementById("modal").innerHTML = html; } }); }); } function sendTW() { title="Pink Night! Sweet Dreams! ¸Þ¸®ÄÉÀÌ Å¸ÀÓ¿ÍÀÌÁî ³ªÀÌÆ® ÄÞÇ÷º½º Ãâ½Ã ±â³ä ¡®»ùÇøµ, ÇÎÅ© ¸Þ½ÃÁö, ÇÎÅ© ¸®¸ð¡¯ À̺¥Æ®°¡ ÁøÇàÁßÀÔ´Ï´Ù. http://2u.lc/1k71 #marykay #pinknight" url="http://2u.lc/1k71" var wp = window.open("http://twitter.com/home?status=" + encodeURIComponent(title) , 'twitter', ''); if ( wp ) { wp.focus(); } } function sendM2() { title="[Pink Night! Sweet Dreams!] \"¸Þ¸®ÄÉÀÌ Å¸ÀÓ¿ÍÀÌÁî ³ªÀÌÆ® ÄÞÇ÷º½º\":http://2u.lc/1k71 Ãâ½Ã ±â³ä! ¡®»ùÇøµ, ÇÎÅ© ¸Þ½ÃÁö, ÇÎÅ© ¸®¸ð¡¯ À̺¥Æ®°¡ ÁøÇàÁßÀÔ´Ï´Ù." url="http://2u.lc/1k71" tag="marykay pinknight"; var wp = window.open("http://me2day.net/posts/new?new_post[body]=" + encodeURIComponent(title) + "&new_post[tags]=" + encodeURIComponent(tag), 'me2Day', ''); if ( wp ) { wp.focus(); } } function sendFB() { title="¸Þ¸®ÄÉÀÌ Å¸ÀÓ¿ÍÀÌÁî ³ªÀÌÆ® ÄÞÇ÷º½º Ãâ½Ã ±â³ä! ¡®»ùÇøµ, ÇÎÅ© ¸Þ½ÃÁö, ÇÎÅ© ¸®¸ð¡¯ À̺¥Æ®°¡ ÁøÇàÁßÀÔ´Ï´Ù. " url="http://www.marykay.co.kr/NEW_CLASS/sample/sample.asp" var wp = window.open("http://www.facebook.com/sharer.php?u=" + url + "&t=" + encodeURIComponent(title), 'facebook', ''); if ( wp ) { wp.focus(); } } function sendYZ(){ title="Pink Night! Sweet Dreams! ¸Þ¸®ÄÉÀÌ Å¸ÀÓ¿ÍÀÌÁî ³ªÀÌÆ® ÄÞÇ÷º½º Ãâ½Ã ±â³ä! ¡®»ùÇøµ, ÇÎÅ© ¸Þ½ÃÁö, ÇÎÅ© ¸®¸ð¡¯ À̺¥Æ®°¡ ÁøÇàÁßÀÔ´Ï´Ù." url="http://2u.lc/1k71" var wp = window.open("http://yozm.daum.net/api/popup/prePost?link=" + url + "&prefix=" + encodeURIComponent(title), 'yozm', ''); if ( wp ) { wp.focus(); } } function sns_info(){ WinPopup('/social/social_system_pop.asp','sns_info', 626,700,0) } function sns_info2(){ WinPopup('/social/social_request_pop.asp','sns_event', 524,535,0) } function blog(){ WinPopup('/social/social_html_pop.asp','blog',380, 350,0) } // ·¹À̾î function divopenclose(item,item1) { obj=document.getElementById(item); obj.style.display="block"; obj1=document.getElementById(item1); obj1.style.display="none"; } function divopen(item) { obj=document.getElementById(item); obj.style.display=""; } function divclose(item) { obj=document.getElementById(item); obj.style.display="none"; } function divtoggle(item){ obj=document.getElementById(item); if (obj.style.display == "") { obj.style.display = "none" }else { obj.style.display = "" } } function searchZip(strType,id,search){ divopen(id); $(document).ready(function(){ strWord = $("#"+search).val(); if(strWord==""){ alert("°Ë»ö¾î¸¦ ÀÔ·ÂÇϼ¼¿ä."); } $.ajax({ url:'/incAsp/zipcode.asp?strType='+strType+'&id='+id+'&strWord='+strWord+'&strScript=zip_input', success : function(html){ $("#"+id).html(html); } }); }); } function searchZip1(strType,id,search){ divopen(id); $(document).ready(function(){ strWord = $("#"+search).val(); if(strWord==""){ alert("°Ë»ö¾î¸¦ ÀÔ·ÂÇϼ¼¿ä."); } $.ajax({ url:'/incAsp/zipcode.asp?strType='+strType+'&id='+id+'&strWord='+strWord+'&strScript=zip_input1', success : function(html){ $("#"+id).html(html); } }); }); } function searchZip2(strType,id,search){ divopen(id); $(document).ready(function(){ strWord = $("#"+search).val(); if(strWord==""){ alert("°Ë»ö¾î¸¦ ÀÔ·ÂÇϼ¼¿ä."); } $.ajax({ url:'/incAsp/zipcode.asp?strType='+strType+'&id='+id+'&strWord='+strWord+'&strScript=zip_input2', success : function(html){ $("#"+id).html(html); } }); }); } function zip_input(id,value){ arrAddr = value.split('|'); document.getElementById("zip_check").value="1"; document.getElementById("strZip").value=arrAddr[0]; document.getElementById("strWord").value=arrAddr[1]; $("#"+id).hide(); } function zip_input1(id,value){ document.getElementById("zip_check1").value="1"; document.getElementById("strWord1").value=value; $("#"+id).hide(); } function zip_input2(id,value){ document.getElementById("zip_check2").value="1"; document.getElementById("strWord2").value=value; $("#"+id).hide(); } function copy_to_clipboard(text) { if (window.clipboardData) { window.clipboardData.setData('text', text); } else { var clipboarddiv = document.getElementById('divclipboardswf'); if (!clipboarddiv) { clipboarddiv = document.createElement('div'); clipboarddiv.setAttribute("name", "divclipboardswf"); clipboarddiv.setAttribute("id", "divclipboardswf"); document.body.appendChild(clipboarddiv); } clipboarddiv.innerHTML = ''; } alert('HTMLÀÌ º¹»çµÇ¾ú½À´Ï´Ù. \n¿øÇÏ´Â ºí·Î±×³ª Ä«ÆäÀÇ ¾²±â ÆäÀÌÁö¿¡¼­ \nHTML ¾²±â ¿É¼ÇÀ» ¼±ÅÃÇÑ ÈÄ ºÙ¿©³Ö±â(Ctrl+V) ÇØÁÖ¼¼¿ä.'); }