// variables for portfolio paging

var barnes = [
	{url: "/recent/i/barnes-0.jpg", title: "Artist’s portfolio site for painter Tom Barnes<br>Original design and php implemenation with jQuery animations."},
	{url: "/recent/i/barnes-1.jpg", title: "Artist’s portfolio site for painter Tom Barnes<br>Original design and php implemenation with jQuery animations."},
	{url: "/recent/i/barnes-2.jpg", title: "Artist’s portfolio site for painter Tom Barnes<br>Original design and php implemenation with jQuery animations."}
];
function getbarnes(opts) {
	jQuery.each(barnes, function(i, val) {
		opts.itemArray.push(val);
	});
}

var skolskarev2 = [
	{url: "/recent/i/skolska-rev2-0.jpg", title: "Školská 28 Gallery web site. Original design using HTML+CSS. <br>PHP CMS backend provided."},
	{url: "/recent/i/skolska-rev2-1.jpg", title: "Školská 28 Gallery web site. Original design using HTML+CSS. <br>PHP CMS backend provided."},
	{url: "/recent/i/skolska-rev2-2.jpg", title: "Školská 28 Gallery web site. Original design using HTML+CSS. <br>PHP CMS backend provided."}
];
function getskolskarev2(opts) {
	jQuery.each(skolskarev2, function(i, val) {
		opts.itemArray.push(val);
	});
}

var uta = [
	{url: "/recent/i/uta-1.jpg", title: "Artist’s portfolio site for painter Uta-Maria Krapf<br>Original design and php implemenation with jQuery animations."},
	{url: "/recent/i/uta-2.jpg", title: "Artist’s portfolio site for painter Uta-Maria Krapf<br>Original design and php implemenation with jQuery animations."},
	{url: "/recent/i/uta-3.jpg", title: "Artist’s portfolio site for painter Uta-Maria Krapf<br>Original design and php implemenation with jQuery animations."},
	{url: "/recent/i/uta-4.jpg", title: "Artist’s portfolio site for painter Uta-Maria Krapf<br>Original design and php implemenation with jQuery animations."}
];
function getuta(opts) {
	jQuery.each(uta, function(i, val) {
		opts.itemArray.push(val);
	});
}

var nula = [
	{url: "/recent/i/nula-1.jpg", title: "Site for personal filecast project. <br>Original design and php implemenation with jQuery and AJAX interactivity."},
	{url: "/recent/i/nula-2.jpg", title: "Site for personal filecast project. <br>Original design and php implemenation with jQuery and AJAX interactivity."},
	{url: "/recent/i/nula-3.jpg", title: "Site for personal filecast project. <br>Original design and php implemenation with jQuery and AJAX interactivity."}
];
function getnula(opts) {
	jQuery.each(nula, function(i, val) {
		opts.itemArray.push(val);
	});
}

var henryhills = [
	{url: "/recent/i/henryhills-1.jpg", title: "Artist’s portfolio site for experimental filmmaker Henry Hills. <br>Original design and php implemenation with jQuery and AJAX interactivity."},
	{url: "/recent/i/henryhills-2.jpg", title: "Artist’s portfolio site for experimental filmmaker Henry Hills. <br>Original design and php implemenation with jQuery and AJAX interactivity."}
];
function gethenryhills(opts) {
	jQuery.each(henryhills, function(i, val) {
		opts.itemArray.push(val);
	});
}

var janbartos = [
	{url: "/recent/i/janbartos-1.jpg", title: "Artist’s portfolio site for photographer Jan Bartoš. <br>Original design and php implemenation with jQuery and AJAX interactivity."}
];
function getjanbartos(opts) {
	jQuery.each(janbartos, function(i, val) {
		opts.itemArray.push(val);
	});
}

var medvedibouda = [
	{url: "/recent/i/medvedibouda-1.jpg", title: "Graphic design and Drupal theme for Medvědí Bouda, a mountain guesthouse in the Czech Republic."}
];
function getmedvedibouda(opts) {
	jQuery.each(medvedibouda, function(i, val) {
		opts.itemArray.push(val);
	});
}

