
function setDisplay(target){
	var obj = setObj(target);
	if((document.getElementById || document.all) && obj.style) {
		obj.style.display = 'block';
		document.orderform.shiharaicheck.value = "1";
	}
}


function clsDisplay(target){
	var obj = setObj(target);
	if((document.getElementById || document.all) && obj.style) {
		obj.style.display = 'none';
		document.orderform.haisou2.value = haisouno2array[Number(0)];//振込先を消去
		document.orderform.shiharaicheck.value = "0";
	}
}

function setObj(id) {
	if(document.all) {
		return document.all(id);
	}
	else if(document.getElementById) {
		return document.getElementById(id);
	}
	else if(document.layers) {
		return document.layers[id];
	}
	return false;
}


function reset_confirm() {
 var c = confirm("フォームの内容を消去してもよろしいですか？");
 return c;
}



function consent_check() {
   if (document.disatest.consent[0].checked == true)
      document.disatest.btn.disabled = false;
   else 
      document.disatest.btn.disabled = true;
}


function fncMenuOver( Element ){var elmMenu = null;var elmList = null;try{if( Element.all ){elmMenu=Element.all.item("ddmMenu");elmList=Element.all.item("ddmList");}else if( Element.childNodes ){elmMenu=Element.childNodes.item(0);if( Element.childNodes.length > 1 ){elmList=Element.childNodes.item(1);}}if( elmMenu != null ){with( elmMenu.style ){color='#cccccc';backgroundColor='#3700f7';fontWeight='bold';fontStyle='normal';textDecoration='none';borderColor='';borderStyle='none';}}if( elmList != null ){elmList.style.visibility='visible';}}catch( exception ){alert( exception.message );}}function fncMenuOut( Element ){var elmMenu = null;var elmList = null;try{if( Element.all ){elmMenu=Element.all.item("ddmMenu");elmList=Element.all.item("ddmList");}else if( Element.childNodes ){elmMenu=Element.childNodes.item(0);if( Element.childNodes.length > 1 ){elmList=Element.childNodes.item(1);}}if( elmMenu != null ){with( elmMenu.style ){color='#cccccc';backgroundColor='#1c1c1c';fontWeight='bold';fontStyle='normal';textDecoration='none';borderColor='#1c1c1c';borderStyle='double';}}if( elmList != null ){elmList.style.visibility='hidden';}}catch( exception ){alert( exception.message );}}function fncListOver( Element ){with( Element.style ){borderColor='';borderStyle='none';}}function fncListOut( Element ){with( Element.style ){borderColor='#1c1c1c';borderStyle='double';}}function fncItemOver( Element ){with( Element.style ){color='#cccccc';backgroundColor='#3700f7';fontWeight='bold';fontStyle='normal';textDecoration='none';}}function fncItemOut( Element ){with( Element.style ){color='#cccccc';backgroundColor='#1c1c1c';fontWeight='bold';fontStyle='normal';textDecoration='none';}}

/* ==================================
 openWindow
================================== */
function openWindow(url, name, width, height, features, centering){
	var feature = (width ? ("width=" + width) : "") + (height ? (",height=" + height) : "");
	var featureNames = ["menubar", "toolbar", "location", "scrollbars", "status", "resizable"];
	if (features) {

	}
	return window.open (url, name, feature);
}

/* ==================================
 openMapWindow
================================== */
function openMapWindow(url){
	return openWindow (url, "RecruitAgentMapWindow", 520, 538, "000110", true);
}


<!--HPB_SCRIPT_ROV_50
//
//  Licensed Materials - Property of IBM
//  5724D51
//  (C) Copyright IBM Corp. 1995, 2002 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;
//-->