function random_imglink(){
  var myimages=new Array()
  //specify random images below. You can have as many as you wish
  myimages[1]="imagenes/random/01.jpg"
  myimages[2]="imagenes/random/02.jpg"
  myimages[3]="imagenes/random/03.jpg"
  myimages[4]="imagenes/random/04.jpg"
  myimages[5]="imagenes/random/05.jpg"
  myimages[6]="imagenes/random/06.jpg"
  myimages[7]="imagenes/random/07.jpg"
  

  //specify corresponding links below
  var imagelinks=new Array()
  imagelinks[1]="productos.html"
  imagelinks[2]="productos.html"
  imagelinks[3]="productos.html"
  imagelinks[4]="productos.html"
  imagelinks[5]="productos.html"
  imagelinks[6]="productos.html"
  imagelinks[7]="productos.html"
  

  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>')
}
