
		
		/* About : select box */

		function show_selectbox(name){
			document.getElementById(name).style.display = 'block';
		}

		function hide_selectbox(name){
			document.getElementById(name).style.display = 'none';
		}

		function options_click(box_name,view_id,view_word,form,name,value,script){
			document.getElementById(view_id).innerHTML = view_word;
			hide_selectbox(box_name);
			if(form){
				document[form][name].value = value;
				if(script == 'yes'){
					if(name=='products_v43dmb') on_products_v43dmb();
					else if(name=='products_v43edu') on_products_v43edu();
					else if(name=='products_etc') on_products_etc();
					else if(name=='download') on_download();
					else if(name=='product_model') on_product_model();
					else if(name=='brand_site') on_brand_site();
				}
			}
		}

		function write_selectBox(val_name,max_size,form_name,option_value,option_name,init_cnt,script,width,sub_width,top){

			var option_value_arr = option_value.split("::");
			var option_name_arr = option_name.split("::");

			if(option_value_arr.length != option_name_arr.length){
				alert("option_value °¹¼ö¿Í option_name °¹¼ö°¡ ´Ù¸¨´Ï´Ù.");
				return 0;
			}
			var length = option_value_arr.length;
			var size = (length>max_size) ? (17*max_size+2) : (17*length+2);


			document.write("<table border=0 cellpadding=0 cellspacing=0>\n");
			document.write("	<tr><td colspan=3 height=1></td></tr>\n");
			document.write("		<td rowspan=4><img src='http://www.feelingk.com/new/include/img/left_list_01.gif'></td>\n");
			document.write("		<td height=1 bgcolor='#CBCBCB'></td>\n");
			document.write("		<td rowspan=4><img src='http://www.feelingk.com/new/include/img/left_list_02.gif' style='cursor:hand;' onClick=\"show_selectbox('"+val_name+"_options');\"></td>\n");
			document.write("	</tr>\n");
			document.write("	<tr><td height=1></td></tr>\n");
			document.write("	<tr><td height=16 style='cursor:hand;' onClick=\"show_selectbox('"+val_name+"_options');\" width="+width+"><font id="+val_name+"_selected class=font11_darkgray>"+option_name_arr[init_cnt]+"</font></td></tr>\n");
			document.write("	<tr><td height=1 bgcolor='#CBCBCB'>\n");
			document.write("		<div style='position:absolute;'>\n");
			document.write("		<div id="+val_name+"_options class=mb_graybar onMouseover=\"show_selectbox('"+val_name+"_options');\" onMouseout=\"hide_selectbox('"+val_name+"_options');\" style='position:absolute; top:"+top+"px; left:-11px; width:"+sub_width+";height:"+size+"px; overflow:auto; display:none; z-index:100; border:1 solid #CBCBCB; background-color:#FFFFFF;'>\n");
			document.write("			<table border=0 cellpadding=0 cellspacing=0 width=100%>\n");
			for(var i=0 ; i<length ; i++){
				document.write("				<tr><td height=17 style='cursor:hand; font:11px µ¸¿ò;' onClick=\"options_click('"+val_name+"_options','"+val_name+"_selected','"+option_name_arr[i]+"','"+form_name+"','"+val_name+"','"+option_value_arr[i]+"','"+script+"');\" onMouseover=\"this.style.backgroundColor='#FF4E00'; this.style.color='#FFFFFF'; show_selectbox('"+val_name+"_options');\" onMouseout=\"this.style.backgroundColor=''; this.style.color='';\"><nobr>&nbsp;"+option_name_arr[i]+"&nbsp;</nobr></td></tr>\n");
			}
			document.write("			</table>\n");
			document.write("		</div>\n");
			document.write("		</div>\n");
			document.write("	</td></tr>\n");
			document.write("	<input type='hidden' name='"+val_name+"' value='"+option_value_arr[init_cnt]+"'>\n");
			document.write("</table>\n");
		}





		// »ç¿ëÀÚ Á¤ÀÇ ÇÔ¼ö
		function on_products_v43dmb(){
			location.href='./'+document.getElementById('products_v43dmb').value;
		}
		function on_products_v43edu(){
			location.href='./'+document.getElementById('products_v43edu').value;
		}
		function on_products_etc(){
			location.href='./'+document.getElementById('products_etc').value;
		}
		function on_product_model(){
			location.href='../products/'+document.getElementById('product_model').value+'.html';
		}
		function on_download(){
			location.href='../support/download.html?d_code=' + document.getElementById('download').value;
		}
		function on_brand_site(){
			var url = document.getElementById('brand_site').value;
			if(url != "BRAND SITE"){
				window.open(url,"","toolbar=yes,location=yes,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes");
			}
		}
		