var images=new Array()

//large images
images[0]=["images/steps/steps2.jpg"]
images[1]=["images/steps/steps5.jpg"]
images[2]=["images/steps/steps6.jpg"]
images[3]=["images/steps/steps7.jpg"]
images[4]=["images/steps/steps8.jpg"]
images[5]=["images/steps/steps9.jpg"]
images[6]=["images/steps/steps10.jpg"]
images[7]=["images/steps/steps11.jpg"]
images[8]=["images/steps/steps12.jpg"]
images[9]=["images/steps/steps13.jpg"]
images[10]=["images/steps/steps15.jpg"]
images[11]=["images/steps/steps16.jpg"]
images[12]=["images/steps/steps18.jpg"]
images[13]=["images/steps/steps21.jpg"]
images[14]=["images/steps/steps22.jpg"]
//Changes fade in IE
var filterstring="progid:DXImageTransform.Microsoft.GradientWipe(GradientSize=2.0 Duration=.5)"

function returnimgcode(theimg){
var imghtml=""
if (theimg[1]!="")
imghtml+='<img src="'+theimg[0]+'">'
if (theimg[1]!="")
return imghtml
}

function modifyimage(displayimage, imgindex){
if (document.getElementById){
var imgobj=document.getElementById(displayimage)
if (imgobj.filters && window.createPopup){
imgobj.style.filter=filterstring
imgobj.filters[0].Apply()
}
imgobj.innerHTML=returnimgcode(images[imgindex])
if (imgobj.filters && window.createPopup)
imgobj.filters[0].Play()
return false
}
}
