var photos=new Array()
var photoslink=new Array()
var which=0

//define images. You can have as many as you want:
photos[0]="../images/about-1-1.jpg"
photos[1]="../images/about-1-2.jpg"
photos[2]="../images/about-1-3.jpg"
photos[3]="../images/about-1-4.jpg"
photos[4]="../images/about-1-5.jpg"
photos[5]="../images/about-1-6.jpg"


//Specify whether images should be linked or not (1=linked)
var linkornot=0

//Set corresponding URLs for above images. Define ONLY if variable linkornot equals "1"
photoslink[0]=""
photoslink[1]=""
photoslink[2]=""

//do NOT edit pass this line

var preloadedimages=new Array()
for (i=0;i<photos.length;i++){
preloadedimages[i]=new Image()
preloadedimages[i].src=photos[i]
}


function applyeffect(){
if (document.all && photoslider.filters){
photoslider.filters.revealTrans.Transition=Math.floor(Math.random()*23)
photoslider.filters.revealTrans.stop()
photoslider.filters.revealTrans.apply()
}
}



function playeffect(){
if (document.all && photoslider.filters)
photoslider.filters.revealTrans.play()
}

function keeptrack(){
window.status="Image "+(which+1)+" of "+photos.length
}


function backward(){
if (which>0){
which--
applyeffect()
document.images.photoslider.src=photos[which]
playeffect()
keeptrack()
}
}

function forward(){
if (which<photos.length-1){
which++
applyeffect()
document.images.photoslider.src=photos[which]
playeffect()
keeptrack()
}
}

function transport(){
window.location=photoslink[which]
}

/***********************************************
* Slide 2 
***********************************************/


var photos4=new Array()
var photoslink4=new Array()
var which4=0

//define images. You can have as many as you want:
photos4[0]="../images/about-6-1.jpg"
photos4[1]="../images/about-6-2.jpg"



//Specify whether images should be linked or not (1=linked)
var linkornot4=0

//Set corresponding URLs for above images. Define ONLY if variable linkornot equals "1"
photoslink4[0]=""
photoslink4[1]=""


//do NOT edit pass this line

var preloadedimages4=new Array()
for (i=0;i<photos4.length;i++){
preloadedimages4[i]=new Image()
preloadedimages4[i].src=photos4[i]
}


function applyeffect4(){
if (document.all && photoslider4.filters){
photoslider4.filters.revealTrans.Transition=Math.floor(Math.random()*23)
photoslider4.filters.revealTrans.stop()
photoslider4.filters.revealTrans.apply()
}
}



function playeffect4(){
if (document.all && photoslider4.filters)
photoslider4.filters.revealTrans.play()
}

function keeptrack4(){
window.status="Image4 "+(which4+1)+" of "+photos4.length
}


function backward4(){
if (which4>0){
which4--
applyeffect4()
document.images.photoslider4.src=photos4[which4]
playeffect4()
keeptrack4()
}
}

function forward4(){
if (which4<photos4.length-1){
which4++
applyeffect4()
document.images.photoslider4.src=photos4[which4]
playeffect4()
keeptrack4()
}
}

function transport4(){
window.location=photoslink4[which4]
}

/***********************************************
* Slide 3 
***********************************************/
var photos1=new Array()
var photoslink1=new Array()
var which1=0

//define images. You can have as many as you want:
photos1[0]="../images/about-2-1.jpg"
photos1[1]="../images/about-2-2.jpg"
photos1[2]="../images/about-2-4.jpg"
photos1[3]="../images/about-2-3.jpg"
photos1[4]="../images/about-2-5.jpg"
photos1[5]="../images/about-2-6.jpg"



//Specify whether images should be linked or not (1=linked)
var linkornot1=0

//Set corresponding URLs for above images. Define ONLY if variable linkornot equals "1"
photoslink1[0]=""
photoslink1[1]=""
photoslink1[2]=""

//do NOT edit pass this line

var preloadedimages1=new Array()
for (i=0;i<photos1.length;i++){
preloadedimages1[i]=new Image()
preloadedimages1[i].src=photos1[i]
}


