// ================================================================
//                    Vertigion LLC
// ================================================================
// This file contains the editable Variables for the slideshow
// and a demo html page to show the means of applying the script.
// ================================================================
// TO MANIPULATE SETTINGS:  Use the "slideshowvar.js" file.
// the "var" stand for variables .... you can change the variables.  
// 
// You don't want to change the Executables
// ("exec"; "slideshowexec.js")
// ================================================================
// Script by:  Vertigion Demigrious
// ================================================================
// The following is what a basic html page with just
// the slideshow imputed in it, as a demo:
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
// <html>
// <head>
// <title>Quadrant Slide Show</title>
// <script src="js/slideshowvar.js"> < /script>
// <script src="js/slideshowexec.js"> < /script>
// </head>
// <body onload="runSlideShowQuad1(); runSlideShowQuad2(); runSlideShowQuad3(); runSlideShowQuad4();">
// <img src="images/Quad1_1.png" name='SlideShowQuad1'>
// <img src="images/Quad2_1.png" name='SlideShowQuad2'><br />
// <img src="images/Quad3_1.png" name='SlideShowQuad3'>
// <img src="images/Quad4_1.png" name='SlideShowQuad4'>
// </body>
// </html>
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// NOTE: Take the space out of the "< /script>" tag.
// NOTE2: Make sure you remove the "//" from the beginning of each line.
// NOTE3:  You may want to force slide size by putting a
//         "width" and "height" function in the <img> tag.
// ================================================================
// EDITABLE VARIABLES START BELOW HERE ...
// ================================================================

// There are 4 Quadrants as follows:
// Top Left = Quadrant 1 (Quad1)
// Top Right = Quadrant 2 (Quad2)
// Bottom Left = Quadrant 3 (Quad3)
// Bottom Right = Quadrant 4 (Quad4)

// Controls the Fade speed in seconds
var crossFadeDuration = 2

// These control the speed that the slideshow changes slides (per quadrant) in milliseconds
var slideShowSpeedQuad1 = 5000
var slideShowSpeedQuad2 = 6000
var slideShowSpeedQuad3 = 7000
var slideShowSpeedQuad4 = 8000

// DON'T TOUCH THIS!!!!!!  DON'T TOUCH THIS
var Quad1 = new Array() // DON'T TOUCH THIS
var Quad2 = new Array() // DON'T TOUCH THIS
var Quad3 = new Array() // DON'T TOUCH THIS
var Quad4 = new Array() // DON'T TOUCH THIS
// DON'T TOUCH THIS!!!!!!  DON'T TOUCH THIS

// Specify the image files. 
// To add more images, just continue the pattern by adding to the array below:

// QUADRANT 1 -- width="75" height="31"
Quad1[0] = strRel +'images/ptdalogo.jpg'
Quad1[1] = strRel +'images/cemalogo.jpg'
Quad1[2] = strRel +'images/pemalogo.jpg'
Quad1[3] = strRel +'images/afia.png'

// QUADRANT 2 -- width="190" height="127"
Quad2[0] = strRel +'images/hubbell.png'
Quad2[1] = strRel +'images/pressure.png'
Quad2[2] = strRel +'images/pharmscr.png'

// QUADRANT 3 -- 
if (strImageCntrl == "c") {
	//Meeting and Conference Pictures
	Quad3[0] = strRel +'images/header/c_001.gif'
	Quad3[1] = strRel +'images/header/c_002.gif'
	Quad3[2] = strRel +'images/header/c_003.gif'
	Quad3[3] = strRel +'images/header/c_004.gif'
	Quad3[4] = strRel +'images/header/c_005.gif'
} else if (strImageCntrl == "e") {
	//Engineering Process Pictures
	Quad3[0] = strRel +'images/header/e_001.jpg'
	Quad3[1] = strRel +'images/header/e_004.gif'
	Quad3[2] = strRel +'images/header/e_002.jpg'
	Quad3[3] = strRel +'images/header/e_003.gif'
} else if (strImageCntrl == "m") {
	//Manufacturing Process Pictures
	Quad3[0] = strRel +'images/header/m_001.jpg'
	Quad3[1] = strRel +'images/header/m_002.gif'
	Quad3[2] = strRel +'images/header/m_003.gif'
	Quad3[3] = strRel +'images/header/m_004.gif'
} else {
	//Product Pictures
	
}

// QUADRANT 4 -- 
Quad4[0] = 'images/Quad4_1.png'
Quad4[1] = 'images/Quad4_2.png'
Quad4[2] = 'images/Quad4_3.png'