<!--

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function ready_ok() {
	alert("ÁË¼ÛÇÕ´Ï´Ù.\n\nÇöÀç ÁØºñÁß¿¡ ÀÖ½À´Ï´Ù.");
	return;
}

function login_ok() {
	if (event.keyCode == 13) {
		go_login();
	}
	return;
}

function go_login() {
	if (login_form.login_id.value=="") {
		alert("¾ÆÀÌµð¸¦ ÀÔ·ÂÇÏ¼¼¿ä.");
		login_form.login_id.focus();
		return;
	}
	if (login_form.login_pwd.value=="") {
		alert("ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇÏ¼¼¿ä.");
		login_form.login_pwd.focus();
		return;
	}
	login_form.submit();
}

function go_member() {
	location.href="/Mypage/User_join_agreed.asp";
}

function go_idpass() {
	location.href="https://www.nohoo.com:447/Mypage/User_idpass.asp";
}

function set_init() {
	document.login_form.login_id.focus();
}

function go_logout() {
	ans = confirm("Á¤¸» ·Î±×¾Æ¿ô ÇÏ½Ã°Ú½À´Ï±î?");
	if (ans) {
		location.href="/Mypage/User_logout_prcs.asp";
	}
}

function go_myedit() {
	location.href="https://www.nohoo.com:447/Mypage/User_myedit.asp";
//	location.href="/Mypage/User_myedit.asp";
}

function go_mypage() {
	location.href="https://www.nohoo.com:447/Mypage/User_keyedit.asp";
//	location.href="/Mypage/User_keyedit.asp";
}

function go_agreed(str) {
	window.open("/Mypage/pop_agreed.asp?str_kind=" + str,"agreed_pop","width=830,height=340");
}

// ID¿¡ ÀÔ·ÂÀü ¹é±×¶ó¿îµå ÀÌ¹ÌÁö ¾Èº¸ÀÌ°Ô ÇÏ±â
function reSetBgID() {
	document.all.login_id.style.backgroundImage="";
	return true;
}
// ºñ¹Ð¹øÈ£¿¡ ÀÔ·ÂÀü ¹é±×¶ó¿îµå ÀÌ¹ÌÁö ¾Èº¸ÀÌ°Ô ÇÏ±â
function reSetBgPW() {
	document.all.login_pwd.style.backgroundImage="";
	return true;
}

// ID¿¡ °ªÀÌ ¾øÀ¸¸é ¹é±×¶ó¿îµå ÀÌ¹ÌÁö º¸ÀÌ°Ô ÇÏ±â
function init_SetBgID() {
	if (login_form.login_id.value=="") {
		document.all.login_id.style.backgroundImage="url(/img/log_id_tx.gif)";
		return true;
	}
}
// ºñ¹Ð¹øÈ£¿¡ °ªÀÌ ¾øÀ¸¸é ¹é±×¶ó¿îµå ÀÌ¹ÌÁö º¸ÀÌ°Ô ÇÏ±â
function init_SetBgPW() {
	if (login_form.login_pwd.value=="") {
		document.all.login_pwd.style.backgroundImage="url(/img/log_pass_tx.gif)";
		return true;
	}
}

//È¸¿ø°¡ÀÔÇÏ±â(ÀÌ¸§,ÁÖ¹Î¹øÈ£ È®ÀÎ)
function go_agree_reg() {
	if (document.user_form.name.value.split(" ").join("")=="") {
		alert("ÀÌ¸§¸¦ ÀÔ·ÂÇÏ¿© ÁÖ¼¼¿ä!");
		document.user_form.name.focus();
		return;
	}

	if (document.user_form.jumin1.value.split(" ").join("")=="") {
		alert("ÁÖ¹Î¹øÈ£¸¦ ÀÔ·ÂÇÏ¿© ÁÖ¼¼¿ä!");
		document.user_form.jumin1.focus();
		return;
	}

	if (document.user_form.jumin2.value.split(" ").join("")=="") {
		alert("ÁÖ¹Î¹øÈ£¸¦ ÀÔ·ÂÇÏ¿© ÁÖ¼¼¿ä!");
		document.user_form.jumin2.focus();
		return;
	}

	if (IsIdNumberCheck(user_form.jumin1.value + user_form.jumin2.value)==true)
	{
		document.user_form.jumin1.focus();
		alert("Àß¸øµÈ ÁÖ¹Îµî·Ï¹øÈ£ÀÔ´Ï´Ù.\n\nÁÖ¹Îµî·Ï¹øÈ£¸¦ Á¤È®ÇÏ°Ô ÀÔ·ÂÇØÁÖ¼¼¿ä");
		return;
	}

	document.user_form.submit();
}

