$.getJSON("http://api.flickr.com/services/feeds/photos_public.gne?id=53297901@N08&lang=en-us&format=json&jsoncallback=?", function(data){																																

  $.each(data.items, function(i,item){
	$("<img alt=' '/>").attr("src", item.media.m).appendTo("#flickrimages")
      .wrap("<a style='text-align:center;' href='" + item.link + "'></a>");
  });

  //$("#title").html(data.title);
  //$("#description").html(data.description);
  //$("#link").html("<a href='"+data.link+"' class=\"orange\" target=\"_blank\">View more pictures in our gallery.</a>");
  $("#link").html("<a href='gallery.htm' class=\"orange\" >View more pictures in our gallery.</a>");
    //Notice that the object here is "data" because that information sits outside of "items" in the JSON feed

  $('#flickrimages').cycle({
    fx:     'fade',
    speed:    'normal',
    timeout:  0,
    next:   '#next',
    prev:   '#prev'
  });
  
});
