//////////////////////////////////////////////////////////////////////////////////////////////////////
// 로그인 Message
//////////////////////////////////////////////////////////////////////////////////////////////////////
function Login() 
{
	alert("Please login");
}

//////////////////////////////////////////////////////////////////////////////////////////////////////
// 기관정보 입력
//////////////////////////////////////////////////////////////////////////////////////////////////////
function Inst_Check(thisForm) 
{
	//Name
	if (!checkTextMandatoryAll("Name Acronymic", thisForm.inst_acron.value,50)) {
		thisForm.inst_acron.focus();
		thisForm.inst_acron.select();
		return false;
	}

	//Name
	if (!checkTextMandatoryAll("Full Name", thisForm.inst_name.value,1000)) {
		thisForm.inst_name.focus();
		thisForm.inst_name.select();
		return false;
	}
	//Country
	var selNum	= thisForm.country.selectedIndex;	
	if (selNum == 0) {
		alert("Select the \"Country\"");
		thisForm.country.focus();
		return false;
	}
	//Web Site
	if (!checkTextMandatoryAll2("website", thisForm.website.value,100)) {
		thisForm.website.focus();
		thisForm.website.select();
		return false;
	}
	//Postal Address 
	if (!checkTextMandatoryAll2("Postal Address", thisForm.address.value,1000)) {
		thisForm.address.focus();
		thisForm.address.select();
		return false;
	}
	//No. of Professor or Researcher
	if (!checkTextMandatoryAll2("No. of Professor or Researcher", thisForm.pro_res_no.value,100)) {
		thisForm.pro_res_no.focus();
		thisForm.pro_res_no.select();
		return false;
	}
	//Field of Specialization 
	if (!checkTextMandatoryAll2("Field of Specialization", thisForm.special.value,4000)) {
		thisForm.special.focus();
		thisForm.special.select();
		return false;
	}
 	//Equipment
	if (!checkTextMandatoryAll2("Equipment", thisForm.equipment.value,4000)) {
		thisForm.equipment.focus();
		thisForm.equipment.select();
		return false;
	}
 	//Last Name 
	if (!checkTextMandatoryAll2("Last Name", thisForm.last_name.value,50)) {
		thisForm.last_name.focus();
		thisForm.last_name.select();
		return false;
	}
 	//First Name 
	if (!checkTextMandatoryAll2("First Name", thisForm.first_name.value,50)) {
		thisForm.first_name.focus();
		thisForm.first_name.select();
		return false;
	}
 	//Porsition 
	if (!checkTextMandatoryAll2("Porsition", thisForm.position.value,50)) {
		thisForm.position.focus();
		thisForm.position.select();
		return false;
	}
 	//Tel  
	if (!checkTextMandatoryAll2("Tel", thisForm.tel.value,50)) {
		thisForm.tel.focus();
		thisForm.tel.select();
		return false;
	}
 	//Fax   
	if (!checkTextMandatoryAll2("Fax", thisForm.fax.value,50)) {
		thisForm.fax.focus();
		thisForm.fax.select();
		return false;
	}
 	//E-mail   
	if (!checkTextMandatoryAll2("E-mail", thisForm.email.value,100)) {
		thisForm.email.focus();
		thisForm.email.select();
		return false;
	}
	if (!isValidEmail(thisForm.u_email)) {
		alert("\"E-mail\" is not valid");
		thisForm.email.focus();
		thisForm.email.select();
		return false;
	}
 	//Postal Address    
	if (!checkTextMandatoryAll2("Postal Address", thisForm.c_address.value,1000)) {
		thisForm.c_address.focus();
		thisForm.c_address.select();
		return false;
	}
}

//////////////////////////////////////////////////////////////////////////////////////////////////////
// 기관정보 삭제
//////////////////////////////////////////////////////////////////////////////////////////////////////

