var _server ='';
// 
function save_server(sv){
	ifrm_hidden.location.href = '/FRM/common/save_server.php?sv='+sv;
	return;
}

// ¸ð´ÞÃ¢ ¶ç¿ì±â À§ÇÑ ±âÃÊ ÇÔ¼ö
function fnSetValues(){
   var iHeight=212;
   var sFeatures="dialogHeight: " + iHeight + "px;";
   return sFeatures;
}

// alert ¸ð´ÞÃ¢ 
function candy_alert(candy_msg,subGO,gnb_id,time){ // subGO = subGO[0] , gnb_id = integer default '', time close()
	//var sFeatures=fnSetValues();
	Height = 212;
	//if (subGO==null || subGO=='customer') { subGO='common'; }
	if(subGO !="cafew" && subGO !="schoolw" && subGO !="schoolb") subGO = 'common';
	if (gnb_id==null) { gnb_id=""; }
	if (time==null) {time="NOLIMIT";}
	switch(subGO){
	    case "schoolb" : { width='400';Height='180';break;}
	    case "schoolw" : { width='447';Height='300';break;}
	    case "cafew" : { width='447';Height='300';break;}
		default: { width='405';Height='273';break;}
	}
	host = (_server) ? _server:'';
	//var position = sFeatures +'unadorned:yes; dialogWidth:'+width+'px; dialogHeight:'+Height+'px; help:no; resizable:no; status:no; scroll=no;';
	
	if (checkBrowser() == "IE7") {
        if(subGO=="schoolb"){
            width='400';Height = 180;
        }else{
		    width='447';Height = 273;
        }
	}else{
        if(subGO=="schoolb"){
            width='400';Height = 200;
        }else{
		    width='447';Height = 273;
        }
	}
	
	var position = 'unadorned:yes; dialogWidth:'+width+'px; dialogHeight:'+Height+'px; help:no; resizable:no; status:no; scroll=no;';
	
	return window.showModalDialog(host+'/POP/common/alert/alert_'+subGO+gnb_id+'.php?GO='+subGO+'&time='+time+'&candy_msg='+candy_msg, window, position);
}

// ºê¶ó¿ìÀú Ã¼Å©
function checkBrowser()
{
	var clintAgent = navigator.userAgent;
	if (clintAgent.indexOf("MSIE 7.") != -1) {
		return "IE7";
	}
	return "UNKNOWN";
}

// confirm ¸ð´ÞÃ¢
function candy_confirm(candy_msg,subGO,gnb_id){
	if (subGO==null || subGO=='customer' || subGO=='testcommunity') { subGO='common'; }
	if (gnb_id==null) { gnb_id=""; }


	switch(subGO){
		default: {width='405';Height='273';break;}
	}

	if (checkBrowser() == "IE7") {
        if(subGO=="schoolb"){
            width='400';Height = 180;
        }else{
		    width='405';Height = 234;
        }
	}else{
        if(subGO=="schoolb"){
            width='400';Height = 200;
        }else{
		    width='405';Height = 273;
        }
	}
	
	host = (_server) ? _server:'';		
	var position = 'unadorned:yes; dialogWidth:'+width+'px; dialogHeight:'+Height+'px; help:no; resizable:no; status:no; scroll=no;';
	return window.showModalDialog(host+'/POP/common/alert/confirm_'+subGO+gnb_id+'.php?GO='+subGO+'&candy_msg='+candy_msg, window, position);
}

// Å°ÀÔ·Â°ªÀÌ enter °ªÀÎÁö È®ÀÎ.- run¼öÇà.
function enter(key, run){
	if(event.keyCode == 13){
		eval(run);
	}
}

// esc·Î ÆË¾÷Ã¢ ´Ý±â
function closeWidow(key)
{
    if(key == 27)
    {
        window.close();
    }
}

// ÆË¾÷À©µµ¿ì¿ÀÇÂ
function any_open(href, width, height, scroll, name, resize, status, posx, posy){ // score = yes or no = default no; // resize µ¿ÀÏ
    	var position='';
    	if(posx==null) posx = ((screen.width-width)/2-1).round;
    	if(posy==null) posy = ((screen.height-height)/2-1).round;
		
		if(scroll == null){ scroll = 'no'; }
		if(resize == null){ resize = 'no'; }
		if(status == null){ status = 'no'; }
		
    	var position = 'width='+width+',height='+height+',scrollbars='+scroll+',status='+status+',resizable='+resize+',top='+posy+',left='+posx;

		if(name == null){
			win_name = '_blank';
		}else{
			win_name = name;
		}
    	var openWindow=window.open(href, win_name, position);
}

