function leftMenu(type)
{

	document.write('<table cellpadding="0" cellspacing="0" border="0">');
	document.write('<tr>');
	document.write('<td height="25"></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td><a href="/servlet/base.jpf.ArtListMan?code=aa000"><img src="/images/news/menu00.gif" width="175" height="63" alt="" border="0"></a></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td><img src="/images/news/menu99.gif" width="175" height="10" alt="" border="0"></td>');
	document.write('</tr>');

	//¿ÞÂÊ ¸Þ´º ¹øÈ£ ¹× ¸µÅ©Á¤º¸ ¼³Á¤
	var imgName = new Array(1,2);
	var imgLink = new Array('/servlet/base.jpf.ArtListMan?code=a0000','/servlet/base.jpf.ArtListMan?code=b0000');

	//»óÀ§ ¸Þ´º È®ÀÎÇÏ¿© »óÀ§¸Þ´ºµµ on »óÅÂ·Î
	if(type.length == 2)	uptype = type.substring(0,1);
	else	uptype="";	
	
	for(i=0; i<imgName.length; i++)
	{
		//height °ª ¹× ÆÄÀÏ¸í¿¡ 0 Ã¤¿ì±â
		height = "28";	
		tmp = "";
		if(String(imgName[i]).length == 2)	height = "22";
		else								tmp = "0";
	
		document.write('<tr>');
	
		if(type == imgName[i] || uptype == imgName[i])
			document.write('<td><a href="'+imgLink[i]+'" OnFocus="this.blur()"><img src="/images/news/menu'+tmp+imgName[i]+'_on.gif" width="175" height="'+height+'" alt="" border="0" name="r'+imgName[i]+'"></a></td>');	
		else
			document.write('<td><a href="'+imgLink[i]+'" onMouseOver=imgOn('+imgName[i]+') onMouseOut=imgOff('+imgName[i]+') OnFocus="this.blur()"><img src="/images/news/menu'+tmp+imgName[i]+'_off.gif" width="175" height="'+height+'" alt="" border="0" name="r'+imgName[i]+'"></a></td>');

		document.write('</tr>');			
	}

	document.write('<tr>');
	document.write('<td></td>');
	document.write('</tr>');
	document.write('</table>');
	
}
