<!--
//===========================================================
// 直イメージ変更関数:jpg
// Netscape 4.xには未対応：imgタグにonMouseイベントが無い為
//===========================================================
function	srChangeMyself(obj, path, name, onoff)
{
	if( onoff == 'on' ) {
		obj.src = "/top/" + path + "/images/" + name + "_a.jpg";
	}
	else {
		obj.src = "/top/" + path + "/images/" + name + "_s.jpg";
	}
}


//===========================================================
// 直イメージ変更関数:gif
// Netscape 4.xには未対応：imgタグにonMouseイベントが無い為
//===========================================================
function	gsrChangeMyself(obj, path, name, onoff)
{
	if( onoff == 'on' ) {
		obj.src = "/top/" + path + "/images/" + name + "_a.gif";
	}
	else {
		obj.src = "/top/" + path + "/images/" + name + "_s.gif";
	}
}


//===========================================================
// 直イメージ変更関数:jpg（ファイル指定・汎用）
// Netscape 4.xには未対応：imgタグにonMouseイベントが無い為
// Created : (2003-07-10) MUKAS
//===========================================================
function	imgChangeMyself(obj, path, name, id)
{
	obj.src = path + "/images/" + name + "_" + id + ".jpg";
}


//===========================================================
// 直イメージ変更関数:gif（ファイル指定・汎用）
// Netscape 4.xには未対応：imgタグにonMouseイベントが無い為
// Created : (2003-07-10) MUKAS
//===========================================================
function	gimgChangeMyself(obj, path, name, id)
{
	obj.src = path + "/images/" + name + "_" + id + ".gif";
}


//===========================================================
// 直イメージ変更関数（ファイル指定・汎用）
// Netscape 4.xには未対応：imgタグにonMouseイベントが無い為
// Created : (2003-07-10) sugiyu
//===========================================================
function	aimgChangeMyself(obj, path, name)
{
	obj.src = path + "/images/" + name;
}


//===========================================================
// ウィンドウを開く（オープナー判定）
// Created : (2003-07-10) MUKAS
//===========================================================
function	OpenOpener(opnr, url, name)
{
	if( ( opnr == undefined ) || ( opnr.closed ) ){
		var NewWin;
		NewWin = window.open( url, name );
		NewWin.focus();
	}
	else{
		opnr.location.href = url;
		opnr.focus();
	}
}

//===========================================================
// ウィンドウを開く
// Created : (2003-07-23) MUKAS
//===========================================================
function	OpenWindowNormal(url, name, wid, hei)
{
	wid += 31;
	hei += 134;

	var NewWin;
	var WinStt = "scrollbars=yes,directories=yes,location=yes,status=yes,resizable=yes,toolbar=yes,menubar=yes,width=" + wid;
	WinStt += ",height=" + hei + ",screenX=20, screenY=20,left=20,top=20";
	NewWin = window.open( url, name, WinStt );
}

//===========================================================
// ウィンドウを開く
// Created : (2003-07-23) Sugiyu
//===========================================================
function	OpenWindowNotState(url, name, wid, hei)
{
	wid += 0;
	hei += 3;

	var NewWin;
	var WinStt = "scrollbars=yes,directories=no,location=no,status=no,resizable=yes,toolbar=no,menubar=no,width=" + wid;
	WinStt += ",height=" + hei + ",screenX=20, screenY=20,left=20,top=20";
	NewWin = window.open( url, name, WinStt );

	NewWin.focus();
}

//===========================================================
// ウィンドウを開く（新規：サイズ指定）
// Created : (2003-07-18) MUKAS
//===========================================================
function	OpenWindowResize(url, name, wid, hei)
{
	wid += 12;
	hei += 132;

	var NewWin;
	var WinStt = "scrollbars=no,directories=yes,location=yes,status=yes,resizable=yes,toolbar=yes,menubar=yes,width=" + wid;
	WinStt += ",height=" + hei + ",screenX=20, screenY=20,left=16,top=16";
	NewWin = window.open( url, name, WinStt );
}


//===========================================================
// ウィンドウを開く（新規：サイズ指定：簡素ウィンドウ）
// Created : (2003-07-18) MUKAS
//===========================================================
function	OpenWindowResizePure(url, name, wid, hei)
{
	var NewWin;
	var WinStt = "scrollbars=no,directories=no,location=no,status=no,resizable=no,toolbar=no,menubar=no,width=" + wid;
	WinStt += ",height=" + hei + ",screenX=20, screenY=20,left=16,top=16";
	NewWin = window.open( url, name, WinStt );
}

//===========================================================
// ウィンドウを開く（新規：サイズ指定：簡素ウィンドウ）+スクロールバー
//===========================================================
function	OpenWindowResizePureAddScroll(url, name, wid, hei)
{
	var NewWin;
	var WinStt = "scrollbars=yes,directories=no,location=no,status=no,resizable=no,toolbar=no,menubar=no,width=" + wid;
	WinStt += ",height=" + hei + ",screenX=20, screenY=20,left=16,top=16";
	NewWin = this.window.open( url, name, WinStt );
}


//===========================================================
// ウィンドウを閉じる（オープナーにフォーカス当てる）
// Created : (2003-07-18) MUKAS
//===========================================================
function	CloseWindowAndFocus2Opener(opnr, self )
{
	if( ( self != undefined ) && !( self.closed ) ){
		self.close();
	}

	if( ( opnr != undefined ) && !( opnr.closed ) ){
		opnr.focus();
	}
}

//===========================================================
// 直イメージ変更関数 : （ファイル直接指定・汎用）
// Created : (2003-11-13) MUKAS  from FS-SITE.
//===========================================================
function imgCRR(path, id, name)
{
	if( id == "" ) { return; }
	document.images[ id ].src = path + "/images/" + name;
}
function imgChangeRemoteR(path, id, name)
{
	imgCRR(path, id, name);
}


-->
