<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">var netk_auth = function() {

	this.auth_val = 'sms';

	this.auth_click = function(el) {
		this.auth_val = el.value;
	}

// : ì‹¤ëª…ì¸ì¦ë°©ë²•
	this.auth_func = function(val, code) {
		util.setCookie("auto_move_code", code , 1);

		var form = document.forms['fauth'];
		if(!val) var val = $(form).find("[name='auth_kind']:checked").val();
		if(!val) {
			alert("ì¸ì¦ì¢…ë¥˜ë¥¼ ì„&nbsp;íƒí•´ì£¼ì‹œê¸° ë°”ëžë‹ˆë‹¤.");
			return;
		}
		switch(val) {
			case 'ipin':
				this.ipin_func();
				break;
			case 'sms':
				this.sms_func();
				break;
			default:
				this.etc_func(val);
				break;
		}
		return true;
	}

// : ì•„ì´í•€ ì¸ì¦ì°½
	this.ipin_func = function() {
		var form = document.forms['form_auth'];
		var action = form.action_ipin.value;

		window.name ="Parent_window";
		window.open('', 'popupIPIN2', 'width=450, height=550, top=100, left=100, fullscreen=no, menubar=no, status=no, toolbar=no, titlebar=yes, location=no, scrollbar=no');
		document.form_auth.target = "popupIPIN2";
		document.form_auth.action = action;
		document.form_auth.submit();
	}

// : SMS ì¸ì¦
	this.sms_func = function() {
		var form = document.forms['form_auth'];
		var action = form.action_sms.value;

		window.name ="Parent_window";
		window.open('', 'popupChk', 'width=500, height=550, top=100, left=100, fullscreen=no, menubar=no, status=no, toolbar=no, titlebar=yes, location=no, scrollbar=no');
		document.form_auth.action = action;
		document.form_auth.target = "popupChk";
		document.form_auth.submit();
	}

	this.etc_func = function(el) {
		
	}

// : ê°€ìž…ì²´í¬
	this.regist_check = function() {
		setTimeout(function(){
			alert("ì´ë¯¸ ê°€ìž…í•œ íšŒì›ìž…ë‹ˆë‹¤.");
		});
	}

// : ì¸ì¦ì„±ê³µí›„ ì´ë™íŽ˜ì´ì§€
	this.move_page = function() {
		
		var prev_url = $("[name='prev_url']").val();
		if(prev_url &amp;&amp; prev_url.indexOf(document.domain)&gt;=0) {
			location.replace(decodeURIComponent(prev_url));
		} else {
			location.href = root;
		}
		/*
		var PARENT = parent.opener.parent;
		var move_page = root+'main/index.php';
		if(PARENT.location.href.indexOf("employ/employ_list.php")!=-1) move_page = PARENT.location.href;
		if(PARENT.location.href.indexOf("employ/employ_detail.php")!=-1) move_page = PARENT.location.href;
		if(PARENT.location.href.indexOf("module/netk_member/member_article.php")!=-1) move_page = root+'module/netk_member/member_regist.php?'+get_value;
		if(get_value=='adult_check') move_page = PARENT.location.href;

		PARENT.location.href = move_page;
		window.close();
		*/
	}
}

var netk_auth = new netk_auth();
</pre></body></html>