/***********************************************
* DHTML slideshow script-  © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice must stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

var photos=new Array()
var photos07=new Array()
var photoslink=new Array()
var which06=0
var which07=0

//define images. You can have as many as you want:
 photos07[0]="http://www.archerysolutionsusa.com/images/07hunting/pic1.jpg" 
 photos07[1]="http://www.archerysolutionsusa.com/images/07hunting/pic2.jpg" 
 photos07[2]="http://www.archerysolutionsusa.com/images/07hunting/pic3.jpg" 
 photos07[3]="http://www.archerysolutionsusa.com/images/07hunting/pic4.jpg" 
 photos07[4]="http://www.archerysolutionsusa.com/images/07hunting/pic5.jpg" 
 photos07[5]="http://www.archerysolutionsusa.com/images/07hunting/pic6.jpg" 
 photos07[6]="http://www.archerysolutionsusa.com/images/07hunting/pic7.jpg" 
 photos07[7]="http://www.archerysolutionsusa.com/images/07hunting/pic8.jpg" 
 photos07[8]="http://www.archerysolutionsusa.com/images/07hunting/pic9.jpg" 
 photos07[9]="http://www.archerysolutionsusa.com/images/07hunting/pic10.jpg" 
 photos07[10]="http://www.archerysolutionsusa.com/images/07hunting/pic11.jpg" 
 photos07[11]="http://www.archerysolutionsusa.com/images/07hunting/pic12.jpg"  
 photos07[12]="http://www.archerysolutionsusa.com/images/07hunting/pic13.jpg"  
 photos07[13]="http://www.archerysolutionsusa.com/images/07hunting/pic14.jpg"  
 photos07[14]="http://www.archerysolutionsusa.com/images/07hunting/pic15.jpg"  

//define images. You can have as many as you want:
 photos[0]="http://www.archerysolutionsusa.com/images/smRay Brooks1.jpg" 
 photos[1]="http://www.archerysolutionsusa.com/images/smRay Brooks2.jpg" 
 photos[2]="http://www.archerysolutionsusa.com/images/smTim Vendel.jpg" 
 photos[3]="http://www.archerysolutionsusa.com/images/smTim Vendel2.jpg" 
  photos[4]="http://www.archerysolutionsusa.com/images/smJoe.jpg" 
   photos[5]="http://www.archerysolutionsusa.com/images/smJoey2.jpg" 
    photos[6]="http://www.archerysolutionsusa.com/images/smJeff MacNeal.jpg" 
	 photos[7]="http://www.archerysolutionsusa.com/images/smImage004 (2).jpg" 
	  photos[8]="http://www.archerysolutionsusa.com/images/smImage008 (2).jpg" 
	   photos[9]="http://www.archerysolutionsusa.com/images/smLee 001.jpg" 

//Specify whether images should be linked or not (1=linked)
var linkornot=0

//Set corresponding URLs for above images. Define ONLY if variable linkornot equals "1"
photoslink[0]=""
photoslink[1]=""
photoslink[2]=""

//do NOT edit pass this line

var preloadedimages=new Array()
for (i=0;i<photos.length;i++){
preloadedimages[i]=new Image()
preloadedimages[i].src=photos[i]
}
for (i=0;i<photos07.length;i++){
preloadedimages[i]=new Image()
preloadedimages[i].src=photos07[i]
}


function applyeffect(){
if (document.all && photoslider06.filters){
photoslider06.filters.revealTrans.Transition=Math.floor(Math.random()*23)
photoslider06.filters.revealTrans.stop()
photoslider06.filters.revealTrans.apply()
}
if (document.all && photoslider07.filters){
photoslider07.filters.revealTrans.Transition=Math.floor(Math.random()*23)
photoslider07.filters.revealTrans.stop()
photoslider07.filters.revealTrans.apply()
}
}



function playeffect(){
if (document.all && photoslider06.filters)
photoslider06.filters.revealTrans.play()
if (document.all && photoslider07.filters)
photoslider07.filters.revealTrans.play()
}

function keeptrack06(){
window.status="Image "+(which06+1)+" of "+photos.length
}

function keeptrack07(){
window.status="Image "+(which07+1)+" of "+photos.length
}


function backward(){
if (which06>0){
which06--
applyeffect()
document.images.photoslider06.src=photos[which06]
playeffect()
keeptrack06()
}
if (which07>0){
which07--
applyeffect()
document.images.photoslider07.src=photos07[which07]
playeffect()
keeptrack07()
}
}

function forward(){
if (which06<photos.length-1){
which06++
applyeffect()
document.images.photoslider06.src=photos[which06]
playeffect()
keeptrack06()
}
if (which07<photos07.length-1){
which07++
applyeffect()
document.images.photoslider07.src=photos07[which07]
playeffect()
keeptrack07()
}
}

function transport06(){
window.location=photoslink[which06]
}

function transport07(){
window.location=photoslink[which07]
}