// (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 = 3500
// Duration of crossfade (seconds)
var crossFadeDuration = 3
// Specify the image files
var Pic = new Array() // don't touch this...
var Alt = new Array() // don't touch this, either...
var Title = new Array() // don't touch this one, either...
// to add more images, alt & title tags just continue
// the pattern, adding to the arrays below...
Pic[0] = 'images/pcs_web_design_welcomes_you.jpg'
Pic[1] = 'images/pcs_web_design_has_a_clear_focus.jpg'
Pic[2] = 'images/pcs_web_design_delivers_on_target_marketing.jpg'
Pic[3] = 'images/pcs_web_design_can_shift_your_website_into_high_gear.jpg'
Pic[4] = 'images/pcs_web_design_is_good_for_your_business.jpg'
Pic[5] = 'images/pcs_web_design_can_separate_you_from_the_competition.jpg'

Alt[0] = 'Welcome to PCS Web Design'
Alt[1] = 'PCS Web Design has a clear focus'
Alt[2] = 'PCS delivers on target marketing'
Alt[3] = 'PCS can shift your website into high gear'
Alt[4] = 'PCS Web Design is good for your business'
Alt[5] = 'PCS can separate you from the competition'

Title[0] = 'Welcome to PCS Web Design'
Title[1] = 'PCS Web Design has a clear focus'
Title[2] = 'PCS Web Design delivers on target marketing'
Title[3] = 'PCS Web Design can shift your website into high gear'
Title[4] = 'PCS Web Design is good for your business'
Title[5] = 'PCS Web Design can separate you from the competition'


// =======================================
// 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]
   preLoad[i].alt = Alt[i]
   preLoad[i].title = Title[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
   document.images.SlideShow.alt = preLoad[j].alt
   document.images.SlideShow.title = preLoad[j].title
   document.getElementById('PIC_CAPTION').value = preLoad[j].alt

   if (document.all){
	  document.images.SlideShow.filters.blendTrans.Play(  )
   }
   j = j + 1
   if (j > (p-1)) j=0
   t = setTimeout('runSlideShow()', slideShowSpeed)
}