<!--

var blackandwhite = new Array();	// all black and white pictures
var color = new Array();			// all color pictures
var faces = new Array();			// all face pictures
var live = new Array();				// all live pictures
var studio = new Array();			// all studio pictures
var mohawk = new Array();			// all mohawk pictures

var pathlarge = "images/pictures/large/";
var paththumb = "images/pictures/thumb/";

var currentpicture = 0;
var currentpicture_blackandwhite = 0;
var currentpicture_color = 0;
var currentpicture_faces = 0;
var currentpicture_live = 0;
var currentpicture_studio = 0;
var currentpicture_mohawk = 0;

//Black and White photos:
blackandwhite[0] = "blackandwhite/BlackAndWhite-E001.jpg";
blackandwhite[1] = "blackandwhite/BlackAndWhite-E003.jpg";
blackandwhite[2] = "blackandwhite/BlackAndWhite-E004.jpg";
blackandwhite[3] = "blackandwhite/BlackAndWhite-E005.jpg";
blackandwhite[4] = "blackandwhite/BlackAndWhite-E006.jpg";
blackandwhite[5] = "blackandwhite/BlackAndWhite-E009.jpg";
blackandwhite[6] = "blackandwhite/BlackAndWhite-E013.jpg";
blackandwhite[7] = "blackandwhite/BlackAndWhite-E014.jpg";
blackandwhite[8] = "blackandwhite/BlackAndWhite-E018.jpg";

//Color photos:
color[0] = "color/Color1-11A.jpg";
color[1] = "color/Color1-13A.jpg";
color[2] = "color/Color1-17A.jpg";
color[3] = "color/Color1-18A.jpg";
color[4] = "color/Color1-2A.jpg";
color[5] = "color/Color1-8A.jpg";
color[6] = "color/Color2-10A.jpg";
color[7] = "color/Color2-11A.jpg";
color[8] = "color/Color2-14A.jpg";
color[9] = "color/Color2-17A2.jpg";
color[10] = "color/Color2-4A.jpg";
color[11] = "color/Color3-10A.jpg";
color[12] = "color/Color3-13A.jpg";
color[13] = "color/Color3-18A.jpg";
color[14] = "color/Color3-1A.jpg";
color[15] = "color/Color3-5A.jpg";
color[16] = "color/Color3-9A.jpg";

//Faces photos:
faces[0] = "faces/BlackAndWhite-E020.jpg";
faces[1] = "faces/BlackAndWhite-E023.jpg";
faces[2] = "faces/BlackAndWhite-E026.jpg";
faces[3] = "faces/BlackAndWhite-E029.jpg";

// Live photos:
live[0] = "live/DCP_0735-11.JPG";
live[1] = "live/DCP_07511.JPG";
live[2] = "live/Getting_Down_with_It.jpg";
live[3] = "live/Getting_Down_with_It_2.jpg";
live[4] = "live/Getting_Down_with_It_3.gif";
live[5] = "live/Ryan_Guitar.jpg";
live[6] = "live/Ryan_Rapping_11.15.03.jpg";
live[7] = "live/2004.09.25/1.bmp";
live[8] = "live/2004.09.25/2.bmp";
live[9] = "live/2005.01.16/Photo9.JPG";
live[10] = "live/2005.04.03/AlexandMe.JPG";
live[11] = "live/2005.04.03/FargoandGabby.JPG";
live[12] = "live/2005.04.03/Fargo,Gabby,Me,andAppleton.JPG";
live[13] = "live/2005.04.03/LightcapandGaydos.JPG";
live[14] = "live/2005.04.03/Me-Guitar1.JPG";
live[15] = "live/2005.04.03/Me-Guitar4.JPG";
live[16] = "live/2005.04.03/Me-Piano1.JPG";
live[17] = "live/2005.04.03/Me-Piano2.JPG";
live[18] = "live/2005.04.03/Me-Piano3.JPG";
live[19] = "live/2005.04.03/Me-Piano4.JPG";
live[20] = "live/2005.04.03/TheCrowd.JPG";
live[21] = "live/2005.04.03/TheStage.JPG";
live[22] = "live/2005.11.09/100_0449.jpg";
live[23] = "live/2005.11.09/100_0451.jpg";
live[24] = "live/2005.11.09/100_0467.jpg";
live[25] = "live/2005.11.09/100_0468.jpg";
live[26] = "live/2005.11.09/100_0472.jpg";
live[27] = "live/2005.11.09/100_0473.jpg";
live[28] = "live/2005.11.09/100_0475.jpg";
live[29] = "live/2005.11.09/100_0476.jpg";

