

// Create the slideshow object
ss = new slideshow("ss");
ss.timeout = 8000;
ss.prefetch = 2;
ss.repeat = true;


// Create the slides and add them to the slideshow.
	 
	// episodes
	s = new slide();
	s.src =  "/assets/www.dancetrippin.tv/media/DJ set episodes/87_200 dj.jpg";
	s.link = "./?previewstream=DJ set episodes";
	s.title = "Latest DJ set episode";
	s.text = '<h4><A id="ss_view" class="drop bright right" href="javascript:ss.hotlink()">Play now</A> Latest DJ set episode</h4><h3 class="clear">Shinedoe</h3>Shinedoe brings her underground sound to the main room of Space at Goa\'s electronic fridays..';
	ss.add_slide(s);
	
	// interviews
	s = new slide();
	s.src =  "/assets/www.dancetrippin.tv/media/DJ interviews/dram_200.jpg";
	s.link = "./?previewstream=DJ interviews";
	s.title = "Latest DJ interview";
	s.text = '<h4><A id="ss_view" class="drop bright right" href="javascript:ss.hotlink()">Play now</A> Latest DJ interview</h4><h3 class="clear">D. Ramirez</h3>Meet D. Ramirez as he tells us some interesting facts about his music (noisy), his motivation for getting into..';
	ss.add_slide(s);
	
	// bonus
	s = new slide();
	s.src =  "/assets/www.dancetrippin.tv/media/Bonus videos/bonus 35_bora_bora.jpg";
	s.link = "./?previewstream=Bonus videos";
	s.title = "Latest Bonus video";
	s.text = '<h4><A id="ss_view" class="drop bright right" href="javascript:ss.hotlink()">Play now</A> Latest Bonus video</h4><h3 class="clear">A day at Bora Bora</h3>An average day at Bora Bora Ibiza with Shane ..';
	ss.add_slide(s);
	
	// mixes
	s = new slide();
	s.src =  "/assets/www.dancetrippin.tv/media/DJ mixes/135_djuma.jpg";
	s.link = "./?previewstream=DJ mixes";
	s.title = "Latest DJ mix";
	s.text = '<h4><A id="ss_view" class="drop bright right" href="javascript:ss.hotlink()">Play now</A> Latest DJ mix</h4><h3 class="clear">Djuma Soundsystem</h3>..';
	ss.add_slide(s);
	
	
	
// The following loop sets an attribute for all of the slides.
// This is easier than setting the attributes individually.

for (var i=0; i < ss.slides.length; i++) {

  s = ss.slides[i];
  s.target = "_self";
  // s.attr = "";

}
 

// If you want some code to be called before or
// after the slide is updated, define the functions here

ss.pre_update_hook = function() {
  return;
}

ss.post_update_hook = function() {
  return;
}


