var theContent = '<script language="javascript">// (C) 2000 www.CodeLifter.com\n// http://www.codelifter.com\n// Free for all users, but leave in this  header\n// 7/28/2006 - The code below is a combination of code from CodeLifter as well\n//      as my own code to make the slideshow work as desired.\n\nvar x = 0;\n//This is the object to create the content feed image - an array of these objects will be created by the content feed\nfunction ContentImage(strSrc, strAlbumName, strCategory, strDate, strDescription, strPhotographer, strCaption)\n{\n	this.Source = strSrc;\n	this.AlbumName = strAlbumName;\n	this.Category = strCategory;\n	this.AlbumDate = strDate;\n	this.Description = strDescription;\n	this.Photographer = strPhotographer;\n	this.Caption = strCaption;\n}\n\nfunction rotate(num){\n    //Update the display to the next image\n    document.getElementById(\'lblImageNumTop\').innerHTML = num + 1;\n    if (document.images.SlideShow) {\n        document.images.SlideShow.src = ContentFeed[x].Source;  \n    }\n    if (document.getElementById(\'divDetails\')) {\n        var strDetails = \'\';\n        if (ContentFeed[x].AlbumDate != \'\') {\n            strDetails = ContentFeed[x].AlbumDate + \' -- \';\n        }\n        strDetails = strDetails + ContentFeed[x].Description + \' \' + ContentFeed[x].Caption;\n        if (ContentFeed[x].Photographer != \'\') {\n            strDetails = strDetails + \' Photo By: \' + ContentFeed[x].Photographer;\n        }\n        document.getElementById(\'divDetails\').innerHTML = strDetails;\n    }\n    if (document.getElementById(\'divCategory\')) {\n        document.getElementById(\'divCategory\').innerHTML = ContentFeed[x].Category;\n    }\n    if (document.getElementById(\'divAlbumName\')) {\n        document.getElementById(\'divAlbumName\').innerHTML = ContentFeed[x].AlbumName;\n    }\n}\n\nvar timeoutID = 0;\nfunction runSlideshow(num, speed) {\n    if (document.getElementById(\'hidSlideshow\').value == "Start") {\n        //The user has started the slideshow\n        document.images.iSlideshow.src = \'http://www.mycapture.com/affimages/pause.gif\'; //Change the image to show the stop button\n        //Increment the index of the image to display\n        x = x + 1;\n        if (x > (ContentFeed.length - 1)) {\n            //If x is larger than the # of items, set the index back to 0 for the first image\n            x = 0;\n        }\n        //Display the next image\n        rotate(x);\n        \n        if (document.getElementById(\'cboSpeed\').value != speed) {\n            //If the slideshow started by the play button, show the default speed in the drop-down\n            document.getElementById(\'cboSpeed\').value = speed;\n        }\n        //Set the page to refresh at the specified interval to run through the images\n        timeoutID = window.setTimeout("runSlideshow(0," + speed + ")", speed * 1000);\n    }  else {\n        //The user has stopped the slideshow\n        window.clearTimeout(timeoutID);\n        document.images.iSlideshow.src = \'http://www.mycapture.com/affimages/play.gif\'; //Change the image to show the play button\n        document.getElementById(\'cboSpeed\').value = 0; //Set the speed to manual\n        if (num != 0) {\n            //If a number has been passed in, the user has clicked the next/previous button\n            x = x + num; //Add the number to the current index\n            if (x > (ContentFeed.length-1)) {\n                //If the new index is greater than the # of images in the array, set the index to 0 for the first image\n                x = 0;\n            }\n            if (x < 0) {\n                //If the new index is less than 0, set the index to the length of the array for the last image\n                x = ContentFeed.length - 1;\n            }\n            //Display the image with index x\n            rotate(x);\n        }\n    }\n}\n\nfunction ChangeSpeed() {\n    //The user has changed the speed of the slideshow\n    window.clearTimeout(timeoutID); //Clear the current refresh command\n    if (document.getElementById(\'cboSpeed\').value == 0) {\n        //If the user selected Manual, stop the slideshow\n        document.getElementById(\'hidSlideshow\').value = \'Stop\';\n    } else {\n        //Start the slideshow when the user changes the speed (if not already started)\n        document.getElementById(\'hidSlideshow\').value = \'Start\';\n    }\n    runSlideshow(0, document.getElementById(\'cboSpeed\').value);\n}\n\n</script><script language="javascript">var ContentFeed = new Array(new ContentImage(\'http://sierrasun.mycapture.com/PHOTOS/SISU/736317/23262338E.jpg\', \'Mamasake\\\'s sushi eating contest\', \'\', \'4/21/2009\', \'Competitive eaters took on hand rolls and wasabi at Mamasake\\\'s in Squaw on Monday, April 20.\', \'Greyson Howard\', \'\'),new ContentImage(\'http://sierrasun.mycapture.com/PHOTOS/SISU/736317/23262340E.jpg\', \'Mamasake\\\'s sushi eating contest\', \'\', \'4/21/2009\', \'Competitive eaters took on hand rolls and wasabi at Mamasake\\\'s in Squaw on Monday, April 20.\', \'Greyson Howard\', \'\'),new ContentImage(\'http://sierrasun.mycapture.com/PHOTOS/SISU/736317/23262343E.jpg\', \'Mamasake\\\'s sushi eating contest\', \'\', \'4/21/2009\', \'Competitive eaters took on hand rolls and wasabi at Mamasake\\\'s in Squaw on Monday, April 20.\', \'Greyson Howard\', \'\'),new ContentImage(\'http://sierrasun.mycapture.com/PHOTOS/SISU/736317/23262344E.jpg\', \'Mamasake\\\'s sushi eating contest\', \'\', \'4/21/2009\', \'Competitive eaters took on hand rolls and wasabi at Mamasake\\\'s in Squaw on Monday, April 20.\', \'Greyson Howard\', \'\'),new ContentImage(\'http://sierrasun.mycapture.com/PHOTOS/SISU/736317/23262347E.jpg\', \'Mamasake\\\'s sushi eating contest\', \'\', \'4/21/2009\', \'Competitive eaters took on hand rolls and wasabi at Mamasake\\\'s in Squaw on Monday, April 20.\', \'Greyson Howard\', \'\'),new ContentImage(\'http://sierrasun.mycapture.com/PHOTOS/SISU/736317/23262349E.jpg\', \'Mamasake\\\'s sushi eating contest\', \'\', \'4/21/2009\', \'Competitive eaters took on hand rolls and wasabi at Mamasake\\\'s in Squaw on Monday, April 20.\', \'Greyson Howard\', \'\'),new ContentImage(\'http://sierrasun.mycapture.com/PHOTOS/SISU/736317/23262351E.jpg\', \'Mamasake\\\'s sushi eating contest\', \'\', \'4/21/2009\', \'Competitive eaters took on hand rolls and wasabi at Mamasake\\\'s in Squaw on Monday, April 20.\', \'Greyson Howard\', \'\'),new ContentImage(\'http://sierrasun.mycapture.com/PHOTOS/SISU/736317/23262353E.jpg\', \'Mamasake\\\'s sushi eating contest\', \'\', \'4/21/2009\', \'Competitive eaters took on hand rolls and wasabi at Mamasake\\\'s in Squaw on Monday, April 20.\', \'Greyson Howard\', \'\'),new ContentImage(\'http://sierrasun.mycapture.com/PHOTOS/SISU/736317/23262356E.jpg\', \'Mamasake\\\'s sushi eating contest\', \'\', \'4/21/2009\', \'Competitive eaters took on hand rolls and wasabi at Mamasake\\\'s in Squaw on Monday, April 20.\', \'Greyson Howard\', \'\'),new ContentImage(\'http://sierrasun.mycapture.com/PHOTOS/SISU/736317/23262357E.jpg\', \'Mamasake\\\'s sushi eating contest\', \'\', \'4/21/2009\', \'Competitive eaters took on hand rolls and wasabi at Mamasake\\\'s in Squaw on Monday, April 20.\', \'Greyson Howard\', \'\'),new ContentImage(\'http://sierrasun.mycapture.com/PHOTOS/SISU/736317/23262360E.jpg\', \'Mamasake\\\'s sushi eating contest\', \'\', \'4/21/2009\', \'Competitive eaters took on hand rolls and wasabi at Mamasake\\\'s in Squaw on Monday, April 20.\', \'Greyson Howard\', \'\'),new ContentImage(\'http://sierrasun.mycapture.com/PHOTOS/SISU/736317/23262362E.jpg\', \'Mamasake\\\'s sushi eating contest\', \'\', \'4/21/2009\', \'Competitive eaters took on hand rolls and wasabi at Mamasake\\\'s in Squaw on Monday, April 20.\', \'Greyson Howard\', \'\'),new ContentImage(\'http://sierrasun.mycapture.com/PHOTOS/SISU/736317/23262366E.jpg\', \'Mamasake\\\'s sushi eating contest\', \'\', \'4/21/2009\', \'Competitive eaters took on hand rolls and wasabi at Mamasake\\\'s in Squaw on Monday, April 20.\', \'Greyson Howard\', \'\'),new ContentImage(\'http://sierrasun.mycapture.com/PHOTOS/SISU/736317/23262369E.jpg\', \'Mamasake\\\'s sushi eating contest\', \'\', \'4/21/2009\', \'Competitive eaters took on hand rolls and wasabi at Mamasake\\\'s in Squaw on Monday, April 20.\', \'Greyson Howard\', \'\'),new ContentImage(\'http://sierrasun.mycapture.com/PHOTOS/SISU/736317/23262372E.jpg\', \'Mamasake\\\'s sushi eating contest\', \'\', \'4/21/2009\', \'Competitive eaters took on hand rolls and wasabi at Mamasake\\\'s in Squaw on Monday, April 20.\', \'Greyson Howard\', \'\'),new ContentImage(\'http://sierrasun.mycapture.com/PHOTOS/SISU/736317/23262374E.jpg\', \'Mamasake\\\'s sushi eating contest\', \'\', \'4/21/2009\', \'Competitive eaters took on hand rolls and wasabi at Mamasake\\\'s in Squaw on Monday, April 20.\', \'Greyson Howard\', \'\'),new ContentImage(\'http://sierrasun.mycapture.com/PHOTOS/SISU/736317/23262376E.jpg\', \'Mamasake\\\'s sushi eating contest\', \'\', \'4/21/2009\', \'Competitive eaters took on hand rolls and wasabi at Mamasake\\\'s in Squaw on Monday, April 20.\', \'Greyson Howard\', \'\'),new ContentImage(\'http://sierrasun.mycapture.com/PHOTOS/SISU/736317/23262378E.jpg\', \'Mamasake\\\'s sushi eating contest\', \'\', \'4/21/2009\', \'Competitive eaters took on hand rolls and wasabi at Mamasake\\\'s in Squaw on Monday, April 20.\', \'Greyson Howard\', \'\'),new ContentImage(\'http://sierrasun.mycapture.com/PHOTOS/SISU/736317/23262381E.jpg\', \'Mamasake\\\'s sushi eating contest\', \'\', \'4/21/2009\', \'Competitive eaters took on hand rolls and wasabi at Mamasake\\\'s in Squaw on Monday, April 20.\', \'Greyson Howard\', \'\'),new ContentImage(\'http://sierrasun.mycapture.com/PHOTOS/SISU/736317/23262382E.jpg\', \'Mamasake\\\'s sushi eating contest\', \'\', \'4/21/2009\', \'Competitive eaters took on hand rolls and wasabi at Mamasake\\\'s in Squaw on Monday, April 20.\', \'Greyson Howard\', \'\'),new ContentImage(\'http://sierrasun.mycapture.com/PHOTOS/SISU/736317/23262383E.jpg\', \'Mamasake\\\'s sushi eating contest\', \'\', \'4/21/2009\', \'Competitive eaters took on hand rolls and wasabi at Mamasake\\\'s in Squaw on Monday, April 20.\', \'Greyson Howard\', \'\')); </script>\n<style>\n .MYCfeaturelink9962, .MYCfeaturelink9962 a, .MYCfeaturelink9962 a:visited, .MYCfeaturelink9962 a:hover {\n font-family: Arial;\n color: Blue;\n font-size: 12px;\n text-decoration: none;\n}\n\n .MYCfeaturedescrip9962 {\n font-family: Arial;\n color: Black;\n font-size: 12px;\n}\n\n .MYCimage9962 { border: black 0px solid; }\n\n .MYCcontentfeed9962 {\n border: black 0px solid;\n}\n\n</style>\n<table class="MYCcontentfeed9962">\n	<tr>\n		<td valign=top>\n<table width="100%" class="MYCfeaturedescrip164">\n    <tr>\n        <td align=center>Speed: \n            <select id="cboSpeed" onchange="javascript: ChangeSpeed();">\n                <option value="0">Manual</option>\n                <option value="8">Slow</option>\n                <option value="4">Medium</option>\n                <option value="1">Fast</option>\n            </select>\n            <a href="javascript: document.getElementById(\'hidSlideshow\').value = \'Stop\'; runSlideshow(-1,0);"><img src="http://www.mycapture.com/affimages/prev.gif" border=0 align="top" title="Previous Photo" /></a>\n            <b>Photo <span id="lblImageNumTop">1</span> of <span id="lblNumImagesTop">21</span></b>\n            <a href="javascript: document.getElementById(\'hidSlideshow\').value = \'Stop\'; runSlideshow(1,0);"><img src="http://www.mycapture.com/affimages/next.gif" border=0 align="top" title="Next Photo" /></a>\n            <a href="javascript: document.getElementById(\'hidSlideshow\').value=((document.getElementById(\'hidSlideshow\').value==\'Stop\')?\'Start\':\'Stop\'); runSlideshow(0,8);"><img src="http://www.mycapture.com/affimages/play.gif" id="iSlideshow" border=0 align="top" title="Pause slide show" /></a>\n        </td>                            \n    </tr>   \n</table>\n<input name="hidSlideshow" type="hidden" id="hidSlideshow" value="Stop" />			<table width="100%">\n				<tr>\n					<td align=center class=MYCfeaturelink9962>\n						<a href="http://sierrasun.mycapture.com/mycapture/enlarge.asp?userphoto=0&image=23262338&event=736317&CategoryID=18263&thispage=1" target="_top"><img class="MYCimage9962" src="http://sierrasun.mycapture.com/PHOTOS/SISU/736317/23262338E.jpg" width=400 name="SlideShow"><br>\n</a>						<a href="http://sierrasun.mycapture.com/mycapture/folder.asp?event=736317&CategoryID=18263&ListSubAlbums=0" target="_top">						<a href="http://sierrasun.mycapture.com/mycapture/folder.asp?event=736317&CategoryID=18263&ListSubAlbums=0" target="_top">						<div id="divAlbumName">Mamasake\'s sushi eating contest</div></a>\n					</td>\n				</tr>\n				<tr>\n					<td align=center class=MYCfeaturedescrip9962 id="divDetails">\n						4/21/2009\n -- 						Competitive eaters took on hand rolls and wasabi at Mamasake\'s in Squaw on Monday, April 20.\n						 Photo By: Greyson Howard\n					</td>\n				</tr>\n			</table>\n		</td>\n	</tr>\n</table>\n';
document.write(theContent);
