﻿var IDarr = new Array();
//IDarr = ['notice|/guide/arena/tournament/notice.html','krbigmatch|krbigmatch.html','match|match.html','rules|/guide/arena/tournament/rules.html','information|/guide/arena/tournament/information.html','register|/account/tournament/index.do','items|/guide/arena/tournament/item-list.html','forum|/community/forum/index.do?bseq=709062','faq|/guide/arena/tournament/faq.html','partners|close'];
IDarr = ['notice|close','krbigmatch|close','match|close','rules|close','information|close','register|close','items|close','forum|close','faq|close','partners|close'];

document.write('<div class="top-menubox" style="top:30px;height:220px;">');
document.write('	<img src="/static/new/guide/arena/tournament/top-img.png" class="PNG24 p">');
document.write('	<img src="/static/new/guide/arena/tournament/bg-menu.png" class="PNG24 top-menu" />');
document.write('	<ul style="list-style:none; margin:0px;padding:0px;" class="top-menu">');

for ( r=0; r<IDarr.length; r++)
{
	if (tabId ==IDarr[r].split('|')[0])
	{
		document.write('<li><img src="/static/new/common/pixel.gif" class="'+ IDarr[r].split('|')[0] +'"/></li>');

	} else {

		if (IDarr[r].split('|')[1] == 'close')
		{
			document.write('<li><a href="JavaScript:void(0)" onclick="alert(\'추후 공개 예정입니다.\');" class="' + IDarr[r].split('|')[0] + '"></a></li>');	

		} else {
			document.write('<li><a href="'+IDarr[r].split('|')[1] + '" class="' + IDarr[r].split('|')[0] + '"></a></li>');	

		}
		
	}
}

document.write('</ul>');
document.write('</div>');
