	function login() 
	{
		if(document.login.id.value == "") 
		{
			alert("¾ÆÀÌµð¸¦ Àû¾îÁÖ¼¼¿ä..^^;");
			document.login.id.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.id.value == "") 
		{
			alert("¾ÆÀÌµð¸¦ Àû¾îÁÖ¼¼¿ä..^^;");
			document.login.id.focus();
			return;
		}

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

		document.login.submit();

		}  
               
	} 

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

		document.bbun_top_search.submit();

	}

	function bbun_top_s_search() 
	{

		var skeyword = document.bbun_top_search.keyword.value;

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

		document.bbun_top_search.submit();

	}

	function s_fun(thecode)
	{ 
	    if(thecode=='13') 
		{ 

		var skeyword = document.bbun_top_search.keyword.value;

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

		document.bbun_top_search.submit();
       	
		}  
               
	} 


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

		document.left_find.submit();

	}

	function in_box_over(i) 
	{
		(i).style.borderTop='1px solid #F3B600';
		(i).style.borderBottom='1px solid #F3B600';
		(i).style.borderLeft='1px solid #F3B600';
		(i).style.borderRight='1px solid #F3B600';
	}
		
	function in_box_out(i) 
	{
		(i).style.borderTop='1px solid dimgray';
		(i).style.borderBottom='1px solid gainsboro';
		(i).style.borderLeft='1px solid dimgray';
		(i).style.borderRight='1px solid gainsboro';
	}

	function in_c_box_out(i) 
	{
		(i).style.borderTop='1px solid #DBDBDB';
		(i).style.borderBottom='1px solid #DBDBDB';
		(i).style.borderLeft='1px solid #DBDBDB';
		(i).style.borderRight='1px solid #DBDBDB';
	}

	function right_talk_alert()
	{
		alert("ÁÖÁ¢¶³±â¿¡´Â ¿Õµû¶õ ¾ø´Ù!! ÀÏ´Ü ±ÛÇÑ¹ø Àû¾îºÁ!! ¤»¤»¤»");
		location.href = "/talk/talk3/list.php";
	}

	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;        }}
      
	function tag_popup(width, height, scroll)
	{ 
   		var x = (screen.width - 600) / 2;
    	var y = (screen.height - 600) / 2;
	    window.open('/tag/tag_school.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 real_tv(width, height, scroll)
	{
   		var x = (screen.width - 600) / 2;
    	var y = (screen.height - 600) / 2;
	    window.open('/content/tv.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 idpass_find(width, height, scroll)
	{
   		var x = (screen.width - 600) / 2;
    	var y = (screen.height - 600) / 2;
	    window.open('/member/info_find.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 emoticon(width, height, scroll)
	{
   		var x = (screen.width - 600) / 2;
    	var y = (screen.height - 600) / 2;
	    window.open('/public/emoticon_list.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 post(width, height, scroll)
	{
   		var x = (screen.width - 600) / 2;
    	var y = (screen.height - 600) / 2;
	    window.open('/public/post_chk.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 spam(width, height, scroll)
	{ 
   		var x = (screen.width - 600) / 2;
    	var y = (screen.height - 600) / 2;
	    window.open('/content/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 chat(width, height, scroll)
	{
		var x = (screen.width - 800) / 2;
    	var y = (screen.height - 800) / 2;
	    window.open('/chat/chat_main.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 source(width, height, scroll , no)
	{
   		var x = (screen.width - 600) / 2;
    	var y = (screen.height - 600) / 2;
	    window.open('source.php?no='+no,'','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 playlist() { window.open('/content/song/play_list.php','', 'Width=550, Height=550,marginwidth=0,marginheight=0,scrollbars=yes'); }

	function chu_popup(width, height, content , scroll)
	{
   		var x = (screen.width - 600) / 2;
    	var y = (screen.height - 600) / 2;
	    window.open('/content/contents.php?content='+content,'','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 life(width, height, url , scroll)
	{ 
   		var x = (screen.width - 600) / 2;
    	var y = (screen.height - 600) / 2;
	    window.open('/content/life/'+url,'','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 bbun_music(width, height, scroll)
	{
		var x = (screen.width - 900) / 2;
    	var y = (screen.height - 900) / 2;
	    window.open('/music/bbun_free_music.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');
    } 