function IsIdNumberCheck(checkStr) 
{
	pp=checkStr.charAt(6)
	if (pp<1 || pp>4) {
		return true;
	}
	a = checkStr.charAt(0) * 2;
	b = checkStr.charAt(1) * 3;
	c = checkStr.charAt(2) * 4;
	d = checkStr.charAt(3) * 5;
	e = checkStr.charAt(4) * 6;
	f = checkStr.charAt(5) * 7;
	g = checkStr.charAt(6) * 8;
	h = checkStr.charAt(7) * 9;
	i = checkStr.charAt(8) * 2;
	j = checkStr.charAt(9) * 3;
	k = checkStr.charAt(10) * 4;
	l = checkStr.charAt(11) * 5;
	m = checkStr.charAt(12);
	if (m != ((11 - ((a + b + c + d + e + f + g + h + i + j + k + l) % 11)))%10)
		return true; 
	else 
		return false; 
}

function isNum1() 
{
	if (event.keyCode == 13) {
		user_form.jumin2.focus();
	} else {
		var comp="0123456789";
		var tmp_string=String.fromCharCode(event.keyCode) ;
		var len=comp.length;
		for(i=0;i<len;i++) 
		{
			if(comp.indexOf(tmp_string) < 0) 
			{
				event.returnValue = false;
				return;
			}
		}
		if (user_form.jumin1.value.length > 5)
		{
			user_form.jumin2.focus();
		}
	}
}

function isNum2() 
{
	if (event.keyCode == 13) {
		go_agree_reg();
	} else {
		var comp="0123456789";
		var tmp_string=String.fromCharCode(event.keyCode) ;
		var len=comp.length;
		for(i=0;i<len;i++) 
		{
			if(comp.indexOf(tmp_string) < 0) 
			{
				event.returnValue = false;
				return;
			}
		}
	}
}

function checkNext(obj) {
	if(obj.value.length == 6)
		user_form.jumin2.focus();
}

function checkNext2(obj) {
	if((obj.value.length == 7)&&(event.keyCode == 13))
		go_agree_reg();
}

//flash ±¸µ¿
function ShowFlash(argSWF,argW,argH) {
    var obj = "flash1";
    document.write ('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="'+argW+'" HEIGHT="'+argH+'" id="'+obj+'" ALIGN="">');
    document.write ('<PARAM NAME="movie" VALUE="'+argSWF+'">');
    document.write ('<PARAM NAME="wmode" VALUE="transparent">');
    document.write ('<param name="allowScriptAccess" value="always">');
    document.write ('<PARAM NAME="quality" VALUE="high">');
    document.write ('<PARAM NAME="menu" VALUE="false">');
    document.write ('<PARAM NAME="bgcolor" VALUE="#FFFFFF">');
    document.write ('<PARAM NAME="'+obj+'" value="false">');
    document.write ('<EMBED src="'+argSWF+'" quality=high menu=false bgcolor=#FFFFFF  WIDTH="'+argW+'" HEIGHT="'+argH+'" NAME="'+obj+'" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" allowScriptAccess="always">');
    document.write ('</EMBED>');
    document.write ('</OBJECT>');
}

//±ÛÀÚÅ©±â °ü·Ã ±¸ ½ºÅ©¸³Æ®
var fontSize = 9;
var style;

