
theimage = new Array();

///// Configurable Variables

// If you do not want the pictures to link to a page leave the code after the picture name as you see below
// If you do wish to have the pictures link to a page place the relative page between the quotes changing nothing else
// 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]=["Photo1", "/images/CD/photo1.jpg", ""];
theimage[1]=["Photo2", "/images/CD/photo2.jpg", ""];
theimage[2]=["Photo3", "/images/CD/photo3.jpg", ""];
theimage[3]=["Photo4", "/images/CD/photo4.jpg", ""];
theimage[4]=["Photo5", "/images/CD/photo5.jpg", ""];
theimage[5]=["Photo6", "/images/CD/photo6.jpg", ""];
theimage[6]=["Photo7", "/images/CD/photo7.jpg", ""];
theimage[7]=["Photo8", "/images/CD/photo8.jpg", ""];
theimage[8]=["Photo9", "/images/CD/photo9.jpg", ""];
theimage[9]=["Photo10", "/images/CD/photo10.jpg", ""];
theimage[10]=["Photo11", "/images/CD/photo11.jpg", ""];
theimage[11]=["Photo12", "/images/CD/photo12.jpg", ""];




///// Plugin variables

// speed to change pics is set to 4 seconds. Change only the first digit to alter speed
// change nothing else in the script
playspeed=4000;// 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=0;
linksperline=4; // For the text links
playdiffernce=500; // The speed that the autplay speed is changed by
autostart=1;
preloadslides=1;
//End editable portion

// 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;}

