var maxnumber = 8;
var currentnumber = 1;

var fliplink = new Array();
var iteminfo = new Array();
var movie = new Array();    
var google_movie = new Array();

iteminfo[1] = "<p><b>The Adventures of Lucky M: AIM</b> 7 minute version of a 5-hour performance c.2001<br>LIVE PERFORMANCE DOCUMENTATION (EDITED)<br><br>Documentation of an all-day performance set in the sculpture garden of The Aldrich Museum of Contemporary Art.</p>";

iteminfo[2] = "<p><b>I.C.U.</b><br> LIVE PERFORMANCE DOCUMENTATION (EDITED)<br>7 minute edited version of a 2-hour performance c. 2001<br><br>Documentation of a two-hour performance utilizing live camera feed into a space separate from the performer.</p>";

iteminfo[3] = "<p><b>The Adventures of LuckyM: AIM</b><br><br>A week long performance by New York artist Michelle Handelman, that uses Nikki de Saint Phalle\'s 1960's shooting performances as a launch pad for a hi-tek interpretation of action painting and the branding of contemporary art.</p>";

iteminfo[4] = "<p><b>Passerby > Ghost Sites</b> <br /> 3-minute version of a 4-hour performance  2004 <br />Documentation of an afternoon intervention in Bryant Park, NYC. Presented as part of the Exit Art exhibition public.exe; Public Execution curated by Michele Thursz and Anne Ellegood with participating curator Defne Ayas</p>";

iteminfo[5] = "<p><b>Endangered Species</b><br />3-minute version of a 48-hour installation  2003<br /> Documentation of an audio intervention under the Manhattan Bridge. 48-hours of mega sound reverberates through the D.U.M.B.O. Art Under the Bridge Festival.</p>";

iteminfo[6] = "<p><b>This Delicate Monster LIVE</b><br>This Delicate Monster 3-minute version of a 2-hour performance 2004 Documentation of the gallery performance at Jack the Pelican Presents, Brooklyn</p>";


iteminfo[7] = "";

iteminfo[8] = "<p><b>This Delicate Monster LIVE</b><br />4 minute version of a 3-hour performance 2006<br /> Documentation of a performance at the grand opening of the 3LD Art and Technology Center, NYC. Videos and performances inspired by Charles Baudelaire\'s collection of Poems, The Flowers of Evil.</p>";

movie[1] = "perf_id_1";
movie[2] = "perf_id_2";
movie[3] = "perf_id_3";
movie[4] = "perf_id_4";
movie[5] = "perf_id_5";
movie[6] = "perf_id_6";
movie[7] = "";
movie[8] = "perf_id_8";

//image swapping function:
function hiLite(imgDocID, imgObjName, comment) {
document.images[imgDocID].src = eval(imgObjName + ".src");
window.status = comment; return true;
}


//CAPTURE QUERYSTRING
var v_location = document.location.search;	
//SEE IF ANY QUERYSTRING VARIABLES EXIST
if(v_location.indexOf("?") == 0)
{
	v_location = v_location.substring(1, v_location.length)
	arrayob = v_location.split("&")
	
	for(x = 0; x <= arrayob.length - 1; x++)
	{
		arrayobj = arrayob[x].split("=");
		currentnumber = arrayobj[1];
		if (currentnumber < 1) currentnumber = maxnumber;
		if (currentnumber > maxnumber) currentnumber = 1;
	}
}

nextnumber = currentnumber;
nextnumber++;
prevnumber = currentnumber;
prevnumber--;
    


