// JavaScript Document

iArray=new Array(
"IMG/vign-home/vign-home-1.jpg",
"IMG/vign-home/vign-home-2.jpg",
"IMG/vign-home/vign-home-3.jpg",
"IMG/vign-home/vign-home-4.jpg",
"IMG/vign-home/vign-home-5.jpg",
"IMG/vign-home/vign-home-6.jpg");
ri=Math.floor(iArray.length*Math.random());
ri='<img src="../'+ iArray[ri]+ '" border="0" width="150" height="140">';

iArray=new Array(
"IMG/band-home/band-home-1.jpg",
"IMG/band-home/band-home-2.jpg",
"IMG/band-home/band-home-3.jpg",
"IMG/band-home/band-home-4.jpg",
"IMG/band-home/band-home-5.jpg",
"IMG/band-home/band-home-6.jpg");
ri2=Math.floor(iArray.length*Math.random());
ri2='<img src="../'+ iArray[ri2]+ '" border="0" width="401" height="79">';


if(document.images)
{
cdl = new Image;
cdl = "IMG/titre-cdl-home-ov.jpg";
clubh = new Image;
clubh = "IMG/titre-clubh-home-ov.jpg";
anc = new Image;
anc = "IMG/titre-anc-home-ov.jpg";
forums = new Image;
forums = "IMG/titre-forums-home-ov.jpg";
}


function resizePopUp(monImage, monTitre)
  {
  w = window.open('','chargement','width=1,height=1,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes');
  w.document.write( "<html><head><title>"+monTitre+"</title>\n"); 
  w.document.write( "<script language='JavaScript'>\n"); 
  w.document.write( "IE5=NN4=NN6=false;\n"); 
  w.document.write( "if(document.all)IE5=true;\n"); 
  w.document.write( "else if(document.getElementById)NN6=true;\n"); 
  w.document.write( "else if(document.layers)NN4=true;\n"); 
  w.document.write( "function autoSize() {\n"); 
  w.document.write( "if(IE5) self.resizeTo(document.images[0].width+10,document.images[0].height+31)\n"); 
  w.document.write( "else if(NN6) self.sizeToContent();\n");
  w.document.write( "else window.resizeTo(document.images[0].width,document.images[0].height+20)\n"); 
  w.document.write( "self.focus();\n"); 
  w.document.write( "}\n</scri");
  w.document.write( "pt>\n"); 
  w.document.write( "</he");
  w.document.write( "ad ><body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 onLoad='javascript:autoSize();'>" );
  w.document.write( "<a href='javascript:window.close();'><img src='"+monImage+"' border=0 alt='"+monTitre+"'></a>" ); 
  w.document.write( "</body></html>" );
  w.document.close(); 
  }
-->
