function conP(){
	
	
	
	if(document.frmCon.l_type.value == "0")
	{alert("´ëºÐ·ù¸¦ ¼±ÅÃÇÏ¼¼¿ä.");
	return false;}
	if(document.frmCon.m_type.value == "")
	{alert("´ëºÐ·ù¸¦ ´Ù½Ã ¼±ÅÃÇÏ¼¼¿ä.");
	return false;}

	if(document.frmCon.m_type.value == "0")
	{alert("´ëºÐ·ù¿¡¼­ ´Ù¸¥ ¸Þ´º ¼±ÅÃ ÈÄ ´Ù½Ã ¼±ÅÃÇÏ¼¼¿ä.");
	return false;}
	
	window.open('','conP','width=343,height=455,left=0,top=0,screenX=0,screenY=0,marginwidth=0,marginheight=0,resizable=0,scrollbars=no');
	document.frmCon.method='post';
	document.frmCon.target='conP';
	document.frmCon.action='conPlay.asp';
	return true;
}

function cleanup_option_list(form) { 
	form.m_type.options.length=0; 
} 
function cleanup_option_list2(form) { 
	form.s_type.options.length=0; 
} 
function change_m_type_option_list(form) { 
	cleanup_option_list(form); 
	var func_name="m_type_option_for_"; 
	Ss_text = form.l_type.options[form.l_type.selectedIndex].value;
	func_name += Ss_text.substring(0, 1); 
	func_name += "(form)";
	eval(func_name); 
} 

function change_s_type_option_list(form) { 
	cleanup_option_list2(form); 
	var func_name="s_type_option_for_"; 
	Ss_text = form.l_type.options[form.l_type.selectedIndex].value;
	func_name += Ss_text.substring(0, 1); 
	func_name += "(form)"; 
	eval(func_name); 
}

function m_type_option_for_0(form) { 
	form.m_type.options[0] = new Option("¼±ÅÃÇÏ¼¼¿ä","0"); 
}

function s_type_option_for_0(form)
{
	form.s_type.options[0] = new Option("ºÐ·ù¾øÀ½","0"); 
}


//--------------------------------------------------------------------
// ÁÖÀÏ¿¹¹è
//--------------------------------------------------------------------
function m_type_option_for_A(form) { 
	form.m_type.options[0] = new Option("ÇÏ³ª´Ô ³ª¶ó     ", "1")
	form.m_type.options[1] = new Option("¿¹¼ö´Ô          ", "2")
	form.m_type.options[2] = new Option("Áß»ý/È¸°³       ", "3")
	form.m_type.options[3] = new Option("¼º·É/¼º·ÉÃæ¸¸   ", "4")
	form.m_type.options[4] = new Option("½ÅÀ¯            ", "5")
	form.m_type.options[5] = new Option("Ãàº¹            ", "6")
	form.m_type.options[6] = new Option("Àç¸²/Á¾¸»       ", "7")
	form.m_type.options[7] = new Option("¹ÏÀ½/¼øÁ¾       ", "8")
	form.m_type.options[8] = new Option("¼Ò¸Á/À§·Î       ", "9")
	form.m_type.options[9] = new Option("»ç¶û            ", "10")
	form.m_type.options[10] = new Option("±×¸®½ºµµÀÎ      ", "11")
	form.m_type.options[11] = new Option("½Å¾Ó¼º¼÷        ", "12")
	form.m_type.options[12] = new Option("¸¶À½/»ý°¢       ", "13")
	form.m_type.options[13] = new Option("¿µÀû¼¼°è        ", "14")
	form.m_type.options[14] = new Option("½ÊÀÚ°¡ÀÇ´É·Â    ", "15")
	form.m_type.options[15] = new Option("°í³­            ", "16")
	form.m_type.options[16] = new Option("½Å¾ÓÀÎ¹°        ", "17")
	form.m_type.options[17] = new Option("±âµµ            ", "18")
	form.m_type.options[18] = new Option("ÀºÇý            ", "19")
	form.m_type.options[19] = new Option("Àý±â            ", "20")
	
} 