var skolska28 = [
	{url: "/sites/i/skolska28-1.jpg", title: "Školská 28 Gallery web site. Original design using HTML+CSS. <br>JavaScript stylesheet switcher used for responsive language selection. PHP CMS backend provided."},
	{url: "/sites/i/skolska28-2.jpg", title: "Školská 28 Gallery web site. Original design using HTML+CSS. <br>JavaScript stylesheet switcher used for responsive language selection. PHP CMS backend provided."},
	{url: "/sites/i/skolska28-3.jpg", title: "Školská 28 Gallery web site. Original design using HTML+CSS. <br>JavaScript stylesheet switcher used for responsive language selection. PHP CMS backend provided."},
	{url: "/sites/i/skolska28-4.jpg", title: "Školská 28 Gallery web site. Original design using HTML+CSS. <br>JavaScript stylesheet switcher used for responsive language selection. PHP CMS backend provided."},
	{url: "/sites/i/skolska28-5.jpg", title: "Školská 28 Gallery web site. Original design using HTML+CSS. <br>JavaScript stylesheet switcher used for responsive language selection. PHP CMS backend provided."}
];
function getskolska28(opts) {
	jQuery.each(skolska28, function(i, val) {
		opts.itemArray.push(val);
	});
}

var psrf = [
	{url: "/sites/i/photostatic-1.jpg", title: "PhotoStatic Magazine web site. Personal project. <br>Original design using HTML+CSS."},
	{url: "/sites/i/photostatic-2.jpg", title: "PhotoStatic Magazine web site. Personal project. <br>Original design using HTML+CSS."},
	{url: "/sites/i/photostatic-3.jpg", title: "PhotoStatic Magazine web site. Personal project. <br>Original design using HTML+CSS."},
	{url: "/sites/i/photostatic-4.jpg", title: "PhotoStatic Magazine web site. Personal project. <br>Original design using HTML+CSS."}
];
function getpsrf(opts) {
	jQuery.each(psrf, function(i, val) {
		opts.itemArray.push(val);
	});
}

var bigmuddyweb = [
	{url: "/sites/i/bigmuddy-1.jpg", title: "29th Big Muddy Film Festival web site. Original design using HTML+CSS+AJAX. <br>Dynamic content loading by means of JavaScript+XMLHttpRequest."},
	{url: "/sites/i/bigmuddy-2.jpg", title: "29th Big Muddy Film Festival web site. Original design using HTML+CSS+AJAX. <br>Dynamic content loading by means of JavaScript+XMLHttpRequest."},
	{url: "/sites/i/bigmuddy-3.jpg", title: "29th Big Muddy Film Festival web site. Original design using HTML+CSS+AJAX. <br>Dynamic content loading by means of JavaScript+XMLHttpRequest."}
];
function getbigmuddyweb(opts) {
	jQuery.each(bigmuddyweb, function(i, val) {
		opts.itemArray.push(val);
	});
}

var bauhaus = [
	{url: "/sites/i/radiostudio-1.jpg", title: "Bauhaus Universität Weimar Radiostudio web site. Original design using HTML+CSS."},
	{url: "/sites/i/radiostudio-2.jpg", title: "Bauhaus Universität Weimar Radiostudio web site. Original design using HTML+CSS."},
	{url: "/sites/i/radiostudio-3.jpg", title: "Bauhaus Universität Weimar Radiostudio web site. Original design using HTML+CSS."}
];
function getbauhaus(opts) {
	jQuery.each(bauhaus, function(i, val) {
		opts.itemArray.push(val);
	});
}

var aaada = [
	{url: "/sites/i/aaada-1.jpg", title: "Aaada English School for Children web site. <br>Original design using HTML+CSS+AJAX+PHP and provided artwork."},
	{url: "/sites/i/aaada-2.jpg", title: "Aaada English School for Children web site. <br>Original design using HTML+CSS+AJAX+PHP and provided artwork."},
	{url: "/sites/i/aaada-3.jpg", title: "Aaada English School for Children web site. <br>Original design using HTML+CSS+AJAX+PHP and provided artwork."}
];
function getaaada(opts) {
	jQuery.each(aaada, function(i, val) {
		opts.itemArray.push(val);
	});
}

var horizonty = [
	{url: "/sites/i/horizonty-1.jpg", title: "Web site for Horizonty exhibition of work Fulbright Scholars. <br>Implementation of provided design in HTML+CSS+PHP."},
	{url: "/sites/i/horizonty-2.jpg", title: "Web site for Horizonty exhibition of work Fulbright Scholars. <br>Implementation of provided design in HTML+CSS+PHP."}
];
function gethorizonty(opts) {
	jQuery.each(horizonty, function(i, val) {
		opts.itemArray.push(val);
	});
}