function Inst_delete() 
{
	var seq = 0;
	var inst_no = document.form1.del_check.value;
	var dept_num = document.form1.del_check.length;
	var check_bool = 0;
	var rslt_confirm = false;

	if(dept_num>1) 
	{
		for( i=0 ; i < dept_num ; i++) {
			if( document.form1.del_check[i].checked == true) {
				inst_no = document.form1.del_check[i].value;
				seq = i;
				check_bool++;
			}
		}
		if( check_bool == 0){
			alert("You should select the institution to delete");
			return false;
		} else {
			rslt_confirm = confirm("Are you sure?\nIf selected institution has its subject information, \nyou should delete all subjects before deleting the institution.");
		}

	} else {
		
		if(document.form1.del_check.checked == false) {
			alert("You should select the institution to delete");
			return false;
		} else {
			rslt_confirm = confirm("Are you sure?\nIf selected institution has its subject information, \nyou should delete all subjects before deleting the institution.");
		}		
	}//if~else

	if (rslt_confirm)
	{
		if(dept_num>1) 
		{
			if (document.form1.subj_check[seq].value=='true') {
				window.location="subj_list.jsp?inst_no="+inst_no;
			} else {
				window.location="inst_delete.jsp?inst_no="+inst_no;
			}
		} else {
			if (document.form1.subj_check.value=='true') {
				window.location="subj_list.jsp?inst_no="+inst_no;
			} else {
				window.location="inst_delete.jsp?inst_no="+inst_no;
			}
		}
	}
}

//////////////////////////////////////////////////////////////////////////////////////////////////////
// 기관정보 팝업
//////////////////////////////////////////////////////////////////////////////////////////////////////
function inst_open(inst_no) {
	window.open('inst_open.jsp?inst_no='+inst_no,'','height=515,width=668,scrollbars=yes');
}


//////////////////////////////////////////////////////////////////////////////////////////////////////
// 학과목정보 입력
//////////////////////////////////////////////////////////////////////////////////////////////////////
function Subj_Check(thisForm) 
{
	//Title of Subject/Course
	if (!checkTextMandatoryAll("Title of Subject/Course", thisForm.subject.value,1000)) {
		thisForm.subject.focus();
		thisForm.subject.select();
		return false;
	}

	//Contents of Subject/Course
	if (!checkTextMandatoryAll2("Contents of Subject/Course", thisForm.contents.value,8000)) {
		thisForm.contents.focus();
		thisForm.contents.select();
		return false;
	}

	//Duration
	if (!checkTextMandatoryAll2("Duration", thisForm.duration.value,5)) {
		thisForm.duration.focus();
		thisForm.duration.select();
		return false;
	}

	//Title of Text
	if (!checkTextMandatoryAll2("Title of Text", thisForm.text_title.value,1000)) {
		thisForm.text_title.focus();
		thisForm.text_title.select();
		return false;
	}
 	//Title of Cyber & Multimedia
	if (!checkTextMandatoryAll2("Title of Cyber & Multimedia", thisForm.cyber_multi_title.value,1000)) {
		thisForm.cyber_multi_title.focus();
		thisForm.cyber_multi_title.select();
		return false;
	}
 	//Prerequisite Subject/Course
	if (!checkTextMandatoryAll2("Prerequisite Subject/Course", thisForm.pre_subject.value,1000)) {
		thisForm.pre_subject.focus();
		thisForm.pre_subject.select();
		return false;
	}
 	//Accrediting Organization 
	if (!checkTextMandatoryAll2("Accrediting Organization", thisForm.organ.value,500)) {
		thisForm.organ.focus();
		thisForm.organ.select();
		return false;
	}
 	//Domestic &  Foreign Linkage
	if (!checkTextMandatoryAll2("Domestic &  Foreign Linkage", thisForm.linkage.value,500)) {
		thisForm.linkage.focus();
		thisForm.linkage.select();
		return false;
	}
}

//////////////////////////////////////////////////////////////////////////////////////////////////////
// 학과목정보 삭제
//////////////////////////////////////////////////////////////////////////////////////////////////////
function Subj_delete() 
{
	if (CheckPreFlag2()) {
		document.form1.action = "subj_delete.jsp";
		document.form1.submit();
	}
}

function CheckPreFlag2()
{
	var dept_num = document.form1.del_check.length;
	var check_bool = 0;
	var rslt_confirm = false;

	if(dept_num>1) 
	{
		for( i=0 ; i < dept_num ; i++){
			if( document.form1.del_check[i].checked == true)
				check_bool++;
		}
		if( check_bool == 0){
			alert("You should select the subject to delete");
			return false;
		} else {
			rslt_confirm = confirm("Are you sure?");
			if(rslt_confirm == true) return true;
			else return false;
		}

	} else {
		
		if(document.form1.del_check.checked == false) {
			alert("You should select the subject to delete");
			return false;
		} else {
			rslt_confirm = confirm("Are you sure?");
			if(rslt_confirm == true) return true;
			else return false;
		}		
	}//if~else
}


