// JavaScript Document
// July 30, 10'- Script updated to allow 4 slides (changed # in <= 4;)

		document.write('<div id=\"paginate-slideshow\" class=\"slideshow_buttons\">');
		for (i = 1; i <= 3; i++) {
			document.write('<a href=\"#\" class=\"toc\">&nbsp;' + i + '&nbsp;</a> ');
		}

		document.write('</div>');
		document.write('<div id=\"pp-slideshow\" class=\"slideshow_pp_button\">');
		document.write('<a href=\"javascript:featuredcontentslider.playpause(\'slideshow\',\'toggle\'); ">');
		document.write('<img src=\"/images/pause.gif\" id=\"pp\" class=\"playPause\" alt=\"pause\" title=\"pause\" /></a>');
		document.write('</div>');
		featuredcontentslider.init({
			id: "slideshow",  //id of main slider DIV
			contentsource: ["inline", ""],  //Valid values: ["inline", ""] or ["ajax", "path_to_file"]
			toc: "markup",  //Valid values: "#increment", "markup", ["label1", "label2", etc]
			nextprev: ["", ""],  //labels for "prev" and "next" links. Set to "" to hide.
			revealtype: "click", //Behavior of pagination links to reveal the slides: "click" or "mouseover"
			enablefade: [true, 0.08],  //[true/false, fadedegree]
			autorotate: [true, 4000],  //[true/false, pausetime]
			onChange: function(previndex, curindex) {  //event handler fired whenever script changes slide
				//previndex holds index of last slide viewed b4 current (1=1st slide, 2nd=2nd etc)
				//curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc)
			}
		})

