// JavaScript Document

/* ---------------------------------------------- */
/* オブジェクトの取得                       * LIB */
/* ---------------------------------------------- */
function getObj(objName) {
	var obj = document.all && document.all(objName) || document.getElementById && document.getElementById(objName);
	if (obj) {
		return obj;
	} else {
		var newObj = new Object();
		return newObj;
	}
}


/* ---------------------------------------------- */
/* オブジェクトの表示非表示                 * LIB */
/* ---------------------------------------------- */
function changeDisplay(objName,flag) {
	var obj = getObj(objName);
	obj.style.display = flag;
}


/* ---------------------------------------------- */
/* サブメニュー表示設定                           */
/* ---------------------------------------------- */
function menuSubIndi(objName) {
/*	var menuSub_array = new Array("menuSub1", "menuSub2", "menuSub3");
	for ( i=0; i<3; i++ ) {
		var objMenuSub = getObj(menuSub_array[i]);
		if ( menuSub_array[i] == objName ) {
			objMenuSub.style.display = "block";
		} else {
			objMenuSub.style.display = "none";
		}
	}*/
}


/* ---------------------------------------------- */
/* ブラウザウィンドウを開く                       */
/* ---------------------------------------------- */
function openBrWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
}
