	//<![CDATA[		/**  **/function openwin(url,theWidth,theHeight) {  window.open(url, '_blank', "width="+theWidth+",height="+theHeight+",top=200,left=200,resizable=yes,scrollbars=yes,toolbar=yes,location=yes,status=yes,menubar=yes");}/** */function generateImageTag(imageIndex, instance) {  var imageArray = slideshows[instance];  var imageData = imageArray.images[imageIndex];  var linkData = imageArray.links[imageIndex];  var newWindowWidth = 600, newWindowHeight = 500;  // Assemble image tag  var imageTag = "<img src=\"" + imageData.src + "\" border=\"0\" width=\"" + imageData.width + "\" height=\"" + imageData.height + "\" alt=\"" + imageData.alt + "\"/>";  // Check for link and assemble tag for link  if (linkData.href != "") {    // Check whether the link should show up in a new window    if (linkData.newWindow) {      // Get the width of the new window if it's defined      if (thisLink.windowWidth > 0) {        newWindowWidth = thisLink.windowWidth;      }      // Get the height of the new window if it's defined      if (thisLink.windowHeight > 0) {        newWindowHeight = thisLink.windowHeight;      }      // Create our link that opens up the URL in a popup window      imageTag = "<a href=\"openwin('" + linkData.href + "', " + newWindowWidth + ", " + newWindowHeight + ")\">" + imageTag + "</a>";    }    // This link does not need to be displayed in a new window.  Just create a plain link    else {      imageTag = "<a href=\"" + linkData.href + "\">" + imageTag + "</a>";    }  }  return imageTag;}/** */function switchImage(instance) {  var imageBlock = document.getElementById("imageBlock" + instance);  imageBlock.innerHTML = generateImageTag(slideshows[instance].counter, instance);}/** */function startOrChangeSlideshow(instance,firstTime) {  var imageArray = slideshows[instance];  var thisInterval = 1;  var imageIndex = 0;  // If the slideshow is simply swapping the images, swap the image here  if (slideshows[instance].slideType == "swap") {		if (! firstTime) {	  	if (imageArray.counter == (imageArray.images.length - 1)) {	      imageArray.counter = 0;	    } else if (imageArray.counter < (imageArray.images.length - 1)) {	      imageArray.counter += 1;	    }		}    thisInterval = imageArray.interval;  }  // If we're sliding the slides from right to left, handle the "switch case" here, where we need to  //    switch the previously focused image to the next focused image, and make the next image to be moved  //    into focus visible.  We also need to hide the previously focused image.  else {    var newFocus = imageArray.visibleImages[1];    var thisSlide = document.getElementById(imageArray.slides[newFocus]);    // Set the counter to the current image and set the interval    if ((getPixelValue(thisSlide.style.left) < 0) &&        (getPixelValue(thisSlide.style.left) >= (imageArray.slideSpeed * (-1)))) {      // Get a reference to the formerly focused slide      var oldFocus = imageArray.visibleImages[0];      var oldSlide = document.getElementById(imageArray.slides[oldFocus]);      // Figure out what the next image to be displayed is and get a reference to it      var newIndex = newFocus + 1;      if (newIndex >= imageArray.slides.length) {        newIndex = 0;      }      var newSlide = document.getElementById(imageArray.slides[newIndex]);      // Assign the counter to the currently focused image      imageArray.counter = newFocus;      // turn off the previously focused image      with (oldSlide.style) {        display = "none";        left = imageArray.maxWidth * (-1);      }      // Turn on the next image to be brought into focus      newSlide.style.display = "block";      // Set the visibleImages array to the currently focused image and the next image to get the focus      with (imageArray) {        visibleImages[0] = newFocus;        visibleImages[1] = newIndex;      }      // Set the interval      thisInterval = imageArray.interval;    }		// This is only getting called when the slideshow starts initially		if (firstTime) {      thisInterval = imageArray.interval;		}  }	slideshows[instance].imageSwap(instance);	imageArray.timerObject = setTimeout("startOrChangeSlideshow('" + instance + "', false)", thisInterval);}/** */function generateSlideshowImageArray(instance) {  var imageArray = slideshows[instance];  var containerBlock = "";  // Loop through all of the image to be displayed, placing them in the content block  for (var imageIndex = 0; imageIndex < imageArray.images.length; imageIndex += 1) {    var imageBlock;    // Create the id of the DIV that we're creating and place it in the slides array that we use to    //    reference the DIVs    imageArray.slides[imageIndex] = "imageSlide" + instance + "slide" + imageIndex;    // Start our image block    imageBlock = "<div id=\"" + imageArray.slides[imageIndex] + "\" style=\"";    // Assign width and height    imageBlock += "width: " + imageArray.maxWidth + "px; ";    imageBlock += "height: " + imageArray.maxHeight + "px; ";    // Assign position    imageBlock += "position: absolute; top: 0;";    // Set the left position depending on whether it's the current image or not    //   and determine whether or not to display it yet or not    if (imageIndex == 0) {      imageBlock += " left: 0px; display: block; ";    } else {      imageBlock += " left: " + (imageArray.maxWidth * (-1)) + "px;";      if (imageIndex == 1) {        imageBlock += " display: block; ";      } else {        imageBlock += " display: none; ";      }    }    // Set the horizontal and vertical positioning of image inside the div;    imageBlock += "text-align: center; vertical-align: middle;";    // Place the image inside the DIV and close the div    imageBlock += "\">" + generateImageTag(imageIndex, instance) + "</div>";    // Assign the new div to the container block    containerBlock += imageBlock;    // Place the first two images in the visibleImages array    if (imageIndex < 2 ) {      imageArray.visibleImages[imageIndex] = imageIndex;    }  }  // Write out the container block to the document and start the slideshow  document.write(containerBlock);  startOrChangeSlideshow(instance, true);}/** */function switchSlideshowImage(instance) {  var imageArray = slideshows[instance];  var delta = imageArray.slideSpeed;  var currentFocus = document.getElementById(imageArray.slides[imageArray.visibleImages[0]]);  var currentLeftVal = getPixelValue(currentFocus.style.left);  // Loop through the visible images, setting the position of each of the DIVs referenced  for (var imageIndex = 0; imageIndex < imageArray.visibleImages.length; imageIndex += 1) {    var thisSlide = document.getElementById(imageArray.slides[imageArray.visibleImages[imageIndex]]);    // Special Case: Make sure the currently focused image is left-aligned with the left border of the frame    if ((currentLeftVal < 0) &&        (currentLeftVal >= (delta * (-1))) &&        (imageIndex == 0)) {      thisSlide.style.left = "0px";    // Special Case: Make sure the next image to get the focus is 1 pixel outside the left border of the frame    } else if ((currentLeftVal < 0) &&               (currentLeftVal >= (delta * (-1))) &&               (imageIndex == 1)) {      thisSlide.style.left = (imageArray.maxWidth * (-1)) + "px";    // Normal case: move the frames to the right by the length of the delta    } else {      var newPixVal = getPixelValue(thisSlide.style.left) + delta;      thisSlide.style.left = newPixVal + "px";    }  }}/** */function getPixelValue(styleVal) {  var numGrabber = new RegExp("([0-9\-]+)", "i");  var numPart = numGrabber.exec(styleVal);  return parseInt(numPart[1]);}	//]]>		//<![CDATA[	    var slideshows = new Object();   var thisImage;  var thisLink;          slideshows["AE3B46E0C07BF58B941492333727ED10"] = new Object();  slideshows["AE3B46E0C07BF58B941492333727ED10"].interval = 3 * 1000;  slideshows["AE3B46E0C07BF58B941492333727ED10"].counter = 0;  slideshows["AE3B46E0C07BF58B941492333727ED10"].images = new Array();  slideshows["AE3B46E0C07BF58B941492333727ED10"].links = new Array();        thisImage =  new Image();      thisImage.src = "/bin/f/v/Fun_facts1.jpg";      thisImage.width = 330;      thisImage.height = 357;      thisImage.alt = "1859-60";      slideshows["AE3B46E0C07BF58B941492333727ED10"].images[0] = thisImage;                                                              thisLink = new Object();      thisLink.href = "";      thisLink.newWindow = false;	  	         thisLink.windowWidth = 0;	  	        thisLink.windowHeight = 0;	        slideshows["AE3B46E0C07BF58B941492333727ED10"].links[0] = thisLink;          thisImage =  new Image();      thisImage.src = "/bin/d/c/Fun_facts2.jpg";      thisImage.width = 330;      thisImage.height = 357;      thisImage.alt = "";      slideshows["AE3B46E0C07BF58B941492333727ED10"].images[1] = thisImage;                                                              thisLink = new Object();      thisLink.href = "";      thisLink.newWindow = false;	  	         thisLink.windowWidth = 0;	  	        thisLink.windowHeight = 0;	        slideshows["AE3B46E0C07BF58B941492333727ED10"].links[1] = thisLink;          thisImage =  new Image();      thisImage.src = "/bin/n/d/Fun_facts3.jpg";      thisImage.width = 330;      thisImage.height = 357;      thisImage.alt = "1890-91";      slideshows["AE3B46E0C07BF58B941492333727ED10"].images[2] = thisImage;                                                              thisLink = new Object();      thisLink.href = "";      thisLink.newWindow = false;	  	         thisLink.windowWidth = 0;	  	        thisLink.windowHeight = 0;	        slideshows["AE3B46E0C07BF58B941492333727ED10"].links[2] = thisLink;          thisImage =  new Image();      thisImage.src = "/bin/j/z/Fun_facts4.jpg";      thisImage.width = 330;      thisImage.height = 357;      thisImage.alt = "1901-02";      slideshows["AE3B46E0C07BF58B941492333727ED10"].images[3] = thisImage;                                                              thisLink = new Object();      thisLink.href = "";      thisLink.newWindow = false;	  	         thisLink.windowWidth = 0;	  	        thisLink.windowHeight = 0;	        slideshows["AE3B46E0C07BF58B941492333727ED10"].links[3] = thisLink;          thisImage =  new Image();      thisImage.src = "/bin/t/a/Fun_facts5.jpg";      thisImage.width = 330;      thisImage.height = 357;      thisImage.alt = "1909-10";      slideshows["AE3B46E0C07BF58B941492333727ED10"].images[4] = thisImage;                                                              thisLink = new Object();      thisLink.href = "";      thisLink.newWindow = false;	  	         thisLink.windowWidth = 0;	  	        thisLink.windowHeight = 0;	        slideshows["AE3B46E0C07BF58B941492333727ED10"].links[4] = thisLink;          thisImage =  new Image();      thisImage.src = "/bin/n/l/Fun_facts6.jpg";      thisImage.width = 330;      thisImage.height = 357;      thisImage.alt = "";      slideshows["AE3B46E0C07BF58B941492333727ED10"].images[5] = thisImage;                                                              thisLink = new Object();      thisLink.href = "";      thisLink.newWindow = false;	  	         thisLink.windowWidth = 0;	  	        thisLink.windowHeight = 0;	        slideshows["AE3B46E0C07BF58B941492333727ED10"].links[5] = thisLink;          thisImage =  new Image();      thisImage.src = "/bin/x/m/Fun_facts7.jpg";      thisImage.width = 330;      thisImage.height = 357;      thisImage.alt = "";      slideshows["AE3B46E0C07BF58B941492333727ED10"].images[6] = thisImage;                                                              thisLink = new Object();      thisLink.href = "";      thisLink.newWindow = false;	  	         thisLink.windowWidth = 0;	  	        thisLink.windowHeight = 0;	        slideshows["AE3B46E0C07BF58B941492333727ED10"].links[6] = thisLink;            slideshows["AE3B46E0C07BF58B941492333727ED10"].maxWidth = 330;  slideshows["AE3B46E0C07BF58B941492333727ED10"].maxHeight = 357;                slideshows["AE3B46E0C07BF58B941492333727ED10"].slideType = "swap";    slideshows["AE3B46E0C07BF58B941492333727ED10"].imageSwap = switchImage;  	//]]>	//<![CDATA[		/**  **//** */function buttonControl(buttonElement, thisCommand, thisInstance) {  var controlArray = slideshows[thisInstance];  var firstButton = document.getElementById("FirstBtn" + thisInstance);  var prevButton = document.getElementById("PrevBtn" + thisInstance);  var autoButton = document.getElementById("AutoBtn" + thisInstance);  var stopButton = document.getElementById("StopBtn" + thisInstance);  var nextButton = document.getElementById("NextBtn" + thisInstance);  var lastButton = document.getElementById("LastBtn" + thisInstance);  // Handle all of the buttons EXCEPT the "Auto" button  if (thisCommand != "Auto") {    // Handle the "Stop" command and turn the buttons back on depending on where the image counter is for this instance    if (thisCommand == "Stop") {      clearTimeout(controlArray.timerObject);      buttonHandlers["Stop" + thisInstance].disable(stopButton, "Stop", thisInstance);      buttonHandlers["Auto" + thisInstance].enable(autoButton, "Auto", thisInstance);    }    // Determine which button was pressed    switch (thisCommand) {      case "First":        controlArray.counter = 0;        break;      case "Last":        controlArray.counter = controlArray.images.length - 1;        break;      case "Prev":        controlArray.counter -= 1;        if (controlArray.counter < 0) {          controlArray.counter = 0;        }        break;      case "Next":        controlArray.counter += 1;        if (controlArray.counter >= controlArray.images.length) {          controlArray.counter = controlArray.images.length - 1;        }        break;    }    // Handle the next button's activity status    if (controlArray.counter == (controlArray.images.length - 1)) {      buttonHandlers["Next" + thisInstance].disable(nextButton, "Next", thisInstance);    } else {      buttonHandlers["Next" + thisInstance].enable(nextButton, "Next", thisInstance);    }    // Handle the previous button's activity status    if (controlArray.counter > 0) {      buttonHandlers["Prev" + thisInstance].enable(prevButton, "Prev", thisInstance);    } else {      buttonHandlers["Prev" + thisInstance].disable(prevButton, "Prev", thisInstance);    }    // Handle the first button's activity status    if (controlArray.counter > 0) {      buttonHandlers["First" + thisInstance].enable(firstButton, "First", thisInstance);    } else {      buttonHandlers["First" + thisInstance].disable(firstButton, "First", thisInstance);    }    // Handle the last button's activity status    if (controlArray.counter == (controlArray.images.length - 1)) {      buttonHandlers["Last" + thisInstance].disable(lastButton, "Last", thisInstance);    } else {      buttonHandlers["Last" + thisInstance].enable(lastButton, "Last", thisInstance);    }    // replace the image being displayed    if (thisCommand != "Stop") {      switchImage(thisInstance);    }  } else {    // Turn on the slideshow    buttonHandlers["Next" + thisInstance].disable(nextButton, "Next", thisInstance);    buttonHandlers["Prev" + thisInstance].disable(prevButton, "Prev", thisInstance);    buttonHandlers["First" + thisInstance].disable(firstButton, "First", thisInstance);    buttonHandlers["Last" + thisInstance].disable(lastButton, "Last", thisInstance);    buttonHandlers["Auto" + thisInstance].disable(autoButton, "Auto", thisInstance);    buttonHandlers["Stop" + thisInstance].enable(stopButton, "Stop", thisInstance);    startOrChangeSlideshow(thisInstance, false);  }}/** */function setSrc(ImgElement, buttonFunction, thisInstance) {  buttonInstance = buttonFunction + thisInstance;  buttonHandler = buttonHandlers[buttonInstance];  ImgElement.src = buttonHandler.currentRolloverImage;}/** */function resetSrc(ImgElement, buttonFunction, thisInstance) {  buttonInstance = buttonFunction + thisInstance;  buttonHandler = buttonHandlers[buttonInstance];  ImgElement.src = buttonHandler.baseImage;}/** */function enableButton(thisButton, buttonFunction, thisInstance) {  thisButton.disabled = false;}/** */function enableImageButton(thisButton, buttonFunction, thisInstance) {  buttonInstance = buttonFunction + thisInstance;  buttonHandler = buttonHandlers[buttonInstance];  thisButton.onclick = function() { buttonHandler.onclick(thisButton, buttonFunction, thisInstance); }  if (buttonHandler.rollover != null) {    buttonHandler.currentRolloverImage = buttonHandler.rolloverImage;  }}/** */function disableButton(thisButton, buttonFunction, thisInstance) {  thisButton.disabled = true;}/** */function disableImageButton(thisButton, buttonFunction, thisInstance) {  buttonInstance = buttonFunction + thisInstance;  buttonHandler = buttonHandlers[buttonInstance];  thisButton.onclick = null;  if (buttonHandler.rollover != null) {    buttonHandler.currentRolloverImage = buttonHandler.baseImage;  }}	//]]>		//<![CDATA[		// Button Handlers initialization		var buttonHandlers = new Object(); 	buttonHandlers["FirstAE3B46E0C07BF58B941492333727ED10"] = new Object();	buttonHandlers["FirstAE3B46E0C07BF58B941492333727ED10"].disable = disableImageButton;	buttonHandlers["FirstAE3B46E0C07BF58B941492333727ED10"].enable = enableImageButton;	buttonHandlers["FirstAE3B46E0C07BF58B941492333727ED10"].onclick = buttonControl;	buttonHandlers["FirstAE3B46E0C07BF58B941492333727ED10"].baseImage = "/bin/e/a/first.gif";	buttonHandlers["FirstAE3B46E0C07BF58B941492333727ED10"].rollover = setSrc;	buttonHandlers["FirstAE3B46E0C07BF58B941492333727ED10"].rolloverImage = "/bin/i/z/first_f2.gif";	buttonHandlers["FirstAE3B46E0C07BF58B941492333727ED10"].currentRolloverImage = "/bin/e/a/first.gif";    	buttonHandlers["PrevAE3B46E0C07BF58B941492333727ED10"] = new Object();	buttonHandlers["PrevAE3B46E0C07BF58B941492333727ED10"].disable = disableImageButton;	buttonHandlers["PrevAE3B46E0C07BF58B941492333727ED10"].enable = enableImageButton;	buttonHandlers["PrevAE3B46E0C07BF58B941492333727ED10"].onclick = buttonControl;	buttonHandlers["PrevAE3B46E0C07BF58B941492333727ED10"].baseImage = "/bin/a/t/back.gif";	buttonHandlers["PrevAE3B46E0C07BF58B941492333727ED10"].rollover = setSrc;	buttonHandlers["PrevAE3B46E0C07BF58B941492333727ED10"].rolloverImage = "/bin/u/n/back_f2.gif";	buttonHandlers["PrevAE3B46E0C07BF58B941492333727ED10"].currentRolloverImage = "/bin/a/t/back.gif";    	buttonHandlers["AutoAE3B46E0C07BF58B941492333727ED10"] = new Object();	buttonHandlers["AutoAE3B46E0C07BF58B941492333727ED10"].disable = disableImageButton;	buttonHandlers["AutoAE3B46E0C07BF58B941492333727ED10"].enable = enableImageButton;	buttonHandlers["AutoAE3B46E0C07BF58B941492333727ED10"].onclick = buttonControl;	buttonHandlers["AutoAE3B46E0C07BF58B941492333727ED10"].baseImage = "/bin/a/q/auto.gif";	buttonHandlers["AutoAE3B46E0C07BF58B941492333727ED10"].rollover = setSrc;	buttonHandlers["AutoAE3B46E0C07BF58B941492333727ED10"].rolloverImage = "/bin/e/j/auto_f2.gif";	buttonHandlers["AutoAE3B46E0C07BF58B941492333727ED10"].currentRolloverImage = "/bin/e/j/auto_f2.gif";    	buttonHandlers["StopAE3B46E0C07BF58B941492333727ED10"] = new Object();	buttonHandlers["StopAE3B46E0C07BF58B941492333727ED10"].disable = disableImageButton;	buttonHandlers["StopAE3B46E0C07BF58B941492333727ED10"].enable = enableImageButton;	buttonHandlers["StopAE3B46E0C07BF58B941492333727ED10"].onclick = buttonControl;	buttonHandlers["StopAE3B46E0C07BF58B941492333727ED10"].baseImage = "/bin/u/a/stop.gif";	buttonHandlers["StopAE3B46E0C07BF58B941492333727ED10"].rollover = setSrc;	buttonHandlers["StopAE3B46E0C07BF58B941492333727ED10"].rolloverImage = "/bin/y/j/stop_f2.gif";	buttonHandlers["StopAE3B46E0C07BF58B941492333727ED10"].currentRolloverImage = "/bin/u/a/stop.gif";    	buttonHandlers["NextAE3B46E0C07BF58B941492333727ED10"] = new Object();	buttonHandlers["NextAE3B46E0C07BF58B941492333727ED10"].disable = disableImageButton;	buttonHandlers["NextAE3B46E0C07BF58B941492333727ED10"].enable = enableImageButton;	buttonHandlers["NextAE3B46E0C07BF58B941492333727ED10"].onclick = buttonControl;	buttonHandlers["NextAE3B46E0C07BF58B941492333727ED10"].baseImage = "/bin/g/s/fwd.gif";	buttonHandlers["NextAE3B46E0C07BF58B941492333727ED10"].rollover = setSrc;	buttonHandlers["NextAE3B46E0C07BF58B941492333727ED10"].rolloverImage = "/bin/i/r/fwd_f2.gif";	buttonHandlers["NextAE3B46E0C07BF58B941492333727ED10"].currentRolloverImage = "/bin/i/r/fwd_f2.gif";    	buttonHandlers["LastAE3B46E0C07BF58B941492333727ED10"] = new Object();	buttonHandlers["LastAE3B46E0C07BF58B941492333727ED10"].disable = disableImageButton;	buttonHandlers["LastAE3B46E0C07BF58B941492333727ED10"].enable = enableImageButton;	buttonHandlers["LastAE3B46E0C07BF58B941492333727ED10"].onclick = buttonControl;	buttonHandlers["LastAE3B46E0C07BF58B941492333727ED10"].baseImage = "/bin/y/m/last.gif";	buttonHandlers["LastAE3B46E0C07BF58B941492333727ED10"].rollover = setSrc;	buttonHandlers["LastAE3B46E0C07BF58B941492333727ED10"].rolloverImage = "/bin/o/a/last_f2.gif";	buttonHandlers["LastAE3B46E0C07BF58B941492333727ED10"].currentRolloverImage = "/bin/o/a/last_f2.gif";    	//]]>	