function tabbar()
{
document.write('<table cellpadding="0" cellspacing="0" border="0"><tr>');
document.write('<td>');
document.write('<a href="/en/aboutus/homepage.htm" target="_self">'); 
	if (isCurrent("/en/aboutus/homepage.htm")) {
		document.write('<img src="/img/millea/japan-banner_about_us_on_tcm158-3378.gif" title="About Us" alt="About Us" border="0">');
		} else {
		document.write('<img src="/img/millea/japan-banner_about_us_off_tcm158-3379.gif" title="About Us" alt="About Us" border="0">');
		} 
document.write('</a>');document.write('</td>');
document.write('<td>');
document.write('<a href="/en/corporate/corporate.htm" target="_self">'); 
	if (isCurrent("/en/corporate/corporate.htm")) {
		document.write('<img src="/img/millea/japan-banner_corporate_on_tcm158-3380.gif" title="Corporate Clients" alt="Corporate Clients" border="0">');
		} else {
		document.write('<img src="/img/millea/japan-banner_corporate_off_tcm158-3381.gif" title="Corporate Clients" alt="Corporate Clients" border="0">');
		} 
document.write('</a>');document.write('</td>');
document.write('<td>');
document.write('<a href="/en/individuals/individuals.htm" target="_self">'); 
	if (isCurrent("/en/individuals/individuals.htm")) {
		document.write('<img src="/img/millea/japan-banner_individuals_on_tcm158-3382.gif" title="Individuals" alt="Individuals" border="0">');
		} else {
		document.write('<img src="/img/millea/japan-banner_individuals_of_tcm158-3383.gif" title="Individuals" alt="Individuals" border="0">');
		} 
document.write('</a>');document.write('</td>');
document.write('<td>');
document.write('<a href="/en/partners/partners.htm" target="_self">'); 
	if (isCurrent("/en/partners/partners.htm")) {
		document.write('<img src="/img/millea/japan-banner_partners_on_tcm158-3385.gif" title="Partners & Friends" alt="Partners & Friends" border="0">');
		} else {
		document.write('<img src="/img/millea/japan-banner_partners_off_tcm158-3384.gif" title="Partners & Friends" alt="Partners & Friends" border="0">');
		} 
document.write('</a>');document.write('</td>');
//#
document.write('</tr></table>');
}

function isCurrent(sUrl)
{

currentUrl = document.location.href;
currentPath = currentUrl.substr(0,currentUrl.lastIndexOf('/')+1);
sUrlPath = sUrl.substr(0,sUrl.lastIndexOf('/')+1);
sStartingFolder = '/aboutus/'

if (currentUrl.indexOf(sUrlPath) > 0)
	{
	return true
	}
	else
	{
	return false
	}
}