// Array("ÀÌ¹ÌÁö/ÇÃ·¡½¬ ÀÌ¸§.È®ÀåÀÚ","¸µÅ© URL","Å¸°Ù(ÀÏ¹ÝÆË¾÷:_pop, ±×¿Ü:_blank)","°¡·ÎÅ©±â", "¼¼·ÎÅ©±â")


///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//index banner
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
	banner_index = new Array()
	//banner_index[0] = Array("pmang.gif","pmang.sayclub.com/pmang_campaign_gateway.nwz?mtsrl=413","_blank")					// È¸»çÀÌº¥Æ®
	//banner_index[0] = Array("wow001.gif","pcbang.net","_top")					// È¸»çÀÌº¥Æ®
	banner_index[0] = Array("20091014.gif","yulmoo.pcbang.net","_blank")					// È¸»çÀÌº¥Æ®
	//banner_index[0] = Array("PCbang_banner01.gif","nc40.pcbang.net/NCServerAdd/_smoking/intro.swf","_blank")					// È¸»çÀÌº¥Æ®
	//	banner_index[0] = Array("main_event7.swf","","_blank")					// È¸»çÀÌº¥Æ®
	//banner_index[1] = Array("tdodt_0706_460x140.swf","","_blank")		// Å×ÀÌÅ©´Ù¿î
	//banner_index[2] = Array("requiem_460_140.swf","","_blank")			// ·¹Äû¾ö

	random_index = Math.ceil(Math.random()*banner_index.length) - 1
	ext_index = banner_index[random_index][0].lastIndexOf('.');


/*
<table width=460 height="140" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td>
<script>
	// ¹è³Ê»ðÀÔ
	if(ext_index == -1) {
		//È®ÀåÀÚ ¾øÀ½
	} else {
		ext = banner_index[random_index][0].substr(ext_index + 1);
		ext = ext.toLowerCase()		
		if(ext == 'swf')	{
			openflash("460","140","/banner/index/"+banner_index[random_index][0]);
		} else {
			if(banner_index[random_index][2] == "_pop")	{
				click_banner = "window.open(\"http://"+banner_index[random_index][1]+"\",\""+banner_index[random_index][2]+"\",\"width="+banner_index[random_index][3]+",height="+banner_index[random_index][4]+"\");";
			} else {
				click_banner = "window.open(\"http://"+banner_index[random_index][1]+"\",\""+banner_index[random_index][2]+"\");";
			}
			document.write("<img src='/banner/index/"+banner_index[random_index][0]+"' border=0 style='cursor:pointer' align='absmiddle' onclick='"+click_banner+"'>")	;
		}
	}
</script></td>
	</tr>
</table>
*/



///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//left banner
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
	banner_left = new Array()
	banner_left[0] = Array("11st_175x80.gif","www.11st.co.kr/connect/Gateway.tmall?method=Xsite&tid=1000075370","_blank")	// ±×¶ó³ªµµ¿¡½ºÅ¸´Ù
	random_left = Math.ceil(Math.random()*banner_left.length) - 1
	ext_left = banner_left[random_left][0].lastIndexOf('.');
/*
	banner_left[1] = Array("4story_175x80.swf","","_blank")	// 4story
	banner_left[2] = Array("175x80_05.gif","www.ilovepcclub.com/","_blank")		// ¾ÆÀÌ·¯ºêPC¹æ ¸®¸ðµ¨¸µ ¹è³Ê
	banner_left[0] = Array("175x80_01.gif","nc40.pcbang.net/Template/_sub.asp?pg=product&pg_page=product02_12&menupos=2","_top")
	banner_left[0] = Array("175x80_02.gif","nc40.pcbang.net/popup_notice/etc_nctax.asp?tp=0","_pop","726","660")
	banner_left[3] = Array("175x80_04.gif","www.pcbang.net/_Event/20070813_1/step01.php","_top")	// 3.0->4.0 ¾÷±×·¡ÀÌµå ÀÌº¥Æ®
	banner_left[6] = Array("175x80_03.gif","www.pcbang.net/_Event/20070813_2/step01.php","_top")	// 5ÁÖ°£ÀÇ ¸±·¹ÀÌÀÌº¥Æ®
*/