var mlokbook = [
	{url: "/print/i/mlokbook-cover.jpg", title: "Annual Catalog, Asociace Mlok, 2007. Cover of A5 booklet"},
	{url: "/print/i/mlokbook-2.jpg", title: "Annual Catalog, Asociace Mlok, 2007. Spread from A5 booklet"},
	{url: "/print/i/mlokbook-3.jpg", title: "Annual Catalog, Asociace Mlok, 2007. Spread from A5 booklet"},
	{url: "/print/i/mlokbook-4.jpg", title: "Annual Catalog, Asociace Mlok, 2007. Spread from A5 booklet"},
	{url: "/print/i/mlokbook-5.jpg", title: "Annual Catalog, Asociace Mlok, 2007. Spread from A5 booklet"},
	{url: "/print/i/mlokbook-6.jpg", title: "Annual Catalog, Asociace Mlok, 2007. Spread from A5 booklet"},
	{url: "/print/i/mlokbook-7.jpg", title: "Annual Catalog, Asociace Mlok, 2007. Spread from A5 booklet"},
	{url: "/print/i/mlokbook-8.jpg", title: "Annual Catalog, Asociace Mlok, 2007. Spread from A5 booklet"},
	{url: "/print/i/mlokbook-back.jpg", title: "Annual Catalog, Asociace Mlok, 2007. Back cover of A5 booklet"}
];
function getmlokbook(opts) {
	jQuery.each(mlokbook, function(i, val) {
		opts.itemArray.push(val);
	});
}

var iimplakat = [
	{url: "/print/i/iim-plakat-1.jpg", title: "Event poster and program for Institute Intermedií, Prague, 2008"},
	{url: "/print/i/iim-plakat-2.jpg", title: "Event poster and program for Institute Intermedií, Prague, 2008"},
	{url: "/print/i/iim-plakat-3u.jpg", title: "Event poster and program for Institute Intermedií, Prague, 2008 (unused)"},
	{url: "/print/i/iim-plakat-4u.jpg", title: "Event poster and program for Institute Intermedií, Prague, 2008 (unused)"},
	{url: "/print/i/iim-poster-5u.jpg", title: "Event poster and program for Institute Intermedií, Prague, 2008 (unused)"}
];
function getiimplakat(opts) {
	jQuery.each(iimplakat, function(i, val) {
		opts.itemArray.push(val);
	});
}

var screenings = [
	{url: "/print/i/henry-hills-front.back.jpg", title: "Program for Henry Hills Screening, 2008. Front and back A4 folder"},
	{url: "/print/i/henry-hills-firstfold.jpg", title: "Program for Henry Hills Screening, 2008. First fold A4 folder"},
	{url: "/print/i/henry-hills-inner.jpg", title: "Program for Henry Hills Screening, 2008. Inside A4 folder"},
	{url: "/print/i/bradleyeros-front.jpg", title: "Program for Bradley Eros Screening, 2008. Front A4 folder"},
	{url: "/print/i/bradleyeros-firstfold.jpg", title: "Program for Bradley Eros Screening, 2008. First fold A4 folder"},
	{url: "/print/i/bradleyeros-inner.jpg", title: "Program for Bradley Eros Screening, 2008. Inside A4 folder"},
	{url: "/print/i/bradleyeros-back.jpg", title: "Program for Bradley Eros Screening, 2008. Back A4 folder"}
];
function getscreenings(opts) {
	jQuery.each(screenings, function(i, val) {
		opts.itemArray.push(val);
	});
}

var jarnimichanice = [
	{url: "/print/i/jarni-michanice-1.jpg", title: "Invitation to Open House at Open Studios. Front A5 postcard"},
	{url: "/print/i/jarni-michanice-2.jpg", title: "Invitation to Open House at Open Studios. Back A5 postcard"}
];
function getjarnimich(opts) {
	jQuery.each(jarnimichanice, function(i, val) {
		opts.itemArray.push(val);
	});
}

