document.domain = "gundamshop.co.kr"


// ¸ÞÀÎ ÇÃ·¡½Ã
function print_main_swf(f,w,h) {
	document.write('<div id="flashContent">')
	document.write('	<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="'+w+'" height="'+h+'" id="sale_limt" align="middle">')
	document.write('		<param name="movie" value="'+f+'" />')
	document.write('		<param name="quality" value="high" />')
	document.write('		<param name="bgcolor" value="#ffffff" />')
	document.write('		<param name="play" value="true" />')
	document.write('		<param name="loop" value="true" />')
	document.write('		<param name="wmode" value="window" />')
	document.write('		<param name="scale" value="showall" />')
	document.write('		<param name="menu" value="true" />')
	document.write('		<param name="devicefont" value="false" />')
	document.write('		<param name="salign" value="" />')
	document.write('		<param name="allowScriptAccess" value="sameDomain" />')
	document.write('		<!--[if !IE]>-->')
	document.write('		<object type="application/x-shockwave-flash" data="sale_limt.swf" width="968" height="585">')
	document.write('			<param name="movie" value="sale_limt.swf" />')
	document.write('			<param name="quality" value="high" />')
	document.write('			<param name="bgcolor" value="#ffffff" />')
	document.write('			<param name="play" value="true" />')
	document.write('			<param name="loop" value="true" />')
	document.write('			<param name="wmode" value="window" />')
	document.write('			<param name="scale" value="showall" />')
	document.write('			<param name="menu" value="true" />')
	document.write('			<param name="devicefont" value="false" />')
	document.write('			<param name="salign" value="" />')
	document.write('			<param name="allowScriptAccess" value="sameDomain" />')
	document.write('		<!--<![endif]-->')
	document.write('			<a href="http://www.adobe.com/go/getflash">')
	document.write('				<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Adobe Flash Player °¡Á®¿À±â" />')
	document.write('			</a>')
	document.write('		<!--[if !IE]>-->')
	document.write('		</object>')
	document.write('		<!--<![endif]-->')
	document.write('	</object>')
	document.write('</div>')
	}


// ¸ÞÀÎÅ¾ ¿ÞÂÊ
	function print_main_left() {
		temp = main_left.split("|")

		document.write('<table width="185" border="0" cellspacing="0" cellpadding="0">');
		document.write('<tr><td id=td_main_left_1 '+atool+'><a href="'+temp[0]+'" target='+temp[2]+'><img src="'+temp[1]+'" width="185" border="0"></a></td>');
		document.write('<tr><td height="1" bgcolor="eaeaea"></td>');
		document.write('<tr><td id=td_main_left_2 '+atool+'><a href="'+temp[3]+'" target='+temp[5]+'><img src="'+temp[4]+'" width="185" border="0"></a></td>');
		document.write('<tr><td height="1" bgcolor="eaeaea"></td>');
		document.write('<tr><td id=td_main_left_3 '+atool+'><a href="'+temp[6]+'" target='+temp[8]+'><img src="'+temp[7]+'" width="185" border="0"></a></td>');
		document.write('</table>');
		}




// ¸ÞÀÎÅ¾ ¿À¸¥ÂÊ
	todayBest_no = 0
	function print_main_right() {	// ÁßÁö
		temp = md_best1_str.split("^//^")

		str = '<div class="clsBannerScreen">'
		for(i=0; i<5; i++) {
			nodes	  = temp[i].split("^")
			ItemCode  = nodes[1];
			strcode   = nodes[2];
			smallName = nodes[6];

			code_tmp = strcode.split("_");
			imgurl = "/Image2/goods_IMG/sub" + code_tmp[0] + "/200/" + strcode + ".gif";

			view = ""
			if(i==rnum1-1) view = 'style="display:block"'

			//str += '<div '+view+'><table cellpadding=0 cellspacing=0 style="cursor:hand" onclick=location.href="/GD_Front01.html?ItemCode='+ItemCode+'"><td background="'+imgurl+'" width="182" height="182" style="background-position:50% 0; background-repeat:no-repeat" border=0 title="'+smallName+'"></table></div>'
			str += '<div '+view+'><A href="/GD_Front01.html?ItemCode='+ItemCode+'"><img src="'+imgurl+'" width="182" height="182" border=0 title="'+smallName+'"></a></div>'
			}
		str += '</div>'

		td_todayBest.innerHTML = str
		}


	function print_main_right2() {	// ÁßÁö
		temp = main_img4.split("^//^")

		str = '<div class="clsBannerScreen">'
		str2 = '<div class="clsBannerButton">'
		for(i=1; i<=4; i++) {
			nodes = temp[i-1].split("^")
			ItemCode = nodes[1];
			imgurl = "/Image2/goods_IMG/sub" + ItemCode.substr(2,2) + "/200/" + ItemCode.substr(2,2)+"_"+ItemCode.substr(4,4) + ".gif";

			view = ""
			if(i==rnum2) view = 'style="display:block"'

			str += '<div '+view+'><table cellpadding=0 cellspacing=0 onclick=location.href="/GD_Front01.html?ItemCode='+ItemCode+'" width=154 height=190 background='+imgurl+' style="background-repeat:no-repeat; background-position:50% 50%; cursor:hand"><td width=150>&nbsp<td width=4 valign=top style="padding-top:'+(i*46-23)+'"><img src=/pics2/n_main/arrow_roll.gif></table></div>'
			str2 += '<div><table cellpadding=0 cellspacing=0><td id=td_main_right_'+i+' '+atool+'><img onclick="if(web_browser) location.href=\'/GD_Front01.html?ItemCode='+ItemCode+'\'" src=/pics2/n_main/r_txt_0'+i+'_.gif  outsrc=/pics2/n_main/r_txt_0'+i+'_.gif oversrc=/pics2/n_main/r_txt_0'+i+'_up.gif style="cursor:hand"></a></table></div>'
			}
		str += "</div>"
		str2 += "</div>"

		td_img4_left.innerHTML = str
		td_img4_menu.innerHTML = str2
		}



	// ÁøÂ¥»ç¿ë - ÁßÁö
	function print_main_right4() {
		temp = main_right.split("|")

		str = '<div class="clsBannerScreen">'
		str2 = '<div class="clsBannerButton">'
		icnt = 0
		for(i=0; i<8; i+=2) {
			icnt++
			temp2 = temp[i].split("ItemCode=")
			ItemCode = temp2[1];
			imgurl = "/Image2/goods_IMG/sub" + ItemCode.substr(2,2) + "/200/" + ItemCode.substr(2,2)+"_"+ItemCode.substr(4,4) + ".gif";

			view = ""
			if(icnt==rnum2) {
				view = 'style="display:inline"';
				td_img4_left.style.backgroundUrl = imgurl	// ¹Ì¸® ³Ö¾î³õ±â
				}

			over_img = temp[i+1]
			out_img  = temp[i+1].replace("_up.","_.")

			str += '<div '+view+'><table cellpadding=0 cellspacing=0 onclick=location.href="'+temp[i]+'" width=154 height=190 background='+imgurl+' style="background-repeat:no-repeat; background-position:50% 50%; cursor:hand"><td width=150>&nbsp<td width=4 valign=top style="padding-top:'+(icnt*46-23)+'"><img src=/pics2/n_main/arrow_roll.gif></table></div>'
			str2 += '<div><table cellpadding=0 cellspacing=0><td id=td_main_right_'+icnt+' '+atool+'><A href="'+temp[i]+'"><img border=0 onclick="if(web_browser) location.href=\''+temp[i]+'\'" src="'+out_img+'"  outsrc="'+out_img+'" oversrc="'+over_img+'" style="cursor:hand"></a></table></div>'
			}
		str += "</div>"
		str2 += "</div>"

		td_img4_left.innerHTML = str
		td_img4_menu.innerHTML = str2
		}



// ¸ÞÀÎÅ¾ ¿À¸¥ÂÊ2
	function print_best1() {	// ÁßÁö
		temp = best1_str.split("^//^")

		rnum = parseInt(Math.random()*(temp.length-5))+1

		nodes = temp[rnum].split("^")
		ItemCode = nodes[1];
		strcode = nodes[2];
		smallName = nodes[6];

		code_tmp = strcode.split("_");
		imgurl = "/Image2/goods_IMG/sub" + code_tmp[0] + "/200/" + strcode + ".gif";

		document.write('<table width="224" border="0" cellspacing="0" cellpadding="0">');
		document.write('<tr><td background="'+imgurl+'" width="224" height="200" style="border:solid 1px gray" style="background-repeat:no-repeat; background-position: center center" style="cursor:hand"><a href="/GD_Front01.html?ItemCode='+ItemCode+'" title="'+smallName+'"></td>');
		document.write('<tr><td height=190>');

		rnum++
		for(i=rnum; i<=rnum+4; i++) {
			nodes = temp[i].split("^")
			ItemCode = nodes[1];
			strcode = nodes[2];

			code_tmp = strcode.split("_");
			imgurl = "/Image2/goods_IMG/sub" + code_tmp[0] + "/200/" + strcode + ".gif";

			document.write("<table cellpadding=0 cellspacing=0 border=0 style='display:none' id=tb_best1_"+i+">")
			document.write("<td width=155 height=190 background='"+imgurl+"' style='background-position: center center' style='cursor:hand' onclick=location.href='/GD_Front01.html?ItemCode="+ItemCode+"' title='"+smallName+"'></td>")
			document.write("<td width=69 bgcolor=#3C3C3C><center>")

				document.write("<table cellpadding=0 cellspacing=0 height=190 width=60>")

			for(j=rnum; j<=rnum+4; j++) {
				nodes = temp[j].split("^")
				ItemCode = nodes[1];
				panmega = nodes[3];
				smallName = nodes[6];

				if(i==j) document.write("<tr><td><a href='/GD_Front01.html?ItemCode="+ItemCode+"' title='"+smallName+"'><font color=white style='font-family:µ¸¿òÃ¼; font-size:11px'>"+CLen(smallName,8)+"<br><font color=#FA8677>"+number_format(panmega)+"¿ø")
				else     document.write("<tr><td><a href='/GD_Front01.html?ItemCode="+ItemCode+"' title='"+smallName+"'><font color=#8D8D8D style='font-family:µ¸¿òÃ¼; font-size:11px'>"+CLen(smallName,8)+"<br><font color=#C24E3F>"+number_format(panmega)+"¿ø")
				if(j<rnum+4) document.write("<tr><td><center><table cellpadding=0 cellspacing=0 width=58><tr><td height=1 bgcolor=#505050></table>")
				}

				document.write("</table>")

			document.write("</table>")
			}

		document.write('</table>');

		eval("tb_best1_"+rnum).style.display = "inline"
		}