function s_type_option_for_A(form) { 
	form.s_type.options[0] = new Option("2007³â              ","2007"); 
	form.s_type.options[1] = new Option("2006³â              ","2006"); 
	form.s_type.options[2] = new Option("2005³â              ","2005"); 
	form.s_type.options[3] = new Option("2004³â              ","2004"); 
	form.s_type.options[4] = new Option("2003³â              ","2003"); 
	form.s_type.options[5] = new Option("2002³â              ","2002"); 
	form.s_type.options[6] = new Option("2001³â              ","2001"); 
	form.s_type.options[7] = new Option("2000³â              ","2000"); 
	form.s_type.disabled	= false;
} 

//--------------------------------------------------------------------
// ¼ö¿ä°­ÇØ
//--------------------------------------------------------------------

function m_type_option_for_B(form) {
	
	form.m_type.options[15] = new Option("´©°¡º¹À½       ","1"); 
	form.m_type.options[14] = new Option("¸¶ÅÂº¹À½       ","2"); 
	form.m_type.options[13] = new Option("È÷ºê¸®¼­       ","3"); 
	form.m_type.options[12] = new Option("¿äÇÑ°è½Ã·Ï     ","4"); 
	form.m_type.options[11] = new Option("ºô·¹¸ó¼­       ","5"); 
	form.m_type.options[10] = new Option("·Î¸¶¼­         ","6"); 
	form.m_type.options[9] = new Option("°í¸°µµÀü¼­      ","7"); 
	form.m_type.options[8] = new Option("°í¸°µµÈÄ¼­      ","8"); 
	form.m_type.options[7] = new Option("°¥¶óµð¾Æ¼­      ","9"); 
	form.m_type.options[6] = new Option("¿¡º£¼Ò¼­        ","10"); 
	form.m_type.options[5] = new Option("ºô¸³º¸¼­        ","11"); 
	form.m_type.options[4] = new Option("°ñ·Î»õ¼­        ","12"); 
	form.m_type.options[3] = new Option("µ¥»ì·Î´Ï°¡Àü¼­  ","13"); 
	form.m_type.options[2] = new Option("µ¥»ì·Î´Ï°¡ÈÄ¼­  ","14"); 
	form.m_type.options[1] = new Option("µð¸ðµ¥Àü¼­      ","15"); 
	form.m_type.options[0] = new Option("µð¸ðµ¥ÈÄ¼­      ","16");
	 
} 


function s_type_option_for_B(form) { 
	
	form.s_type.options[0] = new Option("1Àå~3Àå          ","1");
	form.s_type.options[1] = new Option("4Àå~6Àå          ","2"); 
	form.s_type.options[2] = new Option("7Àå~9Àå		  ","3"); 
	form.s_type.options[3] = new Option("10Àå~12Àå        ","4"); 
	form.s_type.options[4] = new Option("13Àå~15Àå        ","5"); 
	form.s_type.disabled	= false;
} 

//--------------------------------------------------------------------
// ¿µ¾îÀÚ¸·¼³±³
//--------------------------------------------------------------------

function m_type_option_for_C(form) {
	
	form.m_type.options[0] = new Option("ÀüÃ¼                ","0"); 	
} 

function s_type_option_for_C(form) { 
	
	form.s_type.options[0]	= new Option("ºÐ·ù¾øÀ½          ","0");
	form.s_type.disabled	= true;
} 

//--------------------------------------------------------------------
// ¿µ¾î¼³±³
//--------------------------------------------------------------------

function m_type_option_for_D(form) { 
	
	form.m_type.options[0] = new Option("ÀüÃ¼                ","0"); 	
} 

function s_type_option_for_D(form) { 
	
	form.s_type.options[0]	= new Option("ºÐ·ù¾øÀ½          ","0");
	form.s_type.disabled	= true;
} 

