If you'd like the decision of which banner to
display taken away from you then copy this code and paste it
into your webpage:
Place the following code between the
<HEAD> and </HEAD> tags:
<script language="JavaScript">
<!-- Hide this script from old browsers --
var imagenumber = 6 ;
var randomnumber = Math.random() ;
var rand1 = Math.round( (imagenumber-1) * randomnumber) + 1 ;
images = new Array
images[1] = "http://www.tataouinetours.com/banners/banner-escapepod.gif"
images[2] = "http://www.tataouinetours.com/banners/banner-crashnburn.gif"
images[3] = "http://www.tataouinetours.com/banners/banner-lukehead.gif"
images[4] = "http://www.tataouinetours.com/banners/banner-searchengine.gif"
images[5] = "http://www.tataouinetours.com/banners/banner-sp.gif"
images[6] = "http://www.tataouinetours.com/banners/banner-clickhere1.gif"
var image = images[rand1]
// -- End Hiding Here -->
</script>
And copy the following text and paste it where
you want the banner to appear:
<A HREF="http://www.tataouinetours.com/"
TARGET="NEW_WINDOW" MARGIN=0>
<script language="JavaScript">
<!-- Hide this script from old browsers --
document.write('<IMG SRC="' + image + '">')
// -- End Hiding Here -->
</script>
</A>
Every time the page with this code is
refreshed the banner image will change. Sometimes it will repeat
the previous one, sometimes not. That's the fun of a random
image changer.