/***********************************************
* 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 photos2=new Array()
var photoslink2=new Array()
var which2=0

//define images. You can have as many as you want:
photos2[0]="images/features/image0.gif"
photos2[1]="images/features/image10.gif"
photos2[2]="images/features/image11.gif"
photos2[3]="images/features/image12.gif"
photos2[4]="images/features/image13.gif"
photos2[5]="images/features/image14.gif"
photos2[6]="images/features/image15.gif"
photos2[7]="images/features/image16.gif"
photos2[8]="images/features/image17.gif"
//Specify whether images should be linked or not (1=linked)
var linkornot2=0

//Set corresponding URLs for above images. Define ONLY if variable linkornot2 equals "1"
photoslink2[0]=""
photoslink2[1]=""
photoslink2[2]=""
photoslink2[3]=""
photoslink2[4]=""
photoslink2[5]=""
photoslink2[6]=""
photoslink2[7]=""
photoslink2[8]=""

//do NOT edit pass this line




function applyeffect2(){
if (document.all && photoslider2.filters){
photoslider2.filters.revealTrans.Transition=Math.floor(Math.random()*23)
photoslider2.filters.revealTrans.stop()
photoslider2.filters.revealTrans.apply()
}
}



function playeffect2(){
if (document.all && photoslider2.filters)
photoslider2.filters.revealTrans.play()
}

function keeptrack2(){
window.status="Image "+(which2+1)+" of "+photos2.length
}


function backward2(){
if (which2>0){
which2--
applyeffect2()
document.images.photoslider2.src=photos2[which2]
playeffect2()
keeptrack2()
}
}

function forward2(){
if (which2<photos2.length-1){
which2++
applyeffect2()
document.images.photoslider2.src=photos2[which2]
playeffect2()
keeptrack2()
}
}

function transport2(){
window.location=photoslink2[which2]
}

if (linkornot2==1)
document.write('<a href="javascript:transport2()">')
document.write('<img src="'+photos2[0]+'" name="photoslider2" style="filter:revealTrans(duration=1,transition=23)" border=0>')
if (linkornot2==1)
document.write('</a>')
