var loadFlag = 0;
var imgList = new Array();

imgList[0] = new Image();
imgList[0].src = imgDir + "head_btn01n.gif";
imgList[1] = new Image();
imgList[1].src = imgDir + "head_btn01o.gif";
imgList[2] = new Image();
imgList[2].src = imgDir + "head_btn02n.gif";
imgList[3] = new Image();
imgList[3].src = imgDir + "head_btn02o.gif";
imgList[4] = new Image();
imgList[4].src = imgDir + "head_btn03n.gif";
imgList[5] = new Image();
imgList[5].src = imgDir + "head_btn03o.gif";
imgList[6] = new Image();
imgList[6].src = imgDir + "head_btn04n.gif";
imgList[7] = new Image();
imgList[7].src = imgDir + "head_btn04o.gif";
imgList[8] = new Image();
imgList[8].src = imgDir + "head_btn05n.gif";
imgList[9] = new Image();
imgList[9].src = imgDir + "head_btn05o.gif";
imgList[10] = new Image();
imgList[10].src = imgDir + "head_lang01n.gif";
imgList[11] = new Image();
imgList[11].src = imgDir + "head_lang01o.gif";
imgList[12] = new Image();
imgList[12].src = imgDir + "head_lang02n.gif";
imgList[13] = new Image();
imgList[13].src = imgDir + "head_lang02o.gif";
imgList[14] = new Image();
imgList[14].src = imgDir + "head_lang03n.gif";
imgList[15] = new Image();
imgList[15].src = imgDir + "head_lang03o.gif";
imgList[16] = new Image();
imgList[16].src = imgDir + "head_lang04n.gif";
imgList[17] = new Image();
imgList[17].src = imgDir + "head_lang04o.gif";
/*
imgList[18] = new Image();
imgList[18].src = imgDir + "head_lang05n.gif";
imgList[19] = new Image();
imgList[19].src = imgDir + "head_lang05o.gif";
*/
imgList[20] = new Image();
imgList[20].src = imgDir + "head_menu01n.gif";
imgList[21] = new Image();
imgList[21].src = imgDir + "head_menu01o.gif";
imgList[22] = new Image();
imgList[22].src = imgDir + "head_menu02n.gif";
imgList[23] = new Image();
imgList[23].src = imgDir + "head_menu02o.gif";
imgList[24] = new Image();
imgList[24].src = imgDir + "head_menu03n.gif";
imgList[25] = new Image();
imgList[25].src = imgDir + "head_menu03o.gif";
imgList[26] = new Image();
imgList[26].src = imgDir + "head_menu04n.gif";
imgList[27] = new Image();
imgList[27].src = imgDir + "head_menu04o.gif";
imgList[28] = new Image();
imgList[28].src = imgDir + "head_menu05n.gif";
imgList[29] = new Image();
imgList[29].src = imgDir + "head_menu05o.gif";
imgList[30] = new Image();
imgList[30].src = imgDir + "head_menu06n.gif";
imgList[31] = new Image();
imgList[31].src = imgDir + "head_menu06o.gif";
imgList[32] = new Image();
imgList[32].src = imgDir + "lnavi_btnbg_n.gif";
imgList[33] = new Image();
imgList[33].src = imgDir + "lnavi_btnbg_o.gif";

loadFlag = 1;

function swap(imgName, fnc){
	if(loadFlag == 1){
		imgName.src = imgList[fnc].src;
	}
}



function writeObjectString(htmlStr)
{
	document.write(htmlStr);
}
