// Set slideShowSpeed (milliseconds)

var slideShowSpeed = 5000;



// 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] = 'http://www.imageadvantages.net/images/virtual-office-services1.jpg';

Pic[1] = 'http://www.imageadvantages.net/images/virtual-office-services2.jpg';

Pic[2] = 'http://www.imageadvantages.net/images/virtual-office-services3.jpg';

Pic[3] = 'http://www.imageadvantages.net/images/virtual-office-services4.jpg';

Pic[4] = 'http://www.imageadvantages.net/images/virtual-office-services5.jpg';



PicUrl[0] = '#';

PicUrl[1] = '#';



var PageNav='#';



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

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

}