// JavaScript Document

//changement de photo aléatoire accueil

function random_imglink(){
  var myimages=new Array()
  //specify random images below. You can have as many as you wish
  myimages[1]="../random/produit-vedette-articles-promotionnels-01.jpg"
  myimages[2]="../random/produit-vedette-articles-promotionnels-02.jpg"
  myimages[3]="../random/produit-vedette-articles-promotionnels-03.jpg"
  myimages[4]="../random/produit-vedette-articles-promotionnels-04.jpg"
  myimages[5]="../random/produit-vedette-articles-promotionnels-05.jpg"
  myimages[6]="../random/produit-vedette-articles-promotionnels-06.jpg"
  myimages[7]="../random/produit-vedette-articles-promotionnels-07.jpg"
  myimages[8]="../random/produit-vedette-articles-promotionnels-08.jpg"
  myimages[9]="../random/produit-vedette-articles-promotionnels-09.jpg"
  myimages[10]="../random/produit-vedette-articles-promotionnels-10.jpg"
  //specify corresponding links below
  var imagelinks=new Array()
  imagelinks[1]="#"
  imagelinks[2]="#"
  imagelinks[3]="#"
  imagelinks[4]="#"
  imagelinks[5]="#"
  imagelinks[6]="#"
  imagelinks[7]="#"
  imagelinks[8]="#"
  imagelinks[9]="#"
  imagelinks[10]="#"

  var ry=Math.floor(Math.random()*myimages.length)

  if (ry==0)
     ry=1
     document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" border=0></a>')
}



function animSplash()
{
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" style="display:block;" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="570" height="140">\n');
document.write('<param name=movie value="img/splash.swf">\n');
document.write('<param name=quality value=high>\n');
document.write('<param name=menu value=false>\n');
document.write('<embed src="img/splash.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="570" height="140">\n');
document.write('</embed>\n');
document.write('</object>\n');
}

function animAccueil()
{
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" style="display:block;" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="722" height="170">\n');
document.write('<param name=movie value="../img/top01.swf">\n');
document.write('<param name=quality value=high>\n');
document.write('<param name=menu value=false>\n');
document.write('<embed src="../img/top01.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="722" height="170">\n');
document.write('</embed>\n');
document.write('</object>\n');
}
function anim1()
{
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" style="display:block;" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="640" height="400">\n');
document.write('<param name=movie value="../videos/promouni-couture01.swf">\n');
document.write('<param name=quality value=high>\n');
document.write('<param name=menu value=false>\n');
document.write('<embed src="../videos/promouni-couture01.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="640" height="400">\n');
document.write('</embed>\n');
document.write('</object>\n');
}

function anim1en()
{
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" style="display:block;" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="640" height="400">\n');
document.write('<param name=movie value="../videos/promouni-couture01en.swf">\n');
document.write('<param name=quality value=high>\n');
document.write('<param name=menu value=false>\n');
document.write('<embed src="../videos/promouni-couture01en.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="640" height="400">\n');
document.write('</embed>\n');
document.write('</object>\n');
}


function anim2()
{
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" style="display:block;" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="640" height="400">\n');
document.write('<param name=movie value="../videos/promouni-coulage01.swf">\n');
document.write('<param name=quality value=high>\n');
document.write('<param name=menu value=false>\n');
document.write('<embed src="../videos/promouni-coulage01.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="640" height="400">\n');
document.write('</embed>\n');
document.write('</object>\n');
}

function anim2en()
{
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" style="display:block;" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="640" height="400">\n');
document.write('<param name=movie value="../videos/promouni-coulage01en.swf">\n');
document.write('<param name=quality value=high>\n');
document.write('<param name=menu value=false>\n');
document.write('<embed src="../videos/promouni-coulage01en.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="640" height="400">\n');
document.write('</embed>\n');
document.write('</object>\n');
}


function anim3()
{
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" style="display:block;" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="640" height="400">\n');
document.write('<param name=movie value="../videos/promouni_broderie01.swf">\n');
document.write('<param name=quality value=high>\n');
document.write('<param name=menu value=false>\n');
document.write('<embed src="../videos/promouni_broderie01.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="640" height="400">\n');
document.write('</embed>\n');
document.write('</object>\n');
}

