//<!--
		//<![CDATA[
		first = 1;
		last = 4;
		current = 1;
		slidetime = 4000;
		
		
window.onload = function()
{
		var slideshowObj = document.getElementById("slideshow");

		slideshowObj.onmouseover = function () 
                {
                        clearTimeout(wait);
						document.body.style.cursor = 'pointer';
						document.body.style.cursor = 'hand';
						
                };
		slideshowObj.onmouseout = function () 
                {
            clearTimeout(wait);
			wait = setTimeout('nextPicture()',slidetime);
			document.body.style.cursor = 'default';
                };
}				
		function nextPicture() {
			// Hide current picture
			object = document.getElementById('slide' + current);
			object.style.display = 'none';
               
			// Show next picture, if last, loop back to front
			if (current == last) { current = 1; }
			else { current++ }
			object = document.getElementById('slide' + current);
			object.style.display = 'block';
			
			 clearTimeout(wait);
             wait = setTimeout('nextPicture()',slidetime);

			}
			
			wait = setTimeout('nextPicture()',slidetime);

		function previousPicture() {
			// Hide current picture
			object = document.getElementById('slide' + current);
			object.style.display = 'none';
               
			if (current == first) { current = last; }
			else { current--; }
			object = document.getElementById('slide' + current);
			object.style.display = 'block';
			
			clearTimeout(wait);
			wait = setTimeout('nextPicture()',slidetime);
			}
			
		function gotoPicture(temp) {
			// Hide current picture
			object = document.getElementById('slide' + current);
			object.style.display = 'none';
               
		    current = temp; 
			object = document.getElementById('slide' + temp);
			object.style.display = 'block';
			
			clearTimeout(wait);
			wait = setTimeout('nextPicture()',slidetime);
			}
		//]]>
		// -->