// JavaScript Document

function newWindow(myWindow) {
	window.open(myWindow);
}


// (C) 2000 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this header
// NS4-6,IE4-6
// Fade effect only in IE; degrades gracefully

// =======================================
// set the following variables
// =======================================

// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 4000

// Duration of crossfade (seconds)
var crossFadeDuration = 1

// Specify the image files
// =======================================
// Duplicate This Part For New Slice
////////////// slideshow  ///////////////

var Pic = new Array() // don't touch this

Pic[0] = 'img/facil1.jpg'
Pic[1] = 'img/facil2.jpg'

// =======================================
// do not edit anything below this line
// =======================================

var t
var j = 0
var p = Pic.length

var preLoad = new Array()
for (i = 0; i < p; i++){
preLoad[i] = new Image()
preLoad[i].src = Pic[i]
}

function runSlideShow(){
if (document.all){
document.SlideShow.style.filter="blendTrans(duration=2)"
document.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"
document.SlideShow.filters.blendTrans.Apply() 
}
document.images.SlideShow.src = preLoad[j].src
if (document.all){
document.images.SlideShow.filters.blendTrans.Play()
}
j = j + 1
if (j > (p-1)) j=0
t = setTimeout('runSlideShow()', slideShowSpeed)

}

////////////// slideshow 2  ///////////////

// Set slideShowSpeed (milliseconds)
var slideShowSpeed2 = 4000

// Duration of crossfade (seconds)
var crossFadeDuration2 = 1

// Specify the image files
// =======================================
// Duplicate This Part For New Slice

var Pic2 = new Array() // don't touch this

Pic2[0] = 'img/facil3.jpg'
Pic2[1] = 'img/facil4.jpg'


// =======================================
// do not edit anything below this line
// =======================================

var t2
var j2 = 0
var p2 = Pic2.length

var preLoad2 = new Array()
for (i = 0; i < p2; i++){
preLoad2[i] = new Image()
preLoad2[i].src = Pic2[i]
}

function runSlideShow2(){
if (document.all){
document.SlideShow2.style.filter="blendTrans(duration=2)"
document.SlideShow2.style.filter="blendTrans(duration=crossFadeDuration2)"
document.SlideShow2.filters.blendTrans.Apply() 
}
document.SlideShow2.src = preLoad2[j2].src
if (document.all){
document.SlideShow2.filters.blendTrans.Play()
}
j2 = j2 + 1
if (j2 > (p2-1)) j2=0
t2 = setTimeout('runSlideShow2()', slideShowSpeed2)

}


////////////// slideshow 3  ///////////////

// Set slideShowSpeed (milliseconds)
var slideShowSpeed3 = 4000

// Duration of crossfade (seconds)
var crossFadeDuration3 = 1

// Specify the image files
// =======================================
// Duplicate This Part For New Slice

var Pic3 = new Array() // don't touch this

Pic3[0] = 'img/qt1.jpg'
Pic3[1] = 'img/qt2.jpg'

// =======================================
// do not edit anything below this line
// =======================================

var t3
var j3 = 0
var p3 = Pic3.length

var preLoad3 = new Array()
for (i = 0; i < p3; i++){
preLoad3[i] = new Image()
preLoad3[i].src = Pic3[i]
}

function runSlideShow3(){
if (document.all){
document.SlideShow3.style.filter="blendTrans(duration=2)"
document.SlideShow3.style.filter="blendTrans(duration=crossFadeDuration3)"
document.SlideShow3.filters.blendTrans.Apply() 
}
document.SlideShow3.src = preLoad3[j3].src
if (document.all){
document.SlideShow3.filters.blendTrans.Play()
}
j3 = j3 + 1
if (j3 > (p3-1)) j3=0
t3 = setTimeout('runSlideShow3()', slideShowSpeed3)

}


////////////// slideshow 4  ///////////////

// Set slideShowSpeed (milliseconds)
var slideShowSpeed4 = 4000

// Duration of crossfade (seconds)
var crossFadeDuration4 = 1

// Specify the image files
// =======================================
// Duplicate This Part For New Slice

var Pic4 = new Array() // don't touch this
Pic4[0] = 'img/qt3.jpg'
Pic4[1] = 'img/qt4.jpg'
Pic4[2] = 'img/qt5.jpg'

// =======================================
// do not edit anything below this line
// =======================================

var t4
var j4 = 0
var p4 = Pic4.length

var preLoad4 = new Array()
for (i = 0; i < p4; i++){
preLoad4[i] = new Image()
preLoad4[i].src = Pic4[i]
}

function runSlideShow4(){
if (document.all){
document.SlideShow4.style.filter="blendTrans(duration=2)"
document.SlideShow4.style.filter="blendTrans(duration=crossFadeDuration4)"
document.SlideShow4.filters.blendTrans.Apply() 
}
document.SlideShow4.src = preLoad4[j4].src
if (document.all){
document.SlideShow4.filters.blendTrans.Play()
}
j4 = j4 + 1
if (j4 > (p4-1)) j4=0
t4 = setTimeout('runSlideShow4()', slideShowSpeed4)

}

////////////// slideshow 5  ///////////////

// Set slideShowSpeed (milliseconds)
var slideShowSpeed5 = 4000

// Duration of crossfade (seconds)
var crossFadeDuration5 = 1

// Specify the image files
// =======================================
// Duplicate This Part For New Slice

var Pic5 = new Array() // don't touch this

Pic5[0] = 'img/qt6.jpg'
Pic5[1] = 'img/qt7.jpg'
Pic5[2] = 'img/qt8.jpg'

// =======================================
// do not edit anything below this line
// =======================================

var t5
var j5 = 0
var p5 = Pic5.length

var preLoad5 = new Array()
for (i = 0; i < p5; i++){
preLoad5[i] = new Image()
preLoad5[i].src = Pic5[i]
}

function runSlideShow5(){
if (document.all){
document.SlideShow5.style.filter="blendTrans(duration=2)"
document.SlideShow5.style.filter="blendTrans(duration=crossFadeDuration5)"
document.SlideShow5.filters.blendTrans.Apply() 
}
document.SlideShow5.src = preLoad5[j5].src
if (document.all){
document.SlideShow5.filters.blendTrans.Play()
}
j5 = j5 + 1
if (j5 > (p5-1)) j5=0
t5 = setTimeout('runSlideShow5()', slideShowSpeed5)

}

