<!--
function info(texte) {
if ((texte=="")||(texte==null)) {
window.status="Ste Penn'Ty Bio";
} else {
window.status=texte;
}
}
        // buyItem -ajoute un produit dans le panier
        function buyItem(newItem, newPrice, newTva, newRef, newQuantity) {


		// date
	   var expdate = new Date();
        expdate.setTime(expdate.getTime() +  (24*  60 * 1000 * 1)); 


 if (newPrice == 0) { rc = alert('Produit non disponible'); } 
else{
                if (newQuantity <= 0) { rc = alert('Quantité incorrecte'); } 

                else {
                        if (confirm('Ajouter '+newQuantity+'  '+newItem+' dans le panier')) {
                                index = document.cookie.indexOf("TheBasket");
                                countbegin = (document.cookie.indexOf("=", index) + 1);
                                countend = document.cookie.indexOf(";", index);
                                if (countend == -1) {
                                        countend = document.cookie.length;
                                }
                                document.cookie="TheBasket="+document.cookie.substring(countbegin, countend)+"["+newItem+"|"+newPrice+"|"+newTva+"|"+newRef+"|"+newQuantity+"]";
                       } }
                }
        }

function voirpan()
{
FenPop=window.open('bon.html','popup','width=500,height=350,toolbar=no,scrollbars=yes,statusbar=no,titlebar=no,menubar=yes,left=15,top=15,resizable=no,personalbar=no,locationbar=no');
}

function voirtab()
{
FenPop=window.open('tableau.htm','popup','width=650,height=500,toolbar=no,scrollbars=yes,statusbar=no,titlebar=no,menubar=yes,left=15,top=15,resizable=no,personalbar=no,locationbar=no');
}
function voiroffre()
{
FenPop=window.open('offre.html','popup1','width=500,height=300,toolbar=no,scrollbars=no,statusbar=no,titlebar=no,menubar=no,left=15,top=15,resizable=no,personalbar=no,locationbar=no');
}
function popup(url) {
var NvFn=null;
NvFn=window.open(url,NvFn,"width=480,height=300,toolbar=no,scrollbars=no,statusbar=no,menubar=no,left=15,top=15,resizable=yes,personalbar=yes,locationbar=yes");
NvFn.focus();
}

function ouvrir(url) {
var NvFn=null;
NvFn=window.open(url,NvFn,"width=590,height=450,left=15,top=15");
NvFn.focus();
}

function mess()
{
FenPop=window.open('mess.html','popup1','width=400,height=100,toolbar=no,scrollbars=no,statusbar=no,titlebar=no,menubar=no,left=300,top=150,resizable=no,personalbar=no,locationbar=no');
}

function PopImg(nom,x,y) {
str='<';
var PopImg=null;
var fic='gima/'+nom;
PopImg=window.open('','oeuvre','width='+x+',height='+y+',toolbar=no,scrollbars=no,statusbar=no,titlebar=no,menubar=no,left=15,top=15,resizable=no,personalbar=no,locationbar=no');
PopImg.document.write('<html><head><title>photo diffuseur</title></head><body background="white" onBlur="javascript:self.close();" marginwidth="0" marginheight="0" leftmargin="0" topmargin="0"><script language="javascript"></script><table width="100%" height="100%" align="center" valign="middle"><tr><td><a href="javascript:self.close();"><img src="'+fic+'" border="0" width="'+x+'" height="'+y+'" class="nue"  title="Cliquez pour fermer la fen&ecirc;tre"></a></td></tr></table></body><script language="javascript">self.focus();</script></html>');
PopImg.focus();
}

// -->