//////////////////////////////////////////////////////////////////////////////////////////////////////
// 기관사진 팝업
//////////////////////////////////////////////////////////////////////////////////////////////////////
function PhotoView(seq_no, idx_no) {
	window.open('photo_down.jsp?seq_no='+seq_no+'&idx_no='+idx_no,'photoview','height=10,width=10,scrollbars=no');
}


//////////////////////////////////////////////////////////////////////////////////////////////////////
// 기관정보 Quit
//////////////////////////////////////////////////////////////////////////////////////////////////////
function QuitMsg(url) 
{
	if (confirm("Do you want to quit?")) {
		window.location=url;
	}
}

//////////////////////////////////////////////////////////////////////////////////////////////////////
// 첨부파일 삭제
//////////////////////////////////////////////////////////////////////////////////////////////////////
function File_delete(flag, div, seq_no, idx_no, b_act) 
{
	if (confirm("Are you sure?")) {
		window.location="file_delete.jsp?flag="+flag+"&div="+div+"&seq_no="+seq_no+"&idx_no="+idx_no+"&b_act="+b_act;
	}
}

//===================================================================================================//
//===================================================================================================//
//===================================================================================================//

//photo 삭제 

function attach_delete() 
{
	if (CheckPreFlag3()) {
		document.form2.action = "attach_delete.jsp";
		document.form2.submit();
	}
}


function CheckPreFlag3()
{
	var dept_num = document.form2.del_check.length;
	var check_bool = 0;
	var rslt_confirm = false;

	if(dept_num>1) 
	{
		for( i=0 ; i < dept_num ; i++){
			if( document.form2.del_check[i].checked == true)
				check_bool++;
		}
		if( check_bool == 0){
			alert("You should select the file to delete");
			return false;
		} else {
			rslt_confirm = confirm("Are you sure?");
			if(rslt_confirm == true) return true;
			else return false;
		}

	} else {
		
		if(document.form2.del_check.checked == false) {
			alert("You should select the file to delete");
			return false;
		} else {
			rslt_confirm = confirm("Are you sure?");
			if(rslt_confirm == true) return true;
			else return false;
		}		
	}//if~else
}
//===================================================================================================//
//===================================================================================================//
//===================================================================================================//


//////////////////////////////////////////////////////////////////////////////////////////////////////
// 학과목정보 Sort
//////////////////////////////////////////////////////////////////////////////////////////////////////
function SortPara(para) 
{
	document.form1.param.value = para;
	document.form1.submit();
}

//////////////////////////////////////////////////////////////////////////////////////////////////////
// 게시판정보 입력
//////////////////////////////////////////////////////////////////////////////////////////////////////
function Board_Check(div, thisForm) 
{
	//Name
	if (!checkTextMandatoryAll("Name", thisForm.b_name.value,100)) {
		thisForm.b_name.focus();
		thisForm.b_name.select();
		return false;
	}
/*
	//Password
	if (!checkTextMandatoryAll("Password", thisForm.b_pwd.value,12)) {
		thisForm.b_pwd.focus();
		thisForm.b_pwd.select();
		return false;
	}
*/

	//Title
	if (!checkTextMandatoryAll("Title", thisForm.b_title.value,1000)) {
		thisForm.b_title.focus();
		thisForm.b_title.select();
		return false;
	}
	//Content
	if (!checkTextMandatoryAll("Content", thisForm.b_content.value,2147483648)) {
		thisForm.b_content.focus();
		thisForm.b_content.select();
		return false;
	}

}


//////////////////////////////////////////////////////////////////////////////////////////////////////
//게시판 삭제
//////////////////////////////////////////////////////////////////////////////////////////////////////
function Board_delete(div, b_id, b_act) 
{
	if (confirm("Are you sure?")) {
		window.location="board_delete.jsp?div="+div+"&b_id="+b_id+"&b_act="+b_act;
	}
}

//////////////////////////////////////////////////////////////////////////////////////////////////////
// Photo Album 입력체크
//////////////////////////////////////////////////////////////////////////////////////////////////////
function Photo_Check(thisForm) 
{
	//Title
	if (!checkTextMandatoryAll("Title", thisForm.p_title.value,1000)) {
		thisForm.p_title.focus();
		thisForm.p_title.select();
		return false;
	}

	//Activities
	var selNum	= thisForm.p_activity.selectedIndex;	
	if (selNum == 0) {
		alert("Select the \"Activity\"");
		thisForm.p_activity.focus();
		return false;
	}
}