var bigmuddy = [
	{url: "/print/i/bigmuddy-mailer-1.jpg", title: "Poster and self-mailer for the Big Muddy Film Festival, 2007. 11&#215;17&#8243;"},
	{url: "/print/i/bigmuddy-mailer-2.jpg", title: "Poster and self-mailer for the Big Muddy Film Festival, 2007. 11&#215;17&#8243;"},
	{url: "/print/i/bigmuddy-poster-1.jpg", title: "Promotional poster and program for the Big Muddy Film Festival, 2007. 22&#215;17&#8243;"},
	{url: "/print/i/bigmuddy-poster-2.jpg", title: "Promotional poster and program for the Big Muddy Film Festival, 2007. 22&#215;17&#8243;"},
	{url: "/print/i/bigmuddy-poster-3.jpg", title: "Promotional poster and program for the Big Muddy Film Festival, 2007. 22&#215;17&#8243;"},
	{url: "/print/i/bigmuddy-poster-4.jpg", title: "Promotional poster and program for the Big Muddy Film Festival, 2007. 22&#215;17&#8243;"},
	{url: "/print/i/bigmuddy-mailer-3.jpg", title: "Logotype for the Big Muddy Film Festival, 2007"}
];
function getbigmuddy(opts) {
	jQuery.each(bigmuddy, function(i, val) {
		opts.itemArray.push(val);
	});
}

var msummit = [
	{url: "/print/i/msummit-cover.jpg", title: "Minneapolis Summit. mini-cd cover, front and back"},
	{url: "/print/i/msummit-inside.jpg", title: "Minneapolis Summit. mini-cd cover, inside"},
	{url: "/print/i/msummit-label.jpg", title: "Minneapolist Summit. mini-cd label"}
];
function getmsummit(opts) {
	jQuery.each(msummit, function(i, val) {
		opts.itemArray.push(val);
	});
}

var numbersep = [
	{url: "/print/i/numbers-epfront.jpg", title: "Numbers EP by Public Works. 9-inch cover, front"},
	{url: "/print/i/numbers-epback.jpg", title: "Numbers EP by Public Works. 9-inch cover, back"},
	{url: "/print/i/numbers-eplabels.png", title: "Numbers EP by Public Works. labels, A and B sides"}
];
function getnumbersep(opts) {
	jQuery.each(numbersep, function(i, val) {
		opts.itemArray.push(val);
	});
}

var tuionde1 = [
	{url: "/print/i/tuionde1-poster.jpg", title: "Poster and program for Tu i onde performance festival"}
];
function gettuionde1(opts) {
	jQuery.each(tuionde1, function(i, val) {
		opts.itemArray.push(val);
	});
}

var tuionde2 = [
	{url: "/print/i/tuionde2-poster.jpg", title: "Poster and program for Tu i onde II performance festival"}
];
function gettuionde2(opts) {
	jQuery.each(tuionde2, function(i, val) {
		opts.itemArray.push(val);
	});
}

var pardo = [
	{url: "/screen/i/pardo-0.jpg", title: "Welcome screen from DVD portfolio of the painter Frédéric Pardo"},
	{url: "/screen/i/pardo-1.jpg", title: "Menu screen from DVD portfolio of the painter Frédéric Pardo"},
	{url: "/screen/i/pardo-2.jpg", title: "Menu screen from DVD portfolio of the painter Frédéric Pardo"}
];
function getpardo(opts) {
	jQuery.each(pardo, function(i, val) {
		opts.itemArray.push(val);
	});
}

var guarnera = [
	{url: "/screen/i/guarnera-0.png", title: "Welcome screen from DVD portfolio of the photographer Vincenzo Guarnera"},
	{url: "/screen/i/guarnera-1.png", title: "Menu screen from DVD portfolio of the photographer Vincenzo Guarnera"}
];
function getguarnera(opts) {
	jQuery.each(guarnera, function(i, val) {
		opts.itemArray.push(val);
	});
}