// ·Î±×ÀÎÃ¢
function logining_pop(tmplogin,tmpkey){
	var turl = "/POP/home/login/home_login.php?URLS="+js_GO;
	eval("top.any_open(turl,'420','225','no','login_pop')");
}


// ¸Þ´ºÅ¬¸¯½Ã
function menu_click(link_go,link_to,link_mode){
	if(link_go != null) link_go = '/?GO='+link_go;
	if(link_to != null) link_to = '&TO='+link_to;
	if(link_mode == 0){
		location.href= link_go + link_to;
	}else{
		
	}
}


// ÆË¾÷À©µµ¿ì¿ÀÇÂ ÀÓ½Ã...
function any_open1(){ // score = yes or no = default no; // resize µ¿ÀÏ
    	var posx=0;
    	var posy=0;
    	var position='';
		var name = 'event_pop';
    	posx = ((screen.width-width)/2-1).round;
    	posy = ((screen.height-height)/2-1).round;
		
		if(scroll == null){ scroll = 'no'; }
		if(resize == null){ resize = 'no'; }
		if(status == null){ status = 'no'; }
		
    	var position = 'width=623, height=700,scrollbars=no';

		if(name == null){
			//win_name = Math.random().toString().substr(3, 5);
			win_name = '_blank';
		}else{
			win_name = name;
		}
	var openWindow=window.open('/POP/home/event/index.php?no=64', win_name, position);
//	try{
//		openWindow.focus();
//	}catch(e){}
}

// ÆË¾÷À©µµ¿ì¿ÀÇÂ ÀÓ½Ã...
function any_open2(){ // score = yes or no = default no; // resize µ¿ÀÏ
    	var posx=0;
    	var posy=0;
    	var position='';
		var name = 'event_pop';
    	posx = ((screen.width-width)/2-1).round;
    	posy = ((screen.height-height)/2-1).round;
		
		if(scroll == null){ scroll = 'no'; }
		if(resize == null){ resize = 'no'; }
		if(status == null){ status = 'no'; }
		
    	var position = 'width=628, height=697,scrollbars=no';

		if(name == null){
			//win_name = Math.random().toString().substr(3, 5);
			win_name = '_blank';
		}else{
			win_name = name;
		}
	var openWindow=window.open('/POP/home/event/index.php?no=62', win_name, position);
//	try{
//		openWindow.focus();
//	}catch(e){}
}

// ÆË¾÷À©µµ¿ì¿ÀÇÂ ÀÓ½Ã...
function any_open3(){ // score = yes or no = default no; // resize µ¿ÀÏ
    	var posx=0;
    	var posy=0;
    	var position='';
		var name = 'event_pop';
    	posx = ((screen.width-width)/2-1).round;
    	posy = ((screen.height-height)/2-1).round;
		
		if(scroll == null){ scroll = 'no'; }
		if(resize == null){ resize = 'no'; }
		if(status == null){ status = 'no'; }
		
    	var position = 'width=618, height=695,scrollbars=no';

		if(name == null){
			//win_name = Math.random().toString().substr(3, 5);
			win_name = '_blank';
		}else{
			win_name = name;
		}
	var openWindow=window.open('/POP/home/event/index.php?no=61', win_name, position);
//	try{
//		openWindow.focus();
//	}catch(e){}
}

function parent_go(target, parent_yn){

        if(parent_yn == "y"){

                parent.window.location.href = target;

        }else if(parent_yn == "yy"){

                parent.parent.window.location.href = target;

        }else{

                window.location.href = target;
        }
}

function getCookie(strName){
        var strArg = new String(strName + "=");
        var nArgLen, nCookieLen, nEnd;
        var i = 0, j;

        nArgLen    = strArg.length;
        nCookieLen = document.cookie.length;

        if(nCookieLen > 0) {
                while(i < nCookieLen) {
                        j = i + nArgLen;
                        if(document.cookie.substring(i, j) == strArg) {
                                nEnd = document.cookie.indexOf (";", j);
                                if(nEnd == -1) nEnd = document.cookie.length;
                                return unescape(document.cookie.substring(j, nEnd));
                        }
                        i = document.cookie.indexOf(" ", i) + 1;
                        if (i == 0) break;
                }
        }
        return("");
}