//////////////////////////////////////////////////////////////////////////////////////////////////////
//Photo Album 삭제
//////////////////////////////////////////////////////////////////////////////////////////////////////
function Photo_delete(p_id) 
{
	if (confirm("Are you sure?")) {
		window.location="photo_delete.jsp?p_id="+p_id;
	}
}


//////////////////////////////////////////////////////////////////////////////////////////////////////
//User 정보입력
//////////////////////////////////////////////////////////////////////////////////////////////////////
function User_Check(thisForm) 
{
	//First Name
	if (!checkTextMandatoryAll("First Name", thisForm.u_fname.value,50)) {
		thisForm.u_fname.focus();
		thisForm.u_fname.select();
		return false;
	}
	//Last Name
	if (!checkTextMandatoryAll("Last Name", thisForm.u_lname.value,50)) {
		thisForm.u_lname.focus();
		thisForm.u_lname.select();
		return false;
	}
	//ID
	if (!checkTextMandatoryAll("ID", thisForm.u_id.value,12)) {
		thisForm.u_id.focus();
		thisForm.u_id.select();
		return false;
	}
	//Password
	if (!checkTextMandatoryAll("Password", thisForm.u_pwd.value,12)) {
		thisForm.u_pwd.focus();
		thisForm.u_pwd.select();
		return false;
	}
	//Re-type Password
	if (!checkTextMandatoryAll("Re-type Password", thisForm.u_pwd2.value,12)) {
		thisForm.u_pwd2.focus();
		thisForm.u_pwd2.select();
		return false;
	}

	if (thisForm.u_pwd.value != thisForm.u_pwd2.value)
	{
		alert("Password and Re-type Password is discordant");
		thisForm.u_pwd.focus();
		thisForm.u_pwd.select();
		return false;
	}
	//Address Line 1
	if (!checkTextMandatoryAll2("Address Line 1", thisForm.u_address.value,1000)) {
		thisForm.u_address.focus();
		thisForm.u_address.select();
		return false;
	}
	//Address Line 2
	if (!checkTextMandatoryAll2("Address Line 2", thisForm.u_address2.value,1000)) {
		thisForm.u_address2.focus();
		thisForm.u_address2.select();
		return false;
	}
	//City
	if (!checkTextMandatoryAll2("City", thisForm.u_city.value,500)) {
		thisForm.u_city.focus();
		thisForm.u_city.select();
		return false;
	}
	//Postal Code
	if (!checkTextMandatoryAll2("Postal Code", thisForm.u_post_code.value,50)) {
		thisForm.u_post_code.focus();
		thisForm.u_post_code.select();
		return false;
	}
	//Country
	var selNum	= thisForm.u_country.selectedIndex;	
	if (selNum == 0) {
		alert("Select the \"Country\"");
		thisForm.u_country.focus();
		return false;
	}
	//Phone Number
	if (!checkTextMandatoryAll2("Phone Number", thisForm.u_tel.value,50)) {
		thisForm.u_tel.focus();
		thisForm.u_tel.select();
		return false;
	}
	//Fax Number
	if (!checkTextMandatoryAll2("Fax Number", thisForm.u_fax.value,50)) {
		thisForm.u_fax.focus();
		thisForm.u_fax.select();
		return false;
	}
	//mail
	if (!checkTextMandatoryAll("E-mail", thisForm.u_email.value,100)) {
		thisForm.u_email.focus();
		thisForm.u_email.select();
		return false;
	}

	if (!isValidEmail(thisForm.u_email)) {
		alert("\"E-mail\" is not valid");
		thisForm.u_email.focus();
		thisForm.u_email.select();
		return false;
	}

	return true;
}


//////////////////////////////////////////////////////////////////////////////////////////////////////
// ID 중복체크
//////////////////////////////////////////////////////////////////////////////////////////////////////
function ID_Check(thisForm, u_id) {
	if (u_id=='') {
		alert('Enter the ID');	
		thisForm.u_id.focus();
		return false;
	} else {
		window.open("user_idchk.jsp?u_id="+u_id,"u_check","width=301, height=197,left=0,top=0,scrollbars=no");
	}
}


