// (C) 2000 www.CodeLifter.com
// Set slideShowSpeed (milliseconds)
var totalitems = 10
var Pic = new Array() 
var totalimages = totalitems

// Duration of crossfade (seconds)
var crossFadeDuration = 2


// Specify the image files

Pic[0] = 'images/dancing/dance_cruise.jpg'
Pic[1] = 'images/mexico/Cancun.jpg'
Pic[2] = 'images/carribean/3375765_legs.jpg'
Pic[3] = 'images/ski/iStock_000005955504.jpg'
Pic[4] = 'images/mexico/4549723_Acapulco.jpg'
Pic[5] = 'images/cubs/baseball_000002167337.jpg'
Pic[6] = 'images/alaska/iStock_1114542_Cruise.jpg'
Pic[7] = 'images/alaska/iStock_000000569380Alaska.jpg'
Pic[8] = 'images/us/Vermont/2320225_Vermont.jpg'
Pic[9] = 'images/us/Arizona/5753101XSmall_Sedona.jpg'

// Preload the images
var preLoad = new Array()
for (i = 0; i < totalimages; i++){
   preLoad[i] = new Image()
   preLoad[i].src = Pic[i]
}
  // load QUOTES
var quote = new Array();
var quoteAuthor = new Array();
	var quoteSpeed = 5000
	var counter = 0
	var totalquotes = totalitems //how many quotes there are
		
 
   quote[0] = "<b>5th Annual Dance Cruise<br>January 10-17, 2010</b><br>Join Richard Sturm on this one week romantic cruise to the Eastern Caribbean.  Dancing is available all night, every night with live music in five different lounges. Prices are even better than last year!";
  quoteAuthor[0] = "<a href='group_travel.asp#Dance'>More Information</a>";  
   quote[1] = "<b>Caribbean with Shary Gibson<br>January 16-24, 2010</b><img src='images/WEZK/2009_Shary-Gibson.gif' alt='Shary Gibson at WEZK' width='66' height='78' align='right' Hspace='3';><br>Escape winter by joining Shary Gibson of WEKZ Big Radio on a Caribbean cruise exploring Cozumel, Limon, Costa Rica and Colon, Panama! ";
  quoteAuthor[1] = "<a href='group_travel.asp#Shary'>More Information</a>";
	quote[2] = "<b>Party Cruise IV with Eric Stone<br>January 24, 2010</b><br>Aboard the Carnival Conquest. Ports of Call are Montego Bay, Grand Cayman and Cozumel! ";
    quoteAuthor[2] = "<a href='group_travel.asp#Party'>More Information</a>";
	quote[3] = "<b>SKI Innsbruck Austria!<br>February 13-21, 2010</b><br>Join Richard Sturm for the annual Ski trip to beautiful Innsbruck, Austria! Optional tours to Munich, Salzburg, Venice, or Zurich.";
    quoteAuthor[3] = "<a href='group_travel.asp#Ski'>More Information</a>";	
	quote[4] = "<b>Q98.5 WAKE UP CREW Party Cruise<br>February 15-23, 2010</b><br>Join Q98.5 radio's Steve & Denise on the annual party cruise to the Mexican Riviera!  Ports of Call are Acapulco, Zihuatanejo, Ixtapa, and Manzanillo.";
    quoteAuthor[4] = "<a href='group_travel.asp#Q98Party'>More Information</a>";	
	quote[5] = "<b>Cubs Spring Training in Arizona<br>March 5-12, 2010</b><br>Join WROK morning host Riley O'Neil for this warm, fun filled trip to sunny Mesa, Arizona.";
    quoteAuthor[5] = "<a href='group_travel.asp#baseball'>More Information</a>";
	quote[6] = "<b>Alaska Cruise with Mt McKinley<br>June 13-23, 2010</b><br>This 7 day cruise from Vancouver to Anchorage plus Denali National Park on Holland America Line.  Opportunity to see grizzly, moose, caribou and more.";
    quoteAuthor[6] = "<a href='group_travel.asp#Alaska1'>More Information</a>";	
	quote[7] = "<b>Grand Alaska Tour<br>July 14 OR August 4, 2010</b><br>Visit Anchorage, Kenai Fjords, Deluxe rail to Denali National Park, Fairbanks, Tok, Dawson City, Whitehorse, Skagway, Glacier Bay and Ketchikan.";
    quoteAuthor[7] = "<a href='group_travel.asp#Alaska2'>More Information</a>";
	quote[8] = "<b>New England and Cape Cod Autumn Foliage<br>October 6, 2010</b><br>8 Day Fall Foliage Tour, Boston, Martha’s Vineyard, Newport RI, Vermont, New Hampshire and train ride through the White Mountains.";
    quoteAuthor[8] = "<a href='group_travel.asp#Autumn'>More Information</a>";
	quote[9] = "<b><strong>Arizona’s Historic Trains</strong><br>November 7, 2010</b><br>Grand Canyon Railway, Sedona, Verde Canton Railroad, Montezuma Castle National Monument. ";
    quoteAuthor[9] = "<a href='group_travel.asp#Train'>More Information</a>";

//==== RUN QUOTES

// =======================================
function LoadBoth(){
 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()   
	  
   }


  //display the quotation
   
   document.images.SlideShow.src = preLoad[counter].src
   if (document.all){
        document.images.SlideShow.filters.blendTrans.Play()
   }
   
   if (document.getElementById("quote")) {
    document.getElementById("quote").innerHTML = '<p>' + quote[counter] + '</p>';
    document.getElementById("quote").innerHTML += '<p class="quoteBy">' + quoteAuthor[counter] + '</p>';
 
  }
   
   counter = counter + 1
   if (counter > (totalquotes-1)) counter=0  // reset back to zero   
   var t = setTimeout('LoadBoth()',quoteSpeed)
}

// ==============================================
