
if((location.pathname == '/')||(location.pathname == '/DefaultF.html'))
{
	document.write("<TABLE bgcolor=#FFFFFF WIDTH='170' BORDER='0' CELLSPACING='3' CELLPADDING='0'>");
	document.write("		<TR>");
	document.write("			<TD class=table-head height=20>&nbsp;Liens Rapides</TD>");
	document.write("		</TR>");
	document.write("		<TR>");
	document.write("			<TD>");
	document.write("				<img src='/e/online/gif/bullet1.gif'> <A HREF='/Poursinscrire/Ouvrezuncompte.html'>			Demande en ligne</a><br>");
	if(document.cookie.search(/stockWatchKey/)!=-1) 
		theText="Liste d&#146;actions";
	else 
		theText="Cr&#233;ez une  liste d&#146;actions";
	document.write("				<img src='/e/online/gif/bullet1.gif'> <A HREF=\"javascript:submitLink('/ILClientWeb/marketing/stockWatch.do','displayStockWatchLists','F');\">"+theText+"</a><br>");
	theText="&#224; surveiller";
	document.write("				&nbsp;&nbsp;&nbsp;<A HREF=\"javascript:submitLink('/ILClientWeb/marketing/stockWatch.do','displayStockWatchLists','F');\">"+theText+"</a><br>");
	if(document.cookie.search(/portfolioTrackerKey/)!=-1) 
	{ 
		theText="Surveillance du portefeuille";
		document.write("				<img src='/e/online/gif/bullet1.gif'> <A HREF=\"javascript:submitLink('/ILClientWeb/marketing/portfolioTracker.do','displayPortfolioTrackerList','F');\">"+theText+"</a><br>");
	}
	else 
	{ 
		theText="Cr&#233;ez un outil de";
		document.write("				<img src='/e/online/gif/bullet1.gif'> <A HREF=\"javascript:submitLink('/ILClientWeb/marketing/portfolioTracker.do','displayPortfolioTrackerList','F');\">"+theText+"</a><br>");
		theText = "surveillance du portefeuille";
		document.write("				&nbsp;&nbsp;&nbsp;<A HREF=\"javascript:submitLink('/ILClientWeb/marketing/portfolioTracker.do','displayPortfolioTrackerList','F');\">"+theText+"</a><br>"); 
	}
	document.write("				<img src='/e/online/gif/bullet1.gif'> <A HREF='/Quoideneuf/fr_bridge_seminars.html'>	Séminaires</a><br>");
	document.write("				<br>");
	document.write("			</TD>");
	document.write("		</TR>");
	document.write("		<TR>");
	document.write("			<TD class=table-head height=20>&nbsp;L'essentiel des<br>&nbsp;transactions en ligne</TD>");
	document.write("		</TR>");
	document.write("		<TR>");
	document.write("			<TD>");
	document.write("<img src='/e/online/gif/bullet1.gif'> <A HREF='/FAQ/FAQ_III.html'>Transactions en ligne</a><br>");
	document.write("<img src='/e/online/gif/bullet1.gif'> <A HREF='/Courtage/Demo/'>Découvrez l’investissement</a><br>");
	document.write("&nbsp;&nbsp;&nbsp;<A HREF='/Courtage/Demo/'>en ligne</a><br>");
	document.write("<img src='/e/online/gif/bullet1.gif'> <A HREF='/FAQ/FAQ_IV.html'>Au sujet de votre compte</a><br>");
	document.write("<img src='/e/online/gif/bullet1.gif'> <A HREF='/FAQ/FAQ_VI.html'>Dépannage</a><br>");
	document.write("<img src='/e/online/gif/bullet1.gif'> <A HREF='/FAQ/FAQ_II.html'>Sécurité et confidentialité</a><br>");
	document.write("				<br>");
	document.write("			</TD>");
	document.write("		</TR>");
	document.write("		<TR>");
	document.write("			<TD class=table-head height=20>&nbsp;Ressources Utiles</TD>");
	document.write("		</TR>");
	document.write("		<TR>");
	document.write("			<TD style='color:#0066CC'>");
	document.write("				<img src='/e/online/gif/bullet1.gif'> <A HREF='/CentreEducatif/PlanificateurDeRetraite/'>Planificateur de retraite</a><br>");
	document.write("				<img src='/e/online/gif/bullet1.gif'> <A HREF='/CentreEducatif/REER/'>Centre REER</a><br>");
	document.write("				<img src='/e/online/gif/bullet1.gif'> <A HREF='/CentreEducatif/Fondsdinvestissement/'>Centre fonds</a><br>&nbsp;&nbsp;&nbsp;<A HREF='/CentreEducatif/Fondsdinvestissement/'>d'investissement</a><br>");
	document.write("				<img src='/e/online/gif/bullet1.gif'> <A HREF='/CentreEducatif/Obligations/'>Titres à revenu fixe</a><br>");
	document.write("				<img src='/e/online/gif/bullet1.gif'> <A HREF=\"javascript:submitLink('/ILClientWeb/marketing/marketingGICRates.do','displayGICRates','F');\">Taux CPG</a><br>");
	document.write("				<br>");
	document.write("			</TD>");
	document.write("		</TR>");
	document.write("		<TR>");
	document.write("			<TD class=table-head height=20>&nbsp;Vos besoins en matière<br>&nbsp;de placement</TD>");
	document.write("		</TR>");
	document.write("		<TR>");
	document.write("			<TD style='color:#0066CC'>");
	document.write("				<img src='/e/online/gif/bullet1.gif'> <A HREF=\"javascript:launchRemote('http://www.bmonb.com/francais/personalinvest/default.asp')\">Courtage de plein exercice</a><br>");
	document.write("				<img src='/e/online/gif/bullet1.gif'> <A HREF=\"javascript:launchRemote('http://www.bmoinvesting.com/francais/Your_Investing_Needs/mutual_funds.asp')\">Fonds d’investissement</a><br>");
	document.write("				<img src='/e/online/gif/bullet1.gif'> <A HREF=\"javascript:launchRemote('http://www.bmoinvesting.com/francais/Your_Investing_Needs/term_investments.asp')\">Placements à terme</a><br>");
	document.write("				<img src='/e/online/gif/bullet1.gif'> <A HREF=\"javascript:launchRemote('http://www.bmoinvesting.com/francais/Your_Investing_Needs/private_banking.asp')\">Gestion privée</a><br>");
	document.write("				<br>");
	document.write("			</TD>");
	document.write("		</TR>");
	document.write("		<TR>");
	document.write("			<TD class=table-head height=20>&nbsp;Vos besoins en matière<br>&nbsp;de services bancaires</TD>");
	document.write("		</TR>");
	document.write("		<TR>");
	document.write("			<TD style='color:#0066CC'>");
	document.write("				<img src='/e/online/gif/bullet1.gif'> <A HREF=\"javascript:launchRemote('http://www.bmo.com/services_bancaires/')\">Services bancaires</a><br>&nbsp;&nbsp;&nbsp;<A HREF=\"javascript:launchRemote('http://www.bmo.com/services_bancaires/')\">courants</a><br>");
	document.write("				<img src='/e/online/gif/bullet1.gif'> <A HREF=\"javascript:launchRemote('http://www.bmo.com/entreprise/entreprise.html')\">Services bancaires</a><br>&nbsp;&nbsp;&nbsp;<A HREF=\"javascript:launchRemote('http://www.bmo.com/entreprise/entreprise.html')\">aux entreprises</a><br>");
	document.write("				<img src='/e/online/gif/bullet1.gif'> <A HREF='http://www.bmo.com/francais/locator/'>Localisateur de</a><br>&nbsp;&nbsp;&nbsp;<A HREF='http://www.bmo.com/francais/locator/'>succursales BMO</a><br>");
	document.write("				<br>");
	document.write("			</TD>");
	document.write("		</TR>");
	document.write("		<TR>");
	document.write("	  		<TD align=left>&nbsp;&nbsp;");
	document.write("					<a href='/Quoideneuf/fr_awards.html'><img src='/Images/5Starlogo_f.gif' border=0></a>");
	document.write("				</TD>");
	document.write("		  </TR>");
	document.write("</TABLE>");
}
else 
{
	//	Variables in use: srcOnMouseOut (default image); srcOnMouseOver; linkTo (targetURL), and; sideNavContent - others;
	if ((typeof sideNavContent != "undefined") || ((typeof srcOnMouseOver != "undefined") && (typeof srcOnMouseOut != "undefined")))	//page-specific side navigation
	{	
		writeInfo = "<TABLE bgcolor=#FFFFFF WIDTH='170' BORDER='0' CELLSPACING='3' CELLPADDING='0'>";
		writeInfo+="	<TR>";
		writeInfo+="		<TD align=center valign=top>";
		
		if ((typeof srcOnMouseOver != "undefined") && (typeof srcOnMouseOut != "undefined"))
		{
			writeInfo+="		<script language='JavaScript'>";
			writeInfo+="			function imageUp(id){";
			writeInfo+="				document.getElementById(id).src = '" + srcOnMouseOut + "'";
			writeInfo+="			}";
			writeInfo+="			function imageDown(id){";
			writeInfo+="				document.getElementById(id).src = '" + srcOnMouseOver + "'";
			writeInfo+="			}";
			writeInfo+="		</script>";
			if (typeof linkTo != "undefined")
				writeInfo+="		<a href='" + linkTo + "'><img id='image' src='/Images/open_account_fr.jpg' border=0></a>";
			else
				writeInfo+="		<a href='/ILClientWeb/olap/DisplayApplyOnline.jsp?language=F&id=beforeyoustart'><img id='image' src='/Images/open_account_fr.jpg' border=0></a>";
		}
		
		//	Other left column content (i.e., static images, banners, links, etc.)
		if (typeof sideNavContent != "undefined")
		{
			writeInfo+="		" + sideNavContent;
		}
		writeInfo+="		</TD>";
		writeInfo+="	</TR>";
		writeInfo+="</TABLE>";
		document.write(writeInfo);
	}
	else
	{
		/*
		--------------------------------------------------------------------------
		Determines which image to use on the HTML page
		--------------------------------------------------------------------------
		*/
		var imageNumber;
		switch (thisPage)
		{
			case "1":	imageNumber = 1;					//Ouvrez un compte
						break;
			case "2":	imageNumber = 2;					//Produits et services
						break;
			case 3: 	imageNumber = 10;					//Nouvelles des marchés
						break;
			case "4":	imageNumber = 3;					//Centre éducatif
						break;
			case "5": 	imageNumber = 4;					//Outils
						break;
			case "6": 	imageNumber = 11;					//Taux
						break;
			default:	imageNumber = 1;					//Any other page
		}
		
		if((location.href.search('/EnVue')!=-1) || (location.href.search('/FAQ')!=-1))
			imageNumber = 3;
		
		if(	(location.href.search('marketingChart.do')!=-1) || (location.href.search('marketingQuote.do')!=-1)	)
			imageNumber = 10;
		
		if(	(location.href.search('portfolioTracker.do')!=-1) || (location.href.search('stockWatch.do')!=-1)	)
			imageNumber = 4;
		
		if(	(location.href.search('marketingGICRates.do')!=-1)	)
			imageNumber = 11;
		
		
		/*
		--------------------------------------------------------------------------
		The section below writes the HTML code to the page
		--------------------------------------------------------------------------
		*/
		writeInfo ="<TABLE bgcolor=#FFFFFF WIDTH='170' BORDER='0' CELLSPACING='3' CELLPADDING='0'>";
		writeInfo+="	<TR>";
		writeInfo+="		<TD align=center><a href='/ILClientWeb/olap/DisplayApplyOnline.jsp?language=F'><img id='image' src='/Images/open_account_fr.jpg' border=0></a></TD>";
		writeInfo+="	</TR>";
		writeInfo+="</TABLE>";
		writeInfo+="<script language='JavaScript'>";
		writeInfo+="	function imageUp(id){";
		writeInfo+="		document.getElementById(id).src = '/Images/f_image"+imageNumber+".jpg';";
		writeInfo+="	}";
		writeInfo+="	function imageDown(id){";
		writeInfo+="		document.getElementById(id).src = '/Images/f_image"+imageNumber+"_d.jpg';";
		writeInfo+="	}";
		writeInfo+="</script>";
		document.write(writeInfo);
	}
}