//////////////////////////////////////////////////////////////////////////////////////////////////////
// User 삭제
//////////////////////////////////////////////////////////////////////////////////////////////////////
function User_delete(u_id) 
{
	if (confirm("Are you sure?")) {
		window.location="user_pro.jsp?flag=3&u_id="+u_id;
	}
}

//////////////////////////////////////////////////////////////////////////////////////////////////////
// 커뮤니티가입
//////////////////////////////////////////////////////////////////////////////////////////////////////
function Join_Comm(div) 
{
	window.location="auth_pro.jsp?div="+div+"&flag=1";
}

//////////////////////////////////////////////////////////////////////////////////////////////////////
// Auth 삭제
//////////////////////////////////////////////////////////////////////////////////////////////////////
function Auth_Delete(u_id, activity, auth_check) 
{
	if (confirm("Are you sure?")) {
		window.location="auth_pro.jsp?flag=3&u_id="+u_id+"&activity="+activity+"&auth_check="+auth_check;
	}
}


//////////////////////////////////////////////////////////////////////////////////////////////////////
// 통계
//////////////////////////////////////////////////////////////////////////////////////////////////////
function Stat_Check(flag, tbname) 
{
	document.form1.flag.value=flag;
	document.form1.tbname.value=tbname;
	document.form1.action = "stat_view.jsp";
	document.form1.submit();
}
/*
function Menu_Check(flag) 
{
	document.form1.flag.value=flag;
	document.form1.action = "stat_menu_view.jsp";
	document.form1.submit();
}
*/
//////////////////////////////////////////////////////////////////////////////////////////////////////
// 로그인 팝업
//////////////////////////////////////////////////////////////////////////////////////////////////////
function Login_Open() {
	window.open('login.jsp','login','height=229,width=299,scrollbars=no');
}


//////////////////////////////////////////////////////////////////////////////////////////////////////
//Login 정보입력
//////////////////////////////////////////////////////////////////////////////////////////////////////
function Login_Check(thisForm) 
{
	//ID
	if (!checkTextMandatoryAll("ID", thisForm.u_id.value,12)) {
		thisForm.u_id.focus();
		thisForm.u_id.select();
		return false;
	}
	//Password
	if (!checkTextMandatoryAll("Password", thisForm.u_pwd.value,12)) {
		thisForm.u_pwd.focus();
		thisForm.u_pwd.select();
		return false;
	}
}

//////////////////////////////////////////////////////////////////////////////////////////////////////
// 회원가입 팝업
//////////////////////////////////////////////////////////////////////////////////////////////////////
function Join_Open() {
	window.open('user_create.jsp','login','height=400,width=680,scrollbars=no');
}

//////////////////////////////////////////////////////////////////////////////////////////////////////
// ID, 비밀번호 분실 팝업
//////////////////////////////////////////////////////////////////////////////////////////////////////
function ID_Open() {
	window.close();
	window.open('id_find.jsp','login','height=400,width=680,scrollbars=no');
}

//////////////////////////////////////////////////////////////////////////////////////////////////////
// Photo 첨부삭제
//////////////////////////////////////////////////////////////////////////////////////////////////////
function Photo_Attach_delete() 
{
	document.form1.action = "file_delete.jsp?flag=pho";
	document.form1.submit();
}

//////////////////////////////////////////////////////////////////////////////////////////////////////
//ID, 비밀번호 요청시 이메일 정보입력
//////////////////////////////////////////////////////////////////////////////////////////////////////
function Email_Check(thisForm) 
{
	//ID
	if (!checkTextMandatoryAll("E-mail", thisForm.u_email.value,50)) {
		thisForm.u_email.focus();
		thisForm.u_email.select();
		return false;
	}
}


///////////////////////////////////////////////////////////////////////////////////////////////////////
// Code 입력/수정
//////////////////////////////////////////////////////////////////////////////////////////////////////
function code_check(thisForm) 
{
	var selNum	= thisForm.codecheck.selectedIndex;	
	var lenId	= reallength(thisForm.codeno.value);
	var lenName	= reallength(thisForm.codename.value);

	if (selNum == 0) {
		alert("Select the \"Code Classification\"");
		thisForm.codecheck.focus();
		return false;
	}
	if (lenId == 0) {
		alert("\"Code No\" should be entered");

		thisForm.codeno.focus();
		return false;
	} 
	if (lenName == 0 ) {
		alert("\"Code Name\" should be entered");
		thisForm.codename.focus();
		return false;
	}
		thisForm.submit();
}