//--------------------------------------------------------------------
// ¼º°¡´ëµ¿¿µ»ó
//--------------------------------------------------------------------
function m_type_option_for_E(form) { 
	
	form.m_type.options[0] = new Option("º£´Ù´Ï¼º°¡´ë    ","1");
	form.m_type.options[1] = new Option("º£µé·¹Çð¼º°¡´ë  ","2");
	form.m_type.options[2] = new Option("¿¹·ç»ì·½¼º°¡´ë  ","3");
	form.m_type.options[3] = new Option("³ª»ç·¿¼º°¡´ë    ","4");
	form.m_type.options[4] = new Option("ÀÓ¸¶´©¿¤¼º°¡´ë  ","5");
	form.m_type.options[5] = new Option("°¥¸±¸®¼º°¡´ë    ","6");
	form.m_type.options[6] = new Option("¹Ì°¡¿¤¼º°¡´ë    ","7");
	form.m_type.options[7] = new Option("º£µ¥½º´Ù¼º°¡´ë  ","8");	
	form.m_type.options[8] = new Option("È£»ê³ª¼º°¡´ë    ","9");
	
	
} 
function s_type_option_for_E(form) { 
	
	form.s_type.options[0] = new Option("2007³â              ","2007"); 
	form.s_type.options[1] = new Option("2006³â              ","2006"); 
	form.s_type.options[2] = new Option("2005³â              ","2005"); 
	form.s_type.options[3] = new Option("2004³â              ","2004"); 
	form.s_type.options[4] = new Option("2003³â              ","2003"); 
	form.s_type.disabled	= false;
} 
//--------------------------------------------------------------------
// ±ÝÁÖÀÇ ¸»¾¸
//--------------------------------------------------------------------

function m_type_option_for_F(form) { 
	
	form.m_type.options[0] = new Option("1ºÎ                  ","1");
	form.m_type.options[1] = new Option("2ºÎ                  ","2");
	form.m_type.options[2] = new Option("3ºÎ                  ","3");
	form.m_type.options[3] = new Option("4ºÎ                  ","4");
	form.m_type.options[4] = new Option("5ºÎ                  ","5");
	form.m_type.options[5] = new Option("6ºÎ                  ","6");
	form.m_type.options[6] = new Option("7ºÎ                  ","7");	
} 
function s_type_option_for_F(form) {
	
	form.s_type.options[0] = new Option("2007³â              ","2007"); 
	form.s_type.options[1] = new Option("2006³â              ","2006"); 
	form.s_type.options[2] = new Option("2005³â              ","2005"); 
	form.s_type.options[3] = new Option("2004³â              ","2004"); 
	form.s_type.options[4] = new Option("2003³â              ","2003"); 
	form.s_type.disabled	= false;
} 
//--------------------------------------------------------------------
// Çàº¹À¸·ÎÀÇ ÃÊ´ë
//--------------------------------------------------------------------

function m_type_option_for_G(form) { 
	form.m_type.options[0] = new Option("ÀüÃ¼                ","0"); 	
} 

function s_type_option_for_G(form) { 
	form.s_type.options[0]	= new Option("ºÐ·ù¾øÀ½           ","0");
	form.s_type.disabled	= true;
} 
//--------------------------------------------------------------------
// Ã»³â¿¬ÇÕ¿¹¹è
//--------------------------------------------------------------------

function m_type_option_for_H(form) { 

	form.m_type.options[0] = new Option("2007³â              ","2007"); 
	form.m_type.options[1] = new Option("2006³â              ","2006"); 
	form.m_type.options[2] = new Option("2005³â              ","2005"); 
	form.m_type.options[3] = new Option("2004³â              ","2004"); 
	form.m_type.options[4] = new Option("2003³â              ","2003"); 
	form.m_type.options[5] = new Option("2002³â              ","2002"); 
	form.m_type.options[6] = new Option("2001³â              ","2001"); 
	form.m_type.options[7] = new Option("2000³â              ","2000"); 
} 

function s_type_option_for_H(form) { 
	form.s_type.options[0]	= new Option("ÀüÃ¼                 ","0");
	form.s_type.disabled	= true;
} 

//--------------------------------------------------------------------
// ¼¿¿¹¹è°ø°ú
//--------------------------------------------------------------------

function m_type_option_for_I(form) { 
	form.m_type.options[0] = new Option("ÀüÃ¼                 ","0"); 	
} 

function s_type_option_for_I(form) { 
	form.s_type.options[0]	= new Option("ºÐ·ù¾øÀ½            ","0");
	form.s_type.disabled	= true;
} 


//--------------------------------------------------------------------
// ¼ºÈ¸
//--------------------------------------------------------------------

