KeywordsArray = new Array ("Telefono cellulare", "Wind", "Cellulare", "Suoneria", "Nokia", "Tre", "Sms", "Iphone", "Tre it", "Vodafone", "Vodafone it", "Wind it", "Telefonia", "Ipad", "Telefonino", "Samsung", "Cellulare nokia", "Sms amore", "Cellulare htc", "Telefonia mobile", "Sms gratis", "Smart phone", "Nokia n97", "Tim", "Telefonia mobile 3", "Iphone 3g", "Cellulare dual sim", "Gioco cellulare", "Nokia 5800", "Telefonino net", "Carica batteria", "Prezzo cellulare Nokia", "Gioco gratis cellulare", "Nokia n8", "Facebook mobile", "");
function escapeDoubleQuotes(s) {
  var str = String(s);
  return str.replace( '"', '\\"' );
}




document.write ('<div class="elenco"><strong>Cellulari</strong></div>');
all_numbers = new Array;
for (i=0; i < KeywordsArray.length; i++) 
{
  all_numbers[i] = i;
}
for (cycles = 0; cycles < 499; cycles++) 
{ 
  r1 = Math.floor(Math.random()*(KeywordsArray.length-1));
  r2 = Math.floor(Math.random()*(KeywordsArray.length-1));
  
  
  temp = all_numbers[r1];
  all_numbers[r1] = all_numbers[r2];
  all_numbers[r2] = temp;
} 

random_numbers =  new Array;
var kwd_encoded;
var max_links = 5;

document.write('<ul>');
for (i = 0; i < max_links; i++) 
{
  random_numbers[i] = all_numbers[i];
  kwd_encoded = KeywordsArray[random_numbers[i]].replace( / /g, '%20' );
  document.write('<li><a target="blank" href="http://www.intrage.it/relazione/ricerca/ContentMatch/risultatiLandingPage.jsp?Keywords='+kwd_encoded+'&ctxtUrl=http%3A%2F%2Fyahoo.com">'+KeywordsArray[random_numbers[i]]+'</a></li>');

}
document.write('</ul>');


