/***********************************************
* Image Thumbnail Viewer II script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
* This notice must stay intact for legal use
***********************************************/

//Specify image paths and optional link (set link to "" for no link):
var dynimages=new Array()
dynimages[0]=["images/team/teampics/KALEB_KA.jpg", ""]
dynimages[1]=["images/team/teampics/GRAYSON.jpg", ""]
dynimages[2]=["images/team/teampics/CHRIS_JU.jpg", ""]
dynimages[3]=["images/team/teampics/KENDRA_F.jpg", ""]
dynimages[4]=["images/team/teampics/SHELBY_S.jpg", ""]
dynimages[5]=["images/team/teampics/JOSH_NI2.jpg", ""]
dynimages[6]=["images/team/teampics/THRESEA.jpg", ""]
dynimages[7]=["images/team/teampics/DREW_EN2.jpg", ""]
dynimages[8]=["images/team/teampics/SAMMY_B2.jpg", ""]
dynimages[9]=["images/team/teampics/AYANNA_3.jpg", ""]
dynimages[10]=["images/team/teampics/JACOB_H2.jpg", ""]
dynimages[11]=["images/team/teampics/MELISSA.jpg", ""]
dynimages[12]=["images/team/teampics/TRAVIS_2.jpg", ""]
dynimages[13]=["images/team/teampics/STEVEN_T.jpg", ""]
dynimages[14]=["images/team/teampics/NICK_HO2.jpg", ""]
dynimages[15]=["images/team/teampics/KATLIN_2.jpg", ""]
dynimages[16]=["images/team/teampics/FOREST_C.jpg", ""]
dynimages[17]=["images/team/teampics/EVE_HAM2.jpg", ""]
dynimages[18]=["images/team/teampics/SIERRA.jpg", ""]
dynimages[19]=["images/team/teampics/ceara.jpg", ""]
/*dynimages[20]=["images/hoopfest04/hpfest04pix/hpfst04_2.jpg", ""]
dynimages[21]=["images/hoopfest04/hpfest04pix/hpfst04_3.jpg", ""]
dynimages[22]=["images/hoopfest04/hpfest04pix/hpfst04_4.jpg", ""]
dynimages[23]=["images/hoopfest04/hpfest04pix/hpfst04_5.jpg", ""]
dynimages[24]=["images/hoopfest04/hpfest04pix/hpfst04_6.jpg", ""]
dynimages[25]=["images/hoopfest04/hpfest04pix/hpfst04_7.jpg", ""]
dynimages[26]=["images/hoopfest04/hpfest04pix/hpfst04_8.jpg", ""]
dynimages[27]=["images/hoopfest04/hpfest04pix/hpfst04_9.jpg", ""]
dynimages[28]=["images/hoopfest04/hpfest04pix/hpfst04_10.jpg", ""]
dynimages[29]=["images/hoopfest04/hpfest04pix/hpfst04_11.jpg", ""]
dynimages[30]=["images/hoopfest04/hpfest04pix/hpfst04_12.jpg", ""]
dynimages[31]=["images/hoopfest04/hpfest04pix/hpfst04_13.jpg", ""]
dynimages[32]=["images/hoopfest04/hpfest04pix/hpfst04_14.jpg", ""]
dynimages[33]=["images/hoopfest04/hpfest04pix/hpfst04_15.jpg", ""]
dynimages[34]=["images/hoopfest04/hpfest04pix/hpfst04_16.jpg", ""]
dynimages[35]=["images/hoopfest04/hpfest04pix/hpfst04_17.jpg", ""]
dynimages[36]=["images/hoopfest04/hpfest04pix/hpfst04_18.jpg", ""]
dynimages[37]=["images/hoopfest04/hpfest04pix/hpfst04_19.jpg", ""]
dynimages[38]=["images/hoopfest04/hpfest04pix/hpfst04_20.jpg", ""]
dynimages[39]=["images/hoopfest04/hpfest04pix/hpfst04_21.jpg", ""]*/

//Preload images ("yes" or "no"):
var preloadimg="yes"

//Set optional link target to be added to all images with a link:
var optlinktarget=""

//Set image border width
var imgborderwidth="4px"

//Set image border type
var imgbordertype="solid"

//Set image border color
var imgbordercolor="#006699"

//Optionally, change 1.0 and 0.7 below to affect Wipe gradient size and duration in seconds in IE5.5+:
var filterstring="progid:DXImageTransform.Microsoft.GradientWipe(GradientSize=0.5 Duration=1.0)"

///////No need to edit beyond here/////

if (preloadimg=="yes"){
for (x=0; x<dynimages.length; x++){
var myimage=new Image()
myimage.src=dynimages[x][0]
}
}

function returnimgcode(theimg){
var imghtml=""
if (theimg[1]!="")
imghtml='<a href="'+theimg[1]+'" target="'+optlinktarget+'">'
imghtml+='<img  style="border:'+imgborderwidth+' '+imgbordertype+' '+imgbordercolor+';" src="'+theimg[0]+'" >'
if (theimg[1]!="")
imghtml+='</a>'
return imghtml
}

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


