//¹öÆ° ¸¸µå´Â ÇÔ¼ö
function MakeButton(flag, jpgName)
{
	ButtonImage[flag] = new Image();
	ButtonImage_1[flag] = new Image();
	if(jpgName < 10) {
		ButtonImage[flag].src = "/skins/sub_0" + jpgName + ".png";
		ButtonImage_1[flag].src = "/skins/sub_0" + jpgName + "_1.png";
	} else {
		ButtonImage[flag].src = "/skins/sub_" + jpgName + ".png";
		ButtonImage_1[flag].src = "/skins/sub_" + jpgName + "_1.png";
	}
}

//ÀÌ¹ÌÁö¿¡ ¸¶¿ì½º ¿À¹ö µÆÀ»¶§
function MOut(flag, t)
{
	t.src = ButtonImage[flag].src;
}

//¿À¹ö ¾ÈµÆÀ»¶§
function MOver(flag, t)
{
	t.src = ButtonImage_1[flag].src;
}

var ButtonImage = new Array();
var ButtonImage_1 = new Array();
MakeButton(1, 1); 		//²Þ³ª¹« Çª¸¥±³½Ç Ã»¼Ò³â
MakeButton(2, 4); 		//³ªÀÇ´Ù¶ô¹æ
MakeButton(3, 5); 		//µðÄ«Æ¯°ø´ë
MakeButton(4, 6); 		//µ¸º¸±â±³°ú¼­
MakeButton(5, 7); 		//Áñ°ÜÃ£±â
MakeButton(6, 8); 		//³ª´®°ú¿ï¸²