function anim3en()
{
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" style="display:block;" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="640" height="400">\n');
document.write('<param name=movie value="../videos/promouni_broderie01en.swf">\n');
document.write('<param name=quality value=high>\n');
document.write('<param name=menu value=false>\n');
document.write('<embed src="../videos/promouni_broderie01en.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="640" height="400">\n');
document.write('</embed>\n');
document.write('</object>\n');
}


function anim4()
{
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" style="display:block;" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="640" height="400">\n');
document.write('<param name=movie value="../videos/promouni-serigraphie01.swf">\n');
document.write('<param name=quality value=high>\n');
document.write('<param name=menu value=false>\n');
document.write('<embed src="../videos/promouni-serigraphie01.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="640" height="400">\n');
document.write('</embed>\n');
document.write('</object>\n');
}

function anim4en()
{
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" style="display:block;" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="640" height="400">\n');
document.write('<param name=movie value="../videos/promouni-serigraphie01en.swf">\n');
document.write('<param name=quality value=high>\n');
document.write('<param name=menu value=false>\n');
document.write('<embed src="../videos/promouni-serigraphie01en.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="640" height="400">\n');
document.write('</embed>\n');
document.write('</object>\n');
}

function anim5()
{
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" style="display:block;" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="640" height="400">\n');
document.write('<param name=movie value="../videos/promouni-gravure01.swf">\n');
document.write('<param name=quality value=high>\n');
document.write('<param name=menu value=false>\n');
document.write('<embed src="../videos/promouni-gravure01.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="640" height="400">\n');
document.write('</embed>\n');
document.write('</object>\n');
}

function anim5en()
{
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" style="display:block;" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="640" height="400">\n');
document.write('<param name=movie value="../videos/promouni-gravure01en.swf">\n');
document.write('<param name=quality value=high>\n');
document.write('<param name=menu value=false>\n');
document.write('<embed src="../videos/promouni-gravure01en.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="640" height="400">\n');
document.write('</embed>\n');
document.write('</object>\n');
}


function anim6()
{
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" style="display:block;" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="640" height="400">\n');
document.write('<param name=movie value="../videos/promouni-gravure01.swf">\n');
document.write('<param name=quality value=high>\n');
document.write('<param name=menu value=false>\n');
document.write('<embed src="../videos/promouni-gravure01.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="640" height="400">\n');
document.write('</embed>\n');
document.write('</object>\n');
}

function anim6en()
{
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" style="display:block;" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="640" height="400">\n');
document.write('<param name=movie value="../videos/promouni-gravure01en.swf">\n');
document.write('<param name=quality value=high>\n');
document.write('<param name=menu value=false>\n');
document.write('<embed src="../videos/promouni-gravure01en.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="640" height="400">\n');
document.write('</embed>\n');
document.write('</object>\n');
}


function anim7()
{
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" style="display:block;" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="320" height="280">\n');
document.write('<param name=movie value="../videos/promo-green-pen01.swf">\n');
document.write('<param name=quality value=high>\n');
document.write('<param name=menu value=false>\n');
document.write('<embed src="../videos/promo-green-pen01.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="320" height="280">\n');
document.write('</embed>\n');
document.write('</object>\n');
}

function anim8()
{
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" style="display:block;" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="320" height="280">\n');
document.write('<param name=movie value="../videos/promo-mais-bambou01.swf">\n');
document.write('<param name=quality value=high>\n');
document.write('<param name=menu value=false>\n');
document.write('<embed src="../videos/promo-mais-bambou01.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="320" height="280">\n');
document.write('</embed>\n');
document.write('</object>\n');
}

function ctv01()
{
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" style="display:block;" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="320" height="280">\n');
document.write('<param name=movie value="../videos/ctv-news-report01.swf">\n');
document.write('<param name=quality value=high>\n');
document.write('<param name=menu value=false>\n');
document.write('<embed src="../videos/ctv-news-report01.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="320" height="280">\n');
document.write('</embed>\n');
document.write('</object>\n');
}