// ¸ÞÀÎÅ¾ MDÃßÃµ ÅÇ2 ·Ñ¸µ
	function print_main_top_tab2() {
		for(tab=1; tab<=2; tab++) {
			numcnt = 0
			tab_start = (tab-1) * 3
			for(j2=tab_start; j2<tab_start+3; j2++) {
				nodes	  = temp[j2].split("^")
				ItemCode  = nodes[1];
				strcode   = nodes[2];
				panmega   = nodes[3];
				name	  = nodes[5];
				smallName = nodes[6];

				code_tmp = strcode.split("_");
				imgurl = "/Image2/goods_IMG/sub" + code_tmp[0] + "/200/" + strcode + ".gif";

				noneORinline = "none"
				if(j2==0) noneORinline = "inline"

				numcnt++

				document.write('<td id=td_main_top_right'+tab+'_'+numcnt+' style="display:'+noneORinline+'">'
				+'<table cellpadding=0 cellspacing=0 width=100%>'
				+'<tr><td width="224" colspan="3" align="center" height="224" valign="middle"><a href="/GD_Front01.html?ItemCode='+ItemCode+'" title="'+name+'"><img src="'+imgurl+'" style="border:solid 1px efefef"></td>'
				+'<tr><td width="224" colspan="3" height="40" align="center" style="line-height:13pt;">'
				+'	<font color="#666666">'+smallName+'</font>'
				+'	<br><font color="#666666"><strike>¼ÒºñÀÚ°¡</strike></font><font color="#666666">¡æ</font>&nbsp;&nbsp;ÆÇ¸Å°¡ <b><font color="#E93A3E">'+number_format(panmega)+'¿ø</font></b></td>'
				+'</table>'
				)
				}
			}
		}

	function interval_main_top_right() {
		if(main_right_sw) change_main_top_right()
		setTimeout("interval_main_top_right()",5000)
		}

	function change_main_top_right(v1,v2) {
		// ÃÊ±âÈ­
		for(i=1; i<=2; i++) for(j=1; j<=3; j++) eval("td_main_top_right"+i+"_"+j).style.display = "none"
		for(i=1; i<=3; i++) eval("img_main_top_right_bar"+i).src = eval("img_main_top_right_bar"+i).src.replace("_over.gif",".gif")
		for(i=1; i<=2; i++) eval("img_main_top_right_tab"+i).src = eval("img_main_top_right_tab"+i).src.replace("_over.gif",".gif")

		if(v1) main_top_right_tab = v1
		if(v2) main_top_right_cnt = v2
		else {
			if(++main_top_right_cnt > 3) {
				main_top_right_cnt = 1
				if(++main_top_right_tab > 2) main_top_right_tab = 1
				}
			}

		eval("td_main_top_right"+main_top_right_tab+"_"+main_top_right_cnt).style.display = "inline"
		eval("img_main_top_right_bar"+main_top_right_cnt).src = eval("img_main_top_right_bar"+main_top_right_cnt).src.replace(".gif","_over.gif")
		eval("img_main_top_right_tab"+main_top_right_tab).src = eval("img_main_top_right_tab"+main_top_right_tab).src.replace(".gif","_over.gif")
		}




// ¸ÞÀÎÅ¾ ¿À¸¥ÂÊ 3°³ ÀÌ¹ÌÁö ¾ÆÀÌÄÜ
	function print_main_top_right3() {
		temp = main_top_right3.split("|")

		document.write('<table cellpadding="0" cellspacing="0" width="224" height="97">');
		document.write('<td id=td_main_top_right3_1 '+atool+' valign="bottom" align="left"  ><a href="'+temp[0]+'"><img src="'+temp[1]+'" border="0" width=65 height=85></a></td>');
		document.write('<td id=td_main_top_right3_2 '+atool+' valign="bottom" align="center"><a href="'+temp[2]+'"><img src="'+temp[3]+'" border="0" width=65 height=85></a></td>');
		document.write('<td id=td_main_top_right3_3 '+atool+' valign="bottom" align="right" ><a href="'+temp[4]+'"><img src="'+temp[5]+'" border="0" width=65 height=85></a></td>');
		document.write('</table>');
		}




//Á¦Á¶»çº° ¹Ù·ÎÀ§ ÀÌº¥Æ®
	function print_ev21() {
		temp = ev21.split("|")

		document.write('<table border="0" cellspacing="0" cellpadding="0">')
		document.write('<tr><td id=td_ev21_1 '+atool+'><a href="'+temp[0]+'"><img src="'+temp[1]+'" width="193" height="193" border="0"></a></td>')
		document.write('</table>')
		}


// ½Ç½Ã°£ ÆÇ¸Å»óÇ° - ÁßÁö
	realtime_sw = 1
	realtime_no = 0
	function realtime() {
		realtime_temp = realtime_str.split("^//^")
		realtime_max = realtime_temp.length - 1

		if(++realtime_no >= realtime_max) realtime_no = 1

		nodes = realtime_temp[realtime_no].split("^")

		ItemCode	= nodes[1];
		strcode		= nodes[2];
		panmega		= nodes[3];
		adultchk	= nodes[4];
		ordertime	= nodes[5];
		strName		= nodes[6];

		code_tmp = strcode.split("_");
		imgurl = "/Image2/goods_IMG/sub" + code_tmp[0] + "/130/" + strcode + ".gif";

		// ¼ºÀÎ»óÇ°ÀÏ °æ¿ì¸¸ ·¹ÀÌ¾î ¾º¿î´Ù
		gloss_img = ''	//<span style="position:relative;"><div style="position:absolute;left:0px; top:0px; z-index:10;"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img id="goodspics_sub2_'+i+'" src="http://pics2.gundamshop.co.kr/etc/tmp/1x1.gif" width=120 height=120 style="FILTER: alpha(opacity=50)" border=0></a></div></span>';
		if(web_browser && adultchk>0 && (GetLogin == "" || getCookie("mage") < 19) ) gloss_img = '<span style="position:relative;"><div style="position:absolute;left:0px; top:0px; z-index:10;"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img id="goodspics_sub2_'+i+'" src="http://pics2.gundamshop.co.kr/etc/tmp/19x_login.gif" width=100 height=100 style="FILTER: alpha(opacity=50)" border=0></a></div></span>';

		ItemList = ''
		ItemList += '<table width="130" height="130" border="0" cellpadding="0" cellspacing="0">'
		ItemList += '<tr><td height="130" bgcolor="f9f9f9"><a href="/GD_Front01.html?ItemCode='+ItemCode+'"><img src="'+imgurl+'" width="130" height="130"></td>'
		ItemList += '<tr><td height="10"></td>'
		ItemList += '<tr><td height=28><font style="font-family:µ¸¿òÃ¼">'+CLen(strName,38)+'</td>'
		ItemList += '<tr><td height="18" class="price">'+number_format(panmega)+'¿ø</td>'
		ItemList += '<tr><td height="18">ÆÇ¸Å½Ã°£ <span class="num_blue">'+ordertime+'</span></td>'
		ItemList += '</table>'

		td_realtime.innerHTML = ItemList
		}

	function interval_realtime() {
		if(realtime_sw) realtime()
		setTimeout("interval_realtime()",5000)
		}



// ½Ç½Ã°£ ÆÇ¸Å»óÇ° - ´º
	function print_realSale() {
		//realtime_temp = realtime_str.split("^//^")	- /index.html ¿¡¼­ ÇØÁá´Ù. length°ªÀ» ¹Ì¸® ¾Ë±â À§ÇØ¼­

		ItemList = '<div class="clsBannerScreen">'
		for(i=1; i<realtime_temp.length-1; i++) {
			nodes = realtime_temp[i].split("^")

			ItemCode	= nodes[1];
			strcode		= nodes[2];
			panmega		= nodes[3];
			adultchk	= nodes[4];
			ordertime	= nodes[5];
			strName		= nodes[6];

			code_tmp = strcode.split("_");
			imgurl = "/Image2/goods_IMG/sub" + code_tmp[0] + "/200/" + strcode + ".gif";

			// ¼ºÀÎ»óÇ°ÀÏ °æ¿ì¸¸ ·¹ÀÌ¾î ¾º¿î´Ù
			gloss_img = ''	//<span style="position:relative;"><div style="position:absolute;left:0px; top:0px; z-index:10;"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img id="goodspics_sub2_'+i+'" src="http://pics2.gundamshop.co.kr/etc/tmp/1x1.gif" width=120 height=120 style="FILTER: alpha(opacity=50)" border=0></a></div></span>';
			if(web_browser && adultchk>0 && (GetLogin == "" || getCookie("mage") < 19) ) gloss_img = '<span style="position:relative;"><div style="position:absolute;left:0px; top:0px; z-index:10;"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img id="goodspics_sub2_'+i+'" src="http://pics2.gundamshop.co.kr/etc/tmp/19x_login.gif" width=100 height=100 style="FILTER: alpha(opacity=50)" border=0></a></div></span>';

			view = ""
			if(i==1) view = 'style="display:block"'

			ItemList += '<div '+view+'>'
			ItemList += '<table width="130" height2="130" border="0" cellpadding="0" cellspacing="0">'
			ItemList += '<tr><td height="10"></td>'
			ItemList += '<tr><td height="130" bgcolor="f9f9f9" title="'+strName+'"><a href="/GD_Front01.html?ItemCode='+ItemCode+'"><img src="'+imgurl+'" width="180" height="180" style="border:solid 1px efefef"></td>'
			ItemList += '<tr><td height="10"></td>'
			ItemList += '<tr><td title="'+strName+'"><center><a href="/GD_Front01.html?ItemCode='+ItemCode+'"><font style="font-family:µ¸¿òÃ¼">'+CLen(strName,28)+'</td>'
			ItemList += '<tr><td class="price"><center>'+number_format(panmega)+'¿ø</td>'
			ItemList += '<tr><td height=5></td>'
			ItemList += '<tr><td><center>ÆÇ¸Å½Ã°£ <span class="num_blue">'+ordertime+'</span></td>'
			ItemList += '</table>'
			ItemList += '</div>'
			}

		ItemList += '</div>'
		td_RealSale.innerHTML = ItemList

		interval_realSale()
		}

	realSale_sw = 1
	function interval_realSale() {
		if(realSale_sw) interval_realSale2()
		setTimeout("interval_realSale()",5000)
		}
	function interval_realSale2() {
		realImg2.src=realImg2.src.replace(".gif","_r.gif")
		realImg2.click()
		setTimeout("interval_realSale3()",1000)
		}
	function interval_realSale3() {
		realImg2.src=realImg2.src.replace("_r.gif",".gif")
		}



