
function ref2( ref )
{
  document.write('<a target="aquariofil_caddy" href="/fr/ajout_produit.php?ref=' + ref + '&qty=1"><img src="/img/achat_eheim.jpg" alt="Ajouter au panier" border="0"></A>');
}

function dm(msgStr) {
 document.returnValue = false ;
 if (document.images) { 
  window.status = msgStr ;
  document.returnValue = true ;
 }
}

function ref( ref )
{
  document.write(' <table width="84" border="0" cellspacing="0" cellpadding="0">');
  document.write('  <tr> ');
  document.write('<form target="aquariofil_caddy" action="/fr/ajout_produit.php" method="get" name="formQuantite' + ref +'">');
  document.write(' <input type="hidden" name="ref" value="' + ref + '">');
  document.write('   <td width="20"><input name="qty" maxlength="6" size="2" value="1"></td>');
  document.write('   <td width="40"> ');
  document.write('    <input onmouseover="dm(\'ref ' + ref + '\')" alt="Ajouter au panier" border="0" height="26" src="/img/achat_eheim.jpg" type="image" width="40" name="Commander">');
  document.write('   </td>');
  document.write('</form>');
  document.write('  </tr>');
  document.write(' </table>');
}

function ref22( ref )
{
  document.write(' <div style="width:245; height:28; border:solid 1px black;"><table width="245" border="0" cellspacing="2" cellpadding="0">  <tr> ');
  document.write('<form target="aquariofil_caddy" action="/fr/ajout_produit.php" method="get" name="formQuantite' + ref +'">');
  document.write(' <input type="hidden" name="ref" value="' + ref + '">');
  document.write('   <td width="200" class="mdtxt">&nbsp;Par <b>lot de 2</b>, remise <b>8%</b> : <input name="qty" maxlength="2" size="1" value="1"></td>');
  document.write('   <td width="40">    <input onmouseover="dm(\'ref ' + ref + '\')" alt="Ajouter au panier" border="0" height="26" src="/img/achat_eheim.jpg" type="image" width="40" name="Commander">');
  document.write('   </td></form>  </tr> </table></div>');
}

function ref33( ref )
{
  document.write(' <div style="width:255; height:28; border:solid 1px black;"><table width="255" border="0" cellspacing="2" cellpadding="0">  <tr> ');
  document.write('<form target="aquariofil_caddy" action="/fr/ajout_produit.php" method="get" name="formQuantite' + ref +'">');
  document.write(' <input type="hidden" name="ref" value="' + ref + '">');
  document.write('   <td width="210" class="mdtxt">&nbsp;Par <b>lot de 3</b>, remise <b>15%</b> : <input name="qty" maxlength="2" size="1" value="1"></td>');
  document.write('   <td width="40">    <input onmouseover="dm(\'ref ' + ref + '\')" alt="Ajouter au panier" border="0" height="26" src="/img/achat_eheim.jpg" type="image" width="40" name="Commander">');
  document.write('   </td></form>  </tr> </table></div>');
}

function add(cel,val,max) 
{
  pluriel = "";
  nb = document[cel].qty.value;
  nb = parseInt(nb) + parseInt(val);
  if (nb <1) {nb = 1}
  if (max>1) {pluriel = "s"}
  document[cel].qty.value = nb;
  
  if (nb > max) {
  alert ("Il n'est pas possible de commander plus\nde " + max + " exemplaire" + pluriel + " de ce produit");
  document[cel].qty.value = max;
  }
}


function menu_haut() 
{
	document.write('<center><table width="1024" BORDER="0" CELLSPACING="0" CELLPADDING="0"><tr><td align="center">');
	document.write('<center><TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" BACKGROUND="/img/New-logo2.PNG"><TR><TD><a href="http://www.aquariofil.com/fr/index.html"><IMG SRC="/img/New-logo1.PNG" HEIGHT="164" WIDTH="760" ALIGN="CENTER" VALIGN="BOTTOM" border="0" alt="Aquariofil.com, la boutique de vente pour tout le matériel de l\'aquariophilie d\'eau douce ou marine"></a></td>');
	document.write('<TD><a href="http://www.aquariofil.com/fr/index.html"><IMG SRC="/img/New-logo3.PNG" HEIGHT="164" WIDTH="384" ALIGN="CENTER" VALIGN="BOTTOM" border="0" alt="Tout ce dont vos poissons d\'aquarium ont besoin pour vivre heureux"></a></TD></tr></table><br></center>');
}

function menu_bas() 
{
	document.write('</td></tr></table></center>');
}

function menu_haut_old2()
{
document.write('<table cellspacing="5" width="100%"><tr><td>');
document.write('<table width="100%"><tr><td>');
document.write('<table cellspacing="1" width="100%"><tr align="center">');
document.write('<td valign="TOP" class="lgtxt"><b><a href="/fr/plan.html">Plan du site</a></b></td>');
document.write('<td valign="TOP" class="lgtxt"><b><a href="/fr/condition_vente.html">Conditions de vente</a></b></td>');
document.write('<td valign="TOP" class="lgtxt"><b><a href="/fr/faq.html#ancre1">L\'entreprise</a></b></td>');
document.write('<td valign="TOP" class="lgtxt"><b><a href="/fr/liens.html">Liens int&eacute;ressants</a></b></td>');
document.write('<td valign="TOP" class="lgtxt"><b><a href="/fr/livredor.html">Livre d\'Or</a></b></td>');
document.write('<td valign="TOP" class="lgtxt"><b><a href="/fr/cat/index.html">Catalogue</a></b></td>');
document.write('</tr></table></td>');
document.write('<td><table width="100%"><tr align="center">');
document.write('<td><a href="/fr/commande.php" TARGET="_blank"><img src="/photo_catalog/A_logo_COMMANDE.JPG" width="162" height="64" align="bottom" alt="Bon de commande" border="0"></a></td>');
document.write('</tr></table>');
document.write('</td></tr></table>');
document.write('</td></tr></table>');

}