function m_type_option_for_J(form) { 
	          
	form.m_type.options[0] = new Option("¿ùµå¹Ì¼ÇÅõµ¥ÀÌ  ", "1");
	form.m_type.options[1] = new Option("±¹³»¼ºÈ¸        ", "2");
	form.m_type.options[2] = new Option("ÇØ¿Ü¼ºÈ¸        ", "3");
	form.m_type.options[3] = new Option("ºÎÈï¼ºÈ¸        ", "4");
	form.m_type.options[4] = new Option("Ãàº¹¼ºÈ¸        ", "5");

} 

function s_type_option_for_J(form) {
	 
	form.s_type.options[0] = new Option("2007³â              ","2007"); 
	form.s_type.options[1] = new Option("2006³â              ","2006"); 
	form.s_type.options[2] = new Option("2005³â              ","2005"); 
	form.s_type.options[3] = new Option("2004³â              ","2004"); 
	form.s_type.options[4] = new Option("2003³â              ","2003"); 

 
	form.s_type.disabled	= false;
} 

//--------------------------------------------------------------------
// ±âµµÈ¸
//--------------------------------------------------------------------

function m_type_option_for_K(form) { 
	            
	form.m_type.options[0] = new Option("Ãß¼ö°¨»çÆ¯»õ     ", "1");
	form.m_type.options[1] = new Option("°í³­ÁÖ°£Æ¯»õ     ", "2");
	form.m_type.options[2] = new Option("¿©¸®°í±âµµÈ¸     ", "3");

} 

function s_type_option_for_K(form) { 
	
	form.s_type.options[0] = new Option("2007³â              ","2007"); 
	form.s_type.options[1] = new Option("2006³â              ","2006"); 
	form.s_type.options[2] = new Option("2005³â              ","2005"); 
	form.s_type.options[3] = new Option("2004³â              ","2004"); 
	form.s_type.options[4] = new Option("2003³â              ","2003"); 

	form.s_type.disabled	= false;
} 

//--------------------------------------------------------------------
// Á¤±âÇà»ç/¼¼¹Ì³ª
//--------------------------------------------------------------------

function m_type_option_for_L(form) { 
	form.m_type.options[0] = new Option("¼±±³´ëÈ¸        ", "1");
	form.m_type.options[1] = new Option("±³È¸ÇÐ±³ÀÇ³¯    ", "2");
	form.m_type.options[2] = new Option("Áö±¸¿ªÀå¼¼¹Ì³ª  ", "3");

} 

function s_type_option_for_L(form) { 
	form.s_type.options[0] = new Option("2007³â              ","2007"); 
	form.s_type.options[1] = new Option("2006³â              ","2006"); 
	form.s_type.options[2] = new Option("2005³â              ","2005"); 
	form.s_type.options[3] = new Option("2004³â              ","2004"); 
	form.s_type.options[4] = new Option("2003³â              ","2003"); 

	form.s_type.disabled	= false;
} 

//--------------------------------------------------------------------
// Æ¯º°Çà»ç
//--------------------------------------------------------------------

function m_type_option_for_M(form) { 
//	form.m_type.options[0] = new Option("¼øº¹À½ÀüµµÃàÁ¦", "1");

       
	form.m_type.options[0] = new Option("¿ÜºÎ¸ñ»ç¼³±³     ", "1");
	form.m_type.options[1] = new Option("Æ¯º°°£Áõ         ", "2");
	form.m_type.options[2] = new Option("¼ºµµÀÇ °£Áõ      ", "3");
} 


function s_type_option_for_M(form) { 
//	form.s_type.options[0] = new Option("2007³â","2007"); 
//	form.s_type.options[1] = new Option("2006³â","2006"); 
//	form.s_type.options[2] = new Option("2005³â","2005"); 
//	form.s_type.options[3] = new Option("2004³â","2004"); 
//	form.s_type.options[4] = new Option("2003³â","2003"); 
//	form.s_type.disabled	= false;
	form.s_type.options[0] = new Option("ÀüÃ¼                 ","0");
	form.s_type.disabled	= false;
} 

function option_selected(x){ 
 if (x>=0){ 
 return true; 
 } else { 
 return false; 
 } 
} 

