// JavaScript Document
var j,l="",m="",p="",q="",z="",list= new Array()
  /*list[list.length]='random/01.jpg?name=Linha CAF Refrigeração%3A Clique e conheça a linha CAF Refrigeração%21"&lt;"alt="Clique e conheça a linha CAF Refrigeração%21""&lt;"border="0""&lt;"link="mostraProdutos.php5?categoria=2""&lt;"target="_self"';
  list[list.length]='random/02.jpg?name=Linha CAF Refrigeração%3A Clique e conheça a linha CAF Refrigeração%21"&lt;"alt="Clique e conheça a linha CAF Refrigeração%21""&lt;"border="0""&lt;"link="mostraProdutos.php5?categoria=2""&lt;"target="_self"';
  list[list.length]='random/03.jpg?name=Linha CAF Refrigeração%3A Clique e conheça a linha CAF Refrigeração%21"&lt;"alt="Clique e conheça a linha CAF Refrigeração%21""&lt;"border="0""&lt;"link="mostraProdutos.php5?categoria=2""&lt;"target="_self"';
  list[list.length]='random/04.jpg?name=Linha CAF Check-Out%3A Clique e conheça a linha CAF de Check-Outs%21"&lt;"alt="Clique e conheça a linha CAF de Check-Outs%21""&lt;"border="0""&lt;"link="mostraProdutos.php5?categoria=5""&lt;"target="_self"';
  list[list.length]='random/05.jpg?name=Linha CAF Check-Out%3A Clique e conheça a linha CAF de Check-Outs%21"&lt;"alt="Clique e conheça a linha CAF de Check-Outs%21""&lt;"border="0""&lt;"link="mostraProdutos.php5?categoria=5""&lt;"target="_self"';
  list[list.length]='random/06.jpg?name=Linha CAF de Expositores Horti-Fruti%3A Clique e conheça a Linha CAF de Expositores Horti-Fruti%21"&lt;"alt="Clique e conheça a linha CAF de Expositores Horti-Fruti%21""&lt;"border="0""&lt;"link="mostraProdutos.php5?categoria=4""&lt;"target="_self"';
  list[list.length]='random/07.jpg?name=Linha CAF Refrigeração%3A Clique e conheça a Linha CAF de Expositores Horti-Fruti%21"&lt;"alt="Veja a mais completa linha de Expositores Horti-Fruti%21""&lt;"border="0""&lt;"link="mostraProdutos.php5?categoria=4""&lt;"target="_self"';*/
  list[list.length]='random/08.jpg?name=Peças de Reposição"alt="Veja a mais completa linha de acessórios e  peças de reposição para os Picadores e Máquinas CAF%21""&lt;"border="0""&lt;"link="mostraProdutos.php5?categoria=1""&lt;"target="_self"';
  j=parseInt(Math.random()*list.length);
  j=(isNaN(j))?0:j;
  if (list[j].indexOf('?')==-1) {
    document.write('<img src="+list[j]+" alt = "veja mais"/>');
  }
  else {
    nvp=list[j].substring(list[j].indexOf('?')+2).split('"&lt;"');
    for(var i=0;i<nvp.length;i++) {
      sub=nvp[i].split('=');
   	  switch(sub[0]) {
 	    case 'link':
          //l='<a href="mostraProdutos.php5?categoria='+unescape(sub[2])+'">';
		  l='<a href="acessorios.php"+unescape(sub[2])+>';
          p='</a>';
		  break;
	    case 'target':
          q=" target='"+unescape(sub[1])+"'";
  		  break;
  	    default:
          m+=" "+sub[0]+"='"+unescape(sub[1])+"'";
  		  break;
      }
    }
    z=(l!="")?((q!="")?l.substring(0,l.length-1)+q+">":l):"";
    z+="<img src='"+list[j].substring(0,list[j].indexOf('?'))+"'"+m+"/>"+p;
  document.write(z);
  }