<!--

///////////////////////
//                   //
//      Francais     //
//                   //
///////////////////////


// Variables globales
var EnabledOnlineStore = 1; // 0 = Non, 1 = Oui
var QuotationFormPwd = "asshole"; // 0 = Non, 1 = Oui
  
  
//This script redirect https browsing to http when not on payment processing page
function redirectHTTPS() {
	myString = new String(document.location)
	if (myString.search("onLinePaymentExec")==-1){
		if (myString.search("https")!=-1){
			document.location.href= myString.replace("https","http");
		}
	}
	else if (myString.search("comersus_onLinePaymentForm")==-1){
		if (myString.search("https")!=-1){
			document.location.href= myString.replace("https","http");
		}
	}
}

function formatForm(){
	document.write("<input type='hidden' name='pwd' value='" + QuotationFormPwd + "'>");
}

function showStone(imgurl){
  WelcomeWindow=window.open ("","welcomeWin","location=no,directories=no,toolbar=no,status=no,scrollbars=no,menubar=no,width=360,height=460");
  //WelcomeWindow.moveTo(225,142);
  WelcomeWindow.document.write("<html><title>Idée Granit.com</title>");
  WelcomeWindow.document.write("<body><table cellspacing=5 width='100%'><tr><td align='center' width='100%'><img src=" + imgurl + "></td></tr>");
str = new String(document.location) 
if (str.search("/fr/") != -1){
  WelcomeWindow.document.write("<tr><td width='100%'><div align='center'><img src='../images/stone_pub.gif'></div></td></tr>");
  WelcomeWindow.document.write("<tr><td width='100%'><div align='center'><form><input type='button' value='Fermer' onclick='javascript:window.close()'></form></div></td></tr></table></body></html>");
}
else{
  WelcomeWindow.document.write("<tr><td width='100%'><div align='center'><img src='../images/stone_pub_en.gif'></div></td></tr>");
  WelcomeWindow.document.write("<tr><td width='100%'><div align='center'><form><input type='button' value='Close' onclick='javascript:window.close()'></form></div></td></tr></table></body></html>");
}
  WelcomeWindow.document.close();
}


function showStoneImport(imgurl){
  WelcomeWindow=window.open ("","welcomeWin","location=no,directories=no,toolbar=no,status=no,scrollbars=no,menubar=no,width=680,height=580");
  //WelcomeWindow.moveTo(225,142);
  WelcomeWindow.document.write("<html><title>Idée Granit.com</title>");
  WelcomeWindow.document.write("<body><table cellspacing=5 width='100%'><tr><td align='center' width='100%'><img src=" + imgurl + "></td></tr>");
str = new String(document.location)
if (str.search("/fr/") != -1){
  WelcomeWindow.document.write("<tr><td width='100%'><div align='center'><img src='../images/stone_pub.gif'></div></td></tr>");
  WelcomeWindow.document.write("<tr><td width='100%'><div align='center'><form><input type='button' value='Fermer' onclick='javascript:window.close()'></form></div></td></tr></table></body></html>");
}
else{
  WelcomeWindow.document.write("<tr><td width='100%'><div align='center'><img src='../images/stone_pub_en.gif'></div></td></tr>");
  WelcomeWindow.document.write("<tr><td width='100%'><div align='center'><form><input type='button' value='Close' onclick='javascript:window.close()'></form></div></td></tr></table></body></html>");
}
  WelcomeWindow.document.close();
}


