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 3", "/images/taxi.gif", "/pages/taxi.asp", "J&J Coles Private Hire", "<a href='/pages/taxi.asp'>More Info</a>", "01252 877997", ""];  
theimage[3]=["Advert 4", "/images/Carpetcare.gif", "/pages/CarpetCleaning.asp", "Elbow Carpet Care", "<a href='/pages/CarpetCleaning.asp'>More Info</a>", "01252 668330", ""];  
theimage[4]=["Advert 5", "/images/myhomesmall.gif", "/pages/cleaner.asp", "My Home Service", "<a href='/pages/cleaner.asp'>More Info</a>", "01252 37 68 62", ""];  
theimage[5]=["Advert 6", "/images/crownsmall.gif", "/pages/Conservatoires.asp", "Crown Conservatoires", "<a href='/pages/Conservatoires.asp'>More Info</a>", "01252 805200", ""];  
theimage[6]=["Advert 7", "/images/axissmall.gif", "/pages/courier.asp", "Axis Parcel Service", "<a href='/pages/courier.asp'>More Info</a>", "07000 333 666", ""];  
theimage[7]=["Advert 8", "/images/sheltonsmall.gif", "/pages/insurancebroker.asp", "Sheltons Insurance", "<a href='/pages/insurancebroker.asp'>More Info</a>", "01276 34637", ""];  


///// 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;}