/**
 * @author Administrator
 */


<!-- 2¿ù1ÀÏÀÌº¥Æ® ÆË¾÷ ½ÃÀÛ -->
function event_pizza() {
        var ntWin;
        ntWin = window.open("/event/050415/event_list.asp","evenPizza","fullscreen=no,scrollbars=yes,width=616,height=400");

}
function event_vote() {
        var ntWin;
        ntWin = window.open("/event/050415/pop_vote.asp","evenVote","fullscreen=no,scrollbars=no,width=300,height=160");

}
function form_run() {
        var ntWin;
        ntWin = window.open("/event/050427/popup.asp","run","fullscreen=no,scrollbars=no,width=400,height=420");

}
function char_rename() {
        var ntWin1;
        ntWin1 = window.open("/character_change/test.asp","char_re","fullscreen=no,scrollbars=yes,width=500,height=710");

}
function char_rename2() {
        var ntWin1;
        ntWin1 = window.open("/character_change/rename_refuse.asp","char_re2","fullscreen=no,scrollbars=yes,width=500,height=710");

}
function yhchar_rename() {
        var ntWin1;
        ntWin1 = window.open("/inc/yh_loginCheck.asp?url=/character_change/test.asp","yh_gamestart","top=0,left=0,width=800,height=500 menubar=no,directories=no,resizable=no,status=no,scrollbars=yes");

}
function yhchar_rename2() {
	var ntWin1;
	ntWin1 = window.open("/inc/yh_loginCheck.asp?url=/character_change/rename_refuse.asp","yh_gamestart2","top=0,left=0,width=800,height=500 menubar=no,directories=no,resizable=no,status=no,scrollbars=yes");

}

function mobile_chan(m_acc) {
        var ntWin1;
        //ntWin1 = window.open("http://www.mobiguard.co.kr/httphome/web/event2/20070731_caem/_event_intro_caem.jsp?m_acc="+m_acc+"","yh_gamestart","top=0,left=0,width=1000,height=700 menubar=no,directories=no,resizable=no,status=no,scrollbars=yes");
}

<!-- 2¿ù1ÀÏ ÀÌº¥Æ® ÆË¾÷ ³¡  -->





// Ä³¸¯ÅÍ ·¹ÀÌ¾î ¿­±â
function showLayer() {
	document.all.charact.style.visibility = "visible";
}
// Ä³¸¯ÅÍ ·¹ÀÌ¾î ´Ý±â
function hideLayer() {
	document.all.charact.style.visibility = "hidden";
}








<!-- Main_JavaScript.js Source Start  -->
// ÁÖ¼Ò¿¡ Äõ¸®¹®À» ³ÖÀ¸¸é ¸ÞÀÎÀ¸·Î º¸³»¹ö¸°´Ù
function urlParse() {
	var checkURL = document.URL; // URL °®±¸¿À±â
	cURL = checkURL.toLowerCase(); //´ë¹®ÀÚ·Î ÀÔ·ÂÇØµµ ¼Ò¹®ÀÚ·Î ¹Ù²Û´Ù

	checkLen1 = cURL.indexOf('from'); // Äõ¸®¹® Æ÷ÇÔÇÏ´Â ¹®ÀÚ¿­ °ª ¹ÝÈ¯
	checkLen2 = cURL.indexOf('select');
	checkLen3 = cURL.indexOf('delete');
	checkLen4 = cURL.indexOf('update');
	checkLen5 = cURL.indexOf('set');

	if (checkLen1 != -1) {
		if (checkLen2 != -1) {
			location.href = "/main.html"
		} else if (checkLen3 != -1) {
			location.href = "/main.html"
		}
	}

	if (checkLen4 != -1) {
		if (checkLen5 != -1) {
			location.href = "/main.html"
		}
	}
}

//OSTµè±â ÆË¾÷;
function music_play(music_num) {
        var ntWin;
		Murl = "/download/music_play.asp?music_num=" + music_num
        ntWin = window.open(Murl,"evenPizza","fullscreen=no,scrollbars=no,width=290,height=150");

}

