function coordonnee()
	{
	document.write(" <br>&nbsp;&nbsp;&nbsp;"+adresse1[centre]+
	"<br>&nbsp;&nbsp;&nbsp;"+adresse2[centre]+
	"<br><br>&nbsp;&nbsp;&nbsp;<img src=\"../../image/co_im_titreTelephone.gif\" border=0 width=164 " +
	"height=17> " +
	"<br>&nbsp;&nbsp;&nbsp;"+telephone[centre]);
	
	if (centre==0 || centre==2 || centre==3)
		{
		document.write("<br><br>&nbsp;&nbsp;&nbsp;<img src=\"../../image/co_im_titrePiece.gif\" border=0 width=164 " +
		"height=17><br>&nbsp;&nbsp;&nbsp;"+telephonePiece[centre]);
		}
	
	if (centre==0 || centre==1 || centre==2 || centre==4)
		{
		document.write("<br><br>&nbsp;&nbsp;&nbsp;<img src=\"../../image/co_im_titreService.gif\" border=0 " +
		"width=164 height=17><br>&nbsp;&nbsp;&nbsp;"+telephoneService[centre]);
		}
		
	if (centre==4)
		{
		document.write("<br><br>&nbsp;&nbsp;&nbsp;<img src=\"../../image/co_im_titreSansFrais.gif\" border=0 " +
		"width=164 height=17><br>&nbsp;&nbsp;&nbsp;"+telephoneSansFrais[centre]);
		}
		
	document.write("<br><br>&nbsp;&nbsp;&nbsp;<img src=\"../../image/co_im_titreTelecopieur.gif\" border=0 " +
	"width=164 height=17> " +
	"<br>&nbsp;&nbsp;&nbsp;"+telecopieur[centre]+
	"<br><br>&nbsp;&nbsp;&nbsp;<img src=\"../../image/co_im_titreCourriel.gif\" border=0 width=164 " +
	"height=17> " +
	"<br>&nbsp;&nbsp;&nbsp;<a href=\"mailto:"+courriel[centre]+"\" class=\"txtCoordonnee\">" +
	""+courriel[centre]+"</a> ");
	}
	
function nouveaute()
	{
	document.write("<table cellpadding=0 cellspacing=0 border=0 width=195><tr>");
	
	document.write("<td width=15></td>");
	
	//-- Titre nouveaute
	document.write("<td colspan=2 height=5 valign=bottom><img src=\"../../image/co_im_titreNouveaute.gif\" " +
	"border=0 width=168 height=17></td>");
					
	document.write("<td width=12></td></tr><tr>");
	
	document.write("<td width=15></td>");
	
	//-- Lien 1
	document.write("<td width=7 height=15 valign=top><img src=\"../../../image/co_im_flecheRouge.gif\" " + 
	"border=0 width=7 height=13></td>");
	
	document.write("<td width=161 height=15><a href=\"http://www.youtube.com/watch?v=WW8RUsmR2v8\" " +
	"target=\"_blank\" OnMouseOver=\"messageStatus(); return true\" class=lienNouveaute>Nouveau Puma CVT.</a></td>");
	
	document.write("<td width=12></td></tr><tr>");
	document.write("<td width=15></td>");
	
	//-- Lien 2
	//-- Formulaire qui donne le code
	document.write("<td width=7 height=15 valign=top><img src=\"../../../image/co_im_flecheRouge.gif\" " + 
	"border=0 width=7 height=13></td>");
	
	document.write("<td width=161 height=15><a " +
	"href=\"https://webparts.pvassociates.net/cnh/launch.php?DataSet=001CSIH&DealerID=PVA-I76YB-Q7N3\" " +
	"target=\"PVAwebparts\" OnMouseOver=\"messageStatus(); return true\" class=lienNouveaute>Livre de " +
	"pièces</a></td>");
	
	document.write("<td width=12></td></tr><tr>");
	document.write("<td width=15></td>");
			
	//-- Lien 3
	document.write("<td width=7 height=15 valign=top><img src=\"../../../image/co_im_flecheRouge.gif\" " + 
	"border=0 width=7 height=13></td>");
	
	document.write("<td width=161 height=15><a href=\"http://www.youtube.com/watch?v=PmKcO7DBY08\" " +
	"target=\"_blank\" OnMouseOver=\"messageStatus(); return true\" class=lienNouveaute>Histoire du Magnum! - " +
	"YouTube</a></td>");
	
	document.write("<td width=12></td></tr></table>");



	}
	
function changerSuccursale()
	{	
	// Liste deroulante pour changer la succursale
	document.write("<form name=\"choixSuccursale\">");
	
	// Page Index
	if (numeroPage==0)
		{
		document.write("Aller directement à la page de : <select name=\"CompagnieIndex\" " +
		"class=\"listeDeroulante\" OnChange=\"selections();\">");
			
		document.write("<option selected>Choisir une succursale</option>");
		}
	// Autres pages
	else
		{
		document.write("&nbsp;&nbsp;&nbsp;Choisir une autre succursale &nbsp;&nbsp;&nbsp;<select " +
		"name=\"Compagnie\" class=\"listeDeroulante\" OnChange=\"selections();\">");
		}
	
	// Liste de choix
	for (i=0; i < choixSuccursale.length; i++)
		{
		document.write("<option value="+i+">"+choixSuccursale[i]+"</option>");
		}	
	document.write("</select>&nbsp;</form>");

	
	//- Option sélectionné selon la succursale visitée
	if (numeroPage!=0)
		{
		document.choixSuccursale.Compagnie[centre].selected="selected"
		}
	}
	
