function setupSlideshow()
{
	myShow = new Slideshow('slideshow', 
			{ 	type: 'fade', 
				navigation: 'thumbnails', 
				transition: Fx.Transitions.backInOut, 
				duration: [1500, 4000], //was 1500, 4000
				width: 494, 
				height: 300, 
				images: [
                    	'TBP_month_2010.gif', // teddy bear patrol 2010
						'WOAL_2012_FeatureSlide.jpg', // Wedding of a Lifetime 2012
                        'WarmCares.gif', // Warm Cares - Contests
                        'WarmLifestyles.jpg' // Warm LIfestyles
					  ], 

				aurls:  [
                        'http://www.warm1069.com/cares.asp?contentGUID=CCCF6E8F-8BC2-4936-A562-91C623108642', // teddy bear patrol 2010
                        'http://www.warm1069.com/rwn.asp?contentGUID=186FE892-C7AF-4549-8C92-884900732581', // Wedding of a Lifetime 2012
                        'http://www.warm1069.com/cares.asp?groupName=KRWM%20Cares', // Warm Cares - Contests
                        'http://www.warm1069.com/lifestyles.asp?groupname=KRWM%20Lifestyles' // Warm LIfestyles
				  ], 
					

				//captions:	['Scavenger Hunt', // all out of date
				//			 'All About You',
				//			 'Baby of the Week'],

				hu: 'http://www.warm1069.com/podcast/media/warm_webpage_promo_slideshow/images/' 
			}
		);
}


// simple linking function
function goto(furl)
{
	window.location.href = furl;	

}


// this is to start the slideshow when the page loads.
function addEvent(obj, evType, fn){ 
 if (obj.addEventListener){ 
   obj.addEventListener(evType, fn, false); 
   return true; 
 } else if (obj.attachEvent){ 
   var r = obj.attachEvent("on"+evType, fn); 
   return r; 
 } else { 
   return false; 
 } 
}
addEvent(window, 'load', setupSlideshow);