urlParse();

//¼ýÀÚ¸¸ ÀÔ·ÂµÇ°Ô
function inputNumber() {
	if (event.keyCode < 48 || event.keyCode > 57 ) {
		event.returnValue = false;
	}
}

//Row¿¡ MouseOver½Ã
function func_MouseOver(obj, bgcolor) {
	obj.bgColor = bgcolor;
}

//Row¿¡ MouseOut½Ã
function func_MouseOut(obj, bgcolor) {
	obj.bgColor = bgcolor;
}

//ÀÌº¥Æ® ÁÂÇ¥ ÀúÀåÇÏ±â...
xpos	= 0;
ypos	= 0;
function setPosition(e) {
	if(document.layers) {
		xpos = e.pageX;
		ypos = e.pageY;
	}
	else {
		xpos = event.clientX + document.body.scrollLeft;
		ypos = event.clientY + document.body.scrollTop;
	}
}

//ID/ºñ¹Ð¹øÈ£ È®ÀÎÆû º¸¿©ÁÖ±â
var confirmFlag	= false;
function go_ConfirmForm(flag) {
	var frm = document.MyForm;
	var frm1= document.all;
	if (flag != "") {
		if (confirmFlag == false) {
			frm1.confirmLayer.style.display	= "";
			frm1.confirmLayer.style.top		= ypos - 100;
			frm1.confirmLayer.style.left	= xpos - 75;
			frm.confirm_flag.value					= flag;
			frm1.confirmLayer.style.height			= 55;
			frm1.confirmTrLayer_pswd.style.display	= "";
			frm.pswd.disabled	= false;
			frm.pswd.focus();
			confirmFlag = true;
		} else {
			frm1.confirmLayer.style.display			= "none";
			frm.confirm_flag.value					= "";
			frm1.confirmTrLayer_pswd.style.display	= "none";
			frm.pswd.disabled	= true;
			confirmFlag	= false;
		}
	} else {
		frm1.confirmLayer.style.display			= "none";
		frm.confirm_flag.value					= "";
		frm1.confirmTrLayer_pswd.style.display	= "none";
		frm.pswd.disabled	= true;
		confirmFlag	= false;
	}
}



function member_out(id) {
	var userid = id;
	var urlname = "./member/member_out.asp?userid="+userid;
	window.open(urlname, "browse_org","height=270,width=401, menubar=no,directories=no,resizable=no,status=no,scrollbars=no");
}

function MM_openBrWindow(theURL,winName,features) {
	window.open(theURL,winName,features);
}

//ÃæÀüÇÏ±â ÆË¾÷
function pay_charge() {	
	url2="/itemmall/login_flag2.asp";
	window.open(url2,'','width=500,height=400,top=0,left=0,marginwidth=0,marginheight=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no');
}

//¾ßÈÄÈ¸¿ø ÃæÀüÇÏ±â ÆË¾÷
function pay_charge_yh() {
	w = 800;
	h = 500;

	var cnj_left = (screen.width-w) / 2;
	var cnj_top = (screen.height-h) / 2;

	url="/inc/yh_loginCheck_mall.asp?url=/itemmall/login_flag2.asp";
	window.open(url,'charge','width=800,height=500,top='+cnj_top+',left='+cnj_left+',marginwidth=0,marginheight=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no');
	//alert("ÃæÀüÀ» ÇÏ½Ç ¼ö ¾ø½À´Ï´Ù.");
}



//¾ÆÀÌÅÛ¸ô ¸·±â ÀÓ½Ã
function close_itemmall() {
	alert("¾ÆÀÌÅÛ¸ô ¾÷µ¥ÀÌÆ® °ü°è·Î 30ºÐ°£ Á¢¼ÓÀ» ÇÏ½Ç ¼ö ¾ø½À´Ï´Ù.");
	location.href="<%=UrlHttp%>";
}
//close_itemmall();
<!-- Main_JavaScript.js Source End -->