/***********************************************
* MultiFrame Image Slideshow script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
var seqslides=new Array()
//Set Path to Image plus optional URL and flag for PrettyPhoto ("" for no URL):
seqslides[0]=["images/gallery/thumbs/DSC_0442.jpg", "","0"]
seqslides[1]=["images/gallery/thumbs/DSC_0443.jpg", "","0"]
seqslides[2]=["images/gallery/thumbs/DSC_0446.jpg", "","0"]
seqslides[3]=["images/gallery/thumbs/DSC_0450.jpg", "","0"]
seqslides[4]=["images/gallery/thumbs/DSC_0452.jpg", "","0"]
seqslides[5]=["images/gallery/thumbs/DSC_0454.jpg", "","0"]
seqslides[6]=["images/gallery/thumbs/DSC_0455.jpg", "","0"]
seqslides[7]=["images/gallery/thumbs/DSC_0459.jpg", "","0"]
seqslides[8]=["images/gallery/thumbs/DSC_0465.jpg", "","0"]
seqslides[9]=["images/gallery/thumbs/DSC_0468.jpg", "","0"]
seqslides[10]=["images/gallery/thumbs/DSC_0475.jpg", "","0"]
seqslides[11]=["images/gallery/thumbs/DSC_0478.jpg", "","0"]
seqslides[12]=["images/gallery/thumbs/DSC_0481.jpg", "","0"]
seqslides[13]=["images/gallery/thumbs/DSC_0488.jpg", "","0"]
seqslides[14]=["images/gallery/thumbs/DSC_0564.jpg", "","0"]
seqslides[15]=["images/gallery/thumbs/DSC_0567.jpg", "","0"]
seqslides[16]=["images/gallery/thumbs/DSC_0568.jpg", "","0"]
seqslides[17]=["images/gallery/thumbs/DSC_0571.jpg", "","0"]
seqslides[18]=["images/gallery/thumbs/DSC_0573.jpg", "","0"]
seqslides[19]=["images/gallery/thumbs/DSC_0585.jpg", "","0"]
seqslides[20]=["images/gallery/thumbs/DSC_0586.jpg", "","0"]
seqslides[21]=["images/gallery/thumbs/DSC_0587.jpg", "","0"]
seqslides[22]=["images/gallery/thumbs/DSC_0590.jpg", "","0"]
seqslides[23]=["images/gallery/thumbs/DSC_0592.jpg", "","0"]
seqslides[24]=["images/gallery/thumbs/DSC_0594.jpg", "","0"]
seqslides[25]=["images/gallery/thumbs/DSC_0595.jpg", "","0"]
seqslides[26]=["images/gallery/thumbs/DSC_0597.jpg", "","0"]
seqslides[27]=["images/gallery/thumbs/DSC_0598.jpg", "","0"]
seqslides[28]=["images/gallery/thumbs/DSC_0603.jpg", "","0"]
seqslides[29]=["images/gallery/thumbs/DSC_0604.jpg", "","0"]
seqslides[30]=["images/gallery/thumbs/DSC_0606.jpg", "","0"]
seqslides[31]=["images/gallery/thumbs/DSC_0607.jpg", "","0"]
seqslides[32]=["images/gallery/thumbs/DSC_0608.jpg", "","0"]
seqslides[33]=["images/gallery/thumbs/DSC_0610.jpg", "","0"]
//Set pause between each image display (2000=2 second):
var slidedelay=3000
//Set how many images to show at once (must be less than total # of images above):
var slidestoreveal=2
//Specify code to insert between each slide (ie: "
" to insert a line break and create a vertical layout)
//"" for none (or horizontal):
var slideseparater=""
//Set optional link target to be added to all images with a link:
var optlinktarget=""
//Set image border width:
var imgborderwidth=0
//Set opacity value of each image when it's "dimmed", and when it's not, respectively (1=100% opaque/normal).
//Change 0.2 to 0 to completely hide image when it's dimmed:
var opacityvalues=[0.2,1]
///No need to edit beyond here///////////
function processimgcode(theimg){
var imghtml=""
var clickText=""
if (theimg[1]!="") {
if (theimg[2] == 1)
{
clickText = '$.prettyPhoto.open(\''+theimg[1]+'\');'
imghtml=''
}
else
imghtml=''
}
imghtml+='
'
if (theimg[1]!="")
imghtml+=''
return imghtml
}
var curslide=1 //var to track current slide (total: slidestoreveal)
var curimgindex=0 //var to track current image (total: seqslides.length)
var isfirstcycle=1 //boolean to indicate whether this is the first cycle
if (document.getElementById){
for (i=0;i'+processimgcode(seqslides[i])+''+slideseparater)
curimgindex=slidestoreveal
illuminateslide(0,opacityvalues[1])
}
function illuminateslide(slideindex, amt){
var slideobj=document.getElementById("seqslide"+slideindex).getElementsByTagName("IMG")[0]
if (slideobj.filters)
slideobj.filters.alpha.opacity=amt*100
else if (slideobj.style.MozOpacity)
slideobj.style.MozOpacity=amt
}
function displayit(){
if (curslide=seqslides.length)
curimgindex=0
}
if (document.getElementById)
setInterval("displayit()",slidedelay)