var phpself = escape(parent.document.location); //2008.03.11 ¹æ¹®ÀÚÃßÀû¿¡´ëÀÀÄÚµå »ðÀÔ if((phpself.indexOf('cymobile.cyworld.com')> 0)||(phpself.indexOf('cymsg.cyworld.com')> 0)||(phpself.indexOf('dndeco.cyworld.com')> 0)||(phpself.indexOf('w2p.cyworld.com')> 0)||(phpself.indexOf('www.cyworld.com/main2/mobile')> 0)||(phpself.indexOf('cymsg1.cyworld.com')> 0)||(phpself.indexOf('cymsg2.cyworld.com')> 0)||(phpself.indexOf('cymessage.cyworld.com')> 0)||(phpself.indexOf('cydev.cyworld.com/main2/mobile')> 0)||(phpself.indexOf('minihp.cyworld.com/main2/mobile')> 0)){ document.domain = "cyworld.com"; var b_Session = "0"; var name = ""; var id = ""; var email = ""; var bMybaseUse = ""; var cym_no = ""; var carrier = ""; var hcellphone = ""; var res_no = ""; var type = ""; var sms_yn = ""; var colresult = ""; var coltitle = ""; var dotori = ""; var sms_point = ""; var photo_folder_yn = ""; var video_folder_yn = ""; var phpself = escape(parent.document.location); if (coltitle.length > 10){ coltitle = coltitle.substring(0,10)+"..."; } function integration_popup(mode){ if (mode == "1"){//ÀÔ·Â window.open("http://www.cyworld.com/main2/mobile/mobile_integration_check.asp", "alim_popup", "directories=no,location=no,menubar=no,scrollbars=no,resizable=no,status=no,titlebar=no,toolbar=no,width=500,height=700"); }else if (mode == "2"){//º¯°æ window.open("http://www.cyworld.com/main2/mobile/mobile_integration_input.asp", "alim_popup", "directories=no,location=no,menubar=no,scrollbars=no,resizable=no,status=no,titlebar=no,toolbar=no,width=500,height=700"); }else{ window.open("http://www.cyworld.com/main2/mobile/mobile_integration_del.asp", "alim_popup", "directories=no,location=no,menubar=no,scrollbars=no,resizable=no,status=no,titlebar=no,toolbar=no,width=350,height=300"); } } function redirect_logout() { try{ top.location.href = "http://www.cyworld.com/main2/logout.asp"; }catch(e){ location.href = "http://www.cyworld.com/main2/logout.asp"; } } function form_chk() { // À̸ÞÀÏ validation üũ var myemail; var mypass; var falsepass = false; var cnt=0; myemail=document.login.email.value; mypass=document.login.passwd.value; //if (myemail.indexOf('@') == -1) { // alert('À̸ÞÀÏ ¾ÆÀ̵𸦠ÀÔ·ÂÇϼ¼¿ä!\n ¿¹)abc@cyworld.com'); // document.login.email.focus(); // return false; //} //else if (myemail.split(" ").join("")==""){ alert('¾ÆÀ̵𸦠ÀÔ·ÂÇϼ¼¿ä!'); document.login.email.focus(); return false; }else if (mypass.split(" ").join("")=="") { alert('ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇϼ¼¿ä!'); document.login.passwd.focus(); return false; } //¾ÆÀ̵ð¿Í µ¿ÀÏ ¿©ºÎ üũ if (myemail.substring(0,myemail.indexOf('@')) == mypass) falsepass = true; //ÆÐ½º¿öµå 4ÀÚ¸® ÀÌÇÏ Ã¼Å© else if (mypass.length < 5) falsepass = true; else{ //¿¬¼ÓµÈ ¹®ÀÚ/¼ýÀÚ Ã¼Å© for( var i=0; i < mypass.length; ++i) { if( mypass.charAt(0) == mypass.substring( i, i+1 ) ) ++cnt; } if( cnt == mypass.length ) { falsepass = true; } } // º¸¾È ÀÎÁõ ·Î±×Àνà action º¯°æ if (document.login.safechk.checked == true) { document.login.action = "https://cyxso.cyworld.com/login.jsp" } return true; } function login_box() { var email, echeck, safechk; echk = getLoginCookie('LOGIN','echeck'); safechk = getLoginCookie('LOGIN','safechk'); if (echk == 'on') { email=getLoginCookie('LOGIN','email'); echk="checked" document.login.echk.checked=true; document.login.email.style.backgroundImage='url(none)'; document.login.email.value=email; document.login.passwd.focus(); } else { document.login.echk.checked=false; //document.login.email.focus(); } document.login.safechk.checked=true //if (safechk == 'on') { // document.login.safechk.checked=true //} //else { // document.login.safechk.checked=false //} } function getLoginCookie( name, subname ) { var nameOfCookie = name + "="; var x = 0; var cookie_str = ""; 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; cookie_str = document.cookie.substring( y, endOfCookie ); } x = document.cookie.indexOf( " ", x ) + 1; if ( x == 0 ) break; } return unescape(getSubCookie(cookie_str, subname)); } function getSubCookie(cookie_str, subname) { var x = 0; x = cookie_str.indexOf(subname + "="); if ((y = cookie_str.indexOf("&", x+1)) == -1) { y = cookie_str.length; } return cookie_str.substring(x + subname.length + 1, y); } function Fillcharge() { window.open('http://cybilling.cyworld.com/Charge/Charge_Dotori.jsp?isFirst=true','','width=410,height=370,top=50,left=50,menubar=0,toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=0'); return; } var d = ""; //d += "\n"; //d += "\n"; //d += "\n"; //d += "\n"; if (b_Session == "1"){ d += "
\n";
d += "
\n";
}else{
d += " »õ±Û¾Ë¸®¹Ì ¹Ì»ç¿ëÁß \n";
d += "
\n";
}
d += "
\n";
}else{
d += " ÅëÈ¿¬°áÀ½À» ¼³Á¤Çϼ¼¿ä.\n";
d += "
\n";
}
d += "
\n";
}else{
d += " ¹Ì»ç¿ëÁß\n";
d += "
\n";
}
d += "
\n";
}else{
d += " ¹Ì»ç¿ëÁß\n";
d += "
\n";
}
d += "
\n";
d += "
\n";
d += "
\n";
d += "