theimage = new Array();

///// Configurable Variables

// The dimensions of ALL the images should be the same or some of them may look stretched or reduced in Netscape 4.
// Format: theimage[...]=[name/description, image_src, linking_url]
theimage[0]=["Advert 1", "/images/search.gif", "/pages/advertise.asp", "Go Local", "<a href='/pages/advertise.asp'>More Info</a>", "0845 257 3423", ""];
theimage[1]=["Advert 2", "/images/local.gif", "/pages/advertise.asp", "Go Local", "<a href='/pages/advertise.asp'>More Info</a>", "0845 257 3423", ""];  
theimage[2]=["Advert 2", "/images/jjsmall.gif", "/pages/taxi.asp", "J&J Coles Private Hire", "<a href='/pages/Taxi.asp'>More Info</a>", "01256 220 014", ""];
theimage[3]=["Advert 3", "/images/axissmall.gif", "/pages/courier.asp", "Axis Parcel Serice", "<a href='/pages/courier.asp'>More Info</a>", "07000 333 666", ""];  


///// Plugin variables

playspeed=6000;// The playspeed determines the delay for the "Play" button in ms
dotrans=1; // if value = 1 then there are transitions played in IE
transtype='blendTrans';// 'blendTrans' or 'revealtrans'
transattributes='duration=1,transition=23';// duration=seconds,transition=#<24
randomorder=1;
linksperline=4; // For the text links
playdiffernce=500; // The speed that the autplay speed is changed by
autostart=1;
preloadslides=1;

// Random order script
function makeRandom() {
tempimage = new Array();
for(p=0;p<theimage.length;p++){
for(p1=0;p1>-1;p1) {tempNum = Math.floor(Math.random()*theimage.length)
if(!tempimage[tempNum]){tempimage[tempNum]=theimage[p];break}}}
for(p=0;p<theimage.length;p++)theimage[p]=tempimage[p]}
if(randomorder==1)makeRandom()

// Preloader
function preloadSlide() {for(k=0;k<til;k++) {theimage[k][1]=new Image().src=theimage[k][1];}}

// Add extra functions between the {} if you need other functions that require the onload
window.onload=function(){
if(window.preloadslides)preloadSlide();if(window.autostart)slidePlay();}

// NS4 resize handler
window.onresize=function(){
if(document.layers)this.location=this.location;}