function escorte() {
var url = new Array();
 url[0] = "http://www.scriptsgratuits.com/SG/annuaire/script/prove.php?id=6103"; 
 url[1] = "http://www.joliesescortes.com"; 
 url[2] = "http://www.01escorts.com"; 
 url[3] = "http://www.montrealescorts.com/cgi-bin/toplist/rankem.cgi?id="+pseudo; 
 url[4] = "http://www.escortsselection.com/top100/in.php?id="+pseudo;  
 url[5] = "http://www.boncharme.com/?linkb=2037583";   
 url[6] = "http://escortgo.com/top/escort-girl/in.php?id="+pseudo;   
 
 var urlpopup = url[Math.round(6 * Math.random())];
newwin = window.open();
newwin.moveTo(0,0);
newwin.resizeTo(screen.availWidth,screen.availHeight);
newwin.location = urlpopup;
}
var nbThumbs = 4;
var tab_rand = new Array();
var i=0;
while(i<nbThumbs){
	a = Math.round((Math.random()*240)+1);
	// check if not already chosen
	alreadyChosen = false;
	for(var j=0; j<tab_rand.length;j++){
		if(tab_rand[j]==a){
			alreadyChosen  = true;
		}
	}
	if(!alreadyChosen){
		tab_rand[i] = a;
		i++;
	}
}


function pub(){
  a = tab_rand[0];
  tab_rand.shift();
  document.write('<a href="javascript:escorte();">');
  document.write('<img src="http://www.premium-escorte.com/thumbs/'+ a+ '.jpg" width="135" height="180" border="0" class="imagebordure1px" />');
  document.write('</a>'); // ('</a>'+a); diplays thumb number for test purpose
}