// HpbImgPreload:
//
function HpbImgPreload()
{
  var appVer=parseInt(navigator.appVersion);
  var isNC=false,isN6=false,isIE=false;
  if (document.all && appVer >= 4) isIE=true; else
    if (document.getElementById && appVer > 4) isN6=true; else
      if (document.layers && appVer >= 4) isNC=true;
  if (isNC||isN6||isIE)
  {
    if (document.images)
    {
      var imgName = HpbImgPreload.arguments[0];
      var cnt;
      swImg[imgName] = new Array;
      for (cnt = 1; cnt < HpbImgPreload.arguments.length; cnt++)
      {
        swImg[imgName][HpbImgPreload.arguments[cnt]] = new Image();
        swImg[imgName][HpbImgPreload.arguments[cnt]].src = HpbImgPreload.arguments[cnt];
      }
    }
  }
}
// HpbImgFind:
//
function HpbImgFind(doc, imgName)
{
  for (var i=0; i < doc.layers.length; i++)
  {
    var img = doc.layers[i].document.images[imgName];
    if (!img) img = HpbImgFind(doc.layers[i], imgName);
    if (img) return img;
  }
  return null;
}
// HpbImgSwap:
//
function HpbImgSwap(imgName, imgSrc)
{
  var appVer=parseInt(navigator.appVersion);
  var isNC=false,isN6=false,isIE=false;
  if (document.all && appVer >= 4) isIE=true; else
    if (document.getElementById && appVer > 4) isN6=true; else
      if (document.layers && appVer >= 4) isNC=true;
  if (isNC||isN6||isIE)
  {
    if (document.images)
    {
      var img = document.images[imgName];
      if (!img) img = HpbImgFind(document, imgName);
      if (img) img.src = imgSrc;
    }
  }
}


var swImg; swImg=new Array;

HpbImgPreload('_HPB_ROLLOVER1', 'images/index_03.gif', 'images/index_03_on.gif');
HpbImgPreload('_HPB_ROLLOVER2', 'images/index_05.gif', 'images/index_05_on.gif');
HpbImgPreload('_HPB_ROLLOVER3', 'images/index_07.gif', 'images/index_07_on.gif');
HpbImgPreload('_HPB_ROLLOVER4', 'images/index_09.gif', 'images/index_09_on.gif');
HpbImgPreload('_HPB_ROLLOVER5', 'images/index_11.gif', 'images/index_11_on.gif');
HpbImgPreload('_HPB_ROLLOVER6', 'images/menu_02.gif', 'images/menu_02_on.gif');
HpbImgPreload('_HPB_ROLLOVER7', 'images/menu_04.gif', 'images/menu_04_on.gif');
HpbImgPreload('_HPB_ROLLOVER8', 'images/menu_06.gif', 'images/menu_06_on.gif');
HpbImgPreload('_HPB_ROLLOVER9', 'images/menu_08.gif', 'images/menu_08_on.gif');
HpbImgPreload('_HPB_ROLLOVER10', 'images/menu_10.gif', 'images/menu_10_on.gif');
HpbImgPreload('_HPB_ROLLOVER11', 'images/menu_12.gif', 'images/menu_12_on.gif');
HpbImgPreload('_HPB_ROLLOVER12', 'images/index_19.gif', 'images/index_19_on.gif');
HpbImgPreload('_HPB_ROLLOVER13', 'images/index_21.gif', 'images/index_21_on.gif');
HpbImgPreload('_HPB_ROLLOVER24', 'images/index_29.gif', 'images/index_29_on.gif');

HpbImgPreload('_HPB_ROLLOVER14', 'images/menu_b_02.gif', 'images/menu_b_02_on.gif');
HpbImgPreload('_HPB_ROLLOVER15', 'images/menu_b_04.gif', 'images/menu_b_04_on.gif');
HpbImgPreload('_HPB_ROLLOVER16', 'images/menu_b_06.gif', 'images/menu_b_06_on.gif');
HpbImgPreload('_HPB_ROLLOVER17', 'images/menu_b_08.gif', 'images/menu_b_08_on.gif');


HpbImgPreload('_HPB_ROLLOVER18', 'images/menu_g_02.gif', 'images/menu_g_02_on.gif');
HpbImgPreload('_HPB_ROLLOVER19', 'images/menu_i_02.gif', 'images/menu_i_02_on.gif');

HpbImgPreload('_HPB_ROLLOVER20', 'images/menu_t_02.gif', 'images/menu_t_02_on.gif');
HpbImgPreload('_HPB_ROLLOVER21', 'images/menu_t_04.gif', 'images/menu_t_04_on.gif');
HpbImgPreload('_HPB_ROLLOVER22', 'images/menu_t_06.gif', 'images/menu_t_06_on.gif');
HpbImgPreload('_HPB_ROLLOVER23', 'images/menu_t_08.gif', 'images/menu_t_08_on.gif');
