var slideshow_width='200px';
var slideshow_height='500px';
var pause=4000; 
 
var fadeimages=new Array();
 
fadeimages[0]=["\"...The team at Destination Services Northwest was efficient and professional every step of the way.  They understood the scope and importance of the project from inception and were timely and effective in their follow up...\"<p>-Stein Kruse<br/>President and Chief Executive Officer<br>Holland America Line" , "/promotions/clipperspecialoffers", "Internet Special Offer"];
fadeimages[1]=["\"Once again thanks for everything. The service you provided was excellent. It was a pleasure meeting and working with you.\''<p>-Maxine Norris<br/>Annie E. Casey Foundation", "/packages/gardens_holiday_lights", "Victoria's Holiday Lights at the Butchart Gardens Image"];
fadeimages[2]=["\"...I wanted to let you know how much I appreciate all of the time you spent with the event. I couldn't have asked for a better team to help us today.\''<p>-Emily Meisenzahl <br/>Washington DECA", "/packages/gardens_holiday_lights", "Victoria's Holiday Lights at the Butchart Gardens Image"];
fadeimages[3]=["\"For me, I received the best of both worlds working with Linda Botts.  I received excellent service during my conference, with one-on-one attention to my every need plus I made a friend for life.  I couldn't have asked for anything more.\''<p>-Shirley Antolik <br/>SAE International", "/packages/gardens_holiday_lights", "Victoria's Holiday Lights at the Butchart Gardens Image"];
fadeimages[4]=["\"Our partners very much enjoyed their afternoon tour.  The tour guide was exceptional and they mentioned how much they enjoyed stopping at the brewery. Thank you for helping to make the afternoon a success.\''<p>-Lynn Cyr <br/>Collins Barrow Calgary LLP", "/packages/gardens_holiday_lights", "Victoria's Holiday Lights at the Butchart Gardens Image"];
fadeimages[5]=["\"Thanks for all your hard work and effort in making our trip a big success. Our visit to Seattle was a remarkable one, the one that will remains in our memories for many years to come. Again, thank you for a wonderful job. Because of your friendly and courteous service, we will highly recommend your service to all our Veterans Group  \''<p>-Jerry Cunningham <br/>Outpost Harry Survivors Association", "/packages/gardens_holiday_lights", "Victoria's Holiday Lights at the Butchart Gardens Image"];



///** var preloadedimages=new Array();
//for (p=0; p < fadeimages.length; p++) {
// preloadedimages[p]=new Image();
// preloadedimages[p].src=fadeimages[p][0];
//}
//**/

var ie4=document.all;
var dom=document.getElementById;

if (ie4||dom)
  document.write('<div style="position:relative;width:'+slideshow_width+';height:'+slideshow_height+';overflow:hidden"><div  id="canvas0" style="position:absolute;width:'+slideshow_width+';height:'+slideshow_height+';top:0;left:0;filter:alpha(opacity=10);-moz-opacity:10"></div><div id="canvas1" style="position:absolute;width:'+slideshow_width+';height:'+slideshow_height+';top:0;left:0;filter:alpha(opacity=10);-moz-opacity:10;visibility: hidden"></div></div>');
else
  document.write('<p name="defaultslide" src="'+fadeimages[0][0]+'">');
 
var curpos=10;
var degree=10;
var curcanvas="canvas0";
var curimageindex=0;

var nextimageindex=1;

function fadepic(){
 if (curpos<100){
  curpos+=5;
  setOpacity(tempobj, curpos);
 }
 else{
  clearInterval(dropslide);
  nextcanvas=(curcanvas=="canvas0")? "canvas0" : "canvas1";
  tempobj=ie4? eval("document.all."+nextcanvas) : document.getElementById(nextcanvas);
  tempobj.innerHTML=insertimage(nextimageindex);
  nextimageindex=(nextimageindex<fadeimages.length-1)? nextimageindex+1 : 0;
  var tempobj2=ie4? eval("document.all."+nextcanvas) : document.getElementById(nextcanvas);
  tempobj2.style.visibility="hidden";
  setTimeout("rotateimage()",15000);
 }
}
 
function setOpacity(obj, opacity) {
  opacity = (opacity == 100)?99.999:opacity;
  
  if (obj.filters) {
   // IE/Win
   obj.filters.alpha.opacity = opacity;
  }
  else {
   // Safari<1.2, Konqueror
   obj.style.KHTMLOpacity = opacity/100;
   
   // Older Mozilla and Firefox
   obj.style.MozOpacity = opacity/100;
   
   // Safari 1.2, newer Firefox and Mozilla, CSS3
   obj.style.opacity = opacity/100;
  }
}
 
function insertimage(i){
 var tempcontainer=fadeimages[i][1]!=" "? '<p style="font-family:times New Roman; font-weight:bold;line-height:25px; font-style:italic">'+fadeimages[i][0]+'   ' : ""; 
 //tempcontainer+=<p>'+fadeimages[i][0]+'</p>;
 tempcontainer=fadeimages[i][1]!=""? tempcontainer+'</p>' : tempcontainer;
 return tempcontainer;
}
 
function rotateimage(){
 if (ie4||dom) {
  resetit(curcanvas);
  var crossobj=tempobj=ie4? eval("document.all."+curcanvas) : document.getElementById(curcanvas);
  crossobj.style.zIndex++;
  tempobj.style.visibility="visible";
  var temp='setInterval("fadepic()",50)';
  dropslide=eval(temp);
  curcanvas=(curcanvas=="canvas0")? "canvas1" : "canvas0";
 }
 else {
  document.images.defaultslide.src=fadeimages[curimageindex][0];
 }
 curimageindex=(curimageindex<fadeimages.length-1)? curimageindex+1 : 0;
}
 
function resetit(what){
 curpos=10;
 var crossobj=ie4? eval("document.all."+what) : document.getElementById(what);
 setOpacity(crossobj, curpos);
}
 
function startit(){
 var crossobj=ie4? eval("document.all."+curcanvas) : document.getElementById(curcanvas);
 crossobj.innerHTML=insertimage(curimageindex);
 rotateimage();
}
 
if (ie4||dom)
   window.onload=startit;
else
   setInterval("rotateimage()",pause);
 
