/*
	This script was developed by Enigma Creations and is 
	copyright (c) 2003 by Enigma Creations. All rights reserved.
	Visit http://www.enigmacreations.com/ for more information.
*/
var ASPrefix = "scope_"
var ASSuffix = ".jpg"
var ASDelay = 3000;
var ASMax = 30;
var ThisTime = 0;
//
//  ____________________________________________________________ Create button arrays
//
/*if (FancyMode) 
{
	// ______________________________________________________ Button low array
	LowImage = new Array(6);
	for (pos=1; pos<=5; pos++) { LowImage[pos] = new Image(); }
	LowImage[1].src = ImageDir + "welcom_l.jpg";
	LowImage[2].src = ImageDir + "galler_l.jpg";
	LowImage[3].src = ImageDir + "art_l.jpg";
	LowImage[4].src = ImageDir + "order_l.jpg";
	LowImage[5].src = ImageDir + "contac_l.jpg";
	// ______________________________________________________ Button high array
	HighImage = new Array(6);
	for (pos=1; pos<=5; pos++) { HighImage[pos] = new Image(); }
	HighImage[1].src = ImageDir + "welcom_h.jpg";
	HighImage[2].src = ImageDir + "galler_h.jpg";
	HighImage[3].src = ImageDir + "art_h.jpg";
	HighImage[4].src = ImageDir + "order_h.jpg";
	HighImage[5].src = ImageDir + "contac_h.jpg";
	// ______________________________________________________ Button high array
	ClickImage = new Array(6);
	for (pos=1; pos<=5; pos++) { ClickImage[pos] = new Image(); }
	ClickImage[1].src = ImageDir + "welcom_c.jpg";
	ClickImage[2].src = ImageDir + "galler_c.jpg";
	ClickImage[3].src = ImageDir + "art_c.jpg";
	ClickImage[4].src = ImageDir + "order_c.jpg";
	ClickImage[5].src = ImageDir + "contac_c.jpg";
}*/
//
// _____________________________________________________________ Pre-load the images
//
if (FancyMode) 
{
	CycleTimer = new Array();
	ArtShowPics = new Array(ASMax+1);
	ArtShowLinks = new Array(ASMax+1);
	for (iter=1; iter<=ASMax; iter++) { ArtShowPics[iter] = new Image(); }
	for (iter=1; iter<=ASMax; iter++) { ArtShowPics[iter].src = ImageDir + ASPrefix + iter + ASSuffix; }
}
//
// _____________________________________________________________ Display and set link
//
function SlideShowPic(image)
{
	if (FancyMode) 
	{
		document.images["SlideShow"].src = ArtShowPics[image].src;
	}
}
//
// _____________________________________________________________ Cycle the logos
//
function CyclePics() 
{
        if (FancyMode) {
		ThisTime = 0;
		for (iter=1; iter<=ASMax; iter++) 
		{
                	CycleTimer[iter] = setTimeout("SlideShowPic(" + iter + ")", ThisTime += ASDelay);
		}
                CycleTimer[ASMax+1] = setTimeout('CyclePics()', ThisTime += 100);
        }
}
//