//#
function rollover(){
		if(document.getElementById || document.all){
			arguments[0].className = 'lhsmenuOn'
		}
	}
function rolloff(){
	if(document.getElementById || document.all){
		arguments[0].className = 'lhsmenu'
		}
	}
function leftmenu(){ 
var menu=new Array();
var lienmenu=new Array();
var bulletmenu=new Array(); 
var ssmenuNom=new Array();
var ssmenuLien=new Array();
var ssmenuBullet=new Array();
menu[0]="Products & Services";
lienmenu[0]="/en/aboutus/products.htm";
bulletmenu[0]=""; 
ssmenuNom[0]=new Array();
ssmenuLien[0]=new Array();
ssmenuBullet[0]=new Array(); 
ssmenuNom[0][0]="Travel Insurance";
ssmenuLien[0][0]="/en/aboutus/products/travel_insurance.htm";
ssmenuBullet[0][0]=""; 
ssmenuNom[0][1]="Automotive services";
ssmenuLien[0][1]="/en/aboutus/products/automotive_services.htm";
ssmenuBullet[0][1]=""; 
ssmenuNom[0][2]="Health Insurance";
ssmenuLien[0][2]="/en/aboutus/products/health_insurance.htm";
ssmenuBullet[0][2]=""; 
ssmenuNom[0][3]="Health Assistance";
ssmenuLien[0][3]="/en/aboutus/products/health_assistance.htm";
ssmenuBullet[0][3]=""; 
ssmenuNom[0][4]="Property Assistance";
ssmenuLien[0][4]="/en/aboutus/products/property_assistance.htm";
ssmenuBullet[0][4]=""; 
menu[1]="Our Network";
lienmenu[1]="/en/aboutus/network.htm";
bulletmenu[1]=""; 
ssmenuNom[1]=new Array();
ssmenuLien[1]=new Array();
ssmenuBullet[1]=new Array(); 
menu[2]="Press Releases";
lienmenu[2]="/en/aboutus/pressreleases.htm";
bulletmenu[2]=""; 
ssmenuNom[2]=new Array();
ssmenuLien[2]=new Array();
ssmenuBullet[2]=new Array(); 
menu[3]="True Stories";
lienmenu[3]="/en/aboutus/stories.htm";
bulletmenu[3]=""; 
ssmenuNom[3]=new Array();
ssmenuLien[3]=new Array();
ssmenuBullet[3]=new Array(); 
ssmenuNom[3][0]="May 2009";
ssmenuLien[3][0]="/en/aboutus/truestories/may2009/";
ssmenuBullet[3][0]=""; 
ssmenuNom[3][1]="April 2009";
ssmenuLien[3][1]="/en/aboutus/truestories/april2009/";
ssmenuBullet[3][1]=""; 
ssmenuNom[3][2]="February 2009";
ssmenuLien[3][2]="/en/aboutus/truestories/february2009/";
ssmenuBullet[3][2]=""; 
ssmenuNom[3][3]="January 2009";
ssmenuLien[3][3]="/en/aboutus/truestories/january2009/";
ssmenuBullet[3][3]=""; 
ssmenuNom[3][4]="December 2008";
ssmenuLien[3][4]="/en/aboutus/truestories/december2008/";
ssmenuBullet[3][4]=""; 
ssmenuNom[3][5]="November 2008";
ssmenuLien[3][5]="/en/aboutus/truestories/november2008/";
ssmenuBullet[3][5]=""; 
ssmenuNom[3][6]="October 2008";
ssmenuLien[3][6]="/en/aboutus/truestories/october2008/";
ssmenuBullet[3][6]=""; 
ssmenuNom[3][7]="September 2008";
ssmenuLien[3][7]="/en/aboutus/truestories/september2008/";
ssmenuBullet[3][7]=""; 
ssmenuNom[3][8]="August 2008";
ssmenuLien[3][8]="/en/aboutus/truestories/august2008/";
ssmenuBullet[3][8]=""; 
ssmenuNom[3][9]="July 2008";
ssmenuLien[3][9]="/en/aboutus/truestories/july2008/";
ssmenuBullet[3][9]=""; 
ssmenuNom[3][10]="June 2008";
ssmenuLien[3][10]="/en/aboutus/truestories/june2008/";
ssmenuBullet[3][10]=""; 
ssmenuNom[3][11]="May 2008";
ssmenuLien[3][11]="/en/aboutus/truestories/may2008/";
ssmenuBullet[3][11]=""; 
ssmenuNom[3][12]="April 2008";
ssmenuLien[3][12]="/en/aboutus/truestories/april2008/";
ssmenuBullet[3][12]=""; 
ssmenuNom[3][13]="March 2008";
ssmenuLien[3][13]="/en/aboutus/truestories/march2008/";
ssmenuBullet[3][13]=""; 
ssmenuNom[3][14]="February 2008";
ssmenuLien[3][14]="/en/aboutus/truestories/february2008/";
ssmenuBullet[3][14]=""; 
ssmenuNom[3][15]="January 2008";
ssmenuLien[3][15]="/en/aboutus/truestories/january2008/";
ssmenuBullet[3][15]=""; 
ssmenuNom[3][16]="December 2007";
ssmenuLien[3][16]="/en/aboutus/truestories/december2007/";
ssmenuBullet[3][16]=""; 
ssmenuNom[3][17]="November 2007";
ssmenuLien[3][17]="/en/aboutus/truestories/november2007/";
ssmenuBullet[3][17]=""; 
ssmenuNom[3][18]="October 2007";
ssmenuLien[3][18]="/en/aboutus/truestories/october2007/";
ssmenuBullet[3][18]=""; 
ssmenuNom[3][19]="September 2007";
ssmenuLien[3][19]="/en/aboutus/truestories/september2007/";
ssmenuBullet[3][19]=""; 
ssmenuNom[3][20]="August 2007";
ssmenuLien[3][20]="/en/aboutus/truestories/august2007/";
ssmenuBullet[3][20]=""; 
ssmenuNom[3][21]="July 2007";
ssmenuLien[3][21]="/en/aboutus/truestories/july2007/";
ssmenuBullet[3][21]=""; 
ssmenuNom[3][22]="June 2007";
ssmenuLien[3][22]="/en/aboutus/truestories/june2007/";
ssmenuBullet[3][22]=""; 
ssmenuNom[3][23]="May 2007";
ssmenuLien[3][23]="/en/aboutus/truestories/may2007/";
ssmenuBullet[3][23]=""; 
ssmenuNom[3][24]="April 2007";
ssmenuLien[3][24]="/en/aboutus/truestories/april2007/";
ssmenuBullet[3][24]=""; 
menu[4]="Career Opportunities";
lienmenu[4]="/en/aboutus/career.htm";
bulletmenu[4]=""; 
ssmenuNom[4]=new Array();
ssmenuLien[4]=new Array();
ssmenuBullet[4]=new Array(); 
ssmenuNom[4][0]="Working at Mondial Assistance";
ssmenuLien[4][0]="/en/aboutus/career/working-at-mondial-assistance.htm";
ssmenuBullet[4][0]=""; 
ssmenuNom[4][1]="Staff Testimonials";
ssmenuLien[4][1]="/en/aboutus/career/staff-testimonials.htm";
ssmenuBullet[4][1]=""; 
ssmenuNom[4][2]="Employee Benefits";
ssmenuLien[4][2]="/en/aboutus/career/employee-benefits.htm";
ssmenuBullet[4][2]=""; 
ssmenuNom[4][3]="Current Opportunities";
ssmenuLien[4][3]="/en/aboutus/career/current-opportunities.htm";
ssmenuBullet[4][3]=""; 
menu[5]="Our Global Brand";
lienmenu[5]="/en/aboutus/brand.htm";
bulletmenu[5]=""; 
ssmenuNom[5]=new Array();
ssmenuLien[5]=new Array();
ssmenuBullet[5]=new Array(); 
menu[6]="About Our Company";
lienmenu[6]="/en/aboutus/aboutcompany.htm";
bulletmenu[6]=""; 
ssmenuNom[6]=new Array();
ssmenuLien[6]=new Array();
ssmenuBullet[6]=new Array(); 
menu[7]="About Our Group";
lienmenu[7]="/en/aboutus/aboutgroup.htm";
bulletmenu[7]=""; 
ssmenuNom[7]=new Array();
ssmenuLien[7]=new Array();
ssmenuBullet[7]=new Array(); 
menu[8]="Contact Us";
lienmenu[8]="/en/aboutus/contact.htm";
bulletmenu[8]=""; 
ssmenuNom[8]=new Array();
ssmenuLien[8]=new Array();
ssmenuBullet[8]=new Array(); 
//#
// the bullet image is selected according to the current URL
function highlightCurrentPage(toto){
			var bUnrollSubMenu
		
		if (location.href.toUpperCase().indexOf(toto.toUpperCase()) > 0  && toto != "#" ){
			// cas true pour la bullet
			bullet = '<IMG tcmuri="tcm:126-10316" SRC="/img/australia/red_menu_on_tcm126-10316.gif" width="8" height="8" border="0">';
			return true;
		} else {
			// cas false
			bullet = '<IMG tcmuri="tcm:126-3441" SRC="/img/australia/menu_off%5B1%5D_tcm126-3441.gif" width="8" height="8" border="0">';
			return false;
		}
	}

function highlightCurrentSubPage(toto){
			var bUnrollSubMenu
		
		if (location.href.toUpperCase().indexOf(toto.toUpperCase()) > 0  && toto != "#" ){
			// cas true pour la bullet
			subbullet = '<img src="/img/australia/red_menu_on_tcm126-10316.gif" width="7" height="7" border="0">';
			return true;			
		} else {
			// cas false
			subbullet = '<img src="/img/australia/menu_off%5B1%5D_tcm126-3441.gif" width="7" height="7" border="0">';
			// gestion des cas particuliers
			if (ExtraElvia(toto) == true)
				{
					subbullet = '<img src="/img/australia/red_menu_on_tcm126-10316.gif" width="7" height="7" border="0">';
					return true;
				}
			if (ExtraInfos(toto) == true)
				{
					subbullet = '<img src="/img/mondial_assistance_france_convergence/red_menu_on_tcm82-10316.gif" width="7" height="7" border="0">';
					return true;
				}
		}
	}

function ExtraElvia(tata)
	{
		elviaString1 = "/medfiles/"
		elviaString2 = "/infos/" ;
		elviaString3 = "/info.htm" ;
		
		if (tata.toUpperCase().indexOf(elviaString3.toUpperCase()) > 0   && (location.href.toUpperCase().indexOf(elviaString2.toUpperCase()) > 0 || location.href.toUpperCase().indexOf(elviaString1.toUpperCase()) > 0 ))
			{
				return true;
			}
	}

function ExtraInfos(tata)
	{
		infoString1 = "/tripdetail.htm";
		infoString2 = "/movedetail.htm";
		infoString3 = "/expatriatedetail.htm";
		infoString4 = "/practical_info.htm";
		
		if (tata.toUpperCase().indexOf(infoString4.toUpperCase()) > 0   && (location.href.toUpperCase().indexOf(infoString3.toUpperCase()) > 0 || location.href.toUpperCase().indexOf(infoString2.toUpperCase()) > 0 || location.href.toUpperCase().indexOf(infoString1.toUpperCase()) > 0 ))
			{
				return true;
			}
	}
	
function UnrollSubMenu(toto){

	// Commentaires Bernard :
	
	// attention : pour dérouler le sous-menu, il ne faut regarder que le path
	// sans inclure le nom du fichier
	
	// règles pour le déploiement du sous-menu :
	//	- ne pas être sur la homepage  : location.href.toUpperCase().indexOf("HOMEPAGE.HTM") < 0
	//	- être sur la page d'entrée de rubrique (ex Produits et services) : location.href.toUpperCase().indexOf(sPagePath.toUpperCase()) > 0
	//	- ou être sur une des sous pages (ex : scolarité)
	
	// NOTE : 	le plus difficile est de respecter la seconde règle en même temps que la troisième, car toutes les
	//			pages d'entrées se trouvent dans le même répertoire (on ne peut donc pas utiliser le chemin d'accès
	//			à la page d'entrée comme argument distinctif)
	
	// NOTE bis :	highlightCurrentSubPage(toto) TRUE sert à ne dérouler le sous menu que si l'on est dans la bonne rubrique
	//				et éviter de dérouler tous les sous-menus en même temps
	
	var iFileNamePosition = toto.lastIndexOf("/")
	var sPagePath = toto.substring(0,iFileNamePosition) + "/"
if (location.href.toUpperCase().indexOf(sPagePath.toUpperCase()) > 0  && toto != "#" && location.href.toUpperCase().indexOf("HOMEPAGE.HTM") < 0 && (highlightCurrentSubPage(toto)) ){
			return true
	}
}

//#
		document.write ('<table align="top" cellpadding="0" cellspacing="0" border="0">');
		document.write ('<tr>');
		document.write ('<td width="1"><img src="/img/australia/tranny_tcm126-3314.gif" width="1" height="1" border="0"></td>');
		document.write ('<td width="6"><img src="/img/australia/tranny_tcm126-3314.gif" width="6" height="1" border="0"></td>');
		document.write ('<td width="181"><p class="lhsmenuheadsimple"><a href="/en/aboutus/homepage.htm" target="_self" class="lhsmenuhead">About us</a></p></td>');
		document.write ('</tr>');
		document.write ('<tr>');
		document.write ('<td width="1" colspan="3"><img src="/img/australia/tranny_tcm126-3314.gif" width="1" height="4" border="0"></td>');
		document.write ('<tr>');
		document.write ('</table>');

	for (i = 0 ; i < menu.length; i++)
		{
		highlightCurrentPage(lienmenu[i]);
		document.write ('<table align="top" cellpadding="0" cellspacing="0" cols="5" border="0">');
		document.write ('<tr>');
		document.write ('<td width="1"><img src="/img/australia/tranny_tcm126-3314.gif" width="1" height="1" border="0"></td>');
		document.write ('<td width="6"><img src="/img/australia/tranny_tcm126-3314.gif" width="6" height="1" border="0"></td>');
		document.write ('<td width="8" valign="middle" align="center">' + bullet + '</td>');
		document.write ('<td width="9"><img src="/img/australia/tranny_tcm126-3314.gif" width="9" height="1" border="0"></td>');
		document.write ('<td width="173"><a href="' + lienmenu[i] + '" target="_self" class="lhsmenu" onMouseOver="rollover(this)" onMouseOut="rolloff(this)" title = "' + bulletmenu[i] + '">');
		document.write (menu[i]);
		document.write ('</a></td>');
		document.write ('</tr>');

		var bUnrollAnyWay
		// première boucle pour vérifier si l'on est sur une sous page
			for (z=0; z<ssmenuNom[i].length; z++) {
				if (highlightCurrentSubPage(ssmenuLien[i][z])){
					bUnrollAnyWay = true;
					break;
					} else {
					bUnrollAnyWay = false;
					}
			}
		
		if (UnrollSubMenu(lienmenu[i])||bUnrollAnyWay){
			for (z=0; z<ssmenuNom[i].length; z++) {
			highlightCurrentSubPage(ssmenuLien[i][z]);
			document.write ('<tr>');
			document.write ('<td colspan="5"><table border="0" cellpadding="0" cellspacing="0"><tr><td width="25"><img src="/img/australia/tranny_tcm126-3314.gif" width="25" height="11" border="0"></td><td width="17" valign="top">' + subbullet + '<img src="/img/australia/tranny_tcm126-3314.gif" width="10" height="11" border="0"></td><td><a href="' + ssmenuLien[i][z] + '" target="_self" class="lhsmenu" onMouseOver="rollover(this)" onMouseOut="rolloff(this)" style="cursor:hand" title = "' + ssmenuBullet[i][z] + '">');
			document.write (ssmenuNom[i][z]);
			document.write ('</a></td></tr></table></td>');
			document.write ('</tr>');
			}
		}
		
		document.write ('<tr>');
		document.write ('<td colspan="5"><img src="/img/australia/tranny_tcm126-3314.gif" width="9" height="4" border="0"></td>');
		document.write ('</tr>');
		document.write ('</table>');
		}
}