function applyeffect1(){
if (document.all && photoslider1.filters){
photoslider1.filters.revealTrans.Transition=Math.floor(Math.random()*23)
photoslider1.filters.revealTrans.stop()
photoslider1.filters.revealTrans.apply()
}
}



function playeffect1(){
if (document.all && photoslider1.filters)
photoslider1.filters.revealTrans.play()
}

function keeptrack1(){
window.status="Image1 "+(which1+1)+" of "+photos1.length
}


function backward1(){
if (which1>0){
which1--
applyeffect1()
document.images.photoslider1.src=photos1[which1]
playeffect1()
keeptrack1()
}
}

function forward1(){
if (which1<photos1.length-1){
which1++
applyeffect1()
document.images.photoslider1.src=photos1[which1]
playeffect1()
keeptrack1()
}
}

function transport1(){
window.location=photoslink1[which1]
}


/***********************************************
* Slide 4 
***********************************************/


var photos3=new Array()
var photoslink3=new Array()
var which3=0

//define images. You can have as many as you want:
photos3[0]="../images/about-4-1.jpg"
photos3[1]="../images/about-4-2.jpg"
photos3[2]="../images/about-4-3.jpg"
photos3[3]="../images/about-4-4.jpg"
photos3[4]="../images/about-4-5.jpg"
photos3[5]="../images/about-4-6.jpg"
photos3[6]="../images/about-4-7.jpg"




//Specify whether images should be linked or not (1=linked)
var linkornot3=0

//Set corresponding URLs for above images. Define ONLY if variable linkornot equals "1"
photoslink3[0]=""
photoslink3[1]=""
photoslink3[2]=""

//do NOT edit pass this line

var preloadedimages3=new Array()
for (i=0;i<photos3.length;i++){
preloadedimages3[i]=new Image()
preloadedimages3[i].src=photos3[i]
}


function applyeffect3(){
if (document.all && photoslider3.filters){
photoslider3.filters.revealTrans.Transition=Math.floor(Math.random()*23)
photoslider3.filters.revealTrans.stop()
photoslider3.filters.revealTrans.apply()
}
}



function playeffect3(){
if (document.all && photoslider3.filters)
photoslider3.filters.revealTrans.play()
}

function keeptrack3(){
window.status="Image3 "+(which3+1)+" of "+photos3.length
}


function backward3(){
if (which3>0){
which3--
applyeffect3()
document.images.photoslider3.src=photos3[which3]
playeffect3()
keeptrack3()
}
}

function forward3(){
if (which3<photos3.length-1){
which3++
applyeffect3()
document.images.photoslider3.src=photos3[which3]
playeffect3()
keeptrack3()
}
}

function transport3(){
window.location=photoslink3[which3]
}



/***********************************************
* Slide 5 
***********************************************/

var photos2=new Array()
var photoslink2=new Array()
var which2=0

//define images. You can have as many as you want:
photos2[0]="../images/about-3-1.jpg"
photos2[1]="../images/about-3-2.jpg"



//Specify whether images should be linked or not (1=linked)
var linkornot2=0

//Set corresponding URLs for above images. Define ONLY if variable linkornot equals "1"
photoslink2[0]=""
photoslink2[1]=""
photoslink2[2]=""

//do NOT edit pass this line

var preloadedimages2=new Array()
for (i=0;i<photos2.length;i++){
preloadedimages2[i]=new Image()
preloadedimages2[i].src=photos2[i]
}


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="Image2 "+(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]
}


/***********************************************
* Slide 6 
***********************************************/

var photos5=new Array()
var photoslink5=new Array()
var which5=0

//define images. You can have as many as you want:
photos5[0]="../images/about-7-1.jpg"
photos5[1]="../images/about-7-2.jpg"
photos5[2]="../images/about-7-3.jpg"
photos5[3]="../images/about-7-4.jpg"
photos5[4]="../images/about-7-5.jpg"



//Specify whether images should be linked or not (1=linked)
var linkornot5=0

//Set corresponding URLs for above images. Define ONLY if variable linkornot equals "1"
photoslink5[0]=""
photoslink5[1]=""
photoslink5[2]=""

//do NOT edit pass this line

var preloadedimages5=new Array()
for (i=0;i<photos5.length;i++){
preloadedimages5[i]=new Image()
preloadedimages5[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="Image5 "+(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]
}