// ³ë¸¶Áø ÆÄ¿ù¼¼ÀÏ
	nomargin_sw = 1
	nomargin_max = 3-1	// 10
	nomargin_no = 0-1

	function nomargin(v) {
		if(v) nomargin_no = v - 1
		else if(++nomargin_no > nomargin_max) nomargin_no = 0

		nomargin_temp = nomargin_str.split("^//^")
		nodes = nomargin_temp[nomargin_no].split("^")

		ItemCode = nodes[1];
		strcode = nodes[2];
		sellcost = nodes[3];
		discount = nodes[4];
		strName = nodes[6];
		smallName = nodes[7];

		panmega = parseInt(sellcost) - parseInt(discount);

		code_tmp = strcode.split("_");
		imgurl = "/Image2/goods_IMG/sub" + code_tmp[0] + "/75/" + strcode + ".gif";

		ItemList = ''
		ItemList += '<table width="170" border="0" cellspacing="0" cellpadding="0">'
		ItemList += '<td width="75" height="75" rowspan="4" bgcolor="f9f9f9"><a title="'+strName+'" href="/GD_Front01.html?ItemCode='+ ItemCode +'"><img src="'+ imgurl +'" width="75" height="75"></td>'
		ItemList += '<td width="10" rowspan="4">&nbsp;</td>'
		ItemList += '<td><a href="/GD_Front01.html?ItemCode='+ ItemCode +'" title="'+strName+'">'+CLen(smallName,28)+'</td>'
		ItemList += '<tr><td height="5"></td>'
		ItemList += '<tr><td height="18"><img src="/pics2/n_main/tx_price.gif" width="32" height="12" align="absmiddle"> '+ number_format(sellcost) +' </td>'
		ItemList += '<tr><td height="18" class="ed699a"><img src="/pics2/n_main/tx_sale.gif" width="32" height="12" align="absmiddle"> '+ number_format(panmega) +' </td>'
		ItemList += '</table>'

		td_nomargin.innerHTML = ItemList

		normarginImg_clear()
		}

	function normarginImg_clear() {
		for(i=1; i<=nomargin_max+1; i++) eval("nomarginImg"+i).src = eval("nomarginImg"+i).src.replace("_r.gif",".gif")
		eval("nomarginImg"+(nomargin_no+1)).src = eval("nomarginImg"+(nomargin_no+1)).src.replace(".gif","_r.gif")
		}

	function interval_nomargin() {
		if(nomargin_sw) nomargin()
		setTimeout("interval_nomargin()",3500)
		}





// ´º ½Å»óÇ°
	var new_sw = 1
	function new_goods(new_no) {
		if(!new_no) new_no = 1
		if(new_no > 5) new_no = 1

		// ÅÇ¸Þ´º ¼¿·ºÆ®
		for(i=1; i<=5; i++) {
			if(i==new_no) eval("document.new_tab"+i).src = eval("document.new_tab"+i).src.replace("_.","_o.")
			else eval("document.new_tab"+i).src = eval("document.new_tab"+i).src.replace("_o.","_.")
			}

		temp = eval("new"+new_no+"_str").split("^//^")

		ItemList = ""
		ItemList += '<table height="150" border="0" cellpadding="0" cellspacing="0">';

		for(i=0; i<8; i++) {
			nodes = temp[i].split("^")

			strItemCode	= nodes[1];
			strcode		= nodes[2];
			sellcost	= nodes[3];
			adultchk	= nodes[4];
			strName		= nodes[5];
			if(!strName) strName = nodes[6];

			code_tmp = strcode.split("_");
			imgurl = "/Image2/goods_IMG/sub" + code_tmp[0] + "/100/" + strcode + ".gif";

			// ¼ºÀÎ»óÇ°ÀÏ °æ¿ì¸¸ ·¹ÀÌ¾î ¾º¿î´Ù
			gloss_img = ''	//<span style="position:relative;"><div style="position:absolute;left:0px; top:0px; z-index:10;"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img id="goodspics_sub2_'+i+'" src="http://pics2.gundamshop.co.kr/etc/tmp/1x1.gif" width=120 height=120 style="FILTER: alpha(opacity=50)" border=0></a></div></span>';
			if(web_browser && adultchk>0 && (GetLogin == "" || getCookie("mage") < 19) ) gloss_img = '<span style="position:relative;"><div style="position:absolute;left:0px; top:0px; z-index:10;"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img id="goodspics_sub2_'+i+'" src="http://pics2.gundamshop.co.kr/etc/tmp/19x_login.gif" width=100 height=100 style="FILTER: alpha(opacity=50)" border=0></a></div></span>';

			i2 = i + 1;

			ItemList += '<td width="135" align="center" valign="top">';
			ItemList += '	<table width="100" border="0" cellspacing="0" cellpadding="0">';
			ItemList += '   <tr><td width="100" height="100" align="center" bgcolor="f9f9f9">'+gloss_img+'<a href="/GD_Front01.html?ItemCode='+ strItemCode +'" title="'+strName+'"><img src="'+ imgurl +'" width="100" height="100" style="border:1px #e3e3e3 solid;"></td>';
			ItemList += '   <tr><td height="5"></td>';
			ItemList += '   <tr><td height="35"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'" title="'+strName+'"><font style="font-family:µ¸¿òÃ¼">'+CLen(strName,46)+'</td>';
			ItemList += '   <tr><td height="18" class="price">'+ number_format(sellcost) +'¿ø</td>';
			ItemList += '   </table>';

			if (i2%4 != '0') ItemList += '<td width="1" bgcolor="eaeaea"></td>';
			if (i2%4 == '0') ItemList += '<tr><td colspan="9" height="15"></td></tr><tr>';

			}

		ItemList += '</table>';


		td_new.innerHTML = ItemList
		}

	function interval_new(new_no) {
		if(!new_no) new_no = parseInt(Math.random()*5)+1	// Ã³À½ ½ÇÇà½Ã ·£´ý

		if(web_browser) {
			if(new_sw) {
				new_goods(new_no++)
				if(new_no > 5) new_no = 1
				}
			}
		else new_goods(new_no++)

		setTimeout("interval_new("+new_no+")",5000)
		}






// º£½ºÆ®
	best_sw = 1
	function best(best_no) {
		if(!best_no) best_no = 1
		if(best_no > 5) best_no = 1

		// ÅÇ¸Þ´º ¼¿·ºÆ®
		for(i=1; i<=5; i++) {
			if(i==best_no) eval("document.best_tab"+i).src = eval("document.best_tab"+i).src.replace("_.","_o.")
			else eval("document.best_tab"+i).src = eval("document.best_tab"+i).src.replace("_o.","_.")
			}

		temp = eval("bestitem"+best_no+"_str").split("|")

		ItemList = ""
		ItemList += '<table width="940" border="0" cellspacing="0" cellpadding="0">';
		ItemList += '<tr><td width="420">';

		ItemList += '		<table height="300" border="0" cellpadding="0" cellspacing="0">';
		ItemList += '		<td id=td_bestitem'+best_no+'_1 '+atool+' best_sw=0" width="195" rowspan="3" align="center" bgcolor="f9f9f9"><a href="'+temp[0]+'"><img src="'+temp[1]+'"></td>';
		ItemList += '		<td width="7" rowspan="3">&nbsp;</td>';
		ItemList += '		<td id=td_bestitem'+best_no+'_2 '+atool+' best_sw=0" width="205" bgcolor="f9f9f9"><a href="'+temp[2]+'"><img src="'+temp[3]+'"></td>';

		ItemList += '		<tr><td height="7"></td>';
		ItemList += '		<tr><td id=td_bestitem'+best_no+'_3 '+atool+' best_sw=0" bgcolor="f9f9f9"><a href="'+temp[4]+'"><img src="'+temp[5]+'"></td>';
		ItemList += '		</table>';

		ItemList += '<td width="1" bgcolor="e9e9e9"></td>';
		ItemList += '<td align="right" valign="top" style="padding-left:10">';
		ItemList += '		<table border="0" cellspacing="0" cellpadding="0">';
		ItemList += '		<tr>';


		temp = (eval("best"+best_no+"_1_str")+eval("best"+best_no+"_2_str")).split("^//^")

		for(i=0; i<8; i++) {
			nodes = temp[i].split("^")

			strItemCode	= nodes[1];
			strcode		= nodes[2];
			sellcost	= nodes[3];
			adultchk	= nodes[4];
			strName		= nodes[5];
			if(!strName) strName = nodes[6];

			code_tmp = strcode.split("_");
			imgurl = "/Image2/goods_IMG/sub" + code_tmp[0] + "/100/" + strcode + ".gif";

			// ¼ºÀÎ»óÇ°ÀÏ °æ¿ì¸¸ ·¹ÀÌ¾î ¾º¿î´Ù
			gloss_img = ''	//<span style="position:relative;"><div style="position:absolute;left:0px; top:0px; z-index:10;"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img id="goodspics_sub2_'+i+'" src="http://pics2.gundamshop.co.kr/etc/tmp/1x1.gif" width=120 height=120 style="FILTER: alpha(opacity=50)" border=0></a></div></span>';
			if(web_browser && adultchk>0 && (GetLogin == "" || getCookie("mage") < 19) ) gloss_img = '<span style="position:relative;"><div style="position:absolute;left:0px; top:0px; z-index:10;"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img id="goodspics_sub2_'+i+'" src="http://pics2.gundamshop.co.kr/etc/tmp/19x_login.gif" width=100 height=100 style="FILTER: alpha(opacity=50)" border=0></a></div></span>';

			i2 = i + 1 //- 3
			style_padding = ' style="padding:10 0 10 0;" '

			ItemList += '<td width="130" align="center" '+style_padding+'>';
			ItemList += '	<table width="100" border="0" cellspacing="0" cellpadding="0">';
			ItemList += '	<tr><td width="100" align="center" bgcolor="f9f9f9">'+gloss_img+'<a href="/GD_Front01.html?ItemCode='+ strItemCode +'" title="'+strName+'"><img src="'+ imgurl +'" width="100" height="100"></td>';
			ItemList += '	<tr><td height="5"></td>';
			ItemList += '	<tr><td><a href="/GD_Front01.html?ItemCode='+ strItemCode +'" title="'+strName+'"><font style="font-family:µ¸¿òÃ¼">'+CLen(strName,28)+'<br>';
			ItemList += '		<span class="price_green">'+ number_format(sellcost) +'¿ø</span></td>';
			ItemList += '	</table>';


			if (i2%4 != '0') ItemList += '<td width="1" bgcolor="e9e9e9"></td>';

			if (i2%4 == '0' && i2 <7) ItemList += '<tr><td height="1" colspan="7" bgcolor="e9e9e9"></td></tr><tr>';
			}


		ItemList += '      </table>';
		ItemList += '</table>';


		td_best_goods.innerHTML = ItemList
		}


	function interval_best(best_no) {
		if(!best_no) best_no = parseInt(Math.random()*5)+1	// Ã³À½ ½ÇÇà½Ã ·£´ý

		if(web_browser) {
			if(best_sw) {
				best(best_no++)
				if(best_no > 5) best_no = 1
				}
			}
		else best(best_no++)

		setTimeout("interval_best("+best_no+")",5000)
		}