function do_menu(item){
str = new String(document.location)
if (str.search("/fr/") != -1){
  if (item == 'Produits') {
  document.write("<DIV CLASS='MENULPRO' STYLE='height:10px;top:0px;'></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='comptoirs.htm' STYLE='cursor:hand;top:0px;'>" +
      "<P CLASS='Menu'>COMPTOIRS ET VANITÉS</P></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='foyers.htm' STYLE='cursor:hand;top:0px'>" +
      "<P CLASS='Menu'>FOYERS</P></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='mobiliers.htm' STYLE='cursor:hand;top:0px'>" +
      "<P CLASS='Menu'>MOBILIERS</P></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='eviers.htm' STYLE='cursor:hand;top:0px'>" +
      "<P CLASS='Menu'>ÉVIERS</P></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='lavabos.htm' STYLE='cursor:hand;top:0px'>" +
      "<P CLASS='Menu'>LAVABOS</P></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='robinetteries.htm' STYLE='cursor:hand;top:0px'>" +
      "<P CLASS='Menu'>ROBINETTERIE</P></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='tuiles.htm' STYLE='cursor:hand;top:0px'>" +
      "<P CLASS='Menu'>TUILES</P></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='accessoires.htm' STYLE='cursor:hand;top:0px'>" +
      "<P CLASS='Menu'>ACCESSOIRES</P></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='surmesure.htm' STYLE='cursor:hand;top:0px'>" +
      "<P CLASS='Menu'>SUR MESURE</P></DIV>");
   }
  
  if (item == 'Pierres') {
  document.write("<DIV CLASS='MENULPRO' STYLE='height:10px;top:0px;'></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='pierres.htm' STYLE='cursor:hand;top:0px;'>" +
      "<P CLASS='Menu'>GRANIT</P></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='marbre.htm' STYLE='cursor:hand;top:0px'>" +
      "<P CLASS='Menu'>MARBRE</P></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='ardoise.htm' STYLE='cursor:hand;top:0px'>" +
      "<P CLASS='Menu'>ARDOISE</P></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='travertin.htm' STYLE='cursor:hand;top:0px;'>" +
      "<P CLASS='Menu'>TRAVERTIN</P></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='calcaire.htm' STYLE='cursor:hand;top:0px'>" +
      "<P CLASS='Menu'>CALCAIRE</P></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='gres.htm' STYLE='cursor:hand;top:0px'>" +
      "<P CLASS='Menu'>GRÈS</P></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='onyx.htm' STYLE='cursor:hand;top:0px'>" +
      "<P CLASS='Menu'>ONYX</P></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='tranches.htm' STYLE='cursor:hand;top:0px'>" +
      "<P CLASS='Menu'>IMPORTATION/<br>Derniers arrivages</P></DIV>" +
      //"<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='outildoclien.htm' STYLE='cursor:hand;top:0px'>" +
      //"<P CLASS='Menu'>Outils, documentations et lien intéresants</P></DIV>" +
      "");
  }
}
else{
  if (item == 'Produits') {
  document.write("<DIV CLASS='MENULPRO' STYLE='height:10px;top:0px;'></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='countertops.htm' STYLE='cursor:hand;top:0px;'>" +
      "<P CLASS='Menu'>COUNTERTOPS AND VANITYS</P></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='fireplaces.htm' STYLE='cursor:hand;top:0px'>" +
      "<P CLASS='Menu'>FIREPLACES</P></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='furniture.htm' STYLE='cursor:hand;top:0px'>" +
      "<P CLASS='Menu'>FURNITURE</P></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='sinks.htm' STYLE='cursor:hand;top:0px'>" +
      "<P CLASS='Menu'>SINKS</P></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='bathsinks.htm' STYLE='cursor:hand;top:0px'>" +
      "<P CLASS='Menu'>BATHROOM SINKS</P></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='faucets.htm' STYLE='cursor:hand;top:0px'>" +
      "<P CLASS='Menu'>FAUCETS</P></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='tiles.htm' STYLE='cursor:hand;top:0px'>" +
      "<P CLASS='Menu'>TILES</P></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='accessories.htm' STYLE='cursor:hand;top:0px'>" +
      "<P CLASS='Menu'>ACCESSORIES</P></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='custom.htm' STYLE='cursor:hand;top:0px'>" +
      "<P CLASS='Menu'>CUSTOM PROJECTS</P></DIV>");
   }
  
  if (item == 'Pierres') {
  document.write("<DIV CLASS='MENULPRO' STYLE='height:10px;top:0px;'></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='stones.htm' STYLE='cursor:hand;top:0px;'>" +
      "<P CLASS='Menu'>GRANITE</P></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='marble.htm' STYLE='cursor:hand;top:0px'>" +
      "<P CLASS='Menu'>MARBLE</P></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='slate.htm' STYLE='cursor:hand;top:0px'>" +
      "<P CLASS='Menu'>SLATE</P></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='travertine.htm' STYLE='cursor:hand;top:0px;'>" +
      "<P CLASS='Menu'>TRAVERTINE</P></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='limestone.htm' STYLE='cursor:hand;top:0px'>" +
      "<P CLASS='Menu'>LIMESTONE</P></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='sandstone.htm' STYLE='cursor:hand;top:0px'>" +
      "<P CLASS='Menu'>SANDSTONE</P></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='onyx.htm' STYLE='cursor:hand;top:0px'>" +
      "<P CLASS='Menu'>ONYX</P></DIV>" +
      "<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='slabs.htm' STYLE='cursor:hand;top:0px'>" +
      "<P CLASS='Menu'>IMPORTATION/<br>Latest arrivals</P></DIV>" +
      //"<DIV CLASS='MENULPRO' onmouseover=javascript:this.style.backgroundColor='D2BFAB' onmouseout=javascript:this.style.backgroundColor='DBCAB9' onclick=javascript:top.location.href='tooldoclink.htm' STYLE='cursor:hand;top:0px'>" +
      //"<P CLASS='Menu'>Tools, documentations and hot links</P></DIV>" +
      "");
  }
}
}