/*
<table width=175 height="80" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td>
<script>
	// ¹è³Ê»ðÀÔ
	if(ext_left == -1) {
		//È®ÀåÀÚ ¾øÀ½
	} else {
		ext = banner_left[random_left][0].substr(ext_left + 1);
		ext = ext.toLowerCase()		
		if(ext == 'swf')	{
			openflash("175","80","/banner/left/"+banner_left[random_left][0]);
		} else {
			if(banner_left[random_left][2] == "_pop")	{
				click_banner = "window.open(\"http://"+banner_left[random_left][1]+"\",\""+banner_left[random_left][2]+"\",\"width="+banner_left[random_left][3]+",height="+banner_left[random_left][4]+"\");";
			} else {
				click_banner = "window.open(\"http://"+banner_left[random_left][1]+"\",\""+banner_left[random_left][2]+"\");";
			}
			document.write("<img src='/banner/left/"+banner_left[random_left][0]+"' border=0 style='cursor:pointer' align='absmiddle' onclick='"+click_banner+"'>")	;
		}
	}
</script></td>
	</tr>
</table>
*/




///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//right banner
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
	banner_right = new Array()
	banner_right[0] = Array("195x145_05.gif","www.ilovepcbang.com","_blank")		// ¾ÆÀÌ·¯ºêPC¹æ ½Å¹®¹è³Ê
	random_right = Math.ceil(Math.random()*banner_right.length) - 1
	ext_right = banner_right[random_right][0].lastIndexOf('.');
/*
	banner_right[1] = Array("195x145_06.gif","www.pcbang.net","_top")		// ÀÏ¹Ý¹è³Ê
	banner_right[0] = Array("195x145_01.gif","nc40.pcbang.net/Template/_sub.asp?pg=product&pg_page=product02_12&menupos=2","_top")
	banner_right[0] = Array("195x145_02.gif","nc40.pcbang.net/popup_notice/etc_nctax.asp?tp=0","_pop","726","660")
	banner_right[1] = Array("195x145_04.gif","www.pcbang.net/_Event/20070813_1/step01.php","_top")
	banner_right[1] = Array("requiem_195_145.swf","","_blank")		// ·¹Äû¾ö
	banner_right[5] = Array("195x145_03.gif","www.pcbang.net/_Event/20070813_2/step01.php","_top")
*/

/*
<table width="195" height="145" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td>
<script>
	// ¹è³Ê»ðÀÔ
	if(ext_right == -1) {
		//È®ÀåÀÚ ¾øÀ½
	} else {
		ext = banner_right[random_right][0].substr(ext_right + 1);
		ext = ext.toLowerCase()		
		if(ext == 'swf')	{
			openflash("195","145","/banner/right/"+banner_right[random_right][0]);
		} else {
			if(banner_right[random_right][2] == "_pop")	{
				click_banner = "window.open(\"http://"+banner_right[random_right][1]+"\",\""+banner_right[random_right][2]+"\",\"width="+banner_right[random_right][3]+",height="+banner_right[random_right][4]+"\");";
			} else {
				click_banner = "window.open(\"http://"+banner_right[random_right][1]+"\",\""+banner_right[random_right][2]+"\");";
			}
			document.write("<img src='/banner/right/"+banner_right[random_right][0]+"' border=0 style='cursor:pointer' align='absmiddle' onclick='"+click_banner+"'>")	;
		}
	}
</script></td>
	</tr>
</table>
*/




///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//right sub banner
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
	banner_right_sub = new Array()
//	banner_right_sub[0] = Array("150x245_01.gif","nc40.pcbang.net/Template/_sub.asp?pg=product&pg_page=product02_12&menupos=2","_top")
	banner_right_sub[0] = Array("150x245_02.gif","nc40.pcbang.net/popup_notice/etc_nctax.asp?tp=0","_pop","726","660")
	banner_right_sub[1] = Array("11st_150x245.gif","www.11st.co.kr/connect/Gateway.tmall?method=Xsite&tid=1000075370","_blank")
//	banner_right_sub[1] = Array("150x245_04.gif","www.pcbang.net/_Event/20070813_1/step01.php","_top")
	//banner_right_sub[3] = Array("150x245_03.gif","www.pcbang.net/_Event/20070813_2/step01.php","_top")

	random_right_sub = Math.ceil(Math.random()*banner_right_sub.length) - 1
	ext_right_sub = banner_right_sub[random_right_sub][0].lastIndexOf('.');