// ÇÖÀÌ½´
	function hotissue() {

		document.write('<table width="525" border="1" cellpadding="0" cellspacing="0" bordercolor="#e9e9e9" style="border-collapse:collapse ">');
		document.write('<tr><td height="25" colspan="3"><a href="http://www.gundamshop.co.kr/theme/Reserve.html"><img src="'+Pics2Domain+'/n_main/title_hotissue.gif" width="523" height="25"></td>');
		document.write('<tr align="center" valign="middle">');


		nodes = reserve_best.split("^//^")

		for(i=0; i<6; i++) {
			node = nodes[i].split("^")

			strItemCode	= node[1];
			strcode		= node[2];
			panmega		= node[3];
			adultchk	= node[4];
			strName		= node[5];
			smallName	= node[6];

			code_tmp = strcode.split("_");
			imgurl = "/Image2/goods_IMG/sub" + code_tmp[0] + "/130/" + strcode + ".gif";

			// ¼ºÀÎ»óÇ°ÀÏ °æ¿ì¸¸ ·¹ÀÌ¾î ¾º¿î´Ù
			gloss_img = ''	//<span style="position:relative;"><div style="position:absolute;left:0px; top:0px; z-index:10;"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img id="goodspics_sub2_'+i+'" src="http://pics2.gundamshop.co.kr/etc/tmp/1x1.gif" width=120 height=120 style="FILTER: alpha(opacity=50)" border=0></a></div></span>';
			if(web_browser && adultchk>0 && (GetLogin == "" || getCookie("mage") < 19) ) gloss_img = '<span style="position:relative;"><div style="position:absolute;left:0px; top:0px; z-index:10;"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img id="goodspics_sub2_'+i+'" src="http://pics2.gundamshop.co.kr/etc/tmp/19x_login.gif" width=130 height=130 style="FILTER: alpha(opacity=50)" border=0></a></div></span>';

			document.write('<td height="180">');
			document.write('    <table width="130" border="0" cellspacing="0" cellpadding="0" title="'+strName+'">');
			document.write('    <tr><td width="130" height="130" align="center" bgcolor="f9f9f9"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img src="'+ imgurl +'" width="130" height="130"></td>');
			document.write('    <tr><td height="20" align="center">'+ CLen(smallName,16) +'</td>');
			document.write('    <tr><td height="20" align="center"><span class="price_green">'+ number_format(panmega) +'¿ø</td>');
			document.write('    </table>');

			if(i==2) document.write('<tr align="center" valign="middle">');
			}


		document.write('</table>');

		}




// ½ºÆä¼È¼¥
	function print_specialShop() {
		temp = specialShop.split("|")

		document.write('<table width="100%" border="0" cellspacing="0" cellpadding="3" style=\'text-align:center\'>');
		document.write('<tr><td id=td_specialShop_1 '+atool+'><a href="'+temp[0]+'"><img src="'+temp[1]+'" border="0"></a></td>');
		document.write('<tr><td id=td_specialShop_2 '+atool+'><a href="'+temp[2]+'"><img src="'+temp[3]+'" border="0"></a></td>');
		document.write('<tr><td id=td_specialShop_3 '+atool+'><a href="'+temp[4]+'"><img src="'+temp[5]+'" border="0"></a></td>');
		document.write('<tr><td id=td_specialShop_4 '+atool+'><a href="'+temp[6]+'"><img src="'+temp[7]+'" border="0"></a></td>');
		document.write('</table>');
		}


// º£½ºÆ®¸®ºä
	function print_bestReview() {
		nodes = bestReview.split("^//^")

		node = nodes[0].split("^")
			ItemCode = node[1];
			strcode	= node[2];
			code_tmp = strcode.split("_");
			imgurl = "/Image2/goods_IMG/sub" + code_tmp[0] + "/200/" + strcode + ".gif";
			smallname = node[3];
			wsubject = node[4];

			wsubject = wsubject.replace("-->","->")

			document.write('<table width=164 border="0" cellspacing="0" cellpadding="0" >');
			document.write('<tr><td colspan=9 height=130 background="'+imgurl+'" valign=top aling=left style="cursor:hand" title="'+smallname+'" onclick=location.href="/GD_Front01.html?ItemCode='+ItemCode+'" style="background-repeat:no-repeat; position:50% 50%; border:solid 1px efefef"><img src=/pics2/n_main/bestReview_icon_1.gif></td>');
			document.write('<tr><td colspan=9 style="padding-top:3px"><font color=black style="font-size:14px; line-height:20px; letter-spacing:-2px" title="'+smallname+'"><b>'+CLen(smallname,20)+'</b>')
			document.write('<br><font color=#666666 style="font-size:11px; line-height:16px; letter-spacing:-1px" title="'+wsubject+'">'+CLen(wsubject,64))

		for(ti=1; ti<=2; ti++) {
		node = nodes[ti].split("^")
			ItemCode = node[1];
			strcode	= node[2];
			code_tmp = strcode.split("_");
			imgurl = "/Image2/goods_IMG/sub" + code_tmp[0] + "/75/" + strcode + ".gif";
			smallname = node[3];
			wsubject = node[4];

			wsubject = wsubject.replace("-->","->")

			document.write('<tr><td height=6></td>');
			document.write('<tr><td height=1 colspan=9 bgcolor=#EAEAEA></td>');
			document.write('<tr><td height=7></td>');

			document.write('<tr><td valign=top aling=center><img src=/pics2/n_main/bestReview_icon_'+(ti+1)+'.gif vspace=10 hspace=3></td>');
			document.write('<td valign=top><A href="/GD_Front01.html?ItemCode='+ItemCode+'" title="'+smallname+'"><img width=60 height=60 src="'+imgurl+'" style="border:solid 1px efefef"</a></td>');
			document.write('<td width=150 style="padding-left:0px"><font color=black style="font-size:14px; line-height:16px; letter-spacing:-2px" title="'+smallname+'"><b>'+CLen(smallname,20)+'</b>')
			document.write('<br><table><td></table><font color=#666666 style="font-size:11px; line-height:16px; letter-spacing:-1px" title="'+wsubject+'">'+CLen(wsubject,14))
			}


		document.write('</table>');
		}



// º£½ºÆ®¸®ºä - ¿¾³¯°Å - »ç¿ë¾ÈÇÔ
	function best_review() {
		nodes = goodsval_str.split("^//^")
		node = nodes[0].split("^")

		var ItemCode	= node[1];
		var strcode	= node[2];
		var code_tmp	= strcode.split("_");
		var imgurl	= "/Image2/goods_IMG/sub" + code_tmp[0] + "/130/" + strcode + ".gif";

		document.write('<table width="278" border="0" cellspacing="0" cellpadding="0">');
		document.write('      <td width="130" height="130" align="center" bgcolor="f9f9f9"><a href="/GD_Front01.html?ItemCode='+ ItemCode +'"><img src="'+ imgurl +'" width="130" height="130" style="border:solid 1px efefef"></td>');
		document.write('      <td width="10">&nbsp;</td>');
		document.write('      <td align="right" valign="top">');

		for(i=0; i<nodes.length-1; i++) {
			node = nodes[i].split("^")

			wsubject = node[3];

			document.write('        <table width="134" border="0" cellspacing="0" cellpadding="0">');
			document.write('        <tr><td height="24"><img src="/pics2/n_main/ic_dot.gif" width="3" height="1" align="absmiddle"> <a href="'+HttpDomain+'/theme/No1_Review50.html">'+CLen(wsubject,20)+' </td>');
			document.write('        <tr><td height="1" bgcolor="e9e9e9"></td>');
			document.write('        </table>');

			}

		document.write('          <taBle width="10" height="10" border="0" cellpadding="0" cellspacing="0"><td></table>');

		document.write('          <table width="134" height="20" border="0" cellpadding="0" cellspacing="0">');
		document.write('              <td width="68"><img src="/pics2/n_main/ic_comment.gif" width="66" height="13"></td>');
		document.write('              <td class="num_blue">'+goodsval_tot+'</td>');
		document.write('              <td align="right"><a href="'+HttpDomain+'/theme/No1_Review50.html"><img src="/pics2/n_main/ic_more1.gif" width="36" height="13"></td>');
		document.write('	  </table>');

		document.write('</table>');
		}

// º£½ºÆ®¸®ºä ¾Æ·¡ ÀÌº¥Æ® - »ç¿ë¾ÈÇÔ
	function print_ev5() {
		temp = ev5.split("|")

		document.write('<table cellpadding=0 cellspacing=0><td id=td_ev5_1 '+atool+'><a href="'+temp[0]+'"><img src="'+temp[1]+'" width="428" height="188" border="0"></a></table>')
		}



// Áß°£ ÀÌº¥Æ®
	function print_event_center() {
		temp = event_center.split("|")

		document.write('<table width="970" border="0" cellspacing="0" cellpadding="0">');
		document.write('<tr><td width="736">');
		document.write('    <table width="736" height="173" border="0" cellpadding="0" cellspacing="0">');
		document.write('    <tr><td height="4" colspan="7" bgcolor="e9e9e9"></td>');
		document.write('    <tr><td width="4" bgcolor="e9e9e9">&nbsp;</td>');
		document.write('        <td id=td_event_center_1 '+atool+'><a href="'+temp[0]+'"><img src="'+temp[1]+'" width="242" height="165" border="0"></a></td><td width="1" bgcolor="e9e9e9"></td>');
		document.write('        <td id=td_event_center_2 '+atool+'><a href="'+temp[2]+'"><img src="'+temp[3]+'" width="242" height="165" border="0"></a></td><td width="1" bgcolor="e9e9e9"></td>');
		document.write('        <td id=td_event_center_3 '+atool+'><a href="'+temp[4]+'"><img src="'+temp[5]+'" width="242" height="165" border="0"></a></td><td width="4" bgcolor="e9e9e9">&nbsp;</td>');
		document.write('    <tr><td height="4" colspan="7" bgcolor="e9e9e9"></td>');
		document.write('    </table></td>');
		document.write('    <td width="10">&nbsp;</td>');
		document.write('    <td width="224">');
		document.write('    <table width="224" height="173" border="0" cellpadding="0" cellspacing="0">');
		document.write('    <tr><td height="4" colspan="3" bgcolor="e9e9e9"></td>');
		document.write('    <tr><td width="4" bgcolor="e9e9e9">&nbsp;</td>');
		document.write('        <td id=td_event_center_4 '+atool+'><a href="'+temp[6]+'"><img src="'+temp[7]+'" width="216" height="165" border="0"></a></td><td width="4" bgcolor="e9e9e9">&nbsp;</td>');
		document.write('    <tr><td height="4" colspan="3" bgcolor="e9e9e9"></td>');
		document.write('    </table></td>');
		document.write('</table>');
		}




