// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 3500;

// Duration of crossfade (seconds)
var crossFadeDuration = 3;

// Specify the image files

var Pic = new Array(); // don't touch this
var PicUrl = new Array(); // don't touch this

var PicCaption = new Array(); // don't touch this

Pic[0] = 'images/amazon_logo.gif';
Pic[1] = 'images/lancome_logo.gif';
Pic[2] = 'images/gap_logo.gif';
Pic[3] = 'images/ebay_logo.gif';
Pic[4] = 'images/louis_logo.gif';
Pic[5] = 'images/macys_logo.gif';
Pic[6] = 'images/sony_logo.gif';
Pic[7] = 'images/victoria_logo.gif';
Pic[8] = 'images/diesel_logo.gif';
Pic[9] = 'images/canon_logo.gif';
Pic[10] = 'images/jcpenny_logo.gif';
Pic[11] = 'images/nokia_logo.gif';
Pic[12] = 'images/ppo_text.gif';

PicUrl[0] = '#';
PicUrl[1] = '#';
PicUrl[2] = '#';
PicUrl[3] = '#';
PicUrl[4] = '#';
PicUrl[5] = '#';
PicUrl[6] = '#';
PicUrl[7] = '#';
PicUrl[8] = '#';
PicUrl[9] = '#';
PicUrl[10] = '#';
PicUrl[11] = '#';
PicUrl[12] = 'ppo.asp';


var PageNav='http://www.google.com';

// =======================================
// do not edit anything below this line
// =======================================

var m_intTimeOut;
var j = 0;
var m_intArrayLen = Pic.length;

var preLoad = new Array();
for (i = 0; i < m_intArrayLen; 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;
	PageNav=PicUrl[j];

   if (document.all){
      document.images.SlideShow.filters.blendTrans.Play();
   }
   j = j + 1;
   if (j > (m_intArrayLen-1)) j=0
   m_intTimeOut = setTimeout('runSlideShow()', slideShowSpeed);
}

function pg_nav()
{
	window.location.href=PageNav;
}

