var adresseScripts = document.location.href;
adresseScripts     = adresseScripts.substring(0,eval(adresseScripts.lastIndexOf('/'))+1);
adresseScripts     = adresseScripts.replace('https://','http://');

String.prototype.trim = function() {
temp = this;
while (escape(temp).indexOf('%u2018') > -1)
   { 
   temp = escape(temp).replace('%u2018', '%27');
   temp = unescape(temp);
   }
return temp.replace(/^\s*/,"").replace(/\s*$/,"").replace(/’/g,"'").replace(/–/g,"-")
}

function MM_swapImgRestore() { 
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { 
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { 
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { 
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_reloadPage(init) {  
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_showHideLayers() { 
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}

function OuvrirExtranet()
   {
   PageExtranet = open('', 'PageExtranet', 'toolbar=yes,resizable=yes,scrollbars=yes,status=yes,menubar=yes,' + StringGrandeur((screen.width * .99),(screen.height * .50)));
   document.DonneesExtranet.action = adresseScripts + 'Extranet/validerUsager.cfm';
   document.DonneesExtranet.submit(); 
   PageExtranet.focus();
   }
	
function OuvrirBanqueImage(noBanqueDImage, noBanqueDImageAvecCategorie, langue)
   {
   WindowBanqueImage = open(adresseScripts + 'banqueDImagesPop' + langue + '.cfm?noBanqueDImage=' + noBanqueDImage + '&noBanqueDImageAvecCategorie=' + noBanqueDImageAvecCategorie, 'FenetreBanqueImage', 'scrollbars=no,status=yes,menubar=no,locationbar=no,directories=no,resizable=no,statusbar=no,toolbar=no,' +  StringGrandeur(730,379));
   WindowBanqueImage.focus();	
   }
   
function OuvrirFenetre(page, largeur, hauteur, scrollBars)
   {
   if (typeof(scrollBars) == 'undefined')
      scrollBars = true;
   if (scrollBars)
      WindowFenetre = open(page, 'WindowFenetre', 'resizable=no,scrollbars=yes,status=yes,menubar=no,' + StringGrandeur(largeur,hauteur));
   else
      WindowFenetre = open(page, 'WindowFenetre', 'resizable=no,scrollbars=no,status=yes,menubar=no,' + StringGrandeur(largeur,hauteur));
   WindowFenetre.focus();
   }

function OuvrirVideo(page, largeur, hauteur)
   {
   WindowVideo = open(page, 'Video', 'scrollbars=no,status=yes,' + StringGrandeur(largeur + 20,hauteur + 48));
   WindowVideo.focus();	
   }

function ImprimerPage()
   {
   WindowImprimer = open('', 'Imprimer', 'resizable=yes,scrollbars=yes,status=yes,menubar=yes,' + StringGrandeur(710,400));
   document.DonneesImprimer.action = document.DonneesImprimer.nomPagePourImprimer.value;
   document.DonneesImprimer.target = 'Imprimer';
   document.DonneesImprimer.submit();
   WindowImprimer.focus();
   }

function OuvrirEnvoyerAUnAmi(langue)
   {
   EnvoyerAmi = open('', 'EnvoyerAmi', 'resizable=no,scrollbars=yes,status=no,menubar=no,' + StringGrandeur(477,495));
   document.DonneesImprimer.action = adresseScripts + 'demandeDEnvoyerAUnAmi' + langue + '.cfm';
   document.DonneesImprimer.target = 'EnvoyerAmi';
   document.DonneesImprimer.submit();
   }   
   
function OuvrirCarte(langue)
   {
   WindowCarte = open(adresseScripts + 'carteDeLocalisation' + langue + '.cfm', 'Carte', 'resizable=no,scrollbars=no,status=no,menubar=no,' + StringGrandeur(565,480));
   WindowCarte.focus();
   }

function OuvrirPolitiqueConfidentialite(langue)
   {
   WindowPolitique = open(adresseScripts + 'politiqueDeConfidentialite' + langue + '.cfm?politiqueDeConfidentialite=1', 'Politique', 'resizable=no,scrollbars=yes,status=yes,menubar=no,' + StringGrandeur(668,500));
   }

function OuvrirPolitiqueDePrix(langue)
   {
   WindowPolitique = open(adresseScripts + 'politiqueDePrix' + langue + '.cfm', 'Prix', 'resizable=no,scrollbars=yes,status=yes,menubar=no,' + StringGrandeur(477,500));
   }

function OuvrirListeForfaits(langue)
   {
   WindowListeForfait = open(adresseScripts + 'demandeDeCertificatCadeauListeForfaits' + langue + '.cfm', 'Liste', 'resizable=no,scrollbars=yes,status=yes,menubar=yes,' + StringGrandeur(477,500));
   }

function ValiderExtranet(langue)
   {
   i = 0; 
   while (i < document.DonneesExtranet.elements.length) 
      { 
      document.Donnees.elements[i].value = document.Donnees.elements[i].value.trim();
      if ((document.DonneesExtranet.elements[i].type != 'select-one') && (document.DonneesExtranet.elements[i].type != 'select-multiple') && (document.DonneesExtranet.elements[i].type != 'file')) 
         { 
         if ((document.DonneesExtranet.elements[i].value.length == 0) && (document.DonneesExtranet.elements[i].type != 'hidden')
            ) 
            { 
            if (langue == '_ang')
               alert('You must fill in every required field.'); 
            else
               alert('Vous devez remplir tous les champs obligatoires.'); 
            document.DonneesExtranet.elements[i].focus(); 
            return false; 
            } 
         } 
      i = i + 1; 
      }
   return true;

   }
   
function StringGrandeur (width, height)
   {
   var string = 'width=' + width + ',height=' + height + ',left=' + ((screen.width - width) / 2) + ',top=' + ((screen.height - height) / 2) + ',screenX=' + ((screen.width - width) / 2) + ',screenY=' + ((screen.height - height) / 2);
   return string;
   }

function ValiderCourriel(valeur, langue)
   {
   var stringErreur = '';
   var nAccepte = 'abcdefghijklmnopqrstuvwxyz0123456789-_.@';
   var nChar;
   valeur = valeur.toLowerCase();
   valeur = valeur.trim();  
   var indexOfArobas     = valeur.indexOf('@');
   var indexOf2Arobas    = valeur.lastIndexOf('@');
   var lastIndexOfPoint  = valeur.lastIndexOf('.');
   var indexOf2Point     = valeur.indexOf('..');
   var valeurLength      = valeur.length;		
   var indexOfEspace     = valeur.indexOf(' ');   
   
   if (indexOfEspace     != -1)
      if (langue == '_ang')
	  	  stringErreur = 'Your e-mail must not contain any spaces.';   
      else
	  	  stringErreur = 'Votre courriel doit pas contenir d\'espace.';   
   if (indexOfArobas     < 0)
      if (langue == '_ang')
	  	  stringErreur = 'Your e-mail must contain an @ character.';   
      else
	  	  stringErreur = 'Votre courriel doit contenir un arobas (@).';
   if (indexOfArobas     == 0)
      if (langue == '_ang')
	  	  stringErreur = 'Your e-mail must have at least one character in front of the @ character.';   
      else
	  	  stringErreur = 'Votre courriel doit avoir un minimum d\'un caractère avant l\'arobas (@).';		  
   if (lastIndexOfPoint     < (indexOfArobas + 1))
      if (langue == '_ang')
	  	  stringErreur = 'Your e-mail must contain at least one dot (.) after the @ character.';   
      else
	  	  stringErreur = 'Votre courriel doit contenir au moins un point (.) après l\'arobas (@).';
   if (lastIndexOfPoint     == valeurLength-1)
      if (langue == '_ang')
	  	  stringErreur = 'Your e-mail must not end with a dot (.).';   
      else
	  	  stringErreur = 'Votre courriel ne peut se terminer par un point (.).';		  
   if (indexOf2Arobas       != indexOfArobas)
      if (langue == '_ang')
	  	  stringErreur = 'Your e-mail must only have one @ character.';   
      else
	  	  stringErreur = 'Votre courriel doit contenir seulement un arobas (@).';	  
   if (indexOf2Point       != -1)
      if (langue == '_ang')
	  	  stringErreur = 'Your e-mail cannot have two dots (..) in a row.';   
      else
	  	  stringErreur = 'Votre courriel ne peut pas contenir 2 points de suite (..).';
   if (stringErreur == '')
      {       
      for (var i=0; i<valeur.length; i++)
         {
         nChar = '' + valeur.substring(i, i+1).toLowerCase();
         if (nAccepte.indexOf(nChar) == -1){		
                if (langue == '_ang')
                   stringErreur = 'Your e-mail contains the (' + valeur.substring(i, i+1) + ') which is not a valid character for an e-mail.';   
                else
                   stringErreur = 'Votre courriel contient le caractère (' + valeur.substring(i, i+1) + ') qui n\'est pas un caractère valide dans un courriel.';
				i = valeur.length;
			}
         }  
      }
   if (stringErreur == '')
      return true;   	
   else
   	  {
      if (langue == '_ang')
         alert(stringErreur + '\nHere is an example of a valid e-mail: name@domain.com');
      else
         alert(stringErreur + '\nVoici l\'exemple d\'un courriel valide : nom@domaine.com');
	    return false;	  
	  }      
   }

function DivExpanderDate(modeAVerifier) {
	  
  if (!modeAVerifier)
  { 
     TableauDateArrivee2.style.visibility = 'hidden'; 
     TableauDateArrivee2.style.display = 'none'; 
  }
  else
  { 
    TableauDateArrivee2.style.visibility = 'visible'; 
    TableauDateArrivee2.style.display = 'block';
  }
}   
   
function TraiterErreur()
   {
   WindowAvertissement = open('http://www.numerique.ca/scripts/Publique/templateErrorJavascript.cfm?nomPage=' + document.location, 'ErreurJS', 'scrollbars=no,status=no,' + StringGrandeur(400,150));
   return true;
   }

//window.onerror = TraiterErreur;




/* Page Accueil - Bilingue */
function realisationsFlash(posGauche,action,langue)
{
  posGauche = parseInt(posGauche);
  
  var tableau=new Array;
  tableau[0] = "institutions";
  tableau[1] = "education";
  tableau[2] = "hotels-et-casinos";
  tableau[3] = "sante";
  tableau[4] = "condominiums";
  tableau[5] = "sports-et-culture";
  tableau[6] = "edifices-a-bureaux";
  
 if(action == "gauche")
 { 
   if(posGauche != 0)
   {
      posGauche = parseInt(posGauche - 1);
   }
 }else{   
   if((posGauche + 4) != tableau.length)
   {
      posGauche = parseInt(posGauche + 1);
   }   
 }

  if(langue != "fr")
  {
     contenu = '<a href="javascript:void(0);" onclick="realisationsFlash(\''+ posGauche + '\',\'gauche\',\'ang\')"><img src="../accueil/fleche_gauche.gif" alt="" /></a>';
     contenu += '<a href="realisations_liste_ang.cfm?cfgsousSection='+ tableau[posGauche] +'"><img src="../accueil/bloc_'+ tableau[posGauche] +'_ang.jpg" alt="" /></a>';
     contenu += '<a href="realisations_liste_ang.cfm?cfgsousSection='+ tableau[posGauche + 1] +'"><img src="../accueil/bloc_'+ tableau[posGauche + 1] +'_ang.jpg" alt="" /></a>';
     contenu += '<a href="realisations_liste_ang.cfm?cfgsousSection='+ tableau[posGauche + 2] +'"><img src="../accueil/bloc_'+ tableau[posGauche + 2] +'_ang.jpg" alt="" /></a>';
     contenu += '<a href="realisations_liste_ang.cfm?cfgsousSection='+ tableau[posGauche + 3] +'"><img src="../accueil/bloc_'+ tableau[posGauche + 3] +'_ang.jpg" alt="" /></a>';
     contenu += '<a href="javascript:void(0);" onclick="realisationsFlash(\''+ posGauche  + '\',\'droite\',\'ang\')"><img src="../accueil/fleche_droite.gif" alt="" /></a>';    
  }else{
     contenu = '<a href="javascript:void(0);" onclick="realisationsFlash(\''+ posGauche + '\',\'gauche\',\'fr\')"><img src="../accueil/fleche_gauche.gif" alt="" /></a>';
     contenu += '<a href="realisations_liste.cfm?cfgsousSection='+ tableau[posGauche] +'"><img src="../accueil/bloc_'+ tableau[posGauche] +'.jpg" alt="" /></a>';
     contenu += '<a href="realisations_liste.cfm?cfgsousSection='+ tableau[posGauche + 1] +'"><img src="../accueil/bloc_'+ tableau[posGauche + 1] +'.jpg" alt="" /></a>';
     contenu += '<a href="realisations_liste.cfm?cfgsousSection='+ tableau[posGauche + 2] +'"><img src="../accueil/bloc_'+ tableau[posGauche + 2] +'.jpg" alt="" /></a>';
     contenu += '<a href="realisations_liste.cfm?cfgsousSection='+ tableau[posGauche + 3] +'"><img src="../accueil/bloc_'+ tableau[posGauche + 3] +'.jpg" alt="" /></a>';
     contenu += '<a href="javascript:void(0);" onclick="realisationsFlash(\''+ posGauche  + '\',\'droite\',\'fr\')"><img src="../accueil/fleche_droite.gif" alt="" /></a>';  
  }   
  document.getElementById("realisationsFlash").innerHTML=contenu;  
}


/* Page Historique - Bilingue */
function changerTexte(noAnnee,langue)
{
  var texte = "";

  if(langue == "fr")
  {  
    switch(noAnnee)
    {
     case 1:	  
     texte = '<img src="../images/bande_19701980_02.gif" alt="" border="0" /><a href="javascript:void(0);" onclick="changerTexte(2,\'fr\');"><img src="../images/bande_19801990_01.gif" alt="" border="0" /></a><a href="javascript:void(0);" onclick="changerTexte(3,\'fr\');" /><img src="../images/bande_19902000_01.gif" alt="" border="0" /></a><a href="javascript:void(0);" onclick="changerTexte(4,\'fr\');"><img src="../images/bande_20002010_01.gif" alt="" border="0" /></a><br /><br />';
     texte += "<div id='imageDroite'><img src='../images/ph_historique19701980.jpg' alt='' /></div><div><b>1977</b><br />Fondation de Ébénisterie Beaubois ltée et construction des installations. La superficie de l’usine est de 1 672 m² (18 000 pi²).<br /><br />";
     texte += "<b>1978</b><br />Obtention du premier contrat d'importance  : grands établissements postaux de Ville Saint-Laurent. La première équipe est composée de 25 personnes. Le chiffre d’affaires annuel s’élève à 0,5 M$.</div>";
     break;
     
     case 2:
     texte = '<a href="javascript:void(0);" onclick="changerTexte(1,\'fr\');"><img src="../images/bande_19701980_01.gif" alt="" border="0" /></a><img src="../images/bande_19801990_02.gif" alt="" border="0" /><a href="javascript:void(0);" onclick="changerTexte(3,\'fr\');" /><img src="../images/bande_19902000_01.gif" alt="" border="0" /></a><a href="javascript:void(0);" onclick="changerTexte(4,\'fr\');"><img src="../images/bande_20002010_01.gif" alt="" border="0" /></a><br /><br />';
     texte += "<div id='imageDroite'><img src='../images/ph_historique19801990.jpg' alt='' /></div><div><b>1987</b><br />Premier agrandissement de l'usine. La nouvelle superficie est de <br>2 300 m² (24 000 pi²) et son chiffre d'affaires s'élève à 5 M$.<br /><br />";
     texte += "<b>1986</b><br />Premier contrat international : le Musée de la guerre d’Alger en Algérie.<br /><br />";
     texte += "<b>1985</b><br />Premier contrat d’importance en aménagement intérieur clés en main : Price Waterhouse de Montréal (1,2 M$).</div>";
     break;
     	   	
     case 3:
     texte = '<a href="javascript:void(0);" onclick="changerTexte(1,\'fr\');"><img src="../images/bande_19701980_01.gif" alt="" border="0" /></a><a href="javascript:void(0);" onclick="changerTexte(2,\'fr\');"><img src="../images/bande_19801990_01.gif" alt="" border="0" /></a><img src="../images/bande_19902000_02.gif" alt="" border="0" /><a href="javascript:void(0);" onclick="changerTexte(4,\'fr\');"><img src="../images/bande_20002010_01.gif" alt="" border="0" /></a><br /><br />';
     texte += "<div id='imageDroite' align='right'><a href='http://www.beaubois.ca/ebenisterie-architecturale/realisations_details.cfm?noRealisation=5&cfgsousSection=moteurDeRechercheResultats'><img src='../images/ph_historique19902000.jpg' alt='Edward W. Brooke Courthouse' /></a><br />Edward W. Brooke Courthouse<br />Boston, MA</div><div><b>1999</b><br />Construction d’une nouvelle chambre à peinturer et achat d’un deuxième centre d’usinage.<br /><br />";
     texte += "<b>1998</b><br />Agrandissement de l’usine pour loger un nouveau département de placage.<br /><br />";
     texte += "<b>1997</b><br />Beaubois célèbre son 20e anniversaire et dépasse le cap des 130 employés. Un quatrième agrandissement porte la superficie de l’usine à 4 830 m² (52 000 p²).<br /><br />";
     texte += "<b>1996</b><br />Première entreprise dans son domaine au Canada à recevoir l’accréditation ISO 9002.<br /><br />";
     texte += "<b>1995</b><br />Premier contrat d’ébénisterie d’un palais de justice américain : Edward W. Brooke Courthouse, à Boston, au Massachusetts (3 M$).<br /><br />";
     texte += "<b>1991</b><br />Premier contrat d’ébénisterie aux États-Unis : University of Southern Maine Library, à Portland, dans l’État du Maine.<br /><br />";
     texte += "<b>1990</b><br />Deuxième contrat international : le Four Seasons Hotel de Nevis, dans les Caraïbes (1 M$).</div>"; 
     break;
     	   	
     default:
     texte = '<a href="javascript:void(0);" onclick="changerTexte(1,\'fr\');"><img src="../images/bande_19701980_01.gif" alt="" border="0" /></a><a href="javascript:void(0);" onclick="changerTexte(2,\'fr\');" /><img src="../images/bande_19801990_01.gif" alt="" border="0" /></a><a href="javascript:void(0);" onclick="changerTexte(3,\'fr\');"><img src="../images/bande_19902000_01.gif" alt="" border="0" /></a><img src="../images/bande_20002010_02.gif" alt="" border="0" /><br /><br />';
     texte += "<div id='imageDroite'><img src='../images/ph_historique20002006.jpg' alt='' /></div><div><b>2006</b><br />L'entreprise compte 400 employés.<br /><br />";
	 texte += "<b>2005</b><br />Chiffre d'affaires : 40M$<br />Ajout d'une cellule intégrée dédiée à la fabrication d'armoires de cuisine haut de gamme.<br />Acquisition majeure d'équipements de production informatisés.<br />Implantation du système ERP (Enterprise Resource Planning).<br />L'entreprise compte 300 employés.<br /><br />";
     texte += "<b>2004</b><br />Beaubois devient l'une des premières ébénisteries architecturales nord-américaines à se doter d'un logiciel de dessin 3D paramétrique.<br /><br />";
     texte += "<b>2002</b><br />Superficie de l'usine : 160,000 pi²<br />Chiffre d'affaires : 25 M$<br />Accréditation ISO 9001-2000<br />Implantation du processus de fabrication haute performance.<br /><br />";
     texte += "<b>2001</b><br />Construction d'un nouvel entrepôt qui porte la superficie de l'usine à 11 615 m² (125 000 pi²).<br />Agrandissement des bureaux.<br /><br />";
     texte += "<b>2000</b><br />Création d’une nouvelle aire d’assemblage.</div>";	
     break;
    }
  }else{
    switch(noAnnee)
    {
     case 1:	  
     texte = '<img src="../images/bande_19701980_02.gif" alt="" border="0" /><a href="javascript:void(0);" onclick="changerTexte(2,\'ang\');"><img src="../images/bande_19801990_01.gif" alt="" border="0" /></a><a href="javascript:void(0);" onclick="changerTexte(3,\'ang\');" /><img src="../images/bande_19902000_01.gif" alt="" border="0" /></a><a href="javascript:void(0);" onclick="changerTexte(4,\'ang\');"><img src="../images/bande_20002010_01.gif" alt="" border="0" /></a><br /><br />';
     texte += "<div id='imageDroite'><img src='../images/ph_historique19701980.jpg' alt='' /></div><div><b>1977</b><br />Beaubois Ltd. founded. Construction of installations. Plant at this stage covers some 1,672 m² (18,000 ft²).<br /><br />";
     texte += "<b>1978</b><br />First significantly large contract: major post office building in Ville Saint-Laurent, Quebec. The initial team is made up of 25 people. Annual sales increase to $0.5M.</div>";
     break;
     
     case 2:
     texte = '<a href="javascript:void(0);" onclick="changerTexte(1,\'ang\');"><img src="../images/bande_19701980_01.gif" alt="" border="0" /></a><img src="../images/bande_19801990_02.gif" alt="" border="0" /><a href="javascript:void(0);" onclick="changerTexte(3,\'ang\');" /><img src="../images/bande_19902000_01.gif" alt="" border="0" /></a><a href="javascript:void(0);" onclick="changerTexte(4,\'ang\');"><img src="../images/bande_20002010_01.gif" alt="" border="0" /></a><br /><br />';
     texte += "<div id='imageDroite' align='right'><img src='../images/ph_historique19801990.jpg' alt='' /></div><div><b>1987</b><br />First expansion of plant. Plant now covers 2,300 m² (24,000 ft²). Annual sales: $5M.<br /><br />";
     texte += "<b>1986</b><br />First international contract: War Museum of Algiers in Algeria.<br /><br />";
     texte += "<b>1985</b><br />First major turnkey interior fitting contract: Price Waterhouse, Montreal, Quebec ($1.2M).</div>";
     break;
     	   	
     case 3:
     texte = '<a href="javascript:void(0);" onclick="changerTexte(1,\'ang\');"><img src="../images/bande_19701980_01.gif" alt="" border="0" /></a><a href="javascript:void(0);" onclick="changerTexte(2,\'ang\');"><img src="../images/bande_19801990_01.gif" alt="" border="0" /></a><img src="../images/bande_19902000_02.gif" alt="" border="0" /><a href="javascript:void(0);" onclick="changerTexte(4,\'ang\');"><img src="../images/bande_20002010_01.gif" alt="" border="0" /></a><br /><br />';
     texte += "<div id='imageDroite'><a href='http://www.beaubois.ca/ebenisterie-architecturale/realisations_details_ang.cfm?noRealisation=5&cfgsousSection=moteurDeRechercheResultats'><img src='../images/ph_historique19902000.jpg' alt='Edward W. Brooke Courthouse' /></a><br />Edward W. Brooke Courthouse<br />Boston, MA</div><div><b>1999</b><br />Construction of a new finishing plant and purchase of a second computerized machining center.<br /><br />";
     texte += "<b>1998</b><br />Plant enlarged to accommodate a new veneer department.<br /><br />";
     texte += "<b>1997</b><br />Beaubois celebrates its 20th anniversary and now employs over 130 people. A fourth enlargement means the plant now covers 4,830 m² (52,000 ft²).<br /><br />";
     texte += "<b>1996</b><br />First enterprise of its field in Canada to be certified ISO9002.<br /><br />";
     texte += "<b>1995</b><br />First architectural woodwork contract for a U.S. courthouse: Edward W. Brooke Courthouse, Boston, Massachusetts ($3M).<br /><br />";
     texte += "<b>1991</b><br />First architectural woodwork contract in the USA: University of Southern Maine Library in Portland, Maine.<br /><br />";
     texte += "<b>1990</b><br />Second major international contract: Nevis Four Seasons Hotel in the Caribbean ($1M).</div>"; 
     break;
     	   	
     default:
     texte = '<a href="javascript:void(0);" onclick="changerTexte(1,\'ang\');"><img src="../images/bande_19701980_01.gif" alt="" border="0" /></a><a href="javascript:void(0);" onclick="changerTexte(2,\'ang\');" /><img src="../images/bande_19801990_01.gif" alt="" border="0" /></a><a href="javascript:void(0);" onclick="changerTexte(3,\'ang\');"><img src="../images/bande_19902000_01.gif" alt="" border="0" /></a><img src="../images/bande_20002010_02.gif" alt="" border="0" /><br /><br />';
     texte += "<div id='imageDroite'><img src='../images/ph_historique20002006.jpg' alt='' /></div><div><b>2006</b><br />The firm has 400 employees.<br /><br />";
	 texte += "<b>2005</b><br />Sales Volume : $40M<br />Addition of an integrated unit dedicated to high-end kitchen casework.<br />Major acquisition of computerized production equipment.<br />Implementation of the ERP (Enterprise Resource Planning) system.<br />The firm has 300 employees.<br /><br />";
     texte += "<b>2004</b><br />Beaubois becomes one of the first architectural woodworking firms in North America to acquire a 3D design software system.<br /><br />";
     texte += "<b>2002</b><br />Plant surface area : 160,000 ft²<br />Annual sales : $25M<br />Accreditation ISO 9001-2000<br />Setting up lean manufacturing.<br /><br />";
     texte += "<b>2001</b><br />Construction of a new warehouse bringing the plant surface area to an impressive 11,615 m² (125,000 ft²).<br />Enlargement of offices.<br />Annual sales: $20M<br /><br />";
     texte += "<b>2000</b><br />Creation of a new assembly area.</div>";	
     break;
    }  
  }
  
  document.getElementById("texteHistorique").innerHTML=texte;
}


/* Fiche Réalisation FR */
function changerImage(imageAAfficher,nbImage)
{
  var contenu = "";

    for(i=1;i<nbImage + 1;i++)
    {
     if(i!=imageAAfficher)
   	 {
   	   eval('document.getElementById("Image'+i+'").className="cacherImage"');
	   eval('document.getElementById("Photographe'+i+'").className="cacherImage"');
   	   eval('document.getElementById("boutonAgrandirImage'+i+'").className="cacherImage"');
   	   contenu += '<a href="javascript:Void(0);" onclick="changerImage('+i+','+nbImage+'); return false;"><img src="../images/btn_'+i+'_01.gif" alt="" /></a> &nbsp; ';
   	   
   	 }else{
   	   eval('document.getElementById("Image'+i+'").className="montrerImage"');
	   eval('document.getElementById("Photographe'+i+'").className="montrerImage"');
   	   eval('document.getElementById("boutonAgrandirImage'+i+'").className="montrerImage"');
	   if(nbImage != 1)
	   {
   	     contenu += '<img src="../images/btn_'+i+'_02.gif" alt="" /> &nbsp; ';
	   }else{
	     contenu += '&nbsp;'
	   }
   	 }
    }
      
    document.getElementById("listeImage").innerHTML=contenu;   
}

function Valider()
{
  if(document.forms["Donnees"].elements["listeDeroulante"].value != "")
  {
   window.location.href= document.forms["Donnees"].elements["listeDeroulante"].value;
  }   
}



/* Section Service et Représentation 3d */
 function changerImageProcessus(imageAAfficher,nbImages,representation)
 {
   var contenu = "";
   if(representation != 1)
   {
     representation = 0;
   }
       for(i=1;i < nbImages + 1;i++)
       {
         if(i!=imageAAfficher)
    	 {
		   if(representation == 1) { eval('document.getElementById("detailRepresentation'+i+'").className="cacherImage"'); }
    	   eval('document.getElementById("Image'+i+'").className="cacherImage"');
    	   contenu += '<a href="javascript:Void(0);" onclick="changerImageProcessus('+i+','+nbImages+','+representation+'); return false;"><img src="../images/btn_'+i+'_01.gif" alt="" /></a> &nbsp; ';
    	   
    	 }else{
		   if(representation == 1) { eval('document.getElementById("detailRepresentation'+i+'").className="montrerImage"'); }
    	   eval('document.getElementById("Image'+i+'").className="montrerImage"');
    	   contenu += '<img src="../images/btn_'+i+'_02.gif" alt="" /> &nbsp; ';
    	 }
       }
       
       document.getElementById("processusListeImage").innerHTML=contenu;   

 }


 
/* Nous contacter FR */ 
  function changerCarte(noCarte)
 {
   switch(noCarte)
   {
    case 1:
	  affichageCarte = '<a href="javascript:void(0);" onclick="changerCarte(2);"><img src="../cartes/carte01.gif" alt="" /></a><br />';
	  affichageCarte +='<img src="../cartes/btn_zoomMoins02.gif" alt="Zoom arrière" border="0" /> &nbsp;<a href="javascript:void(0);" onclick="changerCarte(2);"><img src="../cartes/btn_zoomPlus01.gif" alt="Zoom avant" /></a>'
	  break;
	  
	case 2:
	  affichageCarte = '<a href="javascript:void(0);" onclick="changerCarte(3);"><img src="../cartes/carte02.gif" alt="" /></a><br />';
	  affichageCarte +='<a href="javascript:void(0);" onclick="changerCarte(1);"><img src="../cartes/btn_zoomMoins01.gif" alt="Zoom arrière" /></a> &nbsp;<a href="javascript:void(0);" onclick="changerCarte(3);"><img src="../cartes/btn_zoomPlus01.gif" alt="Zoom avant" /></a>'	
	  break;
	  
	default:
	  affichageCarte = '<a href="javascript:void(0);" onclick="changerCarte(1);"><img src="../cartes/carte03.gif" alt="" /></a><br />';
	  affichageCarte +='<a href="javascript:void(0);" onclick="changerCarte(2);"><img src="../cartes/btn_zoomMoins01.gif" alt="Zoom arrière" /></a> &nbsp;<img src="../cartes/btn_zoomPlus02.gif" alt="Zoom avant" />'	
	  break;
   }   
   
   document.getElementById("mapLocalisation").innerHTML=affichageCarte;
 }
 
 
/* Nous contacter ANG */ 
  function changerCarteAnglais(noCarte)
 {
   switch(noCarte)
   {
    case 1:
	  affichageCarte = '<a href="javascript:void(0);" onclick="changerCarteAnglais(2);"><img src="../cartes/carte01_ang.gif" alt="" /></a><br />';
	  affichageCarte +='<img src="../cartes/btn_zoomMoins02.gif" alt="Zoom back" border="0" /> &nbsp;<a href="javascript:void(0);" onclick="changerCarteAnglais(2);"><img src="../cartes/btn_zoomPlus01.gif" alt="Zoom front" /></a>'
	  break;
	  
	case 2:
	  affichageCarte = '<a href="javascript:void(0);" onclick="changerCarteAnglais(3);"><img src="../cartes/carte02_ang.gif" alt="" /></a><br />';
	  affichageCarte +='<a href="javascript:void(0);" onclick="changerCarteAnglais(1);"><img src="../cartes/btn_zoomMoins01.gif" alt="Zoom back" /></a> &nbsp;<a href="javascript:void(0);" onclick="changerCarteAnglais(3);"><img src="../cartes/btn_zoomPlus01.gif" alt="Zoom front" /></a>'	
	  break;
	  
	default:
	  affichageCarte = '<a href="javascript:void(0);" onclick="changerCarteAnglais(1);"><img src="../cartes/carte03_ang.gif" alt="" /></a><br />';
	  affichageCarte +='<a href="javascript:void(0);" onclick="changerCarteAnglais(2);"><img src="../cartes/btn_zoomMoins01.gif" alt="Zoom back" /></a> &nbsp;<img src="../cartes/btn_zoomPlus02.gif" alt="Zoom front" />'	
	  break;
   }   
   
   document.getElementById("mapLocalisation").innerHTML=affichageCarte;
 } 