function alpha_curtain(html,width,height,color,opacity)
{
	if (!color) color="white";
	if (!opacity) opacity=70;
	var dummy=document.createElement("DIV");
	dummy.id="loadingBar_div";
	dummy.style.position="absolute";
	dummy.style.top=0;
	dummy.style.left=0;
	dummy.style.visibility="visible";
	dummy.style.width=document.body.clientWidth;
	dummy.style.height=document.body.clientHeight;
	dummy.style.backgroundColor=color;
	dummy.style.filter="alpha(opacity='"+opacity+"')";
	document.body.appendChild(dummy);
	dummy=document.createElement("DIV");
	dummy.id="loadingBar_img";
	dummy.style.position="absolute";
	dummy.style.top=(document.body.clientHeight-height)/2;
	dummy.style.left=(document.body.clientWidth-width)/2;
	dummy.style.width=parseInt(width);
	dummy.style.height=parseInt(height);
	dummy.innerHTML=html;
	dummy.style.visibility="visible";
	document.body.appendChild(dummy);
}

function remove_curtain(arg)
{
	var curtain_div_cnt = arg.document.all["loadingBar_div"];
//	var curtain_img_cnt = arg.document.all["loadingBar_img"];

try{
	if(curtain_div_cnt.length>=0){
		for (i=0; i < curtain_div_cnt.length; i++){
			arg.document.all["loadingBar_div"][i].style.visibility="hidden";
			arg.document.all["loadingBar_img"][i].style.visibility="hidden";
			}
	}else{
			arg.document.all["loadingBar_div"].style.visibility="hidden";
			arg.document.all["loadingBar_img"].style.visibility="hidden";
	}
}catch(e){}

////	arg.document.all.loadingBar_div.style.visibility="hidden";
////	arg.document.all.loadingBar_img.style.visibility="hidden";

//	arg.document.all.loadingBar_div.removeNode(true);
//	arg.document.all.loadingBar_img.removeNode(true);
}


function isBrowser() {   
	// convert all characters to lowercase to simplify testing 
    var agt=navigator.userAgent.toLowerCase(); 

    // *** BROWSER VERSION *** 
    // Note: On IE5, these return 4, so use is.ie5up to detect IE5. 
    this.major = parseInt(navigator.appVersion); 
    this.minor = parseFloat(navigator.appVersion); 

    this.nav  = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1) 
                && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1) 
                && (agt.indexOf('webtv')==-1)); 
    this.nav2 = (this.nav && (this.major == 2)); 
    this.nav3 = (this.nav && (this.major == 3)); 
    this.nav4 = (this.nav && (this.major == 4)); 
    this.nav4up = (this.nav && (this.major >= 4)); 
    this.navonly      = (this.nav && ((agt.indexOf(";nav") != -1) || 
                          (agt.indexOf("; nav") != -1)) ); 
    this.nav5 = (this.nav && (this.major == 5)); 
    this.nav5up = (this.nav && (this.major >= 5)); 

    this.ie   = (agt.indexOf("msie") != -1); 
    this.ie3  = (this.ie && (this.major < 4)); 
    this.ie4  = (this.ie && (this.major == 4) && (agt.indexOf("msie 5.0")==-1) ); 
    this.ie4up  = (this.ie  && (this.major >= 4)); 
    this.ie5  = (this.ie && (this.major == 4) && (agt.indexOf("msie 5.0")!=-1) ); 
    this.ie5up  = (this.ie  && !this.ie3 && !this.ie4); 
}

function SelectAll(target)
{
  var   i, form = document.forms[target];
  if( !form ) return;
  for( i = 0; i < form.length; i++ )
  {
    if( form[i].type != "checkbox" ) continue;
    form[i].checked = !form[i].checked;
  }
}