function setFaceSize(){
 style = "";

//.Ãß°¡ ½ÃÀÛ
 style = style + "BODY {";
 style = style + "	COLOR: #545553; ";
 style = style + "	FONT-FAMILY: µ¸¿ò; ";
 style = style + "	FONT-SIZE: 12px;";
 style = style + "	LINE-HEIGHT: 18px;";
 style = style + "}";

 style = style + "table {";
 style = style + "	COLOR: #545553; ";
 style = style + "	FONT-FAMILY: µ¸¿ò; ";
 style = style + "	FONT-SIZE: 12px ;";
 style = style + "	LINE-HEIGHT: 18px;";
 style = style + "}";

 style = style + "textarea {";
 style = style + "	font-family: µ¸¿ò;";
 style = style + "	font-size: 12px;";
 style = style + "	color:#545553;";
 style = style + "	letter-spacing : ";
 style = style + "	0px;line-height : 24px;";
 style = style + "}";

 style = style + "input {";
 style = style + "	font-family: µ¸¿ò;";
 style = style + "	font-size: 12px;";
 style = style + "	color:#545553;";
 style = style + "	letter-spacing : 0px; ";
 style = style + "	height:21px; ";
 style = style + "}";

 style = style + "select {";
 style = style + "	font-family : µ¸¿ò;";
 style = style + "	font-size : 12px;";
 style = style + "	color : #545553;";
 style = style + "	letter-spacing : 0px;";
 style = style + "	BACKGROUND-COLOR: #FFFFFF; ";
 style = style + "	height:21px;";
 style = style + "}";

 style = style + "A:link {";
 style = style + "	COLOR: #545553;";
 style = style + "	TEXT-DECORATION: none;";
 style = style + "	LINE-HEIGHT: 18px;";
 style = style + "	font-family: µ¸¿ò;";
 style = style + "	font-size: 12px;";
 style = style + "}";

 style = style + "A:active {";
 style = style + "	COLOR: #545553;";
 style = style + "	TEXT-DECORATION: underline;";
 style = style + "	LINE-HEIGHT: 18px;";
 style = style + "	font-family: µ¸¿ò;";
 style = style + "	font-size: 12px;";
 style = style + "}";

 style = style + "A:visited {";
 style = style + "	COLOR: #545553;";
 style = style + "	TEXT-DECORATION: none;";
 style = style + "	LINE-HEIGHT: 18px;";
 style = style + "	font-family: µ¸¿ò;";
 style = style + "	font-size: 12px;";
 style = style + "}";

 style = style + "A:hover {";
 style = style + "	COLOR: #545553; ";
 style = style + "	FONT-STYLE: normal; ";
 style = style + "	FONT-WEIGHT: normal; ";
 style = style + "	TEXT-DECORATION: underline ;";
 style = style + "	LINE-HEIGHT: 18px;";
 style = style + "}";

 style = style + ".RedBoldLink_BB:link {";
 style = style + "	COLOR: #610000;";
 style = style + "	TEXT-DECORATION: normal;";
 style = style + "	LINE-HEIGHT: 26px;";
 style = style + "	font-family: µ¸¿ò;";
 style = style + "	font-size: 18px;";
 style = style + "	font-weight: bold;";
 style = style + "}";

 style = style + ".RedBoldLink_BB:active {";
 style = style + "	COLOR: #610000;";
 style = style + "	TEXT-DECORATION: normal;";
 style = style + "	LINE-HEIGHT: 26px;";
 style = style + "	font-family: µ¸¿ò;";
 style = style + "	font-size: 18px;";
 style = style + "	font-weight: bold;";
 style = style + "}";

 style = style + ".RedBoldLink_BB:visited {";
 style = style + "	COLOR: #610000;";
 style = style + "	TEXT-DECORATION: normal;";
 style = style + "	LINE-HEIGHT: 26px;";
 style = style + "	font-family: µ¸¿ò;";
 style = style + "	font-size: 18px;";
 style = style + "	font-weight: bold;";
 style = style + "}";

 style = style + ".RedBoldLink_BB:hover {";
 style = style + "	COLOR: #610000;";
 style = style + "	FONT-STYLE: normal;";
 style = style + "	FONT-WEIGHT: bold;";
 style = style + "	TEXT-DECORATION: normal;";
 style = style + "	LINE-HEIGHT: 26px;";
 style = style + "	font-size: 18px;";
 style = style + "}";

 style = style + ".RedBoldLink_B:link {";
 style = style + "	COLOR: #610000;";
 style = style + "	TEXT-DECORATION: underline;";
 style = style + "	LINE-HEIGHT: 26px;";
 style = style + "	font-family: µ¸¿ò;";
 style = style + "	font-size: 14px;";
 style = style + "	font-weight: bold;";
 style = style + "}";

 style = style + ".RedBoldLink_B:active {";
 style = style + "	COLOR: #610000;";
 style = style + "	TEXT-DECORATION: underline;";
 style = style + "	LINE-HEIGHT: 26px;";
 style = style + "	font-family: µ¸¿ò;";
 style = style + "	font-size: 14px;";
 style = style + "	font-weight: bold;";
 style = style + "}";

 style = style + ".RedBoldLink_B:visited {";
 style = style + "	COLOR: #610000;";
 style = style + "	TEXT-DECORATION: underline;";
 style = style + "	LINE-HEIGHT: 26px;";
 style = style + "	font-family: µ¸¿ò;";
 style = style + "	font-size: 14px;";
 style = style + "	font-weight: bold;";
 style = style + "}";

 style = style + ".RedBoldLink_B:hover {";
 style = style + "	COLOR: #610000;";
 style = style + "	FONT-STYLE: normal;";
 style = style + "	FONT-WEIGHT: bold;";
 style = style + "	TEXT-DECORATION: underline;";
 style = style + "	LINE-HEIGHT: 26px;";
 style = style + "	font-size: 14px;";
 style = style + "}";

 style = style + ".RedBoldLink:link {";
 style = style + "	COLOR: #610000;";
 style = style + "	TEXT-DECORATION: none;";
 style = style + "	LINE-HEIGHT: 26px;";
 style = style + "	font-family: µ¸¿ò;";
 style = style + "	font-size: 12px;";
 style = style + "	font-weight: bold;";
 style = style + "}";

 style = style + ".RedBoldLink:active {";
 style = style + "	COLOR: #610000;";
 style = style + "	TEXT-DECORATION: underline;";
 style = style + "	LINE-HEIGHT: 26px;";
 style = style + "	font-family: µ¸¿ò;";
 style = style + "	font-size: 12px;";
 style = style + "	font-weight: bold;";
 style = style + "}";

 style = style + ".RedBoldLink:visited {";
 style = style + "	COLOR: #610000;";
 style = style + "	TEXT-DECORATION: none;";
 style = style + "	LINE-HEIGHT: 26px;";
 style = style + "	font-family: µ¸¿ò;";
 style = style + "	font-size: 12px;";
 style = style + "	font-weight: bold;";
 style = style + "}";

 style = style + ".RedBoldLink:hover {";
 style = style + "	COLOR: #610000;";
 style = style + "	FONT-STYLE: normal;";
 style = style + "	FONT-WEIGHT: bold;";
 style = style + "	TEXT-DECORATION: underline;";
 style = style + "	LINE-HEIGHT: 26px;";
 style = style + "	font-size: 12px;";
 style = style + "}";

 style = style + ".RedLink:link {";
 style = style + "	COLOR: #610000;";
 style = style + "	TEXT-DECORATION: none;";
 style = style + "	LINE-HEIGHT: 24px;";
 style = style + "	font-family: µ¸¿ò;";
 style = style + "	font-size: 12px;";
 style = style + "	font-weight: normal;";
 style = style + "}";

 style = style + ".RedLink:active {";
 style = style + "	COLOR: #610000;";
 style = style + "	TEXT-DECORATION: underline;";
 style = style + "	LINE-HEIGHT: 24px;";
 style = style + "	font-family: µ¸¿ò;";
 style = style + "	font-size: 12px;";
 style = style + "	font-weight: normal;";
 style = style + "}";

 style = style + ".RedLink:visited {";
 style = style + "	COLOR: #610000;";
 style = style + "	TEXT-DECORATION: none;";
 style = style + "	LINE-HEIGHT: 24px;";
 style = style + "	font-family: µ¸¿ò;";
 style = style + "	font-size: 12px;";
 style = style + "	font-weight: normal;";
 style = style + "}";

 style = style + ".RedLink:hover {";
 style = style + "	COLOR: #610000;";
 style = style + "	FONT-STYLE: normal;";
 style = style + "	FONT-WEIGHT: none;";
 style = style + "	TEXT-DECORATION: underline;";
 style = style + "	LINE-HEIGHT: 24px;";
 style = style + "	font-size: 12px;";
 style = style + "}";

 style = style + ".button {";
 style = style + "	font-family: µ¸¿ò;";
 style = style + "	font-size: 12px;";
 style = style + "	color:#666666;";
 style = style + "	letter-spacing : 0px;";
 style = style + "	BACKGROUND-COLOR: #E0D9D3; ";
 style = style + "	BORDER: 1px solid #545553; ";
 style = style + "	height:20px;";
 style = style + "}";

 style = style + ".detail_title {";
 style = style + "	color: #000000;";
 style = style + "	font-size:17px; ";
 style = style + "	font-weight:bold; ";
 style = style + "	font-family:µ¸¿ò;";
 style = style + "	LINE-HEIGHT: 120%;";
 style = style + "}";

 style = style + ".NormalBold {";
 style = style + "	color: #545553;";
 style = style + "	font-weight: bold;";
 style = style + "}";

 style = style + ".WhiteBold {";
 style = style + "	color: #FFFFFF;";
 style = style + "	font-weight: bold;";
 style = style + "}";

 style = style + ".White {";
 style = style + "	color: #FFFFFF;";
 style = style + "	font-weight: normal;";
 style = style + "}";

 style = style + ".GrayBold {";
 style = style + "	color: #cdcdcd;";
 style = style + "	font-weight: bold;";
 style = style + "}";

 style = style + ".Gray {";
 style = style + "	color: #cdcdcd;";
 style = style + "	font-weight: normal;";
 style = style + "}";

 style = style + ".Gray {";
 style = style + "	color: #cdcdcd;";
 style = style + "	font-weight: normal;";
 style = style + "}";

 style = style + ".YellowBold {";
 style = style + "	color: #ffba00;";
 style = style + "	font-weight: bold;";
 style = style + "}";

 style = style + ".Yellow {";
 style = style + "	color: #ffba00;";
 style = style + "	font-weight: normal;";
 style = style + "}";

 style = style + ".RedNormal {";
 style = style + "	color: #610000;";
 style = style + "	font-weight: normal;";
 style = style + "}";

 style = style + ".RedBold {";
 style = style + "	color: #610000;";
 style = style + "	font-weight: bold;";
 style = style + "}";

 style = style + ".RedBold_b {";
 style = style + "	color: #610000;";
 style = style + "	font-size:14px;";
 style = style + "	font-weight: bold;";
 style = style + "}";

 style = style + ".RedBold_bb {";
 style = style + "	color: #610000;";
 style = style + "	font-size:16px;";
 style = style + "	font-weight: bold;";
 style = style + "}";

 style = style + ".ImgBox {";
 style = style + "	padding: 0px;";
 style = style + "	margin-top: 0px;";
 style = style + "	margin-right: 10px;";
 style = style + "	margin-bottom: 6px;";
 style = style + "	margin-left: 0px;";
 style = style + "	border: 1px solid #666666;";
 style = style + "}";

 style = style + ".TableBox {";
 style = style + "	padding-top: 10px;";
 style = style + "	padding-right: 10px;";
 style = style + "	padding-bottom: 10px;";
 style = style + "	padding-left: 10px;";
 style = style + "}";

 style = style + ".TableTitle {";
 style = style + "	font-size: 12px;";
 style = style + "	font-style: normal;";
 style = style + "	line-height: 26px;";
 style = style + "	font-weight: bold;";
 style = style + "	color: #610000;";
 style = style + "}";

 style = style + ".TableTitle2 {";
 style = style + "	font-size: 14px;";
 style = style + "	font-style: normal;";
 style = style + "	line-height: 28px;";
 style = style + "	font-weight: bold;";
 style = style + "	color: #610000;";
 style = style + "	text-decoration: underline;";
 style = style + "}";

 style = style + ".ImgBox2 {";
 style = style + "	border: 1px solid #666666;";
 style = style + "}";

 style = style + ".News_Font1 {";
 style = style + "	font-size: 12px;";
 style = style + "}";

 style = style + ".News_Font2 {";
 style = style + "	font-size: 16px;";
 style = style + "}";

// Ãß°¡ ³¡

 style = style + " .b{  font-size:" + fontSize + "pt; }  ";
 
 for(i=0;i<document.styleSheets.length;i++)
   document.styleSheets[i].cssText= style;
}


function fontPlus() {
	if (fontSize < 11) {
		fontSize = fontSize + 2;
		setFaceSize();
	}
}

function fontMinus() {
	if (fontSize > 9) {
		fontSize = fontSize - 2;
		setFaceSize();
	}
}

//¸¶¿ì½º ¿À¸¥ÂÊ Àá±Ý//
  function returnEventFalse() 
   {
      event.returnValue = false;
   }

 

   function returnEventTrue() 
   {
      event.returnValue = true;
   }

 

   var HostName = location.host;

   

   switch(HostName)
   {
    case "½ÇÁ¦ ¼­¹ö" :
     document.oncontextmenu = returnEventFalse;
     document.ondragstart = returnEventFalse;
     document.onselectstart = returnEventFalse;

     break;

 

    case "Å×½ºÆ® ¼­¹ö" :
     document.oncontextmenu = returnEventTrue;
     document.ondragstart = returnEventTrue;
     document.onselectstart = returnEventTrue;

     break;
        
    default :

     document.oncontextmenu = returnEventFalse;
     document.ondragstart = returnEventFalse;
     document.onselectstart = returnEventFalse;

     break;
   }

//-->