// JavaScript Document

// Step 1.
// Put the following script in the head of your page:

// <script language="JavaScript" type="text/JavaScript">
<!-- 
// Remove the "//" marks around the script tag in the line 
// above if you are going to copy the script to the head of
// your document rather than linking to the script from the
// head of your document.  But do not remove the HTML
// comment tag.  Also do this at the closing script tag 
// several lines below.

// (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 = 3000

// Duration of crossfade (seconds)
var crossFadeDuration = 3

// Specify the image files
var Pic = new Array() // don't touch this
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = 'images/ps1.jpg'
Pic[1] = 'images/ps2.jpg'
Pic[2] = 'images/ps3.jpg'
Pic[3] = 'images/ps4.jpg'
Pic[4] = 'images/ps5.jpg'
Pic[5] = 'images/ps6.jpg'
Pic[6] = 'images/ps7.jpg'
Pic[7] = 'images/ps8.jpg'
Pic[8] = 'images/ps9.jpg'
Pic[9] = 'images/ps10.jpg'
Pic[10] = 'images/ps11.jpg'
Pic[11] = 'images/ps12.jpg'


// =======================================
// do not edit anything below this line
// =======================================

var t
var j = 0
var p = Pic.length

var preLoad = new Array()
for (i = 0; i < p; i++){
   preLoad[i] = new Image()
   preLoad[i].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
   if (document.all){
      document.images.SlideShow.filters.blendTrans.Play()
   }
   j = j + 1
   if (j > (p-1)) j=0
   t = setTimeout('runSlideShow()', slideShowSpeed)
}
// Remember to remove the "//" marks from the line below if you
// are not linking to the script, but are copying the text of
// the script into your head section.  Do not remove the HTML
// comment tag, and leave the space before the final >.
// --> </script >

<!--
// ===========================================================
 
// Step 2.
// Put this onload event call in your body tag:
  
// <body onload="runSlideShow()">  

// ===========================================================

// Step 3.
// Put this in the body of your page where you want the 
// slide show to appear.  (Remember to remove these: "//" )

// Set widths and heights same as images
// Set image file same as first image in array Pic[] (above)

// <table border="0" cellpadding="0" cellspacing="0">
// <tr>
// <td width="320" height="240">
// <img src="images/ps1.jpg" name="SlideShow" width="320" height="240"></td>
// </tr>
// </table>

// ===========================================================
-->
