function changer() {
document.getElementById("videoaccueil").innerHTML="<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0\" width=\"990\" height=\"409\">          <param name=\"movie\" value=\"swf/acueil_mix.swf\" /><param name=\"wmode\" value=\"transparent\" /><param name=\"quality\" value=\"high\" /><embed src=\"swf/acueil_mix.swf\" wmode=\"transparent\" quality=\"high\" pluginspage=\"http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"990\" height=\"409\"></embed></object>";
}


var nbcontenu = 4;
var numcontenu = 1;


var contenu1= '<table width="240" border="0" cellspacing="0" cellpadding="0"><tr><td heigh="142"><center><img src="images/cadeau_papier.png" alt="Une commande - Un cadeau" /></center></td></tr><tr><td height="80" class="texte_cadeau"><span class="titre_cadeau"><strong>Un lot de papier photo FRANCETONER GRATUIT</strong></span><br />20 feuilles 10x15cm 230g/m2</td></tr><tr><td height="39" background="images/sous_prix.jpg"><table width="240" border="0" cellspacing="0" cellpadding="0"><tr><td width="30">&nbsp;</td><td class="texte_cadeau">&agrave; partir de :  <span class="prix_cadeau"><strong>39,99 euros TTC</strong></span></td><td width="20">&nbsp;</td></tr></table></td></tr></table>';

var contenu2= '<table width="240" border="0" cellspacing="0" cellpadding="0"><tr><td heigh="142"><center><img src="images/mp3.png" alt="Une commande - Un cadeau" /></center></td></tr><tr><td height="80" class="texte_cadeau"><p><span class="titre_cadeau"><strong>Un lecteur MP3 1Go<br>GRATUIT</strong></span></p></td></tr><tr><td height="39" background="images/sous_prix.jpg"><table width="240" border="0" cellspacing="0" cellpadding="0"><tr><td width="30">&nbsp;</td><td class="texte_cadeau">&agrave; partir de :  <span class="prix_cadeau"><strong>500,00 euros TTC </strong></span></td><td width="20">&nbsp;</td></tr></table></td></tr></table>';

var contenu3= '<table width="240" border="0" cellspacing="0" cellpadding="0"><tr><td heigh="142"><center><img src="images/cadeau_senseo.png" alt="Une commande - Un cadeau" /></center></td></tr><tr><td height="80" class="texte_cadeau"><p><span class="titre_cadeau"><strong>Une cafeti&egrave;re SENSEO<br>GRATUITE</strong></span></p></td></tr><tr><td height="39" background="images/sous_prix.jpg"><table width="240" border="0" cellspacing="0" cellpadding="0"><tr><td width="30">&nbsp;</td><td class="texte_cadeau">&agrave; partir de :  <span class="prix_cadeau"><strong>1500,00 euros TTC </strong></span></td><td width="20">&nbsp;</td></tr></table></td></tr></table>';

var contenu4= '<table width="240" border="0" cellspacing="0" cellpadding="0"><tr><td heigh="142"><center><img src="images/gps.png" alt="Une commande - Un cadeau" /></center></td></tr><tr><td height="80" class="texte_cadeau"><p><span class="titre_cadeau"><strong>Un GPS TomTom Europe<br>GRATUIT</strong></span></p></td></tr><tr><td height="39" background="images/sous_prix.jpg"><table width="240" border="0" cellspacing="0" cellpadding="0"><tr><td width="30">&nbsp;</td><td class="texte_cadeau">&agrave; partir de :  <span class="prix_cadeau"><strong>2500,00 euros TTC </strong></span></td><td width="20">&nbsp;</td></tr></table></td></tr></table>';


var ns4 = (document.layers)? true:false;         //NS 4
var ie4 = (document.all)? true:false;         //IE 4
var dom = (document.getElementById)? true:false;   //NS 6 ou IE 5


   function SetDivmoins(ID) {
   if (numcontenu > 1) numcontenu = numcontenu -1; else numcontenu = nbcontenu;
   if (numcontenu == 1) Content = contenu1;
   if (numcontenu == 2) Content = contenu2;
   if (numcontenu == 3) Content = contenu3;
   if (numcontenu == 4) Content = contenu4;
     
      if (dom) {
      document.getElementById(ID).innerHTML = Content;
         return;
      }
      if (ie4) {
          document.all[ID].innerHTML = Content;
         return;
      }
      if (ns4) {
          with (eval('document.'+ID+'.document')) {
             open();
             write(Content);
             close();
         }
         return;
      }
   }


   function SetDivplus(ID) {
   if (numcontenu < nbcontenu) numcontenu = numcontenu +1; else numcontenu = 1;
   if (numcontenu == 1) Content = contenu1;
   if (numcontenu == 2) Content = contenu2;
   if (numcontenu == 3) Content = contenu3;
   if (numcontenu == 4) Content = contenu4;
   

      if (dom) {
      document.getElementById(ID).innerHTML = Content;
         return;
      }
      if (ie4) {
          document.all[ID].innerHTML = Content;
         return;
      }
      if (ns4) {
          with (eval('document.'+ID+'.document')) {
             open();
             write(Content);
             close();
         }
         return;
      }
   }


setInterval("SetDivplus('cadeaux')", 5000);


function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function align(id) {

if (self.innerWidth)
        {
                frameWidth = self.innerWidth;
                frameHeight = self.innerHeight;
        }
        else if (document.documentElement && document.documentElement.clientWidth)
        {
                frameWidth = document.documentElement.clientWidth;
                frameHeight = document.documentElement.clientHeight;
        }
        else if (document.body)
        {
                frameWidth = document.body.clientWidth;
                frameHeight = document.body.clientHeight;
        }
        if (frameWidth < 1000) { frameWidth = 1000; }
        decalage = ((frameWidth - 1000)/ 2) + 682;

		if(navigator.userAgent.indexOf("Firefox") != -1)  { decalage = decalage -7 };


          if (document.getElementById) {
                  document.getElementById(id).style.left= decalage +7 +"px";
                } else if (document.all) {
                  document.all[id].style.left= decalage;
                } else if (document.layers) {
                  document.layers[id].left= decalage;
                }
}



function align2(id) {

if (self.innerWidth)
        {
                frameWidth = self.innerWidth;
                frameHeight = self.innerHeight;
        }
        else if (document.documentElement && document.documentElement.clientWidth)
        {
                frameWidth = document.documentElement.clientWidth;
                frameHeight = document.documentElement.clientHeight;
        }
        else if (document.body)
        {
                frameWidth = document.body.clientWidth;
                frameHeight = document.body.clientHeight;
        }
        if (frameWidth < 1000) { frameWidth = 1000; }
        decalage = ((frameWidth - 1000)/ 2) + 15;

		if(navigator.userAgent.indexOf("Firefox") != -1)  { decalage = decalage - 7 };


          if (document.getElementById) {
                  document.getElementById(id).style.left= decalage +7 +"px";
                	
				} else if (document.all) {
                  document.all[id].style.left= decalage;
				  
                } else if (document.layers) {
                  document.layers[id].left= decalage;
				  
                }
}