// JavaScript Document
<!--

// Multible Slide Shows mssPart1 (10-05-2005)
// by Vic Phillips http://www.vicsJavaScripts.org.uk

// Customising Code

// The Script can be used for one to any number of slide shows
// The slide shows can be:
// Rotated Individually
// All slide shows can be automatically rotated together
// Automatically rotated in sequence.

// Application
// To run a Slide Show individually :
// <input type="button" value="Forward" onclick="javascript:mssIndividual('*SlideShowID*');" ><br>
// where
// *SlideShowID* = unique ID of the HTM Slide Show Image (string)
// or
// To  automatically rotate the slide shows together:
// <body  onload="javascript:mssTogether();">
// or
// To  automatically sequence the slide shows :
// <body  onload="javascript:mssSequence();">

// Note
// The code preloads images.
// The functional code size is approx 1.5k.
// all variables, names etc are prefixed with 'mss' to minimise conflicts with other JS


// Customise
// Image Arrays

var mssImgPath='http://www.aui.ma/master-code/sse/images/general/';


// Have as many image arrays as required each with as many images as you want
var ImageAry0=new Array(mssImgPath+'esa1.jpg',mssImgPath+'esa2.jpg',mssImgPath+'esa3.jpg',mssImgPath+'esa4.jpg',mssImgPath+'esa5.jpg',mssImgPath+'esa6.jpg',mssImgPath+'esa10.jpg');
var ImageAry1=new Array(mssImgPath+'esa18.jpg',mssImgPath+'esa12.jpg',mssImgPath+'esa13.jpg',mssImgPath+'esa4.jpg',mssImgPath+'esa5.jpg',mssImgPath+'esa16.jpg',mssImgPath+'esa20.jpg');
// Each Slide Show must have an entry in mssAry
// The fields of each entry are
// ['*SlideShowID*',*ImageAry*,*StartImg*]
// where
// *SlideShowID* = unique ID of the HTM Slide Show Image (string)
// *ImageAry*    = name of the array cotaining the images (variable)
// *StartImage*  = array location of the first image to be rotated (digit)

var mssAry=new Array();
mssAry[0]=['SlideShow0',ImageAry0,0];
mssAry[1]=['SlideShow1',ImageAry1,0];



// Set the Speed of Image Rotation
mssSpeed=10000; // minimum - Number of Slide Shows * 5

//-->

