<!--HPB_SCRIPT_ROV_50
//
//  Licensed Materials - Property of IBM
//  5724I83
//  (C) Copyright IBM Corp. 1995, 2004 All Rights Reserved.
//

// 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;

function openCatalog( strURL ) {
  var screen_width = 1014;
  var screen_height = 580;
  strFeatures = "left=0,top=0,width=" + screen_width + ",height=" + screen_height + ",";
  strFeatures += "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no";

  windowname=window.open( strURL, "DBookWin", strFeatures );
  windowname.focus();
  return;
 }
function face( strURL ) {
  var screen_width = 1014;
  var screen_height = 640;
  strFeatures = "left=0,top=0,width=" + screen_width + ",height=" + screen_height + ",";
  strFeatures += "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no";

  windowname=window.open( strURL, "face", strFeatures );
  windowname.focus();
  return;
 }
function homerug( strURL ) {
  var screen_width = 1014;
  var screen_height = 650;
  strFeatures = "left=0,top=0,width=" + screen_width + ",height=" + screen_height + ",";
  strFeatures += "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no";

  windowname=window.open( strURL, "homerug", strFeatures );
  windowname.focus();
  return;
 }

function openCatalogF( strURL ) {
  var screen_width = 1014;
  var screen_height = 700;
  strFeatures = "left=0,top=0,width=" + screen_width + ",height=" + screen_height + ",";
  strFeatures += "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no";

  windowname=window.open( strURL, "DBook2Win", strFeatures );
  windowname.focus();
  return;
 }
function openCatalog_mode( strURL ) {
  var screen_width = 1014;
  var screen_height = 560;
  strFeatures = "left=0,top=0,width=" + screen_width + ",height=" + screen_height + ",";
  strFeatures += "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no";

  windowname=window.open( strURL, "DBook2Win", strFeatures );
  windowname.focus();
  return;
 }
  

function openInfo( strURL ) {
  windowname=window.open(strURL, "new");
  windowname.focus();
  return;
  
}

//-->