// ·¹ÀÌ¾î °æ°íÃ¢
function layer_alert(msg)
{
	var arr_msg = msg.split("||");
	
	var html = "<table width='380' height='192'  border='0' cellpadding='0' cellspacing='0'>";
	html+= "<tr>";
	html+= "<td valign='top' background='http://img.d-fighter.com/img/common/div_box.gif'><table width='100%'  border='0' cellspacing='0' cellpadding='0'>";
	html+= "<tr>";
	html+= "<td width='12' rowspan='3'></td>";
	html+= "<td width='356' height='28' valign='bottom'><table width='100%'  border='0' cellspacing='0' cellpadding='0'>";
	html+= "<tr>";
	html+= "<td height='17' valign='top'><font color='yellow'><b>"+ arr_msg[0] +"</b></font></td>";
	html+= "<td width='15' valign='top'><a href='javascript:close_layer_alert();'><img src='http://img.d-fighter.com/img/intro/intro_div_close.gif' width='13' height='13' border='0'></a></td>";
	html+= "</tr>";
	html+= "</table></td>";
	html+= "<td width='12' rowspan='3'></td>";
	html+= "</tr>";
	html+= "<tr>";
	html+= "<td height='1' bgcolor='666666'></td>";
	html+= "</tr>";
	html+= "<tr>";
	html+= "<td height='8'></td>";
	html+= "</tr>";
	html+= "<tr>";
	html+= "<td></td>";
	html+= "<td><font color='white'>"+ arr_msg[1] +"</font></td>";	// ³»¿ë
	html+= "<td></td>";
	html+= "</tr>";
	html+= "</table></td>";
	html+= "</tr>";
	html+= "</table>";
	
	document.all.layer_hidden.innerHTML      = html;
	document.all.layer_hidden.style.position = "absolute";
	document.all.layer_hidden.style.left     = "280px";
	document.all.layer_hidden.style.top      = "40%";
	document.all.layer_hidden.style.display  = "";
}

// °ø¿ë ¾ÆÀÌÅÛ ¹Þ±â Ã¢ (ajaxÀÌ¿ë)
function layer_item_send(data, s_url)
{
	try {
		sendRequest(ajax_disp, data, 'POST', s_url, true, true);
	} catch(e) {
		layer_alert("AJAX||AJAX¸¦ Ç¥ÇöÇÏÁö ¸øÇÏ´Â ºê¶ó¿ìÀú ÀÔ´Ï´Ù.");
	}
}

function ajax_disp(obj)
{
	var packet = obj.responseText;
	document.all.layer_hidden.innerHTML = packet;
	document.all.layer_hidden.style.position = "absolute";
	document.all.layer_hidden.style.left     = "250px";
	document.all.layer_hidden.style.top      = "40%";
	document.all.layer_hidden.style.display  = "";
}

// Ä³¸¯ÅÍ ¼¿·ºÆ® ¼±ÅÃ
function change_server(select_id)
{
	for(i=1; i<=6; i++){
		eval("document.all.charac_"+i+".style.display = 'none'");
	}
	eval("document.all.charac_"+select_id+".style.display = 'block'");
}

// °ø¿ë ¾ÆÀÌÅÛÁÖ±â Ã¢¿¡¼­ ¾ÆÀÌÅÛ ¹Þ±â ¹öÆ°
function get_item_proc(form, title, action)
{
	var server_id = eval("document.all.server_id.value");
	var charac_no = eval("document.all.charac_"+server_id+".value");
	if(charac_no == "") {
		candy_alert(title+"||¾ÆÀÌÅÛ ¹ÞÀ» Ä³¸¯ÅÍ¸¦ ¼±ÅÃÇÏ¼¼¿ä.");
		return;
	}
	sendRequest(ajax_return_proc, "mode=ITEM_SEND&server_id="+server_id+"&charac_no="+charac_no, "POST", action, true, true);
}

function ajax_return_proc(obj)
{
	var packet = obj.responseText;
	layer_alert(packet);
}

function close_layer_alert()
{
	document.all.layer_hidden.style.display = "none";
}

function common_window_open(sURL, sNAME, sMODE)
{
	if (js_yeslogin == '0') {
		candy_alert('·Î±×ÀÎ||·Î±×ÀÎ ÈÄ »ç¿ëÇØÁÖ¼¼¿ä');
	} else {
		window.open(sURL, sNAME, sMODE);
	}
}

function hangame_user_confirm(vlu, mode) {
	if(vlu == 1){
		if(candy_confirm('³Ø½¼À¯Àú||´øÀü¾ØÆÄÀÌÅÍ °³ÀÎÁ¤º¸ °øÀ¯ ¹× °¡ÀÔÀ» ÇÏ½Ã°Ú½À´Ï±î?')) {
			if (mode == 'pop') {	// Ã¢¸ðµå
				top.window.close();
				top.opener.location.href = '/?GO=member|nexon';
			} else {
				top.location.href = '/?GO=member|nexon';
			}
		}
		return true;
	}
	return false;
}