/*
<table width="150" height="245" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td>
<script>
	// ¹è³Ê»ðÀÔ
	if(ext_right_sub == -1) {
		//È®ÀåÀÚ ¾øÀ½
	} else {
		ext = banner_right_sub[random_right_sub][0].substr(ext_right_sub + 1);
		ext = ext.toLowerCase()		
		if(ext == 'swf')	{
			openflash("150","245","/banner/right_sub/"+banner_right_sub[random_right_sub][0]);
		} else {
			if(banner_right_sub[random_right_sub][2] == "_pop")	{
				click_banner = "window.open(\"http://"+banner_right_sub[random_right_sub][1]+"\",\""+banner_right_sub[random_right_sub][2]+"\",\"width="+banner_right_sub[random_right_sub][3]+",height="+banner_right_sub[random_right_sub][4]+"\");";
			} else {
				click_banner = "window.open(\"http://"+banner_right_sub[random_right_sub][1]+"\",\""+banner_right_sub[random_right_sub][2]+"\");";
			}
			document.write("<img src='/banner/right_sub/"+banner_right_sub[random_right_sub][0]+"' border=0 style='cursor:pointer' align='absmiddle' onclick='"+click_banner+"'>")	;
		}
	}
</script></td>
	</tr>
</table>
*/


///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//login banner
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
	banner_login = new Array()
	banner_login[0] = Array("main_event6.swf","","_blank")
	random_login = Math.ceil(Math.random()*banner_login.length) - 1
	ext_login = banner_login[random_login][0].lastIndexOf('.');



/*
<table width="340" height="247" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td>
<script>
	// ¹è³Ê»ðÀÔ
	if(ext_login == -1) {
		//È®ÀåÀÚ ¾øÀ½
	} else {
		ext = banner_login[random_login][0].substr(ext_login + 1);
		ext = ext.toLowerCase()		
		if(ext == 'swf')	{
			openflash("340","247","/banner/login/"+banner_login[random_login][0]);
		} else {
			if(banner_login[random_login][2] == "_pop")	{
				click_banner = "window.open(\"http://"+banner_login[random_login][1]+"\",\""+banner_login[random_login][2]+"\",\"width="+banner_login[random_login][3]+",height="+banner_login[random_login][4]+"\");";
			} else {
				click_banner = "window.open(\"http://"+banner_login[random_login][1]+"\",\""+banner_login[random_login][2]+"\");";
			}
			document.write("<img src='/banner/login/"+banner_login[random_login][0]+"' border=0 style='cursor:pointer' align='absmiddle' onclick='"+click_banner+"'>")	;
		}
	}
</script></td>
	</tr>
</table>
*/


///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//board banner
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
	banner_board = new Array()
	banner_board[0] = Array("02.gif","nc40.pcbang.net/popup_notice/etc_nctax.asp?tp=0","_pop","726","660")	
	banner_board[1] = Array("11st_460x140.gif","www.11st.co.kr/connect/Gateway.tmall?method=Xsite&tid=1000075370","_blank")
//	banner_board[0] = Array("01.gif","nc40.pcbang.net/Template/_sub.asp?pg=product&pg_page=product02_12&menupos=2","_blank")
//	banner_board[1] = Array("03.gif","/_Event/Event_body.php","_top","","")
//	banner_board[2] = Array("04.gif","nc40.pcbang.net/Template/_sub.asp?pg=oksusui&pg_page=reg_step01","_blank","","")
	random_board = Math.ceil(Math.random()*banner_board.length) - 1
	ext_board = banner_board[random_board][0].lastIndexOf('.');



/*
<table width="470" height="150" border="0" cellspacing="0" cellpadding="0" align="center">
	<tr>
		<td>
<script>
	// ¹è³Ê»ðÀÔ
	if(ext_board == -1) {
		//È®ÀåÀÚ ¾øÀ½
	} else {
		ext = banner_board[random_board][0].substr(ext_board + 1);
		ext = ext.toLowerCase()		
		if(ext == 'swf')	{
			openflash("470","150","/banner/board/"+banner_board[random_board][0]);
		} else {
			if(banner_board[random_board][2] == "_pop")	{
				click_banner = "window.open(\"http://"+banner_board[random_board][1]+"\",\""+banner_board[random_board][2]+"\",\"width="+banner_board[random_board][3]+",height="+banner_board[random_board][4]+"\");";
			} else {
				click_banner = "window.open(\"http://"+banner_board[random_board][1]+"\",\""+banner_board[random_board][2]+"\");";
			}
			document.write("<img src='/banner/board/"+banner_board[random_board][0]+"' border=0 style='cursor:pointer' align='absmiddle' onclick='"+click_banner+"'>")	;
		}
	}
</script></td>
	</tr>
</table>
*/