<!--
	var slideshow2_noFading = false;
	var slideshow2_timeBetweenSlides = 4000;		// Amount of time between each image(1000 = 1 second)
	var slideshow2_fadingSpeed = 10;				// Speed of fading	(Lower value = faster)
	
	var slideshow2_stats = new Array();
	
	var slideshow2_slideIndex = new Array();		// Index of current image shown
	var slideshow2_slideIndexNext = new Array();	// Index of next image shown
	var slideshow2_imageDivs = new Array();			// Array of image divs(Created dynamically)
	var slideshow2_colorDivs = new Array();			// Array of color BG divs(Created dynamically)
	var slideshow2_textDivs = new Array();			// Array of color BG divs(Created dynamically)
	var slideshow2_currentOpacity = new Array();	// Initial opacity
	var slideshow2_imagesInGallery = new Array();	// Number of images in gallery
	
	var Opera = navigator.userAgent.indexOf('Opera') >= 0 ? true : false;
	
	var strVal;
	var arrVal;
	var strCol;
	var strTxt;
	
	function createParentDivs(imageIndex, divImg, divCol, divTxt)
	{
		if (imageIndex == slideshow2_imagesInGallery[divImg])
		{	
			showGallery(divImg, divCol, divTxt);
		}
		else
		{
			var imgObj = document.getElementById(divImg + '_' + imageIndex);
			var divObj = document.getElementById(divCol + '_' + imageIndex);
			var txtObj = document.getElementById(divTxt + '_' + imageIndex);
			
			if (Opera)
			{
				imgObj.style.position = 'static';
				divObj.style.position = 'static';
				txtObj.style.position = 'static';
			}
			
			if (!slideshow2_imageDivs[divImg])
			{
				slideshow2_imageDivs[divImg] = new Array();
			}
			
			if (!slideshow2_colorDivs[divCol])
			{
				slideshow2_colorDivs[divCol] = new Array();
			}
			
			if (!slideshow2_textDivs[divTxt])
			{
				slideshow2_textDivs[divTxt] = new Array();
			}
			
			slideshow2_imageDivs[divImg][slideshow2_imageDivs[divImg].length] = imgObj;
			slideshow2_colorDivs[divCol][slideshow2_colorDivs[divCol].length] = divObj;
			slideshow2_textDivs[divTxt][slideshow2_textDivs[divTxt].length] = txtObj;
	
			imgObj.style.visibility = 'hidden';	
			divObj.style.visibility = 'hidden';	
			txtObj.style.visibility = 'hidden';	
			imageIndex++;
			
			createParentDivs(imageIndex, divImg, divCol, divTxt);	
		}		
	}
	
	function showGallery(divId, divCol, divTxt)
	{
		if (slideshow2_slideIndex[divId] == -1)
		{
			slideshow2_slideIndex[divId] = 0;
		}
		else
		{
			slideshow2_slideIndex[divId]++;											// Index of next image to show
		}
		
		if (slideshow2_slideIndex[divId] == slideshow2_imageDivs[divId].length)
		{
			slideshow2_slideIndex[divId] = 0;
		}
		
		slideshow2_slideIndexNext[divId] = slideshow2_slideIndex[divId] + 1;		// Index of the next next image
		
		if (slideshow2_slideIndexNext[divId] == slideshow2_imageDivs[divId].length)
		{
			slideshow2_slideIndexNext[divId] = 0;
		}
		
		slideshow2_currentOpacity[divId] = 100;										// Reset current opacity
	
		// Displaying image divs
		slideshow2_imageDivs[divId][slideshow2_slideIndex[divId]].style.visibility = 'visible';
		slideshow2_colorDivs[divCol][slideshow2_slideIndex[divId]].style.visibility = 'visible';
		slideshow2_textDivs[divTxt][slideshow2_slideIndex[divId]].style.visibility = 'visible';
		
		if (Opera)
		{
			slideshow2_imageDivs[divId][slideshow2_slideIndex[divId]].style.display = 'inline';
			slideshow2_colorDivs[divCol][slideshow2_slideIndex[divId]].style.display = 'inline';
			slideshow2_textDivs[divTxt][slideshow2_slideIndex[divId]].style.display = 'inline';
		}
		
		if (navigator.userAgent.indexOf('Opera') < 0)
		{
			slideshow2_imageDivs[divId][slideshow2_slideIndexNext[divId]].style.visibility = 'visible';
			slideshow2_colorDivs[divCol][slideshow2_slideIndexNext[divId]].style.visibility = 'visible';
			slideshow2_textDivs[divTxt][slideshow2_slideIndexNext[divId]].style.visibility = 'visible';
		}
		
		if (document.all)	// IE rules
		{
			slideshow2_imageDivs[divId][slideshow2_slideIndex[divId]].style.filter = 'alpha(opacity=100)';
			slideshow2_imageDivs[divId][slideshow2_slideIndexNext[divId]].style.filter = 'alpha(opacity=1)';
			slideshow2_colorDivs[divCol][slideshow2_slideIndex[divId]].style.filter = 'alpha(opacity=100)';
			slideshow2_colorDivs[divCol][slideshow2_slideIndexNext[divId]].style.filter = 'alpha(opacity=1)';
			slideshow2_textDivs[divTxt][slideshow2_slideIndex[divId]].style.filter = 'alpha(opacity=100)';
			slideshow2_textDivs[divTxt][slideshow2_slideIndexNext[divId]].style.filter = 'alpha(opacity=1)';
		}
		else
		{
			slideshow2_imageDivs[divId][slideshow2_slideIndex[divId]].style.opacity = 0.99;	// Can't use 1 and 0 because of screen flickering in FF
			slideshow2_imageDivs[divId][slideshow2_slideIndexNext[divId]].style.opacity = 0.01;
			slideshow2_colorDivs[divCol][slideshow2_slideIndex[divId]].style.opacity = 0.99;	// Can't use 1 and 0 because of screen flickering in FF
			slideshow2_colorDivs[divCol][slideshow2_slideIndexNext[divId]].style.opacity = 0.01;
			slideshow2_textDivs[divTxt][slideshow2_slideIndex[divId]].style.opacity = 0.99;	// Can't use 1 and 0 because of screen flickering in FF
			slideshow2_textDivs[divTxt][slideshow2_slideIndexNext[divId]].style.opacity = 0.01;
		}		
	
		setTimeout('revealImage("' + divId + '", "' + divCol + '", "' + divTxt + '")', slideshow2_timeBetweenSlides);		
	}
	
	function revealImage(divId, divCol, divTxt)
	{
	
		if (slideshow2_noFading)
		{
			slideshow2_imageDivs[divId][slideshow2_slideIndex[divId]].style.visibility = 'hidden';
			
			if (Opera)
			{
				slideshow2_imageDivs[divId][slideshow2_slideIndex[divId]].style.display = 'none';
			}
			
			showGallery(divId, divCol, divTxt);
			return;
		}
		
		slideshow2_currentOpacity[divId]--;
		
		if (document.all)
		{
			slideshow2_imageDivs[divId][slideshow2_slideIndex[divId]].style.filter = 'alpha(opacity=' + slideshow2_currentOpacity[divId] + ')';
			slideshow2_imageDivs[divId][slideshow2_slideIndexNext[divId]].style.filter = 'alpha(opacity=' + (100 - slideshow2_currentOpacity[divId]) + ')';
			
			if (slideshow2_currentOpacity[divId] <= 100)
			{
				slideshow2_colorDivs[divCol][slideshow2_slideIndex[divId]].style.filter = 'alpha(opacity=' + slideshow2_currentOpacity[divId] + ')';
				slideshow2_colorDivs[divCol][slideshow2_slideIndexNext[divId]].style.filter = 'alpha(opacity=' + (100 - slideshow2_currentOpacity[divId]) + ')';
			}
			
			slideshow2_textDivs[divTxt][slideshow2_slideIndex[divId]].style.filter = 'alpha(opacity=' + slideshow2_currentOpacity[divId] + ')';
			slideshow2_textDivs[divTxt][slideshow2_slideIndexNext[divId]].style.filter = 'alpha(opacity=' + (100 - slideshow2_currentOpacity[divId]) + ')';
		}
		else
		{
			slideshow2_imageDivs[divId][slideshow2_slideIndex[divId]].style.opacity = Math.max(0.01, slideshow2_currentOpacity[divId] / 100);	// Can't use 1 and 0 because of screen flickering in FF
			slideshow2_imageDivs[divId][slideshow2_slideIndexNext[divId]].style.opacity = Math.min(0.99, (1 - (slideshow2_currentOpacity[divId] / 100)));
			slideshow2_colorDivs[divCol][slideshow2_slideIndex[divId]].style.opacity = Math.max(0.01, slideshow2_currentOpacity[divId] / 100);	// Can't use 1 and 0 because of screen flickering in FF
			slideshow2_colorDivs[divCol][slideshow2_slideIndexNext[divId]].style.opacity = Math.min(0.99, (1 - (slideshow2_currentOpacity[divId] / 100)));
			slideshow2_textDivs[divTxt][slideshow2_slideIndex[divId]].style.opacity = Math.max(0.01, slideshow2_currentOpacity[divId] / 100);	// Can't use 1 and 0 because of screen flickering in FF
			slideshow2_textDivs[divTxt][slideshow2_slideIndexNext[divId]].style.opacity = Math.min(0.99, (1 - (slideshow2_currentOpacity[divId] / 100)));
		}
		
		if (slideshow2_currentOpacity[divId] > 0)
		{
			setTimeout('revealImage("' + divId + '", "' + divCol + '", "' + divTxt + '")', slideshow2_fadingSpeed);
		}
		else
		{
			slideshow2_imageDivs[divId][slideshow2_slideIndex[divId]].style.visibility = 'hidden';
			slideshow2_colorDivs[divCol][slideshow2_slideIndex[divId]].style.visibility = 'hidden';
			slideshow2_textDivs[divTxt][slideshow2_slideIndex[divId]].style.visibility = 'hidden';
			
			if (Opera)
			{
				slideshow2_imageDivs[divId][slideshow2_slideIndex[divId]].style.display = 'none';
				slideshow2_colorDivs[divCol][slideshow2_slideIndex[divId]].style.display = 'none';
				slideshow2_textDivs[divTxt][slideshow2_slideIndex[divId]].style.display = 'none';
			}
			
			// Load the values for the next banner...
			//strTxt = arrInfo[slideshow2_slideIndexNext[divId]];
			
			//document.getElementById("divRotatingBannerBG").style.visibility = "hidden";
			//document.getElementById("divRotatingBannerBG_" + slideshow2_slideIndex[divId]).style.visibility = "hidden";
			//document.getElementById("divRotatingBannerBG_" + slideshow2_slideIndexNext[divId]).style.visibility = "visible";
			//document.getElementById("divRotatingBannerBG").style.visibility = "visible";
			//document.getElementById("divRotatingBannerText").innerHTML = strTxt;
		
			showGallery(divId, divCol, divTxt);
		}
	}
	
	function initImageGallery(divImg, divCol, divTxt)
	{
		var slideshow2_galleryContainer = document.getElementById(divImg);
		var slideshow2_bgColorContainer = document.getElementById(divCol);
		var slideshow2_txtAreaContainer = document.getElementById(divTxt);
		
		slideshow2_slideIndex[divImg] = -1;
		slideshow2_slideIndexNext[divImg] = false;
		
		var galleryImgArray = slideshow2_galleryContainer.getElementsByTagName('IMG');
		var galleryDivArray = slideshow2_bgColorContainer.getElementsByTagName('DIV');
		var galleryTxtArray = slideshow2_txtAreaContainer.getElementsByTagName('DIV');
		
		for (var no = 0; no < galleryImgArray.length; no++)
		{
			galleryImgArray[no].id = divImg + '_' + no;
		}
		
		for (var no = 0; no < galleryDivArray.length; no++)
		{
			galleryDivArray[no].id = divCol + '_' + no;
		}
		
		for (var no = 0; no < galleryTxtArray.length; no++)
		{
			galleryTxtArray[no].id = divTxt + '_' + no;
		}
		
		slideshow2_imagesInGallery[divImg] = galleryImgArray.length;
		
		createParentDivs(0, divImg, divCol, divTxt);
	}
//-->