var nbimage= 90;
var width;
var height;
var url;
var alte;
function banniere()
{
numimage= Math.round(Math.random()*(nbimage-1)+1);
if (numimage <= 10)
{
gotosite = "http://www.danse-africaine.net/photos/photos_scenes.htm";
url = "image/ed-thema-2.jpg";
alte = "chorégraphe et professeur de danse africaine";
}
if (numimage > 10 && numimage <= 20)
{
gotosite = "http://www.danse-africaine.net/photos/photos_scenes.htm";
url = "image/benauge1.jpg";
alte = "danse africaine";
}
if (numimage > 20 && numimage <= 30)
{
gotosite = "http://www.danse-africaine.net/photos/photos_scenes.htm";
url = "image/edsensationsmini7.jpg";
alte = "spectacle danse africaine";
}
if (numimage > 30 && numimage <= 40)
{
gotosite = "http://www.danse-africaine.net/photos/photos_scenes.htm";
url = "image/coconrochemini13.jpg";
alte = "spectacle danse";
}
if (numimage > 40 && numimage <= 50)
{
gotosite = "http://www.danse-africaine.net/photos/photos_scenes.htm";
url = "image/tg-masque.jpg";
alte = "choregraphie danse";
}
if (numimage > 50 && numimage <= 60)
{
gotosite = "http://www.danse-africaine.net/photos/photos_scenes.htm";
url = "image/metamorphoseminil9.jpg";
alte = "concert spectacle";
}
if (numimage > 60 && numimage <= 70)
{
gotosite = "http://www.danse-africaine.net/photos/photos_scenes.htm";
url = "image/cocon.jpg";
alte = "danse africaine";
}
if (numimage > 70 && numimage <= 80)
{
gotosite = "http://www.danse-africaine.net/photos/photos_scenes.htm";
url = "image/racine-benauge-video28.jpg";
alte = "danse africaine";
}
if (numimage > 80)
{
gotosite = "http://www.danse-africaine.net/photos/photos_scenes.htm";
url = "image/tg-danseuses.jpg";
alte = "spectacle danse vidéo";
}
if(gotosite != "")
	{
	document.write ('<A HREF="' + gotosite + '">');	
	}
document.write('<IMG SRC="' + url + '" ALT="' + alte + '" BORDER=0>')
if(gotosite != "")
	{
	document.write('</A>')
	}
}
<!-- FIN DU SCRIPT -->
