function deli_search_go3(){
if((document.frm.search_check1.checked==false)&&(document.frm.search_check6.checked==false)){
alert('°Ë»öÀ» ÇÏ½Ã±â Àü¿¡ °Ë»öÁ¶°ÇÀ» ¼±ÅÃÇØÁÖ¼¼¿ä');
return;
}
}
function onlychar(objtext1){
	var m_Sp = /[$\\@\\\#%\^\*\(\)\[\]\+\_\{\}\`\~]/;
	var m_val = objtext1.value;
	var strLen = m_val.length;
	var m_char = m_val.charAt((strLen) - 1);
	if(m_char.search(m_Sp) != -1) {
		alert("Æ¯¼ö¹®ÀÚ´Â !, & ,| ¸¸ »ç¿ëÀÌ °¡´ÉÇÕ´Ï´Ù.");
		objtext1.value = "";
		return false;
	}
	return true;
}
function detail_search(){
	var f = window.document.detail;
	if(f.d_searchstr.value==""){
	alert("°Ë»ö¾î¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.d_searchstr.focus();
	return false;
	}
	var m_Sp = /[$\\@\\\#%\^\*\(\)\[\]\+\_\{\}\`\~]/;
	var m_val = f.d_searchstr.value;
	var strLen = m_val.length;
	var m_char = m_val.charAt((strLen) - 1);
	if(m_char.search(m_Sp) != -1) {
		alert("Æ¯¼ö¹®ÀÚ´Â !, & ,| ¸¸ »ç¿ëÀÌ °¡´ÉÇÕ´Ï´Ù.");
		f.d_searchstr.value = "";
		return false;
	}
	//f.submit();
}
function mem_search(){
	var f = window.document.mem_search;
	if(f.id.value==""){
	alert("¾ÆÀÌµð¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.id.focus();
	return;
	}
	f.submit();
}
function editer_select(){
	var f = window.document.member;
	if(f.mainmenu.value==""){
	alert("´ëºÐ·ù¸¦ ¼±ÅÃÇØÁÖ¼¼¿ä.");
	return;
	}
	if(f.sub.value==""){
	alert("´ëºÐ·ù¸¦ ¼±ÅÃÇØÁÖ¼¼¿ä.");
	return;
	}
	f.submit();
}
//Áö½ÄÃßÃµÇÏ±â
function jisik_recom1(idx,l_c,m_c,page,k_mode){
		var bool = confirm("\nÇöÀç Áö½ÄÀ» ÃßÃµÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "jisik_recom.asp?idx="+idx+"&page="+page+"&l_c="+l_c+"&m_c="+m_c+"&k_mode="+k_mode;
		}
}
//Áö½ÄÃßÃµÇÏ±â
function jisik_recom2(idx,l_c,m_c,page,k_mode){
		var bool = confirm("\nÇöÀç Áö½ÄÀ» ÃßÃµÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "jisik_recom.asp?idx="+idx+"&page="+page+"&l_c="+l_c+"&m_c="+m_c+"&k_mode="+k_mode;
		}
}

function add_fa(l_c,m_c,gu,k_mode){
		var bool = confirm("Áñ°ÜÃ£±â¿¡ Ãß°¡ÇÏ½Ã°Ú½À´Ï±î?");
		if (bool){
			location.href = "my_fa_ok.asp?l_c="+l_c+"&m_c="+ m_c +"&gu="+ gu +"&k_mode="+k_mode;
		}
}
function copy_clip() {
	
		clipboardData.setData("Text", location.href);
		alert("Å¬¸³º¸µå·Î ÁÖ¼Ò°¡ º¹»çµÇ¾ú½À´Ï´Ù. \nCtrl + V ·Î ºÙ¿© ³ÖÀ¸¼¼¿ä");
	
}
function add_jisik(){
	var f = window.document.add_form;
	if(f.content.value==""){
	alert("Ãß°¡ÇÏ½Ç ³»¿ëÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.content.focus();
	return;
	}
	f.submit();
}
function adddisplay(flag){
				if (flag == 0) 
				{
					divList1.style.display = "";
				} 
				else 
				{
					divList1.style.display = "none";
				}
}
function memo_del(idx,page){
		var bool = confirm("ÂÊÁö¸¦ »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?");
		if (bool){
			location.href = "del.asp?idx="+idx+"&page="+page;
		}
}
function my_intro_it(){
	var f = window.document.my_intro;
	if(f.my_content.value==""){
	alert("³ªÀÇ¼Ò°³¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.my_content.focus();
	return;
	}
	f.submit();
}

function main_q_input(){
	var f = window.document.m_q;
	if(f.q_title.value==""){
	alert("Áú¹®Á¦¸ñÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.q_title.focus();
	return;
	}
	if(f.q_title.value=="Áú¹®Á¦¸ñÀ» 50ÀÚ ³»¿Ü·Î ÀÛ¼ºÇØÁÖ¼¼¿ä."){
	alert("Áú¹®Á¦¸ñÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.q_title.focus();
	return;
	}	
	f.submit();
}
function menudisplay(flag){
				if (flag == 0) 
				{
					divList2.style.display = "";
					divList1.style.display = "none";
				} 
				else 
				{
					divList1.style.display = "";
					divList2.style.display = "none";
				}
}
function text_banner_it(){
	var f = window.document.talk_write;
	if(f.title1.value==""){
	alert("Å¸ÀÌÆ²#1À» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.title1.focus();
	return;
	}
	if(f.title2.value==""){
	alert("Å¸ÀÌÆ²#2À» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.title2.focus();
	return;
	}
	if(f.link.value==""){
	alert("¸µÅ©ÁÖ¼Ò¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.link.focus();
	return;
	}
	f.submit();
}
//Áö½ÄÃßÃµÇÏ±â
function editer_recom_ok(idx,l_c,m_c,page,k_mode){
		var bool = confirm("\nÇöÀç Áö½ÄÀ» ÃßÃµÁö½ÄÀ¸·Î ÃßÃµÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "editer_jisik_recom.asp?idx="+idx+"&page="+page+"&l_c="+l_c+"&m_c="+m_c+"&k_mode="+k_mode;
		}
}
//´äº¯»èÁ¦ÇÏ±â
function editer_reply_del(idx,l_c,m_c,page,k_mode,r_idx){
		var bool = confirm("\nÇöÀç ´äº¯À» »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "editer_reply_del.asp?idx="+idx+"&page="+page+"&l_c="+l_c+"&m_c="+m_c+"&k_mode="+k_mode+"&r_idx="+r_idx;
		}
}
//Áú¹®»èÁ¦ÇÏ±â
function editer_jisik_del(idx,l_c,m_c,page,k_mode){
		var bool = confirm("\nÇöÀç Áö½ÄÀ» »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "editer_jisik_del.asp?idx="+idx+"&page="+page+"&l_c="+l_c+"&m_c="+m_c+"&k_mode="+k_mode;
		}
}
function pokerDisplay(flag){
				if (flag == 0) 
				{
					divList1.style.display = "";
				} 
} 
function folder_del(idx){
		var bool = confirm("\nÇØ´ç Æú´õ¸¦ »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "folder_del.asp?idx="+idx;
		}
}
function folder_input(){
	if (document.folder_input.f_name.value == ""  )	{
	alert("Æú´õ¸íÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	document.folder_input.f_name.focus();
	return;
	}
	document.folder_input.submit();
}
//°ü¸®ÀÚ´ÜÃ¼¸Þ¸ðº¸³»±â
function all_memo_send(){
	if (document.form.to_id.value == ""  )	{
	alert("¹Þ´ÂÀÌÀÇ ¾ÆÀÌµð¸¦ Á¤È®ÇÏ°Ô ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	document.form.to_id.focus();
	return false;
	}
	if (document.form.title.value == ""  )	{
	alert("ÂÊÁö Á¦¸ñÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	document.form.title.focus();
	return false;
	}
	if (document.form.content.value == ""  )	{
	alert("ÂÊÁö ³»¿ëÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.")
	document.form.content.focus();
	return false;
	}
	document.form.submit();
}
//Ãß°¡¿É¼Çµî·ÏÇÏ±â
function goods_option_del(idx,goods_idx){
		var bool = confirm("\nÇØ´ç ¿É¼ÇÀ» »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "goods_option_del.asp?idx="+idx+"&goods_idx="+goods_idx;
		}
}
//Ãß°¡¿É¼Çµî·ÏÇÏ±â
function goods_option_it(){
	if (document.goods_option.title.value == ""  )	{
	alert("¿É¼Ç¸íÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä!!");
	document.goods_option.title.focus();
	return;
	}
	document.goods_option.submit();
}
//°ü¸®ÀÚµî·ÏÇÏ±â
function admin_it(){
	if (document.theForm.id.value == ""  )	{
	alert("¾ÆÀÌµð¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä!!");
	document.theForm.id.focus();
	return false;
	}
	if (document.theForm.pwd.value == ""  )	{
	alert("ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä!!");
	document.theForm.pwd.focus();
	return false;
	}
}
//°ü¸®ÀÚ»èÁ¦ÇÏ±â
function admin_del(idx){
		var bool = confirm("\nÇØ´ç °ü¸®ÀÚ¸¦ »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "admin_del.asp?idx="+idx;
		}
}
//°ü¸®ÀÚÁú¹®»ó¼¼º¸±âÆ÷ÀÎÆ®¸¶ÀÌ³Ê½ºÇÏ±â
function admin_minus(k_mode,l_c,m_c,page,idx,id){
		var indata = "µî·ÏÀÚ¿¡°Ô »è°¨ÇÒ ¸¶ÀÏ¸®Áö°ªÀ» ÀÔ·ÂÇÏ¼¼¿ä.";
		var num=500;
		var recom_point = prompt(indata,num);
		if (recom_point){
		location.href = "minus.asp?k_mode="+k_mode+"&l_c="+l_c+"&m_c="+m_c+"&page="+page+"&idx="+idx+"&recom_point="+recom_point+"&id="+id;
	}
}
//°ü¸®ÀÚÁú¹®»ó¼¼º¸±âÆ÷ÀÎÆ®ÇÃ·¯½ºÇÏ±â
function admin_plus(k_mode,l_c,m_c,page,idx,id){
		var indata = "µî·ÏÀÚ¿¡°Ô Ãß°¡ÇÒ ¸¶ÀÏ¸®Áö°ªÀ» ÀÔ·ÂÇÏ¼¼¿ä.";
		var num=100;
		var recom_point = prompt(indata,num);
		if (recom_point){
		location.href = "plus.asp?k_mode="+k_mode+"&l_c="+l_c+"&m_c="+m_c+"&page="+page+"&idx="+idx+"&recom_point="+recom_point+"&id="+id;
	}
}
//°ü¸®ÀÚ´äº¯»èÁ¦ÇÏ±â(ÀÏ¹Ý´äº¯)
function admin_a_del(k_mode,l_c,m_c,page,idx,id,j_idx){
		var indata = "»èÁ¦Àü µî·ÏÀÚ¿¡°Ô ÁÙ ÆÐ³ÎÆ¼ ¸¶ÀÏ¸®Áö°ªÀ» ÀÔ·ÂÇÏ¼¼¿ä.\n0 À» ÀÔ·ÂÇÏ½Ã¸é ÆÐ³ÎÆ¼¾øÀÌ Áú¹®¸¸ »èÁ¦ÇÕ´Ï´Ù.";
		var num=0;
		var recom_point = prompt(indata,num);
		if (recom_point){
		location.href = "a_del.asp?k_mode="+k_mode+"&l_c="+l_c+"&m_c="+m_c+"&page="+page+"&idx="+idx+"&recom_point="+recom_point+"&id="+id+"&j_idx="+j_idx;
	}
}
//°ü¸®ÀÚ´äº¯»èÁ¦ÇÏ±â(Ã¤ÅÃ´äº¯)
function admin_a_del1(k_mode,l_c,m_c,page,idx,id,j_idx){
		var indata = "»èÁ¦Àü µî·ÏÀÚ¿¡°Ô ÁÙ ÆÐ³ÎÆ¼ ¸¶ÀÏ¸®Áö°ªÀ» ÀÔ·ÂÇÏ¼¼¿ä.\n0 À» ÀÔ·ÂÇÏ½Ã¸é ÆÐ³ÎÆ¼¾øÀÌ Áú¹®¸¸ »èÁ¦ÇÕ´Ï´Ù.";
		var num=0;
		var recom_point = prompt(indata,num);
		if (recom_point){
		location.href = "a_del1.asp?k_mode="+k_mode+"&l_c="+l_c+"&m_c="+m_c+"&page="+page+"&idx="+idx+"&recom_point="+recom_point+"&id="+id+"&j_idx="+j_idx;
	}
}
//°ü¸®ÀÚÁú¹®»èÁ¦ÇÏ±â
function admin_q_del(k_mode,l_c,m_c,page,idx,id){
		var indata = "»èÁ¦Àü µî·ÏÀÚ¿¡°Ô ÁÙ ÆÐ³ÎÆ¼ ¸¶ÀÏ¸®Áö°ªÀ» ÀÔ·ÂÇÏ¼¼¿ä.\n0 À» ÀÔ·ÂÇÏ½Ã¸é ÆÐ³ÎÆ¼¾øÀÌ Áú¹®¸¸ »èÁ¦ÇÕ´Ï´Ù.";
		var num=0;
		var recom_point = prompt(indata,num);
		if (recom_point){
		location.href = "q_del.asp?k_mode="+k_mode+"&l_c="+l_c+"&m_c="+m_c+"&page="+page+"&idx="+idx+"&recom_point="+recom_point+"&id="+id;
	}
}
//ÀÎÅÍºäµî·ÏÇÏ±â
function admin_interview(){
	var f = window.document.interview;
	if(f.title.value==""){
	alert("ÀÎ»ç¸»À» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.title.focus();
	return;
	}
	clmn = f.content;
	clmn.value = objEdite.getHtml();
	if(clmn.value==""  || clmn.value=="<P>&nbsp;</P>") {
	alert("³»¿ëÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä");
	return;
	}
	f.submit();
}
//È¸¿ø°Ë»ö
function jisik_singo_go(){
	var f = window.document.go_search;
	if(f.searchstr.value==""){
	alert("°Ë»ö¾î¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.searchstr.focus();
	return;
	}
	document.go_search.submit();
}
//Áö½Ä°Ë»ö½Å°íÃ³¸®ÇÏ±â
function go_pe(p_type,idx,singo_idx,page){
		var indata = "½Å°íÀÚ¿¡°Ô Áö±ÞÇÒ ¸¶ÀÏ¸®Áö°ªÀ» ÀÔ·ÂÇÏ¼¼¿ä";
		var num=100;
		var recom_point = prompt(indata,num);
		if (recom_point){
		location.href = "go_pe.asp?p_type="+p_type+"&idx="+idx+"&recom_point="+recom_point+"&singo_idx="+singo_idx+"&page="+page;
	}
}
//Àü¹®ºÐ¾ß µî·ÏÇÏ±â
function jisik_pro(){
	var f = window.document.fm;
	if(f.mainmenu.value==""){
	alert("´ëºÐ·ù¸¦ ¼±ÅÃÇØÁÖ¼¼¿ä.");
	return;
	}
	if(f.sub.value=="value"){
	alert("ÁßºÐ·ù¸¦ ¼±ÅÃÇØÁÖ¼¼¿ä.");
	return;
	}
	f.submit();
}
//½ºÅ©·¦ÇÏ±â
function scrab(idx,l_c,m_c,page,k_mode){
		var bool = confirm("\nÇöÀç Áö½ÄÀ» ½ºÅ©·¦ÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
		window.open("scrab_window.asp?idx="+idx+"","scrab","width=400, height=300,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,");
		//location.href = "jisik_scrab.asp?idx="+idx+"&page="+page+"&l_c="+l_c+"&m_c="+m_c+"&k_mode="+k_mode;
		}
}
//´äº¯¾øÀ½Ã³¸®
function no_reply(idx,q_type,page){
		var bool = confirm("\n´äº¯¾øÀ½À¸·Î Ã³¸®ÇÏ½Ã°Ú½À´Ï±î?\n\nÇØ´ç Áú¹®Àº ¹ÌÇØ°áÁú¹®À¸·Î ³Ñ¾î°©´Ï´Ù.\n");
		if (bool){
			location.href = "no_reply.asp?idx="+idx+"&page="+page+"&q_type="+q_type;
		}
}
//Áö½Ä½Å°íÇÏ±â(´äº¯)-¸¶ÀÌÆäÀÌÁö
function m_reply_singo(idx,l_c,m_c,page,k_mode,r_idx,gu){
		var bool = confirm("\nÇØ´ç ´äº¯À» ½Å°í½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "reply_singo.asp?idx="+idx+"&page="+page+"&l_c="+l_c+"&m_c="+m_c+"&k_mode="+k_mode+"&r_idx="+r_idx+"&gu="+gu;
		}
}
//Áö½ÄÃßÃµÇÏ±â-¸¶ÀÌÆäÀÌÁö
function m_jisik_recom(idx,l_c,m_c,page,k_mode,gu){
		var bool = confirm("\nÇöÀç Áö½ÄÀ» ÃßÃµÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "jisik_recom.asp?idx="+idx+"&page="+page+"&l_c="+l_c+"&m_c="+m_c+"&k_mode="+k_mode+"&gu="+gu;
		}
}
//Áö½Ä½Å°íÇÏ±â(Áú¹®)-¸¶ÀÌÆäÀÌÁö
function m_jisik_singo(idx,l_c,m_c,page,k_mode,gu){
		var bool = confirm("\nÇØ´ç Áö½ÄÀ» ½Å°í½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "jisik_singo.asp?idx="+idx+"&page="+page+"&l_c="+l_c+"&m_c="+m_c+"&k_mode="+k_mode+"&gu="+gu;
		}
}
function go_to_page(eForm) {

var MoveTo;
MoveTo = eForm.club_go.selectedIndex;
if ( 0 != MoveTo ) document.location.href = "../"+eForm.club_go.options[MoveTo].value;

}
//´äº¯»èÁ¦ÇÏ±â
function reply_del(idx,l_c,m_c,page,k_mode,r_idx){
		var bool = confirm("\nÇöÀç ´äº¯À» »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "reply_del.asp?idx="+idx+"&page="+page+"&l_c="+l_c+"&m_c="+m_c+"&k_mode="+k_mode+"&r_idx="+r_idx;
		}
}
//Áú¹®»èÁ¦ÇÏ±â
function jisik_del(idx,l_c,m_c,page,k_mode){
		var bool = confirm("\nÇöÀç Áö½ÄÀ» »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "jisik_del.asp?idx="+idx+"&page="+page+"&l_c="+l_c+"&m_c="+m_c+"&k_mode="+k_mode;
		}
}
//´äº¯¼±ÅÃÇÏ±â ¸¶ÀÌÆäÀÌÁö
function reply_ok1(idx,l_c,m_c,page,k_mode,r_idx,q_type){
		var bool = confirm("\n¼±ÅÃµÈ ´äº¯À» Ã¤ÅÃÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "reply_ok.asp?idx="+idx+"&page="+page+"&l_c="+l_c+"&m_c="+m_c+"&k_mode="+k_mode+"&r_idx="+r_idx+"&q_type="+q_type;
		}
}
//´äº¯¼±ÅÃÇÏ±â
function reply_ok(idx,l_c,m_c,page,k_mode,r_idx){
		var bool = confirm("\n¼±ÅÃµÈ ´äº¯À» Ã¤ÅÃÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "reply_ok.asp?idx="+idx+"&page="+page+"&l_c="+l_c+"&m_c="+m_c+"&k_mode="+k_mode+"&r_idx="+r_idx;
		}
}
//Áö½Ä½Å°íÇÏ±â( ¸¶ÀÌÆäÀÌÁö ´äº¯)
function reply_singo1(idx,l_c,m_c,page,k_mode,r_idx,q_type){
		var bool = confirm("\nÇØ´ç ´äº¯À» ½Å°í½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "reply_singo.asp?idx="+idx+"&page="+page+"&l_c="+l_c+"&m_c="+m_c+"&k_mode="+k_mode+"&r_idx="+r_idx+"&q_type="+q_type;
		}
}
//Áö½Ä½Å°íÇÏ±â(´äº¯)
function reply_singo(idx,l_c,m_c,page,k_mode,r_idx){
		var bool = confirm("\nÇØ´ç ´äº¯À» ½Å°í½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "reply_singo.asp?idx="+idx+"&page="+page+"&l_c="+l_c+"&m_c="+m_c+"&k_mode="+k_mode+"&r_idx="+r_idx;
		}
}
//Áö½Ä½Å°íÇÏ±â(Áú¹®)
function jisik_singo(idx,l_c,m_c,page,k_mode){
		var bool = confirm("\nÇØ´ç Áö½ÄÀ» ½Å°í½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "jisik_singo.asp?idx="+idx+"&page="+page+"&l_c="+l_c+"&m_c="+m_c+"&k_mode="+k_mode;
		}
}
//»ç¿ëÀÚ¸ðµå Áö½Ä°Ë»ö´äº¯ÇÏ±â
function jisik_reply_input(){
	var f = window.document.fm;
	if(f.title.value==""){
	alert("´äº¯Á¦¸ñÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.title.focus();
	return;
	}
	clmn = f.FORM_Content;
	clmn.value = objEdite.getHtml();
	if(clmn.value==""  || clmn.value=="<P>&nbsp;</P>") {
	alert("³»¿ëÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä");
	return;
	}
	f.submit();
}
//»ç¿ëÀÚ¸ðµå Áö½Ä°Ë»öµî·ÏÇÏ±â
function jisik_edit(){
	var f = window.document.fm;
	if(f.title.value==""){
	alert("Áú¹®Á¦¸ñÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.title.focus();
	return;
	}

	clmn = f.FORM_Content;
	clmn.value = objEdite.getHtml();
	if(clmn.value==""  || clmn.value=="<P>&nbsp;</P>") {
	alert("³»¿ëÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä");
	return;
	}

	f.submit();
}
//»ç¿ëÀÚ¸ðµå Áö½Ä°Ë»öµî·ÏÇÏ±â
function jisik_input1(){
	var f = window.document.fm;
	if(f.mainmenu.value==""){
	alert("´ëºÐ·ù¸¦ ¼±ÅÃÇØÁÖ¼¼¿ä.");
	return;
	}
	if(f.sub.value=="value"){
	alert("ÁßºÐ·ù¸¦ ¼±ÅÃÇØÁÖ¼¼¿ä.");
	return;
	}
	if(f.title.value==""){
	alert("Á¦¸ñÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.title.focus();
	return;
	}

	clmn = f.FORM_Content;
	clmn.value = objEdite.getHtml();
	if(clmn.value==""  || clmn.value=="<P>&nbsp;</P>") {
	alert("³»¿ëÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä");
	return false;
	}

	if(f.chol_gu[0].checked==false && f.chol_gu[1].checked==false){
	alert("ÃâÃ³¸¦ ¼±ÅÃÇØÁÖ¼¼¿ä.");
	return;
	}
	f.submit();
}
//»ç¿ëÀÚ¸ðµå Áö½Ä°Ë»öµî·ÏÇÏ±â
function jisik_input(){
	var f = window.document.fm;
	if(f.mainmenu.value==""){
	alert("´ëºÐ·ù¸¦ ¼±ÅÃÇØÁÖ¼¼¿ä.");
	return;
	}
	if(f.sub.value=="value"){
	alert("ÁßºÐ·ù¸¦ ¼±ÅÃÇØÁÖ¼¼¿ä.");
	return;
	}
	if(f.title.value==""){
	alert("Á¦¸ñÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.title.focus();
	return;
	}
	clmn = f.FORM_Content;
	clmn.value = objEdite.getHtml();
	if(clmn.value==""  || clmn.value=="<P>&nbsp;</P>") {
	alert("³»¿ëÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä");
	return;
	}

	f.submit();
}
//±¸¸Å½Ã ¼¼±Ý°è»ê¼­ ½ÅÃ»¿©ºÎ¼±ÅÃ½Ã
function goDisplay(flag){
				if (flag == 0) 
				{
					divList1.style.display = "";

				} 
				else 
				{
					divList1.style.display = "none";

				}
} 
function mail_send(){
	var f = window.document.mail;
	if(f.FORM_title.value==""){
	alert("¸ÞÀÏ¸µ Á¦¸ñÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.FORM_title.focus();
	return;
	}
	if(f.FORM_Content.value==""){
	alert("¸ÞÀÏ¸µ ³»¿ëÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	return;
	}
	if(f.from_email.value==""){
	alert("º¸³»´Â »ç¶÷ÀÇ ¸ÞÀÏÁÖ¼Ò¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.from_email.focus();
	return;
	}
	f.submit();
}
//¸Å´º·¹ÀÌ¾î¼Ò½º
function ClickOnTD(obj, sub){
	//obj.style.border = "1 solid #738E18";
	//obj.style.backgroundColor = "white";
	obj.style.cursor = "hand";
	
	if (sub.style.display == "none"){
		sub.style.display = "block";
	}
	else{
		sub.style.display = "none";
	}
}
//ÃßÃµÀÌ¸ÞÀÏº¸³»±â
function recom_send(idx){
	var f = window.document.recom_email;
	if(f.f_name.value==""){
	alert("º¸³»´ÂºÐ ÀÌ¸§À» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.f_name.focus();
	return;
	}
	if(f.f_email.value==""){
	alert("º¸³»´ÂºÐ¸ÞÀÏ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.f_email.focus();
	return;
	}
	if(f.t_name.value==""){
	alert("¹Þ´ÂºÐ ÀÌ¸§À» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.t_name.focus();
	return;
	}
	if(f.t_email.value==""){
	alert("¹Þ´ÂºÐ¸ÞÀÏ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.t_email.focus();
	return;
	}
	if(f.content.value==""){
	alert("³»¿ëÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.content.focus();
	return;
	}
	window.open("recom_email_send.asp?idx="+idx+"","BigCompare","width=150, height=80,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,");
	f.target='BigCompare';
	f.action = "recom_email_send.asp";
	f.submit();
}
//ÃßÃµÀÌ¸ÞÀÏº¸³»±â
function recom_send_view(idx){
	var f = window.document.recom_email;
	if(f.f_name.value==""){
	alert("º¸³»´ÂºÐ ÀÌ¸§À» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.f_name.focus();
	return;
	}
	if(f.f_email.value==""){
	alert("º¸³»´ÂºÐ¸ÞÀÏ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.f_email.focus();
	return;
	}
	if(f.t_name.value==""){
	alert("¹Þ´ÂºÐ ÀÌ¸§À» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.t_name.focus();
	return;
	}
	if(f.t_email.value==""){
	alert("¹Þ´ÂºÐ¸ÞÀÏ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.t_email.focus();
	return;
	}
	if(f.content.value==""){
	alert("³»¿ëÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.content.focus();
	return;
	}
	window.open("recom_email.asp?idx="+idx+"","BigCompare","width=600, height=500,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,");
	f.target='BigCompare';
	f.action = "recom_email.asp";
	f.submit();
}
//±¤°í/Á¦ÈÞ¹®ÀÇ³»¿ë»èÁ¦
function help_del(idx,intpage){
		var bool = confirm("\nÇöÀç ¹®ÀÇ³»¿ëÀ» »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "del.asp?idx="+idx+"&intpage="+intpage;
		}
}
//±¤°í¹®ÀÇ/Á¦ÈÞ¹®ÀÇ Ã¼Å©½ºÆ®¸³Æ®
function help_ok(){
	var f = window.document.help;
	if(f.name.value==""){
	alert("ÀÌ¸§À» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.name.focus();
	return false;
	}
	if(f.tel.value==""){
	alert("¿¬¶ôÃ³¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.tel.focus();
	return false;
	}
	if(f.email.value==""){
	alert("ÀÌ¸ÞÀÏÁÖ¼Ò¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.email.focus();
	return false;
	}
	if(f.title.value==""){
	alert("Á¦¸ñÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.title.focus();
	return false;
	}
	if(f.content.value==""){
	alert("³»¿ëÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.content.focus();
	return false;
	}
	f.submit();
}
//¹ÌÀÔÈ®ÀÎÀÔ±ÝÀÚ¸í´Ü»èÁ¦ÇÏ±â
function bankfind_del(idx,intpage){
		var bool = confirm("\nÇöÀç ¹ÌÈ®ÀÎÀÔ±ÝÀÚ¸¦ »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "del.asp?idx="+idx+"&intpage="+intpage;
		}
}
//¹ÌÈ®ÀÎÀÔ±ÝÀÚÀÔ·ÂÇÏ±â
function bankfind_ok(){
	var f = window.document.bankfind;
	if((f.s_date.value.indexOf("-") == -1) || (f.s_date.value == "")){
	alert("ÀÔ±ÝÀÏÀÚ '-' Æ÷ÇÔÇÏ¿© ¿¹)2003-03-14¿Í °°Àº Çü½ÄÀ¸·ÎÀÔ·ÂÇØÁÖ¼¼¿ä!!");
	f.s_date.focus();
	return;
	}
	if (f.s_name.value == ""  )	{
	alert("ÀÔ±ÝÀÚ¸íÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä!!");
	f.s_name.focus();
	return;
	}
	if (f.s_price.value == ""  )	{
	alert("ÀÔ±Ý¾×À» ÀÔ·ÂÇØÁÖ¼¼¿ä!!");
	f.s_price.focus();
	return;
	}
	f.submit();
}
//·Î±äÇØÁÖ¼¼¿ä
function not_login(){
		var bool = confirm('º» ¼­ºñ½º´Â ·Î±×ÀÎÀ» ÇÏ¼Å¾ß »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù.');
		return;
}
//¼¼±Ý°è»ê¼­½ÅÃ»ÇÏ±â
function tax_input(){
	var f = window.document.order_tax;
	if(f.tax_c.value==""){
	alert("È¸»ç¸íÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.tax_c.focus();
	return;
	}
	if(f.tax_n1.value==""){
	alert("»ç¾÷ÀÚ¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.tax_n1.focus();
	return;
	}
	if(f.tax_n2.value==""){
	alert("»ç¾÷ÀÚ¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.tax_n2.focus();
	return;
	}
	if(f.tax_n3.value==""){
	alert("»ç¾÷ÀÚ¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.tax_n3.focus();
	return;
	}
	if(f.tax_ceo.value==""){
	alert("´ëÇ¥ÀÚ¸íÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.tax_ceo.focus();
	return;
	}
	if(f.tax_t1.value==""){
	alert("¾÷ÅÂ¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.tax_t1.focus();
	return;
	}
	if(f.tax_t2.value==""){
	alert("¾÷Á¾À» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.tax_t2.focus();
	return;
	}
	if(f.tax_zipcode1.value==""){
	alert("»ç¾÷ÀåÁÖ¼Ò¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.tax_zipcode1.focus();
	return;
	}
	if(f.tax_zipcode2.value==""){
	alert("»ç¾÷ÀåÁÖ¼Ò¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.tax_zipcode2.focus();
	return;
	}
	if(f.tax_juso1.value==""){
	alert("»ç¾÷ÀåÁÖ¼Ò¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.tax_juso1.focus();
	return;
	}
	if(f.tax_juso1.value==""){
	alert("»ç¾÷ÀåÁÖ¼Ò¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.juso2.focus();
	return;
	}
	f.submit();
}
//ÁÖ¹®Ãë¼ÒÇÏ±â
function cancel_input(){
		var bool = confirm("\nÇÑ¹ø Ãë¼ÒÃ³¸®µÇ¾îÁø Á¦Ç°Àº °ü¸®ÀÚ¿¡°Ô Ãë¼Ò°ü·Ã»çÇ×À» Á¤Á¤Ã³¸®¿äÃ»ÇÏ½Ã¾î Á¤Á¤À» ÇÏ¼Å¾ß ÇÕ´Ï´Ù.\n\nÇØ´ç»çÇ×À» Ãë¼ÒÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			document.order_cancel.submit();
		}
}
//1:1»ó´ãµî·ÏÇÏ±â
function help_write(){
	var f = window.document.help;
	if(f.title.value==""){
	alert("¹®ÀÇÁ¦¸ñÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.title.focus();
	return;
	}
	if(f.content.value==""){
	alert("¹®ÀÇ³»¿ëÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.content.focus();
	return;
	}
	f.submit();
}
//È¸¿øÅ»Åð½ÅÃ³ÇÏ±â
						function exitConfirm(){
							
							var formnm=document.mem_out;
							
							var outComp=formnm["reason"].length;
							var cont=formnm.outComplain_text;
							var ckS=0;

							for(var i=0;i<outComp;i++){
								if(formnm["reason"][i].checked==true) break;
								else ckS++;
							}

							if(ckS==outComp){
								alert(' ¼­ºñ½ººÒÆí»çÇ×À» 1°³ÀÌ»ó Ã¼Å©ÇÏ¿© ÁÖ½Ê½Ã¿ä. \n\n ÇØ´ç»çÇ×Àº °³¼±»çÇ×¿¡ ¹Ý¿µµÇ¾îÁý´Ï´Ù.');
								return;
							}
							
							if(confirm(' È¸¿øÅ»Åð¸¦ ÇÏ½Ã¸é È¸¿ø´ÔÀÇ ¸ðµçµ¥ÀÌÅ¸(°³ÀÎÁ¤º¸,Æ÷ÀÎÆ®µî)ÀÌ ¸ðµÎ »èÁ¦µÇ¾îÁö¸ç \n\n 6°³¿ùµ¿¾È °¡ÀÔÇÒ¼ö ¾ø½À´Ï´Ù. \n\n ±×·¡µµ È¸¿øÀ» Å»ÅðÇÏ½Ã°Ú½À´Ï±î?')){
								formnm.submit();
							}
							else return;


						}
//¼­ºê»óÇ°µî·ÏÇÏ±â
function admin_banner_edit(){
	var f = window.document.banner;
	if(f.banner_width.value==""){
	alert("¹è³Ê ³ÐÀÌ¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.banner_width.focus();
	return;
	}
	if(f.banner_height.value==""){
	alert("¹è³Ê ³ôÀÌ¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.banner_height.focus();
	return;
	}
	f.submit();
}
//¼­ºê»óÇ°µî·ÏÇÏ±â
function admin_banner(){
	var f = window.document.banner;
	if(f.file.value==""){
	alert("µî·ÏÇÏ½Ç ¹è³Ê¸¦ ¼±ÅÃÇØÁÖ¼¼¿ä.");
	f.file.focus();
	return;
	}
	if(f.banner_width.value==""){
	alert("¹è³Ê ³ÐÀÌ¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.banner_width.focus();
	return;
	}
	if(f.banner_height.value==""){
	alert("¹è³Ê ³ôÀÌ¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.banner_height.focus();
	return;
	}
	f.submit();
}
//¼­ºê¹è³Ê»èÁ¦ÇÏ±â
function admin_banner_del(idx,file){
		var bool = confirm("\nÇØ´ç¼­ºê ¹è³Ê¸¦ »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "del.asp?idx="+idx+"&file="+file;
		}
}
//»óÇ°º¸°üÇÔÀúÀåÇÏ±â
function wish_add(idx,page){
		var bool = confirm("\nÇØ´ç»óÇ°À» »óÇ°º¸°üÇÔ¿¡ ÀúÀåÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "wish_add.asp?idx="+idx+"&page="+page;
		}
}
//Àå¹Ù±¸´Ï¸¦ ºñ¿ì±â
function cart_empty(){
		var bool = confirm("\nÀå¹Ù±¸´Ï¸¦ ºñ¿ì½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "cart_all_del.asp";
		}
}
//1:1»ó´ã´äº¯ÇÏ±â
function onon_reply(){
	var f = window.document.onon_reply;
	if(f.title.value==""){
	alert("Áú¹®Á¦¸ñÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.title.focus();
	return;
	}
	if(f.content.value==""){
	alert("Áú¹®³»¿ëÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.content.focus();
	return;
	}
	if(f.reply.value==""){
	alert("Áú¹®´äº¯À» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.reply.focus();
	return;
	}
	f.submit();
}
//1:1»ó´ã³»¿ª°Ë»ö
function one_search_go(){
if((document.frm.search_check1.checked==false)&&(document.frm.search_check2.checked==false)&&(document.frm.search_check3.checked==false)){
alert('°Ë»öÀ» ÇÏ½Ã±â Àü¿¡ °Ë»öÁ¶°ÇÀ» ¼±ÅÃÇØÁÖ¼¼¿ä');
return;
}
document.frm.submit();
}
//»óÇ°Æò»èÁ¦°ü¸®ÀÚ¸ðµå
function goods_reply_del(idx,page){
		var bool = confirm("\n»èÁ¦ÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "del.asp?idx="+idx+"&page="+page;
		}
}
//»óÇ°Æò°Ë»ö°ü¸®ÀÚ¸ðµå
function reply_search(){
	var f = window.document.fm;
	if(f.search_id.value==""){
	alert("°Ë»öÇÏ½Ç ¾ÆÀÌµð¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.search_id.focus();
	return;
	}
	f.submit();
}
//¸®ÇÃ´Þ±â
function goods_reply(){
	var f = window.document.reply_write;
	if(f.title.value==""){
	alert("Á¦¸ñÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.title.focus();
	return;
	}
	if(f.content.value==""){
	alert("³»¿ëÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.content.focus();
	return;
	}
	f.submit();
}
//´º½ºÅä·Ð¸ñ·Ï»èÁ¦ÇÏ±â
function talk_del(idx,table_name){
		var bool = confirm("\n»èÁ¦ÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "del.asp?idx="+idx+"&table_name="+table_name;
		}
}
//°Ô½ÃÆÇÅä·ÐÀå»ý¼º
function admin_board_edit_it(){
	var f = window.document.board_write;
	if(f.title.value==""){
	alert("°Ô½ÃÆÇÁÖÁ¦¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.title.focus();
	return;
	}
	f.submit();
}
//°Ô½ÃÆÇÅä·ÐÀå»ý¼º
function admin_board_write_it(){
	var f = window.document.board_write;
	if(f.title.value==""){
	alert("°Ô½ÃÆÇÁÖÁ¦¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.title.focus();
	return;
	}
	f.submit();
}
//°ü¸®ÀÚÁÖ¹®Á¤º¸¼öÁ¤
function order_edit(){
	var f = window.document.order;
	if(f.t_name.value==""){
	alert("¼ö·ÉÀÎ¼º¸íÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.t_name.focus();
	return;
	}
	if(f.t_tel.value==""){
	alert("¼ö·ÉÀÎ ÀüÈ­¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.t_tel.focus();
	return;
	}
	if(f.t_hp.value==""){
	alert("¼ö·ÉÀÎ ÈÞ´ëÆù¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.t_hp.focus();
	return;
	}
	if(f.t_email.value==""){
	alert("¼ö·ÉÀÎÀÌ¸ÞÀÏÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.t_email.focus();
	return;
	}
	if(f.t_zipcode1.value==""){
	alert("¼ö·ÉÀÎ¿ìÆí¹øÈ£¾ÕÀÚ¸®¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.t_zipcode1.focus();
	return;
	}
	if(f.t_zipcode2.value==""){
	alert("¼ö·ÉÀÎ¿ìÆí¹øÈ£µÞÀÚ¸®¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.t_zipcode2.focus();
	return;
	}
	if(f.t_juso1.value==""){
	alert("¼ö·ÉÀÎ ÁÖ¼Ò¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.t_juso1.focus();
	return;
	}
	if(f.t_juso2.value==""){
	alert("¼ö·ÉÀÎ ³ª¸ÓÁöÁÖ¼Ò¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.t_juso2.focus();
	return;
	}
	f.submit();	
}
//ÁÖ¹®°Ë»ö
function deli_search_go(){
if((document.frm.search_check1.checked==false)&&(document.frm.search_check2.checked==false)&&(document.frm.search_check3.checked==false)&&(document.frm.search_check4.checked==false)&&(document.frm.search_check5.checked==false)&&(document.frm.search_check6.checked==false)&&(document.frm.search_check7.checked==false)){
alert('°Ë»öÀ» ÇÏ½Ã±â Àü¿¡ °Ë»öÁ¶°ÇÀ» ¼±ÅÃÇØÁÖ¼¼¿ä');
return;
}
document.frm.submit();
}
//È¸¿ø°Ë»ö
function mem_search_go(){
if((document.go_search.search_check1.checked==false)&&(document.go_search.search_check2.checked==false)){
alert('°Ë»öÀ» ÇÏ½Ã±â Àü¿¡ °Ë»öÁ¶°ÇÀ» ¼±ÅÃÇØÁÖ¼¼¿ä');
return;
}
document.go_search.submit();
}
//Ã¼Å©ÇÏ±â
function ToggleCheckAll(button) {
	var sa=true;
	if(button.checked) sa=false;
	for (var i=0;i<document.frmlist.elements.length;i++) {
		var e = document.frmlist.elements[i];
		if(sa) e.checked=false;
		else e.checked=true;
	}
	if(sa) button.checked=false;
	else button.checked=true;
}
//°ü¸®ÀÚ¸ðµåÈ¸¿ø»èÁ¦
function admin_mem_del(idx,page){
		var bool = confirm("\n¼±ÅÃÇÏ½Å È¸¿øÁ¤º¸¸¦ »èÁ¦ÇÏ½Ã°Ú½À´Ï±î? »èÁ¦ÈÄ º¹±¸´Â ºÒ°¡´ÉÇÕ´Ï´Ù.\n");
		if (bool){
			location.href = "del.asp?idx="+idx+"&page="+page;
		}
}
//Å¸»ç°¡°Ýºñ±³¼±ÅÃ½Ã(°ü¸®ÀÚ¸ðµå)
function check_com()
{
	if(document.fm.g_type[8].checked==false){
		divsub1.style.display = "none";
		divsub2.style.display = "none";
		divsub3.style.display = "none";
		divsub4.style.display = "none";
		divsub5.style.display = "none";
	}else{
		document.fm.com_A.value="";
		document.fm.com_B.value="";
		document.fm.com_C.value="";
		document.fm.com_D.value="";	
		divsub1.style.display = "";
		divsub2.style.display = "";
		divsub3.style.display = "";
		divsub4.style.display = "";
		divsub5.style.display = "";
	}
}
//¼ýÀÚ Ã¼Å© »ç¿ë¹æ¹ý : onkeyup="onlynum(formResult.resi_no1);"
function onlynum(objtext1){
				var inText = objtext1.value;
				var ret;
				for (var i = 0; i < inText.length; i++) {
				    ret = inText.charCodeAt(i);
					if (!((ret > 47) && (ret < 58)))  {
						alert("¼ýÀÚ¸¸À» ÀÔ·ÂÇÏ¼¼¿ä");
						objtext1.value = "";
						objtext1.focus();
						return false;
					}
				}
				return true;
			}
function direct_send(){
	var f = window.document.emoticon_form;
	if (f.message.value == ""  )	{
	alert("¸Þ½ÃÁö ³»¿ëÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.message.focus();
	return;
	}
	f.submit();
}
function CheckLen1() {
	if(document.sms_config.msg1.value.length > 80){
	alert("´õÀÌ»ó ¹®ÀÚ¸¦ ÀÛ¼ºÇÒ¼ö ¾ø½À´Ï´Ù. 80byte±îÁöÁö¸¸ ÀÛ¼ºÀÌ °¡´ÉÇÕ´Ï´Ù.");
	document.sms_config.msg1.focus();
	return false;
	}	
	document.sms_config.content_length1.value = document.sms_config.msg1.value.length ;	
}
// ½Å¿ëÄ«µå °áÁ¦ ----------------------------------------------------------------------------------------------------------------------------------
function payCredit(form1, nointflag) {
	var cat_id = "9000400001";
	var noIntMonth_value="";
	if (nointflag == "2") {
		cat_id = "9000400002";
		noIntMonth_value=form1.noIntMonth.value;
		if (noIntMonth_value=="") {
			alert('¹«ÀÌÀÚ ÇÒºÎ°³¿ù¼ö¸¦ Á¤È®È÷ ÀÔ·ÂÇÏ½Ê½Ã¿ä.');
			form1.noIntMonth.focus();
			return;
		}
	}
	var f = window.document.selectpay;
	if(f.OrderName.value==""){
	alert("°áÀçÀÚ¸íÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.OrderName.focus();
	return;
	}	
	form1.cat_id.value=cat_id;
	form1.noIntMonth.value=noIntMonth_value;
	payfeewindow=window.open("","payfee","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=100,height=100,top=0,left=0");
	form1.target="payfee";
	form1.submit();
	payfeewindow.focus();
}
function card_ok(){
	var f = window.document.selectpay;
	if(f.OrderName.value==""){
	alert("°áÀçÀÚ¸íÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.OrderName.focus();
	return;
	}	
	f.submit();
}
//¼³¹®´äº¯½Ä¼öÁ¤ÇÏ±â
function Poll_reply_edit(){
		var bool = confirm("\nÇöÀç ¼³¹®´äº¯À» ¼öÁ¤ÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			document.Poll.submit();
		}
}
// ´äº¯Çü ¼³¹® ¼öÁ¤ÇÏ±â
function Poll_edit(){
	var f = window.document.Poll;
	if (f.poll_title.value == ""  )	{
	alert("¼³¹®Á¦¸ñÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.poll_title.focus();
	return;
	}
	if((f.poll_start.value.indexOf("-") == -1) || (f.poll_start.value == "")){
	alert("½ÃÀÛÀÏÀ» '-' Æ÷ÇÔÇÏ¿© ¿¹)2003-03-14¿Í °°Àº Çü½ÄÀ¸·ÎÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.poll_start.focus();
	return;
	}
	if((f.poll_end.value.indexOf("-") == -1) || (f.poll_end.value == "")){
	alert("¸¶°¨ÀÏÀ» '-' Æ÷ÇÔÇÏ¿© ¿¹)2003-03-14¿Í °°Àº Çü½ÄÀ¸·ÎÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.poll_end.focus();
	return;
	}
	f.submit();
}
//¼±ÅÃÇü¼³¹®»èÁ¦
function poll_del1(idx,intpage){
		var bool = confirm("\nÇöÀç ¼³¹®À» »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "poll_del_1.asp?idx="+idx+"&intpage="+intpage;
		}
}
//´äº¯Çü¼³¹®»èÁ¦
function poll_del2(idx,intpage){
		var bool = confirm("\nÇöÀç ¼³¹®À» »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "poll_del_2.asp?idx="+idx+"&intpage="+intpage;
		}
}
//ÁÖ°ü½Ä¼³¹®´äº¯»èÁ¦ÇÏ±â
function poll_reply_del(idx,intpage,poll_idx,page){
		var bool = confirm("\nÇöÀç ¼³¹®´äº¯À» »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "list_1_reply_del.asp?idx="+idx+"&intpage="+intpage+"&poll_idx="+poll_idx+"&page="+page;
		}
}
// ÁÖ°ü½Ä¼³¹®´äº¯ÇÏ±â
function list_1_write(){
	var f = window.document.Poll_A;
	if (f.poll_A.value == ""  )	{
	alert("¼³¹®´äº¯À» ÀÛ¼ºÇØÁÖ¼¼¿ä.");
	f.poll_A.focus();
	return;
	}
	f.submit();
}
//¼³¹®´äº¯½ÄÀÛ¼ºÇÏ±â
function poll_write_2(){
		var bool = confirm("\nÇöÀç ¼³¹®´äº¯À» ÀúÀåÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			document.Poll.submit();
		}
}
// ¼³¹®ÀÛ¼ºÇÏ±â
function Poll_next(){
	var f = window.document.Poll;
	if (f.poll_title.value == ""  )	{
	alert("¼³¹®Á¦¸ñÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.poll_title.focus();
	return;
	}
	if((f.poll_start.value.indexOf("-") == -1) || (f.poll_start.value == "")){
	alert("½ÃÀÛÀÏÀ» '-' Æ÷ÇÔÇÏ¿© ¿¹)2003-03-14¿Í °°Àº Çü½ÄÀ¸·ÎÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.poll_start.focus();
	return;
	}
	if((f.poll_end.value.indexOf("-") == -1) || (f.poll_end.value == "")){
	alert("¸¶°¨ÀÏÀ» '-' Æ÷ÇÔÇÏ¿© ¿¹)2003-03-14¿Í °°Àº Çü½ÄÀ¸·ÎÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.poll_end.focus();
	return;
	}
	if((f.poll_type1.checked != 1) && (f.poll_type2.checked != 1)){
	alert("¼³¹®¹æ¹ýÀ» ´äº¯½Ä°ú¼±ÅÃ½Ä´äº¯Áß ÇÑ°³·Î ¼±ÅÃÇØÁÖ¼¼¿ä.");
	return;
	}
//´äº¯½ÄÀÌ¸é  1¹øÃ³¸®·Î
	if(f.poll_type1.checked == 1){
	f.action="write_1.asp";
	f.submit();
	}
//´äº¯½ÄÀÌ¸é  2¹øÃ³¸®·Î
	if(f.poll_type2.checked == 1){
	f.action="write_2.asp";
	f.submit();
	}
}
//¼³¹®Á¶»çÇüÅÂ¼¿·ºÆ®½Ã °ü·Ã¾ø´Â ºÎºÐ disalbed ½ÃÅ°±â
function check_type1()
{
	if(document.Poll.poll_type1.checked==1)
	{
		document.Poll.poll_type2.disabled=true;
		document.Poll.poll_count.disabled=true;
	}
	else
	{
		document.Poll.poll_type2.disabled=false;
		document.Poll.poll_count.disabled=false;
	}
}
function check_type2()
{
	if(document.Poll.poll_type2.checked==1)
	{
		document.Poll.poll_type1.disabled=true;
	}
	else
	{
		document.Poll.poll_type1.disabled=false;
	}
}
//ÆË¾÷Ã¢¶ç¿ì´ÂºÎºÐ
//openWindow('/homepage/banner.asp','402','601');
function openWindow(url,width,height) {
	var widths = width;
	var heights = height;
	var top = 0; // Ã¢ÀÌ ¶ã À§Ä¡ ÁöÁ¤
	var left = 0;
	var temp2 = 'toolbar=no, width='+widths+',height='+heights+',top='+top+',left='+left;
	var temp = url;
	window.open(temp, 'notice1', temp2);
}
function openWindow2(url,width,height,lefts) {
	var widths = width;
	var heights = height;
	var top = 0; // Ã¢ÀÌ ¶ã À§Ä¡ ÁöÁ¤
	var left = lefts;
	var temp2 = 'toolbar=no, scrollbars=no, width='+widths+',height='+heights+',top='+top+',left='+left;
	var temp = url;
	window.open(temp, 'notice2', temp2);
}
function openWindow3(url,width,height,lefts) {
	var widths = width;
	var heights = height;
	var top = 0; // Ã¢ÀÌ ¶ã À§Ä¡ ÁöÁ¤
	var left = lefts;
	var temp2 = 'toolbar=no, width='+widths+',height='+heights+',top='+top+',left='+left;
	var temp = url;
	window.open(temp, 'notice3', temp2);
}
function openWindow4(url,width,height,lefts) {
	var widths = width;
	var heights = height;
	var top = 30; // Ã¢ÀÌ ¶ã À§Ä¡ ÁöÁ¤
	var left = 30;
	var temp2 = 'toolbar=no, scrollbars=yes, width='+widths+',height='+heights+',top='+top+',left='+left;
	var temp = url;
	window.open(temp, 'notice2', temp2);
}
function M_del(idx){
		var bool = confirm("\nÇØ´ç ¼ÒºÐ·ù¸¦ »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "M_del.asp?idx="+idx;
		}
}
function S_del(idx){
		var bool = confirm("\nÇØ´ç ¼ÒºÐ·ù¸¦ »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "S_del.asp?idx="+idx;
		}
}
function L_del(idx){
		var bool = confirm("\nÇØ´ç ´ëºÐ·ù¸¦ »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "L_del.asp?idx="+idx;
		}
}
function S_input_it(){
	var f = window.document.S_input;
	if(f.name.value==""){
	alert("ºÐ·ù»ý¼º¸íÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.name.focus();
	return;
	}	
	f.submit();
}
function M_input_it(){
	var f = window.document.M_input;
	if(f.name.value==""){
	alert("ºÐ·ù»ý¼º¸íÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.name.focus();
	return;
	}	
	f.submit();
}
function L_input_it(){
	var f = window.document.L_input;
	if(f.name.value==""){
	alert("ºÐ·ù»ý¼º¸íÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.name.focus();
	return;
	}	
	f.submit();
}
function admin_bank_del(idx){
		var bool = confirm("\nÇØ´ç ÀºÇàÁ¤º¸¸¦ »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "bank_del.asp?idx="+idx;
		}
}
function category_popup(url, field)
{ 
	var opt = "toolbar=no,resizable=no,scrollbars=no,location=no,resize=no,menubar=no,directories=no,copyhistory=0,width=400,height=210,top= 10,left = 10";
	window.open(url, 'category', opt); 
} 
function order_del(order_id,url,searchdate1,searchdate2,searchpart,searchstr,searchtype,page){
		var bool = confirm("\nÇØ´ç ÁÖ¹® ³»¿ªÀ» »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "order_del.asp?order_id="+order_id+"&url="+url+"&searchdate1="+searchdate1+"&searchdate2="+searchdate2+"&searchpart="+searchpart+"&searchstr="+searchstr+"&searchtype="+searchtype+"&page="+page;
		}
}
function popup(url, field)
{ 
	var opt = "toolbar=no,resizable=no,scrollbars=no,location=no,resize=no,menubar=no,directories=no,copyhistory=0,width=780,height=550,top= 10,left = 10"; 	
	window.open(url, 'zoom', opt); 
} 
function deli_ok(){
	var f = window.document.deli;
	if(f.order_id.value==""){
	alert("ÁÖ¹®¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.order_id.focus();
	return;
	}	
	f.submit();
}
function place_ok2(){
	window.document.place.submit();
}
function place_ok(){
	var f = window.document.place;
	if(f.pay_bank.value==""){
	alert("ÀÔ±ÝÇÏ½Ç ÀºÇàÀ» ¼±ÅÃÇØÁÖ¼¼¿ä.");
	f.pay_bank.focus();
	return;
	}	
	if(f.pay_name.value==""){
	alert("ÀÔ±ÝÀÚ¸íÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.pay_name.focus();
	return;
	}
	f.submit();
}
function order_ok(){
	var f = window.document.order;
	if(f.f_name.value==""){
	alert("ÁÖ¹®ÀÚ¼º¸íÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.f_name.focus();
	return;
	}
	if(f.f_tel.value==""){
	alert("ÁÖ¹®ÀÚ ÀüÈ­¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.f_tel.focus();
	return;
	}
	if(f.f_hp.value==""){
	alert("ÁÖ¹®ÀÚ ÈÞ´ëÆù¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.f_hp.focus();
	return;
	}
	if(f.f_email.value==""){
	alert("ÁÖ¹®ÀÚÀÌ¸ÞÀÏÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.f_email.focus();
	return;
	}
	if(f.f_zipcode1.value==""){
	alert("ÁÖ¹®ÀÚ¿ìÆí¹øÈ£¾ÕÀÚ¸®¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.f_zipcode1.focus();
	return;
	}
	if(f.f_zipcode2.value==""){
	alert("ÁÖ¹®ÀÚ¿ìÆí¹øÈ£µÞÀÚ¸®¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.f_zipcode2.focus();
	return;
	}
	if(f.f_juso1.value==""){
	alert("ÁÖ¹®ÀÚ ÁÖ¼Ò¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.f_juso1.focus();
	return;
	}
	if(f.f_juso2.value==""){
	alert("ÁÖ¹®ÀÚ ³ª¸ÓÁöÁÖ¼Ò¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.f_juso2.focus();
	return;
	}
	if(f.t_name.value==""){
	alert("¼ö·ÉÀÎ¼º¸íÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.t_name.focus();
	return;
	}
	if(f.t_tel.value==""){
	alert("¼ö·ÉÀÎ ÀüÈ­¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.t_tel.focus();
	return;
	}
	if(f.t_hp.value==""){
	alert("¼ö·ÉÀÎ ÈÞ´ëÆù¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.t_hp.focus();
	return;
	}
	if(f.t_email.value==""){
	alert("¼ö·ÉÀÎÀÌ¸ÞÀÏÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.t_email.focus();
	return;
	}
	if(f.t_zipcode1.value==""){
	alert("¼ö·ÉÀÎ¿ìÆí¹øÈ£¾ÕÀÚ¸®¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.t_zipcode1.focus();
	return;
	}
	if(f.t_zipcode2.value==""){
	alert("¼ö·ÉÀÎ¿ìÆí¹øÈ£µÞÀÚ¸®¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.t_zipcode2.focus();
	return;
	}
	if(f.t_juso1.value==""){
	alert("¼ö·ÉÀÎ ÁÖ¼Ò¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.t_juso1.focus();
	return;
	}
	if(f.t_juso2.value==""){
	alert("¼ö·ÉÀÎ ³ª¸ÓÁöÁÖ¼Ò¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.t_juso2.focus();
	return;
	}
	f.submit();	
}
function check_same()
{
	if(document.order.same.checked==1)
	{
		document.order.t_name.value=document.order.f_name.value;
	document.order.t_tel.value=document.order.f_tel.value;
	document.order.t_hp.value=document.order.f_hp.value;
	document.order.t_email.value=document.order.f_email.value;
	document.order.t_zipcode1.value=document.order.f_zipcode1.value;
	document.order.t_zipcode2.value=document.order.f_zipcode2.value;
	document.order.t_juso1.value=document.order.f_juso1.value;
	document.order.t_juso2.value=document.order.f_juso2.value;

	}
	else
	{
	document.order.t_name.value="";
document.order.t_tel.value="";
document.order.t_hp.value="";
document.order.t_email.value="";
document.order.t_zipcode1.value="";
document.order.t_zipcode2.value="";
document.order.t_juso1.value="";
document.order.t_juso2.value="";
	}
}
function aonClick(i) {
	zipcode = document.forms[i].h_zip1.value;
	fom = opener.document.order_tax;
	tmp1 = zipcode.substring(0,3);
	tmp2 = zipcode.substring(4,7);
   
	fom.tax_zipcode1.value = tmp1;
	fom.tax_zipcode2.value = tmp2;
    
	fom.tax_juso1.value = document.forms[i].h_zip2.value;
    
	parent.window.close();
	parent.fom.tax_juso2.focus();
}
function zzonClick(i) {
	zipcode = document.forms[i].h_zip1.value;
	fom = opener.document.order;
	tmp1 = zipcode.substring(0,3);
	tmp2 = zipcode.substring(4,7);
   
	fom.tax_zipcode1.value = tmp1;
	fom.tax_zipcode2.value = tmp2;
    
	fom.tax_juso1.value = document.forms[i].h_zip2.value;
    
	parent.window.close();
	parent.fom.tax_juso2.focus();
}
function tonClick(i) {
	zipcode = document.forms[i].h_zip1.value;
	fom = opener.document.order;
	tmp1 = zipcode.substring(0,3);
	tmp2 = zipcode.substring(4,7);
   
	fom.t_zipcode1.value = tmp1;
	fom.t_zipcode2.value = tmp2;
    
	fom.t_juso1.value = document.forms[i].h_zip2.value;
    
	parent.window.close();
	parent.fom.t_juso2.focus();
}
function fonClick(i) {
	zipcode = document.forms[i].h_zip1.value;
	fom = opener.document.order;
	tmp1 = zipcode.substring(0,3);
	tmp2 = zipcode.substring(4,7);
   
	fom.f_zipcode1.value = tmp1;
	fom.f_zipcode2.value = tmp2;
    
	fom.f_juso1.value = document.forms[i].h_zip2.value;
    
	parent.window.close();
	parent.fom.f_juso2.focus();
}
function cart_order(){
	if (document.login.order_type[0].checked == true){
		if (document.login.id.value == ""){
		alert("¾ÆÀÌµð¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
		document.login.id.focus();
		return;
		}
		if (document.login.pwd.value == ""){
		alert("ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
		document.login.pwd.focus();
		return;
		}
		document.login.action="mem_login_check.asp";
		document.login.submit();
	}
	else
	{
	document.login.action="order.asp";
	document.login.submit();
	}
}
function buy_go(){
	var f = window.document.qty;
	if(parseInt(f.g_count.value) > parseInt(f.g_get.value)){
	alert("Àç°í·®º¸´Ù ¸¹Àº ¼ö·®À» ½ÅÃ»ÇÏ¼Ì½À´Ï´Ù.");
	f.g_count.focus();
	return;
	}
	if(parseInt(f.g_count.value) == 0){
	alert("ÁÖ¹®¼ö·®Àº 1°³ÀÌ»ó µÇ¾î¾ß ÇÕ´Ï´Ù.");
	f.g_count.focus();
	return;
	}
	if(f.g_count.length == 0){
	alert("ÁÖ¹®¼ö·®À» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.g_count.focus();
	return;
	}	
	f.action="go_in.asp";
	f.submit();
}
function basket_in(){
	var f = window.document.qty;
	if(parseInt(f.g_count.value) > parseInt(f.g_get.value)){
	alert("Àç°í·®º¸´Ù ¸¹Àº ¼ö·®À» ½ÅÃ»ÇÏ¼Ì½À´Ï´Ù.");
	f.g_count.focus();
	return;
	}
	if(parseInt(f.g_count.value) == 0){
	alert("ÁÖ¹®¼ö·®Àº 1°³ÀÌ»ó µÇ¾î¾ß ÇÕ´Ï´Ù.");
	f.g_count.focus();
	return;
	}
	if(f.g_count.length == 0){
	alert("ÁÖ¹®¼ö·®À» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.g_count.focus();
	return;
	}	
	f.action="basket_in.asp";
	f.submit();
}
function goods_del(idx,page){
		var bool = confirm("\nÇØ´ç »óÇ°À» »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "del.asp?idx="+idx+"&page="+page;
		}
}

function category_del(idx){
		var bool = confirm("\n»èÁ¦ÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "del.asp?idx="+idx;
		}
}
function category_it(){
	var f = window.document.category_L;
	if(f.title.value.length==0){
	alert("ºÐ·ù¸íÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.title.focus();
	return false;
	}
}
function bank_it(){
	var f = window.document.bank;
	if(f.bankname.value.length==0){
	alert("ÀºÇà¸íÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.bankname.focus();
	return false;
	}
	if(f.banknumber.value.length==0){
	alert("ÀºÇà°èÁÂ¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.banknumber.focus();
	return false;
	}
	if(f.use_name.value.length==0){
	alert("¿¹±ÝÁÖ¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.use_name.focus();
	return false;
	}
}
function admin_login_it(){
	if (document.theForm.a_id.value == ""  )	{
	alert("¾ÆÀÌµð¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	document.theForm.a_id.focus();
	return false;
	}
	if (document.theForm.a_pwd.value == ""  )	{
	alert("ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	document.theForm.a_pwd.focus();
	return false;
	}
}
function board2_del(idx,ref,re_level,url,table,intpage){
		var bool = confirm("\n»èÁ¦ÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "del.asp?idx="+idx+"&ref="+ref+"&re_level="+re_level+"&url="+url+"&table="+table+"&intpage="+intpage;
		}
}
function admin_write_it(){
	var f = window.document.Write;
	if(f.title.value.length==0){
	alert("±ÛÁ¦¸ñÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.title.focus();
	return;
	}
	if(f.writer.value.length==0){
	alert("ÀÛ¼ºÀÚ¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.writer.focus();
	return;
	}
	if(f.content.value.length==0){
	alert("±Û³»¿ëÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.content.focus();
	return;
	}

	f.submit();
}
function report_it(){
	if (document.report.num.value == ""  )	{
	alert("¹°Ç°¹øÈ£¸¦¸¦ ÀÔ·ÂÇÏ¼¼¿ä.");
	document.report.num.focus();
	return;
	}
	if (document.report.content.value == ""  )	{
	alert("½Å°í³»¿ëÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	document.report.content.focus();
	return;
	}
	document.report.submit();
}
function Search_it(){
	var f = window.document.reg;
	if(f.game.value=="0"){
	alert("°ÔÀÓÁ¾·ù¸¦ ¼±ÅÃÇØÁÖ¼¼¿ä.");
	return;
	}
	if(f.server.value=="0"){
	alert("°ÔÀÓ¼­¹ö¸¦ ¼±ÅÃÇØÁÖ¼¼¿ä.");
	return;
	}
	if(f.itemm.value=="0"){
	alert("¾ÆÀÌÅÛÀ» ¼±ÅÃÇØÁÖ¼¼¿ä.");
	return;
	}
	if(f.tmo.value=="1"){
	document.reg.action='../sell/search.asp';
	document.reg.submit();
	}
	else
	{
	document.reg.action='../buy/search.asp';
	document.reg.submit();
	}
}
function buy_sell(){
	if (document.buy_sell.title.value == ""  )	{
	alert("ÆÇ¸Å¼³¸íÀ» ÀÔ·ÂÇÏ¼¼¿ä.");
	document.buy_sell.title.focus();
	return;
	}
	if (document.buy_sell.price.value == ""  )	{
	alert("ÆÇ¸Å±Ý¾×À» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	document.buy_sell.price.focus();
	return;
	}
	document.buy_sell.submit();
}
function cancel_del(url,idx,gu){
		var bool = confirm("\n°Å·¡Ãë¼Ò¸ñ·Ï¿¡¼­ »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "cancel_del.asp?url="+url+"&idx="+idx+"&gu="+gu;
		}
}
function list_del(url,idx,gu){
		var bool = confirm("\n°Å·¡¿Ï·á¹°Ç°¸ñ·Ï¿¡¼­ »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?\n");
		if (bool){
			location.href = "list_del.asp?url="+url+"&idx="+idx+"&gu="+gu;
		}
}
function trade_ok(url,idx,gu){
		var bool = confirm("\nÇØ´ç¹°Ç°À» Á¤»óÀûÀ¸·Î ¼ö·ÉÇÏ¼Ì½À´Ï±î?\n\nÈ®ÀÎÀ» ´©¸£½Ã¸é °Å·¡°¡ ¿Ï·áµË´Ï´Ù.\n");
		if (bool){
			location.href = "trade_ok.asp?url="+url+"&idx="+idx+"&gu="+gu;
		}
}
function mem_bank_it(){
	if (document.mem_bank.banknumber.value ==""  )	{
	alert("ÀºÇà°èÁÂ¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	document.mem_bank.banknumber.focus();
	return;
	}
	document.mem_bank.submit();
}
function mileage_out_it(){
	if (document.mileage_out.price.value < "50000"  )	{
	alert("Ãâ±Ý¿äÃ» ±Ý¾×Àº 5¸¸¿øÀÌ»óÀÌ¾î¾ß ÇÕ´Ï´Ù.");
	document.mileage_out.price.focus();
	return;
	}
	if (document.mileage_out.price.value == ""  )	{
	alert("Ãâ±Ý¿äÃ» ±Ý¾×À» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	document.mileage_out.price.focus();
	return;
	}
	document.mileage_out.submit();
}
function no_mileage_out(){
alert("¸¶ÀÏ¸®Áö°¡ 5¸¸¿øÀÌ»óÀÌ µÇ¾î¾ß Ãâ±Ý½ÅÃ»ÀÌ °¡´ÉÇÕ´Ï´Ù!");
}
function mileage_save_it(){
	if (document.mileage_save.price.value == ""  )	{
	alert("ÀÔ±Ý¾×À» ¼±ÅÃÇØÁÖ¼¼¿ä.");
	document.mileage_save.price.focus();
	return;
	}
	if (document.mileage_save.name.value == ""  )	{
	alert("ÀÔ±ÝÀÎÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	document.mileage_save.name.focus();
	return;
	}
	document.mileage_save.submit();
}
function buyi_it(){
	if (document.buyi.game.value == "0"  )	{
	alert("°ÔÀÓÁ¾·ù¸¦ ¼±ÅÃÇØÁÖ¼¼¿ä.");
	document.buyi.game.focus();
	return;
	}
	if (document.buyi.server.value == "0"  )	{
	alert("°ÔÀÓ¼­¹ö¸¦ ¼±ÅÃÇØÁÖ¼¼¿ä.");
	document.buyi.server.focus();
	return;
	}
	if (document.buyi.itemm.value == "0"  )	{
	alert("¹°Ç°Á¾·ù¸¦ ¼±ÅÃÇØÁÖ¼¼¿ä.");
	document.buyi.itemm.focus();
	return;
	}
	if (document.buyi.price.value == "0"  )	{
	alert("¹°Ç°±Ý¾×À» ¼±ÅÃÇØÁÖ¼¼¿ä.");
	document.buyi.price.focus();
	return;
	}
	if (document.buyi.title.value == "0"  )	{
	alert("¹°Ç°Á¦¸ñÀ» ¼±ÅÃÇØÁÖ¼¼¿ä.");
	document.buyi.title.focus();
	return;
	}
	if (document.buyi.content.value == "0"  )	{
	alert("³»¿ëÀ» ¼±ÅÃÇØÁÖ¼¼¿ä.");
	document.buyi.content.focus();
	return;
	}
	document.buyi.submit();
}
function numberCheck(){
   if((event.keyCode < 48)||(event.keyCode > 57))
      event.returnValue=false;
}
function pwd_lost(){
	if (document.pwd_lost.id.value == ""  )	{
	alert("¾ÆÀÌµð¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	document.pwd_lost.id.focus();
	return;
	}
	if (document.pwd_lost.name.value == ""  )	{
	alert("ÀÌ¸§À» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	document.pwd_lost.name.focus();
	return;
	}
	if (document.pwd_lost.juminno1.value == ""  )	{
	alert("ÁÖ¹Îµî·Ï¹øÈ£ ¾ÕÀÚ¸®¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	document.pwd_lost.juminno1.focus();
	return;
	}
	if (document.pwd_lost.juminno2.value == ""  )	{
	alert("ÁÖ¹Îµî·Ï¹øÈ£ µÞÀÚ¸®¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	document.pwd_lost.juminno2.focus();
	return;
	}
	document.pwd_lost.submit();
}
function id_lost(){
	if (document.id_lost.name.value == ""  )	{
	alert("ÀÌ¸§À» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	document.id_lost.name.focus();
	return;
	}
	if (document.id_lost.juminno1.value == ""  )	{
	alert("ÁÖ¹Îµî·Ï¹øÈ£ ¾ÕÀÚ¸®¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	document.id_lost.juminno1.focus();
	return;
	}
	if (document.id_lost.juminno2.value == ""  )	{
	alert("ÁÖ¹Îµî·Ï¹øÈ£ µÞÀÚ¸®¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	document.id_lost.juminno2.focus();
	return;
	}
	document.id_lost.submit();
}
function login_it(){
	if (document.login.id.value == ""  )	{
	alert("¾ÆÀÌµð¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	document.login.id.focus();
	return false;
	}
	if (document.login.pwd.value == ""  )	{
	alert("ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	document.login.pwd.focus();
	return false;
	}
	document.login.submit();
}
function next_it2(){
	document.theForm.a_pwd.focus();
	return;
}
function next_it(){
	document.login.pwd.focus();
	return;
}
function onClick(i) {

	zipcode = document.forms[i].h_zip1.value;
	fom = opener.document.member;
	tmp1 = zipcode.substring(0,3);
	tmp2 = zipcode.substring(4,7);
   
	fom.zipcode1.value = tmp1;
	fom.zipcode2.value = tmp2;
    
	fom.juso1.value = document.forms[i].h_zip2.value;
    
	parent.window.close();
	parent.fom.juso2.focus();
}
function GoSearch()
{
	if ( document.InSearch.str_zip.value == ""  )
	{
	  alert("°Ë»öÇÏ½Ç ÁÖ¼Ò¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä!");
      document.InSearch.str_zip.focus();
	  return;
	}

	if (document.InSearch.str_zip.value.length <= 1)
	{ 
    	alert("ÁÖ¼ÒÀÔ·ÂÀº 2ÀÚ¸® ÀÌ»óÀÌ¾î¾ß ÇÕ´Ï´Ù!");
	    document.InSearch.str_zip.focus();
	    return;
	}

	document.InSearch.submit();
}
//¾ÆÀÌµðÁßº¹°Ë»ç¿©ºÎ
function idcheck_reset(){
	document.member.idcheck.value="";
}
//¾ÆÀÌµðÁßº¹°Ë»ç
function Id_Check(){
    document.member.idcheck.value="1";
	if(document.member.id.value==""){ 
	alert("¾ÆÀÌµð¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä.");
	document.member.id.focus();
	return;
	}
	window.open('id_check.asp?id='+document.member.id.value,'id_check','width=400,height=200,menubar=no,scrollbars=no');
}
function code_check(){
    
	if(document.goods.g_code.value==""){ 
	alert("»óÇ°ÄÚµå¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä.");
	document.goods.g_code.focus();
	return;
	}
	window.open('code_check.asp?code='+document.goods.g_code.value,'code_check','width=400,height=250,menubar=no,scrollbars=no');
}
function sub(url, field)
{ 
	var opt = "toolbar=no,resizable=yes,scrollbars=yes,location=no,resize=no,menubar=no,directories=no,copyhistory=0,width=500,height=300,top= 330,left = 370"; 	
	window.open(url, 'new_window', opt); 
} 
function chkhanmail()
{ 
	var tmp1, mailserver;
	tmp1 = document.member.email.value.indexOf("@");
	mailserver = document.member.email.value.substring(tmp1);

	if (mailserver == '@hanmail.net' || mailserver == '@daum.net')
	{
		alert('ÁË¼ÛÇÕ´Ï´Ù ÇÑ¸ÞÀÏÀº ÀÌ¿ëÇÏ½Ç¼ö ¾ø½À´Ï´Ù.'
		+'\n\n´Ù¸¥ ¸ÞÀÏ ÁÖ¼Ò¸¦ ÀÌ¿ëÇÏ½Ã±â ¹Ù¶ø´Ï´Ù.'
		+'\n\n³×¶ì¾Ó,¶óÀÌÄÚ½º,¾ßÈÄ...µî'
		+'\n\n¹«·á ¸ÞÀÏµî·ÏÇÏ½ÅÈÄ ´Ù½Ã °¡ÀÔÇØ ÁÖ½Ê½Ã¿À'
		+'\n\nÁË¼ÛÇÕ´Ï´Ù.');
		member.email.value = '';
		member.email.focus();
		return false;
	}
}
function Shift() {
if(document.member.juminno1.value.length==6) {
document.member.juminno2.focus()
return; 
}
}
function Shift2() {
if(document.lost.juminno1.value.length==6) {
document.lost.juminno2.focus()
return; 
}
}
function juminno_check(){
if(document.member.juminno2.value.length==7) {
jumin=document.member.juminno1.value  + document.member.juminno2.value
 gop="234567892345"
 var i=0
 sum=0
 while(i<=5) {
 a=jumin.charAt(i) 
 b=gop.charAt(i)
 sum+=eval(a*b)
 i++
 }
 i=6
 while(i<=11) {
 a=jumin.charAt(i)
 b=gop.charAt(i)
 sum+=eval(a*b)
 i++
 }

 endpoint=11-(sum%11)+""
 endpoint=endpoint.substring(endpoint.length-1,endpoint.length)
 bunho=jumin.charAt(12)+""
 if(bunho!=endpoint) {
  alert('Á¤»óÀûÀÎ ÁÖ¹Îµî·Ï¹øÈ£°¡ ¾Æ´Õ´Ï´Ù.');
  document.member.juminno1.value="";
  document.member.juminno2.value="";
  document.member.juminno1.focus();
  return; 
 }
 }
}
function onlyHan(objtext1) {
				var inText = objtext1.value;
				var ret;		
				for (var i = 0; i < inText.length; i++) {
				    ret = inText.charCodeAt(i);
					if (ret > 31 && ret < 127) {
						alert("ÀÌ¸§Àº ¶ç¾î¾²±â ¾øÀÌ ÇÑ±Û·Î¸¸ ÀÔ·ÂÇÏ¼¼¿ä");
						objtext1.value = "";
						objtext1.focus();
						return false;
					}
				}
				return true;
} 
function onlyEng(objtext1) {
				var inText = objtext1.value;
				var ret;	
				for (var i = 0; i < inText.length; i++) {
				    ret = inText.charCodeAt(i);
					if ((ret > 122) || (ret < 48) || (ret > 57 && ret < 65) || (ret > 90 && ret < 97)) {
						alert("¿µ¹®ÀÚ¿Í ¼ýÀÚ¸¸À» ÀÔ·ÂÇÏ¼¼¿ä");
						objtext1.value = "";
						objtext1.focus();
						return false;
					}
				}
				return true;
}
//ÁÖ¹Î ¹øÈ£¿¡ µû¸¥ ÀÚµ¿ »ýÀÏ ÀÔ·Â 		
function autobirth(cObj)
			
					{
					   var form = document.member;
					   
					    var Num = '0123456789'
					
					    if(form.juminno1.value.length == 6) {
					        form.b_year.value = '19' + form.juminno1.value.substring(0,2)
					        form.b_month.value = form.juminno1.value.substring(2,4)
					        form.b_day.value = form.juminno1.value.substring(4,6)
	    }
}
function mem_join(){

	var f = window.document.member;
	if(f.id.value==""){
	alert("¾ÆÀÌµð¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.id.focus();
	return;
	}
    if(f.id.value.length < 4 || f.id.value.length > 12) {
	alert ( "ID´Â 4 ~ 12ÀÚ¸®¸¸ °¡´ÉÇÕ´Ï´Ù." )  ;
	f.id.focus();
	return ;
	}
	if(f.idcheck.value==""){
	alert("¾ÆÀÌµðÁßº¹°Ë»öÀ» ¸ÕÀú ÇØÁÖ¼¼¿ä.");
	f.id.focus();
	return;
	}
	if(f.pwd1.value==""){
	alert("ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.pwd1.focus();
	return;
	}
	if(f.pwd1.value.length < 4 || f.pwd1.value.length > 12) {
	alert ( "ºñ¹Ð¹øÈ£´Â 4 ~ 12ÀÚ¸®¸¸ °¡´ÉÇÕ´Ï´Ù." )  ;
	f.pwd1.focus();
	return ;
	}
	if(f.pwd2.value.length < 4 || f.pwd2.value.length > 12) {
	alert ( "ºñ¹Ð¹øÈ£´Â 4 ~ 12ÀÚ¸®¸¸ °¡´ÉÇÕ´Ï´Ù." )  ;
	f.pwd2.focus();
	return ;
	}
	if(f.pwd2.value==""){
	alert("ºñ¹Ð¹øÈ£È®ÀÎÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.pwd2.focus();
	return;
	}
	if(f.pwd1.value != f.pwd2.value) {
	alert("µÎ ºñ¹Ð¹øÈ£ÀÇ °ªÀÌ ¼­·Î Æ²¸³´Ï´Ù!");
	return;
	}
	if(f.name.value==""){
	alert("ÀÌ¸§À» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.name.focus();
	return;
	}
	if(f.juminno1.value=="" || f.juminno1.value.length!=6) {
	alert('ÁÖ¹Îµî·Ï¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä')
	f.juminno1.focus();
	return ; 
	}
 	if(f.juminno2.value=="" || f.juminno2.value.length!=7) {
	alert('³ª¸ÓÁö ÁÖ¹Îµî·Ï¹øÈ£µµ ÀÔ·ÂÇØÁÖ¼¼¿ä')
	f.juminno2.focus()
	return; 
	}
	if(f.tel1_1.value==""){ 
	alert("ÀüÈ­¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.tel1_1.focus();
	return;
	}
	if(f.tel1_2.value==""){ 
	alert("ÀüÈ­¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.tel1_2.focus();
	return;
	}
	if(f.tel1_3.value==""){ 
	alert("ÀÚÅÃÀüÈ­¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.tel1_3.focus();
	return;
	}
	if(f.tel2_2.value==""){ 
	alert("ÈÞ´ëÀüÈ­¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.tel2_2.focus();
	return;
	}
	if(f.tel2_3.value==""){ 
	alert("ÈÞ´ëÀüÈ­¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.tel2_3.focus();
	return;
	}
	if(f.email.value==""){ 
	alert("ÀÌ¸ÞÀÏ ÁÖ¼Ò¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.email.focus();
	return;
	}
	if((f.email.value.indexOf("@") == -1) || (f.email.value.indexOf(".") == -1)) {
	alert("ÀÌ¸ÞÀÏ ÁÖ¼Ò°¡ Æ²·È½À´Ï´Ù.\n\nÀÌ¸ÞÀÏÁÖ¼Ò¿¡ @/./hanmailÀÌ µé¾î°¬½À´Ï´Ù.\n\nÁ¤È®ÇÏ°Ô ÀÔ·ÂÇÏ¼¼¿ä!");
	f.email.focus();
	return;
	}
	if(f.juso1.value==""){ 
	alert("ÁÖ¼Ò¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.juso1.focus();
	return;
	}
	if(f.juso2.value==""){ 
	alert("³ª¸ÓÁö ÁÖ¼Ò¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.juso2.focus();
	return;
	}
	if(f.job.value==""){ 
	alert("Á÷¾÷À» ¼±ÅÃÇØÁÖ¼¼¿ä.");
	f.job.focus();
	return;
	}
	f.submit();	
}
function mem_edit(){

	var f = window.document.member;
	if(f.pwd1.value==""){
	alert("ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.pwd1.focus();
	return;
	}
	if(f.pwd1.value.length < 4 || f.pwd1.value.length > 12) {
	alert ( "ºñ¹Ð¹øÈ£´Â 4 ~ 12ÀÚ¸®¸¸ °¡´ÉÇÕ´Ï´Ù." )  ;
	f.pwd1.focus();
	return ;
	}
	if(f.pwd2.value.length < 4 || f.pwd2.value.length > 12) {
	alert ( "ºñ¹Ð¹øÈ£´Â 4 ~ 12ÀÚ¸®¸¸ °¡´ÉÇÕ´Ï´Ù." )  ;
	f.pwd2.focus();
	return ;
	}
	if(f.pwd2.value==""){
	alert("ºñ¹Ð¹øÈ£È®ÀÎÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.pwd2.focus();
	return;
	}
	if(f.pwd1.value != f.pwd2.value) {
	alert("µÎ ºñ¹Ð¹øÈ£ÀÇ °ªÀÌ ¼­·Î Æ²¸³´Ï´Ù!");
	return;
	}
	if(f.tel1_1.value==""){ 
	alert("ÀüÈ­¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.tel1_1.focus();
	return;
	}
	if(f.tel1_2.value==""){ 
	alert("ÀüÈ­¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.tel1_2.focus();
	return;
	}
	if(f.tel1_3.value==""){ 
	alert("ÀÚÅÃÀüÈ­¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.tel1_3.focus();
	return;
	}
	if(f.tel2_2.value==""){ 
	alert("ÈÞ´ëÀüÈ­¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.tel2_2.focus();
	return;
	}
	if(f.tel2_3.value==""){ 
	alert("ÈÞ´ëÀüÈ­¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.tel2_3.focus();
	return;
	}
	if(f.email.value==""){ 
	alert("ÀÌ¸ÞÀÏ ÁÖ¼Ò¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.email.focus();
	return;
	}
	if((f.email.value.indexOf("@") == -1) || (f.email.value.indexOf(".") == -1)) {
	alert("ÀÌ¸ÞÀÏ ÁÖ¼Ò°¡ Æ²·È½À´Ï´Ù.\n\nÀÌ¸ÞÀÏÁÖ¼Ò¿¡ @/./hanmailÀÌ µé¾î°¬½À´Ï´Ù.\n\nÁ¤È®ÇÏ°Ô ÀÔ·ÂÇÏ¼¼¿ä!");
	f.email.focus();
	return;
	}
	if(f.juso1.value==""){ 
	alert("ÁÖ¼Ò¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.juso1.focus();
	return;
	}
	if(f.juso2.value==""){ 
	alert("³ª¸ÓÁö ÁÖ¼Ò¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
	f.juso2.focus();
	return;
	}
	if(f.job.value==""){ 
	alert("Á÷¾÷À» ¼±ÅÃÇØÁÖ¼¼¿ä.");
	f.job.focus();
	return;
	}
	f.submit();	
}

// ÇÃ·¡½Ã ¾×Æ¼ºê ÄÁÆ®·Ñ

function flash(AMovie, AWMode, AWidth, AHeight) {
 document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="' + AWidth + '" height="' + AHeight + '">');
 document.write('<param name="movie" value="' + AMovie + '">');
 document.write('<param name="wmode" value="' + AWMode + '">');
 document.write('<embed src="' + AMovie + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + AWidth + '" height="' + AHeight + '"></embed>');
 document.write('</object>');
}

//========================= ¼­¹ö ÀÎÁõ¼­ ¾Á ½ºÅ©¸³Æ® ==========================
function vrsn_splash() {	
	u1 = "https://seal.verisign.com/splash?form_file=fdf/splash.fdf&dn=WWW.TAXNET.CO.KR&lang=ko";	
	tbar = "location=yes,status=yes,resizable=yes,scrollbars=yes,width=560,height=500";
	sw = window.open(u1,'VRSN_Splash',tbar);
	sw.focus();
}
//===================================================================