// Studio photos:
studio[0] = "studio/img_0543.jpg";
studio[1] = "studio/img_0547.jpg";
studio[2] = "studio/img_0548.jpg";
studio[3] = "studio/img_0550.jpg";
studio[4] = "studio/img_0562.jpg";
studio[5] = "studio/img_0564.jpg";
studio[6] = "studio/img_0566.jpg";
studio[7] = "studio/img_0569.jpg";
studio[8] = "studio/img_0570.jpg";
studio[9] = "studio/img_0572.jpg";
studio[10] = "studio/img_0573.jpg";
studio[11] = "studio/img_0586.jpg";
studio[12] = "studio/img_0592.jpg";
studio[13] = "studio/img_0593.jpg";
studio[14] = "studio/img_0594.jpg";
studio[15] = "studio/img_0602.jpg";
studio[16] = "studio/img_0603.jpg";
studio[17] = "studio/img_0604.jpg";
studio[18] = "studio/img_0609.jpg";
studio[19] = "studio/img_0610.jpg";
studio[20] = "studio/img_0611.jpg";
studio[21] = "studio/img_0624.jpg";
studio[22] = "studio/img_0626.jpg";
studio[23] = "studio/img_0627.jpg";
studio[24] = "studio/img_0628.jpg";
studio[25] = "studio/img_0646.jpg";
studio[26] = "studio/img_0647.jpg";

// Mohawk photos:
mohawk[0] = "mohawk/dsc01480.jpg";
mohawk[1] = "mohawk/dsc01481.jpg";
mohawk[2] = "mohawk/bowling.jpg";
mohawk[3] = "mohawk/extremecloseup.jpg";
mohawk[4] = "mohawk/stuckinjacket.jpg";

function displayPictureFrame(albumToDisplay, currentpicture)
{
	if (albumToDisplay == "blackandwhite")
	{
		if (currentpicture == blackandwhite.length)
			currentpicture_blackandwhite = 0;
		else if (currentpicture == -1)
			currentpicture_blackandwhite = blackandwhite.length - 1;
		else
			currentpicture_blackandwhite = currentpicture;
			
		document.getElementById("PictureFrameBlackAndWhite").innerHTML = '<a href=' + pathlarge + blackandwhite[currentpicture_blackandwhite] + ' target=_blank><img src=' + paththumb + blackandwhite[currentpicture_blackandwhite] + ' border=0></a><br><br>' + (currentpicture_blackandwhite+1) + ' of ' + (blackandwhite.length);
	}
	else if (albumToDisplay == "color")
	{
		if (currentpicture == color.length)
			currentpicture_color= 0;
		else if (currentpicture == -1)
			currentpicture_color = color.length - 1;
		else
			currentpicture_color = currentpicture;
			
		document.getElementById("PictureFrameColor").innerHTML = '<a href=' + pathlarge + color[currentpicture_color] + ' target=_blank><img src=' + paththumb + color[currentpicture_color] + ' border=0></a><br><br>' + (currentpicture_color+1) + ' of ' + (color.length);
	}
	else if (albumToDisplay == "faces")
	{
		if (currentpicture == faces.length)
			currentpicture_faces= 0;
		else if (currentpicture == -1)
			currentpicture_faces = faces.length - 1;
		else
			currentpicture_faces = currentpicture;
			
		document.getElementById("PictureFrameFaces").innerHTML = '<a href=' + pathlarge + faces[currentpicture_faces] + ' target=_blank><img src=' + paththumb + faces[currentpicture_faces] + ' border=0></a><br><br>' + (currentpicture_faces+1) + ' of ' + (faces.length);
	}
	else if (albumToDisplay == "live")
	{
		if (currentpicture == live.length)
			currentpicture_live= 0;
		else if (currentpicture == -1)
			currentpicture_live = live.length - 1;
		else
			currentpicture_live = currentpicture;
			
		document.getElementById("PictureFrameLive").innerHTML = '<a href=' + pathlarge + live[currentpicture_live] + ' target=_blank><img src=' + paththumb + live[currentpicture_live] + ' border=0></a><br><br>' + (currentpicture_live+1) + ' of ' + (live.length);
	}
	else if (albumToDisplay == "studio")
	{
		if (currentpicture == studio.length)
			currentpicture_studio= 0;
		else if (currentpicture == -1)
			currentpicture_studio = studio.length - 1;
		else
			currentpicture_studio = currentpicture;
			
		document.getElementById("PictureFrameStudio").innerHTML = '<a href=' + pathlarge + studio[currentpicture_studio] + ' target=_blank><img src=' + paththumb + studio[currentpicture_studio] + ' border=0></a><br><br>' + (currentpicture_studio+1) + ' of ' + (studio.length);
	}
	else if (albumToDisplay == "mohawk")
	{
		if (currentpicture == mohawk.length)
			currentpicture_mohawk= 0;
		else if (currentpicture == -1)
			currentpicture_mohawk = mohawk.length - 1;
		else
			currentpicture_mohawk = currentpicture;
			
		document.getElementById("PictureFrameMohawk").innerHTML = '<a href=' + pathlarge + mohawk[currentpicture_mohawk] + ' target=_blank><img src=' + paththumb + mohawk[currentpicture_mohawk] + ' border=0></a><br><br>' + (currentpicture_mohawk+1) + ' of ' + (mohawk.length);
	}
	else
	{
		document.getElementById("PictureFrame").innerHTML = "No picture frame selected...";
	}
}

// -->