// Galleries data

// galleries = array of names of the different galleries. This is the order they
// appear in the links bar. photos and quips must match this.

// photos = array of arrays. Main array is the categories. Inner array are the photos
// that correspond to the categories. i.e. first array is the first category

// quipType = array, the length matches categories.
// "fixed" means the caption is fixed and set to quipText
// anything else, will refer to the array quips

// quips = array of arrays, same size as photos[][]. Each quip is the caption for the pic

// pageTitle='fixed' means the page title is fixed to equal:
// pageTitleHeader + galleries[index]
// if pageTitle!="fixed" then the title of the page = the caption of the image

pageTitle="fixed";
pageTitleHeader="Michele's Quilting Students: ";


quipText="Quilter. ";

function generateLinkString()
{
	outString="";
	str=document.URL.split("?")[0];
	for (ii=0; ii<galleries.length; ii++) {
		if (ii>0) { outString+=' &#149 '; }
		outString+='<a href="'+str+'?'+ii+'&0" class="caption">'+galleries[ii]+'</a>';
	}
	return outString;
}

function generateLinkStringNavbar()
{
	outString="";
//	str=document.URL.split("?")[0];
	str="student_gal.html";
	for (ii=0; ii<galleries.length; ii++) {
		if (ii>0) { outString+='<br />'; }
		outString+='<a href="'+str+'?'+ii+'&0" class="caption">'+galleries[ii]+'</a>';
	}
	document.write(outString);
}

