var ImageLoad = 
[
['#', 'marque/Bakery Equipment.jpg', 'Bakery Equipment'],
['#', 'marque/Bar Liners.jpg', 'Bar liners'],
['#', 'marque/Blenders & Mixers.JPG', 'Blenders & Mixers'],
['#', 'marque/Cheese Pumps.JPG', 'Cheese Pumps'],
['#', 'marque/Ceramic Cups & Mugs.JPG', 'Ceramic Cups & Mugs'],
['#', 'marque/Booths.JPG', 'Booths'],
['#', 'marque/Cleaning Supplies & Aprons.jpg', 'Cleaning Supplies & Aprons'],
['#', 'marque/Cleaning Supplies.JPG', 'Cleaning Supplies'],
['#', 'marque/Coffee Makers  2.JPG', 'Coffee Makers'],
['#', 'marque/Coffee Makers 1.JPG', 'Coffee Makers'],
['#', 'marque/Coolers & Freezers.JPG', 'Coolers & Freezers'],
['#', 'marque/Cup Holders.JPG', 'Cup Holders'],
['#', 'marque/Cutting Boards.JPG', 'Cutting Boards'],
['#', 'marque/Demo Test Kitchen.JPG', 'Demo Test Kitchen'],
['#', 'marque/Designer Heat Lamps.JPG', 'Designer Heat Lamps'],
['#', 'marque/Displays.JPG', 'Displays'],
['#', 'marque/Food Prep.JPG', 'Food Prep'],
['#', 'marque/Fryers.jpg', 'Fryers'],
['#', 'marque/Glass Door Coolers & Merchandisers.jpg', 'Glass Door Coolers & Merchandisers'],
['#', 'marque/Glassware & Illuminated Shelves.JPG', 'Glassware & Illuminated Shelves'],
['#', 'marque/Glasswares & Stemwares.JPG', 'Glassware & Illuminated Shelves'],
['#', 'marque/Grills & Griddles 1.JPG', 'Grills & Griddles'],
['#', 'marque/Grills & Griddles 2.jpg', 'Grills & Griddles'],
['#', 'marque/Hand-Held Smallwares.JPG', 'Hand-Held Smallwares'],
['#', 'marque/Ice Makers.JPG', 'Ice Makers'],
['#', 'marque/Illuminated Signs.JPG', 'Illuminated Signs'],
['#', 'marque/Jet Spray & Horchata Machines.JPG', 'Jet Spray & Horchata Machines'],
['#', 'marque/Juicers.jpg', 'Juicers'],
['#', 'marque/Ladles & Serving Utensils.JPG', 'Ladles & Serving Utensils'],
['#', 'marque/Melamine Tablewares 1.JPG', 'Melamine Tablewares'],
['#', 'marque/Melamine Tablewares 2.JPG', 'Melamine Tablewares'],
['#', 'marque/Menu Specials Boards.JPG', 'Menu Specials Boards'],
['#', 'marque/Microwaves.JPG', 'Microwaves'],
['#', 'marque/Mixing Bowls.JPG', 'Mixing Bowls'],
['#', 'marque/No Smoking Ashtrays.JPG', 'No Smoking Ashtrays'],
['#', 'marque/Ovens & Proofers 1.JPG', 'Ovens & Proofers'],
['#', 'marque/Ovens & Proofers 2.JPG', 'Ovens & Proofers'],
['#', 'marque/Plastic Bottles 1.JPG', 'Plastic Bottles'],
['#', 'marque/Plastic Bottles 2.JPG', 'Plastic Bottles'],
['#', 'marque/Plastic Tablewares 1.JPG', 'Plastic Tablewares'],
['#', 'marque/Plastic Tablewares 2.JPG', 'Plastic Tablewares'],
['#', 'marque/Plastic Tablewares 3.JPG', 'Plastic Tablewares'],
['#', 'marque/Plastic Tablewares 4.JPG', 'Plastic Tablewares'],
['#', 'marque/Plastic Tablewares 5.JPG', 'Plastic Tablewares'],
['#', 'marque/Plastic Tablewares 6.JPG', 'Plastic Tablewares'],
['#', 'marque/Scales.JPG', 'Scales'],
['#', 'marque/Signs.JPG', 'Signs'],
['#', 'marque/Sinks 1.JPG', 'Sinks'],
['#', 'marque/Sinks 1.JPG', 'Sinks'],
['#', 'marque/Smallwares.jpg', 'Smallwares'],
['#', 'marque/Specialty Chinaware.JPG', 'Specialty Chinaware'],
['#', 'marque/Specialty Coffee & Espresso Equipment.jpg', 'Specialty Coffee & Espresso Equipment'],
['#', 'marque/Storage Containers 1.JPG', 'Storage Containers'],
['#', 'marque/Storage Containers 2.JPG', 'Storage Containers'],
['#', 'marque/Storage Containers 3.JPG', 'Storage Containers'],
['#', 'marque/Stoves 1.JPG', 'Stoves'],
['#', 'marque/Stoves 2.JPG', 'Stoves'],
['#', 'marque/Stoves 3.JPG', 'Stoves'],
['#', 'marque/Tablewares 1.JPG', 'Tablewares'],
['#', 'marque/Tablewares 2.JPG', 'Tablewares'],
['#', 'marque/Tablewares 3.JPG', 'Tablewares'],
['#', 'marque/Tortilla Servers.JPG', 'Tortilla Servers'],
['#', 'marque/Used Doughroller.JPG', 'Used Doughroller'],
['#', 'images/logo1a.jpg', 'Olympic Store Fixtures']
];

