//----------------------------------------------------------
// ボックス要素の高さを同期
// 引数：同期するボックスの ID のリスト
//----------------------------------------------------------
function syncBoxHeight(){
  if(document.getElementById && document.documentElement.offsetHeight){
    var maxWidth = 0;

    // 高さの最大値を取得
    for(var i=0; i<syncBoxHeight.arguments.length; i++){
      var objNode = document.getElementById(syncBoxHeight.arguments[i]);
      if(objNode && objNode.offsetHeight > maxWidth){
        maxWidth = objNode.offsetHeight;
      }
    }

    // 高さを同期
    for(var i=0; i<syncBoxHeight.arguments.length; i++){
      var objNode = document.getElementById(syncBoxHeight.arguments[i]);
      if(objNode){ objNode.style.height = maxWidth+'px'; }
    }
    return 1;
  }
  return 0;
}


function newscreen(window_no){
if(window_no==0)
window.open("","imfscreen0","width=670,height=750,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no");
    }

function clickChange(imageNum){
	document.myImage.src=imageNum;
}

function enlargeImage(image) {
	if(image) window.open('' + image, "sub", "width=420,height=300");
}
