		// content has a type and src variables
  $(document).ready(function(){		
		$.getJSON("http://picasaweb.google.com/data/feed/api/user/arnie.larson/albumid/5423608195570902833?alt=json&kind=photo&imgmax=576&callback=?",
			function(data){
				var x = data.feed.entry[0].content;
				//alert(x.$t);
				msg = '';
				for (var i in x) { msg = msg + ' : '+ i; }
				//alert(msg);
				var link = "http://picasaweb.google.com/arnie.larson/CostaRica";
				//$.each(data.feed.entry, function(i,item){
				//	$("<img/>").attr({src: item.content.src, title: item.summary.$t}).appendTo("#slideshow").wrap("<a href='" + link + "'></a>");
				//});
				i = data.feed.entry.length;
				while(i--) {
					$("<img/>").attr({src: data.feed.entry[i].content.src }).appendTo("#slideshow").wrap("<a title='"+ data.feed.entry[i].summary.$t+"' href='" + link + "' target='_blank'></a>");
				}
				$('#slideshow').cycle({
					fx:    'fade',
					speed: 'fast',
					timeout: 6000,
					delay: 6000,
					next: "#img-next",
					prev: "#img-prev",
					after: onAfter
				});
			}
		);
  });
	function onAfter() {
		$("#photo-comment").html("<p>"+this.title+"</p>");
  }