// ÇÏ´Ü ½ºÅä¾î ÀÌº¥Æ®
	function print_event_store() {
		temp = event_store.split("|")


		document.write('<table width="205" border="0" cellspacing="0" cellpadding="0">');
		document.write('<tr><td><img src="'+Pics2Domain+'/n_main/title_store.gif" width="205" height="55"></td>');

		document.write('<tr><td id=td_event_store_1 '+atool+' height="78" align="center" bgcolor="f9f9f9"><a href="'+temp[0]+'"><img src="'+temp[1]+'" width="205" height="78" border=0></td><tr><td>&nbsp;</td>');
		document.write('<tr><td id=td_event_store_2 '+atool+' height="78" align="center" bgcolor="f9f9f9"><a href="'+temp[2]+'"><img src="'+temp[3]+'" width="205" height="78" border=0></td><tr><td>&nbsp;</td>');
		document.write('<tr><td id=td_event_store_3 '+atool+' height="78" align="center" bgcolor="f9f9f9"><a href="'+temp[4]+'"><img src="'+temp[5]+'" width="205" height="78" border=0></td><tr><td>&nbsp;</td>');
		document.write('<tr><td id=td_event_store_4 '+atool+' height="78" align="center" bgcolor="f9f9f9"><a href="'+temp[6]+'"><img src="'+temp[7]+'" width="205" height="78" border=0></td>');

		document.write('</table>');
		}




// ¿¥µð ÃßÃµ
	md_sw = 1
	function md_best(md_no) {
		if(!md_no) md_no = 1
		if(md_no > 5) md_no = 1

		// ÅÇ¸Þ´º ¼¿·ºÆ®
		for(i=1; i<=5; i++) {
			if(i==md_no) eval("document.md_tab"+i).src = eval("document.md_tab"+i).src.replace("_.","_o.")	//eval("document.md_tab"+i).selectImg
			else eval("document.md_tab"+i).src = eval("document.md_tab"+i).src.replace("_o.","_.")
			}

		temp = eval("md_best"+md_no+"_str").split("^//^")

		ItemList = '<table border=0 cellspacing=0 cellpadding=0>'
		for(i=0; i<8; i++) {
			nodes = temp[i].split("^")

			strItemCode	= nodes[1];
			strcode		= nodes[2];
			sellcost	= nodes[3];
			adultchk	= nodes[4];
			strName		= nodes[5];
			strSmall	= nodes[6];
			if(!strSmall) strSmall = strName;

			// ¼ºÀÎ»óÇ°ÀÏ °æ¿ì¸¸ ·¹ÀÌ¾î ¾º¿î´Ù
			gloss_img = ''	//<span style="position:relative;"><div style="position:absolute;left:0px; top:0px; z-index:10;"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img id="goodspics_sub2_'+i+'" src="http://pics2.gundamshop.co.kr/etc/tmp/1x1.gif" width=120 height=120 style="FILTER: alpha(opacity=50)" border=0></a></div></span>';
			if(web_browser && adultchk>0 && (GetLogin == "" || getCookie("mage") < 19) ) gloss_img = '<span style="position:relative;"><div style="position:absolute;left:0px; top:0px; z-index:10;"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img id="goodspics_sub2_'+i+'" src="http://pics2.gundamshop.co.kr/etc/tmp/19x_login.gif" width=120 height=120 style="FILTER: alpha(opacity=50)" border=0></a></div></span>';

			code_tmp = strcode.split("_");
			imgurl = "/Image2/goods_IMG/sub" + code_tmp[0] + "/130/" + strcode + ".gif"
			if(i < 4) style_padding = ' style="padding:0 20 0 20;" '

			ItemList += '<td width="138" align="center" '+style_padding+'>'
			ItemList += '	<table width="130" border="0" cellspacing="0" cellpadding="0">'
			ItemList += '   <tr><td align="center" bgcolor="f9f9f9">'+ gloss_img +'<A href="/GD_Front01.html?ItemCode='+ strItemCode +'" title="'+strName+'"><img src="'+ imgurl +'" width="130" height="130"></td>'
			ItemList += '   <tr><td height="5"></td>'
			ItemList += '   <tr><td height="25"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'" title="'+strName+'"><font style="font-family:µ¸¿òÃ¼">'+ CLen(strSmall,40) +'</td>'
			ItemList += '   <tr><td height="18" class="price">'+ number_format(sellcost) +'¿ø</td>'
			ItemList += '   </table>'

			if (i < temp.length-1) ItemList += '<td width="1" bgcolor="e9e9e9"></td>'
			if ((i+1)%4 == 0 && i<temp.length-2) ItemList += '<tr><td><td height=15 width="1" bgcolor="e9e9e9"><td><td width="1" bgcolor="e9e9e9"><td><td width="1" bgcolor="e9e9e9"><td><td width="1" bgcolor="e9e9e9"><tr>'
			}
		ItemList += '<tr><Td height=10>'
		ItemList += '</table>'

		td_md_goods.innerHTML = ItemList
		}

	function interval_md_best(md_no) {
		if(!md_no) md_no = parseInt(Math.random()*5)+1	// Ã³À½ ½ÇÇà½Ã ·£´ý

		if(web_browser) {
			if(md_sw) {
				md_best(md_no++)
				if(md_no > 5) md_no = 1
				}
			}
		else
			md_best(md_no++)

		setTimeout("interval_md_best("+md_no+")",5500)
		}


// ÇÏ´Ü °øÁö & ÀÔ±ÝÀÚ¸¦Ã£¾Æ¿ä
function print_gongji_inbank(v) {
	temp = eval(v).split("^//^")

	ItemList = '';
	ItemList += '<table width="260" border="0" cellspacing="0" cellpadding="0">';

	if(v == 'notice_bottom') {	// °øÁö»çÇ×
		CS_IMG1.src="/pics2/n_main/tab_cs1o.gif"
		CS_IMG2.src="/pics2/n_main/tab_cs2.gif"

		for(i=0; i<temp.length-1; i++) {
			node = temp[i].split("^")

			ItemList += '<tr><td height="24"><img src="/pics2/n_main/ic_dot.gif" width="3" height="1" align="absmiddle"> '+ node[2] +''+node[3]+'</td>';
			ItemList += '<tr><td height="1" bgcolor="e9e9e9"></td>';
			if(i>=4) i=99
			}
		}

	else {  // ÀÔ±ÝÀÚ¸¦ Ã£¾Æ¿ä
		CS_IMG1.src="/pics2/n_main/tab_cs1.gif"
		CS_IMG2.src="/pics2/n_main/tab_cs2o.gif"

		for(i=0; i<temp.length-1; i++) {
			node = temp[i].split("^")

			temp2 = (node[2]+"(").split("(")
			bank_name = temp2[0]

			temp2 = (node[3]+"-").split("-")
			user_name = temp2[0]

			ItemList += '<tr><td height="24"><table border=0><td width="80"><img src="/pics2/n_main/ic_dot.gif" width="3" height="1" align="absmiddle"> '+CLen(bank_name,10)+'</td><td width="80" title="'+user_name+'"> '+CLen(user_name,10)+'</td><td>'+node[1].substr(0,4)+'-'+node[1].substr(4,2)+'-'+node[1].substr(6,2)+'</td></table></td>';
			ItemList += '<tr><td height="1" bgcolor="e9e9e9"></td>';
			if(i>=4) i=99
			}
		}



	ItemList += '</table>';
	csXList.innerHTML = ItemList
	}



///////////// Ä«Å×°í¸® ºÎºÐ GD_Category01.html ///////////////////

