//----------------------- °Ô½ÃÆÇ ----------------------------
function Event_Frm(theForm)
{
	/*
	if(!radioCheck(theForm.ie)){
		alert("Please select section!");
		theForm.ie[0].focus(); 
		return false;
	}
	
	if (theForm.ie[0].checked)
	{
		if(!theForm.society.value){
			alert("Please input society!");
			theForm.society.focus(); 
			return false;
		}
	}*/
	if(!theForm.event.value){
		alert("Please input event name!");
		theForm.event.focus(); 
		return false;
	}
	if(!theForm.place.value){
		alert("Please input place of Event!");
		theForm.place.focus(); 
		return false;
	}
	if(!theForm.date_Y1.value){
		alert("Please input date of Event!");
		theForm.date_Y1.focus(); 
		return false;
	}
	if(!theForm.date_M1.value){
		alert("Please input date of Event!");
		theForm.date_M1.focus(); 
		return false;
	}
	if(!theForm.date_D1.value){
		alert("Please input date of Event!");
		theForm.date_D1.focus(); 
		return false;
	}
	if(typeof(theForm.pwd) == 'object')
	{
		if(!theForm.pwd.value){
		alert("Please input your password!");
			theForm.pwd.focus(); 
			return false;
		}
	}
}

//----------------------- °Ô½ÃÆÇ »èÁ¦ Popup ÆäÀÌÁö ----------------------------
function Del_OpenWin(myurl){
	var window_left = (screen.width-640)/2;
	var window_top = (screen.height-480)/2;
	window.open (myurl, "mymenu", 'width=172, height=103,top=' + window_top + ',left=' + window_left + '')
}

//------------------------ »èÁ¦ ----------------------------
function Del_conf(murl) 
{
	if(confirm("Do you want this Event?"))
	window.location = murl;
}


//----------------------- °Ô½ÃÆÇ COMMENT ----------------------------
function Coment_Send(theForm)
{
	if(!theForm.name.value){
		alert("ÀÌ¸§À» ÀÔ·ÂÇØ ÁÖ¼¼¿ä.!");
		theForm.name.focus(); 
		return false;
	}
	if(!theForm.content.value){
		alert("ÄÚ¸àÆ® ³»¿ëÀ» ÀÔ·ÂÇØ ÁÖ¼¼¿ä.!");
		theForm.content.focus(); 
		return false;
	}
}
