// =======================================

// set the following variables

// =======================================



// Set slideShowSpeed (milliseconds)

var slideShowSpeed = 100



// Duration of crossfade (seconds)

var crossFadeDuration = 1



// 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/ver15/logo/1.png'

Pic[1] = '/images/ver15/logo/2.png'

Pic[2] = '/images/ver15/logo/3.png'

Pic[3] = '/images/ver15/logo/4.png'

Pic[4] = '/images/ver15/logo/5.png'

Pic[5] = '/images/ver15/logo/6.png'

Pic[6] = '/images/ver15/logo/7.png'

Pic[7] = '/images/ver15/logo/8.png'

Pic[8] = '/images/ver15/logo/9.png'

Pic[9] = '/images/ver15/logo/10.png'

Pic[10] = '/images/ver15/logo/11.png'

Pic[11] = '/images/ver15/logo/12.png'

Pic[12] = '/images/ver15/logo/13.png'

Pic[13] = '/images/ver15/logo/14.png'

Pic[14] = '/images/ver15/logo/15.png'

Pic[15] = '/images/ver15/logo/16.png'

Pic[16] = '/images/ver15/logo/17.png'

Pic[17] = '/images/ver15/logo/18.png'

Pic[18] = '/images/ver15/logo/19.png'

Pic[19] = '/images/ver15/logo/20.png'

Pic[20] = '/images/ver15/logo/21.png'

Pic[21] = '/images/ver15/logo/22.png'

Pic[22] = '/images/ver15/logo/23.png'

Pic[23] = '/images/ver15/logo/1.png'

Pic[24] = '/images/ver15/logo/1.png'

Pic[25] = '/images/ver15/logo/1.png'

Pic[26] = '/images/ver15/logo/1.png'

Pic[27] = '/images/ver15/logo/1.png'



// =======================================

// 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)

}

function correctPNG() // correctly handle PNG transparency in Win IE 5.5 & 6.
{
   var arVersion = navigator.appVersion.split("MSIE")
   var version = parseFloat(arVersion[1])
   if ((version >= 5.5) && (document.body.filters)) 
   {
      for(var i=0; i<document.images.length; i++)
      {
         var img = document.images[i]
         var imgName = img.src.toUpperCase()
         if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
         {
            var imgID = (img.id) ? "id='" + img.id + "' " : ""
            var imgClass = (img.className) ? "class='" + img.className + "' " : ""
            var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
            var imgStyle = "display:inline-block;" + img.style.cssText 
            if (img.align == "left") imgStyle = "float:left;" + imgStyle
            if (img.align == "right") imgStyle = "float:right;" + imgStyle
            if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle
            var strNewHTML = "<span " + imgID + imgClass + imgTitle
            + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
            + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
            + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>" 
            img.outerHTML = strNewHTML
            i = i-1
         }
      }
   }    
}
window.attachEvent("onload", correctPNG);