// ¿¥µð º£½ºÆ® - ·Ñ
function md_show_roll() {
	temp = eval("md_best"+cate1+"_str").split("^//^")

	// Å«ÀÌ¹ÌÁö 1°³
	if(1) {
		nodes = temp[0].split("^")

		strItemCode	= nodes[1];
		strcode		= nodes[2];
		sellcost	= nodes[3];
		adultchk	= nodes[4];
		strName		= nodes[5];
		strSmall	= nodes[6];
		if(!strSmall) strSmall = strName;

		code_tmp = strcode.split("_");
		imgurl = Img2Domain + "/goods_IMG/sub" + code_tmp[0] + "/160/" + strcode + ".gif";

		// ¼ºÀÎ»óÇ°ÀÏ °æ¿ì¸¸ ·¹ÀÌ¾î ¾º¿î´Ù
		gloss_img = ''	//<span style="position:relative;"><div style="position:absolute;left:0px; top:0px; z-index:10;"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img id="goodspics_sub2_'+i+'" src="http://pics2.gundamshop.co.kr/etc/tmp/1x1.gif" width=120 height=120 style="FILTER: alpha(opacity=50)" border=0></a></div></span>';
		if(web_browser && adultchk>0 && (GetLogin == "" || getCookie("mage") < 19) ) gloss_img = '<span style="position:relative;"><div style="position:absolute;left:0px; top:0px; z-index:10;"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img id="goodspics_sub2_'+i+'" src="http://pics2.gundamshop.co.kr/etc/tmp/19x_login.gif" width=120 height=120 style="FILTER: alpha(opacity=50)" border=0></a></div></span>';

		document.write('<table width="770" border="0" cellspacing="0" cellpadding="0">');
		document.write('<tr><td height="5" colspan="5" bgcolor="e9e9e9"></td>');
		document.write('<tr><td width="5" bgcolor="e9e9e9">&nbsp;</td>');

		document.write('<td width="200" align="center" style="padding:20 0 20 0 ">');
		document.write('	<table width="160" border="0" cellspacing="0" cellpadding="0">');
		document.write('	<tr><td><img src="/pics2/n_sub/tx_mdpick.gif" width="134" height="138"></td>');
		document.write('	<tr><td width="160" height="160" align="center" bgcolor="f9f9f9">'+gloss_img+'<a href="/GD_Front01.html?ItemCode='+strItemCode+'" title="'+strName+'"><img src="'+imgurl+'" width=160 height=160 style="border:1px #e3e3e3 solid;"></td>');
		document.write('	</table>');

		document.write('<td width="1" bgcolor="edecec"></td>');
		document.write('<td align="center" valign="top" style="padding:30 0 10 0 " id=td_mdbest_roll>');

		document.write('<td width="5" bgcolor="e9e9e9">&nbsp;</td>');
		document.write('<tr><td height="5" colspan="5" bgcolor="e9e9e9"></td>');
		document.write('</table>');
		}


	// ÀÛÀºÀÌ¹ÌÁö 8°³

	hstr = '<div class="clsBannerScreen">'

	for(v=1; v<=3; v++) {
		if(v==1) hstr += '<div style="display:block">';
		else hstr += '<div>'

		hstr += '<table width="570" height=340 border="0" cellspacing="0" cellpadding="0">'
		hstr += '<tr align="center">'

		istart = (v-1) * 8 + 1
		iend = istart + 8

		for(i=istart; i<iend; i++) {
			nodes = temp[i].split("^")

			strItemCode	= nodes[1];
			strcode		= nodes[2];
			sellcost	= nodes[3];
			adultchk	= nodes[4];
			strName		= nodes[5];
			strSmall	= nodes[6];
			if(!strSmall) strSmall = strName;

			code_tmp = strcode.split("_");
			imgurl = Img2Domain + "/goods_IMG/sub" + code_tmp[0] + "/100/" + strcode + ".gif";

			// ¼ºÀÎ»óÇ°ÀÏ °æ¿ì¸¸ ·¹ÀÌ¾î ¾º¿î´Ù
			//gloss_img = ''	//<span style="position:relative;"><div style="position:absolute;left:0px; top:0px; z-index:10;"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img id="goodspics_sub2_'+i+'" src="http://pics2.gundamshop.co.kr/etc/tmp/1x1.gif" width=120 height=120 style="FILTER: alpha(opacity=50)" border=0></a></div></span>';
			//if(web_browser && adultchk>0 && (GetLogin == "" || getCookie("mage") < 19) ) gloss_img = '<span style="position:relative;"><div style="position:absolute;left:0px; top:0px; z-index:12;"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img id="goodspics_sub2_'+i+'" src="http://pics2.gundamshop.co.kr/etc/tmp/19x_login.gif" width=100 height=100 style="FILTER: alpha(opacity=50)" border=0></a></div></span>';

			// ÀÌ¹ÌÁö·Ñ¸µ ·¹ÀÌ¾î¿Í 19±Ý ·¹ÀÌ¾î°¡ Ãæµ¹ÇØ¼­... 19±ÝÀ» ·¹ÀÌ¾î ¾È¾²°í Table-Background ·Î ´ëÄ¡ÇÔ
			if(web_browser && adultchk>0 && (GetLogin == "" || getCookie("mage") < 19) ) gloss_img = '<table cellpadding=0 cellspacing=0 width=100 height=100 background="'+imgurl+'"><td><a href="/GD_Front01.html?ItemCode='+strItemCode+'"><img id="goodspics_sub2_'+i+'" src="http://pics2.gundamshop.co.kr/etc/tmp/19x_login.gif" width=100 height=100 style="FILTER: alpha(opacity=50)" border=0></a></table>'
			else gloss_img = '<a href="/GD_Front01.html?ItemCode='+strItemCode+'"><img title="'+strName+'" src="'+imgurl+'" width=100 height=100 style="border:1px #e3e3e3 solid;">'

			hstr += '<td valign=top>'
			hstr += '	<table width="100" border="0" cellspacing="0" cellpadding="0">'
			hstr += '	<tr><td height="100" align="center" bgcolor="f9f9f9">'+gloss_img+'</td>'
			hstr += '	<tr><td height="10"></td>'
			hstr += '	<tr><td class="999999"><a href="/GD_Front01.html?ItemCode='+strItemCode+'" class="999999">'+CLen(strSmall,40)+'</td>'
			hstr += '	</table>'

			if(i == istart+3) {
				hstr +='<tr align="center"><td height="10" colspan="4">&nbsp;</td>'
				hstr +='<tr align="center">'
				}
			}
		hstr += '</table>'
		hstr += '</div>'
		}

	hstr += '</div>'
	td_mdbest_roll.innerHTML = hstr
	}




// ¿¥µð º£½ºÆ®
function md_show(v) {
	temp = eval("md_best"+cate1+"_str").split("^//^")

	// Å«ÀÌ¹ÌÁö 1°³
	if(!v) {
		nodes = temp[0].split("^")

		strItemCode	= nodes[1];
		strcode		= nodes[2];
		sellcost	= nodes[3];
		adultchk	= nodes[4];
		strName		= nodes[5];
		strSmall	= nodes[6];
		if(!strSmall) strSmall = strName;

		code_tmp = strcode.split("_");
		imgurl = Img2Domain + "/goods_IMG/sub" + code_tmp[0] + "/160/" + strcode + ".gif";

		// ¼ºÀÎ»óÇ°ÀÏ °æ¿ì¸¸ ·¹ÀÌ¾î ¾º¿î´Ù
		gloss_img = ''	//<span style="position:relative;"><div style="position:absolute;left:0px; top:0px; z-index:10;"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img id="goodspics_sub2_'+i+'" src="http://pics2.gundamshop.co.kr/etc/tmp/1x1.gif" width=120 height=120 style="FILTER: alpha(opacity=50)" border=0></a></div></span>';
		if(web_browser && adultchk>0 && (GetLogin == "" || getCookie("mage") < 19) ) gloss_img = '<span style="position:relative;"><div style="position:absolute;left:0px; top:0px; z-index:10;"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img id="goodspics_sub2_'+i+'" src="http://pics2.gundamshop.co.kr/etc/tmp/19x_login.gif" width=120 height=120 style="FILTER: alpha(opacity=50)" border=0></a></div></span>';

		document.write('<table width="770" border="0" cellspacing="0" cellpadding="0">');
		document.write('<tr><td height="5" colspan="5" bgcolor="e9e9e9"></td>');
		document.write('<tr><td width="5" bgcolor="e9e9e9">&nbsp;</td>');

		document.write('<td width="200" align="center" style="padding:20 0 20 0 ">');
		document.write('	<table width="160" border="0" cellspacing="0" cellpadding="0">');
		document.write('	<tr><td><img src="/pics2/n_sub/tx_mdpick.gif" width="134" height="138"></td>');
		document.write('	<tr><td width="160" height="160" align="center" bgcolor="f9f9f9">'+gloss_img+'<a href="/GD_Front01.html?ItemCode='+strItemCode+'" title="'+strName+'"><img src="'+imgurl+'" width=160 height=160 style="border:1px #e3e3e3 solid;"></td>');
		document.write('	</table>');

		document.write('<td width="1" bgcolor="edecec"></td>');
		document.write('<td align="center" valign="top" style="padding:20 0 20 0 " id=td_mdbest>');

		document.write('<td width="5" bgcolor="e9e9e9">&nbsp;</td>');
		document.write('<tr><td height="5" colspan="5" bgcolor="e9e9e9"></td>');
		document.write('</table>');

		v = 1;
		}


	// ÅÇ¸Þ´º ¼¿·ºÆ®
	for(i=1; i<=3; i++) {
		if(i==v) eval("document.md_tab"+i).src = eval("document.md_tab"+i).src.replace("_g.","_b.")
		else eval("document.md_tab"+i).src = eval("document.md_tab"+i).src.replace("_b.","_g.")
		}


	// ÀÛÀºÀÌ¹ÌÁö 8°³

	hstr = ''
	hstr += '<table width="490" border="0" cellspacing="0" cellpadding="0">'
	hstr += '<tr align="center">'

	istart = (v-1) * 8 + 1
	iend = istart + 8

	for(i=istart; i<iend; i++) {
		nodes = temp[i].split("^")

		strItemCode	= nodes[1];
		strcode		= nodes[2];
		sellcost	= nodes[3];
		adultchk	= nodes[4];
		strName		= nodes[5];
		strSmall	= nodes[6];
		if(!strSmall) strSmall = strName;

		code_tmp = strcode.split("_");
		imgurl = Img2Domain + "/goods_IMG/sub" + code_tmp[0] + "/100/" + strcode + ".gif";

		// ¼ºÀÎ»óÇ°ÀÏ °æ¿ì¸¸ ·¹ÀÌ¾î ¾º¿î´Ù
		gloss_img = ''	//<span style="position:relative;"><div style="position:absolute;left:0px; top:0px; z-index:10;"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img id="goodspics_sub2_'+i+'" src="http://pics2.gundamshop.co.kr/etc/tmp/1x1.gif" width=120 height=120 style="FILTER: alpha(opacity=50)" border=0></a></div></span>';
		if(web_browser && adultchk>0 && (GetLogin == "" || getCookie("mage") < 19) ) gloss_img = '<span style="position:relative;"><div style="position:absolute;left:0px; top:0px; z-index:10;"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img id="goodspics_sub2_'+i+'" src="http://pics2.gundamshop.co.kr/etc/tmp/19x_login.gif" width=120 height=120 style="FILTER: alpha(opacity=50)" border=0></a></div></span>';

		hstr += '<td valign=top>'
		hstr += '	<table width="100" border="0" cellspacing="0" cellpadding="0">'
		hstr += '	<tr><td height="100" align="center" bgcolor="f9f9f9">'+gloss_img+'<a href="/GD_Front01.html?ItemCode='+strItemCode+'"><img title="'+strName+'" src="'+imgurl+'" width=100 height=100 style="border:1px #e3e3e3 solid;"></td>'
		hstr += '	<tr><td height="10"></td>'
		hstr += '	<tr><td class="999999"><a href="/GD_Front01.html?ItemCode='+strItemCode+'" class="999999">'+strSmall+'</td>'
		hstr += '	</table>'

		if(i % 4 == 0) {
			hstr +='<tr align="center"><td height="35" colspan="4">&nbsp;</td>'
			hstr +='<tr align="center">'
			}
		}
	hstr += '</table>'

	td_mdbest.innerHTML = hstr
	}




