var count_level;
count_level=8;
function changeImg(target, imgURL){
	MenuReset();
		document.all(target).src = imgURL
}

	function MM_showHideLayers(cnt) // 
	{		
//		document.all.div_name.style.display = "none";


		if(cnt<=count_level)
		{
			for(var i=1;i<=count_level;i++)
			{
				var hide=eval("document.all.a_" + i);
				
				if(hide != null)
				{
					if(cnt==i)
						hide.style.display="";
					else
						hide.style.display="none";
				}

			}
		}
	}


	function allblur() {
	   for (i = 0; i < document.links.length; i++)
	   document.links[i].onfocus = document.links[i].blur;	  
	}


	function MM_openBrWindow(theURL,winName,features) { //v2.0
	  window.open(theURL,winName,features);
	}

	function MM_jumpMenu(targ,selObj,restore){ //v3.0
	
	  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
	
	  if (restore) selObj.selectedIndex=0;
	
	}

	function MenuReset() // 
	{

		for(i=1;i<=count_level;i++) // ÃÖ´ë 9±îÁö ¶ó°í ¸®¼Â
		{
			try
			{				
				var obj = eval("document.getElementById('a" + i + "')");
					if(1==1)	//ÄÚµå°ªÀ» ¹Þ¾ÒÀ» ¶§¸¸ ½ÇÇà
				{					
					obj.src = "images/top/menu_0" + i + ".jpg";
				}
			}
			catch(e)
			{
			}
		}
	}