<!-- hide from non-JavaScript browsers    
// Netscape 3.0 compatibility test (for javascript image swapping)
compat = false;
if( parseInt( navigator.appVersion ) >= 3 ) { compat = true; }
// cache images for quick swapping
if( compat )
{
map_name = "conseil";

calendrier1 = new Image;
calendrier1.src = "images/cal.gif";
calendrier2 = new Image;
calendrier2.src = "images/cal_fond.gif";
calendrier3 = new Image;
calendrier3.src = "images/blanc.gif";

documentation1 = new Image;
documentation1.src = "images/doc.gif";
documentation2 = new Image;
documentation2.src = "images/doc_fond.gif";
documentation3 = new Image;
documentation3.src = "images/blanc.gif";

service1 = new Image;
service1.src = "images/ser_mun.gif";
service2 = new Image;
service2.src = "images/ser_mun_fond.gif";
service3 = new Image;
service3.src = "images/ser_mun_blanc.gif";

conseil1 = new Image;
conseil1.src = "images/con_mun.gif";
conseil2 = new Image;
conseil2.src = "images/con_mun_fond.gif";
conseil3 = new Image;
conseil3.src = "images/con_mun_blanc.gif";

accueil1 = new Image;
accueil1.src = "images/acc.gif";
accueil2 = new Image;
accueil2.src = "images/acc_fond.gif";
accueil3 = new Image;
accueil3.src = "images/blanc.gif";

autres1 = new Image;
autres1.src = "images/aut_ser.gif";
autres2 = new Image;
autres2.src = "images/aut_ser_fond.gif";
autres3 = new Image;
autres3.src = "images/blanc.gif";

historique1 = new Image;
historique1.src = "images/his.gif";
historique2 = new Image;
historique2.src = "images/his_fond.gif";
historique3 = new Image;
historique3.src = "images/his_blanc.gif";

}

// swap images using the cached images
function doSwap(x, y)
{
   if( compat ) { 
    document.images[map_name].src=eval(map_name+'1.src'); 
    document.images[x].src=eval(y+'.src'); 
    map_name = x;
   }
}

function getMap(x)
{
  if (compat) {
   document.images['subnav'].src=eval(x+'.src'); 
  }
}

conseil = new Array();
service = new Array();
calendrier = new Array();
documentation = new Array();
autres = new Array();
historique = new Array();
accueil = new Array();

conseil[0] = "membres.html";
conseil[1] = "/pdf/organigramme.pdf";
conseil[2] = "";
conseil[3] = "";
conseil[4] = "";
conseil[5] = "";
conseil[6] = "";
conseil[7] = "";
conseil[8] = "";

service[0] = "d_general.html";
service[1] = "administration.html";
service[2] = "greffe_sjuridiques.html";
service[3] = "securite.html";
service[4] = "t_public.html";
service[5] = "t_public_rr.html";
service[6] = "hydro_coaticook.html";
service[7] = "cour_municipale.html";
service[8] = "urbanisme.html";
service[9] = "vvap.html";

calendrier[0] = "";
calendrier[1] = "";
calendrier[2] = "";
calendrier[3] = "";
calendrier[4] = "";
calendrier[5] = "";
calendrier[6] = "";
calendrier[7] = "";
calendrier[8] = "";

documentation[0] = "";
documentation[1] = "";
documentation[2] = "";
documentation[3] = "";
documentation[4] = "";
documentation[5] = "";
documentation[6] = "";
documentation[7] = "";
documentation[8] = "";

accueil[0] = "";
accueil[1] = "";
accueil[2] = "";
accueil[3] = "";
accueil[4] = "";
accueil[5] = "";
accueil[6] = "";
accueil[7] = "";
accueil[8] = "";

autres[0] = "";
autres[1] = "";
autres[2] = "";
autres[3] = "";
autres[4] = "";
autres[5] = "";
autres[6] = "";
autres[7] = "";
autres[8] = "";

historique[0] = "origine.html";
historique[1] = "";
historique[2] = "hydro_histoire.html";
historique[3] = "";
historique[4] = "";
historique[5] = "";
historique[6] = "";
historique[7] = "";
historique[8] = "";

function getURL(i) {
 if (compat) {
  uri = eval(map_name+'['+i+']');
  if (uri != "http://www.ville.coaticook.qc.ca/index.html") {
   top.document.location=uri;
  } 
 }
}

function showURL(i) {
 if (compat) {
   uri = eval(map_name+'['+i+']');
   return uri;
 }
}

// -->

