<!--

// セルをクリックしたときにセル内のアンカーをクリック
// onclick/onkeypress に指定
// ex) actItemClick(this);

function actItemClick(_target) {
 if (!document.styleSheets) return;
 if (Mac && Safari){
   return false;
 }
 else if (window.event) {
  if (event.srcElement.tagName == "TD") _target.children.tags("TABLE").item(0).getElementsByTagName("A")[0].click();
 } else {
  location.href = _target.getElementsByTagName("A")[0].href;
 }
}

// フォーカスしたときに色を変化/マウスカーソルを変化
// onmouseover/onfocus に指定
// ex) actItemFocus(this);
 
var naviColorFocus = new Array('lnaviChildOver','lnaviBrotherOver','lnaviParentOver');

function actItemFocus(_target, _bgColor) {
 if (!document.styleSheets) return;
 if (Mac && Safari){
   return false;
 }
 else if (window.event) {
  var temp_a = _target.children.tags("TABLE").item(0).getElementsByTagName("A")[0];
  temp_a.style.textDecoration = 'underline';
  window.status = temp_a.href;
  if (!_target.contains(event.fromElement)) {
   _target.style.cursor = "hand";
   _target.className = _bgColor;
  }
 } else {
  var temp_a = _target.childNodes.item(3).getElementsByTagName("A")[0];
  if(temp_a) temp_a.style.textDecoration = 'underline';
  if(temp_a) window.status = temp_a.href;
  _target.style.cursor = "pointer";
  _target.className = _bgColor;
 }
}


// フォーカスが離れたときに色を戻す/マウスカーソルを戻す
// onmouseout/onblur に指定
// ex) actItemBlur(this);
 
var naviColorBlur = new Array('lnaviChild','lnaviBrother','lnaviParent');

function actItemBlur(_target, _bgColor) {
 if (!document.styleSheets) return;
 if (Mac && Safari){
   return false;
 }
 else if (window.event) {
  var temp_a = _target.children.tags("TABLE").item(0).getElementsByTagName("A")[0];
  temp_a.style.textDecoration = 'none';
  window.status = '';
  if (!_target.contains(event.toElement)) {
   _target.style.cursor = "default";
   _target.className = _bgColor;
  }
 } else {
  var temp_a = _target.childNodes.item(3).getElementsByTagName("A")[0];
  if(temp_a) temp_a.style.textDecoration = 'none';
  if(temp_a) window.status = '';
  _target.style.cursor = "default";
  _target.className = _bgColor;
 }
}


// -->