function login_open(vlu)		//·Î±×ÀÎÆË¾÷¿ÀÇÂ
{
	window.open("/POP/seria/homepi_login_pop.php?nxtURL="+vlu,"login","width=440,height=300");
}

function passpad_pop(vlu){ // ÆÐ½ºÆÐµå Ã£±â
	if (js_yeslogin == 1)
	{
		if (vlu == 1) {
			window.open('/POP/member/id_pass/passpad.php','passpad_sc','width=440,height=410,scrollbars=0,status=0,resizable=0,titlebar=0,toolbar=0');
		} else if (vlu == 2) {
			window.open('/POP/member/id_pass/passpad_ver2.php','passpad_sc','width=440,height=410,scrollbars=0,status=0,resizable=0,titlebar=0,toolbar=0');
		}
		
	} else {
		candy_alert('·Î±×ÀÎ||·Î±×ÀÎ ÈÄ »ç¿ëÇØÁÖ¼¼¿ä');
	}
}

function resizeWindow(nWidth, nHeight) {
	// ½ºÅ©·Ñ ¾ø¾Ö±â
	//document.body.style.overflow='hidden';
	var clintAgent = navigator.userAgent;
	if ( clintAgent.indexOf("MSIE") != -1 ) {
		// IE
		window.resizeBy(nWidth-document.body.clientWidth, nHeight-document.body.clientHeight);
	} else {
		window.resizeBy(nWidth-window.innerWidth, nHeight-window.innerHeight);
	}
}

function windowResize(nWidth, nHeight) {
	window.resizeTo(nWidth, nHeight);
	with(document.body) {
		window.resizeTo(nWidth * 2 - clientWidth, nHeight * 2 - clientHeight);
	}
}

function showImagePop(path) {
	window.open("/POP/resizePicView.php?pic="+path, "df_img_pop", "scrollbars=no");
}

// ºñ¾îÀÖ´Â Æû Ã¼Å©
function chkForm(obj, msg) {
	if (obj.value.split(" ").join("") == "") {
		candy_alert(msg);
		obj.value = "";
		try {
			obj.focus();
		} catch(e) {}
		return true;
	}
	return false;
} 


// len_check
String.prototype.bytes = function() {
        var str = this;
        var l = 0;
        for (var i=0; i<str.length; i++) l += (str.charCodeAt(i) > 128) ? 2 : 1;
        return l;
}

function add_comma(val) {
        var num = val.toString();
        if(num.length <= 3) return num;
        var loop = Math.ceil(num.length / 3);
        var offset = num.length % 3;
        if(offset==0) offset = 3;
        var str = num.substring(0, offset);
        for(i=1;i<loop;i++) {
                str += "," + num.substring(offset, offset+3);
                offset += 3;
        }
        return str;
}

// Å°º¸µå »ç¿ë ¸·±â
function DetectKey ( evt )
{
    if ( chkBrowser.msie() )
    {
        if( event.ctrlKey == true )
        {
			return false;
		}
        
        if ( event.keyCode == 27 )
        {
			return false;
		}
        
        if ( event.keyCode == 116 || ( event.ctrlKey && (event.keyCode == 78 || event.keyCode == 82) ) )
        {
            event.keyCode= 1;
            return false;
        }
    } else {
        if ( evt.keyCode == 17 )	// ctrl key
        {
			return false;
		}
        
        if ( evt.keyCode == 27 )
        {
			return false;
		}
        
        if ( evt.keyCode == 116 || ( evt.keyCode == 17 && ( evt.keyCode == 78 || evt.keyCode == 82 ) ) )
        {
            evt.keyCode = 1;
            return false;
        }
    }
}

