function btnRollover(eleId)
{
// 指定されたid内にあるimg要素に対し、
// …_off.jpg → …_on.jpg
// の様にロールオーバー時にsrc属性を変更します。
	var idList = new Array(eleId); //ロールオーバーさせる部分をidで指定
	var imgList = new Array();
	for( var n1=0 ; n1<idList.length ; n1++ )
	{
		if( document.getElementById(idList[n1]) != null )
		{
			imgList[n1] = document.getElementById(idList[n1]).getElementsByTagName('img');
			for( var n2=0 ; n2<imgList[n1].length ; n2++ )
			{ //img要素の数で繰り返し
				imgList[n1][n2].onmouseover = function mOver()
				{
					this.src = this.getAttribute('src').replace('_off.','_on.');
				}
				imgList[n1][n2].onmouseout = function mOut()
				{
					this.src = this.getAttribute('src').replace('_on.','_off.');
				}
			}
		}
	}
}