function do_pub(){
  str = new String(document.location)
  if (str.search("/fr/") != -1){
    if (EnabledOnlineStore != 0) {
      document.write("<TABLE ALIGN='CENTER' BORDER='0' HEIGHT='100%' WIDTH='70%'>" +
                     "<TR><TD><DIV CLASS='PUB' onclick=javascript:top.location.href='promo.htm'><IMG ALT='Faites des économies' BORDER='0' SRC='../images/pub1_fr.gif'></DIV></TD></TR>" +
                     "<TR><TD><DIV CLASS='PUB' onclick=javascript:top.location.href='tranches.htm'><IMG ALT='Importation de tranches' BORDER='0' SRC='../images/pub2.gif'></DIV></TD></TR>" +
                     "<TR><TD><DIV CLASS='PUB' onclick=javascript:top.location.href='http://www.ideegranit.com/comersus/store/comersus_listCategoriesAndProducts.asp?Welcome=Oui'><IMG ALT='Magasin en ligne' BORDER='0' SRC='../images/pub_animated.gif'></DIV></TD></TR>" +
                     "</TABLE>");
    }
    else {
      document.write("<TABLE ALIGN='CENTER' BORDER='0' HEIGHT='100%' WIDTH='70%'>" +
                     "<TR><TD><DIV CLASS='PUB' onclick=javascript:top.location.href='promo.htm'><IMG ALT='Faites des économies' BORDER='0' SRC='../images/pub1_fr.gif'></DIV></TD></TR>" +
                     "<TR><TD><DIV CLASS='PUB' onclick=javascript:top.location.href='tranches.htm'><IMG ALT='Importation de tranches' BORDER='0' SRC='../images/pub2.gif'></DIV></TD></TR>" +
                     "<TR><TD><DIV CLASS='PUB' onclick=javascript:top.location.href='promo.htm'><IMG ALT='Référer un client' BORDER='0' SRC='../images/pub3.gif'></DIV></TD></TR>" +
                     "</TABLE>");
    }
  }
  else{
    if (EnabledOnlineStore != 0) {
      document.write("<TABLE ALIGN='CENTER' BORDER='0' HEIGHT='100%' WIDTH='70%'>" +
                     "<TR><TD><DIV CLASS='PUB' onclick=javascript:top.location.href='specials.htm'><IMG ALT='Big savings' BORDER='0' SRC='../images/pub1_en.gif'></DIV></TD></TR>" +
                     "<TR><TD><DIV CLASS='PUB' onclick=javascript:top.location.href='slabs.htm'><IMG ALT='Slabs Importations' BORDER='0' SRC='../images/pub2_en.gif'></DIV></TD></TR>" +
                     "<TR><TD><DIV CLASS='PUB' onclick=javascript:top.location.href='http://www.ideegranit.com/comersus/store/comersus_listCategoriesAndProducts.asp?Welcome=Yes'><IMG ALT='Online Store' BORDER='0' SRC='../images/pub_animated_en.gif'></DIV></TD></TR>" +
                     "</TABLE>");
    }
    else {
      document.write("<TABLE ALIGN='CENTER' BORDER='0' HEIGHT='100%' WIDTH='70%'>" +
                     "<TR><TD><DIV CLASS='PUB' onclick=javascript:top.location.href='specials.htm'><IMG ALT='Big savings' BORDER='0' SRC='../images/pub1_en.gif'></DIV></TD></TR>" +
                     "<TR><TD><DIV CLASS='PUB' onclick=javascript:top.location.href='slabs.htm'><IMG ALT='Slabs Importations' BORDER='0' SRC='../images/pub2_en.gif'></DIV></TD></TR>" +
                     "<TR><TD><DIV CLASS='PUB' onclick=javascript:top.location.href='specials.htm'><IMG ALT='Get a gift' BORDER='0' SRC='../images/pub3_en.gif'></DIV></TD></TR>" +
                     "</TABLE>");
    }
  }
}


function do_trademark(){
  document.write("<IMG ALT='Blanco' BORDER='0' SRC='../images/blanco.gif'>" +
                 "<IMG ALT='Kohler' BORDER='0' SRC='../images/kohler.jpg'>" +
                 "<IMG ALT='Symmons' BORDER='0' SRC='../images/symmons.gif'>" +
                 "<IMG ALT='Kindred' BORDER='0' SRC='../images/kindred.gif'>" +
                 "<IMG ALT='Crane' BORDER='0' SRC='../images/crane.gif'>" +
                 "<IMG ALT='Elkay' BORDER='0' SRC='../images/elkay.gif'>" +
                 "<IMG ALT='Grohe' BORDER='0' SRC='../images/grohe.gif'>");
}