var pq1 = [
	{url: "/screen/i/pq1-main-menu-prep.jpg", title: "Main DVD menu from Inside the Heart of PQ, 2003<br/>based on artwork provided"},
	{url: "/screen/i/pq1-next-menu-prep.jpg", title: "Secondary DVD menu from Inside the Heart of PQ, 2003"},
	{url: "/screen/i/pq1-res-akhe-prep.jpg", title: "DVD menu from Inside the Heart of PQ, 2003"},
	{url: "/screen/i/pq1-res-brown-prep.jpg", title: "DVD menu from Inside the Heart of PQ, 2003"},
	{url: "/screen/i/pq1-res-mau-prep.jpg", title: "DVD menu from Inside the Heart of PQ, 2003"},
	{url: "/screen/i/pq1-res-ryuzo-prep.jpg", title: "DVD menu from Inside the Heart of PQ, 2003"},
	{url: "/screen/i/pq1-res-sachiyo-prep.jpg", title: "DVD menu from Inside the Heart of PQ, 2003"}
];
function getpq1(opts) {
	jQuery.each(pq1, function(i, val) {
		opts.itemArray.push(val);
	});
}

var pq2 = [
	{url: "/screen/i/pq2-1main.jpg", title: "Main DVD menu from Prague Quadrennial catalog, 2004<br/>based on artwork provided"},
	{url: "/screen/i/pq2-2history-1.jpg", title: "Menu from the History section of the Prague Quadrennial catalog DVD, 2004"},
	{url: "/screen/i/pq2-3europe-africa.jpg", title: "Country select menu from Prague Quadrennial catalog DVD, 2004"},
	{url: "/screen/i/pq2-3sample-juror.jpg", title: "Juror bio from Prague Quadrennial catalog DVD, 2004"},
	{url: "/screen/i/pq2-4sample-country.jpg", title: "Country information menu from Prague Quadrennial catalog DVD, 2004"},
	{url: "/screen/i/pq2-4sample-events.jpg", title: "Event information menu from Prague Quadrennial catalog DVD, 2004"},
	{url: "/screen/i/pq2-5credits.jpg", title: "General information menu from Prague Quadrennial catalog DVD, 2004"}
];
function getpq2(opts) {
	jQuery.each(pq2, function(i, val) {
		opts.itemArray.push(val);
	});
}

// fancybox : following defaults set in jq.fancybox.js
//	'overlayShow': true,
//	'overlayOpacity': 0.9,
//	'hideOnContentClick': true

$(function(){
	$("#barnes").fancybox({ 'itemLoadCallback': getbarnes });
	$("#skolskarev2").fancybox({ 'itemLoadCallback': getskolskarev2 });
	$("#uta").fancybox({ 'itemLoadCallback': getuta });
	$("#nula").fancybox({ 'itemLoadCallback': getnula });
	$("#janbartos").fancybox({ 'itemLoadCallback': getjanbartos });
	$("#henryhills").fancybox({ 'itemLoadCallback': gethenryhills });
	$("#medvedibouda").fancybox({ 'itemLoadCallback': getmedvedibouda });
	$("#skolska28").fancybox({ 'itemLoadCallback': getskolska28 });
	$("#psrf").fancybox({ 'itemLoadCallback': getpsrf });
	$("#bigmuddyweb").fancybox({ 'itemLoadCallback': getbigmuddyweb });
	$("#bauhaus").fancybox({ 'itemLoadCallback': getbauhaus });
	$("#aaada").fancybox({ 'itemLoadCallback': getaaada });
	$("#horizonty").fancybox({ 'itemLoadCallback': gethorizonty });
	$("#mlokbook").fancybox({ 'itemLoadCallback': getmlokbook });
	$("#iimplakat").fancybox({ 'itemLoadCallback': getiimplakat });
	$("#screenings").fancybox({ 'itemLoadCallback': getscreenings });
	$("#jarnimichanice").fancybox({ 'itemLoadCallback': getjarnimich });
	$("#bigmuddy").fancybox({ 'itemLoadCallback': getbigmuddy });
	$("#msummit").fancybox({ 'itemLoadCallback': getmsummit });
	$("#numbersep").fancybox({ 'itemLoadCallback': getnumbersep });
	$("#tuionde1").fancybox({ 'itemLoadCallback': gettuionde1 });
	$("#tuionde2").fancybox({ 'itemLoadCallback': gettuionde2 });
	$("#pardo").fancybox({ 'itemLoadCallback': getpardo });
	$("#guarnera").fancybox({ 'itemLoadCallback': getguarnera });
	$("#pq1").fancybox({ 'itemLoadCallback': getpq1 });
	$("#pq2").fancybox({ 'itemLoadCallback': getpq2 });
});

