function ChangeList(obj)
		{
			var frm = document.forms[0];
			if (obj.name == "Cate5")
			{
				val = obj[obj.selectedIndex].value;
				
				if (val != "")
					frm.hidCID.value = val;	
				else
					frm.hidCID.value = frm.hidCID.value.substr(0, frm.hidCID.value.length - 2);				
			}			
			else
			{
				parentCate = obj;
				childCateNum = parseInt(obj.name.substr(obj.name.length-1,1))+1
				childCate = eval("document.forms[0].Cate"+childCateNum);	
				val = parentCate[parentCate.selectedIndex].value;
				
				if (val != "")
					frm.hidCID.value = val;
				else
					frm.hidCID.value = frm.hidCID.value.substr(0, 12-((5-(childCateNum-1)+2)*2));				
								
				
				childCate.length = 0;
				childCate.options[0] = new Option(getSelectName(childCateNum),"");
				
				if (val != "")
				{	
					val = "1" + val;	
					for(var i=1;i<cateid[val].length;i++)
					{
						childCate.options[i] = new Option(catenm[val][i], cateid[val][i]);
					}
				}
				
				for(var i=childCateNum+1;i<6;i++)
				{
					childCate1 = eval("document.forms[0].Cate"+i);
					childCate1.length = 0;
					childCate1.options[0] = new Option(getSelectName(i),"");	
				}
			}
			
			CateChange();		
		}
		
		function CateChange()
		{
			document.all.spanBookList.innerHTML = "<iframe id='iBookList' src='/common/booklist.aspx?CID=" + document.all.hidCID.value + "' frameBorder='no' width='0' height='0' scrolling='no' marginWidth='0' marginHeight='0' marginTop='0' marginBottom='0'></iframe>";
		}
		
		
		function BookChange()
		{
			document.all.tableBookInfo.style.display = "";
			
			if (document.all.Cate5[0].selected != true)
			{
				document.all.spanBookInfo.style.display = "";
				document.all.spanBookInfo.innerHTML = "<iframe id='iBookInfo' src='/common/result_book.aspx?CID=" + document.all.hidCID.value + "' frameBorder='no' width='685' height='50' scrolling='no' marginWidth='0' marginHeight='0' marginTop='0' marginBottom='0'></iframe>";
				document.all.tableBookInfo.style.display = "none";
			}
			else
			{
				document.all.tableBookInfo.style.display = "";
				document.all.spanBookInfo.style.display = "none";
			}
		}
		
		function getSelectName(num)
		{
			if (num == "3")
				return "ÇÐ³â¼±ÅÃ";
			else if (num == "4")
				return "ÇÐ±â¼±ÅÃ";
			else
			{
				if (js_c2 == "01")
					return "°ú¸ñ¼±ÅÃ";
				else
					return "½Ã¸®Áî¼±ÅÃ";
			}
		}

		
