
// (C) 2000 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this header
// NS4-6,IE4-6
// Fade effect only in IE; degrades gracefully

// =======================================
// set the following variables
// =======================================

// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 2500;

// Duration of crossfade (seconds)
var crossFadeDuration = 3;

// Specify the image files
var Pic = new Array(), Alt = new Array(); // don't touch this
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = '/userfiles/image/Slideshow/CS Akapaliapik, Manasie-007.jpg';
Pic[1] = '/userfiles/image/Slideshow/CS-Arnaktauyok-Germaine-023sm.jpg';
Pic[2] = '/userfiles/image/Slideshow/CS Kalvak, Helen-022.jpg';
Pic[3] = '/userfiles/image/Slideshow/CS Oonark, Jessie-010.jpg';
Pic[4] = '/userfiles/image/Slideshow/CS Papialuk, Josie-006.jpg';
Pic[5] = '/userfiles/image/Slideshow/CS Parr-014.jpg';
Pic[6] = '/userfiles/image/Slideshow/CS Piqtoukun, David-003.jpg';
Pic[7] = '/userfiles/image/Slideshow/CS Tutsweetok, Lucy-012.jpg';


Alt[0] = 'Sila Legend, Manasie Akpaliapik, n.d.';
Alt[1] = 'The Loon Gives Lumaq His Sight, Germaine Arnaktauyok, 2003';
Alt[2] = 'Couple with Snow Goggles, Helen Kalvak, 1982';
Alt[3] = 'Racing Kayaks, Jessie Oonark, 1985';
Alt[4] = 'Scene with Drying Skins, Josie Papialuk, 1983';
Alt[5] = 'Hunter Hauling a Seal, Parr, 1961';
Alt[6] = 'Division of Meat (Sharing the Good Food), David Ruben Piqtoukun, 1996';
Alt[7] = 'Mother and Children, Lucy Tutsweetok, 1972';
// ... and so on...


// =======================================
// do not edit anything below this line
// =======================================

var t,
j = 0,
p = Pic.length;

var preLoad = new Array()
for (i = 0; i < p; i++) (preLoad[i] = new Image()).src = Pic[i];

function runSlideShow(){
if (document.all) {
document.images.SlideShow.style.filter="blendTrans(duration=2)";
document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShow.filters.blendTrans.Apply();
}
document.images.SlideShow.src = preLoad[j].src;
document.images.SlideShow.alt = (Alt[j] || "");
if (document.all) document.images.SlideShow.filters.blendTrans.Play();
j++;
if (j > (p-1)) j=0;
t = setTimeout('runSlideShow()', slideShowSpeed);
}
//Implementation, put this in the html code
/*
<body>
<img name="SlideShow" src="/userfiles/image/CAMIK_Slideshow/CS Camik Slides001.jpg" width=500 height=375 border=0>

<script type="text/javascript">
<!--
runSlideShow()
//-->
</script>

</body>
*/
