var isNav, isIE;
if (parseInt(navigator.appVersion.charAt(0)) >= 4) {
  isNav = (navigator.appName == "Netscape") ? true : false;
  isIE = (navigator.appName.indexOf("Microsoft") != -1) ? true : false;
}


  if(isNav) wiW = window.innerWidth;
if (isIE) wiW =screen.width;
 var coeff, koeff;
koeff =  (wiW/800);
if (koeff>1.25) {coeff=1.25} else {coeff=koeff}
 var veloh, velov, vanh, vanv, falh, falv, pict, typ, vil, fal, plumh, plumv, travh, travv, plum, trav, conch, concv, conc, kay1, kay1h, kay1v, ilre, ilreh, ilrev, kay, kayh, kayv, bar, barh, barv, che, cheh, chev, cha, chah, chav, hbo, hboh, hbov, gre, greh, grev, lent, lentv, lenth, picn, picnh, picnv, emba;
veloh = Math.round(400*coeff);
vanh = Math.round(397*coeff);
velov = Math.round(328*coeff);
vanv = Math.round(271*coeff);
falh = Math.round(379*coeff);
falv = Math.round(279*coeff);
plumh = Math.round(400*coeff);
travh = Math.round(365*coeff);
plumv = Math.round(328*coeff);
travv = Math.round(303*coeff);
conch = Math.round(271*coeff);
concv = Math.round(400*coeff);
kay1h = Math.round(400*coeff);
kay1v = Math.round(263*coeff);
ilreh = Math.round(390*coeff);
ilrev = Math.round(240*coeff);
kayh = Math.round(439*coeff);
kayv = Math.round(230*coeff);
barh = Math.round(229*coeff);
barv = Math.round(350*coeff);
cheh = Math.round(380*coeff);
chev = Math.round(270*coeff);
chah = Math.round(380*coeff);
chav = Math.round(270*coeff);
hboh =  Math.round(400*coeff);
hbov =  Math.round(310*coeff);
greh =  Math.round(320*coeff);
grev =  Math.round(210*coeff);
lentv = Math.round(330*coeff);
lenth = Math.round(470*coeff);
picnh = Math.round(400*coeff);
picnv = Math.round(332*coeff);
galh = Math.round(400*coeff);
galv = Math.round(326*coeff);
planh = Math.round(450*coeff);
planv = Math.round(289*coeff);
velo= ("<img SRC='../images/femmes.jpg' width='" +veloh+ "' height='" +velov+"' border='0' ALT='A bicyclette dans le marais'>");
van = ("<img SRC='../images/vanneau.jpg' width='" +vanh+ "' height='" +vanv+"' border='0' ALT='Près du Port du Vanneau'>");
fal = ("<img SRC='../images/falaise.jpg' width='" +falh+ "' height='" +falv+"' border='0' alt='Falaises calcaires'>");
plum = ("<img SRC='../images/flute.jpg' width='" +plumh+ "' height='" +plumv+"' border='0' ALT='Un canoe dans le Marais'>");
trav = ("<img SRC='../images/traversee.jpg' width='" +travh+ "' height='" +travv+"' border='0' ALT='Traversee de conche'>");
conc = ("<img SRC='../images/conche.jpg' width='" +conch+ "' height='" +concv+"' border='0' ALT='Une conche bordee de frenes centenaires'>");
kay1 = ("<img SRC='../images/kayak1.jpg' width='" +kay1h+ "' height='" +kay1v+"' border='0' ALT='Sur un bras de la Sèvre Niortaise.'>");
ilre = ("<img SRC='../images/velo-ile-de-re.jpg' width='" +ilreh+ "' height='" +ilrev+"' border='0' ALT='Sur le port de Saint Martin de Ré'>");
kay = ("<img SRC='../images/kayaks.jpg' width='" +kayh+ "' height='" +kayv+"' border='0' ALT='Un départ de randonnée.'>");
bar = ("<img SRC='../images/barque.jpg' width='" +barh+ "' height='" +barv+"' border='0' ALT='En barque traditionnelle.'><h3>En barque traditionnelle...</h3>");
che = ("<img SRC='../images/cheval.jpg' width='" +cheh+ "' height='" +chev+"' border='0' ALT='Vous le rencontrerez peut-être ?.'><br><h1>Un cheval dans le Marais</h1>");
cha = ("<img SRC='../images/charette.jpg' width='" +chah+ "' height='" +chav+"' border='0' ALT='Agriculture traditionnelle, près de la Base Nautique..'><br><h1>Agriculture traditionnelle, près de la base nautique de Bazoin.</h1>");
gre = ("<img SRC='../images/grenouille.jpg' width='" +greh+ "' height='" +grev+"' border='0' ALT='Grenouille à l'affût.'>");
lent = ("<img SRC='../images/lentisques.jpg' width='" +lenth+ "' height='" +lentv+"' border='0' ALT='Sur un tapis de lentisques.'>");
picn = ("<img SRC='../images/pique-nique.jpg' width='" +picnv+ "' height='" +picnh+"' border='0' ALT='Profiter de berges accueillantes ....'>");
gal = ("<img SRC='../images/galets.jpg' width='" +galh+ "' height='" +galv+"' border='0' ALT='L'arrivee au bord de la mer.'>");
plan = ("<img SRC='../images/Plan.gif' width='" +planh+ "' height='" +planv+"' border='1' ALT='Pour nous rejoindre.'>");
veloc = ("<IMG SRC='../images/velocano.jpg' width='423' height='279' ALT='Parés pour le départ !'>");
cailla = ("<IMG SRC='../images/caillaude.jpg' width='367' height='248' ALT='Vers Caillaude'>");
caban = ("<IMG SRC='../images/embarc.jpg' width='372' height='246' ALT='Près du discret embarcadère des Petites Cabanes'>");
