// JavaScript Document
// Marquee Slideshow
		var i = 0;
		var slideshow = null;
		var marqueeTimeDelay = 7000; 	// Seconds * 1000, of course
		var TOTALSLOTS = 4; 			// Total number of Marquee slots.  Will likely always be 4.

		// Swamp marquee
		function showMarquee( SLOT ) {

		// Which slot are we activating?
			var ACTIVESLOT = "marqueeSlot" + SLOT;
			var MARQUEEIMG = "marqueeImg" + SLOT;

		// Reset all div displays
			document.getElementById('marqueeImg1').style.display = "none";
			document.getElementById('marqueeImg2').style.display = "none";
			document.getElementById('marqueeImg3').style.display = "none";
			document.getElementById('marqueeImg4').style.display = "none";

			document.getElementById('marqueeSlot1').className = "marqueeSlot sf";
			document.getElementById('marqueeSlot2').className = "marqueeSlot sf";
			document.getElementById('marqueeSlot3').className = "marqueeSlot sf";
			document.getElementById('marqueeSlot4').className = "marqueeSlot sf";

		// Turn on the current section and swap out the image
			document.getElementById(ACTIVESLOT).className = "marqueeSlotOn sf";
			document.getElementById(MARQUEEIMG).style.display = "inline";

		// Stop the slideshow or hijinks will ensue
			stopSlideshow();
		};

		function runSlideshow(marqnum) {
			if(marqnum) i = marqnum;
			else i = i + 1;
			if( i > ( TOTALSLOTS ) ) {
				i = 1;
			};
			showMarquee( i );
			slideshow = setTimeout( 'runSlideshow()', marqueeTimeDelay );
		};

		function stopSlideshow() {
			clearTimeout(slideshow);
		};

	// Start the slideshow as soon as this loads!
		slideshow = setInterval("runSlideshow()", 1000);
	
