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/Accountant.gif", "http://www.elvethamheathforum.info/elvethamheathforum/pages/accountant.asp","Temple Accounting Services LTD", "<a href='http://www.elvethamheathforum.info/elvethamheathforum/pages/accountant.asp'>More Info</a>", "01256 701 770", ""];
theimage[1]=["Advert 2", "images/labrador.gif", "http://www.elvethamheathforum.info/elvethamheathforum/pages/LabradorLifeline.asp","Labrador Lifeline Trust", "<a href='http://www.elvethamheathforum.info/elvethamheathforum/pages/LabradorLifeline.asp'>More Info</a>", "01252 873 538", ""];
theimage[2]=["Advert 3", "images/peppermintsmall.gif", "http://www.elvethamheathforum.info/elvethamheathforum/pages/curtains.asp","Peppermint Interiors", "<a href='http://www.elvethamheathforum.info/elvethamheathforum/pages/curtains.asp'>More Info</a>", "01252 676772", ""];
theimage[3]=["Advert 4", "images/camberleysmall.gif", "http://www.elvethamheathforum.info/elvethamheathforum/pages/camberleyseat.asp","Camberley Service Centre", "<a href='http://www.elvethamheathforum.info/elvethamheathforum/pages/camberleyseat.asp'>More Info</a>", "01276 33555", ""];
theimage[4]=["Advert 5", "images/Ideal Home Store EH 2.gif", "http://www.idealhomestore.com/","Ideal Home Store", "<a href='http://www.idealhomestore.com/'>More Info</a>", "0845 003 8938", ""];
theimage[5]=["Advert 6", "images/Ideal Home Store EH 1.gif", "http://www.idealhomestore.com/","Ideal Home Store", "<a href='http://www.idealhomestore.com/'>More Info</a>", "0845 003 8938", ""];
theimage[6]=["Advert 7", "images/DiscountSafes EH.gif", "http://www.discountsafes.co.uk/Yale_Certified_Safes_s/180.htm","Discount Safes", "<a href='http://www.discountsafes.co.uk/Yale_Certified_Safes_s/180.htm'>More Info</a>", "0800 0612 637", ""];
theimage[7]=["Advert 8", "images/DiscountSafes EH 2.gif", "http://www.discountsafes.co.uk/Yale_Certified_Safes_s/180.htm","Discount Safes", "<a href='http://www.discountsafes.co.uk/Yale_Certified_Safes_s/180.htm'>More Info</a>", "0845 0612 637", ""];
theimage[8]=["Advert 9", "images/ZebonSOM.gif", "http://www.zebon-som.com","Zebon School of Motoring", "<a href='http://www.zebon-som.com'>More Info</a>", "07818 840898", ""];








///// Plugin variables

playspeed=10000;// 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;}
