// slideshow image counter

var slides_i = 1;
var first = "http://beyondtheordinary.net/maxslides/uploaded/colonial_resources_s_091004_0902.jpg";
var firstlink = "http://www.colonialresources.com";

function slideShow() 
{
 // set up list of images
 
 slidesArray = new Array()
 slidesArray[0]="http://beyondtheordinary.net/maxslides/uploaded/colonial_resources_s_091004_0902.jpg";
	slidesArray[1]="http://beyondtheordinary.net/maxslides/uploaded/colonial_resources_070122_3543.gif";
	slidesArray[2]="http://beyondtheordinary.net/maxslides/uploaded/_070423_1549.jpg";
	slidesArray[3]="http://beyondtheordinary.net/maxslides/uploaded/trance_cd__sbto_sale_090313_3610.jpg";
	slidesArray[4]="http://beyondtheordinary.net/maxslides/uploaded/onome_600x60_090628_5106.jpg";
	slidesArray[5]="http://beyondtheordinary.net/maxslides/uploaded/sound_health_600x60_080223_5625.jpg";
	slidesArray[6]="http://beyondtheordinary.net/maxslides/uploaded/jz_s_website_090521_4826.jpg";
	slidesArray[7]="http://beyondtheordinary.net/maxslides/uploaded/clare_ultimo_600x60_090523_1905.jpg";
	slidesArray[8]="http://beyondtheordinary.net/maxslides/uploaded/cindy_600x60_091129_0921.jpg";
	slidesArray[9]="http://beyondtheordinary.net/maxslides/uploaded/allowing_success_080405_5640.jpg";
	 
  linksArray = new Array()
 linksArray[0]="http://www.colonialresources.com";
	linksArray[1]="http://colonialresources.com";
	linksArray[2]="http://www.remotemind.net";
	linksArray[3]="http://www.beyondtheordinary.net/DeepVoidStore.shtml";
	linksArray[4]="http://www.cafepress.com/oflight";
	linksArray[5]="http://www.sharryedwards.com/";
	linksArray[6]="http://www.jzknight.com/";
	linksArray[7]="http://www.ultimobook.com";
	linksArray[8]="http://www.energydirectedhealing.ca";
	linksArray[9]="http://beyondtheordinary.net/DeepVoidStore.shtml#SUCCESS";
	 
 //   crossfade(document.getElementById('ads'), slidesArray[slides_i], '1', 'image',document.getElementById('links'),linksArray[slides_i]);
 mainimg = document.getElementById('ads');
 mainimg.src = slidesArray[slides_i];
 mainlink = document.getElementById('links');
 mainlink.href = linksArray[slides_i];
 // increment counter
 slides_i=slides_i+1;
 
 // when at the end, start again
 if(slides_i==10) { slides_i=0; }
}
