
	function login() 
	{
		if(document.login.mid.value == "") 
		{
			alert("¾ÆÀÌµð¸¦ Àû¾îÁÖ¼¼¿ä..^^;");
			document.login.mid.focus();
			return;
		}

		if(document.login.passwd.value == "") 
		{
			alert("ºñ¹Ð¹øÈ£¸¦ Àû¾îÁÖ¼¼¿ä..^^;") 
			document.login.passwd.focus();
			return;
		}

		document.login.submit();

	}

	function fun(thecode)
	{ 
		if(thecode=='13') 
		{ 
        	if(document.login.mid.value == "") 
			{
				alert("¾ÆÀÌµð¸¦ Àû¾îÁÖ¼¼¿ä..^^;");
				document.login.mid.focus();
				return;
			}

		if(document.login.passwd.value == "") 
		{
			alert("ºñ¹Ð¹øÈ£¸¦ Àû¾îÁÖ¼¼¿ä..^^;") 
			document.login.passwd.focus();
			return;
		}

		document.login.submit();

		}  
               
	} 

	function top_search()
	{
		if(document.top_search.top_find.value == "")
		{
			alert("°Ë»ö¾î¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä..^^;");
			document.top_search.top_find.focus();
			return;
		}

		document.top_search.submit();
	}

	function spam(width, height, scroll)
	{
   		var x = (screen.width - 600) / 2;
    	var y = (screen.height - 600) / 2;
	    window.open('/contents/spam.php','','width='+width+',height='+height+',left='+x+',top='+y+',marginwidth=0,marginheight=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars='+scroll+',resizable=no');
    } 

	function change(form) { if(form.url.selectedIndex != 0) parent.location = form.url.options[form.url.selectedIndex].value }
	function movr(src,clrOver){ if (!src.contains(event.fromElement)) {        src.bgColor = clrOver;        }}
	function mout(src,clrIn) { if (!src.contains(event.toElement)) { src.style.cursor = 'default'; src.bgColor = clrIn;        }}