// ºê¶ó¿ìÁ® ¹× À©µµ¿ì Ã¼Å©
var chkBrowser = {
	agt : navigator.userAgent.toLowerCase(),
	check : function(browserName) { return chkBrowser.agt.indexOf(browserName) != -1 },

	//Browser Name
	msie : function() { return chkBrowser.check("msie") },
	msie5 : function() { return chkBrowser.check("msie 5") },
	msie55 : function() { return chkBrowser.check("msie 5.5") },
	msie6 : function() { return chkBrowser.check("msie 6") },
	msie7 : function() { return chkBrowser.check("msie 7") },

	firefox : function() { return chkBrowser.check("firefox") },
	netscape : function() { return chkBrowser.check("netscape") },

	safari : function() { return chkBrowser.check("safari") },
	opera : function() { return chkBrowser.check("opera") },

	//Browser Engine
	gecko : function() { return chkBrowser.check("gecko") },
	khtml : function() { return chkBrowser.check("khtml") },
	
	//OS
	windows : function() { return chkBrowser.check("windows") },
	windows2000 : function() { return chkBrowser.check("windows nt 5.0") },
	windowsXP : function() { return chkBrowser.check("windows nt 5.1") },
	windows98 : function() { return chkBrowser.check("windows 98") },
	mac : function() { return chkBrowser.check("mac") },
	linux : function() { return chkBrowser.check("linux") }
}

function open_premium()
{	
	window.open('/POP/common/event/premium_pc.html', 'pc', 'width=526, height=915, scrollbars=no');
}

function charac_move_pop(){
	if(js_yeslogin == 0){
		alert('¸ÕÀú ·Î±×ÀÎÈÄ »ç¿ëÇØÁÖ¼¼¿ä');
		return;
	}
	if(js_yeshan == 1){
		alert('ÇÑ°ÔÀÓ °¡·Î±×ÀÎÀÚ ÀÔ´Ï´Ù. Á¤½Ä·Î±×ÀÎÈÄ »ç¿ëÇØÁÖ¼¼¿ä');
		return;
	}
	any_open('/POP/common/event/charac_mv.php', 470, 350, 'no', 'charac_move');
}

var chk_notreal = 0;
var chk_notreal_mode = '';

function is_nexon_notreal(vlu){
	chk_notreal_mode = vlu;
	sendRequest(is_nexon_notreal_ok, '', 'POST', '/FRM/member/nexon/nexon_realname.php', false, false);
}
	
function is_nexon_notreal_ok(obj){
	var str = decodeURIComponent(obj.responseText);
	var str_arr = str.split('||');
	
	switch(str_arr[0]){
		case 'write_yes' :
			chk_notreal = 0;				
			break;
			
		case 'write_no' :
			chk_notreal = 1;
			break;
			
		case 'error' :
		default :
			chk_notreal = 1;
			alert('½Ã½ºÅÛ Àå¾Ö·Î ±ÛÀ» ¾²½Ç¼ö ¾ø½À´Ï´Ù');
			
			break;
	}
	
	if(chk_notreal == 1) {
		if(chk_notreal_mode == 'comment'){
			if ( confirm('½Ç¸íÀÎÁõÀÌ µÇÁö ¾Ê¾Ò½À´Ï´Ù.\n½Ç¸íÀÎÁõÀ» ÇÏ½Å À¯Àú¸¸ ´ñ±ÛÀ» µî·ÏÇÒ¼ö ÀÖ½À´Ï´Ù.\n\n½Ç¸íÀÎÁõÀ» ÇÏ½Ã°Ú½À´Ï±î?') ){
				// ½Ç¸íÀÎÁõ ÆäÀÌÁö·Î ÀÌµ¿ 
				go_nexon_realname();
			}
			return true; // ½Ç¸í¾Æ´Ô 
		}else{
			var msg_tmp = "";
			msg_tmp  = "<tbody><tr><td class='ex_bbs01' align='center'>";
			msg_tmp += "<br><br>½Ç¸í ÀÎÁõÀÌ µÇ¾îÀÖÁö ¾Ê½À´Ï´Ù. <br>½Ç¸í ÀÎÁõÀ» ¹ÞÀº À¯Àú¸¸ ±Û ÀÛ¼ºÀ» ÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù.<br><br>";
			msg_tmp += "<input id='go_list' type=button value='µÚ·Î°¡±â' onClick='history.go(-1);'> &nbsp;&nbsp; <input id='go_realname' type=button value='½Ç¸íÀÎÁõÇÏ·¯°¡±â' onClick='go_nexon_realname();'>";
			msg_tmp += "<br><br><br><br></td></tr></tbody>";
			$('form:bbs').html(msg_tmp);
			return true;
		}
	}
}
   
function go_nexon_realname(){
	location.href = 'https://www.nexon.com/Login/page/nxsecure.aspx?url=login/confirmrealname&strPageUrl=http%3a%2f%2fdf.nexon.com&strCancelUrl=http%3a%2f%2fdf.nexon.com';
}