// ½Å»óÇ° New Arrival
function new_show(v) {
	// ÅÇ¸Þ´º ¼¿·ºÆ®
	for(i=1; i<=3; i++) {
		if(i==v) eval("document.new_tab"+i).src = eval("document.new_tab"+i).src.replace("_g.","_b.")
		else eval("document.new_tab"+i).src = eval("document.new_tab"+i).src.replace("_b.","_g.")
		}

	temp = eval("new"+cate1+"_str").split("^//^")

	istart = (v-1) * 5;
	iend = istart + 5;

	ItemList = '';
	ItemList += '<table width="750" border="0" cellspacing="0" cellpadding="0">';
	ItemList += '<tr align="center" valign="top">';

	for(i=istart; i<iend; i++) {
		nodes = temp[i].split("^")

		strItemCode	= nodes[1];
		strcode		= nodes[2];
		sellcost	= nodes[3];
		adultchk	= nodes[4];
		strName		= nodes[5];
		if(!strName) strName = nodes[6];

		code_tmp = strcode.split("_");
		imgurl = Img2Domain + "/goods_IMG/sub" + code_tmp[0] + "/130/" + strcode + ".gif";

		// ¼ºÀÎ»óÇ°ÀÏ °æ¿ì¸¸ ·¹ÀÌ¾î ¾º¿î´Ù
		gloss_img = ''	//<span style="position:relative;"><div style="position:absolute;left:0px; top:0px; z-index:10;"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img id="goodspics_sub2_'+i+'" src="http://pics2.gundamshop.co.kr/etc/tmp/1x1.gif" width=120 height=120 style="FILTER: alpha(opacity=50)" border=0></a></div></span>';
		if(web_browser && adultchk>0 && (GetLogin == "" || getCookie("mage") < 19) ) gloss_img = '<span style="position:relative;"><div style="position:absolute;left:0px; top:0px; z-index:10;"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img id="goodspics_sub2_'+i+'" src="http://pics2.gundamshop.co.kr/etc/tmp/19x_login.gif" width=120 height=120 style="FILTER: alpha(opacity=50)" border=0></a></div></span>';

		i2 = i + 1;

		ItemList += '<td>';
		ItemList += '	<table width="120" border="0" cellspacing="0" cellpadding="0">';
		ItemList += '   <tr><td width="120" height="120" align="center" bgcolor="f9f9f9">'+ gloss_img +'<a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img src="'+ imgurl +'" width=120 height=120 style="border:1px #e3e3e3 solid;"></td>';
		ItemList += '   <tr><td height="5"></td>';
		ItemList += '   <tr><td height="45" valign=top><a href="/GD_Front01.html?ItemCode='+ strItemCode +'" title="'+strName+'">'+CLen(strName,62)+'</td>';
		ItemList += '   <tr><td height="18" class="price">'+ number_format(sellcost) +'¿ø</td>';
		ItemList += '   </table>';

		if (i2%5 != '0') ItemList += '<td width="1" bgcolor="e9e9e9"></td>';
		}

	ItemList += '</table>';

	td_new_list.innerHTML = ItemList
	}




// º£½ºÆ®»óÇ°
function best_show(v) {
	// ÅÇ¸Þ´º ¼¿·ºÆ®
	for(i=1; i<=4; i++) {
		if(i==v) eval("document.best_tab"+i).src = eval("document.best_tab"+i).src.replace("_d.","_o.")
		else eval("document.best_tab"+i).src = eval("document.best_tab"+i).src.replace("_o.","_d.")
		}

	temp = eval("best"+cate1+"_"+v+"_str").split("^//^")

	istart = (v-1) * 7;
	iend = istart + 7;

	ItemList = '';
	ItemList += '<table width="740" border="0" cellspacing="0" cellpadding="0">';
	ItemList += '<tr>';

	// Å«ÀÌ¹ÌÁö 1°³
		nodes = temp[0].split("^")

		strItemCode	= nodes[1];
		strcode		= nodes[2];
		sellcost	= nodes[3];
		adultchk	= nodes[4];
		strName		= nodes[5];
		if(!strName) strName = nodes[6];

		code_tmp = strcode.split("_");
		imgurl = Img2Domain + "/goods_IMG/sub" + code_tmp[0] + "/200/" + strcode + ".gif";

		// ¼ºÀÎ»óÇ°ÀÏ °æ¿ì¸¸ ·¹ÀÌ¾î ¾º¿î´Ù
		gloss_img = ''	//<span style="position:relative;"><div style="position:absolute;left:0px; top:0px; z-index:10;"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img id="goodspics_sub2_'+i+'" src="http://pics2.gundamshop.co.kr/etc/tmp/1x1.gif" width=120 height=120 style="FILTER: alpha(opacity=50)" border=0></a></div></span>';
		if(web_browser && adultchk>0 && (GetLogin == "" || getCookie("mage") < 19) ) gloss_img = '<span style="position:relative;"><div style="position:absolute;left:0px; top:0px; z-index:10;"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img id="goodspics_sub2_'+i+'" src="http://pics2.gundamshop.co.kr/etc/tmp/19x_login.gif" width=210 height=210 style="FILTER: alpha(opacity=50)" border=0></a></div></span>';

		ItemList += '<td width="210" valign="middle">';
		ItemList += '	<table width="210" border="0" cellpadding="0" cellspacing="0">';
		ItemList += '	<tr><td height="210" align="center" bgcolor="f9f9f9">'+ gloss_img +'<a href="/GD_Front01.html?xcode='+nodes[7]+'&ItemCode='+ strItemCode +'"><img src="'+ imgurl +'" width=210 height=210 style="border:1px #e3e3e3 solid;"></td>';
		ItemList += '   <tr><td height="10" align="center"></td>';
		ItemList += '   <tr><td align="center"><a href="/GD_Front01.html?xcode='+nodes[7]+'&ItemCode='+ strItemCode +'">'+strName+'</td>';
		ItemList += '   <tr><td height="18" align="center" class="price">'+ number_format(sellcost) +'¿ø</td>';
		ItemList += '   </table>';

		ItemList += '<td width="30">&nbsp;</td>';
		ItemList += '<td align="center" valign="top">';
		ItemList += '	<table width="500" border="0" cellspacing="0" cellpadding="0">';
		ItemList += '   <tr align="center" valign="top">';


	// ÀÛÀºÀÌ¹ÌÁö 6°³
	for(i=1; i<7; i++) {
		nodes = temp[i].split("^")

		strItemCode	= nodes[1];
		strcode		= nodes[2];
		sellcost	= nodes[3];
		adultchk	= nodes[4];
		strName		= nodes[5];
		if(!strName) strName = nodes[6];

		code_tmp = strcode.split("_");
		imgurl = Img2Domain + "/goods_IMG/sub" + code_tmp[0] + "/130/" + strcode + ".gif";

		// ¼ºÀÎ»óÇ°ÀÏ °æ¿ì¸¸ ·¹ÀÌ¾î ¾º¿î´Ù
		gloss_img = ''	//<span style="position:relative;"><div style="position:absolute;left:0px; top:0px; z-index:10;"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img id="goodspics_sub2_'+i+'" src="http://pics2.gundamshop.co.kr/etc/tmp/1x1.gif" width=120 height=120 style="FILTER: alpha(opacity=50)" border=0></a></div></span>';
		if(web_browser && adultchk>0 && (GetLogin == "" || getCookie("mage") < 19) ) gloss_img = '<span style="position:relative;"><div style="position:absolute;left:0px; top:0px; z-index:10;"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img id="goodspics_sub2_'+i+'" src="http://pics2.gundamshop.co.kr/etc/tmp/19x_login.gif" width=130 height=130 style="FILTER: alpha(opacity=50)" border=0></a></div></span>';

		i2 = i + 1;

		ItemList += '	<td>';
		ItemList += '		<table width="120" border="0" cellspacing="0" cellpadding="0">';
		ItemList += '           <tr><td width="120" height="120" align="center" bgcolor="f9f9f9">'+ gloss_img +'<a href="/GD_Front01.html?xcode='+nodes[7]+'&ItemCode='+ strItemCode +'"><img src="'+ imgurl +'" width=120 height=120 style="border:1px #e3e3e3 solid;"></td>';
		ItemList += '           <tr><td height="5"></td>';
		ItemList += '           <tr><td height="25" align="center"><a href="/GD_Front01.html?xcode='+nodes[7]+'&ItemCode='+ strItemCode +'" title="'+strName+'">'+CLen(strName,30)+'</td>';
		ItemList += '           </table>';


		if (i2%3 != '0') ItemList += '<td width="1" bgcolor="f1f1f1"></td>';
		if ((i-3)%7 == '0') {	// 0 6 14
			ItemList += '<tr><td height="25" colspan="9">&nbsp;</td></tr>';
			ItemList += '<tr align="center" valign="top">';
			}
		}

	ItemList += '		<table>';
	ItemList += '</table>';

	td_best_list.innerHTML = ItemList
	}