function quote(){
  if (EnabledOnlineStore != 0) {
    str = new String(document.location)
    if (str.search("/fr/") != -1){
      document.write("<P CLASS='BODY' STYLE='font-size:9pt;margin-left:3pt;margin-bottom:6pt;'>FAITES UNE <B><a href='soumission.htm'>DEMANDE DE PRIX</a></B> CE MOIS-CI ET FAITES DE GROSSES ÉCONOMIES GRÂCE À NOS PROMOTIONS EN COURS! PLUS, OBTENEZ VOTRE <b>PRODUIT D'ENTRETIEN DE LA PIERRE GRATUITEMENT!</b><BR><BR></P>");
    }
    else{
      document.write("<P CLASS='BODY' STYLE='font-size:9pt;margin-left:3pt;margin-bottom:6pt;'>REQUEST A <B><a href='quotation.htm'>QUOTATION</a></B> THIS MONTH AND TAKE ADVANTAGE OF THE CURRENT SPECIAL OFFERS! PLUS, GET YOUR <b>FREE NATURAL STONE CLEANING PRODUCT!</b><BR><BR></P>");
    }
  }
  else {
    str = new String(document.location)
    if (str.search("/fr/") != -1){
      document.write("<P CLASS='BODY' STYLE='font-size:9pt;margin-left:3pt;margin-bottom:6pt;'>FAITES UNE <B><a href='soumission.htm'>DEMANDE DE PRIX</a></B> CE MOIS-CI ET FAITES DE GROSSES ÉCONOMIES GRÂCE À NOS PROMOTIONS EN COURS! PLUS, OBTENEZ VOTRE <b>PRODUIT D'ENTRETIEN DE LA PIERRE GRATUITEMENT!</b></P>");
    }
    else{
      document.write("<P CLASS='BODY' STYLE='font-size:9pt;margin-left:3pt;margin-bottom:6pt;'>REQUEST A <B><a href='quotation.htm'>QUOTATION</a></B> THIS MONTH AND TAKE ADVANTAGE OF THE CURRENT SPECIAL OFFERS! PLUS, GET YOUR <b>FREE NATURAL STONE CLEANING PRODUCT!</b></P>");
    }
  }
}


function buyonline(){
  if (EnabledOnlineStore != 0) {
    str = new String(document.location)
    if (str.search("/fr/") != -1){
      document.write("<P CLASS='BODY' STYLE='font-size:9pt;margin-left:3pt;'>OU<BR><BR><a border='0' HREF='http://www.ideegranit.com/comersus/store/comersus_listCategoriesAndProducts.asp?Welcome=Oui'><IMG alt='Magasin en ligne' BORDER='0' SRC='../images/arrowbuyonline.gif'></a></P>");
    }
    else{
      document.write("<P CLASS='BODY' STYLE='font-size:9pt;margin-left:3pt;'>OR<BR><BR><a border='0' HREF='http://www.ideegranit.com/comersus/store/comersus_listCategoriesAndProducts.asp?Welcome=Yes'><IMG alt='Online store' BORDER='0' SRC='../images/arrowbuyonline_en.gif'></a></P>");
    }
  }
  else {
    document.write("");
  }
}


function shop_online(cat_number){
  if (EnabledOnlineStore != 0) {
    str = new String(document.location)
    if (str.search("/fr/") != -1){
      document.write("<a href='http://www.ideegranit.com/comersus/store/comersus_listCategoriesAndProducts.asp?idCategory="+cat_number+"&Welcome=Oui'>Pour consulter nos catalogues en ligne cliquer ici.</a>");
    }
    else{
      document.write("<a href='http://www.ideegranit.com/comersus/store/comersus_listCategoriesAndProducts.asp?idCategory="+cat_number+"&Welcome=Yes'>Click here to see our online catalogue.</a>");
    }
  }
  else {
    document.write("");
  }
}


function stoneselection(){
  str = new String(document.location)
  if (str.search("/fr/") != -1){
    document.write("<P CLASS='BODY' STYLE='font-size:9pt;margin-left:0pt;margin-bottom:18pt;'><a href='pierres.htm'>Cliquez ici pour consulter notre choix de pierre</a></P>");
  }
  else{
    document.write("<P CLASS='BODY' STYLE='font-size:9pt;margin-left:0pt;margin-bottom:18pt;'><a href='stones.htm'>Click here to see our stone selection</a></P>");
  }
}


//-->