<!--
		//base java_script function

		// global variable ..
		//var Buff_obj = top.window.Theme_buffer.ThemeBook_BufferSet;
		var screenWidth;
		var screenHeight;
		var select_obj;
		
		// Only Move Url ..
		function Theme_linker(url,target,exist)
		{
			if(exist != '1')
			{
				if(target == "this")
					location.href=url;
			}
			else alert('±¸¸ÅÇÒ »óÇ°ÀÌ ¾ø½À´Ï´Ù.');
		}

		// direct_buy ..
		function Theme_Settle_linker(url, pk, exist)
		{
			if(exist != '1')
			{
				if(pk == "")
				{
					if(confirm('ºñÈ¸¿øÀ¸·Î ±¸¸ÅÇÏ½Ã°Ú½À´Ï±î?\n\nºñÈ¸¿ø ±¸¸Å½Ã °¢Á¾ ¸¶ÀÏ¸®Áö³ª ¿©·¯°¡Áö ÇýÅÃÀ» ¹ÞÀ»¼ö ¾ø½À´Ï´Ù.\n\nºñÈ¸¿ø ±¸¸Å ÇÏ½Ã·Á¸é È®ÀÎÀ» ´©¸£½Ã°í ·Î±×ÀÎ ÈÄ ±¸¸Å ÇÏ½Ç·Á¸é Ãë¼Ò¸¦ ´­·¯ÁÖ¼¼¿ä~'))
					{
						location.href=url;
					}
					else
					{
						url = '/login/login.asp?purl=/order/settle_list.asp'
						location.href=url;
					}
				}
				else
					location.href=url;
			}
			else 
				alert('±¸¸ÅÇÒ »óÇ°ÀÌ ¾ø½À´Ï´Ù.');
			
		}

		function go_pub(obj, code)
		{
			idx = obj.publisher.selectedIndex;
			v = obj.publisher.options[idx].value;
			if (v != 0)
				document.location.href='/TBV/prd_o_list.asp?code=' + code + '&manufacture=' + v
		}
		
		// ¼ýÀÚ¸¸ ..
		function onlyNumber()
		{
			if((event.keyCode<48)||(event.keyCode>57))
				event.returnValue = false;
		}
		
		// ÆäÀÌÁö ¸®´ÙÀÌ·ºÆ® ÇÔ¼ö ..
		function go_Content_view(url,opt)
		{
			location.href=url;
		}
		
		// »óÇ° ¼ö·® º¯°æÇÔ¼ö ..
		function Prd_I(obj, b)
		{
			v = obj.num.value;
			if(v == 1 && b == '-');
			else
				obj.num.value = (b == '+') ? ++v : --v;
		}

		function N_Prd_I(obj, b, islink)
		{
			if (islink == "Y")
			{
				alert('Ãß°¡ÇÒÀÎ »óÇ°ÀÇ °æ¿ì´Â ¼ö·® Á¶ÀýÀ» ÇÏ½Ç ¼ö ¾ø½À´Ï´Ù.');
			}
			else
			{
				v = obj.num.value;
				if(v == 1 && b == '-');
				else
					obj.num.value = (b == '+') ? ++v : --v;
			}
		}
		function N_Prd_I2(obj, b, islink)
		{
			if (islink == "Y")
			{
				alert('Ãß°¡ÇÒÀÎ »óÇ°ÀÇ °æ¿ì´Â ¼ö·® Á¶ÀýÀ» ÇÏ½Ç ¼ö ¾ø½À´Ï´Ù.');
			}
			else
			{
				v = obj.num2.value;
				if(v == 1 && b == '-');
				else
					obj.num2.value = (b == '+') ? ++v : --v;
			}
		}

		// Center Popup window
		function Popup_window_opt(url,w,h)
		{
			var x = (screen.width - w) / 2;
			var y = (screen.height - h) / 2;
			url = "/admin/popup/" + url;
			opt = "status=no,toolbar=no,scrollbars=no,width="+w+",height="+h+",left="+x+",top="+y;
			name1 = window.open(url,"cate",opt); 
			name1.window.focus(); 
		}
		
		// xp control ..
		function Isxp_control()
		{
			var name = navigator.appVersion;
			var c = name.lastIndexOf('W');
			var rename = name.substr(c);
			var result = rename.split(";");
					
			if(result[1] == "" || result[1] == "undefine")
				var browse_name = result[0].substr(0,result[0].length-1);
			else
				var browse_name = result[0];

			if(browse_name == "Windows NT 5.1")
			{
				var temp = result[1];
				return true;
				if(temp == " SV1") return true;
				else return false;
			}
			else
				return false;
		}
		
		function formresizeX(obj,type) 
		{
			(type)? obj.rows +=3 : obj.rows -= 3;
		}

		// Å×¸¶ºÏ ÆË¾÷ À©µµ¿ì ..
		function Theme_popup_window(title, addr, login, scroll, w, h)
		{
			if(login)
			{
				var x = (screen.width - w) / 2;
				var y = (screen.height - h) / 2;
				var url = unescape(addr) + "&tt="+title+"&x="+w+"&y="+h;
				opt = "width=" +w+ ",height=" +h+ ", scrollbars="+scroll+",menubar=no,resizable=no,left=" +x+ ",top="+y;
				name1 = window.open(url,"Theme_Popup_notice", opt);  
				if(name1.name == name) return;
				name1.window.focus(); 
			}
			else
			{
				if(confirm('ÇöÀç ¼­ºñ½º´Â ·Î±×ÀÎÀÌ ÇÊ¿äÇÑ ¼­ºñ½ºÀÔ´Ï´Ù.\n\nÁö±Ý ¹Ù·Î ·Î±×ÀÎ ÇÏ½Ã°Ú½À´Ï±î?'))
				{
					go_Content_view('/login/login.asp?');
				}
			}
		}

		function Theme_popup_window_login(title, addr, login, scroll, w, h)
		{
			if(login)
			{
				var x = (screen.width - w) / 2;
				var y = (screen.height - h) / 2;
				var url = unescape(addr) + "&tt="+title+"&x="+w+"&y="+h;
				opt = "width=" +w+ ",height=" +h+ ", scrollbars="+scroll+",menubar=no,resizable=no,left=" +x+ ",top="+y;
				name1 = window.open(url,"Theme_Popup_notice", opt);  
				if(name1.name == name) return;
				name1.window.focus(); 
			}
			else
			{
				if(confirm('ÇöÀç ¼­ºñ½º´Â ·Î±×ÀÎÀÌ ÇÊ¿äÇÑ ¼­ºñ½ºÀÔ´Ï´Ù.\n\nÁö±Ý ¹Ù·Î ·Î±×ÀÎ ÇÏ½Ã°Ú½À´Ï±î?'))
				{
					Theme_popup_window('·Î±×ÀÎ', '/login/N_login_Popup.asp?', 1, "no", 620, 330);
				}
			}
		}

		

		function Theme_popup_window_event(title, addr, login, scroll, w, h)
		{
			if(login)
			{
				var x = (screen.width - w - 180) / 2;
				var y = (screen.height - h - 200) / 2;
				var url = unescape(addr) + "&tt="+title+"&x="+w+"&y="+h;
				opt = "width=" +w+ ",height=" +h+ ", scrollbars="+scroll+",menubar=no,resizable=no,left=" +x+ ",top="+y;
				name1 = window.open(url,"Theme_Popup", opt);  
				if(name1.name == name) return;
				name1.window.focus(); 
			}
			else
			{
				if(confirm('ÇöÀç ¼­ºñ½º´Â ·Î±×ÀÎÀÌ ÇÊ¿äÇÑ ¼­ºñ½ºÀÔ´Ï´Ù.\n\nÁö±Ý ¹Ù·Î ·Î±×ÀÎ ÇÏ½Ã°Ú½À´Ï±î?'))
				{
					go_Content_view('/login/login.asp?');
				}
			}
		}

		// Å×¸¶ºÏ ÆË¾÷ À©µµ¿ì ..
		function Theme_popup_window_memo(title, addr, login, scroll, w, h)
		{
			if(login)
			{
				var x = (screen.width - w) / 2;
				var y = (screen.height - h) / 2;
				var url = unescape(addr) + "&tt="+title+"&x="+w+"&y="+h;
				opt = "width=" +w+ ",height=" +h+ ", scrollbars="+scroll+",menubar=no,resizable=no,left=" +x+ ",top="+y;
				name1 = window.open(url,"Theme_memo", opt);  
				if(name1.name == name) return;
				name1.window.focus(); 
			}
			else
			{
				if(confirm('ÇöÀç ¼­ºñ½º´Â ·Î±×ÀÎÀÌ ÇÊ¿äÇÑ ¼­ºñ½ºÀÔ´Ï´Ù.\n\nÁö±Ý ¹Ù·Î ·Î±×ÀÎ ÇÏ½Ã°Ú½À´Ï±î?'))
				{
					go_Content_view('/login/login.asp?');
				}
			}
		}

		function Theme_popup_window_target(title, addr, login, scroll, w, h, movepage)
		{
			if(login)
			{
				var x = (screen.width - w) / 2;
				var y = (screen.height - h) / 2;
				var url = unescape(addr) + "&tt="+title+"&x="+w+"&y="+h;
				opt = "width=" +w+ ",height=" +h+ ", scrollbars="+scroll+",menubar=no,resizable=no,left=" +x+ ",top="+y;
				name1 = window.open(url,"Theme_Popup", opt);  
				if(name1.name == name) return;
				name1.window.focus(); 
			}
			else
			{
				if(confirm('ÇöÀç ¼­ºñ½º´Â ·Î±×ÀÎÀÌ ÇÊ¿äÇÑ ¼­ºñ½ºÀÔ´Ï´Ù.\n\nÁö±Ý ¹Ù·Î ·Î±×ÀÎ ÇÏ½Ã°Ú½À´Ï±î?'))
				{
					lurl = "/login/login.asp?purl=" + movepage
					go_Content_view(lurl);
				}
			}
		}

		function Used_state_change(obj, idx)
		{
			obj.used_idx.value = idx;
			if(confirm("ÇöÀç »óÇ°À» »óÅÂº¯°æ ÇÏ½Ã°Ú½À´Ï±î?"))
				obj.submit();
		}

		function Theme_M_POP(title, addr, scroll, w, h)
		{
			var x = (screen.width - w) / 2;
			var y = (screen.height - h) / 2;
			var url = unescape(addr) + "&tt="+title+"&x="+w+"&y="+h;
			opt = "width=" +w+ ",height=" +h+ ", scrollbars="+scroll+",menubar=no,resizable=no,left=" +x+ ",top="+y;
			name1 = window.open(url,"Theme_event", opt);  
			if(name1.name == name) return;
			name1.window.focus(); 
		}

		function Theme_popup_obj(obj, obj2, addr, login, scroll, w, h)
		{
			if(login)
			{
				var url = ""
				var x = (screen.width - w) / 2;
				var y = (screen.height - h) / 2;
				key = obj.options[obj.selectedIndex].value;
				key2 = obj2.options[obj2.selectedIndex].value;
				url = addr + "&bno=" +key+ "&state=" +key2+ "&x=" +w+ "&y=" +h;
				
				if(key == "") { alert('µµ¼­Á¾·ù¸¦ ¼±ÅÃÇØÁÖ¼¼¿ä'); return ; }								
				opt = "width=" +w+ ",height=" +h+ ", scrollbars=yes,menubar=no,resizable=no,left=" +x+ ",top="+y;
				name1 = window.open(url,"Theme_Popup", opt);  
				if(name1.name == name) return;
				name1.window.focus(); 
			}
			else
			{
				if(confirm('ÇöÀç ¼­ºñ½º´Â ·Î±×ÀÎÀÌ ÇÊ¿äÇÑ ¼­ºñ½ºÀÔ´Ï´Ù.\n\nÁö±Ý ¹Ù·Î ·Î±×ÀÎ ÇÏ½Ã°Ú½À´Ï±î?'))
				{
					go_Content_view('/login/login.asp?');
				}
			}
		}
		
		function TB_Sound(fname, w, h)
		{
			var x = (screen.width - w) / 2;
			var y = (screen.height - h) / 2;
			
			alert('¼Ò¸®µè±â');
		}
		
		function TB_Movie(fname, w, h)
		{
			var x = (screen.width - w) / 2;
			var y = (screen.height - h) / 2;
			
			alert('»ùÇÃµ¿¿µ»ó');
		}

		function poll_check(obj, c, key)
		{
			ischeck = false;
			obj.action = './poll/index.asp'
			obj.no.value = key;
			for (i=0; i<c ; i++)
			{
				if(obj.choice[i].checked == true)
					ischeck = true;
			}

			if(ischeck)
				obj.submit();
			else
				alert('¼³¹® ´äº¯Áß ÇÏ³ª¸¦ ¼±ÅÃÇØÁÖ¼¼¿ä');
		}

		function Theme_img_over(obj, img)
		{
			obj.src = '/img' + img;
		}

		function Theme_img_out(obj, img)
		{
			obj.src = '/img' + img;
		}
		
		function detail_img_change(change_img)
		{
			document.view_main.src = change_img;
		}

		function Theme_popup_certificaton_window(title, addr, login, scroll, w, h)
		{
			if(login)
			{
				var x = (screen.width - w) / 2;
				var y = (screen.height - h) / 2;
				var url = addr + "&tt="+title+"&x="+w+"&y="+h;
				opt = "width=" +w+ ",height=" +h+ ", scrollbars='" +scroll+ "',menubar=no,resizable=no,left=" +x+ ",top="+y;
				name1 = window.open(url,"Theme_Popup", opt);  
				if(name1.name == name) return;
				name1.window.focus(); 
			}
			else
			{
				//ModalDialog_Manager('blogin', '', 400, 258);
			}
		}

		function Img_review(url, w, h, img)
		{
			var x = (screen.width - w) / 2;
			var y = (screen.height - h) / 2;
			url = url + "img_name=" + img;
			opt = "width=" +w+ ",height=" +h+ ",scrollbars='n',menubar=no,resizable=no,left=" +x+ ",top="+y;
			window.open(url,"", opt);
		}

		function review(id)
		{
			if(eval('view_review'+id).style.display == "none")
				eval('view_review'+id).style.display = ""
			else
				eval('view_review'+id).style.display = "none"
		}

		function review2(id)
		{
			if(eval('view2_review'+id).style.display == "none")
				eval('view2_review'+id).style.display = ""
			else
				eval('view2_review'+id).style.display = "none"
		}

		function qna(id)
		{
			if(eval('qna_review'+id).style.display == "none")
				eval('qna_review'+id).style.display = ""
			else
				eval('qna_review'+id).style.display = "none"
		}

		function SwitchMenu(obj)
		{
			if(document.getElementById)
			{
				var el = document.getElementById(obj);
				var ar = document.getElementById("maindiv").getElementsByTagName("span"); 
				if(el.style.display != "block")
				{
					for (var i=0; i<ar.length; i++)
					{
						if (ar[i].className=="submenu") 
						ar[i].style.display = "none";
					}
					el.style.display = "block";
				}
				else
					el.style.display = "none";
			}
		}
		
		function Type_check(v, check_type)
		{
			check_count = new String(v);
			loop = check_count.length;

			switch(check_type)
			{
				case 'I' : // ¼ýÀÚ°¡ ¾Æ´Ï¸é false
					for(i=0; i<loop; i++)
					{
						var one = check_count.charAt(i);
						if( one >= "0" && one <= "9");
						else return false;		
					}
					return true;
					break;
				case 'S' : // ¼ýÀÚÀÌ¸é false
					for(i=0; i<loop; i++)
					{
						var one = check_count.charAt(i);
						if( one >= "0" && one <= "9") return false		
					}
					return true;
			}
		}

		// screen setting ..
		function Screen_size_view(is_bar,type)
		{
			if (navigator.appName.substring(0,9) != "Microsoft" && navigator.javaEnabled())  
			{
			   var toolkit = java.awt.Toolkit.getDefaultToolkit();
			   var screen_size = toolkit.getScreenSize();
			   screenWidth = screen_size.width;
			}
			else  
			{
				screenWidth = screen.width;
			}
			//alert(screen.width);
			if (screen.width == 640) {
				screenWidth = 640 - is_bar;
			}
			else if (screen.width == 800) {
				screenWidth = 800 - is_bar;
			}
			else if (screen.width == 1024) {
				screenWidth = 1024 - is_bar;
			}
			else if (screen.width == 1152) {
				screenWidth = 1152 - is_bar;
			}
			else if (screen.width == 1280) {
				screenWidth = 1280 - is_bar;
			}
			else if (screen.width == 1360) {
				screenWidth = 1360 - is_bar;
			}
			else if (screen.width == 1600) {
				screenWidth = 1600 - is_bar;
			}
			if(type == 'GB')
				document.write("<table width='"+screenWidth+"' border='0' cellpadding='0' cellspacing='0'>");
			else
				document.write("<table width='"+screenWidth+"' align='center' border='0' bgcolor='#333333' cellpadding='3' cellspacing='1'>");
		}
		
		// category part ..
		function get_midvalue()
		{
			obj = document.cate_config.bno;
			current_idx = obj.selectedIndex;
			if(current_idx <= 0) return current_idx;
			idx_value = obj.options[current_idx].value;
			idx_text = obj.options[current_idx].text;
			return idx_value;
		}
		
		// category part ..
		function get_smallvalue()
		{
			obj = document.cate_config.mno;
			current_idx = obj.selectedIndex;
			if(current_idx <= 0) return current_idx;
			idx_value = obj.options[current_idx].value;
			idx_text = obj.options[current_idx].text;
			return idx_value;
		}
		
		// category check ..
		function extend(t, sm)
		{
			bno = mno = ""; 
			url = "http://www.themebook.com/admin/product/?S_M=";
			switch(t)
			{
				case 'b' : 
						bno = get_midvalue();
						if(parseInt(bno) <= 0) { alert('ºÐ·ù¸¦ ¼±ÅÃÇÏ¼¼¿ä'); return ; }
					break;
				case 'm' : 
						bno = get_midvalue();
						mno = get_smallvalue();
						if(parseInt(mno) <= 0) { alert('ºÐ·ù¸¦ ¼±ÅÃÇÏ¼¼¿ä'); return ; }
					break;
			}
			url += sm;
			url = url + "&bno=" + bno + "&mno=" + mno;
			document.location=url;
			
		}	

		function extend_mid(url,ctype,pf)
		{
			obj = pf.bno;
			current_idx = obj.selectedIndex;
			idx_value = obj.options[current_idx].value;
			url = url + "?bno=" + idx_value + "&ctype=" + ctype;
			name1.document.location=url;
		}
		
		// admin login ..
		function fcheck(obj) 
		{
			if(!obj.id.value)
			{
				alert("¾ÆÀÌµð¸¦ ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿À!");
				obj.id.focus();
				return false;
			}
			else if(!obj.pw.value) 
			{
				alert("ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿À!");
				obj.pw.focus();
				return false;
			}
			else
				obj.submit();
		}

		function checkfilespace(str)
		{ 
			var ln  = 0;
			var len = str.length;
			for (i=0; i<len; i++)
			{
				var ch = str.charAt(i);
		  
				if (ch ==' ' || ch == '~' || ch == '!' || ch == '@' || ch == '#' || ch == '$' || ch == '%' || 
				ch == '^' ||  ch == '&' || ch == '*' || ch == '(' || ch == ')' || ch == '<' || ch == '>' || 
				ch == '/' || ch == '?' || ch == ',' || ch == '.')  ln++;
		 
			}
			return ln;
		}

		// Login Enter process
		function isEnter(obj)
		{
			if(window.event.keyCode == 13) 
			{
				fcheck(obj)
			}
		}

		function go_game()
		{
			var t = document.form_game.gn_option.value;
			if(t=="noselect") return false;
			if(t.substring(0,1)=="R"){
				var url='/Theme_R_games/RGAME/index.html?G_N='+t;
			}	else if(t.substring(0,1)=="G"){
				var url='/Theme_game/?G_N='+t;
			}
			goURL(url);
		}
				
		function go_mod(obj)
		{	
			var change_pw = obj.pw.value;
			
			if(change_pw != "")
			{
				if(!obj.re_pw.value)
				{
					alert('ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä');
					obj.re_pw.focus();
					return false;
				}
				else if(obj.pw.value != obj.re_pw.value)
				{
					alert('È®ÀÎ ºñ¹Ð¹øÈ£°¡ ´Ù¸¨´Ï´Ù. ´Ù½Ã ÀÔ·ÂÇØÁÖ¼¼¿ä');
					obj.re_pw.value="";
					obj.re_pw.focus();
					return false;
				}
			}
			
			if(!obj.id.value)
			{
				alert('¾ÆÀÌµð¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä');
				obj.id.focus();
				return false;
			}
			/*
			else if(!obj.ori_pw.value)
			{
				alert('ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä');
				obj.ori_pw.focus();
				return false;
			}
			*/
			else if(!obj.nic_name.value)
			{
				alert('´Ð³×ÀÓÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä');
				obj.nic_name.focus();
				return false;
			}
			else if(!obj.addr.value)
			{
				alert('ÁÖ¼Ò¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä');
				obj.addr.focus();
				return false;
			}
			else if(!obj.email_id.value)
			{
				alert('¸ÞÀÏ ÁÖ¼Ò¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä');
				obj.email_id.focus();
				return false;
			}
			else if(!obj.email_sub.value)
			{
				alert('¸ÞÀÏ ÁÖ¼Ò¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä');
				obj.email_sub.focus();
				return false;
			}
			else if(!obj.user_phone.value)
			{
				alert('ÀüÈ­¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.');
				obj.user_phone.focus();
				return false;
			}
			
			
			/*
				if(!obj.post1.value)
				{
					alert('¿ìÆí¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä');
					obj.post1.focus();
					return false;
				}
				
				if(!obj.post2.value)
				{
					alert('¿ìÆí¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä');
					obj.post2.focus();
					return false;
				}
			*/
			obj.submit();
			//alert('È¸¿ø°¡ÀÔÅ×ÀÌºí¼öÁ¤');
		}

		function check_value() 
		{
	  	
			var numbers = document.regform.jumin1.value + document.regform.jumin2.value;
			var strings = document.regform.user_name.value;
			var agree = document.regform.is_agree.value;
			var re_cer = document.regform.re_cer.value;
			if(agree != 1) { alert('¾à°ü¿¡ µ¿ÀÇÇØ ÁÖ¼¼¿ä!'); return; }
			if( strings == "")
			{
				alert("¼º¸íÀ» ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿ä.");
				document.regform.user_name.focus(); 	
				return;
			}

			if( numbers == "")
			{
				alert("ÁÖ¹Îµî·Ï¹øÈ£¸¦ ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿ä.");
				document.regform.jumin1.focus(); 	
				return;
			}
					   
			for(i=0;i<strings.length;i++) 
			{
				c = strings.charAt(i);   
				if(!((c < '0' || c > '9')&&(c < 'a' || c > 'z')&&(c < 'A' || c > 'Z')))
				{
				   alert("¼º¸íÀº ÇÑ±Û ÀÔ·Â¸¸ °¡´ÉÇÕ´Ï´Ù.");        
				   document.regform.user_name.value="";
				   document.regform.user_name.focus();
				   return;        
				}
			}	
		   
			for(i=0;i<numbers.length;i++) 
			{
				c = numbers.charAt(i);   
				if((c < '0' || c > '9'))
				{
				   alert("ÁÖ¹Îµî·Ï¹øÈ£´Â ¼ýÀÚÀÔ´Ï´Ù.");
				   document.regform.jumin1.value="";
				   document.regform.jumin2.value="";
				   document.regform.jumin1.focus();        
				   return;        
				}
			}
			
			var sum=0;
			for(i=0;i<8;i++) { sum+=numbers.substring(i,i+1)*(i+2); }
			for(i=8;i<12;i++) { sum+=numbers.substring(i,i+1)*(i-6); }
				sum=11-(sum%11);
			if (sum>=10) { sum-=10; }
			if (numbers.substring(12,13) != sum || (numbers.substring(6,7) !=1 && numbers.substring(6,7) != 2)) {
					alert("ÁÖ¹Îµî·Ï¹øÈ£¿¡ ¿À·ù°¡ ÀÖ½À´Ï´Ù. ´Ù½Ã È®ÀÎÇÏ½Ê½Ã¿À.");
					document.regform.jumin1.value="";
					document.regform.jumin2.value="";
					document.regform.jumin1.focus();
			return;
			}
    		Theme_popup_certificaton_window('°¡ÀÔ/½Ç¸íÀÎÁõÈ®ÀÎ', '/registration/name_certification/input.asp?jumin='+numbers+'&re_cer='+re_cer, 1, 'y', 300, 200)          	    
		} 		

		function cate_delete(obj,cty)
		{
			del_text = ""
			current_idx = obj.selectedIndex;
			document.cate_config.ftype.value = 'del'

			if(current_idx <= 0) { alert('»èÁ¦ Ç×¸ñÀ» ¼±ÅÃÇÏ¿©¾ß ÇÕ´Ï´Ù.'); return ; }
			else
			{
				del_text = obj.options[current_idx].text;
				document.cate_config.ctype.value = cty;
				document.cate_config.delete_no.value = obj.options[current_idx].value;
	
				if(confirm('Á¤¸» [' + del_text + '] Ç×¸ñÀ» »èÁ¦ ÇÏ½Ã°Ú½À´Ï±î?\n(ÇÏÀ§Ç×¸ñÀÌ Á¸ÀçÇÒ°æ¿ì »èÁ¦ ºÒ°¡)'))
				{
					document.cate_config.action = "../process_admin/category/cate_delete.asp"
					document.cate_config.submit();
				}
			}

		}
		
		function themebook_preview_up_ext(fname, fcount, w, h)
		{
			var x = (screen.width - w) / 2;
			var y = (screen.height - h) / 2;
			
			if(fcount == 0)
			{
				alert('ÇöÀç »óÇ°Àº ¹Ì¸®º¸±â ÀÌ¹ÌÁö°¡ ¾ÆÁ÷ µî·ÏµÇ¾î ÀÖÁö ¾Ê½À´Ï´Ù.\n\nÁ¶±Ý¸¸ ±â´Ù·ÁÁÖ¼¼¿ä^^;');
			}
			else
			{		
				url = "../popup/preview_img.asp?img_list="+fname+"&page="+fcount
				opt = "status=no,toolbar=no,scrollbars=yes,width="+w+",height="+h+",left="+x+",top="+y;
				name1 = window.open(url,"preview",opt); 
				name1.window.focus(); 
			}
		}

		function themebook_preview_up_new(fname, fcount, w, h)
		{
			var x = (screen.width - w) / 2;
			var y = (screen.height - h) / 2;
			
			if(fcount == 0)
			{
				alert('ÇöÀç »óÇ°Àº ¹Ì¸®º¸±â ÀÌ¹ÌÁö°¡ ¾ÆÁ÷ µî·ÏµÇ¾î ÀÖÁö ¾Ê½À´Ï´Ù.\n\nÁ¶±Ý¸¸ ±â´Ù·ÁÁÖ¼¼¿ä^^;');
			}
			else
			{		
				url = "../popup/preview_img_all.asp?img_list="+fname+"&page="+fcount
				opt = "status=no,toolbar=no,scrollbars=yes,width="+w+",height="+h+",left="+x+",top="+y;
				name1 = window.open(url,"preview",opt); 
				name1.window.focus(); 
			}
		}

		function themebook_preview2(fname, fcount, w, h)
		{
			var x = (screen.width - w) / 2;
			var y = (screen.height - h) / 2;
			
			if(fcount == 0)
			{
				alert('ÇöÀç »óÇ°Àº È®´ëº¸±â ÀÌ¹ÌÁö°¡ ¾ÆÁ÷ µî·ÏµÇ¾î ÀÖÁö ¾Ê½À´Ï´Ù.\n\nÁ¶±Ý¸¸ ±â´Ù·ÁÁÖ¼¼¿ä^^;');
			}
			else
			{		
				url = "../popup/preview_img.asp?img_list="+fname+"&page="+fcount
				opt = "status=no,toolbar=no,scrollbars=yes,width="+w+",height="+h+",left="+x+",top="+y;
				name1 = window.open(url,"preview",opt); 
				name1.window.focus(); 
			}
		}


		function email_chk()
		{
			var t = document.member.email.value + "@" +  document.member.emailname.value
			
			//alert("eamil_check--" + t); 
			
			var ValidFlag = false
			var atCount = 0
			var SpecialFlag
			var atLoop
			var atChr
			var BadFlag
			var tAry1
			var UserName
			var DomainName
		
			if ( t.length > 0 && t.indexOf("@") > 0 && t.indexOf(".") > 0 ) {
				atCount = 0
				SpecialFlag = false
		
				for( atLoop=1; atLoop<=t.length; atLoop++ ) {
					atChr = t.substring( atLoop, atLoop+1 )
					if ( atChr == "@" ) atCount = atCount + 1
		
					if ( (atChr >= 32) && (atChr <= 44) ) SpecialFlag = true 
					if ( (atChr == 47) || (atChr == 96) || (atChr >= 123) ) SpecialFlag = true 
					if ( (atChr >= 58) && (atChr <= 63) ) SpecialFlag = true 
					if ( (atChr >= 91) && (atChr <= 94) ) SpecialFlag = true 
				}
		
				if ( ( atCount == 1 ) && (SpecialFlag == false ) ) {
					BadFlag = false
					tAry1 = t.split("@")
					UserName = tAry1[0]
					DomainName = tAry1[1]
					if ( (UserName.length <= 0 ) || (DomainName.length <= 0 ) ) BadFlag = true
					if ( DomainName.substring( 1, 2 ) == "." ) BadFlag = true
					if ( DomainName.substring( DomainName.length-1, DomainName.length) == "." ) BadFlag = true
					ValidFlag = true
				}
			}
			if ( BadFlag == true ) ValidFlag = false
			return ValidFlag
	
		}
			
		function korean()
		{
			var txt_form = "";
			
			txt_form +="<tr>"; 
			txt_form +="<td width='87'><img src='/img/registration/form08.gif' width='85' height='33'></td>";
			txt_form +="<td width='533' background='/img/registration/form_bar02.gif' style='padding-left:10px'><input name='post1' type='text' size='10' value='' class='input03'> - <input name='post2' type='text' size='10' class='input03'> <img src='/img/registration/btn02.gif' align='absmiddle' style='cursor:hand' onfocus='this.blur()' Onclick='javascript:zipcode()'></td>";
			txt_form +="</tr>";
			txt_form +="<tr>"; 
			txt_form +="<td colspan='2' height='2'></td>";
			txt_form +="</tr>";
			txt_form +="<tr>"; 
			txt_form +="<td width='87'><img src='/img/registration/form09.gif' width='85' height='33'></td>";
			txt_form +="<td width='533' background='/img/registration/form_bar01.gif'style='padding-left:10px'><input name='addr' type='text' size='80' class='input03'></td>";
			txt_form +="</tr>";
			txt_form +="<tr>"; 
			txt_form +="<td colspan='2' height='2'></td>";
			txt_form +="</tr>";
			txt_form +="<tr>"; 
			txt_form +="<td width='87'><img src='/img/registration/form10.gif' width='85' height='33'></td>";
			txt_form +="<td width='533' background='/img/registration/form_bar02.gif' style='padding-left:10px'><input name='addr_sub' type='text' size='80' class='input03'></td>";
			txt_form +="</tr>";
			txt_form +="<tr>"; 
			txt_form +="<td colspan='2' height='2'></td>";
			txt_form +="</tr>";
			return txt_form;
		}
		
		function foreigner()
		{
			var txt_form = "";
			txt_form +="<tr>"; 
			txt_form +="<td width='87'><img src='/img/registration/form10.gif' width='85' height='33'></td>";
			txt_form +="<td width='533' background='/img/registration/form_bar02.gif' style='padding-left:10px'>";
			txt_form +="<select name='addr' class='select01'>";
			txt_form +="<option value='0'>±¹°¡¸¦ ¼±ÅÃÇÏ¼¼¿ä</option>";
            txt_form +="<option value='1'>Australia(È£ÁÖ)</option>";
            txt_form +="<option value='2'>Albania(¾Ë¹Ù´Ï¾Æ)</option>";
            txt_form +="<option value='3'>American Samoa</option>";
            txt_form +="<option value='4'>Andorra</option>";
            txt_form +="<option value='5'>Angola(¾Ó°ñ¶ó)</option>";
            txt_form +="<option value='6'>Anguilla</option>";
            txt_form +="<option value='7'>Antigua&Barbuda</option>";
            txt_form +="<option value='8'>Antiles,Netherlands</option>";
            txt_form +="<option value='9'>Arab Emirates(¾Æ¶ø¿¡¹Ì·¹ÀÌÆ®)</option>";
            txt_form +="<option value='10'>Argentina(¾Æ¸£ÇîÆ¼³ª)</option>";
            txt_form +="<option value='11'>Armenia(¾Æ¸£¸Þ´Ï¾Æ)</option>";
            txt_form +="<option value='12'>Aruba</option>";
            txt_form +="<option value='13'>Austria(¿À½ºÆ®¸®¾Æ)</option>";
            txt_form +="<option value='14'>Azerbaijan(¾ÆÁ¦¸£¹ÙÀÌÀÜ)</option>";
            txt_form +="<option value='15'>Azores,Portugal</option>";
            txt_form +="<option value='16'>Bahamas(¹ÙÇÏ¸¶)</option>";
            txt_form +="<option value='17'>Bahrain(¹Ù·¹ÀÎ)</option>";
            txt_form +="<option value='18'>Bangladesh(¹æ±Û¶óµ¥½Ã)</option>";
            txt_form +="<option value='19'>Barbados</option>";
            txt_form +="<option value='20'>Belarus/Byelorussia(º§¶ó·ç½º)</option>";
            txt_form +="<option value='21'>Belgium(º§±â¿¡)</option>";
            txt_form +="<option value='22'>Belize</option>";
            txt_form +="<option value='23'>Benin</option>";
            txt_form +="<option value='24'>Bermuda(¹ö¹Â´Ù)</option>";
            txt_form +="<option value='25'>Bolivia(º¼¸®ºñ¾Æ)</option>";
            txt_form +="<option value='26'>Bosnia(º¸½º´Ï¾Æ)</option>";
            txt_form +="<option value='27'>Botswana(º¸Ã÷¿Í³ª)</option>";
            txt_form +="<option value='28'>Brazil(ºê¶óÁú)</option>";
            txt_form +="<option value='29'>British Virgin Islands</option>";
            txt_form +="<option value='30'>Bulgaria(ºÒ°¡¸®¾Æ)</option>";
            txt_form +="<option value='31'>Brunei(ºê·ç³ªÀÌ)</option>";
            txt_form +="<option value='32'>Burkina Faso</option>";
            txt_form +="<option value='33'>Cambodia(Ä¯º¸µð¾Æ)</option>";
            txt_form +="<option value='34'>Cameroon(Ä«¸Þ·é)</option>";
            txt_form +="<option value='35'>Canada(Ä³³ª´Ù)</option>";
            txt_form +="<option value='36'>Canary Islands, Spain</option>";
            txt_form +="<option value='37'>Cape Verde</option>";
            txt_form +="<option value='38'>Cayman Islands</option>";
            txt_form +="<option value='39'>Central African Republic(Áß¾Ó¾ÆÇÁ¶óÅ°°øÈ­±¹)</option>";
            txt_form +="<option value='40'>Chad(Â÷µå)</option>";
            txt_form +="<option value='41'>Channel Islands</option>";
            txt_form +="<option value='42'>Chile(Ä¥·¹)</option>";
            txt_form +="<option value='43'>China(Áß±¹)</option>";
            txt_form +="<option value='44'>Colombia(ÄÝ·Òºñ¾Æ)</option>";
            txt_form +="<option value='45'>Cook Islands</option>";
            txt_form +="<option value='46'>Costa Rica(ÄÚ½ºÅ¸¸®Ä«)</option>";
            txt_form +="<option value='47'>Code d`lvoire(Ivory Coast)</option>";
            txt_form +="<option value='48'>Croatia(Å©·Î¾ÆÆ¼¾Æ)</option>";
            txt_form +="<option value='49'>Cyprus(Å°ÇÁ·¯½º)</option>";
            txt_form +="<option value='50'>Czech Republic(Ã¼ÄÚ)</option>";
            txt_form +="<option value='51'>Denmark(µ§¸¶Å©)</option>";
            txt_form +="<option value='52'>Djibouti</option>";
            txt_form +="<option value='53'>Dominica(µµ¹Ì´ÏÄ«)</option>";
            txt_form +="<option value='54'>Dominican Republic(µµ¹Ì´ÏÄ« °øÈ­±¹)</option>";
            txt_form +="<option value='55'>Ecuador(¿¡Äí¾Æµµ¸£)</option>";
            txt_form +="<option value='56'>Egypt(ÀÌÁýÆ®)</option>";
            txt_form +="<option value='57'>El Salvador(¿¤»ì¹Ùµµ¸£)</option>";
            txt_form +="<option value='58|5'>Algeria(¾ËÁ¦¸®)</option>";
            txt_form +="<option value='59'>Equatorial Guinea</option>";
            txt_form +="<option value='60'>Eritrea</option>";
            txt_form +="<option value='61'>Estonia(¿¡½ºÅä´Ï¾Æ)</option>";
            txt_form +="<option value='62'>Ethiopia(¿¡Æ¼¿ÀÇÇ¾Æ)</option>";
            txt_form +="<option value='63'>Faeroe Islands</option>";
            txt_form +="<option value='64'>Fiji(ÇÇÁö)</option>";
            txt_form +="<option value='65'>Finland(ÇÉ·£µå)</option>";
            txt_form +="<option value='66'>France(ÇÁ¶û½º)</option>";
            txt_form +="<option value='67'>French Guiana</option>";
            txt_form +="<option value='68'>French Polynesia(Tahiti)(Å¸È÷Æ¼)</option>";
            txt_form +="<option value='69'>Gabon(°¡ºÀ)</option>";
            txt_form +="<option value='70'>Gambia(°¨ºñ¾Æ)</option>";
            txt_form +="<option value='71'>Georgia</option>";
            txt_form +="<option value='72|5'>Germany(µ¶ÀÏ)</option>";
            txt_form +="<option value='73'>Ghana(°¡³ª)</option>";
            txt_form +="<option value='74'>Gibraltar(Áöºê¶öÅ¸)</option>";
            txt_form +="<option value='75'>Greece(±×¸®½º)</option>";
            txt_form +="<option value='76'>GreenLand(±×¸°·£µå)</option>";
            txt_form +="<option value='77'>Grenada(±×·¹³ª´Ù)</option>";
            txt_form +="<option value='78'>Guadeloupe</option>";
            txt_form +="<option value='79'>Guam(±¡)</option>";
            txt_form +="<option value='80'>Guatemala(°úÅ×¸»¶ó)</option>";
            txt_form +="<option value='81'>Guinea(±â´Ï¾Æ)</option>";
            txt_form +="<option value='82'>Guinea-Bissau</option>";
            txt_form +="<option value='83'>Guyana</option>";
            txt_form +="<option value='84'>Haiti</option>";
            txt_form +="<option value='85'>Holland(³×´ú¶õµå(È¦·£µå))</option>";
            txt_form +="<option value='86'>Honduras(¿ÂµÎ¶ó½º)</option>";
            txt_form +="<option value='87'>Hong Kong(È«Äá)</option>";
            txt_form +="<option value='88'>Hungary(Çë°¡¸®)</option>";
            txt_form +="<option value='89'>Iceland(¾ÆÀÌ½½·£µå)</option>";
            txt_form +="<option value='90'>India(ÀÎµµ)</option>";
            txt_form +="<option value='91'>Indonesia(ÀÎµµ³×½Ã¾Æ)</option>";
            txt_form +="<option value='92'>Ireland, Republic of(¾ÆÀÏ·£µå(¿¡ÀÌ·¹))</option>";
            txt_form +="<option value='93'>Israel(ÀÌ½º¶ó¿¤)</option>";
            txt_form +="<option value='94'>Italy(ÀÌÅ»¸®¾Æ)</option>";
            txt_form +="<option value='95'>Jamaica(ÀÚ¸ÞÀÌÄ«)</option>";
            txt_form +="<option value='96'>Japan(ÀÏº»)</option>";
            txt_form +="<option value='97'>Jordan(¿ä¸£´Ü)</option>";
            txt_form +="<option value='98'>Kazakhstan(Ä«ÀÚÈå½ºÅº)</option>";
            txt_form +="<option value='99'>Kenya(ÄÉ³Ä)</option>";
            txt_form +="<option value='100'>Kirghizia</option>";
            txt_form +="<option value='101'>Korea(ÇÑ±¹)</option>";
            txt_form +="<option value='102'>Kuwait(Äí¿þÀÌÆ®)</option>";
            txt_form +="<option value='103'>Laos(¶ó¿À½º)</option>";
            txt_form +="<option value='104'>Latvia(¶óÆ®´Ï¾Æ)</option>";
            txt_form +="<option value='105'>Lebanon(·¹¹Ù³í)</option>";
            txt_form +="<option value='106'>Lesotho</option>";
            txt_form +="<option value='107'>Liechtenstein(¸®È÷ÅÙ½´Å¸ÀÎ)</option>";
            txt_form +="<option value='108'>Lithuania(¸®Åõ¾Æ´Ï¾Æ)</option>";
            txt_form +="<option value='109'>Luxembourg(·è¼ÀºÎ¸£Å©)</option>";
            txt_form +="<option value='110'>Macau(¸¶Ä«¿À)</option>";
            txt_form +="<option value='111'>Macedonia(¸¶ÄÉµµ´Ï¾Æ)</option>";
            txt_form +="<option value='112'>Madagascar(¸¶´Ù°¡½ºÄ«¸£)</option>";
            txt_form +="<option value='113'>Madeira, Portugal</option>";
            txt_form +="<option value='114'>Malawi(¸»¶óÀ§)</option>";
            txt_form +="<option value='115'>Malaysia(¸»·¹ÀÌ½Ã¾Æ)</option>";
            txt_form +="<option value='116'>Maldives(¸ôµðºê)</option>";
            txt_form +="<option value='117'>Mali(¸»¸®)</option>";
            txt_form +="<option value='118'>Malta(¸ôÅ¸)</option>";
            txt_form +="<option value='119'>Marshall Islands</option>";
            txt_form +="<option value='120'>Martinique</option>";
            txt_form +="<option value='121'>Mauritania(¸ð¸®Å¸´Ï¾Æ)</option>";
            txt_form +="<option value='122'>Mauritius</option>";
            txt_form +="<option value='123'>Mexico(¸ß½ÃÄÚ)</option>";
            txt_form +="<option value='124'>Micronesia, Federated States of</option>";
            txt_form +="<option value='125'>Moldova(¸ôµµ¹Ù)</option>";
            txt_form +="<option value='126'>Monaco(¸ð³ªÄÚ)</option>";
            txt_form +="<option value='127'>Mongolia(¸ù°ñ)</option>";
            txt_form +="<option value='128'>Montserrat</option>";
            txt_form +="<option value='129'>Morocco(¸ð·ÎÄÚ)</option>";
            txt_form +="<option value='130'>Mozambique(¸ðÀáºñÅ©)</option>";
            txt_form +="<option value='131'>Namibia(³ª¹Ìºñ¾Æ)</option>";
            txt_form +="<option value='132'>Nepal(³×ÆÈ)</option>";
            txt_form +="<option value='133'>New Caledonia(´ºÄ®·¹µµ´Ï¾Æ)</option>";
            txt_form +="<option value='134'>New Zealand(´ºÁú·£µå)</option>";
            txt_form +="<option value='135'>Nicaragua(´ÏÄ«¶ó°ú)</option>";
            txt_form +="<option value='136'>Niger(´ÏÁ¦¸£)</option>";
            txt_form +="<option value='137'>Nigeria(³ªÀÌÁö¸®¾Æ)</option>";
            txt_form +="<option value='138'>Norfolk Islands</option>";
            txt_form +="<option value='139'>Northern Mariana Islands(Saipan)(ºÏ¸¶¸®¾Æ³ª±ºµµ)</option>";
            txt_form +="<option value='140'>Norway(³ë¸£¿þÀÌ)</option>";
            txt_form +="<option value='141'>Oman(¿À¸¸)</option>";
            txt_form +="<option value='142'>Pakistan(ÆÄÅ°½ºÅº)</option>";
            txt_form +="<option value='143'>Palau</option>";
            txt_form +="<option value='144'>Panama(ÆÄ³ª¸¶)</option>";
            txt_form +="<option value='145'>Papua New Guinea(ÆÄÇª¾Æ´º±â´Ï¾Æ)</option>";
            txt_form +="<option value='146'>Paraguay(ÆÄ¶ó°úÀÌ)</option>";
            txt_form +="<option value='147'>Peru(Æä·ç)</option>";
            txt_form +="<option value='148'>Philippines(ÇÊ¸®ÇÉ)</option>";
            txt_form +="<option value='149'>Poland(Æú·£µå)</option>";
            txt_form +="<option value='150'>Portugal(Æ÷¸£Åõ°¥)</option>";
            txt_form +="<option value='151'>Puerto Rico(Çª¿¡¸£Åä¸®ÄÚ)</option>";
            txt_form +="<option value='152'>Qatar(Ä«Å¸¸£)</option>";
            txt_form +="<option value='153'>Reunion Islands</option>";
            txt_form +="<option value='154'>Romania(·ç¸¶´Ï¾Æ)</option>";
            txt_form +="<option value='155'>Russia(·¯½Ã¾Æ)</option>";
            txt_form +="<option value='156'>Congo(Äá°í)</option>";
            txt_form +="<option value='157'>Rwanda(¸£¿Ï´Ù)</option>";
            txt_form +="<option value='158'>San Marino(»ê ¸¶¸®³ë)</option>";
            txt_form +="<option value='159'>Saudi Arabia(»ç¿ìµð¾Æ¶óºñ¾Æ)</option>";
            txt_form +="<option value='160'>Senegal(¼¼³×°¥)</option>";
            txt_form +="<option value='161'>Seychelles</option>";
            txt_form +="<option value='162'>Singapore(½Ì°¡Æú)</option>";
            txt_form +="<option value='163'>Slovak Republic(½½·Î¹ÙÅ°¾Æ °øÈ­±¹)</option>";
            txt_form +="<option value='164'>Slovenia(½½·Îº£´Ï¾Æ)</option>";
            txt_form +="<option value='165'>Solomon Islands(¼Ö·Î¸ó ±ºµµ)</option>";
            txt_form +="<option value='166'>South Africa(³²¾Æ°ø)</option>";
            txt_form +="<option value='167'>Spain(½ºÆäÀÎ)</option>";
            txt_form +="<option value='168'>Sri Lanka(½º¸®¶ûÄ«)</option>";
            txt_form +="<option value='169'>St.Christopher/St.Kitts&Nevis</option>";
            txt_form +="<option value='170'>St. Lucia</option>";
            txt_form +="<option value='171'>St. Vincent&the Grenadines</option>";
            txt_form +="<option value='172'>Suriname(¼ö¸®³²)</option>";
            txt_form +="<option value='173'>Swaziland(½º¿ÍÄ¥·£µå)</option>";
            txt_form +="<option value='174'>Sweden(½º¿þµ§)</option>";
            txt_form +="<option value='175'>Switzerland(½ºÀ§½º)</option>";
            txt_form +="<option value='176'>Syria(½Ã¸®¾Æ)</option>";
            txt_form +="<option value='177'>Taiwan(´ë¸¸)</option>";
            txt_form +="<option value='178'>Tajikistan(Å¸ÀÚÅ°½ºÅº)</option>";
            txt_form +="<option value='179'>Tanzania(ÅºÀÚ´Ï¾Æ)</option>";
            txt_form +="<option value='180'>Thailand(ÅÂ±¹)</option>";
            txt_form +="<option value='181'>Togo</option>";
            txt_form +="<option value='182'>Tonga(Åë°¡)</option>";
            txt_form +="<option value='183'>Trinidad&Tobago</option>";
            txt_form +="<option value='184'>Tunisia(Æ¢´ÏÁö¾Æ)</option>";
            txt_form +="<option value='185'>Turkey(ÅÍÅ°)</option>";
            txt_form +="<option value='186'>Turkmenistan</option>";
            txt_form +="<option value='187'>Turks&Caicos Islands</option>";
            txt_form +="<option value='188'>Tuvalu</option>";
            txt_form +="<option value='189'>U.S. Virgin Islands</option>";
            txt_form +="<option value='190'>Uganda(¿ì°£´Ù)</option>";
            txt_form +="<option value='191'>Ukraine(¿ìÅ©¶óÀÌ³ª)</option>";
            txt_form +="<option value='192'>United Kingdom/England(¿µ±¹)</option>";
            txt_form +="<option value='193'>United Kingdom/Ireland(ºÏ¾ÆÀÏ·£µå)</option>";
            txt_form +="<option value='194'>United Kingdom/Scottland(½ºÄÚÆ²·£µå)</option>";
            txt_form +="<option value='195'>United Kingdom/Wales(¿þÀÏÁî)</option>";
            txt_form +="<option value='196'>United States(¹Ì±¹)</option>";
            txt_form +="<option value='197'>Uruguay(¿ì·ç°úÀÌ)</option>";
            txt_form +="<option value='198'>Uzbekistan(¿ìÁîº¤Å°½ºÅº)</option>";
            txt_form +="<option value='199'>Vanuatu</option>";
            txt_form +="<option value='200'>Venezuela(º£³×¼ö¿¤¶ó)</option>";
            txt_form +="<option value='201'>Vietnam(º£Æ®³²)</option>";
            txt_form +="<option value='202'>Wake Islands</option>";
            txt_form +="<option value='203'>Wallis&Futuna Islands</option>";
            txt_form +="<option value='204'>Western Samoa(¼­»ç¸ð¾Æ)</option>";
            txt_form +="<option value='205'>Yemen, Republic of(¿¹¸à)</option>";
            txt_form +="<option value='206'>Zaire(ÀÚÀÌ¸£)</option>";
            txt_form +="<option value='207'>Zambia(Àáºñ¾Æ)</option>";
            txt_form +="<option value='208'>Zimbabwe(Áü¹Ùºê¿þ)</option>";
            txt_form +="<option value='209'>Kiribati(Å°¸®¹ÙÆ¼)</option>";
            txt_form +="<option value='210'>Liberia(¸®º£¸®¾Æ)</option>";
            txt_form +="<option value='211'>Yugoslavia(À¯°í½½¶óºñ¾Æ)</option>";
            txt_form +="</select>";
			txt_form +="</td>";
			txt_form +="</tr>";
			txt_form +="<tr>"; 
			txt_form +="<td colspan='2' height='2'></td>";
			txt_form +="</tr>";
			txt_form +="<tr>"; 
			txt_form +="<td width='87'><img src='/img/registration/form10.gif' width='85' height='33'></td>";
			txt_form +="<td width='533' background='/img/registration/form_bar02.gif' style='padding-left:10px'><textarea name='addr_sub' type='text' cols='70' rows='3' class='detail_td'></textarea></td>";
			txt_form +="</tr>";
			txt_form +="<tr>"; 
			txt_form +="<td colspan='2' height='2'></td>";
			txt_form +="</tr>";
			return txt_form;
		}
		
		

		function make_addr_form(type,ft)
		{
			var txt_form ="";
			txt_form +="<table width='620' border='0' cellspacing='0' cellpadding='0'>";
			
			if (type == "") type = "k";
			
			switch(type)
			{
				case 'k' :
					txt_form += korean(); 
					if(ft != 'm')
						document.reg_themeuser.check_state.value = type;
					break;
				default : // ¿ì¸®³ª¶ó°¡¾Æ´Ï¸é ¹«Á¶°Ç ¿Ü±¹À¸·Î ¼ÂÆÃ..
					txt_form += foreigner(); 
					if(ft != 'm')
						document.reg_themeuser.check_state.value = type;
					break;
			}
			
			txt_form +="</table>";
			eval("form_post_set.innerHTML=txt_form");	
			if(ft == 'm')
			{
				if(type == 'k')
				{
					document.reg_themeuser.post1.value = document.reg_themeuser.post1_buf.value;
					document.reg_themeuser.post2.value = document.reg_themeuser.post2_buf.value;
					document.reg_themeuser.addr.value = document.reg_themeuser.addr_buf.value;
					document.reg_themeuser.addr_sub.value = document.reg_themeuser.addr_sub_buf.value;

				}
				else
				{
					document.reg_themeuser.addr.selectedIndex = document.reg_themeuser.addr_buf.value
					document.reg_themeuser.addr_sub.value = document.reg_themeuser.addr_sub_buf.value;
				}
			}
		}

		function go_order(obj)
		{
			if(!obj.id.value)
			{
				alert('¾ÆÀÌµð¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä');
				obj.subject.focus();
			}
			else if(!obj.subject.value)
			{
				alert('Á¦¸ñÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä');
				obj.subject.focus();
			}
			else if(!obj.prd1.value)
			{
				alert('1¹øÂ° ºñ±³»óÇ°À» ÀÔ·ÂÇØÁÖ¼¼¿ä');
				obj.prd1.focus();
			}
			else if(!obj.prd2.value)
			{
				alert('2¹øÂ° ºñ±³»óÇ°À» ÀÔ·ÂÇØÁÖ¼¼¿ä');
				obj.prd2.focus();
			}
			else if(!obj.content.value)
			{
				alert('½ÅÃ» ³»¿ëÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä');
				obj.content.focus();
			}
			else
			{
				obj.submit();
			}
		}
		
		function go_topmenu(menu_name)
		{
			switch(menu_name)
			{
				case 'popular' : alert('popular'); break;
				case 'common' : alert('common'); break;
				case 'mediation' : alert('mediation'); break;
				case 'series' : alert('series'); break;
				case 'kor_book' : alert('kor_book'); break;
				case 'eng_book' : alert('eng_book'); break;
				case 'video' : alert('video'); break;
				case 'baby' : alert('baby'); break;
			}
		}

		function prd_prd_review(obj, state, msg, idx, choice_prd,sel)
		{
			prd_name = choice_prd;
			no = idx;
				
			if(!state)
				alert(msg);
			else
			{
				obj.choice_name.value = prd_name;
				obj.idx.value = no;
				obj.selecter.value = sel;
				obj.action = './write.asp';
				obj.submit();
			}
		}

		function prd_prd_process(obj)
		{
			if(!obj.subject.value)
			{
				alert('°£´ÜÇÑ Á¦¸ñÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.');
				obj.subject.focus();
			}
			else if(!obj.reason.value)
			{
				alert('¼±Á¤ ÀÌÀ¯¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.');
				obj.reason.focus();
			}
			else
				obj.submit();
		}

		function child_infor(obj, ft, opt)
		{
			var form_data = "";
			current_idx = obj.child.selectedIndex;
			c = obj.child.options[current_idx].value;
			if(c < opt)
			{
				alert('ÀÔ·ÂÇÏ½Å Á¤º¸¿¡¼­ ÀÚ³à¼ö¸¦ ÁÙÀÏ¼ö´Â ¾ø½À´Ï´Ù.');
				obj.child.selectedIndex=opt;
				c = opt;
			}
			if(c != 0)
			{
				
				form_data +="<table width='500' border='0' cellpadding='5' cellspacing='1' bgcolor='#CCCCCC'>";
				form_data +="<tr>";
				form_data +="<td width='190' height='25' align='center' bgcolor='F1F1F1'><b>ÀÌ¸§</b></td>";
				form_data +="<td width='100' align='center' bgcolor='F1F1F1'><b>Ãâ»ý³âµµ</b></td>";
				form_data +="<td width='70' align='center' bgcolor='F1F1F1'><b>¿ù</b></td>";
				form_data +="<td width='70' align='center' bgcolor='F1F1F1'><b>ÀÏ</b></td>";
				form_data +="<td width='70' align='center' bgcolor='F1F1F1'><b>¼ºº°</b></td>";
				form_data +="</tr>";
				
				for(i=1; i<=c; i++)
				{
					form_data +="<tr>";
					form_data +="<td align='center' bgcolor='#FCFCFC'><input name='child_name"+i+"' type='text' size='20' class='input03'></td>";
					form_data +="<td align='center' bgcolor='#FCFCFC'><select name='child_y"+i+"' class='select01'>";
					for(var j=2005; j>=1970; j--)
						form_data +="<option value='"+j+"'>"+j+"</option>";
					
					form_data +="</select></td>";
					form_data +="<td align='center' bgcolor='#FCFCFC'><select name='child_m"+i+"' class='select01'>";
					for(j=1; j<=12; j++)
						form_data +="<option value='"+j+"'>"+j+"</option>";
					
					form_data +="</select></td>";
					form_data +="<td align='center' bgcolor='#FCFCFC'><select name='child_d"+i+"'>";
					for(j=1; j<=31; j++)
						form_data +="<option value='"+j+"'>"+j+"</option>";
					form_data +="</select></td>";
					form_data +="<td align='center' bgcolor='#FCFCFC'><select name='child_g"+i+"' class='select01'><option value='m'>³²</option><option value='f'>¿©</option></select></td>";
					form_data +="</tr>";
				}
				form_data +="</table>";
				
			}
			eval("form_child_set.innerHTML=form_data");	
			if(ft == 'm')
				init_child_data(obj)
		}
		/////////////////////////////////////////////////////// Order Set
		
		
		function Order_Book(v, opt) // Order_Book(v) or Order_Book(v, opt)
		{
			// »óÇ° ¿É¼Ç ÄíÅ° Ãß°¡
			
			if(opt == 1)
			{
				option_value = ""
				op_c = document.prd_option.prd_opt.length;
								
				for(var i=0; i<op_c; i++) 
				{
					if(document.prd_option.prd_opt[i].checked) 
					{
						option_value = document.prd_option.prd_opt[i].value;
					}
				}
				if(option_value != "")
				{
					op_name = "opt_" + v
					Order_Save_Cook(op_name, option_value, 1);
				}
				else
				{
					alert('»óÇ° ¿É¼ÇÀ» ¼±ÅÃÇØÁÖ¼¼¿ä');
					return;
				}
			}
			
			c = document.Prd.num.value;
			name = 'count_' + v;
			Order_Save_Cook(name, c, 1);
			Order_Append(v);

			
		}

		function Order_Used_Book(v)
		{
			name = 'count_used_' + v;
			Order_Save_Cook(name, v, 1);
			Order_Used_Append(v);
		}

		function Order_Set_Book(v)
		{
			name = 'count_set_' + v;
			Order_Save_Cook(name, v, 1);
			Order_Set_Append(v);
		}
		
		function Order_Delete(ori,v)
		{
			ori += ",";
			ori += v;
			var dup = true;
			b_v = ori.split(",");
			b_c = b_v.length;
			c = b_c	// µÅÁö»ý°¢
			result = "";

			for (i=0; i<c; i++)
			{
				for (j=0; j<c; j++)
				{
					
					if(i == j) continue;
					if(b_v[i] == b_v[j])
					{	
						dup = false;
						break;
					}
				}
				if(dup)
				{
					result += b_v[i];
					result += ",";
				}
				dup = true;
			}
			Order_Save(result,'this');
			// DELETE COUNT C
			name = 'count_' + v;
			Order_Save_Cook(name, "", 1);
		}

		function Order_Used_Delete(ori,v)
		{
			ori += ",";
			ori += v;
			var dup = true;
			b_v = ori.split(",");
			b_c = b_v.length;
			c = b_c	// µÅÁö»ý°¢
			result = "";

			for (i=0; i<c; i++)
			{
				for (j=0; j<c; j++)
				{
					
					if(i == j) continue;
					if(b_v[i] == b_v[j])
					{	
						dup = false;
						break;
					}
				}
				if(dup)
				{
					result += b_v[i];
					result += ",";
				}
				dup = true;
			}
			Order_Used_Save(result,'this');
		}

		function Order_Set_Delete(ori,v)
		{
			ori += ",";
			ori += v;
			var dup = true;
			b_v = ori.split(",");
			b_c = b_v.length;
			c = b_c	// µÅÁö»ý°¢
			result = "";

			for (i=0; i<c; i++)
			{
				for (j=0; j<c; j++)
				{
					
					if(i == j) continue;
					if(b_v[i] == b_v[j])
					{	
						dup = false;
						break;
					}
				}
				if(dup)
				{
					result += b_v[i];
					result += ",";
				}
				dup = true;
			}
			Order_Set_Save(result,'this');
		}

		function Empty_Basket(exist)
		{
			var v = "";
			if(exist != '1')
			{
				if(confirm('ÇöÀç Àå¹Ù±¸´Ï ÀüÃ¼¸¦ ºñ¿ì½Ã°Ú½À´Ï±î?'))
				{
					Order_Save(v, 'this');
					Order_Used_Save(v, 'this');
					//Order_Set_Save(v, 'this');
				}
			}
			else
				alert('ÇöÀç Àå¹Ù±¸´Ï¿¡ »óÇ°ÀÌ ¾ø½À´Ï´Ù.');
		}
				
		function Order_Append(v)
		{
			obj = top.window.Theme_buffer.ThemeBook_BufferSet;
			var temp = obj.Order_Buffer.value;
			if(temp == "") 
			{
				obj.Order_Buffer.value = v + ",";
				Order_Save(obj.Order_Buffer.value,'/basket/');
			}
			else
			{
				dup_check = 0;
				b_v = temp.split(",");
				b_c = b_v.length;
				for (i=0; i<b_c ; i++)
				{
					if(b_v[i] == v)
					{
						dup_check = 1;
						break;
					}
				}
				if(dup_check == 0)
				{
					temp += v;
					temp += ",";
				}
				Order_Save(temp,'/basket/');
			}
		}

		function Order_Used_Append(v)
		{
			obj = top.window.Theme_buffer.ThemeBook_BufferSet;
			var temp = obj.Order_Used_Buffer.value;
			if(temp == "") 
			{
				obj.Order_Used_Buffer.value = v + ",";
				Order_Used_Save(obj.Order_Used_Buffer.value,'/basket/');
			}
			else
			{
				dup_check = 0;
				b_v = temp.split(",");
				b_c = b_v.length;
				for (i=0; i<b_c ; i++)
				{
					if(b_v[i] == v)
					{
						dup_check = 1;
						break;
					}
				}
				if(dup_check == 0)
				{
					temp += v;
					temp += ",";
				}
				Order_Used_Save(temp,'/basket/');
			}
		}

		function Order_Set_Append(v)
		{
			obj = top.window.Theme_buffer.ThemeBook_BufferSet;
			var temp = obj.Order_Set_Buffer.value;
			if(temp == "") 
			{
				obj.Order_Set_Buffer.value = v + ",";
				Order_Set_Save(obj.Order_Set_Buffer.value,'/basket/');
			}
			else
			{
				dup_check = 0;
				b_v = temp.split(",");
				b_c = b_v.length;
				for (i=0; i<b_c ; i++)
				{
					if(b_v[i] == v)
					{
						dup_check = 1;
						break;
					}
				}
				if(dup_check == 0)
				{
					temp += v;
					temp += ",";
				}
				Order_Set_Save(temp,'/basket/');
			}
		}

		function Order_Load()
		{
			obj = top.window.Theme_buffer.ThemeBook_BufferSet;
			var temp = obj.Order_Buffer.value;
			return temp;
		}
		
		function Duplicate_Save(v)
		{
			dup_check = 0;
			b_v = v.split(",");
			b_c = b_v.length;
			ori_value = "";
			dup_value = "";
			for (i=0; i<b_c-1 ; i++)
			{
				for(j=i+1; j<b_c; j++)
				{
					if(b_v[i] == b_v[j])
					{
						dup_check = 1;
					}
				}
				if(dup_check == 0)
				{
					ori_value += b_v[i];
					ori_value += ",";
				}
				dup_check = 0;
			}
			
			Order_Save(ori_value,'/basket/');
		}

		function Order_Book_Multi(obj)
		{
			fobj = top.window.Theme_buffer.ThemeBook_BufferSet;
			var temp = fobj.Order_Buffer.value;
			stop = obj.list_c.value;
			var ischeck = 0;
			var vs = "";
			
			for (i=10; i>stop; i--)
			{
				if(eval("obj.prd"+i+".checked") == true)
				{
					ischeck++;
					vs += eval('obj.prd'+i+'.value');
					vs += ",";
				}
			}
			vs += temp;
			if(ischeck == 0)
			{
				alert('ÇöÀç ¼±ÅÃµÈ »óÇ°ÀÌ ¾ø½À´Ï´Ù. ´ã°í ½ÍÀº »óÇ°À» ¼±ÅÃÇÏ¼¼¿ä.')
			}
			else
				Duplicate_Save(vs);
		}
		
		function S_count_change(obj, str, isorder, op)
		{
			list_count = obj.LC.options[obj.LC.selectedIndex].value;
			document.location = "./themebook_search.asp?s_str=" + str + "&isorder=" + isorder + "&op=" + op + "&lc=" + list_count
		}

		function Order_Book_Multi_search(obj)
		{
			fobj = top.window.Theme_buffer.ThemeBook_BufferSet;
			var temp = fobj.Order_Buffer.value;
			stop = obj.list_c.value;
			var ischeck = 0;
			var vs = "";
			
			for (i=1; i<stop; i++)
			{
				if(eval("obj.prd"+i+".checked") == true)
				{
					ischeck++;
					vs += eval('obj.prd'+i+'.value');
					vs += ",";
				}
			}
			vs += temp;
			if(ischeck == 0)
			{
				alert('ÇöÀç ¼±ÅÃµÈ »óÇ°ÀÌ ¾ø½À´Ï´Ù. ´ã°í ½ÍÀº »óÇ°À» ¼±ÅÃÇÏ¼¼¿ä.')
			}
			else
				Duplicate_Save(vs);
		}

		function Order_Multi_Move(v)
		{
			fobj = top.window.Theme_buffer.ThemeBook_BufferSet;
			var temp = fobj.Order_Buffer.value;
			v += temp;
			Duplicate_Save(v);
		}

		function Order_Save(v, target)
		{
			obj = top.window.Theme_buffer.ThemeBook_BufferSet;
			obj.Order_Buffer.value = v;
			v = v.substr(0, v.length-1);
			Order_Save_Cook('Order_list', v, 1);
			if(target == 'this')
				document.location.reload();
			else
				document.location = target;
		}

		function Order_Used_Save(v, target)
		{
			obj = top.window.Theme_buffer.ThemeBook_BufferSet;
			obj.Order_Used_Buffer.value = v;
			v = v.substr(0, v.length-1);
			Order_Save_Cook('Order_Used_list', v, 1);
			if(target == 'this')
				document.location.reload();
			else
				document.location = target;
		}

		function Order_Set_Save(v, target)
		{
			obj = top.window.Theme_buffer.ThemeBook_BufferSet;
			obj.Order_Set_Buffer.value = v;
			v = v.substr(0, v.length-1);
			Order_Save_Cook('Order_Set_list', v, 1);
			if(target == 'this')
				document.location.reload();
			else
				document.location = target;
		}

		function Save_Delete(obj, rc, msg, loc)
		{
			obj.rc.value = rc;
			obj.loc.value = loc;
			if(confirm('Á¤¸» ³»Àå¹Ù±¸´Ï¿¡ ÀúÀåµÈ [' + msg + '] »óÇ°À» »èÁ¦ ÇÏ½Ã°Ú½À´Ï±î?'))
			{
				obj.action='../process/mypage/basket_delete.asp'
				obj.submit();
			}
		}

		function Save_Delete_All(obj, loc)
		{
			obj.loc.value = loc;
			if(confirm('Á¤¸» ³»Àå¹Ù±¸´Ï ÀüÃ¼¸¦ ºñ¿ì½Ã°Ú½À´Ï±î?'))
			{
				obj.action='../process/mypage/basket_delete.asp'
				obj.submit();
			}
		}

		function checked_basket(obj, c)
		{
			var row = "line_" + c;
			if(eval("obj.select_num"+c+".checked") == true)
			{
				eval(row).style.backgroundColor = '#ECF4F8';
			}
			else
				eval(row).style.backgroundColor = 'white';
		}

		function mypage_checked_basket(obj, c, check)
		{
			if(check == 1)
			{
				alert('Ç°Àý »óÇ°Àº ±¸¸ÅÇÏ½Ç ¼ö ¾ø½À´Ï´Ù.');
				eval("obj.select_num"+c+".checked=false")
			}
			else
			{
				var row = "line_" + c;
				if(eval("obj.select_num"+c+".checked") == true)
				{
					eval(row).style.backgroundColor = '#F2FAEC';
				}
				else
					eval(row).style.backgroundColor = 'white';
			}
		}
		
		function Order_Save_Cook(name, value, expire)
		{
			var today = new Date();
			today.setDate( today.getDate() + expire);
			cook_Data = name + "=" + escape( value ) + ";";
			cook_Data += "path=/; expires=" + today.toGMTString() + ";"
			document.cookie = cook_Data;
		}

		function eraser(name, value, expire)
		{
			value = ""
			var today = new Date();
			today.setDate( today.getDate() - expire);
			cook_Data = name + "=" + escape( value ) + ";";
			cook_Data += "path=/; expires=" + today.toGMTString() + ";"
		}
		///////////////////////////////////////////////////////
		function init_child_data(obj)
		{
			c = obj.child_count_buf.value;

			for(i=1; i<=c; i++)
			{
				data_array = eval('obj.child' +i+ '_buf.value').split(":");
				name_obj = eval('obj.child_name'+i);
				year_obj = eval('obj.child_y'+i);
				month_obj = eval('obj.child_m'+i);
				day_obj = eval('obj.child_d'+i);
				gender_obj = eval('obj.child_g'+i);
				name_obj.value = data_array[0];
				year_obj.selectedIndex = 2005 - data_array[1];
				month_obj.selectedIndex = data_array[2] - 1;
				day_obj.selectedIndex = data_array[3] - 1;
				gender_obj.selectedIndex = (data_array[4] == 'm')? 0 : 1;
			}
		}
		
		function load_data_milage()
		{
			var content = "<tr>";
			content += "<td height='22'><img src='/img/main/bullet02.gif' align='middle'>&nbsp; Å×¸¶ºÏ¿¡¼­´Â È¸¿ø°¡ÀÔ½Ã 1000¿øÀÇ Àû¸³±ÝÀ» Á¦°øÇØµå¸³´Ï´Ù.</td>";
			content += "</tr>";
			content += "<tr>";
			content += "<td height='22'> <img src='/img/main/bullet02.gif' align='middle'>&nbsp; Àû¸³±ÝÀº È¹µæÀº ¹°Ç°±¸¸Å½Ã ¶Ç´Â È¸¿ø ÃßÃµ½Ã ÀÏÁ¤±Ý¾×ÀÌ Àû¸³µË´Ï´Ù.</td>";
			content += "</tr>";
			content += "<tr>";
			content += "<td height='22'> <img src='/img/main/bullet02.gif' align='middle'>&nbsp; Àû¸³±ÝÀº ¹°Ç°±¸¸Å½Ã ¾ðÁ¦µçÁö »ç¿ë°¡´É ÇÕ´Ï´Ù.</td>";
			content += "</tr>";
			content += "<tr>";
			content += "<td height='22'> <img src='/img/main/bullet02.gif' align='middle'>&nbsp; Àû¸³±Ý ³»¿ªÀº »ó´Ü¸Þ´º<font color='#006699'><b>[¸¶ÀÌÆäÀÌÁö]</b></font> <font color='#006699'><b>[ÇöÀç Àû¸³±Ý]</b></font>¿¡¼­ È®ÀÎ ÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù.</td>";
			content += "</tr>";	
			return content;
		}

		function load_data_commend()
		{
			var content = "<tr>";
			content += "<td height='22'><img src='/img/main/bullet02.gif' align='middle'>&nbsp; Å×¸¶ºÏ¿¡¼­´Â ´Ù¾çÇÑ ÃßÃµÁ¦µµ¸¦ Á¦°øÇÕ´Ï´Ù.</td>";
			content += "</tr>";
			content += "<tr>";
			content += "<td height='22'> <img src='/img/main/bullet02.gif' align='middle'>&nbsp; È¸¿ø°¡ÀÔ½Ã ÃßÃµ ¾ÆÀÌµð¸¦ ÀûÀ¸½Ã¸é 500¿ø¿¡ Àû¸³±ÝÀ» ÃßÃµ¾ÆÀÌµð¿¡°Ô Áö±ÞÇÕ´Ï´Ù.</td>";
			content += "</tr>";
			content += "</tr>";
			content += "<td height='22'> <img src='/img/main/bullet02.gif' align='middle'>&nbsp; »óÇ° ±¸¸Å½Ã ÃßÃµ¾ÆÀÌµð¸¦ ÀûÀ¸½Ã¸é Ãß°¡·Î ±¸¸Å±Ý¾×¿¡ 5%¸¦ µå¸³´Ï´Ù.</td>";
			content += "</tr>";
			return content;
		}

		function load_data_matrix()
		{
			var content = "<tr>";
			content += "<td height='22'><img src='/img/main/bullet02.gif' align='middle'>&nbsp; Å×¸¶ºÏ¿¡¼­´Â Â÷º°È­µÈ ¼­ºñ½º ¼ºÀå¹ß´Þ ¸ÅÆ®¸¯½º¸¦ Á¦°øÇÕ´Ï´Ù..</td>";
			content += "</tr>";
			content += "<tr>";
			content += "<td height='22'> <img src='/img/main/bullet02.gif' align='middle'>&nbsp; ¸ÅÆ®¸¯½º´Â ÃÊº¸¾ö¸¶µéÀ» À§ÇÑ À¯¾Æ ¼ºÀå ´Ü°èº° ÇÊ¿äÇÑ µµ¼­¸¦ ¼±ÅÃÇÏ±â À§ÇÑ ÁöÄ§¼­ ÀÔ´Ï´Ù. </td>";
			content += "</tr>";
			content += "<tr>";
			content += "<td height='22'> <img src='/img/main/bullet02.gif' align='middle'>&nbsp; ¸ÅÆ®¸¯½ºÀÇ µµ¼­µéÀº Å×¸¶ºÏ¿¡¼­ ¼ö³â°£ÀÇ ³ëÇÏ¿ì·Î ÀÛ¼ºÇÑ µ¥ÀÌÅÍÀÔ´Ï´Ù.</td>";
			content += "</tr>";
			return content;
		}
		
		function commaSplit(srcNumber) 
		{
			var txtNumber = '' + srcNumber;
			if (isNaN(txtNumber) || txtNumber == "") 
			{
				//alert("¼ýÀÚ¸¸ ÀÔ·Â ÇÏ¼¼¿ä");
				//fieldName.select();
				//fieldName.focus();
			}
			else 
			{
				var rxSplit = new RegExp('([0-9])([0-9][0-9][0-9][,.])');
				var arrNumber = txtNumber.split('.');
				arrNumber[0] += '.';
				do {
					arrNumber[0] = arrNumber[0].replace(rxSplit, '$1,$2');
				} while (rxSplit.test(arrNumber[0]));
				if (arrNumber.length > 1) 
					document.write(arrNumber.join(''));
				else 
					document.write(arrNumber[0].split('.')[0]);
			}
		}
				
			
		//var bottom = '¿©·¯°¡Áö °øµ¿±¸¸Å°¡ ÁøÇàÁßÀÔ´Ï´Ù. ²À È®ÀÎÇÏ¼¼¿ä~~'; 
		function mkstatus()
		{
			//window.status = bottom;
			//timerID= setTimeout("mkstatus()", 40);
		}
		//mkstatus();
	
		


-->