var ImageCount= 64;//  *****  Change this to the total number of images loaded above  ***** //
var ImageDelay= 5000;//  *****  Set this to the delay interval desired.  5000 = 5 seconds.// 
var LinkTarget= "_self"//  *****  Defines where you want linked page to open. _self, _blank, _top, etc//
//var ImageIndex= 0;//  DO NOT ALTER//
var ImageIndex= Math.floor( Math.random() * ImageLoad.length );
var FirstLoad = 0;//  DO NOT ALTER//
var QuickStartID = 0;  //  DO NOT ALTER//
var htmlString = ""//  DO NOT ALTER //

//  This function rotates the banner  //
function ImageChange()

{

htmlString = '<center>';
htmlString = htmlString + '<font face = "Verdana" size="2">';//  Font and Font Size for caption may be changed here//
htmlString = htmlString +'<a target="';
htmlString = htmlString + LinkTarget;
htmlString = htmlString + '" href="';
htmlString = htmlString + ImageLoad[ImageIndex][0];
htmlString = htmlString + '"><img border="0" src="';//  Image border size may be changed here//
htmlString = htmlString + ImageLoad[ImageIndex][1];
htmlString = htmlString + '"></a><br>';
htmlString = htmlString + ImageLoad[ImageIndex][2];
htmlString = htmlString + '</font>';
htmlString = htmlString + '</center>';

document.getElementById('MagicImage').innerHTML = htmlString; 

if(ImageIndex == ImageCount - 1)//  This statement increments image displayed and resets if displaying last image  //
{
ImageIndex= 0;
}
else
{
ImageIndex++;
}

if(FirstLoad == 0)//  Determins if this is the first time function has run.   // 
{
SlowFinish();
}

}
//  End Funtion  //

//  This function ensures first banner is displayted without a delay  //
function  QuickStart()
{
QuickStartID=setInterval("ImageChange()", 1000);
}
//  End Funtion  //

//  This function sets display rate to user defined speed  //
function SlowFinish()
{
clearInterval(QuickStartID);
FirstLoad = 1;
setInterval("ImageChange()", ImageDelay); 
}
//  End Funtion  //

QuickStart()