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[20] = new Image();
imgList[20].src = imgDir + "head_menu01n.gif";
imgList[21] = new Image();
imgList[21].src = imgDir + "head_menu01o.gif";

loadFlag = 1;

function swap(imgName, fnc){
	if(loadFlag == 1){
		imgName.src = imgList[fnc].src;
	}
}



function writeObjectString(htmlStr)
{
	document.write(htmlStr);
}

