// Disclaimer : The following code came from this website -
// http://www.rps.indiana.edu/current.html
// It has been slightly modified to work here

// Begin
var NSPlatform = 0;

function getUserBrowser() {
  if(navigator.appName && navigator.appName.indexOf("Netscape")>=0) {
    NSPlatform = 1;
  } // end if statement
} // end function getUserBrowser()


// Some variable management:
src = [
        
        "slide_alliedhealth.jpg",
		"slide_govrelhodge.jpg",
        "slide_lowropes.jpg",
		"slide_eap.jpg",
        "slide_yager.jpg"
                ]; // End picture list ...
seconds = 5;
popImages=[]; ct=0;

function fadein(i){
  getUserBrowser();
  if (NSPlatform == 0) {
    POPImage.filters.blendTrans.apply();
    document.images.POPImage.src=i;
    POPImage.filters.blendTrans.play();
  } else {
    document.images.POPImage.src=i;
  } // end if statement
} // end function fadein

function switchImage() {
  var n=(ct+1)%src.length;
  if (popImages[n] && (popImages[n].complete || popImages[n].complete==null)) {
    var i = popImages[ct=n].src;
    fadein(i);
  } // end if statement

  popImages[n=(ct+1)%src.length] = new Image;
  popImages[n].src = src[n];

  setTimeout("switchImage()",seconds*1000);
} // end function switchImage

getUserBrowser();

