function EnergyInfoAddress(){
	var address="energy-info&#64;m&#46;aist&#46;go&#46;jp";
	document.write(address.link("mailto&#58;" + address));
}

function ShowInAnotherWindow( sourceurl ){
// same as <a href="sourceurl" target="AnotherWindow">xxx</a> 
// except that AnotherWindows comes into focus.  

// *** usage ***
//	<a href="./index_e.htm" target="AnotherWindow" 
//		onclick="ShowInAnotherWindow('./index_e.htm');" 
//		onKeyPress="ShowInAnotherWindow('./index_e.htm';)"
//		>show English version in another window</a>

	var app = navigator.appName.charAt(0);
	var ver = navigator.appVersion.charAt(0);
	var blankpage ='../common/blankpage.htm';

	if ( (app == "N" && ver > 2 ) ||( app == "M"  &&  ver > 3 ) ){
		if ( !AnotherWindow ){
			var AnotherWindow = window.open("", "AnotherWindow", "toolbar=yes,location=yes,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=500,height=400");
		}
		if ( AnotherWindow != null ){
			if ( app == "M"  &&  ver == 4 ){
				AnotherWindow.location.href = blankpage;
			}
			AnotherWindow.location.href = sourceurl;
			AnotherWindow.focus();
		}
		return false;
	} else {
		return true;
	}
}


function RE2010Address(){
	var address = "re2010&#64;m&#46;aist&#46;go&#46;jp";
	document.write(address.link("mailto&#58;" + address));
}


