/****************************************************************
	2004. 4.29 °­¿¬¿ì : ÀÏ¹ÝÀûÀÎ ÆË¾÷Ã¢ ¸ðÀ½
****************************************************************/
function UtilPopup( popupSort )  {
	if( popupSort == "JoinInfo" )  {
		window.open('/User/UM/join_info.asp','È¸¿ø°¡ÀÔ','scrollbars=yes,width=810,height=625').focus();
	}  else if( popupSort == "SearchIDPwd" )  {
		window.open('/User/UM/search_id.html','¾ÆÀÌµðºñ¹Ð¹øÈ£Ã£±â','width=360,height=282').focus();
	}  else if( popupSort == "SMLoginWindow" )  {
		window.open("/User/UM/Inc/SM_MemberMgr_LoginForm.asp",'·Î±×ÀÎÆäÀÌÁö','scrollbars=no,width=330,height=160').focus();
	}  else if( popupSort == "GSLoginWindow" )  {
		window.open("/User/GS/etc/MemberMgr_LoginForm.asp",'·Î±×ÀÎÆäÀÌÁö','scrollbars=no,width=330,height=160').focus();
	}
}

function check()
{
	if( document.frmlogin.userid.value.length < 4){
		alert("ID¸¦ ÀÔ·ÂÇÏ¼¼¿ä");
		document.frmlogin.userid.focus();
		return;
	}
	if(document.frmlogin.pwd.value.length < 3){
		alert("Password¸¦ ÀÔ·ÂÇÏ¼¼¿ä");
		document.frmlogin.pwd.focus();
		return;
	}
}

function check_it()
{
	if( document.frmlogin.userid.value.length < 4){
		alert("ID¸¦ ÀÔ·ÂÇÏ¼¼¿ä");
		document.frmlogin.userid.focus();
		return;
	}
	if(document.frmlogin.pwd.value.length < 3){
		alert("Password¸¦ ÀÔ·ÂÇÏ¼¼¿ä");
		document.frmlogin.pwd.focus();
		return;
	}
	document.frmlogin.submit();
}

function MM_openBrWindow(theURL,winName,features){
	window.open(theURL,winName,features);
}