function selections()
{
if (numeroPage == 0)
	{
	for (i=0; i < document.choixSuccursale.CompagnieIndex.length; i++)
		{  
		if(document.choixSuccursale.CompagnieIndex[i].selected==true)
			{
			var compagnie = new Array('nicolet_yamaska', 'saguenay _LacStJean', 'jm_chagnon', 'rollandClement', 
			'benoit_bellerose')
			
			location.href="fr/html/"+dossierSuccursale[i-1]+"/p_historique.html"
			}
		}
	}
else
	{
	for (i=0; i < document.choixSuccursale.Compagnie.length; i++)
		{  
		if(document.choixSuccursale.Compagnie[i].selected==true)
			{
			var compagnie = new Array('nicolet_yamaska', 'saguenay _LacStJean', 'jm_chagnon', 'rollandClement', 
			'benoit_bellerose')
			
			location.href="../"+dossierSuccursale[i]+"/"+nomFichier[numeroSection]+".html"
			}
		}
	}
}

function nouvelle()
	{
	if (numeroPage!=20)
		{
		//-- Table des nouvelles 
		document.write("<table cellpadding=0 cellspacing=0 border=0 width=179 height=220 " + 
		"background=\"../../../image/co_ap_nouvelle.jpg\"><tr>");
	
		document.write("<td width=15></td>");
	
		//-- Titre nouvelles
		document.write("<td width=153 height=20 valign=bottom><img src=\"../../image/co_im_titreNouvelle.gif\" " +
		"border=0 width=153 height=14></td>");
					
		document.write("<td width=11></td></tr><tr>");
	
		document.write("<td width=15></td>");
	
		//-- Fonction d'appel des nouvelles			
		document.write("<td width=153 height=200 valign=top><div id=\"placeholder\" style=\"position:relative; " +
		"width:153px; height:160px;\"></div><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a " + 	
		"href=\"p_nouvelle.html\" onMouseOver=\"messageStatus(); return true\" class=lienNouvelle>Toutes les " +
		"nouvelles...</a></td>");
	
		document.write("<td width=11></td></tr></table>");
		}
	else
		{
		document.write("<table cellpadding=0 cellspacing=0 border=0 width=179 height=220 " + 
		"background=\"../../../image/co_ap_nouvelle.jpg\"><tr>");
	
		document.write("<td width=15></td>");
	
		document.write("<td width=153 height=20 valign=bottom></td>");
					
		document.write("<td width=11></td></tr><tr>");
	
		document.write("<td width=15></td>");
		
		document.write("<td width=153 height=200 valign=top></td>");
	
		document.write("<td width=11></td></tr></table>");
		}
	}

function fournisseur()
	{
	//-- Table des nouvelles 
	document.write("<table cellpadding=0 cellspacing=0 border=0 width=179 height=145 " + 
	"background=\"../../../image/co_ap_fournisseur.jpg\"><tr>");
	
	document.write("<td width=15></td>");
	
	//-- Titre nouvelles
	document.write("<td width=153 height=20 valign=bottom><img src=\"../../image/co_im_titreFournisseur.gif\" " +
	"border=0 width=153 height=14></td>");
					
	document.write("<td width=11></td></tr><tr>");
	
	document.write("<td width=15></td>");
	
	//-- Fonction d'appel des nouvelles			
	document.write("<td width=153 height=125 valign=top><object " +
	"classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" " +
	"codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\" " +
	"pluginspage=\"http://www.macromedia.com/go/getflashplayer\" id=\"anim_fournisseur\" width=153 height=125 " +
	" border=0> " +
	"<param name=movie value=\"../../../flash/animFournisseur-"+dossierSuccursale[centre]+".swf\"><param " + 
	"name=quality value=high><param name=menu value=false><param name=\"wmode\" value=\"transparent\"> " +
	"<embed src=\"../../../flash/animFournisseur-"+dossierSuccursale[centre]+".swf\" name=anim_fournisseur " +
	" swLiveConnect=true width=153 height=125 border=0 quality=high menu=false wmode=\"transparent\"" +
	"type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\"></embed>"+
	"</object><td width=11></td>");
	
	document.write("</tr></table>");
	}
	
function carteRoutiere()
	{
	document.write("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" " +
	"codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\" "+
	"pluginspage=\"http://www.macromedia.com/go/getflashplayer\" id=anim_carte width=529 height=351 border=0> " +
	"<param name=movie value=\"../../flash/animCarte-"+dossierSuccursale[centre]+".swf\"> " +
	"<param name=quality value=high><param name=menu value=false><param name=wmode value=transparent> " +
	"<embed src=\"../../flash/animCarte-"+dossierSuccursale[centre]+".swf\" name=anim_fournisseur " +
	"swLiveConnect=true width=529 height=351 border=0 quality=high menu=false type=application/x-shockwave-flash " +
	"pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\"></embed> " +
	"</object>");
	}

function basDePage()
	{
	//-- Table de bas de page
	document.write("<table cellpadding=0 cellspacing=0 border=0 width=930 height=19><tr>");
	
	document.write("<td width=195 height=19 class=txtConception align=center>(2006) Réalisé par <a " +
	"href=\"http://www.sogi.com\" class=\"txtConception\" target=\"_blank\">Sogi informatique ltée</a></td>");

	document.write("<td width=735 height=19 align=right valign=bottom "+
	"background=\"../../../image/bp_ap_standard.jpg\" class=\"txtStandard\">Ce site respecte les standards " +
	"pour une résolution 1024x768 et +, Internet Explorer 5 et +, Netscape 6 et +</td>");
	
	document.write("</tr></table>");
	}