// JavaScript Document
/***********************************************
* 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 photos5=new Array()
var photoslink5=new Array()
var which5=0

//define images. You can have as many as you want:
photos5[0]="images/features/digitizingfacts/image0.gif"
photos5[1]="images/features/digitizingfacts/image10.gif"
photos5[2]="images/features/digitizingfacts/image11.gif"
photos5[3]="images/features/digitizingfacts/image12.gif"
//Specify whether images should be linked or not (1=linked)
var linkornot5=1

//Set corresponding URLs for above images. Define ONLY if variable linkornot5 equals "1"
photoslink5[0]=""
photoslink5[1]="http://www.guideline.gov/summary/summary.aspx?doc_id=4746&nbr=3438&string=videofluoroscopy"
photoslink5[2]="permanentimpairment.htm"
photoslink5[3]="references.pdf"

//do NOT edit pass this line

var preloadedimages=new Array()
for (i=0;i<photos5.length;i++){
preloadedimages[i]=new Image()
preloadedimages[i].src=photos5[i]
}

function applyeffect5(){
if (document.all && photoslider5.filters){
photoslider5.filters.revealTrans.Transition=Math.floor(Math.random()*23)
photoslider5.filters.revealTrans.stop()
photoslider5.filters.revealTrans.apply()
}
}

function playeffect5(){
if (document.all && photoslider5.filters)
photoslider5.filters.revealTrans.play()
}

function keeptrack5(){
window.status="Image "+(which5+1)+" of "+photos5.length
}


function backward5(){
if (which5>0){
which5--
applyeffect5()
document.images.photoslider5.src=photos5[which5]
playeffect5()
keeptrack5()
}
}

function forward5(){
if (which5<photos5.length-1){
which5++
applyeffect5()
document.images.photoslider5.src=photos5[which5]
playeffect5()
keeptrack5()
}
}

function transport5(){
window.location=photoslink5[which5]
}

if (linkornot5==1)
document.write('<a href="javascript:transport5()">')
document.write('<img src="'+photos5[0]+'" name="photoslider5" style="filter:revealTrans(duration=1,transition=23)" border=0>')
if (linkornot5==1)
document.write('</a>')