// »óÇ°¸®ºä
function goodsval_show() {
	temp = eval("goodsval"+cate1+"_str").split("^//^")

	var s_img_arr = new Array('200','200','130','130','130','130','130','75','75','75','75','75','75','75');
	var Ximgurl = new Array();

	for(i=0; i<14; i++) {
		nodes = temp[i].split("^")

		strItemCode	= nodes[1];
		strcode		= nodes[2];
		sellcost	= nodes[3];
		adultchk	= nodes[4];
		strName		= nodes[5];
		name		= nodes[6];
		title		= nodes[7];
		rdate		= nodes[8];
		contents	= nodes[9];

		code_tmp	= strcode.split("_");


		// Ç³¼±¸»
		pstr  = "<table bgcolor=#666666 width=290 cellpadding=5 cellspacing=1><tr><td bgcolor=#FFFFFF>"
		pstr += "<table bgcolor=#FFFFFF width=288 cellpadding=3 cellspacing=0>"
		pstr += "<tr><td><b>"+title
		pstr += "<tr><td>"+name + " / " + rdate
		pstr += "<tr><td>"+contents
		pstr += "</table>"
		pstr += "</table>"


		// ¼ºÀÎ»óÇ°ÀÏ °æ¿ì¸¸ ·¹ÀÌ¾î ¾º¿î´Ù - ¿À·ù ·¹ÀÌ¾î°¡ Áßº¹µÇ¼­ ±×·±Áö ¾È ¿Ã¶ó°£´Ù...
		gloss_img = '' //<span style="position:relative;"><div style="position:absolute;left:0px; top:0px; z-index:10;"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img id="goodspics_sub2_'+i+'" src="http://pics2.gundamshop.co.kr/etc/tmp/1x1.gif" width=120 height=120 style="FILTER: alpha(opacity=50)" border=0></a></div></span>';
		if(web_browser && adultchk>0 && (GetLogin == "" || getCookie("mage") < 19) ) gloss_img = '<span style="position:relative;"><div style="position:absolute;left:0px; top:0px; z-index:10;"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img id="goodspics_sub4_'+i+'" src="http://pics2.gundamshop.co.kr/etc/tmp/1x1.gif" width="'+s_img_arr[i]+'" height="'+s_img_arr[i]+'" style="FILTER: alpha(opacity=50)" border=0 style="cursor:hand" onmouseover=\'review_sw=1; tdps.innerHTML="'+pstr+'"; this.style.border="solid 1px gray"; \' onmouseout=\'review_sw=0; tdps.innerHTML=""; this.style.border="solid 1px #e3e3e3"; \'></a></div></span>';

		tstr = '<table width="'+s_img_arr[i]+'" height="'+s_img_arr[i]+'" border="0" cellpadding="0" cellspacing="0">'
		tstr += '<tr><td align="center" bgcolor="f9f9f9">'+gloss_img+'<a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img style="cursor:hand" onmouseover=\'review_sw=1; tdps.innerHTML="'+pstr+'"; this.style.border="solid 1px gray"; \' onmouseout=\'review_sw=0; tdps.innerHTML=""; this.style.border="solid 1px #e3e3e3"; \' src="'+Img2Domain + '/goods_IMG/sub' + code_tmp[0] + '/'+s_img_arr[i]+'/' + strcode + '.gif" width="'+s_img_arr[i]+'" height="'+s_img_arr[i]+'" style="border:1px #e3e3e3 solid;"></td>'
		tstr += '</table>';

		Ximgurl[i] = tstr
		}



	document.write('<table width="200" border="0" cellspacing="0" cellpadding="0">');
	document.write('<tr><td width="125"><img src="http://pics2.gundamshop.co.kr/n_sub/tx_bestreview.gif" width="125" height="75"></td>');
	document.write('    <td width="75">'+ Ximgurl[7] +'</td>');
	document.write('<tr><td height="25" colspan="2">&nbsp;</td>');
	document.write('<tr align="center" bgcolor="f9f9f9"><td height="200" colspan="2">'+ Ximgurl[0] +'</td>');
	document.write('</table>');
	document.write('</td>');

	document.write('<td width="20" style="padding:20 0 20 0">&nbsp;</td>');
	document.write('<td width="170" valign="top" style="padding:20 0 20 0">');
	document.write('<table width="170" border="0" cellspacing="0" cellpadding="0">');
	document.write('<tr><td width="75">'+ Ximgurl[8] +'</td>');
	document.write('<td width="20">&nbsp;</td>');
	document.write('<td>'+ Ximgurl[9] +'</td>');
	document.write('<tr><td height="20" colspan="3">&nbsp;</td>');
	document.write('<tr><td colspan="3">'+ Ximgurl[2] +'</td>');
	document.write('<tr><td height="20" colspan="3">&nbsp;</td>');
	document.write('<tr><td>'+ Ximgurl[10] +'</td>');
	document.write('<td>&nbsp;</td>');
	document.write('<td>'+ Ximgurl[11] +'</td>');
	document.write('</table>');
	document.write('</td>');

	document.write('<td width="20" valign="top" style="padding:20 0 20 0">&nbsp;</td>');
	document.write('<td width="200" valign="top" style="padding:20 0 20 0">');
	document.write('<table width="200" border="0" cellspacing="0" cellpadding="0">');
	document.write('<tr align="center" bgcolor="f9f9f9"><td width="200" height="200" colspan="4">'+ Ximgurl[1] +'</td>');
	document.write('<tr><td height="45" colspan="4">&nbsp;</td>');
	document.write('<tr><td width="75" height="75">'+ Ximgurl[12] +'</td>');
	document.write('<td width="20">&nbsp;</td>');
	document.write('<td width="75">'+ Ximgurl[13] +'</td>');
	document.write('<td width="70">&nbsp;</td>');
	document.write('</table>');
	document.write('</td>');

	document.write('<td width="40" valign="top" style="padding:20 0 20 0">&nbsp;</td>');
	document.write('<td width="130" valign="top" style="padding:20 0 20 0">');
	document.write('<table width="130" border="0" cellspacing="0" cellpadding="0">');
	document.write('<tr><td height="130" align="center" bgcolor="f9f9f9">'+ Ximgurl[3] +'</td>');
	document.write('<tr><td height="20">&nbsp;</td>');
	document.write('<tr><td height="130" align="center" bgcolor="f9f9f9">'+ Ximgurl[4] +'</td>');
	document.write('</table>');
	document.write('</td>');

	document.write('<td width="20" valign="top" style="padding:20 0 20 0">&nbsp;</td>');
	document.write('<td width="130" valign="top" style="padding:20 0 20 0">');
	document.write('<table width="130" border="0" cellspacing="0" cellpadding="0">');
	document.write('<tr><td height="130" align="center" bgcolor="f9f9f9">'+ Ximgurl[5] +'</td>');
	document.write('<tr><td height="20">&nbsp;</td>');
	document.write('<tr><td height="130" align="center" bgcolor="f9f9f9">'+ Ximgurl[6] +'</td>');
	document.write('</table>');
	document.write('</td>');


	review_sw = 0
	document.onmousemove=move
	function move() {
		if(!review_sw) return false

		x=event.clientX
		y=event.clientY

		if(document.body.scrollWidth*0.7 < x) x = x - 290 - 30

		psv.style.pixelLeft = x + 5
		psv.style.pixelTop = y + document.body.scrollTop + 5
		}

	}



// °í°´¼¾ÅÍ ÀüÈ­¹øÈ£
function print_cscenter() {
	document.write("<table cellpadding=0 cellspacing=0>")
	document.write("<tr><td><img src=/pics2/submain/sub01/sub_img_cus2.gif usemap='#customer1'></></td>")
	document.write("<tr><td><img src=/pics2/submain/sub01/sub_img_cus3.gif usemap='#customer2'></td>")
	document.write("</table>")

	document.write("<map name='customer1'>")
	document.write("<area shape='rect' coords='95,97,146,118' href='http://cs.gundamshop.co.kr'>")
	document.write("</map>")

	document.write("<map name='customer2'>")
	document.write("<area shape='rect' coords='13,8,67,73' href='http://cs.gundamshop.co.kr/Claim/?gubun=3'>")
	document.write("<area shape='rect' coords='71,8,125,74' href='http://cs.gundamshop.co.kr/Claim/?gubun=2'>")
	document.write("<area shape='rect' coords='129,8,193,74' href='http://cs.gundamshop.co.kr/Claim/?gubun=1'>")
	document.write("</map>")
	}




// ÇÖÅ°¿öµå2
function print_hotkey(v) {
	temp1 = eval("today_search_keyword_arr"+v)
	temp2 = eval("today_search_keyword2_arr"+v)

	tnum = eval("today_search_cnt_str_arr"+v)

	document.write('<table width="170" border="4" cellpadding="0" cellspacing="0" bordercolor="#EDECEC" style="border-collapse:collapse ">')
	document.write('<tr><td>')
	document.write('	<table width="165" border="0" cellspacing="0" cellpadding="0">')
	document.write('	<tr><td background=http://pics2.gundamshop.co.kr/submain/sub01/sub_tit_hot.gif height="35"></td>')
	document.write('	<tr><td height=5>')
	document.write('	<tr><td align="center">')


	for(i=1; i<=6; i++) {
		mstr = ""
		move = 0
		for(j=1; j<=10; j++) {
			if(temp1[i] == temp2[j]) move = j - i
			}

		if(move == 0) mstr = "<font color=red>new"
		else if(move>0) mstr = "<font color=red>"+move+"¡ã"
		else if(move<0) mstr = move+"¡å"

		document.write('<table border="0" cellpadding="0" cellspacing="0">');
		document.write('<tr><td width="120" height="22"><img src="http://pics2.gundamshop.co.kr/search/num_0' + i + '.gif" width="14" height="13" align="absmiddle"> <a href="/search/main.html?xcode='+tnum[i]+'&key='+temp1[i]+'">' + temp1[i] + ' </td>');
		document.write('<td width="25" align="right" class="num">'+mstr+'</td>');
		if(i < 6) document.write('<tr><td height="1" colspan="2" bgcolor="e3e3e3"></td>');
		document.write('</table>');
		}


	document.write('	<tr><td height="5"></td>')
	document.write('	</table>')
	document.write('</table>')
	}


//Ä«Å×°í¸® ¿ÞÂÊº£³Ê
function print_cate_leftBanner(v) {
	temp = eval("cate_leftBanner"+v).split("|")

	document.write('<table width="170" border="0" cellspacing="0" cellpadding="0">');
	document.write('<tr><td id=td_cate_leftBanner'+v+'_1 '+atool+' align="center" bgcolor="f9f9f9"><a href="'+temp[0]+'"><img src="'+temp[1]+'" width="170"></a></td>');
	document.write('</table>');
	}




//////////////////////
// GD_Category02


// Ä«Å×°í¸®º£½ºÆ® - »ó´Ü °¡·Î½Ä
function category_best(v) {
	// ÅÇ¸Þ´º ¼¿·ºÆ®
	for(i=1; i<=3; i++) {
		if(i==v) eval("document.category_best_tab"+i).src = eval("document.category_best_tab"+i).src.replace("_g.","_b.")
		else eval("document.category_best_tab"+i).src = eval("document.category_best_tab"+i).src.replace("_b.","_g.")
		}

	temp = category_best_str.split("^//^")

	ItemList = '<table border=0 cellspacing=0 cellpadding=0>'
	for(i=0; i<5; i++) {
		nodes = temp[(v-1)*5+i].split("^")

		ItemCode	= nodes[1];
		strcode		= nodes[2];
		panmega		= nodes[3];
		adultchk	= nodes[4];
		strName		= nodes[5];
		smallName	= nodes[6];
		xcode		= nodes[7];

		code_tmp = strcode.split("_");
		imgurl = Img2Domain + "/goods_IMG/sub" + code_tmp[0] + "/130/" + strcode + ".gif";

		// ¼ºÀÎ»óÇ°ÀÏ °æ¿ì¸¸ ·¹ÀÌ¾î ¾º¿î´Ù
		gloss_img = ''	//<span style="position:relative;"><div style="position:absolute;left:0px; top:0px; z-index:10;"><a href="/GD_Front01.html?ItemCode='+ strItemCode +'"><img id="goodspics_sub2_'+i+'" src="http://pics2.gundamshop.co.kr/etc/tmp/1x1.gif" width=120 height=120 style="FILTER: alpha(opacity=50)" border=0></a></div></span>';
		if(web_browser && adultchk>0 && (GetLogin == "" || getCookie("mage") < 19) ) gloss_img = '<span style="position:relative;"><div style="position:absolute;left:0px; top:0px; z-index:10;"><a href="/GD_Front01.html?ItemCode='+ ItemCode +'"><img id="goodspics_sub2_'+i+'" src="http://pics2.gundamshop.co.kr/etc/tmp/19x_login.gif" width=120 height=120 style="FILTER: alpha(opacity=50)" border=0></a></div></span>';


		ItemList += '<td width="150" valign="top"><center>';
		ItemList += '	<table width="120" border="0" cellpadding="0" cellspacing="0">';
		ItemList += '	<tr><td height="120" align="center" bgcolor="f9f9f9">'+ gloss_img +'<a href="/GD_Front01.html?xcode='+nodes[7]+'&ItemCode='+ ItemCode +'" title="'+strName+'"><img src="'+ imgurl +'" width=120 height=120 style="border:1px #e3e3e3 solid;"></td>';
		ItemList += '   <tr><td height="10" align="center"></td>';
		ItemList += '   <tr><td align="center" height=30 valign="top" style="padding:0 5"><A href="/GD_Front01.html?xcode='+nodes[7]+'&ItemCode='+ ItemCode +'" title="'+strName+'" >'+CLen(smallName,40)+'</a></td>';
		ItemList += '   <tr><td height="18" align="center" class="price">'+ number_format(panmega) +'¿ø</td>';
		ItemList += '   </table>';


		}
	ItemList += '</table>'

	td_category_best_list.innerHTML = ItemList


	}
