function arrayupdate(photo_id, photo_url_small, event) {
	console.log(photo_id);
	console.log(photo_url_small);
	console.log(event);
	document.images['big'].src = photo_url_small;
}

function update_image(photo_id, photo_url_small, event) {
    entry = $(event.target).parentsUntil(".hentry").last();
    image = entry.find("#big");
    image[0].src = photo_url_small;
    console.log($(event.target).parentsUntil(".hentry"));
    console.log(entry);
    console.log(image);
}
