/*
REPOSITORY.JS
Data source for gallery images
*/
var folder = "";
var index  = 0;
var count  = 0;

var gallery = new Array();

function buildGalleryData() {
	for (i = 0; i < files.length; i++) {
		var entry = files[i] + "|" + titles[i] + "|" + captions[i] + "|" + vimeo[i];
		
		gallery.push(entry);
	}
}



/* Data sets */
var files = new Array("waiting_1.jpg",
					  "showreel.jpg",
					  "corp_showreel.jpg",
					  "budapest.jpg",
					  "kicks.jpg",
					  "exposures.jpg",
					  "waiting_2.jpg",
					  "seen.jpg");

var titles = new Array("Waiting for the End of the World",
					   "Showreel",
					   "Corporate Showreel",
					   "Last Train to Budapest",
					   "Kicks",
					   "Exposures Film Festival",
					   "Encounters Film Festival",
					   "Seeing and Being Seen");

var captions = new Array("<p>Deprived of human contact, and with only an overactive imagination to keep him company, Petr sets about the nightshift at his local supermarket.</p>",
						 "<p>A glimpse of my recent work. Shot on Canon 5D Mk II, all with prime lenses.</p>",
						 "<p>A sample of my work in the Corporate sector illustrating varying styles and clients.</p>",
						 "<p>The true story of Hungarian immigrant Nandi Pekar and his difficulties in escaping his tumultuous political past. Funded by the National Lottery and supported by the Hungarian Community Association of North Staffordshire.</p>\n<ul>\n<li><a href=\"http://www.facebook.com/pages/The-Hungarian-Community-Association-of-Staffordshire/69702532531\" onclick=\"return externalLink(this);\">Hungarian Community Association of North Staffordshire&#8217;s Facebook page</a></li>\n</ul>",
						 "<p>With na&#239;ve best friend Sarah in tow, fervently independent Kelly spends an afternoon on Blackpool&#8217;s Golden Mile trying to escape the pressures of her possible pregnancy.</p>",
						 "<p>&#8220;Waiting for the End of the World&#8221; wins the Best Artist&#8217;s Film Award at Manchester&#8217;s Exposures Film Festival. The award was presented by the legendary Frank Gallagher of Shameless (actor David Threlfall).</p>\n<ul>\n<li><a href=\"http://www.exposuresfilmfestival.co.uk\" onclick=\"return externalLink(this);\">exposuresfilmfestival.co.uk</a></li>\n<li><a href=\"http://www.flickr.com/groups/exposuresfestival\" onclick=\"return externalLink(this);\">Exposures Film Festival&#8217;s Flickr gallery</a></li>\n</ul>",
						 "<p>&#8220;Waiting for the End of the World&#8221; is screened at Encounters Film Festival, and also features in Birmingham&#8217;s Artsfest &#8216;09</p>\n<ul>\n<li><a href=\"http://www.encounters-festival.org.uk\" onclick=\"return externalLink(this);\">encounters-festival.org.uk</a></li>\n<li><a href=\"http://www.artsfest.org.uk\" onclick=\"return externalLink(this);\">artsfest.org.uk</a></li>\n</ul>",
						 "<p>Blank Media Collective exhibit, my still and moving image at Manchester&#8217;s Greenroom from 25<sup>th</sup> February until 10<sup>th</sup> April.</p>\n<ul>\n<li><a href=\"http://www.blankmediacollective.org\" onclick=\"return externalLink(this);\">blankmediacollective.org</a></li>\n<li><a href=\"http://www.greenroomarts.org\" onclick=\"return externalLink(this);\">greenroomarts.org</a></li>\n</ul>"
						 );


/* VIMEO IFRAME LINKING */
var vimeo = new Array("10936405",
					  "14462800",
					  "18678096",
					  "",
					  "",
					  "",
					  "",
					  "");

var vimeo_color  = "00B1EE";
var vimeo_width  = 720;
var vimeo_height = 400;

