<!-- Begin

// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 3000;

// Duration of crossfade (seconds)
var crossFadeDuration = 6;

// Specify the image files
var Pic = new Array();

// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = '../images/banner/audio1.jpg';
Pic[1] = '../images/banner/audio2.jpg';
Pic[2] = '../images/banner/audio3.jpg';


var alts = new Array();
// to add more images, just continue
// the pattern, adding to the array below

alts[0] = 'Audio Books';
alts[1] = 'Audio Books';
alts[2] = 'Audio Books';

// Below is the variable that will describe the page
var pageDescription = "<p class=\"featuredCategorySubItem\" style=\"text-align: center;\">Audiobooks</p>";
pageDescription += "<h5 style=\"text-align: center;\"><a href=\"javascript: ShowProductNoCat(399483)\" title=\"Rudyard Kipling's Just So Stories\">Rudyard Kipling's Just So Stories</a></h5>";
pageDescription += "<p><a href=\"javascript: ShowProductNoCat(399483)\" title=\"Rudyard Kipling's Just So Stories\"><img src=\"http://www.thebookshoponline.com/images/justsostories.jpg\" alt=\"http://www.thebookshoponline.com/images/justsostories.jpg\" style=\"margin-left: auto; margin-right: auto; width: 283px; display: block;\" title=\"Rudyard Kipling's Just So Stories\" /></a></p>";
pageDescription += "<p class=\"featuredProductContent\">How did the leopard get his spots? How did the camel get his hump? How did an inquisitive little elephant change the lives of elephants everywhere? This title provides imagined answers to these questions.</p>";
pageDescription += "<p class=\"featuredCategorySubItem\" style=\"font-size:14px;\">Here are some other fantastic audiobooks:</p>";
// 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.getElementById)
	{
		if(document.getElementById( 'SlideShow' ))
		{
		    try
		    {
			    document.getElementById( 'SlideShow' ).style.filter = "blendTrans(duration=2)";
			    document.getElementById( 'SlideShow' ).style.filter = "blendTrans(duration=crossFadeDuration)";
			    document.getElementById( 'SlideShow' ).filters.blendTrans.Apply();

			    document.getElementById( 'SlideShow' ).src = preLoad[j].src;
			    document.getElementById( 'SlideShow' ).alt = alts[j];

			    document.getElementById( 'SlideShow' ).filters.blendTrans.Play();
		    }
		    
		    catch(e)
		    {
			    document.getElementById( 'SlideShow' ).src = preLoad[j].src;
			    document.getElementById( 'SlideShow' ).alt = alts[j];
		    }
		    
			j = j + 1;
			if (j > (p - 1))
			{
				j = 0;
			}

			t = setTimeout('runSlideShow()', slideShowSpeed);
		}
	}
}

        window.onerror = displayErrorMessage;

        function displayErrorMessage(msg, url, linenumber)
        {
            return true;
        }

//-->