//　header menu ++++++++++++++++++++++++++++++++++++++++++++++++++++++//

function onMhead(pas,no) {
	document.images["ist_" + no].src="" + pas + "/lib_img/h_m_btn" + no + "on.gif";
}

function offMhead(pas,no) {
	document.images["ist_" + no].src="" + pas + "/lib_img/h_m_btn" + no + "of.gif";
}
//　csr ++++++++++++++++++++++++++++++++++++++++++++++++++++++//

function onMcsr(pas,no) {
	document.images["ist_" + no].src="" + pas + "/corporate/images/c_pdf" + no + "on.gif";
}

function offMcsr(pas,no) {
	document.images["ist_" + no].src="" + pas + "/corporate/images/c_pdf" + no + "of.gif";
}
//　2nd header menu ++++++++++++++++++++++++++++++++++++++++++++++++++//

function onMsec(no) {
	document.images["snd_" + no].src="/lib_img/pt_btn_" + no + "on.gif";
}

function offMsec(no) {
	document.images["snd_" + no].src="/lib_img/pt_btn_" + no + "of.gif";
}

//　left menu ++++++++++++++++++++++++++++++++++++++++++++++++++++++++//

function onMtxt(obj) {
obj.style.color = "#000000";
obj.style.textDecoration = "underline";
}

function ofMtxt(obj) {
obj.style.color = "#555555";
obj.style.textDecoration = "none";
}

//　mouseover ++++++++++++++++++++++++++++++++++++++++++++++++++++++++//
//　汎用ver

function onMimg(mid,mimg) {
	document.images[mid].src= mimg;
}

function offMimg(mid,mimg) {
	document.images[mid].src= mimg;
}

//　open window ++++++++++++++++++++++++++++++++++++++++++++++++++++++//
//　窓サイズ、ファイル等、別指定ver

function callWin(winURL,w,h,opt) {
	o = opt;
	if (o == '') o = ',' + o;
	win = window.open(winURL,"popWin",'width=' + w + ',height=' + h + o);
	win.focus();

	//　winURL：呼び出し先HTMLファイル名
	//　w	：open window の横幅
	//　h	：open window の縦幅

}

/*　---- option ----------------------------------------------------- >>
 *
 *　↑の別ウィンドウは全て、スクロールバー等なし、リサイズ不可なので、
 *　必要な場合は以下を付加する。
 *　・resizable=yes / no	リサイズの可否
 *　・scrollbars=yes / no	スクロールバーの表示・非表示
 *　・toolbar=yes / no		ツールバーの表示・非表示
 *　・status=yes / no		ステータスバーの表示・非表示
 *　・location=yes / no		ロケーションバーの表示・非表示
 *　［記述例］win = window.open(winURL, "","height=300,width=300,resizable=yes,scrollbars=yes");
 *
 */
 
//　フラッシュブック ++++++++++++++++++++++++++++++++++++++++++++++++++//

function openWindowB(clocation, wNo) {
	var wName;
	wName="win"+wNo;
	var scriptwin=window.open(clocation, wName, 'width=940,height=675,location=no,status=no,scrollbars=yes,directories=no,menubar=no,resizable=no,toolbar=no,left=0,top=0');
}

//　CM ++++++++++++++++++++++++++++++++++++++++++++++++++//

function openWindowCM(winURL,w,h,opt) {
	o = opt;
	if (o == '') o = ',' + o;
	win = window.open(winURL,"popWin","height=340,width=340,resizable=no,scrollbars=no,toolbar=no,status=no,location=yes,left=0,top=0");
	win.focus();
}

//　株主総会 ++++++++++++++++++++++++++++++++++++++++++++++++++//

function openWindowIV(winURL,w,h,opt) {
	o = opt;
	if (o == '') o = ',' + o;
	win = window.open(winURL,"popWin","height=280,width=260,resizable=no,scrollbars=no,toolbar=no,status=no,location=yes,left=0,top=0");
	win.focus();
}
function openWindowVI(winURL,w,h,opt) {
	o = opt;
	if (o == '') o = ',' + o;
	win = window.open(winURL,"popWin","height=450,width=500,resizable=no,scrollbars=no,toolbar=no,status=no,location=yes,left=0,top=0");
	win.focus();
}