if (self.location.href != window.location.href) {	window.location.href = self.location.href;}function scrollToPageTop () {	if (window.scrollTo) {		//window.scrollTo (0, 0);		jumpToPageTop();		return false;	} else {		return true;	}}//==============================================================================//jumpToPageTo//==============================================================================/* OS判別 */var Mac = navigator.appVersion.indexOf('Mac',0) != -1;var Win = navigator.appVersion.indexOf('Win',0) != -1;var IE  = navigator.appName.indexOf("Microsoft Internet Explorer",0) != -1;var NN  = navigator.appName.indexOf("Netscape",0) != -1;var Moz = navigator.userAgent.indexOf("Gecko") != -1;var Vmajor = parseInt(navigator.appVersion); // ex. 3var Vminor = parseFloat(navigator.appVersion); // ex. 3.01var WinIE = (Win && IE);var MacIE5 = ((Mac && navigator.appVersion.indexOf('MSIE 5',0) != -1) || (Mac && IE && VER > 4));var MacIE4 = ((Mac && navigator.appVersion.indexOf('MSIE 4.',0) != -1));var MacIE3 = ((Mac && navigator.appVersion.indexOf('MSIE 3.',0) != -1));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 getScrollLeft() { // 020225 if ((navigator.appName.indexOf("Microsoft Internet Explorer",0) != -1)) {  return document.body.scrollLeft; } else if (window.pageXOffset) {  return window.pageXOffset; } else {  return 0; }}function getScrollTop() { // 020225 if ((navigator.appName.indexOf("Microsoft Internet Explorer",0) != -1)) {  return document.body.scrollTop; } else if (window.pageYOffset) {  return window.pageYOffset; } else {  return 0; }}function getScrollWidth() { // 010317 if ((navigator.appName.indexOf("Microsoft Internet Explorer",0) != -1)) {  return document.body.scrollWidth; } else if (window.innerWidth) {  return window.innerWidth; } return 0;}function getScrollHeight() { // 010317 if ((navigator.appName.indexOf("Microsoft Internet Explorer",0) != -1)) {  return document.body.scrollHeight; } else if (window.innerHeight) {  return window.innerHeight; } return 0;}function toHex(_int) { if (i < 0) {  return '00'; } else if (_int > 255) {  return 'ff'; } else {  return '' + hexbox[Math.floor(_int/16)] + hexbox[_int%16]; }}var pageScrollTimer;function pageScroll(toX,toY,frms,cuX,cuY) { // 020314 if (pageScrollTimer) clearTimeout(pageScrollTimer); if (!toX || toX < 0) toX = 0; if (!toY || toY < 0) toY = 0; if (!cuX) cuX = 0 + getScrollLeft(); if (!cuY) cuY = 0 + getScrollTop(); if (!frms) frms = 6; if (toY > cuY && toY > (getAnchorPosObj('end','enddiv').y) - getInnerSize().height) toY = (getAnchorPosObj('end','enddiv').y - getInnerSize().height) + 1; cuX += (toX - getScrollLeft()) / frms; if (cuX < 0) cuX = 0; cuY += (toY - getScrollTop()) / frms;  if (cuY < 0) cuY = 0; var posX = Math.floor(cuX); var posY = Math.floor(cuY); window.scrollTo(posX, posY); if (posX != toX || posY != toY) {  pageScrollTimer = setTimeout("pageScroll("+toX+","+toY+","+frms+","+cuX+","+cuY+")",16); }}function jumpToPageTop() { // 020301// if (!MacIE3 && !MacIE4 && !NN && window.scrollTo || NN && (Vminor >= 4.75) && window.scrollTo) {  pageScroll(0,0,5);// } else {//  location.hash = "top";// }}function getInnerSize() { var obj = new Object(); if (document.all || (document.getElementById && IE)) {  obj.width = document.body.clientWidth;  obj.height = document.body.clientHeight; } else if (document.layers || (document.getElementById && Moz)) {  obj.width = window.innerWidth;  obj.height = window.innerHeight; } return obj;}function getAnchorPosObj(elementname, elementid) { var obj = setObj(elementname); var objnew = new Object(); var objtmp; if (document.getElementById && IE) {  objtmp = obj;   objnew.x = objtmp.offsetLeft;  objnew.y = objtmp.offsetTop; while ((objtmp = objtmp.offsetParent) != null) {   objnew.x += objtmp.offsetLeft;   objnew.y += objtmp.offsetTop;  } } else if (document.getElementById && Moz) {//  objnew.x = document.getElementsByTagName("A").namedItem(elementname).offsetLeft;//  objnew.y = document.getElementsByTagName("A").namedItem(elementname).offsetTop;  objnew.x = document.getElementsByTagName("DIV").namedItem(elementid).offsetLeft;  objnew.y = document.getElementsByTagName("DIV").namedItem(elementid).offsetTop; } else if (document.all) {  objtmp = obj;  objnew.x = objtmp.offsetLeft;  objnew.y = objtmp.offsetTop;  while ((objtmp = objtmp.offsetParent) != null) {   objnew.x += objtmp.offsetLeft;   objnew.y += objtmp.offsetTop;  } } else if (document.layers) {  objnew.x = document.anchors[elementname].x;  objnew.y = document.anchors[elementname].y; } else {  objnew.x = 0;  objnew.y = 0; } return objnew;}function jumpToAnchor(elementname, elementid) { if (getAnchorPosObj(elementname, elementid).x != 0 || getAnchorPosObj(elementname, elementid).y != 0) {  pageScroll(0,getAnchorPosObj(elementname, elementid).y,5); } else {  location.hash = elementname; }}//==============================================================================//ポップアップウィンドウを開く（MUFG）//==============================================================================function Popup1(Link,breite,hoehe){var iMyWidth = (window.screen.width) - (breite + 80);var iMyHeight = (window.screen.height) - (hoehe + 150);var win_MUFGpop = window.open(Link ,"MUFGpop","toolbar=yes,location=yes,menubar=yes,status=yes,scrollbars=yes,resizable=yes,width=" + breite + ",height=" + hoehe + ",left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight);win_MUFGpop.focus();}function Popup_qa(Link){breite=800;hoehe=600;var iMyWidth = (window.screen.width) - (breite + 80);var iMyHeight = (window.screen.height) - (hoehe + 150);var win_MUFGpop_qa = window.open(Link ,"MUFGpop_qa","toolbar=yes,location=yes,menubar=yes,status=yes,scrollbars=yes,resizable=yes,width=" + breite + ",height=" + hoehe + ",left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight);win_MUFGpop_qa.focus();}//--------------------------------------------------------------------------------//初回登録用ポップアップfunction Popup_syokai(Link){breite=800;hoehe=600;var iMyWidth = (window.screen.width) - (breite + 80);var iMyHeight = (window.screen.height) - (hoehe + 150);var win_MUFGpop_syokai = window.open(Link ,"MUFGpop_syokai","toolbar=no,scrollbars=yes,status=yes,resizable=yes,menubar=yes,location=yes,width=" + breite + ",height=" + hoehe + ",left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight);win_MUFGpop_syokai.focus();}//------------------------------------------------------------------------------//ポップアップウィンドウからさらにポップアップウィンドウを開くためのものfunction Popup2(Link,breite,hoehe){var iMyWidth = (window.screen.width) - (breite + 80);var iMyHeight = (window.screen.height) - (hoehe + 150);window.open(Link ,"_blank","toolbar=yes,location=yes,menubar=yes,status=yes,scrollbars=yes,resizable=yes,width=" + breite + ",height=" + hoehe + ",left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight).focus();;}//------------------------------------------------------------------------------//==============================================================================//ポップアップウィンドウを開く（旧BTM）//==============================================================================function Popup_mb(Link,hoehe,breite){var iMyWidth = (window.screen.width) - (breite + 80);var iMyHeight = (window.screen.height) - (hoehe + 150);var win_mb = window.open(Link ,"BTMpop_mb","toolbar=yes,location=yes,menubar=yes,status=yes,scrollbars=yes,resizable=yes,width=" + breite + ",height=" + hoehe + ",left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight);win_mb.focus();}function Popup_news(Link,hoehe,breite){var iMyWidth = (window.screen.width) - (breite + 80);var iMyHeight = (window.screen.height) - (hoehe + 150);var win_news = window.open(Link ,"BTMpop_news","toolbar=yes,location=yes,menubar=yes,status=yes,scrollbars=yes,resizable=yes,width=" + breite + ",height=" + hoehe + ",left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight);win_news.focus();}function Popup_yakkan(Link,hoehe,breite){var iMyWidth = (window.screen.width) - (breite + 80);var iMyHeight = (window.screen.height) - (hoehe + 150);var win_yakkan = window.open(Link ,"BTMpop_yakkan","toolbar=yes,location=yes,menubar=yes,status=yes,scrollbars=yes,resizable=yes,width=" +breite + ",height=" + hoehe + ",left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight);win_yakkan.focus();}function Popup_tkc(Link,hoehe,breite){var iMyWidth = (window.screen.width) - (breite + 80);var iMyHeight = (window.screen.height) - (hoehe + 150);var win_tkc = window.open(Link ,"BTMpop_tkc","toolbar=yes,location=yes,menubar=yes,status=yes,scrollbars=yes,resizable=yes,width=" + breite + ",height=" + hoehe + ",left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight);win_tkc.focus();}function Popup_tkc2(Link,hoehe,breite){var iMyWidth = (window.screen.width) - (breite + 80);var iMyHeight = (window.screen.height) - (hoehe + 150);var win_tkc2 = window.open(Link ,"BTMpop_tkc2","toolbar=yes,location=yes,menubar=yes,status=yes,scrollbars=yes,resizable=yes,width=" +breite + ",height=" + hoehe + ",left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight);win_tkc2.focus();}function Popup_glossary(Link,hoehe,breite){var iMyWidth = (window.screen.width) - (breite + 80);var iMyHeight = (window.screen.height) - (hoehe + 150);var win_glossary = window.open(Link ,"BTMpop_glossary","toolbar=yes,location=yes,menubar=yes,status=yes,scrollbars=yes,resizable=yes,width=" + breite + ",height=" + hoehe + ",left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight);win_glossary.focus();}function Popup_biztour(Link,hoehe,breite){var iMyWidth = (window.screen.width) - (breite + 80);var iMyHeight = (window.screen.height) - (hoehe + 150);var win_glossary = window.open(Link ,"BTMpop_biztour","toolbar=yes,location=yes,menubar=yes,status=yes,scrollbars=yes,resizable=yes,width=" + breite + ",height=" + hoehe + ",left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight);win_glossary.focus();}//==============================================================================//ポップアップウィンドウを開く（旧UFJ）//==============================================================================function open_popup(wURL,wName,wOption){	newwin = window.open(wURL,wName,wOption);	newwin.focus();}// ポップアップで開かれた子ウィンドウから親を呼び出す関数// update 2004.01.06 // Makoto Tanaka EDGE Co.,Ltd. makoto@edge.jpfunction oya_change(url){	ua = getnavi();		if (ua[0] != 'safari'){		oya = window.open( url, 'OYA', 'toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes' );	}	else {		oya = window.opener;		if (oya == NULL){			oya = window.open( url, 'OYA', 'toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes' );		}		else {			oya.location.href = url;		}	}	if ((ua[0] == 'IE') && (ua[3].indexOf("5") > -1)) {		self.blur();	} else {		oya.focus();	}}//------------------------------------------------------------------------------//　　　ポップアップウィンドウ作成用関数//        N_createSubWindow:横幅の指定がない場合には、400pxのサイズでポップアップを開くための関数。//------------------------------------------------------------------------------function N_createSubWindow(N_win_url, N_window_width){	if(!(N_window_width!=null)){		N_window_width=600;	}	var N_window_name='UFJBK_POPUP';	var p_win = window.open(N_win_url,N_window_name,'resizable=yes,menubar=yes,toolbar=yes,directories=no,status=yes,location=yes,scrollbars=yes,height=400,width='+N_window_width);	p_win.focus();}//------------------------------------------------------------------------------//　　　ポップアップウィンドウ作成用関数//        2001.5.4 Edit by Yasushi Mochizuki//        N_createSubWindow:横幅の指定がない場合には、400pxのサイズでポップアップを//                       開くための関数。//------------------------------------------------------------------------------//　　　ポップアップウィンドウ（URLが表示されるバーを表示させる）//	2003.2.14//	N_createSubWindow_popup2:N_createSubWindowをロケーション（URL）//					を表示して開くための関数。　　	//------------------------------------------------------------------------------function N_createSubWindow_popup2(N_win_url, N_window_width){	if(!(N_window_width!=null)){		N_window_width=600;	}	var N_window_name='UFJBK_POPUP2';	window.open(N_win_url,N_window_name,'resizable=yes,menubar=yes,toolbar=yes,directories=no,status=yes,location=yes,scrollbars=yes,height=400,width='+N_window_width);}//------------------------------------------------------------------------------//　　　ポップアップウィンドウ作成用関数//        2001.5.4 Edit by Yasushi Mochizuki//        N_createSubWindow:横幅の指定がない場合には、400pxのサイズでポップアップを//                       開くための関数。//------------------------------------------------------------------------------//　　　ポップアップウィンドウからさらにポップアップさせる//	　　　2003.2.25//	N_createSubWindow_popup3:ウインドウ名を変えることで対応//　　	//------------------------------------------------------------------------------function N_createSubWindow_popup3(N_win_url, N_window_width){	if(!(N_window_width!=null)){		N_window_width=600;	}	var N_window_name='UFJBK_POPUP3';	window.open(N_win_url,N_window_name,'resizable=yes,menubar=yes,toolbar=yes,directories=no,status=yes,location=yes,scrollbars=yes,height=400,width='+N_window_width);}//==============================================================================//ロールオーバー（旧BTM）//==============================================================================function preimg(){var loadcomp = false;	var preload = new Array();	for(i = 0 ; i < preloadlist.length ; i++) {		preload[i] = new Image();		preload[i].src = preloadlist[i];	}	loadcomp = true;}function chgimg(target,filename){	document.images[target].src = filename;}//==============================================================================//ウィンドウネーム（ポップアップ）//==============================================================================window.name = "subview";