<!--

var IMG_SMALL = 0;
var IMG_LARGE = 1;
var TITLE = 2;
var MEDIUM = 3;
var CREATION_DATE = 4;

var art = new Array();
art[1] = new Array();
art[2] = new Array();
art[3] = new Array();
art[4] = new Array();
art[5] = new Array();
art[6] = new Array();

//var siteRoot = "http://www.jennbrissett.com/art/";
var siteRoot = "/art/";

art[1][IMG_SMALL] = siteRoot + "img/Sm_art2.gif";
art[1][IMG_LARGE] = siteRoot + "img/Art2.gif";
art[1][TITLE] = "Untitled";
art[1][MEDIUM] = "Pastel on Paper";
art[1][CREATION_DATE] = "1995";

art[2][IMG_SMALL] = siteRoot + "img/Sm_art3.gif";
art[2][IMG_LARGE] = siteRoot + "img/Art3.gif";
art[2][TITLE] = "Between Us...";
art[2][MEDIUM] = "Pastel on Paper";
art[2][CREATION_DATE] = "1994";

art[3][IMG_SMALL] = siteRoot + "img/Sm_art4.gif";
art[3][IMG_LARGE] = siteRoot + "img/Art4.gif";
art[3][TITLE] = "Untitled";
art[3][MEDIUM] = "Pastel on Paper";
art[3][CREATION_DATE] = "1994";

art[4][IMG_SMALL] = siteRoot + "img/Sm_art5.gif";
art[4][IMG_LARGE] = siteRoot + "img/Art5.gif";
art[4][TITLE] = "Fire";
art[4][MEDIUM] = "Pastel on Paper";
art[4][CREATION_DATE] = "1995";

art[5][IMG_SMALL] = siteRoot + "img/Sm_art6.gif";
art[5][IMG_LARGE] = siteRoot + "img/Art6.gif";
art[5][TITLE] = "Angel";
art[5][MEDIUM] = "Pastel on Paper";
art[5][CREATION_DATE] = "1995";

art[6][IMG_SMALL] = siteRoot + "img/Sm_art1.gif";
art[6][IMG_LARGE] = siteRoot + "img/Art1.gif";
art[6][TITLE] = "Untitled";
art[6][MEDIUM] = "Pastel on Paper";
art[6][CREATION_DATE] = "1996";


// ==================================================
// show all the thumnail images
// ==================================================
function showThumbnails()
{
	for (i = 1; i < 7; i++)
	{
		showThumbnail(i);
		if (i == 3) {	document.write ("</tr><tr>"); }
	}

}

// ==================================================
// show an individual thumbnail
// ==================================================
function showThumbnail(num)
{
	document.write ("<td align=center>");
	document.write ("<a href = artwork.php?p="+ num +">");
	document.write ("<img src = "+ art[num][IMG_SMALL] +"  border = 0></a>");
	document.write ("<br>");
	document.write (art[num][TITLE] +"<br>");
	document.write (art[num][MEDIUM] +"<br>");
	document.write (art[num][CREATION_DATE] +"<br>");
	document.write ("</td>");

}

// ==================================================
// show an individual large image
// ==================================================
function showLargePiece(num)
{
	document.write ("<center>");
	document.write ("<img src = "+ art[num][IMG_LARGE] +"  border = 0>");
	document.write ("<br>");
	document.write (art[num][TITLE] +"<br>");
	document.write (art[num][MEDIUM] +"<br>");
	document.write (art[num][CREATION_DATE] +"<br>");
	document.write ("</center>");

}

// ==================================================
// get the passed parameter from the file 
// ==================================================
function gup( name )
{
  name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
  var regexS = "[\\?&]"+name+"=([^&#]*)";
  var regex = new RegExp( regexS );
  var results = regex.exec( window.location.href );
  if( results == null )
    return "";
  else
    return results[1];
}

-->