


/**
 * Fetches the flv file that should be played and 
 * inserts the link for display of the flowplayer.
 */
var findImages = function() {
	jQuery.get("/alfresco/service/media/iwebsite/find.html?guest=true", { type: "image" }, addPhotos)
}

/**
 * Injects the link for the flow player with the right flv file
 * which is retrieved from an Alfresco Webscript.
 * @param data The data retrieved from the Alfresco Webscript.
 */  
var addPhotos = function(data) {
	alert(data)
}