///////////////////////////////////////////////////////////////////////////////////////////////////////
// Code 삭제
//////////////////////////////////////////////////////////////////////////////////////////////////////
function code_del(codecheck, codeno) {
	if (confirm("Are you sure?")) {
		window.location="code_pro.jsp?codecheck="+codecheck+"&codeno="+codeno+"&div=3";
	}
} 

///////////////////////////////////////////////////////////////////////////////////////////////////////
// Print 폼
//////////////////////////////////////////////////////////////////////////////////////////////////////
function OpenPrintForm(url){
	window.open(url+"&print_type=Y", "print", "scrollbars=yes,toolbar=no,location=no,directories=no,width=670,height=580,resizable=yes");
}

//////////////////////////////////////////////////////////////////////////////////////////////////////
// News 팝업
//////////////////////////////////////////////////////////////////////////////////////////////////////
function NewsOpen(url) {
	window.open(url,'','height=500,width=700,scrollbars=yes,resizable=yes');
}


//////////////////////////////////////////////////////////////////////////////////////////////////////
// MEETTING 정보 입력
//////////////////////////////////////////////////////////////////////////////////////////////////////
function Meet_Check(thisForm) 
{
	//Title
	if (!checkTextMandatoryAll("Title", thisForm.m_title.value,1000)) {
		thisForm.m_title.focus();
		thisForm.m_title.select();
		return false;
	}
	//Content
	if (!checkTextMandatoryAll("Content", thisForm.m_content.value,2147483648)) {
		thisForm.m_content.focus();
		thisForm.m_content.select();
		return false;
	}
}


//////////////////////////////////////////////////////////////////////////////////////////////////////
// Meetting 명선택 Message
//////////////////////////////////////////////////////////////////////////////////////////////////////
function Msg() 
{
	alert("Please try again after selecting meeting!");
}


//////////////////////////////////////////////////////////////////////////////////////////////////////
// Meetting 삭제
//////////////////////////////////////////////////////////////////////////////////////////////////////

function Meet_delete() 
{
	var seq = 0;
	var m_id = document.form1.m_id.value;
	var dept_num = document.form1.m_id.length;
	var check_bool = 0;
	var rslt_confirm = false;

	if(dept_num>1) 
	{
		for( i=0 ; i < dept_num ; i++) {
			if( document.form1.m_id[i].checked == true) {
				m_id = document.form1.m_id[i].value;
				seq = i;
				check_bool++;
			}
		}
		if( check_bool == 0){
			alert("You should select the Meetting to delete");
			return false;
		} else {
			rslt_confirm = confirm("Are you sure?");
		}

	} else {
		
		if(document.form1.m_id.checked == false) {
			alert("You should select the Meetting to delete");
			return false;
		} else {
			rslt_confirm = confirm("Are you sure?");
		}		
	}

	if(true) {
		document.form1.flag.value = "3";
		document.form1.action = "meet_pro.jsp?";
		document.form1.submit();
	}
}

//////////////////////////////////////////////////////////////////////////////////////////////////////
// Meetting 수정
//////////////////////////////////////////////////////////////////////////////////////////////////////

function Meet_edit() 
{
	var seq = 0;
	var m_id = document.form1.m_id.value;
	var dept_num = document.form1.m_id.length;
	var check_bool = 0;
	var rslt_confirm = false;

	if(dept_num>1) 
	{
		for( i=0 ; i < dept_num ; i++) {
			if( document.form1.m_id[i].checked == true) {
				m_id = document.form1.m_id[i].value;
				seq = i;
				check_bool++;
			}
		}
		if( check_bool == 0){
			alert("You should select the Meetting to edit");
			return false;
		}

	} else {
		
		if(document.form1.m_id.checked == false) {
			alert("You should select the Meetting to edit");
			return false;
		}		
	}

	if(true) {
		document.form1.action = "meet_edit.jsp?";
		document.form1.submit();
	}
}

///////////////////////////////////////////////////////////////////////////////////////////////////////
// 달력검색
//////////////////////////////////////////////////////////////////////////////////////////////////////
function OpenCalendar(div) {
//	window.open("calendar.jsp?","calendar","width=190, height=210, scrollbars=no");
	window.open("calendar.jsp?div="+div,"calendar","width=260, height=210, scrollbars=no");
}